summaryrefslogtreecommitdiff
path: root/platform/linuxbsd
AgeCommit message (Collapse)Author
2023-05-12Linux: Don't use udev for joypad hotloading when running in a sandboxRémi Verschelde
udev doesn't work in sandboxes, notably the new Steam container runtime as found notably on the Steam Deck, and in Flatpak/Snap packages. Like SDL does, when we detect such a containerized environment, we fall back to parsing `/dev/input` directly. See smcv's comments in #76879 for details. Fixes #76879. (cherry picked from commit 788cb74cc676627b6c9b7e29a47200141cca92ff)
2023-05-12Enable shadow warnings and fix raised errorsNinni Pipping
(cherry picked from commit 71ee65dc5701a0675ae6b1879a694a28c7206a63)
2023-05-12Ensure WindowData minimized/maximized are mutually exclusiveChristopher Foo
The window manager can break the assumption that fullscreen/maximized/minimized values are mutually exclusive. (cherry picked from commit e4d052e284c04c9fd41d42de40151451e8756a6b)
2023-04-24Windows TTS: Use HashMap instead of RBMap for idsRémi Verschelde
And fixup includes in other implementations. (cherry picked from commit 92b9806dcc98bc5ffbee6a7ca11090a926df0b3a)
2023-03-30[X11] Fix layout bug in `keyboard_get_keycode_from_physical`Sabrehull
(cherry picked from commit d4b746626659d6e29c54da57b822735d15ab14c0)
2023-03-27SCons: Cleanup pulseaudio defines for LinuxRémi Verschelde
No need to define _REENTRANT manually when using the system lib, it's part of the pkgconfig cflags. And we were then defining PULSEAUDIO_ENABLED twice. (cherry picked from commit a35586779e716e6f625e7b1b66c6e03d4a4306b3)
2023-03-27change some sys.exit() to be fatalOmar Polo
- when not all freetype deps are builtin (or provided externally) - when attempting to build on an unsupported CPU architecture (cherry picked from commit ac04a0761ebdb8c7754d09a3b687900f8b5c0009)
2023-03-14Tweak command syntax in Vulkan renderer failure messageHugo Locurcio
This quotes the executable name so that copying it always works (even if the path contains spaces). The command is also indented from the rest of the text and is no longer single-quoted, as that can prevent the command from running if the line is copied in its entirety (with the quotes). (cherry picked from commit ddc9cc3e492861dff43617cecb24ae919e122455)
2023-03-14[Linux/X11] Add some missing keycodes/scancodes.bruvzg
(cherry picked from commit 5d35c600d5e4d6fc553246407e766d600f5b774e)
2023-03-14Propogate errors when creating an OpenGL context fails in X11clayjohn
(cherry picked from commit e7ea3ef53189d4bc94c784e4805a5311701ba9aa)
2023-03-14Fix broken shortcut key inputRindbee
(cherry picked from commit 91e460d500c52505557ed79af4547f188b635589)
2023-03-13Linux: Don't try to link system embree3 on unsupported archsRémi Verschelde
(cherry picked from commit afb8693715db4889e79dc0994dfe21eec9e324f1)
2023-03-13[TextServer] Add invalid font scaling check, restrict Linux/BSD system fonts ↵bruvzg
lookup to TrueType/CFF only. (cherry picked from commit 8d501a2dc31f3bef6d5a7f6b0d060c8915082011)
2023-03-13[Linux/X11] Check if required xkb functions exist before using it.bruvzg
(cherry picked from commit 8a675f3824db71f0fc3268a95b73af3a50800c2f)
2023-02-24Merge pull request #73752 from bruvzg/x11_quote_leftRémi Verschelde
Fix X11 QUOTELEFT / SECTION physical key mapping.
2023-02-22[Linux TTS] Use Callable instead of registering methods.bruvzg
2023-02-22Fix X11 QUOTELEFT / SECTION physical key mapping.bruvzg
2023-02-22[Input] Use BRACKET_ instead of BRACE_ for physical keys.bruvzg
2023-02-21[Linux] Process TTS callback on the main thread to avoid speech-dispatcher ↵bruvzg
deadlock.
2023-02-17Merge pull request #72877 from bruvzg/x11_on_topRémi Verschelde
[X11] Fix initial "on top" window state.
2023-02-17[X11] Fix initial "on top" window state.bruvzg
2023-02-17Fix crash with bogus shape index to DisplayServer.cursor_set_custom_image()Rémi Verschelde
Fixes #66605.
2023-02-17Merge pull request #73441 from akien-mga/linux-unbundling-fixesRémi Verschelde
Fix includes of thirdparty libs which can be unbundled on Linux
2023-02-16Fix includes of thirdparty libs which can be unbundled on LinuxRémi Verschelde
Changes `builtin_icu` and `builtin_recast` to match the folder names in `thirdparty`.
2023-02-16[Linux] Make SO wrapper usage optional.bruvzg
2023-02-14Some fixes for initial window position and sizeThomas ten Cate
- X11: set main window position and size hints correctly - All platforms: update minimum and maximum size of main window at startup Fixes #70984
2023-02-13Update PCK embedding SCons warning message to mention mold linkerHugo Locurcio
mold is now part of the SCons `linker` option.
2023-02-07[X11] Do not suppress structure/focus events on popup close to correctly ↵bruvzg
return focus.
2023-02-06[X11] Fix IME window focus events.bruvzg
2023-02-02Use a "warning" icon in `OS.alert()` on Linux/*BSDHugo Locurcio
This is the same icon as used on Windows.
2023-02-01Merge pull request #72104 from bruvzg/popup-non-popupsRémi Verschelde
Extend special popup window handling to any non-popup child of a popup.
2023-02-01[X11] Fix IME subwindow in the popup not getting input focus.bruvzg
2023-01-30[X11] Add support for dead keys without active IME. Fix IME focus and cleanup.bruvzg
2023-01-27Merge pull request #72102 from Riteo/keymapx11-scope-goodnessRémi Verschelde
Put KeyMappingX11 stuff inside its own scope
2023-01-27Fix split allow empty string in SSH export plugindaviirodrig
2023-01-26Extend special popup window handling to any non-popup child of a popup.bruvzg
2023-01-26[X11] Fix IME focus return.bruvzg
2023-01-26Put KeyMappingX11 stuff inside its own scopeRiteo
This avoids collisions with other "concurrent" key mappers.
2023-01-25Merge pull request #72029 from bruvzg/x11_keycodeRémi Verschelde
[X11] Fix incorrect keycodes from non-QWERTY layouts.
2023-01-25[X11] Fix incorrect keycodes from non-QWERTY layouts.bruvzg
2023-01-25[X11] Make IME focus window input only.bruvzg
2023-01-25Merge pull request #72018 from bruvzg/x11_ime_loopRémi Verschelde
[X11] Prevent IME activation from entering infinite loop.
2023-01-25[X11] Prevent IME activation from entering infinite loop.bruvzg
2023-01-25Move xkbcommon dynamic loading code into generic linuxbsd folderRiteo
Since Wayland uses it too, it only makes sense to have it in the parent directory of both.
2023-01-23[Linux/BSD] Include headers for dynamically loaded libraries to simplify ↵bruvzg
build dependencies.
2023-01-23Cleanup and unify keyboard input.bruvzg
- Unify keycode values (secondary label printed on a key), remove unused hardcoded Latin-1 codes. - Unify IME behaviour, add inline composition string display on Windows and X11. - Add key_label (localized label printed on a key) value to the key events, and allow mapping actions to the unshifted Unicode events. - Add support for physical keyboard (Bluetooth or Sidecar) handling on iOS. - Add support for media key handling on macOS. Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-21Merge pull request #71819 from Riteo/certified-musl-momentRémi Verschelde
Make PIE relocation detection glibc-only
2023-01-21Make PIE relocation detection glibc-onlyRiteo
Musl doesn't compile with it, and by looking online I think that this is a glibc only thing.
2023-01-20Exclude atomic lib under FreeBSD using LLVMrobfram