Miku AuahDark
84c69d0f9f
gendynapi.py: Fix output line ending when running in non-cygwin Windows.
2024-05-04 08:11:07 -07:00
SDL Wiki Bot
7856c8fb8f
Sync SDL3 wiki -> header
2024-05-03 19:40:33 +00:00
Ryan C. Gordon
cf0b5db9e1
SDL_system.h: Improve window message hook documentation.
2024-05-03 15:37:11 -04:00
Ryan C. Gordon
a04abd78d3
SDL_filesystem.h: Add a `\sa` from SDL_GetUserFolder to SDL_Folder.
...
Reference https://github.com/libsdl-org/sdlwiki/issues/522
2024-05-03 15:24:06 -04:00
SDL Wiki Bot
27b931a8a0
Sync SDL3 wiki -> header
2024-05-03 18:11:35 +00:00
Semphris
06b9d88682
Add more links in SDL_dialog documentation
2024-05-03 11:10:03 -07:00
Ryan C. Gordon
77f4ffcc79
wikiheaders: Don't list SDL property `#define`s below functions.
...
They will still generate "please refer to" pages, though.
2024-05-03 13:19:27 -04:00
Ryan C. Gordon
a790a67883
include: Filling in more documentation gaps.
2024-05-03 13:19:26 -04:00
Ryan C. Gordon
92bd7d99dd
wikiheaders: Deal with multiline typedefs.
...
This happens more than once with function pointer typedefs.
Reference Issue #9440 .
2024-05-03 13:01:20 -04:00
Ryan C. Gordon
3473cef7df
surface: `SDL_blit` is not used in the public API, remove it from headers.
2024-05-03 12:57:09 -04:00
SDL Wiki Bot
7559acaf75
Sync SDL3 wiki -> header
2024-05-03 16:34:33 +00:00
Frank Praznik
3979ea8ed0
tests: Add a pointer warp test to testmouse
...
Press 'c' to center the pointer in the window using relative coordinates via SDL_WarpMouseInWindow().
Press alt+'c' to center the pointer in the window using global coordinates via SDL_WarpMouseGlobal().
2024-05-03 12:33:19 -04:00
Frank Praznik
3a6d9c59f4
wayland: Add mouse pointer warp support
...
The pointer confinement protocol does allow attempted warping the pointer via a hint, provided that the pointer is locked at the time of the request, and the requested coordinates fall within the bounds of the window.
Toggle the pointer locked state and request the pointer warp when the required protocol is available. This is similar to what XWayland does internally.
2024-05-03 12:33:19 -04:00
Sam Lantinga
22016228ca
Fixed build
2024-05-03 09:25:54 -07:00
Sam Lantinga
b18a071639
Removed SDL_DROPEVENT_DATA_SIZE and SDL_TEXTEDITINGEVENT_TEXT_SIZE
...
Fixes https://github.com/libsdl-org/SDL/issues/9681
2024-05-03 09:19:49 -07:00
Sam Lantinga
63979f04c8
Don't pass the sentinel event to event callbacks
...
This is just for internal use and we don't need to incur the overhead of calling callback and watchers for this event.
2024-05-03 09:00:41 -07:00
SDL Wiki Bot
a03829d636
Sync SDL3 wiki -> header
2024-05-03 13:59:29 +00:00
Ryan C. Gordon
31a45d7cb3
SDL_main.h: Document SDL_main.
2024-05-03 09:58:05 -04:00
Ryan C. Gordon
21c181b3b4
SDL_main.h: Minor documentation tweaks.
2024-05-03 09:48:27 -04:00
SDL Wiki Bot
e86f22b52b
Sync SDL3 wiki -> header
2024-05-03 13:42:29 +00:00
Ryan C. Gordon
d570fd7c2c
SDL_main.h: Document SDL_MAIN_USE_CALLBACKS.
2024-05-03 09:41:02 -04:00
SDL Wiki Bot
3bd04e5a34
Sync SDL3 wiki -> header
2024-05-03 13:32:31 +00:00
Ryan C. Gordon
3348d0caaf
wikiheaders: Deal with SDLMAIN_DECLSPEC functions.
2024-05-03 09:31:27 -04:00
SDL Wiki Bot
ab5b904890
Sync SDL3 wiki -> header
2024-05-03 03:27:33 +00:00
Ryan C. Gordon
0e0bb22f79
include: More documentation updates.
2024-05-02 23:25:45 -04:00
Ryan C. Gordon
46b69af5a3
SDL_vulkan.h: Remove Tizen compatibility typedefs.
...
Any app for this system that wants to move to SDL3 will have to adjust to
all the other API changes anyhow, so there's no need to keep these anymore.
Fixes #9678 .
2024-05-02 23:25:44 -04:00
SDL Wiki Bot
10c2682647
Sync SDL3 wiki -> header
2024-05-03 02:54:35 +00:00
Ryan C. Gordon
760d7d276b
include: Filled in some missing documentation.
2024-05-02 22:53:08 -04:00
Brick
1c6ba2a9ab
Disable SDL_DYNAMIC_API during __INTELLISENSE__
...
Stops visual studio showing multiple definitions for all the functions
2024-05-02 17:48:27 -07:00
Ethan Lee
7327fd734c
macOS: Do not use the system iconv by default.
...
macOS 14 changes the iconv implementation which causes things to break, so we may as well match macOS with all the other platforms now.
2024-05-02 17:42:36 -07:00
Sam Lantinga
db43a6b418
testcamera: open the camera using the highest framerate available
2024-05-02 12:27:20 -07:00
Sam Lantinga
d4dc613559
Allow specifying only some SDL_CameraSpec fields when opening a camera
...
This allows setting the size without format, or FPS without size, etc.
2024-05-02 12:25:39 -07:00
Sam Lantinga
861815e51d
Fixed camera FPS matching
2024-05-02 12:12:20 -07:00
Sam Lantinga
53bec8b7b7
Fixed updating NV12 textures when using the D3D11 render driver
2024-05-02 11:40:28 -07:00
Sam Lantinga
e6e1412e20
testcamera: create the texture as a streaming texture, since we'll update it every frame.
...
Also set the window size to the camera texture size
2024-05-02 11:40:28 -07:00
Sam Lantinga
eb26f439d8
Fixed crash when the graphics driver is upgraded while the renderer is running
2024-05-02 11:40:28 -07:00
Anonymous Maarten
a8526f5a19
cmake: disable documentation installation by default
2024-05-02 19:54:37 +02:00
Semphris
4ac8968f65
Fix improper handling of NULL dialog filter on Cocoa
2024-05-02 10:18:31 -07:00
Ryan C. Gordon
9f842e9b5a
wikiheaders: Bind `#define`s below a function to it, like typedefs.
...
This effectively adds the property symbols for various functions to the
function's wiki page.
2024-05-02 12:49:30 -04:00
Semphris
0178b19489
Add '/' to GetUserFolder(HOME) on Cocoa & Unix
2024-05-02 08:51:58 -07:00
Ryan C. Gordon
eb2c9e9235
wikiheaders: added `--report-coverage-gaps` to see what we aren't covering!
2024-05-01 19:58:21 -04:00
Frank Praznik
05c5b3398f
wayland: Clean up xdg_dialog objects with toplevel windows
2024-05-01 15:18:23 -04:00
Sam Lantinga
d95f5bad24
Updated to version 3.1.2 for the preview release
2024-05-01 09:34:25 -07:00
Sam Lantinga
e52a2474f1
Fixed updating CMakeLists.txt with update-version.sh
2024-05-01 09:33:30 -07:00
Ryan C. Gordon
12b6c17575
wikiheaders: Generate wiki pages for defines under a typedef.
...
These are just there to handle cases where a user stumbles upon a symbol
and punches it into the wiki, so they don't get a 404 for it, but rather
a pointer to where that symbol is relevant.
These pages are generated in the wiki if they don't exist, and are never
overwritten, in case text has been added to them. They are also not bridged
back to the headers or added to the set of manpages.
2024-04-30 22:47:02 -04:00
Ryan C. Gordon
a24d30e911
wikiheaders-options: Correct project full name.
2024-04-30 21:46:56 -04:00
Ryan C. Gordon
5481ea4cd4
wikiheaders: manpages See Also sections should specify 3 vs 3type.
2024-04-30 21:46:56 -04:00
Ryan C. Gordon
9210c68c44
wikiheaders: Manpages go in man3 directory, even if they're 3type.
2024-04-30 21:46:56 -04:00
Petar Popovic
dec872bdd9
Fix SDL_GetDaysInMonth() num days in january
2024-04-30 18:06:41 -07:00
Semphris
b9d3d746a0
Add trailing path separator to SDL_GetUserFolder()
2024-04-30 18:01:16 -07:00