summaryrefslogtreecommitdiff
path: root/editor/export_template_manager.cpp
AgeCommit message (Collapse)Author
2020-05-10Style: clang-format: Disable AllowShortCaseLabelsOnASingleLineRémi Verschelde
Part of #33027.
2020-04-28Rename InputFilter back to InputRémi Verschelde
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.
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-26Refactored input, goes all via windows now.Juan Linietsky
Also renamed Input to InputFilter because all it does is filter events.
2020-03-26Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky
2020-03-05Re-architecture of the Godot Android plugin.fhuya
2020-03-02Fix android template install validation.fhuya
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
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.)
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-05Remove duplicate ERR_PRINT macro.Marcel Admiraal
2020-01-01Update copyright statements to 2020Rémi Verschelde
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.
2019-12-30Merge pull request #34625 from timothyqiu/i18nRémi Verschelde
Makes more editor strings translatable
2019-12-30Makes more editor strings translatableHaoyu Qiu
* 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
2019-12-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-12-13Make more editor strings translatableHaoyu Qiu
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-10-25Merge pull request #32812 from Calinou/template-manager-fix-devel-conditionRémi Verschelde
Fix the download availability check in the export templates manager
2019-10-24Fix uninstallation of mono templates directoryRémi Verschelde
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.
2019-10-13Fix the download availability check in the export templates managerHugo Locurcio
This closes #17746.
2019-09-25Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde
Added some obvious errors explanations
2019-09-25Added some obvious errors explanationsqarmin
2019-09-04Split the Android platform java logic into an Android library module (`lib`) ↵fhuya
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').
2019-08-29Android: Extract libs from pre-built APKs when installing build templateRémi Verschelde
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.
2019-08-21Tweak a few strings displayed in the editor for consistencyHugo Locurcio
2019-08-17Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily
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?)
2019-08-13Merge pull request #31326 from Calinou/template-manager-disable-download-devRémi Verschelde
Only display download buttons in the template manager when available
2019-08-13Only display download buttons in the template manager when availableHugo Locurcio
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.
2019-08-12Export: Remove temp files from cache after exportRémi Verschelde
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.
2019-07-25DirAccess: Drop compat get_next(bool *is_dir) which was hiddenRémi Verschelde
Fixes this warning: ``` ./core/os/dir_access.h:74:17: warning: 'virtual String DirAccess::get_next(bool*)' was hidden [-Woverloaded-virtual] ``` Part of #30790.
2019-06-26Some code changed with Clang-Tidyqarmin
2019-05-19Fix typos with codespellRémi Verschelde
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 ```
2019-04-30Merge pull request #27707 from Calinou/tweak-message-wordingRémi Verschelde
Improve wording of various messages and make casing more consistent
2019-04-21Improve wording of various messages and make casing more consistentHugo Locurcio
This also adds the number of selected projects to the confirmation dialog that appears before removing projects.
2019-04-07Android now (optionally) builds the template when exportingJuan Linietsky
Added new way to create add-ons Removed old way to create add-ons
2019-02-28Sanitize file paths before extracting export templatesIgnacio Etcheverry
2019-02-25Make export templates extraction handle subdirectoriesIgnacio Etcheverry
Fixes #25330
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
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.
2018-08-13Remove cached .tpz archive after templates download and installRémi Verschelde
Closes #20640.
2018-07-18Export: Properly reload preset when opening dialogRémi Verschelde
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.
2018-07-17Fix export templates installation error...Yar-Mukhamedov
2018-07-03Merge pull request #16265 from nanoframe/export_issue_fixMax Hilbrunner
Fix error when downloading export templates
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-02-25Fix version.txt validation logic for export templates .tpzRémi Verschelde
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.
2018-02-23Refactor version macros and fix related bugsRémi Verschelde
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.
2018-02-07download templates to a file using separate threadMarcin Zawiejski
2018-01-31Fix error when downloading export templatesnanoframe