include


Log

Author Commit Date CI Message
Eddy Jansson fc944859 2022-04-20T05:46:45 SDL_Rect: Use a default epsilon in SDL_FRectEquals() Add SDL_FRectEqualsEpsilon() for when more control over equality test is required.
Eddy Jansson 00feca27 2022-04-20T07:51:04 Add SDL_FLT_EPSILON.
Ethan Lee c37090f9 2022-04-18T12:30:08 wayland: Add support for TOOLTIP/POPUP_MENU
Ryan C. Gordon c1336b21 2022-04-17T12:43:32 hints: Make SDL_VIDEODRIVER and SDL_AUDIODRIVER formal hints. They were just environment variables before. Fixes #5528.
David Gow 9c2f46b0 2022-04-12T15:23:22 Wayland: Add SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR This hint allows libdecor to be used even when xdg-decoration is available. It's mostly useful for debugging libdecor, but could in theory be used by applications which want to (for example) bundle their own libdecor plugins.
Sam Lantinga 505d6a4a 2022-04-08T18:18:56 Update version to 2.0.22 for release
Sam Lantinga 6d7d142b 2022-04-08T18:10:38 Fixed typo
Connor Clark 6dbca7c9 2022-04-06T20:48:41 Compile with recursive mutexes for emscripten Emscripten actually does support recursive mutexes, so no need to use SDL's fake recursive code. Background: #5428, #5479
Ozkan Sezer c0bb39e5 2022-04-02T02:50:02 check for HAVE_ROAPI_H in cmake and autotools, and update SDL_config_windows.h and SDL_config_winrt.h
Jaylon Gowie 8c542a35 2022-03-29T19:08:56 Desktop OpenGL 1.X/2.X PSVita Support
Ryan C. Gordon 3425e995 2022-03-30T10:12:49 stdinc: SDL_COMPILE_TIME_ASSERT defines shouldn't have a semicolon.
Ivan Epifanov 96be9cdd 2022-03-27T21:48:09 Vita: add hint to select which touchpad generates mouse events
Cameron Gutman a60986ca 2022-03-27T19:03:54 Correct default structure packing on Windows ARM64 See issue #5454 for details
SDL Wiki Bot 6d1c3cd6 2022-03-27T17:11:05 Sync wiki -> header
SDL Wiki Bot 2591f7e3 2022-03-27T16:52:04 Sync wiki -> header
SDL Wiki Bot 7ba4d24c 2022-03-27T16:49:05 Sync wiki -> header
Ryan C. Gordon 7bc498d3 2022-03-27T09:12:12 direct3d: Implement missing blend operations. This is only for Direct3D 9; Direct3D 11 already had this implemented. Fixes #5375.
SDL Wiki Bot 2a4e0f8f 2022-03-23T16:09:05 Sync wiki -> header
Sylvain Becker c23a7ad3 2022-03-23T17:07:56 Add SDL_RenderGetWindow() API to get the window associated with a renderer (#5440) Add SDL_RenderGetWindow() API to get the window associated with a renderer
Ryan C. Gordon f782abe5 2022-03-22T09:52:52 hints: Added SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE. Fixes #2349.
Ryan C. Gordon 2b3c16eb 2022-03-20T23:17:14 Sync wiki -> headers.
Ryan C. Gordon d81fee76 2022-03-19T10:27:31 SDL_Rect: Added floating point versions of all the rectangle APIs. Fixes #5110.
SDL Wiki Bot aef1e567 2022-03-18T17:30:05 Sync wiki -> header
Sam Lantinga 40b7326b 2022-03-18T10:28:38 Added a note that SDL_RenderReadPixels() should be called before SDL_RenderPresent()
Sam Lantinga 6c962177 2022-03-18T10:07:59 Added the hint SDL_HINT_MOUSE_RELATIVE_MODE_CENTER, controlling whether the mouse should be constrained to the center of the window or the whole window in relative mode. For further info about the pros and cons, check out the discussion in https://github.com/libsdl-org/SDL/issues/5271
Sam Lantinga 5ff42438 2022-03-17T17:39:46 Added a hint to capture the mouse when mouse buttons are pressed, defaulting on Fixes https://github.com/libsdl-org/SDL/issues/5301
Sam Lantinga e5f45455 2022-03-17T14:44:34 Added a hint to mark a foreign window as usable with OpenGL Fixes https://github.com/libsdl-org/SDL/issues/2942
Ethan Lee 0bf8ccfb 2022-02-08T22:15:11 video: Add a hint to allow Vulkan surfaces on foreign windows
Ozkan Sezer f0d2747d 2022-03-17T14:56:04 use _Static_assert for SDL_COMPILE_TIME_ASSERT(), when available
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
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.
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
SDL Wiki Bot 669a7f85 2022-02-23T16:18:05 Sync wiki -> header
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
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)
Ozkan Sezer 67f12ede 2022-02-08T21:32:50 move bug #5333 fix to headers
SDL Wiki Bot 580d2318 2022-02-08T10:37:04 Sync wiki -> header
Sylvain 34d4f5b1 2022-02-08T11:32:20 Fixed bug #2032: add SDL_GetTouchName to expose the driver name of the device (Thanks @mgerhardy!)
Ozkan Sezer 050a5e1a 2022-02-04T20:02:20 removed unused SDL_config_wiz.h
Francisco Javier Trujillo Mata daea9fa1 2022-02-02T08:18:22 Remove SDL_config_psp and references
SDL Wiki Bot e1cf8d87 2022-02-01T16:58:05 Sync wiki -> header
SDL Wiki Bot 4fa21dd6 2022-02-01T10:37:05 Sync wiki -> header
Sylvain d46cc18a 2022-02-01T11:35:26 Fix function comment
SDL Wiki Bot 61b6a2ca 2022-02-01T10:33:04 Sync wiki -> header
Sylvain fe2ed6cf 2022-02-01T11:30:43 Fixed bug #5221 - Add SDL_AndroidSendMessage()
pionere 3939ef72 2022-01-19T17:23:53 cleanup SDL_GetAudioDeviceSpec - drop unnecessary hascapture check - call SDL_InvalidParamError and return -1 in case the index is out of range - do not zfill SDL_AudioSpec - adjust documentation to reflect the behavior
pionere 014e2bbd 2022-01-12T16:40:52 use SDL_COMPILE_TIME_ASSERT instead of SDL_STATIC_ASSERT
pionere 65e9415b 2022-01-10T17:00:32 sync handling of subsystems - add DUMMY-define in case the subsystem is enabled but not available (filesystem/misc/locale) - add missing PSP/VITA-filesystem defines - sync the order of filesystems in SDL_config.h.cmake/in - add option to disable locale subsystem in configure
pionere 998117b3 2022-01-09T16:00:22 add 'Misc' subsystem
pionere 942b01a5 2022-01-09T15:08:21 do not use RWOps in WIN_SetWindowIcon
pionere 739f350f 2022-01-08T12:35:52 add SDL_LOCALE_DISABLED to SDL_config.h
ulatekh 57bc9040 2022-01-07T08:54:08 Add hint to optionally forcibly raise the window under MS Windows.
Sam Lantinga a0e3c884 2022-01-17T15:32:27 Updated to version 2.0.21 for development
Ryan C. Gordon 42302d0a 2022-01-11T21:17:21 x11: Let apps specify a custom _NET_WM_WINDOW_TYPE. Fixes #5185.
SDL Wiki Bot b424665e 2022-01-10T20:40:05 Sync wiki -> header
SDL Wiki Bot 5e3f4ccc 2022-01-10T20:35:04 Sync wiki -> header
Ozkan Sezer f14c7bb4 2022-01-09T20:33:32 added missing hidapi stuff for os/2 with libusb
Sam Lantinga 09ece861 2022-01-08T11:36:29 Added the hint SDL_HINT_RENDER_LINE_METHOD to select the line rendering method
Ozkan Sezer 21914b4e 2022-01-08T11:55:10 updated Makefile.psp and SDL_config_psp.h
Sam Lantinga 92946348 2022-01-07T18:28:25 Updated to version 2.0.20 for release
Sam Lantinga 4b38d4c9 2022-01-07T12:37:28 Leave the Metal view active on the window when recreating the Metal renderer Fixes https://github.com/libsdl-org/SDL/issues/5140 Also move the metal tag definition to SDL_syswm.h so it can be used by applications
Ozkan Sezer 75ac944b 2022-01-06T22:24:00 check for tpcshrd.h and define HAVE_TPCSHRD_H if it's available.
Sam Lantinga 120c76c8 2022-01-03T09:40:00 Updated copyright for 2022
Francisco Javier Trujillo Mata 13a9cd47 2022-01-01T16:08:00 Adding sysfilesystem driver to PSP
Alex Szpakowski 7f5339e6 2021-12-14T14:24:59 Document the packed integer formats SDL_Color is bit-compatible with.
Sam Lantinga 086c7455 2021-12-14T12:08:36 Fixed build warning on iOS
Sylvain b7885abc 2021-12-14T10:31:55 Fixed bug #5087: SDL_RenderGeometryRaw() passes colors as int* instead of SDL_Color*
Ozkan Sezer 8d14e6ea 2021-12-08T14:01:02 replaced use of _MAX_PATH with CCHMAXPATH in os/2 code, it now compiles without HAVE_LIBC
Wouter Wijsman da5dbb47 2021-12-07T16:43:50 Fix SDL2main on PSP (#5076) - Fix SDL2main on PSP SDL2main was not working for PSP, because it wasn't being activated and it wasn't unsetting the main. Besides that a debug screen being started was causing issues with joystick input and the sceKernelExitGame calli is no longer needed with the current PSPDEV SDK. - Clean up imports in PSP main - Set PSP GPU and user modes in main - Fix exit callback in PSP main
Wouter Wijsman 897c7cfa 2021-12-07T10:24:46 Make sure SDL_VIDEO_RENDER_PSP is set
Wouter Wijsman 21fd0047 2021-11-29T18:42:13 Initial for building PSP version with CMake
Ozkan Sezer 70c5e91d 2021-12-01T01:20:10 os/2 optionally builds against libiconv.
Sam Lantinga 5fc901d4 2021-11-30T09:58:21 Updated to version 2.0.19 for development
Sam Lantinga 976328bb 2021-11-28T08:54:18 Fixed ABI break in SDL test header
Sam Lantinga 110e4e13 2021-11-27T10:24:32 Use WGI instead of XInput for Windows 10 UWP apps Fixes https://github.com/libsdl-org/SDL/issues/5017
Ozkan Sezer 5a0ea7fb 2021-11-27T19:10:10 Check for O_CLOEXEC definition in fcntl.h at configuration time, If not available, define it internally as 0 (in SDL_internal.h). Define it as available for macOS >= 10.7 in SDL_config_macosx.h.
Sam Lantinga 7242075b 2021-11-26T08:12:45 Updated version to 2.0.18 for release
Ozkan Sezer eb39e205 2021-11-25T17:00:50 SDL_endian.h: remove aarch64 asm. The asm has been reported broken in at least optimized Apple M1 builds; and besides, the compiler builtins have precedence over the asm anyway. Closes https://github.com/libsdl-org/SDL/issues/3943
Ozkan Sezer 53aa8eec 2021-11-25T17:00:24 minor cleanup for watcom _inline keyword.
SDL Wiki Bot 3c71f893 2021-11-25T13:53:04 Sync wiki -> header
Cameron Gutman 57520cbd 2021-11-25T16:49:57 Improve documentation for input grabbing functions
Ozkan Sezer f8900583 2021-11-23T17:04:40 removed windows winmm joystick driver
Sylvain e5467af7 2021-11-23T09:42:07 Minor change comment
Sam Lantinga c97b7218 2021-11-21T12:18:10 Added SDL_PremultiplyAlpha() to premultiply alpha on a block of SDL_PIXELFORMAT_ARGB8888 pixels
Ryan C. Gordon aeff8748 2021-11-20T13:35:25 configure: Allow building of the "offscreen" video target. It was CMake-only before this.
Ozkan Sezer 990fb668 2021-11-20T01:02:02 tests: several -Wwrite-strings fixes.
Ozkan Sezer 3ed0c626 2021-11-19T01:24:40 SDL_RWsize: updated description
SDL Wiki Bot 0fddda6e 2021-11-18T21:51:05 Sync wiki -> header
SDL Wiki Bot e5268309 2021-11-18T20:58:04 Sync wiki -> header
Ryan C. Gordon 3f978c0f 2021-11-18T15:56:16 include: Improved documentation of SDL_RegisterApp and SDL_UnregisterApp.
Ryan C. Gordon 7f70f6e1 2021-11-18T15:30:36 include: Note that several rwops functions used to be macros before 2.0.10.
SDL Wiki Bot 319d2b3e 2021-11-18T20:29:04 Sync wiki -> header
SDL Wiki Bot 16a1721e 2021-11-18T20:25:05 Sync wiki -> header
hgs3 c2464653 2021-11-17T18:19:49 Remove unnecessary clang-cl check since Clang has __builtin_bswap.
hgs3 6b66542e 2021-11-17T17:04:34 Fixing compilation errors for VS2019 Clang toolset (fixes #4702)
Ozkan Sezer dd6269b1 2021-11-17T17:55:00 SDL_endian.h: added proper version check (VS2005+) to MSVC functionality
Cameron Gutman 43d1b42a 2021-11-16T17:59:38 cmake: Sync build config options with autotools - SDL_CLOCK_GETTIME now defaults to ON to match autotools build - Add detection of float.h and Xdbe - Fix detection of pthread_setname_np() (requires _GNU_SOURCE) - Move SDL_USE_IME definition into SDL_config.h.cmake
Sam Lantinga 66058bbb 2021-11-15T16:52:56 Fixed exception accessing Bluetooth devices on Android 12 Since accessing Bluetooth prompts the user for permission on both Android and iOS, and we only need it for Steam Controller support, we'll leave it off by default. You can enable it by setting the hint SDL_HINT_JOYSTICK_HIDAPI_STEAM to "1" before calling SDL_Init() Fixes https://github.com/libsdl-org/SDL/issues/4952