summaryrefslogtreecommitdiff
path: root/editor/import_dock.cpp
AgeCommit message (Collapse)Author
2020-05-20check the params section exist before erasing it in import_dockPaul Joannon
related #38864
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: Enforce separation line between function definitionsRémi Verschelde
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.
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
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.
2020-04-05Fix changing the import type of multiple files at onceMichael Alexsander
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
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-28Fix import changing disabling checking on multiple filesMichael Alexsander
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-19i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit 1c9132540f5a763106ae1529c61b5cb8cd851bc5)
2020-02-13Fix multiple issues with the "Import" dockMichael Alexsander
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-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-11-22Fix typos with codespellRémi Verschelde
Using codespell 1.16.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof 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-09-04Add informational messages to various editorsMichael Alexsander Silva Dias
2019-06-19Made use of semicolons more consitent, fixed formattingJohnJLight
2019-04-19Added ability for multiple images to be imported as an atlasJuan Linietsky
This adds support for groups in the import system, which point to a single file. Add property hint for saving files in file field
2019-02-13Fix typos with codespellRémi Verschelde
Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-01-25Implement missing autorestart in oneshot node, closes #22238Juan Linietsky
2019-01-25Stop preview generator before reimporting resources with different type.Juan Linietsky
2019-01-25Properly warn about the effects of changing an import type, as well as force ↵Juan Linietsky
editor restart. Fixes #23874
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-10-30Improve import dock usability when selecting multiple files, only change ↵Juan Linietsky
what was modified on re-import.
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-05-22Make filename clipped on Import dockvolzhs
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
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-11-26Fix not being able to select an editor layout created in another language.Michael Alexsander Silva Dias
2017-11-13Refresh import options when changing importerGeorge Marques
2017-11-10Allow changing importers in the import dock.Webster Sheets
Still needs a major refactor to allow editing the properties of the new importer without having to reimport and re-select the items again.
2017-11-10Fix for disappearing import panel contents (#11451)Peter Todorov
2017-10-05Added the set/get_setting function in Editor/Project settings. Renamed has() ↵Juan Linietsky
to has_setting. Fixes #11844
2017-09-01Merge pull request #10821 from rtroncoso/fix-import-defaultsRémi Verschelde
Fix import dock "Set as default" actions
2017-08-31Fix import dock defaults: Set as default actionsRodrigo Troncoso
2017-08-31fixed update import label in importer docktoger5
2017-08-31Merge pull request #10096 from toger5/label_styleboxRémi Verschelde
fixed Import LineEdit to label + label stylebox
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-17fixed Import LineEdit to label + label styleboxtoger5
- added a normal stylebox to label. default is StyleBoxEmpty - changed drawing so that it draws correct with styleboxes with margins - changed the LineEdit in the import to use a label with the lineEdit stylebox
2017-07-23-Ability to set default import presets for typeJuan Linietsky
-More presets for scene importer -Option in scene importer to export root nodes as separate scenes -Fixed MeshInstance preview
2017-07-23Suppress get_edited_scene_root errorPoommetee Ketson
2017-07-17-Reorganized all properties of project settings (Sorry, Again).Juan Linietsky
(Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-03-05Refactoring: rename tools/editor/ to editor/Rémi Verschelde
The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.