Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-15 | Merge pull request #52706 from vnen/gdscript-ternary-operator-crash | Rémi Verschelde | |
GDScript: Show error when missing expression after ternary else | |||
2021-09-15 | Merge pull request #52705 from vnen/gdscript-error-unary-no-arg | Rémi Verschelde | |
GDScript: Show error on unary operators without argument | |||
2021-09-15 | GDScript: Show error when missing expression after ternary else | George Marques | |
2021-09-15 | Merge pull request #50456 from Blackiris/fix-extends-parent-relative | George Marques | |
Fix extends with relative path to parent script | |||
2021-09-15 | GDScript: Show error on unary operators without argument | George Marques | |
2021-09-15 | Merge pull request #49765 from ↵ | George Marques | |
Blackiris/fix-assignment-with-operator-on-type-member Fix assignment with operator on type member | |||
2021-09-15 | Merge pull request #52582 from ↵ | Rémi Verschelde | |
jmb462/Prevent-non-explicit-inferring-parameter-from-null | |||
2021-09-15 | GDScript: Allow string keys on Lua-style dictionaries | George Marques | |
Which is useful when the key isn't a valid identifier, such as keys with spaces or numeric keys. | |||
2021-09-15 | Merge pull request #48029 from Calinou/gdscript-add-integration-tests | Rémi Verschelde | |
Add dozens of new integration tests to the GDScript test suite | |||
2021-09-14 | Merge pull request #51094 from RandomShaper/error_cast_freed_object | Rémi Verschelde | |
Complain if casting a freed object in a debug session | |||
2021-09-14 | Complain if casting a freed object in a debug session | Pedro J. Estébanez | |
The idea is to give the user a chance to realize a mistake that will cause a crash in a release build (or with no debugger attached). | |||
2021-09-14 | Add dozens of new integration tests to the GDScript test suite | Hugo Locurcio | |
This also ignores `.out` files in the file format static checks. | |||
2021-09-13 | Fix an undefined behaviour | ThreeRhinosInAnElephantCostume | |
2021-09-13 | Merge pull request #52362 from vnen/gdscript-lambda-completion-crash | Rémi Verschelde | |
GDScript: Do not complete lambda arguments from parent class | |||
2021-09-13 | Merge pull request #52632 from vnen/autoload-global-script-class-conflict | Rémi Verschelde | |
Disallow class names to be the same as global names | |||
2021-09-13 | Merge pull request #52323 from vnen/gdscript-singleton-interdependence-fix | Rémi Verschelde | |
Fix loading of interdependent autoloads | |||
2021-09-13 | Fix GDScript test cases | George Marques | |
2021-09-13 | Merge pull request #52100 from vnen/gdscript-access-outer-constants | Rémi Verschelde | |
GDScript: Allow access to outer constant and enum values | |||
2021-09-13 | Merge pull request #52068 from ThreeRhinosInAnElephantCostume/fixgdscript | Rémi Verschelde | |
Fix parse error on statement-less files with only newlines, add a warning for empty files. | |||
2021-09-13 | Disallow class names to be the same as global names | George Marques | |
Also forbid autoloads to have the same name as global script class. | |||
2021-09-11 | Prevent non explicit inferring parameter from null | jmb462 | |
2021-09-11 | Fix error on parsing statement-less GDScript files, | ThreeRhinosInAnElephantCostume | |
add an empty file warning, add relevant tests. | |||
2021-09-10 | GDScript: Removed spurious UNASSIGNED_VARIABLE warning for locals | ZuBsPaCe | |
Variable->assignment needs to be incremented when assigned a value. Also fixed and improved unit test 'variable_declaration.gd'. Fixes #52551 | |||
2021-09-10 | Merge pull request #52063 from KoBeWi/double_comma_of_doom | George Marques | |
Fix crash with consecutive commas in Dictionary | |||
2021-09-10 | Merge pull request #49897 from Blackiris/fix-dollar-point-crash-on-editor | George Marques | |
Fix crash when writing $. in the editor | |||
2021-09-10 | Merge pull request #51456 from SaracenOne/super_init_fix | George Marques | |
Call _init on base class if one does not exist. | |||
2021-09-10 | Fix crash with consecutive commas in Dictionary | kobewi | |
2021-09-10 | Merge pull request #51593 from KoBeWi/if | George Marques | |
Prevent crash when awaiting in a getter/setter | |||
2021-09-10 | Merge pull request #52081 from ThreeRhinosInAnElephantCostume/fixmatchfreeze | George Marques | |
Fix gdscript pattern matching expressions | |||
2021-09-07 | Merge pull request #52267 from williamd67/lookup-symbol-builtin-functions | Max Hilbrunner | |
Show help for built-in functions (@GlobalScope) | |||
2021-09-07 | [Net] Move multiplayer to core subdir, split RPCManager. | Fabio Alessandrelli | |
Move multiplayer classes to "core/multiplayer" subdir. Move the RPCConfig and enums (TransferMode, RPCMode) to a separate file (multiplayer.h), and bind them to the global namespace. Move the RPC handling code to its own class (RPCManager). Renames "get_rpc_sender_id" to "get_remote_sender_id". | |||
2021-09-05 | Fix extends with relative path to parent script | Julien Nguyen | |
2021-09-03 | Merge pull request #52329 from ↵ | Max Hilbrunner | |
ZuBsPaCe/gdscript-unused-private-class-variable-fix GDScript: Fix for UNUSED_PRIVATE_CLASS_VARIABLE | |||
2021-09-03 | GDScript: Count usages of member variables. | ZuBsPaCe | |
Otherwise private member variables will always lead to UNUSED_PRIVATE_CLASS_VARIABLE. | |||
2021-09-03 | Added tests for expression matching | ThreeRhinosInAnElephantCostume | |
2021-09-02 | GDScript: Do not complete lambda arguments from parent class | George Marques | |
Since lambdas are not overriding methods from the parent class, they should not try to check inheritance for signature matching. | |||
2021-09-02 | Check for GDScript member and class naming conflicts in a variety of conditions. | SaracenOne | |
2021-09-01 | GDScript: Fix loading of interdependent autoloads | George Marques | |
Move the autoload resolution to runtime by loading it into the stack with an extra instruction. This allows an autoload to use another autoload singleton independent of load order. | |||
2021-08-30 | Merge pull request #52240 from Rubonnek/rename-rel-path | Juan Linietsky | |
Rename `String::is_rel_path` to `String::is_relative_path` | |||
2021-08-30 | Show help for built-in functions (@GlobalScope) | William Deurwaarder | |
2021-08-29 | Rename String::is_rel_path to String::is_relative_path | Wilson E. Alvarez | |
2021-08-30 | [GDScript] [Net] Allow mixing rpc annotation paramters. | Fabio Alessandrelli | |
The strings no longer needs to be in order. The last parameter (channel), still requires all the other parameters to be present. | |||
2021-08-30 | [Net] Rename RPC "puppet" to "auth" (authority). Drop "master". | Fabio Alessandrelli | |
This commit completely removes the RPC_MODE_MASTER ("master" keyword), and renames the RPC_MODE_PUPPET to RPC_MODE_AUTHORITY ("auth" keyword). This commit also renames the "Node.[get|set]_network_master" methods to "Node.[get|set]_network_authority". This commit also renames the RPC_MODE_REMOTE constant to RPC_MODE_ANY. RPC_MODE_MASTER in Godot 3.x meant that a given RPC would be callable by any puppet peer on the master, while RPC_MODE_PUPPET meant that it would be callable by the master on any puppet. Beside proving to be very confusing to the user (referring to where it could be called instead of who can call it) the RPC_MODE_MASTER is quite useless. It is almost the same as RPC_MODE_REMOTE (anyone can call) with the exception that the network master cannot. While this could be useful to check in some case, in such a function you would anyway need to check in code who is the caller via get_rpc_sender_id(), so adding the check there for those rare cases does not warrants a dedicated mode. | |||
2021-08-28 | Merge pull request #52085 from williamd67/fix-await-without-argument | Hugo Locurcio | |
Print error message when await is not followed by signal or coroutine | |||
2021-08-28 | Merge pull request #52164 from mhilbrunner/gd-style-fixup | Max Hilbrunner | |
GDScript test style fix | |||
2021-08-28 | Print error message when await is not followed by signal or coroutine | William Deurwaarder | |
When await was not followed by a signal or coroutine the GDScript parser would crash. This fix will check if await is followed by a signal or coroutine in case that isn't true (element == nullptr) then an error message is printed. | |||
2021-08-27 | Merge pull request #52122 from V-Sekai/autoload_list | K. S. Ernest (iFire) Lee | |
Use sorted map for autoloads in ProjectSettings to preserve order. | |||
2021-08-27 | GDScript test style fix | Max Hilbrunner | |
2021-08-27 | Merge pull request #52090 from balloonpopper/bug52060 | Max Hilbrunner | |
Correct null and boolean values being capitalised by the str command | |||
2021-08-27 | Merge pull request #52105 from ldmnt/master | Hugo Locurcio | |