Log

Author Commit Date CI Message
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 22a29321 2022-06-19T11:32:10 tweak _WIN32_WINNT value for shellscalingapi.h present but no d3d12
Ozkan Sezer 2316e568 2022-06-19T11:32:10 SDL_windows.h: match WINVER value to _WIN32_WINNT.
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
Ryan C. Gordon 83b76617 2022-06-17T17:35:52 build-scripts/wikiheaders.pl: ignore "Category" wiki pages.
Ryan C. Gordon 20c622f0 2022-06-17T14:39:50 build-scripts/wikiheaders.pl: Allow a wiki preamble. This is so we can have everything in SDL_net (etc) start with a "This is not part of the core SDL API" message.
Sam Lantinga adc68758 2022-06-17T10:22:28 Added SDL_copyp to avoid size mismatch when copying values (thanks @1bsyl!) Closes https://github.com/libsdl-org/SDL/pull/5811
Sam Lantinga b0e827fb 2022-06-17T07:55:33 Enable improved rumble emulation on DualSense(tm) Wireless Controllers with firmware version 2.24 and newer
Anonymous Maarten b19099d5 2022-06-16T19:59:57 cmake: use find_package(SampleRate) to find samplerate + allow targets
Sam Lantinga 59fb7acb 2022-06-16T15:46:53 Enable D3D12 detection when using mingw-64
Sam Lantinga 1eb247fa 2022-06-16T15:44:18 Fixed building D3D12 renderer with latest mingw-64
Sam Lantinga b004133f 2022-06-16T12:49:17 Updated to version 2.23.1 for pre-release checkpoint
Wohlstand 68beedde 2022-06-16T22:16:11 SDLActivity.java: Compatibility fix for debugSource I did these fixes a while ago while debuggin my application, however, forgot to send them back.
Sam Lantinga 5c1b7f6e 2022-06-16T12:42:45 Added instructions for updating Makefile.w32 for release
Sam Lantinga 5d5488ca 2022-06-16T12:41:31 Fixed test/versioning.sh on macOS
Sam Lantinga 269fc1bd 2022-06-16T12:34:35 Added more details to WhatsNew.txt
Sam Lantinga a5949d7b 2022-06-15T23:00:28 Fixed crash on Windows These functions really are WINAPI
Sam Lantinga 16f55fbd 2022-06-15T20:44:43 Separate the controller protocol from the controller style This allows us to handle controllers that use the Xbox protocol but look like Nintendo Switch or Playstation controllers, like the Qanba Dragon Arcade Stick in PC mode
Ryan C. Gordon 94f60808 2022-06-15T23:25:36 wikiheaders.pl: changes to make this usable with external projects.
Sam Lantinga 017e2370 2022-06-15T17:32:46 Removed the Qanba Obsidian Arcade Joystick from the unknown controller list
Sam Lantinga a9cf313e 2022-06-15T17:28:29 Added the Qanba Obsidian and Dragon Arcade Sticks to the arcade stick list
Sam Lantinga bfe81a0c 2022-06-15T17:28:20 Added the name of the Qanba Obsidian Arcade Joystick in PC mode
Sam Lantinga a6a2cdbd 2022-06-15T17:28:18 Added the name of the Qanba Dragon Arcade Joystick in PC mode
Francisco Javier Trujillo Mata fc78d0ff 2022-06-16T00:36:52 Fix Compilation CI
Francisco Javier Trujillo Mata 6b03c1ad 2022-06-13T20:59:18 Add filesystem driver
Francisco Javier Trujillo Mata 52f00833 2022-06-13T20:58:18 Add Thread drivers
Francisco Javier Trujillo Mata 217d3a6d 2022-06-13T20:35:27 Add systimer support
Francisco Javier Trujillo Mata 7343ece8 2022-06-06T00:05:43 Define available PS2 RAM
Francisco Javier Trujillo Mata e4409f67 2022-06-06T00:05:20 Include SDL_Log driver
Francisco Javier Trujillo Mata f0a05ed4 2022-06-06T00:04:56 Add some PS2 flags
Francisco Javier Trujillo Mata 580416d3 2022-06-06T00:02:08 Initial CMake configuration
Francisco Javier Trujillo Mata 273d9e46 2022-06-06T00:00:45 Fix atomic support for PS2
Francisco Javier Trujillo Mata 161a316d 2022-06-05T23:52:53 Add PS2 readme
Francisco Javier Trujillo Mata 52f8d035 2022-03-20T18:51:37 Add PS2 CI config
Sam Lantinga 5b4f53bc 2022-06-15T14:26:47 Added SDL_memset.c and SDL_memcpy.c to Xcode project
Alex Richardson cd8f57ee 2022-05-29T10:38:56 cmake: freebsd: Don't REQUIRE libunwind.pc on FreeBSD FreeBSD includes the libunwind APIs in in the base system libgcc_s and does not install a .pc file for it. This change fixes the build on FreeBSD for me.
Anonymous Maarten ae7446a9 2022-06-15T20:48:54 stlib: Extract SDL_memcpy and SDL_memset to its own file respectively This is done such that we can disable LTO for these 2 functions when building with MSVC. This is due to a limitation of Link Time Code Generation (LTCG). Code generation might generate a new reference to memset after linking has started. The LTCG must make assumptions about where memset is defined which is normally the C runtime.
Sam Lantinga a5d338bd 2022-06-15T14:11:00 Added support for the Qanba Dragon Arcade Joystick (PS3) on macOS
Sam Lantinga 7d7c4830 2022-06-15T14:10:22 Use python3 for sort_controllers.py
Sam Lantinga 72fea0ed 2022-06-15T13:58:28 Added support for the Qanba Dragon Arcade Joystick
Pierre Wendling 6bd3e0b1 2022-06-15T15:58:48 Test: Check sqrt and atan against the epsilon. On i686-linux, the `sqrt_regularCases` and `atan_limitCases` tests would fail as the result was not precise enough.
Pierre Wendling 6a6e93bc 2022-05-21T23:11:40 Test: Add +/-0.0 tests to Acos.
Pierre Wendling 6b4b6d8e 2022-05-21T23:01:50 Test: Add Asin tests to math suite.
Pierre Wendling 43f6983a 2022-05-21T21:51:48 Test: Add Acos tests to math suite.
Pierre Wendling 95f6edb9 2022-05-21T20:07:14 Test: Refactor trigonometric tests into a helper. The precision test of these functions need a special helper, it can also be used for their arc functions down the line.
Pierre Wendling 3b9f47b8 2022-05-20T21:45:31 Test: Remove early return in pow test.
Pierre Wendling 6be430c7 2022-05-16T20:54:59 Test: Add Tan tests to math suite.
Pierre Wendling af79b46f 2022-05-16T20:34:07 Test: Add Sin tests to math suite.
Pierre Wendling b06eda55 2022-05-16T20:02:24 Test: Fix math suite build on Win32. The cosine precision test now uses an array of double and the result gets truncated instead of casted to signed int64.
Pierre Wendling adb445ea 2022-05-16T18:29:08 Test: Add Cos tests to math suite.
Pierre Wendling a864180c 2022-05-15T19:36:30 Test: Add float header for FLT_RADIX definition.
Pierre Wendling 7a55fa4e 2022-05-15T19:03:53 Test: Add Scalbn tests to math suite.
Pierre Wendling afd81237 2022-05-15T17:43:38 Test: Add Sqrt tests to math suite.
Pierre Wendling c389c32d 2022-05-15T17:00:12 Test: Change assertion type in range tests. Changes SDLTest_AssertPass(...) to SDLTest_AssertCheck(SDL_FALSE, ...) for failed assertions so the internal counter gets updated properly.
Pierre Wendling 5ecc75a4 2022-05-15T16:30:38 Test: Add Pow tests to math suite.
Pierre Wendling 6349ad73 2022-05-15T11:52:12 Test: Add Log10 tests to math suite.
Pierre Wendling 7041bbaf 2022-05-15T11:36:12 Test: Add Log tests to math suite.
Pierre Wendling dd30ff2e 2022-05-12T22:19:59 Test: Add Exp tests to math suite.
Pierre Wendling aacb5e17 2022-05-11T22:17:18 Test: Extract range test parameters into defines.
Pierre Wendling 75b9aab6 2022-05-11T22:04:28 Test: Add Fmod tests to math suite.
Pierre Wendling 0dbdf90e 2022-05-11T12:54:16 Test: Use SDLCALL in typedefs instead of ifdefs. Thanks to @sezero for the tip.
Pierre Wendling 2ec48b36 2022-05-10T22:55:41 Test: Fix OS/2 compilation in math suite.
Pierre Wendling 43c22e5d 2022-05-10T22:07:28 Test: Refactor math suite duplicate code. Many tests were using the same underlying routine, as such three helper functions were added: - A wrapper to test double -> double functions. - A wrapper to test (double, double) -> double functions, - A wrapper for range tests on double -> double functions.
Pierre Wendling 3d720ba3 2022-05-10T21:05:05 Test: Refactor math suites edge cases. Split infinity and zero checks in their own functions. The result of NAN tests is now logged. The SDL_TestCaseReference structure were renamed to be more explicit.
Pierre Wendling a530fc91 2022-05-09T22:56:44 Test: Add Copysign tests to math suite.
Pierre Wendling 48a406db 2022-05-06T14:32:50 Test: Add Fabs tests to math suite.
Pierre Wendling 2130dff0 2022-05-06T14:19:44 Test: Add Round tests to math suite.
Pierre Wendling 324b9615 2022-05-06T13:57:02 Test: Add Trunc tests to math suite.
Pierre Wendling b09266a4 2022-05-06T13:51:04 Test: Add Ceil tests to math suite.
Pierre Wendling 9eb09d23 2022-05-06T13:39:44 Test: Refactored and formatted math test suite.
Pierre Wendling 0f630e91 2022-05-04T21:37:40 Test: fix indentation in Makefile.in.
Pierre Wendling 4e3a26e2 2022-05-04T14:36:49 Test: Add math test suite to autotools.
Pierre Wendling e64acb61 2022-05-04T14:25:10 Test: Fix for-loop for OS/2 in math suite.
Pierre Wendling a3a852e9 2022-05-04T13:51:42 Test: Unrolled the array of cases in math suite. On OS/2, `INFINITY` is a `const double` which cannot be used to instantiate an array.
Pierre Wendling c23216bf 2022-05-04T13:20:09 Test: Removed static from local variables (Math). Static would break compilation on OS/2.
Pierre Wendling 6208ed86 2022-05-04T13:18:13 Test: Add math suite to Visual Studio solution.
Pierre Wendling 6646edf6 2022-05-04T13:10:41 Test: Fix Windows build for math suite.
Pierre Wendling d9ff6380 2022-05-04T12:51:13 Test: Add math test suite to Watcom Makefile.
Pierre Wendling 7389eba9 2022-05-04T12:49:25 Test: Fix C89 declaration and math include.
Pierre Wendling b3faebb8 2022-05-04T12:40:24 Test: Add Floor tests to math.
Pierre Wendling b72b5d0f 2022-05-04T12:39:49 Test: Add math automation test suite.
Pierre Wendling cee47a9e 2022-06-15T14:36:13 Test: Use inexact helper for log10 regular cases. On ARMv6, the result is not precise enough for this function.
Pierre Wendling a52b8580 2022-05-27T23:49:42 Test: Tidy up test descriptions and documentation. Test function documentation now lists the input(s) and expected output(s). Descriptions in TestCaseReference were updated.