kc3-lang/SDL

Branch :


Log

Author Commit Date CI Message
f03215bc 2022-03-07 15:54:24 fix linking with SDL_PULSEAUDIO_SHARED=OFF and SDL_X11_SHARED=OFF
b2463a91 2022-03-06 15:02:53 events: Add logging support for several missing event types
bdafe1e0 2022-03-04 11:01:55 Fixed whitespace
2e801b1a 2022-03-04 10:49:12 Split long text input into multiple events if needed (thanks @zreedy!)
232c3556 2022-03-04 17:30:05 Sync wiki -> header
ae73ea9c 2022-03-04 09:27:46 Clarified documentation for the trigger rumble API Fixes https://github.com/libsdl-org/SDL/issues/5372
13756b5c 2022-03-04 10:47:25 Add X1 and X2 button support to mouse test
2f7b885d 2022-02-28 16:30:34 Fix 'potentially uninitialized local pointer variable' error in UWP builds
b7f8117d 2022-02-28 15:47:59 Build the standalone MSVC projects with GitHub Actions
550b8377 2022-02-28 14:50:37 Combine the MSVC and UWP workflows
98353533 2022-02-23 18:54:31 riscos: Report keyboard repeat events
af40cb6f 2022-02-23 15:49:10 Added support for the Razer Huntsman Analog keyboard in controller mode
669a7f85 2022-02-23 16:18:05 Sync wiki -> header
4a43321c 2022-02-23 18:10:02 cmake: Fix bug #5361. src/joystick/*.c wasn't unconditionally added to source list even though joystick is an SDL subsystem. Also removed the `SDL_JOYSTICK AND NOT APPLE` condition from src/joystick/dummy/*.c source addition: the OSX unresolved symbols issue, if it really is there, should be fixed separately. Fixes https://github.com/libsdl-org/SDL/issues/5361, i.e. build failures when SDL_JOYSTICK and SDL_HAPTIC are disabled.
94d43186 2022-02-22 00:41:15 GameCubeAdapter: Add suppport for all rumble modes This adds support for all 3 of the gamecube controller's rumble modes Rumble: 1 Stop: 0 StopHard: 2 This is useful for applications that need the full range of support This also adds a hint to control rumble behavior, defaults 0 to maintain compatibility
b946e31e 2022-02-23 09:10:46 video: Allow unaccelerated SDL_HINT_FRAMEBUFFER_ACCELERATION renderers. If the app requested a specific renderer, even if it's not the optimal path, let them have it, because they might want to render with a specific GPU API on top of the framebuffer pixels. This fixes DosBox-X crashing on startup, which forces the hint to "opengl".
60ddb74c 2022-02-02 12:19:37 video: rework how we prepare a texture framebuffer. Now we see if we can create an SDL_Renderer, and if that renderer reports itself as "accelerated," and added some initial heuristics to the OpenGL renderer to make better decisions about what qualifies as "accelerated." This adds some FIXMEs that might be merely hypothetical, and removes the old OpenGL checks from the video subsystem that probably weren't meaningful in modern times. This will definitely need to improve the existing list in the GL renderer, to catch things like llvmpipe, etc. Reference issue #4624.
08d27dfd 2022-02-22 15:27:30 SDL_openslES.c: Detect float support in runtime and use it Allow using of the float output type on newer Android devices, but keep PCM16 output on older Closes #5358
293a0aa8 2022-02-22 10:54:21 opengl: If GL version >= 2.0, NPOT textures are supported, so favor them. Fixes #5041.
9299a3e7 2022-02-21 16:24:45 Workaround for crash in CoUninitialize()
978fbc32 2022-02-21 12:02:44 Fixed compile warnings
6c531c43 2022-02-21 11:35:31 Correct handling of sentinel events when polling without removing events Fixes https://github.com/libsdl-org/SDL/issues/5350
d90bd261 2022-02-16 13:26:10 wscons: Make USB keyboard input layout independent
9d86ec85 2022-02-18 09:57:10 Palette format: software Render Jitter in rotation (see #5143) - same fix applied for rotation with palette surfaces - allow other 8bits format (eg 332)
ceb09ee7 2022-02-17 23:11:02 Fixed #5143 - software Render Jitter in rotation better precision calculating rotated coordinates and interpolation
18032979 2022-02-15 13:07:51 Added the hint SDL_HINT_JOYSTICK_ROG_CHAKRAM to control whether ROG Chakram mice show up as joysticks This hint defaults off, but when it is enabled the mice will have a game controller mapping set up for Profile 3 (set in the Armoury Crate software)
75ffa24e 2022-02-15 13:35:59 Software Render Jitter in rotation (bug #5143) The output surface doesn't necessarily to have even width and height.
61abc4e5 2022-02-15 11:34:50 PSP: SDL_RenderCopyEx rotation and global scaling around the wrong way (see #bug 3070)
18b76fcc 2022-02-15 11:33:56 Fixed bug #3070 - SDL_RenderCopyEx rotation and global scaling around the wrong way (software renderer)
e366ad12 2022-02-15 10:02:34 Fixed bug #2308: SDL_RenderCopyEx rotation center precision (software renderer)
66ee79bd 2022-02-14 10:59:25 [PSP] Don't swizzle streaming textures It was causing issues in the teststreaming demo and unswizzling later is inefficient and causes issues.
f97a29f6 2022-02-11 22:10:33 Use the real device VID/PID when seeing the Steam virtual controller
85e65000 2022-02-11 11:08:08 X11 Segmentation fault with multiple windows and renderers (see #5256)
4cb61818 2022-02-10 18:58:50 Do not build loadso test eboot for PSP
a75041e8 2022-02-10 13:44:59 Fixed bug #2140: basic support to convert 16 colors palette PIXELFORMAT_INDEX4, to allow conversion to SDL_Texture
abc8198a 2022-02-09 18:07:46 Render all sides when drawing rect on PSP
5b41844c 2022-02-09 09:50:41 Fixed bug #5322 - register virtual input devices as SDL_Touch device, fix compilation
3a9bbf60 2022-02-09 09:37:36 Fixed bug #5322 - register virtual input devices as SDL_Touch device because they can send SOURCE_TOUCHSCREEN events even if getSources() doesn't declare them.
59f1e287 2022-02-08 18:00:58 Android: add debug function to display class/sources
228db352 2022-02-08 13:29:40 audio: pipewire: Tidy up formatting
9da9e85c 2022-02-08 12:59:01 audio: pipewire: Reset all hotplug values and pointers on shutdown Ensure that all hotplug variables and pointers are reset to NULL or their original value when shutting down.
5b36a527 2022-02-08 12:30:28 audio: pipewire: Remove redundant locks The io_list_check_add() and io_list_remove() functions are only ever called from within the Pipewire thread loop, so the locks are redundant. io_list_sort() is called from within a lock in the device detection function, so those additional locks are redundant as well.
48b4d1c4 2022-02-08 12:20:52 audio: pipewire: Convert atomic hotplug conditional variables to SDL_bool The hotplug loop condition variables are always guarded by the loop mutex while the loop is running, so they don't need to be atomic.
67f12ede 2022-02-08 21:32:50 move bug #5333 fix to headers
54304b97 2022-02-08 18:31:43 Fix rotation direction and center point on PSP
2b572dff 2022-02-08 18:03:11 Make RenderCopyEx rotate around center This still isn't perfect. The rotation is the wrong way around and the images are upside down.
2df2da11 2022-02-08 17:51:40 Android: handleMotionEvent() is checking for SOURCE_JOYSTICK. So don't handle DPAD GAMEPAD (see #5322, #2718)
1fc5dba3 2022-02-08 17:41:17 Android: test for SOURCE_KEYBOARD / SOURCE_MOUSE. Don't compare to 0, since there are several bits (see #5322, #2718)
7935cfac 2022-02-08 18:55:10 SDL_mfijoystick.m: use __typeof instead of typeof. Fixes https://github.com/libsdl-org/SDL/issues/5319
9b817248 2022-02-08 18:50:02 SDL_spinlock.c: define HAVE_GCC_ATOMICS for windows/clang builds, ... if not already defined. Fixes https://github.com/libsdl-org/SDL/issues/5333 diff --git a/src/atomic/SDL_spinlock.c b/src/atomic/SDL_spinlock.c index bdd347e..4f10741 100644 --- a/src/atomic/SDL_spinlock.c +++ b/src/atomic/SDL_spinlock.c @@ -28,6 +28,12 @@ #include "SDL_mutex.h" #include "SDL_timer.h" +#if defined(__WIN32__) && defined(__clang__) +# ifndef HAVE_GCC_ATOMICS +# define HAVE_GCC_ATOMICS 1 +# endif +#endif + #if !defined(HAVE_GCC_ATOMICS) && defined(__SOLARIS__) #include <atomic.h> #endif
f1857112 2022-02-08 16:18:01 Fixed bug #5310: Android, Undefined reference to AAssetManager_fromJava
68dd84f1 2022-02-08 11:42:24 Android: TouchDevice -1 is reserved for SDL synthetic devce (See #5322)
94e5c3f3 2022-02-08 11:38:34 testgesture: display device name with SDL_GetTouchName()
580d2318 2022-02-08 10:37:04 Sync wiki -> header
e7e44df0 2022-02-08 11:34:41 Dynapi: add SDL_GetTouchName() entry
34d4f5b1 2022-02-08 11:32:20 Fixed bug #2032: add SDL_GetTouchName to expose the driver name of the device (Thanks @mgerhardy!)
8ce003a4 2022-02-08 00:25:41 Vita: credit cpasjuste
14bc3bf4 2022-02-07 22:20:05 Android: fix typo to register TOUCHSCREEN device (see #5322, #2718)
53091e36 2022-02-02 12:30:34 audio: pipewire: Remove the hard upper bound on rates and buffer sizes Remove the hard upper limit of 8192 samples and instead use the buffer sizes provided by Pipewire to determine the size of the intermediate input buffer and whether double buffering is required for output streams. This allows for higher latency streams to potentially avoid double-buffering in the output case, and we can guarantee that the intermediate input buffer will always be large enough to handle whatever Pipewire may deliver. As the buffer size calculations occur in a callback in the Pipewire processing thread itself, the stream readiness check has been modified to wait on two distinct flags set when the buffers have been configured and when the stream is ready and running.
66866249 2022-02-02 11:09:02 audio: pipewire: Condition variable doesn't need to be atomic The condition variable is guarded by a mutex, so no need for it to be atomic.
0cb39ed4 2022-02-07 04:11:14 cmake: Fix SDL_LIBUSB_DYNAMIC soname
b0dd4c7d 2022-01-10 09:22:07 SDL_Render OpenGL: do batching like in the GLES2 backend (with no VBO)
90f0d2ce 2022-01-10 09:17:50 Revert OpenGL point drawing performance, do to proper batching
423feac6 2022-02-05 21:23:40 haiku: Actually remove BDirectWindow and fix OpenGL handling. This provides the other half of 05c72b113c830392f8b08532317ef07972b29a2e.
94035436 2022-02-05 18:50:00 cmake: enable_language(OBJC) only for APPLE
3c9ac448 2022-02-05 18:45:50 cmake: enable_language(OBJC) to fix check_objc_source_compiles().
686a0f34 2022-02-05 18:28:24 cmake: include CheckOBJCSourceCompiles for cmake >= 3.16 c.f. bugs #5011 and #3912
6d5592a2 2022-02-05 12:02:54 minor cleanup of SDL_CreateRenderer
e8c48981 2022-02-05 08:56:56 pthread/SDL_systhread.c: always include errno.h fixes build for several targets after commit 87b02d3 for bug #5283.
5c4fff7f 2022-02-04 14:02:44 Don't fail to get battery status if the upower refresh call fails
c8cee0b8 2022-02-04 23:28:56 OS2_HasClipboardText: store the boolean result before closing clipboard. just in case..
b5614d0c 2022-02-04 20:05:14 cmake: fix UWP joystick. from: https://github.com/microsoft/vcpkg/blob/master/ports/sdl2/0005-Fix-uwp-joystick.patch
c93e5520 2022-02-04 20:03:50 minor update to winrt/SDL_sysurl.cpp from: https://github.com/microsoft/vcpkg/blob/master/ports/sdl2/0006-Update-SDL_sysurl.cpp.patch
050a5e1a 2022-02-04 20:02:20 removed unused SDL_config_wiz.h
c459ecee 2022-02-04 19:50:50 removed unused Makefile.wiz
3b9e6c1c 2022-02-04 19:50:20 SDL_os2video.c: fixed HasClipboardText() semantics. Empty string in clipboard is expected to give FALSE by SDL_HasClipboardText. Noticed in a commit by josch1710 in bitwiseworks' os/2 fork.
86b7a064 2022-02-04 16:40:05 Add additional VID/PIDs for Anne Pro II This thing changes its VID/PID on firmware revisions...
dd69c28d 2022-02-03 18:01:34 Added a mapping for the Xbox Series X controller, firmware version 5.11.3118.0, connected to Linux via Bluetooth
b59e75c2 2022-02-02 19:21:34 Handle menu button press from controller
2005dd95 2022-02-02 17:06:52 UWP build (#5299) * Add UWP-x64 action * Fix formatting * Fix missing -
2cfc83ea 2022-01-22 17:10:37 sync D3D_RenderReadPixels with D3D11_RenderReadPixels - use the result of SDL_ConvertPixels to propagate error - get rid of the verbose error message of D3D11_RenderReadPixels in case SDL_ConvertPixels failed
3bef4a5d 2022-01-22 15:43:09 cleanup error-handling in SDL_egl.c - always set error message in SDL_EGL_ChooseConfig / SDL_EGL_CreateContext - assume SDL_EGL_DeleteContext does not alter the error message - sync generic error message of SDL_EGL_MakeCurrent with SDL_EGL_Get/SetSwapInterval - do not overwrite error message of SDL_EGL_ChooseConfig in WINRT_CreateWindow
b5c50526 2022-01-22 15:34:22 cleanup error-handling in SDL_bmp.c - add missing error-message in SDL_LoadBMP_RW - check return value of SDL_RWtell in SDL_LoadBMP_RW - use standard SDL_EFREAD error instead of custom strings + adjust return type of readRlePixels
19df4af2 2022-01-22 10:33:38 simplify SDL_DUMMY/OFFSCREEN_CreateWindowFramebuffer
ecd922b5 2022-02-01 22:33:13 Fix touch holding detection after #5244 changes
df0d696a 2022-02-02 15:22:14 RISCOS: attempt to fix compilation ERANGE
87b02d37 2022-02-02 15:09:29 Linux thread name limitation: test for ERANGE (see bug #5283)
daea9fa1 2022-02-02 08:18:22 Remove SDL_config_psp and references
ff5f5d0e 2022-02-02 08:16:45 Updating Readme-psp info
ec632aba 2022-02-01 22:44:44 Remove legacy and unused Makefile.psp
220a9596 2022-02-02 10:01:11 Remove testing instruction (see bug #5283)
9e46a512 2022-02-02 09:58:15 Fixed bug #5283 - limit thread name to 16 characters when using pthread_setname_np()
b11dfd76 2022-02-01 14:43:26 Only generate key repetition for keys that should repeat on wayland. This fix repetition on modifier keys, e.g. Control.
a90a2e75 2022-01-30 16:44:44 Fix text_input_v3 preedit string For every batch of text_input_v3 updates, if there is no preedit in this batch, preedit should be cleared.
03c4405b 2022-02-01 09:32:38 Fixed D-Bus battery refresh call
e1cf8d87 2022-02-01 16:58:05 Sync wiki -> header
4fa21dd6 2022-02-01 10:37:05 Sync wiki -> header
d46cc18a 2022-02-01 11:35:26 Fix function comment
d224a63b 2022-02-01 11:33:35 Fix compilation for non Android
61b6a2ca 2022-02-01 10:33:04 Sync wiki -> header