summaryrefslogtreecommitdiff
path: root/editor/editor_file_dialog.cpp
AgeCommit message (Collapse)Author
2022-06-16Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg
TextServer.
2022-05-10Cleanups after changes in ItemList signalsAleksey Smirnov
2022-05-06Changed signals of ItemListVitika9
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
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-11Make FileAccess and DirAccess classes reference counted.bruvzg
2022-04-06Restore hidden folder behavior for project managerEv1lbl0w
2022-04-05Fix Project Manager hard crashes due to invalid access to Editor NodesMarios Staikopoulos
2022-04-05[Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg
character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-03-28Merge pull request #59453 from DanielKriz/masterRémi Verschelde
2022-03-26Merge pull request #46638 from Ev1lbl0w/feature-hide_gdignored_dirsRé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-12Merge pull request #58338 from aaronfranke/boolsRémi Verschelde
Initialize bools in the headers in `editor/`
2022-03-12Merge pull request #54399 from ↵Rémi Verschelde
Calinou/filedialog-current-properties-hint-no-editor Don't store and show current file/directory/path FileDialog properties
2022-03-12Initialize bools in the headers in editorAaron Franke
2022-03-12Allow negative indexes in ItemList and PopupMenukobewi
2022-03-02Allow absolute file paths in file dialogsmiremrie
2022-02-16Port existing _notification code to use switch statements (part 1/3)jmb462
2022-02-12Use EditorFileDialog instead of FileDialog in the project managerHendrik Brucker
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-01-24[Windows] Add support for handling network share paths.bruvzg
2022-01-14Merge pull request #56706 from KoBeWi/we_need_to_go_higherRémi Verschelde
2022-01-12Automatically go up if current dir was deletedkobewi
2022-01-12Create function focus_file_textGer Hean
This function focuses the text field when saving a file It is called when the save file dialogue is opened
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-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-11-30Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`Michael Alexsander
2021-11-30Don't return reference on copy assignment operatorsRémi Verschelde
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit).
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-10-29Don't store and show current file/directory/path FileDialog propertiesHugo Locurcio
These properties are only useful at run-time, so they don't need to be displayed in the editor and stored.
2021-10-05Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_masterRémi Verschelde
2021-09-23Merge pull request #51920 from ↵Rémi Verschelde
jmb462/missing-sname-macro-optimization-in-some-functions
2021-09-15Provide a getter for the project data directory.ne0fhyk
2021-08-29Rename String::is_rel_path to String::is_relative_pathWilson E. Alvarez
2021-08-23Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-21Fix ItemList layout (+EditorFileDialog)Hendrik Brucker
2021-08-20Add missing SNAME macro optimization for StringName in some functionsjmb462
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-13Add header theme type variations to labelskobewi
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-14Remove trailing slash from recent dir if neededPaweł Fertyk
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.