Commit graph

925 commits

Author SHA1 Message Date
Rémi Verschelde
eabb9a63d4
Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01: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
Rémi Verschelde
765362b033
Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Rémi Verschelde
f332faf46b
Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Thaddeus Crews
14fcc7132e
Merge pull request #116776 from HolonProduction/gdscript/completion-setters
Autocompletion: Don't hide certain setters and getters
2026-03-02 15:53:59 -06:00
HolonProduction
5c7c79da52 Autocompletion: Don't hide certain setters and getters
Co-authored-by: Will Thompson <wjt@endlessaccess.org>
2026-03-01 09:36:48 +01:00
Hugo Locurcio
77706bffa3
Tweak ObjectDB instance leak warning message to mention object count
This helps assess how important the situation is to resolve
for project developers, without having to run the project with
`--verbose` again.
2026-03-01 00:56:04 +01:00
Thaddeus Crews
abdde1b69d
Core: Remove class_db.h include from ref_counted.h 2026-02-26 18:14:23 -06:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Rémi Verschelde
16f5289f42
ClassDB: Allow binding bitfield enums and constants from separate namespaces 2026-02-25 18:49:35 +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
Lukas Tenbrink
a6adb12240 Remove message_queue.h include from object.h. 2026-02-20 00:27:41 +01:00
Lukas Tenbrink
0ea5ece984 Move binary math functions to Math namespace in math_funcs_binary header. 2026-02-17 12:24:35 +01: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
Thaddeus Crews
8557916777
Merge pull request #115935 from Repiteo/style/inc-to-h
Style: Convert `*.gen.inc` to `*.gen.h` for ninja
2026-02-06 08:17:55 -06:00
Thaddeus Crews
c729962899
Merge pull request #115923 from GusatuDamianAlexandru/fix-classdb-sorted-class-list
Core: Fix ClassDB class list sorting regression
2026-02-06 08:17:51 -06:00
GusatuDamianAlexandru
02a3ada502
Core: Fix ClassDB class list sorting regression 2026-02-06 13:07:20 +01:00
Thaddeus Crews
7dae5da198
Style: Convert *.gen.inc to *.gen.h 2026-02-05 19:47:56 -06:00
Thaddeus Crews
bf332b7e2b
Merge pull request #115900 from TheDying0fLight/remove-unused-edit_request_func-and-import
Remove unused `edit_request_func` and include in `script_language.cpp`
2026-02-05 09:32:41 -06:00
Thaddeus Crews
071b605cdd
Merge pull request #94062 from dalexeev/core-mark-script-as-internal
Core: Mark property `script` as internal
2026-02-05 09:32:33 -06:00
Thaddeus Crews
79eb6694a1
Merge pull request #112381 from Ivorforce/no-right-align
Don't right-align escaped newlines (e.g. for `#define`)
2026-02-05 09:18:36 -06:00
Danil Alexeev
6fa2cc77e9
Core: Mark property script as internal 2026-02-05 16:17:22 +03:00
Simon Döhl
c91240ef53 Remove unused edit_request_func and import in script_language.cpp 2026-02-05 12:45:18 +01: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
Thaddeus Crews
3d2a2d3968
Merge pull request #114131 from gilzoide/bugfix/script-language-init-first-filesystem-scan
Make sure `ScriptLanguage` is initialized even after `init_languages` call
2026-02-03 18:06:45 -06:00
Rémi Verschelde
5b75d2539b
Merge pull request #115639 from Ivorforce/gdvirtual-includes
Minimize includes from `gdvirtual.gen.inc` / `script_instance.h`, to improve compile time
2026-02-02 10:10:34 +01:00
Rémi Verschelde
63c78e684b
Merge pull request #114165 from KoBeWi/static
Use actual class names in resource type hints
2026-02-02 10:10:24 +01:00
Rémi Verschelde
4b092831ba
Merge pull request #114185 from voylin/language_server_column_support
Add columns to Language Server for external editors
2026-01-31 22:50:32 +01:00
voylin
ea1cb8fe67 Add columns to Language Server 2026-01-31 06:22:08 +09:00
Lukas Tenbrink
f3c7d1d2bf Minimize includes from gdvirtual.gen.inc / script_instance.h, to improve compile time. 2026-01-30 17:47:13 +01:00
Thaddeus Crews
fbbb8a921b
Merge pull request #115309 from Ivorforce/localvector-explicit-copy
Change copy constructor of `LocalVector` from implicit to explicit
2026-01-30 09:32:07 -06:00
kobewi
f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
LanzaSchneider
fed65ba716 Fix script_language_extension compilation with deprecated=no 2026-01-29 19:03:23 +08:00
Thaddeus Crews
c1f3ff963e
Merge pull request #110923 from HolonProduction/rm-create-script
Remove unused `create_script` method from `ScriptLanguage`
2026-01-28 17:58:15 -06:00
Lukas Tenbrink
63272b23ef Make LocalVector copy constructor explicit. 2026-01-23 20:52:03 +01:00
David Snopek
5d995a9558 Fix crash when converting Variant to incompatible RequiredPtr<T> 2026-01-20 19:12:15 -06: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
Lukas Tenbrink
17ef5afa6c Auto-release static GDTypes at exit.
This fixes "unclaimed StringName" warnings and improves engine shutdown correctness.
2026-01-09 14:19:29 +01:00
HolonProduction
edabe363f9 Remove unused create_script method from ScriptLanguage 2026-01-02 17:42:22 +01:00
Rémi Verschelde
6370912e13
Merge pull request #113774 from sockeye-d/inherited-editor-scripts
Make indirectly inherited `EditorScript`s appear in the command palette
2025-12-18 14:29:05 +01:00
gilzoide
9cebbf12dc Make sure ScriptLanguage is initialized even after init_languages call 2025-12-17 20:29:21 -03:00
kobewi
58b0cf61ab Fix non-tool script check when emitting signals 2025-12-13 00:24:35 +01:00
fish
60619d40c8 Make indirectly inherited EditorScripts appear in the command palette 2025-12-08 13:20:31 -08:00
Lukas Tenbrink
aa33b53e67 Use GDType for GDExtension types as well.
Co-authored-by: David Snopek <dsnopek@gmail.com>
2025-12-03 21:32:46 +01:00
David Snopek
fc92ce3e7f Use RequiredParam/RequiredResult in some high value places 2025-12-02 10:44:12 -06:00
Thaddeus Crews
6e69760134
Merge pull request #111967 from Ivorforce/object-cast-to-protect
Statically protect `Object::cast_to` for unrelated `Object` types.
2025-11-25 07:06:48 -06:00
Lukas Tenbrink
0f047944e4 Statically protect Object::cast_to for unrelated Object types.
Fix a handful of bugs associated with it.
2025-11-24 23:03:22 +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
02335fa126
Merge pull request #107845 from dsnopek/gdextension-interface-json
GDExtension: Store source of `gdextension_interface.h` in JSON
2025-11-24 10:21:36 -06:00