summaryrefslogtreecommitdiffstats
path: root/platform/uwp/export/export.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Core: Drop custom `copymem`/`zeromem` definesRémi Verschelde2021-04-271-1/+1
| | | | | | | | We've been using standard C library functions `memcpy`/`memset` for these since 2016 with 67f65f66391327b2967a20a89c3627e1dd6e84eb. There was still the possibility for third-party platform ports to override the definitions with a custom header, but this doesn't seem useful anymore.
* Fix EditorExportPlugin _export_begin and _export_end functions not being ↵Gromph2021-04-141-0/+2
| | | | | | called when exporting UWP in uwp's version of export.cpp create a ExportNotifier object so that EditorExportPlugin _export_begin and _export_end functions will be called as documentated.
* Rename Texture.get_data() to get_image()Marcel Admiraal2021-03-281-10/+10
|
* CI: Update to clang-format 11 and apply ternary operator changesRémi Verschelde2021-01-121-1/+1
|
* Split OS::execute into two methodsMarcel Admiraal2021-01-091-1/+1
| | | | | 1. execute(): Executes a command and returns the results. 2. create_process(): Creates a new process and returns the new process' id.
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | 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 🎆
* Rename empty() to is_empty()Marcel Admiraal2020-12-281-6/+6
|
* Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut2020-12-021-4/+2
|
* Export: Reorder options for consistency across platformsRémi Verschelde2020-11-201-3/+3
|
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-3/+3
| | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* Refactor MethodBind to use variadic templatesreduz2020-10-181-1/+2
| | | | Removed make_binders and the old style generated binders.
* Fixed an issue in UWP export caused by duplicate entry for extensions in ↵unknown2020-10-081-1/+1
| | | | content types file.
* Adds PCK encryption support (using script encryption key for export).bruvzg2020-09-051-1/+1
| | | | Change default encryption mode from ECB to CFB.
* Add override keywords.Marcel Admiraal2020-07-101-10/+10
|
* Export: Rename 'Windows Universal' to 'UWP'Rémi Verschelde2020-06-191-2/+2
| | | | | It's otherwise too easy to be confused between 'Windows Desktop' (Win32) and 'Windows Universal' (UWP).
* Simplify some code in platform/uwp/exportAaron Franke2020-06-111-17/+1
|
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-35/+58
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-42/+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.
* Port member initialization from constructor to declaration (C++11)Rémi Verschelde2020-05-141-14/+8
| | | | | | | | | | Using `clang-tidy`'s `modernize-use-default-member-init` check and manual review of the changes, and some extra manual changes that `clang-tidy` failed to do. Also went manually through all of `core` to find occurrences that `clang-tidy` couldn't handle, especially all initializations done in a constructor without using initializer lists.
* New lightmapperJuan Linietsky2020-05-101-23/+23
| | | | | | | -Added LocalVector (needed it) -Added stb_rect_pack (It's pretty cool, we could probably use it for other stuff too) -Fixes and changes all around the place -Added library for 128 bits fixed point (required for Delaunay3D)
* Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde2020-05-101-13/+26
| | | | | | | Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
* Replace NULL with nullptrlupoDharkael2020-04-021-18/+18
|
* Texture refactorJuan Linietsky2020-02-111-1/+1
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Merge pull request #35886 from doot24/fix_#35871Rémi Verschelde2020-02-061-1/+1
|\ | | | | Fixed Godot not recognising 150x150 icon for uwp export #35871
| * fixed godot not recognising 150x150 icon for uwp exportD00T242020-02-031-1/+1
| |
* | Remove duplicate ERR_PRINT macro.Marcel Admiraal2020-02-051-3/+3
|/
* Export: Improve usability of command line interfaceRémi Verschelde2020-01-071-31/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm barely scratching the surface of the changes needed to make the --export command line interface easy to use, but this should already improve things somewhat. - Streamline `can_export()` templates check in all platforms, checking first for the presence of official templates, then of any defined custom template, and reporting on the absence of any. Shouldn't change the actual return value much which is still true if either release or debug is usable - we might want to change that eventually and better validate against the requested target. - Fix discrepancy between platforms using `custom_package/debug` and `custom_template/debug` (resp. `release`). All now use `custom_template`, which will break compatibility for `export_presets.cfg` with earlier projects (but is easy to fix). - Use `can_export()` when attempting a command line export and report the same errors that would be shown in the editor. - Improve error reporting after a failed export attempt, handling missing template and invalid path more gracefully. - Cleanup of unused stuff in EditorNode around the export workflow. - Improve --export documentation in --help a bit. Fixes #16949 (at least many of the misunderstandings listed there). Fixes #18470.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Fix inverted value check in UWP export packagerGeorge Marques2019-11-251-1/+1
|
* [UWP] [Export] added additional checks for blank valuespiratesephiroth2019-11-091-0/+10
| | | | | `Short Name` and `Publisher Display Name` are mandatory. You can't even sign the app package without them in the manifest.
* Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde2019-09-251-1/+1
|\ | | | | Added some obvious errors explanations
| * Added some obvious errors explanationsqarmin2019-09-251-1/+1
| |
* | Changed some code found by Clang Tidy and Coverityqarmin2019-09-221-4/+4
|/
* Move CryptoCore to it's own folder.Fabio Alessandrelli2019-08-191-1/+1
| | | | Crypto classes will be placed in core/crypto.
* Export: Remove temp files from cache after exportRémi Verschelde2019-08-121-36/+21
| | | | | | | | | So far we left most temporary files lying around, so this attempts to fix that. I added a helper method to DirAccess to factor out the boilerplate of creating a DirAccess, checking if the file exists, remove it or print an error on failure.
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner2019-08-091-8/+4
| | | | "modules/gdnative", "modules/gdscript" directories.
* Fix some code found by Coverity Scan and PVS Studioqarmin2019-07-231-1/+3
|
* CryptoCore class to access to base crypto utils.Fabio Alessandrelli2019-07-021-9/+5
| | | | | | | | | | | | | | | | | | Godot core needs MD5/SHA256/AES/Base64 which used to be provided by separate libraries. Since we bundle mbedtls in most cases, and we can easily only include the needed sources if we so desire, let's use it. To simplify library changes in the future, and better isolate header dependencies all functions have been wrapped around inside a class in `core/math/crypto_base.h`. If the mbedtls module is disabled, we only bundle the needed source files independently of the `builtin_mbedtls` option. If the module is enabled, the `builtin_mbedtls` option works as usual. Also remove some unused headers from StreamPeerMbedTLS which were causing build issues.
* Fix memory leak after closing filesqarmin2019-06-051-4/+0
|
* Allow project export to be canceledGeorge Marques2019-05-181-14/+32
|
* Enable warnings=extra on clang and GCC testers.marxin2019-04-021-1/+1
| | | | And remove 2 warnings from warnings=extra.
* Fix directory check when exporting projectvolzhs2019-03-061-1/+1
| | | | Fix #26702
* Fixes misleading error message when trying to exportRicardo Lüders2019-03-051-0/+4
| | | | | | | This patch fixes the misleading error message when users try to "export all" into an invalid destination path. Closes #26539
* Platform: Ensure classes match their header filenameRémi Verschelde2019-02-121-10/+10
| | | | | | | | | | | | | | | | | | | | Also drop some unused files. Renamed: - `platform/iphone/sem_iphone.h` -> `semaphore_iphone.h` (same for `osx`) - `platform/uwp/gl_context_egl.h` -> `context_egl_uwp.h` - in `platform/windows`: `context_gl_win.h`, `crash_handler_win.h`, `godot_win.cpp`, `joypad.h` and `key_mapping_win.h` all renamed to use `windows`. Some classes renamed accordingly too. - `EditorExportAndroid` and `EditorExportUWP` renamed to `EditorExportPlatformAndroid` and `EditorExportPlatformUWP` - `power_android` and `power_osx` renamed to `PowerAndroid` and `PowerOSX` - `OSUWP` renamed to `OS_UWP` Dropped: - `platform/windows/ctxgl_procaddr.h`
* ExportDialog: Make error messages translatableRémi Verschelde2019-01-211-13/+13
| | | | Also fix missing newlines that caused #24202.
* Fixed a typo in 'uwp_device_capabilites'M. Huri2019-01-191-3/+3
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* uwp export: fix existing template checkAndrea Beconcini2018-11-271-1/+1
|
* Export for OS X on OS X now lets you select .dmg or .zipMarcelo Fernandez2018-11-011-2/+4
|
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-7/+7
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.