Ryan C. Gordon
8bd3b2c801
configure: fix fcitx tests.
...
Otherwise Unix systems without D-Bus support will attempt to compile sources
they can't handle.
2020-05-20 16:34:19 -04:00
Ryan C. Gordon
d66b73666d
locale: Patched to compile on Windows Phone.
2020-05-20 16:15:14 -04:00
Ryan C. Gordon
a5c654d5c3
configure: Just don't do the -idirafter on QNX.
...
The compiler understands it, but the "qcc" compiler driver doesn't, and the
standard Khronos headers upset QNX anyhow, since they try to include X11
headers in the __unix__ section.
2020-05-19 13:22:01 -04:00
Ryan C. Gordon
72fdc80512
configure: -idirafter needs a space, -I doesn't.
...
Some compilers are apparently quite cranky about the -I not having a space!
2020-05-19 12:30:26 -04:00
Ryan C. Gordon
475afe2162
configure: Do a real check for -idirafter anyhow.
...
(The CMake project cheats around this by asking "are we GCC or Clang?" and I'm
inclined to leave it like that for now.)
2020-05-19 12:08:05 -04:00
Ryan C. Gordon
2f565b4469
configure: Regenerate configure script.
2020-05-19 11:52:15 -04:00
Ryan C. Gordon
0e08d23793
configure: Not all compilers understand -idirafter, use -I instead.
...
If this is a problem, we can write a test for the compiler flag, but shouldn't
we _always_ use our Khronos headers instead of depending on the system...?
2020-05-19 11:48:22 -04:00
Ryan C. Gordon
da54eb7c3a
checker-buildbot.bat: Removed. This is clearly not going to work like this.
2020-05-19 11:38:18 -04:00
Ryan C. Gordon
24a76b278a
build-scripts: Attempt at a static analysis batch file for Windows.
2020-05-19 04:01:03 -04:00
Ryan C. Gordon
3808b120dc
locale: Make sure C++ implementations (Haiku!) use C linkage.
2020-05-19 03:14:46 -04:00
Ryan C. Gordon
20ed8019c9
os2-buildbot.sh: Fix upload path.
2020-05-19 02:59:02 -04:00
Ryan C. Gordon
a1d7410ff8
windows-buildbot-zipper.bat: Attempt to update for new buildbot.
2020-05-19 02:56:02 -04:00
Ryan C. Gordon
863776f8dd
haiku: Another attempt at fixing build.
2020-05-19 01:19:52 -04:00
Ryan C. Gordon
e53d39cf35
haiku: Patched to compile.
2020-05-19 00:09:59 -04:00
Ryan C. Gordon
e11a665cd6
raspberrypi-buildbot.sh: Fix output directory.
2020-05-18 21:20:11 -04:00
Ryan C. Gordon
9db4e6ed35
os2-buildbot.sh: Fix output directory.
2020-05-18 21:10:20 -04:00
Ryan C. Gordon
3195551b2e
xcode: make sure locale sources are used in all targets.
2020-05-18 21:07:02 -04:00
Ryan C. Gordon
7558d960b6
OS/2: Forgot to add locale source dir to makefile.
2020-05-18 20:18:34 -04:00
Ryan C. Gordon
c26c348a32
raspberrypi-buildbot.sh: Leave files in the right place, don't nuke build dir.
2020-05-18 20:06:16 -04:00
Ryan C. Gordon
b0f41e1421
emscripten-buildbot.sh: Leave files in the right place, don't nuke build dir.
2020-05-18 20:02:11 -04:00
Ryan C. Gordon
5358882b10
emscripten-buildbot.sh: the SDK path changed on the new build worker.
2020-05-18 16:33:29 -04:00
Ryan C. Gordon
4c883383d4
checker-buildbot.sh: Use Ninja, not GNU make, and expect scan-build in $PATH.
2020-05-18 15:52:51 -04:00
Ryan C. Gordon
c1ef549745
emscripten-buildbot.sh: target WebAssembly instead of asm.js.
...
Fixes Bugzilla #5132 .
2020-05-18 12:00:22 -04:00
Sylvain Becker
db4246f695
Only set colorkey, if converted surface has no alpha channel (2979)
2020-05-17 21:23:17 +02:00
Sylvain Becker
f6197aec85
Fix issue with colorkey, palette and format conversion
...
Set the colorkey information on the converted surface.
Test-case in bug 3826/2979, conflicting with bug 4798
2020-05-17 20:45:55 +02:00
Sylvain Becker
39690a0478
Fix static analysis warning in SDL_render.c
2020-05-15 21:33:47 +02:00
Sylvain Becker
5b65e0af01
Fixed bug 5100 - compilation CMake Android armeabi-v7a (Thanks Steve Robinson!)
...
fatal error: 'cpu-features.h' file not found on CMake Android armeabi-v7a
2020-05-15 21:12:23 +02:00
Ryan C. Gordon
d31dac1563
docs: README-linux.md updated for a modern Ubuntu release.
2020-05-14 21:54:51 -04:00
Ryan C. Gordon
ec2d70364a
docs: Fixed README-linux.md's line endings and word wrap.
2020-05-14 21:49:29 -04:00
Ryan C. Gordon
2d5de8faf9
docs: Linux systems don't need to install wayland-protocols anymore.
...
We ship the protocol xml files we need with SDL's sources now.
2020-05-14 21:48:24 -04:00
Ryan C. Gordon
daf360e040
emscripten: Fix crash in SDL_SetWindowTitle().
...
This patch came from emscripten-ports, thanks!
Fixes Bugzilla #5133 .
2020-05-13 16:48:42 -04:00
Tudor Brindus
1a291ab118
wayland: add support for SDL_SetWindowGrab
2020-04-17 13:55:44 -04:00
Sam Lantinga
b47f577a9d
Fixed bug 5098 - macOS CreateWindowFrom doesn't work with high-dpi displays
...
michaeljosephmaltese
Display ends up taking only 1/4 of the screen area. It needs to call "setWantsBestResolutionOpenGLSurface:highdpi", like when creating a window the normal way.
2020-05-11 14:36:23 -07:00
Sam Lantinga
eadc8693dd
Fixed bug 5103 - Port fcitx support to both fcitx 4 & 5
...
wengxt
Due to the new major fcitx version is coming close, the existing code need to be ported to use new Fcitx dbus interface.
The new dbus interface is supported by both fcitx 4 and 5, and has a good side effect, which is that it will work with flatpak for free. Also the patch remove the dependency on fcitx header. Instead, it just hardcodes a few enum value in the code so need to handle the different header for fcitx4 or 5.
2020-05-11 14:31:04 -07:00
Sylvain Becker
33642b47b2
Android: robustness if locale failed to be detected at start
2020-05-08 21:50:23 +02:00
Sylvain Becker
2491f16f85
Android: send SDL_LOCALECHANGED when locale changes
2020-05-08 21:40:28 +02:00
Sylvain Becker
2a4ddeeea9
Android: fix missing prototype warning
2020-05-08 11:15:38 +02:00
Sylvain Becker
0059ace0b4
Android: factorize asset manager code (bug 2131 and 4297)
2020-05-08 11:00:51 +02:00
Ryan C. Gordon
fa23e3d00b
locale: Implemented SDL_GetPreferredLocales().
...
This was something I proposed a long time ago, Sylvain Becker did
additional work on it, then back to me.
Fixes Bugzilla #2131 .
2020-05-04 02:27:29 -04:00
Sam Lantinga
1e5dd06f83
Added support for the HORI Real Arcade Pro on Mac OSX and Linux
2020-05-06 12:19:58 -07:00
Sam Lantinga
cd2bdaef1c
ControllerList: add PDP Faceoff Deluxe Audio Switch Controller and HORI Real Arcade Pro V Switch Edition
2020-05-06 11:19:52 -07:00
Sam Lantinga
0e5b48d2d8
ControllerList: add NACON Revolution Unlimited (and it's dongle) and NACON Daija fight stick.
2020-05-06 11:19:47 -07:00
Ryan C. Gordon
b3a34c94e0
hid: Add Microsoft Precision Mouse to the joystick blacklist.
...
Same deal as the Razer keyboards, it hangs the enumeration.
2020-05-06 03:18:25 -04:00
Ryan C. Gordon
85d97410d4
hid: Cleanup Windows joystick blacklist code, to make additions easier.
2020-05-06 03:13:44 -04:00
Ryan C. Gordon
b0a20a153c
stdlib: Fixed compiler warnings about int vs size_t.
2020-05-05 12:48:55 -04:00
Sam Lantinga
0eb6512b53
Fixed bug 5121 - Use SDL_calloc instead of calloc in Wayland_CreateWindow
...
meyraud705
'SDL_Windows::driverdata' of a Wayland window is allocated by calloc in 'Wayland_CreateWindow' but freed by SDL_free in 'Wayland_DestroyWindow'.
2020-05-04 13:19:26 -07:00
Sam Lantinga
65ad45340d
Improvement for bug 3446 - The haptic API does not allow to select the direction axes
...
meyraud705
I see how the documentation is confusing. I think that the choice of the axis is an implementation detail. The documentation should state the goal of this value, so I propose this wording:
"Use this value to play an effect on the steering wheel axis. This provides
better compatibility across platforms and devices as SDL will guess the
correct axis."
Value could even be renamed 'SDL_HAPTIC_STEERING_AXIS'.
For Linux, sending an effect on the X axis with a Logitech wheel works. Others brands don't have driver for Linux as far as I know.
2020-05-04 13:17:43 -07:00
Sam Lantinga
11723411ab
Added support for the Razer Kishi
2020-05-04 10:16:10 -07:00
Ryan C. Gordon
8601996fbc
hints: Allow specifying audio device metadata.
...
This is only supported on PulseAudio. You can set a description when opening
your audio device that will show up in pauvcontrol, which lets you set
per-stream volume levels.
Fixes Bugzilla #4801 .
2020-05-03 22:13:48 -04:00
Ryan C. Gordon
11fef299d1
hints: Fixed a doxygen comment.
2020-05-03 20:56:18 -04:00