summaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.cpp
AgeCommit message (Collapse)Author
2023-01-15Improve performance of imported file scankobewi
2023-01-14Globalise path for New TextFile in FileSystemDockPaulb23
2023-01-11Merge pull request #71075 from Repiteo/open_in_file_manager_shortcutRémi Verschelde
Setup "Open in File Manager" as shortcut
2023-01-10Change set_drag_forwarding() to use callables.Juan Linietsky
* This solution is much cleaner than the one in 3.x thanks to the use of callables. * Works without issues in any language (no need to worry about camel or snake case). * Editor code uses a compatibility function (too much work to redo). Fixes #59899
2023-01-09Setup "open in file manager" as shortcutThaddeus Crews
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-12-04Fix dependency reload triggered too earlykobewi
2022-11-17Merge pull request #63601 from YeldhamDev/tooltip_stuffRémi Verschelde
Small changes to some tooltips
2022-11-16Merge pull request #68709 from MewPurPur/instance-begone-part3Rémi Verschelde
Remove more instances of 'instance' being used as a verb
2022-11-16Remove more instances of 'instance' being used as a verbVolTer
2022-11-14Add EditorInterface.get_selected_paths()cespeute
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.
2022-11-12Small changes to some tooltipsMichael Alexsander
2022-11-11Use forward-declarations in EditorPlugin where possibletrollodel
2022-11-02Merge pull request #66706 from PucklaMotzer09/fix_duplicate_uidRémi Verschelde
Make uids of duplicated items unique in FileSystemDock
2022-10-22Use ResourceLoader::save to duplicate resourcesPucklaMotzer09
Also recursively duplicate files of a directory tree
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-07Fix signature for 'folder_moved' signal of FileSystemDockmeap
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-09-21Tree recursive foldingNinni Pipping
2022-09-07Fix key mapping changes when moving from macOS to other platformbruvzg
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-06Improve naming of theme properties throughout GUI codeYuri Sizov
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
2022-08-30Merge pull request #65039 from Mickeon/rename-treeitem-tooltipRémi Verschelde
2022-08-30Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky
`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`
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-27Rename `hint_tooltip` to `tooltip_text` & setgetMicky
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
2022-08-07`FileSystemDock` Fix crash when renaming a file in split modekleonc
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-23Merge pull request #63265 from reduz/stream-bpm-supportRémi Verschelde
Implement BPM support in AudioStream files.
2022-07-23Implement BPM supportreduz
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.
2022-07-22Adding shader preprocessor supportYuri Roubinsky
Co-authored-by: TheOrangeDay <6472143+TheOrangeDay@users.noreply.github.com>
2022-07-09Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge
2022-06-21Rework scene creation dialogkobewi
2022-05-28Use consistent casing in editor filter/search barsFireForge
2022-05-21Add the button pressed to some signals in Treetrollodel
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-16Replace most uses of Map by HashMapreduz
* 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!
2022-05-10Cleanups after changes in ItemList signalsAleksey Smirnov
2022-05-06Changed signals of ItemListVitika9
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-05-02Add Copy UID option to filesystem dockkobewi
2022-04-22Implement Label3D node.bruvzg
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.
2022-04-13Import scenes as AnimationLibraryreduz
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.
2022-04-11Make FileAccess and DirAccess classes reference counted.bruvzg
2022-04-06Fix missing favorite files in filesystem dockDaniel Kříž
2022-04-06Fix false warning folder already existsAleksey Smirnov
2022-04-05Fix Project Manager hard crashes due to invalid access to Editor NodesMarios Staikopoulos
2022-03-28Merge pull request #59453 from DanielKriz/masterRémi Verschelde
2022-03-25Fix persistent favorites after renameDaniel Kříž
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
2022-03-25Add better alert dialogs if directory already existsDaniel Kříž
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
2022-03-12Initialize bools in the headers in editorAaron Franke