Commit Graph

  • 4033a0a83b Prevent ASAN warning: like SDL_triangle.c:305:30: runtime error: left shift of negative value -672 (even if the value was correctly computed) Sylvain 2024-01-12 15:43:49 +01:00
  • f0b9c7f0f0 Let Windows track floating window state Sam Lantinga 2024-01-12 10:03:13 -08:00
  • 98be55894e Moved window state change handling from WM_WINDOWPOSCHANGING to WM_WINDOWPOSCHANGED Sam Lantinga 2024-01-12 09:38:28 -08:00
  • 7efeb36131 Pass the frame DPI to WIN_AdjustWindowRectForHWND() Sam Lantinga 2024-01-12 09:31:58 -08:00
  • e4ee1cade7 Revert "SDL_windowsevents.c: fixed -Werror=unused-variable" Sam Lantinga 2024-01-12 09:32:49 -08:00
  • f8cce4ead4 SDL_windowsevents.c: fixed -Werror=unused-variable Ozkan Sezer 2024-01-12 18:56:10 +03:00
  • 277fded7ba Refactor AdjustWindowRectEx() into WIN_AdjustWindowRectForHWND() Sam Lantinga 2024-01-12 07:07:27 -08:00
  • 312160935d Removed deprecated use of __IPHONEOS__ (thanks @Dragon-Baroque!) Sam Lantinga 2024-01-12 06:51:44 -08:00
  • 66209135df render: Fix line clipping with translated viewports Alberto Mardegan 2024-01-11 22:15:17 +03:00
  • 483155bbf9 Fixed borderless window client area calculation Sam Lantinga 2024-01-11 13:49:28 -08:00
  • 01fa4dd9d1 Fixed ASAN warning, runtime error: left shift of 160 by 24 places cannot be represented in type 'int' Sylvain 2024-01-11 09:26:55 +01:00
  • cf0d1d7234 Fixed ASAN warning, runtime error: left shift of 160 by 24 places cannot be represented in type 'int' Sylvain 2024-01-11 09:26:55 +01:00
  • 0c6b070761 Capture debug macros off by default George Broughton 2024-01-11 16:11:12 +01:00
  • b5bc64aa55 Fixed pause key on Windows (thanks Mikhail!) Sam Lantinga 2024-01-10 06:36:02 -08:00
  • 9fe09950f1 wayland: Raise the frame throttle limit Frank Praznik 2024-01-10 16:41:20 -05:00
  • 71cd1fa595 Fix compile error with XInputOnGameInput.h Caleb Cornett 2024-01-10 14:41:15 -06:00
  • d766f68cb3 Fix compile error with XInputOnGameInput.h Caleb Cornett 2024-01-10 14:41:15 -06:00
  • ec2159d492 tests: Clean up the window creation properties in the Wayland custom surface example Frank Praznik 2024-01-10 11:17:06 -05:00
  • 9a77813df0 WinMain is specified by the Win32 API as having extern "C" linkage Sam Lantinga 2024-01-10 06:25:49 -08:00
  • 4f2c7328d6 test: Use AUDIO_F32SYS for native-endianness Simon McVittie 2024-01-10 11:05:34 +00:00
  • 1634a4cc30 test: Use SDL_CreateRGBSurfaceWithFormatFrom for SDLTest_ImageFace Simon McVittie 2024-01-10 10:26:47 +00:00
  • feaf52dba6 test: Fix encoding declaration for RGB24 test images Simon McVittie 2024-01-10 10:25:28 +00:00
  • 970ed36de5 Only force X11 if SDL_VIDEO_DRIVER_X11 is available Sam Lantinga 2024-01-09 11:56:26 -08:00
  • 6407e0cc37 Added attribution for GIP protocol handling (thanks @medusalix!) Sam Lantinga 2024-01-09 11:43:12 -08:00
  • bd2f1e9ea6 Use the X11 driver if the application uses X11-based graphics frameworks Sam Lantinga 2024-01-09 11:24:10 -08:00
  • 2afd04d09b test/acinclude.m4 (AM_PATH_SDL2): apply recent sdl2.m4 PKG_CONFIG patch Ozkan Sezer 2024-01-09 17:11:10 +03:00
  • 69f3bb2e34 test: Accept small numerical differences in more mathematical tests Simon McVittie 2023-09-28 16:29:15 +01:00
  • d1c5038f16 testautomation: don't do float equality tests Anonymous Maarten 2023-08-27 23:42:23 +02:00
  • 3a219caf3d wayland: Restore accidentally removed line of code Frank Praznik 2024-01-08 18:00:28 -05:00
  • ccae9c1ef6 Only initialize audio drivers that have been requested Sam Lantinga 2024-01-08 13:38:29 -08:00
  • f62d1220ac Restore the previously initialized subsystems after the Init/Quit test Sam Lantinga 2024-01-08 14:32:52 -08:00
  • 590d0bec6f Revert "Make sure new windows have mouse and keyboard focus if there's no windowing system" Sam Lantinga 2024-01-08 14:32:28 -08:00
  • 5948ea997f Make sure new windows have mouse and keyboard focus if there's no windowing system Sam Lantinga 2024-01-08 13:54:18 -08:00
  • 4c11307a4e Only initialize audio drivers that have been requested Sam Lantinga 2024-01-08 13:38:29 -08:00
  • 05d18aab1c Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-08 19:55:19 +00:00
  • 4b6df89238 wayland: Add a property to allow creation of a wl_egl_window object even if OpenGL is not enabled Frank Praznik 2024-01-07 12:25:49 -05:00
  • f7dd0f9491 wayland: Allow the creation of roleless window surfaces for custom application use Frank Praznik 2024-01-06 15:37:38 -05:00
  • 4417250d0d wayland: Remove the registry from the window properties Frank Praznik 2024-01-06 14:40:08 -05:00
  • 392796e49c wayland: Eliminate redundant protocol checks Frank Praznik 2024-01-05 12:21:42 -05:00
  • 82f2c4d581 render: Renamed SDL_GetTextureRenderer to SDL_GetRendererFromTexture. Ryan C. Gordon 2024-01-08 14:15:56 -05:00
  • 95066ce2a0 Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-08 19:10:31 +00:00
  • b1a82b5772 gamecontroller: Fix function name in cherry-picked documentation Simon McVittie 2024-01-08 19:07:05 +00:00
  • df438a3170 opengl: OpenGL renderers need to support texture target in properties. Ryan C. Gordon 2024-01-08 14:07:23 -05:00
  • 8e7c0b34d7 test: If SDL_CreateRenderer() fails, say why Simon McVittie 2024-01-08 18:34:28 +00:00
  • 3ff56fda1a testautomation: only require accelerated renderer with non-dummy video driver Anonymous Maarten 2023-08-27 03:04:23 +02:00
  • 64754f3a2a test: When listing test-cases, say which ones are disabled Simon McVittie 2024-01-08 17:20:27 +00:00
  • d3c21666de gamepad: Clarify range and direction of axes Sam Lantinga 2024-01-08 09:48:04 -08:00
  • 022ff075b9 test: When listing test-cases, say which ones are disabled Simon McVittie 2024-01-08 17:20:27 +00:00
  • 44adab7dfd Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-08 17:36:24 +00:00
  • 059fb560ba gamepad: Clarify range and direction of axes Simon McVittie 2024-01-08 15:53:51 +00:00
  • 4942027117 Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-08 17:34:23 +00:00
  • e056f52f7d include: Remove string literals from properties documentation. Ryan C. Gordon 2024-01-08 12:33:29 -05:00
  • e8c595af5c Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-08 17:16:19 +00:00
  • adef35b9ec include: Attempt to make new properties documentation wiki bridge friendly. Ryan C. Gordon 2024-01-08 12:13:18 -05:00
  • 4ffec098b7 Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-08 15:18:26 +00:00
  • 9bc7cfc755 render: Added SDL_GetTextureRenderer(). Ryan C. Gordon 2024-01-08 10:17:38 -05:00
  • 7eae08cfc4 Removed SDL_GL_BindTexture() and SDL_GL_UnbindTexture() Sam Lantinga 2024-01-07 18:02:49 -08:00
  • 4d5bffc323 Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-08 01:02:25 +00:00
  • 1a13dae219 Added constant definitions for SDL properties Sam Lantinga 2024-01-07 16:59:41 -08:00
  • 5e12e4b813 Updated documentation for SDL_HINT_SHUTDOWN_DBUS_ON_QUIT Sam Lantinga 2024-01-07 14:20:16 -08:00
  • 8c4e4d57b3 Add hint to make SDL handle dbus_shutdown() Semphris 2024-01-02 13:15:32 -05:00
  • 3deefa6b43 Updated documentation for SDL_HINT_SHUTDOWN_DBUS_ON_QUIT Sam Lantinga 2024-01-07 14:20:16 -08:00
  • 2348e8b6a2 Add hint to make SDL handle dbus_shutdown() Semphris 2024-01-02 13:15:32 -05:00
  • ca3b8fe91d Fixed build Sam Lantinga 2024-01-06 08:33:30 -08:00
  • e1c3dcb403 Don't try to send the PS third-party feature request to the Logitech G815 keyboard Sam Lantinga 2024-01-06 08:29:01 -08:00
  • d3daba791a Don't try to send the PS third-party feature request to the Logitech G815 keyboard Sam Lantinga 2024-01-06 08:29:01 -08:00
  • c309546e8c Fixed warning: no previous prototype for function 'SDL_GetGameControllerTypeFromString' [-Wmissing-prototypes] Sam Lantinga 2024-01-06 08:23:55 -08:00
  • 0e913a22db Renamed ShowTextInput/HideTextInput to ShowScreenKeyboard/HideScreenKeyboard on Android Sam Lantinga 2024-01-06 08:11:22 -08:00
  • 014a63b4b5 Renamed ShowTextInput/HideTextInput to ShowScreenKeyboard/HideScreenKeyboard on Android Sam Lantinga 2024-01-06 08:11:22 -08:00
  • be29ca0189 Use the application requested size to determine automatic orientation on iOS Sam Lantinga 2023-12-24 17:14:16 -08:00
  • f892ae10d6 updateKeyboard should use the SDL window's screen instead of the view window's screen, which may be nil. Sam Lantinga 2024-01-06 07:31:10 -08:00
  • 3a9a52fe6c updateKeyboard should use the SDL window's screen instead of the view window's screen, which may be nil. Sam Lantinga 2024-01-06 07:31:10 -08:00
  • 674e894574 Added mapping for the RX Gamepad, e.g. Pandora Box 7 Sam Lantinga 2024-01-06 06:18:13 -08:00
  • e100992c17 Added mapping for the RX Gamepad, e.g. Pandora Box 7 Sam Lantinga 2024-01-06 06:18:13 -08:00
  • b1ad45acdd Fix memory barriers on ARMv5 J. Neuschäfer 2024-01-05 06:30:54 +01:00
  • 139a0931a3 Fix memory barriers on ARMv5 J. Neuschäfer 2024-01-05 06:30:54 +01:00
  • 21c80ac843 Added a practical example of confirm/cancel gamepad button handling Sam Lantinga 2024-01-04 22:51:13 -08:00
  • eb1b9b418c SDL_audio.c: Fix crash if we switch from direct output to streaming, and if the buffersizes change. jfmu 2024-01-04 01:30:33 +01:00
  • 787a15f760 Fix Mac child windows that are created hidden showing if their parent window is shown Sam Lantinga 2024-01-04 12:44:57 -08:00
  • d6b1fc9576 Add SDL_MAC_REGISTER_ACTIVATION_HANDLERS hint to allow disabling the normal application startup/activation/deactivation handlers Sam Lantinga 2024-01-04 12:44:54 -08:00
  • 7c5e694022 Ignore a new warning in Visual Studio 2022 Sam Lantinga 2024-01-04 12:44:48 -08:00
  • 73d02184d7 docs: Add Wayland to the SysWM migration example Frank Praznik 2024-01-04 13:55:57 -05:00
  • c03c01e9b2 Make sure we get mouse events as soon as possible Sam Lantinga 2024-01-04 09:12:37 -08:00
  • 5cbdeab799 Rename SDL_mslibc_x64.asm -> SDL_mslibc_x64.masm Anonymous Maarten 2024-01-04 17:46:00 +01:00
  • ed62d6e7de cocoa: Set the titled flag on fullscreen space windows Frank Praznik 2024-01-03 19:56:57 -05:00
  • 7b4f1ef01b yuv2rgb: warning fixes and comment out unused code Ozkan Sezer 2024-01-03 14:55:40 +03:00
  • b4b5dbd92f testcontroller.c: fixed warnings. Ozkan Sezer 2024-01-03 14:40:20 +03:00
  • 31851a50d2 Fixed dropping raw input because of mixing GetRawInputBuffer() and WM_INPUT handling Sam Lantinga 2024-01-03 02:20:23 -08:00
  • 987744aae8 Fix Duplicated includes Nour Fouad 2024-01-03 02:24:44 +02:00
  • 2b369a14ab Fixed allocation and alignment of raw input buffers Sam Lantinga 2024-01-02 09:25:28 -08:00
  • 41bf6b5a51 Add basic rumble support to Steam Deck Vicki Pfau 2023-12-22 19:48:41 -08:00
  • bec1b8f849 Add basic rumble support to Steam Deck Vicki Pfau 2023-12-22 19:48:41 -08:00
  • 8fe4a45edf Use GetRawInputBuffer() instead processing raw input one at a time Sam Lantinga 2024-01-01 20:10:39 -08:00
  • 87b8f09657 Fixed warning: no previous prototype for function 'SDL_PrivateGetGamepadButtonFromString' [-Wmissing-prototypes] Sam Lantinga 2024-01-01 14:56:55 -08:00
  • c2951655ff Fixed warning: missing field 'window' initializer [-Wmissing-field-initializers] Sam Lantinga 2024-01-01 14:55:42 -08:00
  • 0fc3574464 Updated copyright for 2024 Sam Lantinga 2024-01-01 13:19:49 -08:00
  • d649f95723 Use GNU sed if available Sam Lantinga 2023-02-06 15:47:16 -08:00
  • 4f8dd2d39d Speed up processing of update-copyright.sh Sam Lantinga 2023-01-09 09:38:36 -08:00
  • 5b3ee51c6c Updated copyright for 2024 Sam Lantinga 2024-01-01 13:15:26 -08:00
  • a7b79c483c Remove unused 'window' variable from -[Cocoa_WindowListener windowWillExitFullScreen] Sam Lantinga 2024-01-01 13:15:39 -08:00