Commit Graph

  • 847539afeb wayland: Only call libdecor_dispatch() if we've loaded libdecor David Gow 2022-06-01 23:06:19 +08:00
  • 7fa46ec40b The Google Pixel fingerprint sensor also shows up on Linux when running on the phone Sam Lantinga 2022-05-31 11:11:19 -07:00
  • 3c3c02518c Add Compatible Interface Properties to VisualC and Xcode SDL2 config file Anonymous Maarten 2022-05-30 00:39:53 +02:00
  • 4809bd356e Add documentation to autotoo'ls sdl2-config-version.cmake.in Anonymous Maarten 2022-05-30 00:36:33 +02:00
  • 774c50174c Add CMake section to the Xcode ReadMe.txt Anonymous Maarten 2022-05-28 11:52:23 +02:00
  • 423c7ef856 Don't set SDL2_LIBRARY, we need the Framework configuration on Apple platforms Sam Lantinga 2022-05-27 14:47:39 -07:00
  • 37ef6a765d Use a full path for the framework header include path Sam Lantinga 2022-05-27 14:46:49 -07:00
  • f73c25648f cmake: attempt to use framework in Xcode's sdl2-config.cmake Anonymous Maarten 2022-05-27 22:17:12 +02:00
  • 4c3d1d32a5 Use INTERFACE_INCLUDE_DIRECTORIES in Xcode's sdl2-config.cmake Anonymous Maarten 2022-05-27 11:52:16 +02:00
  • 7c2a6ea5f2 Removed 64-bit check for Apple Sam Lantinga 2022-05-26 18:31:31 -07:00
  • e30b9993b9 Fixed warning about location of CMake support files Sam Lantinga 2022-05-26 18:31:06 -07:00
  • 01492a24f1 Added CMake package support files to the SDL framework Sam Lantinga 2022-05-26 18:30:15 -07:00
  • 2c591e408e Add CMake configuration files, meant for Macos framework Anonymous Maarten 2022-05-26 16:26:54 +02:00
  • 8ac8230bfa Add CMake configuration files, meant for VC devel package Anonymous Maarten 2022-05-25 23:57:26 +02:00
  • 964e979d06 hidapi: Allow disabling libusb support at runtime Ethan Lee 2022-05-30 16:17:04 -04:00
  • c87b0142fe Fixed building with C89 compiler Sam Lantinga 2022-05-30 12:02:08 -07:00
  • 4ddf85b1d5 Sync wiki -> header SDL Wiki Bot 2022-05-30 14:31:05 +00:00
  • f78f775238 ime: windows: allocate space for null terminator Guldoman 2022-05-28 03:53:43 +02:00
  • fd2a2eea10 Fixed declaration-after-statement warning Sam Lantinga 2022-05-28 07:49:18 -07:00
  • d2c4d74dd0 Fixed build with MinGW-64 windows.devices.power.h Sam Lantinga 2022-05-27 15:49:35 -07:00
  • bd22ca762e Revert "Workaround for compiling with MinGW-w64" Sam Lantinga 2022-05-27 15:40:50 -07:00
  • efdf43aa9b Workaround for compiling with MinGW-w64 Sam Lantinga 2022-05-27 15:34:45 -07:00
  • 001d2e2f65 Disable formatting not supported by Visual Studio 2019 Sam Lantinga 2022-05-27 15:29:21 -07:00
  • c02cd20352 Revert "Disable formatting not supported by Visual Studio 2019" Sam Lantinga 2022-05-27 15:16:02 -07:00
  • 26a75add31 Disable formatting not supported by Visual Studio 2019 Sam Lantinga 2022-05-27 15:15:14 -07:00
  • bef9f2b2c4 Don't trigger device notifications when Steam Deck backlight changes Sam Lantinga 2022-05-26 20:45:13 -07:00
  • 5968f3d828 gen_audio_resampler_filter.c: Precalculate loop-invariant bessel(beta). Ryan C. Gordon 2022-05-26 10:44:01 -04:00
  • 822cf0b34b updated config.guess from mainstream. Ozkan Sezer 2022-05-26 01:33:32 +03:00
  • 347659e8cf riscos: Ensure that last_mouse_buttons is initialised correctly Cameron Cawley 2022-05-25 22:07:12 +01:00
  • cb43eb43f8 riscos: Ensure the mouse focus is set when creating the window Cameron Cawley 2022-05-25 21:43:36 +01:00
  • 6eda520f64 riscos: Add a basic implementation of SDL_ShowCursor() Cameron Cawley 2022-05-25 21:40:28 +01:00
  • 4c711d2d43 testcustomcursor: Allow running without custom or system cursors Cameron Cawley 2022-05-25 22:12:25 +01:00
  • 22d6e09a8d Don't try to call hid_ble_scan() if HIDAPI is disabled Sam Lantinga 2022-05-25 11:04:58 -07:00
  • 195ca499ca include/SDL_video.h: You can google it. Ryan C. Gordon 2022-05-25 10:46:06 -04:00
  • 7ce311bead include/SDL_system.h: Fixed a link that was still hg.libsdl.org Ryan C. Gordon 2022-05-25 10:43:14 -04:00
  • bed96482fa wikiheaders.pl: Deal with links better. Ryan C. Gordon 2022-05-25 10:42:11 -04:00
  • 96a04cb910 wikiheaders.pl: Don't wordwrap truly massive words. Ryan C. Gordon 2022-05-25 09:30:29 -04:00
  • b28d304b23 Only include controller_type.h in SDL_joystick.c Sam Lantinga 2022-05-24 17:24:03 -07:00
  • a8e7548797 Sync wiki -> header SDL Wiki Bot 2022-05-24 22:57:04 +00:00
  • 9220f92bae hidapi/libusb/hid.c (read_thread): mark as SDLCALL Ozkan Sezer 2022-05-25 01:01:02 +03:00
  • 179765561c Sync wiki -> header SDL Wiki Bot 2022-05-24 18:26:05 +00:00
  • 5dee08213b updates to windows watcom makefile: Ozkan Sezer 2022-05-24 20:00:02 +03:00
  • 412ceb84d4 video: Only check major version in SDL_GetWindowWMInfo Simon McVittie 2022-05-24 16:27:54 +01:00
  • aeeccb5d16 CI, OpenWatcom: remove workaround now that setup-watcom is fixed. Ozkan Sezer 2022-05-23 00:24:40 +03:00
  • d5e58049ae Don't specify a specific SDK when building for UWP Sam Lantinga 2022-05-22 10:51:21 -07:00
  • 12cc636c8f Make sdl2-config prefixes configurable again Tim Schumacher 2022-05-21 23:33:31 +02:00
  • 6da6a6cba2 Make sure Objective C files are built with the same flags as C files. Sam Lantinga 2022-05-21 13:51:21 -07:00
  • e97b506242 Need SDL_stdinc.h for _SDL_HAS_BUILTIN Sam Lantinga 2022-05-21 10:06:05 -07:00
  • 626a3c5ef7 Use _SDL_HAS_BUILTIN() instead of __has_builtin Sam Lantinga 2022-05-21 09:58:39 -07:00
  • f4fc4719a5 fix CheckCOCOA on modern CMake ShuangLiu1992 2022-05-09 18:35:50 +01:00
  • 1f48f8cd28 SDL_TriggerBreakPoint update using builtin instead of assembly versions if available David Carlier 2022-05-21 17:47:32 +01:00
  • fe46569cce Fix potential memory leak in SDL_AddHintCallback Mathieu Eyraud 2022-05-21 10:44:50 +02:00
  • e4b5afa576 fix unused variable depending on YUV format Ivan Le Lann 2022-05-21 13:16:12 +02:00
  • e59cba95a0 add libdecor_dispatch Christian Rauch 2022-05-21 13:50:56 +01:00
  • 1a1cc8028b Use a tagged version of OpenWatcom in CI builds Cameron Cawley 2022-05-21 16:15:24 +01:00
  • dc62fec5e9 audio: Fix locking in backends that manage their own callback threads. Ryan C. Gordon 2022-05-20 21:07:25 -04:00
  • a95f5a792c test: Use install(1) more portably Simon McVittie 2022-05-20 19:43:02 +01:00
  • 848d2008c6 test/Makefile.w32: fix minor typo Ozkan Sezer 2022-05-20 21:10:56 +03:00
  • b1cf322971 Fixed HIDAPI PS4 controller being picked up when running under Steam Input with PS4 configuration enabled Sam Lantinga 2022-05-19 16:49:47 -07:00
  • 83ae1b4987 Convert the test executables to AIF in RISC OS CMake builds Cameron Cawley 2022-05-19 23:11:22 +01:00
  • d2b5965894 Remove extra path separator in GetNearbyFilename Cameron Cawley 2022-05-19 22:54:23 +01:00
  • 9edd411a83 x11: send move/resize events when waiting on fullscreen change. Ryan C. Gordon 2022-05-19 17:15:10 -04:00
  • b798e49c92 Fix build warning with MSVC Cameron Cawley 2022-05-19 21:44:38 +01:00
  • b0a27cb1de Avoid unintended float -> double conversion in SDL_FRectEqualsEpsilon Simon McVittie 2022-05-19 19:45:24 +01:00
  • f0566702c5 Fix enabling SDL_DYNAMIC_API in OpenWatcom builds Cameron Cawley 2022-05-19 16:58:11 +01:00
  • 3d52d04977 Remove the '_' prefix from symbol names in Windows OpenWatcom builds Cameron Cawley 2022-05-19 15:38:35 +01:00
  • aa51a9791a Run tests with OpenWatcom on CI Cameron Cawley 2022-05-19 13:14:29 +01:00
  • 9dfa000bc0 Initial support for building for Windows with OpenWatcom Cameron Cawley 2022-05-18 20:20:03 +01:00
  • 5ef36ead08 Add some missing tests to Watcom builds Cameron Cawley 2022-05-18 20:58:41 +01:00
  • 3066873126 Split the common code in test/Makefile.os2 into a separate file Cameron Cawley 2022-05-18 20:56:30 +01:00
  • 5669743a43 Make sure SDL_CaptureMouse() is only called on the main thread Sam Lantinga 2022-05-19 09:45:57 -07:00
  • efa2e6a1ea SDL_thread.h: use SDL_ThreadFunction for SDL_CreateThreadWithStackSize Ozkan Sezer 2022-05-19 18:55:02 +03:00
  • 15781a6986 dynapi: fix SDL_DYNAPI_PROC for SDL_iPhoneSetAnimationCallback() Ozkan Sezer 2022-05-19 18:55:02 +03:00
  • f5cf0e37f7 Remove unused and duplicate defines from SDL_dynapi_overrides.h Cameron Cawley 2022-05-19 14:51:25 +01:00
  • 03ebc4397f dynapi: add missing SDLCALL for SDL_TLSSet's dtor param. Ozkan Sezer 2022-05-19 14:01:10 +03:00
  • 973424d9cb Add for-each macros to clang-format. Pierre Wendling 2022-05-06 12:08:44 -04:00
  • 501a499180 Add clang-format on/off comments where necessary. Pierre Wendling 2022-05-05 18:44:32 -04:00
  • c6a77971bd Add a clang-format config file. Pierre Wendling 2022-05-05 03:27:47 -04:00
  • 0e6d4baa6b Fixed compile warning on gcc 11 Sam Lantinga 2022-05-19 01:23:24 -07:00
  • c7dff3a22e Attempt to get the X1 and X2 button state on X11 by using the current event state instead of direct X11 query. Sam Lantinga 2022-05-19 00:35:22 -07:00
  • 57130b75a9 Revert "x11: get x1/x2 button state in GetGlobalMouseState" Sam Lantinga 2022-05-19 00:31:20 -07:00
  • 47f1cb550d Fixed picking up the correct mapping for virtual controllers on Android Sam Lantinga 2022-05-18 23:48:15 -07:00
  • f7b774a7e0 Fixed build error on Linux if HAVE_INOTIFY isn't defined Sam Lantinga 2022-05-18 17:59:17 -07:00
  • f9a9d3c8d4 Also restore previous capture window if CaptureMouse() fails Sam Lantinga 2022-05-18 17:23:49 -07:00
  • 7044452dd6 Handle recursion in SDL_UpdateMouseCapture() Sam Lantinga 2022-05-18 17:15:10 -07:00
  • dbd54dd708 adjust dynapi after commit 0cca71a changes for SDL_qsort and SDL_bsearch Ozkan Sezer 2022-05-19 03:00:04 +03:00
  • e19a9a7931 Fixed a message box getting the mouse capture state out of sync Sam Lantinga 2022-05-18 15:29:59 -07:00
  • 622311c016 Add extra XInput structures and defines for older SDKs Cameron Cawley 2022-05-18 22:51:58 +01:00
  • c8eea02071 Fix C89 build errors in Windows builds Cameron Cawley 2022-05-18 21:14:20 +01:00
  • 0cca71a846 Use SDLCALL for callbacks in public APIs Cameron Cawley 2022-05-18 22:12:05 +01:00
  • ffab9f46b5 Avoid clashing with system headers when redefining standard library functions Cameron Cawley 2022-05-18 21:07:33 +01:00
  • 4cb57bf199 .editorconfig: Automatically configure multiple text editors Simon McVittie 2022-05-18 13:42:48 +01:00
  • 06aca7edaa Fixed warping back into the window when gaining focus with warp relative mode enabled Sam Lantinga 2022-05-18 10:09:24 -07:00
  • 0ffd985972 Check to see if the file exists in the base path before returning it Sam Lantinga 2022-05-18 09:59:12 -07:00
  • c4cf63f812 improve test-configuration - testkeys 'NEEDS_DISPLAY' - 'disable' relevant tests in case DUMMY audio/video is disabled pionere 2022-05-18 18:04:12 +02:00
  • b44241ab2f Don't send mouse events when warping in relative mode Sam Lantinga 2022-05-18 08:50:59 -07:00
  • ea15253220 fix GetNearbyFilename - fix memory leak due to variable 'base' - fix usage of uninitialized variable (path) pionere 2022-05-18 17:23:26 +02:00
  • 8c5bda6acd Vita: remove Vita-specific RWOps code Ivan Epifanov 2022-05-18 17:58:35 +03:00
  • aa6ea607d9 Fixed whitespace Sam Lantinga 2022-05-18 06:57:28 -07:00
  • 56665e1d9d cocoa: Try to use better system cursors. Ryan C. Gordon 2022-05-17 12:50:13 -04:00