Commit Graph

13473 Commits

Author SHA1 Message Date
Yuri Sizov ea756c67a5 Merge pull request #79613 from MewPurPur/lighter-docs-icon
Make Help.svg not look disabled
2023-07-21 17:15:45 +02:00
Yuri Sizov bf73ac2891 Merge pull request #73641 from KoBeWi/yolo_exiting
Don't save scripts when exiting editor
2023-07-21 17:15:14 +02:00
Silc Lizard (Tokage) Renew 99451b55c2 Make animation name list scroll to new animation in SpriteEditor
Co-authored-by: DarellLdark <darell.ldark@gmail.com>
2023-07-21 19:36:25 +09:00
Haoyu Qiu 80728bdf1e Fix typo in ResourceImporterImageFont 2023-07-21 09:50:29 +08:00
kobewi 51f92d1100 Don't grab theme icons for scripts 2023-07-21 02:13:07 +02:00
kobewi bb64588796 Add placeholder items to TileSet layer list
Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
2023-07-20 14:31:00 +02:00
Yuri Roubinski 01101134f4 Make the dragging connections more user-friendly in visual shaders 2023-07-20 15:00:19 +03:00
Gilles Roudière 0fc56646f1 Add white rect to TileMap selection tool 2023-07-19 17:42:29 +02:00
Henrique Alves 8ef2e3d76c Add `save_all_scenes` method to Editor Interface
Update documentation

(squash) fix docs

(squash) Improve docs
2023-07-19 18:05:15 +03:00
Fredia Huya-Kouadio d17811c814 Re-architect how Android plugins are packaged and handled at export time
The previous packaging format for Godot Android plugins consisted of the plugin's `gdap` config file accompanied by binaries defined in the `gdap` file.
This format is now deprecated (starting with Godot 4.2), and instead Godot Android plugins are now packaged as `EditorExportPlugin` plugins.

The `EditorExportPlugin` class has been updated with the following methods to provide the necessary set of functionality:
- `_supports_platform`: returns true if the plugin supports the given platform
- `_get_android_dependencies`: retrieve the set of android dependencies (e.g: `org.godot.example:my-plugin:0.0.0`) provided by the plugin
- `_get_android_dependencies_maven_repos`: retrieve the urls of the maven repos for the provided android dependencies
- `_get_android_libraries`: retrieve the local paths of the android libraries (AAR files) provided by the plugin
- `_get_android_manifest_activity_element_contents`: update the contents of the `<activity>` element in the generated Android manifest
- `_get_android_manifest_application_element_contents`: update the contents of the `<application>` element in the generated Android manifest
- `_get_android_manifest_element_contents`: update the contents of the `<manifest>` element in the generated Android manifest
2023-07-18 19:14:53 +02:00
MewPurPur 963a63708e Make Help.svg not look disabled 2023-07-18 16:23:47 +03:00
Yuri Sizov 9c39fe0690 Merge pull request #79609 from KoBeWi/one_dollar_mistake
Fix wrong Curve connection
2023-07-18 15:10:13 +02:00
kobewi b883f32188 Check for unsaved changes when closing a scene 2023-07-18 14:27:56 +02:00
kobewi 000471ee56 Add unsaved status for script and shader editors 2023-07-18 14:18:36 +02:00
kobewi 6dc5dc3479 Add `_get_unsaved_status()` method to EditorPlugin 2023-07-18 14:18:36 +02:00
Aaron Franke df3a1c18f1
Add Ctrl+/ as a shortcut to toggle comment in addition to Ctrl+K 2023-07-18 07:00:59 -05:00
kobewi a076792a3c Fix wrong Curve connection 2023-07-18 13:55:04 +02:00
Yuri Sizov 79a9e79561 Merge pull request #79416 from sepTN/fix-copy-system-info
Fix rendering driver in Copy System Info for the Compatibility rendering method
2023-07-18 13:28:30 +02:00
Rindbee e9cd29cf22 Fix rename animation in SpriteFramesEditor/AnimationNodeStateMachineEditor
When the name suffix grows, the old name is used if it is obtained first.

Fix the case where the following error message would appear when renaming
an animation.

