summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/freedesktop_portal_desktop.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@6c05ec3d6732cac44cf85c91db7d3fd1075bcb23Spartan3222024-11-151-2/+2
|\
| * Use processed filter list for native dialogs.Pāvels Nadtočajevs2024-11-151-2/+2
| |
* | Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
| |
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* [Linux] Make file filters case insensitive.bruvzg2024-08-281-1/+9
|
* [Linux] Fix "all files" filter in the native file dialog.bruvzg2024-08-281-4/+13
|
* Merge pull request #92208 from Calinou/linuxbsd-use-nanosleepRémi Verschelde2024-05-301-1/+1
|\ | | | | | | Use `OS::delay_usec()` to avoid using deprecated `usleep()` on Linux
| * Use `OS::delay_usec()` to avoid using deprecated `usleep()` on LinuxHugo Locurcio2024-05-211-1/+1
| | | | | | | | | | | | | | | | | | usleep(3) was declared obsolete in POSIX.1-2001 and removed in POSIX.1-2008. nanosleep(2) was recommended to be used instead. `OS::delay_usec()` internally uses `nanosleep()`. This also uses large number separators for improved readability.
* | [DisplayServer] Add error messages and descriptions to callbacks.bruvzg2024-05-281-1/+6
|/
* [DBus] Process file dialog callback in the main event loop instead of using ↵bruvzg2024-04-231-18/+31
| | | | deferred call.
* [Linux/Portal] Fix incorrect DBus connection usage.bruvzg2024-03-271-88/+55
|
* 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.