test


Log

Author Commit Date CI Message
Ryan C. Gordon 3ed9b0f5 2016-08-03T00:31:08 testaudiocapture: made test app interactive. (hold down mouse/finger to record, then it plays back what it heard. Repeat.)
Ryan C. Gordon f758483a 2016-08-02T19:17:51 testaudiocapture: Make a simple green/red window when recording/playing.
Ryan C. Gordon b35b9f95 2016-08-02T13:38:56 testaudiocapture: Let specific devices be opened.
Ryan C. Gordon ee099750 2016-08-01T00:18:56 audio: Initial bits to enable audio capture support.
Brandon Schaefer 578edca4 2016-07-13T09:41:43 Tests: Would be wise to compile this
Brandon Schaefer bebb6dee 2016-07-13T07:39:01 Tests: Somehow tabs leaked in...
Brandon Schaefer f2413850 2016-07-13T07:34:06 Tests: Add a manual test for a custom cursor (Taken from the API docs)
Brandon Schaefer d8866e84 2016-07-13T07:07:46 Tests: Mir needs the window to swap at lease 1 frame for the cursor to show. So render in testwm2
Philipp Wiesemann b5246571 2016-06-28T21:15:16 Fixed three source comments in tests.
Philipp Wiesemann b5aa5b04 2016-06-28T21:14:11 Added a simple test case for SDL_sscanf() to tests. It fails on platforms where SDL's custom implementation is used. Relates to Bugzilla #3341.
Philipp Wiesemann 73b63e5b 2016-05-10T21:13:58 Fixed crash in shape test program if memory allocation failed.
Philipp Wiesemann 31e23d57 2016-05-10T21:12:48 Fixed error return values in filesystem test program.
Philipp Wiesemann 6a9a8b68 2016-05-05T22:05:21 Fixed memory leak in game controller test program.
Philipp Wiesemann b53007b0 2016-04-14T21:10:08 Added missing error return in test program.
Philipp Wiesemann 9011eb1c 2016-03-28T21:02:30 Removed not needed SDL_WINDOW_SHOWN from chessboard test program.
Philipp Wiesemann b82f48ba 2016-03-10T21:00:27 Fixed compiling IME test program with HAVE_SDL_TTF on C89 compilers.
Philipp Wiesemann 43594e3f 2016-03-10T21:00:13 Removed unnecessary include statement in test program.
Ryan C. Gordon deb2acbc 2016-03-10T01:50:43 A simple test program for SDL_qsort().
Philipp Wiesemann 21d32975 2016-03-03T20:11:43 Fixed compile warnings about unused variables in IME test program.
Philipp Wiesemann e8b43685 2016-03-02T20:24:43 Replaced strlen() with SDL_strlen() in IME test program.
Ryan C. Gordon 416d0466 2016-01-07T14:02:37 Mac: Implemented SDL_GetDisplayDPI (thanks, Kirill!). Fixes Bugzilla #3223.
Ryan C. Gordon f9b73793 2016-01-05T02:26:45 Added SDL_DROPTEXT event, for dragging and dropping string data. This patch is based on work in Unreal Engine 4's fork of SDL, compliments of Epic Games.
Ryan C. Gordon 8e855f2f 2016-01-05T01:42:00 Added SDL_DROPBEGIN and SDL_DROPCOMPLETE events, plus window IDs for drops. This allows an app to know when a set of drops are coming in a grouping of some sort (for example, a user selected multiple files and dropped them all on the window with a single drag), and when that set is complete. This also adds a window ID to the drop events, so the app can determine to which window a given drop was delivered. For application-level drops (for example, you launched an app by dropping a file on its icon), the window ID will be zero.
Ryan C. Gordon c3114975 2016-01-04T23:52:40 Added SDL_GetDisplayUsableBounds().
Ryan C. Gordon fa8c83c1 2016-01-03T06:50:50 Remove almost all instances of "volatile" keyword. As Tiffany pointed out in Bugzilla, volatile is not useful for thread safety: https://software.intel.com/en-us/blogs/2007/11/30/volatile-almost-useless-for-multi-threaded-programming/ Some of these volatiles didn't need to be, some were otherwise protected by spinlocks or mutexes, and some got moved over to SDL_atomic_t data, etc. Fixes Bugzilla #3220.
Sam Lantinga 42065e78 2016-01-02T10:10:34 Updated copyright to 2016
Philipp Wiesemann 1446faf0 2015-12-25T13:41:23 Fixed a comment in two test programs.
Sam Lantinga cbe19d53 2015-12-24T06:11:05 Fixed whitespace in testspriteminimal.c
Sam Lantinga 7b680a2a 2015-12-18T18:49:23 Fixed mapping third party XBox controllers that have the trigger axis all the way in until they are pulled and get updated values.
Philipp Wiesemann 11c13916 2015-12-07T21:43:16 Fixed outdated information in README for test programs. Two programs were removed some time ago and one was renamed.
Philipp Wiesemann 96229eed 2015-12-06T17:50:51 Changed comment in test program to avoid confusion. There is a library called SDL_sound which is not used here.
Philipp Wiesemann 4abb7329 2015-12-04T22:12:36 Fixed comment in filesystem test program.
Philipp Wiesemann 74de09ad 2015-12-01T22:24:04 Fixed compile error in timer test program if PRIu64 not available.
Philipp Wiesemann 1e2a4439 2015-12-01T22:22:58 Fixed compile warning in IME test program.
Philipp Wiesemann b2445f7b 2015-12-01T22:21:29 Fixed filesystem test program to compile with older versions of C.
Philipp Wiesemann 11d98995 2015-11-25T21:39:28 Replaced tabs with spaces in test programs.
Ryan C. Gordon e6ad29ae 2015-11-14T12:35:45 Added SDL_JoystickFromInstanceID() and SDL_GameControllerFromInstanceID().
Philipp Wiesemann d80f4566 2015-10-07T21:16:59 Fixed freeing uninitialized pointers on failure cleanup in tests.
Alex Szpakowski 2bf6f1bc 2015-09-20T23:08:36 Added initial support for MFi game controllers on iOS.
Ryan C. Gordon d338f465 2015-09-18T16:22:23 Added copyright information on test/sample.wav; the mystery is solved! :)
Philipp Wiesemann eb57d752 2015-08-09T20:01:01 Added missing SDL_Quit() in test program.
Ryan C. Gordon 344fbe61 2015-08-07T01:00:14 testdisplayinfo.c forgot to SDL_Quit() at the end.
Philipp Wiesemann 8bbded25 2015-07-15T21:10:38 Fixed comment in test program.
Ryan C. Gordon b7ecc670 2015-07-14T21:28:26 Added test/testdisplayinfo.c
Philipp Wiesemann 0e45984f 2015-06-21T17:33:46 Fixed crash if initialization of EGL failed but was tried again later. The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly uninitialized data structure if loading the library first failed. A later try to use EGL then skipped initialization and assumed it was previously successful because the data structure now already existed. This led to at least one crash in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was dereferenced to make a call to eglBindAPI().