Mikael Hermansson
0636f7adff
Reduce RefCounted copies in GDScriptFunction::call
2026-03-26 23:10:16 +01:00
Rémi Verschelde
1951485a07
Merge pull request #109892 from Ryan-000/Bind-Object-ConnectFlags-as-a-bitfield-instead-of-enum-
...
Bind `Object::ConnectFlags` as a bitfield, instead of enum.
2026-03-23 22:33:43 +01:00
Thaddeus Crews
0e8bd28a10
CI: Implement clangd-tidy as GitHub Action
2026-03-20 09:16:38 -05:00
Ryan
69f9e3a75c
Bind Object::ConnectFlags as a bitfield, instead of enum.
2026-03-18 15:21:18 -04:00
Rémi Verschelde
98868393cc
Style: Enforce #include validation hook
2026-03-18 10:41:59 +01:00
Rémi Verschelde
e33e98a26f
Style: Apply clang-format grouping rules
2026-03-17 20:11:01 +01:00
Rémi Verschelde
7795057e4b
Misc includes or modernize fixes found via clangd-tidy
2026-03-16 21:38:26 +01:00
Rémi Verschelde
e015e8bde4
Remove unused includes in core with clangd-tidy
2026-03-11 06:41:36 +01:00
Yyf2333
282e4544b0
Split VariantCaster from binder_common.h
2026-03-10 17:59:33 +08:00
Edward Chan
2e442e8e89
Exposed is_orthonormal method in Basis.
2026-03-08 00:03:14 -05:00
StarryWorm
3cb2d376f8
Get rid of all unnecessary class_db.h includers
2026-03-04 17:40:05 -05:00
Rémi Verschelde
727b06a79f
Move ProcessID typedef out of OS
...
This allows decoupling a number of files from `os.h`.
2026-03-04 15:00:45 +01:00
StarryWorm
357fa00a4a
rm class_db.h from resource.h
2026-02-27 19:08:29 -05:00
Thaddeus Crews
abdde1b69d
Core: Remove class_db.h include from ref_counted.h
2026-02-26 18:14:23 -06:00
Rémi Verschelde
16f5289f42
ClassDB: Allow binding bitfield enums and constants from separate namespaces
2026-02-25 18:49:35 +01:00
Thaddeus Crews
b98838a7b9
Core: Add missing integral conversions to Variant
2026-02-24 12:48:23 -06:00
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
Lukas Tenbrink
e75aa9ed86
Include some headers explicitly in some important spots, to estimate include costs better.
2026-02-20 15:33:03 +01:00
Thaddeus Crews
83f30234d2
Merge pull request #112785 from Ivorforce/clang-tidy-ci
...
Integrate `clang-tidy` into CI
2026-02-19 19:20:42 -06:00
Lukas Tenbrink
6e345f80ec
Integrate (a nerfed version of) clang-tidy into CI.
...
For now, it's integrated into core, main and scene only.
Fix a few superficial clang-tidy failures.
2026-02-20 00:49:00 +01:00
Lukas Tenbrink
a6adb12240
Remove message_queue.h include from object.h.
2026-02-20 00:27:41 +01: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
Thaddeus Crews
ff9085448e
Merge pull request #112459 from Repiteo/core/variant-comparison-cleanup
...
Core: Clean up `Variant` comparison operators
2026-02-17 09:28:19 -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
Thaddeus Crews
2d5b30c476
Merge pull request #115963 from blueskythlikesclouds/reduce-includes-to-rd
...
Reduce includes to rendering device.
2026-02-12 08:19:16 -06:00
Thaddeus Crews
92a90a8e6f
Merge pull request #114558 from Chaosus/fix_precision
...
Fix parameter precision for `ease`/`step_decimals` function
2026-02-10 10:34:39 -06:00
Skyth
8fbf2f1e14
Reduce includes to rendering device.
...
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com >
2026-02-10 16:58:50 +03: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
Lukas Tenbrink
1950689f1d
Do not include input_enums.h and keyboard.h from variant.h and binder_common.h.
2026-01-29 12:12:53 +01:00
Thaddeus Crews
f5d21bfa9c
Merge pull request #113228 from dalexeev/gds-improve-const-eval-array-dict
...
GDScript: Improve evaluation of constant expressions with arrays/dictionaries
2026-01-26 13:14:24 -06:00
David Snopek
5d995a9558
Fix crash when converting Variant to incompatible RequiredPtr<T>
2026-01-20 19:12:15 -06:00
Danil Alexeev
6d06b3a7d6
GDScript: Improve evaluation of constant expressions with arrays/dictionaries
2026-01-12 11:59:38 +03:00
Danil Alexeev
37f09e579e
Core: Fix implicit conversions in ContainerTypeValidate
2026-01-09 22:54:08 +03:00
Chaosus
46a62fc0c2
Fix parameter precision for ease/step_decimals function
2026-01-03 16:20:19 +03:00
Rémi Verschelde
d2eb458b2b
RequiredPtr: Fix template conditional for MSVC
...
Fixes #114206 .
2025-12-19 23:40:25 +01:00
Lukas Tenbrink
ebc9aebb69
Optimize RequiredParam to not increase and decrease refcounts on call.
2025-12-03 21:21:18 +01: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
David Snopek
fc92ce3e7f
Use RequiredParam/RequiredResult in some high value places
2025-12-02 10:44:12 -06:00
Rémi Verschelde
6d4ad21903
Merge pull request #113211 from aaronp64/type_by_name_map
...
Make `Variant::get_type_by_name` `HashMap` initialization thread-safe
2025-12-02 14:16:41 +01:00
Rémi Verschelde
37cfae845b
Merge pull request #113132 from aaronp64/variant_op_eval
...
Reuse/optimize common `OperatorEvaluator*::evaluate` logic
2025-12-02 14:16:32 +01:00
aaronp64
5f7566a72e
Reuse/optimize common OperatorEvaluator*::evaluate logic
...
Added CommonEvaluate class to be used by OperatorEvaluator* classes that have the same logic for `evaluate` and `validated_evaluate`. CommonEvaluate initializes the return Variant to the correct type, then passes through to validated_evaluate, reducing code duplication between evaluate/validated_evaluate and avoiding the overhead of creating/destroying temporary Variants from previous evaluate implementations.
2025-11-28 11:06:19 -05:00
aaronp64
8ac43f4733
Make Variant::get_type_by_name HashMap initialization thread-safe
...
Updated Variant::get_type_by_name to call separate function for static HashMap initialization, which includes adding the initial key/value pairs.
2025-11-26 15:01:49 -05:00
Lukas Tenbrink
109d3d8530
Make Vector bsearch method const.
2025-11-25 19:05:30 +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
2c11facde0
Merge pull request #112853 from aaronp64/dictionary_error_key
...
Include key in `Dictionary::operator[]` error message
2025-11-18 08:25:47 -06:00
kobewi
e14263f917
Remove empty constructors and destructors from core/
2025-11-17 20:09:05 +01:00
aaronp64
c18332740c
Include key in Dictionary::operator[] error message
...
Include key in error message when lookup fails
2025-11-16 18:06:04 -05:00
Thaddeus Crews
cabbc616c2
Core: Cleanup Variant comparison operators
2025-11-05 19:22:41 -06:00
David Snopek
bc9f3c7d92
Make Vector<T>::duplicate() const
...
Co-authored-by: Aaron Franke <arnfranke@yahoo.com >
2025-11-04 17:13:11 -06:00