kc3-lang/SDL/src/test

Branch :


Log

Author Commit Date CI Message
b29740b8 2014-06-25 17: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()
84369567 2014-06-25 16:16:55 Changed SDL_GetAbsoluteMouseState() to SDL_GetGlobalMouseState(). This matches naming conventions in the main repository, between SDL_GetRelativeMouseState() and SDL_WarpMouseGlobal().
3344db40 2014-06-23 11:06:50 Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings
7e52722d 2014-06-20 11:10:16 Fix compiler warnings in Native Client and Linux builds.
04a0836b 2014-06-05 15:37:33 Turns out visualstudio does not like PRIu64, soo lets just cast it to llu.
1f716769 2014-06-05 15:29:23 Fix warnings, only major one being an SDL_SetError not providing enough arguments.
6671aa2a 2014-06-05 09:49:45 Code analysis annotations found a legitimate bug!
b861efde 2014-06-05 00:03:33 Implemented SDL_GetAbsoluteMouseState(). X11 only for now, but this should be doable on every platform, I think.
da6d9a9f 2014-06-04 10:56:56 Added annotations to help code analysis tools CR: Bruce Dawson
4ef6edda 2014-05-30 01:48:08 Make some printf() calls into SDL_Log() so I can see them on Windows. :)
b7d2c0e9 2014-05-24 01:30:37 Implemented SDL_CaptureMouse().
3dcb451f 2014-04-09 21: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.
d5c109b2 2014-04-05 16:25:30 Fail if we couldn't create the specified renderer
26823b1b 2014-03-23 23:09:22 Added an event SDL_RENDER_DEVICE_RESET, which is triggered on Direct3D 11 when the device has been lost and all textures need to be recreated.
7a36070a 2014-03-11 07: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
e663b4eb 2014-03-01 09:50:52 Fixed bug 2423 - timeBeginPeriod & timeEndPeriod mismatch Coriiander In src\timer\windows\SDL_systimer.c there is an error with regards to timeBeginPeriod and timeEndPeriod. These functions typically get called when no high resolution timer is available, and GetTickCount is not used. According to MSDN (link: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757624(v=vs.85).aspx), for every call to timeBeginPeriod a subsequent call to timeEndPeriod is required. While SDL is currently doing this, it fails to call timeEndPeriod when cleaning up/shutting down SDL. Please note that these functions affect things on a system level. Failing to call timeEndPeriod, disables applications for using WINMM-timers after usage&shutdown of SDL, as effectively they the mechanism is now broken. Solution: Ensure this code gets called when shutting down the timer subsystem: #ifndef USE_GETTICKCOUNT if (!hires_timer_available) { timeSetPeriod(0); } #endif
c52c9105 2014-02-13 11:05:30 Added SDL_DXGIGetOutputInfo which returns the adapter and output indices that are used to create DX10 and DX11 devices and swap chains on a particular display. CR: SamL
9f2509da 2014-02-10 10:02:42 Exposed the font character size and SDLTest_DrawCharacter() to make it easier to do custom debug text layout
58edac3e 2014-02-02 00:53:27 Fixed bug 2374 - Update copyright for 2014... Is it that time already??
68f2fe64 2014-01-29 00:29:14 Fixed spaces in source file license comment.
9e90acdf 2014-01-18 11:47:03 Make sure you clean up the associated renderer when destroying a window.
a442f121 2014-01-15 11:08:55 Test: Add Shift-Enter to switch between FS and desktop FS.
a6a56af9 2014-01-15 10:40:14 Tests: Refactor key modifier checking.
8e0dfef1 2013-12-23 15:55:47 Print events with SDL_Log() so they show up in Visual Studio debug output Added some joystick and controller events to the set that are printed out.
74692835 2013-12-23 12:17:52 Added support for double-clicks, through a new "clicks" field in the mouse button event.
f848adff 2013-11-29 10:06:08 Improve Android pause/resume behavior.
48954ba1 2013-11-18 20:22:36 Accidentally committed debug code
d75498f6 2013-11-18 20:21:45 Textures need to be freed before renderers
48cffe33 2013-11-18 23:45:46 Added missing resource release in test source.
30f7e868 2013-11-15 22:01:58 Added space in the common state structure for render targets
77a0d3fe 2013-11-11 01:59:20 Toggling fullscreen now takes fullscreen flags
804e5799 2013-10-30 16:39:35 Fixed common test usage string (was "hidpi", should be "highdpi").
11d38d69 2013-10-21 00:30:05 Fixed bug 2015 - surface getting leak in SDLTest_ScreenShot function Nitz 2013-08-06 03:53:41 UTC In function SDLTest_ScreenShot() surface pointer getting leak while return
12ca3ce3 2013-10-17 23:02:29 Fixed building using MinGW Our SDL_windows.h needed to be included before anything else so UNICODE is defined.
89131435 2013-10-10 00:49:57 Adds gl_profile_mask to test framework, uses it in testgles
52966427 2013-10-05 19: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.
b6be1435 2013-09-28 14:06:20 Moved D3D_LoadDLL and SDL_Direct3D9GetAdapterIndex to SDL_windowswindow.c at Jorgen's insistence. That file is wrapped in a more appropriate define check so it will work if somebody builds a binary without D3D support. Added a reference to SDL_Direct3D9GetAdapterIndex to SDL_test_common.c so SDL will fail to compile if the new symbol isn't included properly. CR: Jorgen
869a7076 2013-09-20 13:43:00 add in High DPI support (aka Retina) - based on J?rgen's patch with a few bug fixes
e07d7e64 2013-08-29 08:30:21 Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)).
f79fc33a 2013-08-29 08:29:21 Christoph Mallon: Remove pointless if (x) before SDL_free(x)
1e49b1ed 2013-08-21 09:47:10 OCD fixes: Adds a space after /* (glory to regular expressions!)
dad42067 2013-08-12 11: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.
1ad936eb 2013-08-11 19: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.