summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/freedesktop_portal_desktop.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add method to get "base" system UI color (macOS/Windows) and system theme ↵bruvzg2024-02-131-7/+65
| | | | change callback.
* [Native File Dialog] Add support for adding custom options to the dialogs.bruvzg2024-01-241-11/+102
| | | | Add support for adding custom options (checkboxes and optionboxes) to the dialogs (both native and built-in).
* Add const references detected by clang-tidyWilson E. Alvarez2023-12-161-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.
* Add error messages to the native menu and file dialogs callback.bruvzg2023-10-141-5/+12
|
* [Native File Dialogs] Improve filter list handling, add selected filter to ↵bruvzg2023-10-031-30/+70
| | | | the callback.
* [Native File Dialogs] Refocus last focused window on close.bruvzg2023-08-241-1/+5
|
* [Linux/Freedesktop] Implement native file selection dialog support.bruvzg2023-08-171-7/+343
|
* Style: Harmonize header includes in platform portsRémi Verschelde2023-06-081-2/+1
| | | | | | | | | | | | | | | | This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module should be included with relative paths (relative to the root folder of the modular component, e.g. `platform/linuxbsd/`), in their own section before Godot's "core" includes. The `api` and `export` subfolders also need to be handled as self-contained (and thus use relative paths for their "local" includes) as they are all compiled for each editor platform, without necessarily having the api/export matching platform folder in the include path. E.g. the Linux editor build will compile `platform/android/{api,export}/*.cpp` and those need to use relative includes for it to work.
* Check DBus loading status before attempting to detect its versionRiteo2023-05-111-0/+5
| | | | | | | | Fixes two related segfaults caused by running the DBus version check unconditionally and potentially calling null function pointers. This was clearly an oversight as all the other wrappers have proper loading status checks.
* [Linux/BSD] Add dynamically loaded library version checks.bruvzg2023-03-201-0/+11
|
* [Linux] Make SO wrapper usage optional.bruvzg2023-02-161-0/+8
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | 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".
* Add support for system dark mode (Linux)Raul Santos2022-09-021-0/+135
- Use `org.freedesktop.appearance color-scheme` to support system dark mode.