Commit Graph

3862 Commits

Author SHA1 Message Date
Thaddeus Crews
cf1ff4fb63 Merge pull request #117831 from mihe/gdscript-temporaries
Change `GDScriptFunction::temporary_slots` to be a `LocalVector`
2026-03-31 10:46:50 -05:00
Thaddeus Crews
5f07b0ff88 Merge pull request #117850 from mihe/gdscript-raw-variants
Reduce `RefCounted` copies in `GDScriptFunction::call`
2026-03-30 13:35:25 -05:00
Thaddeus Crews
f9dfbbb0ed Merge pull request #117070 from shoyguer/bugfix/could_not_resolve_after_preload_name_change
Fix "Could not resolve script" error after renaming a preloaded script
2026-03-30 13:35:20 -05:00
Thaddeus Crews
8804261d63 Merge pull request #107867 from Notgoyome/built_in_script_regression_error
Fix use of `class_name` in built-in scripts
2026-03-30 13:35:18 -05:00
Thaddeus Crews
a644e7ff38 Merge pull request #114861 from dalexeev/improve-editor-only-class-checking
Improve editor-only class checking
2026-03-30 13:35:14 -05:00
StarryWorm
d610492fef Separate ResourceFormat* methods from main classes 2026-03-27 07:16:20 -04:00
StarryWorm
4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
Mikael Hermansson
0636f7adff Reduce RefCounted copies in GDScriptFunction::call 2026-03-26 23:10:16 +01:00
Mikael Hermansson
acc2c961a1 Change GDScriptFunction::temporary_slots to be a LocalVector 2026-03-26 18:44:42 +01:00
Lucas Melo
42b4fc0710 Fix 'Could not resolve script' error after renaming a preloaded script 2026-03-25 16:15:23 -03:00
Danil Alexeev
32d1f518fa Improve editor-only class checking 2026-03-25 17:07:39 +03:00
HolonProduction
274fead099 GDScript: Remove unused get_script_by_fully_qualified_name 2026-03-25 11:06:03 +01:00
notgoyome
6adf691cc5 Fix usage of class_name in built-in scripts (no longer allowed) 2026-03-25 15:02:05 +09:00
Rémi Verschelde
64596092ae Merge pull request #117735 from KoBeWi/stay_positive
Fix missing `positive_only` suggestion
2026-03-23 22:36:19 +01:00
Rémi Verschelde
aa5a7914e4 Merge pull request #115829 from dalexeev/gds-fix-return-codegen
GDScript: Fix compiler generates incorrect bytecode for conversion return
2026-03-23 22:33:57 +01:00
kobewi
14f6ecc421 Fix missing positive_only suggestion 2026-03-23 14:21:57 +01:00
PhairZ
0c3bfae3ef Implement declaration and lambda function tooltips. 2026-03-22 01:57:33 +02:00
Thaddeus Crews
0e8bd28a10 CI: Implement clangd-tidy as GitHub Action 2026-03-20 09:16:38 -05: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
Rémi Verschelde
98868393cc Style: Enforce #include validation hook 2026-03-18 10:41:59 +01:00
Danil Alexeev
d0eb19359e GDScript: Fix compiler generates incorrect bytecode for conversion return 2026-03-18 11:44:20 +03:00
Rémi Verschelde
e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Rémi Verschelde
6d309c858e Remove unused includes in modules with clangd-tidy 2026-03-16 16:40:39 +01:00
Danil Alexeev
65a7cab928 GDScript: Deprecate type_exists() global function 2026-03-15 12:26:47 +03:00
Thaddeus Crews
4e34c6ea63 Merge pull request #117053 from dalexeev/gds-fix-coroutine-stack-clearing
GDScript: Fix and simplify coroutine stack clearing
2026-03-12 09:03:27 -05:00
Danil Alexeev
566d86d081 GDScript: Fix return type checking for inferred function type 2026-03-07 12:52:31 +03:00
StarryWorm
3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05:00
Thaddeus Crews
0aacb28576 Merge pull request #116900 from IceflowRE/translation_1
Add add_submenu_node_item to POT generation
2026-03-04 14:32:39 -06:00
Thaddeus Crews
5134bdb39e Merge pull request #115842 from Arbee4ever/lsp-log-startup-errors
LSP: log startup Errors
2026-03-04 14:32:35 -06: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
f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Danil Alexeev
8a09a2f88c GDScript: Fix and simplify coroutine stack clearing 2026-03-04 10:50:02 +03:00
arbee4ever
1cf8691438 LSP: log startup Errors 2026-03-01 09:56:49 +01:00
Iceflower
c921ad1eec Add add_submenu_node_item to POT generation 2026-02-28 20:18:22 +01:00
StarryWorm
357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews
e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Thaddeus Crews
017e690e47 Merge pull request #116711 from dalexeev/gds-fix-coroutine-clearing
GDScript: Fix interrupted coroutines not clearing
2026-02-25 09:27:45 -06:00
HolonProduction
e7c01f8427 LSP: Don't serialize empty documentation 2026-02-24 11:30:37 +01:00
Danil Alexeev
ba8b2a1ff0 GDScript: Fix interrupted coroutines not clearing 2026-02-24 12:04:40 +03:00
Thaddeus Crews
a7b74be08c Tests: Tidy up compiled tests 2026-02-19 19:31:09 -06:00
rune-scape
f3c2397e34 GDScript: Call static methods in native base class 2026-02-19 10:49:02 -08:00
Thaddeus Crews
8a4df69e22 Merge pull request #116403 from HolonProduction/lsp/settings
LSP: Document editor settings
2026-02-17 09:28:32 -06:00
HolonProduction
9527a6e2f0 LSP: Document editor settings 2026-02-17 12:29:27 +01:00
Lukas Tenbrink
c9249346c4 Change HashSet copy constructor from implicit to explicit. 2026-02-16 23:10:33 +01:00
Thaddeus Crews
376903417d Merge pull request #116369 from HolonProduction/lsp/singleton
LSP: Fix singleton registration
2026-02-16 15:02:46 -06:00
Thaddeus Crews
1e12317895 Merge pull request #115646 from Ivorforce/list-explicit-copy
Change `List` copy constructor from implicit to explicit.
2026-02-16 15:02:34 -06:00
HolonProduction
47bc8f002f LSP: Fix singleton registration 2026-02-16 21:40:19 +01:00
HolonProduction
c416cbaf54 LSP: Fix type bind, mark as experimental, deprecate direct LSP access 2026-02-16 14:36:31 +01:00
HolonProduction
7f7840c7cb LSP: Remove unused ExtendGDScriptParser::get_member_completions 2026-02-06 15:51:03 +01:00