Commit Graph

  • be70d9a9c7 wayland: Clarify the popup position restriction purpose Frank Praznik 2023-03-16 13:35:06 -04:00
  • c270d151b0 wayland: Handle cases where the compositor does not scale the monitor viewport in its compositing space Frank Praznik 2023-03-16 12:59:24 -04:00
  • 5dd317b869 Fixed position when setting WM hints on X11 popup windows Sam Lantinga 2023-03-15 20:23:03 -07:00
  • 422517c036 Allow passing 0 to SDL_SetWindowMinimumSize() and SDL_SetWindowMaximumSize() to indicate no limit Sam Lantinga 2023-03-15 16:13:56 -07:00
  • d95b04feaf Fixed display ID check in video_setWindowCenteredOnDisplay Sam Lantinga 2023-03-15 16:12:54 -07:00
  • 4312abab69 testprogram: add option to use SDL_BLENDMODE_MUL Sylvain 2023-03-15 21:58:43 +01:00
  • b07a049923 Fixed window positioning in testpopup Sam Lantinga 2023-03-15 10:35:26 -07:00
  • e794057d9f Move the popup windows to follow the mouse Sam Lantinga 2023-03-15 10:19:55 -07:00
  • 3cbd8823ba cmake: get_filename_component(EXT) retturns extension including leading dot Anonymous Maarten 2023-03-15 14:55:56 +01:00
  • ce4c54e2b2 cmake: get_filename_component(EXT) retturns extension including leading dot Anonymous Maarten 2023-03-15 14:55:56 +01:00
  • 7ea6ef4076 ci: add workflow for building SDL on ppc64le Anonymous Maarten 2023-03-15 04:57:50 +01:00
  • e77132b8aa ci: only store cache vita reqs when restore-cache didn't find anything Anonymous Maarten 2023-02-26 20:38:23 +01:00
  • 65178df717 ci: test ARM neon and simd on ci using vita toolchain Anonymous Maarten 2023-02-26 20:16:04 +01:00
  • d27db3defa cmake+video: always use altivec.h header for detection + introduce SDL_ENABLE_ALTIVEC Anonymous Maarten 2023-03-15 04:56:55 +01:00
  • 684709a5b6 cmake: fix building testautomation without X11 support Anonymous Maarten 2023-03-15 04:55:11 +01:00
  • 9cb5f0bfc6 video: fix ARM neon and simd Anonymous Maarten 2023-02-26 20:15:35 +01:00
  • 64e242fd77 cmake: Add test resources to list of files to clean Anonymous Maarten 2023-02-25 05:06:44 +01:00
  • ba5b1f2fd2 Fix build with -DX11MODES_DEBUG in CPPFLAGS Anonymous Maarten 2023-02-25 00:37:02 +01:00
  • d24ef0213b SDL_threadprio.c uses SCHED_RR and SCHED_FIFO from sched.h Anonymous Maarten 2023-02-25 00:31:36 +01:00
  • 3db3424b4e cmake: Detect powerpc architecture Anonymous Maarten 2023-02-26 00:22:23 +01:00
  • fc4085b54e cmake: Allow build system to disable arm neon intrinsics Anonymous Maarten 2023-02-26 01:51:19 +01:00
  • 46de6241d7 cmake: Allow build system to disable loongarch intrinsics Anonymous Maarten 2023-02-26 00:35:57 +01:00
  • 99b8313eb1 add SDL_DISABLE_MMX to SDL_build_config.h.cmake Anonymous Maarten 2023-02-27 01:23:14 +01:00
  • 4681240241 cmake: Detect AVX + allow build system to disable Intel intrinsics Anonymous Maarten 2023-02-25 00:21:15 +01:00
  • 683411e96f cmake: only use precompile headers for C and CXX Anonymous Maarten 2023-03-15 00:32:14 +01:00
  • 7d55bbc0da cmake: get_filename_component(EXT) returns extension including leading dot Anonymous Maarten 2023-03-15 00:15:32 +01:00
  • a17ad65f2b Revert "Popup window parent defaults to the first toplevel window" Sam Lantinga 2023-03-14 14:53:54 -07:00
  • 969e0842e6 video: Preserve the flag to restore popup windows with the parent when recreating the window during renderer initialization Frank Praznik 2023-03-14 16:36:41 -04:00
  • e8e2c8175c Popup window parent defaults to the first toplevel window Sam Lantinga 2023-03-14 11:42:58 -07:00
  • 2fe5f3239c Ignore the PS4 packet CRC if it's not being set correctly Sam Lantinga 2023-03-13 19:56:42 -07:00
  • 57ae9f466d Ignore the PS4 packet CRC if it's not being set correctly Sam Lantinga 2023-03-13 19:56:42 -07:00
  • 3951cae4a5 Ignore the PS4 packet CRC if it's not being set correctly Sam Lantinga 2023-03-13 19:56:42 -07:00
  • f1d9c36136 testshape: now uses SDL_WINDOW_TRANSPARENT instead of the shaped window API Sylvain 2023-03-11 13:53:54 +01:00
  • 2cafa52598 - Added SDL_WINDOW_TRANSPARENT to request a window with transparent framebuffer - Remove SDL_VIDEO_EGL_ALLOW_TRANSPARENCY hint, EGL now checks 'window->flags & SDL_WINDOW_TRANSPARENT' Sylvain 2023-03-11 13:53:14 +01:00
  • 4dededd345 wayland: Don't throttle presentation until the first swap has occurred Frank Praznik 2023-03-13 15:34:30 -04:00
  • 1010254a28 Sync SDL3 wiki -> header SDL Wiki Bot 2023-03-13 18:22:16 +00:00
  • 4dd26698fc Added SDL_GetWindowParent() to get the parent of popup windows Sam Lantinga 2023-03-13 11:20:42 -07:00
  • ebe3a9dc44 Spacing cleanup Sam Lantinga 2023-03-13 11:20:36 -07:00
  • 689ea5361e Sync SDL3 wiki -> header SDL Wiki Bot 2023-03-13 17:57:18 +00:00
  • 1f35fd6939 video: Update the popup window creation documentation and disallowed flags Frank Praznik 2023-03-13 13:46:06 -04:00
  • f97b469184 video: Disallow additional operations on popups where appropriate Frank Praznik 2023-03-13 12:02:26 -04:00
  • d5b5e524af wayland: Set the EGL swap timeout to one second from the current time Frank Praznik 2023-03-12 17:02:18 -04:00
  • 3990c71726 SDL_GetBasePath simplification for Haiku. when solely looking for the path for the current binary in the current team, find_path is sufficient. David Carlier 2023-03-12 11:55:42 +00:00
  • dca3fd8307 Android: indicate gamepaddb entries where axis order changed. Rudolf Polzer 2023-03-11 12:02:17 -05:00
  • 67e2558310 Check tooltip and popup window flags during parameter validation Sam Lantinga 2023-03-11 12:44:09 -08:00
  • de3909a190 Android: indicate gamepaddb entries where axis order changed. Rudolf Polzer 2023-03-11 12:02:17 -05:00
  • 3e28588bb6 wayland: Never use the cached size for maximized or tiled windows Frank Praznik 2023-03-11 11:18:48 -05:00
  • f4c1260120 More changes to fix building with older macOS SDKs Sam Lantinga 2023-03-10 16:38:45 -08:00
  • c044cff4c7 Rewrite WIN_GetSystemTheme() so we don't need to bump Windows SDK versions Sam Lantinga 2023-03-10 16:29:42 -08:00
  • edc8f0b841 Fixed building on older macOS SDKs Sam Lantinga 2023-03-10 16:15:46 -08:00
  • ffe6e58c85 Fixed compiling with older Windows SDKs Sam Lantinga 2023-03-10 16:11:41 -08:00
  • 1550fb69e4 Sync SDL3 wiki -> header SDL Wiki Bot 2023-03-10 23:52:18 +00:00
  • cfeb663c87 tests: Add popup window test program Frank Praznik 2023-03-07 14:36:52 -05:00
  • 5a0f50e1c3 docs: Update the migration document with changes to the tooltips and popup menu flags. Frank Praznik 2023-03-03 19:05:57 -05:00
  • 98e864f286 win32: Implement popup windows Frank Praznik 2023-03-02 17:32:18 -05:00
  • 77dc1a929a cocoa: Implement popup windows Frank Praznik 2023-03-02 12:47:23 -05:00
  • f41d3933e6 X11: Implement popup windows Frank Praznik 2023-02-28 13:47:47 -05:00
  • 68d2d9f76d wayland: Implement popup windows Frank Praznik 2023-02-28 13:47:40 -05:00
  • e987c4a463 video: Add the concept of child popup windows Frank Praznik 2023-02-26 14:16:05 -05:00
  • ab1670386f Added support for the trigger buttons on the Victrix Pro FS for PS5 Sam Lantinga 2023-03-10 15:28:22 -08:00
  • fc1af1dfde Added support for the trigger buttons on the Victrix Pro FS for PS5 Sam Lantinga 2023-03-10 15:28:22 -08:00
  • 76e9d64b36 Removed space between sizeof and parentheses Sam Lantinga 2023-03-10 08:13:51 -08:00
  • 06183989e1 Removed space between sizeof and parentheses Sam Lantinga 2023-03-10 08:12:58 -08:00
  • e9f9cb29fc Fixed build warning on Android Sam Lantinga 2023-03-10 08:09:44 -08:00
  • dfa832c5de Make sure our pixel size is up to date at window creation Sam Lantinga 2023-03-10 08:10:06 -08:00
  • 2af6f4a3e4 Fixed build warning on Android Sam Lantinga 2023-03-10 08:09:44 -08:00
  • 3e1d7e6a14 Specify bash for androidbuildlibs.sh Stephen Kitt 2023-03-10 16:02:28 +01:00
  • ef347776c2 Uses integer arithmetics in SDL_ResampleAudio Qrox 2023-03-09 17:34:51 +08:00
  • bbfd5b3fb2 Specify bash for androidbuildlibs.sh Stephen Kitt 2023-03-10 16:02:28 +01:00
  • 20e17559e5 Uses integer arithmetics in SDL_ResampleAudio Qrox 2023-03-09 17:34:51 +08:00
  • 71c80c478a Uses integer arithmetics in SDL_ResampleAudio Qrox 2023-03-09 17:43:41 +08:00
  • 5e35309913 fix bad merge of sizeof style patch Ozkan Sezer 2023-03-10 08:32:24 +03:00
  • ae5fdc0b00 Added header for SDL_Delay() Sam Lantinga 2023-03-09 17:18:40 -08:00
  • 71dc7169d9 Added header for SDL_Delay() Sam Lantinga 2023-03-09 17:18:40 -08:00
  • 45167b9d13 Wait for the GCController framework to see IOKit devices Sam Lantinga 2023-03-09 16:10:04 -08:00
  • 1e6ffc6294 Removed a duplicate delay accidentally added during code refactor Sam Lantinga 2023-03-09 16:11:53 -08:00
  • 3f00fa16c6 Wait for the GCController framework to see IOKit devices Sam Lantinga 2023-03-09 16:10:04 -08:00
  • 926db1bd54 Removed a duplicate delay accidentally added during code refactor Sam Lantinga 2023-03-09 16:11:53 -08:00
  • 645823fc90 Wait for the GCController framework to see IOKit devices Sam Lantinga 2023-03-09 16:10:04 -08:00
  • 21e444b2e7 Fixed a few additional sizeof locations Sam Lantinga 2023-03-09 15:25:48 -08:00
  • 0d76380042 Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) Sam Lantinga 2023-03-09 15:10:00 -08:00
  • c6443d86c9 Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) Sam Lantinga 2023-03-09 15:10:00 -08:00
  • ad95c93bf4 Add portal interface to support SDL_GetSystemTheme in linux Guldoman 2023-03-09 22:26:33 +01:00
  • c304fbded6 cmake: disable ccache by default Anonymous Maarten 2023-03-09 15:45:07 +01:00
  • 596a594714 If the client rect is empty, use the last known window size Sam Lantinga 2023-03-09 10:31:39 -08:00
  • 46d143376a If the client rect is empty, use the last known window size Sam Lantinga 2023-03-09 10:31:39 -08:00
  • 2ca727aec6 If the client rect is empty, use the last known window size Sam Lantinga 2023-03-09 10:31:39 -08:00
  • 69875ad80f Removed guard around the enabled assertions support code Ozkan Sezer 2023-03-09 20:51:50 +03:00
  • 22de91a947 Removed guard around the enabled assertions support code Ozkan Sezer 2023-03-09 20:51:50 +03:00
  • bb59f46cbe Removed guard around the enabled assertions support code Ozkan Sezer 2023-03-09 20:51:50 +03:00
  • 1c2f825230 Fixed incorrect modifier keys handling on macOS Deve 2023-03-08 23:57:08 +01:00
  • 54ca4d3879 Fixed incorrect modifier keys handling on macOS Deve 2023-03-08 23:57:08 +01:00
  • 34d13cd0a9 made IsModifierKeyPressed() helper static Ozkan Sezer 2023-03-09 20:28:05 +03:00
  • 4de6ddd07f Fixed incorrect modifier keys handling on macOS Deve 2023-03-08 23:57:08 +01:00
  • d0c4849d0b Rename SDL_atomic_t to SDL_AtomicInt David Demelier 2023-02-23 20:33:51 +01:00
  • 8994878767 Added SDL_GetSystemTheme() to return whether the system is using a dark or light color theme, and SDL_EVENT_SYSTEM_THEME_CHANGED is sent when this changes Sam Lantinga 2023-03-07 00:01:34 -08:00
  • d9c07d9ef7 Fixed the documentation for SDL_SetRelativeMouseMode() Sam Lantinga 2023-03-08 22:32:54 -08:00
  • fb0c3197e0 Fixed the documentation for SDL_SetRelativeMouseMode() Sam Lantinga 2023-03-08 22:32:54 -08:00
  • cabedee4a1 Fixed constraining the mouse to the window in relative mode Sam Lantinga 2023-03-08 22:29:21 -08:00
  • d898dbfe50 render: Make sure logical_target is bound when presenting. Ryan C. Gordon 2023-03-08 22:55:44 -05:00