Commit Graph

  • 693558a894 testautomation_video: fix memory leak Sylvain 2023-03-24 09:37:04 +01:00
  • 8d3d4e523e Fix sdltest_randomAsciiStringWithMaximumLength() where it requests a string a size 0 seen with: ./testautomation --seed MILAFAP2AKVP3V4G --filter sdltest_randomAsciiStringWithMaximumLength Sylvain 2023-03-21 12:24:45 +01:00
  • 3ccfd361cb Fix video_getSetWindowPosition() that fail when checking events, because testautomation_events.c() didn't finish to poll all events before Sylvain 2023-03-21 12:11:57 +01:00
  • 5976b79c1c testautomation: create no window, so that testautomation_mouse.c::mouse_getMouseFocus() pass (more precisely, the last test, when the window is destroyed, focus window should report null) Sylvain 2023-03-20 21:43:24 +01:00
  • f30a182de2 Fix video_getSetWindowGrab(): need to raise the window, and wait for focus gained Sylvain 2023-03-20 12:34:36 +01:00
  • d4d26e0ddb testautomation_video: if SDL_SetWindowSize/Position isn't honored, we should check there is an event x11: send the events if various occasions Sylvain 2023-03-20 11:25:10 +01:00
  • 4b1378fe8e X11: fix size/position (test video_setWindowCenteredOnDisplay) this fix x11 backend to correctly pass video_setWindowCenteredOnDisplay() - get border values early (eg status bar) - wait for size/position change to get valid values Sylvain 2023-03-18 16:07:11 +01:00
  • 749f3ebd14 Fix arguments of SDL_BlitCopyMMX Anonymous Maarten 2023-03-24 02:17:40 +01:00
  • 586004e52a wikiheaders.pl: Manpages shouldn't use .BI sections, it looks bad. Ryan C. Gordon 2023-03-21 22:23:06 -07:00
  • 1b81ececd3 wikiheaders.pl: Fixed uninitialized value warning when run without arguments. Ryan C. Gordon 2023-03-21 21:56:34 -07:00
  • 0ef85873a2 fixed uninitialized warnings from gcc7, gcc8, and gcc9. Ozkan Sezer 2023-03-22 01:56:20 +03:00
  • 6760d54737 Sync SDL3 wiki -> header SDL Wiki Bot 2023-03-21 20:04:18 +00:00
  • f5a92092e1 SDL_intrin.h: workaround clang-cl failures when avx isn't enabled. Ozkan Sezer 2023-03-21 20:30:50 +03:00
  • 5d4d11f92f SDL_intrin.h: fixed typo in AVX2 checks. Ozkan Sezer 2023-03-21 20:22:20 +03:00
  • c30903882b cmake+tests: include SDL_build_config.h in select tests + add include paths Anonymous Maarten 2023-03-21 18:16:45 +01:00
  • 0bd5ce13db cmake: add underscore in SSE4_1 and SSE4_2 options Anonymous Maarten 2023-03-21 16:57:09 +01:00
  • 8eb673d43d cmake: fix typo from previous commit. Ozkan Sezer 2023-03-21 17:15:28 +03:00
  • 262b13431d testautomation_intrinsics.c (sse2): change _mm_store_pd to _mm_storeu_pd Ozkan Sezer 2023-03-21 14:56:56 +03:00
  • 7a54d363cf testautomation_intrinsics.c: correct call to check SSE4.1 presence. Ozkan Sezer 2023-03-21 14:56:50 +03:00
  • 6c9780720b cmake: added configuration options for AVX2, AVX512F, SSE4.1, and SSE4.2 Ozkan Sezer 2023-03-21 14:55:32 +03:00
  • feec1305c6 cmake: remove duplicate setting of HAVE_ASSEMBLY to TRUE Ozkan Sezer 2023-03-21 12:20:00 +03:00
  • 260bb1c661 SDL_intrin.h: fixed disabler macro name for SSE4.1 Ozkan Sezer 2023-03-21 12:18:20 +03:00
  • 5775d5e112 Add intrinsics test automation Anonymous Maarten 2023-03-19 07:13:46 +01:00
  • cb46cbe684 include: include intrinsics headers for RDTSC SSE4.1 and SSE4.2 Anonymous Maarten 2023-03-20 23:48:01 +01:00
  • 905b892314 cmake: simplify mmx/sse/sse2/avx compiler support detection Anonymous Maarten 2023-03-19 23:11:16 +01:00
  • 2e4ce78b33 tidy-up SDL_yuv.c Ozkan Sezer 2023-03-20 00:20:10 +03:00
  • 1dbe6447ee SDL_intrin.h: simplified MSVC preprocessor conditions. Ozkan Sezer 2023-03-19 20:56:24 +03:00
  • 6a9e2495f0 docs: add general information on how to build optimized binaries Anonymous Maarten 2023-03-18 17:48:33 +01:00
  • b5b9ddb205 SDL_intrin.h: define SDL_<simd>_INTRINSICS in user-visible header Anonymous Maarten 2023-03-18 17:15:37 +01:00
  • 41c693dc25 build fix for non-x86 targets. Ozkan Sezer 2023-03-17 21:45:45 +03:00
  • 79513afc19 build fixes to SDL_yuv.c Ozkan Sezer 2023-03-17 21:40:20 +03:00
  • 69de6964e5 use target attributes of gcc / clang for SIMD code. Ozkan Sezer 2023-03-17 20:57:40 +03:00
  • cd7a3f8af5 cmake: generate and install man pages Anonymous Maarten 2023-03-18 00:27:27 +01:00
  • 70edd54835 sdlwiki: SDL3 advises users to include through 'SDL3/SDL.h' Anonymous Maarten 2023-03-18 01:29:05 +01:00
  • 77b8edb5ad wikiheaders.pl: add --manpath argument Anonymous Maarten 2023-03-18 00:25:44 +01:00
  • 81ca9d61d6 cmake+test: add more automated tests + use properties Anonymous Maarten 2023-03-17 19:23:56 +01:00
  • 115460a930 torturethread: sleep a bit in SubThreadFunc to avoid starvation Anonymous Maarten 2023-03-17 20:58:01 +01:00
  • 6a9c692bb9 testsem: don't re-parse positional argument twice Anonymous Maarten 2023-03-17 19:13:54 +01:00
  • abfc2a01ca ci: disable parallel building for ps2 Anonymous Maarten 2023-03-17 17:51:43 +01:00
  • 38219e08d9 ci: increase memory size of vmactions workflow Anonymous Maarten 2023-03-17 17:39:08 +01:00
  • 773aad14f8 cmake: Fix building without libsamplerate library Anonymous Maarten 2023-03-19 21:24:51 +01:00
  • f360965db6 Fixed SDL_RenderSetVSync does not update flags if simulated vsync is on Ivan Mogilko 2023-03-18 00:39:02 +03:00
  • 24098b75b1 Fixed SDL_RenderSetVSync does not update flags if simulated vsync is on Ivan Mogilko 2023-03-18 00:39:02 +03:00
  • 519384d3b6 Added gamepad mapping for Flydigi Vader 2 with the latest firmware (6.0.4.9) Sam Lantinga 2023-03-16 20:01:45 -07:00
  • b01194345f Make mappings for "Retrolink SNES Controller" with SDL_GAMECONTROLLER_USE_BUTTON_LABELS both on and off Lokathor 2023-03-08 17:18:50 -07:00
  • 848cf421c9 Added mapping for the Xbox Elite Core controller connected via Bluetooth on Android Sam Lantinga 2023-03-06 15:36:49 -08:00
  • 1545b233a6 Fix Xbox One gamepad axis assignment on SDL_JOYSTICK_ANDROID API (#7405) divVerent 2023-03-06 18:33:18 -05:00
  • 46a3a8e88f Added mapping for DualSense Edge Wireless Controller on Linux Sam Lantinga 2023-02-27 15:19:34 -08:00
  • d8cb962f9f Sorted controller list Sam Lantinga 2023-02-10 17:18:02 -08:00
  • d4a9201b52 Add Hori Pokken Tournament DX Pro Pad Alfredo Escobar 2023-01-30 16:08:52 -03:00
  • 1f514f5e3e Sorted controller list Sam Lantinga 2023-02-05 08:43:26 -08:00
  • 1f5c590806 Added Elecom 8button gamepad Antonis Geralis 2023-02-05 10:35:53 +02:00
  • fb1a01a3dd Add Linux mapping for 8BitDo Pro 2 Wired Controller for Xbox Leonardo Brondani Schenkel 2023-01-04 13:46:01 +01:00
  • 106c0e6328 Adds Stadia BT mapping Alynne 2023-01-30 01:46:03 -05:00
  • 1fd1f7d565 Don't accept official mappings for controllers that aren't unique Sam Lantinga 2023-02-02 08:39:54 -08:00
  • 90e2e62691 Fixed sort_controllers.py and resorted game controller database Sam Lantinga 2023-02-02 08:38:22 -08:00
  • 3e5497777e Added gamepad mappings for the Xin-Mo Dual Arcade Fightstick Sam Lantinga 2023-02-01 23:09:53 -08:00
  • b57a6a1adf Added gamepad mapping for Flydigi Vader 2 with the latest firmware (6.0.4.9) Sam Lantinga 2023-03-16 20:01:45 -07:00
  • d78072fcd4 Fixed SDL_RenderSetVSync does not update flags if simulated vsync is on Ivan Mogilko 2023-03-18 00:39:02 +03:00
  • 08d5c1386e Fixed always on top windows on Windows Sam Lantinga 2023-03-17 10:36:43 -07:00
  • 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState Anonymous Maarten 2023-03-17 00:25:39 +01:00
  • 8bea41f737 testthread: parse arguments using SDLTest_CommonState + add arguments Anonymous Maarten 2023-03-16 23:47:35 +01:00
  • 64b739bc1e testlock: parse arguments using SDLTest_CommonState + extra arguments Anonymous Maarten 2023-03-16 16:56:16 +01:00
  • 4d86a83fa9 testver: don't allow any arguments Anonymous Maarten 2023-03-17 01:01:28 +01:00
  • 0268881e30 testspriteminimal: don't allow any arguments Anonymous Maarten 2023-03-16 22:47:11 +01:00
  • 08d5235da0 testintersections: check integer argument + no global done + get final tick before SDL shutdown Anonymous Maarten 2023-03-16 15:38:26 +01:00
  • 6e2851878f testhittesting: use SDLTest_Common for creating window(s) and renderer(s) Anonymous Maarten 2023-03-16 04:23:43 +01:00
  • 75da730a88 testfile: fix reference values Anonymous Maarten 2023-03-17 03:50:08 +01:00
  • ee13b74d59 testyuv: fix buffer overflow write Anonymous Maarten 2023-03-17 02:24:15 +01:00
  • 774e51627e SDL_test: fix infinite loop when passing invalid argument Anonymous Maarten 2023-03-16 23:31:06 +01:00
  • c52ad54b05 SDL_test: don't parse audio/video arguments when its subsystem is not enabled Anonymous Maarten 2023-03-16 01:03:00 +01:00
  • c8d4ca35ad SDL_test: always print common log usage, even without audio/video backend Anonymous Maarten 2023-03-16 01:02:33 +01:00
  • 08c85ebae0 SDL_test: introduce SDLTest_CommonDestroyState to only destroy SDLTest_CommonState Anonymous Maarten 2023-03-16 00:39:25 +01:00
  • 5109e19935 SDL_test: remove unused BuildCommonUsageString Anonymous Maarten 2023-03-16 00:04:02 +01:00
  • 9451d3079d dynapi: SDL_DYNAPI_entry must be in version script Anonymous Maarten 2023-03-17 05:54:01 +01:00
  • 446e0943da wasapi: Force WIN_CoInitialize duing device open. Ryan C. Gordon 2023-03-17 10:58:45 -04:00
  • 4286f463a8 testautomation_pixels: calling SDL_DestroyPixelFormat or SDL_DestroyPalette with NULL parameter doesn't generate an error Sylvain 2023-03-17 10:13:17 +01:00
  • e4be1247d0 Added a hint to retain window content during state changes Sam Lantinga 2023-03-16 20:43:07 -07:00
  • ed0937598e Added gamepad mapping for Flydigi Vader 2 with the latest firmware (6.0.4.9) Sam Lantinga 2023-03-16 20:01:45 -07:00
  • a776188d77 Don't change the Z order when moving or resizing windows Sam Lantinga 2023-03-16 17:19:38 -07:00
  • 9ee71f0ddf Added --skip-taskbar and --always-on-top command line options Sam Lantinga 2023-03-16 16:58:01 -07:00
  • 3f67f02d0e Fixed SDL_WINDOW_SKIP_TASKBAR on Windows Sam Lantinga 2023-03-16 16:56:46 -07:00
  • c7ab378c61 We don't need to track whether we were hidden by parent focus change Sam Lantinga 2023-03-16 14:11:41 -07:00
  • 76176c9845 Conversely, we shouldn't automatically show children when we get focus Sam Lantinga 2023-03-16 14:09:46 -07:00
  • 0cb7c4ba58 Don't hide popups when losing focus Sam Lantinga 2023-03-16 14:04:12 -07:00
  • 5da9e99da0 Fixed bug #7462 - 8888 as default GL backbuffer red/green/blue/alpha bit sizes Sylvain 2023-03-16 20:30:56 +01:00
  • f9ac7b4044 Fixed bug #7467 - testautomation_audio currently fails because of invalid src/dst rate Sylvain 2023-03-16 20:46:11 +01:00
  • 23bce27b26 Change SDL_BLENDMODE_MUL for gl renderers Add FIXME for PSP and DirectFB Sylvain 2023-03-16 09:49:15 +01:00
  • c078dfcf6b Refresh generation of SDL_blit_auto.c after simplifying sdlgenblit.pl Sylvain 2023-03-16 09:47:43 +01:00
  • 18c4db678b Simplify SDL_BLENDMODE_MUL in sdlgenblit.pl Sylvain 2023-03-16 09:47:34 +01:00
  • 7d26ba754a Simplify SDL_BLENDMODE_MUL Sylvain 2023-03-16 09:46:44 +01:00
  • bd70ce7f94 Refresh generation of SDL_blit_auto.c Sylvain 2023-03-16 09:43:38 +01:00
  • 899ee8f75a Change SDL_BLENDMODE_MUL for gl renderers Add FIXME for PSP Sylvain 2023-03-15 22:06:41 +01:00
  • b95b203116 Refresh generation of SDL_blit_auto.c after simplifying sdlgenblit.pl Sylvain 2023-03-16 09:35:23 +01:00
  • 41b8fee833 Simplify SDL_BLENDMODE_MUL in sdlgenblit.pl Sylvain 2023-03-15 21:37:36 +01:00
  • 99668c286b Simplify SDL_BLENDMODE_MUL Sylvain 2023-03-15 21:21:57 +01:00
  • ad1a216d65 Refresh generation of SDL_blit_auto.c Sylvain 2023-03-15 21:36:45 +01:00
  • 66eff69d2b Don't update hidden child windows, their relative position doesn't change Sam Lantinga 2023-03-16 11:23:46 -07:00
  • e6fe7273a5 Toggle menu visibility with the space bar Sam Lantinga 2023-03-16 11:02:58 -07:00
  • a8ea8db6d7 wayland: Update the popup window geometry on configure events Frank Praznik 2023-03-16 13:58:06 -04:00