Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-11 | Remove redundant String operation from GDScript enum exports | Yuri Sizov | |
2021-10-09 | Enhance and cleanup stringify for Vector | mashumafi | |
2021-10-08 | Merge pull request #53536 from Faless/mp/4.x_rpc_config | Max Hilbrunner | |
[Net] Add call_local argument to Node.rpc_config. | |||
2021-10-08 | Merge pull request #53336 from briansemrau/gdscript-i'm-not-my-own-local-class | George Marques | |
[GDScript 2.0] fix script base class self-assignment | |||
2021-10-08 | [Net] Rename RPCConfig.sync to call_local. | Fabio Alessandrelli | |
For consistency with the other user facing changes. | |||
2021-10-07 | GDScript: Use getter return type for the property type | George Marques | |
The PropertyInfo hints are more relevant for the inspector. The getter return type is more reliable and less likely to be incorrect and it is what's going to be called in the end. | |||
2021-10-07 | Merge pull request #53422 from KoBeWi/add_LUA_to_Godot | Rémi Verschelde | |
2021-10-07 | GDScript: Fix method ptrcall on release | George Marques | |
2021-10-07 | Merge pull request #53494 from mhilbrunner/stop-drop-and-dont-lie | Rémi Verschelde | |
Fix outdated no_call_local, use call_remote | |||
2021-10-06 | GDScript: Set status on parsing steps beforehand | George Marques | |
To avoid potential dependency cycles. If any happens it will not get into infinite recursion anymore and errors will cascade later on. | |||
2021-10-06 | Fix outdated no_call_local, use call_remote | Max Hilbrunner | |
2021-10-06 | Merge pull request #53479 from vnen/gdscript-subscript-object-self | Rémi Verschelde | |
2021-10-06 | Merge pull request #53478 from vnen/gdscript-avoid-hard-inference | Rémi Verschelde | |
2021-10-06 | GDScript: Allow subscript on self and object types | George Marques | |
2021-10-06 | GDScript: Avoid hard errors on inferred types | George Marques | |
Since inference isn't always correct, they are now treated as unsafe instead of errors. This also removes inferred type when a variable is reassigned. Since it's not aware of branching, the types might become invalid in a later context. | |||
2021-10-06 | GDScript: Make all warnings enabled in test generation | George Marques | |
The test generation doesn't initialize the language (since it's already initialized in main), but it still needs the warning enabled so it matches the actual tests. | |||
2021-10-06 | doc: Update links to latest documentation after content reorganization | Rémi Verschelde | |
2021-10-05 | Fix LUA-style assignment in Dictionary | kobewi | |
2021-10-04 | GDScript fix wrong base class assignment | Brian Semrau | |
2021-10-04 | GDScript: Use path cache when checking preloaded scripts | George Marques | |
The path itself might not always be set in some cases, especially when the script is just created and is already in the resource cache. Using get_path() in this case gets the correct resource path. This also adds a null check for safety in case the path is incorrect or missing, to avoid a crash in the engine. | |||
2021-10-04 | GDScript: Fix member assignment with operation | George Marques | |
It was wrongly updating the assigned value with the result of the operation. | |||
2021-10-04 | Merge pull request #53303 from akien-mga/53295-gdscript-completion-quote-style | Rémi Verschelde | |
2021-10-04 | Merge pull request #53338 from briansemrau/gdscript-handle-for-with-null-list | Rémi Verschelde | |
2021-10-04 | GDScript completion: Handle quote style ad-hoc to remove editor dependency | Rémi Verschelde | |
`core` and `scene` shouldn't depend on `editor`, so they can't query this style setting in `get_argument_options`. But we can handle it after the fact in GDScript's completion code. Also cleans up a couple extra unused invalid includes in `core`. | |||
2021-10-03 | Allow void as return type for constructors | kobewi | |
2021-10-02 | GDScript Check for null list in `for` loop | Brian Semrau | |
2021-10-01 | Merge pull request #53290 from Faless/mp/4.x_opts_names | Fabio Alessandrelli | |
[Net] Rename RPC constants and annotation arguments. | |||
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-10-01 | Fix empty line hover; fix open non-res:// script | Francois Belair | |
2021-10-01 | Merge pull request #38397 from Calinou/doc-range-backwards-example | Rémi Verschelde | |
2021-09-30 | Use range iterators for `Map` | Lightning_A | |
2021-09-30 | Add an example on iterating an array backwards | Hugo Locurcio | |
This closes https://github.com/godotengine/godot-docs/issues/3472. | |||
2021-09-30 | Revert "GdScript: Use reduced constant expression result when doing binary ↵ | Rémi Verschelde | |
operations. Fixes #50293" This reverts commit 62077086076fb99fb7fe014522c44ae83f87dc4d. It broke a GDScript test (which didn't exist back when the PR was made, so was missed prior to the merge). It choked on: ``` prints("a", test_instance.a, test_instance.a == Named.VALUE_A) ``` With: ``` Invalid operands "VALUE_A (enum value)" and "int" for "==" operator. ``` | |||
2021-09-30 | Merge pull request #51818 from MarianoGnu/gdscript2-enum-fixes | Rémi Verschelde | |
2021-09-29 | Merge pull request #53216 from vnen/gdscript-builtin-type-not-id | Rémi Verschelde | |
2021-09-29 | GDScript: Don't allow builtin type names as identifiers | George Marques | |
2021-09-29 | GDScript: Fix assignment with operation for properties | George Marques | |
2021-09-29 | Merge pull request #53092 from Razoric480/lsp-report-_init | Rémi Verschelde | |
2021-09-29 | Make LSP report _init instead of Object::new | Francois Belair | |
2021-09-29 | Merge pull request #52800 from akien-mga/gdscript-remove-exp_range | Rémi Verschelde | |
2021-09-27 | Fix check for freed object during cast | Pedro J. Estébanez | |
2021-09-27 | Fix inverted error messages about null object | Pedro J. Estébanez | |
2021-09-25 | Remove duplicate WorkspaceEdit from LSP | Francois Belair | |
2021-09-25 | Merge pull request #50378 from Razoric480/apply-edit-40 | Rémi Verschelde | |
2021-09-25 | Merge pull request #52849 from KoBeWi/know_no_binds | Rémi Verschelde | |
2021-09-24 | Remove binds from Signal.connect | kobewi | |
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. |