Commit Graph

3932 Commits

Author SHA1 Message Date
Thaddeus Crews 8222d0983a Merge pull request #118856 from Ivorforce/stringname-string-conversion
Change `StringName` -> `String` conversion from `operator String()` to `string()`
2026-06-23 07:01:08 -05:00
Lukas Tenbrink 2659124e66 Change StringName -> String conversion from operator String() to string(). 2026-06-22 15:46:16 +02:00
Thaddeus Crews 28db2de289 Merge pull request #120139 from HolonProduction/lsp/change-workspace
LSP: Fix `gdscript_client/changeWorkspace` notification
2026-06-22 08:29:50 -05:00
Thaddeus Crews cb4b6883cb Merge pull request #120191 from dalexeev/gds-prevent-error-spam-for-ct-eval
GDScript: Prevent error spam during compile-time evaluation of some functions
2026-06-22 08:29:43 -05:00
Thaddeus Crews f964fa714f Merge pull request #118575 from DeeJayLSP/gdtype-name-hierarchy
Exchange use of `ClassDB::is_parent_class()` with `Object::is_class()` where possible
2026-06-19 15:09:27 -05:00
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 ef79fa3fc0 Merge pull request #117946 from HolonProduction/editor-language-kickoff
Introduce `EditorLanguage` and move `ScriptLanguage::complete_code` into it.
2026-06-19 15:09:19 -05:00
Thaddeus Crews 77faa60a90 Merge pull request #118221 from HolonProduction/completion-autoload-copy
Autocompletion: Remove unnecessary `HashMap` copy
2026-06-19 12:05:57 -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
Thaddeus Crews e9b080715c Merge pull request #93325 from rune-scape/gds-wrong-file-error
GDScriptFunction: Fix wrong file in errors
2026-06-18 15:14:17 -05:00
Thaddeus Crews ab0a9627e2 Merge pull request #118616 from aurpine/fix-print_match_pattern-dictionary-key-only
Fix TreePrinter for match dictionary pattern with no value
2026-06-18 15:14:16 -05:00
Thaddeus Crews 8abf31dd55 Merge pull request #119936 from HolonProduction/gdscript/unexposed
GDScript: Don't register unexposed classes as constants
2026-06-18 15:14:15 -05:00
Thaddeus Crews 867f7dadeb Merge pull request #115461 from HolonProduction/gdscript/noroutine
GDScript: Prevent function states from leaking into typed temporaries, when overwriting with coroutines
2026-06-18 15:14:14 -05:00
Thaddeus Crews f2c10060d2 Merge pull request #114664 from kitbdev/fix-gdscriptcache-test-solo
Fix GDScriptCache test failing when run by itself
2026-06-18 13:15:28 -05:00
Danil Alexeev 43714db9a6 GDScript: Prevent error spam during compile-time evaluation of some functions 2026-06-11 15:04:40 +03:00
HolonProduction 8f831c0803 LSP: Fix gdscript_client/changeWorkspace notification 2026-06-10 12:27:17 +02:00
HolonProduction 11c832dced GDScript: Don't register unexposed classes as constants 2026-06-08 20:51:49 +02:00
Thaddeus Crews 09522aea1c Merge pull request #120028 from HolonProduction/gdscript/blacklist-internal-classes
GDScript: Exclude `globals` internal classes in the analyzer
2026-06-08 09:12:04 -05:00
HolonProduction 5a017a1f5e GDScript: Exclude globals internal classes in the analyzer 2026-06-06 10:38:32 +02:00
Thaddeus Crews 3515ae6282 Merge pull request #115820 from Ivorforce/gdscript-general-guidelines
Migrate GDScript design guidelines to the contributing docs.
2026-06-05 09:24:41 -05:00
Danil Alexeev e4034355de GDScript: Move stack cleanup after resumed coroutine completion 2026-05-25 23:06:45 +03:00
HolonProduction 29dbe024c9 GDScript: Register GDScriptFunctionState with ClassDB 2026-05-08 23:58:46 +02:00
Thaddeus Crews bc3bc82706 Merge pull request #119210 from dalexeev/gds-compat-get-property-list
GDScript: Preserve compatibility for untyped return of `_get_property_list()`
2026-05-06 14:56:31 -05:00
HolonProduction 040ebdd9e1 Autocompletion: Remove unnecessary HashMap copy 2026-05-05 09:54:48 +02:00
Danil Alexeev 30f2a30f9b GDScript: Preserve compatibility for untyped return of _get_property_list() 2026-05-05 10:47:07 +03:00
Thaddeus Crews f1e8491c16 Merge pull request #118979 from HolonProduction/lsp/annoation-identifier-crash
LSP: Fix crash in `find_usages_in_file` by correctly resolving annotation names
2026-05-04 12:40:41 -05:00
HolonProduction 623809d89e Introduce EditorLanguage and move ScriptLanguage::complete_code into it. 2026-05-01 10:58:14 +02:00
kobewi f3a7c7d8a1 Better clarify assert behavior 2026-04-28 16:38:49 +02:00
NoctemCat 0388291526 Clear base script in GDScript::clear 2026-04-28 00:08:57 +09:00
HolonProduction 612475a680 GDScript: Track columns by raw string offsets 2026-04-26 21:32:46 +02:00
HolonProduction 0813b357d2 LSP: Fix crash in find_usages_in_file by correctly resolving annotation names 2026-04-26 19:02:11 +02:00
DeeJayLSP 01dcf6a139 Remove redundant ClearData struct from GDScript 2026-04-25 16:42:54 -03:00
Thaddeus Crews e998e94ff1 Merge pull request #118002 from dalexeev/gds-warn-confusable-temp-mod
GDScript: Add `CONFUSABLE_TEMPORARY_MODIFICATION` warning
2026-04-21 08:48:12 -05:00
Danil Alexeev 8299b03c1a GDScript: Fix type deduction for functions without return statements 2026-04-19 12:11:58 +03:00
DeeJayLSP d376b20bef Exchange use of ClassDB::is_parent_class() with Object::is_class() where possible 2026-04-16 12:37:47 -03:00
aurpine 282f873e40 Fix match dictionary no value print_match_pattern 2026-04-15 14:03:11 -04:00
Thaddeus Crews 935e7bc10e Merge pull request #118421 from KoBeWi/to_be_or_not_to_be
Check for class existence before getting enum constants
2026-04-13 11:45:59 -05:00
kobewi b223598200 Check for class existence before getting enum constants 2026-04-12 12:39:06 +02:00
HolonProduction 97091c639b Deprecate ScriptLanguage::instance_has 2026-04-10 20:00:34 +02:00
Thaddeus Crews 2a1ccc077d Merge pull request #118186 from HolonProduction/gdscript/instances-self-list
GDScript: Use linked list for instance tracking.
2026-04-10 10:32:33 -05:00
Thaddeus Crews 9cde903388 Merge pull request #118314 from dalexeev/gds-improve-prop-hint-arr-dict-type
GDScript: Improve `PROPERTY_HINT_{ARRAY,DICTIONARY}_TYPE` handling
2026-04-09 17:41:14 -05:00
Thaddeus Crews 27799eb871 Merge pull request #117847 from Nolkaloid/keyword_icon
Add  keyword code completion option
2026-04-09 17:41:09 -05:00
HolonProduction 3d8ab757d5 GDScript: Use linked list for instance tracking 2026-04-09 15:57:22 +02:00
Danil Alexeev 7db019d44d GDScript: Improve PROPERTY_HINT_{ARRAY,DICTIONARY}_TYPE handling 2026-04-09 13:39:57 +03:00
Thaddeus Crews 7524a1814c Merge pull request #118311 from HolonProduction/gdscript/test-dict-type-test
GDScript: Add tests for Dictionary type tests
2026-04-08 17:00:41 -05:00
Nolkaloid 1d165e7ea9 Add keyword code completion option 2026-04-08 20:04:08 +02:00
Thaddeus Crews 6c1f211da0 Merge pull request #118111 from vixxi77/fix-indent-error-line
Fix incorrect line reporting for mixed indentation errors
2026-04-08 09:25:16 -05:00
HolonProduction c5d4e3c10d GDScript: Add tests for Dictionary type tests 2026-04-08 16:04:03 +02:00
Thaddeus Crews 1f5427ab54 Merge pull request #118274 from dalexeev/gds-replace-incorrect-gd-err-break
GDScript: Replace incorrect usage of `GD_ERR_BREAK`
2026-04-07 18:21:47 -05:00