SDL Wiki Bot
e3682995f5
Sync SDL3 wiki -> header
2024-08-05 15:54:41 +00:00
Sam Lantinga
746b8eb14b
Added SDL_HINT_MUTE_CONSOLE_KEYBOARD
2024-08-05 08:54:10 -07:00
Sam Lantinga
afde1cc9c2
Added SDL_HINT_EVDEV_DEVICES
2024-08-05 08:54:10 -07:00
Sam Lantinga
0da346f129
Added SDL_HINT_HIDAPI_LIBUSB, SDL_HINT_HIDAPI_LIBUSB_WHITELIST, and SDL_HINT_HIDAPI_UDEV
2024-08-05 08:54:10 -07:00
Sam Lantinga
d9f9e9e764
Added SDL_HINT_VIDEO_DUMMY_SAVE_FRAMES and SDL_HINT_VIDEO_OFFSCREEN_SAVE_FRAMES
2024-08-05 08:54:10 -07:00
Sam Lantinga
a97dadf779
Added hints to replace environment variables on the PlayStation Vita
2024-08-05 08:54:10 -07:00
Sam Lantinga
3669d1e76a
Added SDL_HINT_VULKAN_DISPLAY
2024-08-05 08:54:10 -07:00
Sam Lantinga
997df06320
Added SDL_HINT_X11_XCB_LIBRARY
2024-08-05 08:54:10 -07:00
Sam Lantinga
175f28f59f
Added SDL_HINT_VIDEO_X11_NODIRECTCOLOR
2024-08-05 08:54:10 -07:00
Sam Lantinga
8cde570ad9
Added SDL_HINT_VIDEO_X11_VISUALID
2024-08-05 08:54:10 -07:00
Sam Lantinga
05f870f20d
Added SDL_HINT_OPENGL_LIBRARY and SDL_HINT_VULKAN_LIBRARY
2024-08-05 08:54:10 -07:00
Sam Lantinga
c9b2bfa7c1
Added SDL_HINT_AUDIO_DISK_INPUT_FILE, SDL_HINT_AUDIO_DISK_OUTPUT_FILE, and SDL_HINT_AUDIO_DISK_TIMESCALE
2024-08-05 08:54:10 -07:00
Sam Lantinga
e1ee0e748d
Added SDL_HINT_WAVE_CHUNK_LIMIT
2024-08-05 08:54:10 -07:00
Sam Lantinga
f05cd85048
Added SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE
2024-08-05 08:54:10 -07:00
Sam Lantinga
71574ac985
Added SDL_HINT_AUDIO_DUMMY_TIMESCALE
2024-08-05 08:54:10 -07:00
Sam Lantinga
5aa1a48ac3
Added SDL_HINT_AUDIO_FREQUENCY, SDL_HINT_AUDIO_CHANNELS, and SDL_HINT_AUDIO_FORMAT
2024-08-05 08:54:10 -07:00
Sam Lantinga
0a6bab3ac7
Added SDL_CreateRenderer to the "see also" for SDL_RenderPresent()
2024-08-05 07:56:29 -07:00
SDL Wiki Bot
6212497ea3
Sync SDL3 wiki -> header
2024-08-05 03:00:45 +00:00
Sam Lantinga
b1af91e788
Clarified timer documentation
...
Fixes https://github.com/libsdl-org/SDL/issues/10079
2024-08-04 19:44:13 -07:00
SDL Wiki Bot
a699ff2419
Sync SDL3 wiki -> header
2024-08-04 17:49:28 +00:00
Sam Lantinga
bc1c3f826f
Added SDL_HINT_LOGGING documentation to the logging category page.
...
Fixes https://github.com/libsdl-org/SDL/issues/10335
2024-08-04 10:48:42 -07:00
SDL Wiki Bot
454c85ad51
Sync SDL3 wiki -> header
2024-08-04 17:39:54 +00:00
Sam Lantinga
6da4278d37
Clarify how to check for EOF in SDL_ReadIO() documentation.
...
Fixes https://github.com/libsdl-org/SDL/issues/8564
2024-08-04 10:37:51 -07:00
Sam Lantinga
ef6521aee7
testnative: print events with --info event
2024-08-04 09:07:19 -07:00
SDL Wiki Bot
cb440ec4a4
Sync SDL3 wiki -> header
2024-08-03 13:40:37 +00:00
Sam Lantinga
cd5f0d2cce
Added SDL_RectToFRect()
2024-08-03 06:40:06 -07:00
SDL Wiki Bot
2f24e9c2f2
Sync SDL3 wiki -> header
2024-08-03 13:30:08 +00:00
SDL Wiki Bot
b5c0921196
Sync SDL3 wiki -> header
2024-08-03 02:37:43 +00:00
Anonymous Maarten
f57c597c60
Added SDL_GetWindowFromEvent
2024-08-03 02:37:11 +00:00
SDL Wiki Bot
e058aa6d65
Sync SDL3 wiki -> header
2024-08-02 21:50:11 +00:00
Sam Lantinga
50492e1d03
Change the text input defaults to match the natural input experience
2024-08-02 14:49:37 -07:00
Sam Lantinga
81f8e6aba6
Added SDL_StartTextInputWithProperties()
...
This allows you to customize the text input so you can have numeric text entry, hidden passwords, etc.
Fixes https://github.com/libsdl-org/SDL/issues/7101
Fixes https://github.com/libsdl-org/SDL/issues/7965
Fixes https://github.com/libsdl-org/SDL/issues/9439
2024-08-02 14:49:37 -07:00
SDL Wiki Bot
f01d4278c6
Sync SDL3 wiki -> header
2024-08-01 20:49:00 +00:00
Sam Lantinga
31ed3665ad
Added support for high-DPI cursors and icons
...
Fixes https://github.com/libsdl-org/SDL/issues/9838
2024-08-01 13:48:28 -07:00
Sam Lantinga
94d9229ce2
Added SDL_AddSurfaceAlternateImage(), SDL_SurfaceHasAlternateImages(), SDL_GetSurfaceImages() and SDL_RemoveSurfaceAlternateImages()
...
These functions allow you to create surfaces with alternate high DPI content, and will be used for high DPI icon and cursor support.
2024-08-01 13:48:28 -07:00
Sam Lantinga
22ffb487d0
Added SDL_ScaleSurface()
2024-08-01 13:48:28 -07:00
SDL Wiki Bot
2e058ba7a4
Sync SDL3 wiki -> header
2024-08-01 05:37:11 +00:00
Sam Lantinga
a5f18048b2
Extend the 9-grid functions to handle a non-uniform grid layout (thanks @zaun!)
...
Fixes https://github.com/libsdl-org/SDL/issues/10389
2024-07-31 22:36:39 -07:00
Sam Lantinga
a6407e88da
Document the events that need to be handled in a callback
2024-07-30 07:52:13 -07:00
SDL Wiki Bot
3b01a0b884
Sync SDL3 wiki -> header
2024-07-29 11:26:36 +00:00
Sam Lantinga
61a88077a7
Re-added SDL_HINT_APP_ID and SDL_HINT_APP_NAME
2024-07-29 07:26:03 -04:00
Sam Lantinga
383ccb2b6a
Finish removing SDL_DECLSPEC_FREE
2024-07-28 08:06:20 -07:00
Sam Lantinga
728bf363cb
Make sure we call SDL_Quit() before SDLTest_CommonDestroyState()
...
Otherwise we'll report leaks that will be cleaned up in SDL_Quit()
2024-07-28 08:05:31 -07:00
Sam Lantinga
b5ad74998b
Removed SDL_DECLSPEC_FREE
2024-07-28 07:24:21 -07:00
SDL Wiki Bot
18fe89e036
Sync SDL3 wiki -> header
2024-07-28 14:23:13 +00:00
Sam Lantinga
a36fe632fd
Added SDL_SetAppMetadata() ( #10404 )
...
Removed duplicate hints SDL_HINT_APP_NAME, SDL_HINT_APP_ID, and
SDL_HINT_AUDIO_DEVICE_APP_NAME.
Wired up a few things to use the metadata; more to come!
Fixes https://github.com/libsdl-org/SDL/issues/4703
2024-07-28 07:22:46 -07:00
Sam Lantinga
473feab2a4
Added SDL_unsetenv()
2024-07-27 09:10:08 -07:00
Anonymous Maarten
3374e57102
stdinc: strcasecmp is declared in strings.h
2024-07-27 15:19:20 +00:00
SDL Wiki Bot
0f2fc2fbaa
Sync SDL3 wiki -> header
2024-07-27 03:59:43 +00:00
Sam Lantinga
4f55271571
Removed temporary memory from the API
...
It was intended to make the API easier to use, but various automatic garbage collection all had flaws, and making the application periodically clean up temporary memory added cognitive load to using the API, and in many cases was it was difficult to restructure threaded code to handle this.
So, we're largely going back to the original system, where the API returns allocated results and you free them.
In addition, to solve the problems we originally wanted temporary memory for:
* Short strings with a finite count, like device names, get stored in a per-thread string pool.
* Events continue to use temporary memory internally, which is cleaned up on the next event processing cycle.
2024-07-26 20:59:14 -07:00