Commit graph

74070 commits

Author SHA1 Message Date
Thaddeus Crews
182be69a1e
Merge pull request #106151 from SaNeOr/fix-106123
Fix editor crash when middle mouse button is clicked on empty space in scene tabs
2025-05-08 07:19:32 -05:00
Thaddeus Crews
288822e330
Merge pull request #105570 from kroketio/texture-extension-mipmaps
RenderingDevice: Pass mipmap count to `texture_create_from_extension()`
2025-05-08 07:19:16 -05:00
SaNeOr
0785c9ad81 fix Editor Crashes When Middle Mouse Button Is Clicked on Empty Space in scene_tabs 2025-05-08 12:04:53 +08:00
Thaddeus Crews
0793c626d2
Merge pull request #106111 from Calinou/animationmixer-libraries-use-typed-dictionary
Use a type-hinted dictionary for AnimationLibrary's `libraries` property
2025-05-07 12:48:33 -05:00
Thaddeus Crews
e9ddf57791
Merge pull request #105593 from smix8/navregion_3d_gizmo_plugin
Move `NavigationRegion3DGizmoPlugin` to `navigation_3d` module.
2025-05-07 12:48:32 -05:00
Thaddeus Crews
090d244b16
Merge pull request #101356 from Ivorforce/inline-utf-creation-functions
Inline `String::utf8` and `String::utf16` for their simplicity.
2025-05-07 12:48:32 -05:00
Thaddeus Crews
5c0d33afd7
Merge pull request #96233 from aaronp64/textserver_inline
Remove `_FORCE_INLINE_` from `TextServer*::_ensure*` methods
2025-05-07 12:48:31 -05:00
Thaddeus Crews
075b55068e
Merge pull request #100067 from aaronp64/randi_range_overflow
Fix `RandomPCG::random(int, int)` overflow bug
2025-05-07 12:48:30 -05:00
Thaddeus Crews
051712dfb8
Merge pull request #103264 from mhilbrunner/docs-path-join
Rename "file" param for str.path_join() to "path"
2025-05-07 12:48:29 -05:00
Thaddeus Crews
c714743bb1
Merge pull request #105944 from syntaxerror247/main-menu
Add editor setting to collapse main menu into a `MenuButton`
2025-05-07 12:48:29 -05:00
Thaddeus Crews
0ce3d75c20
Merge pull request #93783 from aaronp64/json_stringify_performance
Improve `JSON::stringify` performance
2025-05-07 12:48:28 -05:00
Thaddeus Crews
5a71e5aeb1
Merge pull request #105806 from Grublady/scene_dock_open_doc
Walk up inheritance hierarchy when finding which script's docs to open
2025-05-07 12:48:27 -05:00
Thaddeus Crews
aa1ca2b244
Merge pull request #93517 from Repiteo/core/nodiscard-strings
Core: Add `[[nodiscard]]` to string-like classes/structs
2025-05-07 12:48:27 -05:00
Thaddeus Crews
388a649e24
Merge pull request #106149 from BlueCube3310/gles-ambient-capture
Compatibility: Disable environment ambient light when affected by light probes
2025-05-07 12:48:26 -05:00
Thaddeus Crews
872ca1b3c9
Merge pull request #106139 from akien-mga/crash-handler-backtrace-print
Improve script backtrace print in crash handlers
2025-05-07 12:48:25 -05:00
Thaddeus Crews
6d3f91896d
Merge pull request #104729 from Meorge/bugfix/warning-grammar-fixes
Fix a few GDScript warning messages for grammar and consistency
2025-05-07 12:48:25 -05:00
Thaddeus Crews
3b12bd0d79
Merge pull request #106137 from RedMser/remove-unused-linespacing-setting
Remove redundant `line_spacing` editor setting
2025-05-07 12:48:24 -05:00
Thaddeus Crews
658ee70f1c
Merge pull request #96664 from aaronp64/array_cow_perf
`Array` performance improvements to reduce copying/copy_on_write calls
2025-05-07 12:48:23 -05:00
Thaddeus Crews
02206f45b7
Merge pull request #106134 from stuartcarnie/macos_embedded_followup
macOS: Additional improvements and fixes for embedded window support
2025-05-07 12:48:23 -05:00
Thaddeus Crews
98e39c6440
Merge pull request #105105 from smix8/springclean
Clean and group NavigationServer headers
2025-05-07 12:48:22 -05:00
Thaddeus Crews
affbfa5b4e
Merge pull request #89746 from KoBeWi/NOTification
Remove `NOTIFICATION_ENTER_TREE` when `NOTIFICATION_THEME_CHANGED` is used
2025-05-07 12:48:21 -05:00
Thaddeus Crews
eb39839a42
Merge pull request #106129 from kitbdev/fix-solo-tests
Fix tests that fail when alone
2025-05-07 12:48:21 -05:00
Thaddeus Crews
fc8f2a17d6
Merge pull request #106126 from mieko/fix-depreacted
register_editor_types: Fix `DISABLE_DEPREACTED` typo
2025-05-07 12:48:20 -05:00
Thaddeus Crews
42b50abf15
Merge pull request #106113 from lodetrick/add-dictionary-type-hints
Add missing dictionary and array type hints
2025-05-07 12:48:04 -05:00
BlueCube3310
909f9ca9d4 Compatibility: Disable environment ambient light when affected by light probes 2025-05-07 18:08:54 +02:00
RedMser
4acdc7a657 Remove redundant line_spacing editor setting 2025-05-07 16:53:05 +02:00
Sander
6ae50cad17 RenderingDevice: introduce parameter 'mipmaps' for texture_create_from_extension() 2025-05-07 15:15:55 +03:00
Rémi Verschelde
a6398d71a3
Improve script backtrace print in crash handlers
Also fix the editor crash handler message for bug reports not properly
using the `.editor` override.
2025-05-07 09:52:50 +02:00
Mike Owens
88a425fd26 register_editor_types: Fix DISABLE_DEPREACTED typo
Issue #106093 contained a typo, not properly guarding
`SkeletonIK3DEditorPlugin`
2025-05-06 23:35:56 -04:00
Malcolm Anderson
d8db03e31a Fix a few GDScript warning messages for grammar and consistency
Regenerate test results

