0c0ce2096c
Updated comment: this is the correct way to do fullscreen on X11 now.
Ryan C. Gordon
2015-04-21 10:19:20 -04:00
e0e04542d0
Added a few FIXMEs.
Ryan C. Gordon
2015-04-21 09:46:48 -04:00
1373e8909a
Try to build with GCC's -Wdeclaration-after-statement.
Ryan C. Gordon
2016-01-04 22:58:38 -05:00
15bc7aea64
Mac: allows apps to use OpenGL on a slower, integrated GPU.
Ryan C. Gordon
2016-01-04 22:00:04 -05:00
7678b1db88
Patch to compile on C89 compilers.
Ryan C. Gordon
2016-01-04 16:36:42 -05:00
6df5e1e535
x11: Support _NET_WM_USER_TIME and give _NET_ACTIVE_WINDOW a valid timestamp.
Ryan C. Gordon
2016-01-04 16:25:27 -05:00
9fcf5d7d4d
CMake: Don't link directly to libGL on Unix.
Ryan C. Gordon
2016-01-03 21:48:17 -05:00
1240f8e0a6
CMake: Don't make a libSDL2.so symlink on Mac OS X (do .dylib instead).
Ryan C. Gordon
2016-01-03 20:52:44 -05:00
fa8c83c1c1
Remove almost all instances of "volatile" keyword.
Ryan C. Gordon
2016-01-03 06:50:50 -05:00
21f66ea295
Added tag release-2.0.4 for changeset 5596f75b34e8
Sam Lantinga
2016-01-02 12:17:33 -08:00
e2fd1c0fe3
Backed out commit 80ce90dbc266, this causes Visual Studio build failure on buildbot
Sam Lantinga
2016-01-02 11:17:06 -08:00
68a3272852
Fixed sed error on Mac OS X and updated copyright on a few last files
Sam Lantinga
2016-01-02 10:38:51 -08:00
ac444cd313
Fixed bug 3092 - Statically link sdl2 with /MT for msvc
Sam Lantinga
2016-01-02 10:25:53 -08:00
42065e785d
Updated copyright to 2016
Sam Lantinga
2016-01-02 10:10:34 -08:00
5ba1fd9bb1
Fixed typo in README for iOS.
Philipp Wiesemann
2016-01-01 17:41:11 +01:00
4a93dae4cd
Added brackets to function names in header comments so doxygen links them.
Philipp Wiesemann
2016-01-01 17:39:55 +01:00
4aae0290ea
Updated some header comments and iOS documentation to better clarify high-dpi / retina support and screen-coordinate sizes versus pixel sizes.
Alex Szpakowski
2015-12-31 21:16:43 -04:00
b0d8dfcd8a
CMake: Fixed building for Windows with VS2015 (bug #3080).
Alex Szpakowski
2015-12-31 15:26:40 -04:00
44c0b2da87
WinRT: minor code-comment cleanups
David Ludwig
2015-12-31 01:54:11 -05:00
6823a22162
WinRT: fixed bug whereby a Win8.x app's SDL_Window wasn't getting de-marked as maximized (on window restore)
David Ludwig
2015-12-31 01:50:30 -05:00
d8aa066288
Fixed Bug 3217 - WinRT: after alt-tab'ing back into fullscreen app, mouse cursor is sometimes wrong
David Ludwig
2015-12-31 01:40:50 -05:00
854cf7ac40
Fixed Bug 3215 - Win32: 'fullscreen' app doesn't always extend to top of screen
David Ludwig
2015-12-30 12:44:13 -05:00
9d789ebe0d
Updated configure script.
Philipp Wiesemann
2015-12-29 19:14:19 +01:00
c41feca5de
Fixed a crash if creating accelerated renderer after accessing window surface.
Philipp Wiesemann
2015-12-29 19:13:56 +01:00
696cd7975c
NetBSD: fixed issues with cpuinfo and pthread_setname_np (thanks, Thomas!).
Ryan C. Gordon
2015-12-29 02:32:47 -05:00
ce0f90ffb9
NetBSD: improved joystick support (thanks, Thomas!).
Ryan C. Gordon
2015-12-29 02:29:56 -05:00
2254932b3e
Added support for building for NetBSD on the Raspberry Pi (thanks, Jared!).
Ryan C. Gordon
2015-12-29 02:27:02 -05:00
18c7d6df21
XRandR: fixed primary output detection logic (thanks, "winterknight"!).
Ryan C. Gordon
2015-12-29 02:16:14 -05:00
326b357804
Mac: don't ignore mouse clicks on the top pixel of a window (thanks, Joshua!).
Ryan C. Gordon
2015-12-29 01:09:58 -05:00
61518bce6b
CMake: Changes to get CMake project to work with Android (thanks, Martin!).
Ryan C. Gordon
2015-12-29 00:57:24 -05:00
7e679ed2c1
CMake: fixed a failure to reset CMAKE_REQUIRED_FLAGS (thanks, Martin!).
Ryan C. Gordon
2015-12-29 00:36:03 -05:00
c9927bbb17
CMake: don't try to use the Linux joystick code on Android (thanks, Martin!).
Ryan C. Gordon
2015-12-29 00:24:37 -05:00
7ca3b27064
CMake: Fixed to work on Windows 8 SDK (thanks, Martin!).
Ryan C. Gordon
2015-12-29 00:02:43 -05:00
2f59284971
Fixed typo in sdl2-config.cmake.in (thanks, Rafal!).
Ryan C. Gordon
2015-12-28 23:29:11 -05:00
f893ce3d3e
OpenGL+GLES renderers: Fixed incorrect clip rectangle coords (thanks, Marcel!).
Ryan C. Gordon
2015-12-28 15:15:58 -05:00
4ae69e3222
Mac: expose joystick buttons that report themselves as having 'Start' and 'Select' HID usages.
Alex Szpakowski
2015-12-28 15:44:09 -04:00
51c1d69d13
Mac: Whoops, lost legit Caps lock keypress events. Fixed.
Ryan C. Gordon
2015-12-28 13:30:58 -05:00
fd6b435c6a
Windows: resync num/caps lock when window is gaining focus.
Ryan C. Gordon
2015-12-28 13:08:19 -05:00
257b7af247
Sync up the caps/numlock state properly without sending key events.
Ryan C. Gordon
2015-12-28 13:07:44 -05:00
d3b323f89d
Mac: Fix keyboard state if capslock was toggled while app wasn't in foreground.
Ryan C. Gordon
2015-12-27 23:39:43 -05:00
fa7c15ce1f
WinRT: made bug 3202/3213's fix apply for WinRT apps
David Ludwig
2015-12-27 22:26:27 -05:00
2befe01d39
Removed a tabstop.
Ryan C. Gordon
2015-12-27 18:56:46 -05:00
6a2e8a7a90
Win: make sure SDL keyboard state reflects system capslock state at startup.
Ryan C. Gordon
2015-12-27 18:48:14 -05:00
9e9ef5ad31
Fixed bug 3202 - Fix renderer visibility on a window maximized directly from the minimized state
David Ludwig
2015-12-27 17:55:45 -05:00
faed05850e
Mac: make sure SDL keyboard state reflects system capslock state at startup.
Ryan C. Gordon
2015-12-27 16:46:12 -05:00
1446faf00e
Fixed a comment in two test programs.
Philipp Wiesemann
2015-12-25 13:41:23 +01:00
cbe19d5378
Fixed whitespace in testspriteminimal.c
Sam Lantinga
2015-12-24 06:11:05 -08:00
8281cc72ba
WinRT: Fixed bug 3210, "alt-tab doesn't work correctly with full-screened, UWP (Win10 Store) apps"
David Ludwig
2015-12-22 00:58:47 -05:00
8ddcc63ac7
sdl:
Sam Lantinga
2015-12-18 18:49:35 -08:00
7b680a2ab7
Fixed mapping third party XBox controllers that have the trigger axis all the way in until they are pulled and get updated values.
Sam Lantinga
2015-12-18 18:49:23 -08:00
4026980917
Cleaned up some code formatting.
Alex Szpakowski
2015-12-18 00:49:27 -04:00
cb15bb4cfa
iOS: Set the player index of MFi gamepads when the user first presses a button, rather than when it's programatically opened.
Alex Szpakowski
2015-12-11 16:41:59 -04:00
a2235d7b29
Cocoa: Use NSTextInputClient instead of NSTextInput for text input handling. The latter was deprecated in OS X 10.6.
Alex Szpakowski
2015-12-10 22:17:22 -04:00
0c463d770b
SDL_GL_GetAttribute: If a GL context isn't active, only return failure when the specified attribute needs an active GL context to be queried.
Alex Szpakowski
2015-12-10 20:25:34 -04:00
f2f435ee45
WinRT: fixed bug: Back button(s) weren't working on Win10
David Ludwig
2015-12-09 21:34:56 -05:00
d1e6a2ebe6
Added broad support for wireless XBox 360 controllers on Linux
Sam Lantinga
2015-12-09 12:11:40 -08:00
11c13916dd
Fixed outdated information in README for test programs.
Philipp Wiesemann
2015-12-07 21:43:16 +01:00
0dc43729bd
Pandora: Fixed referring to no more existing CD-ROM source files in Makefile.
Philipp Wiesemann
2015-12-07 21:42:44 +01:00
d3a841eb88
Pandora: Fixed deactivating no more available CD-ROM support in config header.
Philipp Wiesemann
2015-12-07 21:41:55 +01:00
976bc9a919
WinRT: build fix for Windows Phone 8.0
David Ludwig
2015-12-06 18:48:46 -05:00
2b48481879
WinRT: enabled the Win10-Store Cert Kit bug-workaround, for Windows 8.0 apps
David Ludwig
2015-12-06 18:42:30 -05:00
a40d49aa1c
WinRT: enabled the Win10-Store Cert Kit bug-workaround, for Windows 8.1 apps
David Ludwig
2015-12-06 18:33:43 -05:00
898054a179
WinRT: fixed a build error when compiling Windows 8.1 .dlls
David Ludwig
2015-12-06 17:32:33 -05:00
c8e3bfbf54
WinRT: removed an unused variable from DXGI-based display-detection code
David Ludwig
2015-12-06 17:07:37 -05:00
781455fd8b
WinRT: workaround for a possible bug in the Win10 Store's Certification Kit
David Ludwig
2015-12-06 17:06:40 -05:00
57f2f3baf3
Windows: Added missing NULL check after SDL_stack_alloc().
Philipp Wiesemann
2015-12-06 17:51:11 +01:00
96229eed81
Changed comment in test program to avoid confusion.
Philipp Wiesemann
2015-12-06 17:50:51 +01:00
32147ba780
X11: Fixed memory leak when initializing multiple screens.
Philipp Wiesemann
2015-12-05 17:08:07 +01:00
4abb73298a
Fixed comment in filesystem test program.
Philipp Wiesemann
2015-12-04 22:12:36 +01:00
5790f59f88
WinRT: minor tweak to NuGet package naming
David Ludwig
2015-12-02 08:04:17 -05:00
3b79ab4c2b
WinRT: allowed NuGet packaging code to get hg revision regardless of cwd
David Ludwig
2015-12-02 07:58:23 -05:00
89898d8341
WinRT: added NuGet-package creation support to WinRT build script
David Ludwig
2015-12-01 22:07:24 -05:00
74de09ad4e
Fixed compile error in timer test program if PRIu64 not available.
Philipp Wiesemann
2015-12-01 22:24:04 +01:00
1e2a4439a3
Fixed compile warning in IME test program.
Philipp Wiesemann
2015-12-01 22:22:58 +01:00
b2445f7bbd
Fixed filesystem test program to compile with older versions of C.
Philipp Wiesemann
2015-12-01 22:21:29 +01:00
fd9f06a0c2
WinRT: noted Win10/UWP support in WhatsNew.txt (under 2.0.4)
David Ludwig
2015-11-30 23:30:01 -05:00
0020aa94c8
WinRT: made WinRT build script create Win10/UWP .dll files
David Ludwig
2015-11-30 21:11:33 -05:00
9394953400
Add Logitech F510 Gamepad Direct input mode mapping
Edward Rudd
2015-11-30 10:39:34 -05:00
6a50d33385
Removed some debug prints.
Alex Szpakowski
2015-11-30 03:30:35 -04:00
9ddc6c3441
Mac: Fixed SDL_SetWindowFullscreen not restoring the window's original size when exiting a Space.
Alex Szpakowski
2015-11-30 03:30:07 -04:00
25abce513d
WinRT: added Win10/UWP (Universal Windows Platform) support
David Ludwig
2015-11-29 19:33:11 -05:00
fa2d5ab497
WinRT: bug-fix - SDL_SetThreadPriority() didn't work on WinRT 8.x platforms
David Ludwig
2015-11-26 13:51:03 -05:00
d07aa877d2
WinRT: minor code cleanup in window-creation code
David Ludwig
2015-11-26 11:15:43 -05:00
a70fe9a53e
WinRT: native windows are inherently resizable (in WinRT 8.x)
David Ludwig
2015-11-26 11:09:50 -05:00
7bd640d5da
WinRT: bug-fix, fullscreen mode wasn't getting reported in Windows 8.0 apps
David Ludwig
2015-11-26 02:37:51 -05:00
36090f576f
WinRT: bug-fix, OpenGLES2 was failing to init, after recent windowing fixes
David Ludwig
2015-11-26 02:13:15 -05:00
f520994455
WinRT: bug-fix, fullscreen window flags weren't set if device was rotated 90 degrees
David Ludwig
2015-11-26 01:36:36 -05:00
623898f70b
WinRT: lots of display and windowing related fixes
David Ludwig
2015-11-26 00:41:39 -05:00
a5a80cd033
WinRT: fixed crash in SDL_CondWaitTimeout, when using Win10's MSVC runtime
David Ludwig
2015-11-15 13:04:42 -05:00
11d98995da
Replaced tabs with spaces in test programs.
Philipp Wiesemann
2015-11-25 21:39:28 +01:00
2e525193ef
Added SDL_HINT_VIDEO_X11_NET_WM_PING to WhatsNew.txt for 2.0.4.
Philipp Wiesemann
2015-11-25 21:31:02 +01:00
5224dfcc9a
X11: Let XRandR respect multiple screens (DISPLAY=:0.0 vs :0.1, etc).
Ryan C. Gordon
2015-11-17 12:15:35 -05:00
11f2a9f8c4
Fixed bug 3168 - xinput build failure with dxsdk
Sam Lantinga
2015-11-16 21:20:38 -08:00
dc804c0e1a
WinRT: fixed build error in latest XInput code
David Ludwig
2015-11-14 21:29:14 -05:00
f09d3750ea
Minor whitespace fix.
Ryan C. Gordon
2015-11-14 14:53:44 -05:00
e6ad29aec8
Added SDL_JoystickFromInstanceID() and SDL_GameControllerFromInstanceID().
Ryan C. Gordon
2015-11-14 12:35:45 -05:00
998a54f9c5
Mac: Fix a warning about implicit declaration of SDL_SendKeymapChangedEvent (bug #3167.)
Alex Szpakowski
2015-11-14 04:24:39 -04:00
dee61c5a30
Added support for the Gamestop Logic3 Controller
Sam Lantinga
2015-11-13 14:26:00 -08:00
2816d4477d
Mac: Added SDL_GameController mappings for the Steelseries Stratus XL and Nimbus gamepads.
Alex Szpakowski
2015-11-12 22:53:37 -04:00
9c51c4a639
Mac: Detect the d-pad and pause buttons on Steelseries MFi gamepads (bug #3124.)
Alex Szpakowski
2015-11-12 22:44:32 -04:00