Commit graph

569 commits

Author SHA1 Message Date
Thaddeus Crews
9a19d32fdb
Merge pull request #116541 from Ivorforce/a-variant-shaped-pool
Move variant pools to their own compile unit.
2026-02-21 12:17:01 -06:00
Lukas Tenbrink
e9465cd380 Move variant pools to their own compile unit. 2026-02-21 13:24:17 +01:00
Pāvels Nadtočajevs
f69edf810e
[String] Allow using Java style %[arg$] prefix in sprintf. 2026-02-20 15:07:58 +02:00
Thaddeus Crews
a7b74be08c
Tests: Tidy up compiled tests 2026-02-19 19:31:09 -06:00
Thaddeus Crews
dde6e84bc3
Tests: Compiled test conversion follow-up 2026-02-19 10:19:03 -06:00
Thaddeus Crews
5482b9e89e
Tests: Convert test headers to compilation files
• Excludes module tests, as they'd be a more involved process
2026-02-19 07:36:26 -06:00
Thaddeus Crews
15558cb886
Merge pull request #108111 from Repiteo/core/sanitizer-restructure
Core: Restructure sanitizers
2026-02-18 12:04:30 -06:00
Thaddeus Crews
fa56f71ddd
Merge pull request #107452 from Ivorforce/bit-math-header
Move binary math functions to `Math` namespace in `math_funcs_binary.h`
2026-02-17 09:28:31 -06:00
Lukas Tenbrink
0ea5ece984 Move binary math functions to Math namespace in math_funcs_binary header. 2026-02-17 12:24:35 +01:00
Lukas Tenbrink
c9249346c4 Change HashSet copy constructor from implicit to explicit. 2026-02-16 23:10:33 +01:00
HolonProduction
47bc8f002f LSP: Fix singleton registration 2026-02-16 21:40:19 +01:00
Thaddeus Crews
833889aec0
Merge pull request #115710 from syntaxerror247/fix-seek
Fix `FileAccess.seek_end` behavior on Android
2026-02-09 15:07:07 -06:00
Anish Kumar
0c89904687 Fix FileAccess.seek_end behavior on Android 2026-02-08 00:16:34 +05:30
Fredia Huya-Kouadio
deabc704d6 Fix TestColor build failure on Android
```
ERROR: In file included from tests\test_main.cpp:72:
./tests/core/math/test_color.h:64:27: error: ignoring temporary of type 'Color' declared with 'nodiscard' attribute [-Werror,-Wunused-value]
   64 |         const Color green_hsva = Color(0, 0, 0).from_hsv(120 / 360.0, 1, 1, 0.25);
      |                                  ^~~~~~~~~~~~~~
1 error generated.
```
2026-02-05 17:10:36 -08:00
Lukas Tenbrink
c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
Rémi Verschelde
429750f60b
Merge pull request #115093 from Ivorforce/hashmap-explicit-copy
Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit
2026-01-31 22:50:51 +01:00
Thaddeus Crews
beda8dd027
Core: Restructure sanitizers 2026-01-28 09:13:16 -06:00
Thaddeus Crews
105ec00722
Merge pull request #108830 from bruvzg/pck_buf
[PCKPacker] Add method to add files from buffer.
2026-01-26 15:01:43 -06:00
Lukas Tenbrink
1825e89787 Change copy constructors of HashMap and AHashMap from implicit to explicit. 2026-01-21 13:01:23 +01:00
Rémi Verschelde
a4a26762f1
Merge pull request #114328 from kleonc/node_duplicating_signal_source_node_fix
`CONNECT_APPEND_SOURCE_OBJECT` on signal emission
2026-01-20 00:22:32 +01:00
kleonc
edd06075e3 CONNECT_APPEND_SOURCE_OBJECT on signal emission 2026-01-14 14:59:57 +01:00
Fabio Alessandrelli
65ce1360b4 network: Normalize IP parsing, fix IPv6, tests 2026-01-13 18:55:55 +01:00
Rémi Verschelde
37ac9d5636
Merge pull request #113988 from kleonc/astar_path_from_disabled_point_is_empty
Fix `AStar`s to return empty path for disabled from point
2026-01-01 16:46:26 +01:00
Thaddeus Crews
ef0dd99a37
CI: Bump clang-format and clang-tidy versions
• clang-format: 20.1.0 → 21.1.7
• clang-tidy: 20.1.0 → 21.1.6
• `.clang-format`: 17.0.6 → 18.1.8 (keep 3 versions behind latest for compatibility)
2025-12-13 09:55:14 -06:00
kleonc
4c3cf9c1c4 Fix AStars to return empty path for disabled from point 2025-12-13 15:28:30 +01:00
Pāvels Nadtočajevs
36521091aa
Do not show Physical in the special key names. 2025-12-04 11:30:57 +02:00
Thaddeus Crews
2ab75a93df
Merge pull request #113514 from Ivorforce/required-param-no-refcount
Optimize `RequiredParam` to not increase and decrease refcounts on call.
2025-12-03 16:50:37 -06:00
Lukas Tenbrink
ebc9aebb69 Optimize RequiredParam to not increase and decrease refcounts on call. 2025-12-03 21:21:18 +01:00
Thaddeus Crews
825d0fe94a
Merge pull request #113418 from Calinou/inputevent-shortcut-physical-unicode-avoid-nested-parentheses
Avoid nested parentheses in physical/Unicode InputEventKey text conversion
2025-12-03 11:42:22 -06:00
Thaddeus Crews
9f76aa3df5
Merge pull request #113282 from dsnopek/required-ptr-get-out-there
Use `RequiredParam`/`RequiredResult` in some high value places
2025-12-02 20:42:53 -06:00
Pāvels Nadtočajevs
a9ef3e5804
Fix duplicate minus in print output.
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2025-12-02 18:58:55 +02:00
David Snopek
fc92ce3e7f Use RequiredParam/RequiredResult in some high value places 2025-12-02 10:44:12 -06:00
Hugo Locurcio
e483d2e2d1
Avoid nested parentheses in physical/Unicode InputEventKey text conversion
This was visible in tooltips displayed in shortcuts, including in the editor itself.

