Commit graph

4582 commits

Author SHA1 Message Date
Ryan C. Gordon
a622e7c305 Called method on wrong object in Android exception handler.
Fixes Bugzilla #1297.

Thanks to jon @ rafkind for the patch!
2011-09-01 04:42:09 -04:00
Ryan C. Gordon
af022f47ed Removed unused variable. 2011-09-01 04:34:05 -04:00
Ryan C. Gordon
6b4a7b19a4 Clean up any opened joysticks during SDL_JoystickQuit().
Otherwise, these leak memory and maybe operating system handles.
2011-09-01 04:25:15 -04:00
Ryan C. Gordon
8f75030cce Backed out SDL_config.h overwrite that got committed by accident. 2011-08-30 17:11:51 -04:00
Ryan C. Gordon
d2587c649d Automated merge with https://bitbucket.org/Markusk/sdl-gsoc 2011-08-29 13:17:07 -04:00
Ryan C. Gordon
1787c68923 Fixed missing audio on iOS. 2011-08-29 00:27:43 -04:00
Markus Kauppila
b47b88a0e9 Fixed an error in doxygen markup. 2011-08-28 22:27:26 +03:00
Markus Kauppila
967992d4d3 Fixed a typo. 2011-08-28 22:24:00 +03:00
Markus Kauppila
31ecfe3d3a Updated TODO. 2011-08-28 22:22:37 +03:00
Markus Kauppila
1a84329937 Minor cleaning. 2011-08-28 22:18:56 +03:00
Markus Kauppila
f4870f3996 Added elementary fuzzer-randgen invocation count. 2011-08-28 22:06:56 +03:00
Markus Kauppila
ab1eaa672b Added TODO. 2011-08-28 21:06:00 +03:00
Markus Kauppila
87e1417923 Test cases executed in their own process can now bail out if
assertion fails.

Note: Bailing out doesn't work with --in-proc option.
2011-08-28 21:00:38 +03:00
Markus Kauppila
103124ac9f Option --show-tests prints test description. 2011-08-28 20:27:25 +03:00
Markus Kauppila
877c391020 Fixed timestamp issue. 2011-08-28 20:08:36 +03:00
Markus Kauppila
d2d3506958 Changed logging behavior. Runner uses stdout as default and
file logging is enabled with --logfile [BASENAME] (or --logdir).
2011-08-28 20:01:25 +03:00
Markus Kauppila
f7a79ddf4c Refined install script to be more helpful. 2011-08-28 18:58:13 +03:00
Markus Kauppila
45e6823e5f Created SetUp and TearDown functions for testrwops suite. 2011-08-28 11:55:54 +03:00
Tim Angus
6f0f508a4f * Fix many memory leaks in Android FS code
* Set SDL error string with Java exception details when one occurs
* Fix tabulation of SDLActivity::getContext
2011-08-26 13:11:53 +01:00
Ryan C. Gordon
3d9a685099 Fix another Apple conflict in SDL_opengl.h 2011-08-26 03:38:46 -04:00
Ryan C. Gordon
0daed19a0e Removed the MAC_OS_X_VERSION_10_x macros from the 1.3 branch. 2011-08-25 03:11:28 -04:00
Ryan C. Gordon
c3366d1756 Patched to compile on Windows. 2011-08-23 16:47:22 -04:00
Ryan C. Gordon
1ea43749bd Cleaned out functions deprecated in Mac OS X 10.6 SDK. 2011-08-23 15:17:44 -04:00
Ryan C. Gordon
51254fce6a Added more test programs to .hgignore 2011-08-23 06:28:28 -04:00
Ryan C. Gordon
84d42b9a9f Fixed wrong datatype for shaders and programs.
This is a pointer on Mac OS X, so it risked losing data in 64-bit builds.
2011-08-23 06:27:04 -04:00
Kees Bakker
315893bf28 Split off SDL_uikitviewcontroller in its own module
--HG--
extra : rebase_source : 9f436d0751280968fb49307fb522b0d6c72d4409
2011-08-17 23:26:58 +02:00
Ryan C. Gordon
cfa202c1f5 Fixed another printf() compiler warning, this time in the 1.3 branch. 2011-08-23 03:12:27 -04:00
Ryan C. Gordon
5df7568eec Further XAudio2 build test cleanups. 2011-08-22 14:56:46 -04:00
Ryan C. Gordon
6412a3147e Removed SDL_xaudio2.h ... no real need for this to be separate. 2011-08-22 14:37:45 -04:00
Ryan C. Gordon
023503370c Let XAudio2 target be removed from the build by removing it from SDL_config.h 2011-08-22 14:30:49 -04:00
Ryan C. Gordon
3b667bacd5 Apple's C runtime has the non-const iconv(), too. 2011-08-22 14:25:11 -04:00
Ryan C. Gordon
1f5750981e Fixed compiler warning on 64-bit builds. 2011-08-22 13:41:35 -04:00
Ryan C. Gordon
747072f8a3 RLE: Don't trash alpha channel in copy_32().
It was being set to (mask|value) instead of (value).

