summaryrefslogtreecommitdiff
path: root/editor/project_manager.cpp
AgeCommit message (Collapse)Author
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-07-30Expose Vulkan's clustered and mobile backends in the project managerHugo Locurcio
Since OpenGL will not be available in Godot 4.0, this exposes a choice between Vulkan clustered and Vulkan mobile in the project manager. Despite the name, Vulkan mobile has many benefits on desktop platforms. It provides better performance on simple scenes, and ensures that you won't accidentally use unsupported features while testing your project on desktop platforms. The Vulkan backend setting was made into a "basic" setting so that it can be changed without having to enable the Advanced Settings toggle. This also improves list formatting to use bullet points and tweaks the property hint to be more descriptive.
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-22Implement textual ext/subresource IDs.reduz
* Friendlier with version control. * Generates pseudo unique IDs, to minimize conflicts when merging, but still user readable (so, not UUID). * Eventually will also allow to have more precisely named sub-resources in imported files. * This will allow better reloading on changes (including resources already loaded) as well as better keeping track of changes on the DCC. * Keeps backward compatibility with the old formats. * Binary and text format version incremented to mark breakage in forward compatibility.
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-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-06-17Merge pull request #47894 from Calinou/project-manager-add-keyboard-shortcutsRémi Verschelde
Add keyboard shortcuts to the project manager
2021-06-16EditorSettings: Factor code to compute auto display scaleRémi Verschelde
Also fixes typo introduced in https://github.com/godotengine/godot/pull/48597/files#r652636544.
2021-06-15Merge pull request #48597 from Calinou/editor-scale-auto-portraitRémi Verschelde
Handle portrait mode monitors in the automatic editor scale detection
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-08Separate version hash from version number in editor and project managerAndrii Doroshenko (Xrayez)
When copy-pasting the version from About dialog to bug reports at GitHub, this makes the version hash linkable to commits at GitHub.
2021-06-03Rename tabs in the project managerAaron Franke
2021-06-01Merge pull request #48770 from ↵Rémi Verschelde
LightningAA/scrollcontainer-ensure-item-visible-4.0 ScrollContainer: Expose `_ensure_focused_visible` to the scripting API and rename it to `ensure_control_visible`
2021-05-31ScrollContainer: Expose `_ensure_focused_visible` to the APILightning_A
Was renamed to `ensure_control_visible`
2021-05-20Change behavior of String.rightTomasz Chabora
2021-05-19Fix zip_root not being defined when importing by drag&dropEv1lbl0w
2021-05-09Handle portrait mode monitors in the automatic editor scale detectionHugo Locurcio
Using the smallest dimension of the width and height makes it possible to support both landscape and portrait monitors.
2021-05-07Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A
InputEventWithModifiers properties/methods
2021-05-04Merge pull request #47855 from aaronfranke/doubleclickRémi Verschelde
Rename `doubleclick` to `double_click`
2021-05-04Rename `doubleclick` to `double_click`Aaron Franke
2021-04-28Make it possible to copy the Godot version identifier by clicking itHugo Locurcio
This closes #24317.
2021-04-16Add the About dialog to the project managerHugo Locurcio
The About button is located in the bottom-right corner of the project manager. This allows removing the copyright notice from the window title (which looked a bit ugly in comparison to other applications).
2021-04-14Strip leading/trailing whitespace for project name in the project managerHugo Locurcio
This affects creating projects and renaming them.
2021-04-14Add keyboard shortcuts to the project managerHugo Locurcio
- Ctrl + N: New Project - Ctrl + I: Import Project - Ctrl + S: Scan for Projects - Ctrl + E: Edit Project - Ctrl + R: Run Project - F2: Rename Project - Delete: Remove Project - Already implemented previously, but moved to use `ED_SHORTCUT()`. Note that depsite using `ED_SHORTCUT()`, these shortcuts won't appear in the Editor Settings' Shortcuts dialog and won't be remappable since the project manager code isn't run in the editor.
2021-04-06Merge pull request #47200 from LightningAA/delete-from-project-manager-4.0Rémi Verschelde
Add the ability to remove project contents from the remove project dialog
2021-04-05Merge pull request #47636 from qarmin/inputRémi Verschelde
Fix crashes in *_input functions
2021-04-05Fix crashes in *_input functionsRafał Mikrut
2021-04-05Automatically focus the Search field when displaying asset libraryHugo Locurcio
- Focus the project search box when switching from the Templates tab back to the Projects tab in the project manager. - Add a context-specific placeholder for the asset library search box. - Rename "Search" project filter box placeholder to the more descriptive "Filter projects". When performing a search on an existing selection, "Filter" is more accurate than "Search".
2021-04-01Merge pull request #42890 from Ev1lbl0w/bugfix-import-zipRémi Verschelde
Allow Godot to import .ZIP files with non-regular structure
2021-03-26Fixes project manager window size scalingKyle
This is a workaround fix for a Vector2i multiplication regression issue that prevents the project manager window size from scaling correctly. This calculates the new window size x and y values separately.
2021-03-23Rename ButtonList enum and members to MouseButtonAaron Franke
2021-03-20Add the ability to remove project contents from the remove project dialogLightning_A
2021-03-20Fix project icon size in Project ManagerHaoyu Qiu
2021-02-18Reorganize Project Settingsreduz
-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.
2021-02-14Merge pull request #45910 from Ansraer/default-scale-highres-monitorRémi Verschelde
Adjust auto scale on 4k monitors to 150%
2021-02-12Adjust auto scale on high res displaysAnsraer
2021-02-07Display loading text while the project manager is loadingHugo Locurcio
This hints the user that the project manager is currently busy loading the project. This is important for the HTML5 editor as the current feedback isn't very obvious. This also removes the unused `_exit_dialog` function.
2021-02-03Import zip via drag and drop in project manager.Fabio Alessandrelli
Dropping a single ZIP file in the project manager will now prompt the import dialog.
2021-02-02Merge pull request #45648 from Kanabenki/check-project-manager-dirsRémi Verschelde
Check default project and autoscan directories exist on project manager startup
2021-02-02Check default project and autoscan directories exist on project manager startupKanabenki
2021-02-01Make the Open Project Folder button more visible in the project managerHugo Locurcio
This closes https://github.com/godotengine/godot-proposals/issues/619.
2021-01-18Tweak the "Auto" editor setting hints to be more indicativeHugo Locurcio
This affects the editor scale and font hinting settings which will now display their automatically chosen value in parentheses.
2021-01-09Split OS::execute into two methodsMarcel Admiraal
1. execute(): Executes a command and returns the results. 2. create_process(): Creates a new process and returns the new process' id.
2021-01-01Update copyright statements to 2021Rémi Verschelde
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 🎆
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-14Rename AcceptDialog get_ok() to get_ok_button()Marcel Admiraal
Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
2020-12-02Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut
2020-11-28Merge pull request #42109 from EricEzaM/PR/input-and-shortcuts-reworkRémi Verschelde
Shortcuts rework - fixed issues with input propagation and triggering of unwanted shortcuts.