Commit Graph

15456 Commits

Author SHA1 Message Date
Rémi Verschelde 4b070e8031
Fix various typos with codespell
Using 2.2.7.dev217+g10c2abcf.

Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Rémi Verschelde 107fd30ae7
Merge pull request #91647 from jsjtxietian/fix-uint-hightlight
Make native shader source visualizer highlight uint suffix
2024-05-07 09:04:55 +02:00
Rémi Verschelde e63252b421
Merge pull request #90705 from AThousandShips/foreach_list
Reduce and prevent unnecessary random-access to `List`
2024-05-07 09:04:44 +02:00
jsjtxietian cff1111359 Make native shader source visualizer can highlight uint suffix 2024-05-07 14:18:48 +08:00
Silc Lizard (Tokage) Renew c7cb65f159 Make silhouette fixer option visibility dependent on availability 2024-05-07 09:55:16 +09:00
Rémi Verschelde 7cdad33311
Merge pull request #91621 from AThousandShips/localvector_has
[Core] Add `LocalVector::has` for convenience
2024-05-06 22:33:45 +02:00
A Thousand Ships 86de59d60a
[Core] Add `LocalVector::has` for convenience 2024-05-06 18:03:37 +02:00
kobewi c344e593d0 Add MultiNodeEdit support to MeshInstance3D editor 2024-05-06 17:40:16 +02:00
Rémi Verschelde d8aa2c65a9
Merge pull request #91598 from Frozenfire92/select-method-search-insensitive
Update `ConnectDialog::_filter_method_list` to be case insensitive for search string
2024-05-06 15:15:43 +02:00
Rémi Verschelde ecfcadbdca
Merge pull request #91522 from AThousandShips/anim_lib_improve
[Editor] Don't open `AnimationLibrary` as a scene
2024-05-06 15:15:12 +02:00
Rémi Verschelde a7c59fe192
Merge pull request #91331 from dsnopek/expose-editor-file-dialog-popup-function
Expose `EditorFileDialog::popup_file_dialog()` to GDScript and GDExtension
2024-05-06 15:15:01 +02:00
Rémi Verschelde 394941c8f8
Merge pull request #91281 from ckaiser/the-lightmode-struggle-continues
Fix disabled files in FileDialog using the wrong color
2024-05-06 15:14:56 +02:00
Rémi Verschelde 1069d7b7c6
Merge pull request #88343 from Riteo/warped-mouse-float
Handle warped mouse motion as floating point
2024-05-06 15:14:46 +02:00
Joel Kuntz 94e5bada97 Update ConnectDialog::_filter_method_list to be case insensitive for search string
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-05-06 09:05:57 -03:00
Ricardo Subtil db61cf8368 Fix warning icon visibility on light themes 2024-05-05 15:23:35 +01:00
A Thousand Ships 955d5affa8
Reduce and prevent unnecessary random-access to `List`
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)

* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
Rémi Verschelde e071f67c78
Merge pull request #91515 from AThousandShips/shortcut_fix
[Editor] Prevent some shortcut errors when generating docs
2024-05-04 11:52:35 +02:00
Rémi Verschelde 8efe58476d
Merge pull request #89461 from Calinou/3d-import-collision-default-trimesh
Default to trimesh for generated collision shapes in Advanced Import Settings
2024-05-04 11:52:11 +02:00
kit 55afb5b680 Fix EditorInspector crash when exiting 2024-05-03 16:27:59 -04:00
A Thousand Ships 62c9a99ee3
[Editor] Don't open `AnimationLibrary` as a scene 2024-05-03 18:27:27 +02:00
A Thousand Ships fd8a31b53d
[Editor] Prevent some shortcut errors when generating docs 2024-05-03 17:43:54 +02:00
jsjtxietian b851514b10 Fix uint's suffix is not highlighted in text shader editor 2024-05-03 21:45:53 +08:00
Rémi Verschelde 03e6fbb010
Merge pull request #85474 from fire/packedvector4array
Add `PackedVector4Array` Variant type
2024-05-03 12:25:26 +02:00
ajreckof cba9606611 Add colored margin in Inspector for arrays and dictionaries.
Apply suggestions from code review

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-05-03 10:56:23 +02:00
Rémi Verschelde c968374caa
Merge pull request #91012 from TheSofox/editor-log-line-limit
Add line limit to Output Log in Editor
2024-05-03 10:31:42 +02:00
K. S. Ernest (iFire) Lee f9b488508c
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
aaronp64 831a085f67 Fix FileSystemDock thumbnails sometimes not displaying
There were (at least) three cases where thumbnails would not display, if they were generated while the FileSystemDock was not visible:
	- current_path == "Favorites", due to p_path not starting with "Favorites"
	- current_path == "res://", due to current_path having last "/" trimmed for comparison
	- current_path pointing to a selected file instead of folder, since it no longer matches p_path's base directory

