kc3-lang/SDL

Branch :


Log

Author Commit Date CI Message
5aba0827 2020-12-30 11:38:51 Build SDL for Mac hardware when targeting iOS
590a5469 2020-12-30 16:12:14 Fixed bug 5424 - Renderer doesn't use entirely the viewport when scaling is used Viewport/Clip dimensions are calculated usingg SDL_ceil whereas all renders use SDL_floor
a88071de 2020-12-30 15:55:00 configure.ac: directfb dynamic loading support updates: put back sed on find_lib result, remove debug messages, fix directfb_lib report to user.
f24cc903 2020-12-30 15:53:56 remove CFLAGS save/restores from dbus.h and ibus.h header checks. CPPFLAGS is what AC_CHECK_HEADER needs.
88eaf356 2020-12-30 15:53:20 minor update to test/acinclude.m4 (pkg.m4)
92edee23 2020-12-30 01:28:02 SDL_config_android.h: update SIZEOF_VOIDP define to respect __LP64__
7c105f12 2020-12-30 01:21:10 updates to SDL_config_os2.h
1cdc1d48 2020-12-30 01:00:24 SDL_config.h.cmake, SDL_config.h.in: update for SIZEOF_VOIDP define
9fc139df 2020-12-30 01:00:24 SDL_config_windows.h: add missing HAVE_STRTOULL along side HAVE_STRTOLL
b76b81b0 2020-12-30 01:00:24 SDL_config.h.cmake, SDL_config.h.in: add os/2 driver defines in case autofoo or cmake is used for it some day..
8a32ee24 2020-12-30 01:00:24 removed MSVC strtok_s use from SDL_strtokr(). no other ??_s are used elsewhere in SDL_stdinc. besides, C11 has a strtok_s with a different signature.
0684572c 2020-12-29 12:13:10 Added a hint to control whether the player LEDs should be lit to indicate which player is associated with a PS5 controller.
6116ccf0 2020-12-29 21:20:28 fix configure warnings when checking dbus/dbus.h and ibus-1.0/ibus.h .. by adding DBUS_CFLAGS and IBUS_CFLAGS to CPPFLAGS: configure: WARNING: dbus/dbus.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: dbus/dbus.h: proceeding with the compiler's result configure: WARNING: ibus-1.0/ibus.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: ibus-1.0/ibus.h: proceeding with the compiler's result
f1758241 2020-12-29 20:51:10 config.sub, config.guess: go back to backtick `..` substitutions. see e.g. https://lists.gnu.org/archive/html/config-patches/2020-12/msg00000.html
80cf8a8b 2020-12-29 17:29:31 SDL_BlitScaled: also prevent crash if dest width or height is negative
f08b9a5b 2020-12-29 16:02:52 SDL_BlitScaled: prevent crash if dest width or height is 0
427c96ec 2020-12-29 14:24:38 [KMS/DRM] Rework some functions.
67f0b9b8 2020-12-28 20:58:47 Fixed bug 5418 - Add system features detection for Elbrus (E2K) Ivan Kuzmenko MCST Elbrus 2000 (E2K, https://en.wikipedia.org/wiki/Elbrus_2000) is a russian processor architecture based on VLIW/EPIC instruction set (like Intel Itanium (IA-64) architecture). Architecture has half native / half software support of most Intel/AMD SIMD (e.g. MMX/SSE/SSE2/SSE3/SSSE3/SSE4.1/SSE4.2/AES/AVX/AVX2 & 3DNow!/SSE4a/XOP/FMA4). It also has built-in x86/x86_64 <-> e2k binary translators (RTC, http://www.mcst.ru/rtc and Lintel, http://www.mcst.ru/lintel) that can run code for x86/x86_64 architecture (Transmeta did something similiar with their Crusoe series) with SIMD extensions support. Attached patch allows SDL2 to detect extensions supported by E2K like MMX, 3dNOW!, AVX etc. (test/testplatform log: https://termbin.com/7qs3).
8eae956c 2020-12-29 00:00:56 regenerated configure
3cb0e840 2020-12-28 11:47:53 Fixed bug 5422 - KMSDRM_LEGACY: Add OpenBSD support wahil1976 This patch adds support for OpenBSD to KMSDRM_LEGACY. Note that the patch won't be ported to the atomic KMSDRM backend because OpenBSD does not support atomic KMS properly yet.
8fc0baad 2020-12-28 11:43:11 Add SDL_cond implementation using Windows Condition Variables Is automatically used when the SRW SDL_mutex implementation is active. Otherwise falls back to the generic implementation. v2: - Rebase onto master fa3ea1051a4b
2443e51e 2020-12-28 11:42:49 Add optional suffix `_generic` to generic SDL_cond impl Allows for runtime selectable implementation
7539ac80 2020-12-28 18:22:07 [KMS/DRM] Restore hacky code to point to TTY buffer on surface destruction b/c I lack alternatives.
5dabc4d7 2020-12-28 18:17:25 Revert changeset 14590 544ac819e8b3 , does not fully fix
9efdafd4 2020-12-28 18:07:03 SDL_RenderCopy: scale before doing intersection this prevents drawing 1 pixel outside the screen, in letterbox mode
86b81abe 2020-12-28 16:19:19 [KMS/DRM_LEGACY] Prevent mouse cursor from staying onscreen after window destruction. Patch by Ozkan Sezer.
0feaf7d1 2020-12-28 14:37:58 [KMS/DRM][Vulkan] Correct non-existing property. Remove hacky surface destruction code (TTY buffer isn't there after a Vulkan window is created).
7186584b 2020-12-28 10:41:37 fix indentation (bug 5313)
9e22f62e 2020-12-28 11:50:02 arm64 implementations of SDL_Swap16/32 (bug #5419.) patch from David Carlier.
2355dea4 2020-12-28 08:00:50 revert 'arm64 implementations of SDL_Swap16/32' for now (bug #5419)
2f99bc07 2020-12-28 07:20:20 arm64 implementations of SDL_Swap16/32 (bug #5419.) patch from David Carlier.
c2735c0b 2020-12-27 23:53:28 Better scaling fallbacks for the SW renderer (bug 5313)
a6beb2d2 2020-12-28 01:10:02 SDL_PrivateLowerBlitScaled: remove unused local var 'a'
30df2e4e 2020-12-27 23:00:11 Scaling fallbacks for the SW renderer (bug 5313)
040bd7a9 2020-12-28 00:55:28 Fix udev not detecting ID_INPUT_KEY devices when udev is not running https://bugzilla.libsdl.org/show_bug.cgi?id=5308 The udev code labels devices that are found by this code with ID_INPUT_KEY which in turn gets used by SDL to label the devices as SDL_UDEV_DEVICE_KEYBOARD. This was missing for the code path when udev is not running and as such devices such as the power button of a phone was not detected as keyboard input and no devices were emitted.
f9b5f6cc 2020-12-27 20:28:24 Forward scale mode to SW renderer (Bug 5313)
471d3c36 2020-12-27 14:00:30 fix bug #5415 -- fatal error: 'Cocoa/Cocoa.h' file not found in iOS build
a6c6e5f5 2020-12-27 14:00:02 configure.ac: fix POSIX conformance issues (bug #4261.) Patch from Matt Whitlock: There are actually two distinct classes of problems at play here. On the one hand, libsdl2's configure.ac has some POSIX conformance issues - namely, the use of 'echo -n' and the passage of arguments containing embedded backslashes to 'echo', neither of which is defined by POSIX. The attached patch takes care of these issues.
9f6fddb4 2020-12-27 05:20:10 CMake: don't check for --no-undefined linker flag for OpenBSD (bug #5174) it now matches autotools.
46d31d57 2020-12-27 00:43:06 [KMS/DRM][Vulkan] Fix segfault when changing fullscren mode and permanent cursor when changing between Vulkan and GL renderers in vkQuake3. Tidy up window destruction code.
e7c47941 2020-12-25 17:10:02 Disable WaitOnAddress SDL_sem implementation on Windows Phone Apps that use the required APIs do not pass certification.
5b64fdc9 2020-12-25 10:41:20 thread/windows: Remove synchronization.lib from WinPhone81 dependencies synch APIs are implicitly available on this platform.
d6afc1c6 2020-12-25 04:00:20 thread/windows: Statically link synchronization APIs on WINRT GetModuleHandleW is not available on those platforms --- .../WinPhone81_VS2013/SDL-WinPhone81.vcxproj | 8 ++++---- VisualC-WinRT/WinRT81_VS2013/SDL-WinRT81.vcxproj | 12 ++++++------ src/thread/windows/SDL_sysmutex.c | 12 ++++++++++++ src/thread/windows/SDL_syssem.c | 11 +++++++++++ 4 files changed, 33 insertions(+), 10 deletions(-)
ff913a22 2020-12-23 16:16:55 Fixed compile warnings on platforms without hidapi support
047b20e3 2020-12-23 16:11:16 Fixed compile warnings on platforms without hidapi support
9838611a 2020-12-23 15:52:12 Fixed compiler crash building for iOS with clang 11.0.3
2b760c36 2020-12-24 01:55:00 attempt to fix emscripten-buildbot: s/wasm/wasm32/
b9eb43a5 2020-12-24 01:32:10 build-scripts: update install-sh and mkinstalldirs from automake-1.16.3
3c4103b8 2020-12-24 01:20:00 fix config.guess permissions
fd3cb20b 2020-12-23 14:09:01 Fixed bug 5411 - config.guess and config.sub outdated Ozkan Sezer Our config.guess and config.sub are rather outdated. Attached new versions of them here. However, build-scripts/config.sub.patch do not apply to these new versions: I don't know if and where that patch is still needed.
5ed3d21f 2020-12-24 00:55:30 testsem.c: fix -Wmissing-braces warnings.
4aebad77 2020-12-23 22:50:50 SDL_SoftStretchLowerLinear: try to make xcode buildbot compile (Bug 5313)
93ccdee8 2020-12-23 13:47:49 Fixed bug 5404 - stdlib: Added SDL_round, SDL_roundf, SDL_lround and SDL_lroundf Cameron Cawley stdlib: Added SDL_round, SDL_roundf, SDL_lround and SDL_lroundf The default implementation is based on the one used in the Windows RT video driver.
d0b8295c 2020-12-23 13:36:46 Add SDL_sem implementation using Atomics and WaitOnAddress API. Keep Semaphore Kernel Object impl for Windows 7 and older - choose at runtime v2: - Fix mixed int/LONG types - Reorder definitions - Add missing include v3: - Use `GetModuleHandle()` to load the API Set
2b040ceb 2020-12-23 13:36:23 Atomic test: Fix use after free SDL_SemPost() was called by the FIFO threads after the semaphore was freed because the main thread actually synchronized on the `writerRunning`/`readersRunning` count and not the semaphores itself.
6267b951 2020-12-23 13:36:02 Semaphore test: Add overhead tests.
95a6d4e8 2020-12-23 13:35:35 Semaphore test: Put test into separate function.
548cb908 2020-12-23 13:33:36 Add SDL_mutex implementation using Windows Slim Reader/Writer Locks Keep Critical Section impl for Windows XP/Vista - choose at runtime v2: - Add SRW definitions as suggested by Ozkan Sezer Allows building against older platform headers. - Rename "hidden" function parameter `mutex_` to `_mutex` v3: - Use GetModuleHandle instead of LoadLibrary - Fix typo in comment
090fffac 2020-12-24 00:29:40 test/Makefile.os2: add warning switches to CFLAGS.
239c8f1f 2020-12-24 00:28:50 testvulkan.c: fix -Wmissing-braces warnings. also fix whitespace.
20ca1192 2020-12-24 00:26:32 testgesture.c: comment out unused drawLine()
b064028c 2020-12-24 00:25:40 testatomic.c: fix warnings due to SDL_AtomicDecRef() use
8e20376f 2020-12-23 22:09:01 SDL_SoftStretchLinear: use SDL_INLINE (bug 5313)
7b8d5b7d 2020-12-23 22:02:28 SDL_SoftStretchLinear: fix implicit conversion (bug 5313)
15fea339 2020-12-23 23:47:10 ran gendynapi.pl after addition of SDL_SoftStretchLinear
ae8a270f 2020-12-23 21:37:40 Add SDL_SoftStretchLowerLinear() (Bug 5313)
050ee9a4 2020-12-23 21:32:01 Split SDL_SoftStretch in Lower and Uppler functions (Bug 5313)
09fcc9ed 2020-12-23 16:45:23 [KMS/DRM][Vulkan] Fix small warning, thanks to Ozkan Sezer for spotting it.
a6dc838d 2020-12-23 16:22:46 [KMS/DRM][Vulkan] Only try to create a display mode when no suitable mode is found.
0ed4d929 2020-12-23 04:53:23 Fixed setting player LEDs for PS5 controllers over Bluetooth
6341bb35 2020-12-22 21:51:59 Fixed controller disconnect detection for PS4 and PS5 controllers over Bluetooth
a30adae5 2020-12-22 20:58:32 Make it possible to turn on PS4 rumble effects at runtime using the hint
390b2cf0 2020-12-22 20:53:27 Enable PS5 enhanced functionality for testgamecontroller
c93947a2 2020-12-22 20:12:03 Make it possible to turn on PS5 rumble effects at runtime using the hint
058a0ab4 2020-12-22 14:38:32 Set the pad lights on the PS5 controller corresponding to the player index Also allow setting the player index from testgamecontroller using the number keys
6a57072e 2020-12-22 14:10:08 Only add the touchpad and sensors to the PS5 controller if effects are enabled
4ec776c3 2020-12-22 13:29:23 Don't switch the PS5 controller out of DirectInput mode by default
b4b674da 2020-12-22 22:10:50 CMakeLists.txt: sync DYLIB_CURRENT_VERSION to Xcode project
350f1b0d 2020-12-22 10:36:15 Updated SDL to version 2.0.15 for development
13244de5 2020-12-22 17:17:30 [Buildsystem] Only build KMSDRM support if EGL+OpenGL is detected by CMake.
a19c008a 2020-12-22 17:10:02 use GetModuleHandleW() to retrieve kernel32.dll handle (bug #5390.) SDL_systhread.c and SDL_syslocale.c used to call LoadLibrary() without calling FreeLibrary() later. GetModuleHandleW() should always succeed because GetModuleHandleW() itself is imported from kernel32.dll and we don't need to bother releasing it.
9f655fe5 2020-12-22 17:03:20 regenerated configure
5ad56457 2020-12-22 17:01:50 acinclude/pkg.m4: update from mainstream pkgconfig tree.
86191351 2020-12-22 17:00:28 acinclude & sdl2.m4 updates: - acinclude/alsa.m4, esd.m4: Ran through autoupdate to replace several AC_TRY_[COMPILE|LINK|RUN] with corresponding AC_???_IFELSE , so that autoconf-2.70 doesn't warn. - sdl2.m4: Ditto. - test/acinclude.m4 (sdl2): Ditto.
f117db51 2020-12-22 17:00:11 sdl2.m4 updates: - remove HP/UX 9 (%@#!) support - change fopen() mode from "a" to "w" in test code. - bump its serial num to 2. - test/acinclude.m4: same sdl2.m4 updates.
087de97b 2020-12-22 17:00:00 acinclude/esd.m4: update from mainstream esound tree, - revise for better compatibility with new autoconf, - remove HP/UX 9 (%@#!) support from it, - replace system("touch conf.esdtest") with fopen/fclose in the test code (see, e.g. glib-2.0.m4 -- sdl.m4 does the same.)
15abab9c 2020-12-22 16:25:00 regenerated configure
2fc987c2 2020-12-22 14:15:33 [Buildsystem] Add guards for not building with KMSDRM support if EGL is not available.
05dcec0a 2020-12-21 14:43:38 Added tag release-2.0.14 for changeset 97dfa8874ea0
4cd98160 2020-12-21 09:44:25 Fixed whitespace
537f824f 2020-12-21 20:40:10 test/Makefile.os2: wlib must run case-sensitively.
8766d604 2020-12-21 17:29:24 [Video/KMSDRM] Fix potetial access to freed structure and complete errorchecks.
b06ef3a1 2020-12-21 01:53:11 [Video/KMSDRM] Manually re-show the cursor on window creation, if needed.
4198f0e5 2020-12-21 01:20:30 fix uninitialized warnings in KMSDRM_CreateCursor()
a8dbcab1 2020-12-20 21:48:05 [Video/KMSDRM] Don't copy the cursor bitmap to the cursor GBM BO until we're showing it.
67e9132d 2020-12-20 12:22:28 Fixed circular dependency problem when building in the test directory
ee180efd 2020-12-20 12:08:49 Fixed bug 5406 - Upstreaming DragonFlyBSD changes from DeltaPorts (patch from David Carlier)
22275b35 2020-12-20 21:55:02 cmake: fix building for mac (bug #5407.)
2756b0f3 2020-12-20 14:29:58 [Video/KMSDRM] Init and deinit mouse stuff at the same time that GBM stuff.
e91153f2 2020-12-20 03:03:21 fix non-ARM h/w on FreeBSD builds (bug #5405, patch from David Carlier.)