summaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.cpp
AgeCommit message (Collapse)Author
2022-02-14Remove most EditorNode constructor parameters and fieldstrollodel
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-08Fix uid conflict when duplicating resourcekobewi
2022-02-08Merge pull request #57796 from akien-mga/revert-sname-theme-settersRémi Verschelde
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
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.
2022-02-08Refactor some object type checking code with `cast_to`Rémi Verschelde
Less stringly typed logic, and less String allocations and comparisons.
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-04String: Add contains().Anilforextra
2022-02-02Vectors: Use clear() and has().Anilforextra
Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
2022-01-20Store panels and docks singletons in their own classestrollodel
2022-01-19Allow selection of option 'Open in File Manager' even when a file/folder is ↵SaracenOne
not explicitly selected.
2022-01-17Prevent renaming to an unkown extension from FileSystem dock.jmb462
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-03Merge pull request #55487 from YeldhamDev/scroll_bikesheddingRémi Verschelde
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-03Add `New Shader` option to the FileSystemDock popup menu.Yuri Roubinsky
2021-11-30Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`Michael Alexsander
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-22Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-12Use Enter instead of F2 as an editor renaming shortcut on macOSHugo Locurcio
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
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`.
2021-10-23Fix newly created files not sorted correctlyRobin Arys
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-30Merge pull request #53025 from Paulb23/textfile-uxRémi Verschelde
2021-09-30Rename Node's `filename` property to `scene_file_path` for clarityHugo Locurcio
2021-09-30Add TextFile support across the editorPaulb23
2021-09-09Save branch as scene by dropping to filesystemkobewi
2021-07-26Use Ref<T> references as iterators where relevantRémi Verschelde
And const when possible.
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-18Optimize StringName usagereduz
* 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.
2021-07-06Merge pull request #42745 from Pineapple/search-results-limitRémi Verschelde
Remove search results limit in FileSystem dock
2021-06-29Merge pull request #49295 from foxydevloper/fix-focus-filterRémi Verschelde
Fix "Filter Files" shortcut by merging duplicate functions
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-06-16Documentation search fixesGregory Basile
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"
2021-06-12Merge pull request #48746 from KoBeWi/bane_of_all_virtual_compatibilityRémi Verschelde
Consistently prefix bound virtual methods with _
2021-06-12Consistently prefix bound virtual methods with _kobewi
2021-06-11Merge pull request #49519 from Xrayez/filesystem-delete-for-everyoneRémi Verschelde
Use "Delete" in FileSystemDock on all platforms
2021-06-11Use "Delete" in FileSystemDock on all platformsAndrii Doroshenko (Xrayez)
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.
2021-06-11Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde
File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
2021-06-03Fix "Filter Files" shortcut by merging duplicate functionsfox
2021-06-02Use bold fonts in editorreduz
* Labels are now bold * Categories in trees are bold * Main editor buttons are bold * Fixed section folding arrows in inspector
2021-05-18Merge pull request #37796 from Gogsi/masterRémi Verschelde
Improve consistency in file order
2021-05-18Change EditorFileSystem and ScriptEditor file sorting order to improve ↵Georgi Genkov
consistency. Fixes #37721.
2021-05-17Improve TreeItem API and allow to move nodestrollodel
2021-05-17Merge pull request #48168 from LightningAA/control-to-ctrl-4.0Rémi Verschelde
2021-05-15Make Sort by X translatablefox