summaryrefslogtreecommitdiffstats
path: root/editor/export_template_manager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename InputFilter back to InputRémi Verschelde2020-04-281-2/+2
| | | | | | | | | | | | | | | | It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
* Replace NULL with nullptrlupoDharkael2020-04-021-6/+6
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-3/+3
|
* Working multiple window support, including editorJuan Linietsky2020-03-261-17/+16
|
* Refactored input, goes all via windows now.Juan Linietsky2020-03-261-2/+2
| | | | Also renamed Input to InputFilter because all it does is filter events.
* Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky2020-03-261-1/+1
|
* Re-architecture of the Godot Android plugin.fhuya2020-03-051-8/+12
|
* Fix android template install validation.fhuya2020-03-021-3/+1
|
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-19/+10
| | | | | | | | | Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-10/+10
| | | | objects and made them default.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-4/+4
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Remove duplicate ERR_PRINT macro.Marcel Admiraal2020-02-051-1/+1
|
* 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.
* Merge pull request #34625 from timothyqiu/i18nRémi Verschelde2019-12-301-2/+2
|\ | | | | Makes more editor strings translatable
| * Makes more editor strings translatableHaoyu Qiu2019-12-301-2/+2
| | | | | | | | | | | | | | | | | | * Title of Sprite Editor convert preview dialogs * Title of UV Channel Debug dialog * Various editor warnings * GridMap popup menu item "Paste Selects" * Tileset editor shape button texts * MeshLibrary update confirmation text
* | Cleans up headers included in editor_node.hHaoyu Qiu2019-12-241-0/+2
|/
* Make more editor strings translatableHaoyu Qiu2019-12-131-1/+1
|
* Removed unused variables, add some constants numbersRafał Mikrut2019-12-101-1/+1
|
* Merge pull request #32812 from Calinou/template-manager-fix-devel-conditionRémi Verschelde2019-10-251-2/+8
|\ | | | | Fix the download availability check in the export templates manager
| * Fix the download availability check in the export templates managerHugo Locurcio2019-10-131-2/+8
| | | | | | | | This closes #17746.
* | Fix uninstallation of mono templates directoryRémi Verschelde2019-10-241-31/+15
|/ | | | | | The previous code didn't take into account that templates directories can have subdirectories like the mono templates have. Also fix an unclosed dir handle.
* 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
| |
* | Split the Android platform java logic into an Android library module (`lib`) ↵fhuya2019-09-041-87/+2
|/ | | | | | and an application module (`app`). The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').
* Android: Extract libs from pre-built APKs when installing build templateRémi Verschelde2019-08-291-23/+112
| | | | | | | | | Otherwise we would need to include all of them in android_source.zip, which means building the zip after all libs have been built by SCons (so it would have to be done via gradle or a manual script). By extracting it from the pre-built APKs, we save some disk space in templates archives too.
* Tweak a few strings displayed in the editor for consistencyHugo Locurcio2019-08-211-1/+1
|
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily2019-08-171-4/+2
| | | | | | | | | Condensed some if and ERR statements. Added dots to end of error messages Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?), core/os/memory.cpp, drivers/png/png_driver_common.cpp, drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
* Merge pull request #31326 from Calinou/template-manager-disable-download-devRémi Verschelde2019-08-131-4/+17
|\ | | | | Only display download buttons in the template manager when available
| * Only display download buttons in the template manager when availableHugo Locurcio2019-08-131-4/+17
| | | | | | | | | | | | | | | | Development builds don't have official export templates available. Clicking the "Download" or "Re-Download" button resulted in an error while fetching the list of mirrors. This hides the download-related features when using a development build.
* | Export: Remove temp files from cache after exportRémi Verschelde2019-08-121-5/+7
|/ | | | | | | | | 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.
* DirAccess: Drop compat get_next(bool *is_dir) which was hiddenRémi Verschelde2019-07-251-13/+7
| | | | | | | | | Fixes this warning: ``` ./core/os/dir_access.h:74:17: warning: 'virtual String DirAccess::get_next(bool*)' was hidden [-Woverloaded-virtual] ``` Part of #30790.
* Some code changed with Clang-Tidyqarmin2019-06-261-4/+3
|
* Fix typos with codespellRémi Verschelde2019-05-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* Merge pull request #27707 from Calinou/tweak-message-wordingRémi Verschelde2019-04-301-1/+1
|\ | | | | Improve wording of various messages and make casing more consistent
| * Improve wording of various messages and make casing more consistentHugo Locurcio2019-04-211-1/+1
| | | | | | | | | | This also adds the number of selected projects to the confirmation dialog that appears before removing projects.
* | Android now (optionally) builds the template when exportingJuan Linietsky2019-04-071-1/+112
|/ | | | | Added new way to create add-ons Removed old way to create add-ons
* Sanitize file paths before extracting export templatesIgnacio Etcheverry2019-02-281-3/+3
|
* Make export templates extraction handle subdirectoriesIgnacio Etcheverry2019-02-251-1/+22
| | | | Fixes #25330
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-4/+4
| | | | | | 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.
* Remove cached .tpz archive after templates download and installRémi Verschelde2018-08-131-6/+16
| | | | Closes #20640.
* Export: Properly reload preset when opening dialogRémi Verschelde2018-07-181-3/+0
| | | | | | | | | Fixes #20119 where newly installed templates were not detected. Also fix a bug with preset deletion where it would attempt to edit an already removed preset. For this I made it so that ItemList::deselect_all() also resets `current` to -1, as a manual ItemList::deselect(idx) already does.
* Fix export templates installation error...Yar-Mukhamedov2018-07-171-1/+9
|
* Merge pull request #16265 from nanoframe/export_issue_fixMax Hilbrunner2018-07-031-1/+7
|\ | | | | Fix error when downloading export templates
| * Fix error when downloading export templatesnanoframe2018-01-311-1/+7
| |
* | Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio2018-04-221-4/+4
| |
* | Fix version.txt validation logic for export templates .tpzRémi Verschelde2018-02-251-15/+5
| | | | | | | | | | | | | | | | | | | | It assumed that the version would always be `x.y-status`, with no dot possible in `status`, so: - It would not work for 3.0.1-stable (nor 3.0.1.stable with new version logic) - It would not support Mono templates when we provide them The validation it did was not really useful anyway, so we just use the raw string.
* | Refactor version macros and fix related bugsRémi Verschelde2018-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were several places hardcoding their own variant of the version string, potentially with bugs (e.g. forgetting the patch number when defined). The new logic defines: - VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1) - VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch', depending on whether the latter is defined (e.g. 3.1.4) - VERSION_FULL_CONFIG, which contains the version status (e.g. stable) and the module-specific suffix (e.g. mono) - VERSION_FULL_BUILD, same as above but with build/reference name (e.g. official, custom_build, mageia, etc.) Note: Slight change here, as the previous format had the build name *before* the module-specific suffix; now it's after - VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed with "Godot v" for readability Bugs fixed thanks to that: - Export templates version matching now properly takes VERSION_PATCH into account by relying on VERSION_FULL_CONFIG. - ClassDB hash no longer takes the build name into account, but limits itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant for the API hash). - Docs XML no longer hardcode the VERSION_STATUS, this was annoying. - Small cleanup in Windows .rc file thanks to new macros.
* | download templates to a file using separate threadMarcin Zawiejski2018-02-071-13/+6
|/
* TemplateManager: hold shift to open link in browserPoommetee Ketson2018-01-271-1/+8
|