Log

Author Commit Date CI Message
Sam Lantinga 3adf6bac 2022-06-29T17:25:45 Merge commit 'f815580dde2de9667af5ca8b43f9590f2fac1aab' into main
Sam Lantinga d3b2e62e 2022-06-29T17:25:43 Merge commit 'd4e6047e3cc73698a0d6b3b4a2ce7b9b5e025b2f' into main
Sam Lantinga 302a863a 2022-06-29T17:25:41 Merge commit '7a02dcf3e662d2a087908a8b378872aee8c83587' into main
Sam Lantinga e022b12a 2022-06-29T17:25:39 Merge commit 'cddf095a16263734bef07cefbbac1a42bf70d171' into main
Sam Lantinga c2ba2e23 2022-06-29T17:25:37 Merge commit 'b6f1c91862ae5b260f80cca2968cd9baefe41523' into main
Sam Lantinga ca18ab00 2022-06-29T17:25:35 Merge commit 'cbd01874759dad39718e1496d241c4ae5eceaff1' into main
Sam Lantinga c75e780f 2022-06-29T17:25:33 Merge commit 'f25b4b27743d4b018393a3083e9d9061ab5ce07a' into main
Sam Lantinga 48f2d2f8 2022-06-29T17:25:31 Merge commit '6c536afdb7bdc9cece4152c7e1f9a18306976b46' into main
Sam Lantinga 241755f4 2022-06-29T17:25:30 Merge commit 'e4a80875519617775184e9f6be5ede51772850fa' into main
Sam Lantinga 9bc2021c 2022-06-29T17:25:28 Merge commit '972391763790134796a353487faeadd451ccc046' into main
Sam Lantinga d800f95d 2022-06-29T17:25:26 Merge commit '0a9a0a79e0a40a2843c1f6d33f7fa45bb1042fc0' into main
Sam Lantinga 2170301c 2022-06-29T17:25:24 Merge commit '3b191580c392b7a2f7ee7c8a586020817dc7dc05' into main
Sam Lantinga 21196f42 2022-06-29T17:25:22 Merge commit '314bb5a1ed1a90276597b9aefef225a7c5027845' into main
Sam Lantinga b733e38c 2022-06-29T17:25:20 Merge commit '7fd46ec581d45ec3fea3fcfe226bbc2ae824fc7c' into main
Sam Lantinga 3d10cc15 2022-06-29T17:25:18 Merge commit '84d69da4e173365ddfdfe0a77ac5bc79b25f1972' into main
Sam Lantinga a4c1cf73 2022-06-29T17:25:16 Merge commit '1f3ae75228e46d440e98bc13bbb8ffcfafcee920' into main
Sam Lantinga cc3563c7 2022-06-29T17:25:14 Merge commit 'b2f07d94d2627b57226543981c5210a3f7642f4e' into main
Sam Lantinga ebb191f3 2022-06-29T17:25:12 Merge commit 'ebe4f47f2b2e97deed78faa6c3e90ff51cd499a4' into main
Sam Lantinga e9908d84 2022-06-29T17:25:10 Merge commit '51c6488f97f98aa3d216092c01d9601008be0fbf' into main
Sam Lantinga af53db11 2022-06-29T17:25:08 Merge commit 'fa39f73552dc9dfd6a6a45aa499ac213f1907ef0' into main
Sam Lantinga dab3ba1f 2022-06-29T17:25:06 Merge commit '787dc260a8a788a0d2319fe76f7756e0bc607e03' into main
Sam Lantinga 892518f8 2022-06-29T17:25:04 Merge commit '76f40e2b3b685b18a7f8db64bf425d3c87ddc896' into main
Sam Lantinga b85118f5 2022-06-29T17:25:03 Merge commit 'ca30936314e1867c143475ea278988f82af95155' into main
Sam Lantinga 43f55e6f 2022-06-29T17:25:01 Merge commit '118a2189fb203dedc274848833b5431273cb1db5' into main
Sam Lantinga 02cbf8b7 2022-06-29T17:24:59 Merge commit 'bd49696133eded6f441b20391b5bb4376b3834d8' into main
Sam Lantinga 808edbcd 2022-06-29T17:24:57 Merge commit '6dcb2868b03b21a4cfacf0d5804ee07cfde0a0c7' into main
Sam Lantinga 88816d65 2022-06-29T17:24:55 Merge commit '78a37516593dbcedb2b0d1a5177f37c348dbb528' into main
Sam Lantinga 233e88f7 2022-06-29T17:24:53 Merge commit 'c61367c2731dca1e7ea0e881f69d96317c0aaaab' into main
Sam Lantinga 048da613 2022-06-29T17:24:51 Merge commit '965c16453785279d921b584c92f14bd0ef034730' into main
Sam Lantinga 4ff3d844 2022-06-29T17:24:49 Merge commit '3617691fe0cb3b29ffcdeb5567d85126de91ba15' into main
Sam Lantinga c01ad8e2 2022-06-29T17:24:48 Merge commit 'b3159714dbb1afe1de9a32e86f9ed8e40ae543af' into main
Sam Lantinga 7d0ce0f7 2022-06-29T17:24:46 Merge commit 'de409d2a816745b3eb02e780bc7af070a2cc8449' into main
Sam Lantinga 32764367 2022-06-29T17:24:44 Merge commit '2f321fb73c6408b368a20bb08bd08e6265e6ce38' into main
Sam Lantinga ec1ad6b2 2022-06-29T17:24:42 Merge commit '3b0c86a36fd97d4fddc8d025d0473a7a6c6de3ca' into main
Sam Lantinga 6b119926 2022-06-29T17:24:40 Merge commit '5f4e9fb9b3b53897cb9ed43791e2180a942b3377' into main
Sam Lantinga 3420751c 2022-06-29T17:24:38 Merge commit '485b1037b061edb4e9768b6f3b08c35454a621ce' into main
Sam Lantinga fe00c194 2022-06-29T17:24:36 Merge commit '3e1021239a29b377fec7af9b45cd49b5d42531ca' into main
Sam Lantinga f716a9a2 2022-06-29T17:24:34 Merge commit '4ad4fe67c7f832ec6e8e8a5c04b030691753f39a' into main
Sylvain f815580d 2022-06-28T13:09:38 Fix SIGSEV in SDL_error. Re-apply same pattern on this uncompiled code (see #5795)
Sylvain d4e6047e 2022-06-28T09:46:12 Fix SIGSEV in SDL_error (After removing the limit on the size of the SDL error message) (see #5795)
chalonverse 7a02dcf3 2022-06-27T18:47:18 Add note to GDK docs about XCurl.dll
Sourcery AI cddf095a 2022-06-27T05:00:43 'Refactored by Sourcery'
Sam Lantinga b6f1c918 2022-06-27T17:44:55 Fixed Watcom C build
Sam Lantinga cbd01874 2022-06-27T16:59:50 Removed the limit on the size of the SDL error message Also added SDL_GetOriginalMemoryFunctions() Fixes https://github.com/libsdl-org/SDL/issues/5795
Pierre Wendling f25b4b27 2022-06-27T16:57:21 Style: Flip `if` statement.
Pierre Wendling 6c536afd 2022-06-27T15:43:17 Fix C89 declaration for macOS modules. Since Clang 14, `-Wdeclaration-after-statement` is enforced on every standard.
Francisco Javier Trujillo Mata e4a80875 2022-06-24T16:43:20 Initial Audio driver
Brad Smith 97239176 2022-06-25T23:33:53 Use proper header for OpenBSD PPC CPU detection
SDL Wiki Bot 0a9a0a79 2022-06-27T17:20:12 Sync SDL wiki -> header
chalonverse 3b191580 2022-06-27T17:19:39 Windows GDK Support (#5830) * Added GDK * Simplfied checks in SDL_config_wingdk.h * Added testgdk sample * Added GDK readme * Fixed error in merge of SDL_windows.h * Additional GDK fixes * OpenWatcom should not export _SDL_GDKGetTaskQueue * Formatting fixes * Moved initialization code into SDL_GDKRunApp
Sylvain 314bb5a1 2022-06-27T14:45:14 Fixed bug #5850: Android EGL_BAD_ACCESS because of viewport command while turning the screen off/on.
Francisco Javier Trujillo Mata 7fd46ec5 2022-06-18T17:40:53 Initial PS2_Joystick implementation
Francisco Javier Trujillo Mata 84d69da4 2022-03-20T19:42:06 Initial SDL_ps2_main implementation
Francisco Javier Trujillo Mata 1f3ae752 2022-06-18T11:54:23 Add ps2_drivers dependency Fix CI
Ivan Epifanov b2f07d94 2022-06-26T15:53:13 Vita: create rendertarget color surface with same format as texture. Fixes #5844
unknown ebe4f47f 2022-06-26T19:04:25 Fixed __VA_ARGS__ in gcc when no args
unknown 51c6488f 2022-06-26T18:47:34 Add support for SDL_render_d3d12.c to compile in C++ mode
Anonymous Maarten fa39f735 2022-06-26T23:34:30 cmake: add generated files to a custom target (#5851) This way, headers are only generated once .
Ozkan Sezer 787dc260 2022-06-24T20:37:20 autotools: properly enable the version static assertions SDL doesn't use automake, therefore instead of AC_DEFINE_UNQUOTED manually add the defines to EXTRA_CFLAGS.
Anonymous Maarten 76f40e2b 2022-06-24T14:41:35 cmake: remove stray debug line
Anonymous Maarten ca309363 2022-06-24T14:41:06 cmake: check and use clock_gettime by default on android
Ryan C. Gordon 118a2189 2022-06-23T16:07:35 build-scripts/wikiheaders.pl: ignore the 'FrontPage' wiki pages.
hsdk123 bd496961 2022-06-23T08:18:44 cmake: use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR (#5834) * Update install directory to match generated https://github.com/libsdl-org/SDL/blob/main/CMakeLists.txt#L3122 Sets `SDL2Config.cmake` to `CMAKE_BINARY_DIR`, whereas the install file tries to find it from a different location. * cmake: use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR * ci: test SDL included as a cmake subproject Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com>
Anonymous Maarten 6dcb2868 2022-06-16T19:53:58 cmake: avoid use of possible non-available XEXT_LIB
Anonymous Maarten 78a37516 2022-06-16T16:38:58 cmake+ci: fix+test sdl2-config + sdl2.pc for all supported platforms
Anonymous Maarten c61367c2 2022-06-16T04:14:52 cmake: do list(APPEND SDLMAIN_SOURCES)
Anonymous Maarten 965c1645 2022-06-16T03:40:53 cmake: let cmake test script make use of the installed cmake scripts
Anonymous Maarten 3617691f 2022-06-16T03:37:05 cmake: install Android.mk files for ndk-build This allows including SDL2 with ndk-build using NDK_MODULE_PATH + import-module An install tree looks like: ``` `-- share |-- aclocal | `-- sdl2.m4 |-- licenses | `-- SDL2 | `-- LICENSE.txt `-- ndk-modules |-- SDL2 | `-- Android.mk |-- SDL2-static | `-- Android.mk |-- SDL2main | `-- Android.mk `-- SDL2test `-- Android.mk ``` The generated `/share/ndk-modules/SDL2/Android.mk` contains: ``` LOCAL_PATH := $(call my-dir) _IMPORT_PREFIX := $(LOCAL_PATH)/../../.. include $(CLEAR_VARS) LOCAL_MODULE := SDL2 LOCAL_SRC_FILES := $(_IMPORT_PREFIX)/lib/libSDL2.so LOCAL_CPP_FEATURES := rtti exceptions LOCAL_EXPORT_C_INCLUDES := ${_IMPORT_PREFIX}/include\ ${_IMPORT_PREFIX}/include/SDL2 include $(PREBUILT_SHARED_LIBRARY)` ```
Anonymous Maarten b3159714 2022-06-16T03:30:34 cmake: set HAVE_STATIC_PIC for correct summary
Anonymous Maarten de409d2a 2022-06-16T03:28:30 cmake: remove spurious UNIX_SYS in dep_option
Anonymous Maarten 2f321fb7 2022-06-16T03:27:52 cmake: disable UNIX_SYS by default for Android This force disables SDL_OSS, SDL_ALSA, SDL_JACK, SDL_ESD, SDL_PIPEWIRE, SDL_ARTS, SDL_NAS, SDL_SNDIO, SDL_LIBSAMPLERATE, SDL_RPATH, SDL_CLOCK_GETTIME and SDL_X11.
Wouter Wijsman 3b0c86a3 2022-06-23T01:14:56 Merge pull request #5835 from fjtrujy/psp/improveJoystickDriver [PSP] Improve Joystick driver
Anonymous Maarten 5f4e9fb9 2022-06-21T02:26:49 cmake: use add_custom_command to copy include files Otherwise, the make program would not rebuild when a header got changed
Anonymous Maarten 485b1037 2022-06-21T01:30:50 cmake: copy all headers to the build directory and exclusively use that
Anonymous Maarten 3e102123 2022-06-20T20:51:12 cmake: also add the recently-added include folder to the public interface
Anonymous Maarten 4ad4fe67 2022-06-20T20:47:21 cmake: install generated SDL_config.h The generated SDL_config.h recently changed location, so update the install.
Francisco Javier Trujillo Mata 2b41f497 2021-11-18T01:09:45 Improve Joystick removing semaphores
Francisco Javier Trujillo Mata c3a5e4aa 2022-06-22T00:54:03 Adding GetGamepadMapping to Vita Joystick driver
Ozkan Sezer 7adb08a7 2022-06-22T01:37:00 fixed SDL_BlitMap typedef redefinition errors
Ryan C. Gordon 12b371ee 2022-06-21T14:49:00 x11: Don't send diplay-add events for displays connected at init time. Reference Issue #4977.
Frank Praznik c11bdeeb 2022-06-21T13:28:14 wayland: Round fractional backbuffer sizes halfway away from zero Use SDL_lroundf() to round fractional backbuffer sizes halfway away from zero, as this is the rounding method recommended by the forthcoming Wayland fractional scaling protocol.
Ryan C. Gordon ff735b3c 2022-06-20T18:29:52 SDL_Surface: don't implicitly declare struct SDL_BlitMap. It's just an opaque type, but it's more clear to have it typedef'd outside the containing struct. Fixes #5828.
Anonymous Maarten d460000b 2022-06-20T19:29:13 cmake: use add_definitions for compatibility with cmake 3.0
Pieter-Jan Briers 9914e87f 2022-06-20T12:53:10 Also send DPI change when expected resize.
Pieter-Jan Briers af733c7a 2022-06-20T02:26:40 Fix DPI-raised SDL_WINDOWEVENT_SIZE_CHANGED with event callback. Move the sending of this event down so stuff like calling SDL_GL_GetDrawableSize() from a callback reports the new size instead of the old one.
Ozkan Sezer 2316e568 2022-06-19T11:32:10 SDL_windows.h: match WINVER value to _WIN32_WINNT.
Ozkan Sezer 22a29321 2022-06-19T11:32:10 tweak _WIN32_WINNT value for shellscalingapi.h present but no d3d12
Ozkan Sezer bdcdbfc7 2022-06-19T11:04:24 Enable D3D12 detection when using mingw-w64 with cmake too c.f.: autotools commit 59fb7acbf7af9d64a2d5432bb6677585a0ddd50a
Ryan C. Gordon 48a23296 2022-06-19T00:15:03 wikiheaders: Strip `[[wiki hyperlink]]` from See Also fields.
Sam Lantinga abe38bca 2022-06-18T13:08:58 Support SDL_AUDIODRIVER set to "dsound", which was used by SDL 1.2 Fixes https://github.com/libsdl-org/SDL/issues/5818
Ozkan Sezer a8d41b3b 2022-06-18T21:51:32 check for shellscalingapi.h presence instead of WINVER >= 0x0603
Sam Lantinga 5f6d0abe 2022-06-18T12:57:27 SDL_SendEditingText() has int parameters, so use that type for parameter calculation We might want to use ssize_t as @Guldoman suggested, but that's a larger internal API change, and still requires casting of the SDL_utf8strnlen() result. Fixes https://github.com/libsdl-org/SDL/pull/5821
Mathieu Eyraud 00b95e98 2022-06-18T16:59:35 Fix read of uninitialised variable If the condition (dbus->message_iter_get_arg_type(&sub) == DBUS_TYPE_STRING) is false, subtext is not initialised.
Alex Richardson d51a8f53 2022-06-18T14:25:11 cmake: freebsd: Fix -Wformat warning during tests build Without using <inttypes.h>, SDL_PRIx64 will expand to llx, but on 64-bit FreeBSD platforms (u)int64_t is `(usigned) long`: SDL_test_memory.c:261:77: error: format specifies type 'unsigned long long' but the argument has type 'Uint64' (aka 'unsigned long') [-Werror,-Wformat] This commit updates config_minimal.h to also assume presence of inttypes.h for everything except old MSVC.
Sam Lantinga 12f14bdb 2022-06-18T07:02:38 Fixed digit count in sscanf, e.g. "%1x"
Sam Lantinga 90658975 2022-06-18T06:53:05 Added test for digit count in sscanf, e.g. "%1x"
Sam Lantinga 28ecdc6b 2022-06-18T06:52:46 No need to cast from char* to const char*
Sam Lantinga 53e30705 2022-06-18T06:52:16 List the available tests if the filter didn't match
Anonymous Maarten e7ad511b 2022-06-18T13:01:02 cmake: fix location of include dir for SDL2 VC sdk
Sam Lantinga eb7e29a8 2022-06-17T17:43:14 Fixed crash when the joystick product name isn't available