1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00
Commit Graph

4499 Commits

Author SHA1 Message Date
Thaddeus Crews
8f6bb119f4 Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
Thaddeus Crews
780cf03051 Merge pull request #104556 from Ivorforce/string-extend-instead-of-parse
Use `append_` instead of `parse_` for `String` methods.
2025-03-29 10:16:33 -05:00
Rémi Verschelde
e8bc75f056 Merge pull request #103373 from YeldhamDev/build_remove_physics
Allow to compile templates without physics servers
2025-03-28 17:30:03 +01:00
Rémi Verschelde
3b90bb56ad Merge pull request #89782 from KoBeWi/stdArrayList
Use initializer list in Arrays
2025-03-28 17:29:40 +01:00
Michael Alexsander
5ad414d046 Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
Yyf2333
22b5ec17fb Using iterator pattern instead of List::Element *.
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
2025-03-28 13:29:15 +08:00
Lukas Tenbrink
ffa6ef220b Use append_ instead of parse_ for String methods. 2025-03-27 17:51:02 +01:00
kobewi
bc9d0c7835 Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
kobewi
75881f8322 Use initializer list in Arrays 2025-03-26 18:38:15 +01:00
Thaddeus Crews
68d71d6c8c Merge pull request #104582 from Ivorforce/cameratexture-nomonitor
Avoid doctools attempting to query the `CameraServer` to infer a default value for `camera_is_active`
2025-03-25 11:09:05 -05:00
Thaddeus Crews
c5e36a973c Merge pull request #104115 from mihe/scene-state-binds
Bind `SceneState` methods `get_path` and `get_base_scene_state`
2025-03-25 11:09:00 -05:00
Lukas Tenbrink
770267b337 Set camera_is_active to false for CameraTexture to avoid doctool querying it to determine the default automatically. 2025-03-25 02:04:39 +01:00
Thaddeus Crews
f810c74c19 Merge pull request #104221 from Teschnique/fix-issue-100590
Fix tangent baking for curves when cubic derivatives are 0
2025-03-24 10:01:02 -05:00
Thaddeus Crews
f09ee0171a Style: Begin integrating simple .clangd fixes 2025-03-22 13:24:35 -05:00
Teschnique
a6dc345415 Fix tangent baking for curves where the derivative evaluates to 0 due to
collinear control points.
2025-03-21 23:02:24 -07:00
kobewi
10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Rémi Verschelde
53749174a3 Merge pull request #103607 from dugramen/stylebox-fix-overlaps
StyleBoxFlat: Fix glitchy overlapping shapes
2025-03-19 12:26:45 +01:00
Rémi Verschelde
ac052560e5 Merge pull request #100652 from DeeJayLSP/wav-resampled
`AudioStreamPlaybackWAV`: Inherit from `Resampled`
2025-03-19 12:26:13 +01:00
wareya
ccfbdf2bb2 AudioStreamPlaybackWAV: inherit from Resampled
Co-authored-by: DeeJayLSP <djlsp@proton.me>
2025-03-17 18:42:12 -03:00
Thaddeus Crews
ea62170dac Core: Add constexpr constructors/operators to math structs
• Begin integrating `constexpr` on math tests; use `static_assert` where appropriate
2025-03-17 12:15:31 -05:00
Thaddeus Crews
bee411abfa Merge pull request #103886 from maxpiepenbrink/fix-alpha-for-visual-shaders
Fix missing alpha input for visual shaders
2025-03-17 10:52:22 -05:00
dugramen
c95166c998 StyleBoxFlat scale down corners when oveflowing to prevent glitchy overlapping shapes. 2025-03-15 19:55:48 -04:00
Mikael Hermansson
a71f670d7d Bind SceneState methods get_path and get_base_scene_state 2025-03-14 13:04:26 +01:00
Lukas Tenbrink
f4de2cd22a Use resize_zeroed instead of resize then fill(0) in several places. 2025-03-14 12:09:39 +01:00
Thaddeus Crews
c1b7865ae9 Merge pull request #103557 from aaronfranke/godot-version-defines
Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
2025-03-13 08:57:42 -05:00
Thaddeus Crews
0cc7e2c27a Merge pull request #95821 from anvilfolk/cache-gd-docs
Scripting: Fix script docs not being searchable without manually recompiling scripts
2025-03-13 08:57:40 -05:00
Aaron Franke
97ee05e9b7 Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
ocean
72045c8306 Scripting: Add script documentation cache to project
This PR adds a script documentation cache in the project folder.
It is loaded at alongside native documentation caches. This makes
scripts fully accessible through Search Help, including their
members, etc, right from project start, without having to compile
every single script.

Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-03-12 13:44:41 -04:00
Yufeng Ying
bebe037abf Add ConstIterator to Dictionary. 2025-03-13 01:28:46 +08:00
Max Piepenbrink
b28800e580 Include alpha in visual shader light function inputs
Lack of access to the alpha accumulator makes some effects that are sensitive to lighting impossible with the visual shader graph. This is an easy fix thankfully as it simply just wasn't exposed.
2025-03-11 20:57:03 -07:00
kobewi
c2813b902c Add editor setting for default animation step 2025-03-11 23:16:27 +01:00
Thaddeus Crews
9ef22c227a Merge pull request #96296 from aryan-11825114/fix-curve-edit-set-point-pos
Fix `changed` signal emission in `Curve::set_point_offset`
2025-03-10 10:01:16 -05:00
aryan-11825114
cd71f97209 fix changed signal emission in Curve::set_point_offset 2025-03-10 17:50:05 +05:30
A Thousand Ships
466590d0ec Use get_slicec instead of get_slice for single character splitters 2025-03-08 20:36:37 +01:00
Thaddeus Crews
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
A Thousand Ships
5113022dfe Clean up some uses of String::substr
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Thaddeus Crews
113fc5a647 Merge pull request #102648 from bruvzg/el_force
Expose `OVERRUN_ENFORCE_ELLIPSIS` flag to the controls.
2025-03-05 12:07:55 -06:00
Rémi Verschelde
77dc8320e9 Merge pull request #103320 from akien-mga/packed-scene-dnp-base
PackedScene: Use ObjectID for DeferredNodePathProperties base
2025-03-04 01:00:55 +01:00
Rémi Verschelde
b408ce7a64 Merge pull request #103121 from OhiraKyou/fix-gpu-particle-zero-scale
Fix GPU particles not emitting at some configured rates when scale curve is zero
2025-03-04 01:00:43 +01:00
Evan Todd
87efa4d210 Fix particle jitter when scene tree is paused. 2025-02-27 08:40:40 -08:00
Rémi Verschelde
dbdd8a2db9 PackedScene: Use ObjectID for DeferredNodePathProperties base
Help do proper error handling and avoid a crash.

