summaryrefslogtreecommitdiff
path: root/editor/export_template_manager.cpp
AgeCommit message (Collapse)Author
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
2018-01-27TemplateManager: hold shift to open link in browserPoommetee Ketson
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-04Clean up \n from end of translation stringsArtem Varaksa
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-18Fix bug in previous commitRémi Verschelde
2017-12-18Prevent infinite loop in export template managerRémi Verschelde
2017-12-18Fix installing export templates from fileOnur Aslan
3de20641f5690aba7551da5c592a79d44af54fef did break installing export templates from file. This patch is fixing it.
2017-12-17Property install export templates when downloaded from httpJuan Linietsky
added a scale parameter for scene import
2017-12-12Enhance undoredo action name, TTR, cleanupPoommetee Ketson
2017-11-25Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky
wrong function, leading to unnecesary copy on writes and reduced performance.
2017-11-20Pass engine name and version parts as proper stringsRémi Verschelde
Removes the need for _MKSTR all over the place which has the drawback of converting _MKSTR(UNKNOWN_DEFINE) to "UKNOWN_DEFINE" instead of throwing a compilation error.
2017-11-19Use new XDG folders to dehardcode pathsRémi Verschelde
2017-11-17EditorSettings: Rename settings_path to settings_dirRémi Verschelde
Also to prepare for upcoming refactoring for XDG support.
2017-11-04Change URL of the mirror listBojidar Marinov
2017-11-01-Modules can now add custom version info (added it for Mono)Juan Linietsky
-Version string takes this version info -Ability to download templates from the interweb (listing does not work yet)
2017-09-25Removed most of the custom colors from the interface.Daniel J. Ramirez
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez