Commit Graph

  • 3a9bbf604e Fixed bug #5322 - register virtual input devices as SDL_Touch device because they can send SOURCE_TOUCHSCREEN events even if getSources() doesn't declare them. Sylvain 2022-02-09 09:37:36 +01:00
  • 59f1e2875a Android: add debug function to display class/sources Sylvain 2022-02-08 18:00:58 +01:00
  • 228db35287 audio: pipewire: Tidy up formatting Frank Praznik 2022-02-08 13:29:40 -05:00
  • 9da9e85cba audio: pipewire: Reset all hotplug values and pointers on shutdown Frank Praznik 2022-02-08 12:59:01 -05:00
  • 5b36a527ed audio: pipewire: Remove redundant locks Frank Praznik 2022-02-08 12:30:28 -05:00
  • 48b4d1c412 audio: pipewire: Convert atomic hotplug conditional variables to SDL_bool Frank Praznik 2022-02-08 12:20:52 -05:00
  • 67f12ede3b move bug #5333 fix to headers Ozkan Sezer 2022-02-08 21:32:50 +03:00
  • 54304b971d Fix rotation direction and center point on PSP Wouter Wijsman 2022-02-08 18:31:43 +01:00
  • 2b572dff88 Make RenderCopyEx rotate around center Wouter Wijsman 2022-02-08 18:03:11 +01:00
  • 2df2da11f6 Android: handleMotionEvent() is checking for SOURCE_JOYSTICK. So don't handle DPAD GAMEPAD (see #5322, #2718) Sylvain 2022-02-08 17:51:40 +01:00
  • 1fc5dba3d5 Android: test for SOURCE_KEYBOARD / SOURCE_MOUSE. Don't compare to 0, since there are several bits (see #5322, #2718) Sylvain 2022-02-08 17:41:17 +01:00
  • 7935cfacc5 SDL_mfijoystick.m: use __typeof instead of typeof. Ozkan Sezer 2022-02-08 18:55:10 +03:00
  • 9b817248c5 SDL_spinlock.c: define HAVE_GCC_ATOMICS for windows/clang builds, Ozkan Sezer 2022-02-08 18:50:02 +03:00
  • f185711203 Fixed bug #5310: Android, Undefined reference to AAssetManager_fromJava Sylvain 2022-02-08 16:18:01 +01:00
  • 68dd84f1de Android: TouchDevice -1 is reserved for SDL synthetic devce (See #5322) Sylvain 2022-02-08 11:42:24 +01:00
  • 94e5c3f30e testgesture: display device name with SDL_GetTouchName() Sylvain 2022-02-08 11:38:34 +01:00
  • 580d231822 Sync wiki -> header SDL Wiki Bot 2022-02-08 10:37:04 +00:00
  • e7e44df039 Dynapi: add SDL_GetTouchName() entry Sylvain 2022-02-08 11:34:41 +01:00
  • 34d4f5b14e Fixed bug #2032: add SDL_GetTouchName to expose the driver name of the device (Thanks @mgerhardy!) Sylvain 2022-02-08 11:32:20 +01:00
  • 8ce003a42c Vita: credit cpasjuste Ivan Epifanov 2022-02-08 00:25:41 +03:00
  • 14bc3bf4ec Android: fix typo to register TOUCHSCREEN device (see #5322, #2718) Sylvain 2022-02-07 22:20:05 +01:00
  • 53091e36a3 audio: pipewire: Remove the hard upper bound on rates and buffer sizes Frank Praznik 2022-02-02 12:30:34 -05:00
  • 66866249a2 audio: pipewire: Condition variable doesn't need to be atomic Frank Praznik 2022-02-02 11:09:02 -05:00
  • 0cb39ed468 cmake: Fix SDL_LIBUSB_DYNAMIC soname Luke Street 2022-02-07 04:11:14 -05:00
  • b0dd4c7d36 SDL_Render OpenGL: do batching like in the GLES2 backend (with no VBO) Sylvain 2022-01-10 09:22:07 +01:00
  • 90f0d2ce49 Revert OpenGL point drawing performance, do to proper batching Sylvain 2022-01-10 09:17:50 +01:00
  • 423feac69b haiku: Actually remove BDirectWindow and fix OpenGL handling. waddlesplash 2022-02-05 21:23:40 -05:00
  • 9403543671 cmake: enable_language(OBJC) only for APPLE Ozkan Sezer 2022-02-05 18:50:00 +03:00
  • 3c9ac4489e cmake: enable_language(OBJC) to fix check_objc_source_compiles(). Ozkan Sezer 2022-02-05 18:45:50 +03:00
  • 686a0f3456 cmake: include CheckOBJCSourceCompiles for cmake >= 3.16 Ozkan Sezer 2022-02-05 18:28:24 +03:00
  • 6d5592a201 minor cleanup of SDL_CreateRenderer pionere 2022-02-05 12:02:54 +01:00
  • e8c48981f9 pthread/SDL_systhread.c: always include errno.h Ozkan Sezer 2022-02-05 08:56:56 +03:00
  • 5c4fff7f63 Don't fail to get battery status if the upower refresh call fails Sam Lantinga 2022-02-04 14:02:44 -08:00
  • c8cee0b8ca OS2_HasClipboardText: store the boolean result before closing clipboard. Ozkan Sezer 2022-02-04 23:28:56 +03:00
  • b5614d0c6e cmake: fix UWP joystick. Ozkan Sezer 2022-02-04 20:05:14 +03:00
  • c93e552068 minor update to winrt/SDL_sysurl.cpp Ozkan Sezer 2022-02-04 20:03:50 +03:00
  • 050a5e1a15 removed unused SDL_config_wiz.h Ozkan Sezer 2022-02-04 20:02:20 +03:00
  • c459eceee1 removed unused Makefile.wiz Ozkan Sezer 2022-02-04 19:50:50 +03:00
  • 3b9e6c1cec SDL_os2video.c: fixed HasClipboardText() semantics. Ozkan Sezer 2022-02-04 19:50:20 +03:00
  • 86b7a0642f Add additional VID/PIDs for Anne Pro II Joshua Ashton 2022-02-04 16:40:05 +00:00
  • dd69c28d6f Added a mapping for the Xbox Series X controller, firmware version 5.11.3118.0, connected to Linux via Bluetooth Sam Lantinga 2022-02-03 18:01:34 -08:00
  • b59e75c259 Handle menu button press from controller Temdog007 2022-02-02 19:21:34 -07:00
  • 2005dd9595 UWP build (#5299) Ravbug 2022-02-02 17:06:52 -05:00
  • 2cfc83eab7 sync D3D_RenderReadPixels with D3D11_RenderReadPixels pionere 2022-01-22 17:10:37 +01:00
  • 3bef4a5da6 cleanup error-handling in SDL_egl.c pionere 2022-01-22 15:43:09 +01:00
  • b5c5052608 cleanup error-handling in SDL_bmp.c pionere 2022-01-22 15:34:22 +01:00
  • 19df4af2aa simplify SDL_DUMMY/OFFSCREEN_CreateWindowFramebuffer pionere 2022-01-22 10:33:38 +01:00
  • ecd922b5cf Fix touch holding detection after #5244 changes SonicMastr 2022-02-01 22:33:13 -06:00
  • df0d696a62 RISCOS: attempt to fix compilation ERANGE Sylvain 2022-02-02 15:22:14 +01:00
  • 87b02d3795 Linux thread name limitation: test for ERANGE (see bug #5283) Sylvain 2022-02-02 15:09:29 +01:00
  • daea9fa19e Remove SDL_config_psp and references Francisco Javier Trujillo Mata 2022-02-02 08:18:22 +01:00
  • ff5f5d0ef4 Updating Readme-psp info Francisco Javier Trujillo Mata 2022-02-02 08:16:45 +01:00
  • ec632aba15 Remove legacy and unused Makefile.psp Francisco Javier Trujillo Mata 2022-02-01 22:44:44 +01:00
  • 220a9596f3 Remove testing instruction (see bug #5283) Sylvain 2022-02-02 10:01:11 +01:00
  • 9e46a512b1 Fixed bug #5283 - limit thread name to 16 characters when using pthread_setname_np() Sylvain 2022-02-02 09:58:15 +01:00
  • b11dfd7611 Only generate key repetition for keys that should repeat on wayland. Weng Xuetian 2022-02-01 14:43:26 -08:00
  • a90a2e7582 Fix text_input_v3 preedit string Weng Xuetian 2022-01-30 16:44:44 -08:00
  • 03c4405b3b Fixed D-Bus battery refresh call Sam Lantinga 2022-02-01 09:32:38 -08:00
  • e1cf8d8748 Sync wiki -> header SDL Wiki Bot 2022-02-01 16:58:05 +00:00
  • 4fa21dd65b Sync wiki -> header SDL Wiki Bot 2022-02-01 10:37:05 +00:00
  • d46cc18afc Fix function comment Sylvain 2022-02-01 11:35:26 +01:00
  • d224a63bda Fix compilation for non Android Sylvain 2022-02-01 11:33:35 +01:00
  • 61b6a2cad4 Sync wiki -> header SDL Wiki Bot 2022-02-01 10:33:04 +00:00
  • fe2ed6cf6f Fixed bug #5221 - Add SDL_AndroidSendMessage() Sylvain 2022-02-01 11:30:43 +01:00
  • 97269e143d adjustments to ime_candidates - allocate ime_candidates on demand - allow write to the whole allocated memory of ime_candidates - ensure ime_candcount is set to zero in case the candidates can not be queried for any reason pionere 2022-01-18 17:51:17 +01:00
  • 6f404d0f04 cleanup IME_GetCandidateList / UILess_GetCandidateList - move IME_ShowCandidateList, ImmGetContext and ImmReleaseContext to this function - set ime_candpgsize to MAX_CANDLIST if dwPageSize is zero - comment out deselection of ime_candsel in case of korean language for the moment (LANG_CHT does not work anyway) pionere 2022-01-18 17:49:33 +01:00
  • ec8e3104c8 Refresh the battery state before we query it on Linux Sam Lantinga 2022-01-31 17:01:08 -08:00
  • 0b34f18045 audio: pipewire: Don't double free properties on init failure Frank Praznik 2022-01-30 12:00:55 -05:00
  • f7d3abddba Fixed bug #964 - SDL_RenderCopy stretch loses proportion on viewport. Handle the case when there is blending Sylvain 2022-01-29 10:19:08 +01:00
  • 8b139e26a3 regenerated configure script. Ozkan Sezer 2022-01-29 10:33:50 +03:00
  • a5c610b0a3 revert 'Changed to use 0xFE instead of 0xFF for better sound quality.' pionere 2022-01-08 12:28:02 +01:00
  • 43f0271b4e Revert "fix compiler warnings in SDL_windows_gaming_input.c" Ryan C. Gordon 2022-01-24 08:56:33 -05:00
  • a70bb259c7 drop handle parameter of OpenDevice pionere 2022-01-20 13:16:03 +01:00
  • 47ddb04e17 cleanup/sync the main loop of *_OpenDevice functions to pick audio format II. pionere 2022-01-20 12:31:02 +01:00
  • 2eafe4340c cleanup/sync the main loop of *_OpenDevice functions to pick audio format pionere 2022-01-20 12:18:59 +01:00
  • 3939ef72f8 cleanup SDL_GetAudioDeviceSpec - drop unnecessary hascapture check - call SDL_InvalidParamError and return -1 in case the index is out of range - do not zfill SDL_AudioSpec - adjust documentation to reflect the behavior pionere 2022-01-19 17:23:53 +01:00
  • 113109f839 cleanup SDL_GetAudioDeviceName - drop unnecessary hascapture check - call SDL_InvalidParamError in case the index is out of range pionere 2022-01-19 17:18:47 +01:00
  • f91211eb17 cleanup WASAPI_PrepDevice - reorganize the loop which checks for the right wave-format - use the return value of UpdateAudioStream - ensure SetError is called in SDL_NewAudioStream pionere 2022-01-19 14:51:42 +01:00
  • c9e8d1573a re-use return value of SDL_SetError/WIN_SetErrorFromHRESULT/SDL_OutOfMemory II. pionere 2022-01-19 12:59:35 +01:00
  • 1043dd8c0d adjust handling of iscapture - drop iscapture parameter of OpenDevice - use SDL_bool for iscapture pionere 2022-01-19 12:58:04 +01:00
  • e2f70a2dff cleanup SDL_EventState pionere 2022-01-19 12:51:26 +01:00
  • 32c7d5d352 cleanup IME_UpdateInputLocale - do not store the HKL in a static variable - always set the ime_candvertical value in case the HKL is changed pionere 2022-01-18 17:44:51 +01:00
  • 25aa7244dc cleanup IME_GetId - use assert instead of a check (it is a static function with constant parameter) - assume it is called with 0 first (simplifies the logic) - reuse dwLang value instead of a new 'call' to LANG() pionere 2022-01-18 17:43:31 +01:00
  • 60deadba59 re-use return value of SDL_SetError/WIN_SetErrorFromHRESULT/SDL_OutOfMemory pionere 2022-01-17 17:22:30 +01:00
  • ebdd536676 use SDL_InvalidParamError or SDL_assert instead of custom SDL_SetError pionere 2022-01-17 16:26:02 +01:00
  • 4a17612bff get rid of BeginLoopIteration pionere 2022-01-17 12:04:32 +01:00
  • 0770c5829c get rid of PrepareToClose pionere 2022-01-17 11:48:26 +01:00
  • e0236c02ce audio: Removed an unnecessary commented-out line. Ryan C. Gordon 2022-01-23 01:28:36 -05:00
  • 0dda8a7f4c cleanup init functions of audio - use SDL_bool if possible - assume NULL/SDL_FALSE filled impl - skip zfill of current_audio at the beginning of SDL_AudioInit (done before the init() calls) pionere 2022-01-17 11:21:01 +01:00
  • 6fcfcc3d6f get rid of SkipMixerLock pionere 2022-01-17 11:00:03 +01:00
  • 3c85cef46c cleanup SDL_RegisterApp - fix memory leak when RegisterClassEx fails - set style according to the documentation - eliminate duplicated SDL_Instance setter pionere 2022-01-17 09:58:16 +01:00
  • 0af391cbe9 build with Release config on push and pull_request pionere 2022-01-15 17:07:20 +01:00
  • ff2d62d89f dlopen is not a subsystem pionere 2022-01-15 12:27:25 +01:00
  • a633a3c33e add audio/video dummies if nothing else available II. pionere 2022-01-13 09:33:20 +01:00
  • 398f9a0e40 fix have_audio/video flags, add uikit to SUMMARY_video in configure pionere 2022-01-13 09:32:41 +01:00
  • fa8075c4fc add audio/video dummies if nothing else available pionere 2022-01-12 17:21:06 +01:00
  • 39c723fc9c fix HAVE_SDL_VIDEO flag of CMakeLists.txt [IOS OR TVOS] pionere 2022-01-12 17:18:37 +01:00
  • 3dba2a73f1 fix HAVE_SDL_AUDIO flag of CMakeLists.txt II. pionere 2022-01-12 17:17:48 +01:00
  • 014e2bbdb2 use SDL_COMPILE_TIME_ASSERT instead of SDL_STATIC_ASSERT pionere 2022-01-12 16:40:52 +01:00
  • 3936af99d8 fix HAVE_SDL_AUDIO flag of CMakeLists.txt pionere 2022-01-12 16:31:00 +01:00