```
ERROR: Animation '' doesn't exist.
   at: get_frame_count (scene/resources/sprite_frames.cpp:71)
```
2023-07-18 15:39:02 +08:00
Septian c4b878ccb3 Fix Copy System Info to copy the correct rendering driver for the Compatibility rendering method 2023-07-18 06:16:15 +07:00
kobewi de4a3fa151 Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
Raul Santos 132a1daf1a
C#: Fix line in OpenInExternalEditor 2023-07-17 18:44:17 +02:00
Yuri Sizov b7c3998669
Merge pull request #68396 from Geometror/split-stylebox
Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file
2023-07-17 15:41:43 +02:00
Hendrik Brucker a29a680920 Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file 2023-07-17 13:25:00 +02:00
Hugo Locurcio 02bf74a954
Improve shader editor templates to be more descriptive 2023-07-17 12:52:27 +02:00
Hugo Locurcio a39190a18f
Allow using floating-point bone sizes and outline widths in the 2D editor
This is useful when animating pixel art sprites in the 2D editor,
as a value of `1` is often too large when zoomed in.
2023-07-17 12:44:09 +02:00
Hugo Locurcio 5e117ee7bf
Skip keyframe creation dialog when holding Shift in the animation editor
The editor setting to always bypass the confirmation dialog was removed,
since the new shortcut effectively supersedes it in a more granular way.
2023-07-17 12:09:32 +02:00
kobewi 7b8c70c668 Improve message when no tile is selected to edit 2023-07-17 02:41:36 +02:00
Yuri Sizov 851bc640dd
Merge pull request #79484 from KoBeWi/history_changes,_but_war․․․_war_never_changes
Emit `history_changed` on merged UndoRedo actions
2023-07-16 14:42:55 +02:00
Markus Sauermann 1712b78e18 Include Display Server Type in Copy System Info
Add info about X11 or Wayland to System Information on LinuxBSD.
2023-07-16 10:32:54 +02:00
David Snopek 62af007aa0 Prevent GDExtensions from trying to remove editor plugins at shutdown 2023-07-14 17:48:14 -05:00
kobewi 6276fd2695 Allow to pick which Resources will be made unique
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-07-14 22:59:00 +02:00
kobewi b6bb0d505d Emit history_changed on merged UndoRedo actions 2023-07-14 22:08:45 +02:00
Yuri Sizov a7583881af Merge pull request #68460 from Geometror/split_texture_src
Extract and reorganize texture resource classes
2023-07-14 21:28:06 +02:00
Yuri Sizov c10b8ac735 Merge pull request #79198 from theraot/enchance_onready_drop
Make onready variables created from dropping nodes include custom types
2023-07-14 21:28:02 +02:00
Yuri Sizov 5f23b8b916 Merge pull request #78451 from alula/integer-zoom
Add option to swap default Alt+scroll zooming behavior in 2D editor
2023-07-14 21:27:54 +02:00
Hendrik Brucker 7e21eb7e00 Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
Yuri Sizov db216e1fe5 Merge pull request #79457 from timothyqiu/flag-value
Hide explicitly specified flag value in Inspector
2023-07-14 18:50:19 +02:00
Yuri Sizov d8c0d63f07 Merge pull request #79393 from Sauermann/fix-window-focux-indicator
Add a default theme for unfocused Windows
2023-07-14 18:50:01 +02:00
Yuri Sizov 0231611ee0 Merge pull request #79206 from raulsntos/doc-mention-csharp-differences
Add a warning about C# differences in classref doc
2023-07-14 18:49:36 +02:00
Yuri Sizov 5c56206e6c Merge pull request #79011 from bruvzg/pop_all
[RTL] Add `pop_all`, `push_context` and `pop_context` methods, and use it for `print_rich` to avoid unclosed tags.
2023-07-14 18:49:21 +02:00
Yuri Sizov 6b3e877a5e Merge pull request #78309 from Calinou/editor-create-new-node-recent-limit-history-size
Only display 15 nodes in the Recent section of the Create New Node dialog
2023-07-14 18:48:58 +02:00
Hugo Locurcio c0e3dc55ba
Add a shortcut to paste nodes as sibling of the selected node
This makes quick pasting jobs easier when you don't want a heavily
nested structure, by pressing Ctrl + Shift + V (Cmd + Shift + V on macOS)
instead of Ctrl + V (Cmd + V on macOS).
2023-07-14 17:35:23 +02:00
Haoyu Qiu de83b7166c Hide explicitly specified flag value in Inspector 2023-07-14 14:25:26 +08:00
MewPurPur bd1a59c4b6 Add icons to some placeholder classes 2023-07-13 20:23:52 +03:00
Markus Sauermann 576980f960 Add a default theme for unfocused Windows
At the moment it is impossible to distinguish between focused and
unfocused embedded Windows.
Add a new `theme_item` that is used for coloring the border of
unfocused Windows.
2023-07-12 22:35:03 +02:00
Yuri Sizov 60f3b7967c Merge pull request #79381 from WiseNoodle/fix-wording-of-missing-file-or-dependencies-alert
Add missing word to text of the alert dialog
2023-07-12 21:03:17 +02:00
Yuri Sizov 1da09fd477 Merge pull request #79062 from MewPurPur/svg-optimizations
Optimize SVG icons and remove unused Transpose icon
2023-07-12 21:02:53 +02:00
Yuri Sizov 7aff59f0b6 Merge pull request #78567 from NiskashY/master
Fix reimporting files with non lowercase name extension
2023-07-12 21:02:42 +02:00
Yuri Sizov a927b22f65 Merge pull request #77257 from rakkarage/tile_animation_sync
Add `TileSetAtlasSource::TileAnimationMode` options and allow to shuffle tile animations
2023-07-12 21:02:31 +02:00
S.V.I. Vilcrow 56e2fad319 Fixed the jumping to function definition using 'Ctrl+LMB' and the 'Lookup Symbol' button. 2023-07-12 21:30:35 +03:00
WiseNoodle d1c70cf7d4 Add missing word to text of the alert dialog 2023-07-12 11:53:31 -04:00
Yuri Sizov 770b7e974b Merge pull request #79337 from KoBeWi/best_fix_ever
Change default Save Script shortcut
2023-07-12 17:17:11 +02:00
Yuri Sizov 91fefcb546 Merge pull request #79285 from KoBeWi/instant_atlas
Streamline creating tile atlas sources
2023-07-12 17:17:07 +02:00
Yuri Sizov 19f3303357 Merge pull request #79262 from Geometror/vs-port-icon-size-override
Keep `GraphNode` port icons crisp at high zoom levels and remove artifacts
2023-07-12 17:17:02 +02:00
Yuri Sizov bec5650a5f Merge pull request #79283 from sepTN/fix-dragged-nodes-icon-size
Fix dragged nodes icon size
2023-07-12 17:16:58 +02:00
Yuri Sizov f53329d045 Merge pull request #78890 from KoBeWi/who_needs_restart_anyway
Allow change import type without restarting editor
2023-07-12 17:16:53 +02:00
Yuri Sizov 22b4861d7b Merge pull request #78649 from MewPurPur/dont-link-to-own-page
Tweak documentation to use bold font when a class is referencing itself
2023-07-12 17:16:47 +02:00
Yuri Sizov 4d862d6cc9 Merge pull request #78772 from MineBill/master
Fix VoxelGI saving VoxelGIData as a built-in file, despite being prompted to save it to an external file
2023-07-12 17:16:29 +02:00
Yuri Sizov c457480ca9 Merge pull request #78604 from KoBeWi/gotta_close_fast
Speed up closing multiple scripts
2023-07-12 17:16:24 +02:00
Yuri Sizov d13369eee1 Merge pull request #68140 from quinnyo/auto-complete-option
Add editor setting to toggle automatic code completion
2023-07-12 17:15:51 +02:00
Yuri Sizov f25233cbc9 Merge pull request #49524 from Calinou/document-editor-import-options
Document editor import options in the class reference
2023-07-12 17:15:19 +02:00
Yuri Sizov 56a1d5118f Merge pull request #59467 from rcorre/blender-wrap
Wrap mouse for blender-style transforms.
2023-07-12 17:15:08 +02:00
Yuri Sizov 9547de5b0e Merge pull request #76367 from Chaosus/import_settings_animation_playback
Add animation playback preview to scene import settings
2023-07-12 17:14:57 +02:00
Yuri Sizov 1e1d2a89bf Merge pull request #44557 from iwek7/improved_comment_toggle
Improve `CodeEdit`'s toggle comments behavior
2023-07-12 17:14:52 +02:00
NiskashY fc6a6dd0f4 Fix reimporting files with non lowercase name extension 2023-07-12 17:04:01 +02:00
bruvzg 7b7f6d45d6
Implement iOS one-click deploy. 2023-07-12 16:25:04 +03:00
Yuri Sizov ecc9134086 Merge pull request #79079 from stmSi/ESC-key-not-closing-FindReplaceBar
Fix ESC (ui_cancel) not closing FindReplaceBar
2023-07-12 15:09:46 +02:00
Yuri Sizov 5dff3c4484 Merge pull request #78538 from Sauermann/fix-code-simplifications
Remove unnecessary value assignments throughout the codebase
2023-07-12 15:09:26 +02:00
Yuri Sizov 6960a1d0e8 Merge pull request #78248 from felaugmar/load-svg-adjustable-scale
Added `Image::load_svg_from_(buffer|string)`
2023-07-12 15:09:03 +02:00
Yuri Sizov b4a11294e6 Merge pull request #75460 from joao-pedro-braz/add_new_item_stylebox_to_the_tree_control
Add a new "inner_item_margin" Theme constant to the Tree control
2023-07-12 15:08:36 +02:00
Theraot a51116c6c7 Make onready variables created from dropping nodes include custom types 2023-07-12 07:58:26 -05:00
kobewi 6a7567e8f7 Change default Save Script shortcut 2023-07-12 14:25:36 +02:00
Haoyu Qiu a552103531 Make indentation indicators translatable 2023-07-12 09:19:24 +08:00
Raul Santos 13ab2b6f4f
C#: Improve `GD.PushError` and `GD.PushWarning`
- Use the name, file path and line number of the caller that invokes
`GD.PushError` and `GD.PushWarning` instead of the location in the C++
`runtime_interop.cpp` file.
- Improvements to getting the C# stack trace.
  - Use C# type keywords for built-in types in method declarations.
  - Remove extra space before each parameter in method declarations.
  - Skip one more frame to avoid `NativeInterop.NativeFuncs`.
  - Skip methods annotated with the `[StackTraceHidden]` attribute.
