Commit Graph

  • 02c8747176 math.h does not always provide M_PI Anonymous Maarten 2022-07-27 15:05:41 +02:00
  • 5da85376b9 stdlib: move all mslibc functions to SDL_mslibc.c Anonymous Maarten 2022-07-26 21:47:52 +02:00
  • a169259f62 Actually we don't need to unlock to send k_eSwitchProprietaryCommandIDs_ForceUSB since we don't wait for reply Sam Lantinga 2022-07-27 09:05:02 -07:00
  • c51464d9d8 Put the Nintendo Switch Pro controller back into enhanced mode as needed Sam Lantinga 2022-07-27 09:00:39 -07:00
  • 5c70e45c53 cmake: don't use result of 'find_library' for Android libraries Anonymous Maarten 2022-07-25 23:46:36 +02:00
  • 430c39082f ci: test 'sdl2-config --static-libs' + 'pkg-config sdl2 --static' on ci Anonymous Maarten 2022-07-25 23:35:59 +02:00
  • 4690689a4c cmake: on Apple, don't use find_library for frameworks + use EXTRA_LDFLAGS Anonymous Maarten 2022-07-25 23:06:52 +02:00
  • 613ce7850e Fixed interpreting SDL_KMSDRM_DEVICE_INDEX="" as index 0 Sam Lantinga 2022-07-26 13:34:27 -07:00
  • 36d456797b CI: Fix CMake workflow. Pierre Wendling 2022-07-26 15:42:01 -04:00
  • cc982ea7a7 kmsdrm: let device indexes be > 2 digits. Ryan C. Gordon 2022-07-26 15:43:34 -04:00
  • c37c1f7ac3 CI: Make macOS universal build with CMake. Pierre Wendling 2022-07-26 15:24:38 -04:00
  • 1f276a5148 Fix Main Thread Checker warning on macOS diddily 2022-07-26 13:30:59 -04:00
  • 31d38f2f30 WhatsNew.txt: Note that minimum macOS version is now 10.9. Ryan C. Gordon 2022-07-26 15:14:37 -04:00
  • 542a4da3d6 kmsdrm: check SDL_HINT_KMSDRM_DEVICE_INDEX hint in dri_getindex(). Ryan C. Gordon 2022-07-26 15:11:19 -04:00
  • 218c3dbb34 cocoa: Don't crash if moving a message box created before SDL_Init. Ryan C. Gordon 2022-07-26 14:45:26 -04:00
  • f789bc7d5f Updated minimum OS targets on Apple platforms to match supported platforms using Xcode 13 Sam Lantinga 2022-07-26 11:36:01 -07:00
  • 8ff738f234 audio: Report SDL_AUDIODEVICEREMOVED for unopened devices. Ryan C. Gordon 2022-07-26 12:40:47 -04:00
  • 5d85c7d300 kmsdrm: Added a hint to specify device index. Ryan C. Gordon 2022-07-26 00:19:16 -04:00
  • 20a76b0e3e video: removed unused devindex argument from bootstrap's create method. Ryan C. Gordon 2022-07-25 23:06:58 -04:00
  • cbb3f4ca37 Add SDL_guid.h to the global SDL header Sam Lantinga 2022-07-25 19:52:46 -07:00
  • 12211df669 hide SDL_GenerateAssertionReport in case SDL_ASSERT_LEVEL is 0 otherwise SDL_PromptAssertion (and SDL_GenerateAssertionReport) can not be eliminated pionere 2022-02-05 10:44:26 +01:00
  • a423848ea0 Allow floating point values for SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED Sam Lantinga 2022-07-25 11:26:18 -07:00
  • 1e492b2f6d Improve behavior of SDL_events_need_periodic_poll() and SDL_events_need_polling() diddily 2022-07-25 10:12:53 -04:00
  • d9bda89fce Fix updating SDL_update_joysticks and SDL_update_sensors in response to hint changes diddily 2022-07-25 10:03:36 -04:00
  • 0ec5bb4e6d Add missing controller events to SDL_GameControllerEventState() diddily 2022-07-25 10:37:23 -04:00
  • f86ec47f86 ci: don't use ANDROID_NDK_HOME environment variable in Android workflow Anonymous Maarten 2022-07-25 15:08:33 +02:00
  • 4d66501736 Fixed building with 10.9 SDK Sam Lantinga 2022-07-24 18:04:26 -07:00
  • 3ab1e303ec joystick: Refactor and fix a few bugs in Shield HIDAPI driver Cameron Gutman 2022-07-24 15:29:42 -05:00
  • b8a5540740 testgamecontroller: Add battery reporting Cameron Gutman 2022-07-24 15:19:02 -05:00
  • 4d8bb89c46 Fixed mouse clip rect bounds on Windows Sam Lantinga 2022-07-24 11:50:14 -07:00
  • 6bcde52d88 Further adjust implementation of Cocoa_GetWindowDisplayIndex Dean Herbert 2022-07-24 20:19:16 +09:00
  • ce8aae1419 Fix Cocoa_GetWindowDisplayIndex failing and causing a catastrophic crash Dean Herbert 2022-07-13 15:01:55 +09:00
  • 041666e6c3 video: wayland: Don't switch to libdecor path for borderless windows Sebastian Krzyszkowiak 2022-07-24 05:45:59 +02:00
  • 405d1f6598 video: wayland: Roundtrip after falling back to libdecor in xdg-decoration handler Sebastian Krzyszkowiak 2022-07-24 10:16:20 +02:00
  • fc2497b109 Revert "cmake: don't add -mwindows to link flags in sdl2.pc" Anonymous Maarten 2022-07-23 18:05:35 +02:00
  • 2fdedd17be Revert 6fa7d62 and 856c99e5 Anonymous Maarten 2022-07-23 17:29:08 +02:00
  • 856c99e583 android: target android-19 by default when building with build-scripts/androidbuildlibs.sh Anonymous Maarten 2022-07-23 15:51:21 +02:00
  • 832754b970 ci: install SDL when built as a subproject Anonymous Maarten 2022-07-23 15:43:06 +02:00
  • 6fa7d62408 ci: use android-ndk r25 (LTS) on CI Anonymous Maarten 2022-07-23 15:31:35 +02:00
  • d211aaddc1 cmake: don't add -mwindows to link flags in sdl2.pc Anonymous Maarten 2022-07-23 15:29:39 +02:00
  • d63a699e01 cmake: by default, disable install target when building SDL as a subproject Anonymous Maarten 2022-07-23 15:29:13 +02:00
  • 8c51cae784 audio/aaudio, audio/openslES: fix -Wdeclaration-after-statement errors Ozkan Sezer 2022-07-23 14:56:04 +03:00
  • 65647b3417 SDL_Render: use high precision texcoords in ES2 shaders, when possible slime 2022-07-22 22:07:52 -03:00
  • f9beef760a Added support for the Nintendo Switch Joy-Con Controllers on iOS and tvOS 16 Sam Lantinga 2022-07-22 18:58:29 -07:00
  • aad7ef6eaf Added support for the Nintendo Switch Pro Controller on iOS and tvOS 16 Sam Lantinga 2022-07-22 10:58:34 -07:00
  • 59963473ef Enable bitcode by default for iOS and tvOS builds Sam Lantinga 2022-07-22 10:58:32 -07:00
  • 20f51b1fd7 Fixed crash if debug text wasn't drawn during a session Sam Lantinga 2022-07-22 10:58:29 -07:00
  • 8cd515c324 better wording. Ozkan Sezer 2022-07-22 20:37:28 +03:00
  • 41b89aec19 video: Improve the SDL_WINDOW_ALLOW_HIGHDPI flag documentation Frank Praznik 2022-07-22 12:23:44 -04:00
  • 0a1641635d VIta: enable arm neon/simd optimisations Ivan Epifanov 2022-07-21 20:30:33 +03:00
  • e5698d1394 cmake: allow cmake re-configuration after installation of x11 library Anonymous Maarten 2022-07-21 18:38:12 +02:00
  • 192ae1e356 WhatsNew.txt: added line for the calling convention fixes. Ozkan Sezer 2022-07-21 17:11:30 +03:00
  • 9ad3711a6b cmake: only enable x11_xss/x11_xrandr/x11_xfixes when its lib is available Anonymous Maarten 2022-07-21 15:19:19 +02:00
  • ac9e8691a2 cmake: only build testnative when X11 is available Anonymous Maarten 2022-07-21 14:49:35 +02:00
  • aa7a6c0ea6 cmake: only enable x11_xcursor and x11_xinput when its library is available Anonymous Maarten 2022-07-21 14:38:57 +02:00
  • 8f33de8462 cmake: set CMP0054 policy to NEW Anonymous Maarten 2022-07-21 14:08:19 +02:00
  • a33b5449ff WhatsNew.txt: Added audio channel support changes Ethan Lee 2022-07-20 19:11:42 -04:00
  • f3008e4aab audio: 3- and 5-channel formats are now supported Ethan Lee 2022-07-20 19:08:31 -04:00
  • 45c3b59d4b audio: Turn off DEBUG_CONFIG logging again. Ryan C. Gordon 2022-07-20 17:23:42 -04:00
  • bec721f08a audio: Fixed dst pointer on channel conversions that grow in-place. Ryan C. Gordon 2022-07-20 17:22:41 -04:00
  • 9f56c7cf02 audio: Remove 5.1->X SIMD converters, add SSE mono->stereo. Ryan C. Gordon 2022-07-20 16:39:19 -04:00
  • b83ae9f24c audio: Replaced some debug-printfs with debug-SDL_Logs. :) Ryan C. Gordon 2022-07-19 22:40:51 -04:00
  • f73d07da5f audio: Headers said 5 channel is quad+center, but it's 4.1. Ryan C. Gordon 2022-07-19 22:13:31 -04:00
  • 49ec8db5f8 audio: Generate the channel converter code from a program. Ryan C. Gordon 2022-07-19 22:04:49 -04:00
  • f06cc3e945 audio: "SL" means "surround left" not "side left", etc. Ryan C. Gordon 2022-07-19 22:03:56 -04:00
  • 5a0c819863 audio: Add channel convert filter _after_ choosing an SIMD version. Ryan C. Gordon 2022-07-19 22:03:02 -04:00
  • fe16084075 audio: LOG_DEBUG_CONVERT should use SDL_Log, not fprintf(stderr). Ryan C. Gordon 2022-07-19 16:04:48 -04:00
  • 257277903e audio: first attempt at rewriting the channel converters. Ryan C. Gordon 2022-07-19 02:16:08 -04:00
  • be3a945a8b Added support for the 8BitDo Ultimate Wired Controller for Xbox Sam Lantinga 2022-07-20 11:05:55 -07:00
  • b700a32630 audio, pipewire: fix signatures of pw_get_library_version and pw_init. Ozkan Sezer 2022-07-20 07:01:10 +03:00
  • 6e210d3797 audio, pipewire: pipewire_version_xx globals out of dynamic loading Ozkan Sezer 2022-07-20 07:01:10 +03:00
  • 78bad66773 video: wayland: Resize the window before sending the SDL_RESIZE event David Gow 2022-07-16 22:12:08 +08:00
  • 53e685168d Fixed declaration-after-statement warning Sam Lantinga 2022-07-18 07:31:23 -07:00
  • 6ad7fdecce Fixed infinite loop for values bigger than 0x40000000 Sam Lantinga 2022-07-18 07:26:29 -07:00
  • 986818143d Fixed missing imports in SDLActivity (thanks @guusw!) Sam Lantinga 2022-07-18 07:20:58 -07:00
  • 2be9301410 Fixed comment (thanks @pionere!) Sam Lantinga 2022-07-18 07:18:56 -07:00
  • cef1514b01 Fixed some Xcode warnings Sam Lantinga 2022-07-17 09:07:04 -07:00
  • e3916993e2 Added SDL_utils.c to the Xcode project Sam Lantinga 2022-07-17 08:47:06 -07:00
  • b299cb3d3c Added a utility function to calculate the next power of 2 for a value Sam Lantinga 2022-07-17 08:31:16 -07:00
  • 90b86b132a audio: Handle non-power-of-two spec.samples when unsupported Ethan Lee 2022-07-17 10:35:09 -04:00
  • d21a18c65f WhatsNew.txt: Add line for Shield HIDAPI driver Cameron Gutman 2022-07-17 01:06:16 -05:00
  • cdf9010a19 Added new audio features to WhatsNew.txt Ethan Lee 2022-07-16 12:39:30 -04:00
  • a09d62e4d8 directsound: Remove redundant SubFormat copy Ethan Lee 2022-07-15 23:45:56 -04:00
  • c5e408ae98 directsound: For channel counts > 2, generate a dwChannelMask for CreateSoundBuffer Ethan Lee 2022-07-15 11:31:59 -04:00
  • fff34f6304 windows: SDL_IMMDevice needed more deinit code from the Win32 path. Ethan Lee 2022-07-15 09:46:53 -04:00
  • 37aecda2c1 pipewire: Use PW_KEY_TARGET_OBJECT to specify stream connection nodes Frank Praznik 2022-07-14 11:38:51 -04:00
  • 2201d80255 avoid -Werror=declaration-after-statement after last commit. Ozkan Sezer 2022-07-14 02:40:00 +03:00
  • 24b3efd08d (OpenBSD) Exe Path: Use PWD instead of CWD and use CWD as fallback freebsd 2022-07-12 04:33:56 +00:00
  • 883409ea07 Added support for the misc1 button on the Nintendo Switch Pro Controller when using hid_nintendo kernel driver Sam Lantinga 2022-07-13 11:26:42 -07:00
  • 9a4f200d44 gamecontrollerdb: Linux, add mappings for hid-nintendo driver and more Taken from https://github.com/gabomdq/SDL_GameControllerDB/blob/master/gamecontrollerdb.txt SuperSamus 2022-06-04 14:57:49 +02:00
  • 7e2a996958 Added a virtual joystick automated test Sam Lantinga 2022-07-13 08:57:40 -07:00
  • 06c7d22653 Added mappings for the HORI Fighting Stick mini 4 on Linux and macOS Sam Lantinga 2022-07-12 18:53:53 -07:00
  • 27d8cbf026 Added PowerA and Qanba vendors for Android USB device support Sam Lantinga 2022-07-12 18:17:32 -07:00
  • e24b971a34 Added support for the NVIDIA Shield controller guide button Sam Lantinga 2022-07-12 17:53:03 -07:00
  • c92ddddde6 Sort libraries by version and pick the shortest symlink (thanks @jpalus!) Sam Lantinga 2022-07-12 13:00:43 -07:00
  • b321eae51a joystick: Fix spurious battery empty events when opening a Shield controller Cameron Gutman 2022-07-11 19:43:25 -05:00
  • a0d8848baa joystick: Plumb SDL_JoystickSendEffect() for the Shield HIDAPI driver Cameron Gutman 2022-07-11 19:37:25 -05:00
  • deca77c166 Regenerated configure Sam Lantinga 2022-07-11 15:55:14 -07:00
  • d5b8cf72f4 Revert "autotools: relax soname pattern for dynamic loading" Sam Lantinga 2022-07-11 15:54:15 -07:00
  • 36d8460c9e pipewire: Dynamically allocate the buffer for node strings Frank Praznik 2022-07-11 16:59:23 -04:00