1
0
Fork 0
Commit Graph

2095 Commits

Author SHA1 Message Date
kobewi db64674a56 Fix Android build template message translation 2025-03-14 22:17:18 +01: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
Rémi Verschelde 7bb86852a0
Merge pull request #102990 from KoBeWi/save_asing
Prompt to Save As when saving all scenes
2025-03-14 11:02:34 +01:00
Rémi Verschelde dca2bb887a
Merge pull request #100430 from shahriarlabib000/save
Always update `.tscn` name when "Save Scene As…" is pressed
2025-03-14 11:02:30 +01:00
kobewi 0434deced7 Prompt to Save As when saving all scenes 2025-03-14 00:38:29 +01:00
Thaddeus Crews c1b7865ae9
Merge pull request #103557 from aaronfranke/godot-version-defines
Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
2025-03-13 08:57:42 -05:00
Thaddeus Crews 0cc7e2c27a
Merge pull request #95821 from anvilfolk/cache-gd-docs
Scripting: Fix script docs not being searchable without manually recompiling scripts
2025-03-13 08:57:40 -05:00
Thaddeus Crews 22a7079afd
Merge pull request #104047 from YYF233333/dict_iter
Add const iteration support to `Dictionary`
2025-03-13 08:57:23 -05:00
Lars Pettersson d2d02d0ea8
EditorNode: Add function to load file as scene or resource 2025-03-12 23:59:48 +01:00
Aaron Franke 97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
ocean 72045c8306 Scripting: Add script documentation cache to project
This PR adds a script documentation cache in the project folder.
It is loaded at alongside native documentation caches. This makes
scripts fully accessible through Search Help, including their
members, etc, right from project start, without having to compile
every single script.

Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-03-12 13:44:41 -04:00
Yufeng Ying bebe037abf Add ConstIterator to Dictionary. 2025-03-13 01:28:46 +08:00
Thaddeus Crews 20651f1162
Merge pull request #99680 from YeldhamDev/multi_remote_selection
Allow to select multiple remote nodes at runtime
2025-03-11 14:00:56 -05:00
Thaddeus Crews c8ddbfbd38
Merge pull request #102940 from bruvzg/tab_ed
Add editor setting to override tablet driver.
2025-03-11 14:00:51 -05:00
Michael Alexsander 5c66129e62
Allow to select multiple remote nodes at runtime 2025-03-11 12:35:41 -03:00
Thaddeus Crews 6b6b633a2a
Merge pull request #103402 from ryevdokimov/Add-save-option-to-`Reload-Saved-Scene`
Add Save & Reload option to `Reload Saved Scene`
2025-03-11 09:34:54 -05:00
Thaddeus Crews 899d3376ad
Merge pull request #103044 from KoBeWi/ultimate_upgrade_tool_will_upgrade_your_life_too
Replace UID and Surface upgrade tools with universal one
2025-03-10 21:05:56 -05:00
Thaddeus Crews 590fa90722
Merge pull request #100339 from syntaxerror247/touch-actions-panel
Add a `TouchActionsPanel` to Android Editor
2025-03-10 21:05:43 -05:00
kobewi a3a1cf0a7f Replace UID and Surface upgrade tools with universal one 2025-03-10 16:41:02 +01:00
A Thousand Ships 331a43a9d8
Add `String::remove_char(s)` methods for performance and convenience 2025-03-10 13:19:28 +01:00
kobewi 68d983395f Enable changing editor language without restart 2025-03-10 13:02:50 +01:00
Pāvels Nadtočajevs 6d698cf185
[macOS] Fix editor loading crash on native menu click. 2025-03-10 08:41:17 +02:00
Haoyu Qiu 82a0290871 Add auto translate mode for items in PopupMenu and OptionButton 2025-03-09 23:50:11 +08:00
Thaddeus Crews 3c43508ed7
Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
kobewi c1b08dda36 Don't save unnecessarily with save_before_running 2025-03-07 19:14:50 +01:00
Anish Mishra e8625e70cf Add TouchActionsPanel to Android Editor 2025-03-07 19:45:03 +05:30
A Thousand Ships 5113022dfe
Clean up some uses of `String::substr`
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Pāvels Nadtočajevs fd98c963ba [Editor] Change global menu icons theme independently of editor theme. 2025-03-07 08:59:52 +02:00
kobewi dade8bd66f Update script modified times when saved in EditorNode 2025-03-06 14:47:33 +01:00
Hilderin dba92c9354 Fix headless import always emits errors 2025-03-04 18:45:40 -05:00
Haoyu Qiu 7c8f81f1d0 Set editor's translation domain at root node 2025-03-02 08:52:27 +08:00
Robert Yevdokimov 1c55b9d38d Add Save & Reload option to `Reload Saved Scene` 2025-03-01 16:05:53 +04:00
shahriarlabib000 adfa7a733e update scene name on save as 2025-02-17 16:32:48 +06:00
kobewi 00d8f5f70c Ask before restarting project from settings 2025-02-16 15:00:51 +01:00
Pāvels Nadtočajevs b3c0eaeeb8 Add editor setting to override tablet driver. 2025-02-15 23:16:58 +02: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
kobewi 38d0e82a35 Store _custom_type_script meta as String 2025-02-12 01:22:09 +01:00
Thaddeus Crews 4bac259ced
Merge pull request #101435 from YYF233333/remote_tree_fix2
Return fast for built-in class icon
2025-02-10 12:21:35 -06:00
Hilderin 7f89294f1d Fix Plugin Scripts load twice on startup 2025-02-07 10:57:00 -05:00
Robert Yevdokimov 1c384e7b78 Prevent save confirmation dialog from trying to parent to itself 2025-02-05 06:17:36 +04:00
Yyf2333 dcf5244381 Refactor EditorNode get icon.
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-02-05 00:17:35 +08: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 5696316a89
Merge pull request #102307 from KoBeWi/so_that's_what_it_does
Setup working directory when quitting to project manager
2025-02-03 08:16:00 -06:00
Thaddeus Crews 1bec1bfa5a
Merge pull request #101543 from MrJoermungandr/desynced_extension_preferences_🔄
Respect order of extensions for ResourceFormatSavers with `at_front`
2025-02-03 08:15:54 -06:00
kobewi 3b3b6661ad Setup working directory when quitting to project manager 2025-02-02 00:25:34 +01: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
Thaddeus Crews 97c472e43f
Merge pull request #102026 from TokageItLab/fix-save-reset
Add saving flag hack to Skeleton and revert reset timing of animation
2025-01-30 11:39:03 -06:00
Thaddeus Crews 5f4a0bec2d
Merge pull request #102071 from Meorge/feat/uid-upgrader
Add UID upgrade tool
2025-01-30 11:39:02 -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
clayjohn d774f697d3 Fully enable HDR2D when the setting is changed. This allows toggling HDR2D without restarting. 2025-01-29 23:39:14 -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
Silc Lizard (Tokage) Renew cb7085340e Add saving flag hack to Skeleton and revert reset timing of animation 2025-01-28 03:52:01 +09:00
Hamza Ali 75272237d0 confirm before quitting editor while project is running 2025-01-27 01:40:18 -05:00
kobewi 8aa3ee6a35 Create .uid files in EditorFileSystem 2025-01-18 21:01:39 +01:00
Pāvels Nadtočajevs e127093fe8 Fix conversion plugin search showing errors on `TextFile` and `OtherFile`. 2025-01-15 11:36:46 +02:00
Kilian Strunz 791ad97beb Respect order of externsions for ResourceFormatSavers with at_front 2025-01-14 13:36:29 +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
Rémi Verschelde e9b18fcc38 Merge pull request #99741 from a-johnston/reload_scene_compare_relative_path
Compare localized path against editor scene path when reloading
2025-01-13 20:21:32 +01:00
Rémi Verschelde bb8001c83a Merge pull request #101450 from TokageItLab/reset-anim-skeleton
Change reset timing of the AnimationMixer and Skeleton on save
2025-01-12 18:07:32 +01:00
Silc Lizard (Tokage) Renew d5e91eaa42 Change reset timing of the AnimationMixer and Skeleton on save 2025-01-12 07:12:34 +09: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
Rémi Verschelde f7b9a6a8b1 Merge pull request #100091 from AeioMuch/fix_nodepath_in_history
Add missing cleanup of editor history & set appropriate class icon for object in it
2025-01-08 00:20:58 +01:00
Rémi Verschelde 0fee2724f0 Merge pull request #100751 from YYF233333/force_regex_with_editor
Force build editor with regex module, remove checking code
2025-01-07 23:17:35 +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
Yufeng Ying 34d8255947 Force build editor with regex module, remove checking code.
Fix include.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-07 19:43:23 +08:00
Rémi Verschelde 9890cc9d59
Merge pull request #97136 from chocola-mint/fix-#97021
Stop EditorNode from refreshing the current scene tab when not needed
2025-01-07 10:14:26 +01:00
chocola-mint 86a6794a4a Stop EditorNode from refreshing the current scene tab when not needed 2025-01-07 13:36:46 +09:00
Ricardo Subtil b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
Thaddeus Crews c83706fdfd
Merge pull request #99904 from kitbdev/fix-load-floating-dock
Fix loading layout with floating dock in single window mode and fix `restore_windows_on_load`
2024-12-30 08:58:52 -06:00
Adam Johnston 224bafcbce Compare localized path against editor scene path when reloading and
loading
2024-12-24 17:47:07 -08:00
A Thousand Ships a1846b27ea
Improve use of `Ref.is_null/valid`
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying f241c1fda0 Remove unused header in editor.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08:00
Yufeng Ying 73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
Rémi Verschelde a11364d1e6
Merge pull request #99010 from Hilderin/embedding-game-process
Embed game process in editor
2024-12-20 23:56:43 +01:00
Rémi Verschelde 8a743f23e6
Merge pull request #98385 from RandomShaper/thread_yield
Rationalize busy waits
2024-12-20 23:56:39 +01:00
Hilderin 9d2a4c03be Embedding game process in editor 2024-12-18 17:52:42 -05:00
Haoyu Qiu bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
Rémi Verschelde e237dd0691
Merge pull request #100408 from KoBeWi/pathdoom
Improve UID support for main scene
2024-12-17 16:19:19 +01:00
kobewi 62d4928e86 Improve UID support for main scene 2024-12-16 19:58:16 +01:00
Thaddeus Crews 02e196eb41
Merge pull request #98132 from aaronfranke/editor-plugin-get-plugin-icon-name
Rename internal EditorPlugin icon/name to match exposed methods
2024-12-16 12:09:57 -06:00
Thaddeus Crews a7fa0528bb
Merge pull request #100372 from Calinou/os-add-get-version-alias
Add `OS.get_version_alias()` to return a human-readable Windows/macOS version number
2024-12-16 12:09:40 -06:00
Aaron Franke 0ab3dc273e
Rename internal EditorPlugin icon/name to match exposed methods 2024-12-15 17:31:01 -08:00
Hugo Locurcio 928982891e Add `OS.get_version_alias()` to return a human-readable Windows/macOS version number
Windows 11's major version number is actually 10.x.x, which can be confusing
if you don't know about this quirk. `OS.get_version_alias()` avoids this
by displaying the "branding" version number and the build number as a suffix,
so that individual updates can still be distinguished from each other.

