Danil Alexeev
a13fbc6e3e
GDScript: Optimize non-constant for-range
2025-06-09 22:04:39 +03:00
Thaddeus Crews
3b963ab8b6
Merge pull request #105081 from dalexeev/gds-add-export-tool-button-autocompletion
...
GDScript: Add autocompletion for `@export_tool_button`
2025-06-09 12:31:43 -05:00
Thaddeus Crews
86415f1732
Merge pull request #99150 from dalexeev/gds-fix-callable-call-errror-text
...
GDScript: Fix `Callable` call error text
2025-06-09 12:31:39 -05:00
Danil Alexeev
a7cf2069d5
GDScript: Add abstract methods
...
Co-authored-by: ryanabx <ryanbrue@hotmail.com >
2025-06-09 20:11:58 +03:00
Rémi Verschelde
fb59a99244
Merge pull request #106198 from SatLess/User-Func-Autocomplete
...
Add code completion for user-defined methods when overriding in GDScript
2025-06-09 00:44:22 +02:00
Sat
fc4df4b17d
Added working version for user-defined function autocompletion
2025-06-08 07:01:35 -03:00
kobewi
13f642d959
Replace XML codeblock spaces with tabs
2025-06-06 14:35:38 +02:00
Rémi Verschelde
61639d9574
Merge pull request #106996 from Ivorforce/no-oa-hashmap
...
Core: Remove `OAHashMap`, in favour of `AHashMap`
2025-06-05 13:12:34 +02:00
Rémi Verschelde
0518bd5fee
Merge pull request #106683 from dalexeev/gds-remove-leftmost-rightmost-column
...
GDScript: Remove `leftmost_column` and `rightmost_column` fields
2025-06-05 13:12:02 +02:00
Aaron Franke
5777a88b76
Support 64-bit sizes in Compression
2025-06-03 00:03:01 -07:00
Lukas Tenbrink
963c20565b
Remove OAHashMap, in favour of AHashMap.
...
The two types had (mostly) the same decisions, but `AHashMap` is a faster implementation, and is more consistent with `HashMap`.
2025-05-31 15:50:10 +02:00
Lukas Tenbrink
a6664af0d6
Fix infinite recursion on GDScriptTests if a script cannot be reloaded.
2025-05-30 21:33:35 +02:00
Thaddeus Crews
eef13d5ae7
Merge pull request #105347 from HolonProduction/lsp-utf8
...
LSP: Account for unicode identifiers
2025-05-28 09:47:29 -05:00
Thaddeus Crews
91b3a26438
Merge pull request #106848 from Faless/mp/rpc_config_revert
...
Expose `get_rpc_config` and `get_node_rpc_config`
2025-05-27 09:39:32 -05:00
Thaddeus Crews
63dff62948
Merge pull request #100673 from RandomShaper/res_duplicate
...
Overhaul resource duplication
2025-05-27 09:39:25 -05:00
Pedro J. Estébanez
6841b45552
Add tests for resource duplication
2025-05-26 17:05:04 +02: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
Thaddeus Crews
ee82adcf04
Merge pull request #105413 from HolonProduction/gdscript-recover-match
...
GDScript: Do phrase level recovery for match
2025-05-23 09:46:10 -05:00
Thaddeus Crews
7a0ab9d561
Merge pull request #106485 from limbonaut/fix-release-backtrace-line-numbers
...
Fix script backtrace reporting wrong line numbers in release exports
2025-05-22 12:15:10 -05:00
Serhii Snitsaruk
67d97dab5b
Fix crash on exit due to GDScript CallStack mismatched deallocation
2025-05-21 21:20:39 +02:00
Serhii Snitsaruk
e06541eb4c
Fix backtrace reporting wrong line numbers in release exports
2025-05-21 17:50:01 +02:00
Danil Alexeev
7aafa6ef18
GDScript: Remove leftmost_column and rightmost_column fields
2025-05-21 18:16:20 +03:00
Thaddeus Crews
2bf7ac76cf
Merge pull request #106456 from Repiteo/style/remove-DEBUG_METHODS_ENABLED
...
Style: Remove redundant `DEBUG_METHODS_ENABLED` macro
2025-05-19 08:01:35 -05:00
Yufeng Ying
1384e82c2c
Improve ScriptLanguage get keyword API.
2025-05-17 18:43:19 +08:00
Thaddeus Crews
d237e31a89
Style: Remove redundant DEBUG_METHODS_ENABLED
...
• Replaced with functionally identical and far more ubiquitous `DEBUG_ENABLED`
2025-05-15 13:09:41 -05:00
Thaddeus Crews
1c4b660312
Merge pull request #96611 from Dynamic-Pistol/master
...
Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
2025-05-13 16:22:25 -05: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
Rémi Verschelde
06a1e5a06b
Merge pull request #103709 from YYF233333/gds_call_state
...
Remove dead code in GDScript function `CallState`
2025-05-13 01:04:26 +02:00
Yufeng Ying
5484ec0be2
Remove deadcode in GDScript function CallState.
2025-05-09 19:07:50 +08:00
kobewi
9e0203a58a
Don't synchronize scripts with errors
2025-05-08 17:29:15 +02:00
Thaddeus Crews
aa1ca2b244
Merge pull request #93517 from Repiteo/core/nodiscard-strings
...
Core: Add `[[nodiscard]]` to string-like classes/structs
2025-05-07 12:48:27 -05:00
Thaddeus Crews
6d3f91896d
Merge pull request #104729 from Meorge/bugfix/warning-grammar-fixes
...
Fix a few GDScript warning messages for grammar and consistency
2025-05-07 12:48:25 -05:00
Malcolm Anderson
d8db03e31a
Fix a few GDScript warning messages for grammar and consistency
...
Regenerate test results
Improve warning message for `INT_AS_ENUM_WITHOUT_CAST`
Improve `REDUNDANT_AWAIT` message and regenerate tests
Allow warning message for UNASSIGNED_VARIABLE_OP_ASSIGN to display specific operator
Remove "being" from some messages to make them consistent and clearer
Update expected test results
Use Variant::get_operator_name for determining string representation of operator instead of big switch-case
Update tests
Update modules/gdscript/gdscript_warning.cpp
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru >
Update tests... again
2025-05-06 20:28:01 -07:00
kit
6d56d2d05e
Fix tests that fail when alone
2025-05-06 13:48:16 -04:00
Thaddeus Crews
579feb387c
Core: Add [[nodiscard]] to string-like classes
2025-05-06 12:23:41 -05:00
Danil Alexeev
2b30f23595
GDScript: Fix Callable call error text
2025-05-02 18:30:35 +03: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
f4f1471b57
Merge pull request #105910 from lawnjelly/global_get_fast4
...
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05:00
Thaddeus Crews
b2829f3256
Merge pull request #105897 from akien-mga/mingw-remove-undef-hacks
...
Remove WinAPI `#undef` hacks needed for mingw-std-threads
2025-04-30 09:18:42 -05:00
lawnjelly
f8f350a32a
Add GLOBAL_GET cached macros.
...
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com >
2025-04-30 15:08:50 +01:00
Thaddeus Crews
83d98f02e3
Merge pull request #105415 from HolonProduction/hardcoded-braces
...
Autocompletion: Remove additional parenthesis from utility function options
2025-04-29 11:24:06 -05:00
Rémi Verschelde
c019b76523
Remove WinAPI #undef hacks needed for mingw-std-threads
...
Instead, we rename the conflicting symbols.
2025-04-29 14:24:03 +02:00
Thaddeus Crews
c87f23ce7d
Merge pull request #89324 from KoBeWi/pandora's_can_of_worms
...
Allow exporting variables of type Variant
2025-04-28 10:01:33 -05:00
Lukas Tenbrink
bfdb0f0ecf
Fix various sanitizer issues.
2025-04-28 15:23:35 +02:00
Thaddeus Crews
faab991792
Merge pull request #105842 from bruvzg/stack_leak
...
Fix GDScript stack leak.
2025-04-27 19:21:32 -05:00
Pāvels Nadtočajevs
89c55f638d
Fix GDScript stack leak.
2025-04-27 23:15:35 +03:00
Thaddeus Crews
dc9c34f0c6
SCons: Add enum conversion warning
2025-04-26 12:06:20 -05:00
Malcolm Anderson
5c662f7707
Add errors for keywords removed in Godot 4
...
Update modules/gdscript/gdscript_parser.cpp
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru >
Improve error message
Add tests
Add errors for other removed keywords
Remove very old keywords and improve wording of errors
2025-04-24 22:32:34 -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
reduz
d1dcb40d56
Ability to print and log script backtraces
...
Co-authored-by: Mikael Hermansson <mikael@hermansson.io >
2025-04-24 18:54:41 +02:00