summaryrefslogtreecommitdiffstats
path: root/editor/project_export.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Adds PCK encryption support (using script encryption key for export).bruvzg2020-09-051-12/+113
| | | | Change default encryption mode from ECB to CFB.
* Merge pull request #40291 from hinlopen/dialog-sizeRémi Verschelde2020-07-151-3/+3
|\ | | | | Resize various dialogs
| * Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and ↵Stijn Hinlopen2020-07-141-3/+3
| | | | | | | | resource depency dialogs).
* | Fix cancel/OK button order on macOSDaniel Ting2020-07-101-2/+2
|/ | | | | The macOS platform convention regarding button order is cancel on left, OK on right.
* Remove ToolButton in favor of ButtonHugo Locurcio2020-06-191-2/+4
| | | | | | | | | | | ToolButton has no redeeming differences with Button; it's just a Button with the Flat property enabled by default. Removing it avoids some confusion when creating GUIs. Existing ToolButtons will be converted to Buttons, but the Flat property won't be enabled automatically. This closes https://github.com/godotengine/godot-proposals/issues/1081.
* Account for file deletion and renaming in Export PresetsMaganty Rushyendra2020-06-111-0/+1
| | | | | | | Ensure that presets are updated with the latest files when starting up or opening the Project Export dialog. Fixes the error where Godot would attempt to export deleted files that were previously selected.
* Implementation of the Godot Android Plugin configuration fileFredia Huya-Kouadio2020-05-171-0/+7
|
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-45/+83
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: Enforce separation line between function definitionsRémi Verschelde2020-05-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-57/+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.
* Remove unnecessary Panel in "Features" section in the Export dialogMichael Alexsander2020-04-051-4/+1
|
* Replace NULL with nullptrlupoDharkael2020-04-021-2/+2
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-13/+13
|
* Working multiple window support, including editorJuan Linietsky2020-03-261-39/+47
|
* Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky2020-03-261-2/+3
|
* Signals: Port more uses of connect_compatRémi Verschelde2020-02-281-1/+4
| | | | | | | | | Those were problematic as they call a method of their parent class, but callable_mp does not allow that unless it's public. To solve it, we declare a local class that calls the parent class' method, which now needs to be protected to be accessible in the derived class.
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-57/+29
| | | | | | | | | 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-33/+33
| | | | objects and made them default.
* Remove duplicate ERR_PRINT macro.Marcel Admiraal2020-02-051-1/+1
|
* Export: Fix leak or orphaned Controls after #34911Rémi Verschelde2020-01-081-2/+4
| | | | They need to be hidden but still in tree.
* Export: Hide Patches tab until actually implementedRémi Verschelde2020-01-081-2/+25
| | | | | | | | | | This seems to have been left dangling during 3.0 development and was never finished. Hiding for now until it can be completed, otherwise we'll have to drop it. See #22394.
* 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.
* Cleans up headers included in editor_node.hHaoyu Qiu2019-12-241-0/+1
|
* Makes more strings in editor translatableHaoyu Qiu2019-12-161-3/+3
| | | | | | * File type names in file dialogs * Layout option names * Visual shader editor UI
* Make more editor strings translatableHaoyu Qiu2019-12-131-2/+2
|
* Add a tooltip to explain what marking a preset as "runnable" doesHugo Locurcio2019-11-141-0/+1
|
* Don't allow to export pck without presetTomasz Chabora2019-10-161-0/+4
|
* Document the ability to include/exclude non-resource export foldersHugo Locurcio2019-10-051-2/+6
| | | | This closes #3646.
* Merge pull request #25353 from azagaya/masterRémi Verschelde2019-08-301-0/+1
|\ | | | | Use also invisible tabs to calculate minimum size of tab container
| * Make tab containers in editor, project settings, and export dialog, to use ↵azagaya2019-08-301-0/+1
| | | | | | | | hidden tabs for min size computation.
* | Export path is the only path to be saved as a relative pathSonerSound2019-08-221-11/+2
| | | | | | | | Also reverts 90b2415343287f67586956c798d4b7a63544158f
* | Export path may now be written as a relative pathSonerSound2019-06-301-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Some code changed with Clang-Tidyqarmin2019-06-261-2/+2
| |
* | Merge pull request #28454 from homer666/popup-centered-maxsizeRémi Verschelde2019-05-281-8/+1
|\ \ | | | | | | Add `popup_centered_clamped()` method to Popup
| * | Add Popup::popup_centered_clamped methodhomer6662019-04-301-8/+1
| | | | | | | | | | | | - Also replace redundant duplicate code in editor dialogs with calls to popup_centered_clamped()
* | | Fixed naming issue when duplicating an exportAMS212019-05-231-4/+2
| | |
* | | Allow project export to be canceledGeorge Marques2019-05-181-3/+3
|/ /
* | Merge pull request #28338 from qarmin/disable_project_export_buttonRémi Verschelde2019-04-251-0/+1
|\ \ | | | | | | Disable Project Export button after deleting preset
| * | Disable Project Export button after deleting presetqarmin2019-04-231-0/+1
| | |
* | | Fixes to make exporting more responsive.Juan Linietsky2019-04-241-9/+9
|/ / | | | | | | | | | | -Process and drop input in step functions. -Hide editor file dialog right after pressing ok -Use actual editor file dialogs for project export.
* | Fixes misleading error message when trying to exportRicardo Lüders2019-03-051-1/+5
| | | | | | | | | | | | | | This patch fixes the misleading error message when users try to "export all" into an invalid destination path. Closes #26539
* | Improve error message on project export failureRémi Verschelde2019-02-221-2/+7
|/ | | | | | 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.
* Merge pull request #25163 from ankitpriyarup/masterRémi Verschelde2019-01-211-1/+0
|\ | | | | Disable autowrap for export dialog errors
| * Disable autowrap for export dialog errorsAnkit Priyarup2019-01-211-1/+0
| | | | | | | | Fixes #25065
* | Make "Export with Debug" more visible in the Export dialogHugo Locurcio2019-01-201-2/+2
|/ | | | | | | | | | | | | 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.
* Clean up and fix issues after merging #21701 , closes #21104Juan Linietsky2019-01-181-1/+1
|
* Use HSplit to resize presets and options panel on Export windowvolzhs2019-01-121-1/+1
|
* Merge pull request #24582 from Xrayez/script-encryptRémi Verschelde2019-01-041-27/+119
|\ | | | | Bring back script encryption in export preset
| * Bring back script encryption in export presetAndrii Doroshenko (Xrayez)2018-12-241-27/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
|/ | | | Happy new year to the wonderful Godot community!