Commit Graph

  • 4e784fce43 When updating grab state, only activate windows that are grabbed, fullscreen, and shown. Sam Lantinga 2022-03-17 16:57:33 -07:00
  • e5f45455c9 Added a hint to mark a foreign window as usable with OpenGL Sam Lantinga 2022-03-17 14:44:34 -07:00
  • 4e49b78a11 Fixed compile warning and comment typo Sam Lantinga 2022-03-17 14:44:17 -07:00
  • 0bf8ccfb60 video: Add a hint to allow Vulkan surfaces on foreign windows Ethan Lee 2022-02-08 22:15:11 -05:00
  • ecaa22cbe6 Don't warn if anyone peeps for events after quitting the event subsystem Sam Lantinga 2022-03-17 14:22:51 -07:00
  • 3318590796 Fix relative mouse input for Unvanquished (unvanquished.net) Antoine Fontaine 2022-03-09 17:02:32 +01:00
  • 829e15a490 Ignore unknown WM_SIZE types. Esme Povirk 2022-02-05 14:38:39 -06:00
  • a164c9d245 SDL_cocoawindow.m: update fullscreen toggle when SDL_SetWindowResizable called uyjulian 2022-01-04 10:43:34 -06:00
  • cc152103ba Fixed warnings when building with cygwin Sam Lantinga 2022-03-17 11:37:08 -07:00
  • e8c3ff56e0 Removed problematic call to ISensor_SetEventSink() Sam Lantinga 2022-03-17 10:01:13 -07:00
  • bcb0f1de23 Fixed build when events are disabled Sam Lantinga 2022-03-17 08:52:31 -07:00
  • 01bfde4520 simplify SetDSerror - no need to keep the error in a static variable - always print the error code - reduce the required stack-size - reduce the number of snprintf calls (and code size) pionere 2022-03-17 12:22:18 +01:00
  • 01663238dc testplatform.c: move static asserts out of TestTypes(). Ozkan Sezer 2022-03-17 14:56:50 +03:00
  • f0d2747df1 use _Static_assert for SDL_COMPILE_TIME_ASSERT(), when available Ozkan Sezer 2022-03-17 14:56:04 +03:00
  • dfbe1f7248 SDL_GetBasePath() fixes for OS/2 Ozkan Sezer 2022-03-17 03:50:02 +03:00
  • b2db570ce9 SDL_triangle_blit_slow: sync code with SDL_blit_slow to handle ARGB2101010 Sylvain 2022-03-16 18:09:40 +01:00
  • 93e7caab9a SDL_blit_slow: remove one nested 'if()' because of ARGB2101010 handling Sylvain 2022-03-16 18:08:20 +01:00
  • 56568ffb38 Remove 'reserved identifier' warning Sylvain 2022-03-16 18:04:40 +01:00
  • 1c1f5c180f imported two libtool mainstream commits 28fbcb6a and b55b1cc8 Ozkan Sezer 2022-03-16 17:15:20 +03:00
  • 2c6a9c5194 minor optimization (SDL_audiocvt.c) pionere 2022-03-16 09:36:43 +01:00
  • 85dff3e453 emscripten: obey enable-misc/SDL_MISC settings pionere 2022-03-16 08:58:52 +01:00
  • 123b9aaa41 Adjust gradle dependencies to enable the build to position assets for the APK staphen 2022-03-15 23:34:27 -04:00
  • 5905696e66 SDL_audiocvt.c: minor cleanup. Ozkan Sezer 2022-03-15 23:10:04 +03:00
  • 61a93d3c46 minor whitespace cleanup. Ozkan Sezer 2022-03-15 23:10:02 +03:00
  • d1e4367f58 SDL_windowskeyboard.c: fix build with SDL_DISABLE_WINDOWS_IME defined. Ozkan Sezer 2022-03-15 21:41:02 +03:00
  • 1ee196b483 INSTALL.txt: Say "macOS" instead of "Mac OS X" in modern times. Ryan C. Gordon 2022-03-15 13:07:34 -04:00
  • 90b13e1488 Merge remote-tracking branch 'refs/remotes/origin/main' Sylvain 2022-03-15 17:50:57 +01:00
  • c44966b78b Fixed bug #2691 - re-enable surface_testCompleteSurfaceConversion for ARGB2101010 Sylvain 2022-03-15 17:48:38 +01:00
  • f3e86b9fd3 Fixed bug #2199: make SDL_blit_slow handles SDL_PIXELFORMAT_ARGB2101010, storing as RGBA Sylvain 2022-03-15 17:46:12 +01:00
  • 67848b6531 Fix name of macOS platform and link to README file Sam Lantinga 2022-03-15 09:25:01 -07:00
  • 3bebdaccb7 METAL: clip rect w/h must be <= render pass Sylvain Becker 2022-03-15 10:37:17 +01:00
  • 7c421fec16 SDL_audiocvt.c: Don't byteswap 8-bit streams Wohlstand 2022-03-14 05:55:41 +03:00
  • 363c36781d Fixed: Incorrect assumption that mouse button is released when window is allocated Zach Reedy 2022-03-10 17:12:33 -05:00
  • 7495b98141 Make SDL_VIDEO_OPENGL_EGL optional on Android Guus Waals 2022-03-11 15:14:51 +01:00
  • 0ad606b48d Android: add comment to set render target to NULL when going to background (bug #4041) Sylvain 2022-03-14 10:43:18 +01:00
  • ecc1c871e6 SDL_endian.h: use endian predefs from newer gcc and clang versions. Ozkan Sezer 2022-03-14 10:10:40 +03:00
  • ee6bfcdd66 SDL_blit_N.c: removed duplicated const (fixes bug #5401) Ozkan Sezer 2022-03-13 20:56:42 +03:00
  • 3ab739afff cmake: Make test code use proper C main functions. Ryan C. Gordon 2022-03-13 12:10:52 -04:00
  • 072db7b005 SDL_windowskeyboard.c (IME_IsTextInputShown): remove unused local vars. Ozkan Sezer 2022-03-12 01:56:40 +03:00
  • 229297d97f Sync wiki -> header SDL Wiki Bot 2022-03-11 22:47:04 +00:00
  • d14a126383 IME Composition Truncation + SDL_IsTextInputShown + SDL_ClearComposition (#5398) Zach Reedy 2022-03-11 17:45:17 -05:00
  • 9de97e19cc emscripten: Don't prevent default on filtered key events Charlie Birks 2020-12-01 12:46:59 +00:00
  • afb0606f5a minor os/2 clean-ups. Ozkan Sezer 2022-03-10 18:50:10 +03:00
  • 50575aa184 Makefile.os2: fixed setting OS2DEBUG in CFLAGS. Ozkan Sezer 2022-03-10 18:50:10 +03:00
  • 677dc1015c rawinput: Fix double detection of gamepads on some 3rd party X360 wireless receivers Cameron Gutman 2022-03-09 19:43:29 -06:00
  • bf69868924 reduced a few ifdefs, fixed an unused warning if built w/o SDL_HAVE_YUV. Ozkan Sezer 2022-03-10 01:55:04 +03:00
  • 01d38e7ade Make Win32 fullscreen and borderless windows minimizable Jo Bates 2022-03-09 14:03:52 -08:00
  • 09b652b70a Make sure the string properties are actually strings (thanks Nat!) Sam Lantinga 2022-03-09 13:54:23 -08:00
  • c6eef542ab Removed dead code Sam Lantinga 2022-03-09 13:48:31 -08:00
  • 911ba8d343 hide impossible branch in D3D_UnlockTexture pionere 2022-02-05 12:30:45 +01:00
  • ea5b482bff Remove unused warning Sylvain 2022-03-09 15:38:36 +01:00
  • 45833a148d Prevent shadowing static variable '_this' with local paramter '_this' of SDL_CreateWindowTexture Sylvain 2022-03-09 15:33:45 +01:00
  • a4a80c8607 Fix variable may be uninitialized when used here [-Wconditional-uninitialized] Sylvain 2022-03-09 15:21:55 +01:00
  • 04256a5372 Fix compilation (see #5313) Sylvain 2022-03-09 15:12:25 +01:00
  • 0983fcee5e fix memory leak in D3D11_CreateRenderer pionere 2022-02-05 12:28:37 +01:00
  • 3f8b450de2 extend the code hidden by SDL_HAVE_YUV pionere 2022-02-05 12:22:34 +01:00
  • ce1883e1e7 fix compile error with disabled SDL_HAVE_YUV (vita) - UpdateTextureYUV is not defined if SDL_HAVE_YUV is not defined/zero + calling SDL_free suffice if the VITA_GXM_RenderData was just allocated pionere 2022-02-05 12:12:21 +01:00
  • 14db417e12 Reenable getting the serial number on macOS Sam Lantinga 2022-03-08 21:32:27 -08:00
  • c3ca3445bd Prefer HIDAPI on macOS, as that has extended functionality Sam Lantinga 2022-03-08 18:56:49 -08:00
  • 6a787619e6 Allow reading background events for MFi controllers Sam Lantinga 2022-03-08 18:42:13 -08:00
  • b064ad6ac5 Allow GL_ARB_texture_non_power_of_two environment variable to override OpenGL 2.0 check Sam Lantinga 2022-03-08 18:14:10 -08:00
  • 1b7669374e Fixed the SDL controller type for USB_PRODUCT_XBOX_ONE_XINPUT_CONTROLLER Sam Lantinga 2022-03-08 09:58:24 -08:00
  • 41e7d1baa6 Add SDL_GetDisplayDPI implementation on Emscripten Mahyar Koshkouei 2022-03-06 23:02:57 +00:00
  • f03215bc70 fix linking with SDL_PULSEAUDIO_SHARED=OFF and SDL_X11_SHARED=OFF Nick Cao 2022-03-07 15:54:24 +08:00
  • b2463a917c events: Add logging support for several missing event types Cameron Gutman 2022-03-06 15:02:53 -06:00
  • bdafe1e049 Fixed whitespace Sam Lantinga 2022-03-04 11:01:55 -08:00
  • 2e801b1ae7 Split long text input into multiple events if needed (thanks @zreedy!) Sam Lantinga 2022-03-04 10:49:12 -08:00
  • 232c3556ac Sync wiki -> header SDL Wiki Bot 2022-03-04 17:30:05 +00:00
  • ae73ea9c07 Clarified documentation for the trigger rumble API Sam Lantinga 2022-03-04 09:27:46 -08:00
  • 13756b5c72 Add X1 and X2 button support to mouse test IOBYTE 2022-03-04 10:47:25 -05:00
  • 2f7b885df9 Fix 'potentially uninitialized local pointer variable' error in UWP builds Cameron Cawley 2022-02-28 16:30:34 +00:00
  • b7f8117d40 Build the standalone MSVC projects with GitHub Actions Cameron Cawley 2022-02-28 15:47:59 +00:00
  • 550b8377bc Combine the MSVC and UWP workflows Cameron Cawley 2022-02-28 14:50:37 +00:00
  • 98353533e5 riscos: Report keyboard repeat events Cameron Cawley 2022-02-23 18:54:31 +00:00
  • af40cb6f00 Added support for the Razer Huntsman Analog keyboard in controller mode Sam Lantinga 2022-02-23 15:49:10 -08:00
  • 669a7f8552 Sync wiki -> header SDL Wiki Bot 2022-02-23 16:18:05 +00:00
  • 4a43321c81 cmake: Fix bug #5361. Ozkan Sezer 2022-02-23 18:10:02 +03:00
  • 94d43186f2 GameCubeAdapter: Add suppport for all rumble modes This adds support for all 3 of the gamecube controller's rumble modes Rumble: 1 Stop: 0 StopHard: 2 This is useful for applications that need the full range of support This also adds a hint to control rumble behavior, defaults 0 to maintain compatibility Phillip Stephens 2022-02-22 00:41:15 -08:00
  • b946e31ec8 video: Allow unaccelerated SDL_HINT_FRAMEBUFFER_ACCELERATION renderers. Ryan C. Gordon 2022-02-23 09:10:46 -05:00
  • 60ddb74cfe video: rework how we prepare a texture framebuffer. Ryan C. Gordon 2022-02-02 12:19:37 -05:00
  • 08d27dfd7b SDL_openslES.c: Detect float support in runtime and use it Wohlstand 2022-02-22 15:27:30 +03:00
  • 293a0aa80e opengl: If GL version >= 2.0, NPOT textures are supported, so favor them. Ryan C. Gordon 2022-02-22 10:54:21 -05:00
  • 9299a3e796 Workaround for crash in CoUninitialize() Sam Lantinga 2022-02-21 16:24:45 -08:00
  • 978fbc3250 Fixed compile warnings Sam Lantinga 2022-02-21 12:02:44 -08:00
  • 6c531c4334 Correct handling of sentinel events when polling without removing events Sam Lantinga 2022-02-21 11:35:31 -08:00
  • d90bd261f3 wscons: Make USB keyboard input layout independent Cacodemon345 2022-02-16 13:26:10 +06:00
  • 9d86ec8573 Palette format: software Render Jitter in rotation (see #5143) - same fix applied for rotation with palette surfaces - allow other 8bits format (eg 332) Sylvain 2022-02-18 09:57:10 +01:00
  • ceb09ee740 Fixed #5143 - software Render Jitter in rotation better precision calculating rotated coordinates and interpolation Sylvain 2022-02-17 23:11:02 +01:00
  • 18032979d8 Added the hint SDL_HINT_JOYSTICK_ROG_CHAKRAM to control whether ROG Chakram mice show up as joysticks Sam Lantinga 2022-02-15 13:07:51 -08:00
  • 75ffa24e3a Software Render Jitter in rotation (bug #5143) The output surface doesn't necessarily to have even width and height. Sylvain 2022-02-15 13:35:59 +01:00
  • 61abc4e5b6 PSP: SDL_RenderCopyEx rotation and global scaling around the wrong way (see #bug 3070) Sylvain 2022-02-15 11:34:50 +01:00
  • 18b76fcc5d Fixed bug #3070 - SDL_RenderCopyEx rotation and global scaling around the wrong way (software renderer) Sylvain 2022-02-15 11:33:56 +01:00
  • e366ad1288 Fixed bug #2308: SDL_RenderCopyEx rotation center precision (software renderer) Sylvain 2022-02-15 10:02:34 +01:00
  • 66ee79bd68 [PSP] Don't swizzle streaming textures Wouter Wijsman 2022-02-14 10:59:25 +01:00
  • f97a29f6e1 Use the real device VID/PID when seeing the Steam virtual controller Sam Lantinga 2022-02-11 22:10:33 -08:00
  • 85e6500065 X11 Segmentation fault with multiple windows and renderers (see #5256) Sylvain 2022-02-11 11:08:08 +01:00
  • 4cb6181808 Do not build loadso test eboot for PSP Wouter Wijsman 2022-02-10 18:58:50 +01:00
  • a75041e8dd Fixed bug #2140: basic support to convert 16 colors palette PIXELFORMAT_INDEX4, to allow conversion to SDL_Texture Sylvain 2022-02-10 13:44:59 +01:00
  • abc8198a1f Render all sides when drawing rect on PSP Wouter Wijsman 2022-02-09 18:07:46 +01:00
  • 5b41844c75 Fixed bug #5322 - register virtual input devices as SDL_Touch device, fix compilation Sylvain 2022-02-09 09:50:41 +01:00