|
145ad48c
|
2023-09-29T19:09:09
|
|
Allow the use of posix_spawn() instead of vfork/execlp()
Backport of #7041
Co-authored-by: elahav <elahav@users.noreply.github.com>
|
|
7d80e208
|
2023-07-05T13:52:37
|
|
emscripten: Add JS library dependencies using EM_JS_DEPS macro
See https://github.com/emscripten-core/emscripten/pull/19780
(cherry picked from commit 042243471fb7ecf6ba5e53f0ba35e825a8bb066a)
|
|
3f1fd5ab
|
2023-05-23T10:59:03
|
|
Updated source to match SDL function prototype style
|
|
0479df53
|
2023-01-09T09:48:21
|
|
Updated copyright for 2023
|
|
d0bbfdbf
|
2022-12-01T16:07:03
|
|
Clang-Tidy fixes (#6725)
(cherry picked from commit 3c501b963dd8f0605a6ce7978882df39ba76f9cd)
|
|
b8d85c69
|
2022-11-30T12:51:59
|
|
Update for SDL3 coding style (#6717)
I updated .clang-format and ran clang-format 14 over the src and test directories to standardize the code base.
In general I let clang-format have it's way, and added markup to prevent formatting of code that would break or be completely unreadable if formatted.
The script I ran for the src directory is added as build-scripts/clang-format-src.sh
This fixes:
#6592
#6593
#6594
(cherry picked from commit 5750bcb174300011b91d1de20edb288fcca70f8c)
|
|
fb0ce375
|
2022-11-27T17:38:43
|
|
Cleanup add brace (#6545)
* Add braces after if conditions
* More add braces after if conditions
* Add braces after while() conditions
* Fix compilation because of macro being modified
* Add braces to for loop
* Add braces after if/goto
* Move comments up
* Remove extra () in the 'return ...;' statements
* More remove extra () in the 'return ...;' statements
* More remove extra () in the 'return ...;' statements after merge
* Fix inconsistent patterns are xxx == NULL vs !xxx
* More "{}" for "if() break;" and "if() continue;"
* More "{}" after if() short statement
* More "{}" after "if () return;" statement
* More fix inconsistent patterns are xxx == NULL vs !xxx
* Revert some modificaion on SDL_RLEaccel.c
* SDL_RLEaccel: no short statement
* Cleanup 'if' where the bracket is in a new line
* Cleanup 'while' where the bracket is in a new line
* Cleanup 'for' where the bracket is in a new line
* Cleanup 'else' where the bracket is in a new line
(cherry picked from commit 6a2200823c66e53bd3cda4a25f0206b834392652 to reduce conflicts merging between SDL2 and SDL3)
|
|
f317d619
|
2022-07-01T13:59:14
|
|
Xbox GDKX support (#5869)
* Xbox GDK support (14 squashed commits)
* Added basic keyboard testing
* Update readme
* Code review fixes
* Fixed issue where controller add/removal wasn't working (since the device notification events don't work on Xbox, have to use the joystick thread to poll XInput)
|
|
c93e5520
|
2022-02-04T20:03:50
|
|
minor update to winrt/SDL_sysurl.cpp
from: https://github.com/microsoft/vcpkg/blob/master/ports/sdl2/0006-Update-SDL_sysurl.cpp.patch
|
|
15ebad6e
|
2022-01-22T13:31:11
|
|
emscripten: Implement SDL_OpenURL
|
|
120c76c8
|
2022-01-03T09:40:00
|
|
Updated copyright for 2022
|
|
fae70349
|
2021-11-23T10:33:12
|
|
Fix warnings: static, include, un-initialized vairables
|
|
d31251b0
|
2021-11-21T22:30:48
|
|
use SDL's functions version inplace of libc version
|
|
839ca0ea
|
2021-11-03T16:35:24
|
|
SDL_OpenURL (macOS): try to open path if the url cannot be opened (#4830)
* SDL_OpenURL (macOS): try to open path if the url cannot be opened
* SDL_OpenURL (macOS): use CFURLCreateWithBytes & LSOpenCFURLRef to correctly escape input
* fix type casting + indentation
|
|
d4e1b497
|
2021-08-01T09:15:26
|
|
unix: OpenURL: Move unsetenv above vfork
From the vfork manpage:
> The vfork() function has the same effect as fork(2), except that
> the behavior is undefined if the process created by vfork() either
> modifies any data other than a variable of type pid_t used to store
> the return value from vfork(), or returns from the function in which
> vfork() was called, or calls any other function before successfully
> calling _exit(2) or one of the exec(3) family of functions.
unsetenv is still called inside a child process, so it does not
influence the rest of the application.
|
|
9b7b9287
|
2021-07-31T23:28:41
|
|
Clear LD_PRELOAD so Chrome opens correctly when this application is launched by Steam
This fixes https://github.com/libsdl-org/SDL/issues/4565
|
|
e58a955e
|
2021-03-08T18:39:00
|
|
Deprecate dolcesdk
|
|
7c4d20cf
|
2021-02-12T23:57:43
|
|
Fix for dolcesdk
|
|
b52e9459
|
2021-01-29T01:26:13
|
|
Add support for open URL
|
|
265a1cc9
|
2021-01-05T15:50:02
|
|
use WIN_StringToUTF8W instead of WIN_StringToUTF8 where needed (#2)
cf. bug #5435.
- SDL_wasapi_win32.c (GetWasapiDeviceName): pwszVal is WCHAR*
- windows/SDL_sysfilesystem.c (SDL_GetBasePath, SDL_GetPrefPath)
- windows/SDL_sysurl.c (SDL_SYS_OpenURL): wurl is WCHAR*
- SDL_windowssensor.c (ConnectSensor): bstr_name is WCHAR*
- windows/SDL_systhread.c (SDL_SYS_SetupThread): strw is WCHAR*
|
|
9130f7c3
|
2021-01-02T10:25:38
|
|
Updated copyright for 2021
|
|
59022829
|
2020-10-11T17:32:32
|
|
riscos: Implement SDL_OpenURL()
|
|
46274269
|
2020-10-06T00:42:17
|
|
url: WinRT actually works now (and has been tested, hooray!).
|
|
fc05a696
|
2020-10-05T18:08:58
|
|
url: Attempt #23235 at WinRT support...
|
|
02addf13
|
2020-10-05T18:01:47
|
|
url: Another attempt at WinRT implementation.
|
|
7bec9df1
|
2020-10-05T16:10:10
|
|
url: Add to Xcode project files, iOS/mac fixes.
|
|
57e3003d
|
2020-10-05T15:47:47
|
|
url: Attempt at WinRT support.
|
|
566479c8
|
2020-10-05T15:37:37
|
|
url: ShellExecuteW returns an HINSTANCE, so deal with that more correctly.
|
|
ee56090d
|
2020-10-05T15:03:44
|
|
url: Cleanups and compiler warning fixes.
|
|
cc158f29
|
2020-10-05T14:36:37
|
|
url: removed "extern" from function declaration.
|
|
a3802cc5
|
2020-10-05T14:30:33
|
|
url: Patched to compile on C89 compilers.
|
|
0099e38a
|
2020-10-05T14:21:03
|
|
url: More win32 fixes.
|
|
1f4fecc5
|
2020-10-05T14:07:32
|
|
url: Patched to compile on Windows.
|
|
777d0f19
|
2020-10-05T14:06:25
|
|
url: patched to compile on macOS.
|
|
d068d05a
|
2020-10-05T14:01:08
|
|
url: Make sure Haiku's C++ implementation is flagged as 'extern "C"'
|
|
bf9fcb53
|
2020-10-05T14:00:08
|
|
url: The function is "SDL_Unsupported" not "SDL_Unimplemented"
|
|
2d82cf78
|
2020-10-05T13:59:03
|
|
url: put the Android bits in core/android
|
|
efd665e2
|
2020-10-05T13:56:45
|
|
Backed out changeset a43cb4e54949
Trying this a different way.
|
|
913aa610
|
2020-10-05T13:53:15
|
|
url: Include SDL_misc.h to get public function declaration.
|
|
5f688122
|
2020-10-05T13:52:52
|
|
url: patched to compile on Android.
|
|
84f1b950
|
2020-10-05T13:39:39
|
|
url: fixed wrong include.
|
|
77c9d73b
|
2020-10-05T11:30:33
|
|
Removed SDL_AndroidOpenURL, added SDL_OpenURL.
Still needs to be wired into Xcode and Visual Studio projects.
|