Commit Graph

3977 Commits

Author SHA1 Message Date
Philipp Wiesemann
78d40e0901 Fixed nesting of HTML elements in documentation.
The code element may only contain inline but the pre element is block.
2014-06-09 17:37:59 +02:00
Philipp Wiesemann
f4df542580 Fixed typos in documentation. 2014-06-09 17:28:08 +02:00
Philipp Wiesemann
ea93820e1f Fixed format string faults in audio tests.
They were found by the recent code annotations.
2014-06-09 17:25:03 +02:00
Gabriel Jacobo
7467e30b83 Forgot a piece of README-nacl.txt 2014-06-08 18:50:40 -03:00
Gabriel Jacobo
efa2d0581d Fixes audio for Native Client, and other fixes...
- SDL_NaClMount, SDL_NaClUmount
- Default mounting of https at / in SDL's main function
- More documentation in README-nacl.txt
2014-06-08 18:18:13 -03:00
Sam Lantinga
5ae12b46b5 The NaCL mount/unmount functions need to be in SDL_system.h and specific to NaCL 2014-06-08 12:05:17 -07:00
Sam Lantinga
be74705f82 Visual Studio 2013 Express Edition can load the standard solution, so we don't need special Express Edition solutions. 2014-06-08 12:00:29 -07:00
Sam Lantinga
d639d031cf Ignore Visual Studio test data files 2014-06-08 11:59:36 -07:00
Philipp Wiesemann
ef3887ecfc Changed two Java nested classes into static nested classes.
Both do not need an implicitly created reference to enclosing class.
2014-06-08 13:14:20 +02:00
Philipp Wiesemann
d2220917e0 Fixed typo in log message. 2014-06-08 13:03:45 +02:00
Philipp Wiesemann
2b95c4c40b Fixed doxygen comment in header. 2014-06-08 13:01:04 +02:00
Philipp Wiesemann
0ad1dc1875 Fixed typo in source comment. 2014-06-08 12:51:02 +02:00
Sam Lantinga
85cae4783b Updated projects for Visual Studio 2010, 2012 and 2013
* Test programs use project references instead of hard-coding SDL library dependencies
* Test data files are copied only when needed.
* Copying SDL2.dll is no longer necessary
* Fixed /SAFESEH warning
* Fixed attempted rebuild of SDL every time a test program is run
2014-06-07 21:58:18 -07:00
Sam Lantinga
47e0aa0e6a Fixed building on command line Mac OS X 2014-06-07 20:43:12 -07:00
Sam Lantinga
cde32ccc83 Fixed compile warnings 2014-06-07 18:20:25 -07:00
Sam Lantinga
6101e4b20e Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
Sam Lantinga
40538446d9 Fixed crash with SDL_SetError(NULL) 2014-06-07 17:31:50 -07:00
Sam Lantinga
0ddd252fdd Fixed initializing test event queue 2014-06-07 17:25:56 -07:00
Sam Lantinga
5907cfaadf Fixed another loopwave crash with no command line arguments 2014-06-07 17:25:35 -07:00
Sam Lantinga
a93474a2e5 Fixed loopwave crash with no command line arguments 2014-06-07 17:09:32 -07:00
Sam Lantinga
9fb2cc10c0 dront78 implemented YUV texture support for OpenGL ES 2.0 2014-06-07 11:36:08 -07:00
Gabriel Jacobo
93aabd3224 Adds missing Makefile for NACL test and a couple of smaller fixes 2014-06-06 18:33:17 -03:00
Gabriel Jacobo
1e352d7929 Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
Brandon Schaefer
04a0836b1a Turns out visualstudio does not like PRIu64, soo lets just cast it to llu. 2014-06-05 15:37:33 -07:00
Brandon Schaefer
1f71676906 Fix warnings, only major one being an SDL_SetError not providing enough arguments. 2014-06-05 15:29:23 -07:00
Sam Lantinga
6671aa2a08 Code analysis annotations found a legitimate bug! 2014-06-05 09:49:45 -07:00
Sam Lantinga
d0146cfcc0 Added missing headers that should be installed. 2014-06-05 09:27:06 -07:00
Ryan C. Gordon
4f7329a127 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
eff61ee39d 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
75a3ad1d49 CMake: Slightly better fix for installation target (thanks, Anthony!).
Fixes Bugzilla #2474.
2015-04-22 20:25:19 -04:00
Philipp Wiesemann
034933d712 Fixed typos in header file documentation comments. 2015-04-22 21:43:22 +02:00
Philipp Wiesemann
71c65b1569 Fixed SDL_GameControllerOpen() and SDL_JoystickOpen() documentation in header. 2015-04-20 20:03:40 +02:00
Philipp Wiesemann
83c088a04a Fixed unsupported doxygen tag in header file. 2015-04-20 20:03:26 +02:00
Ryan C. Gordon
69f6f646a2 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
b72938c861 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
c294130f6e Added SDL_opengl_glext.h to the list of headers to install. 2014-06-05 10:28:08 -04:00
Ryan C. Gordon
3dedcf29ff Corrected package list for Wayland/Mir support (was missing libxkbcommon-dev). 2014-06-05 01:55:52 -04:00
Ryan C. Gordon
c8cf407ea3 Wired up Windows resize hit testing. 2014-06-05 00:54:43 -04:00
Ryan C. Gordon
31de8f8b99 Minor tweaks to testhittesting. 2014-06-05 00:49:25 -04:00
Ionut Leonte
2d38a71a1f Added SDL_HITTEST_RESIZE_*, and implemented for X11. 2014-06-05 00:45:16 -04:00
Ryan C. Gordon
b861efde14 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
264eb4bbed Added some (harmlessly) missing braces. 2014-06-05 00:02:42 -04:00
Sam Lantinga
1188c174d7 Fixed Mac OS X build 2014-06-04 16:35:07 -07:00
Brandon Schaefer
d829af786e Assume all motion events are mouse events unless tool_type states otherwise. 2014-06-04 12:55:18 -07:00
Sam Lantinga
4fd03b9582 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
c15e26d77d 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
947a0b8bae 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/d54306e2b8a7
2014-06-04 10:57:12 -07:00
Sam Lantinga
da6d9a9f2a Added annotations to help code analysis tools
CR: Bruce Dawson
2014-06-04 10:56:56 -07:00
Sam Lantinga
529bcf6293 Fixed bug 2526, but regressed delivering dead key presses 2014-06-04 10:56:43 -07:00
Sam Lantinga
4750fe7390 When the window fullscreen mode changes, update the display resolution 2014-06-04 10:56:37 -07:00