summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd
Commit message (Collapse)AuthorAgeFilesLines
* SCons: Move platform logo/run icon to `export` folderRémi Verschelde2023-06-204-6/+2
| | | | | | | | | | | | Follow-up to #75932. Since these icons are only used by the export plugin, it makes sense to move them and generate the headers there. The whole `detect.is_active()` logic seems to be a leftover from before times, as far back as 1.0-stable it already wasn't used for anything. So I'm removing it and moving the export icon generation to `platform_methods`, where it makes more sense.
* Merge pull request #74511 from AThousandShips/win_cursor_fixRémi Verschelde2023-06-201-2/+2
|\ | | | | | | Fix clearing custom cursor
| * Fix clearing custom cursorNinni Pipping2023-03-101-2/+2
| |
* | Merge pull request #67158 from amoriqbal/fix_error_messageRémi Verschelde2023-06-191-13/+22
|\ \ | | | | | | | | | Fix the conditions for firing 'No such file or directory' error on Linux `move_to_trash`
| * | Changed the conditions for firing 'No such file or directory' errorAmor Iqbal2022-10-101-13/+22
| | |
* | | [DisplayServer] Add method to check if native window is focused.bruvzg2023-06-162-0/+10
| | |
* | | Fix `bsd` feature tag includes only "other BSDs"Danil Alexeev2023-06-151-1/+9
| | |
* | | Fix docs after renaming export optionRedworkDE2023-06-121-2/+2
| | |
* | | Merge pull request #75984 from KoBeWi/ConsoleMcWrapRémi Verschelde2023-06-121-3/+3
|\ \ \ | | | | | | | | | | | | Rename console script to wrapper
| * | | Rename console script to wrapperkobewi2023-04-121-3/+3
| | | |
* | | | Style: Harmonize header includes in platform portsRémi Verschelde2023-06-0814-63/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | X11: Fix vformat ambiguous int types for GCC 10 (again)Rémi Verschelde2023-06-071-1/+1
| | | |
* | | | Replace get_rendering_device() call to prevent crashes on OpenGL.MJacred2023-06-061-3/+3
| | | | | | | | | | | | | | | | And make OpenGL video adapter info align with Vulkan.
* | | | Merge pull request #75099 from mxnemu/add-default-x11-error-handlerRémi Verschelde2023-06-051-1/+20
|\ \ \ \ | | | | | | | | | | | | | | | [Linux/X11] Add a default error handler for X11 to avoid crashes.
| * | | | [Linux/X11] Add a default error handler for X11 to avoid crashes.nee2023-06-051-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default behaviour for X11 is to crash even on non-fatal errors when there is no error handler set. This change allows the window to stay open and may enable users to save their work when things go wrong. This acts as a workaround for #65425 and #68471
* | | | | [Linux/TTS] Cache TTS voice list.bruvzg2023-06-022-24/+41
| | | | |
* | | | | Merge pull request #65902 from MJacred/editor/copysysteminfoYuri Sizov2023-05-271-21/+26
|\ \ \ \ \ | | | | | | | | | | | | Add an editor option to copy system info to clipboard
| * | | | | Copy system info to clipboard + Update bug_report.ymlMJacred2023-05-271-21/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | plus minor static-related fixes * linuxbsd: get_systemd_os_release_info_value() -> static breaks usage if used multiple times * windows/linuxbsd: get_video_adapter_driver_info() writes info into static * linuxbsd: get_distribution_name() + get_version() -> write bsd fallback into static variable * windows/uwp/android: remove unnecessary use of static
* | | | | | Build `JoypadLinux` sandbox detection method only with udevRiteo2023-05-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fixes an `unused-function` warning when building with `udev=no`.
* | | | | | X11: Fix vformat ambiguous int types for GCC 10Rémi Verschelde2023-05-231-1/+1
|/ / / / / | | | | | | | | | | | | | | | The build would fail with GCC 10 from our Linux SDK used for official builds.
* | | | | Add `audio/general/text_to_speech` project setting to enable/disable TTS.bruvzg2023-05-181-9/+14
| | | | |
* | | | | Merge pull request #75142 from bruvzg/scrRémi Verschelde2023-05-162-0/+100
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | [DisplayServer] Implement screen_get_image method for LinuxBSD/X11, macOS and Windows.
| * | | | | [DisplayServer] Implement screen_get_image method for LinuxBSD/X11, macOS ↵bruvzg2023-03-202-0/+100
| |/ / / / | | | | | | | | | | | | | | | and Windows.
* | | | | Linux: Don't use udev for joypad hotloading when running in a sandboxRémi Verschelde2023-05-121-9/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | udev doesn't work in sandboxes, notably the new Steam container runtime as found notably on the Steam Deck, and in Flatpak/Snap packages. Like SDL does, when we detect such a containerized environment, we fall back to parsing `/dev/input` directly. See smcv's comments in #76879 for details. Fixes #76879.
* | | | | Merge pull request #76836 from Faless/tls/system_certsRémi Verschelde2023-05-122-0/+37
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | [TLS] Add support for platform-specific CA bundles.
| * | | | | [TLS] Add support for platform-specific CA bundles.Fabio Alessandrelli2023-05-122-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new OS::get_system_ca_certs method which can be implemented by platforms to retrieve the list of trusted CA certificates using OS specific APIs. The function should return the certificates in PEM format, and is currently implemented for Windows/macOS/LinuxBSD(*)/Android. mbedTLS will fall back to bundled certificates when the OS returns no certificates. (*) LinuxBSD does not have a standardized certificates store location. The current implementation will test for common locations and may return an empty string on some distributions (falling back to the bundled certificates).
* | | | | | Merge pull request #76974 from dsnopek/linuxbsd-feature-tagsRémi Verschelde2023-05-121-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Fix 'linux' and specific BSD feature tags
| * | | | | | Fix 'linux' and specific BSD feature tagsDavid Snopek2023-05-111-0/+5
| | | | | | |
* | | | | | | Merge pull request #76957 from Riteo/dbus-checkRémi Verschelde2023-05-122-0/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Check DBus loading status before attempting to detect its version
| * | | | | | | Check DBus loading status before attempting to detect its versionRiteo2023-05-112-0/+10
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / / / / / / Enable shadow warnings and fix raised errorsNinni Pipping2023-05-114-12/+18
|/ / / / / /
* | | | | | Merge pull request #76924 from stolk/fixuninitRémi Verschelde2023-05-111-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | x11: Do not use uninitialized timestamps.
| * | | | | | x11: Do not use uninitialized timestamps.Bram Stolk2023-05-101-0/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | Fixes #76922
* | | | | | Merge pull request #76856 from HolonProduction/macos-specificRémi Verschelde2023-05-111-2/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | Don't expose macOS and iOS specific display servers.
| * | | | | Don't expose mac specific display server.HolonProduction2023-05-111-2/+1
| | | | | |
* | | | | | Ensure WindowData minimized/maximized are mutually exclusiveChristopher Foo2023-05-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The window manager can break the assumption that fullscreen/maximized/minimized values are mutually exclusive.
* | | | | | Redo how the remote filesystem worksJuan Linietsky2023-05-082-0/+5
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of reading files over the network, the new version uses a local file cache and only updates files when it changes. The original remote filesystem was created 14 years ago, when ethernet was faster than hard drives or even flash. Also, mobile devices have a very small amount of storage. Nowadays, this is no longer the case so the approach is changed to using a persistent cache in the target device. Co-authored-by: m4gr3d
* | | | | Merge pull request #76026 from YuriSizov/editor-running-up-that-guiRémi Verschelde2023-04-261-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Extract editor run toolbar into its own component
| * | | | | Extract editor run toolbar into its own componentYuri Sizov2023-04-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Simplify and update its logic. - Simplify EditorScript. - Improve EditorNode and other relevant includes. - Fix scene-based path in the movie writer when reloading a scene.
* | | | | | [OS] Implement and expose to scripting APIs `get_memory_info` method instead ↵bruvzg2023-04-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | of old `get_free_static_memory`.
* | | | | | Add support for VRAM-compressed custom mouse cursor imagesHugo Locurcio2023-04-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No memory is actually saved when using this, so lossless modes are still recommended as they look better and load faster.
* | | | | | [Export docs] Move docs to platform folders.bruvzg2023-04-202-0/+83
|/ / / / /
* | | | | Merge pull request #75219 from bruvzg/get_focus_screenRémi Verschelde2023-04-192-59/+50
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Add project manager / editor initial screen settings, implement `get_keyboard_focus_screen` method.
| * | | | | Add project manager / editor initial screen settings, implement ↵bruvzg2023-04-192-59/+50
| | | | | | | | | | | | | | | | | | | | | | | | DisplayServer.get_keyboard_focus_screen method.
* | | | | | [Export] Add readable descriptions and validation warnings to the export ↵bruvzg2023-04-194-15/+36
|/ / / / / | | | | | | | | | | | | | | | options.
* | | | | Merge pull request #74978 from bruvzg/linux_version_checkRémi Verschelde2023-04-187-11/+136
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | [Linux/BSD] Add dynamically loaded library version checks.
| * | | | | [Linux/BSD] Add dynamically loaded library version checks.bruvzg2023-03-207-11/+136
| |/ / / /
* | | | | Merge pull request #76040 from ↵Yuri Sizov2023-04-142-0/+11
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | MightiestGoat/fix-sliding-window-linux-via-tracking-parent Fix the sliding window problem in linux occur due to reparenting of the window due to decoration.
| * | | | Fix the sliding window problem in linux occur due to reparenting of the ↵mightygoat2023-04-142-0/+11
| | | | | | | | | | | | | | | | | | | | window during the decoration via tracking the parent of the window
* | | | | Merge pull request #75933 from akien-mga/windows-tts-hashmapRémi Verschelde2023-04-111-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Windows TTS: Use HashMap instead of RBMap for ids