Commit Graph

954 Commits

Author SHA1 Message Date
Nolkaloid 1d165e7ea9 Add keyword code completion option 2026-04-08 20:04:08 +02:00
Thaddeus Crews 7c720b815f Merge pull request #117710 from HolonProduction/lsp/text-edit-string
LSP: Calculate simple string insertions on the server-side
2026-04-06 13:02:20 -05:00
StarryWorm a88418e2ae Fix CI errors 2026-04-02 15:04:02 -04:00
Thaddeus Crews 7e911ad73a Merge pull request #118049 from Shadows-of-Fire/patch-1
Enable clang-tidy's performance-move-const-arg check
2026-04-01 12:55:18 -05:00
Shadows_of_Fire d89811d890 Enable clang-tidy's performance-move-const-arg check 2026-03-31 18:57:24 -04:00
kobewi d62f1c8900 Add type filters to create dialog 2026-03-31 17:17:23 +02:00
Thaddeus Crews 1bb4e60952 Merge pull request #115157 from Naros/script-extension-expose-reload-from-file
Delegate `Script::reload_from_file` to `ScriptLanguage`
2026-03-30 13:35:16 -05:00
HolonProduction 82f308d957 LSP: Calculate string insertions on the server-side 2026-03-25 14:53:31 +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
Thaddeus Crews fb4a304dee Merge pull request #111965 from Ivorforce/memnew-typed
Make `memnew(RefCounted)` return `Ref`, to improve ownership safety
2026-03-19 15:39:15 -05:00
StarryWorm 189c9497b3 split method_bind_common.h from method_bind.h 2026-03-18 17:41:32 -04:00
Lukas Tenbrink 05c33acbb1 Make memnew(RefCounted) return Ref, to force callers to take ownership of it through a reference. 2026-03-18 20:34:08 +01:00
Ryan 69f9e3a75c Bind Object::ConnectFlags as a bitfield, instead of enum. 2026-03-18 15:21:18 -04:00
Thaddeus Crews 4e7fefbf62 Merge pull request #117474 from Ivorforce/gdtype-signals
Move signal ownership from `ClassDB` to `GDType`
2026-03-18 11:43:30 -05:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Mikael Hermansson 64f7bbbf12 Improve thread-safety of Object signals 2026-03-17 14:02:35 +01:00
Lukas Tenbrink 7a73d3f16b Move signal ownership from ClassDB to GDType. 2026-03-17 11:58:10 +01:00
Thaddeus Crews fc0960188b Merge pull request #111262 from leandro-benedet-garcia/separate-property-and-method-info
Separate Property and Method Info from Object files
2026-03-16 11:32:57 -05:00
Leandro (cerberus1746) Benedet Garcia 7482600828 Separate method and property info into separate files 2026-03-16 09:59:10 -03:00
Lukas Tenbrink 67f63addc1 De-duplicate name and inherits StringName properties from ClassDB::ClassInfo, in favour of GDType. 2026-03-15 16:57:10 +01:00
Rémi Verschelde 22decccd3f Merge pull request #115192 from Naros/script-api-fix-has-methods
Add `has_script_method` to `Script` for scripting access
2026-03-14 12:15:50 +01:00
Lukas Tenbrink efcc97ee8a Move enum registration from ClassDB / ClassInfo to GDType.
Create caches across supertypes for faster lookup.
2026-03-13 19:20:30 +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
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
StarryWorm 3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05:00
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
Chris Cranford c7ed47234e Delegate reloading to ScriptLanguage 2026-02-21 09:02:24 -05: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