summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #83452 from RandomShaper/rd_commonYuri Sizov2023-12-204-54/+75
|\ | | | | Split `RenderingDevice` into API-agnostic and `RenderingDeviceDriver` parts
| * Split RenderingDevice into API-agnostic and RenderingDeviceDriver partsPedro J. Estébanez2023-12-204-54/+75
| | | | | | | | | | | | Credit and thanks to @bruzvg for multiple build fixes, update of 3rd-party items and MinGW support. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* | Merge pull request #75489 from bruvzg/init_pos_usableYuri Sizov2023-12-191-1/+2
|\ \ | |/ |/| | | [DisplayServer] Use screen "usable rect" instead of full rect to calculate initial window rect.
| * [DisplayServer] Use screen "usable rect" instead of full rect to calculate ↵bruvzg2023-12-041-1/+2
| | | | | | | | initial window rect.
* | Ensure more export errors are reported to usersYuri Sizov2023-12-061-9/+9
| | | | | | | | | | | | | | Also fixes the timing issue when exporting all presets at the same time, where the error report would try to appear while the progress dialog was still visible.
* | X11: Send IME update notification deferredHolonProduction2023-11-241-1/+1
|/
* Don't use TTR/RTR for ERR/WARN printsRémi Verschelde2023-11-121-1/+1
| | | | We don't translate those, only editor strings are translated.
* [X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam.bruvzg2023-11-064-13/+40
|
* Linux: Remove hardcoded lib path for x86 cross-compilationRémi Verschelde2023-11-011-11/+10
| | | | | | | | | This breaks the build with our updated i686 Linux SDK which doesn't contain this path, and may not be needed at all. This might need further work to be robust, and there's an open PR already adding -march flags for all supported architectures, but for now we're playing it safe for 4.2.
* TTS_Linux: Fix size_t template issue on OpenBSD by using int consistentlythfrwn2023-10-272-7/+7
|
* 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
| | |