|
4ddf85b1
|
2022-05-30T14:31:05
|
|
Sync wiki -> header
|
|
195ca499
|
2022-05-25T10:46:06
|
|
include/SDL_video.h: You can google it.
This looks bad when reading Markdown as plain text, as one would do when
reading the headers directly.
|
|
7ce311be
|
2022-05-25T10:43:14
|
|
include/SDL_system.h: Fixed a link that was still hg.libsdl.org
|
|
a8e75487
|
2022-05-24T22:57:04
|
|
Sync wiki -> header
|
|
17976556
|
2022-05-24T18:26:05
|
|
Sync wiki -> header
|
|
e97b5062
|
2022-05-21T10:06:05
|
|
Need SDL_stdinc.h for _SDL_HAS_BUILTIN
|
|
626a3c5e
|
2022-05-21T09:58:39
|
|
Use _SDL_HAS_BUILTIN() instead of __has_builtin
|
|
1f48f8cd
|
2022-05-21T17:47:32
|
|
SDL_TriggerBreakPoint update using builtin instead of assembly versions if available
|
|
b0a27cb1
|
2022-05-19T19:45:24
|
|
Avoid unintended float -> double conversion in SDL_FRectEqualsEpsilon
Resolves: https://github.com/libsdl-org/SDL/issues/5691
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
9dfa000b
|
2022-05-18T20:20:03
|
|
Initial support for building for Windows with OpenWatcom
|
|
efa2e6a1
|
2022-05-19T18:55:02
|
|
SDL_thread.h: use SDL_ThreadFunction for SDL_CreateThreadWithStackSize
|
|
0cca71a8
|
2022-05-18T22:12:05
|
|
Use SDLCALL for callbacks in public APIs
|
|
8c5bda6a
|
2022-05-18T17:58:35
|
|
Vita: remove Vita-specific RWOps code
|
|
f0bc5c9c
|
2022-05-16T07:21:28
|
|
Added effects support for virtual controllers
|
|
5953422c
|
2022-05-16T03:52:04
|
|
Sync wiki -> header
|
|
bfac54b5
|
2022-05-15T20:33:28
|
|
Added the ability to specify which buttons and axes are present for virtual controllers
|
|
49ca8bf5
|
2022-05-16T03:03:04
|
|
Sync wiki -> header
|
|
94eeb587
|
2022-05-15T20:01:12
|
|
First pass at extending virtual controller functionality
Added the ability to specify a name and the product VID/PID for a virtual controller
Also added a test case to testgamecontroller, if you pass --virtual as a parameter
|
|
e0f3da49
|
2022-05-12T12:18:23
|
|
Remove unused SDL_ASSEMBLY_ROUTINES define
|
|
f93e8107
|
2022-05-12T07:39:04
|
|
Sync wiki -> header
|
|
6b9884d4
|
2022-05-12T09:36:49
|
|
Fixed bug #4213 - update documentation to reflect SDL2 behavior of SDL_RenderGetLogicalSize
|
|
9b75fa01
|
2022-05-11T18:31:34
|
|
N-Gage port: add changes from code reviews, overall cleanup (#5618)
* Add changes from code review by @ccawley2011, #5597, overall cleanup
* Update N-Gage README, minor cleanup and rephrasing
* Call SDL_SetMainReady() before calling SDL_main, return SDL_main instead of main
|
|
2c2cbbe6
|
2022-05-11T09:04:23
|
|
Fixed function reference for SDL_SIMDGetAlignment()
|
|
2f924020
|
2022-05-05T20:12:07
|
|
Add SDL_SCANCODE_CALL and SDL_SCANCODE_ENDCALL
|
|
2bc37362
|
2022-05-05T13:31:26
|
|
Add SDL_SCANCODE_SOFTLEFT and SDL_SCANCODE_SOFTRIGHT
|
|
f871c178
|
2022-05-10T17:32:24
|
|
macOS: remove dead code for supporting 10.6 at runtime.
|
|
8ab3ae98
|
2022-05-10T09:44:23
|
|
stdinc: Add a comment to clarify why inline functions are needed here
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
d35c737f
|
2022-05-07T21:38:48
|
|
macOS: change min supported OS from 10.6 to 10.7.
|
|
f661654f
|
2022-05-09T14:36:27
|
|
stdinc: Add overflow-checking add and multiply for size_t
This can be used to check whether untrusted sizes would cause overflow
when used to calculate how much memory is needed.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
cd7c2f1d
|
2022-05-03T15:16:11
|
|
Switch versioning scheme to be the same as GLib and Flatpak
For stable releases, this gives us the ability to make bugfix-only point
releases such as 2.24.1 if we want to, and distinguish between them
programmatically. For example, this ability could have been useful after
2.0.16 to fix Xwayland regressions, and after 2.0.18 to fix event loop
regressions.
For development releases, this gives us the ability to make multiple
prereleases during the same feature cycle, and distinguish between them
programmatically. For example, this would have been useful during 2.0.22
development, which went through three prereleases before reaching the
final release.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
ba6f9627
|
2022-05-03T13:17:41
|
|
Document SDL_VERSIONNUM as able to encode larger minor versions
Now that we've said this will be removed from SDL 3, we're free to use
any encoding that is compatible with existing SDL versions and will still
compare correctly for all SDL 2 version numbers. This allows the SDL 2
minor version to go beyond 1 digit, limited only by the size of
SDL_version.minor (which is 8 bits), making the largest possible version
number 2.255.99.
The patchlevel (micro version) is still limited to 2 digits.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
e0daa2a5
|
2022-05-03T13:08:38
|
|
Deprecate SDL_COMPILEDVERSION and SDL_VERSIONNUM, to be removed in 3.x
The encoding used in SDL_VERSIONNUM (e.g. 2.0.22 -> 2022) cannot
represent 2-digit minor versions without overflowing from the hundreds
digit into the thousands digit, which produces confusing version
numbers that will compare incorrectly when the major version is increased
to 3.
However, we can sidestep this problem by declaring that SDL_VERSIONNUM
will no longer be present in SDL 3, which means it only needs to be able
to represent SDL 2 version numbers losslessly.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
f9a5cf77
|
2022-05-03T13:05:02
|
|
Make SDL_VERSION_ATLEAST future-proof against larger version numbers
This comparison normally happens at compile-time, not at runtime, so
it doesn't matter if it isn't optimal. This avoids incorrect comparison
if the minor version in SDL_COMPILEDVERSION and SDL_VERSIONNUM has more
than one digit, which would cause it to overflow from the hundreds place
into the thousands place.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
b398a847
|
2022-05-03T23:21:10
|
|
Add SDL_FLOATWORDORDER for older ARM toolchains
|
|
db9e14e5
|
2022-01-31T13:55:37
|
|
disabled linux joystick debugging outputs and reverted unnecessary comment edit
|
|
3696e23d
|
2022-01-14T10:45:16
|
|
added hints SDL_HINT_LINUX_DIGITAL_HATS and SDL_HINT_LINUX_HAT_DEADZONES to control the new Linux hat handling; added define DEBUG_GAMEPAD_MAPPINGS to log messages when generating default gamepad mapings for Linux joysticks
|
|
fbd230bb
|
2022-05-03T17:51:49
|
|
Add support for the Nokia N-Gage (#5597)
* Add initial support for the Nokia N-Gage
* N-Gage: disable clipping for the time being, issue needs to be resolved later
* Move va_copy definition to SDL_internal.h
* Move stdlib.h include to SDL_config_ngage.h, much cleaner this way
* Remove redundant include, add HAVE_STDLIB_H
* Revert "N-Gage: disable clipping for the time being, issue needs to be resolved later"
This reverts commit 4f5f0fc36cc7f34fad05e45671dfa7b8dc32fd51.
* N-Gage: fix clipping issue by providing proper math functions
|
|
6150245d
|
2022-05-03T00:11:44
|
|
Add new verbosity level for logging of `SDL_SysWMEvent`s
Now logged only if SDL_HINT_EVENT_LOGGING is set to "3" or above.
|
|
829f6b3d
|
2022-04-30T11:32:04
|
|
These headers are system headers, not local headers
|
|
f8141970
|
2022-04-29T11:28:59
|
|
Document that SDL_MAX_LOG_MESSAGE is no longer meaningful
|
|
7d7ec9c9
|
2022-04-26T16:41:28
|
|
x11: Remove XVidMode and Xinerama support.
Fixes #1782.
|
|
e551384a
|
2022-04-26T14:54:14
|
|
Added functions to get the platform dependent name for a joystick or game controller
|
|
e9ff4fdd
|
2022-04-25T23:55:50
|
|
add SDL_bsearch
|
|
3dcfe860
|
2022-02-02T13:59:49
|
|
Add joystick battery event
|
|
fa29e2d7
|
2022-04-25T13:45:51
|
|
Updated to version 2.0.23 for development
|
|
0288de85
|
2022-04-22T14:24:10
|
|
SDL_Rect: Add \sa documentation block to SDL_FRect
|
|
fc944859
|
2022-04-20T05:46:45
|
|
SDL_Rect: Use a default epsilon in SDL_FRectEquals()
Add SDL_FRectEqualsEpsilon() for when more control over
equality test is required.
|
|
00feca27
|
2022-04-20T07:51:04
|
|
Add SDL_FLT_EPSILON.
|
|
c37090f9
|
2022-04-18T12:30:08
|
|
wayland: Add support for TOOLTIP/POPUP_MENU
|
|
c1336b21
|
2022-04-17T12:43:32
|
|
hints: Make SDL_VIDEODRIVER and SDL_AUDIODRIVER formal hints.
They were just environment variables before.
Fixes #5528.
|
|
9c2f46b0
|
2022-04-12T15:23:22
|
|
Wayland: Add SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR
This hint allows libdecor to be used even when xdg-decoration is
available. It's mostly useful for debugging libdecor, but could in
theory be used by applications which want to (for example) bundle their
own libdecor plugins.
|
|
505d6a4a
|
2022-04-08T18:18:56
|
|
Update version to 2.0.22 for release
|
|
6d7d142b
|
2022-04-08T18:10:38
|
|
Fixed typo
|
|
6dbca7c9
|
2022-04-06T20:48:41
|
|
Compile with recursive mutexes for emscripten
Emscripten actually does support recursive mutexes, so no need to use SDL's fake recursive code.
Background: #5428, #5479
|
|
c0bb39e5
|
2022-04-02T02:50:02
|
|
check for HAVE_ROAPI_H in cmake and autotools, and
update SDL_config_windows.h and SDL_config_winrt.h
|
|
8c542a35
|
2022-03-29T19:08:56
|
|
Desktop OpenGL 1.X/2.X PSVita Support
|
|
3425e995
|
2022-03-30T10:12:49
|
|
stdinc: SDL_COMPILE_TIME_ASSERT defines shouldn't have a semicolon.
|
|
96be9cdd
|
2022-03-27T21:48:09
|
|
Vita: add hint to select which touchpad generates mouse events
|
|
a60986ca
|
2022-03-27T19:03:54
|
|
Correct default structure packing on Windows ARM64
See issue #5454 for details
|
|
6d1c3cd6
|
2022-03-27T17:11:05
|
|
Sync wiki -> header
|
|
2591f7e3
|
2022-03-27T16:52:04
|
|
Sync wiki -> header
|
|
7ba4d24c
|
2022-03-27T16:49:05
|
|
Sync wiki -> header
|
|
7bc498d3
|
2022-03-27T09:12:12
|
|
direct3d: Implement missing blend operations.
This is only for Direct3D 9; Direct3D 11 already had this implemented.
Fixes #5375.
|
|
2a4e0f8f
|
2022-03-23T16:09:05
|
|
Sync wiki -> header
|
|
c23a7ad3
|
2022-03-23T17:07:56
|
|
Add SDL_RenderGetWindow() API to get the window associated with a renderer (#5440)
Add SDL_RenderGetWindow() API to get the window associated with a renderer
|
|
f782abe5
|
2022-03-22T09:52:52
|
|
hints: Added SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE.
Fixes #2349.
|
|
2b3c16eb
|
2022-03-20T23:17:14
|
|
Sync wiki -> headers.
|
|
d81fee76
|
2022-03-19T10:27:31
|
|
SDL_Rect: Added floating point versions of all the rectangle APIs.
Fixes #5110.
|
|
aef1e567
|
2022-03-18T17:30:05
|
|
Sync wiki -> header
|
|
40b7326b
|
2022-03-18T10:28:38
|
|
Added a note that SDL_RenderReadPixels() should be called before SDL_RenderPresent()
|
|
6c962177
|
2022-03-18T10:07:59
|
|
Added the hint SDL_HINT_MOUSE_RELATIVE_MODE_CENTER, controlling whether the mouse should be constrained to the center of the window or the whole window in relative mode.
For further info about the pros and cons, check out the discussion in https://github.com/libsdl-org/SDL/issues/5271
|
|
5ff42438
|
2022-03-17T17:39:46
|
|
Added a hint to capture the mouse when mouse buttons are pressed, defaulting on
Fixes https://github.com/libsdl-org/SDL/issues/5301
|
|
e5f45455
|
2022-03-17T14:44:34
|
|
Added a hint to mark a foreign window as usable with OpenGL
Fixes https://github.com/libsdl-org/SDL/issues/2942
|
|
0bf8ccfb
|
2022-02-08T22:15:11
|
|
video: Add a hint to allow Vulkan surfaces on foreign windows
|
|
f0d2747d
|
2022-03-17T14:56:04
|
|
use _Static_assert for SDL_COMPILE_TIME_ASSERT(), when available
|
|
ecc1c871
|
2022-03-14T10:10:40
|
|
SDL_endian.h: use endian predefs from newer gcc and clang versions.
Closes: https://github.com/libsdl-org/SDL/pull/5403
|
|
229297d9
|
2022-03-11T22:47:04
|
|
Sync wiki -> header
|
|
d14a1263
|
2022-03-11T17:45:17
|
|
IME Composition Truncation + SDL_IsTextInputShown + SDL_ClearComposition (#5398)
* Fixes for IME Composition Truncation + Addition of SDL_ClearComposition, SDL_IsTextInputShown
* Fixed: Documentation and code style issues raised during code review.
|
|
232c3556
|
2022-03-04T17:30:05
|
|
Sync wiki -> header
|
|
ae73ea9c
|
2022-03-04T09:27:46
|
|
Clarified documentation for the trigger rumble API
Fixes https://github.com/libsdl-org/SDL/issues/5372
|
|
669a7f85
|
2022-02-23T16:18:05
|
|
Sync wiki -> header
|
|
94d43186
|
2022-02-22T00:41:15
|
|
GameCubeAdapter: Add suppport for all rumble modes
This adds support for all 3 of the gamecube controller's rumble modes
Rumble: 1
Stop: 0
StopHard: 2
This is useful for applications that need the full range of support
This also adds a hint to control rumble behavior, defaults 0 to maintain compatibility
|
|
18032979
|
2022-02-15T13:07:51
|
|
Added the hint SDL_HINT_JOYSTICK_ROG_CHAKRAM to control whether ROG Chakram mice show up as joysticks
This hint defaults off, but when it is enabled the mice will have a game controller mapping set up for Profile 3 (set in the Armoury Crate software)
|
|
67f12ede
|
2022-02-08T21:32:50
|
|
move bug #5333 fix to headers
|
|
580d2318
|
2022-02-08T10:37:04
|
|
Sync wiki -> header
|
|
34d4f5b1
|
2022-02-08T11:32:20
|
|
Fixed bug #2032: add SDL_GetTouchName to expose the driver name of the device (Thanks @mgerhardy!)
|
|
050a5e1a
|
2022-02-04T20:02:20
|
|
removed unused SDL_config_wiz.h
|
|
daea9fa1
|
2022-02-02T08:18:22
|
|
Remove SDL_config_psp and references
|
|
e1cf8d87
|
2022-02-01T16:58:05
|
|
Sync wiki -> header
|
|
4fa21dd6
|
2022-02-01T10:37:05
|
|
Sync wiki -> header
|
|
d46cc18a
|
2022-02-01T11:35:26
|
|
Fix function comment
|
|
61b6a2ca
|
2022-02-01T10:33:04
|
|
Sync wiki -> header
|
|
fe2ed6cf
|
2022-02-01T11:30:43
|
|
Fixed bug #5221 - Add SDL_AndroidSendMessage()
|
|
3939ef72
|
2022-01-19T17:23:53
|
|
cleanup SDL_GetAudioDeviceSpec
- drop unnecessary hascapture check
- call SDL_InvalidParamError and return -1 in case the index is out of range
- do not zfill SDL_AudioSpec
- adjust documentation to reflect the behavior
|
|
014e2bbd
|
2022-01-12T16:40:52
|
|
use SDL_COMPILE_TIME_ASSERT instead of SDL_STATIC_ASSERT
|
|
65e9415b
|
2022-01-10T17:00:32
|
|
sync handling of subsystems
- add DUMMY-define in case the subsystem is enabled but not available (filesystem/misc/locale)
- add missing PSP/VITA-filesystem defines
- sync the order of filesystems in SDL_config.h.cmake/in
- add option to disable locale subsystem in configure
|
|
998117b3
|
2022-01-09T16:00:22
|
|
add 'Misc' subsystem
|
|
942b01a5
|
2022-01-09T15:08:21
|
|
do not use RWOps in WIN_SetWindowIcon
|
|
739f350f
|
2022-01-08T12:35:52
|
|
add SDL_LOCALE_DISABLED to SDL_config.h
|
|
57bc9040
|
2022-01-07T08:54:08
|
|
Add hint to optionally forcibly raise the window under MS Windows.
|