Commit Graph

427 Commits

Author SHA1 Message Date
Thaddeus Crews eb098a2ae7 Merge pull request #118957 from DeeJayLSP/gds-redundant-cleardata
Remove redundant `ClearData` struct from `GDScript`
2026-06-19 15:09:21 -05:00
Thaddeus Crews 0dd6299f71 Merge pull request #117991 from NoctemCat/clear_base_before_next
GDScript: Clear base script in `GDScript::clear`
2026-06-18 15:14:20 -05:00
Thaddeus Crews 685c3eedb7 Merge pull request #104014 from precup/relative_path_fix
Account for relative extends paths in a GDScript utility function
2026-06-18 15:14:18 -05:00
HolonProduction 11c832dced GDScript: Don't register unexposed classes as constants 2026-06-08 20:51:49 +02:00
Danil Alexeev 30f2a30f9b GDScript: Preserve compatibility for untyped return of _get_property_list() 2026-05-05 10:47:07 +03:00
NoctemCat 0388291526 Clear base script in GDScript::clear 2026-04-28 00:08:57 +09:00
DeeJayLSP 01dcf6a139 Remove redundant ClearData struct from GDScript 2026-04-25 16:42:54 -03:00
HolonProduction 97091c639b Deprecate ScriptLanguage::instance_has 2026-04-10 20:00:34 +02:00
HolonProduction 3d8ab757d5 GDScript: Use linked list for instance tracking 2026-04-09 15:57:22 +02:00
Mike Precup b7e3c64766 Account for relative extends paths in a GDScript utility function 2026-04-06 02:13:43 -07: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
StarryWorm d610492fef Separate ResourceFormat* methods from main classes 2026-03-27 07:16:20 -04:00
Lucas Melo 42b4fc0710 Fix 'Could not resolve script' error after renaming a preloaded script 2026-03-25 16:15:23 -03:00
HolonProduction 274fead099 GDScript: Remove unused get_script_by_fully_qualified_name 2026-03-25 11:06:03 +01: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 e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01: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
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
rune-scape f3c2397e34 GDScript: Call static methods in native base class 2026-02-19 10:49:02 -08:00
Lukas Tenbrink c9249346c4 Change HashSet copy constructor from implicit to explicit. 2026-02-16 23:10:33 +01:00
voylin ea1cb8fe67 Add columns to Language Server 2026-01-31 06:22:08 +09:00
Thaddeus Crews 9289ffe42d Merge pull request #114683 from HolonProduction/gdscript/unload-static
GDScript: Remove unused `unload_static`
2026-01-28 12:27:17 -06:00
Thaddeus Crews 8a9e559008 Merge pull request #114655 from HolonProduction/gdscript/back-to-the-roots
GDScript: Only move root scripts in cache
2026-01-26 15:01:53 -06:00
HolonProduction 970aeae3a0 GDScript: Don't cleanup other scripts 2026-01-09 17:38:52 +01:00
HolonProduction 6e49e01711 GDScript: Remove unused unload_static 2026-01-07 15:39:34 +01:00
HolonProduction 43a1a9464f GDScript: Only move root scripts in cache 2026-01-06 18:45:16 +01:00
M4rchyS 38beb1c94b Fix GDScript extends path recursion to itself 2025-12-17 16:30:53 +01:00
HolonProduction ab0397878c GDScript: Ensure correct caching of cyclic references 2025-12-05 10:41:06 +01:00
HolonProduction 2ce3be221a Correctly set GDScript internal path for shallow scripts 2025-12-04 20:44:00 +01:00
HolonProduction b4203f7f64 Prevent shallow scripts from leaking into the ResourceCache
Co-Authored-By: Moritz Burgdorff <mburgdorff@outlook.com>
Co-Authored-By: Lily <gofastlily@gmail.com>
2025-11-20 21:48:03 +01:00
Danil Alexeev 1bd7b99182 GDScript: Add debug/gdscript/warnings/directory_rules project setting 2025-11-12 12:20:34 +03:00
HolonProduction bf7d580e29 Remove raw base pointer from GDScript 2025-10-10 21:55:25 +02:00
Danil Alexeev 5f0ecf4c8c GDScript: Remove some unnecessary booleans
Co-authored-by: HolonProduction <holonproduction@gmail.com>
2025-10-02 13:36:03 +03:00
Thaddeus Crews 7b5ee98474 Merge pull request #94118 from CrazyRoka/optimize-gdscript-notifications
Optimize `GDScriptInstance::notification` for better performance
2025-09-30 20:10:36 -05:00
CrazyRoka bcc0922a20 Optimize GDScriptInstance::notification for better performance 2025-09-30 19:57:35 +01:00
Yufeng Ying a50fc5acd8 Change ClassDB::get_class_list and related stuff. 2025-09-16 15:00:33 +08:00
Arti Chhabra e7214c229b Fix the issue by resetting the reloading false first and then returning error directly instead of calling Macro
Fix the review comment

Fix the clang format

Update as per review comment
2025-08-21 13:13:11 -07:00
Mikael Hermansson 809a6cf705 Fix crash when GDScript scripts are reloaded during initial import 2025-07-24 16:41:33 +02:00
A Thousand Ships f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Serhii Snitsaruk a095c5e3fa GDScript call stack as reverse linked list with fixed coroutines
* GDScript call stack as reverse linked list with issues fixed
(originally proposed in 91006).
* Fix coroutine issues with call stack by resuming async call chain
inside `GDScriptFunction::call()`.
* This fixes corrupted line numbers for coroutines in the debugger and
backtrace (106489).

Co-authored-by: Juan Linietsky <reduzio@gmail.com>
2025-06-30 11:37:42 +02:00
Rémi Verschelde ebc36a7225 Merge pull request #107717 from aaronfranke/abstract-annotation
GDScript: Replace `abstract` keyword with `@abstract` annotation
2025-06-27 17:12:56 +02:00
kobewi 015cc38912 Mark GDScript and shader warnings for translation 2025-06-24 23:11:56 +02:00
Aaron Franke 1085200f51 GDScript: Replace abstract keyword with @abstract annotation
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
2025-06-23 12:24:45 -07:00
Danil Alexeev 24494d840e Core: Unify display of error type prefixes 2025-06-09 20:18:51 +03:00
Fabio Alessandrelli c28d5d0058 Revert "Expose get_rpc_config and get_node_rpc_config"
This reverts commit 8835f326b1.
2025-05-26 15:57:38 +02:00
Yufeng Ying 1384e82c2c Improve ScriptLanguage get keyword API. 2025-05-17 18:43:19 +08:00
Thaddeus Crews b59d6bea4f Merge pull request #67777 from aaronfranke/virtually-annotated
Add a keyword for abstract classes in GDScript
2025-05-13 16:22:16 -05:00
Thaddeus Crews 579feb387c Core: Add [[nodiscard]] to string-like classes 2025-05-06 12:23:41 -05:00
Aaron Franke 067704f1cd Add a keyword for abstract classes in GDScript
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2025-05-02 00:03:04 -07:00
Thaddeus Crews 28089c40c1 Merge pull request #91006 from reduz/live-backtrace
Ability to print and log script backtraces
2025-04-24 17:18:52 -05:00