Commit graph

3776 commits

Author SHA1 Message Date
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
Thaddeus Crews
5c31213797
Merge pull request #114620 from HolonProduction/gdscript/its-OK-to-be-not-OK
GDScript: Don't return wrong result for already completed solving state
2026-01-26 15:01:50 -06:00
Thaddeus Crews
032f5bea89
Merge pull request #115302 from cdemirer/fix-super-at-end-error-messages
GDScript: Push multiline at the correct time when parsing `super`
2026-01-26 13:14:30 -06:00
Thaddeus Crews
982eaef37d
Merge pull request #115278 from MattiaZir/fix-while-null-node-condition
Parser: Fix "trying to resolve type of null node" when missing condition.
2026-01-26 13:14:25 -06:00
Thaddeus Crews
f5d21bfa9c
Merge pull request #113228 from dalexeev/gds-improve-const-eval-array-dict
GDScript: Improve evaluation of constant expressions with arrays/dictionaries
2026-01-26 13:14:24 -06:00
Mattia Zirpoli
372c522ce1 Parser: Fix "trying to resolve type of null node" when missing condition. 2026-01-26 18:14:50 +01:00
cdemirer
3694d22db3 Push multiline at the correct time when parsing super 2026-01-23 17:15:29 +03:00
LanzaSchneider
3ad42d859e Fix: GDScript LSP test compilation condition 2026-01-15 21:27:27 +08:00
Rémi Verschelde
8d69b6b89e
Merge pull request #114801 from HolonProduction/gdscrip/explicit-leak
GDScript: Don't clean up other scripts
2026-01-13 00:08:53 +01:00
Danil Alexeev
6d06b3a7d6
GDScript: Improve evaluation of constant expressions with arrays/dictionaries 2026-01-12 11:59:38 +03:00
Rémi Verschelde
2d0a589777
Merge pull request #114808 from dalexeev/core-fix-implicit-conv-in-container-type-validate
Core: Fix implicit conversions in `ContainerTypeValidate`
2026-01-09 22:57:20 +01:00
Danil Alexeev
37f09e579e
Core: Fix implicit conversions in ContainerTypeValidate 2026-01-09 22:54:08 +03:00
HolonProduction
970aeae3a0 GDScript: Don't cleanup other scripts 2026-01-09 17:38:52 +01:00
HolonProduction
9d90a6794c LSP: Reuse stale parsers in request 2026-01-09 15:45:18 +01:00
HolonProduction
ae68ee4940 GDScript: Cache invalid scripts 2026-01-07 18:16:26 +01:00
HolonProduction
43a1a9464f GDScript: Only move root scripts in cache 2026-01-06 18:45:16 +01:00
HolonProduction
83409fc50f GDScript: Don't return wrong result for already completed solving state 2026-01-05 12:23:16 +01:00
Max Aller
e304b4e43e
GDScript: Fix incorrect default transfer_mode for @rpc annotation
The `@rpc` annotation was registered with "unreliable" as the default
transfer_mode, but the runtime (SceneRPCInterface) defaults to
TRANSFER_MODE_RELIABLE. This caused a mismatch between the documented
default and the actual behavior when using Node.rpc_config().

Changed the parser default to "reliable" to match the runtime behavior
and C# RpcAttribute. Added comments in all three locations to help
prevent future drift.

Fixes godotengine/godot-docs#8874
Related docs fix: godotengine/godot-docs#11554
2026-01-01 11:46:24 +01:00
HolonProduction
a1fb9daae1 LSP: Fix infinite recursion in symbol calculation 2025-12-28 19:11:29 +01:00
M4rchyS
38beb1c94b Fix GDScript extends path recursion to itself 2025-12-17 16:30:53 +01:00
Thaddeus Crews
d9f938775d
Merge pull request #105236 from HolonProduction/lsp-sync
LSP: Rework management of client owned files
2025-12-16 20:32:57 -06:00
Pāvels Nadtočajevs
1ca8f1d7f6
Update ICU to 78.1 2025-12-13 00:04:35 +02:00
Rémi Verschelde
3ee5620c73
Merge pull request #113632 from Ivorforce/tracy-profile-opcodes
Add support for profiling system calls from GDScript with the tracy integration.
2025-12-09 20:21:37 +01:00
Lukas Tenbrink
2098998347 Add tracy support for profiling opcodes. 2025-12-05 16:05:07 +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
Thaddeus Crews
0755f096e0
Merge pull request #113512 from adamscott/PROPERTY_HINT_MULTILINE_TEXT_monospace-hint
Add new monospace related hint strings
2025-12-03 21:01:58 -06:00
Thaddeus Crews
f6b3803900
Merge pull request #109345 from HolonProduction/resource-cache-shall-shun-shallow
Prevent shallow scripts from leaking into the `ResourceCache`
2025-12-03 21:01:56 -06:00
Adam Scott
10c7cb878a
Add new monospace related hint strings
- Add hint string `monospace` for `PROPERTY_HINT_{NONE,PASSWORD,PLACEHOLDER_TEXT}` to set the `LineEdit` font monospaced.
- Add hint string `monospace` for `PROPERTY_HINT_MULTILINE_TEXT` to set the `TextEdit` font monospaced.
- Add hint string `no_wrap` for `PROPERTY_HINT_MULTILINE_TEXT` to make the `TextEdit` not wrap lines automatically.

