Commit Graph

  • b5f1fe5004 cmake: Allow integers for SDL_ASSERTIONS + fix -DSDL_ASSERTIONS=0 Anonymous Maarten 2022-06-15 06:17:59 +02:00
  • 97711e99fe cmake: no need to explicitly add a depency (target_link_libraries does this implicitly) Anonymous Maarten 2022-06-15 18:57:13 +02:00
  • ad21c70408 cmake: fix CMP0072 warning by prefering GLVND Anonymous Maarten 2022-06-15 05:36:28 +02:00
  • c90e1ec3ef Remove redundant sizeof "size_t" check Yao Wei Tjong 姚伟忠 2021-08-15 21:51:31 +08:00
  • 12f9bcd2f4 Build tests for all CMake platforms on CI Cameron Cawley 2022-05-08 17:08:41 +01:00
  • f8ae3ef1eb wayland: use libdecor resize edge enums for libdecor takase1121 2022-06-15 22:01:59 +08:00
  • 163f669745 minor tidy-up to configury. Ozkan Sezer 2022-06-15 17:00:02 +03:00
  • 960b86dcb5 update SDL_render_d3d12.c after DPI scaling/highdpi support patch. Ozkan Sezer 2022-06-14 01:56:40 +03:00
  • 6d1dfc8322 cmake: make sure SDL2::SDL2 is always available Anonymous Maarten 2022-06-15 04:29:14 +02:00
  • 69df26a0d4 ci: test clang+MinGW on CI Anonymous Maarten 2022-06-15 03:51:46 +02:00
  • 32df5aeb3d Check result of FindLibraryAndSONAME before use Anonymous Maarten 2022-06-15 03:16:28 +02:00
  • 8a2c6b604c cmake: don't link to libibus (not needed, I think) Anonymous Maarten 2022-06-15 03:11:33 +02:00
  • c950018fe0 cmake: don't link to libdbus (see note in SDL_dbus.c) Anonymous Maarten 2022-06-15 03:07:41 +02:00
  • fb7c03ebb5 cmake: install LICENSE.txt Anonymous Maarten 2022-06-15 03:04:10 +02:00
  • afc350eeff cmake: do 's#set(SOURCE_FILES #list(APPEND SOURCE_FILES #g' Anonymous Maarten 2022-06-15 03:03:33 +02:00
  • ded6c22efb render: Corrected wrong SDL_memcpy() sizes for viewport, cliprect. Ryan C. Gordon 2022-06-14 14:09:13 -04:00
  • e427e80bfe wayland: Use the output descriptions from xdg-output when available Frank Praznik 2022-06-14 10:41:18 -04:00
  • 714502d373 minor windows warning fixes. Ozkan Sezer 2022-06-13 22:15:56 +03:00
  • e974985998 test: Add test coverage for surface size overflows Simon McVittie 2022-06-13 16:54:42 +01:00
  • 507ce36d80 video: Note unused SDL_surface creation parameters for removal in SDL 3 Simon McVittie 2022-05-10 10:35:06 +01:00
  • 535fdc3adc video: Detect and reject nonsense SDL_surface dimensions Simon McVittie 2022-05-10 10:34:41 +01:00
  • 8c9f7104e3 video: Harden calculation of SDL_surface pitch and size against overflow Simon McVittie 2022-05-10 10:33:54 +01:00
  • 6606ab8b56 Introduce EXTRA_TEST_LIBS variable for test-only libraries Anonymous Maarten 2022-06-13 18:35:32 +02:00
  • e99a7144ff Use list(APPEND EXTRA_LIBS) everywhere Anonymous Maarten 2022-06-13 18:04:51 +02:00
  • 851eecdf40 Don't add extra build linker flags to SDL2_static Anonymous Maarten 2022-06-13 18:04:10 +02:00
  • 63b3b9a558 Fix some typos in diagnostic messages Simon McVittie 2022-06-13 16:02:40 +01:00
  • c95edd9450 Fixed spacing Sam Lantinga 2022-06-13 06:36:39 -07:00
  • 33f8a4ddca Sync wiki -> header SDL Wiki Bot 2022-06-13 13:29:04 +00:00
  • 6258f2ef3f Fixed spacing Sam Lantinga 2022-06-13 06:27:01 -07:00
  • 7321537971 cmake: Fix static linking to dependencies with "-" in library name Simon McVittie 2022-06-13 11:51:41 +01:00
  • bdf141335c autotools: fixed d3d12 detection result report. Ozkan Sezer 2022-06-12 23:22:20 +03:00
  • 9a0367675f windows: Get better name for the physical display, for Vista and later. Ryan C. Gordon 2022-06-12 15:28:49 -04:00
  • 1963cccce1 CMake: Fix XCode CMake config file. (#5787) Pierre Wendling 2022-06-12 09:48:57 -04:00
  • b84ce0d484 Fix typo Matthew Morrison 2022-06-11 20:07:26 -05:00
  • fd8cafc72e Rename variables in SDL_egl.c to be more intuitive Cameron Cawley 2022-06-11 17:11:55 +01:00
  • e09551bc80 Fix WinRT build Eric Wasylishen 2022-06-09 02:22:21 -06:00
  • 2830895740 testgles2.c: refresh cached SDL_GL_GetDrawableSize() on SDL_WINDOWEVENT_SIZE_CHANGED, not SDL_WINDOWEVENT_RESIZED Eric Wasylishen 2022-06-08 23:49:05 -06:00
  • ab81a559f4 Windows DPI scaling/highdpi support Eric Wasylishen 2022-06-07 02:01:27 -06:00
  • df36f926fc testautomation: add video_setWindowCenteredOnDisplay test Eric Wasylishen 2022-06-05 14:44:30 -06:00
  • 448e05e3c8 add DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED define Eric Wasylishen 2022-06-05 12:51:57 -06:00
  • 1b797957c1 SDL_windowsvideo.c: add HIGHDPI_DEBUG ifdef, print DPI awareness at startup if defined Eric Wasylishen 2022-06-05 12:36:58 -06:00
  • 1488c40812 WM_DPICHANGED: remove some dead code, add comment Eric Wasylishen 2022-06-05 12:01:32 -06:00
  • 60ef11b3cb Fix Watcom compile errors Eric Wasylishen 2022-06-03 00:21:36 -06:00
  • d3b970d4d5 HighDPI: remove SWP_NOSIZE in WIN_SetWindowPosition Eric Wasylishen 2022-05-29 21:56:37 -06:00
  • 51ebefeeee Support PMv2 DPI awareness, add SDL_HINT_WINDOWS_DPI_AWARENESS Eric Wasylishen 2022-02-28 00:43:43 -07:00
  • 81d3adddbf events: Fix spurious early returns from SDL_WaitEvent()/SDL_WaitEventTimeout() Cameron Gutman 2022-06-11 12:59:33 -05:00
  • b3260e7eb3 Remove macro definition for SDL_ERRBUFIZE Nhalrath 2022-06-11 23:34:20 +08:00
  • 4a3277b0f9 wayland: Always commit window constraints before entering fullscreen Frank Praznik 2022-05-19 15:13:02 -04:00
  • 78698a0ba2 wayland: Use a separate frame callback for setting the surface damage region Frank Praznik 2022-05-17 12:37:16 -04:00
  • 146ea9b0e1 wayland: Only set the surface opaque region if EGL transparency is disabled Frank Praznik 2022-05-16 18:18:55 -04:00
  • a20516d4f3 wayland: Swap emulated mode dimensions in more cases Frank Praznik 2022-05-16 10:35:56 -04:00
  • e1c8350439 wayland: Add a hint to disable video mode emulation under Wayland Frank Praznik 2022-05-15 10:35:59 -04:00
  • e9d3dcea73 wayland: Unify integer and fractional output scaling Frank Praznik 2022-05-14 18:32:05 -04:00
  • 4fde7dd830 wayland: Refactor the Wayland mode emulation and viewport logic Frank Praznik 2022-05-14 14:42:52 -04:00
  • ce5763230b The backlight event is "change", not "add" or "remove" Sam Lantinga 2022-06-10 12:42:45 -07:00
  • 68544be44b Added support for the Nintendo Online controllers Sam Lantinga 2022-06-10 11:31:59 -07:00
  • b75cd2b36d x11: Force window back to expected size after SDL_SetWindowBordered. Ryan C. Gordon 2022-06-10 14:12:03 -04:00
  • 51db775442 updated windows watcom exports file after last commit. Ozkan Sezer 2022-06-10 06:23:20 +03:00
  • 9202df0472 Implemented SDL_GameControllerGetFirmwareVersion() for HIDAPI PS5 controllers Sam Lantinga 2022-06-09 18:11:34 -07:00
  • e5a3acd6bd ime: fcitx: Retrieve cursor position and selection Guldoman 2022-05-05 04:01:05 +02:00
  • dd7bed9ebc ime: ibus: Retrieve cursor position and selection Guldoman 2022-05-05 03:10:35 +02:00
  • d11702ce29 ime: wayland: Make use of SDL_TEXTEDITING_EXT Guldoman 2022-05-05 02:34:16 +02:00
  • 74bcc5a0a3 stdlib: Add SDL_utf8strnlen Guldoman 2022-05-05 02:23:05 +02:00
  • c7f4103807 Special case for k_eControllerType_XInputSwitchController in the raw input path Sam Lantinga 2022-06-09 13:47:29 -07:00
  • e6cb082232 Fixed the default mapping on Windows for the HORI Fighting Commander Sam Lantinga 2022-06-09 13:20:38 -07:00
  • 0a93ac1294 Work around the lack of clock() on PS Vita Cameron Cawley 2022-05-08 18:06:47 +01:00
  • 25367efcba Add missing library needed for locale functions on PS Vita Cameron Cawley 2022-05-08 17:36:22 +01:00
  • 6f69bbc541 D3D11: Fix SDL_TEXTUREACCESS_TARGET not working if SDL_HAVE_YUV was 0 chalonverse 2022-06-08 12:38:43 -07:00
  • 8303c5d0a3 Added missing SDL_zero for renderTargetViewDesc chalonverse 2022-06-08 12:37:36 -07:00
  • 6bd49fc00c revert mode changes from commit d58d637ac Ozkan Sezer 2022-06-08 21:58:10 +03:00
  • d58d637ac6 Added support for the Qanba Obsidian Arcade Joystick on Linux Sam Lantinga 2022-06-08 11:07:36 -07:00
  • 526f417587 updated configury to silence ac2.7x warnings with minor rearrangement. Ozkan Sezer 2022-06-08 20:51:04 +03:00
  • 51d6d60f11 Updated to autoconf 2.71 Sam Lantinga 2022-06-08 10:14:36 -07:00
  • e201f338d7 ci: enable CMake test for Emscripten Charlie Birks 2022-06-08 14:54:47 +01:00
  • 0fcfaf9e94 emscripten: use MAIN_THREAD_EM_ASM for the fb/cursor proxying Charlie Birks 2022-06-08 14:20:50 +01:00
  • b9c2ad8395 Added additional check for HAVE_D3D12_H and missing SDL_VIDEO_RENDER_D3D12 in SDL_config.h.cmake chalonverse 2022-06-07 22:19:58 -07:00
  • 298ad937c0 cmake: wrap SDL_STATIC_PIC in double quotes (aka never trust user input) Anonymous Maarten 2022-06-08 01:10:12 +02:00
  • ad272ac690 Set POSITION_INDEPENDENT_CODE property on SDL2 for CMake 3.0 Anonymous Maarten 2022-06-08 00:32:15 +02:00
  • e8d89ce28f < should be <= chalonverse 2022-06-07 16:31:27 -07:00
  • 7a335df9cf Updated CMakeLists.txt and configure.asc/script so that it checks for the required Windows SDK version before it enables the d3d12 renderer. Also fixed reported warnings in some builds. chalonverse 2022-06-07 16:11:25 -07:00
  • 5abd676917 Allow empty default values to the dep_option macro Anonymous Maarten 2022-06-07 04:28:55 +02:00
  • 2cc2260435 Fixed bug #5768 - SDL_RenderGeometry's software backend failed to render when texture coordinates are reversed Sylvain 2022-06-07 16:30:01 +02:00
  • 168b97ca32 Updated Xcode project with SDL_guid.c and controller_type.c Sam Lantinga 2022-06-07 00:33:59 -07:00
  • 7e71d08ab2 regenerated configure script. Ozkan Sezer 2022-06-07 04:02:50 +03:00
  • ef4e0e921a Sync wiki -> header SDL Wiki Bot 2022-06-07 00:44:04 +00:00
  • 4082821822 DirectX 12 Renderer (#5761) chalonverse 2022-06-06 17:42:30 -07:00
  • 63e12cf601 SDL_windows_main.c: replace CopyMemory() with SDL_memcpy() Ozkan Sezer 2022-06-06 22:55:56 +03:00
  • ec0204d243 x11: Don't use GetXftDPI() when XRandR can tell us the DPI per-output. Ryan C. Gordon 2022-06-06 14:38:26 -04:00
  • 61115aebd3 update dynapi after the loongarch support patch Ozkan Sezer 2022-06-06 19:29:56 +03:00
  • 7cd165e2d9 Sync wiki -> header SDL Wiki Bot 2022-06-06 15:51:04 +00:00
  • 50d8642fa3 Add optimiztion function with LSX in LoongArch yuanhecai 2022-06-06 20:18:38 +08:00
  • 17f63e53f8 Add loongarch support yuanhecai 2022-05-31 19:10:05 +08:00
  • 9703f23663 SDL_SetHintWithPriority: actually, this test is good. Ryan C. Gordon 2022-06-06 10:54:16 -04:00
  • 30cf26e089 Show the firmware version in testgamecontroller Sam Lantinga 2022-06-06 06:48:54 -07:00
  • 5f25a6ea78 Revert "SDL_SetHintWithPriority: better test if hint value has changed." Ryan C. Gordon 2022-06-06 09:36:20 -04:00
  • c391bdc160 SDL_SetHintWithPriority: better test if hint value has changed. Ryan C. Gordon 2022-06-06 09:31:35 -04:00
  • 55a07d91fa SDL_SetHintWithPriority: Allow setting NULL hints. Ryan C. Gordon 2022-06-06 09:30:43 -04:00
  • a236bf4f25 x11: Hook up display hotplug notifications. Ryan C. Gordon 2022-06-06 02:13:37 -04:00
  • 6b4bd5a759 test_harness: Report if zero tests to run. Ryan C. Gordon 2022-06-05 09:34:12 -04:00
  • 46624b4e1d Removed two distracting gcc-11 warnings Christoph Reichenbach 2022-06-05 06:53:15 +00:00