Ozkan Sezer
b67965979a
SDL_hidapi.c: fix SDL_udev.h include path
...
fixes https://github.com/libsdl-org/SDL/issues/4981
2021-11-19 11:55:50 +03:00
Ozkan Sezer
3ed0c62672
SDL_RWsize: updated description
2021-11-19 01:24:40 +03:00
SDL Wiki Bot
0fddda6e57
Sync wiki -> header
2021-11-18 21:51:05 +00:00
SDL Wiki Bot
e526830996
Sync wiki -> header
2021-11-18 20:58:04 +00:00
Ryan C. Gordon
3f978c0f93
include: Improved documentation of SDL_RegisterApp and SDL_UnregisterApp.
2021-11-18 15:56:16 -05:00
Ryan C. Gordon
09bf12e035
fnsince.pl: SDL_UnregisterApp() also arrived in 2.0.2.
2021-11-18 15:34:29 -05:00
Ryan C. Gordon
7f70f6e1e2
include: Note that several rwops functions used to be macros before 2.0.10.
2021-11-18 15:31:02 -05:00
SDL Wiki Bot
319d2b3e05
Sync wiki -> header
2021-11-18 20:29:04 +00:00
Ryan C. Gordon
83024f3299
fnsince.pl: Whoops, it's SDL_RegisterApp and not SDL_SetMainReady in 2.0.2.
2021-11-18 15:27:21 -05:00
SDL Wiki Bot
16a1721e9d
Sync wiki -> header
2021-11-18 20:25:05 +00:00
Ryan C. Gordon
46f12cc7f7
fnsince.pl: SDL_SetMainReady() originally arrived in SDL 2.0.2.
2021-11-18 15:22:47 -05:00
Ethan Lee
a7a54e6452
wayland: Add support for display connect/disconnect events
2021-11-18 00:44:08 -05:00
hgs3
c2464653d0
Remove unnecessary clang-cl check since Clang has __builtin_bswap.
2021-11-18 03:28:00 +03:00
hgs3
6b66542e7b
Fixing compilation errors for VS2019 Clang toolset ( fixes #4702 )
2021-11-18 03:28:00 +03:00
Sylvain
5be8a22113
Add audio conversion from/to 61
2021-11-17 16:04:54 -08:00
Ozkan Sezer
dd6269b1e0
SDL_endian.h: added proper version check (VS2005+) to MSVC functionality
2021-11-17 17:55:00 +03:00
Ozkan Sezer
d2cf191936
hidapi, linux: merged a minor warning + code style fix from mainstream.
2021-11-17 10:00:10 +03:00
Cameron Gutman
43d1b42a5a
cmake: Sync build config options with autotools
...
- SDL_CLOCK_GETTIME now defaults to ON to match autotools build
- Add detection of float.h and Xdbe
- Fix detection of pthread_setname_np() (requires _GNU_SOURCE)
- Move SDL_USE_IME definition into SDL_config.h.cmake
2021-11-16 16:51:38 -08:00
Ozkan Sezer
7d3045f273
minor whitespace tidy-up.
2021-11-16 23:51:40 +03:00
Ozkan Sezer
29b79313a0
minor tweak for a slightly smaller configure script
2021-11-16 23:33:32 +03:00
Ozkan Sezer
68ffd24c58
autotools, cmake: don't define SDL_JOYSTICK_HIDAPI in CheckHIDAPI()
2021-11-16 23:37:20 +03:00
Ethan Lee
5cc23868ed
wayland: Add support for SDL_DisplayOrientation
2021-11-16 11:58:23 -08:00
Sam Lantinga
40d808620d
SDL_classic_joysticks defaults off
2021-11-15 20:17:14 -08:00
Sam Lantinga
7ad64357ee
Updated Android build environment for examples
2021-11-15 17:04:50 -08:00
Sam Lantinga
66058bbbd5
Fixed exception accessing Bluetooth devices on Android 12
...
Since accessing Bluetooth prompts the user for permission on both Android and iOS, and we only need it for Steam Controller support, we'll leave it off by default. You can enable it by setting the hint SDL_HINT_JOYSTICK_HIDAPI_STEAM to "1" before calling SDL_Init()
Fixes https://github.com/libsdl-org/SDL/issues/4952
2021-11-15 16:52:56 -08:00
Sam Lantinga
be5b4d980d
Added nativeGetHintBoolean for Java code
2021-11-15 16:52:54 -08:00
Sam Lantinga
9ec2b35147
Fixed the GLES2 shader count to be in sync with the enum
2021-11-15 13:45:53 -08:00
Sam Lantinga
2f591fb0a0
Added android:exported="true" to the example Android manifest
...
This is needed for targeting Android 12 (API 31)
2021-11-15 12:50:02 -08:00
Sylvain
b649314d62
Add comment to audio clipping (see bug #4104 )
2021-11-15 13:43:40 +01:00
Sylvain
d4df5d33c5
GLES2: prevent batching if blend mode changes (see bug #4964 )
2021-11-15 09:43:44 +01:00
Sylvain
92f2fdfc84
GLES2: batch non joined lines (see #4964 )
2021-11-15 09:36:18 +01:00
Sylvain
17f156fae5
Fixed bug #4964 - opengles2 & batching = conjoined lines
...
put back the initial switch case because groups of joined lines cannot be batched.
2021-11-15 09:08:09 +01:00
Sylvain
d8888e468e
Fixed bug #4964 - opengles2 & batching = conjoined lines
2021-11-15 08:37:49 +01:00
Ryan C. Gordon
193ab28fe4
Renamed README-macosx.md to README-macos.md
2021-11-14 23:35:50 -05:00
Ryan C. Gordon
4edf2df5ce
Unix2dos'd README-macosx.md.
2021-11-14 23:34:46 -05:00
Sam Lantinga
bbac1e9add
Don't include pthreads code when threads are disabled
...
Fixes https://github.com/libsdl-org/SDL/issues/4950
2021-11-14 20:34:41 -08:00
Anders Jenbo
93556e67e0
Update AndroidManifest.xml
2021-11-14 20:19:54 -08:00
Anders Jenbo
b9c619017d
[Android] Limit WRITE_EXTERNAL_STORAGE to SDK 22-
...
Direct access to the external storage is no longer allowed as of SDK 30. But on older version of Android you will still need WRITE_EXTERNAL_STORAGE in order to request the Download Manager to download files to your external file folder.
2021-11-14 20:19:54 -08:00
Sam Lantinga
cc094f4d7c
Fixed building with the macOS 10.8 SDK
2021-11-14 20:15:48 -08:00
Cameron Gutman
d7d67af441
mouse: Fix Y value in motion events when confinement is active
2021-11-14 17:52:41 -06:00
Sam Lantinga
fb6aba1938
Updated SDL_egl.h with the latest Khronos headers
...
https://www.khronos.org/registry/EGL/api/
2021-11-14 15:35:49 -08:00
Zack Middleton
1cd3e83756
cocoa: Fix abort on touch event types without a subtype
...
macOS 10.6 has some touch NSEvents which do not have a subtype
(Begin/EndGesture, Magnify, Rotate, Swipe) and cause an uncaught
exception which triggers SIGABRT and the program exits.
As it is, none of the macOS 10.6 touch events are detected as a
trackpad (including Gesture due to using different subtypes).
2021-11-14 15:21:51 -08:00
Ozkan Sezer
781caec2b2
SDL_waylandevents.c (keyboard_handle_keymap): silenced -Wwrite-strings .
2021-11-15 00:55:24 +03:00
Ozkan Sezer
5c067906ba
wasapi: AvSetMmThreadCharacteristicsW takes an LPCWSTR param, not LPWSTR
2021-11-15 00:55:04 +03:00
Ozkan Sezer
3eb9bfac7a
win32 rawinput & wgi joystick: avoid -Werror=declaration-after-statement
2021-11-14 22:22:50 +03:00
Ryan C. Gordon
73a41f4058
Removed outdated build-scripts/iosbuild.sh
...
Fixes #1532 .
2021-11-14 14:17:36 -05:00
Sam Lantinga
c55ab9631f
Added a hint for alternate OpenGL NV12 data format
2021-11-13 22:21:57 -08:00
Ozkan Sezer
8a6e48d46d
constified SDL_RegisterApp()
2021-11-14 04:40:50 +03:00
Ozkan Sezer
7dfd22ac5e
fix XGetDefault signature - its first and second params are _Xconst
2021-11-14 02:32:00 +03:00
Ozkan Sezer
c7aa04d03e
SDL_test_harness.c: avoid -Wwrite-strings
2021-11-14 02:31:20 +03:00