Commit Graph

11015 Commits

Author SHA1 Message Date
Sam Lantinga
4a43f4e918 Fixed setting the GUID for Bluetooth joysticks 2013-02-01 17:09:01 -08:00
Andreas Schiffler
4897e7608e Add tests to audio suite; update harness filter logic 2013-01-31 08:45:30 -08:00
Sam Lantinga
141e9126f1 Don't reset the mouse, that's actually bad behavior most of the time for windowed applications. 2013-01-27 20:37:14 -08:00
Gabriel Jacobo
6e6eb805ad Fixes potential global reference leak on Android, by Philipp Wiesemann 2013-01-27 21:43:20 -03:00
Sam Lantinga
ab90058737 Updated build settings to use standard architectures 2013-01-27 15:56:28 -08:00
Sam Lantinga
e070132e57 Fixed typo in documentation 2013-01-27 15:53:24 -08:00
Sam Lantinga
6c353b0768 Fixed direction of rotation with OpenGL ES 2 2013-01-27 15:52:56 -08:00
Gabriel Jacobo
11e188634e #1702,Android soft keyboard fails to pass all input, by Jonathan Dearborn 2013-01-26 12:31:55 -03:00
Sam Lantinga
5ce01eeb65 Fixed crash when the game controller mapping hint is set - the hint was duplicated and not null terminated. 2013-01-25 14:25:19 -08:00
Andreas Schiffler
6372811f7c Add mouse tests; update test suites 2013-01-24 07:58:59 -08:00
Andreas Schiffler
4106e37945 Add tests to mouse suite; fix VS compiler warnings in tests 2013-01-23 08:03:19 -08:00
Tim Angus
0057af3d90 Fix warning in SDL_keyboard.h 2013-01-17 11:54:14 +00:00
Andreas Schiffler
0dfee1f016 Add additional input validation to SDL_BuildAudioCVT; add additional tests to automation (audio, rwops) 2013-01-21 09:16:27 -08:00
Ryan C. Gordon
878537bc61 Added a newline to test buildbot and mercurial server upgrade. 2013-01-21 03:33:42 -05:00
Ryan C. Gordon
d6b0e76a5b Cleaned out a few C++ single-line comments.
Should we bother doing this anymore? Is there really a C compiler we care
 about that doesn't support this?
