summaryrefslogtreecommitdiffstats
path: root/editor/project_manager.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a custom icon for the `project.godot` file in the EditorFileDialogYuri Sizov2023-02-171-0/+1
|
* 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".
* Use forward-declarations in big editor classestrollodel2022-11-291-0/+1
|
* Project Manager: Clarify text in project conversion dialogsRémi Verschelde2022-09-151-0/+1
| | | | | | | | | 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.
* Add option to convert project from Project Managerkobewi2022-09-121-0/+3
|
* Migrate project list to separate config file.Ryan Roden-Corrent2022-08-071-1/+1
| | | | | | | | | | | | | | | 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.
* Add icons to the Project Manager side buttonsFireForge2022-06-161-1/+4
|
* Tweaks to improve the Project Manager display at small sizesAaron Franke2022-05-191-0/+1
|
* Replace most uses of Map by HashMapreduz2022-05-161-1/+1
| | | | | | | | | | | | * 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!
* Merge pull request #54740 from ↵Rémi Verschelde2022-04-121-1/+1
|\ | | | | | | LightningAA/project-manager-sort-by-most-recent-as-default
| * Make "Last Modified" the default sorting order for the Project ManagerAaron Record2021-11-071-1/+1
| |
* | Improvements to files_dropped signalkobewi2022-04-111-1/+1
| |
* | [Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg2022-04-051-1/+1
| | | | | | | | character input with Alt / Ctrl modifiers, after processing of shortcuts.
* | Fix lack of ProjectManager nullptr initializationsMarios Staikopoulos2022-03-291-30/+30
| | | | | | | | | | Initialize all pointers to nullptr, fixes a crash with asset_library caused by uninitialized memory.
* | Fix Project Manager crash on exit.bruvzg2022-02-121-2/+6
| | | | | | | | Fix editor settings loading / saving by Project Manager.
* | Use EditorFileDialog instead of FileDialog in the project managerHendrik Brucker2022-02-121-1/+6
| |
* | Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
|/ | | | Happy new year to the wonderful Godot community!
* Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-1/+1
| | | | | | | | * `_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.
* Make it possible to copy the Godot version identifier by clicking itHugo Locurcio2021-04-281-0/+2
| | | | This closes #24317.
* Add the About dialog to the project managerHugo Locurcio2021-04-161-0/+4
| | | | | | | | 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).
* Merge pull request #47200 from LightningAA/delete-from-project-manager-4.0Rémi Verschelde2021-04-061-0/+4
|\ | | | | Add the ability to remove project contents from the remove project dialog
| * Add the ability to remove project contents from the remove project dialogLightning_A2021-03-201-0/+4
| |
* | Automatically focus the Search field when displaying asset libraryHugo Locurcio2021-04-051-0/+1
|/ | | | | | | | | - 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".
* Display loading text while the project manager is loadingHugo Locurcio2021-02-071-1/+1
| | | | | | | | 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.
* 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 🎆
* Merge pull request #42109 from EricEzaM/PR/input-and-shortcuts-reworkRémi Verschelde2020-11-281-1/+1
|\ | | | | Shortcuts rework - fixed issues with input propagation and triggering of unwanted shortcuts.
| * Implement new shortcuts system.Eric M2020-11-231-1/+1
| | | | | | | | 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'.
* | [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-0/+2
|/ | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Allow creating projects in non-empty folders with a confirmation popupAaron Franke2020-11-101-0/+1
|
* Fix not saving new filter orderStijn Hinlopen2020-08-291-4/+3
|
* Refactor project filter in Project ManagerStijn Hinlopen2020-08-271-57/+22
| | | | | | | - Reorder search/sort bar - Removed ProjectListFilter (unnecessary abstraction) - Reorder side bar buttons - Removed some unused variables/methods
* Remove ToolButton in favor of ButtonHugo Locurcio2020-06-191-1/+0
| | | | | | | | | | | 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.
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-2/+0
| | | | | | | | | | | | | | 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.
* Add macOS DisplayServer implementation.bruvzg2020-03-261-1/+0
| | | | Change global menu to use Callable, add support for check items and submenus.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-2/+2
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Rename the "Last Modified" project list sorting option to "Last Edited"Hugo Locurcio2020-02-121-1/+1
| | | | | | | | | 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.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | 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.
* [macOS] Add methods to modify global and dock menus. Add ability to open ↵bruvzg2019-08-261-0/+2
| | | | multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu.
* Improve the project manager UIHugo Locurcio2019-08-171-0/+1
| | | | | | | | | | | 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.
* Project manager improvementsMarc Gilleron2019-07-211-8/+5
| | | | | | - Faster launch time by loading icons in a coroutine - Faster sorting, filtering, fav'ing etc - Refactored project list with a proper structured class
* Properly sort projects by nameTomasz Chabora2019-06-181-5/+7
|
* Dim the project manager window while it's quittingHugo Locurcio2019-06-091-0/+1
| | | | | | 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.
* Fix Segmentation fault and reduce memory consumptionNils ANDRÉ-CHANG2019-05-261-1/+1
|
* Merge pull request #25713 from qarmin/remove_all_missing_projectsRémi Verschelde2019-04-301-0/+4
|\ | | | | Add button in Project Manager to remove all missing projects
| * Add button in Project Manager to remove all missing projectsqarmin2019-02-111-0/+4
| |
* | Fix project opening while filter is applied.Kārlis Seņko2019-02-191-0/+1
|/ | | | Fixes #25268
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* ProjectManager: Warn when projects have different config_versionRémi Verschelde2018-12-211-12/+12
| | | | | | | | | | | | | | | | | | | | | | 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>
* 24303: remember sorting order in the project managerGleb Mineev2018-12-151-0/+1
|
* Add sorting to project manager. Fixes #8794.helenaMontenegro2018-11-231-1/+5
|