Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-03 | Merge pull request #70702 from vnen/gdscript-error-on-assign-void | Rémi Verschelde | |
GDScript: Error when assigning return value of void function | |||
2023-01-03 | Merge pull request #70503 from rune-scape/inner-class-docs | Rémi Verschelde | |
Inner classes get their docs back | |||
2022-12-30 | GDScript: Error when assigning return value of void function | George Marques | |
This also makes built-in method calls empty the return value when the method is void, to avoid keeping returning a garbage value in such case. | |||
2022-12-28 | Fix usage of Enum as constant | Dmitrii Maganov | |
2022-12-23 | Inner classes get their docs back | rune-scape | |
2022-12-23 | Merge pull request #69991 from rune-scape/cast-type | Rémi Verschelde | |
GDScript: Fix cast producing null | |||
2022-12-15 | GDScript: Fix built-in script and other `find_class` bugs | rune-scape | |
2022-12-14 | GDScript: Allow out of order member resolution | rune-scape | |
2022-12-12 | GDScript: Fix cast producing null | rune-scape | |
2022-12-11 | Add GDScript member initializer implicit type conversion | ocean (they/them) | |
2022-12-10 | Merge pull request #69467 from rune-scape/rune-subclass-script-path | Rémi Verschelde | |
GDScript: Fix subclass script path issues | |||
2022-12-09 | Merge pull request #68747 from rune-scape/rune-stringname-unification | Rémi Verschelde | |
GDScript: Unify StringName and String | |||
2022-12-05 | Unify String and StringName | rune-scape | |
2022-12-06 | Fix incomplete shadowing of member properties by parameters | Dmitrii Maganov | |
2022-12-01 | GDScript: Fix subclass script path issues | rune-scape | |
2022-11-28 | Reset unassigned local variables to null in the loops | Yuri Rubinsky | |
2022-11-27 | Fix cyclic reference base being loaded but not valid (which is ok) | Adam Scott | |
2022-11-18 | Fix cyclic references in GDScript 2.0 | Adam Scott | |
2022-11-15 | GDScript Compiler: regression fix | Rune | |
2022-11-13 | GDScript compiler subclass bugfixes | Rune | |
2022-11-08 | Fix named enums to use int64 type | Yuri Rubinsky | |
2022-10-07 | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵ | bruvzg | |
change warnings=all to use /W4. | |||
2022-09-24 | Remove redundant "if" condition in GDScriptCompiler::_parse_function() | Andy Maloney | |
Looking at the original PR, I believe this is the original intent, but it now means that previously dead code is now executed. | |||
2022-07-26 | [Net] Modularize multiplayer, expose MultiplayerAPI to extensions. | Fabio Alessandrelli | |
- RPC configurations are now dictionaries. - Script.get_rpc_methods renamed to Script.get_rpc_config. - Node.rpc[_id] and Callable.rpc now return an Error. - Refactor MultiplayerAPI to allow extension. - New MultiplayerAPI.rpc method with Array argument (for scripts). - Move the default MultiplayerAPI implementation to a module. | |||
2022-07-18 | Check for parameters shadowing class members | cdemirer | |
2022-07-05 | Add grouping annotations for class properties in GDScript | Yuri Sizov | |
2022-06-28 | Fix set chain bug with jump_if_shared | cdemirer | |
2022-06-27 | Merge pull request #62462 from vnen/gdscript-setter-chaining | Rémi Verschelde | |
GDScript: Fix setter being called in chains for shared types | |||
2022-06-27 | GDScript: Fix setter being called in chains for shared types | George Marques | |
When a type is shared (i.e. passed by reference) it doesn't need to be called in a setter chain (e.g. `a.b.c = 0`) since it will be updated in place. This commit adds an instruction that jumps when the value is shared so it can be used to skip those cases and avoid redundant calls of setters. It also solves issues when assigning to sub-properties of read-only properties. | |||
2022-06-24 | GDScript: Use implicit method for @onready variables | George Marques | |
Initialize them with the implicit method so they're not related to the overriding of the `_ready` method of the script but instead are always set. | |||
2022-06-24 | GDScript: Don't add implicit constructor to the list of functions | George Marques | |
So it's not shown on docs or when listing the methods. This also avoids being able to call it using the `call()` function. | |||
2022-06-17 | Make enum/constant binds 64-bit. | bruvzg | |
2022-06-14 | Merge pull request #57151 from cdemirer/fix-match-array-dict-pattern-logic-error | George Marques | |
Fix logic errors in match-statement Array & Dictionary patterns | |||
2022-05-27 | GDScript: Support `%` in shorthand for `get_node` | George Marques | |
The `%` is used in scene unique nodes. Now `%` can also be used instead of `$` for the shorthand, besides being allowed generally anywhere in the path as the prefix for a node name. | |||
2022-05-18 | Fix crash when extending inner class in GDScript | Yuri Rubinsky | |
2022-05-16 | Replace most uses of Map by HashMap | reduz | |
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated! | |||
2022-05-12 | Add a new HashMap implementation | reduz | |
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<> | |||
2022-05-03 | Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>` | Hugo Locurcio | |
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors. | |||
2022-04-24 | GDScript: Allow using self in lambdas | George Marques | |
2022-04-08 | GDScript: Fix method call on singletons | George Marques | |
2022-04-06 | GDScript: Add support for static method calls in native types | George Marques | |
2022-03-04 | Merge pull request #56830 from strank/parent-signals | Rémi Verschelde | |
2022-03-04 | Merge pull request #58320 from mphe/fix_object_typed_arrays | Rémi Verschelde | |
2022-03-02 | Fix logic errors in match-statement Array & Dictionary Patterns | cdemirer | |
2022-02-19 | Fix typed arrays for Object based types | Marvin Ewald | |
Fixes https://github.com/godotengine/godot/issues/53771. | |||
2022-02-17 | Fix using typed arrays based on script classes | SaracenOne | |
2022-02-11 | Fix "Identifier not found" compiler error when accessing inherited signals ↵ | strank | |
or functions as callables. | |||
2022-02-03 | GDScript: Treat enum values as int and enum types as dictionary | George Marques | |
Since enums resolve to a dictionary at runtime, calling dictionary methods on an enum type is a valid use case. This ensures this is true by adding test cases. This also makes enum values be treated as ints when used in operations. | |||
2022-02-03 | GDScript: Consolidate behavior for assigning enum types | George Marques | |
This makes sure that assigning values to enum-typed variables are consistent. Same enum is always valid, different enum is always invalid (without casting) and assigning `int` creates a warning if there is no casting. There are new test cases to ensure this behavior doesn't break in the future. | |||
2022-01-13 | GDScript: Fix parsing default parameter values from function calls | strank | |