Commit graph

7422 commits

Author SHA1 Message Date
Sam Lantinga
73ddbd3f85 Fixed Visual Studio 2008 projects
Added missing files to SDL2 project
Added missing Visual Studio 2008 tests to the solution
Added output paths which match the 2010+ projects
Added SDL project references instead of old style project dependencies
Removed post-build copy step and added data files to projects
2014-06-15 10:42:28 -07:00
Ryan C. Gordon
653b4e19ff Mac: Fixed crash when returning from a fullscreen Space on shutdown. 2014-06-15 11:59:16 -04:00
Ryan C. Gordon
24513e0d6b Add coreaudio to the configure script's summary output. 2014-06-15 01:19:01 -04:00
Ryan C. Gordon
fbdde501ba Removed SDL_SYS_JoystickNeedsPolling().
It was simpler to just have the polling (actually: hotplug detection)
 functions return immediately if it's not an appropriate time to poll.

Note that previously, if any joystick/controller was opened, we would poll
 every time anyhow, skipping this function.
2014-06-14 23:31:23 -04:00
Ryan C. Gordon
50265e160b Mac: Run the CFRunLoop in joystick mode during SDL_SYS_JoystickNeedsPolling().
This fixes hotplugging failing to detect devices.
2014-06-13 14:52:26 -04:00
Alfred Reynolds
b270f6a5c3 - fixed crash if you removed a device twice, the deviceRef is invalid if removed from the removed device callback (added in http://hg.libsdl.org/SDL/rev/153077041e4b ). 2014-06-13 10:50:24 -07:00
Ryan C. Gordon
ef0bc3f8cf Regenerated SDL_audiotypecvt.c with updated perl script. 2014-06-10 19:39:33 -04:00
Ryan C. Gordon
731e3d9cc5 Fix audio resampling in some cases.
Fixes Bugzilla #2389.
2014-06-10 19:37:59 -04:00
Philipp Wiesemann
c176721421 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
989349fccf Fixed typos in documentation. 2014-06-09 17:28:08 +02:00
Philipp Wiesemann
a871c0c206 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
b03e4dc610 Forgot a piece of README-nacl.txt 2014-06-08 18:50:40 -03:00
Gabriel Jacobo
37f6d3cb88 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
7b215e8685 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
15d597fe65 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
3b5c907777 Ignore Visual Studio test data files 2014-06-08 11:59:36 -07:00
Philipp Wiesemann
9024566f68 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
cbffdf0265 Fixed typo in log message. 2014-06-08 13:03:45 +02:00
Philipp Wiesemann
87dab7d815 Fixed doxygen comment in header. 2014-06-08 13:01:04 +02:00
Philipp Wiesemann
d09a0ff3a6 Fixed typo in source comment. 2014-06-08 12:51:02 +02:00
Sam Lantinga
1c2df7b03d 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
7ffc6a3040 Fixed building on command line Mac OS X 2014-06-07 20:43:12 -07:00
Sam Lantinga
4886b4d9d9 Fixed compile warnings 2014-06-07 18:20:25 -07:00
Sam Lantinga
276b7efecd Added SDL_sqrtf(), SDL_tan(), SDL_tanf() 2014-06-07 18:20:01 -07:00
Sam Lantinga
b5f085ab73 Fixed crash with SDL_SetError(NULL) 2014-06-07 17:31:50 -07:00
Sam Lantinga
26f1f2a9a1 Fixed initializing test event queue 2014-06-07 17:25:56 -07:00
Sam Lantinga
96f0009c02 Fixed another loopwave crash with no command line arguments 2014-06-07 17:25:35 -07:00
Sam Lantinga
7b1dba9aaa Fixed loopwave crash with no command line arguments 2014-06-07 17:09:32 -07:00
Sam Lantinga
9043778f18 dront78 implemented YUV texture support for OpenGL ES 2.0 2014-06-07 11:36:08 -07:00
Gabriel Jacobo
c6434e2416 Adds missing Makefile for NACL test and a couple of smaller fixes 2014-06-06 18:33:17 -03:00
Gabriel Jacobo
c330e8e9e2 Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
Brandon Schaefer
de4a745643 Turns out visualstudio does not like PRIu64, soo lets just cast it to llu. 2014-06-05 15:37:33 -07:00
Brandon Schaefer
d5eb114f44 Fix warnings, only major one being an SDL_SetError not providing enough arguments. 2014-06-05 15:29:23 -07:00
Sam Lantinga
ac607be274 Code analysis annotations found a legitimate bug! 2014-06-05 09:49:45 -07:00
Sam Lantinga
b5702114f0 Added missing headers that should be installed. 2014-06-05 09:27:06 -07:00
Ryan C. Gordon
663450efc3 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
Ryan C. Gordon
4b29e7eeba Added SDL_opengl_glext.h to the list of headers to install. 2014-06-05 10:28:08 -04:00
Ryan C. Gordon
38e580a133 Corrected package list for Wayland/Mir support (was missing libxkbcommon-dev).
--HG--
extra : rebase_source : 636f233d051a3077eb6999da03a9397a86843b11
2014-06-05 01:55:52 -04:00
Sam Lantinga
ec88cc536a Fixed Mac OS X build 2014-06-04 16:35:07 -07:00
Brandon Schaefer
0fc6294114 Assume all motion events are mouse events unless tool_type states otherwise. 2014-06-04 12:55:18 -07:00
Sam Lantinga
4a1537da07 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
297d5c065a 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
dbcc5f6937 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
53d9d2c232 Added annotations to help code analysis tools
CR: Bruce Dawson
2014-06-04 10:56:56 -07:00
Sam Lantinga
fdba89977e Fixed bug 2526, but regressed delivering dead key presses 2014-06-04 10:56:43 -07:00
Sam Lantinga
39b59f79d4 When the window fullscreen mode changes, update the display resolution 2014-06-04 10:56:37 -07:00
Sam Lantinga
34ee7a2a33 Fixed bug where changing the window border would change the window size on Windows. 2014-06-04 10:56:30 -07:00
Sam Lantinga
10a234b88e Fixed Mac OS X build 2014-06-04 10:56:17 -07:00
Sam Lantinga
6006d7a2cb 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
de9397e6ae 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