Brian Huynh
360b84bad5
Clarification to the description of Global scope in regards to GDScript
...
Previous wording said that @GDScript referred to entries that could be accessed in any script. Although with common sense we could imagine that it is only refering to GDScript specific pieces of code, the wording is a little unclear.
In general there are small changes to the wording which makes it more clear and concise.
Wording change
Tried to match the wording up with my last change which should make it a bit easier to parse at a glance what the docs mean by "from any script"
Changed language from "not specific to" to "which work in any language"
After consulting multiple people the new wording seems easier to parse, even for non coders
Update doc/classes/@GlobalScope.xml
Update modules/gdscript/doc_classes/@GDScript.xml
Update modules/gdscript/doc_classes/@GDScript.xml
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com >
2024-10-23 02:10:03 -04:00
Thaddeus Crews
55aeff19dc
Merge pull request #98146 from HolonProduction/this-error-does-not-apply-to-unrecognized-annotations
...
GDScript: Fix annotation parsing adding new annotation entries
2024-10-21 16:39:24 -05:00
Thaddeus Crews
5fb22327ee
Merge pull request #97542 from AThousandShips/dict_sort_fix
...
[Core] Fix sorting of `Dictionary` keys
2024-10-21 16:39:05 -05:00
A Thousand Ships
79f654ced5
[Core] Fix sorting of Dictionary keys
...
`StringName` keys were sorted as `StringName` which is unstable.
2024-10-18 08:47:05 +02:00
HolonProduction
140c6a612e
GDScript: Fix annotation parsing adding new annotation entries
2024-10-13 22:43:06 +02:00
Danil Alexeev
0bc59c78de
GDScript: Add missing static default initialization for typed dictionaries
2024-10-11 13:23:34 +03:00
Chaosus
54f6a1bf64
Fix lookup symbol for enum members to search a correct code definition
2024-10-08 22:46:44 +03:00
Haoyu Qiu
8086894a8e
Create .editorconfig file only on project creation
2024-10-05 14:32:55 +08:00
Danil Alexeev
6286f9d21d
GDScript: Fix GDScriptCache::get_full_script() uses non-remapped path
2024-10-03 17:14:44 +03:00
Rémi Verschelde
903c3bc154
Merge pull request #97727 from SlugFiller/llvm-computed-goto
...
Enable use of Labels as Values feature in Clang when not wrapped by GCC
2024-10-02 23:56:48 +02:00
Rémi Verschelde
336d91551d
Merge pull request #97281 from reptofrog/deadzone-new-default
...
Input: Change the default deadzone value for new actions from 0.5 to 0.2
2024-10-02 15:01:02 +02:00
Rémi Verschelde
0b2446101c
Merge pull request #96693 from HolonProduction/annotation-arg-hint
...
Autocompletion: Add arghint for annotations
2024-10-02 15:00:58 +02:00
Rémi Verschelde
7f1f9799c5
Merge pull request #92263 from HolonProduction/autocompletion-get-node-set-value-if-type-compatible
...
Autocompletion: Keep `get_node` values which are compatible with type hint
2024-10-02 15:00:42 +02:00
SlugFiller
f14af8b2d5
Enable use of Labels as Values feature in Clang when not wrapped by GCC
2024-10-02 15:22:37 +03:00
Roman Morozov
d532eecc81
Changed the default deadzone value for new actions from 0.5 to 0.2
2024-10-01 16:47:44 +04:00
Danil Alexeev
85dfd89653
Add @export_tool_button annotation for easily creating inspector buttons
...
Co-authored-by: jordi <creptthrust@gmail.com >
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com >
Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com >
2024-09-27 22:24:15 +01:00
Rémi Verschelde
991e6c92ab
Merge pull request #96923 from Repiteo/style/warning-admonition
...
Style: Add `WARNING:` as new comment admonition
2024-09-26 12:45:38 +02:00
Thaddeus Crews
32c83a228d
Style: Add WARNING: as new comment admonition
2024-09-25 09:44:42 -05:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
Haoyu Qiu
a751c05b15
Fix script editor wrongly replaces and quotes non-ASCII letters
2024-09-23 00:05:16 +08:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format changes
2024-09-20 08:09:48 -05:00
Rémi Verschelde
cf539911f1
Merge pull request #97087 from aaronp64/lambda_capture_alloc
...
Speed up lambda capture handling
2024-09-17 09:18:11 +02:00
aaronp64
e2b6d92e27
Speed up lambda capture handling
...
Updated GDScriptLambdaCallable::call and GDScriptLambdaSelfCallable::call to use alloca instead of Vector when using captures, to avoid extra allocation/copy_on_write calls on each lambda function call.
2024-09-16 15:47:58 -04:00
Rémi Verschelde
964a9ec03b
Merge pull request #96684 from HolonProduction/that-was-a-bit-too-smart
...
LSP: Don't use smart resolve for completion
2024-09-16 15:25:44 +02:00
Rémi Verschelde
41066484ff
Merge pull request #96965 from Repiteo/style/gdscript-editorconfig
...
Style: Consolidate & migrate GDScript `.editorconfig`
2024-09-16 13:35:25 +02:00
Rémi Verschelde
f7daa0fb2f
Merge pull request #96856 from RandomShaper/selfdestruct_correctness
...
Object: Let debug lock handle callee destruction within call chain gracefully
2024-09-16 13:35:06 +02:00
Rémi Verschelde
08c5ce1d9c
Merge pull request #96797 from Repiteo/core/typed-dictionary-bracket-fix
...
Core: Fix `operator[]` for typed dictionaries
2024-09-16 13:35:02 +02:00
Rémi Verschelde
3b714ded01
Merge pull request #96725 from HolonProduction/lsp-omit
...
LSP: Omit some values based on specification version 3.17
2024-09-16 13:34:50 +02:00
Rémi Verschelde
8ebfd89359
Merge pull request #96024 from Ryan-000/expose_get_rpc_config
...
Expose `get_rpc_config` and `get_node_rpc_config`
2024-09-16 13:34:34 +02:00
Pedro J. Estébanez
bb77520599
Object: Add tests about the safety of tail destruction
2024-09-16 09:58:47 +02:00
Hilderin
46edd6df55
Fix script properties reload from external editor
2024-09-14 15:07:53 -04:00
Thaddeus Crews
bf811db6c8
Style: Consolidate & migrate GDScript .editorconfig
...
• Moved to test project root so a new `.editorconfig` isn't constantly generated.
• Disable attributes only in the files which use invalid syntax deliberately
2024-09-13 11:12:17 -05:00
Thaddeus Crews
b3d7960df4
Core: Fix operator[] for typed dictionaries
2024-09-12 11:10:17 -05:00
A Thousand Ships
dd6443193c
[Editor] Expose more editor settings to documentation
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com >
2024-09-12 15:34:49 +02:00
Mikael Hermansson
e120792760
Fix issue with GDScript binary tokens being non-deterministic
2024-09-11 14:58:08 +02:00
Rémi Verschelde
1ff2186fe9
Merge pull request #96666 from aXu-AP/unique-node-no-quotes
...
Remove unneeded quotes from autocomplete % nodes
2024-09-11 12:35:00 +02:00
HolonProduction
4d713d91b5
LSP: Omit some values based on specification version 3.17
2024-09-08 21:07:19 +02:00
HolonProduction
00dfd568e0
Autocompletion: Add arghint for annotations
2024-09-07 20:47:34 +02:00
aXu-AP
2525311538
Remove unneeded quotes from autocomplete % nodes
...
Removes unnecessary quotes for suggestions like $"%MyNode".
2024-09-07 17:49:20 +03:00
HolonProduction
8155c1f836
LSP: Don't use smart resolve for completion
2024-09-07 16:23:25 +02:00
Rémi Verschelde
0b4ae20156
Merge pull request #78656 from Repiteo/typed-dictionary
...
Implement typed dictionaries
2024-09-06 22:38:13 +02:00
Rémi Verschelde
d3be91e6ab
Merge pull request #89675 from dalexeev/gds-correct-unused-signal-warning
...
GDScript: Do not produce `UNUSED_SIGNAL` warning for common implicit uses
2024-09-05 18:34:45 +02:00
Ryan
8835f326b1
Expose get_rpc_config and get_node_rpc_config
...
add documentation
Update doc/classes/Node.xml
change name of get_node_rpc_config to get_rpc_config
Co-Authored-By: moondog <159832633+dog-on-moon@users.noreply.github.com >
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com >
2024-09-04 15:45:22 -04:00
Rémi Verschelde
dbdc4eb204
Merge pull request #96330 from rune-scape/little-regression
...
GDScript: Fix small mistake in script valid checks
2024-09-04 18:55:31 +02:00
Rémi Verschelde
721d280b8a
Merge pull request #96326 from HolonProduction/completion-hacks-and-fixes
...
Autocompletion: Reintroduce enum options on assignment
2024-09-04 18:55:27 +02:00
Thaddeus Crews
9853a69144
Implement typed dictionaries
2024-09-04 10:27:26 -05:00
Rémi Verschelde
13a90e938f
Merge pull request #70096 from rune-scape/stringname-dict
...
StringName Dictionary keys
2024-09-03 17:38:06 +02:00
A Thousand Ships
194bdde947
Cleanup of raw nullptr checks with Ref
...
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
boywaste
7014c5b27d
GDScript: Fix small mistake in script valid checks
2024-08-30 19:41:02 -07:00
Danil Alexeev
49bcdf78a7
Core: Сheck r_error after calling callp()
2024-08-30 21:09:30 +03:00