Sam Lantinga
e1683fad67
Added SDL_sqrtf(), SDL_tan(), SDL_tanf()
2014-06-07 18:20:01 -07:00
Sam Lantinga
edfa425a67
Fixed crash with SDL_SetError(NULL)
2014-06-07 17:31:50 -07:00
Sam Lantinga
5f09dd3a75
Fixed initializing test event queue
2014-06-07 17:25:56 -07:00
Sam Lantinga
21743a2a53
Fixed another loopwave crash with no command line arguments
2014-06-07 17:25:35 -07:00
Sam Lantinga
f5dbc4eebe
Fixed loopwave crash with no command line arguments
2014-06-07 17:09:32 -07:00
Sam Lantinga
53a7b70c1d
dront78 implemented YUV texture support for OpenGL ES 2.0
2014-06-07 11:36:08 -07:00
Gabriel Jacobo
c9de793322
Adds missing Makefile for NACL test and a couple of smaller fixes
2014-06-06 18:33:17 -03:00
Gabriel Jacobo
01a18871e3
Chrome's Native Client backend implementation
2014-06-06 15:45:59 -03:00
Brandon Schaefer
e6bd634e07
Turns out visualstudio does not like PRIu64, soo lets just cast it to llu.
2014-06-05 15:37:33 -07:00
Brandon Schaefer
aa844a18c6
Fix warnings, only major one being an SDL_SetError not providing enough arguments.
2014-06-05 15:29:23 -07:00
Sam Lantinga
e1f626d3ff
Code analysis annotations found a legitimate bug!
2014-06-05 09:49:45 -07:00
Sam Lantinga
35478fd39a
Added missing headers that should be installed.
2014-06-05 09:27:06 -07:00
Ryan C. Gordon
b9e14b41e7
Don't link directly against OpenGL.framework on Mac OS X.
...
We dlopen() it as appropriate already.
2014-06-05 11:04:07 -04:00
Wander Lairson Costa
1051eadb7a
Add an entry for X11 "/" key for Brazilian keyboard.
...
SDL2 reports the following message when we type the "/" on br-abnt2 keyboards:
The key you just pressed is not recognized by SDL. \
To help get this fixed, please report this to the SDL mailing list \
<sdl@libsdl.org> X11 KeyCode 97 (89), X11 KeySym 0x2F (slash).
That's because the corresponding entry in the scancodes table is
marked with value SDL_SCANCODE_UNKNOWN.
This commit fixes that adding the value SDL_SCANCODE_SLASH for this entry.
2014-06-05 11:55:37 -03:00
Ryan C. Gordon
4a6c28ebd7
CMake: Slightly better fix for installation target (thanks, Anthony!).
...
Fixes Bugzilla #2474 .
2015-04-22 20:25:19 -04:00
Philipp Wiesemann
799609d230
Fixed typos in header file documentation comments.
2015-04-22 21:43:22 +02:00
Philipp Wiesemann
b7f2594c20
Fixed SDL_GameControllerOpen() and SDL_JoystickOpen() documentation in header.
2015-04-20 20:03:40 +02:00
Philipp Wiesemann
5a0e021241
Fixed unsupported doxygen tag in header file.
2015-04-20 20:03:26 +02:00
Ryan C. Gordon
496c226acf
Cleaned up the macro salsa in the Windows timer code.
...
- Removed USE_GETTICKCOUNT code; it's never used now.
- Reduced the number of preprocessor checks for WinRT.
- Renamed timeSetPeriod() so it doesn't look like a Win32 API call.
2015-04-20 13:43:24 -04:00
Ryan C. Gordon
c70b5d68b7
Windows: Always set the system timer resolution to 1ms by default.
...
An existing hint lets apps that don't need the timer resolution changed avoid
this, to save battery, etc, but this fixes several problems in timing, audio
callbacks not firing fast enough, etc.
Fixes Bugzilla #2944 .
2015-04-20 12:22:44 -04:00
Ryan C. Gordon
8d156c2306
Added SDL_opengl_glext.h to the list of headers to install.
2014-06-05 10:28:08 -04:00
Ryan C. Gordon
e3266bf38e
Corrected package list for Wayland/Mir support (was missing libxkbcommon-dev).
2014-06-05 01:55:52 -04:00
Ryan C. Gordon
17f449cc55
Wired up Windows resize hit testing.
2014-06-05 00:54:43 -04:00
Ryan C. Gordon
e3a707d94e
Minor tweaks to testhittesting.
2014-06-05 00:49:25 -04:00
Ionut Leonte
686a5dabf5
Added SDL_HITTEST_RESIZE_*, and implemented for X11.
2014-06-05 00:45:16 -04:00
Ryan C. Gordon
1c00a0fc42
Implemented SDL_GetAbsoluteMouseState().
...
X11 only for now, but this should be doable on every platform, I think.
2014-06-05 00:03:33 -04:00
Ryan C. Gordon
a46c5fea53
Added some (harmlessly) missing braces.
2014-06-05 00:02:42 -04:00
Sam Lantinga
4f273fe6fb
Fixed Mac OS X build
2014-06-04 16:35:07 -07:00
Brandon Schaefer
c1c51aab6e
Assume all motion events are mouse events unless tool_type states otherwise.
2014-06-04 12:55:18 -07:00
Sam Lantinga
2adb8c82d2
Setting the window size changes the fullscreen display mode, unless a window display mode has been set.
...
Testing:
* Ran testsprite2 --fullscreen, used Ctrl+ and Ctrl- to change window sizes, verified that the display mode changed as well.
2014-06-04 10:57:52 -07:00
Sam Lantinga
dfc0f7dd26
Fixed crash and lost pixel data when recovering from a lost device situation (e.g. alt-tab from fullscreen)
2014-06-04 10:57:40 -07:00
Sam Lantinga
1de549ae43
Ryan C. Gordon <icculus@icculus.org> 2014-05-24 01:23 -0400
...
Generated dynapi stuff for the new WinRT entry points.
http://hg.libsdl.org/SDL/rev/6a9da341d3e8
2014-06-04 10:57:12 -07:00
Sam Lantinga
667b15f3c8
Added annotations to help code analysis tools
...
CR: Bruce Dawson
2014-06-04 10:56:56 -07:00
Sam Lantinga
6dc0ed70a3
Fixed bug 2526, but regressed delivering dead key presses
2014-06-04 10:56:43 -07:00
Sam Lantinga
162dd3281b
When the window fullscreen mode changes, update the display resolution
2014-06-04 10:56:37 -07:00
Sam Lantinga
f515c7de07
Fixed bug where changing the window border would change the window size on Windows.
2014-06-04 10:56:30 -07:00
Sam Lantinga
299869c965
Fixed Mac OS X build
2014-06-04 10:56:17 -07:00
Sam Lantinga
a7fe260d58
Added an API function to warp the mouse cursor in global screen space: SDL_WarpMouseGlobal()
2014-06-04 10:55:26 -07:00
Sam Lantinga
15f5e2f1ab
Added a hint to disable windows message processing in SDL_PumpEvents()
...
SDL_SetHint( SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP, "0" );
2014-06-04 10:52:34 -07:00
Sam Lantinga
afe35ca58c
Added a hint to disable window frame and title bar interaction when the cursor is hidden
2014-06-04 10:50:32 -07:00
Jørgen P. Tjernø
cd224fd892
SDL_opengl: Fix Mac build for SDK 10.9 too.
2014-06-04 10:33:23 -07:00
Jørgen P. Tjernø
dc73e037f2
SDL_opengl: Fix Mac build with new glext.h
2014-06-04 09:59:10 -07:00
Sam Lantinga
b48ae9b9dd
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.
2014-06-04 09:39:08 -07:00
Sam Lantinga
da280113b6
Fixed escape cancelling fullscreen mode now that the SDL window is the first res
...
ponder.
2014-06-04 01:56:14 -07:00
Jørgen P. Tjernø
9fb5a56785
SDL_opengles2: Update to latest Khronos headers.
...
This updates to the latest Khronos headers, which gives the latest
headers for MSVC.
The following files were retrieved on 2014-06-04:
http://www.khronos.org/registry/gles/api/GLES2/gl2.h
http://www.khronos.org/registry/gles/api/GLES2/gl2ext.h
http://www.khronos.org/registry/gles/api/GLES2/gl2platform.h
http://www.khronos.org/registry/egl/api/KHR/khrplatform.h
And they were modified to not include each other themselves.
2014-06-04 01:35:36 -07:00
Jørgen P. Tjernø
3b8f839334
SDL_opengl: Update to glext.h from Khronos dated 2014-05-21.
...
This updates to the latest glext.h from Khorons that includes the OpenGL
4.4 specification. It was retrieved from
http://www.opengl.org/registry/api/GL/glext.h at 2014-06-04.
2014-06-04 01:32:52 -07:00
Jørgen P. Tjernø
07325a4583
SDL_opengles2: Separate out GLES2 headers.
2014-06-04 01:27:13 -07:00
Jørgen P. Tjernø
25ac29b42d
SDL_opengl: Move glext.h to a separate file.
2014-06-04 01:21:00 -07:00
Jørgen P. Tjernø
ad1fbda549
X11: Provide specific X error when SDL_GL_CreateContext fails.
...
This makes the X error handler used for GL context creation handle *all* errors
and provide the user with specific error messages when SDL_GL_CreateContext
fails.
CR: icculus@icculus.org
2014-06-03 21:13:00 -07:00
Sam Lantinga
a8d6be7585
Hopefully really fixed the Android build
2014-06-02 09:20:09 -07:00