f2413850d9
Tests: Add a manual test for a custom cursor (Taken from the API docs)
Brandon Schaefer
2016-07-13 07:34:06 -07:00
d8866e8400
Tests: Mir needs the window to swap at lease 1 frame for the cursor to show. So render in testwm2
Brandon Schaefer
2016-07-13 07:07:46 -07:00
eadb30cd6f
MIR: Fix system cursors. Been broken since custom cursor support was added!
Brandon Schaefer
2016-07-13 07:07:08 -07:00
495057b04b
Android: Added new key codes from API 24.
Philipp Wiesemann
2016-07-09 22:06:00 +02:00
d0bd0e4855
iOS: Fix an OpenGL ES error when rotating the device if MSAA is used (thanks Cole Campbell!)
Alex Szpakowski
2016-07-02 13:38:31 -03:00
b524657118
Fixed three source comments in tests.
Philipp Wiesemann
2016-06-28 21:15:16 +02:00
b5aa5b04d6
Added a simple test case for SDL_sscanf() to tests.
Philipp Wiesemann
2016-06-28 21:14:11 +02:00
6ec5e64056
Fixed freeing strings created by strdup() with SDL_free().
Philipp Wiesemann
2016-06-28 21:08:23 +02:00
2f016cf88d
Mac: Fixed crash if SDL_GetDisplayDPI() got NULL pointers for output parameters.
Philipp Wiesemann
2016-06-26 21:08:57 +02:00
f4d33fcbba
Fixed compile warnings in test library about formats strings not being literals.
Philipp Wiesemann
2016-06-25 19:40:44 +02:00
696867eed4
Mac: Updated file name in README.
Philipp Wiesemann
2016-06-25 19:40:02 +02:00
23af328bb0
Fixed Bug 3147 - Windows: Crash when resizing Window since hg 1f9d57965528
David Ludwig
2016-06-24 22:17:56 -04:00
ce456cfb8e
Mac: Updated availability macro in build script.
Philipp Wiesemann
2016-06-24 19:06:06 +02:00
4a339a46ec
MIR: Add better error handling for a failed connection
Brandon Schaefer
2016-06-08 08:01:21 -07:00
ea2f5e5930
Windows: Fix other window positions/sizes being changed when exiting exclusive fullscreen (bug #3315, thanks Simon Hug!)
Alex Szpakowski
2016-05-23 15:29:25 -03:00
0a4085a048
Mac: Fix a crash when SDL is compiled with SDL_MAC_NO_SANDBOX enabled, by increasing the stack size of the mouse tap thread back to OS X' default of 512 KB.
Alex Szpakowski
2016-05-21 12:09:23 -03:00
4a468739f8
Removed Mac OS 10.5 support (bug #3137). Also fixed a warning about deprecated Carbon code when using SDL_audio (bug #3127, thanks Dominik!)
Alex Szpakowski
2016-05-21 00:20:52 -03:00
6255c8584a
Updated documentation of SDL_IsScreenSaverEnabled().
Philipp Wiesemann
2016-05-20 22:18:15 +02:00
d4140ca473
Windows: Fixed missing error message if SDL_GetDisplayDPI() failed.
Philipp Wiesemann
2016-05-20 22:15:58 +02:00
d7b9d321fa
X11: Fixed typos in error messages and source comments.
Philipp Wiesemann
2016-05-20 22:15:28 +02:00
81235118ab
X11: Fixed missing error message if SDL_GetDisplayDPI() failed.
Philipp Wiesemann
2016-05-20 22:14:40 +02:00
441359bd5a
WinRT: workaround a possible Windows bug, whereby hiding cursors, disables mouse-moved events
David Ludwig
2016-05-14 23:29:49 -04:00
e964d00f64
X11: Fixed SDL_GL_GetSwapInterval() returning -1 if interval is unknown.
Philipp Wiesemann
2016-05-11 21:11:12 +02:00
748b05289c
EGL: Fixed SDL_GL_GetSwapInterval() returning -1 on error.
Philipp Wiesemann
2016-05-11 21:10:41 +02:00
cfe3f26115
Updated documentation of SDL_CreateWindow() and SDL_CreateWindowFrom().
Philipp Wiesemann
2016-05-11 21:09:45 +02:00
fe4c3b29d9
iOS: Added brackets to function names in README so that doxygen links them.
Philipp Wiesemann
2016-05-10 21:15:11 +02:00
bf7a76155e
Fixed missing error message if SDL_GetDisplayDPI() is unsupported.
Philipp Wiesemann
2016-05-10 21:14:36 +02:00
73b63e5b57
Fixed crash in shape test program if memory allocation failed.
Philipp Wiesemann
2016-05-10 21:13:58 +02:00
31e23d57d3
Fixed error return values in filesystem test program.
Philipp Wiesemann
2016-05-10 21:12:48 +02:00
52fec6aff0
WinRT: allow on-screen keyboard to be shown via SDL APIs, Win10/UWP only
David Ludwig
2016-05-07 21:41:59 -04:00
6a9a8b682c
Fixed memory leak in game controller test program.
Philipp Wiesemann
2016-05-05 22:05:21 +02:00
63f2ec8e57
Updated documentation of SDL_HINT_THREAD_STACK_SIZE in header file.
Philipp Wiesemann
2016-05-05 22:04:16 +02:00
b1ce3799e9
Added missing links at documentation of SDL_FreeCursor() in header file.
Philipp Wiesemann
2016-05-05 22:03:52 +02:00
b15efce277
Cocoa mouse code: Replaced NSPointInRect with NSMouseInRect (thanks Eric Wasylishen!) Fixes bug #3312.
Alex Szpakowski
2016-05-01 21:41:30 -03:00
d383502657
Mac: replaced a deprecated CGSetLocalEventsSuppressionInterval call that I missed in commit 2f72bdfee9bb
Alex Szpakowski
2016-05-01 19:51:10 -03:00
bb9dcf5714
Android: Updated name of README file.
Philipp Wiesemann
2016-04-25 22:17:38 +02:00
46851a6701
WinRT: another README tweak
David Ludwig
2016-04-17 22:56:20 -04:00
937ae32c7b
WinRT: README tweaks
David Ludwig
2016-04-17 22:54:45 -04:00
31cbb34ec9
Wayland: Removed not needed including and setting of errno.
Philipp Wiesemann
2016-04-14 21:11:43 +02:00
ea86c01a86
Fixed markdown formatting in porting README for doxygen output.
Philipp Wiesemann
2016-04-14 21:10:57 +02:00
b53007b0c8
Added missing error return in test program.
Philipp Wiesemann
2016-04-14 21:10:08 +02:00
72dc8784b3
PSP: Fixed compile error.
Philipp Wiesemann
2016-04-14 21:09:45 +02:00
caf152def7
WinRT: build/link fix
David Ludwig
2016-04-13 21:59:50 -04:00
c137eb61d7
Patched to compile on Haiku...?
Ryan C. Gordon
2016-04-12 18:40:44 -04:00
9b9ca093c7
windows: created threads' stack sizes should be reserved, not committed.
Ryan C. Gordon
2016-04-12 18:12:04 -04:00
9b4db2b8aa
Patched to compile on various platforms.
Ryan C. Gordon
2016-04-12 18:11:36 -04:00
c61675dc5d
threads: Move SDL's own thread creation to a new internal API.
Ryan C. Gordon
2016-04-12 16:45:10 -04:00
7ae2951fca
threads: Handle SDL_HINT_THREAD_STACK_SIZE at top level, implement elsewhere.
Ryan C. Gordon
2016-04-12 14:38:50 -04:00
8b65d225e8
WinRT: bug hack-fix - gamepad detection was failing on Xbox One
David Ludwig
2016-04-11 00:22:39 -04:00
34f095e098
iOS: Fixed SDL_GL_CreateContext crashing instead of returning null when a GLES3 context is requested on iOS 6 and older.
Alex Szpakowski
2016-04-10 22:07:10 -03:00
a581346fae
alsa: Make device enumeration robust against weird results with NULL strings.
Ryan C. Gordon
2016-04-04 22:49:13 -04:00
6cfa71a10e
iOS: Also do the Dictation crash workaround before executing the animation callback.
Alex Szpakowski
2016-04-02 13:21:01 -03:00
88372277b7
Add a new hint SDL_HINT_MAC_MOUSE_FOCUS_CLICKTHROUGH, which allows mouse click events to occur when clicking to focus a window in Mac OS X.
Alex Szpakowski
2016-04-02 11:54:05 -03:00
5520ed9cc2
iOS: Workaround for a crash after Dictation is used.
Alex Szpakowski
2016-04-01 19:18:50 -03:00
f3ca4e4d50
iOS: Fixed compiling demos on C89 compilers.
Philipp Wiesemann
2016-04-01 21:14:49 +02:00
831597f714
PSP: Fixed returning success from unsupported SDL_RenderReadPixels().
Philipp Wiesemann
2016-04-01 21:13:58 +02:00
d1e4814120
PSP: Fixed returning success for unsupported SDL_SetTextureColorMod().
Philipp Wiesemann
2016-04-01 21:12:37 +02:00
12c78c5ca5
PSP: Fixed missing error message for unsupported SDL_CreateWindowFrom().
Philipp Wiesemann
2016-04-01 21:11:31 +02:00
3555e6e58e
Updated info about required Ubuntu version for Mir support in README.
Philipp Wiesemann
2016-04-01 21:10:43 +02:00
a9edc5137e
Wayland: Fixed missing error message if creating a custom cursor failed.
Philipp Wiesemann
2016-03-28 21:03:04 +02:00
9011eb1c41
Removed not needed SDL_WINDOW_SHOWN from chessboard test program.
Philipp Wiesemann
2016-03-28 21:02:30 +02:00
62ebc527d0
iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.
Philipp Wiesemann
2016-03-28 21:01:46 +02:00
bd60850b82
iOS: Fixed keyboard demo ignoring quit requests and window closing.
Philipp Wiesemann
2016-03-28 21:01:26 +02:00
e9ca5b28a6
iOS: Replaced #import with #include in two demos.
Philipp Wiesemann
2016-03-27 22:26:34 +02:00
5fa0cbc4ba
iOS: Restored older version of rectangles demo.
Philipp Wiesemann
2016-03-27 22:25:13 +02:00
16c479f332
iOS: Updated SDL version in demo README.
Philipp Wiesemann
2016-03-27 22:24:10 +02:00
fd3dd4e515
Fixed comment in gesture source.
Philipp Wiesemann
2016-03-27 22:22:13 +02:00
08488e6d34
Mac: avoid calling CGSetLocalEventsSuppressionInterval, it was deprecated in OS X 10.6.
Alex Szpakowski
2016-03-20 15:35:34 -03:00
2c3bf6658a
Windows CMake: don't try to link dxguid, it's unavailable when using Visual Studio's XP-compatible toolset.
Alex Szpakowski
2016-03-18 22:15:53 -03:00
35da130828
Wayland: Fixed crash if memory mapping failed while creating a custom cursor.
Philipp Wiesemann
2016-03-16 22:09:39 +01:00
fa77df4e91
Wayland: Fixed storing a theme cursor which is never used in video data.
Philipp Wiesemann
2016-03-16 22:09:23 +01:00
a29a925d7e
Pick up new display mode information after a mode change (Windows only right now).
Sam Lantinga
2016-03-11 08:33:47 -08:00
5333deab1c
Quick fix for qsort off-by-one error.
Sam Lantinga
2016-03-11 08:30:18 -08:00
19f18558ac
Emscripten: Deactivated custom cursor support because it created system cursors.
Philipp Wiesemann
2016-03-11 22:10:35 +01:00
676041aa16
Wayland: Fixed drawing created cursors without transparency.
Philipp Wiesemann
2016-03-11 22:10:15 +01:00
167dd4a1fa
Wayland: Fixed showing created cursors incorrectly before the first redraw.
Philipp Wiesemann
2016-03-11 22:09:50 +01:00
0c923fda0b
WinRT: Removed dead code and fixed memory leak if allocation for driver failed.
Philipp Wiesemann
2016-03-10 21:00:44 +01:00
b82f48bad3
Fixed compiling IME test program with HAVE_SDL_TTF on C89 compilers.
Philipp Wiesemann
2016-03-10 21:00:27 +01:00
43594e3f3d
Removed unnecessary include statement in test program.
Philipp Wiesemann
2016-03-10 21:00:13 +01:00
deb2acbcd9
A simple test program for SDL_qsort().
Ryan C. Gordon
2016-03-10 01:50:43 -05:00