Works around #103263.
2025-02-26 14:40:14 +01:00
OhiraKyou
8df75953ec Fix GPU particles not emitting at some amounts when scale curve is zero 2025-02-25 19:36:08 -05:00
Pāvels Nadtočajevs
912b52a6a5 Expose OVERRUN_ENFORCE_ELLIPSIS flag to the controls. 2025-02-10 08:41:31 +02:00
Thaddeus Crews
568d6286e0 Merge pull request #102132 from Ivorforce/optimize-font-internal-cow
Optimize `Font` calculations by avoiding unnecessary copy-on-write.
2025-02-07 14:50:41 -06:00
Pāvels Nadtočajevs
7da0767f35 [TextEdit] Update syntax highlighting when IME composition string is updated. 2025-02-07 11:54:56 +02:00
Thaddeus Crews
0d14ae58b0 Merge pull request #101109 from clayjohn/multimesh-err-msg
Add explicit error messages to Multimesh functions
2025-02-05 18:22:21 -06:00
clayjohn
e1af7b65b2 Add explicit error messages to Multimesh error functions to make errors easier to understand.
Previously the RenderingServer errors filtered up to end users, but they are unclear and not helpful
2025-02-05 23:48:01 +01:00
Pāvels Nadtočajevs
b50d9742c2 Fix is_valid_float, Variant parser, Expression parser, script highlighter, and TextServer not handing capital E in scientific notation. 2025-02-05 18:39:40 +02:00
bruvzg
3be46a69c4 Fix uppercase B and X parsing in the integer literals. 2025-02-05 16:02:06 +02:00
Lukas Tenbrink
f52c9e342c Optimize Font calculations by avoiding unnecessary copy-on-write. 2025-01-28 18:15:59 +01:00