summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd
Commit message (Collapse)AuthorAgeFilesLines
* [X11] Do not suppress structure/focus events on popup close to correctly ↵bruvzg2023-02-071-9/+8
| | | | return focus.
* [X11] Fix IME window focus events.bruvzg2023-02-061-2/+2
|
* Use a "warning" icon in `OS.alert()` on Linux/*BSDHugo Locurcio2023-02-021-2/+4
| | | | This is the same icon as used on Windows.
* Merge pull request #72104 from bruvzg/popup-non-popupsRémi Verschelde2023-02-011-1/+16
|\ | | | | | | Extend special popup window handling to any non-popup child of a popup.
| * Extend special popup window handling to any non-popup child of a popup.bruvzg2023-01-261-1/+16
| |
* | [X11] Fix IME subwindow in the popup not getting input focus.bruvzg2023-02-011-1/+1
| |
* | [X11] Add support for dead keys without active IME. Fix IME focus and cleanup.bruvzg2023-01-3026-56/+376
| |
* | Merge pull request #72102 from Riteo/keymapx11-scope-goodnessRémi Verschelde2023-01-272-14/+13
|\ \ | | | | | | | | | Put KeyMappingX11 stuff inside its own scope
| * | Put KeyMappingX11 stuff inside its own scopeRiteo2023-01-262-14/+13
| | | | | | | | | | | | This avoids collisions with other "concurrent" key mappers.
* | | Fix split allow empty string in SSH export plugindaviirodrig2023-01-271-2/+2
| |/ |/|
* | [X11] Fix IME focus return.bruvzg2023-01-261-1/+1
|/
* Merge pull request #72029 from bruvzg/x11_keycodeRémi Verschelde2023-01-251-0/+1
|\ | | | | | | [X11] Fix incorrect keycodes from non-QWERTY layouts.
| * [X11] Fix incorrect keycodes from non-QWERTY layouts.bruvzg2023-01-251-0/+1
| |
* | [X11] Make IME focus window input only.bruvzg2023-01-251-1/+5
|/
* Merge pull request #72018 from bruvzg/x11_ime_loopRémi Verschelde2023-01-251-31/+34
|\ | | | | | | [X11] Prevent IME activation from entering infinite loop.
| * [X11] Prevent IME activation from entering infinite loop.bruvzg2023-01-251-31/+34
| |
* | Move xkbcommon dynamic loading code into generic linuxbsd folderRiteo2023-01-255-2/+3
|/ | | | | Since Wayland uses it too, it only makes sense to have it in the parent directory of both.
* [Linux/BSD] Include headers for dynamically loaded libraries to simplify ↵bruvzg2023-01-2325-437/+98
| | | | build dependencies.
* Cleanup and unify keyboard input.bruvzg2023-01-238-1992/+2628
| | | | | | | | | | - 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>
* Convert en_GB spelling to en_US with codespellRémi Verschelde2023-01-231-1/+1
|
* Merge pull request #71819 from Riteo/certified-musl-momentRémi Verschelde2023-01-211-0/+6
|\ | | | | | | Make PIE relocation detection glibc-only
| * Make PIE relocation detection glibc-onlyRiteo2023-01-211-0/+6
| | | | | | | | | | Musl doesn't compile with it, and by looking online I think that this is a glibc only thing.
* | Exclude atomic lib under FreeBSD using LLVMrobfram2023-01-201-2/+2
|/
* Improve DisplayServer message for video card drivers failureRémi Verschelde2023-01-171-11/+13
| | | | And remove leftover duplicated message on Android.
* Fix X11 input region size.bruvzg2023-01-171-12/+7
|
* Linux/BSD: Add LINUXBSD_ENABLED define for non X11-related checksRémi Verschelde2023-01-161-3/+8
|
* Add `WINDOW_FLAG_MOUSE_PASSTHROUGH` flag and enabled it for tooltips. Expose ↵bruvzg2023-01-162-8/+29
| | | | `window_set_mouse_passthrough` to `Window`.
* Merge pull request #71437 from vaartis/linux-backtraceRémi Verschelde2023-01-151-18/+22
|\ | | | | | | Alter linux debug stacktraces handling to support more environments
| * Alter linux debug stacktraces handling to support more environmentsEkaterina Vaartis2023-01-151-18/+22
| | | | | | | | | | | | - Use -gdwarf-4 to support both LLVM and GCC when calling addr2line - Subtract position-independant execuable relocation when passing the address to addr2line
* | Update all outdated online documentation linksYuri Sizov2023-01-141-1/+1
| |
* | Merge pull request #63312 from bruvzg/one_clickRémi Verschelde2023-01-136-15/+377
|\ \ | | | | | | | | | [Export] Add one-click deploy over SSH for the desktop exports.
| * | [Export] Add one-click deploy over SSH for the desktop exports.bruvzg2022-12-296-15/+377
| | | | | | | | | | | | | | | | | | Add one-click deploy over SSH for the desktop exports. Add ZIP export option for Linux and Windows. Change export plugin icons to SVG format.
* | | Use BitField<> in core type masksJuan Linietsky2023-01-084-20/+26
| |/ |/| | | | | | | | | | | | | * All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
* | Add support for the custom initial screen for the main window, fix primary ↵bruvzg2023-01-072-48/+79
| | | | | | | | screen detection.
* | One Copyright Update to rule them allRémi Verschelde2023-01-0528-812/+812
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* | Merge pull request #70624 from bruvzg/cur_scRémi Verschelde2023-01-032-15/+54
|\ \ | | | | | | | | | Improve `window_set_current_screen` and fix secondary window initial mode and positions.
| * | Improve `window_set_current_screen` and fix secondary window initial mode ↵bruvzg2022-12-292-15/+54
| |/ | | | | | | and positions.
* / Allow building X11 without VulkanRiteo2022-12-271-3/+0
|/ | | | This limit was likely introduced when Vulkan was the only option.
* Merge pull request #69678 from Sauermann/fix-slider-button-upRémi Verschelde2022-12-161-12/+24
|\ | | | | | | Fix colorpicker slider bug with mouse-up outside of popup
| * Fix colorpicker slider bug with mouse-up outside of popupMarkus Sauermann2022-12-061-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | When releasing the mouse button outside of the popup while dragging a slider, the slider still gets adjusted by mouse-move events. The reason for this bug is that the mouse-up event is sent to the focused window (main editor window) instead of the colorpicker popup window. This PR adjusts the linuxbsd X11 DisplayServer to send the event to the correct expected window.
* | Fix String::word_wrap() for long wordsHaoyu Qiu2022-12-161-6/+5
| | | | | | | | | | | | | | | | | | - Changes `TextServer.string_get_word_breaks()` - Returns pairs of boundary start and end offsets - Accepts `chars_per_line` to return line breaks - Removes `String::word_wrap()` Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* | Fix typos with codespellRémi Verschelde2022-12-1512-14/+14
| |
* | fix dbus and fontconfig linksnikitalita2022-12-092-4/+4
| |
* | Merge pull request #69712 from bruvzg/real_sizeRémi Verschelde2022-12-072-4/+43
|\ \ | | | | | | | | | Rename `window_get_real_size`, add position counterpart.
| * | Rename `window_get_real_size` to `window_get_size_with_decorations`, add ↵bruvzg2022-12-072-4/+43
| |/ | | | | | | `window_get_position_with_decorations`.
* / [Linux/X11] Split fullscreen mode into `WINDOW_MODE_EXCLUSIVE_FULLSCREEN` ↵bruvzg2022-12-072-8/+27
|/ | | | and `WINDOW_MODE_FULLSCREEN` to improve multi-window handling.
* Fix that mouse-button-up event is parsed twice for drag-and-dropMarkus Sauermann2022-12-051-1/+0
| | | | | | Currently Input::get_singleton()->parse_input_event(mb); is called twice for mouse-button-up events when dropping in a different window on linuxbsd.
* Merge pull request #69563 from nyanpasu64/patch-1Rémi Verschelde2022-12-051-1/+1
|\ | | | | | | Fix burning CPU with udev disabled on Flatpak
| * Fix burning CPU with udev disabled on Flatpaknyanpasu642022-12-031-1/+1
| | | | | | Fixes #67355.
* | [Linux/BSD] Fix build without fontconfig.bruvzg2022-12-052-3/+5
| |