- Improvements to `ScriptEditorDebugger` when source is in project.
  - Avoid overriding error metadata when the source is inside the
project file.
  - Use the source function in the title when the source is inside
the project file.

Users that use these methods would expect the reported location printed
by these methods to correspond to a location in their project source files.
Specifically, they'd expect to see the file path and line number at which
they call these methods, and not the location of the C++ code (which is
always the same). Now, these methods are a lot more useful since users
can know which line in their source code printed the error/warning.
2023-07-11 11:19:11 +02:00
Hendrik Brucker 662d8c76b3 Remove GraphNode's comment property and related functionality
(this functionality will be reintroduced in a new and more flexible way)
2023-07-11 02:05:25 +02:00
Rindbee 28db5e7649 Fix history mismatch
Set the properties of the resource's proxy instead of setting the resource's
properties directly. (For action "Set ...")

Update the path of the edited scene when saving the scene. (For action "Add
atlas source")
2023-07-11 05:45:37 +08:00
Aaron Franke 95ccbdea4b
Improve text in popup warning, remove "upgrade or downgrade" text 2023-07-10 11:52:48 -05:00
Yuri Sizov ef155c1aeb
Merge pull request #79078 from KoBeWi/if_you_gaze_into_the_empty_bottom_panel,_the_empty_bottom_panel_gazes_also_into_you
Collapse bottom panel if there is no active tab
2023-07-10 16:30:14 +02:00
kobewi bdb7e62029 Streamline creating tile atlas sources 2023-07-10 15:36:00 +02:00
Rémi Verschelde 349e44091d
Merge pull request #79118 from aaronfranke/friendly-upgrades
Improve user-friendliness of project version mismatch message
2023-07-10 15:33:15 +02:00
Septian 837df886f3 Fix dragged nodes have icon size 2023-07-10 20:18:18 +07:00
Hendrik Brucker 1bea64a295 [Graph editors] Keep port icons crisp at high zoom levels, remove rim artifacts 2023-07-10 15:09:40 +02:00
Rémi Verschelde b8ed596769
Merge pull request #79277 from akien-mga/godot-4-ever
Change explicit 'Godot 4.0' references to 'Godot 4'
2023-07-10 13:18:32 +02:00
Rémi Verschelde 232611b447
Merge pull request #79264 from OverloadedOrama/3-to-4-camera2d-rotating
Fix `Camera2D.rotating` not being converted and reversed properly
2023-07-10 13:18:00 +02:00
Rémi Verschelde 7e36223da0
Merge pull request #79139 from aaronfranke/prop-hint-cl-na-type-str-restr-repl
Fix property hint class name type string restriction and replace mode
2023-07-10 13:17:13 +02:00
Rémi Verschelde 8a06ec979e
Change explicit 'Godot 4.0' references to 'Godot 4'
Fixes #79276.
2023-07-10 13:08:11 +02:00
Emmanouil Papadeas 256b99ca40 Fix `Camera2D.rotating` not being converted and reversed properly
Godot 3's Camera2D `rotating = true` and `rotating = false` are supposed to be converted and reversed to `ignore_rotation = false` and `ignore_rotation = true` respectively, but this wasn't the case before this PR, as the project converted was failing to properly read the `true` and `false` strings, thus resulting in `ignore_rotation = true` in all cases.
2023-07-10 12:52:48 +03:00
bruvzg 5216a08617
[RTL] Add `pop_all`, `push_context` and `pop_context` methods, and use it for `print_rich` to avoid unclosed tags. 2023-07-09 19:53:15 +03:00
Raul Santos a164e3e7b3
Add a note about C# differences in classref doc 2023-07-09 01:44:48 +02:00
Rémi Verschelde 157973ad5e
Merge pull request #79173 from RedworkDE/net-commandline-exporting
C#: Fix command line exporting
2023-07-08 18:23:06 +02:00
Rémi Verschelde bdcbfd71a8
Merge pull request #79158 from jpcerrone/shaderinclude_fixes
Fix comments and indentation in .gdshaderinc files
2023-07-08 18:22:42 +02:00
Rémi Verschelde 19c6294a66
Merge pull request #78795 from akien-mga/project-converter-keep-rendering-driver
Project converter: Use same rendering driver as Project Manager
2023-07-08 18:18:10 +02:00
Rémi Verschelde e3dee8cea9
Merge pull request #78694 from Yadnesh-Kulkarni/bugfix-grid-view-disappear-#78588
Fix 3D viewport grid disappearing on scene tab changes
2023-07-08 18:16:55 +02:00
Rémi Verschelde 02a4d099fd
Merge pull request #78631 from Calinou/shader-editor-creation-dialog-use-bullet-points
Use bullet points in shader editor creation dialog
2023-07-08 18:16:31 +02:00
Rémi Verschelde a12d9df9e1
Merge pull request #71024 from marzecdawid/better-cursor-behaviour-in-tree-with-ctrl
Fix cursor behavior for multiselect in Tree while holding CTRL
2023-07-08 18:14:48 +02:00
Danil Alexeev c1b450566a
GDScript: Add `@deprecated` and `@experimental` doc comment tags 2023-07-08 18:13:19 +03:00
Ryan Roden-Corrent 90bddd21c8
Wrap mouse for blender-style transforms.
When performing a blender-style translate or scale (but not rotate),
wrap the mouse inside the bounds of the viewport. This allows moving the
mouse indefinitely for large translate or scale operations, and is
consistent with how blender works.

This enables global input processing during blender-style transforms, so
we can capture and wrap mouse events outside the bounds of the viewport.

Other wrapping operations use _sinput, which I assume is possible
because a mouse button is held, so the control receives input even when
the mouse exits the control.

This does not implement wrapping for regular (gizmo-driven) transforms,
though this could be done if desired.

Fixes godotengine/godot-proposals#4255.
2023-07-08 07:53:47 -04:00
MewPurPur d8d53e3370 Deselect curve point with RMB on the empty space 2023-07-08 00:31:17 +03:00
RedworkDE f3f3365abd C#: Fix command line exporting 2023-07-07 20:51:46 +02:00
kleonc 3f6e35bdb2 Fix drag-dropping nodes to parent with internal nodes 2023-07-07 19:24:44 +02:00
MewPurPur fe194f8db0 Optimize SVG icons and remove unused Transpose icon 2023-07-07 17:58:15 +03:00
jpcerrone 71b8a9d274 Fix comments and indentation in .gdshaderinc files
Fixes #78205
The handling of comments and indentation in the shader editor
wasn't considering shader include files.
2023-07-07 11:18:30 -03:00
Rémi Verschelde 5205ff69ca
Merge pull request #79090 from mb4c/wrap-tooltip
Add tooltip description wrapping in scene tree and plugin settings
2023-07-07 16:04:41 +02:00
Rémi Verschelde a2604ff712
Merge pull request #78925 from theraot/fix_rename_unique
Do not change a node unique name to the same name
2023-07-07 16:04:17 +02:00
Rémi Verschelde 2935a2b1de
Merge pull request #78775 from aaronfranke/proj-tag-sort
Sort project tags before saving
2023-07-07 16:03:53 +02:00
Rémi Verschelde 2c0a0a0eab
Merge pull request #78524 from MewPurPur/4920726f6c6c65642061203621
Fix tooltip of enum value without description
2023-07-07 16:03:28 +02:00
Rémi Verschelde 81c6694014
Merge pull request #78522 from MewPurPur/improve-tileset-labels
Improve string drawing in the tiledata editor
2023-07-07 16:03:02 +02:00
Rémi Verschelde 6ed632be27
Merge pull request #54071 from KoBeWi/infinite_unlimited_connections
Focus current node after connecting
2023-07-07 16:01:17 +02:00
mb4c d007be2d14 Add tooltip description wrapping in scene tree and plugin settings 2023-07-07 11:16:34 +02:00
Rémi Verschelde 443820686c
Merge pull request #79112 from bitsawer/fix_preprocessor_keyword_colors
Make shader preprocessor keyword colors consistent
2023-07-07 08:36:13 +02:00
Rémi Verschelde 69dbbcc313
Merge pull request #79092 from akien-mga/doctool-remove-version-attribute
Doctool: Remove version attribute from XML header
2023-07-07 08:34:55 +02:00
Rémi Verschelde 8e5a01fcf4
Merge pull request #79025 from RedworkDE/scripted-export-plugin
Fix export options of scripted `EditorExportPlugin`s
2023-07-07 08:33:21 +02:00
Rémi Verschelde b3c2b52025
Merge pull request #78953 from anvilfolk/enum-desc
Fix regression with GDScript enum descriptions now showing up in documentation.
2023-07-07 08:31:44 +02:00
Rémi Verschelde 3049f33495
Merge pull request #78938 from timothyqiu/no-match
Translate "No match" message in FindReplaceBar
2023-07-07 08:31:20 +02:00
Rémi Verschelde e940778f0a
Merge pull request #78920 from Rindbee/fix-invalid-shortcut-keys-in-TileSetAtlasSourceEditor
Make sure the shortcut key respects the context in `TileSetAtlasSourceEditor`
2023-07-07 08:30:31 +02:00
Rémi Verschelde 64d451daac
Merge pull request #78914 from KoBeWi/lazy_drop
Fix dropping files from res:// to res://
2023-07-07 08:30:06 +02:00
Aaron Franke 58a65591f5
Fix property hint class name type string restriction and replace mode 2023-07-06 23:07:32 -05:00
Aaron Franke 3b8a81d361
Improve user-friendliness of project version mismatch message 2023-07-06 19:27:48 -05:00
Alfonso J. Ramos b2bef8c47b Do not change a node unique name to the same name 2023-07-06 16:27:34 -05:00
bitsawer a5d6152949 Make shader preprocessor keyword colors consistent 2023-07-06 17:56:26 +03:00
Rémi Verschelde 81064cc239
Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
kobewi 59ae7e2445 Collapse bottom panel if there is no active tab 2023-07-05 23:07:12 +02:00
stmSi 7eb517c27f Fix: ESC (ui_cancel) not closing FindReplaceBar 2023-07-06 03:35:01 +06:30
Rémi Verschelde d28f9afdc6
i18n: Sync translations with Weblate 2023-07-05 16:04:29 +02:00
Yuri Sizov c16afc1c2d
Merge pull request #79050 from capnm/fix_teststr_what
Fix import hints that are followed by dot.number
2023-07-05 15:59:44 +02:00
Martin Capitanio 470083caed Fix import hints that are followed by dot.number.
Fixes #78881.
2023-07-05 14:49:53 +02:00
Pedro J. Estébanez cac4d44cde Re-enable docs cache with fixes 2023-07-05 10:44:58 +02:00
RedworkDE fa84d09542 Fix export options of scripted EditorExportPlugins 2023-07-04 15:39:23 +02:00
Tetane 1cd0a34e47 Fix Create shader Node window position on second monitor 2023-07-03 20:17:56 +02:00
kobewi 9379177286 Fix node selection not handled correctly at launch 2023-07-03 14:43:15 +02:00
kobewi 244968c8d1 Allow change import type without restarting editor 2023-07-03 13:24:24 +02:00
ocean (they/them) d48636c3bf Fix regression with enum descriptions now showing up in documentation. 2023-07-02 11:29:52 -04:00
Brecht Kuppens 86117f8cba Added option to center image when loading particle emission mask 2023-07-02 12:22:38 +02:00
Haoyu Qiu ac454ce2a7 Translate "No match" message in FindReplaceBar 2023-07-02 16:49:22 +08:00
Rindbee fec731bf33 Make sure the shortcut key respects the context in `TileSetAtlasSourceEditor` 2023-07-02 06:40:14 +08:00
kobewi 1d970cd6ca Fix dropping files from res:// to res:// 2023-07-01 19:21:35 +02:00
Rémi Verschelde 16dd4e5725
i18n: Sync translations with Weblate 2023-06-29 13:33:56 +02:00
Rémi Verschelde b3d1aeea07
Fix missing GDExtension in-editor API reference
This commit partially reverts a change in e1ce0340b7
which would prevent from generating API reference for GDExtension APIs.

Fixes #78829.
2023-06-29 12:48:10 +02:00
Rémi Verschelde 53c78b2cac
Project converter: Use same rendering driver as Project Manager
Which means by default OpenGL 3, but it can still be overridden from the command line.
Fixes #76303.
2023-06-28 15:07:37 +02:00
MineBill c34d5627fb Set the VoxelGIData path before saving, otherwise the ResourceSave will revert it to an empty String 2023-06-28 10:28:36 +03:00
Aaron Franke d667402461
Sort project tags before saving 2023-06-27 18:22:33 -05:00
kobewi af01aed643 Fix missing translations in EventListenerLineEdit 2023-06-27 23:08:41 +02:00
Rémi Verschelde 9d089fe6e5
i18n: Sync translations with Weblate 2023-06-26 19:40:50 +02:00
kobewi 08ef3044ee Fix missing translation in SceneCreateDialog 2023-06-26 19:19:36 +02:00
Yadnesh Kulkarni a8dde286ce Fixed grid disappearance 2023-06-26 09:27:25 -04:00
Rémi Verschelde d08ba5f3dc
Merge pull request #78670 from KoBeWi/cache_with_full_power
Improve script icon cache
2023-06-26 14:56:47 +02:00
kobewi 0458ac4b81 Improve script icon cache 2023-06-26 14:03:21 +02:00
Ninni Pipping 39353462ac Fix indentation in script templates 2023-06-26 12:18:02 +02:00
Danil Alexeev da4590b3f1
Unexpose `DocCache` class 2023-06-24 22:24:54 +03:00
MewPurPur 0786876077 Tweak documentation to use bold font when a class is referencing itself 2023-06-24 18:09:31 +02:00
Rémi Verschelde 1ee2697682
Revert "Fix paste value not updated in dictionaries/arrays" 2023-06-24 10:59:35 +02:00
Hugo Locurcio bce2985615
Use bullet points in shader editor creation dialog
This is consistent with the script creation dialog.
2023-06-24 02:12:13 +02:00
Hugo Locurcio 08118b1456
Only display 15 nodes in the Recent section of the Create New Node dialog
This prevents the history size from becoming too large, which made it less
useful.

This also fixes an off-by-one error in the completion scoring algorithm.
2023-06-23 23:51:51 +02:00
Yuri Sizov f44b2d7898
Merge pull request #78611 from YuriSizov/editor-cure-for-early-onset-layout-dementia
Handle contextual editors gracefully when restoring layout
2023-06-23 17:52:35 +02:00
Rémi Verschelde 46b2619223
Merge pull request #78614 from RandomShaper/disable_doc_cache
Disable doc cache temporarily for pre-RC stabilization
2023-06-23 17:23:56 +02:00
Pedro J. Estébanez 7afb9dd275 Disable doc cache temporarily for pre-RC stabilization 2023-06-23 16:40:40 +02:00
Yuri Sizov f623509086 Handle contextual editors gracefully when restoring layout 2023-06-23 15:46:06 +02:00
Yuri Sizov 8cfbc6bda2 Revert "Remember only permanent bottom tabs"
This reverts commit 5dde57e958.
2023-06-23 15:23:36 +02:00
Rémi Verschelde 9ab388c146
Merge pull request #78609 from KoBeWi/—GodotEngine
Unify window title format
2023-06-23 12:36:44 +02:00
kobewi 44bec97d5e Unify window title format 2023-06-23 12:21:56 +02:00
kobewi 9a302e32c8 Speed up closing multiple scripts 2023-06-23 11:19:09 +02:00
kobewi 5dde57e958 Remember only permanent bottom tabs 2023-06-23 10:53:39 +02:00
Felipe Augusto Marques 26eb3db234 Added Image's `load_svg_from_(buffer|string)`
No core dependency to the svg module.
2023-06-23 00:43:43 -03:00
Ninni Pipping 818fe886a3 Bounds fixes in `TextureAtlas` import 2023-06-22 19:20:56 +02:00
Gilles Roudière bca1f91291 Fixes crash in TileSetAtlasSourceEditor 2023-06-22 15:03:53 +02:00
Markus Sauermann 890fdd56df Code simplifications
CPPcheck found most of them.

no need to assign the variable twice:
- AnimationTrackEditTypeAudio
- SSEffects

variable is assigned in all if-else clauses:
- EditorHelp
- AndroidInputHandler
- MenuBar
- ShaderCompiler

same if clause:
- ItemList

clearing an empty bitfield has no effect:
- Viewport
2023-06-21 22:37:26 +02:00
Dawid Marzec 9abbdea95e Fix cursor behaviour in Tree while holding CTRL 2023-06-21 20:44:29 +02:00
MewPurPur c0453a544d Fix enum tooltip with no description 2023-06-21 19:18:08 +02:00
Alula 9676905aee
Add option to swap Alt+scroll zooming behavior in 2D editor
Update doc/classes/EditorSettings.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-06-21 18:56:58 +02:00
MewPurPur 1649dcad0b Improve string printing in the tiledata editor 2023-06-21 17:43:45 +02:00
Yuri Sizov 4fc045e9b5
Merge pull request #76152 from timothyqiu/tile-resize-clamp
Fix tile resizing towards atlas boundary
2023-06-21 11:19:24 +02:00
Rémi Verschelde 5285927f51
Merge pull request #78495 from lyuma/import_tracks_single_clip
Fix Import Tracks import setting for single clip
2023-06-21 10:19:47 +02:00
Rémi Verschelde 78518be194
Merge pull request #75444 from lpriebe/editor-run-arg-split-fix
Prevent quoted args in `editor/main_run_args` from being split at spaces
2023-06-21 10:18:37 +02:00
Rémi Verschelde 9e56f28d0e
Merge pull request #75345 from Rindbee/fix-wrong-description-in-EditorSettings
Fix wrong descriptions in EditorSettings
2023-06-21 10:18:09 +02:00
Yuri Sizov 38ae7b58d1
Merge pull request #78350 from ajreckof/you-know-when-you-want-to-search-this-member-you-don't-know-and-then-you-have-the-script-editor-all-over-the-place-now-it-should-not-happen-anymore-hopefully
Fix placement and style of the "Make Floating" button
2023-06-21 03:03:19 +02:00
Rindbee 19d77ea90d Fix wrong descriptions in EditorSettings
Fix wrong descriptions about `editors/3d/grid_division_level_max`
and `editors/3d/grid_division_level_min`.
2023-06-21 07:16:30 +08:00
ajreckof 13e65da804 Fix wrong placement of the Make Floating Button. 2023-06-21 01:00:37 +02:00
Lyuma 0d0e8b0a8a Fix Import Tracks import setting for single clip 2023-06-20 15:49:38 -07:00
Yuri Sizov ab545ece85
Merge pull request #76398 from spanzeri/insert-key-crash
Fix insert key crash with no animation
2023-06-20 20:39:52 +02:00
Yuri Sizov db08287b18
Merge pull request #78456 from aaronfranke/tex-format-should
Check if the required texture format is imported in the export dialog
2023-06-20 20:38:02 +02:00
quinnyo 68c24f9993 Add code_complete_enabled code editor setting 2023-06-21 02:51:05 +10:00
Aaron Franke 1a70d82606
Check if the required texture format is imported in the export dialog 2023-06-20 10:58:34 -05:00
Samuele Panzeri 4067907074 Fix insert key crash with no animation 2023-06-20 17:39:09 +02:00
kobewi 9c3afcc898 Fix ColorPicker margin theme property 2023-06-20 12:47:52 +02:00
Gilles Roudière 94b1bc0d68 Fix TileMap draw preview when switching CI editor tool 2023-06-20 12:12:01 +02:00
Rémi Verschelde 49dedd6ce4
Merge pull request #74567 from Garym3/3-to-4-converter-brace-aggregate-fix
Fix braces handling when parsing method arguments on project conversion
2023-06-20 09:19:33 +02:00
Garym3 4aecba68e3 Fix braces handling when parsing method arguments on project conversion 2023-06-20 07:20:35 +02:00
Rémi Verschelde 217a20a8a0
Merge pull request #78448 from akien-mga/black-23.3.0
CI: Update static checks to black 23.3.0
2023-06-20 00:05:39 +02:00
Rémi Verschelde e4deaa2727
Merge pull request #76787 from RedworkDE/avoid-localvector-copy
Avoid making unnecessary copies of `LocalVector`
2023-06-20 00:01:55 +02:00
Rémi Verschelde bfec390026
Merge pull request #76672 from kleonc/scene-tree-item-unify-tooltip-creation
Unify setting tooltips for items in `SceneTreeEditor`
2023-06-20 00:01:29 +02:00
Rémi Verschelde c9c941e339
CI: Update static checks to black 23.3.0
And apply it to the codebase, removing empty lines at the start of blocks.
2023-06-19 23:33:02 +02:00
Rémi Verschelde 764193629f
Merge pull request #76179 from Maran23/pause-mode-convert-fix
Fix `pause_mode` may not be converted correctly in .tscn files.
2023-06-19 22:34:43 +02:00
Rémi Verschelde 080d471e98
Merge pull request #75200 from Calinou/debugger-editor-settings-add-property-hints
Add property hints for debugger/profiler editor settings
2023-06-19 21:39:10 +02:00
Haoyu Qiu ac36776729 Fix tile resizing towards atlas boundary 2023-06-20 00:36:37 +08:00
Fabio Alessandrelli 7b170d12cf
Merge pull request #75836 from rsubtil/bugfix-dap_windows_path
Fix DAP path mismatch on Windows
2023-06-19 16:38:19 +02:00
Rémi Verschelde cdc68c2887
Merge pull request #71015 from 44zb/fix-error-messages-copied-without-line-breaks
Add a line break to error messages in the script editor
2023-06-19 16:33:06 +02:00
Artyom Lunchenkov 613c060e0b
Add a line break to error messages in the script editor
Fixes #71002
2023-06-19 15:57:27 +02:00
Rémi Verschelde 58c3f24d96
Merge pull request #78430 from zhhrozhh/scene_tree_draft
Skip using increment if nodes are adding to the end of some other node
2023-06-19 15:40:21 +02:00
hzhang 25746716f3 Fix drag-dropping nodes at the end of children list 2023-06-19 20:42:33 +08:00
Rémi Verschelde cdfaf8a10f
Merge pull request #78418 from brno32/apply-texture-filter-2d-polygon-editor
Apply selected texture filter when editing UV
2023-06-19 13:28:36 +02:00
andybarcia 553f4f8dce
Improve error reporting when parsing CSV translation file
Fixes #46682.

Also fix unit test suite to separate generic FileAccess CSV testing
from using CSV as translation. And add more CSV translation tests.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-06-19 12:47:44 +02:00
Michael Alexsander 41a75cfa4f
Allow exporting release Android builds without a debug keystore 2023-06-19 01:00:13 -03:00
Alex Drozd 0c75d5d70c apply selected texture filter when editing UV 2023-06-18 22:56:26 +02:00
Rémi Verschelde 96166c9aab
Merge pull request #78387 from Wuqiqi123/fix_texture_preview_crash_from_invalid_image
Fix TexturePreview crash when creating an invalid image
2023-06-18 16:33:27 +02:00
Rémi Verschelde 65bc139bf2
Merge pull request #78354 from raulsntos/connect-dialog-dont-filter-derived-classes
Allow base types in method params of connection dialog
2023-06-18 16:32:16 +02:00
Rémi Verschelde e8e00b981e
Merge pull request #76711 from ajreckof/fix-paste-value-not-updating-element-in-dictionaries/array
Fix paste value not updated in dictionaries/arrays
2023-06-18 16:30:16 +02:00
Rémi Verschelde 8d6c33a2b9
Merge pull request #76630 from gelvinp/respect-binary-compress
Respect "compress_binary_resources" editor setting on scene import
2023-06-18 16:29:49 +02:00
Patrick Gelvin 9408ac0d6e Respect "compress_binary_resources" editor setting 2023-06-18 00:55:32 -07:00
Qiqi Wu 9321e9fa86 fix TexturePreview crash from an invalid image 2023-06-18 13:08:06 +08:00
Raul Santos 47ed332499
Allow base types in method params of connection dialog 2023-06-17 03:39:10 +02:00
Gilles Roudière 41890ff9c3 Fix compilation on gcc13 2023-06-16 19:24:04 +02:00
kobewi 7f18db9d9d Fix filesystem cache split error 2023-06-16 13:13:30 +02:00
Rémi Verschelde ada10b57f3
Merge pull request #78318 from Sauermann/fix-spinslider-grabbing
Fix the distance for grabbing a EditorSpinSlider
2023-06-16 10:24:14 +02:00
Rémi Verschelde 908610174d
Merge pull request #77536 from clayjohn/GLES3-render-info
Add RENDERING_INFO parameters to GL Compatibility renderer
2023-06-16 10:19:09 +02:00
Rémi Verschelde d101244d1b
Merge pull request #74641 from dalexeev/fix-bitfield-enum-warnings
Display `BitField[Enum]` in docs to distinguish from `Enum`
2023-06-16 10:18:46 +02:00
Rémi Verschelde a7a1012d98
Merge pull request #74580 from Garym3/3-to-4-converter-fix-ogg-import-file-conversion
Fix bad OGG importer's name inside .import files during project conversion
2023-06-16 10:18:23 +02:00
Markus Sauermann 42402aa7db Fix the distance for grabbing a EditorSpinSlider
Currently moving the mouse for a single pixel is enough to trigger
grabbing, which happens often unintentionally.
2023-06-16 09:39:49 +02:00
clayjohn 36a005fafc
Add RENDERING_INFO parameters to GL Compatibility renderer
This also fixes RENDERING_INFO_TOTAL_PRIMITIVES_IN_FRAME for the RD renderers as it was incorrectly reporting vertex/index count at times

This also adds memory tracking to textures and buffers to catch memory leaks.

This also cleans up some memory leaks that the new system caught.
2023-06-16 09:10:00 +02:00
Michael Aganier f563d24689 Change light themes default contrast from -0.08 to -0.06
-0.08 overblows the highlights, -0.06 looks much better.
2023-06-15 19:20:21 -04:00
Garym3 e5d55e35c2 Fix runtime crash due to missing importer's name conversion inside .import files about OGG vorbis sound files 2023-06-15 22:55:02 +02:00
Danil Alexeev eb391d3302
Display `BitField[Enum]` in docs to distinguish from `Enum` 2023-06-15 17:23:02 +03:00
Rémi Verschelde 95a9089fdd
Merge pull request #74813 from bruvzg/text_edit_autowrap
[TextEdit] Expose all auto-wrap modes.
2023-06-15 16:08:21 +02:00
Rémi Verschelde 6587a81910
Merge pull request #78268 from Sauermann/fix-remove-unused-variable
Remove unused variable `PopupMenu::parent_rect`
2023-06-15 15:26:36 +02:00
Markus Sauermann 840e2b14f3 Remove unused variable `PopupMenu::parent_rect`
This private variable is not read anywhere.
Remove it and all places, where it is set.
2023-06-15 12:08:47 +02:00
Rémi Verschelde 3dca469f8c
Merge pull request #78109 from heppocogne/support-relative-path
Add relative path support for `EditorPlugin::add_autoload_singleton`
2023-06-15 10:50:33 +02:00
Rémi Verschelde 2c22e56e37
Merge pull request #77992 from ajreckof/Prevent-unselectable-nodes-when-switching-filter-and-no-children-match-the-new-filter
Prevent unselectable nodes when switching filter and no children match the new filter.
2023-06-15 10:50:22 +02:00
Rémi Verschelde 2c51ecac5a
Merge pull request #76376 from ajreckof/fix_NodePath_update_from_batch_rename
Properly update nodepath with batch rename
2023-06-15 10:39:48 +02:00
Hugo Locurcio 8352122e70
Document editor import options in the class reference
Tooltips are displayed when hovering import options, both in the Import
dock and in the import defaults editor (which is in the Project Settings).

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-06-15 08:30:48 +02:00
ajreckof 8c6ede10c5 Prevent unselectable nodes when switching filter and no children match the new filter 2023-06-14 23:20:28 +02:00
ajreckof 5c15083d40 properly update nodepath with batch rename 2023-06-14 15:12:46 +02:00
kleonc 77b8e0fcb7 Allow setting negative WorldBoundaryShape2D.distance through the editor 2023-06-14 14:54:00 +02:00
Rémi Verschelde 1930b491d6
Merge pull request #78194 from MewPurPur/video-stream-resource-icon
Add VideoStream icon
2023-06-14 09:26:23 +02:00
Rémi Verschelde adef9fb3d2
Merge pull request #77709 from MewPurPur/improve-center-selection-icon
Make the CenterView icon clearer
2023-06-14 09:24:21 +02:00
Rémi Verschelde 50b3b176cb
Merge pull request #76688 from ajreckof/backward_undo
Add `backward_undo_ops` as option for action
2023-06-14 09:23:56 +02:00
VolTer 5e7d1225e6 Make the Make Center icon clearer 2023-06-14 02:19:01 +02:00
MewPurPur d2b437411e Add VideoStream icon 2023-06-13 19:54:59 +02:00
ajreckof 81aa5ad999 add backward_undo_ops as property for action 2023-06-13 15:32:05 +02:00
Rémi Verschelde abb6744d6c
Merge pull request #77615 from jpcerrone/add_joypad_conversion
Add joypad input map conversion to project converter
2023-06-13 14:41:09 +02:00
Rémi Verschelde 7aa530c4ca
Merge pull request #78171 from MewPurPur/fix-curve-editor-crash
Fix Curve Editor crash with null curve
2023-06-13 13:53:02 +02:00
Rémi Verschelde 52493767fc
Merge pull request #78165 from timothyqiu/invalid-tile
Fix crash when opening a TileSet with invalid tiles
2023-06-13 13:52:58 +02:00
Rémi Verschelde b203651ad7
Merge pull request #77982 from KoBeWi/fix_for_filter_failure
Fix nodes selectable abnormally when using filter
2023-06-13 13:52:54 +02:00
Rémi Verschelde ad85ecef8d
Merge pull request #77750 from RandomShaper/tidy_shader_data_items
Let editor workaround a case of inconsistency in compound scenes
2023-06-13 13:52:51 +02:00
Haoyu Qiu 8b5d5dc2c4 Fix crash when opening a TileSet with invalid tiles 2023-06-13 18:50:08 +08:00
MewPurPur beae9b0bc1 Fix Curve Editor crash with null curve 2023-06-13 11:35:35 +02:00
kobewi 06eef4c64d Fix nodes selectable abnormally when using filter 2023-06-13 11:11:00 +02:00
kobewi 06eff95d64 Fix missing UID handling in Dependency Editor 2023-06-13 11:09:56 +02:00
Pedro J. Estébanez 96c469a138 Let editor workaround a case of inconsistency in compound scenes 2023-06-13 11:05:57 +02:00
bruvzg 75e6ec8874
[TextEdit] Expose all auto-wrap modes. 2023-06-13 10:28:27 +03:00
Yuri Rubinsky 7cd943fc43 Add animation playback preview to scene import settings 2023-06-13 08:42:12 +03:00