38af23a654
Merge pull request #89409 from aaronfranke/server-folders
...
Move server files into their subfolders
2025-10-03 12:01:00 -05:00
9281613e76
Merge pull request #98061 from dalexeev/gds-remove-unnecessary-bools
...
GDScript: Remove some unnecessary booleans
2025-10-02 15:11:56 -05:00
5f0ecf4c8c
GDScript: Remove some unnecessary booleans
...
Co-authored-by: HolonProduction <holonproduction@gmail.com >
2025-10-02 13:36:03 +03:00
8f386fd9c4
Merge pull request #110775 from fstxz/preload-comma
...
Allow trailing comma in `preload`
2025-10-01 17:54:19 -05:00
3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
7b5ee98474
Merge pull request #94118 from CrazyRoka/optimize-gdscript-notifications
...
Optimize `GDScriptInstance::notification` for better performance
2025-09-30 20:10:36 -05:00
b9730c0b2e
Merge pull request #110240 from westenral/add_int_division_warnings
...
Add checks for integer vectors for integer division warning
2025-09-30 20:10:33 -05:00
1f7bf131b0
Merge pull request #109298 from HolonProduction/autocompletion-cleanup
...
Autocompletion: Remove duplicate code
2025-09-30 18:35:24 -05:00
8bc1dd63f4
Merge pull request #107936 from mihe/missing-await-warning
...
Add opt-in GDScript warning for when calling coroutine without `await`
2025-09-30 18:35:05 -05:00
bcc0922a20
Optimize GDScriptInstance::notification for better performance
2025-09-30 19:57:35 +01:00
21fd4faf1b
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
...
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
7974cf00e7
Merge pull request #110952 from aaronfranke/skip-cons-then-copy
...
Skip copying values constructed immediately before returning
2025-09-30 11:19:15 -05:00
fdf32d1b2a
Merge pull request #108577 from YYF233333/global_class_list
...
Simplify `ScriptServer::get_global_class_list`
2025-09-30 11:19:10 -05:00
754d49ac81
Skip copying values constructed immediately before returning
2025-09-26 19:13:58 -07:00
e366471fdc
Add GDSOFTCLASS to deeper inheritors of Object
2025-09-24 19:15:56 +01:00
aa2c4fe654
Merge pull request #110717 from Shadows-of-Fire/elide-copy-typed-collection
...
GDScript: Elide unnecessary copies in `CONSTRUCT_TYPED_*` opcodes
2025-09-23 12:08:53 -05:00
f16ff829f0
Allow to use sliders for integers in EditorSpinSlider
2025-09-22 11:23:15 -03:00
94dbc42a56
Merge pull request #62083 from KoBeWi/string_slice'n_dice
...
Improve usage of `String.split()` vs `get_slice()`
2025-09-22 08:50:01 -05:00
a3e0f8dee2
Allow trailing comma in preload
2025-09-22 14:15:12 +04:00
b18beb2cc2
Elide unnecessary copies in CONSTRUCT_TYPED_* opcodes
2025-09-20 00:00:18 -07:00
8265bb8b6a
Merge pull request #110097 from aaronp64/array_tests
...
Add more `Array` tests
2025-09-19 13:07:13 -05:00
d61a337a70
Improve usage of String.split() vs get_slice()
2025-09-19 16:31:55 +02:00
d51c13fdd4
Merge pull request #110397 from mooflu/syntaxhi-110390
...
Don't reset color if the previous token is a number ending with a dot.
2025-09-16 20:29:00 -05:00
abe3b481ae
Make conversions from LocalVector to Vector explicit.
2025-09-16 21:41:28 +02:00
a50fc5acd8
Change ClassDB::get_class_list and related stuff.
2025-09-16 15:00:33 +08:00
4c0026b053
Update links to the contributing section of the docs to the appropriate new sections.
2025-09-12 01:04:14 +02:00
aa8acd1a04
Don't reset color if the previous token is a number ending with a dot.
2025-09-11 11:40:15 -07:00
565e1aaeb9
Add checks for integer vectors for integer division warning
...
Remove warnings for invalid Vectori combinations
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com >
2025-09-04 10:13:05 -04:00
2b855d831d
Add more Array tests
...
Added more tests for Array, focusing on methods exposed to gdscript that didn't have tests.
2025-08-30 13:12:16 -04:00
b432e108d5
Merge pull request #109791 from Talkashie/master
...
Typo cleanup pass
2025-08-21 18:39:37 -05:00
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
fc245d69d2
Merge pull request #109304 from HolonProduction/parse-annoation-early-end-stop
...
GDScript: Don't stop annotation argument parsing at file end
2025-08-20 12:07:16 -05:00
bc7e68dfd1
Typos
2025-08-19 18:32:59 -05:00
b73597292b
Improve error messages for lambda functions without a body
2025-08-18 06:29:20 -07:00
b21e6529e6
[GDScript] Fix range helper method using 32-bit ints for arguments.
2025-08-08 20:22:24 +03:00
97b1bc6bda
Autocompletion: Don't call const functions
2025-08-05 09:03:10 +02:00
0e92dc7b8c
GDScript: Don't stop annotation argument parsing at file end
2025-08-04 17:28:45 +02:00
8ec31b7b3d
Autocompletion: Remove duplicate code
2025-08-04 12:59:22 +02:00
926cab9027
Autocompletion: Push empty call for lambdas
2025-07-25 20:26:26 +02:00
8acc596bcf
Merge pull request #108944 from vnen/gdscript-fix-static-call-fail-when-shadowing
...
Properly detect native class on static call optimization
2025-07-25 11:08:14 -05:00
38f8643b00
GDScript: Properly detect native class on static call optimization
2025-07-25 09:17:39 -03:00
598409b727
Merge pull request #108947 from mihe/gdscript-reload-crash
...
Fix crash when GDScript scripts are reloaded during initial import
2025-07-24 20:49:42 -05:00
81c7cae567
GDScript: Don't get invalid dictionary key during completion
...
We try to get the value out of a dictionary in order to establish its
type for completion purposes. However, if the dictionary or the key
is not a constant, we cannot safely get the actual value, so we skip
this and just try to infer from static typing.
Getting the value directly with `Variant::get()` generate errors if the
base is a Dictionary and the key is of an invalid type. So before trying
to get it we use the Dictionary validator to make sure it we can safely
try to get the key.
2025-07-24 15:02:40 -03:00
809a6cf705
Fix crash when GDScript scripts are reloaded during initial import
2025-07-24 16:41:33 +02:00
25dcf7d2a0
Merge pull request #108306 from Chaosus/gds_fix_super_completion
...
Fix lookup symbol for `super()`
2025-07-17 10:34:48 -05:00
7e9e3b767c
Fix some Text Editor theme issues and clean up
2025-07-15 13:43:30 -04:00
c977b597b8
Merge pull request #107872 from Thought-Weaver/users/loganapple/editor-caret-fix
...
[Autocomplete] Avoid prepending literals when the character has already been typed
2025-07-10 11:39:30 -05:00
c232b7c717
Fix lookup symbol for super()
2025-07-08 16:21:39 +03:00
d4abc211f1
GDScript: Fix autocompletion issues with nested types
2025-07-08 14:48:21 +02:00
216c462277
Initial fix for double caret inserting in NodePath
...
Additional cases where prepending doubles up
Moved code to helper function
Added unit tests
Lookup caret character instead of passing position
Switched to using the parsed type
Adding safety checks and various cleanup
2025-07-07 09:23:32 -07:00