summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #63601 from YeldhamDev/tooltip_stuffRémi Verschelde2022-11-171-3/+3
|\ | | | | | | Small changes to some tooltips
| * Small changes to some tooltipsMichael Alexsander2022-11-121-3/+3
| |
* | Merge pull request #68709 from MewPurPur/instance-begone-part3Rémi Verschelde2022-11-161-6/+6
|\ \ | | | | | | | | | Remove more instances of 'instance' being used as a verb
| * | Remove more instances of 'instance' being used as a verbVolTer2022-11-161-6/+6
| |/
* | Add EditorInterface.get_selected_paths()cespeute2022-11-141-6/+10
| | | | | | | | | | | | | | | | Exposes the selected paths in the editor filesystem dock. Implements this proposal : https://github.com/godotengine/godot-proposals/issues/2424 Also renamed the old `get_selected_path` to `get_selected_directory` to better match the already existing get_current_path function.
* | Use forward-declarations in EditorPlugin where possibletrollodel2022-11-111-0/+1
|/
* Merge pull request #66706 from PucklaMotzer09/fix_duplicate_uidRémi Verschelde2022-11-021-24/+53
|\ | | | | | | Make uids of duplicated items unique in FileSystemDock
| * Use ResourceLoader::save to duplicate resourcesPucklaMotzer092022-10-221-24/+53
| | | | | | | | Also recursively duplicate files of a directory tree
* | Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-6/+6
|/
* Fix signature for 'folder_moved' signal of FileSystemDockmeap2022-10-071-1/+1
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-58/+56
| | | | change warnings=all to use /W4.
* Tree recursive foldingNinni Pipping2022-09-211-16/+1
|
* Fix key mapping changes when moving from macOS to other platformbruvzg2022-09-071-3/+3
| | | | | Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
* Improve naming of theme properties throughout GUI codeYuri Sizov2022-09-061-3/+3
| | | | | | | | | | | | | | Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
* Merge pull request #65039 from Mickeon/rename-treeitem-tooltipRémi Verschelde2022-08-301-1/+1
|\
| * Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky2022-08-301-1/+1
| | | | | | | | | | | | | | | | | | `set_tooltip` -> `set_tooltip_text` `get_tooltip` -> `get_tooltip_text` For consistency: `get_button_tooltip` -> `get_button_tooltip_text` And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
* | Rename String `plus_file` to `path_join`Aaron Franke2022-08-291-14/+14
|/
* Rename `hint_tooltip` to `tooltip_text` & setgetMicky2022-08-271-7/+7
| | | | | | | | `hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
* `FileSystemDock` Fix crash when renaming a file in split modekleonc2022-08-071-2/+1
|
* Remove Signal connect bindsJuan Linietsky2022-07-291-4/+4
| | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Merge pull request #63265 from reduz/stream-bpm-supportRémi Verschelde2022-07-231-2/+23
|\ | | | | Implement BPM support in AudioStream files.
| * Implement BPM supportreduz2022-07-231-2/+23
| | | | | | | | | | | | | | | | | | | | | | Based on #62896, only implements the BPM support part. * Implements BPM support in the AudioStreamOGG/MP3 importers. * Can select BPM/Bar Size and total beats in a song file, as well as edit looping points. * Looping is now BPM aware * Added a special importer UI for configuring this. * Added a special preview showing the audio waveform as well as the playback position in the resource picker. * Renamed `AudioStream::instance` to `instantiate` for correctness.
* | Adding shader preprocessor supportYuri Roubinsky2022-07-221-0/+4
|/ | | | Co-authored-by: TheOrangeDay <6472143+TheOrangeDay@users.noreply.github.com>
* Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge2022-07-091-4/+4
|
* Rework scene creation dialogkobewi2022-06-211-48/+12
|
* Use consistent casing in editor filter/search barsFireForge2022-05-281-2/+2
|
* Add the button pressed to some signals in Treetrollodel2022-05-211-4/+10
|
* Add a new HashSet templatereduz2022-05-201-1/+1
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-161-13/+13
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Cleanups after changes in ItemList signalsAleksey Smirnov2022-05-101-4/+8
|
* Changed signals of ItemListVitika92022-05-061-2/+6
|
* Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio2022-05-031-1/+1
| | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* Add Copy UID option to filesystem dockkobewi2022-05-021-0/+16
|
* Implement Label3D node.bruvzg2022-04-221-3/+3
| | | | | | | | | Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
* Import scenes as AnimationLibraryreduz2022-04-131-2/+22
| | | | | | | | | | | | Added the ability to import scenes as AnimationLibrary * Completes implementation of https://github.com/godotengine/godot-proposals/issues/4296 * Helps if you want to export animations to a separate file (say a GLTF) to avoid re-importing/exporting them every time the model changes. * Helps if you simply want to have animations using a dummy model, which can be shared across multiple models. Creates a secondary scene importer used only for animations. **NOTE**: A new flag for scene importer: EditorSceneFormatImporter.IMPORT_DISCARD_MESHES_AND_MATERIALS has been added, to hint importers that they should skip meshes and animations (and hence make importing faster). It is not implemented in any importer yet, this should be done in a separate PR.
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-14/+14
|
* Fix missing favorite files in filesystem dockDaniel Kříž2022-04-061-3/+4
|
* Fix false warning folder already existsAleksey Smirnov2022-04-061-1/+1
|
* Fix Project Manager hard crashes due to invalid access to Editor NodesMarios Staikopoulos2022-04-051-7/+7
|
* Merge pull request #59453 from DanielKriz/masterRémi Verschelde2022-03-281-0/+13
|\
| * Fix persistent favorites after renameDaniel Kříž2022-03-251-0/+13
| | | | | | | | Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
* | Add better alert dialogs if directory already existsDaniel Kříž2022-03-251-0/+6
|/ | | | Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
* Initialize bools in the headers in editorAaron Franke2022-03-121-5/+0
|
* Merge pull request #59050 from KoBeWi/tsal_eht_morf_sseccaRémi Verschelde2022-03-121-7/+7
|\
| * Allow negative indexes in ItemList and PopupMenukobewi2022-03-121-7/+7
| |
* | Add "Add Script" option to project autoload settingsYuri Roubinsky2022-03-121-0/+4
|/
* Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde2022-03-111-21/+10
| | | | | | | | `DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* 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
|/