Commit Graph

  • 0aa772bb98 Minor refactorings. Markus Kauppila 2011-06-06 18:37:53 +03:00
  • 2ed100a0cc Converted libtest to a more proper dummy test suite (libtestdummy). Markus Kauppila 2011-06-06 18:15:19 +03:00
  • 37e7051d12 Fix: Use DEFINE instead of plain number. Markus Kauppila 2011-06-05 18:44:58 +03:00
  • c761e7bd79 Refactored a bit. Extracted the code which checks for test suite selection to a function. Markus Kauppila 2011-06-05 18:38:06 +03:00
  • f313322848 Small fixes to previous commit. Markus Kauppila 2011-06-05 17:34:04 +03:00
  • b0a57ac402 Possible to execute only selected tests or suites. Markus Kauppila 2011-06-05 16:10:10 +03:00
  • 302081795c Updated configure.in to be compatible with autoconf 2.67. Ryan C. Gordon 2011-06-04 15:26:02 -04:00
  • b6d5aa6142 Runner can execute multiple test suites consecutively. Markus Kauppila 2011-06-04 18:50:41 +03:00
  • 31ed925ea9 Fixed old comments and added new ones. Markus Kauppila 2011-06-04 18:08:54 +03:00
  • 1c52082e17 Test case fails if it doesn't contain any asserts. Markus Kauppila 2011-06-04 17:58:46 +03:00
  • 6e6d706e75 Refactoring the TestCaseInit and TestCaseQuit functions to be caller from the Runner. Markus Kauppila 2011-06-04 17:50:23 +03:00
  • 6b540e88b1 Assert code's stdio interface was reading from the wrong variable. Ryan C. Gordon 2011-06-03 16:03:10 -04:00
  • 991519d59d Ported testrect from original automation code, updated AssertEquals, added AssertTrue Markus Kauppila 2011-06-01 18:03:09 -07:00
  • 0a18a5b73a Refactoring runner.c. Added --help/-h command line option. Markus Kauppila 2011-06-01 12:29:19 +03:00
  • 50805a6b0a Fixes to doxygen comments. Changed some printf() to fprints(stderr). Markus Kauppila 2011-05-31 14:40:28 +03:00
  • b96acda96a Moved tests/SDL_test.{c,h} Markus Kauppila 2011-05-30 21:57:04 +03:00
  • ced3b56198 Fixed doxygen warnings Markus Kauppila 2011-05-30 18:58:20 +03:00
  • 9ef336918a Refactoring the code (runner.c). Adding support for executing tests in-proc. Markus Kauppila 2011-05-30 12:55:40 +03:00
  • 79359313d4 Added doxygen-compatible comments Markus Kauppila 2011-05-30 11:53:59 +03:00
  • 40bfbbdbf9 Fixed global suite declaration segfault via external linkage declaration Andreas Schiffler 2011-05-26 20:13:49 -07:00
  • e022f90b60 Little fixes here and there. Markus Kauppila 2011-05-26 19:57:03 +03:00
  • 7a278b2f78 Added TestCaseReference structure. Markus Kauppila 2011-05-26 19:19:46 +03:00
  • 94e6e4cea9 Refactoring the massive main() to smaller functions. Markus Kauppila 2011-05-26 18:38:56 +03:00
  • f3bee868b4 Some fixes for Linux compatibility. Markus Kauppila 2011-05-25 09:45:03 -07:00
  • 53b99958d9 Fixed an error from make target: install Markus Kauppila 2011-05-25 19:02:43 +03:00
  • 09e6c52b0e New automake-based build process. Markus Kauppila 2011-05-25 18:53:48 +03:00
  • f218d77732 Simplifying Markus Kauppila 2011-05-24 10:25:25 +03:00
  • 553838dce5 Tiny changes to runner Markus Kauppila 2011-05-23 17:49:06 +03:00
  • 5af8eaab18 Added assertEquals(Uint32, Uint32) function Markus Kauppila 2011-05-23 13:14:09 +03:00
  • f052579c0b Tiny Makefile.in fixes Markus Kauppila 2011-05-23 10:43:49 +03:00
  • f9c339ef02 Bootstrapping build process using proof-of-concept test runner. Markus Kauppila 2011-05-20 13:50:52 +03:00
  • fa1116223a Clarified SDL_GetWindowSurface() documentation Sam Lantinga 2011-04-22 09:06:29 -07:00
  • 057ae6ca57 Fixed so SDL_quit.h doesn't require SDL_compat.h Sam Lantinga 2011-04-21 09:50:29 -07:00
  • b19ae59651 Make assert dialog work on Cocoa target even if we haven't initialized video. Ryan C. Gordon 2011-04-20 15:14:18 -04:00
  • 61b88719cb Debug win 32 settings was wrongfully set to build the Release 32bit version. Dennis Cappendijk 2011-04-20 11:25:01 +02:00
  • cca381f73f Added test of the assertion reporting system Sam Lantinga 2011-04-19 11:41:45 -07:00
  • 1b953ac714 Removed assertion list terminator (just do it like a normal linked list). Ryan C. Gordon 2011-04-19 14:12:56 -04:00
  • 4b0ddc8d7c Fixed bug 1185 (VS 2010 project files do not support side-by-side 32-bit and 64-bit builds) Sam Lantinga 2011-04-19 09:53:01 -07:00
  • e2dc086a37 Fixed: Windows always fails with SDL_HapticOpenFromJoystick Sam Lantinga 2011-04-19 08:08:50 -07:00
  • 37865236cc Minor missing parameter name Sam Lantinga 2011-04-18 12:20:30 -07:00
  • 6147e8e101 Updated documentation to reflect new license Sam Lantinga 2011-04-15 14:22:08 -07:00
  • 117146456c Removed buggy and LGPL MMX mixing routines. Sam Lantinga 2011-04-08 13:16:33 -07:00
  • 6196aa221e SDL 1.3 is now under the zlib license. Sam Lantinga 2011-04-08 13:03:26 -07:00
  • 52fa6cb6d1 Fixed build error Sam Lantinga 2011-04-06 17:10:14 -07:00
  • 140b2f9128 Fixed bug 1177 (testsdl ios crash) Sam Lantinga 2011-04-05 17:57:08 -07:00
  • ed324740c2 Allow overriding the app delegate on iOS Sam Lantinga 2011-04-05 09:50:25 -07:00
  • f6dce5a2d0 Fixed setting programmatically setting the size of a window on X11 for non-resizable windows. Sam Lantinga 2011-04-05 09:47:34 -07:00
  • 6592f8b975 Fixed bug 1173 (No mouse wheel event on linux/x11) Sam Lantinga 2011-04-05 09:35:56 -07:00
  • f3c17ebac2 Some more iOS orientation rotation fixes. Ryan C. Gordon 2011-04-04 23:38:15 -04:00
  • a46d9b6758 Added SDL_GetRenderer() Sam Lantinga 2011-04-04 09:29:13 -07:00
  • 15688a42c4 iOS: Correctly resize renderbuffers when rotating orientation. Ryan C. Gordon 2011-04-03 18:33:32 -05:00
  • e01e923c9a Move variable declaration position to stick with C standart. Airlangga Cahya Utama 2011-04-03 18:24:27 +07:00
  • ef21cf0516 Fixed compile error. Sam Lantinga 2011-03-29 03:05:26 -07:00
  • 37d807278a Filter out SDL_WINDOWEVENT_SIZE_CHANGED events too Sam Lantinga 2011-03-28 23:44:51 -07:00
  • 6eb37a779e Make sure the resize event gets through Sam Lantinga 2011-03-28 20:56:28 -07:00
  • 93d1e1f0bf Backed out changeset ef550bdb8c1b Sam Lantinga 2011-03-28 20:33:41 -07:00
  • af4cde4abc If a test program window resizes, resize its viewport, too. Ryan C. Gordon 2011-03-28 23:20:54 -04:00
  • fe1c0bd3ae Added orientation rotation for iOS. Ryan C. Gordon 2011-03-28 23:21:22 -04:00
  • c1fbd2f86b Make the iOS test projects target iPhone and iPad instead of just the phone. Ryan C. Gordon 2011-03-28 15:18:01 -04:00
  • dcad176cb1 iOS: Report both landscape and portrait orientation as display modes. Ryan C. Gordon 2011-03-27 01:35:19 -04:00
  • ae58a49f62 NDS update Sam Lantinga 2011-03-26 21:28:17 -07:00
  • 065886413a Temporarily removing sprite and sprite2 at Frank's request Sam Lantinga 2011-03-26 21:27:23 -07:00
  • 791472902d NDS update Sam Lantinga 2011-03-26 21:26:05 -07:00
  • 56c4464487 Added high resolution timing API: SDL_GetPerformanceCounter(), SDL_GetPerformanceFrequency() Sam Lantinga 2011-03-25 14:45:04 -07:00
  • 2b487fd839 Android defines linux, but doesn't have the gettid system call. Sam Lantinga 2011-03-25 13:48:48 -07:00
  • f0c424685b SDL 1.3 requires a 64-bit type for the platform. Sam Lantinga 2011-03-25 13:47:49 -07:00
  • 6a7defcb73 Fixed typos in example code Sam Lantinga 2011-03-25 13:19:48 -07:00
  • 3b7e2a872d Warn people not to run their applications as root! Sam Lantinga 2011-03-25 12:54:21 -07:00
  • 73247db7d8 The API sets the priority for the current thread, not an arbitrary thread. Sam Lantinga 2011-03-25 12:44:06 -07:00
  • b12e397498 Don't be clever, just call it testthread Sam Lantinga 2011-03-25 11:09:57 -07:00
  • f45b146128 Fixed permissions Sam Lantinga 2011-03-25 10:54:13 -07:00
  • eeb5f362e4 Implemented SDL_SetThreadPriority() Sam Lantinga 2011-03-25 10:47:49 -07:00
  • 6bdb6a0c71 Fixed signed/unsigned warning. Sam Lantinga 2011-03-25 10:26:25 -07:00
  • 023e6fa996 Fixed related function documentation Sam Lantinga 2011-03-22 10:48:33 -07:00
  • 9fbcbeff40 The scale mode is per texture, not per texture unit. Sam Lantinga 2011-03-21 17:15:49 -07:00
  • 4c03cb931c Fixed bug: No right mouse button events during FullScreen Mac OS Sam Lantinga 2011-03-21 16:36:17 -07:00
  • 7745ae8aa9 Fixed compiler warning Sam Lantinga 2011-03-21 13:33:53 -07:00
  • 75029512ef Split SDL_BlitScaled into SDL_UpperBlitScaled and SDL_LowerBlitScaled. Fixed issue when calling SDL_BlitScaled() directly with src or dst rectangles that were out of bounds. Ken Rogoway 2011-03-13 22:38:41 -05:00
  • f76bff3a71 Make it possible to run "make dist" from a separate build directory. Sam Lantinga 2011-03-15 23:26:22 -07:00
  • 6af452ca77 Added quotes to the post-build copy commands Sam Lantinga 2011-03-15 22:42:26 -07:00
  • de7e7ed3e2 Fixed dependencies for testcursor Sam Lantinga 2011-03-15 22:41:14 -07:00
  • bf8e277d9a Removed obsolete window positioning code. Sam Lantinga 2011-03-15 21:44:56 -07:00
  • 988ae69958 Fixed accidental line deletion. Sam Lantinga 2011-03-15 21:40:57 -07:00
  • e5df196be2 Do not break application's signal handler installed with SA_SIGINFO Sam Lantinga 2011-03-15 21:37:01 -07:00
  • a99d79de70 Fixed error because intrin.h contains C++ code and can't be included in an extern "C" block. Sam Lantinga 2011-03-15 19:37:38 -07:00
  • 99c49c23e4 There's a function to do that... :) Sam Lantinga 2011-03-14 23:16:05 -07:00
  • 87477491cd SDL will treat the functionality as unsupported if the functions aren't filled in. Sam Lantinga 2011-03-14 23:14:51 -07:00
  • 9671497bdf DirectFB driver update Sam Lantinga 2011-03-14 23:13:33 -07:00
  • 35452d1b41 Delegate should use application: didFinishLaunchingWithOptions: Sam Lantinga 2011-03-14 23:04:52 -07:00
  • 3f21fa761c Fixed typo Sam Lantinga 2011-03-14 10:58:35 -07:00
  • 4213f61f58 Fixed crash if the update rectangles are not pre-clipped. Sam Lantinga 2011-03-13 19:06:43 -07:00
  • 4fd91c5eed Added the SDL_HINT_RENDER_SCALE_QUALITY hint, which defaults to nearest pixel sampling. Sam Lantinga 2011-03-13 11:18:35 -07:00
  • d9770e538e Removed unreferenced variable Sam Lantinga 2011-03-13 11:17:11 -07:00
  • 6d4951e49a If we leave the default SDL_config.h in place, it'll override the one generated by configure when building from a different directory. Argh... Sam Lantinga 2011-03-12 13:28:56 -08:00
  • b710eb9280 Fixed so code will compile with SDL_config_minimal.h Sam Lantinga 2011-03-12 13:21:57 -08:00
  • 4b75bcbd5d Fixed operator precedence Sam Lantinga 2011-03-11 18:38:29 -08:00
  • 61169f9e86 Fixed bug 1165 (SDL_GetMouseState() returns wrong location after switch to/from fullscreen) Sam Lantinga 2011-03-11 18:16:39 -08:00
  • 460a4a9084 Fixed bug 1167 (SDL_WINDOWPOS_CENTERED doesn't work if used right after fullscreen -> windowed switch) Sam Lantinga 2011-03-11 16:54:43 -08:00
  • b28a2c28ee Fixed bug 1166 (No mouse motion events while SDL_SetRelativeMouseMode() is active and holding the mouse button) Sam Lantinga 2011-03-11 16:03:23 -08:00
  • 9ad3d2ebf8 Copy icon.bmp for the testcursor build Sam Lantinga 2011-03-11 14:30:00 -08:00