summaryrefslogtreecommitdiffstats
path: root/platform/uwp
Commit message (Collapse)AuthorAgeFilesLines
* UWP: Remove platform port, needs to be redone from scratch for 4.xRémi Verschelde2023-09-0719-4297/+0
| | | | | | | | | | | The UWP platform port was never ported to the Godot 4.0+ API, and it's now accumulating bitrot as it doesn't compile, and thus we no longer propagate platform changes in it. So we finally remove to acknowledge this state. There's still some interest in reviving the UWP port eventually, especially as support for Direct3D 12 will soon be merged, but when that happens it will be easiest to redo it from scratch.
* Merge pull request #79351 from Repiteo/dotnet-handle-warningsYuri Sizov2023-07-261-2/+4
|\ | | | | | | C#: Fix MSVC dotnet builds failing if running `dev_mode`
| * Allow MSVC dev_mode builds to succeed with dotnetThaddeus Crews2023-07-171-2/+4
| | | | | | | | • Added #else section to mono #ifdef checks in relevant export_plugin scripts
* | iOS: Add `export_project_only` flagPhil Hudson2023-07-171-1/+1
| |
* | Extract and reorganize texture resource classesHendrik Brucker2023-07-142-0/+2
| |
* | Merge pull request #78248 from felaugmar/load-svg-adjustable-scaleYuri Sizov2023-07-121-2/+1
|\ \ | |/ |/| | | Added `Image::load_svg_from_(buffer|string)`
| * Added Image's `load_svg_from_(buffer|string)`Felipe Augusto Marques2023-06-231-2/+1
| | | | | | | | No core dependency to the svg module.
* | Change explicit 'Godot 4.0' references to 'Godot 4'Rémi Verschelde2023-07-101-4/+4
| | | | | | | | Fixes #79276.
* | Fix formatting of dlopen error message on WindowsKamil Brzoskowski2023-07-091-1/+1
|/ | | | | | And harmonize the format for all platforms. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* SCons: Move platform logo/run icon to `export` folderRémi Verschelde2023-06-203-5/+1
| | | | | | | | | | | | 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.
* CI: Update static checks to black 23.3.0Rémi Verschelde2023-06-191-1/+0
| | | | And apply it to the codebase, removing empty lines at the start of blocks.
* Allow exporting release Android builds without a debug keystoreMichael Alexsander2023-06-192-2/+2
|
* Style: Harmonize header includes in platform portsRémi Verschelde2023-06-088-19/+15
| | | | | | | | | | | | | | | | 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.
* Copy system info to clipboard + Update bug_report.ymlMJacred2023-05-271-2/+1
| | | | | | | | 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
* Store sensitive export options in dedicated credentials fileAndreas Raddau2023-05-102-4/+9
|
* 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-2/+7
| | | | options.
* Update all outdated online documentation linksYuri Sizov2023-01-141-1/+1
|
* Merge pull request #63312 from bruvzg/one_clickRémi Verschelde2023-01-133-2/+17
|\ | | | | | | [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-2/+17
| | | | | | | | | | | | 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.
* | Merge pull request #70714 from Calinou/doc-os-stdinRémi Verschelde2023-01-122-2/+2
|\ \ | | | | | | Improve documentation for `OS.read_string_from_stdin()`
| * | Improve documentation for `OS.read_string_from_stdin()`Hugo Locurcio2023-01-112-2/+2
| |/ | | | | | | | | | | This makes it clearer that calls to this method are blocking. The unused method parameter was also removed.
* / One Copyright Update to rule them allRémi Verschelde2023-01-0515-435/+435
|/ | | | | | | | | | | | | | | | | | | | 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-182-5/+5
|
* Merge pull request #67244 from RandomShaper/split_render_further_2Rémi Verschelde2022-10-111-1/+1
|\ | | | | Polish rendering driver refactor further (take 2)
| * Polish rendering driver refactor further (take 2)Pedro J. Estébanez2022-10-111-1/+1
| |
* | Cleanup unused defines in platform codeRémi Verschelde2022-10-111-7/+0
|/
* Unix: Remove now unnecessary I/O defines, cleanupRémi Verschelde2022-10-031-1/+1
| | | | | | | | | | | | | | | | - `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_. - `NO_NETWORK` is also never defined. It probably isn't enough anyway to disable network APIs in the current codebase. - `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some other platforms, clarify that. - `NO_STATVFS` can be removed as Android supports it since API level 19, which is our current min SDK level. It's also only used for `DirAccessUnix::get_space_left()` which is anyway overridden by `DirAccessJAndroid::get_space_left()` so it shouldn't make a difference. * Fixed documentation for `DirAccess.get_space_left()`. - `NO_FCNTL` is likely also a remnant of early Android days, in current NDK r23 it seems to be available. Also cleaned up unused `fcntl.h` includes. - `NO_ALLOCA` is never defined, and we use alloca in many places now.
* ci: add Python static analysis check via mypyJiri Suchan2022-09-301-3/+8
|
* Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable usedRémi Verschelde2022-09-281-1/+1
|
* Add get_distribution_name() and get_version() to OSMJacred2022-09-162-0/+12
| | | | | | supports: LinuxBSD, Windows, macOS, iOS, Android, UWP Co-authored-by: bruvzg
* Fixes #65377: get_datetime_* functions can return wrong valuesJames2022-09-102-23/+17
|
* Rename String `plus_file` to `path_join`Aaron Franke2022-08-292-3/+3
|
* Merge pull request #64507 from RandomShaper/remove_unusedRémi Verschelde2022-08-272-3/+1
|\ | | | | Remove unused `force_quit` variable from many OS abstractions
| * Remove unused force_quit variable from many OS abstractionsPedro J. Estébanez2022-08-272-3/+1
| |
* | Improve platform-specific READMEs to add useful linksHugo Locurcio2022-08-251-0/+20
| | | | | | | | This also adds READMEs for all platforms.
* | Unify bits, arch, and android_arch into env["arch"]Aaron Franke2022-08-251-20/+19
| | | | | | | | | | | | Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* | Refactor the export checking logic to improve separation of concernsFredia Huya-Kouadio2022-08-142-3/+23
|/
* Only define `keep_screen_on` project setting onceRedMser2022-08-061-1/+1
|
* Add support for multiple virtual keyboard typesBrian Semrau2022-08-042-2/+2
|
* Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-312-0/+2
| | | | up editor includes
* Update export dialog to handle many architecturesAaron Franke2022-07-292-49/+24
|
* Make some editor export methods constAaron Franke2022-07-292-4/+4
|
* Split up editor export code into multiple filesAaron Franke2022-07-262-2/+2
|
* Code quality: Fix header guards consistencyRémi Verschelde2022-07-255-4/+5
| | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* Flush buffered input events on UWPPedro J. Estébanez2022-07-231-0/+1
|
* Add static methods for creating Image and ImageTexturekobewi2022-07-081-3/+1
|
* Add a new HashSet templatereduz2022-05-203-3/+3
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-164-4/+4
| | | | | | | | | | | | * 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!
* Fix ZipIO crash when reused (and possible leaks).bruvzg2022-05-111-1/+2
|