|
c406f649
|
2016-11-10T18:53:50
|
|
Added USB VID/PID information to the SDL test programs
|
|
0396af65
|
2016-11-06T14:13:28
|
|
Shifting a value by more than its bits isn't defined and has varying behavior depending on compiler and platform
|
|
40b571c9
|
2016-11-06T10:01:08
|
|
Fixed bug 3468 - _allshr in SDL_stdlib.c is not working properly
Mark Pizzolato
On Windows with Visual Studio, when building SDL as a static library using the x86 (32bit) mode, several intrinsic operations are implemented in code in SDL_stdlib.c.
One of these, _allshr() is not properly implemented and fails for some input. As a result, some operations on 64bit data elements (long long) don't always work.
I classified this bug as a blocker since things absolutely don't work when the affected code is invoked. The affected code is only invoked when SDL is compiled in x86 mode on Visual Studio when building a SDL as a static library. This build environment isn't common, and hence the bug hasn't been noticed previously.
I reopened #2537 and mentioned this problem and provided a fix. That fix is provided again here along with test code which could be added to some of the SDL test code. This test code verifies that the x86 intrinsic routines produce the same results as the native x64 instructions which these routines emulate under the Microsoft compiler. The point of the tests is to make sure that Visual Studio x86 code produces the same results as Visual Studio x64 code. Some of the arguments (or boundary conditions) may produce different results on other compiler environments, so the tests really shouldn't be run on all compilers. The test driver only actually exercised code when the compiler defines _MSC_VER, so the driver can generically be invoked without issue.
|
|
52988309
|
2016-11-05T01:48:14
|
|
Fixed bug 3480 - minor update to NACL common.js
Sylvain
All latest official NACL examples have a slightly different 'common.js' file. It seems it has been updated in the meantime to fix a bug.
|
|
98d188f5
|
2016-10-30T21:01:46
|
|
Added call to SDL_HasAVX2() in platform test program.
|
|
826508b6
|
2016-10-15T20:01:30
|
|
Removed unused constants in controllermap program.
|
|
c490b54e
|
2016-10-13T04:01:25
|
|
Fixed black screen on Steam Link
|
|
cb7b823c
|
2016-10-13T02:09:37
|
|
Fixed black screen on Steam Link
|
|
ed80cfd9
|
2016-10-12T23:36:49
|
|
Removed empty statements in tests.
|
|
367a6a3d
|
2016-10-09T20:31:32
|
|
Fixed compiling of three test programs with C++.
|
|
56c88c45
|
2016-10-04T04:08:02
|
|
Modified the custom cursor test to be able to load BMP files as cursors
|
|
f032f811
|
2016-10-01T12:43:14
|
|
Fixed bug 3318 - testime.c enhancement with GNU Unifont support
Simon Hug
I'm proposing some changes to the IME test program test/testime.c. The patch includes support for the GNU Unifont hex file, making the SDL_ttf dependency optional. There were also one or two bugs that prevented the text and underline from showing up poperly.
|
|
3ac201cf
|
2016-10-01T12:33:26
|
|
Fixed bug 3319 - Getting the POSIX out of testqsort.c
Simon Hug
There's a call to the POSIX function random in test/testqsort.c. Naturally, Windows doesn't do that. The attached patch changes the call to the SDLtest framework random functions and adds some seed control.
Looking at SDLTest_RandomInitTime, I just want to say that 'srand((unsigned int)time(NULL)); a=rand(); srand(clock()); b=rand();' is an absolutely terrible way to initialize a seed on Windows because of its terrible LCG.
|
|
2cbe9e2b
|
2016-10-01T12:29:55
|
|
Fixed bug 3322 - Missing error checking in testaudioinfo and testaudiohotplug
Simon Hug
The two tests test/testaudioinfo.c and test/testaudiohotplug.c are missing error checking when they call SDL_GetAudioDeviceName. This function can return NULL which the tests pass straight to SDL_Log.
|
|
929b965c
|
2016-09-21T23:06:38
|
|
Fixed compiling of three test programs with C++.
|
|
48490a52
|
2016-08-30T21:16:04
|
|
Fixed log message in audio capture test program.
|
|
b6daf1f6
|
2016-08-12T22:50:48
|
|
testaudiocapture: ask for way more output samples.
Fixes Emscripten builds on Chrome for Android.
|
|
3139e5d1
|
2016-08-09T16:57:49
|
|
testaudiocapture: open capture device to same spec as output device.
...since our resampler is still terrible (sorry!).
|
|
a15b9740
|
2016-08-06T02:48:00
|
|
testaudiocapture: use capture device buffer queueing, for better test coverage.
|
|
7bfe494c
|
2016-08-06T02:45:51
|
|
testaudiocapture: don't use fullscreen for the window.
|
|
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.)
|
|
f758483a
|
2016-08-02T19:17:51
|
|
testaudiocapture: Make a simple green/red window when recording/playing.
|
|
b35b9f95
|
2016-08-02T13:38:56
|
|
testaudiocapture: Let specific devices be opened.
|
|
ee099750
|
2016-08-01T00:18:56
|
|
audio: Initial bits to enable audio capture support.
|
|
578edca4
|
2016-07-13T09:41:43
|
|
Tests: Would be wise to compile this
|
|
bebb6dee
|
2016-07-13T07:39:01
|
|
Tests: Somehow tabs leaked in...
|
|
f2413850
|
2016-07-13T07:34:06
|
|
Tests: Add a manual test for a custom cursor (Taken from the API docs)
|
|
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
|
|
b5246571
|
2016-06-28T21:15:16
|
|
Fixed three source comments in tests.
|
|
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.
|
|
73b63e5b
|
2016-05-10T21:13:58
|
|
Fixed crash in shape test program if memory allocation failed.
|
|
31e23d57
|
2016-05-10T21:12:48
|
|
Fixed error return values in filesystem test program.
|
|
6a9a8b68
|
2016-05-05T22:05:21
|
|
Fixed memory leak in game controller test program.
|
|
b53007b0
|
2016-04-14T21:10:08
|
|
Added missing error return in test program.
|
|
9011eb1c
|
2016-03-28T21:02:30
|
|
Removed not needed SDL_WINDOW_SHOWN from chessboard test program.
|
|
b82f48ba
|
2016-03-10T21:00:27
|
|
Fixed compiling IME test program with HAVE_SDL_TTF on C89 compilers.
|
|
43594e3f
|
2016-03-10T21:00:13
|
|
Removed unnecessary include statement in test program.
|
|
deb2acbc
|
2016-03-10T01:50:43
|
|
A simple test program for SDL_qsort().
|
|
21d32975
|
2016-03-03T20:11:43
|
|
Fixed compile warnings about unused variables in IME test program.
|
|
e8b43685
|
2016-03-02T20:24:43
|
|
Replaced strlen() with SDL_strlen() in IME test program.
|
|
416d0466
|
2016-01-07T14:02:37
|
|
Mac: Implemented SDL_GetDisplayDPI (thanks, Kirill!).
Fixes Bugzilla #3223.
|
|
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.
|
|
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.
|
|
c3114975
|
2016-01-04T23:52:40
|
|
Added SDL_GetDisplayUsableBounds().
|
|
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.
|
|
42065e78
|
2016-01-02T10:10:34
|
|
Updated copyright to 2016
|
|
1446faf0
|
2015-12-25T13:41:23
|
|
Fixed a comment in two test programs.
|
|
cbe19d53
|
2015-12-24T06:11:05
|
|
Fixed whitespace in testspriteminimal.c
|
|
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.
|
|
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.
|
|
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.
|
|
4abb7329
|
2015-12-04T22:12:36
|
|
Fixed comment in filesystem test program.
|
|
74de09ad
|
2015-12-01T22:24:04
|
|
Fixed compile error in timer test program if PRIu64 not available.
|
|
1e2a4439
|
2015-12-01T22:22:58
|
|
Fixed compile warning in IME test program.
|
|
b2445f7b
|
2015-12-01T22:21:29
|
|
Fixed filesystem test program to compile with older versions of C.
|
|
11d98995
|
2015-11-25T21:39:28
|
|
Replaced tabs with spaces in test programs.
|
|
e6ad29ae
|
2015-11-14T12:35:45
|
|
Added SDL_JoystickFromInstanceID() and SDL_GameControllerFromInstanceID().
|
|
d80f4566
|
2015-10-07T21:16:59
|
|
Fixed freeing uninitialized pointers on failure cleanup in tests.
|
|
2bf6f1bc
|
2015-09-20T23:08:36
|
|
Added initial support for MFi game controllers on iOS.
|
|
d338f465
|
2015-09-18T16:22:23
|
|
Added copyright information on test/sample.wav; the mystery is solved! :)
|
|
eb57d752
|
2015-08-09T20:01:01
|
|
Added missing SDL_Quit() in test program.
|
|
344fbe61
|
2015-08-07T01:00:14
|
|
testdisplayinfo.c forgot to SDL_Quit() at the end.
|
|
8bbded25
|
2015-07-15T21:10:38
|
|
Fixed comment in test program.
|
|
b7ecc670
|
2015-07-14T21:28:26
|
|
Added test/testdisplayinfo.c
|
|
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().
|