Improve warning message for `INT_AS_ENUM_WITHOUT_CAST`

Improve `REDUNDANT_AWAIT` message and regenerate tests

Allow warning message for UNASSIGNED_VARIABLE_OP_ASSIGN to display specific operator

Remove "being" from some messages to make them consistent and clearer

Update expected test results

Use Variant::get_operator_name for determining string representation of operator instead of big switch-case

Update tests

Update modules/gdscript/gdscript_warning.cpp

Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>

Update tests... again
2025-05-06 20:28:01 -07: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
aaronp64
f13b4b760a Improve JSON::stringify performance
- Changed stringify to call static function _stringify directly, instead of creating JSON object
- Changed colon and end_statement from String to const char * to avoid extra allocations in each _stringify call
- Pass result String reference to each _stringify call to append to instead of allocating new String in each call

These changes make JSON::stringify around 2-3x faster in most cases
2025-05-06 18:27:32 -04:00
aaronp64
1089f61868 Fix RandomPCG::random(int, int) overflow bug
- Use int64_t for subtraction before converting to uint32_t
- Don't add one to uint32_t max value for rand() bounds
2025-05-06 17:54:12 -04:00
aaronp64
91931606f7 Remove _FORCE_INLINE_ from TextServer*::_ensure* methods
Reduces binary size by ~1.5 MB when compiling with TextServerAdvanced, and ~800 KB for TextServerFallback
2025-05-06 17:49:38 -04:00
Stuart Carnie
9290adee38 MacOS: Additional improvements and fixes for embedded window support 2025-05-07 06:11:05 +10:00
Logan Detrick
247520b348 Add missing dictionary and array type hints 2025-05-06 12:35:19 -07:00
smix8
63bd35e7cf Move NavigationRegion3DGizmoPlugin to navigation_3d module
Moves NavigationRegion3DGizmoPlugin to navigation_3d module.
2025-05-06 20:49:42 +02:00
kit
6d56d2d05e Fix tests that fail when alone 2025-05-06 13:48:16 -04:00
Thaddeus Crews
579feb387c
Core: Add [[nodiscard]] to string-like classes 2025-05-06 12:23:41 -05:00
aaronp64
d176ba045f Array performance improvements to reduce copying/copy_on_write calls
- Avoid temporary copy of p_array in Array::append_array when types match
- Call ptrw() once before looping in methods that return new Arrays, to avoid copy_on_write call for each item (recursive_duplicate, slice, filter, map)
2025-05-06 13:19:50 -04:00
Rémi Verschelde
6a6a1168a5
Merge pull request #106128 from akien-mga/macos-vulkansdk-install-add-new-format
macOS: Fix support for latest VulkanSDK .app name in install script
2025-05-06 19:01:58 +02:00
Rémi Verschelde
efde4ae853
macOS: Fix support for latest VulkanSDK .app name in install script 2025-05-06 18:40:40 +02:00
Lukas Tenbrink
26a6d4062d Inline String::utf8 and String::utf16 for their simplicity. 2025-05-06 17:20:03 +02:00
smix8
0437836472 Clean and group NavigationServer headers
Cleans NavigationServer headers from (unhelpful) comments and groups functions.
2025-05-06 15:47:00 +02:00
Thaddeus Crews
a895a8682f
Merge pull request #102783 from stuartcarnie/fix_gles3_lightmapper
GLES3: Fix errors baking light map with compatibility renderer
2025-05-06 08:38:09 -05:00
Thaddeus Crews
f6aeaaa093
Merge pull request #106109 from Asaduji/fti_fix_xr_nodes
Physics Interpolation - Fix XR Nodes to work with `SceneTreeFTI`
2025-05-06 08:38:09 -05:00
Thaddeus Crews
2c64f843c0
Merge pull request #106108 from aaronfranke/save-scene-set-current-dir
Set current directory when using "Save Branch as Scene..."
2025-05-06 08:38:08 -05:00
Thaddeus Crews
75253b0815
Merge pull request #105592 from smix8/navregion_3d_plugin
Rename `NavigationMeshEditor` to `NavigationRegion3DEditor`
2025-05-06 08:38:07 -05:00
Thaddeus Crews
fd1168620f
Merge pull request #105718 from aaronfranke/nav-const-caps
Capitalize global navigation constants
2025-05-06 08:38:07 -05:00