Commit Graph

  • 495ee42a83 testcustomcursor.c: replaced libc sscanf with SDL_sscanf Ozkan Sezer 2021-11-20 01:15:20 +03:00
  • 990fb668f7 tests: several -Wwrite-strings fixes. Ozkan Sezer 2021-11-20 01:02:02 +03:00
  • 665865eda2 If the hardware is in an error state, the final page flip may not come. Sam Lantinga 2021-11-19 09:58:13 -08:00
  • 6828955ddf Trim any extra platform strings from mappings when they're returned to the application Sam Lantinga 2021-11-19 09:58:11 -08:00
  • 116a002b14 build-scripts/gcc-fat.sh is no longer supported. Use clang-fat instead. Ryan C. Gordon 2021-11-19 09:28:36 -05:00
  • 881a674926 rawinput: Only access SDL_RAWINPUT_mutex if initialized Cameron Gutman 2021-11-18 19:58:04 -06:00
  • 1237142be3 joystick: Quit drivers in reverse order to ensure dependencies are not broken Cameron Gutman 2021-11-18 19:52:34 -06:00
  • b67965979a SDL_hidapi.c: fix SDL_udev.h include path Ozkan Sezer 2021-11-19 11:55:50 +03:00
  • 3ed0c62672 SDL_RWsize: updated description Ozkan Sezer 2021-11-19 01:24:40 +03:00
  • 0fddda6e57 Sync wiki -> header SDL Wiki Bot 2021-11-18 21:51:05 +00:00
  • e526830996 Sync wiki -> header SDL Wiki Bot 2021-11-18 20:58:04 +00:00
  • 3f978c0f93 include: Improved documentation of SDL_RegisterApp and SDL_UnregisterApp. Ryan C. Gordon 2021-11-18 15:56:16 -05:00
  • 09bf12e035 fnsince.pl: SDL_UnregisterApp() also arrived in 2.0.2. Ryan C. Gordon 2021-11-18 15:34:29 -05:00
  • 7f70f6e1e2 include: Note that several rwops functions used to be macros before 2.0.10. Ryan C. Gordon 2021-11-18 15:30:36 -05:00
  • 319d2b3e05 Sync wiki -> header SDL Wiki Bot 2021-11-18 20:29:04 +00:00
  • 83024f3299 fnsince.pl: Whoops, it's SDL_RegisterApp and not SDL_SetMainReady in 2.0.2. Ryan C. Gordon 2021-11-18 15:27:21 -05:00
  • 16a1721e9d Sync wiki -> header SDL Wiki Bot 2021-11-18 20:25:05 +00:00
  • 46f12cc7f7 fnsince.pl: SDL_SetMainReady() originally arrived in SDL 2.0.2. Ryan C. Gordon 2021-11-18 15:22:47 -05:00
  • a7a54e6452 wayland: Add support for display connect/disconnect events Ethan Lee 2021-11-18 00:43:55 -05:00
  • c2464653d0 Remove unnecessary clang-cl check since Clang has __builtin_bswap. hgs3 2021-11-17 18:19:49 -06:00
  • 6b66542e7b Fixing compilation errors for VS2019 Clang toolset (fixes #4702) hgs3 2021-11-17 17:04:34 -06:00
  • 5be8a22113 Add audio conversion from/to 61 Sylvain 2021-11-17 20:37:51 +01:00
  • dd6269b1e0 SDL_endian.h: added proper version check (VS2005+) to MSVC functionality Ozkan Sezer 2021-11-17 17:55:00 +03:00
  • d2cf191936 hidapi, linux: merged a minor warning + code style fix from mainstream. Ozkan Sezer 2021-11-17 10:00:10 +03:00
  • 43d1b42a5a cmake: Sync build config options with autotools Cameron Gutman 2021-11-16 17:59:38 -06:00
  • 7d3045f273 minor whitespace tidy-up. Ozkan Sezer 2021-11-16 23:51:40 +03:00
  • 29b79313a0 minor tweak for a slightly smaller configure script Ozkan Sezer 2021-11-16 23:33:32 +03:00
  • 68ffd24c58 autotools, cmake: don't define SDL_JOYSTICK_HIDAPI in CheckHIDAPI() Ozkan Sezer 2021-11-16 23:37:20 +03:00
  • 5cc23868ed wayland: Add support for SDL_DisplayOrientation Ethan Lee 2021-11-15 11:52:43 -05:00
  • 40d808620d SDL_classic_joysticks defaults off Sam Lantinga 2021-11-15 20:17:14 -08:00
  • 7ad64357ee Updated Android build environment for examples Sam Lantinga 2021-11-15 17:04:50 -08:00
  • 66058bbbd5 Fixed exception accessing Bluetooth devices on Android 12 Sam Lantinga 2021-11-15 16:52:56 -08:00
  • be5b4d980d Added nativeGetHintBoolean for Java code Sam Lantinga 2021-11-15 16:52:54 -08:00
  • 9ec2b35147 Fixed the GLES2 shader count to be in sync with the enum Sam Lantinga 2021-11-15 13:45:53 -08:00
  • 2f591fb0a0 Added android:exported="true" to the example Android manifest Sam Lantinga 2021-11-15 12:50:02 -08:00
  • b649314d62 Add comment to audio clipping (see bug #4104) Sylvain 2021-11-15 13:43:40 +01:00
  • d4df5d33c5 GLES2: prevent batching if blend mode changes (see bug #4964) Sylvain 2021-11-15 09:43:44 +01:00
  • 92f2fdfc84 GLES2: batch non joined lines (see #4964) Sylvain 2021-11-15 09:36:18 +01:00
  • 17f156fae5 Fixed bug #4964 - opengles2 & batching = conjoined lines put back the initial switch case because groups of joined lines cannot be batched. Sylvain 2021-11-15 09:08:09 +01:00
  • d8888e468e Fixed bug #4964 - opengles2 & batching = conjoined lines Sylvain 2021-11-15 08:37:49 +01:00
  • 193ab28fe4 Renamed README-macosx.md to README-macos.md Ryan C. Gordon 2021-11-14 23:35:50 -05:00
  • 4edf2df5ce Unix2dos'd README-macosx.md. Ryan C. Gordon 2021-11-14 23:34:46 -05:00
  • bbac1e9add Don't include pthreads code when threads are disabled Sam Lantinga 2021-11-14 20:34:41 -08:00
  • 93556e67e0 Update AndroidManifest.xml Anders Jenbo 2021-11-14 23:39:16 +01:00
  • b9c619017d [Android] Limit WRITE_EXTERNAL_STORAGE to SDK 22- Anders Jenbo 2021-11-14 23:36:05 +01:00
  • cc094f4d7c Fixed building with the macOS 10.8 SDK Sam Lantinga 2021-11-14 20:15:48 -08:00
  • d7d67af441 mouse: Fix Y value in motion events when confinement is active Cameron Gutman 2021-11-14 17:52:41 -06:00
  • fb6aba1938 Updated SDL_egl.h with the latest Khronos headers Sam Lantinga 2021-11-14 15:35:11 -08:00
  • 1cd3e83756 cocoa: Fix abort on touch event types without a subtype Zack Middleton 2021-11-14 15:51:38 -05:00
  • 781caec2b2 SDL_waylandevents.c (keyboard_handle_keymap): silenced -Wwrite-strings . Ozkan Sezer 2021-11-15 00:55:24 +03:00
  • 5c067906ba wasapi: AvSetMmThreadCharacteristicsW takes an LPCWSTR param, not LPWSTR Ozkan Sezer 2021-11-15 00:55:04 +03:00
  • 3eb9bfac7a win32 rawinput & wgi joystick: avoid -Werror=declaration-after-statement Ozkan Sezer 2021-11-14 22:22:50 +03:00
  • 73a41f4058 Removed outdated build-scripts/iosbuild.sh Ryan C. Gordon 2021-11-14 14:15:11 -05:00
  • c55ab9631f Added a hint for alternate OpenGL NV12 data format Sam Lantinga 2021-11-13 22:21:57 -08:00
  • 8a6e48d46d constified SDL_RegisterApp() Ozkan Sezer 2021-11-14 04:40:50 +03:00
  • 7dfd22ac5e fix XGetDefault signature - its first and second params are _Xconst Ozkan Sezer 2021-11-14 02:32:00 +03:00
  • c7aa04d03e SDL_test_harness.c: avoid -Wwrite-strings Ozkan Sezer 2021-11-14 02:31:20 +03:00
  • be7b663c2c audio/winmm/SDL_winmm.c (SetMMerror): constify. Ozkan Sezer 2021-11-14 02:30:56 +03:00
  • e4aa608a5c change (char*) casts to (const char*) in WIN_UTF8 macros Ozkan Sezer 2021-11-14 02:30:34 +03:00
  • 780f6cbd38 build libSDL2_test too with Makefile.minimal Ozkan Sezer 2021-11-14 01:10:32 +03:00
  • eb98ff4740 testmessage: Fix overread of stack variable Cameron Gutman 2021-11-13 13:05:02 -06:00
  • fbe810070b more fixes to standalone makefiles. Ozkan Sezer 2021-11-13 21:56:20 +03:00
  • 62b41f61d4 fix build of testmouse.c Ozkan Sezer 2021-11-13 21:29:50 +03:00
  • 2d1706069a fixes to Makefile.minimal Ozkan Sezer 2021-11-13 21:29:32 +03:00
  • d1e6bd93d8 fix library name in Makefile.pandora Ozkan Sezer 2021-11-13 21:29:10 +03:00
  • 674f361dec wayland: Fix memory leaks in clipboard code Cameron Gutman 2021-11-13 11:44:04 -06:00
  • 3e2f8668be added some more missing sources to standalone makefiles. Ozkan Sezer 2021-11-13 20:35:24 +03:00
  • c8061ed2d1 alsa: Fix possible uninitialized string Cameron Gutman 2021-11-13 10:33:37 -06:00
  • a2c27d39cf SDL_hidapi_switch.c (ConstructSubcommand): lose use of '&' on rumbleData Ozkan Sezer 2021-11-13 17:56:28 +03:00
  • 6ad0fb8462 SDL_hidapi_ps4.c, SDL_hidapi_ps5.c: use SDL_zeroa() Ozkan Sezer 2021-11-13 17:55:10 +03:00
  • 70c8d20a46 Revert previous commit a50ca98e2b (see bug #4625) Sylvain 2021-11-13 15:04:19 +01:00
  • a50ca98e2b Fixed bug #4625 - SDL_RenderSetLogicalSize issues viewport becomes -2147483648x-2147483648 when logical_w/h is greater than window size. division should be done with floats Sylvain 2021-11-13 14:48:36 +01:00
  • a948ff8494 SDL_hidapijoystick.c: worked around a bogus 'unreachable code' warning. Ozkan Sezer 2021-11-13 11:50:02 +03:00
  • eb3f1462b8 x11: Fix memory leak in X11_CreatePixmapCursor() Cameron Gutman 2021-11-12 18:26:15 -06:00
  • f124259e59 testautomation: fix use-after-free when restoring hint value Cameron Gutman 2021-11-12 17:25:24 -06:00
  • 704edf6323 audio: Fix crash calling SDL_OpenAudio() after SDL_AudioInit() fails Cameron Gutman 2021-11-12 17:07:22 -06:00
  • 78013aeef9 alsa: Fix use-after-free when reinitializing Cameron Gutman 2021-11-12 16:57:24 -06:00
  • e688a95ba4 updated os2 makefile for tests Ozkan Sezer 2021-11-12 23:55:40 +03:00
  • 2cf9374270 minor update to docs/README.md Ozkan Sezer 2021-11-12 20:55:02 +03:00
  • 3dc7813ae4 more whitespace tidy-ups in SDL_os2messagebox.c Ozkan Sezer 2021-11-12 20:47:02 +03:00
  • c2dd50a9a0 Fixed whitespace Sam Lantinga 2021-11-12 08:28:02 -08:00
  • 4a1524350c updated linux dependencies for libXfixes-devel. Ozkan Sezer 2021-11-12 15:55:50 +03:00
  • 074e613bbb Fixed typo Sam Lantinga 2021-11-12 03:03:56 -08:00
  • 35d90f17e1 Better implementation of SDL_SetWindowMouseGrab() and SDL_SetWindowMouseRect() on macOS Sam Lantinga 2021-11-12 03:00:57 -08:00
  • fa3330baec autotools, cmake: test Xfixes along with XInput2.h: Ozkan Sezer 2021-11-12 12:55:50 +03:00
  • c3a4a6a033 mark Android.mk as non-executable Ozkan Sezer 2021-11-12 12:55:28 +03:00
  • 5fc7a90a8b Fix refcounting in SDL_hid_exit Mathieu Eyraud 2021-11-12 10:00:41 +01:00
  • 97c71371f2 If Android version >= API 31 PendingIntent.FLAG_MUTABLE "If your app targets Android 12, you must specify the mutability of each PendingIntent object that your app creates. This additional requirement improves your app's security." Sam Lantinga 2021-11-12 01:21:29 -08:00
  • 162772aa63 Fixed build warnings on Android Sam Lantinga 2021-11-11 20:50:54 -08:00
  • 544d2e6aa0 Don't try to load hidapi at startup on Android Sam Lantinga 2021-11-11 20:47:19 -08:00
  • 33735d5997 mark Android.mk as non-executable Ozkan Sezer 2021-11-12 07:40:00 +03:00
  • 50971577e4 dinput: Fix memory leak when SDL_DINPUT_JoystickPresent() returns true Cameron Gutman 2021-11-11 22:35:41 -06:00
  • ed05a0e9e7 Fixed exception trying to get USB permission Sam Lantinga 2021-11-11 20:33:02 -08:00
  • acb602d607 minor style adjustment Ozkan Sezer 2021-11-12 07:28:00 +03:00
  • 3bf7994fe2 Add and use SDL_FALLTHROUGH for fallthroughs Misa 2021-09-27 14:38:12 -07:00
  • c877dd93c5 The hidapi code is now built into SDL, we don't need to load a shared library for it Sam Lantinga 2021-11-11 19:29:42 -08:00
  • 9c3bcf8e8a Added SDL_hid_ble_scan() for pairing Steam Controllers on iOS and tvOS Sam Lantinga 2021-11-11 17:31:14 -08:00
  • abc12a832c Revert "Add and use SDL_FALLTHROUGH for fallthroughs" Sam Lantinga 2021-11-11 15:58:44 -08:00
  • 36b2690e40 Moved SDL HIDAPI functions into a single block for the ABI Sam Lantinga 2021-11-11 15:48:56 -08:00
  • cfbae8b967 Sync wiki -> header SDL Wiki Bot 2021-11-11 23:12:04 +00:00