Commit Graph

62271 Commits

Author SHA1 Message Date
Riteo 55558fb175 SCons: Add an option to enable the experimental ninja build backend
With this option turned on, if properly set up, SCons generates a
`build.ninja` file and quits. To actually build the engine, the user can
then call `ninja` with whatever options they might prefer (not
everything is yet transferred properly to this new generated file).

Ideally, the scons file should never be called again, as ninja
automatically detects any SCons build script change and invokes
the required commands to regenerate itself.

This approach speeds up incremental builds considerably, as it limits
SCons to code generation and uses ninja's extremely fast timestamp-based
file change detector.
2024-03-15 16:05:25 +01:00
Riteo a5cf92664d SCons: unify code generations routine and minimize timestamp changes
Previously, all of the code generation routines would just needlessly
write the same files over and over, even when not needed.

This became a problem with the advent of the experimental ninja backend
for SCons, which can be trivially enabled with a few lines of code and
relies on timestamp changes, making it thus impractical.
2024-03-15 15:43:53 +01:00
Rémi Verschelde 89f70e98d2
Merge pull request #89513 from bruvzg/menu_mingw_fix
[NativeMenu] Fix MinGW build.
2024-03-15 13:27:22 +01:00
bruvzg 016107fba0
[NativeMenu] Fix MinGW build. 2024-03-15 13:59:47 +02:00
Rémi Verschelde c9c17d6ca6
Merge pull request #89511 from bruvzg/win_emb_x
[Windows] Fix exporting as ZIP when console wrapper and/or embedded PCK is enabled.
2024-03-15 11:07:39 +01:00
Rémi Verschelde 5f3b284cd9
Merge pull request #89510 from bruvzg/lbl_shadow_step
[Label] Move shadow drawing into a separate draw step.
2024-03-15 11:07:33 +01:00
bruvzg aac31feda6
[Windows] Fix exporting as ZIP when console wrapper and/or embedded PCK is enabled. 2024-03-15 11:41:48 +02:00
Rémi Verschelde 856efe4e19
Merge pull request #89509 from timothyqiu/touch-event-position
Fix description of touch input position
2024-03-15 10:40:23 +01:00
Rémi Verschelde ea05652a6a
Merge pull request #89507 from bruvzg/ios_no_jit
[iOS] Disable PCRE2 JIT.
2024-03-15 10:40:20 +01:00
Rémi Verschelde 70bcf2175c
Merge pull request #89506 from bruvzg/menu_fix1
Fix NativeMenu layout direction on macOS, add extra check for Windows menu.
2024-03-15 10:40:17 +01:00
Rémi Verschelde c7061d5e96
Merge pull request #89502 from kleonc/control-set-global-position-fix
Fix `Control::set_global_position` for rotated/scaled transforms
2024-03-15 10:40:14 +01:00
Rémi Verschelde 9c2db0c035
Merge pull request #89495 from akien-mga/pcre2-fix-sljit-compilation-ioscross
pcre2: Remove unused sjlit files after last update
2024-03-15 10:40:10 +01:00
Rémi Verschelde 7d4804e945
Merge pull request #89490 from AThousandShips/queue_print_fix
[Core] Prevent further infinite recursion when printing errors
2024-03-15 10:40:08 +01:00
Rémi Verschelde f2fd015170
Merge pull request #89034 from smix8/navobstacle_bake_n_carve
Add NavigationObstacle options to affect navigation mesh baking
2024-03-15 10:40:01 +01:00
bruvzg af9e8128f9
[Label] Move shadow drawing into a separate draw step. 2024-03-15 11:24:08 +02:00
Haoyu Qiu 0ff396c981 Fix description of touch input position 2024-03-15 16:51:51 +08:00
Rémi Verschelde 739fcd1b8c
pcre2: Remove unused sjlit files after last update
Follow-up to #89371.
2024-03-15 09:38:45 +01:00
bruvzg 9834733f6f
[iOS] Disable PCRE2 JIT. 2024-03-15 10:24:08 +02:00
bruvzg 3459aaa9d1 Fix NativeMenu layout direction on macOS, add extra check for Windows menu. 2024-03-15 09:48:54 +02:00
kleonc f08e782916 Fix Control::set_global_position for rotated/scaled transforms 2024-03-15 04:19:52 +01:00
smix8 5d5e85fe07 Add NavigationObstacle options to affect and carve navigation mesh
Adds NavigationObstacle options to affect and carve navigation mesh.
2024-03-15 01:45:44 +01:00
A Thousand Ships 14897f6dd7
[Core] Prevent further infinite recursion when printing errors 2024-03-14 22:44:22 +01:00
Rémi Verschelde 0175be8948
Merge pull request #89493 from KoBeWi/just_download_more_ram
Fix call queue problems when loading TileSet
2024-03-14 22:35:45 +01:00
Rémi Verschelde 4163fb9c26
Merge pull request #89489 from YeldhamDev/yet_another_etr_fix
Fix some translations not properly falling back
2024-03-14 22:35:41 +01:00
Rémi Verschelde 3e773b9167
Merge pull request #89484 from dalexeev/update-gds-doc
Update `@GDScript` documentation
2024-03-14 22:35:37 +01:00
Rémi Verschelde 25d913f82b
Merge pull request #89483 from Riteo/silent-compilation-unit
SCons: Disable verbose output for SCU build
2024-03-14 22:35:34 +01:00
Rémi Verschelde 2c7c77719d
Merge pull request #89481 from adamscott/fix-compiledb-tool-availability
Fix `compiledb` SCons tool availability
2024-03-14 22:35:29 +01:00
Rémi Verschelde 633024617b
Merge pull request #89475 from rsubtil/feature-add_message_type_to_dap
Add output type to DAP `output` events
2024-03-14 22:35:25 +01:00
Rémi Verschelde a5a5ce7052
Merge pull request #89469 from garrettgu10/ggu/multicursor-bugfix
Fix bug related to multicursor and backspacing with brackets
2024-03-14 22:35:20 +01:00
Rémi Verschelde c6d5a782c7
Merge pull request #89468 from MrPersonDev/increase-rigidbody-mass-precision
Increase precision of RigidBody `mass` property
2024-03-14 22:35:16 +01:00
Rémi Verschelde 520ff5cb17
Merge pull request #89462 from RobProductions/fix-external-theme-margin
Fix main editor button margins while using a custom theme
2024-03-14 22:35:11 +01:00
Rémi Verschelde 36b33d9b72
Merge pull request #89460 from dsnopek/openxr-composition-layers-multiple
OpenXR: Allow GDExtensions to provide multiple, ordered composition layers
2024-03-14 22:35:08 +01:00
Rémi Verschelde 3d3de019bb
Merge pull request #89459 from Calinou/rigidbody-inspector-reorder-contact-monitor
Move Max Contacts Reported below Contact Monitor in RigidBody inspector
2024-03-14 22:35:04 +01:00
Rémi Verschelde 79d2ac37bf
Merge pull request #89454 from iltenahmet/master
[Doc] Clarify description for `get_unix_time_from_system` on UTC
2024-03-14 22:35:00 +01:00
Rémi Verschelde 3e79cdbee2
Merge pull request #89450 from RandomShaper/fix_inside_lights
Fix missed light clusters when inside clipped lights
2024-03-14 22:34:56 +01:00
Rémi Verschelde 21b33c5ea4
Merge pull request #89418 from lyuma/gltf_vertex_packing
Only store vertices referenced by the indices per surface in the glTF importer
2024-03-14 22:34:52 +01:00
Rémi Verschelde 37b08a3724
Merge pull request #89356 from lyuma/vsk-gltf-sparse-accessors-4.3
GLTF export: Use sparse accessors for morph targets
2024-03-14 22:34:47 +01:00
Rémi Verschelde 4ca6cd054f
Merge pull request #89273 from bruvzg/win_native_menu
[NativeMenu] Implement native popup menu support on Windows.
2024-03-14 22:34:42 +01:00
Rémi Verschelde 453485aede
Merge pull request #89270 from Repiteo/enforce-typename-in-templates
Enforce template syntax `typename` over `class`
2024-03-14 22:34:37 +01:00
Rémi Verschelde 31acb61c16
Merge pull request #89267 from Calinou/basematerial3d-use-raw-strings
Use raw string literals for BaseMaterial3D shader code generation
2024-03-14 22:34:32 +01:00
Rémi Verschelde f7ebb00ea0
Merge pull request #89050 from AThousandShips/the_angry_count_extended
Add extension support for argument count to `ScriptInstance`
2024-03-14 22:34:29 +01:00
Rémi Verschelde cfe7bd09af
Merge pull request #87414 from rburing/doc_warning_check_ray_collides
RayCast2D and RayCast3D: warn to check `is_colliding` before `get_collision_point` and `get_collision_normal`
2024-03-14 22:34:25 +01:00
Rémi Verschelde 5cf38f8f99
Merge pull request #77932 from KoBeWi/custom_resources_to_kill_performance_again_probably
Fix custom resource icons in FileSystem
2024-03-14 22:34:17 +01:00
kobewi a85921a856 Fix call queue problems when loading TileSet 2024-03-14 21:05:14 +01:00
Michael Alexsander 05f6c56a48
Fix some translations not properly falling back 2024-03-14 16:38:12 -03:00
Garrett Gu 4ab08fb99f Fix bug related to multicursor and backspacing with brackets 2024-03-14 11:48:48 -05:00
Adam Scott 4080992b38
Fix `compiledb` SCons tool availability 2024-03-14 11:58:57 -04:00
Danil Alexeev 0c48845247
Update `@GDScript` documentation 2024-03-14 17:51:41 +03:00
Riteo 1debb6fe3e SCU: disable verbose output
It's meant to be used as a debug tool but it has been forgotten on.
2024-03-14 15:36:45 +01:00
Ricardo Subtil b6d1204186 Add output type to DAP `output` events 2024-03-14 14:34:14 +00:00