Commit Graph

  • 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
  • a12ffbd532 testcustomcursor: Log the current cursor type as it changes. Ryan C. Gordon 2022-05-17 12:49:36 -04:00
  • e9c7b5191c macOS: Fix reference counts of internal window data. Alex Szpakowski 2022-05-16 21:03:41 -03:00
  • a48004952d disable dynapi for os/2, at least for now. (see bugs #5667 and #5669.) Ozkan Sezer 2022-05-17 01:33:20 +03:00
  • ec1a0f62dd SDL_malloc.c: workaround calling convention issues for real_xxx procs. Ozkan Sezer 2022-05-17 01:33:02 +03:00
  • 1f2a241688 Add new virtual joysticks to the end of the list Sam Lantinga 2022-05-16 09:02:35 -07:00
  • 3c3ccb1d48 Fixed crash if a virtual joystick was disconnected Sam Lantinga 2022-05-16 08:55:54 -07:00
  • 2317a96c8e x11: Use XC_top_left_corner/XC_top_right_corner instead of XC_fleur. Ryan C. Gordon 2022-05-16 10:50:13 -04:00
  • 48b6cd8bc2 Fixed whitespace Sam Lantinga 2022-05-16 07:23:30 -07:00
  • f0bc5c9cbf Added effects support for virtual controllers Sam Lantinga 2022-05-16 07:21:28 -07:00
  • b3a18706ee Removed unused variables Sam Lantinga 2022-05-16 06:37:38 -07:00
  • 7e005bd843 Fixed mapping the paddle buttons with the virtual controller Sam Lantinga 2022-05-16 06:22:18 -07:00
  • e3fd8feae6 Fixed getting the controller index when specifying --virtual (thanks @zturtleman) Sam Lantinga 2022-05-16 06:16:32 -07:00
  • 5953422c09 Sync wiki -> header SDL Wiki Bot 2022-05-16 03:52:04 +00:00
  • e78a72ec38 fnsince.pl: Fix next version value to match new versioning scheme. Ryan C. Gordon 2022-05-15 23:50:08 -04:00
  • bfac54b59c Added the ability to specify which buttons and axes are present for virtual controllers Sam Lantinga 2022-05-15 20:33:28 -07:00
  • 49ca8bf520 Sync wiki -> header SDL Wiki Bot 2022-05-16 03:03:04 +00:00
  • 94eeb587c1 First pass at extending virtual controller functionality Sam Lantinga 2022-05-15 20:01:12 -07:00
  • 7ad15c5b8f Added game controller support for virtual joysticks Sam Lantinga 2022-05-15 09:35:52 -07:00
  • 996b3dc37a Fixed warning building with Visual Studio Sam Lantinga 2022-05-15 09:33:28 -07:00
  • e0f3da497f Remove unused SDL_ASSEMBLY_ROUTINES define Cameron Cawley 2022-05-12 12:18:23 +01:00
  • f93e810780 Sync wiki -> header SDL Wiki Bot 2022-05-12 07:39:04 +00:00
  • 6b9884d40a Fixed bug #4213 - update documentation to reflect SDL2 behavior of SDL_RenderGetLogicalSize Sylvain 2022-05-12 09:36:49 +02:00
  • e4bb3c8649 wayland: Fix build for configs without libdecor Ethan Lee 2022-05-11 18:13:44 -04:00
  • 6222bd3143 wayland: Don't create a new libdecor context if one already exists Ethan Lee 2022-05-11 16:26:43 -04:00
  • 6f88cbe4c9 wayland: Support xdg_decoration requesting client-side decorations. Ethan Lee 2022-05-11 16:04:34 -04:00
  • d7866ffac8 assert: Check for integer overflow. Eddy Jansson 2022-05-11 19:39:30 +02:00
  • 737b4fc32c Added -fobjc-arc to support automatic reference counting on macOS Sam Lantinga 2022-05-11 11:17:58 -07:00
  • 9b75fa0165 N-Gage port: add changes from code reviews, overall cleanup (#5618) Michael Fitzmayer 2022-05-11 18:31:34 +02:00
  • 2c2cbbe664 Fixed function reference for SDL_SIMDGetAlignment() Sam Lantinga 2022-05-11 09:04:23 -07:00
  • 6da99d4a6c Don't use SDL_SIMDFree() if the pixels haven't been allocated with SDL_SIMDAlloc() Sam Lantinga 2022-05-11 08:40:17 -07:00
  • 2f924020e8 Add SDL_SCANCODE_CALL and SDL_SCANCODE_ENDCALL Cameron Cawley 2022-05-05 20:12:07 +01:00
  • 2bc373622b Add SDL_SCANCODE_SOFTLEFT and SDL_SCANCODE_SOFTRIGHT Cameron Cawley 2022-05-05 13:31:26 +01:00
  • f871c178b9 macOS: remove dead code for supporting 10.6 at runtime. Alex Szpakowski 2022-05-10 17:32:24 -03:00
  • 8ab3ae98f0 stdinc: Add a comment to clarify why inline functions are needed here Simon McVittie 2022-05-10 09:44:23 +01:00
  • f7280dcebb log: Check for integer overflow. Eddy Jansson 2022-05-10 14:52:14 +02:00
  • ec8fa57750 macOS: always use Objective-C ARC (automatic ref counting). Alex Szpakowski 2022-05-07 21:57:23 -03:00
  • d35c737f1c macOS: change min supported OS from 10.6 to 10.7. Alex Szpakowski 2022-05-07 21:38:48 -03:00
  • 6422a5d259 updated config.guess and config.sub from mainstream Ozkan Sezer 2022-05-10 07:33:32 +03:00
  • 2a7948016a cpuinfo: Check for overflow in SIMD allocation Simon McVittie 2022-05-09 14:58:51 +01:00
  • cf1daafa3f cpuinfo: Set padding to 0 if none is needed Simon McVittie 2022-05-09 18:48:46 +01:00
  • d15f6e379c test: Add a unit test for overflow detection Simon McVittie 2022-05-09 18:19:21 +01:00
  • f661654fad stdinc: Add overflow-checking add and multiply for size_t Simon McVittie 2022-05-09 14:36:27 +01:00
  • 6e6e425e23 workflows: Do the equivalent of Automake make distcheck Simon McVittie 2022-05-05 17:50:28 +01:00
  • c71ee68b8a Fix enabling tests on platforms without testnative support Cameron Cawley 2022-05-08 17:17:49 +01:00
  • 318b5577f9 Delete gcc-fat.sh Cameron Cawley 2022-05-08 20:59:10 +01:00