04a0836b1a
Turns out visualstudio does not like PRIu64, soo lets just cast it to llu.
Brandon Schaefer
2014-06-05 15:37:33 -07:00
1f71676906
Fix warnings, only major one being an SDL_SetError not providing enough arguments.
Brandon Schaefer
2014-06-05 15:29:23 -07:00
6671aa2a08
Code analysis annotations found a legitimate bug!
Sam Lantinga
2014-06-05 09:49:45 -07:00
d0146cfcc0
Added missing headers that should be installed.
Sam Lantinga
2014-06-05 09:27:06 -07:00
4f7329a127
Don't link directly against OpenGL.framework on Mac OS X.
Ryan C. Gordon
2014-06-05 11:04:07 -04:00
eff61ee39d
Add an entry for X11 "/" key for Brazilian keyboard.
Wander Lairson Costa
2014-06-05 11:55:37 -03:00
75a3ad1d49
CMake: Slightly better fix for installation target (thanks, Anthony!).
Ryan C. Gordon
2015-04-22 20:25:19 -04:00
034933d712
Fixed typos in header file documentation comments.
Philipp Wiesemann
2015-04-22 21:43:22 +02:00
71c65b1569
Fixed SDL_GameControllerOpen() and SDL_JoystickOpen() documentation in header.
Philipp Wiesemann
2015-04-20 20:03:40 +02:00
83c088a04a
Fixed unsupported doxygen tag in header file.
Philipp Wiesemann
2015-04-20 20:03:26 +02:00
69f6f646a2
Cleaned up the macro salsa in the Windows timer code.
Ryan C. Gordon
2015-04-20 13:43:24 -04:00
b72938c861
Windows: Always set the system timer resolution to 1ms by default.
Ryan C. Gordon
2015-04-20 12:22:44 -04:00
c294130f6e
Added SDL_opengl_glext.h to the list of headers to install.
Ryan C. Gordon
2014-06-05 10:28:08 -04:00
3dedcf29ff
Corrected package list for Wayland/Mir support (was missing libxkbcommon-dev).
Ryan C. Gordon
2014-06-05 01:55:52 -04:00
c8cf407ea3
Wired up Windows resize hit testing.
Ryan C. Gordon
2014-06-05 00:54:43 -04:00
31de8f8b99
Minor tweaks to testhittesting.
Ryan C. Gordon
2014-06-05 00:49:25 -04:00
2d38a71a1f
Added SDL_HITTEST_RESIZE_*, and implemented for X11.
Ionut Leonte
2014-06-05 00:45:16 -04:00
b861efde14
Implemented SDL_GetAbsoluteMouseState().
Ryan C. Gordon
2014-06-05 00:03:33 -04:00
264eb4bbed
Added some (harmlessly) missing braces.
Ryan C. Gordon
2014-06-05 00:02:42 -04:00
1188c174d7
Fixed Mac OS X build
Sam Lantinga
2014-06-04 16:35:07 -07:00
d829af786e
Assume all motion events are mouse events unless tool_type states otherwise.
Brandon Schaefer
2014-06-04 12:55:18 -07:00
4fd03b9582
Setting the window size changes the fullscreen display mode, unless a window display mode has been set.
Sam Lantinga
2014-06-04 10:57:52 -07:00
c15e26d77d
Fixed crash and lost pixel data when recovering from a lost device situation (e.g. alt-tab from fullscreen)
Sam Lantinga
2014-06-04 10:57:40 -07:00
da6d9a9f2a
Added annotations to help code analysis tools
Sam Lantinga
2014-06-04 10:56:56 -07:00
529bcf6293
Fixed bug 2526, but regressed delivering dead key presses
Sam Lantinga
2014-06-04 10:56:43 -07:00
4750fe7390
When the window fullscreen mode changes, update the display resolution
Sam Lantinga
2014-06-04 10:56:37 -07:00
707fd9f071
Fixed bug where changing the window border would change the window size on Windows.
Sam Lantinga
2014-06-04 10:56:30 -07:00
1e00c03f14
Fixed Mac OS X build
Sam Lantinga
2014-06-04 10:56:17 -07:00
45ed5ee494
Added an API function to warp the mouse cursor in global screen space: SDL_WarpMouseGlobal()
Sam Lantinga
2014-06-04 10:55:26 -07:00
3e3b34adc9
Added a hint to disable windows message processing in SDL_PumpEvents() SDL_SetHint( SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP, "0" );
Sam Lantinga
2014-06-04 10:52:34 -07:00
0d1f0fed71
Added a hint to disable window frame and title bar interaction when the cursor is hidden
Sam Lantinga
2014-06-04 10:50:32 -07:00
d34184461f
SDL_opengl: Fix Mac build for SDK 10.9 too.
J?rgen P. Tjern?
2014-06-04 10:33:23 -07:00
d623c0b443
SDL_opengl: Fix Mac build with new glext.h
J?rgen P. Tjern?
2014-06-04 09:59:10 -07:00
65133ebc1b
Wait for the fullscreen transition to complete before allowing the application to continue. This fixes Alt-Enter in the Steam streaming client, which sets the window size and position immediately after switching out of fullscreen mode.
Sam Lantinga
2014-06-04 09:39:08 -07:00
16360b1979
Fixed escape cancelling fullscreen mode now that the SDL window is the first res ponder.
Sam Lantinga
2014-06-04 01:56:14 -07:00
a2085da216
SDL_opengles2: Update to latest Khronos headers.
J?rgen P. Tjern?
2014-06-04 01:35:36 -07:00
0887f5184c
SDL_opengl: Update to glext.h from Khronos dated 2014-05-21.
J?rgen P. Tjern?
2014-06-04 01:32:52 -07:00
f45a2fd05d
SDL_opengles2: Separate out GLES2 headers.
J?rgen P. Tjern?
2014-06-04 01:27:13 -07:00
8793657db7
SDL_opengl: Move glext.h to a separate file.
J?rgen P. Tjern?
2014-06-04 01:21:00 -07:00
c1e11f699e
X11: Provide specific X error when SDL_GL_CreateContext fails.
J?rgen P. Tjern?
2014-06-03 21:13:00 -07:00
ece2a9bf06
Hopefully really fixed the Android build
Sam Lantinga
2014-06-02 09:20:09 -07:00
5186be4a12
Fixed Android build
Sam Lantinga
2014-06-02 09:12:51 -07:00
a8fcbc466a
Fixed bug 2534 - Mac: black bar at top of screen in SDL_WINDOW_FULLSCREEN mode
Sam Lantinga
2014-06-02 09:09:40 -07:00
6b90d7f58a
Fixed bug 2550 - [OS X 10.9] Enabling SDL_WINDOW_FULLSCREEN after relative mouse mode leaves cursor visible
Sam Lantinga
2014-06-02 09:06:38 -07:00
32665131f6
Added a way to get the native Android window and EGL context
Sam Lantinga
2014-06-02 09:01:26 -07:00
3905b910f3
Fixed bug 2479 - [OS X] SDL_SetWindowFullscreen fails to switch to windowed
Sam Lantinga
2014-06-02 09:01:10 -07:00
75c57f8db7
Don't use D3D9Ex by default, since it can change behavior for games which rely on D3D9 classic.
Sam Lantinga
2014-06-02 08:58:07 -07:00
9d00f75a27
Fixed bug 2520 - Held double-click app startup creates a stuck MOUSEBUTTONDOWN event
Sam Lantinga
2014-05-31 14:03:04 -07:00
70df9cd0cd
Fullscreen to windowed mode switch
Sam Lantinga
2014-05-31 12:21:55 -07:00
18c31dec54
Fixed Direct3DCreate9Ex prototype
Sam Lantinga
2014-05-31 11:53:19 -07:00
0c6b99d576
Fixed cast
Sam Lantinga
2014-05-31 11:48:52 -07:00
49c53fd280
Use D3D9Ex when available This hopefully works around crashes in Intel D3D9 support in Windows 8.1.
Sam Lantinga
2014-05-31 11:37:12 -07:00
52222db255
Fixed SDL error when filtering events after shutdown. This can happen when restoring video modes during video system shutdown
Sam Lantinga
2014-05-31 11:33:25 -07:00
7153c2dad1
Fixed using SDL_PointInRect() from C++.
Ryan C. Gordon
2014-05-30 09:50:47 -04:00
bb7a27fadd
Fixed up SDL_CaptureMouse() on Windows to work like I expected.
Ryan C. Gordon
2014-05-30 01:51:13 -04:00
bcc2cc8722
Fixed hit-testing on Windows.
Ryan C. Gordon
2014-05-30 01:49:26 -04:00
bf03bec120
Patched to compile on Visual Studio.
Ryan C. Gordon
2014-05-30 01:48:26 -04:00
4ef6eddaf7
Make some printf() calls into SDL_Log() so I can see them on Windows. :)
Ryan C. Gordon
2014-05-30 01:48:08 -04:00
f29ac39934
Added javadoc comments to document methods used by JNI.
Philipp Wiesemann
2014-05-29 23:05:18 +02:00
eac27bcd2f
Added javadoc comments to prevent unused parameter warning.
Philipp Wiesemann
2014-05-29 22:58:06 +02:00
1f111f3ddc
Fixed implicit boxing and unboxing of Java Objects warning.
Philipp Wiesemann
2014-05-29 22:53:53 +02:00
8d11db2f93
Added missing stdio include in test program.
Philipp Wiesemann
2014-05-29 22:48:10 +02:00
3a8033587b
Fixed use of uninitialized variable warning in test program.
Philipp Wiesemann
2014-05-29 22:44:08 +02:00
89ad793407
First shot (not even compiled) at Windows hit-testing support.
Ryan C. Gordon
2014-05-29 13:39:02 -04:00
661548c8f3
Tweaked hit-testing documentation.
Ryan C. Gordon
2014-05-29 13:38:39 -04:00
7364ed016b
Added a few debug printf() calls.
Ryan C. Gordon
2014-05-28 01:27:27 -04:00
98c03f391d
Changed drag area API to a hit-testing API.
Ryan C. Gordon
2014-05-28 01:22:47 -04:00
7a4ddcd8c6
Don't hardcode an 8 here.
Ryan C. Gordon
2014-05-27 15:47:25 -04:00
20ac4bae89
Some updates for the X11 drag areas work.
Ryan C. Gordon
2014-05-27 15:40:03 -04:00
2744c0195a
Initial work on X11 implementation of SDL_SetWindowDragAreas().
Damian Kaczmarek
2014-05-27 14:41:16 -04:00
3cbc83ef11
First shot at SDL_SetWindowDragAreas().
Ryan C. Gordon
2014-05-27 01:27:42 -04:00
b7f90442df
Added SDL_PointInRect().
Ryan C. Gordon
2014-05-27 00:26:47 -04:00
dd5277d65c
Fixed stack overflow in X11_CreateWindow() (thanks, rapha and Brad!).
Ryan C. Gordon
2014-05-24 21:06:40 -04:00
4db368e625
Added note about Wayland and Mir packages for Ubuntu 14.04.
Ryan C. Gordon
2014-05-24 19:49:03 -04:00
ded970f70f
Flip this around to do the simpler condition first.
Ryan C. Gordon
2014-05-24 18:23:56 -04:00
668025c239
Implement SDL_CaptureMouse() for Mac OS X.
Ryan C. Gordon
2014-05-24 18:23:39 -04:00
b7d2c0e9d6
Implemented SDL_CaptureMouse().
Ryan C. Gordon
2014-05-24 01:30:37 -04:00
846a3e0776
Added some FIXMEs.
Ryan C. Gordon
2014-05-24 01:27:19 -04:00
f0e0f4ca15
Fixed whitespace.
Ryan C. Gordon
2014-05-24 01:25:27 -04:00
a2710516ef
Generated dynapi stuff for the new WinRT entry points.
Ryan C. Gordon
2014-05-24 01:23:57 -04:00
3727528eb9
access google apk library through reflection
stopiccot
2014-04-30 22:51:29 +03:00
3cdae42d65
Fixing issues discovered by Philipp Wiesemann
stopiccot
2014-04-23 03:42:32 +03:00
612f4a69db
inital apk extension support
stopiccot
2014-04-07 21:20:39 +03:00
d5c109b2f4
Fail if we couldn't create the specified renderer
Sam Lantinga
2014-04-05 16:25:30 -07:00
83200a3225
Removed empty statements.
Philipp Wiesemann
2014-04-05 23:50:09 +02:00
a24745f48d
Fixed names of four hint environment variables.
Philipp Wiesemann
2014-04-05 23:32:41 +02:00
2d8b86bb07
Fixed unused local variable warning.
Philipp Wiesemann
2014-04-05 23:24:33 +02:00
aeebdc501a
Fixed typos in header comments.
Philipp Wiesemann
2014-04-05 23:22:21 +02:00
9a56cde24c
Removed unused variable from test program.
Philipp Wiesemann
2014-04-04 23:56:15 +02:00
02045dcb3a
Fixed doxygen comment in header.
Philipp Wiesemann
2014-04-04 23:52:23 +02:00
abcb264c12
WinRT: "SDL" to "SDL2", both for .dll output files, and for MSVC project names.
David Ludwig
2014-03-30 11:50:59 -04:00
c3c24a335d
Fixed the joystick side of XInput haptic detection on Windows 8
Sam Lantinga
2014-03-31 10:38:26 -07:00
764aa147ad
Fixed XInput haptic support on Windows 8 It turns out the XBox 360 controller driver never reports force feedback capability, so we'll try to set 0 state and see if that succeeds.
Sam Lantinga
2014-03-29 12:29:38 -07:00
229b438d42
Fixed assertion loading button.bmp in testgamecontroller
Sam Lantinga
2014-03-29 12:27:27 -07:00
20680d7db0
Added testrumble to the Visual Studio 2013 solution
Sam Lantinga
2014-03-29 12:27:02 -07:00