kc3-lang/SDL/src/dynapi/SDL_dynapi.c

Branch :


Log

Author Commit Date CI Message
9130f7c3 2021-01-02 10:25:38 Updated copyright for 2021
a8780c6a 2020-01-16 20:49:25 Updated copyright date for 2020
3d100df3 2019-10-30 15:43:49 Readability: remove const-qualifation from function declaration const-qualification of parameters only has an effect in function definitions
ec04110d 2019-10-14 12:41:06 dynapi: Deal with failure cases better, other fixes. Fixes Bugzilla #4803.
ceee7def 2019-07-31 00:05:28 minor build fixes.
5e13087b 2019-01-04 22:01:14 Updated copyright for 2019
cbacb0f1 2018-10-14 23:50:50 add missing include.
e2619f1d 2018-05-17 12:50:46 dynapi: don't let system loader resolve the initializer to the wrong version. Fixes problems launching Firewatch on Linux (which statically links SDL but also dynamically loads a system-wide copy from a plugin shared library) with a newer SDL build.
40b27fd5 2018-02-12 17:00:00 revert the recent typecast assignment changes (see bug #4079) also change the void* typedefs for the two vulkan function pointers added in vulkan_internal.h into generic function pointer typedefs.
90e72bf4 2018-01-30 18:08:34 Fixed ISO C99 compatibility SDL now builds with gcc 7.2 with the following command line options: -Wall -pedantic-errors -Wno-deprecated-declarations -Wno-overlength-strings --std=c99
e3cc5b2c 2018-01-03 10:03:25 Updated copyright for 2018
37ce9f27 2017-08-27 23:13:15 Fixed typedef redefinition errors when including both SDL_vulkan.h and vulkan.h You should always include vulkan/vulkan.h first, then include SDL_vulkan.h
b7c5d151 2017-08-27 18:53:30 SDL_dynapi.c: add missing SDLCALL to macros.
a38f127e 2017-08-27 18:52:43 Swapped conditional arguments for standard SDL readability
8c39d1d0 2017-08-25 12:27:18 OS/2: fixed inverted logic bug (thanks, Ozkan!).
2213077a 2017-08-25 11:31:12 OS/2: proper fix for dynapi (thanks, Ozkan!).
a3890ff6 2017-08-22 15:50:39 dynapi: fill in OS/2 loading code (thanks, Ozkan!). Partially fixes Bugzilla #3765.
22241ed0 2017-07-01 17:50:47 Support for QNX 7.0 (thanks, Elad!). Fixes Bugzilla #3686.
45b774e3 2017-01-01 18:33:28 Updated copyright for 2017
9a8642bd 2016-11-01 10:30:46 Fixed bug 3478 - Patch Haiku to use dlopen instead of load_add_on Kai Sterker SDL2 on Haiku so far uses Haiku-specific APIs for loading dynamic objects as add-ons, instead of using dlopen to load them as libraries. This, for example, leads to SDL_mixer not being able to load its audio backends, when compiled with standard settings. As discussed at https://www.freelists.org/post/haikuports/SDL2-mixer-ogg-music-not-playing-and-other-stuff,2 , the best way to deal with this would be using dlopen instead of load_add_on. The following patch implements this change by dropping the Haiku-specific bits and using dlopen instead.
fa8c83c1 2016-01-03 06:50:50 Remove almost all instances of "volatile" keyword. As Tiffany pointed out in Bugzilla, volatile is not useful for thread safety: https://software.intel.com/en-us/blogs/2007/11/30/volatile-almost-useless-for-multi-threaded-programming/ Some of these volatiles didn't need to be, some were otherwise protected by spinlocks or mutexes, and some got moved over to SDL_atomic_t data, etc. Fixes Bugzilla #3220.
42065e78 2016-01-02 10:10:34 Updated copyright to 2016
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.
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.
2a1e4223 2015-01-05 01:07:36 Dynamic API: don't leak if a library loaded but didn't have the entry point.
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
da6d9a9f 2014-06-04 10:56:56 Added annotations to help code analysis tools CR: Bruce Dawson
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.
58edac3e 2014-02-02 00:53:27 Fixed bug 2374 - Update copyright for 2014... Is it that time already??
d75665c7 2014-01-08 01:07:57 Maybe fix Cygwin.
960458e5 2014-01-08 00:58:03 Patched to compile on Cygwin.
d5c977ad 2014-01-08 00:31:19 Patched to compile on OpenBSD.
090327e7 2013-12-09 16:03:18 Implemented the Dynamic API magic.