1
0
Fork 0
Commit Graph

508 Commits

Author SHA1 Message Date
kobewi e0e8bd5394 Optimize unsaved history checking 2025-05-13 00:13:12 +02:00
Anish Mishra e03942a6ef Add editor setting to collapse main menu 2025-05-07 08:39:21 +05:30
Anish Mishra 64b4598baa Improve Android editor layout 2025-05-07 08:39:21 +05:30
Rémi Verschelde 694d034d5b
Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
Anish Mishra 34b3582cf9 Embed TouchActionsPanel directly into the Android editor UI 2025-04-19 20:32:47 +05:30
Priahoud bf963e767e Add Options, Functions and Settings to convert Node-Names and Strings to kebab-case
- refactored and renamed String::_camelcase_to_underscore to String:_separate_compound_words
- refactored String::to_snake_case to work with the refactored String::_separate_compound_words
- created char_utils::is_hyphen to catch all hyphen variants in kebab-case conversion
- created String::to_kebab_case using the new String::_separate_compound_words
- created corresponding Documentation in String and StringName
- simplified both switch statements in EditorNode and ProjectDialog
- added new kebab-casing Option for Node Names in ProjectSettings
- added missing camelCase Options to Scene- and Node-Names in ProjectSettings
- simplified Mono RuntimeInterop Functions
- hooked up the ConnectionsDialog
- created additional Unit Tests
2025-04-10 21:22:21 +02:00
A Thousand Ships 787cad1799
[Editor] Use separate `EditorFileDialog` for "Pack Project as ZIP"
This prevents state corruption for saving resources.
2025-04-08 18:39:02 +02:00
runzh-crypto 9977abd697 Validate custom directory when project is started 2025-04-04 21:21:42 +08:00
Rémi Verschelde 27181e89cc
Merge pull request #104252 from beicause/prompt-restart-when-data-missing
Prompt to restart when project data (.godot) is missing
2025-03-28 14:32:39 +01:00
Pāvels Nadtočajevs 8d6c6e25a0
Fix embedded help menu icons. 2025-03-21 15:46:37 +02:00
LuoZhihao 6f1b75fd79 Prompt to restart when project data (.godot) is missing 2025-03-20 19:35:05 +08:00
kobewi 6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
Thaddeus Crews 9cf741a315
Merge pull request #104102 from ryevdokimov/reload-saved-scene-fixes
Focus `Don't Save` in `Reload Saved Scene` and don't save unmodified scenes
2025-03-17 10:52:28 -05:00
Robert Yevdokimov 17f78cdcaa Focus `Don't Save` in `Reload Saved Scene` and don't save unmodified scenes 2025-03-14 18:04:04 +04:00
kobewi 0434deced7 Prompt to Save As when saving all scenes 2025-03-14 00:38:29 +01:00
Lars Pettersson d2d02d0ea8
EditorNode: Add function to load file as scene or resource 2025-03-12 23:59:48 +01:00
kobewi a3a1cf0a7f Replace UID and Surface upgrade tools with universal one 2025-03-10 16:41:02 +01:00
Thaddeus Crews 324512e11c
Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
kobewi c1b08dda36 Don't save unnecessarily with save_before_running 2025-03-07 19:14:50 +01:00
Hilderin dba92c9354 Fix headless import always emits errors 2025-03-04 18:45:40 -05:00
kobewi 00d8f5f70c Ask before restarting project from settings 2025-02-16 15:00:51 +01:00
Agustín Marsero 2ba64a57c5 Fix Global Class names cache not saved with upgrade to 4.4.
Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-02-12 18:33:38 +01:00
Thaddeus Crews acddf31c39
Merge pull request #101489 from RandomShaper/optimize_classnames_enumeration
Optimize classnames enumeration
2025-02-04 09:03:59 -06:00
Thaddeus Crews 9ee1873ae1
Merge pull request #102070 from ryevdokimov/reparent-save-confirmation
Make save confirmation a child of last exclusive window of EditorNode before popup
2025-01-30 11:39:05 -06:00
Malcolm Anderson d034d124b2 Add UID upgrade tool
Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

memdelete the UID upgrade tool

Remove redeclaration of singleton

Add note about committing .uid files to version control

Add "Learn more" button that links to Godot blog post about UIDs

Detect project from 4.3 or less and automatically display UID upgrade window

