summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #58842 from IgorKordiukiewicz/save-as-scene-visual-feedbackRémi Verschelde2022-03-061-0/+122
|\ | | | | Added visual feedback when drag and dropping from scene tree to filesystem
| * Added visual feedback when drag and dropping from scene tree to file systemIgor Kordiukiewicz2022-03-061-0/+122
| |
* | Improve some DirAccess usagekobewi2022-03-061-1/+1
|/
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-151-2/+3
| | | | | | | | | | | Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
* Remove most EditorNode constructor parameters and fieldstrollodel2022-02-141-18/+17
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-5/+6
|
* Fix uid conflict when duplicating resourcekobewi2022-02-081-0/+24
|
* Merge pull request #57796 from akien-mga/revert-sname-theme-settersRémi Verschelde2022-02-081-2/+2
|\
| * Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-2/+2
| | | | | | | | | | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
* | Refactor some object type checking code with `cast_to`Rémi Verschelde2022-02-081-33/+28
|/ | | | Less stringly typed logic, and less String allocations and comparisons.
* Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-2/+2
|
* String: Add contains().Anilforextra2022-02-041-5/+5
|
* Vectors: Use clear() and has().Anilforextra2022-02-021-2/+2
| | | | | | Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
* Store panels and docks singletons in their own classestrollodel2022-01-201-4/+8
|
* Allow selection of option 'Open in File Manager' even when a file/folder is ↵SaracenOne2022-01-191-0/+6
| | | | not explicitly selected.
* Prevent renaming to an unkown extension from FileSystem dock.jmb4622022-01-171-0/+6
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #55487 from YeldhamDev/scroll_bikesheddingRémi Verschelde2022-01-031-1/+1
|\
| * Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`Michael Alexsander2021-11-301-1/+1
| |
* | Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-6/+6
| | | | | | | | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* | align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-1/+1
| |
* | Fix bad popups offset in editor with single window offjmb4622021-12-061-4/+7
| | | | | | | | | | Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
* | Add `New Shader` option to the FileSystemDock popup menu.Yuri Roubinsky2021-12-031-6/+20
|/
* Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-5/+5
|
* Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky2021-11-221-4/+4
|
* Use "enum class" for input enumsAaron Franke2021-11-121-7/+7
|
* Use Enter instead of F2 as an editor renaming shortcut on macOSHugo Locurcio2021-11-121-0/+1
|
* clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-1/+1
| | | | | | | | | Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
* Fix newly created files not sorted correctlyRobin Arys2021-10-231-0/+2
|
* Use range iterators for `Map`Lightning_A2021-09-301-4/+4
|
* Merge pull request #53025 from Paulb23/textfile-uxRémi Verschelde2021-09-301-1/+11
|\
| * Add TextFile support across the editorPaulb232021-09-301-1/+11
| |
* | Rename Node's `filename` property to `scene_file_path` for clarityHugo Locurcio2021-09-301-3/+3
|/
* Save branch as scene by dropping to filesystemkobewi2021-09-091-0/+15
|
* Use Ref<T> references as iterators where relevantRémi Verschelde2021-07-261-1/+1
| | | | And const when possible.
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-3/+3
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-17/+13
|
* Optimize StringName usagereduz2021-07-181-83/+83
| | | | | | | | | | | * Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
* Merge pull request #42745 from Pineapple/search-results-limitRémi Verschelde2021-07-061-1/+2
|\ | | | | Remove search results limit in FileSystem dock
| * Change search results limit in FileSystem dock from 128 to 10000Bartłomiej T. Listwon2021-03-221-1/+2
| |
* | Merge pull request #49295 from foxydevloper/fix-focus-filterRémi Verschelde2021-06-291-17/+13
|\ \ | | | | | | Fix "Filter Files" shortcut by merging duplicate functions
| * | Fix "Filter Files" shortcut by merging duplicate functionsfox2021-06-031-17/+13
| | |
* | | Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-2/+2
| | |
* | | Documentation search fixesGregory Basile2021-06-161-1/+1
| | | | | | | | | | | | | | | | | | Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted"
* | | Merge pull request #48746 from KoBeWi/bane_of_all_virtual_compatibilityRémi Verschelde2021-06-121-3/+3
|\ \ \ | | | | | | | | Consistently prefix bound virtual methods with _
| * | | Consistently prefix bound virtual methods with _kobewi2021-06-121-3/+3
| | | |
* | | | Merge pull request #49519 from Xrayez/filesystem-delete-for-everyoneRémi Verschelde2021-06-111-16/+1
|\ \ \ \ | |/ / / |/| | | Use "Delete" in FileSystemDock on all platforms
| * | | Use "Delete" in FileSystemDock on all platformsAndrii Doroshenko (Xrayez)2021-06-111-16/+1
| |/ / | | | | | | | | | | | | The consensus is that the per-platform strings are not so useful in the first place, so it's better to revert back to "Delete" for every platform.
* / / Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde2021-06-111-2/+2
|/ / | | | | | | | | File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
* | Use bold fonts in editorreduz2021-06-021-0/+1
| | | | | | | | | | | | | | * Labels are now bold * Categories in trees are bold * Main editor buttons are bold * Fixed section folding arrows in inspector