1
0
Fork 0
Commit Graph

74331 Commits

Author SHA1 Message Date
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
Fredia Huya-Kouadio 4b4144cc39 Annual versions bump for the Android platform
- gradle: 8.2 -> 8.11.1
- androidx.constraintlayout:constraintlayout: 2.1.4 -> 2.2.1
- Android gradle plugin: 8.2.0 -> 8.6.1
- Android compile sdk: 34 -> 35
- Android target sdk: 34 -> 35
- Android build tools: 34.0.0 -> 35.0.0
- kotlin: 1.9.20 -> 2.1.20
- androidx.fragment:fragment: 1.7.1 -> 1.8.6
- OpenXR vendors plugin: 3.1.2-stable -> 4.0.0-stable
2025-05-07 13:14:49 -04: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
2750558108 49c7966042 Fix unexpected control position change when left/top offsets not match pos_cache 2025-05-07 18:46:40 +08: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 3307be5038 Move NavigationObstacle3DEditorPlugin to navigation_3d module
Moves NavigationObstacle3DEditorPlugin to navigation_3d module.
2025-05-06 20:50:28 +02:00
smix8 63bd35e7cf Move NavigationRegion3DGizmoPlugin to navigation_3d module
Moves NavigationRegion3DGizmoPlugin to navigation_3d module.
2025-05-06 20:49:42 +02:00
kit 3d2ad8c316 Fix `--test` help option not in template builds 2025-05-06 14:39:39 -04: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
Thaddeus Crews e085acd71c
Merge pull request #104815 from Ivorforce/strnlen
Rename `_strlen_clipped` to `strnlen` (and use the system equivalent for `char *` inputs)
2025-05-06 08:38:06 -05:00
Thaddeus Crews bd22587170
Merge pull request #106093 from KoBeWi/deprecated_forever
Remove registration of deprecated classes
2025-05-06 08:38:05 -05:00
Thaddeus Crews 4cb030d6bf
Merge pull request #106089 from mihe/rogue-newlines
Fix empty lines being added for errors with no script backtrace
2025-05-06 08:38:04 -05:00
Thaddeus Crews 7efe897343
Merge pull request #106085 from clayjohn/texture-decompress-import
Fix loading BPTC/ASTC textures on devices that don't support them
2025-05-06 08:38:04 -05:00
Thaddeus Crews 5fec9a9fdc
Merge pull request #100057 from aaronp64/container_validate_obj_perf
Improve `ContainerTypeValidate` performance for object types
2025-05-06 08:38:03 -05:00
Thaddeus Crews ee599f0850
Merge pull request #97148 from Calinou/editor-default-auto-reload-scripts-external-change
Enable Auto Reload Scripts on External Change by default in the editor settings
2025-05-06 08:38:02 -05:00
Thaddeus Crews 6e30f3069c
Merge pull request #106041 from KoBeWi/super_single_shortcut_source
Unify shortcut handling in FileSystem dock
2025-05-06 08:38:01 -05:00
Thaddeus Crews a2c9e7920d
Merge pull request #105647 from KoBeWi/optional_options
Improve FileDialog options
2025-05-06 08:38:01 -05:00
Thaddeus Crews c4de8ef825
Merge pull request #105765 from smix8/navlink_iteration_id
Add function to get navigation link iteration id from NavigationServer
2025-05-06 08:38:00 -05:00
Thaddeus Crews aa24e3b671
Merge pull request #105884 from stuartcarnie/macos_embedded
macOS: Embedded window support.
2025-05-06 08:37:59 -05:00
Thaddeus Crews 5e1964d9b0
Merge pull request #106124 from KoBeWi/destructor_must_be_destroyed
Remove empty constructors and destructors from `scene/`
2025-05-06 08:37:58 -05:00
Thaddeus Crews 28068fab1a
Merge pull request #106119 from mihe/jolt/space-change-errors
Remove emitting of error in `JoltBody3D::_exit_all_areas`
2025-05-06 08:37:58 -05:00
Thaddeus Crews 0f1b0487a1
Merge pull request #106118 from akien-mga/scons-gcc-Wenum-conversion
SCons: Don't enable `-Wenum-conversion` for GCC < 11
2025-05-06 08:37:57 -05:00
Thaddeus Crews cc5857728d
Merge pull request #106114 from m4gr3d/disable_auto_keyboard_popup
Add property to control showing the virtual keyboard on focus events
2025-05-06 08:37:40 -05:00
kobewi d32d2e9b51 Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used 2025-05-06 15:28:03 +02:00
Lukas Tenbrink ec32dae1da Rename `_strlen_clipped` to `strnlen` (and use the system equivalent for `char *` inputs).
Add `strnlen` for `char16_t *` and `wchar_t *`.
2025-05-06 15:17:07 +02:00
kobewi 34b485d62b Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
Fredia Huya-Kouadio a088b5dc23 Disable showing the virtual keyboard on focus events for certain editor components 2025-05-06 07:07:49 -04:00