For example, "Forward (W (Physical))" is now displayed as "Forward (W - Physical)".
2025-12-02 16:58:24 +01:00
David Snopek
d95d49ee12 Add RequiredParam<T> and RequiredValue<T> to mark Object * arguments and return values as required
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2025-11-24 12:12:09 -06:00
Thaddeus Crews
25cc9ccefb
Merge pull request #112577 from timothyqiu/multiple-translations-per-locale
Add methods for querying loaded `Translation` instances
2025-11-21 18:37:24 -06:00
metamuffin
6145b0ca29
Add Image.load_exr_from_buffer and enable tinyexr by default 2025-11-21 18:58:26 +01:00
Haoyu Qiu
ec860ffe4a Add methods for querying loaded Translation instances 2025-11-21 08:51:26 +08:00
Lukas Tenbrink
43a8009a56 Clean up String::find to remove duplicate code, and speed up comparison with memcmp where possible. 2025-11-19 22:39:05 +01:00
Lukas Tenbrink
d7f5c13db8 Add Span equality (== and !=) operators.
Exchange duplicate equality iteration implementations across `Vector` and `String` with the `Span` version, for a speed boost.
2025-11-15 14:21:54 +01:00
Thaddeus Crews
32242dbe4d
Merge pull request #112026 from timothyqiu/plural-default
Use more practical default plural rules
2025-11-10 08:19:58 -06:00
Thaddeus Crews
6fd949a6dc
Merge pull request #110748 from MauriceButler/project-setting-changed-signal
Add ability to get list of Project Settings changed, similar to Editor Settings functionality
2025-11-07 10:32:39 -06:00
Maurice Butler
ffa2651fbc Added ability to get a list of project settings changed. 2025-11-06 20:15:07 +10:00
aaronp64
fd85c5b378 Add more Dictionary tests
Adding more tests to Dictionary for methods exposed to gdscript
2025-10-31 15:37:05 -04:00
Thaddeus Crews
ae9732139a
Merge pull request #109433 from KoBeWi/hastension
Add `has_extension()` method to String
2025-10-31 09:23:30 -05:00
Thaddeus Crews
4725a4bac9
Merge pull request #104793 from YYF233333/remove_astar_stress_test
Remove stress unit tests
2025-10-30 10:46:02 -05:00
Aaron Franke
cc13a376c5
Handle NaN and Infinity in JSON stringify function
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-10-29 12:06:40 -07:00
Thaddeus Crews
881058009f
Merge pull request #111522 from Repiteo/core/to-from-native
Core: Support `INF`/`NAN` in JSON from/to native
2025-10-29 13:13:48 -05:00
DeeJayLSP
a149280cea ClassDB: Use AHashMap for property_setget and constant/signal_map 2025-10-28 16:24:54 -03:00
Haoyu Qiu
d180b9af9f Use more practical default plural rules 2025-10-25 15:50:20 +08:00
Edward Moulsdale
b694fe661f Add unit tests for StreamPeerTCP 2025-10-23 19:57:19 +01:00