This change removes the current_path and is_visible_in_tree checks when determining whether to update the file's icon.

Fixes #90801
Fixes #91432
2024-05-02 13:05:53 -04:00
Rémi Verschelde d680b9b9da
DAP: Fix typo in parsing of PackedVector3Array 2024-05-02 18:11:38 +02:00
Rémi Verschelde a531452eec
Merge pull request #91384 from kitbdev/fix-spin-slider-margin
Fix editor spin slider RTL and margin
2024-05-02 17:31:36 +02:00
kobewi 6e9dc0ee27 Change update checker version source 2024-05-02 15:32:24 +02:00
kit 5fd23730eb Fix editor spin slider RTL and margin 2024-05-02 08:34:46 -04:00
Sofox b823724e00 Add line limit to Editor Output Log 2024-05-02 13:28:59 +01:00
Rémi Verschelde 9cb3a16a8e
Merge pull request #91014 from DeeJayLSP/qoa-wav-playback
Add QOA (Quite OK Audio) as a WAV compression mode
2024-05-02 12:46:32 +02:00
Rémi Verschelde 928441052b
Merge pull request #90608 from raulsntos/editor/enable-plugin-after-adding
Enable `EditorPlugin` added by modules and GDExtensions
2024-05-02 12:46:29 +02:00
Rémi Verschelde 0b6c29f2d2
Merge pull request #89114 from AThousandShips/vec_elem_scalar
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-02 12:46:22 +02:00
Rémi Verschelde a21824b293
Merge pull request #85295 from jsjtxietian/use-mutex-protect-max_index-in-ImportThreadData
Use `SafeNumeric` to protect `max_index` in ImportThreadData
2024-05-02 12:46:19 +02:00
A Thousand Ships 308dbb8c63
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
DeeJayLSP b9cbf2c96f Add QOA (Quite OK Audio) as a WAV compression mode 2024-05-01 19:05:14 -03:00
Rémi Verschelde b297e97abf
Merge pull request #91396 from Daylily-Zeleen/daylily-zeleen/fix_disable_main_screen_plugin_crash
Fix crash when switching main screen from a disabled plugin main screen if code editor is floating.
2024-05-01 20:32:25 +02:00
Rémi Verschelde 26738ea20d
Merge pull request #91379 from KoBeWi/annihilate_them_duplications
Remove code duplication for adding global script class
2024-05-01 09:55:30 +02:00
Rémi Verschelde de00cfbc01
Merge pull request #90892 from Chaosus/vs_fix_expression_port_expand
Prevent expanding output port in visual shader expression
2024-05-01 09:54:57 +02:00
Daylily-Zeleen 5c133f5432 Fix crash when switching main screen from a disabled plugin main screen if code editor is floating. 2024-05-01 15:05:56 +08:00
kobewi 0904378515 Remove code duplication for adding global script class 2024-05-01 00:26:42 +02:00
Rémi Verschelde 0af75593dd
Merge pull request #91236 from ckaiser/audio_bus_contrast
Improve Audio Bus button pressed state visibility
2024-04-30 17:03:30 +02:00
Rémi Verschelde bf00e1efde
Merge pull request #91168 from kitbdev/docks-dont-edit-current-v2
Don't edit current when changing docks v2
2024-04-30 17:03:25 +02:00
Rémi Verschelde e19b808a7a
Merge pull request #86978 from kitbdev/multicaret-overhaul
Overhaul multicaret editing and selection in TextEdit
2024-04-30 17:03:04 +02:00
Rémi Verschelde d9bf750cbf
Merge pull request #84443 from KoBeWi/cookies_for_EditorResourcePicker
Cache allowed types in EditorResourcePicker
2024-04-30 17:02:58 +02:00
Haoyu Qiu 1e20612940 Allow setting editor dock tabs to icon only 2024-04-30 09:34:14 +08:00
Hugo Locurcio 760d7cb231
Increase threshold for files per directory in editor Find in Files
This allows up to 100,000 files per folder to be searched
with Find in Files, as opposed to just 1,000.
2024-04-30 01:05:51 +02:00
Christian Kaiser 0c8ff887b5 Improve Audio Bus button pressed state visibility 2024-04-29 18:47:01 -03:00
David Snopek 8ce54d4632 Expose `EditorFileDialog::popup_file_dialog()` to GDScript and GDExtension 2024-04-29 14:49:32 -05:00
Rémi Verschelde 78f03f8e12
Merge pull request #91252 from timothyqiu/control-category
Only add warning label for Layout group in Control category
2024-04-29 10:10:35 +02:00
Rémi Verschelde 947f5a8741
Merge pull request #91247 from AThousandShips/callable_fix
Fix unsafe uses of `Callable.is_null()`
2024-04-29 10:10:32 +02:00
Rémi Verschelde 4b2245ffe1
Merge pull request #91238 from timothyqiu/interpolation-tooltip
Add text to icon-only interpolation OptionButton in blend space editor
2024-04-29 10:10:26 +02:00
Rémi Verschelde 6f14e19aa1
Merge pull request #91237 from TokageItLab/reset-intrp
Make adding track process to set interpolation type on creating RESET
2024-04-29 10:10:22 +02:00
Rémi Verschelde dee1231ce6
Merge pull request #91220 from Repiteo/scons/colorize-warn-error
SCons: Colorize warnings/errors during generation
2024-04-29 10:10:16 +02:00
Rémi Verschelde 4f1d4ace09
Merge pull request #91214 from DeeJayLSP/patch-1
ResourceImporterWAV: Remove unnecessary var declaration
2024-04-29 10:10:09 +02:00
Rémi Verschelde 7cd6ea0f7e
Merge pull request #91183 from KoBeWi/small_stuff
Misc code cleanup
2024-04-29 10:09:57 +02:00
Rémi Verschelde 13fbd42c37
Merge pull request #90975 from aaronfranke/plugin-org
Organize existing code for editor plugins
2024-04-29 10:09:45 +02:00
Rémi Verschelde 9286ac7aa5
Merge pull request #90161 from magian1127/4.0sTip
Implement tooltips for shader uniform in the inspector.
2024-04-29 10:09:35 +02:00
Rémi Verschelde c205f02165
Merge pull request #90050 from TokageItLab/add-tips-detection
Add tips detection to auto mapping in bone mapper
2024-04-29 10:09:32 +02:00
Thaddeus Crews e0e8ce1fc0
SCons: Colorize warnings/errors during generation 2024-04-28 16:24:48 -05:00
Christian Kaiser 10e6be9df6 Fix disabled files in FileDialog using the wrong color 2024-04-28 13:09:28 -03:00
Aaron Franke 1bcbbe96c4
Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
Silc Lizard (Tokage) Renew 9c3a1c00c4 Add tips detection to bone mapper
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-04-28 02:24:41 +09:00
A Thousand Ships 31e7ee63f2
Fix unsafe uses of `Callable.is_null()`
`Callable.is_null()` is not equivalent to `!Callable.is_valid()` and
doesn't guarantee the call is valid.
2024-04-27 16:22:57 +02:00
Haoyu Qiu bd716a693a Only add warning label for Layout group in Control category 2024-04-27 21:56:24 +08:00
Haoyu Qiu 8b2f95ffc1 Add text to icon-only interpolation OptionButton 2024-04-27 11:01:41 +08:00
Silc Lizard (Tokage) Renew fc21161525 Make adding track process to set interpolation type on creating RESET 2024-04-27 11:39:30 +09:00
Hugo Locurcio cb05b49c09
Simplify the GPUParticles3D editor gizmo to improve readability
- Remove handles as users should use the Generate Visibility AABB
  option whenever possible, so manual resizing isn't needed often.
  (For particles that move quickly and have Local Coords disabled,
  Extra Cull Margin can be increased in the GeometryInstance3D
  properties in the inspector.)