Display popup after first run of `_sources_changed`

Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Replace magic strings with constants

Update editor/editor_node.cpp

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-01-30 08:42:07 -08:00
Pedro J. Estébanez a20934c8e4 Optimize enumeration of global classes in create dialog and autocomplete 2025-01-29 09:39:50 +01:00
Robert Yevdokimov c7fd0bb740 Make save confirmation a child of last exclusive window of EditorNode before popup 2025-01-28 11:28:48 +04:00
kobewi 8aa3ee6a35 Create .uid files in EditorFileSystem 2025-01-18 21:01:39 +01:00
Rémi Verschelde 8cf6061dfd Merge pull request #99844 from KoBeWi/give_back_the_focus
Fix progress dialog steals focus
2025-01-14 12:08:46 +01:00
kobewi 77d18d1ad4 Fix progress dialog steals focus
Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-01-14 01:37:21 +01:00
Malcolm Anderson 6b33037021 Add menu bar item for "Pack Project as ZIP..."
Apply suggestions from code review

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Fix includes

Update editor/editor_node.cpp

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-01-09 20:37:02 -08:00
kobewi 24eadaa6a4 Reorganize EditorNode menu options 2025-01-09 12:21:56 +01:00
AeioMuch 96e59b99ba Cleanup editor history when opening the history menu popup & set appropriate class icon for object in it. Handle do&undo for selection when reparenting 2025-01-07 23:15:30 +01:00
Ricardo Subtil b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
Hilderin 9d2a4c03be Embedding game process in editor 2024-12-18 17:52:42 -05:00
Robert Yevdokimov 7f09804154 Add inherit parameter to `open_scene_from_path` 2024-12-12 10:24:58 -05:00
Nông Văn Tình e6a49ab6ac Save color palette as resources to reuse later
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-12-06 20:16:06 +07:00
kobewi 28e5b213ae Create .uid file when creating new Resource 2024-11-13 00:40:31 +01:00
Thaddeus Crews 89a311205f
Style: Apply `clang-tidy` fixes
• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
2024-11-04 12:11:06 -06:00
Adam Scott 0d350e7108
Set clang-format `RemoveSemicolon` rule to `true`
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Rémi Verschelde aa4077338b
Merge pull request #94880 from KoBeWi/never-before-seen_way_to_restart_editor
Call `restart_editor()` in `RUN_PROJECT_MANAGER`
2024-10-04 22:42:56 +02:00
Stijn Hinlopen 06791e1acd New Quick Open Dialog
- Updated list view with thumbnails, and separate file name.
  - Added a grid view which has larger icons.
  - Added toggle to filter out files from addons.
  - Store history for each opened resource type.

New Editor settings for Quick Open:
  - Startup display mode (grid or list):
      - Determined by the requested resource type.
      - Whatever was last used.
  - Toggle to filter out files from addons (for persistence).

Notes
  - The dialog is now created once in EditorNode, and globally available for other components.
  - A fixed number of result scenes are instantiated, and reused based on query.
  - Drop support for multiselect.
2024-10-01 21:39:16 +02:00
Rémi Verschelde 2912cb9975
Merge pull request #97118 from mihe/patch-exports
Add ability to export patch packs
2024-09-26 12:45:42 +02:00
Mikael Hermansson d3be030ea6 Add ability to export patch packs
Co-authored-by: Poq Xert <poqxert@poqxert.ru>
2024-09-25 17:07:28 +02:00
Rémi Verschelde fc960cdf80
Merge pull request #97013 from Hilderin/fix-load-errors-popup-empty
Fix empty load errors popup
2024-09-24 12:57:04 +02:00
SaracenOne f44bce2ee0 Add support for resource conversion plugins in filesystem dock. 2024-09-16 15:11:40 +01:00
Hilderin 430e5658f1 Fix empty load errors popup 2024-09-14 15:35:50 -04:00
Rémi Verschelde feb31176d4
Merge pull request #96830 from Hilderin/fix-popup-load-errors-showing-on-every-progress
Fix load error popup showing on every progress dialog
2024-09-12 09:25:35 +02:00
Hilderin 47703c7005 Fix load error popup showing on every progress dialog 2024-09-11 18:58:21 -04:00
kit 5e1c9d68aa Extract editor main screen 2024-09-09 11:06:18 -04:00