Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-13 | GDScript: Fix parsing default parameter values from function calls | strank | |
2022-01-11 | Assign member type when parsing setters to prevent | SaracenOne | |
'Compiler bug: unresolved assign' errors | |||
2022-01-10 | Merge pull request #56260 from ↵ | Rémi Verschelde | |
cdemirer/fix-type-mutation-upon-assignment-with-operation | |||
2022-01-10 | Merge pull request #56287 from ↵ | Rémi Verschelde | |
cdemirer/fix-member-property-only-getter-cant-be-set | |||
2022-01-10 | Merge pull request #56288 from ↵ | Rémi Verschelde | |
cdemirer/fix-member-property-getter-dont-update-subscript-chain-root | |||
2022-01-10 | Fix leak when function returning self type | Ger Hean | |
Leak is caused by cyclic reference | |||
2022-01-03 | Update copyright statements to 2022 | Rémi Verschelde | |
Happy new year to the wonderful Godot community! | |||
2021-12-28 | Fix member properties with getters don't update as subscript chain root | cdemirer | |
2021-12-28 | Fix member properties with only getters can't be set | cdemirer | |
2021-12-27 | Fix type mutation upon compound assignment | cdemirer | |
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-10-14 | GDScript: Make sure calls don't use return when not needed | George Marques | |
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-04 | GDScript fix wrong base class assignment | Brian Semrau | |
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-09-30 | Use range iterators for `Map` | Lightning_A | |
2021-09-29 | GDScript: Fix assignment with operation for properties | 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 | 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 #52323 from vnen/gdscript-singleton-interdependence-fix | Rémi Verschelde | |
Fix loading of interdependent autoloads | |||
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-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-21 | Fix assignment with operator on type member | Julien Nguyen | |
2021-08-18 | GDScript: Fix memory leak when using self class as type | George Marques | |
2021-08-09 | Fix infinite loop when creating a newly inherited GdScript file | Julien Nguyen | |
2021-07-25 | Use const references where possible for List range iterators | Rémi Verschelde | |
2021-07-23 | Use C++ iterators for Lists in many situations | Aaron Franke | |
2021-07-20 | [Net] Single `rpc` annotation. "sync" no longer part of mode. | Fabio Alessandrelli | |
- Move the "sync" property for RPCs to RPCConfig. - Unify GDScript annotations into a single one: - `@rpc(master)` # default - `@rpc(puppet)` - `@rpc(any)` # former `@remote` - Implement three additional `@rpc` options: - The second parameter is the "sync" option (which also calls the function locally when RPCing). One of "sync", "nosync". - The third parameter is the transfer mode (reliable, unreliable, ordered). - The third parameter is the channel (unused for now). | |||
2021-06-19 | Rename `instance()`->`instantiate()` when it's a verb | Lightning_A | |
2021-06-11 | Rename Reference to RefCounted | Pedro J. Estébanez | |
2021-06-10 | Fix regression from 160c260 causing export of non-@export properties. | Lyuma | |
2021-06-01 | Merge pull request #49067 from JFonS/fix_gcc_warnings | Rémi Verschelde | |
Fix some warnings raised by GCC-11.1 | |||
2021-05-26 | GDScript: Use analyzer data to decide assignment conversion | George Marques | |
Since there might be tricky cases in the analyzer (in the case of unsafe lines) which would need to be properly checked again. Instead, this splits the code generator in two functions and use information set by the analyzer to tell which function to use, without a need to re-check. | |||
2021-05-25 | Fix some warnings raised by GCC-11.1 | jfons | |
2021-05-17 | Merge pull request #48347 from Blackiris/fix-temporary-key-not-released | George Marques | |
GDScript: Fix temporary value not released when used as a dictionary key | |||
2021-05-16 | GDScript: Add support for builtin static method calls | George Marques | |
2021-05-06 | Fix temporary value not released when used as a dictionary key | Julien Nguyen | |
2021-04-28 | GDScript: Implement lambdas compilation and runtime | George Marques | |
2021-04-23 | GDScript: Make sure Lua-style dicts use StringName as keys | George Marques | |
2021-04-23 | GDScript: Fix resolution of dictionary keys | George Marques | |
There was a mixup between String and StringName keys. Now they're clearly separated. This also means you have to consider which type you're using for the dictionary keys and how you are accessing them. | |||
2021-04-14 | GDScript: Pool temporary values by type on the stack | George Marques | |
So the stack slots perform less type changes, which is useful for future optimizations. | |||
2021-04-08 | Reduce number of addressing modes in GDScript VM | George Marques | |
There's now only 3 addressing modes: stack, constant, and member. Self, class, and nil are now present respectively in the first 3 stack slots. Global and class constants are moved to local constants when compiling. Named globals is only present on editor to use on tool singletons, so its use now emits a new instruction to copy the global to the stack. This allow us to further optimize the VM later by embedding the addressing modes in the instructions themselves, which is better done with less permutations. | |||
2021-04-06 | Fix stack overflow in setter | Julien Nguyen | |
2021-04-04 | Fix GDScript variables addresses getting mixed | Julien Nguyen | |
2021-03-30 | GDScript: Allow export of enum variables | George Marques | |
Also fix the enum type in variables to be integer. | |||
2021-03-29 | Add typed arrays to GDScript | George Marques | |
- Use `Array[type]` for type-hints. e.g.: `var array: Array[int] = [1, 2, 3]` - Array literals are typed if their storage is typed (variable asssignment of as argument in function all). Otherwise they are untyped. | |||
2021-03-14 | Merge pull request #46936 from DavidSichma/match_temp_header | Rémi Verschelde | |
Fixed match test expression for temporaries | |||
2021-03-12 | Fixed match test expression for temporaries | David Sichma | |
Fixed that a potentially popped temporary was used for the value in match statements. | |||
2021-03-12 | Fixes small typos and grammar correction | Anshul7sp1 | |