test


Log

Author Commit Date CI Message
Ryan C. Gordon b29740b8 2014-06-25T17:06:12 Merged Ryan's SDL-gui-backend branch. Adds three APIs, and implements them on X11, Cocoa, and Windows: - SDL_CaptureMouse() - SDL_GetGlobalMouseState() - SDL_SetWindowHitTest()
Sam Lantinga 3344db40 2014-06-23T11:06:50 Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings
Sam Lantinga ce84813a 2014-06-21T11:24:06 commit 9e211e646f9d51dc1372c9f3c8f47a78caf4f2a5 Author: Sam Clegg <sbc@chromium.org> Date: Fri Jun 20 12:52:11 2014 Fix win32 build which was failing due to missing PRIs64. This change adds definitions for the C99 PRIs16 and PRIu64 which are missing from <stdint.h> on at last win32 and possibly other platforms. These already existed in testgesture.c so I removed them from there also.
Philipp Wiesemann ea93820e 2014-06-09T17:25:03 Fixed format string faults in audio tests. They were found by the recent code annotations.
Gabriel Jacobo efa2d058 2014-06-08T18:18:13 Fixes audio for Native Client, and other fixes... - SDL_NaClMount, SDL_NaClUmount - Default mounting of https at / in SDL's main function - More documentation in README-nacl.txt
Sam Lantinga cde32ccc 2014-06-07T18:20:25 Fixed compile warnings
Sam Lantinga 0ddd252f 2014-06-07T17:25:56 Fixed initializing test event queue
Sam Lantinga 5907cfaa 2014-06-07T17:25:35 Fixed another loopwave crash with no command line arguments
Sam Lantinga a93474a2 2014-06-07T17:09:32 Fixed loopwave crash with no command line arguments
Gabriel Jacobo 93aabd32 2014-06-06T18:33:17 Adds missing Makefile for NACL test and a couple of smaller fixes
Gabriel Jacobo 1e352d79 2014-06-06T15:45:59 Chrome's Native Client backend implementation
Ryan C. Gordon 31de8f8b 2014-06-05T00:49:25 Minor tweaks to testhittesting.
Ionut Leonte 2d38a71a 2014-06-05T00:45:16 Added SDL_HITTEST_RESIZE_*, and implemented for X11.
Ryan C. Gordon bf03bec1 2014-05-30T01:48:26 Patched to compile on Visual Studio.
Ryan C. Gordon 4ef6edda 2014-05-30T01:48:08 Make some printf() calls into SDL_Log() so I can see them on Windows. :)
Philipp Wiesemann 8d11db2f 2014-05-29T22:48:10 Added missing stdio include in test program.
Philipp Wiesemann 3a803358 2014-05-29T22:44:08 Fixed use of uninitialized variable warning in test program.
Ryan C. Gordon 7364ed01 2014-05-28T01:27:27 Added a few debug printf() calls.
Ryan C. Gordon 98c03f39 2014-05-28T01:22:47 Changed drag area API to a hit-testing API. There were several good arguments for this: it's how Windows works with WM_NCHITTEST, SDL doesn't need to manage a list of rects, it allows more control over the regions (how do you use rects to cleanly surround a circular button?), the callback can be more optimized than a iterating a list of rects, and you don't have to send an updated list of rects whenever the window resizes or layout changes.
Ryan C. Gordon 3cbc83ef 2014-05-27T01:27:42 First shot at SDL_SetWindowDragAreas(). Only Cocoa implemented right now.
Philipp Wiesemann 9bc47465 2014-05-18T21:11:30 Changed C++ style comments.
Philipp Wiesemann ca11d7c8 2014-05-17T22:02:25 Changed C++ style comments to fix pedantic warnings.
Gabriel Jacobo f565d81a 2014-05-10T15:57:09 A few more ANDROID for __ANDROID__ replacements
Dimitris Zenios 548a0ee7 2014-05-05T22:21:26 __ANDROID__ is the correct macro to check for an android system.ANDROID is only defined in NDK build system (.mk) and not in the standalone NDK.
Sam Lantinga d9ffe549 2014-04-26T12:29:40 Fixed the inertia effect in the test program
Philipp Wiesemann 65c82148 2014-04-19T15:28:13 Removed global variable from test program.
Sam Lantinga 353feb5c 2014-04-17T22:40:57 Fixed bug 2475 - Incorrect SDL_Log() format specifiers in test/testgesture.c rettichschnidi The floats should not be interpreted as integers. Patch against the current head attached.
David Ludwig 3dcb451f 2014-04-09T21:29:19 Added a README file regarding WinRT support To note, this file is currently formatted with CRLF line endings, rather than LF, to allow the file to be viewed with Notepad.
Philipp Wiesemann 83200a32 2014-04-05T23:50:09 Removed empty statements.
Philipp Wiesemann 9a56cde2 2014-04-04T23:56:15 Removed unused variable from test program.
Sam Lantinga 229b438d 2014-03-29T12:27:27 Fixed assertion loading button.bmp in testgamecontroller
Gabriel Jacobo 22a7dd0b 2014-03-24T11:42:09 Fixes #2456, controllermap's undo does not work correctly (by Bogdan Marinov)
Sam Lantinga 25919bf2 2014-03-23T23:08:26 Fixed warning on Mac OS X
Andreas Schiffler a7b84069 2014-03-19T21:48:32 Fix visualstudio build break introduced by changeset 8645
Andreas Schiffler f018ca46 2014-03-19T21:39:55 Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite
Ryan C. Gordon 1f45d4b6 2014-03-18T12:33:57 controllermap: Don't treat SDL_HAT_CENTERED as a valid input.
Andreas Schiffler 7a36070a 2014-03-11T07:17:56 Fix bug/add test coverage for SDLTest_GenerateRunSeed helper; improve test harness adding output of repro steps for failures; improve negative test for SDL_GetError/SDL_SetError
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.