Log

Author Commit Date CI Message
Sylvain 93e7caab 2022-03-16T18:08:20 SDL_blit_slow: remove one nested 'if()' because of ARGB2101010 handling
Sylvain 56568ffb 2022-03-16T18:04:40 Remove 'reserved identifier' warning
Ozkan Sezer 1c1f5c18 2022-03-16T17:15:20 imported two libtool mainstream commits 28fbcb6a and b55b1cc8
pionere 2c6a9c51 2022-03-16T09:36:43 minor optimization (SDL_audiocvt.c)
pionere 85dff3e4 2022-03-16T08:58:52 emscripten: obey enable-misc/SDL_MISC settings
staphen 123b9aaa 2022-03-15T23:34:27 Adjust gradle dependencies to enable the build to position assets for the APK
Ozkan Sezer 5905696e 2022-03-15T23:10:04 SDL_audiocvt.c: minor cleanup.
Ozkan Sezer 61a93d3c 2022-03-15T23:10:02 minor whitespace cleanup.
Ozkan Sezer d1e4367f 2022-03-15T21:41:02 SDL_windowskeyboard.c: fix build with SDL_DISABLE_WINDOWS_IME defined. Fixes https://github.com/libsdl-org/SDL/issues/5408
Ryan C. Gordon 1ee196b4 2022-03-15T13:07:34 INSTALL.txt: Say "macOS" instead of "Mac OS X" in modern times. Reference Issue #5407.
Sylvain 90b13e14 2022-03-15T17:50:57 Merge remote-tracking branch 'refs/remotes/origin/main'
Sylvain c44966b7 2022-03-15T17:48:38 Fixed bug #2691 - re-enable surface_testCompleteSurfaceConversion for ARGB2101010
Sylvain f3e86b9f 2022-03-15T17:46:12 Fixed bug #2199: make SDL_blit_slow handles SDL_PIXELFORMAT_ARGB2101010, storing as RGBA
Sam Lantinga 67848b65 2022-03-15T09:25:01 Fix name of macOS platform and link to README file
Sylvain Becker 3bebdacc 2022-03-15T10:37:17 METAL: clip rect w/h must be <= render pass
Wohlstand 7c421fec 2022-03-14T05:55:41 SDL_audiocvt.c: Don't byteswap 8-bit streams Otherwise, this results an assert on big endian machines when attenpting to use SDL_LoadWAV_RW function to load 8-bit WAV files.
Zach Reedy 363c3678 2022-03-10T17:12:33 Fixed: Incorrect assumption that mouse button is released when window is allocated
Guus Waals 7495b981 2022-03-11T15:14:51 Make SDL_VIDEO_OPENGL_EGL optional on Android
Sylvain 0ad606b4 2022-03-14T10:43:18 Android: add comment to set render target to NULL when going to background (bug #4041)
Ozkan Sezer ecc1c871 2022-03-14T10:10:40 SDL_endian.h: use endian predefs from newer gcc and clang versions. Closes: https://github.com/libsdl-org/SDL/pull/5403
Ozkan Sezer ee6bfcdd 2022-03-13T20:56:42 SDL_blit_N.c: removed duplicated const (fixes bug #5401)
Ryan C. Gordon 3ab739af 2022-03-13T12:10:52 cmake: Make test code use proper C main functions. Fixes #5021.
Ozkan Sezer 072db7b0 2022-03-12T01:56:40 SDL_windowskeyboard.c (IME_IsTextInputShown): remove unused local vars.
SDL Wiki Bot 229297d9 2022-03-11T22:47:04 Sync wiki -> header
Zach Reedy d14a1263 2022-03-11T17:45:17 IME Composition Truncation + SDL_IsTextInputShown + SDL_ClearComposition (#5398) * Fixes for IME Composition Truncation + Addition of SDL_ClearComposition, SDL_IsTextInputShown * Fixed: Documentation and code style issues raised during code review.
Charlie Birks 9de97e19 2020-12-01T12:46:59 emscripten: Don't prevent default on filtered key events
Ozkan Sezer afb0606f 2022-03-10T18:50:10 minor os/2 clean-ups.
Ozkan Sezer 50575aa1 2022-03-10T18:50:10 Makefile.os2: fixed setting OS2DEBUG in CFLAGS.
Cameron Gutman 677dc101 2022-03-09T19:43:29 rawinput: Fix double detection of gamepads on some 3rd party X360 wireless receivers The name that the Raw Input joystick driver pulls from the HID stack comes from USB string descriptors contained on the device. For official wireless receivers, this always contains "Xbox 360 Wireless Receiver for Windows" which matches the friendly name that WGI provides. 3rd party Xbox 360 wireless receivers may have different strings in their USB string descriptors (one uses "XBOX 360 For Windows" instead). This fails to match WGI's name and causes Raw Input and WGI to both report the same gamepad. Since wireless Xbox 360 controllers seem to have a consistent VID/PID regardless of the adapter enumerating them, we can also match on that to catch these. The duplicate case reported to me was: Controller (XBOX 360 For Windows) - 030000005e040000a102000000007200 Xbox 360 Wireless Receiver for Windows - 030000005e0400000000000000007701
Ozkan Sezer bf698689 2022-03-10T01:55:04 reduced a few ifdefs, fixed an unused warning if built w/o SDL_HAVE_YUV.
Jo Bates 01d38e7a 2022-03-09T14:03:52 Make Win32 fullscreen and borderless windows minimizable
Sam Lantinga 09b652b7 2022-03-09T13:54:23 Make sure the string properties are actually strings (thanks Nat!)
Sam Lantinga c6eef542 2022-03-09T13:48:31 Removed dead code
pionere 911ba8d3 2022-02-05T12:30:45 hide impossible branch in D3D_UnlockTexture
Sylvain ea5b482b 2022-03-09T15:38:36 Remove unused warning
Sylvain 45833a14 2022-03-09T15:33:45 Prevent shadowing static variable '_this' with local paramter '_this' of SDL_CreateWindowTexture
Sylvain a4a80c86 2022-03-09T15:21:55 Fix variable may be uninitialized when used here [-Wconditional-uninitialized]
Sylvain 04256a53 2022-03-09T15:12:25 Fix compilation (see #5313)
pionere 0983fcee 2022-02-05T12:28:37 fix memory leak in D3D11_CreateRenderer
pionere 3f8b450d 2022-02-05T12:22:34 extend the code hidden by SDL_HAVE_YUV
pionere ce1883e1 2022-02-05T12:12:21 fix compile error with disabled SDL_HAVE_YUV (vita) - UpdateTextureYUV is not defined if SDL_HAVE_YUV is not defined/zero + calling SDL_free suffice if the VITA_GXM_RenderData was just allocated
Sam Lantinga 14db417e 2022-03-08T21:32:27 Reenable getting the serial number on macOS We filter now on game controllers, so we shouldn't hit the crash bug on random devices that this was working around.
Sam Lantinga c3ca3445 2022-03-08T18:56:49 Prefer HIDAPI on macOS, as that has extended functionality
Sam Lantinga 6a787619 2022-03-08T18:42:13 Allow reading background events for MFi controllers
Sam Lantinga b064ad6a 2022-03-08T18:14:10 Allow GL_ARB_texture_non_power_of_two environment variable to override OpenGL 2.0 check
Sam Lantinga 1b766937 2022-03-08T09:58:24 Fixed the SDL controller type for USB_PRODUCT_XBOX_ONE_XINPUT_CONTROLLER
Mahyar Koshkouei 41e7d1ba 2022-03-06T23:02:57 Add SDL_GetDisplayDPI implementation on Emscripten Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
Nick Cao f03215bc 2022-03-07T15:54:24 fix linking with SDL_PULSEAUDIO_SHARED=OFF and SDL_X11_SHARED=OFF
Cameron Gutman b2463a91 2022-03-06T15:02:53 events: Add logging support for several missing event types
Sam Lantinga bdafe1e0 2022-03-04T11:01:55 Fixed whitespace
Sam Lantinga 2e801b1a 2022-03-04T10:49:12 Split long text input into multiple events if needed (thanks @zreedy!)
SDL Wiki Bot 232c3556 2022-03-04T17:30:05 Sync wiki -> header
Sam Lantinga ae73ea9c 2022-03-04T09:27:46 Clarified documentation for the trigger rumble API Fixes https://github.com/libsdl-org/SDL/issues/5372
IOBYTE 13756b5c 2022-03-04T10:47:25 Add X1 and X2 button support to mouse test
Cameron Cawley 2f7b885d 2022-02-28T16:30:34 Fix 'potentially uninitialized local pointer variable' error in UWP builds
Cameron Cawley b7f8117d 2022-02-28T15:47:59 Build the standalone MSVC projects with GitHub Actions
Cameron Cawley 550b8377 2022-02-28T14:50:37 Combine the MSVC and UWP workflows
Cameron Cawley 98353533 2022-02-23T18:54:31 riscos: Report keyboard repeat events
Sam Lantinga af40cb6f 2022-02-23T15:49:10 Added support for the Razer Huntsman Analog keyboard in controller mode
SDL Wiki Bot 669a7f85 2022-02-23T16:18:05 Sync wiki -> header
Ozkan Sezer 4a43321c 2022-02-23T18: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.
Phillip Stephens 94d43186 2022-02-22T00: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
Ryan C. Gordon 60ddb74c 2022-02-02T12: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.
Ryan C. Gordon b946e31e 2022-02-23T09: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".
Wohlstand 08d27dfd 2022-02-22T15: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
Ryan C. Gordon 293a0aa8 2022-02-22T10:54:21 opengl: If GL version >= 2.0, NPOT textures are supported, so favor them. Fixes #5041.
Sam Lantinga 9299a3e7 2022-02-21T16:24:45 Workaround for crash in CoUninitialize()
Sam Lantinga 978fbc32 2022-02-21T12:02:44 Fixed compile warnings
Sam Lantinga 6c531c43 2022-02-21T11:35:31 Correct handling of sentinel events when polling without removing events Fixes https://github.com/libsdl-org/SDL/issues/5350
Cacodemon345 d90bd261 2022-02-16T13:26:10 wscons: Make USB keyboard input layout independent
Sylvain 9d86ec85 2022-02-18T09: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)
Sylvain ceb09ee7 2022-02-17T23:11:02 Fixed #5143 - software Render Jitter in rotation better precision calculating rotated coordinates and interpolation
Sam Lantinga 18032979 2022-02-15T13: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)
Sylvain 75ffa24e 2022-02-15T13:35:59 Software Render Jitter in rotation (bug #5143) The output surface doesn't necessarily to have even width and height.
Sylvain 61abc4e5 2022-02-15T11:34:50 PSP: SDL_RenderCopyEx rotation and global scaling around the wrong way (see #bug 3070)
Sylvain 18b76fcc 2022-02-15T11:33:56 Fixed bug #3070 - SDL_RenderCopyEx rotation and global scaling around the wrong way (software renderer)
Sylvain e366ad12 2022-02-15T10:02:34 Fixed bug #2308: SDL_RenderCopyEx rotation center precision (software renderer)
Wouter Wijsman 66ee79bd 2022-02-14T10:59:25 [PSP] Don't swizzle streaming textures It was causing issues in the teststreaming demo and unswizzling later is inefficient and causes issues.
Sam Lantinga f97a29f6 2022-02-11T22:10:33 Use the real device VID/PID when seeing the Steam virtual controller
Sylvain 85e65000 2022-02-11T11:08:08 X11 Segmentation fault with multiple windows and renderers (see #5256)
Wouter Wijsman 4cb61818 2022-02-10T18:58:50 Do not build loadso test eboot for PSP
Sylvain a75041e8 2022-02-10T13:44:59 Fixed bug #2140: basic support to convert 16 colors palette PIXELFORMAT_INDEX4, to allow conversion to SDL_Texture
Wouter Wijsman abc8198a 2022-02-09T18:07:46 Render all sides when drawing rect on PSP
Sylvain 5b41844c 2022-02-09T09:50:41 Fixed bug #5322 - register virtual input devices as SDL_Touch device, fix compilation
Sylvain 3a9bbf60 2022-02-09T09: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.
Sylvain 59f1e287 2022-02-08T18:00:58 Android: add debug function to display class/sources
Frank Praznik 228db352 2022-02-08T13:29:40 audio: pipewire: Tidy up formatting
Frank Praznik 9da9e85c 2022-02-08T12: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.
Frank Praznik 5b36a527 2022-02-08T12: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.
Frank Praznik 48b4d1c4 2022-02-08T12: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.
Ozkan Sezer 67f12ede 2022-02-08T21:32:50 move bug #5333 fix to headers
Wouter Wijsman 54304b97 2022-02-08T18:31:43 Fix rotation direction and center point on PSP
Wouter Wijsman 2b572dff 2022-02-08T18: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.
Sylvain 2df2da11 2022-02-08T17:51:40 Android: handleMotionEvent() is checking for SOURCE_JOYSTICK. So don't handle DPAD GAMEPAD (see #5322, #2718)
Sylvain 1fc5dba3 2022-02-08T17:41:17 Android: test for SOURCE_KEYBOARD / SOURCE_MOUSE. Don't compare to 0, since there are several bits (see #5322, #2718)
Ozkan Sezer 7935cfac 2022-02-08T18:55:10 SDL_mfijoystick.m: use __typeof instead of typeof. Fixes https://github.com/libsdl-org/SDL/issues/5319
Ozkan Sezer 9b817248 2022-02-08T18: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
Sylvain f1857112 2022-02-08T16:18:01 Fixed bug #5310: Android, Undefined reference to AAssetManager_fromJava
Sylvain 68dd84f1 2022-02-08T11:42:24 Android: TouchDevice -1 is reserved for SDL synthetic devce (See #5322)
Sylvain 94e5c3f3 2022-02-08T11:38:34 testgesture: display device name with SDL_GetTouchName()