Anonymous Maarten
96e3733a18
cmake: make Xcode's sdl2-config.cmake compatible with the one from autotools
2022-06-03 12:41:36 -07:00
Anonymous Maarten
5a8ccf4522
cmake: make VisualC's sdl2-config.cmake compatible with the one from autotools
2022-06-03 12:41:36 -07:00
Anonymous Maarten
5ec2d46f47
cmake: make SDL2Config.cmake compatible with autotools' sdl2-config.cmake
2022-06-03 12:41:36 -07:00
Anonymous Maarten
9ff8f29f43
cmake: Add mini-SDL2 CMake project to test SDL2 prefixes
2022-06-03 12:41:36 -07:00
Anonymous Maarten
67792767f5
cmake: Add CMake configuration files, meant for the prebuilt MinGW SDK
2022-06-03 12:41:36 -07:00
Anonymous Maarten
246f3ba52c
cmake: rewrite autotools' sdl2-config.cmake.in with IMPORTED targets + no more -lmingw32
2022-06-03 12:41:36 -07:00
Anonymous Maarten
6f3474db2d
autotools: export relative path of an installed sdl2-config.cmake to the prefix root
2022-06-03 12:41:36 -07:00
Anonymous Maarten
8e13cc309e
cmake: add 'compatible interface properties' to allow enforcing SDL2 sharedness
2022-06-03 12:41:36 -07:00
Anonymous Maarten
1087eaad7e
cmake: install SDL2::SDL2test when configuring with SDL2_TEST enabled
2022-06-03 12:41:36 -07:00
Sam Lantinga
ae2cc29f8b
Make sure initial state is set correctly for the D3D renderer
...
Fixes https://github.com/libsdl-org/SDL/issues/5749
2022-06-03 09:44:34 -07:00
Sam Lantinga
345efdcb10
Wait for all the threads to actually finish before exiting
...
Fixes https://github.com/libsdl-org/SDL/issues/5748
2022-06-03 08:46:08 -07:00
David Gow
847539afeb
wayland: Only call libdecor_dispatch() if we've loaded libdecor
...
As of #5703 , we call libdecor_dispatch() in Wayland_WaitEventTimeout(),
but this will crash if we don't load libdecor, as
SDL_VideoData::shell.libdecor will be NULL.
Since we don't load libdecor if we don't intend to use it (i.e., if
should_use_libdecor returns false), this results in a crash under KDE in
almost all circumstances.
2022-06-01 08:32:13 -07:00
Sam Lantinga
7fa46ec40b
The Google Pixel fingerprint sensor also shows up on Linux when running on the phone
2022-05-31 11:11:19 -07:00
Anonymous Maarten
3c3c02518c
Add Compatible Interface Properties to VisualC and Xcode SDL2 config file
2022-05-31 00:10:55 +02:00
Anonymous Maarten
4809bd356e
Add documentation to autotoo'ls sdl2-config-version.cmake.in
2022-05-31 00:10:55 +02:00
Anonymous Maarten
774c50174c
Add CMake section to the Xcode ReadMe.txt
2022-05-31 00:10:55 +02:00
Sam Lantinga
423c7ef856
Don't set SDL2_LIBRARY, we need the Framework configuration on Apple platforms
2022-05-31 00:10:55 +02:00
Sam Lantinga
37ef6a765d
Use a full path for the framework header include path
2022-05-31 00:10:55 +02:00
Anonymous Maarten
f73c25648f
cmake: attempt to use framework in Xcode's sdl2-config.cmake
2022-05-31 00:10:55 +02:00
Anonymous Maarten
4c3d1d32a5
Use INTERFACE_INCLUDE_DIRECTORIES in Xcode's sdl2-config.cmake
2022-05-31 00:10:55 +02:00
Sam Lantinga
7c2a6ea5f2
Removed 64-bit check for Apple
...
We build the SDL framework for macOS, iOS, and tvOS, including 32-bit and 64-bit architectures. Since this file will actually be included in the framework you're linking, it should be fine to use.
2022-05-31 00:10:55 +02:00
Sam Lantinga
e30b9993b9
Fixed warning about location of CMake support files
2022-05-31 00:10:55 +02:00
Sam Lantinga
01492a24f1
Added CMake package support files to the SDL framework
2022-05-31 00:10:55 +02:00
Anonymous Maarten
2c591e408e
Add CMake configuration files, meant for Macos framework
2022-05-31 00:10:55 +02:00
Anonymous Maarten
8ac8230bfa
Add CMake configuration files, meant for VC devel package
2022-05-31 00:10:55 +02:00
Ethan Lee
964e979d06
hidapi: Allow disabling libusb support at runtime
2022-05-30 13:45:24 -07:00
Sam Lantinga
c87b0142fe
Fixed building with C89 compiler
2022-05-30 12:02:25 -07:00
SDL Wiki Bot
4ddf85b1d5
Sync wiki -> header
2022-05-30 14:31:05 +00:00
Guldoman
f78f775238
ime: windows: allocate space for null terminator
2022-05-28 08:57:29 -07:00
Sam Lantinga
fd2a2eea10
Fixed declaration-after-statement warning
2022-05-28 07:49:18 -07:00
Sam Lantinga
d2c4d74dd0
Fixed build with MinGW-64 windows.devices.power.h
...
The MinGW-64 header defines the parameters as ABI::Windows::Foundation::IReference<INT32 > **, but the Windows header defines the parameters as __FIReference_1_int**
2022-05-27 15:49:35 -07:00
Sam Lantinga
bd22ca762e
Revert "Workaround for compiling with MinGW-w64"
...
This reverts commit efdf43aa9b
.
The broken mingw headers aren't in an official release yet, so reporting this upstream.
2022-05-27 15:40:50 -07:00
Sam Lantinga
efdf43aa9b
Workaround for compiling with MinGW-w64
...
Fixes bug https://github.com/libsdl-org/SDL/issues/5589
2022-05-27 15:34:45 -07:00
Sam Lantinga
001d2e2f65
Disable formatting not supported by Visual Studio 2019
2022-05-27 15:29:21 -07:00
Sam Lantinga
c02cd20352
Revert "Disable formatting not supported by Visual Studio 2019"
...
This reverts commit 26a75add31
.
It turns out Visual Studio doesn't support a lot of the formatting used here.
2022-05-27 15:16:02 -07:00
Sam Lantinga
26a75add31
Disable formatting not supported by Visual Studio 2019
2022-05-27 15:15:14 -07:00
Sam Lantinga
bef9f2b2c4
Don't trigger device notifications when Steam Deck backlight changes
2022-05-26 20:45:48 -07:00
Ryan C. Gordon
5968f3d828
gen_audio_resampler_filter.c: Precalculate loop-invariant bessel(beta).
...
Minor optimization in offline code.
2022-05-26 10:44:01 -04:00
Ozkan Sezer
822cf0b34b
updated config.guess from mainstream.
2022-05-26 01:33:32 +03:00
Cameron Cawley
347659e8cf
riscos: Ensure that last_mouse_buttons is initialised correctly
2022-05-25 14:26:36 -07:00
Cameron Cawley
cb43eb43f8
riscos: Ensure the mouse focus is set when creating the window
2022-05-25 14:26:36 -07:00
Cameron Cawley
6eda520f64
riscos: Add a basic implementation of SDL_ShowCursor()
2022-05-25 14:26:36 -07:00
Cameron Cawley
4c711d2d43
testcustomcursor: Allow running without custom or system cursors
2022-05-25 14:25:54 -07:00
Sam Lantinga
22d6e09a8d
Don't try to call hid_ble_scan() if HIDAPI is disabled
...
Fixes https://github.com/libsdl-org/SDL/issues/5699
2022-05-25 11:05:39 -07:00
Ryan C. Gordon
195ca499ca
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.
2022-05-25 10:46:06 -04:00
Ryan C. Gordon
7ce311bead
include/SDL_system.h: Fixed a link that was still hg.libsdl.org
2022-05-25 10:43:14 -04:00
Ryan C. Gordon
bed96482fa
wikiheaders.pl: Deal with links better.
2022-05-25 10:42:11 -04:00
Ryan C. Gordon
96a04cb910
wikiheaders.pl: Don't wordwrap truly massive words.
...
Usually, these are going to be URLs that you don't want to split
across lines.
2022-05-25 09:30:29 -04:00
Sam Lantinga
b28d304b23
Only include controller_type.h in SDL_joystick.c
...
It has a huge array of controllers and we only want it instantiated once
2022-05-24 17:24:54 -07:00
SDL Wiki Bot
a8e7548797
Sync wiki -> header
2022-05-24 22:57:04 +00:00