Commit Graph

  • 9a9a3d1a33 SDL_SystemCursor: rename enum items to match CSS. Ryan C. Gordon 2024-05-26 00:28:17 -04:00
  • 863670c0a8 always define PRI?64 using 'I64' when targeting windows Ozkan Sezer 2024-06-01 01:15:02 +03:00
  • 49b6c24722 always define PRI?64 using 'I64' when targeting windows Ozkan Sezer 2024-06-01 01:15:02 +03:00
  • fd2b9c0602 cmake: don't check c++ compiler flags for asan when CXX is not enabled Anonymous Maarten 2024-06-01 10:18:15 +02:00
  • 85a2a201b1 x11: Always disable the borders when leaving fullscreen from a borderless window created as fullscreen Frank Praznik 2024-05-31 19:06:09 -04:00
  • 4c7459eda8 SDL_cocoawindow: Fix setting parent-relative coordinates for child windows in Cocoa_SetWindowSize Sam Lantinga 2024-05-31 15:29:19 -07:00
  • 5cc0644aa0 Added support for the Razer Kitsune in PS5 mode Sam Lantinga 2024-05-31 15:18:15 -07:00
  • 35d719ef25 Added support for the Razer Kitsune in PS5 mode Sam Lantinga 2024-05-31 15:18:15 -07:00
  • e3beaa1972 Added support for the Razer Kitsune in PS5 mode Sam Lantinga 2024-05-31 15:18:15 -07:00
  • cd9c25e800 Don't set the borderless flag if we're about to go fullscreen. Sam Lantinga 2024-05-31 09:30:37 -07:00
  • 91accc391d android: Default to custom theme in styles.xml mechakotik 2024-05-31 15:13:07 +03:00
  • 1568501dd6 android: Default to custom theme in styles.xml mechakotik 2024-05-31 15:13:07 +03:00
  • 6896c4c3bf tests: testcases accept a void pointer argument Anonymous Maarten 2024-05-30 20:38:45 +02:00
  • d5e5d4a802 move vista+ display config function ptr calls to device->driverdata Ozkan Sezer 2024-05-31 11:37:02 +03:00
  • d5060423a2 testplatform: fix leak at exit time Anonymous Maarten 2024-05-30 20:48:31 +02:00
  • 4b0f52b04e cmake: fall back to per-cpu test when all-in-one test fails Anonymous Maarten 2024-05-30 20:45:14 +02:00
  • 8f88c32ca6 android: Default to custom theme in styles.xml mechakotik 2024-05-31 15:13:07 +03:00
  • 550d5b95c0 fix type redefinition errors after commit b1b4638cac. Ozkan Sezer 2024-05-31 17:47:20 +03:00
  • 5aa9ee8446 SDL_windowsmodes.c (WIN_GetDisplayNameVista): fix return after PR/9923 Ozkan Sezer 2024-05-31 11:33:50 +03:00
  • 51ba036e64 Verify that the timer callback is passed the correct parameters Sam Lantinga 2024-05-27 06:34:48 -07:00
  • 90beffdeb1 Revert "WASAPI_WaitDevice: Check current padding before waiting on event" Sam Lantinga 2024-05-30 16:48:54 -07:00
  • e4518af377 move vista+ display config function ptr calls to device->driverdata Ozkan Sezer 2024-05-31 00:41:50 +03:00
  • fb2287dd47 Fixed updating NV12 and YV12 textures on the direct3d11 renderer Sam Lantinga 2024-05-30 14:19:34 -07:00
  • 8604847214 SDL_SetEventFilter: Don't flush when removing filter Hunter Kvalevog 2024-05-29 20:49:00 -05:00
  • 0136bf2f8f SDL_SetEventFilter: Don't flush good events Hunter Kvalevog 2024-05-29 19:18:00 -05:00
  • 4954690828 Fixed warning C4244: '=': conversion from 'double' to 'float', possible loss of data Sam Lantinga 2024-05-30 07:44:00 -07:00
  • 690d73f5c9 Fixed warning C4244: 'initializing': conversion from 'WPARAM' to 'Uint32', possible loss of data Sam Lantinga 2024-05-30 07:42:35 -07:00
  • d41e48e4c6 WIN_AdjustWindowRectWithStyle: silence gcc maybe-uninitialized warnings Ozkan Sezer 2024-05-30 02:04:37 +03:00
  • a801f81132 Revert "Fix flickering of window when using desktop-fullscreen and borderless window on multiple monitors on Linux. Closes #8186." Sam Lantinga 2024-05-29 13:53:05 -07:00
  • 63c164f778 x11: Use the floating size for the constraints on non-resizable windows Frank Praznik 2024-05-29 17:01:51 -04:00
  • 384e5486bc SDL_windows.h: set _WIN32_WINNT to 0xA00 dxgi1_6.h is available Ozkan Sezer 2024-05-29 22:41:50 +03:00
  • b1c7b2f44f SDL_wasapi.c: avoid unused warning if IAudioClient3 isn't available Ozkan Sezer 2024-05-29 22:40:50 +03:00
  • dde9c10e79 SDL_camera_mediafoundation.c: hardcode MF_DEVSOURCE_ATTRIBUTE_* GUIDs Ozkan Sezer 2024-05-29 22:30:00 +03:00
  • 6bb91c7c08 Support X11 incremental clipboard transfers. Ramez Ragaa 2024-05-23 17:15:54 +03:00
  • 652b34bd15 Added SDL_DumpProperties() for internal debugging Sam Lantinga 2024-05-29 10:30:19 -07:00
  • ae59afa7d0 Fixed building with ENABLE_SDL_CALL_LOGGING enabled Sam Lantinga 2024-05-29 10:29:20 -07:00
  • 57504385e0 wayland: Maintain aspect ratio while resizing the window Frank Praznik 2024-05-28 17:59:04 -04:00
  • b1b4638cac Add basic vulkan support to offscreen video driver so it doesn't crash if you happen to get the offscreen driver and try to use vulkan. Sam Lantinga 2024-05-28 20:02:55 -07:00
  • 04a0a85d92 Sync SDL3 wiki -> header SDL Wiki Bot 2024-05-29 02:48:51 +00:00
  • 542a3663de Added SDL_GetDefaultKeyFromScancode() to the public API Sam Lantinga 2024-05-28 19:47:17 -07:00
  • aeb223fc23 pipewire: if no devices seen in "preferred" init, try a different backend. Ryan C. Gordon 2024-05-28 22:06:43 -04:00
  • fafc9f642a win32: Don't set the display HDR values to uninitialized data Frank Praznik 2024-05-28 15:51:02 -04:00
  • 2b374e6c0f check dxgi1_6.h before enabling sdr/hdr code in SDL_windowsmodes.c Ozkan Sezer 2024-05-28 22:11:56 +03:00
  • 00a7b14ee7 cmake: check mfapi.h before enabling SDL_CAMERA_DRIVER_MEDIAFOUNDATION Ozkan Sezer 2024-05-28 22:11:50 +03:00
  • d141827895 Fixed positioning a window with undefined position on a specific display Sam Lantinga 2024-05-28 12:06:28 -07:00
  • 98fdef75bb Sync SDL3 wiki -> header SDL Wiki Bot 2024-05-28 18:54:02 +00:00
  • c74886ab00 Added SDL_SetWindowAspectRatio() and SDL_GetWindowAspectRatio() Sam Lantinga 2024-05-27 15:23:04 -07:00
  • 3ee20388c5 autotools needs to check d3d12sdklayers.h too Anonymous Maarten 2024-05-28 17:02:26 +02:00
  • 5e876db89f autotools needs to check d3d12sdklayers.h too Anonymous Maarten 2024-05-28 17:02:26 +02:00
  • 2449510673 Makefile.in: add VisualC-GDK to SRC_DIST Ozkan Sezer 2024-05-28 14:10:28 +03:00
  • 0439fc6007 Makefile.in: add VisualC-GDK to SRC_DIST Ozkan Sezer 2024-05-28 14:10:24 +03:00
  • aacafd6233 time/windows/SDL_systime.c: remove minwinbase.h & timezoneapi.h includes Ozkan Sezer 2024-05-28 11:27:37 +03:00
  • 864df05b19 SDL_windowsevents.c: define RI_MOUSE_HWHEEL if missing. Ozkan Sezer 2024-05-28 11:11:50 +03:00
  • ba1fdf24c9 fix type redefinition error after commit dfe4445214 Ozkan Sezer 2024-05-28 11:00:02 +03:00
  • 2c07ed320e SDL_config_os2.h: remove duplicated HAVE_WCSL* defines. Ozkan Sezer 2024-05-28 08:01:04 +03:00
  • 6825a4aabb SDL_config_os2.h: remove duplicated HAVE_WCSL* defines. Ozkan Sezer 2024-05-28 08:01:02 +03:00
  • 607f37dafd Fixed compiling SDL_platform_defines.h on macOS with older compilers (thanks @sezero!) Sam Lantinga 2024-05-27 14:33:18 -07:00
  • 8bc47dc3f1 Fixed compiling SDL_platform_defines.h on macOS with older compilers (thanks @sezero!) Sam Lantinga 2024-05-27 14:33:18 -07:00
  • 2f1384e5d1 SDL_systime.c: missing include for PSP toolchain erysdren 2024-05-27 16:25:54 -05:00
  • 36015ad5e5 Fixed compiling SDL_platform_defines.h on macOS with older compilers (thanks @sezero!) Sam Lantinga 2024-05-27 14:33:18 -07:00
  • e508d82f74 include: Tweaked some vsync-related documentation. Ryan C. Gordon 2024-05-27 16:57:21 -04:00
  • b3081bbbd2 regenerated the configure script. Ozkan Sezer 2024-05-27 23:40:04 +03:00
  • 6524f9c9b8 Sync SDL3 wiki -> header SDL Wiki Bot 2024-05-27 20:12:47 +00:00
  • dfe4445214 Added SDL_SetWindowSurfaceVSync() and SDL_GetWindowSurfaceVSync() Sam Lantinga 2024-05-27 10:27:17 -07:00
  • 7c75801571 Sync SDL3 wiki -> header SDL Wiki Bot 2024-05-27 20:04:46 +00:00
  • 3364aff757 main: Make the main callback return value symbols smaller (thanks, @Lzard!). Ryan C. Gordon 2024-05-27 16:03:45 -04:00
  • 65d8c07c7d Allow building the Raspberry Pi video driver with standard EGL headers Cameron Cawley 2024-05-27 15:55:52 +01:00
  • ef5d56de51 wayland: Implement animated system cursors when not using the cursor shape protocol Frank Praznik 2024-05-27 13:12:43 -04:00
  • a086144dad Sync SDL3 wiki -> header SDL Wiki Bot 2024-05-27 16:59:55 +00:00
  • 0fe9900429 main: Main callback docs recommend returning the symbols instead of -1, 0, 1. Ryan C. Gordon 2024-05-27 12:58:22 -04:00
  • 06aa02453a Tests: Use the main callback code macros L zard 2024-05-27 17:31:55 +02:00
  • 7d81e9d46c Note that you can redraw in response to SDL_EVENT_WINDOW_EXPOSED from an event watch callback Sam Lantinga 2024-05-27 08:05:40 -07:00
  • 54fcacae31 Sync SDL3 wiki -> header SDL Wiki Bot 2024-05-27 14:58:03 +00:00
  • 14667cc0a3 Document that the timer callback can potentially be called before the timer returns. Sam Lantinga 2024-05-27 07:56:04 -07:00
  • aaa9bf9422 Added more error checking for SDL timer functions Sam Lantinga 2024-05-27 07:31:20 -07:00
  • 99599d9236 Added SDL_AddTimerNS() Sam Lantinga 2024-05-27 06:30:37 -07:00
  • b6360516e4 Added the timerID to the SDL timer callback Sam Lantinga 2024-05-26 17:56:29 -07:00
  • a5b0041b4a Fixed SDL_strncmp() logic in portal dialog code Sam Lantinga 2024-05-27 07:46:58 -07:00
  • df25e4022d Removed short aliases for 16-bit pixel formats Sam Lantinga 2024-05-27 06:51:39 -07:00
  • 5fa9432b7d Sync SDL3 wiki -> header SDL Wiki Bot 2024-05-27 02:54:30 +00:00
  • 066f49da1a main: Add some macros for main callback return codes. Ryan C. Gordon 2024-05-26 22:53:06 -04:00
  • c168ccc3c3 Sync SDL3 wiki -> header SDL Wiki Bot 2024-05-27 02:00:01 +00:00
  • ddb826d1a0 VC+d3d12: spread test for __has_include and d3d12.h test over multiple lines Anonymous Maarten 2024-05-27 03:02:10 +02:00
  • acc2e040ce VC+d3d12: use __has_include to detect presence of d3d12 headers Anonymous Maarten 2024-05-27 02:42:04 +02:00
  • faa9bbdc8e cmake: direct3d12 renderer needs d3d12.h and d3d12sdklayers.h Anonymous Maarten 2024-05-27 02:34:26 +02:00
  • 6c29778826 VC+d3d12: use __has_include to detect presence of d3d12 ehaders Anonymous Maarten 2024-05-27 02:42:04 +02:00
  • 6c10201e58 cmake: direct3d12 renderer needs d3d12.h and d3d12sdklayers.h Anonymous Maarten 2024-05-27 02:34:26 +02:00
  • 279fb3acc3 release: build mingw binaries on Ubuntu 24.04 Anonymous Maarten 2024-05-27 02:12:36 +02:00
  • 4fa5006247 VC+d3d12: use __has_include to detect presence of d3d12 ehaders Anonymous Maarten 2024-05-27 00:44:53 +02:00
  • bba76859f5 cmake: detect CPU architecture in 1 compilation Anonymous Maarten 2024-05-26 22:40:47 +02:00
  • 3af4f120d0 cmake: direct3d12 renderer needs d3d12.h and d3d12sdklayers.h Anonymous Maarten 2024-05-26 22:57:55 +02:00
  • 716dc0e1bf wayland: Implement SetWindowOpacity via the alpha modifier protocol Frank Praznik 2024-05-14 13:10:09 -04:00
  • 606903c02f Updated window event names Sam Lantinga 2024-05-26 11:13:19 -07:00
  • a4ccace9c5 include: Fix warnings from gendynapi.py. Ryan C. Gordon 2024-05-26 13:43:58 -04:00
  • ca2d7f9844 gendynapi.py: Ignore wiki documentation blocks. Ryan C. Gordon 2024-05-26 13:34:13 -04:00
  • a0376ab057 SDL_MouseButtonFlags: Clarified some documentation. Ryan C. Gordon 2024-05-26 13:02:58 -04:00
  • 10bbf9d1da Fixed SDL_PenCapabilityFlags from Uint64 to Uint32. Ryan C. Gordon 2024-05-26 12:21:55 -04:00
  • 0e6db371e8 pen: Make the \since field in SDL_PenCapabilityFlags match everything else. Ryan C. Gordon 2024-05-25 22:55:38 -04:00
  • cf2874080f mouse: Move mouse button state from a Uint32 to a formal typedef. Ryan C. Gordon 2024-05-25 22:54:31 -04:00
  • 13b18e3c41 test: Moved some Uint32 bitfields over to typedefs. Ryan C. Gordon 2024-05-23 23:56:05 -04:00