Commit Graph

  • e2c8af3348 Fixed warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2). Sam Lantinga 2023-12-04 21:28:27 -0800
  • e4565f2440 Fixed warning C28251: Inconsistent annotation for 'SDL_LogMessageV_REAL': this instance has no annotations. Sam Lantinga 2023-12-04 21:26:49 -0800
  • dee7cf4495 Fixed warning C6340: Mismatch on sign: 'unsigned int' passed as _Param_(2) when some signed type is required in call to 'SDL_SetError_REAL'. Sam Lantinga 2023-12-04 21:25:50 -0800
  • 63b04df8c2 Fixed warning C33005: VARIANT '&valueX' was provided as an _In_ or _InOut_ parameter but was not initialized Sam Lantinga 2023-12-04 21:24:37 -0800
  • 983b31d449 Fixed analyzer warnings for SDL_string.c Sam Lantinga 2023-12-04 21:21:51 -0800
  • a5ec4ee7b0 Fixed warning C6340: Mismatch on sign: 'int' passed as _Param_(3) when some unsigned type is required in call to 'SDL_sscanf_REAL'. Sam Lantinga 2023-12-04 21:00:25 -0800
  • 4b630fca85 Fixed warning C26451: Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2). Sam Lantinga 2023-12-04 20:59:43 -0800
  • 5877ed1c7b Fixed warning C6340: Mismatch on sign: 'unsigned short' passed as _Param_(2) when some signed type is required in call to 'SDL_SetError_REAL'. Sam Lantinga 2023-12-04 20:58:58 -0800
  • 7f1170e056 Fixed warning C6386: Buffer overrun while writing to 'palette_saved_alpha': the writable size is 'sizeof(Uint8)*((palette_saved_alpha_ncolors))' bytes, but '2' bytes might be written. Sam Lantinga 2023-12-04 20:57:27 -0800
  • c967ebd876 Fixed warning C6326: Potential comparison of a constant with another constant. Sam Lantinga 2023-12-04 20:54:11 -0800
  • 6f06c84dca Fixed warning C6263: Using _alloca in a loop: this can quickly overflow stack. Sam Lantinga 2023-12-04 20:30:52 -0800
  • 08cf77d13f Fixed warning C6011: Dereferencing NULL pointer 'display'. Sam Lantinga 2023-12-04 20:35:14 -0800
  • 34a7110b1c warning C6340: Mismatch on sign: 'unsigned int' passed as _Param_(3) when some signed type is required in call to 'SDL_LogDebug_REAL'. Sam Lantinga 2023-12-04 20:32:50 -0800
  • 58c8fa3e72 Fixed warning C6031: Return value ignored: 'GetKeyboardState'. Sam Lantinga 2023-12-04 20:28:42 -0800
  • 4fce31aacc Fixed warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). Sam Lantinga 2023-12-04 20:25:18 -0800
  • fe43dd2f92 Fixed warning C28159: Consider using 'GetTickCount64' instead of 'GetTickCount'. Reason: GetTickCount overflows roughly every 49 days. Code that does not take that into account can loop indefinitely. GetTickCount64 operates on 64 bit values and does not have that problem Sam Lantinga 2023-12-04 20:22:23 -0800
  • 36d4b90295 Fixed warning C6255: _alloca indicates failure by raising a stack overflow exception. Consider using _malloca instead. Sam Lantinga 2023-12-04 20:15:42 -0800
  • 12eec7049c Fixed warning C26451: Arithmetic overflow: Using operator '<<' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '<<' to avoid overflow (io.2). Sam Lantinga 2023-12-04 20:01:15 -0800
  • d080e87e7d Fixed warning C6326: Potential comparison of a constant with another constant. Sam Lantinga 2023-12-04 19:57:21 -0800
  • 58b6c9b8b1 Fixed warning C6011: Dereferencing NULL pointer 'SDL_disabled_events[hi]'. Sam Lantinga 2023-12-04 19:45:54 -0800
  • 493bc52423 Fixed warning C28182: Dereferencing NULL pointer. 'streams[j]' contains the same NULL value as 'stream' did. Sam Lantinga 2023-12-04 19:43:41 -0800
  • a7a0a3f2dd Fixed warning C6031: Return value ignored: 'CLSIDFromString'. Sam Lantinga 2023-12-04 19:33:25 -0800
  • 489312b132 Fixed warning C26451: Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2). Sam Lantinga 2023-12-04 19:30:01 -0800
  • 6cfce101fb Don't call the property cleanup function if setting the property fails Sam Lantinga 2023-12-04 07:48:13 -0800
  • 14380ec48a Fixed signed/unsigned comparison warning Sam Lantinga 2023-12-03 14:56:21 -0800
  • ac0751a652 Added SDL_strnstr() Sam Lantinga 2023-12-03 14:42:28 -0800
  • 320454490a Added SDL_strnstr() Sam Lantinga 2023-12-03 14:42:28 -0800
  • 756c1a7b8c
    Added SDL_strnstr. Edgar Simo-Serra 2023-12-04 00:06:24 +0900
  • 7c71e72193 SDL_render: Call InvalidateCachedState to initialise some of driverdata values (eg '*_dirty' to 1). At the earliest place, immediatly after driverdata is set. (Doing it in SDL_render.c, after creation, would be too late, because there're renderers that already use/change those values in the CreateRender() function). Sylvain 2023-12-01 15:58:13 +0100
  • 058213366b Make sure we use alpha of 0 when clearing a transparent window with no content Sam Lantinga 2023-12-01 10:51:54 -0800
  • ecd56bb8f0 Removed SDL_GetErrorMsg(), trivially implemented in application code Sam Lantinga 2023-12-01 09:08:23 -0800
  • 66e532fa61 Handle out of memory errors without any allocation Sam Lantinga 2023-12-01 09:05:04 -0800
  • 579681a372 fixed SDL_SCANCODE_LEFT array position in scancodes_windows.h foobit 2023-11-30 18:44:20 -0500
  • 511eb062ad
    Log SDL_OutOfMemory without allocation Sylvain 2023-12-01 16:48:58 +0100
  • f9012bc8ab
    SDL_render: Call InvalidateCachedState to initialise some of driverdata values (eg '*_dirty' to 1). At the earliest place, immediatly after driverdata is set. (Doing it in SDL_render.c, after creation, would be too late, because there're renderers that already use/change those values in the CreateRender() function). Sylvain 2023-12-01 15:58:13 +0100
  • 675423f096 Sync SDL3 wiki -> header SDL Wiki Bot 2023-12-01 06:39:09 +0000
  • d0a5edfde7 fixed SDL_SCANCODE_LEFT array position in scancodes_windows.h foobit 2023-11-30 18:44:20 -0500
  • 757c984ddb gamecontroller: Backport 3.0 'type:' field to 2.0 Ethan Lee 2023-11-27 17:12:01 -0500
  • 744a29b88f
    WGI: Cleanup code a bit (#8647) Dimitriy Ryazantcev 2023-11-30 21:53:00 +0200
  • 61023740b4 fixup Dimitriy Ryazantcev 2023-11-30 21:35:22 +0200
  • a329f93fd5 Fix compilation Dimitriy Ryazantcev 2023-11-30 21:29:43 +0200
  • 882964548b
    video: Remove MMX codepath from SDL_BlitCopy. Ryan C. Gordon 2023-09-26 12:29:09 -0400
  • 79f03157fe Better error reporting Dimitriy Ryazantcev 2023-11-30 18:52:19 +0200
  • b77d4cf0b6 Move battery state update to the WGI_JoystickUpdate Dimitriy Ryazantcev 2023-11-30 18:51:53 +0200
  • 311e21b4a0 Remove unneeded vars Dimitriy Ryazantcev 2023-11-30 17:38:12 +0200
  • e4582e6edc Sync SDL3 wiki -> header SDL Wiki Bot 2023-11-30 15:22:19 +0000
  • df0fd55891
    wikiheaders.pl: README files are no longer in Windows endline format. Ryan C. Gordon 2023-11-30 10:10:04 -0500
  • 1072b6e86e
    docs: fixed typo Ryan C. Gordon 2023-11-30 10:08:23 -0500
  • 441e478de2 Use macro Dimitriy Ryazantcev 2023-11-30 16:56:53 +0200
  • 976636fab2 WGI: Cleanup code a bit Dimitriy Ryazantcev 2023-11-30 15:02:27 +0200
  • f184dea16c
    uikit: Patched to compile. Ryan C. Gordon 2023-11-30 00:27:17 -0500
  • 447b508a77
    error: SDL's allocators now call SDL_OutOfMemory on error. Ryan C. Gordon 2023-11-30 00:14:27 -0500
  • 61cd57d378 cocoa: Resync modifier keypressed on NSEventTypeFlagsChanged event. Ryan C. Gordon 2023-11-29 21:38:41 -0500
  • 70b65d4170 cocoa: Resync modifier keypressed on NSEventTypeFlagsChanged event. Ryan C. Gordon 2023-11-29 21:38:41 -0500
  • d1b831e232 include: Clarified documentation for two functions. Ryan C. Gordon 2023-11-29 15:56:26 -0500
  • daa38dc793 touch: Replace GetNumTouchDevices/GetTouchDevice with a single function. Ryan C. Gordon 2023-11-29 13:08:52 -0500
  • dd47da8a5c gamepad: Replace GetNumMappings/GetMappingByIndex with a single function. Ryan C. Gordon 2023-11-29 11:15:48 -0500
  • 60424bc967 cmake: allow hidapi to use libusb on Windows Anonymous Maarten 2023-11-29 22:08:09 +0100
  • 07ce412d99 hidapi_libusb: use SDL_wcscmp and SDL_wcslcpy from SDL Anonymous Maarten 2023-11-29 21:49:19 +0100
  • d3f967550f cmake: find libusb through LibUSB cmake module Anonymous Maarten 2023-11-29 21:47:05 +0100
  • c42880b4f0
    include: Clarified documentation for two functions. Ryan C. Gordon 2023-11-29 15:56:26 -0500
  • acbe6c2dd1
    touch: Replace GetNumTouchDevices/GetTouchDevice with a single function. Ryan C. Gordon 2023-11-29 13:08:52 -0500
  • c264b13543
    gamepad: Replace GetNumMappings/GetMappingByIndex with a single function. Ryan C. Gordon 2023-11-29 11:15:48 -0500
  • dfee3f9e92 render: Replaced SDL_RenderFlush with SDL_FlushRenderer. Ryan C. Gordon 2023-11-25 22:41:23 -0500
  • 4ebf3f1c6e
    render: Replaced SDL_RenderFlush with SDL_FlushRenderer. Ryan C. Gordon 2023-11-25 22:41:23 -0500
  • eef5c53668
    docs: Moved CREDITS and INSTALL to markdown format. Ryan C. Gordon 2023-11-29 12:31:27 -0500
  • f32575dfab
    docs: Convert everything to Unix-style endlines. Ryan C. Gordon 2023-11-29 11:19:31 -0500
  • c5daf8adb1 testcontroller: Don't query the mapping list until after they are available. Ryan C. Gordon 2023-11-29 10:33:31 -0500
  • 3d6c2c85cc Cleanup SDL scancode list Dimitriy Ryazantcev 2023-11-21 17:59:38 +0200
  • df05d5eff4 Fix scroll wheel handling in testmouse Cameron Cawley 2023-11-28 22:15:18 +0000
  • 564f9701fa Fix scroll wheel handling in testmouse Cameron Cawley 2023-11-28 22:15:18 +0000
  • 0134672345 cmake: copy sources to binary directory in separate target Anonymous Maarten 2023-11-28 23:03:30 +0100
  • 63d4bd4e57 SDL_SendKeyboardText: remove workaround from 1e12d7c, fix use of iscntrl Ozkan Sezer 2023-11-29 00:39:24 +0300
  • fea6e7afb1 cmake: copy sources to binary directory in separate target Anonymous Maarten 2023-11-28 18:49:01 +0100
  • 9faa7977bd UWP: Add support for supplementary Unicode characters input Dimitriy Ryazantcev 2023-11-27 17:23:17 +0200
  • 7b628ea4d5 Win32: Simplify Unicode text input code Dimitriy Ryazantcev 2023-11-27 16:15:24 +0200
  • 8f14dc6998 Corrected comment Sam Lantinga 2023-11-22 10:35:15 -0800
  • 3381828cc6 Fix 3DS Analog Values (#8581) zoeyjodon 2023-11-22 13:34:01 -0500
  • 411c70abb1 Fix the target membership of SDL_pen.h (thanks kanjitalk755!) Sam Lantinga 2023-11-28 12:20:43 -0800
  • be0e303ec8 document the purpose of SDL_SetTextInputRect shenleban tongying 2023-11-28 15:00:04 -0500
  • 3e6513c773 document the purpose of SDL_SetTextInputRect shenleban tongying 2023-11-28 15:00:04 -0500
  • 58961c82bf UWP: Add support for supplementary Unicode characters input Dimitriy Ryazantcev 2023-11-27 17:23:17 +0200
  • 727e713baf document the purpose of SDL_SetTextInputRect shenleban tongying 2023-11-28 15:00:04 -0500
  • ce4317ffec Win32: Simplify Unicode text input code Dimitriy Ryazantcev 2023-11-27 16:15:24 +0200
  • 1e12d7cfb6 Make sure we don't pass UTF-8 to SDL_iscntrl() Sam Lantinga 2023-11-28 11:38:35 -0800
  • 9a206adbee UWP: Use Windows.UI.Core.CoreDispatcher.AcceleratorKeyActivated event for keyboard Dimitriy Ryazantcev 2023-11-28 20:23:57 +0200
  • 309ea2d5f9 UWP: Simplify Win32 scan code to SDL scan code mapping Dimitriy Ryazantcev 2023-11-27 16:11:20 +0200
  • acc5bb89f8 [Win32] Better keyboard button mapping to SDL scan codes Dimitriy Ryazantcev 2023-11-21 14:07:18 +0200
  • 6b28065e9e Reformat Win32 scan code table Dimitriy Ryazantcev 2023-11-27 14:27:51 +0200
  • 7e86b6aef2 Win32: Fix keymap for keyboard layouts that can print UTF-16 surrogates and ligatures Dimitriy Ryazantcev 2023-11-22 15:44:53 +0200
  • 1ee1d2e54e Win32: Fix keymap for keyboard layouts that can print UTF-16 surrogates and ligatures Dimitriy Ryazantcev 2023-11-22 15:44:53 +0200
  • 546bab0a8c Fixed the GameCube HIDAPI controller mapping Sam Lantinga 2023-11-28 10:07:06 -0800
  • c8e6ec0afc UWP: Use Windows.UI.Core.CoreDispatcher.AcceleratorKeyActivated event for keyboard Dimitriy Ryazantcev 2023-11-28 20:23:57 +0200
  • 08c6ac1b16 test: SDLTest_PrintEvent now reports key event mod state. Ryan C. Gordon 2023-11-28 13:07:56 -0500
  • 98ee4a5292 Removed HIDAPI controller mappings Sam Lantinga 2023-11-28 09:54:35 -0800
  • d42fa25a9e test: SDLTest_PrintEvent now reports key event mod state. Ryan C. Gordon 2023-11-28 13:07:56 -0500
  • 571e9796b9 Fixed the GameCube HIDAPI controller mapping Sam Lantinga 2023-11-28 10:07:06 -0800
  • dd984dcd9f Removed HIDAPI controller mappings Sam Lantinga 2023-11-28 09:54:35 -0800
  • 3817f5126e cocoa: Use `-[NSApplicationDelegate applicationSupportsSecureRestorableState]`. Ryan C. Gordon 2023-11-28 12:24:33 -0500
  • 7d25a443c4 cocoa: Use `-[NSApplicationDelegate applicationSupportsSecureRestorableState]`. Ryan C. Gordon 2023-11-28 12:24:33 -0500