2013-01-21 02:50:11 -05:00
Gabriel Jacobo
d11589598e Fixes bug 1696, thanks Paul Geerts!
Also adds a bit of information about asset loading on Android.
2013-01-14 20:20:33 -03:00
Andreas Schiffler
ef298de2c7 Added timer test suite 2013-01-14 08:14:53 -08:00
Andreas Schiffler
af68874d62 Fix RWops test suite crash on Linux: remove unnecessary fclose 2013-01-14 07:20:55 -08:00
Andreas Schiffler
0d106358b9 Add input validation to SDL_GetKeyFromScancode; fix compiler warning in testautomation driver on Linux; update keyboard test suite 2013-01-13 22:55:26 -08:00
Sam Lantinga
1da80d01a5 We don't have Visual CE support anymore 2013-01-13 14:31:53 -08:00
Andreas Schiffler
0720db59b2 Update SDL_InvalidParamError to take param name; add additional fuzzer function; add new tests to keyboard test suite; improve surface test suite 2013-01-12 22:58:12 -08:00
Ryan C. Gordon
6cc9a81242 Fixed logic bug. 2013-01-12 14:06:58 -05:00
Ryan C. Gordon
63d660e4e0 Fix a memory leak. We need to clean up our autorelease pool code at some point. 2013-01-12 14:04:51 -05:00
Andreas Schiffler
298c11033b Add new internal error message for invalid parameters; add validation of input rect in SDL_SetTextInputRect; add test cases for SDL_SetTextInputRect to keyboard suite 2013-01-11 20:36:39 -08:00
Andreas Schiffler
4755421b29 Added 3 more test cases to keyboard suite 2013-01-10 23:26:49 -08:00
Gabriel Jacobo
f997d045c5 Android: Access APK files using AssetFileDescriptor 2013-01-08 09:30:53 -03:00
Gabriel Jacobo
06cac2693e Fixed SDLActivity::audioInit return type, thanks Andreas! 2013-01-08 08:28:39 -03:00
Andreas Schiffler
6ff0a41247 Merged with tip 2013-01-07 07:39:46 -08:00
Andreas Schiffler
f5ad14007e Add a few keyboard tests; fix missing input validation in SDL_GetKeyFromName 2013-01-07 07:39:15 -08:00
Gabriel Jacobo
69acbe58d2 Fix Audio Buffer allocation on Android >= 4.2 2013-01-07 12:22:26 -03:00
Andreas Schiffler
d58a914fe2 Add new test suite (mouse) with a few new tests 2013-01-06 18:19:30 -08:00
Andreas Schiffler
9da98d7dbf Add new test suites (events, keyboard, syswm, video) with a few new tests each 2013-01-06 15:17:59 -08:00
Andreas Schiffler
3415cc1b9f Fix VS buildbot builds 2012-12-31 19:22:05 -08:00
Andreas Schiffler
4d372b8539 Fix VS2010 and VS2012 solutions. 2012-12-31 19:11:14 -08:00
David Ludwig
1221e49e58 WinRT: added support for the SDL_loadso APIs, via LoadPackagedLibrary 2012-12-31 10:30:38 -05:00
David Ludwig
65d8f317ca WinRT: added a note to try removing some WinRT-specific code from SDL_xaudio2.c 2012-12-30 13:03:45 -05:00
David Ludwig
b2fc5e5186 WinRT: fixed XAudio2 crash bug + enabled XAudio2 backend 2012-12-30 12:57:33 -05:00
David Ludwig
0b532c19bb WinRT: scaled relative mouse mode values from the native screen size to SDL's window size 2012-12-28 16:10:44 -05:00
David Ludwig
1996781399 WinRT: added support for SDL_SetRelativeMouseMode 2012-12-28 13:24:36 -05:00
Sam Lantinga
293fc899d7 Fixed compiler warnings in edid-parse.c 2012-12-26 07:11:56 -08:00
Sam Lantinga
e6bd0c20f8 Implemented SDL_GetDisplayName() for X11, which requires the XRandR extension.
It turns out there's all kinds of good information in the EDID data for a monitor...
2012-12-31 18:32:30 -08:00
Sam Lantinga
30cf30ad23 Fixed bug 1653 - comma at the end of enum
Martin Gerhardy 2012-11-30 03:07:14 PST

SDL_gamecontroller.h:61:29: warning: comma at end of enumerator list [-pedantic]
2012-12-31 16:29:01 -08:00
Edward Rudd
1c9d2df9b4 Corrected call to glXMakeCurrent() when setting a NULL context.
Fixes Bugzilla #1675.
2012-12-31 19:16:52 -05:00
Sam Lantinga
3a5cb10e4d Implemented getting the display name on Windows 2012-12-31 15:36:19 -08:00
Sam Lantinga
94ec418971 Fixed bug 1616 - SDL does not use values set with SDL_GL_SetAttribute on Android
Philipp Wiesemann 2012-10-06 07:19:57 PDT

SDL does not use values set with SDL_GL_SetAttribute on Android.

I attached a patch which adds this functionality and makes it possible to set
(for example) depth buffer size or anti-aliasing in the actual application
instead of modifying the Java source (which seems currently the only way).
2012-12-31 14:57:36 -08:00
Sam Lantinga
f30c888a75 Fixed bug 1671 - add cast to fix build with strict GCC settings
Pavol Rusnak 2012-12-21 16:08:39 PST

I suggest the following patch to fix build with strict GCC settings
2012-12-31 14:14:01 -08:00
Sam Lantinga
0f0ebd3ffe Fixed bug 1672 - Found: seg-fault with testgesture
automata 2012-12-23 22:05:21 PST

An incorrect guard resulted in segmentation faults with the
SDL/test/testgesture executable. The attached patch fixes this issue, and also
allows the program's window to properly handle resize events.

Apply the attached patch to .../SDL/test/testgesture.c
2012-12-31 14:08:43 -08:00
Sam Lantinga
c31c469ff6 Fixed building tests with Visual Studio 2008 2012-12-31 13:49:06 -08:00
Sam Lantinga
06f8fe85cf Added SDL_SetWindowMaximumSize() and SDL_GetWindowMaximumSize()
Also fixed Cocoa implementation so that it affects client area, not the whole window area.
2012-12-31 12:15:25 -08:00
Sam Lantinga
ad65f9e5a4 Added SDL_GetDisplayName(), with implementation for Mac OS X 2012-12-31 11:07:46 -08:00