kc3-lang/SDL/src

Branch :


Log

Author Commit Date CI Message
d2723875 2020-10-14 23:01:06 os2: integrate the port into main tree.
5807cb3d 2020-10-14 23:01:06 os2: remove dependency to gradd.h from IBM's ddk which is non-free: Add a minimal my_gradd.h containing structures and constants only used by SDL_os2vman.c -- based on public knowledge from around the internet including pages from http://www.osfree.org and http://www.edm2.com .
b6965a17 2020-10-14 23:01:05 os2: Andrey Vasilkin agreed that his code to be put under Zlib license: add SDL license headers to geniconv sources.
1d9cf23e 2020-10-14 23:01:05 os2: updated copyright dates for 2020. header guard fixes.
a3d7913c 2020-10-14 23:01:05 SDL_os2audio.c (OS2_OpenDevice): change spec->samples assignment: Original code assigned MCIMixSetup.ulSamplesPerSec value to it, but it is just the freq... We now change spec->samples only either if it is 0 or we changed the frequency, by picking a default of ~46 ms at desired frequency (code taken from SDL_audio.c:prepare_audiospec()). With this, the crashes I have been experiencing are gone.
e112b776 2020-10-14 23:01:05 SDL_os2audio.c (OS2_OpenDevice): change {0} initializers to SDL_zero()
72594e25 2020-10-14 23:01:04 SDL_os2audio.c (OS2_OpenDevice): remove assignment to wrong spec member Correct assignment to 'format' member is done below, already.
fe2cc8d8 2020-10-14 23:01:04 OS2_VideoQuit(): avoid double free()ing of displays. Our caller SDL_VideoQuit() already frees display_modes, driverdata, etc. Noticed in bitwiseworks' version at https://github.com/bitwiseworks/SDL2-os2
fba32ee2 2020-10-14 23:01:04 OS2_VideoInit: zero the stSDLDisplay and stSDLDisplayMode variables Fixes testdisplayinfo.exe crashing in SDL2-2.0.13. (How it did work before?..)
54ced668 2020-10-14 23:01:04 port from 2.0.12 to 2.0.13 / current SDL-hg repository. - video: VideoBootStrap->available() is gone. - thread: all important SDL_CreateThread internal data now put into struct SDL_Thread: changes to SDL_SYS_CreateThread().
5da796fe 2020-10-14 23:01:03 os/2: port from SDL2-2.0.5 to SDL2-2.0.12 - events / video: SDL_SetDoubleClickTime() removed -- functionality moved to SDL_mouse.c:SDL_MouseDoubleClickTimeChanged(). - video: struct SDL_VideoDevice-> CreateWindow and CreateWindowFrom members renamed to CreateSDLWindow and CreateSDLWindowFrom
5d89217f 2020-10-14 23:01:03 os2/SDL_sysfilesystem.c: fix crash if one of the parameters is NULL Has been happening with testfilesystem from 2.0.6 and newer because of commit 572a721879ef. Also set error strings in certain error conditions. Also applied coding style / whitespace fixes, while I was there.
222f0268 2020-10-14 23:01:03 os/2: port from SDL2-2.0.4 to SDL2-2.0.5: changes to SDL_os2audio.c, SDL_os2video.c, os2/SDL_systhread.c in order to accomodate SDL2-2.0.5 changes. - audio: WaitDone() is gone, CloseDevice() interface changes. - events / video: DropFile() changes: SDL_DROPBEGIN and SDL_DROPCOMPLETE events, window IDs for drops. - thread: struct SDL_Thread->stacksize
5f3f67b1 2020-10-14 23:01:03 os2/SDL_sysfilesystem.c: use OS/2 api DosCreateDir() instead of mkdir(). mkdir() from watcom and emx differ - the latter being unix-ish, so this change avoids ifdefs.
1b99d805 2020-10-14 23:01:02 os2: updates from Andrey Vasilkin's 2020-09-07 sources.
aa790837 2020-10-14 23:01:02 os2: several warning fixes. mostly those "W007: '&array' may not produce intended result" warnings from Watcom, visible only in C++ mode. one or two others here & there.
f9af19f5 2020-10-14 23:01:02 os2: updates to SDL_systhread.c: removed lots of garbage. added SDL_PASSED_BEGINTHREAD_ENDTHREAD guard, because the code requires it.
c2188619 2020-10-14 23:01:01 os2: added a 2-byte padding to os2 SDL_PrivateAudioData
d1323eb0 2020-10-14 23:01:01 os2: better error reporting from loadso
861ac81b 2020-10-14 23:01:01 os2: changes to debug macros
110a0f7b 2020-10-14 23:01:01 os2: update include paths. add missing libc includes to geniconv.
74cfb81d 2020-10-14 23:01:00 os2: add port files for SDL2-2.0.4 from Andrey Vasilkin only geniconv/iconv.h (was from LGPL libiconv) is replaced with a generic minimal iconv.h based on public knowledge.
93e14497 2020-10-14 15:50:04 SDL_waylanddatamanager.c (mime_data_list_add): constify the buffer param Fixes -Wdiscarded-qualifiers warnings from Wayland_data_source_add_data()
b9cbea35 2020-10-13 21:08:20 video: Refresh Windows display list on WM_DISPLAYCHANGE - Displays may have been added, removed or changed and all cached monitor handles are invalidated as a result. - Display events are handled in three steps: 1. Mark all currently know displays as invalid 2. Enumerate all displays, adding new ones and marking known displays as valid 3. Remove all displays still invalid after enumeration - Display connect/disconnect events are sent when displays are added or removed after initial setup
a558409b 2020-10-13 21:08:18 Only include CoreHaptics if we're building with rumble support
75d5be97 2020-10-13 21:08:17 Fixed compiling with an older iOS SDK
6b62494e 2020-10-13 21:08:15 Added support for controller battery status on iOS 14
1b31e9f6 2020-10-13 21:08:13 Added support for game controller rumble on iOS 14
2d7b33cb 2020-10-13 21:08:11 Added support for the controller home button on iOS 14
59022829 2020-10-11 17:32:32 riscos: Implement SDL_OpenURL()
34a82fca 2020-10-10 20:50:02 SDL_cpuinfo.c (OS2): undefine HAVE_SYSCTLBYNAME
b546db2f 2020-10-09 12:58:28 Only watch for display connect/disconnect events while the video subsystem is initialized
7991cc38 2020-10-09 21:40:28 dynapi: move SDL_SIMDRealloc down below, after SDL_GetPreferredLocales. https://hg.libsdl.org/SDL/rev/884cb29cb80e wrongly added it after its family i.e. SDL_SIMDAlloc, not at the end of the list.
b79832ba 2020-10-08 21:11:09 cocoa: Cut and paste from HTML strikes again!
19aaa294 2020-10-09 04:00:00 Fix https://bugzilla.libsdl.org/show_bug.cgi?id=5306 (Also see: https://bugzilla.libsdl.org/show_bug.cgi?id=4822) Building the current tree against 10.8 SDK, clang emits the following warning: src/video/cocoa/SDL_cocoawindow.m:1846:27: warning: instance method '-isOperatingSystemAtLeastVersion:' not found (return type defaults to 'id') [-Wobjc-method-access] ![processInfo isOperatingSystemAtLeastVersion:version]) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:20:12: note: receiver is instance of class declared here @interface NSProcessInfo : NSObject { ^ 1 warning generated. isOperatingSystemAtLeastVersion is an 10.10 thing.
69fbd60d 2020-10-09 04:00:00 Fix https://bugzilla.libsdl.org/show_bug.cgi?id=4877#c2 loadNibNamed:owner:topLevelObjects is available on 10.8 and newer. There is an issue report here about an app failing to function on 10.7 and earlier: https://discourse.libsdl.org/t/28179
bd14f267 2020-10-08 16:58:34 Removed unused variable
d86a7465 2020-10-09 02:55:00 SDL_video.c: fix whitespace
76980e30 2020-10-08 16:42:20 Added events for dynamically connecting and disconnecting displays, with an iOS implementation
cd703b56 2020-10-08 16:41:48 Fixed whitespace
54bb9aac 2020-10-08 11:51:02 k_rem_pio2.c: fix typo in second memset(): iq, not q. fixes bug #5309.
061256a3 2020-10-07 14:45:24 metal: Clear the framebuffer if presenting without any other operations.
003a1698 2020-10-06 11:07:50 wav: Make sure the data size is a multiple of blockalign, not an exact match. I _think_ this is a right thing to do; it fixes a .wav file I have here that has blockalign==2 when channels==2 and bitspersample==16, which otherwise would fail.
46274269 2020-10-06 00:42:17 url: WinRT actually works now (and has been tested, hooray!).
fc05a696 2020-10-05 18:08:58 url: Attempt #23235 at WinRT support...
02addf13 2020-10-05 18:01:47 url: Another attempt at WinRT implementation.
1f4b5d54 2020-10-06 00:20:20 windows/SDL_syslocale.c: make it build against older SDKs.
7bec9df1 2020-10-05 16:10:10 url: Add to Xcode project files, iOS/mac fixes.
57e3003d 2020-10-05 15:47:47 url: Attempt at WinRT support.
566479c8 2020-10-05 15:37:37 url: ShellExecuteW returns an HINSTANCE, so deal with that more correctly.
ee56090d 2020-10-05 15:03:44 url: Cleanups and compiler warning fixes.
cc158f29 2020-10-05 14:36:37 url: removed "extern" from function declaration.
a3802cc5 2020-10-05 14:30:33 url: Patched to compile on C89 compilers.
0099e38a 2020-10-05 14:21:03 url: More win32 fixes.
1f4fecc5 2020-10-05 14:07:32 url: Patched to compile on Windows.
777d0f19 2020-10-05 14:06:25 url: patched to compile on macOS.
d068d05a 2020-10-05 14:01:08 url: Make sure Haiku's C++ implementation is flagged as 'extern "C"'
bf9fcb53 2020-10-05 14:00:08 url: The function is "SDL_Unsupported" not "SDL_Unimplemented"
2d82cf78 2020-10-05 13:59:03 url: put the Android bits in core/android
efd665e2 2020-10-05 13:56:45 Backed out changeset a43cb4e54949 Trying this a different way.
913aa610 2020-10-05 13:53:15 url: Include SDL_misc.h to get public function declaration.
5f688122 2020-10-05 13:52:52 url: patched to compile on Android.
84f1b950 2020-10-05 13:39:39 url: fixed wrong include.
77c9d73b 2020-10-05 11:30:33 Removed SDL_AndroidOpenURL, added SDL_OpenURL. Still needs to be wired into Xcode and Visual Studio projects.
cd6670bf 2020-10-02 10:48:27 SDL_Surface refcount: fix memory leak when blitting between stack'ed surfaces (see bug 5226)
883509fc 2020-10-01 17:01:00 ran gendynapi.pl after new (android-only) api additions.
dd55bfe8 2020-10-01 14:41:09 Android: add helper function to open an URL/URI (see bug 2783)
45c644cc 2020-09-28 21:19:45 Added support for the MOGA XP5-X Plus
78c274cb 2020-09-26 19:18:09 kmsdrm: merge patches from Ozkan Sezer for removing c-99'isms and raising libgbm version reqeriments.
955f3184 2020-09-25 10:14:42 Fixed bug 5239 - Play audio on Android while backgrounded (Thanks Superfury) Add hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO not to pause audio when the app goes to background. (It requires SDL_ANDROID_BLOCK_ON_PAUSE as "Non blocking")
7ef188a1 2020-09-19 14:01:57 jack: Fixed memory leak on device close.
9c342e76 2020-09-13 21:41:10 kmsdrm: merge heap buffer overflow and cursor creation patches from meyraud705.
0cb9bfa5 2020-09-12 15:58:47 kmsdrm: less excessive error checkhing
5bed30dd 2020-09-12 04:56:55 kmsdrm: also do pending modeseting in SwapWindowDoubleBuffered().
9e9227ad 2020-09-12 04:52:56 kmsdrm: reimplement modesetting for fullscreen window scaling and AR-correction.
4575c694 2020-09-12 02:36:02 kmsdrm: delete ununsed variable.
01b0cf1c 2020-09-12 00:47:00 Backed out changeset 4a45d1a30d25 kmsdrm: Fake KMSDRM_SetDisplayMode() is needed for some programs after all.
7b676548 2020-09-12 00:16:08 kmsdrm: don't fool SDL into thinking that changing the physical videomode is done.
a6d182d3 2020-09-11 23:47:26 kmsdrm: no need to reconnect/reactivate things in SwapWindowDoubleBuffered().
47e2d030 2020-09-10 23:26:02 kmsdrm: greatly improve comments in SwapBuffersFenced() for future reference.
3c6004fe 2020-09-10 15:07:23 kmsdrm: Choose how to swap buffers based on EGL extension availability.
c7e761f8 2020-09-10 15:05:55 kmsdrm: Patched to compile if EGL headers lack EGL_ANDROID_native_fence_sync.
224aa45b 2020-09-10 15:04:35 kmsdrm: Implement GL_DefaultProfileConfig for Raspberry Pi compatibility. If we think this might be a Raspberry Pi device, default to ES2. Otherwise, accept SDL's higher-level defaults.
092162ed 2020-09-10 15:02:51 video: Set up default before calling GL_DefaultProfileConfig(). This way, the implementation can opt to do nothing to accept SDL's defaults.
e758dd53 2020-09-10 15:02:00 egl: Make SDL_EGL_HasExtension() available outside of SDL_egl.c.
055cad49 2020-09-10 02:15:53 kmsdrm: no need to re-connect/reactivate things in SwapWindow() anymore because we use a dumb buffer on KMS buffers destruction now.
351219bf 2020-09-09 03:18:26 kmsdrm: On VideoQuit(), only destroy dumb buffer if it exists.
8709f67e 2020-09-08 08:42:30 Fixed bug 5215 - Fixing filenames passed to dlopen for OpenBSD Brad Smith Attached is a patch to use the proper filenames when trying to dlopen the respective shared libraries on OpenBSD.
244d0ad8 2020-09-08 15:30:45 kmsdrm: Tell SDL that mouse has entered the window via artificial event. Fixes sticky mouse in Scummvm.
9a769da0 2020-09-07 20:10:50 X11: Remove our X11 error callback in X11_DeleteDevice() If we don't remove it, we will infinitely recurse if X11_CreateDevice() is called again and orig_x11_errhandler becomes X11_SafetyNetErrHandler().
550e1533 2020-09-08 02:42:32 kmsdrm: No need to test for display driverdata when freeing a plane.
6e03fab9 2020-09-07 23:15:33 kmsdrm: add temporary RPI4_COMPAT define to try RPI4+current Rasbian compatibility.
0f807fd6 2020-09-07 22:54:15 kmsdrm: use a black dumb buffer for keeping the PRIMARY PLANE occupied when we destroy the KMS buffers, instead of using the TTY buffer, to avoid flickering.
4d1c2a18 2020-09-07 19:00:21 Fix false compiler warning: initialize the variable 'memdiff'
ebc12a2f 2020-09-07 18:50:30 SDL_Surface refcount: destination surface keep track of surfaces that are mapped to it and automatically invalidate them when it is freed - refcount is kept so that an external application can still create a reference to SDL_Surface. - lock_data was un-used and is now renamed and used as a list keep track of the blitmap
cce6c605 2020-09-07 01:33:04 kmsdrm: fix errors when trying to free up videomode driverdata pointers on quit.
9501b1c6 2020-09-07 00:18:13 kmsdrm: fix scaling for SDL_WINDOW_FULLSCREEN windows.
daa752b1 2020-09-06 23:19:54 kmsdrm: fix first frame display: no need to wait for SwapWindow() for EGL surface creation.
68ac9349 2020-09-06 12:48:39 kmsdrm: more coherent returns for SwapWindow.
d3d9d432 2020-09-06 12:17:27 kmsdrm: Remove debug printfs in SwapWindow.