- Remove translucent filled part of the gizmo to be more consistent
  with GeometryInstance3D's recently introduced Custom AABB gizmo.
- Remove center marker as it can visually obstruct particles.

This paves the way for future emission shape gizmos which will
feature handles.
2024-04-26 22:29:26 +02:00
kit 773a473807 Overhaul multiple caret editing in TextEdit.
Use a multicaret edit to delay merging overlapping carets until the end.
2024-04-26 14:26:10 -04:00
kit 154f727c7a Overhaul TextEdit selection.
The caret is now a part of the selection.
2024-04-26 14:24:10 -04:00
Douglas Leão 9c5bff1e87
ResourceImporterWAV: remove unnecessary var declaration 2024-04-26 12:39:18 -03:00
kobewi e62ca29da9 Add a way to invalidate preview cache 2024-04-26 16:57:45 +02:00
kobewi 914528180f Misc code cleanup 2024-04-26 15:30:21 +02:00
Rémi Verschelde 2338d9b3bc
Merge pull request #89747 from KoBeWi/icoNOT
Remove stray item icon from tabs menu
2024-04-26 15:13:31 +02:00
Rémi Verschelde e7fa697808
Merge pull request #86668 from KoBeWi/most_shader_path
Automatically add path to built-in shaders
2024-04-26 15:13:26 +02:00
Rémi Verschelde 0fe0f1e992
Merge pull request #86605 from KoBeWi/update_all_of_the_tree_not
Don't update tree on deselect
2024-04-26 15:13:21 +02:00
Rémi Verschelde bd598d5657
Merge pull request #85678 from KoBeWi/editor_walktime
Add separate feature tags for editor runtime
2024-04-26 15:13:16 +02:00
Rémi Verschelde 8063ea9e32
Merge pull request #84446 from KoBeWi/EditorYOLOPicker
Don't check resource type assigned in property
2024-04-26 15:13:06 +02:00
Rémi Verschelde caca54af2c
Merge pull request #79918 from KoBeWi/what_is_this_thing
Add tooltips for tile source types
2024-04-26 15:13:01 +02:00
Rémi Verschelde 593e30841d
Merge pull request #79723 from KoBeWi/tfw_you_single-linedly_implement_a_proposal😎
Use existing `plugin.cfg`
2024-04-26 15:12:58 +02:00
Rémi Verschelde 69a94c5e27
Merge pull request #77069 from KoBeWi/turning_tooltips_into_music_player_BECAUSE_WHY_NOT
Add tooltip plugin for AudioStream
2024-04-26 15:12:54 +02:00
Rémi Verschelde c1907f2d30
Merge pull request #75048 from KoBeWi/it's_ok_to_be_loaded
Allow loading custom ProjectSettings instance
2024-04-26 15:12:51 +02:00
Rémi Verschelde 7cb52a676f
Merge pull request #63515 from KoBeWi/script_jumper
Store line change in script navigation history
2024-04-26 15:12:47 +02:00
Rémi Verschelde 610a9bed13
Merge pull request #58375 from KoBeWi/temporary_pivot_is_temporary
Add temporary pivot for rotating multiple 2D nodes
2024-04-26 15:12:41 +02:00
kobewi 3ebb5b84a0 Add separate feature tags for editor runtime 2024-04-26 14:44:38 +02:00
kobewi 2cac59fbfa Add tooltips for tile source types 2024-04-26 14:38:45 +02:00
kobewi 7b3da2348b Use existing plugin.cfg 2024-04-26 14:38:13 +02:00
Magian e3a7c751f2 Implement tooltips for shader uniform in the inspector.
using regular expressions
2024-04-26 17:48:11 +08:00
kobewi 4324d01c8e Allow loading custom ProjectSettings instance 2024-04-26 11:34:37 +02:00
Rémi Verschelde 0510191e49
Merge pull request #91164 from Calinou/shader-globals-editor-allow-compressed-texture-array-types
Allow compressed texture array and cubemap types in shader globals editor
2024-04-26 11:08:50 +02:00
Rémi Verschelde ce539e559b
Merge pull request #91158 from Arnklit/show-in-filesystem-favorites
Add show in filesystem option for file favorites
2024-04-26 11:08:47 +02:00
Rémi Verschelde d015a74a7b
Merge pull request #91126 from dsnopek/fix-gdextension-docs-on-reload
Fix GDExtension documentation disappearing after hot-reload
2024-04-26 11:08:41 +02:00
Rémi Verschelde 285c917c4a
Merge pull request #84711 from mihe/double-export-feature
Add `single`/`double` as export features automatically
2024-04-26 11:08:15 +02:00
kobewi f8cd3bbc36 Add temporary pivot for rotating multiple 2D nodes 2024-04-26 11:03:47 +02:00
Kasper Frandsen ca2005f658 Add show in filesystem option for file favorites 2024-04-26 09:02:53 +01:00
kobewi 3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +02:00
kit eefd311456 Don't edit current when changing docks v2 2024-04-25 15:01:20 -04:00
Hugo Locurcio 73e4e7ef9c
Allow compressed texture array and cubemap types in shader globals editor 2024-04-25 17:36:31 +02:00