Rémi Verschelde
7fe0609118
Linux: Relax interdependency between freetype, libpng, and zlib for unvendored builds
...
This restriction was added to fix #7373 back then, which was a symbol conflict
between FreeType's bundled copy of gzip/zlib, and distro packages.
But we also unbundled FreeType's zlib in #69395 so this is no longer an issue.
On the other hand recent issues pointed out that using system-provided icu4c
or harfbuzz can cause issues (#91401 , #100301 ). We still allow it for now but
raise a warning.
2025-01-09 00:28:46 +01:00
Rémi Verschelde
76c8e76560
Merge pull request #101284 from akx/tyops
...
A handful of typo fixes
2025-01-08 15:53:33 +01:00
Aarni Koskela
f134769506
Fix various typos
...
* Add TODO notes for typos that should be fixed for 5.0
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
Thaddeus Crews
a29294fddc
SCons: Refactor color output implementation
2025-01-07 18:44:53 -06:00
Rémi Verschelde
0c763602f9
Merge pull request #101237 from mihe/jolt/cache-bounce-velocity
...
Cache value of Jolt Physics project setting `bounce_velocity_threshold`
2025-01-07 23:18:13 +01:00
Rémi Verschelde
709f2e1a5d
Merge pull request #100765 from Geometror/lightmapgi-add-downsampling
...
Add a supersampling option to LightmapGI
2025-01-07 23:17:39 +01:00
Rémi Verschelde
0fee2724f0
Merge pull request #100751 from YYF233333/force_regex_with_editor
...
Force build editor with regex module, remove checking code
2025-01-07 23:17:35 +01:00
Hendrik Brucker
054340bb6b
Add a supersampling option to LightmapGI
...
This provides increased lightmap quality with less noise, smoother
shadows and better small-scale shadow detail. The downside is that
this significantly increases bake times and memory usage while baking
lightmaps, so this option is disabled by default.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: landervr <31851431+CpnWaffle@users.noreply.github.com>
2025-01-07 18:44:59 +01:00
Mikael Hermansson
d6b822c891
Cache value of Jolt Physics project setting `bounce_velocity_threshold`
2025-01-07 18:35:04 +01:00
Lukas Tenbrink
0fddf6a824
Optimize calls of `utf8` in a few spots to avoid calling it more than once.
2025-01-07 17:24:21 +01:00
Mikael Hermansson
174a2b6593
Fix debug contact count not being initialized when using Jolt Physics
2025-01-07 17:16:59 +01:00
Kiro
f70acb0308
shift the polygon heap only if index is in range
2025-01-07 13:40:17 +01:00
Yufeng Ying
34d8255947
Force build editor with regex module, remove checking code.
...
Fix include.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-07 19:43:23 +08:00
Rémi Verschelde
6e9be55ee2
Merge pull request #100104 from bruvzg/ts_data_in_template
...
[Export] Allow using ICU data from export templates instead of editor embedded data.
2025-01-07 10:14:34 +01:00
Pāvels Nadtočajevs
3d60ce9389
[Export] Allow using ICU data from export templates instead of editor embedded data.
2025-01-07 08:15:09 +02:00
bruvzg
cc1db569e1
[TextServer] Improve embedded objects handling performance.
2025-01-07 08:01:29 +02:00
Rémi Verschelde
887c1557bf
Merge pull request #100961 from Geometror/lm-colored-transparent-shadows
...
Add support for colored shadows in LightmapGI
2025-01-07 00:45:07 +01:00
Hendrik Brucker
cb460ad421
Add support for colored shadows in LightmapGI
2025-01-06 23:40:18 +01:00
Rémi Verschelde
38ffeb56f4
Merge pull request #101103 from Calinou/editor-gridmap-translucent-cursor
...
Make the GridMap editor cursor translucent
2025-01-06 22:48:54 +01:00
Rémi Verschelde
20728e7b05
Merge pull request #101101 from Calinou/editor-add-gridmap-grid-color-setting
...
Add an editor setting for the GridMap grid color
2025-01-06 22:48:50 +01:00
Rémi Verschelde
bc0cd1fff3
Merge pull request #100856 from BlueCube3310/astc-decomp-rt
...
astcenc: Allow decompression in non-editor builds
2025-01-06 22:47:45 +01:00
Rémi Verschelde
4de07f3a97
Merge pull request #100549 from kiroxas/`NavMeshQueries3D_query_task_build_path_corridor`_simplification
...
Simplify `NavMeshQueries3D::_query_task_build_path_corridor`
2025-01-06 22:47:41 +01:00
Rémi Verschelde
e06cac212b
Merge pull request #99893 from kiroxas/avoidUTF8ParsingWhenNotNecessary
...
Avoid duplicated `utf8()` calls
2025-01-06 22:47:12 +01:00
Rémi Verschelde
30b20bc251
Merge pull request #99121 from dalexeev/gds-deprecate-inst-to-dict
...
GDScript: Deprecate `inst_to_dict()` and `dict_to_inst()` functions
2025-01-06 22:46:52 +01:00
Rémi Verschelde
ba8a155551
Merge pull request #98909 from demolke/master
...
GLTF: Don't duplicate textures when importing blend files
2025-01-06 22:46:44 +01:00
Mikael Hermansson
053d92401e
Improve performance of changing compound shapes when using Jolt Physics
2025-01-06 21:43:49 +01:00
Hugo Locurcio
4e888f9987
Make the GridMap editor cursor translucent
...
This makes it possible to distinguish GridMap tiles that haven't been
placed yet from those that are already in place.
2025-01-03 23:21:33 +01:00
Hugo Locurcio
19b8b10218
Add an editor setting for the GridMap grid color
...
The opacity can be adjusted by changing the alpha channel of the color
setting. The setting applies without having to restart the editor.
2025-01-03 23:06:29 +01:00
Danil Alexeev
07f8935c69
GDScript: Deprecate `inst_to_dict()` and `dict_to_inst()` functions
2025-01-03 21:17:06 +03:00
BlueCube3310
e8e62d0cdd
astcenc: Allow runtime decompression of ASTC formats
2025-01-03 12:07:22 +01:00
Ricardo Subtil
b77aa473a1
Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization
2025-01-03 10:50:15 +00:00
Kiro
13f548c7f5
Simplify_`NavMeshQueries3D::_query_task_build_path_corridor`
2025-01-03 08:53:57 +01:00
Rémi Verschelde
bdf625bd54
Merge pull request #101051 from aaronfranke/gltf-always-read-alpha-cutoff
...
GLTF: Always read `alphaCutoff` property
2025-01-03 02:01:35 +01:00
Rémi Verschelde
29bd5c06ef
Merge pull request #100636 from raulsntos/dotnet/emit-signal-fix
...
[.NET] Fix EmitSignal with typed array parameters
2025-01-03 02:01:20 +01:00
Rémi Verschelde
5a8b7188af
Merge pull request #101044 from mihe/jolt/revert-100533
...
Revert "Stop reporting contacts for sleeping bodies when using Jolt Physics"
2025-01-03 00:50:13 +01:00
Rémi Verschelde
8e66fac92a
Merge pull request #101037 from smix8/navregion_polys
...
Make NavMeshQueries use NavRegionIteration polygons directly
2025-01-03 00:50:10 +01:00
Rémi Verschelde
1f2d535f78
Merge pull request #100983 from mihe/jolt/only-iterate-active-bodies
...
Improve performance with many static/sleeping bodies when using Jolt Physics
2025-01-03 00:49:51 +01:00
Rémi Verschelde
8e76f669c2
Merge pull request #100929 from Geometror/fix-lm-penumbra-computation
...
Fix lightmapper penumbra computation
2025-01-03 00:49:33 +01:00
Rémi Verschelde
19a7b466c2
Merge pull request #100848 from BlueCube3310/astc-improvements
...
astcenc: Misc improvements and optimizations
2025-01-03 00:49:22 +01:00
Rémi Verschelde
5ff616736a
Merge pull request #100825 from KoBeWi/colored_eight
...
Add `Color.from_rgba8` and deprecate Color8
2025-01-03 00:49:18 +01:00
Rémi Verschelde
dd7d36e803
Merge pull request #100770 from hpvb/command-queue-mt
...
Core: Refactor CommandQueueMT to use vararg templates for performance and maintainability
2025-01-03 00:49:02 +01:00
Rémi Verschelde
7dd14207dc
Merge pull request #100631 from Faless/fix/wslay_frame_end_not_fin
...
[WS] Fix wslay multi-frame message parsing
2025-01-03 00:48:47 +01:00
Aaron Franke
ec7d7abde9
GLTF: Always read alphaCutoff property
2025-01-02 12:53:55 -08:00
Mikael Hermansson
7bed84c165
Revert "Stop reporting contacts for sleeping bodies when using Jolt Physics"
...
This reverts commit 5bbdb4a770 .
2025-01-02 20:17:05 +01:00
smix8
4184884ad1
Make NavMeshQueries use NavRegionIteration polygons directly
...
Removes the duplicated NavMap polygon soup. All navmesh queries now use the NavRegionIteration polygons directly.
2025-01-02 15:35:29 +01:00
HP van Braam
cccd2432c3
Refactor CommandQueueMT to use vararg templates
...
In order to make CommandQueueMT more maintainable this PR changes the
previous macro hell with variadic templates instead. This makes the
class far more explicit and will allow us to more easily change the way
the class functions in the future.
Furthermore this refactoring has allowed for some optimizations. In
particular by using std::forward to delay the decision of decaying the
type to as late as possible we are able to move the data from the
callsite into our Command buffer and later move it to the call.
In practice what this means is that compared to the old version instead
of copying values 3 times, we can now get away with 1 copy, and 1 move
for lvalues, and just 2 moves for rvalues. This saves quite a few
operations in a hot codepath.
We also now test to make sure that the amount of copies and moves are
what we expect. This way we can spot performance regressions in this
code easily.
Somewhat unscientifically, running TPS-demo by pressing enter and not
touching the controls average mspf, repeatable across many runs:
before: 6.467
after : 6.202
2025-01-02 15:35:08 +01:00
Mikael Hermansson
7beaddc9c0
Improve performance with many static/sleeping bodies when using Jolt Physics
2025-01-01 21:30:02 +01:00
BlueCube3310
6f363b989a
astcenc: Misc improvements and optimizations
2024-12-31 14:25:14 +01:00
HolonProduction
9db804f72e
Jsonrpc: Convert ids to int if they are int by value
2024-12-30 20:06:02 +01:00
Hendrik Brucker
751d3d5852
Fix lightmapper penumbra computation
2024-12-30 16:30:59 +01:00
Thaddeus Crews
2582793d40
Merge pull request #100774 from Geometror/rm-leftover-print-lightmapper
...
Remove leftover debug print statement from `lightmapper_rd.cpp`
2024-12-30 08:58:58 -06:00
Thaddeus Crews
d12eeefcf4
Merge pull request #100763 from dsnopek/openxr-composition-layers-hole-punch-visibility
...
OpenXR: Fix hiding/showing composition layers using hole punching
2024-12-30 08:58:57 -06:00
Thaddeus Crews
77eb92f8f3
Merge pull request #100826 from Lielay9/csg-spin-360
...
Fix gaps in CSGPolygon3D spin mode at 360 degrees
2024-12-30 08:58:35 -06:00
Thaddeus Crews
a9b6b3d932
Merge pull request #100776 from AThousandShips/improve_null_checks
...
Improve use of `Ref.is_null/valid`
2024-12-29 09:35:04 -06:00
kobewi
4e48b19e1f
Add Color.from_rgba8 and deprecate Color8
2024-12-27 11:26:59 +01:00
smix8
c69408168c
Patch navigation map async synchronization
...
Patches navigation map async synchronization.
2024-12-26 13:04:20 +01:00
Hei
d310d9f975
Fix gaps in CSGPolygon3D spin mode at 360 degrees
2024-12-26 13:59:24 +02:00
A Thousand Ships
a1846b27ea
Improve use of `Ref.is_null/valid`
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Hendrik Brucker
3cc5f6e346
Remove leftover print in lightmapper_rd.cpp
2024-12-23 21:14:14 +01:00
Thaddeus Crews
0f95e9f8e6
Merge pull request #100575 from Wierdox/improve_syntax_highlighting_for_shorthand_of_and_plus_bitwise_and_by_altering_string_name_highlighting
...
Improve `&&` and `&` syntax highlighting by altering `StringName` highlighting
2024-12-23 11:15:21 -06:00
Yufeng Ying
33817b186f
Remove unused header in drivers and modules.
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2024-12-24 00:40:47 +08:00
Yufeng Ying
73d85f46c9
Remove unused headers in scene.
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
David Snopek
d9ad5d1cd4
OpenXR: Fix hiding/showing composition layers using hole punching
2024-12-23 08:01:19 -06:00
smix8
d51615b334
Change navigation map synchronization to an async process
...
Changes the navigation map synchronization to an async process to avoid stalling the main thread.
2024-12-22 02:03:59 +01:00
Rémi Verschelde
0454122b3c
Merge pull request #100711 from spoxii/patch/gltfstate_link_typo
...
Remove trailing double quote from link in GLTFState class documentation
2024-12-22 00:10:22 +01:00
Rémi Verschelde
4b3338799a
Merge pull request #100633 from BastiaanOlij/fix_openxr_dpad_angle_degrees
...
OpenXR: Make sure wedge on DPad modifier is expressed in degrees.
2024-12-22 00:10:08 +01:00
Wierdox
ed81a17e1e
Improve '&&' and '&' syntax highlighting by altering StringName highlighting
2024-12-21 14:02:31 -08:00
SPOXY
a676465b79
Remove trailing double quote from link in GLTFState class documentation
...
This fixes the link to https://github.com/KhronosGroup/glTF/blob/main/specification/2.0/schema/asset.schema.json
2024-12-21 20:58:47 +01:00
Rémi Verschelde
4727f0707b
Jolt: Update to commit f094082aa, adding RISC-V, PPC64 and LoongArch support
...
Fixes #100557 .
2024-12-21 15:15:50 +01:00
Bastiaan Olij
65bb72261b
OpenXR: Make sure wedge on DPad modifier is expressed in degrees.
2024-12-21 20:59:24 +11:00
Rémi Verschelde
387230b90c
Merge pull request #100667 from raulsntos/dotnet/fix-version-in-errors
...
[.NET] Update required .NET SDK version in error messages
2024-12-20 23:57:39 +01:00
Rémi Verschelde
fd5548a8b7
Merge pull request #100634 from YYF233333/iwyu2
...
Remove unused headers in servers
2024-12-20 23:57:09 +01:00
Rémi Verschelde
0a37e12a9b
Merge pull request #100610 from YYF233333/style
...
Remove unused variable in `GDScriptLanguage`
2024-12-20 23:56:58 +01:00
Rémi Verschelde
e91b3ecd00
Merge pull request #100562 from AThousandShips/fix_text_server_binds
...
[TextServer] Fix use of `find_char` in text servers
2024-12-20 23:56:51 +01:00
Rémi Verschelde
8a743f23e6
Merge pull request #98385 from RandomShaper/thread_yield
...
Rationalize busy waits
2024-12-20 23:56:39 +01:00
Raul Santos
63960e1ed6
[.NET] Update required .NET SDK version in error messages
...
Also, replaces the download URL with a shorter one since links are not clickable so I thought it'd be more convenient.
2024-12-20 21:57:38 +01:00
Fabio Alessandrelli
d798068a08
[WS] Fix wslay multi-frame message parsing
...
The wslay library, somehow unintuitively, will call the frame recv end
callback for control frames.
This has the side effect that while receiving a long message (i.e. a
multi-frame message), if a control frame (e.g. a ping or pong) is
received it may seem that a FIN frame has been received, resulting in
the current code truncating the message.
To avoid this, this commit now ignores the frame recv end callback, and
instead rely on the msg recv callback where we can check the opcode, and
is guaranteed to be called only when the FIN frame is received for text
and binary frames.
2024-12-20 12:44:59 +01:00
Yufeng Ying
e88e30c273
Remove unused headers in servers.
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2024-12-20 18:51:01 +08:00
Raul Santos
975369fceb
[.NET] Fix EmitSignal with typed array parameters
...
Signals with typed arrays were generating EmitSignal methods with untyped array parameters.
2024-12-20 06:51:09 +01:00
AThousandShips
15b4331fb1
[TextServer] Fix use of `find_char` in text servers
...
The `find_char` method is not (currently) available to extensions and
can't be used in the text servers which can be built as extensions, so
now controlled by compile option
2024-12-19 21:44:30 -05:00
Thaddeus Crews
8b0b38ffa7
Merge pull request #100588 from timothyqiu/wild-rid
...
Betsy: Fix stack-use-after-scope when using BC3 and BC5
2024-12-19 20:00:12 -06:00
Thaddeus Crews
5ceeff711c
Merge pull request #100587 from smix8/path_return
...
Fix early navigtion path return
2024-12-19 20:00:10 -06:00
Thaddeus Crews
2fcd8223e8
Merge pull request #99538 from Geometror/lightmap-gi-transparent-surface
...
Add transparency support for LightmapGI
2024-12-19 19:59:52 -06:00
Thaddeus Crews
3a12fc89b6
Merge pull request #100473 from opsocket/fix-rigid-bodies-damping
...
Update damping values for jolt rigid bodies on mode switch at runtime
2024-12-19 19:59:39 -06:00
Thaddeus Crews
a4f423cc97
Merge pull request #78489 from dalexeev/gds-add-disassembling-implicit-funcs
...
GDScript: Add disassembling implicit and lambda functions
2024-12-19 19:59:36 -06:00
Yufeng Ying
a43f90b89d
Remove unused variable in GDScriptLanguage.
2024-12-20 00:48:06 +08:00
Kiro
06efe84bca
Remove duplicate `utf8()` calls
2024-12-19 10:15:46 +01:00
Haoyu Qiu
b447eaa6a8
Betsy: Fix stack-use-after-scope when using BC3 and BC5
2024-12-19 08:42:21 +08:00
smix8
c8242162d1
Fix early navigtion path return
...
Fixes early navigtion path return.
2024-12-19 01:21:38 +01:00
opsocket
0dd072b460
🐛 enforce bodies damping recomputation on mode switch at runtime
2024-12-18 16:07:04 -05:00
demolke
e649e7e3c5
GLTF: Don't duplicate textures when importing blend files
...
Blender imports will always start within `.godot/imported` folder because we first convert the .blend file to .gltf, store it in `.godot/imported` and run the import from there, so on-disk resources linked from .blend files end up with duplicate textures.
2024-12-18 21:24:18 +01:00
Rémi Verschelde
024efda0b4
Merge pull request #100568 from Repiteo/dotnet/warning-as-error
...
C#: Add option to treat warnings as errors
2024-12-18 19:50:20 +01:00
Hendrik Brucker
a3525bc015
Add transparency support for LightmapGI
...
Co-authored-by: Guerro323 <kaltobattle@gmail.com>
2024-12-18 19:36:16 +01:00
Rémi Verschelde
56d11c1062
Merge pull request #100552 from mdelorme/mdelorme/issue_100514
...
Fix initialization order in `AudioStreamInteractive` to allow `initial_clip` to be properly played
2024-12-18 17:23:42 +01:00
Thaddeus Crews
8642e970c5
C#: Add option to treat warnings as errors
2024-12-18 10:23:41 -06:00
Rémi Verschelde
48167ff06e
Merge pull request #100540 from j20001970/cameraserver-check-feed-type
...
Camera: Skip non platform-specifc `CameraFeed` types in Linux/macOS driver
2024-12-18 17:23:39 +01:00
Rémi Verschelde
d45825347d
Merge pull request #100300 from edwin0cheng/improve_emoji
...
Improve emoji SVG parsing by caching
2024-12-18 17:23:28 +01:00
Maxime Delorme
ea97d4457f
Fix order initialization to allow initial_clip to be properly played
2024-12-18 15:24:20 +01:00
Edwin Cheng
61d387135f
Improve emoji SVG parsing by caching
...
Basically, when we first encounter the document, we parse it as before, but we also note the offsets of other glyphs and store the remaining XML. The next time we see another glyph, we can simply parse that glyph node and insert it back into the stored XML.
2024-12-18 19:02:03 +08:00
Rémi Verschelde
6cba6299f9
Merge pull request #100195 from raulsntos/dotnet/upgrade-tfm
...
[.NET] Upgrade user project's TargetFramework to `net8.0`
2024-12-18 09:53:10 +01:00