On macOS, `OS.get_version_alias()` returns the version number prepended
with the version name (e.g. Sequoia for macOS 15).

On other operating systems, this returns the same value as `OS.get_version()`.
2024-12-14 18:47:50 +01:00
Rémi Verschelde e0cdba40fd
Merge pull request #99453 from reach-satori/drag_to_filesystem_folder
Allow dragging to specific folders in filesystem dock
2024-12-14 18:25:33 +01:00
Pedro J. Estébanez 4f8dd96b3d Rationalize busy waits 2024-12-13 10:14:26 +01:00
Robert Yevdokimov 7f09804154 Add inherit parameter to `open_scene_from_path` 2024-12-12 10:24:58 -05:00
Thaddeus Crews 15aa18bc92
Merge pull request #98675 from YeldhamDev/dont_be_shy_plugin
Fix certain editor plugins not showing when they should
2024-12-10 14:16:09 -06:00
Thaddeus Crews bfc1d2f95f
Merge pull request #96773 from tetrapod00/resource-save-popup
[Editor] Use toast (notification) instead of dialog when saving with no open scene
2024-12-10 14:15:42 -06:00
Michael Alexsander b397add456
Fix certain editor plugins not showing when they should 2024-12-09 15:23:23 -03: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
Thaddeus Crews ef22b6fe82
Merge pull request #100030 from passivestar/mainmenu-valign
Fix vertical alignment of the main menu bar
2024-12-05 14:12:06 -06:00
passivestar 73f7e1379c Fix vertical alignment of the main menu bar 2024-12-05 05:27:34 +04:00
kobewi b0cee57d81 Fix extensions when saving resource as 2024-12-03 22:54:54 +01:00
kit 4e1f534c1e Fix loading floating dock in single window mode
Fix restore_windows_on_load setting preventing loading layouts with floating docks
2024-12-01 14:06:22 -05:00
Thaddeus Crews 37c392ebc3
Merge pull request #96414 from SaracenOne/improve_animation_warnings
Improve behaviour of AnimationPlayer warnings.
2024-11-26 13:04:46 -06:00
Mateus Reis 6f76ef4bdd Allow dragging to specific folders in filesystem dock 2024-11-20 04:49:34 +02:00
A Thousand Ships 68f638cf02
Use `(r)find_char` instead of `(r)find` for single characters 2024-11-17 10:02:18 +01:00