Also:
- Fix issue with `EditorPropertyMultilineText` not updating font properly.
- Add `EditorPropertyMultilineText` tweak flags.
- Add support with GDScript `@export_multiline`.
2025-12-03 12:57:40 -05:00
Micky
14ede94a76
Use ScriptExportMode enum in EditorExportPreset 2025-12-03 09:21:50 +01:00
Rémi Verschelde
71d4ded745
Merge pull request #113279 from Ivorforce/tracy-gdscript-codeloc
Add support for profiling GDScript with tracy.
2025-12-02 14:16:56 +01:00
Lukas Tenbrink
acefbbbbcd Add support for profiling GDScript with tracy.
This adds macro `GodotProfileZoneGroupedFirstScript`, and uses interning for speedy lookups.

Co-authored-by: Samuel Nicholas <nicholas.samuel@gmail.com>
2025-11-28 16:36:36 +01:00
Brian Petkovsek
0d9ff70296
Fix documentation typos and broken links 2025-11-27 12:24:58 +01:00
George Marques
501c5b0900
GDScript: Make check for exposed classes more consistent
Some places were already checking if classes from ClassDB were exposed,
while others didn't. This makes the check more consistent to avoid
disparities which can lead to crashes.
2025-11-25 12:24:18 -03:00
Thaddeus Crews
1788983ee8
Merge pull request #113031 from HolonProduction/lets-put-a-hack-on-top-the-hack
LSP: Improve insertion algorithm for resolving completion options
2025-11-25 07:06:50 -06:00
Nathan Lovato
cd2bd8f624 GDScript LSP: Rework and extend BBCode to markdown docstring conversion
The original implementation was minimal and produced docstrings with poor formatting and no line returns in code editors other than VSCode.

Co-authored-by: HolonProduction <holonproduction@gmail.com>
2025-11-24 11:39:58 +01:00
HolonProduction
4cc88e5175 LSP: Rework management of client owned files 2025-11-22 19:17:15 +01:00
HolonProduction
14cde0fa10 LSP: Improve insertion algorithm for resolving completion options 2025-11-22 01:03:38 +01:00
Thaddeus Crews
e873576d71
Merge pull request #111878 from mu3657/master
Fix: Add Variant to type autocompletion
2025-11-21 14:46:44 -06: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
Thaddeus Crews
f41c8464cc
Merge pull request #112770 from KoBeWi/underscore_undercover
Don't expose underscored signals
2025-11-17 19:36:07 -06:00
Thaddeus Crews
b651fc3204
Merge pull request #93889 from dalexeev/gds-exclude-addons-exceptions-setting
GDScript: Add `debug/gdscript/warnings/directory_rules` project setting
2025-11-17 10:56:51 -06:00
kobewi
54c2eaee4d Don't expose underscored signals 2025-11-14 18:52:42 +01:00
Cyril Bissey
3905392596 Add string placeholder syntax highlighting 2025-11-13 14:14:08 +01:00
Danil Alexeev
1bd7b99182
GDScript: Add debug/gdscript/warnings/directory_rules project setting 2025-11-12 12:20:34 +03:00
Thaddeus Crews
d0babb8453
Merge pull request #111172 from HolonProduction/rm-subclass-count
Remove unused `GDScript::subclass_count`
2025-11-10 08:20:13 -06:00
Thaddeus Crews
ea1aec2c1c
Merge pull request #112193 from KnifeXRage/autoload_with_uids
Autoloads with UIDs
2025-11-10 08:20:12 -06:00
Thaddeus Crews
fae64fbbd2
Merge pull request #111490 from HolonProduction/rm-base
Remove raw base pointer from `GDScript`
2025-11-07 10:32:25 -06:00
Aditya Raj
d940614595 Autoloads with UIDs 2025-11-07 21:08:54 +05:30
mu3657
f428358c69 Fix: Add Variant to type autocompletion and filter out Nil option in autocompletion 2025-11-03 19:10:17 +08:00