summaryrefslogtreecommitdiff
path: root/editor/project_export.cpp
AgeCommit message (Collapse)Author
2019-08-22Export path is the only path to be saved as a relative pathSonerSound
Also reverts 90b2415343287f67586956c798d4b7a63544158f
2019-06-30Export path may now be written as a relative pathSonerSound
If the target directory does not exist, it will be recursively created. Export paths are now saved as a relative to the projects base directory Renamed relative_to function to final_path_from_relative which takes a relative path and outputs the final path from a string that represents a directory. Added relative_path_from_final which takes in a final path and outputs a relative path if possible. If not possible it outputs the relative path that represents the current directory. If the target directory does not exist when exporting the project, then it is recursively created. Removed final_path_from_relative function Changed DirAccess into DirAccessRef for automatic object destruction
2019-06-26Some code changed with Clang-Tidyqarmin
2019-05-28Merge pull request #28454 from homer666/popup-centered-maxsizeRémi Verschelde
Add `popup_centered_clamped()` method to Popup
2019-05-23Fixed naming issue when duplicating an exportAMS21
2019-05-18Allow project export to be canceledGeorge Marques
2019-04-30Add Popup::popup_centered_clamped methodhomer666
- Also replace redundant duplicate code in editor dialogs with calls to popup_centered_clamped()
2019-04-25Merge pull request #28338 from qarmin/disable_project_export_buttonRémi Verschelde
Disable Project Export button after deleting preset
2019-04-24Fixes to make exporting more responsive.Juan Linietsky
-Process and drop input in step functions. -Hide editor file dialog right after pressing ok -Use actual editor file dialogs for project export.
2019-04-23Disable Project Export button after deleting presetqarmin
2019-03-05Fixes misleading error message when trying to exportRicardo Lüders
This patch fixes the misleading error message when users try to "export all" into an invalid destination path. Closes #26539
2019-02-22Improve error message on project export failureRémi Verschelde
It's still not enough and we need better validation/error checking, but it should help with people assume corrupted templates when it's their config which is invalid.
2019-01-21Merge pull request #25163 from ankitpriyarup/masterRémi Verschelde
Disable autowrap for export dialog errors
2019-01-21Disable autowrap for export dialog errorsAnkit Priyarup
Fixes #25065
2019-01-20Make "Export with Debug" more visible in the Export dialogHugo Locurcio
This swaps out the CheckButton with a CheckBox, which has two benefits: - The checkbox icon appears to the left of the text, which moves it closer from the text. This makes it more easily noticeable, as it also appears below the "File:" text now. - It follows the UI convention of using checkboxes for options that do not bear an immediate effect, unlike CheckButtons which are expected to have an immediate effect when toggled. This closes #25170.
2019-01-18Clean up and fix issues after merging #21701 , closes #21104Juan Linietsky
2019-01-12Use HSplit to resize presets and options panel on Export windowvolzhs
2019-01-04Merge pull request #24582 from Xrayez/script-encryptRémi Verschelde
Bring back script encryption in export preset
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-24Bring back script encryption in export presetAndrii Doroshenko (Xrayez)
Retrieved working implementation from 2.1 branch and adapted to existing export preset system. Added Script tab in export preset to export script as raw text, compiled, or encrypted (same as in 2.1). The script encryption key is visually validated. The script export mode and the key is saved per per preset in `export_presets.cfg`, so it makes sense to ignore this file in version control system. Each custom exporting procedure can retrieve an export preset set during project exporting. Refactored project export dialog a bit to allow easier code comprehension.
2018-12-11Fix ExportDialog layout out of boundary when select a template.qichunren
2018-12-06Merge pull request #23673 from marcelofg55/export_path_3Rémi Verschelde
Export Path now has a folder icon to select the path
2018-12-04Move "Dialog Bounds" from the Editor Settings to project's metadataMichael Alexsander Silva Dias
2018-11-12Export Path now has a folder icon to select the pathMarcelo Fernandez
2018-11-12Fix missing bind for _export_path_changedMarcelo Fernandez
2018-11-09Merge pull request #23476 from marcelofg55/export_allRémi Verschelde
Add an Export All button to the Export dialog
2018-11-05Preset saved export path is now shown on the Export windowMarcelo Fernandez
2018-11-03Add an Export All button to the Export dialogMarcelo Fernandez
2018-11-01Export for OS X on OS X now lets you select .dmg or .zipMarcelo Fernandez
2018-10-29Merge pull request #23322 from marcelofg55/export_pathRémi Verschelde
Save last export path when exporting
2018-10-28Add a duplicate button to duplicate presetsMarcelo Fernandez
2018-10-27Save last export path when exportingMarcelo Fernandez
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f
2018-09-14Refactor editor icon retrievalwillnationsdev
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-31ExportDialog: Validate path before allowing exportRémi Verschelde
Otherwise one could quite easily end up with the exported game being hidden files named ".x86_64" and ".pck" for example. Also improved the default filename logic a bit to also include extension, and never fallback to an empty string. Also fixed being able to click "Export project" without selecting a preset.
2018-08-20Port ImportDock and ProjectExport to new property editor (2nd try)Rémi Verschelde
Thanks to @ibrahn for helping debug the crashes caused in ProjectExportDialog by the stray `update_tree()` call, no longer needed in the new inspector.
2018-08-18Revert "Port ImportDock and ProjectExport to new property editor"Rémi Verschelde
2018-08-18Port ImportDock and ProjectExport to new property editorRémi Verschelde
2018-08-17Export dialog: Fix error color and link alignmentRémi Verschelde
Also fix extraneous "- " line when there are more than 2 messages.
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-05-05Adjust default editor popup sizeshomer666
2018-04-26Make 'Export PCK/ZIP' work well with EditorExportPluginIgnacio Etcheverry
Add debug flag to the 'Export PCK/ZIP' option Make 'Export PCK/ZIP' notify when the export process begins. This is necessary to receive the 'EditorExportPlugin::_export_begin' callback
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-18Set default file name for exported projectsPeter Folkins
2018-02-25Update icons when theme changedPoommetee 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-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-12Updated Linux template extensions to match architecture.Nathan Warden
2017-11-27Some improvements to file/dir open/save dialogs:Dmitry Koteroff
1. Removed "..", instead you now will see "Select Current Folder" and "Select this Folder" buttons. 2. Added "go to parent folder" (^) button to Save a File dialog. 3. Tree.cpp: "nothing_selected" signal has been re-made (previous implementation, merged in #13308, wasn't optimal in context of performance) 4. Fixed issue in Project Export dialog: MODE_SAVE_FILE wasn't set when you click "Export". 5. Now you can deselect items by clicking on empty space in Open a Directory dialog.