Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-16 | Use OrderedHashMap for enum_values | Nathan Franke | |
2021-12-13 | Fix shadowed global identifier warning duplication | Yuri Roubinsky | |
2021-12-09 | Replace String comparisons with "", String() to is_empty() | Nathan Franke | |
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings | |||
2021-12-03 | Fix typo in `gdscript_parser` | Raul Santos | |
2021-11-23 | Rename `remove()` to `remove_at()` when removing by index | Lightning_A | |
2021-11-13 | Allow using built-in names for variables, push warnings instead | Yuri Roubinsky | |
2021-11-10 | Merge pull request #54676 from Chaosus/gds_restrict_names | Rémi Verschelde | |
2021-11-09 | Allow using $/root node paths | Maximilian | |
format fix shadowing use match instead of comparison Update gdscript_parser.cpp | |||
2021-11-08 | Prevent identifiers from naming as built-in funcs and global classes | Yuri Roubinsky | |
2021-10-28 | Merge pull request #54350 from akien-mga/clang-format-dont-align-operands | Rémi Verschelde | |
2021-10-28 | Merge pull request #53526 from KoBeWi/super_print | Rémi Verschelde | |
2021-10-28 | clang-format: Various fixes to comments alignment from `clang-format` 13 | Rémi Verschelde | |
All reviewed manually and occasionally rewritten to avoid bad auto formatting. | |||
2021-10-15 | GDScript: Avoid crash if missing setter signature | George Marques | |
2021-10-11 | Merge pull request #53103 from ZuBsPaCe/gdscript-analyze-properties-fix | George Marques | |
GDScript: Report property type errors | |||
2021-10-11 | Remove redundant String operation from GDScript enum exports | Yuri Sizov | |
2021-10-08 | GDScript: Report property type errors | ZuBsPaCe | |
Inline getters & setters are now FunctionNodes. Their names are set in the parser, not in the compiler. GDScript-Analyzer will now run through getter and setter. Also report wrong type or signature errors regarding getset properties. Added GDScript tests for getters and setters. #53102 | |||
2021-10-08 | [Net] Rename RPCConfig.sync to call_local. | Fabio Alessandrelli | |
For consistency with the other user facing changes. | |||
2021-10-07 | Change print_line() to use any number of Variants | kobewi | |
2021-10-06 | Fix outdated no_call_local, use call_remote | Max Hilbrunner | |
2021-10-02 | GDScript Check for null list in `for` loop | Brian Semrau | |
2021-10-01 | [Net] Rename RPC constants and annotation arguments. | Fabio Alessandrelli | |
any -> any_peer sync -> call_local ordered -> unreliable_ordered Multiplayer.RPC_MODE_ANY -> RPC_MODE_ANY_PEER Multiplayer.TRANSFER_MODE_ORDERED -> TRANSFER_MODE_UNRELIABLE_ORDERED | |||
2021-09-30 | Use range iterators for `Map` | Lightning_A | |
2021-09-21 | Merge pull request #52906 from vnen/gdscript-show-error-on-yield | Rémi Verschelde | |
2021-09-21 | Merge pull request #52905 from vnen/gdscript-single-line-declaration | Rémi Verschelde | |
2021-09-21 | GDScript: Show specific error when "yield" is used | George Marques | |
To help people porting code, it gives a hint to use "await" instead of a generic error. | |||
2021-09-21 | GDScript: Allow classes declaration to be done in single line | George Marques | |
Incidentally, allow multiple statements in single line functions when using semicolon as a terminator. | |||
2021-09-21 | GDScript: Allow multiple lines in signal parameters declaration | George Marques | |
2021-09-17 | GDScript: Properly catch error when missing index in subscript | George Marques | |
2021-09-17 | Merge pull request #51671 from RandomShaper/fix_gdscript_crash | George Marques | |
Fix some GDScript bugs | |||
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 | GDScript: Show error when missing expression after ternary else | George Marques | |
2021-09-15 | GDScript: Show error on unary operators without argument | George Marques | |
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-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-11 | Fix error on parsing statement-less GDScript files, | ThreeRhinosInAnElephantCostume | |
add an empty file warning, add relevant tests. | |||
2021-09-11 | Implement iterator variable typing in GDScript | Pedro J. Estébanez | |
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 | 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 | [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-03 | Added tests for expression matching | ThreeRhinosInAnElephantCostume | |
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 | 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-25 | Fixed crash when parsing an empty assignment. | Louis Dumont | |
Resolves #51620. | |||
2021-08-25 | Fixed pattern matching with expressions | ThreeRhinosInAnElephantCostume | |
2021-08-23 | Merge pull request #51971 from aaronfranke/https | Max Hilbrunner | |
Replace HTTP URLs with HTTPS for sites with HTTPS versions | |||
2021-08-22 | Replace HTTP links with HTTPS for sites with HTTPS versions | Aaron Franke | |