summaryrefslogtreecommitdiff
path: root/editor/project_manager.h
AgeCommit message (Collapse)Author
2023-03-16Disallow creating a project in the Home or Documents folderclayjohn
Also don't prompt users to delete the project folder for now. This is a temporary fix to ensure that users do not delete their entire home folders by mistake (cherry picked from commit 45a26ff29286b1a692c7f7f6faac6970cdf3151c)
2023-02-17Add a custom icon for the `project.godot` file in the EditorFileDialogYuri Sizov
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-11-29Use forward-declarations in big editor classestrollodel
2022-09-15Project Manager: Clarify text in project conversion dialogsRémi Verschelde
Let the cancel button grab focus to prevent any accident. Make the full project conversion respect OS specific ok/cancel positions. Improve popup sizing and wrapping a bit.
2022-09-12Add option to convert project from Project Managerkobewi
2022-08-07Migrate project list to separate config file.Ryan Roden-Corrent
Storing the project/favorites list in the EditorSettings makes it difficult to version-control your editor configuration, as the file will continually change as you open new projects. It also means a configuration can't be shared across machines, as they might not have the same projects or file layout. Now the project list is stored in $godot_data_dir/projects.cfg. Each path is a section, which has a boolean favorite value. If the new config does not exist, the editor attempts to migrate legacy EditorSettings-based configuration to the new file. Fixes godotengine/godot-proposals#1637.
2022-06-16Add icons to the Project Manager side buttonsFireForge
2022-05-19Tweaks to improve the Project Manager display at small sizesAaron Franke
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-04-12Merge pull request #54740 from ↵Rémi Verschelde
LightningAA/project-manager-sort-by-most-recent-as-default
2022-04-11Improvements to files_dropped signalkobewi
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-29Fix lack of ProjectManager nullptr initializationsMarios Staikopoulos
Initialize all pointers to nullptr, fixes a crash with asset_library caused by uninitialized memory.
2022-02-12Fix Project Manager crash on exit.bruvzg
Fix editor settings loading / saving by Project Manager.
2022-02-12Use EditorFileDialog instead of FileDialog in the project managerHendrik Brucker
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-11-07Make "Last Modified" the default sorting order for the Project ManagerAaron Record
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-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-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-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-03-20Add the ability to remove project contents from the remove project dialogLightning_A
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-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-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.
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-11-23Implement new shortcuts system.Eric M
unhandled_key_input changed to unhandled_button_input. Controls can set a 'shortcut_context' which they can then use to determine if their shortcuts should be triggered or not, based on if the viewport's focused GUI control is a child of their 'shortcut context'.
2020-11-10Allow creating projects in non-empty folders with a confirmation popupAaron Franke
2020-08-29Fix not saving new filter orderStijn Hinlopen
2020-08-27Refactor project filter in Project ManagerStijn Hinlopen
- Reorder search/sort bar - Removed ProjectListFilter (unnecessary abstraction) - Reorder side bar buttons - Removed some unused variables/methods
2020-06-19Remove ToolButton in favor of ButtonHugo Locurcio
ToolButton has no redeeming differences with Button; it's just a Button with the Flat property enabled by default. Removing it avoids some confusion when creating GUIs. Existing ToolButtons will be converted to Buttons, but the Flat property won't be enabled automatically. This closes https://github.com/godotengine/godot-proposals/issues/1081.
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-03-26Add macOS DisplayServer implementation.bruvzg
Change global menu to use Callable, add support for check items and submenus.
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-12Rename the "Last Modified" project list sorting option to "Last Edited"Hugo Locurcio
The `project.godot` file will always be modified when editing a project, but not when running it. This effectively makes the option sort by last edition date, rather than modification as is typically understood by users. This closes #36127.
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-08-26[macOS] Add methods to modify global and dock menus. Add ability to open ↵bruvzg
multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu.
2019-08-17Improve the project manager UIHugo Locurcio
This incorporates many suggestions from #31342. This also revises the search behavior to be simpler and more efficient: - Searching will now search in both the project name and path. A project will be displayed if either of these match the search term. - If the search term contains a "/", the whole path will be used to match the search term. Otherwise, only the last path component will be used.
2019-07-21Project manager improvementsMarc Gilleron
- Faster launch time by loading icons in a coroutine - Faster sorting, filtering, fav'ing etc - Refactored project list with a proper structured class
2019-06-18Properly sort projects by nameTomasz Chabora
2019-06-09Dim the project manager window while it's quittingHugo Locurcio
This makes it clearer that the project manager window is busy while it's quitting (which can take a while on slower PCs). This also makes it feel more responsive to user input.
2019-05-26Fix Segmentation fault and reduce memory consumptionNils ANDRÉ-CHANG
2019-04-30Merge pull request #25713 from qarmin/remove_all_missing_projectsRémi Verschelde
Add button in Project Manager to remove all missing projects
2019-02-19Fix project opening while filter is applied.Kārlis Seņko
Fixes #25268
2019-02-11Add button in Project Manager to remove all missing projectsqarmin
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-21ProjectManager: Warn when projects have different config_versionRémi Verschelde
When opening projects for edition through the project manager, the following checks are now done: 1. If the config_version is lower than the one used by the current engine version, users are asked if they want to convert to the new format or abort editing. Fixes #20626. 2. If the config_version is higher than the expected one (project from a more recent and incompatible engine version), projects are grayed out and can't be edited. Fixes #18758. When editing from the command line, the behaviour is unchanged: projects in situation (1) are automatically converted, while projects in situation (2) show an error message (made more explicit). The "Run" option from the project manager was not changed, so it will still run (1) projects without converting them, and fail running (2) projects. Co-authored-by: groud <gilles.roudiere@gmail.com>
2018-12-1524303: remember sorting order in the project managerGleb Mineev