summaryrefslogtreecommitdiffstats
path: root/editor/dependency_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix unexpected auto translation of Tree contentHaoyu Qiu2024-03-181-0/+4
|
* Make auto translation inheritableMichael Alexsander2024-02-151-1/+1
|
* Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* Implement automatic translation for ItemListDennisManaa2023-10-231-0/+1
|
* Add EditorStringNames singletonkobewi2023-09-031-6/+6
|
* Fix missing UID handling in Dependency Editorkobewi2023-06-131-4/+10
|
* Fix DependecyEditorOwners not acknowledging non-scene resourcesVolTer2023-06-021-5/+29
|
* Improve includes of EditorNode (and everything else)Yuri Sizov2023-04-071-1/+1
| | | | | | Also start organizing editor-specific GUI components into a dedicated folder, `editor/gui`. Also move `editor_file_server` next to the rest of debugger classes.
* Add handling of script creation/deletion for custom visual shader nodesYuri Rubinsky2023-01-231-3/+9
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | 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".
* Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-9/+9
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-3/+3
| | | | change warnings=all to use /W4.
* Add ability to open multiple scenes in the Dependency EditorVolTer2022-09-251-6/+13
|
* Show dependency warning when removing remaps and fallback if translationPucklaMotzer092022-08-031-0/+40
| | | | remap does not exist
* Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-311-0/+1
| | | | up editor includes
* dependency editor: set current directory to closest existing directoryNathan Franke2022-07-231-0/+3
|
* Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge2022-07-091-4/+4
|
* Remake resource thread safety and APIreduz2022-06-221-1/+1
| | | | | | | | * Ensures thread safety when resources are destroyed. * Simplified API by always forcing `ResourceCache::get_ref`, which needs less hacks and is fully thread safe. * Removed RWLock for resources because its not possible to use for the new logic. Should not be a problem. Supersedes #57533
* Improve title of DependencyEditorOwnerskobewi2022-06-031-1/+1
|
* Add the button pressed to some signals in Treetrollodel2022-05-211-4/+10
|
* Replace most uses of Map by HashMapreduz2022-05-161-7/+7
| | | | | | | | | | | | * 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!
* Changed signals of ItemListVitika92022-05-061-2/+6
|
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-1/+1
|
* Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde2022-03-111-2/+1
| | | | | | | | `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>
* Remove most EditorNode constructor parameters and fieldstrollodel2022-02-141-4/+2
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-2/+5
|
* String: Add contains().Anilforextra2022-02-041-1/+1
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-2/+2
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* Fix bad popups offset in editor with single window offjmb4622021-12-061-1/+2
| | | | | Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
* Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky2021-11-221-2/+2
|
* Use range iterators for `Map`Lightning_A2021-09-301-10/+10
|
* Dependency editor: Edit message about move to trashRémi Verschelde2021-08-021-2/+2
| | | | Fixes #47106.
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-4/+4
|
* Merge pull request #50786 from reduz/implement-resource-uidsRémi Verschelde2021-07-241-0/+9
|\ | | | | Implement Resource UIDs
| * Implement Resource UIDsreduz2021-07-241-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Most resource types now have unique identifiers. * Applies to text, binary and imported resources. * File formats reference both by text and UID (when available). UID always has priority. * Resource UIDs are 64 bits for better compatibility with the engine. * Can be represented and used textually, example `uuid://dapwmgsmnl28u`. * A special binary cache file is used and exported, containing the mappings. Example of how it looks: ```GDScript [gd_scene load_steps=2 format=3 uid="uid://dw86wq31afig2"] [ext_resource type="PackedScene" uid="uid://bt36ojelx8q6c" path="res://subscene.scn" id="1_t56hs"] ``` GDScript, shaders and other special resource files can't currently provide UIDs, but this should be doable with special keywords on the files. This will be reserved for future PRs.
* | Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-11/+9
|/
* Optimize StringName usagereduz2021-07-181-9/+9
| | | | | | | | | | | * 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.
* Add header theme type variations to labelskobewi2021-07-131-0/+2
|
* Clean up Treereduz2021-07-041-1/+7
| | | | | | | | | | | Fixes some problems introduced by #49917 * Tree used minimum size as a stretch ratio, so it forced a minimum size of 1. * Minimum size redone, stretch ratio moved to a separate setting * Fitting to contents was enforced, this is more intuitive, but in many situations this is undesired. * Added a clip content option for situations where fit to contents does not apply. * Icon would scroll with the item, making it invislbe if the item is too long. * Made icon always appear to the right (or left if RTL is enabled) of the visible item space.
* Implement Tree's internal minimum width calculationGilles Roudière2021-06-281-1/+1
|
* Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde2021-06-111-1/+1
| | | | | File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
* Improve TreeItem API and allow to move nodestrollodel2021-05-171-2/+2
|
* Rename Array.invert() to Array.reverse()Marcel Admiraal2021-03-211-3/+3
| | | | | Does the same internally for List and Vector<>, which includes all PackedArray types.
* Reorganize Project Settingsreduz2021-02-181-4/+4
| | | | | | | -Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Rename empty() to is_empty()Marcel Admiraal2020-12-281-2/+2
|
* Rename AcceptDialog get_ok() to get_ok_button()Marcel Admiraal2020-12-141-4/+4
| | | | | | Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
* Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut2020-12-021-0/+2
|
* Merge pull request #41263 from Calinou/filesystem-dock-rename-delete-optionRémi Verschelde2020-11-161-2/+2
|\ | | | | Rename the "Delete" option in the FileSystem dock to "Move to Trash"