Thanks to li zhuo for the bug report!
2011-08-22 13:34:58 -04:00
Ryan C. Gordon
08f49bd2d3 Apparently glXSwapIntervalEXT() _does_ return a value.
Revision 6 of the GLX_EXT_swap_control spec has a typo; the function
signature they list is void, but the docs talk about a return value, and the
glxext.h headers list "int".
2011-08-22 02:26:11 -04:00
Ryan C. Gordon
b4c91cf7b3 Fixed -pedantic warning in SDL_assert.h.
Fixes Bugzilla #1282.
2011-08-21 12:36:55 -04:00
Ryan C. Gordon
f9268ec876 Fix SDL_GL_ACCELERATED_VISUAL on Windows in the 1.3 branch.
Fixes Bugzilla #1254.

Thanks to Thilo Schulz for the patch!
2011-08-21 12:24:27 -04:00
Ryan C. Gordon
98babc2004 Ported ALSA minimum-sample-count fix from 1.2 branch to 1.3. 2011-08-21 11:52:21 -04:00
Ryan C. Gordon
40480fb3c4 Make sure XAudio2 is supported by the DirectX headers at compile time.
--HG--
extra : rebase_source : a461903e0d9d4334a29cb0c9848a36f268d8f0e6
2011-08-21 02:35:13 -04:00
Kees Bakker
afc8e3d312 Convert a few TABs into spaces 2011-08-18 22:43:37 +02:00
Markus Kauppila
8632b5f433 Fixed unit float and unit double generators. 2011-08-17 12:57:14 +03:00
Markus Kauppila
7d8de2d4ba Renamed RandomInteger to RandomSint32 and RandomUnsignedInteger
to RandomUint32.
2011-08-17 11:44:57 +03:00
Markus Kauppila
38ba3e6433 Fixed an issue with nonexistant function. 2011-08-17 10:34:42 +03:00
Markus Kauppila
cdb6aa7fcf Fixes based on CR.
Some tests in rwops suite broken up to smaller tests.
2011-08-15 21:41:28 +03:00
Markus Kauppila
516b5e80a7 Fixed 'runner > mylog' problem.
Runner will tell if verbose logging is switched on.
2011-08-15 19:40:41 +03:00
Markus Kauppila
d5a4d0b8bd Cleaning up render test suite. 2011-08-15 19:18:59 +03:00
Ryan C. Gordon
531efe97f1 Patched to compile. 2011-08-15 02:51:13 -04:00
Sam Lantinga
3cc0d7d6e4 Don't lose the icon surface if it's freed immediately after SDL_WM_SetIcon()
This is a memory leak, but we don't have a good place to free the icon surface a the moment.
2011-08-14 21:57:50 -04:00
Sam Lantinga
a854e65d49 Removed some extra ppc scaffolding 2011-08-14 17:21:21 -04:00
Sam Lantinga
f22df77268 Fat build doesn't support PPC anymore. 2011-08-14 17:17:34 -04:00
Markus Kauppila
2832493550 Renamed tests in dummy suite. 2011-08-14 21:36:43 +03:00