Sam Lantinga
7ee8dda270
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Philipp Wiesemann
402cf280c4
Fixed a comment in two test programs.
2015-12-25 13:41:23 +01:00
Sam Lantinga
312a4eb1bb
Fixed whitespace in testspriteminimal.c
2015-12-24 06:11:05 -08:00
Sam Lantinga
7d9b80ccb3
Fixed mapping third party XBox controllers that have the trigger axis all the way in until they are pulled and get updated values.
2015-12-18 18:49:23 -08:00
Philipp Wiesemann
35753b6dbb
Fixed outdated information in README for test programs.
...
Two programs were removed some time ago and one was renamed.
2015-12-07 21:43:16 +01:00
Philipp Wiesemann
75a8a947fd
Changed comment in test program to avoid confusion.
...
There is a library called SDL_sound which is not used here.
2015-12-06 17:50:51 +01:00
Philipp Wiesemann
b5437b59e3
Fixed comment in filesystem test program.
2015-12-04 22:12:36 +01:00
Philipp Wiesemann
9d304679f0
Fixed compile error in timer test program if PRIu64 not available.
2015-12-01 22:24:04 +01:00
Philipp Wiesemann
b5e3bd6ec1
Fixed compile warning in IME test program.
2015-12-01 22:22:58 +01:00
Philipp Wiesemann
525d8bfbe5
Fixed filesystem test program to compile with older versions of C.
2015-12-01 22:21:29 +01:00
Philipp Wiesemann
da4d0e4a52
Replaced tabs with spaces in test programs.
2015-11-25 21:39:28 +01:00
Ryan C. Gordon
03cb578e6e
Added SDL_JoystickFromInstanceID() and SDL_GameControllerFromInstanceID().
...
--HG--
extra : amend_source : 110a5505509ddb9ecafed75abd89602986a99696
2015-11-14 12:35:45 -05:00
Philipp Wiesemann
174b5f8110
Fixed freeing uninitialized pointers on failure cleanup in tests.
2015-10-07 21:16:59 +02:00
Alex Szpakowski
0023cbb086
Added initial support for MFi game controllers on iOS.
2015-09-20 23:08:36 -03:00
Ryan C. Gordon
c82ecd21c9
Added copyright information on test/sample.wav; the mystery is solved! :)
...
--HG--
extra : rebase_source : c808e482497cdd897281c083c5cfca7dcbb8f8e3
2015-09-18 16:22:23 -04:00
Philipp Wiesemann
55792afb68
Added missing SDL_Quit() in test program.
2015-08-09 20:01:01 +02:00
Ryan C. Gordon
16054addb9
testdisplayinfo.c forgot to SDL_Quit() at the end.
2015-08-07 01:00:14 -04:00
Philipp Wiesemann
8a0443bf99
Fixed comment in test program.
2015-07-15 21:10:38 +02:00
Ryan C. Gordon
aac01f81ad
Added test/testdisplayinfo.c
2015-07-14 21:28:26 -04:00
Philipp Wiesemann
2a07ba3252
Fixed comment in test program.
2015-06-16 20:27:01 +02:00
Philipp Wiesemann
8c7a005cbd
Fixed not needed calculation in test program.
2015-06-04 17:52:27 +02:00
Ryan C. Gordon
eaa26aed0b
testmessage: Try Unicode chars in the title, too.
2015-05-31 23:53:10 -04:00
Ryan C. Gordon
76b9a6c463
testmessage.c should report when message boxes were closed.
2015-05-31 22:27:46 -04:00
Ryan C. Gordon
62f5879d2e
Fixed memory leaks in testfilesystem.c (thanks, Nitz!).
...
Fixes Bugzilla #2991 .
2015-05-31 21:50:50 -04:00
Sam Lantinga
aafa101499
Fixed X11 build, added code to print initial modifiers to checkkeys
2015-05-28 09:52:48 -07:00
Ryan C. Gordon
6ff4d48902
Stack hint should look for 0, not -1, and not care about environment variables.
2015-05-26 21:19:23 -04:00
Ryan C. Gordon
12bbb8e161
Added a hint to specify new thread stack size (thanks, Gabriel!).
...
Fixes Bugzilla #2019 .
(we'll do a better fix when we break the API in SDL 2.1.)
2015-05-26 21:13:27 -04:00
Ryan C. Gordon
94dc4ff928
Make dot easier to see in testrelative.
2015-05-26 11:32:06 -04:00
Sam Lantinga
56b58afdbe
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Sam Lantinga
f5e7adf421
Fixed bug 2989 - Memory loss in clipboard_testClipboardTextFunctions
2015-05-26 06:16:43 -07:00
Philipp Wiesemann
ae188bcbae
Removed redundant NULL check in test program.
2015-05-21 21:27:53 +02:00
Philipp Wiesemann
4575b60c5d
Changed clean-up order in test program.
2015-05-21 21:25:32 +02:00
Philipp Wiesemann
a5c372da01
Fixed undefined key access in test program.
2015-05-21 21:25:14 +02:00
Philipp Wiesemann
566df69b69
Added missing loop cancel for Emscripten in test programs.
2015-05-18 21:21:14 +02:00
Philipp Wiesemann
b359854af7
Fixed compiling test program with Emscripten.
2015-05-18 21:17:13 +02:00
Philipp Wiesemann
204e676bfe
Fixed handling only one event per frame in test program.
2015-05-18 21:12:16 +02:00
Philipp Wiesemann
ffb4e63c8d
Fixed implicit function declaration in test program.
2015-05-06 21:09:33 +02:00
Ryan C. Gordon
0291892654
checkkeys: report SDL_TEXTEDITING events.
2015-05-01 01:19:00 -04:00
Ryan C. Gordon
b78f3a3d40
checkkeys: Readded the KEYUP event test.
2015-05-01 01:12:48 -04:00
Ryan C. Gordon
3ff618a9c7
Cleanups in the joystick code.
...
Removed some redundant state and other confusions.
Fixes Bugzilla #2738 .
--HG--
extra : rebase_source : 35dd561553379e00eb8d169ce12ecc99393b2f84
2015-03-24 13:52:01 -04:00
Philipp Wiesemann
940b699079
Updated test program for Emscripten.
2015-03-23 20:21:45 +01:00
Ryan C. Gordon
90bd9250a4
Immediately minimize the goofy window in testaudiohotplug.
2015-03-19 22:20:12 -04:00
Ryan C. Gordon
e98dd173b7
Initial work on audio device hotplug support.
...
This fills in the core pieces and fully implements it for Mac OS X.
Most other platforms, at the moment, will report a disconnected device if
it fails to write audio, but don't notice if the system's device list changed
at all.
--HG--
extra : rebase_source : f7e7efbbeecfe58338b0f325340c358c2bdfc402
2015-03-16 02:11:39 -04:00
Philipp Wiesemann
37895d5fa7
Updated name of assert type in test program.
2015-03-15 19:25:10 +01:00
Philipp Wiesemann
f3b8ca2a36
Removed redundant include statements from test programs.
...
The needed header files are already included with SDL.h. Still including them in
the test programs is confusing because it somehow suggests they would be needed.
2015-02-18 21:31:21 +01:00
Philipp Wiesemann
56146a8c13
Fixed compile warning about unused variable in wave test program.
2015-02-15 11:33:39 +01:00
Philipp Wiesemann
d9c3c62015
Fixed test programs for joystick not exiting on events after first disconnect.
...
Exit was broken since the main loop extraction needed for Emscripten support
because the former local but now global variables were not reset correctly.
2015-02-12 21:40:53 +01:00
Philipp Wiesemann
bf73cbded1
Fixed bug 2873 - Joystick test won't reload after reattach
...
lectem
-plug in the joystick
-start testjoystick 0
-unplug
-replug
The joystick is detected but doesn't enter the loop anymore since done==SDL_TRUE
2015-02-10 20:40:03 +01:00
Philipp Wiesemann
b5080e09ab
Fixed compiling test with older C.
2015-02-10 20:31:05 +01:00
Philipp Wiesemann
1577f08fad
Fixed bug 2866 - testrelative.c: patch to make the orange box wrap around
...
Eric Wasylishen
Here's a patch to make the 'testrelative' demo program more useful: it just makes the orange rectangle wrap around. Previously, the orange cursor would just disappear off screen if you move the mouse a lot in one direction, so it was hard to tell if relative mouse mode was still working.
2015-02-07 22:40:36 +01:00