summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/export
Commit message (Collapse)AuthorAgeFilesLines
* Add Wayland supportRiteo2024-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not everything is yet implemented, either for Godot or personal limitations (I don't have all hardware in the world). A brief list of the most important issues follows: - Single-window only: the `DisplayServer` API doesn't expose enough information for properly creating XDG shell windows. - Very dumb rendering loop: this is very complicated, just know that the low consumption mode is forced to 2000 Hz and some clever hacks are in place to overcome a specific Wayland limitation. This will be improved to the extent possible both downstream and upstream. - Features to implement yet: IME, touch input, native file dialog, drawing tablet (commented out due to a refactor), screen recording. - Mouse passthrough can't be implement through a poly API, we need a rect-based one. - The cursor doesn't yet support fractional scaling. - Auto scale is rounded up when using fractional scaling as we don't have a per-window scale query API (basically we need `DisplayServer::window_get_scale`). - Building with `x11=no wayland=yes opengl=yes openxr=yes` fails. This also adds a new project property and editor setting for selecting the default DisplayServer to start, to allow this backend to start first in exported projects (X11 is still the default for now). The editor setting always overrides the project setting. Special thanks to Drew Devault, toger5, Sebastian Krzyszkowiak, Leandro Benedet Garcia, Subhransu, Yury Zhuravlev and Mara Huldra.
* Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* 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.
* Add EditorStringNames singletonkobewi2023-09-031-1/+2
|
* Extract and reorganize texture resource classesHendrik Brucker2023-07-141-1/+1
|
* 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
| |
* | Added Image's `load_svg_from_(buffer|string)`Felipe Augusto Marques2023-06-231-3/+2
|/ | | | No core dependency to the svg module.
* SCons: Move platform logo/run icon to `export` folderRémi Verschelde2023-06-203-2/+4
| | | | | | | | | | | | 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 #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-082-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | 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.
* | [Export] Add readable descriptions and validation warnings to the export ↵bruvzg2023-04-194-15/+36
|/ | | | options.
* Fix split allow empty string in SSH export plugindaviirodrig2023-01-271-2/+2
|
* Merge pull request #63312 from bruvzg/one_clickRémi Verschelde2023-01-133-15/+375
|\ | | | | | | [Export] Add one-click deploy over SSH for the desktop exports.
| * [Export] Add one-click deploy over SSH for the desktop exports.bruvzg2022-12-293-15/+375
| | | | | | | | | | | | Add one-click deploy over SSH for the desktop exports. Add ZIP export option for Linux and Windows. Change export plugin icons to SVG format.
* | One Copyright Update to rule them allRémi Verschelde2023-01-054-116/+116
|/ | | | | | | | | | | | | | | | | | | | 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".
* Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-2/+2
|
* Update export dialog to handle many architecturesAaron Franke2022-07-293-19/+7
|
* Split up editor export code into multiple filesAaron Franke2022-07-262-1/+2
|
* Merge pull request #63096 from aaronfranke/exp-template-namesRémi Verschelde2022-07-261-1/+1
|\
| * Update export template names for Windows, Mac, and LinuxAaron Franke2022-07-221-1/+1
| |
* | Code quality: Fix header guards consistencyRémi Verschelde2022-07-251-1/+1
|/ | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* Add static methods for creating Image and ImageTexturekobewi2022-07-081-6/+1
|
* Add readable export errors.bruvzg2022-06-082-5/+17
|
* [Editor] LinuxBSD export reports Linux as OS name.Fabio Alessandrelli2022-05-241-1/+1
| | | | | | | | | This is in line with what's reported by the `OS` class on GNU/Linux, and is required by the extension exporter to identify the correct library. For BSD, we should either finish splitting the platform (into platform/bsd) or register a separate exporter with OS name BSD and proper templates detection.
* Replace most uses of Map by HashMapreduz2022-05-161-1/+1
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-8/+4
|
* Generate export template file names instead of having a fixed setAaron Franke2022-03-223-4/+5
|
* Change extension for Linux 32-bit x86 exports to x86_32Aaron Franke2022-03-211-1/+1
|
* Move extension logic to EditorExportPlatformLinuxBSDAaron Franke2022-03-212-0/+24
|
* Move fixup_embedded_pck to EditorExportPlatform classesAaron Franke2022-03-203-108/+106
|
* [Export] Add "export console script" option for Linux, macOS, and Windows ↵bruvzg2022-03-143-5/+123
| | | | exports.
* Update copyright statements to 2022Rémi Verschelde2022-01-032-4/+4
| | | | Happy new year to the wonderful Godot community!
* Make platform feature tag names lowercaseHugo Locurcio2021-08-311-1/+1
| | | | | | | | | | | | | | Feature tag names are still case-sensitive, but this makes built-in feature tags more consistent. - `Windows` -> `windows` - `OSX` -> `osx` - `LinuxBSD` -> `linuxbsd` - `Android` -> `android` - `iOS` -> `ios` - `HTML5` -> `html5` - `JavaScript` -> `javascript` - `UWP` -> `uwp`
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-2/+2
|
* Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde2021-06-111-1/+1
| | | | | File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
* Update copyright statements to 2021Rémi Verschelde2021-01-012-4/+4
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-3/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky2020-03-262-0/+205