summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd
Commit message (Collapse)AuthorAgeFilesLines
* Fix freeze when requesting clipboard image from our own windowSetadokalo2023-10-251-2/+2
|
* Improved X11 screen_get_refresh_rate performanceBrayden Harlon2023-10-241-1/+1
|
* Merge pull request #81439 from Setadokalo/clipboard_imageRémi Verschelde2023-10-202-2/+226
|\ | | | | | | Implement `clipboard_get`/`has_image` for X11
| * Implement clipboard_get/has_image for X11Setadokalo2023-10-202-2/+226
| |
* | Add error messages to the native menu and file dialogs callback.bruvzg2023-10-142-6/+15
| |
* | Fix unused variables warning when `touch` is disabledKacper Gibas2023-10-131-3/+7
| |
* | Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-10-081-1/+1
| |
* | Add vararg call() method to C++ Callablekobewi2023-10-051-27/+8
| |
* | Merge pull request #82163 from naelstrof/masterRémi Verschelde2023-10-051-3/+7
|\ \ | | | | | | | | | Made signal handling more uniform during crashes.
| * | Made signal handling more uniform. Fixes #82102naelstrof2023-09-221-3/+7
| | |
* | | Merge pull request #82101 from bruvzg/x11_glesRémi Verschelde2023-10-046-9/+205
|\ \ \ | | | | | | | | | | | | [X11] Add support for using EGL/GLES instead of GLX.
| * | | [X11] Add support for using EGL/GLES instead of GLX.bruvzg2023-10-046-9/+205
| | | |
* | | | [Native File Dialogs] Improve filter list handling, add selected filter to ↵bruvzg2023-10-032-32/+73
|/ / / | | | | | | | | | the callback.
* | | Merge pull request #80952 from bruvzg/nfdlg_refocusRémi Verschelde2023-10-033-4/+9
|\ \ \ | | | | | | | | | | | | [Native File Dialogs] Refocus last focused window on close.
| * | | [Native File Dialogs] Refocus last focused window on close.bruvzg2023-08-243-4/+9
| | | |
* | | | Merge pull request #82221 from Riteo/linux-ogl-no-vsync-overrideRémi Verschelde2023-09-261-6/+0
|\ \ \ \ | | | | | | | | | | | | | | | Linux/OpenGL: Don't force vsync in the editor
| * | | | Linux/OpenGL: don't force vsync in the editorRiteo2023-09-241-6/+0
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | I couldn't tell whether this has an actual purpose and it feels more like a debug remnant. We also need to be able to disable vsync in the editor for the WIP Wayland backend (in the EGL driver) as it does manual frame throttling.
* | | | Updated compiler version detectionMario Liebisch2023-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes multiple issues/inconsistencies around `get_compiler_version()`: * With no shell allocated, launching the compiler could fail even with proper paths being set. * The return value was described as "an array of version numbers as ints", but the function actually returned a `Dictionary` (or `None`). * Not all calls were properly handling a `None` return value in case of errors. On Windows this broke compiling for me since #81869 with default settings. * Some calls defined inconsistent defaults/fallbacks (`0` or `-1`).
* | | | SCons: Fix Python 3.12 SyntaxError with regex escape sequencesRémi Verschelde2023-09-251-1/+1
|/ / /
* | | [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add ↵bruvzg2023-09-214-3/+43
| | | | | | | | | | | | | | | | | | EGL_ANDROID_blob_cache caching. Co-authored-by: Riteo <riteo@posteo.net>
* | | [Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-124-18/+18
| |/ |/|
* | Add EditorStringNames singletonkobewi2023-09-031-1/+2
|/
* Merge pull request #80104 from bruvzg/freedesktop_native_file_dialogRémi Verschelde2023-08-177-31/+412
|\ | | | | | | [Linux/Freedesktop] Implement native file selection dialog support.
| * [Linux/Freedesktop] Implement native file selection dialog support.bruvzg2023-08-177-31/+412
| |
* | Merge pull request #80036 from PorkrollPosadist/fix-wayland-window-behaviorRémi Verschelde2023-08-171-12/+14
|\ \ | |/ |/| | | Use EWMH for `DisplayServerX11::_window_minimize_check()` implementation
| * Use EWMH for DisplayServerX11::_window_minimize_check() implementationPorkrollPosadist2023-07-311-12/+14
| |
* | Fix GCC -Wmaybe-uninitialized warningsRémi Verschelde2023-08-141-4/+4
| |
* | Merge pull request #80279 from Sauermann/fix-x11-mouse-window-event-crashRémi Verschelde2023-08-102-3/+18
|\ \ | | | | | | | | | Track hovered `Window` in `DisplayServerX11`
| * | Track hovered `Window` in `DisplayServerX11`Markus Sauermann2023-08-092-3/+18
| | | | | | | | | | | | Send mouse-entered/exited window-events only when necessary
* | | Merge pull request #80240 from bruvzg/x11_ext_checksRémi Verschelde2023-08-072-25/+22
|\ \ \ | | | | | | | | | | | | [X11] Do not fail DisplayServer init if non-essential extensions are missing.
| * | | [X11] Do not fail DisplayServer init if non-essential extensions are missing.bruvzg2023-08-042-25/+22
| |/ /
* / / Fix native popups auto-closing when interacting with non-client area.bruvzg2023-08-071-1/+1
|/ /
* | Merge pull request #78539 from EIREXE/input-infoYuri Sizov2023-08-031-1/+24
|\ \ | | | | | | | | | Add the ability to get per-platform information for joypads
| * | Add the ability to get per-platform information for joypads.Álex Román Núñez2023-08-021-1/+24
| |/ | | | | | | | | | | This adds the ability for games to obtain platform-specific information about joypads such as their vendor/product ID, their XInput gamepad index or the real name of the device before it gets swapped out by the gamecontrollerdb's name. This PR also includes a rebased version of #76045, this is because this PR is intended to be mainly to help people implementing Steam Input, as having the gamepad index is essential.
* / Fix crash on Windows when closing `Window`Markus Sauermann2023-08-021-0/+6
|/ | | | | | | Send `WINDOW_EVENT_MOUSE_EXIT` when a window is destroyed. Ensure, that on Windows, the event_callback is still valid during destroying the `Window`.
* Extract and reorganize texture resource classesHendrik Brucker2023-07-142-2/+2
|
* Merge pull request #79062 from MewPurPur/svg-optimizationsYuri Sizov2023-07-121-1/+1
|\ | | | | | | Optimize SVG icons and remove unused Transpose icon
| * Optimize SVG icons and remove unused Transpose iconMewPurPur2023-07-071-1/+1
| |
* | Merge pull request #77993 from bruvzg/key_lbl_from_pYuri Sizov2023-07-122-0/+25
|\ \ | | | | | | | | | Implement DisplayServer.keyboard_get_label_from_physical method.
| * | Implement keyboard_get_label_from_physical method.bruvzg2023-06-082-0/+25
| | |
* | | Merge pull request #76045 from Eoin-ONeill-Yokai/steaminput-fixYuri Sizov2023-07-121-4/+10
|\ \ \ | | | | | | | | | | | | Prevent double input events on gamepad when running through steam input
| * | | Prevent double input events on gamepad when running through steam inputEoin O'Neill2023-07-101-4/+10
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During GDC and general testing on Steam Deck units, we found that single gamepads would often register inputs twice under certain circumstances. This was caused by SteamInput creating a new virtual device, which Godot registers as a second gamepad. This resulted in two gamepad devices reporting the same button presses, often leading to buggy input response on games with no multi-device logic and other-wise could cause intended Steam rebindings to not work as intended (for example, swapping o and x on a playstation pad if that feature isn't supported by the game.) SDL gets around this by taking in a list of devices that are to be ignored. When valve sees a controller that wants to be rebound via SteamInput, they push a new VID/PID entry onto the environment variable `SDL_GAMECONTROLLER_IGNORE_DEVICES` for the original gamepad so that all game inputs can be read from the virtual gamepad instead. This leverages the same logic as we are already using SDL gamepad related HID mappings.
* | | Merge pull request #73443 from akien-mga/unbundle-openxrYuri Sizov2023-07-121-0/+3
|\ \ \ | | | | | | | | | | | | Allow unbundling OpenXR (for Linux distros)
| * | | Allow unbundling OpenXR (for Linux distros)Rémi Verschelde2023-06-161-0/+3
| | | | | | | | | | | | | | | | | | | | Copy XrMatrix4x4f_CreateProjectionFov to our OpenXRUtil, instead of relying on a private header.
* | | | Merge pull request #78437 from bruvzg/set_iconYuri Sizov2023-07-121-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | Add error checks and harmonize behavior of the `set_icon` method.
| * | | | Add error checks and harmonize behavior of the set_icon method.bruvzg2023-07-031-0/+2
| | |/ / | |/| |
* | | | Merge pull request #78248 from felaugmar/load-svg-adjustable-scaleYuri Sizov2023-07-121-3/+2
|\ \ \ \ | | | | | | | | | | | | | | | Added `Image::load_svg_from_(buffer|string)`
| * | | | Added Image's `load_svg_from_(buffer|string)`Felipe Augusto Marques2023-06-231-3/+2
| |/ / / | | | | | | | | | | | | No core dependency to the svg module.
* | | | Merge pull request #79284 from akien-mga/fix-linux-os-move_to_trashRémi Verschelde2023-07-111-23/+11
|\ \ \ \ | | | | | | | | | | | | | | | Fix Linux `move_to_trash` wrongly reporting files as not found
| * | | | Fix Linux `move_to_trash` wrongly reporting files as not foundRémi Verschelde2023-07-111-23/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can't rely on the error code from `gio` or `kioclient5`, in my rudimentary testing they return `1` for both missing files and other situations like not having a Trash can on the mounted volume. Fixes #79108.