kc3-lang/SDL/test/testhotplug.c

Branch :


Log

Author Commit Date CI Message
45b774e3 2017-01-01 18:33:28 Updated copyright for 2017
42065e78 2016-01-02 10:10:34 Updated copyright to 2016
11d98995 2015-11-25 21:39:28 Replaced tabs with spaces in test programs.
0e45984f 2015-06-21 17: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().
2c4a6ea0 2015-05-26 06:27:46 Updated the copyright year to 2015
b72938c8 2015-04-20 12:22:44 Windows: Always set the system timer resolution to 1ms by default. An existing hint lets apps that don't need the timer resolution changed avoid this, to save battery, etc, but this fixes several problems in timing, audio callbacks not firing fast enough, etc. Fixes Bugzilla #2944.
fe6c797c 2015-04-10 23:30:31 Fixed an iOS view orientation issue when SDL_GL_CreateContext or SDL_CreateRenderer is called.
f9adb453 2015-02-18 21:31:21 Removed redundant include statements from test programs. The needed header files are already included with SDL.h. Still including them in the test programs is confusing because it somehow suggests they would be needed.
b88ca1b4 2015-02-10 16:28:56 the last parameter of XChangeProperty is the number of elements.. and when the element format is 32.. the element is "long" so we have 5 long elements here. Yes this seems confusing as on mac+linux Long is either 32 or 64bits depending on the architecture, but this is how the X11 protocol is defined. Thus 5 is the correct value for the nelts here. Not 5 or 10 depending on the architecture. More info on the confusion https://bugs.freedesktop.org/show_bug.cgi?id=16802
b48e54aa 2015-01-26 22:00:29 Fixed bug 2802 - [patch] Fix android build compiling in wrong filesystem implementation Jonas Kulla The configure script didn't differentiate between Linux and Android, unconditionally compiling in the unix implementation of SDL_sysfilesystem.c. I'm probably one of the very few people building SDL for android using classic configure + standalone toolchain, so this has gone undetected all along.
70438be2 2014-12-03 10:55:23 WinRT: fixed bug whereby SDL would override an app's default orientation WinRT apps can set a default, preferred orientation via a .appxmanifest file. SDL was overriding this on app startup, and making the app use all possible orientations (landscape and portrait). Thanks to Eric Wing for the heads up on this!
9c398852 2014-11-22 22:20:40 Corrected header file documentation comment.
24c86b55 2014-09-11 19:24:42 [X11] Reconcile logical keyboard state with physical state on FocusIn since the window system doesn't do it for us like other platforms. This prevents sticky keys and missed keys when going in and out of focus, for example Alt would appear to stick if switching away from an SDL app with Alt-Tab and had to be pressed again. CR: Sam
9bc47465 2014-05-18 21:11:30 Changed C++ style comments.
ca11d7c8 2014-05-17 22:02:25 Changed C++ style comments to fix pedantic warnings.
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.
d3f64213 2014-02-07 09:35:33 slight adjustment to the hot plug test to allow it to be run with hap tics disabled
257ab5f5 2014-02-06 07:38:41 Fixed return values on testhotplug mainline.
1191a902 2014-02-06 07:38:04 Fixed copyright date.
a98c477b 2014-02-04 15:40:51 allow safely quitting the hotplug test by pressing button 0 on the joystick
e6dce68f 2014-02-03 23:08:53 testhotplug: Actually log the SDL_Error that occured on failures
8512f1b8 2014-02-03 23:01:19 add logging for the case when haptic is not detected on the joystick as well.
e0e6b2a4 2014-02-03 22:52:18 add simple test showing off hotplugging of joysticks w/ haptic.