SDL/src
Sam Lantinga 260549d1ca Fixed bug 2567 - x11: Local dropped files are not URI-decoded
Melker Narikka

Local files that are dropped onto a window under X11
are not going through a URI decoding step, resulting in the following
in my test application:

Dropped file /home/meklu/Pictures/Screenshot%20from%202013-10-30%2014:04:50.png
Couldn't load /home/meklu/Pictures/Screenshot%20from%202013-10-30%2014:04:50.png

Expected result:

Dropped file /home/meklu/Pictures/Screenshot from 2013-10-30 14:04:50.png
Loaded /home/meklu/Pictures/Screenshot from 2013-10-30 14:04:50.png successfully

I've attached a patch that fixes the issue by doing URI decoding in-place on
the file string buffer.
2014-06-15 18:31:30 -07:00
..
atomic Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
audio Fixed bug 2580 - sndio backend improvements 2014-06-15 17:26:30 -07:00
core Changed C++ style comments to fix pedantic warnings. 2014-05-17 22:02:25 +02:00
cpuinfo Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
dynapi Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
events Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
file The NaCL mount/unmount functions need to be in SDL_system.h and specific to NaCL 2014-06-08 12:05:17 -07:00
filesystem Fixes audio for Native Client, and other fixes... 2014-06-08 18:18:13 -03:00
haptic Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
joystick Add controller mapping for Bluetooth DualShock 4 controllers on Linux 2014-06-15 13:05:30 -07:00
libm Fixed building on command line Mac OS X 2014-06-07 20:43:12 -07:00
loadso Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
main Fixes audio for Native Client, and other fixes... 2014-06-08 18:18:13 -03:00
power Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
render Fixed bug 2575 - Current GL context tracking fails 2014-06-15 18:09:39 -07:00
stdlib Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
test Turns out visualstudio does not like PRIu64, soo lets just cast it to llu. 2014-06-05 15:37:33 -07:00
thread Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
timer Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
video Fixed bug 2567 - x11: Local dropped files are not URI-decoded 2014-06-15 18:31:30 -07:00
SDL.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_assert.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_assert_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_error.c Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_error_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_hints.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_internal.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_log.c Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00