Commit Graph

  • 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
  • 9ef6885743 Fix MSVC ARM32 builds Cameron Cawley 2022-05-08 15:53:43 +01:00
  • b352b78345 Add 'static VCRT' cases to MSVC build matrix Frank Richter 2022-05-07 14:57:17 +02:00
  • 0e63b514d5 Don't define memcpy(), memset() when using static VC runtime. Frank Richter 2022-05-07 14:52:35 +02:00
  • 8cd908e0b9 Fixed building with Visual Studio 2013 Sam Lantinga 2022-05-06 10:51:55 -07:00
  • a3c1ca1fa1 Added support for the Backbone One guide button Sam Lantinga 2022-05-06 09:07:36 -07:00
  • 95f9c3cf0f Makefile.os2: add SDL_BUILD_???_VERSION defines to correct CFLAGS. Ozkan Sezer 2022-05-06 18:56:24 +03:00
  • 0c19602118 Applied 0004-Define-crt-macros.patch.txt from vcpkg ports Sam Lantinga 2022-05-06 07:59:36 -07:00
  • fa50597055 Simplified autogen.sh, thanks to @smcv for the tip Sam Lantinga 2022-05-05 11:54:00 -07:00
  • db36664f26 configure.ac: remove unnecessary AC_SUBST's added by commit 38ef678990 Ozkan Sezer 2022-05-05 18:55:02 +03:00
  • f0c870b908 Rebuilt configure from configure.ac changes Sam Lantinga 2022-05-05 08:19:10 -07:00
  • b03e08f376 configure.ac: Use Autoconf quadrigraphs for character set in AS_CASE Simon McVittie 2022-05-05 16:06:11 +01:00
  • c244bbc515 workflows: Install and run GNOME-style installed-tests Simon McVittie 2022-05-04 17:50:44 +01:00
  • ce502054ad test: Install GNOME-style installed-tests metadata Simon McVittie 2022-05-04 13:53:15 +01:00
  • 38ef678990 test: Add a make install target for the tests Simon McVittie 2020-11-25 13:30:29 +00:00
  • 76a7b629bf test: Add some common code to load test resources Simon McVittie 2022-04-12 13:07:18 +01:00
  • ecf1e15fec workflows: Parallelize Linux Autotools and CMake builds Simon McVittie 2022-05-04 19:31:11 +01:00
  • dba79ade59 workflows: Run build-time tests Simon McVittie 2022-05-04 13:57:30 +01:00
  • 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays Simon McVittie 2022-05-04 19:16:01 +01:00
  • 7d2808e30b test: Run selected noninteractive tests at build-time Simon McVittie 2022-04-12 13:33:58 +01:00
  • b299f74d05 test: Make testevdev succeed if the feature is disabled Simon McVittie 2022-05-04 15:34:41 +01:00
  • 6fc7aa28e7 cmake: Add some missing test-cases Simon McVittie 2022-05-04 13:15:12 +01:00
  • a459479769 workflows: Only run cmake --install on Unix platforms Simon McVittie 2022-05-04 18:13:25 +01:00
  • 79a16da61e workflows: Change how we make CMake verbose Simon McVittie 2022-05-04 18:14:22 +01:00
  • 4da47601be workflows: Remove redundant cmake --build Simon McVittie 2022-05-04 18:13:38 +01:00
  • 2a8297e427 workflows: Add a test to assert that all the version numbers agree Simon McVittie 2022-05-04 16:43:59 +01:00
  • fff97c95eb build: Mechanically generate ABI versions from version number Simon McVittie 2022-05-04 16:40:11 +01:00
  • 60d702ac74 docs: Document new versioning scheme Simon McVittie 2022-05-04 16:39:05 +01:00
  • cd7c2f1de7 Switch versioning scheme to be the same as GLib and Flatpak Simon McVittie 2022-05-03 15:16:11 +01:00
  • 63814ec767 Add static assertions that the version number is consistent Simon McVittie 2022-05-03 14:39:00 +01:00