test


Log

Author Commit Date CI Message
Sam Lantinga 1367bf87 2014-03-09T11:36:47 Integrated David Ludwig's support for Windows RT
Sam Lantinga 05c23063 2014-03-09T11:06:11 Fixed line endings on WinRT source code
Gabriel Jacobo 01550b96 2014-02-20T16:12:11 Improve testgles2 exit behavior (useful on Android)
Ryan C. Gordon 2d92a372 2014-02-10T11:29:48 Make controllermap, etc, work on platforms with hardcoded window sizes. This makes sure everything renders correctly, even if, say, an Android device gives you a certain "window" size no matter what you ask for.
Gabriel Jacobo 9268c7a1 2014-02-10T09:26:22 Backed out 0869362ccc3c The render target usage in controllermap is required if you are forced to use the app at a different resolution than the one the art has been made for, for example on Android, where you don't control the resolution. (The coordinates for each button are hardcoded to the art size, and appear out of place otherwise)
Ryan C. Gordon f0aa97d2 2014-02-10T01:43:01 Removed unused function.
Ryan C. Gordon b17fd9a1 2014-02-10T01:41:58 Replace testgamecontroller visualization mode with something more useful.
Ryan C. Gordon 9a15da84 2014-02-09T15:20:41 No need to use a render target here.
Edward Rudd d3f64213 2014-02-07T09:35:33 slight adjustment to the hot plug test to allow it to be run with hap tics disabled
Ryan C. Gordon 257ab5f5 2014-02-06T07:38:41 Fixed return values on testhotplug mainline.
Ryan C. Gordon 1191a902 2014-02-06T07:38:04 Fixed copyright date.
Edward Rudd d4e3221f 2014-02-04T18:21:39 add testdropfile to OS X Project
Edward Rudd a98c477b 2014-02-04T15:40:51 allow safely quitting the hotplug test by pressing button 0 on the joystick
Edward Rudd e6dce68f 2014-02-03T23:08:53 testhotplug: Actually log the SDL_Error that occured on failures
Edward Rudd 8512f1b8 2014-02-03T23:01:19 add logging for the case when haptic is not detected on the joystick as well.
Edward Rudd e0e6b2a4 2014-02-03T22:52:18 add simple test showing off hotplugging of joysticks w/ haptic.
Sam Lantinga 58edac3e 2014-02-02T00:53:27 Fixed bug 2374 - Update copyright for 2014... Is it that time already??
Sam Lantinga 3bd0e900 2014-02-02T00:33:31 Fixed bug 2376 - no SDL_HasAVX Haneef Mubarak AVX is the successor to SSE* and is fairly widely available. As such, it really ought to be detectable. This functionality ought to be trivial to implement, and not having it means being forced to write an ugly workaround to check for AVX (so that normal SSE can be used if AVX is not available). Here is an example on detecting AVX from SO (it actually shows ways to cehck for all of teh fancy instructions): http://stackoverflow.com/questions/6121792/how-to-check-if-a-cpu-supports-the-sse3-instruction-set
Edward Rudd 93fd65f7 2014-01-08T14:18:11 some fixes to the testshape.c code so it more correctly works.
Philipp Wiesemann 65f0142f 2013-12-25T00:11:28 Fixed access of command line arguments on Android in two test programs.
Philipp Wiesemann 36cbd506 2013-12-25T00:04:31 Fixed unused local variable warning in test program source.
Philipp Wiesemann 18125f76 2013-12-24T19:55:41 Fixed missing return warning in test program source.
Sam Lantinga 112f60a4 2013-12-23T15:55:08 Changed testgamecontroller to wait for controllers to be reattached, the way testjoystick does.
Gabriel Jacobo ec1cb49e 2013-12-14T20:18:43 Wayland support Based on the original port to Wayland by: Joel Teichroeb, Benjamin Franzke, Scott Moreau, et al. Additional changes in this commit, done by me: * Wayland uses the common EGL framework * EGL can now create a desktop OpenGL context * testgl2 loads GL functions dynamically, no need to link to libGL anymore * Assorted fixes to the Wayland backend Tested on the Weston Compositor (v1.0.5) that ships with Ubuntu 13.10, running Weston under X. Tests ran: testrendercopyex (all backends), testgl2, testgles2,testintersections
Sam Lantinga fcf69227 2013-12-11T21:13:45 Fixed bug 2294 - testdrawchessboard.c Sets the render color alpha to 0x0. Brandon Schaefer This means everything will render black if the software rendering backend selects a pixel format that supports alpha. So it seems best to at lease assume alpha is supported.
Gabriel Jacobo 77d2d55e 2013-12-05T10:51:38 [Android] Handle native thread finishing when not commanded from the Java side
Gabriel Jacobo 5ac18134 2013-12-03T12:01:28 Adds SDL_GameControllerAddMappingsFromRW, updates controllermap SDL_GameControllerAddMappingsFromFile is now a convenience macro. controllermap can now skip bindings by pressing space or clicking/touching the screen.
Gabriel Jacobo 95ec90aa 2013-12-02T19:35:04 Adds controllermap utility to test suite.
Gabriel Jacobo f848adff 2013-11-29T10:06:08 Improve Android pause/resume behavior.
David Ludwig 46740a5a 2013-11-28T22:09:21 WinRT: merged with latest SDL 2.x/HG code SDL 2.x recently accepted patches to enable OpenGL ES 2 support via Google's ANGLE library. The thought is to try to eventually merge SDL/WinRT's OpenGL code with SDL-official's.
Ryan C. Gordon b72c8bca 2013-11-25T00:11:52 Regenerate the configure scripts.
Philipp Wiesemann 5aa702fe 2013-11-23T18:37:36 Removed second return statement.
Gabriel Jacobo 61959aa6 2013-11-22T13:24:53 OpenGL ES support for Windows
Gabriel Jacobo 47139fb3 2013-11-19T10:56:38 Adds testgles2 Source code copied from: https://github.com/fantasydr/sdl-2.0-gles (thanks!) Minor fixes, configure script changes done by me.
Sam Lantinga 104ceb86 2013-11-16T10:25:46 Fixed compile warning, thanks to Michael Pohoreski
Sam Lantinga 44959a21 2013-11-15T22:05:26 Added viewport test, contributed by Andreas Schiffler and improved by me and Ryan Gordon. If it works correctly you should see a square moving from the upper left to the lower right, with a little yellow box at the top of the moving square. You can pass --target as a command line option to have it use a render target instead of rendering directly to the screen. The output should be identical in this case.
Ryan C. Gordon 00003e8c 2013-11-14T11:51:24 Renamed things named after BeOS to be named after Haiku instead.
Sam Lantinga 2b93fa08 2013-11-11T02:00:58 Turn off resizable flag by default, you can always pass the --resize command line option if you need it.
Gabriel Jacobo 22770a8f 2013-11-06T11:23:24 [Android] Fixes Bug 2041 - can't get SDL_QUIT event... Thanks to Denis Bernard! Also, changed the Android manifest so the app doesn't quit with orientation changes, and made testgles.c exit properly on Android.
Sam Lantinga c4b563e4 2013-11-03T11:27:06 Fixed bug 2190 - test/testdrawchessboard.c line endings Joseph Carter test/testdrawchessboard.c checks out of hg with DOS line endings on non-dos systems. Fixed via: perl -pi -e 's/\r//g' test/testdrawchessboard.c
Philipp Wiesemann cd37485e 2013-11-02T12:07:21 Changed parameter name for gesture template save functions from "src" to "dst".
David Ludwig 69c5d21d 2013-10-27T21:26:46 WinRT: merged with SDL 2.0.1 codebase
Andreas Schiffler 09b3b7e7 2013-10-21T23:17:37 Fix error assert for negative cases of pixels_getPixelFormatName test
Sam Lantinga 12ca3ce3 2013-10-17T23:02:29 Fixed building using MinGW Our SDL_windows.h needed to be included before anything else so UNICODE is defined.
Sam Lantinga 2e6b4b96 2013-10-17T11:56:33 Fixed compiling on Mac OS X, added a system RAM test
Sam Lantinga 2337a684 2013-10-13T19:49:45 Fixed bug 2149 - Don't search for libusbhid except on BSD Joseph Carter There's a whole set of configure tests for BSD's libusbhid, and they only matter on BSD. However, if you have the library on Linux, it gets pulled in as library bloat. And it's bloat of the highest order since not a single function call to the library is ever made unless you're on a *BSD.
Edward Rudd 7bc98157 2013-10-12T11:21:40 added simple Drag & drop test
Sam Lantinga a7e1fddd 2013-10-10T21:50:25 Updated SDL to version 2.0.1
Gabriel Jacobo 89131435 2013-10-10T00:49:57 Adds gl_profile_mask to test framework, uses it in testgles
Gabriel Jacobo eaa4300f 2013-10-09T11:30:01 Fixes testgles and testgl
Sam Lantinga 52966427 2013-10-05T19:09:03 Fixed bug 2132 - Tests may use invalid SDL_window pointers when windows are closed norfanin Some of the tests keep using the pointers of a destroyed SDL_Window when the common event handling handled the close event. The event handler itself does not NULL the pointer after the destruction. The attached patch adds a loop in the handler that will assign NULL to the destroyed window. It also adds checks to some of the tests so they skip those windows by checking for NULL.
Sam Lantinga 9cbd05df 2013-10-03T21:41:09 Report an error if creating a render target fails
Edward Rudd 869a7076 2013-09-20T13:43:00 add in High DPI support (aka Retina) - based on J?rgen's patch with a few bug fixes
Sam Lantinga e07d7e64 2013-08-29T08:30:21 Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)).
Sam Lantinga 3e2930de 2013-08-29T08:29:51 Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x)
Sam Lantinga f79fc33a 2013-08-29T08:29:21 Christoph Mallon: Remove pointless if (x) before SDL_free(x)
Gabriel Jacobo aef52c35 2013-08-28T12:43:29 [Linux] Test config script: Add the X11 library search path if it is not empty If ac_x_libraries is empty it means that the library's found in the default path, so we skip adding it to the XLIB variable as it screws up the search path.
Gabriel Jacobo 7fc50aff 2013-08-28T10:41:25 Fixes test building
Ryan C. Gordon 540cb538 2013-08-28T00:07:02 Fixed testgamecontroller output to make sense.
Gabriel Jacobo 1e49b1ed 2013-08-21T09:47:10 OCD fixes: Adds a space after /* (glory to regular expressions!)
Gabriel Jacobo 695344d1 2013-08-21T09:43:09 OCD fixes: Adds a space before */
David Ludwig 3fce6688 2013-08-20T21:55:13 WinRT: made testthread log output via SDL_Log - this will allow output to be read via Visual C++'s Output pane
Ryan C. Gordon 2dd7091e 2013-08-20T19:57:11 Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
Gabriel Jacobo 552b04c5 2013-08-20T20:34:40 More non C89 compliant comments
Andreas Schiffler 65728477 2013-08-14T23:30:10 Fix bug 2034: replace printf by SDL_Log in tests; update loopwave VS solution: copy missing dependency
David Ludwig f7049b93 2013-08-12T22:29:55 WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d4ce48ff30d1)
Gabriel Jacobo dad42067 2013-08-12T11:13:50 Fixes #2022, do not resume on Android when surfaceChanged If the app is in landscape mode and the user presses the power button, a pause is followed immediately by a surfaceChanged event because the lock screen is shown in portrait mode. This triggers a "false" resume. So, we just pause and resume following the onWindowFocusChanged events. Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before blocking the event pump.
Sam Lantinga 1ad936eb 2013-08-11T19:56:43 Fixed bug 2027 - Full-screen appears to be broken - hang in SDL_DestroyWindow() Rainer Deyke I'm running Linux Mint 15 with the Cinnamon window manager. SDL_DestroyWindow consistently locks up for me when the window if fullscreen.