Sam Lantinga
cfb96e260b
Fixed spacing
2023-03-01 09:51:27 -08:00
David Carlier
8d24381e7e
SDL_GetSystemRAM completion for Haiku system.
...
using native system_info's api.
2023-03-01 09:50:03 -08:00
Sam Lantinga
d5775f6708
The gamepad event structures caxis, cbutton, cdevice, ctouchpad, and csensor have been renamed gaxis, gbutton, gdevice, gtouchpad, and gsensor.
...
Fixes https://github.com/libsdl-org/SDL/issues/7375
2023-03-01 09:48:28 -08:00
Ozkan Sezer
8d8b3d3a9a
fix testautomation_audio.c after commit f48d0cc
2023-03-01 18:37:56 +03:00
Ryan C. Gordon
f48d0cc164
audio: Remove AUDIO_U16* support.
...
It wasn't heavily used, and you can't use memset to silence a U16 buffer.
Fixes #7380 .
2023-03-01 10:26:01 -05:00
Sam Lantinga
941a603665
Document that SDL_IsScreenSaverEnabled() was renamed SDL_ScreenSaverEnabled()
2023-02-28 15:56:49 -08:00
Sam Lantinga
ebdb320651
Follow the same pattern for releasing the window data in the UIKit driver
...
Possible fix for https://github.com/libsdl-org/SDL/issues/7361
2023-02-28 15:56:49 -08:00
Ryan C. Gordon
5d3234d8ae
docs: Removed bogus file from wiki bridge.
...
That was fixed to not do that again by 7e429a13d3
2023-02-28 13:39:43 -05:00
SDL Wiki Bot
c3d2f5368b
Sync SDL3 wiki -> header
2023-02-28 17:50:11 +00:00
SDL Wiki Bot
3f49e370c8
Sync SDL3 wiki -> header
2023-02-28 17:39:22 +00:00
Ryan C. Gordon
5585a4ac72
Renamed CONTRIBUTING.md to README-contributing.md
...
This lets the wiki bridge pick it up.
2023-02-28 12:38:31 -05:00
Ryan C. Gordon
7b9b20e684
docs: Deleting a bogus file to see if wiki bridge rebuilds it.
2023-02-28 12:31:11 -05:00
SDL Wiki Bot
60127460b0
Sync SDL3 wiki -> header
2023-02-28 17:30:22 +00:00
Ryan C. Gordon
99c38268cd
wikiheaders: Sort pages before listing them in README/FrontPage.md.
2023-02-28 12:28:10 -05:00
Ryan C. Gordon
7745c9b3ae
wikiheaders: Use Windows endlines in the source, Unix in the wiki.
2023-02-28 12:28:10 -05:00
SDL Wiki Bot
260dcb856e
Sync SDL3 wiki -> header
2023-02-28 17:27:14 +00:00
Eddy Jansson
5f5abb6805
Always allocate zt in output of SDL_iconv_string()
...
Before this, the function could not be used on buffers,
as it would not account for the zero-termination unless
it was included in the input.
2023-02-28 09:26:01 -08:00
SDL Wiki Bot
5fb5586233
Sync SDL3 wiki -> header
2023-02-28 17:18:06 +00:00
Sam Lantinga
6aeb07d4c2
Fixed SDL windows getting the maximized state after leaving fullscreen on macOS
2023-02-28 09:03:28 -08:00
Ryan C. Gordon
6d1e14b792
wikiheaders: ignore wiki's README/FrontPage.md
2023-02-28 11:55:19 -05:00
SDL Wiki Bot
90a911b31f
Sync SDL3 wiki -> header
2023-02-28 16:52:06 +00:00
SDL Wiki Bot
af9a2237e3
Sync SDL3 wiki -> header
2023-02-28 16:48:26 +00:00
Ryan C. Gordon
2506676f34
wikiheaders: Bridge README files in the docs directory to wiki.
...
Fixes #6026 .
2023-02-28 11:45:47 -05:00
Sam Lantinga
da134a3039
Fixed locking up the Logitech F310 with the PlayStation controller detection
2023-02-28 08:36:31 -08:00
Sam Lantinga
c824060503
Fixed missing line
2023-02-27 21:08:50 -08:00
Sam Lantinga
a6d8cdf186
Setting a window to non-fullscreen when it's not fullscreen is a no-op
...
Also explicitly reset fullscreen mode when destroying a window, eliminating the need for doing that in SDL_HideWindow(), as that's already taken care of in SDL_OnWindowHidden() normally.
2023-02-27 21:06:05 -08:00
Ryan C. Gordon
a479633455
wikiheaders: fixed wikilinks in Markdown code sections.
2023-02-27 23:08:19 -05:00
Anonymous Maarten
02fede7c8c
cmake: initialize SDL_SHARED and SDL_STATIC from BUILD_SHARED_LIBS
2023-02-28 02:15:39 +01:00
Sam Lantinga
fcc9deb365
Only restore desktop mode when hiding a window if that window was fullscreen
2023-02-27 15:38:48 -08:00
Sam Lantinga
206fa4dafb
Added mapping for DualSense Edge Wireless Controller on Linux
...
This is a mapping when using evdev, not the more advanced HIDAPI support.
2023-02-27 15:19:34 -08:00
Ryan C. Gordon
9f8425a7a9
include: Fixed wiki formatting that got mangled into the headers.
2023-02-26 21:47:17 -05:00
David Carlier
a5a53c12bf
USE_DEV_RANDOM close the file descriptor even in the rare case it can't read it
2023-02-26 14:00:00 +03:00
Torge Matthies
f18b5656f6
x11: Fix duplicate Xinput2 event reception
...
Passing True for owner_events in the XGrabPointer call makes all
XI_RawMotion events appear in the queue twice, with the only difference
between them being the value of XGenericEventCookie::cookie. These have
always been filtered out by a check in the XI_RawMotion handler,
however with a mouse that polls at more than 1 kHz frequency, there
also exist legitimate events that appear indistinguishable from these
duplicated events. These must not be filtered out, otherwise the
pointer may move at an inconsistent speed, appearing like a bad pointer
acceleration implementation.
Change owner_events to False in the XGrabPointer and remove the
duplicate event detection code to fix this.
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
2023-02-25 10:04:46 -08:00
David Carlier
d73f2d76a0
Haiku modernizing a bit the C++ code with C++11 heuristics
...
with BApplication
2023-02-24 20:54:41 -08:00
Sam Lantinga
2897de9efc
Clear the undefined position state when the window is placed
...
This allows the window to be recreated in the same location if needed, for example if recreated because of switching to OpenGL rendering.
2023-02-24 18:04:54 -08:00
Sam Lantinga
4d9d343662
Added handling for undefined window position on X11
2023-02-24 17:49:45 -08:00
Sam Lantinga
3bfd596608
Added handling for undefined window position on Windows
2023-02-24 17:06:47 -08:00
Ryan C. Gordon
5b0351a672
wikiheaders: Fix wikilinks inside code sections a little. Not perfect yet.
2023-02-24 14:29:36 -05:00
Sam Lantinga
daffe02b11
Fixed relative mouse motion over remote desktop
...
Setting the cursor clip area to a single pixel prevents the relative mouse motion remote desktop warping from working, so the mouse is never recentered.
2023-02-24 09:20:38 -08:00
Ryan C. Gordon
0598ecc150
Sync wiki -> headers.
2023-02-24 11:49:41 -05:00
Ryan C. Gordon
d748a454a8
wikiheaders: fixed see-also conversion
2023-02-24 11:45:43 -05:00
Ryan C. Gordon
5ff49955ab
wikibridge: Fixes for manpage generation from Markdown format.
2023-02-24 10:21:54 -05:00
Anonymous Maarten
f2a277414f
raspberry: SDL_DisplayMode's w/h members have been renamed to screen_w/screen_h
...
Found by running the coccinelle script on SDL's source tree.
2023-02-24 06:55:28 -08:00
Ryan C. Gordon
936a51d5cc
wikiheaders: Work to make the wiki exist primarily in Markdown format.
...
This adds a means to mass-convert the whole wiki to Markdown as a one-time
operation, and then some fixes to make --copy-to-headers correctly deal with
Markdown-formatted wiki pages.
2023-02-24 09:07:09 -05:00
Ozkan Sezer
2eb4ab5bb0
SDL_revision.h: added missing newline at end of file.
2023-02-23 23:55:56 +03:00
Sam Lantinga
516e48515e
Changed the VID/PID used for the Backbone One controller on iOS
2023-02-23 12:24:15 -08:00
Sam Lantinga
05ac1f8d5a
Print the full information for all joysticks that are connected
2023-02-23 11:58:14 -08:00
Sam Lantinga
59bf1c2853
Added support for the Backbone One PlayStation Edition
2023-02-23 11:57:48 -08:00
Sam Lantinga
b2d913883c
Fixed view frame from flipping back and forth between landscape and portrait on iOS
2023-02-23 09:14:53 -08:00
Frank Praznik
e8fd7f74bd
windows: Track the window display ID locally
...
Track the current window display ID locally so as not to depend on specific behavior of the video layer, which may change the value at times when it isn't expected.
2023-02-23 07:39:16 -08:00