Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-13 | GDScript compiler subclass bugfixes | Rune | |
2022-11-02 | Merge pull request #68125 from ↵ | Rémi Verschelde | |
kleonc/range-fix-single-arg-optimized-type-mismatch [GDScript] Fix type mismatch in optimized single arg `range` | |||
2022-11-02 | GDScript Fix type mismatch in optimized single arg `range` | kleonc | |
2022-11-01 | Support for checking that Projection is(not) null | Rafał Mikrut | |
2022-10-14 | Add STATIC_CALLED_ON_INSTANCE warning to highlight | clayjohn | |
when static functions are called directly from objects | |||
2022-10-13 | Implement RETURN_VALUE_DISCARDED warning in GDscript | clayjohn | |
2022-10-07 | Fix more MSVC C4702 (unreachable code) warnings | Rémi Verschelde | |
2022-10-04 | Improve dictionary printing to avoid confusion with arrays | Hugo Locurcio | |
- Add leading and trailing spaces within dictionaries, as the `{}` characters are hard to distinguish from `[]` on some fonts. This is especially helpful with empty arrays and dictionaries. | |||
2022-08-31 | Improve null and object printing to avoid confusion with arrays | Hugo Locurcio | |
- Use different syntax for object printing to avoid confusion with arrays. - Print null as `<null>` to avoid confusion with a string `"null"`. - Display `<empty>` in editor resource pickers to avoid confusion with array-based properties. | |||
2022-08-29 | Rename String `plus_file` to `path_join` | Aaron Franke | |
2022-08-08 | Add tests for empty/unnamed arguments to ClassDB, Variant, GDScript | Yuri Sizov | |
2022-08-07 | fix(gdscript): Infer type from preload const | Antonio Dell'Annunziata | |
When resolving the type of the attribute from the variant, the result_type.kind was overritten for no reason. It is assumed that this only needs to be done, if the variant value is not valid to have any kind here. Solves #63715 | |||
2022-08-02 | Merge pull request #61315 from lawnjelly/variant_bucket_pools | Rémi Verschelde | |
Variant memory pools | |||
2022-07-25 | Code quality: Fix header guards consistency | Rémi Verschelde | |
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards. | |||
2022-07-06 | Merge pull request #62701 from cdemirer/for-variable-conflict | Rémi Verschelde | |
2022-07-05 | Add grouping annotations for class properties in GDScript | Yuri Sizov | |
2022-07-04 | Variant memory pools | lawnjelly | |
Memory pools via PagedAllocator for Transform2D, Transform3D, Basis and AABB. | |||
2022-07-04 | Do error when for variable conflicts with a variable in scope | cdemirer | |
2022-06-28 | Merge pull request #60675 from voylin/Add-BBCode-support-for-printing-output | Rémi Verschelde | |
Adding print_rich() for printing with BBCode | |||
2022-06-28 | Fix set chain bug with jump_if_shared | cdemirer | |
2022-06-29 | Adding print_rich for printing with BBCode | Voylin | |
2022-06-15 | Merge pull request #59358 from strank/debug-inner-classes | George Marques | |
2022-06-15 | Merge pull request #61666 from nathanfranke/fix-match-bind | George Marques | |
gdscript: use correct error for unused bind match, suppress with underscore | |||
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-06-12 | Extend test_compiler to also disassemble inner classes | strank | |
2022-06-03 | use correct error for unused bind match, suppress with underscore | Nathan Franke | |
2022-05-31 | Merge pull request #61440 from vnen/gdscript-scene-unique-nodes | Rémi Verschelde | |
GDScript: Support `%` in shorthand for `get_node` | |||
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-25 | Merge pull request #61279 from Trioct/fix-typed-array-assignment | Rémi Verschelde | |
2022-05-25 | Fix const typed array assignment | Trioct | |
2022-05-24 | GDScript: Don't show redundant await warning on unknown types | George Marques | |
Also avoid it when the type is known to be a signal. | |||
2022-05-23 | GDScript: Fix lambda captures in default argument values | George Marques | |
2022-05-23 | GDScript: Fix `if` after lambda being seen as ternary | George Marques | |
2022-05-23 | GDScript: Do not allow standalone lambdas | George Marques | |
They cannot be accessed in this case, so an error is shown to avoid misleading the uses, especially in case of named lambdas. | |||
2022-05-18 | Merge pull request #55201 from Scony/fix-unreachable-code-false-positive | Rémi Verschelde | |
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-11 | Merge pull request #59863 from cdemirer/fix-match-multiple-bind-single-pattern | Rémi Verschelde | |
Fix issues with multiple bind patterns in match statement | |||
2022-05-11 | Merge pull request #60732 from CalebJohn/matching_signature_regression_test | Rémi Verschelde | |
2022-05-03 | Add regression test for gdscript valid function signature | CalebJohn | |
Previously, there was an issue where the gdscript analyzer incorrectly riased a validation error for code that had a default Dictionary, Array, or custom type. | |||
2022-05-03 | quote strings inside arrays and dictionaries | Nathan Franke | |
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-27 | Merge pull request #60396 from vnen/gdscript-self-lambda | Rémi Verschelde | |
2022-04-24 | GDScript: Allow using self in lambdas | George Marques | |
2022-04-19 | Fixes GDScript define nested dictionary and array as constants #50285 | PastMoments | |
2022-04-11 | Make FileAccess and DirAccess classes reference counted. | bruvzg | |
2022-04-04 | Merge pull request #59885 from Jayman2000/autoload-inheritance-message | Rémi Verschelde | |
2022-04-04 | Improve autoload inheritance error message | Jason Yundt | |
Autoloaded scripts should always inherit from Node. When you run a project that tries to autoload a script which doesn’t inherit from Node, then Godot gives an error. Before this change, the error said “Script does not inherit a Node”. That error message is a little bit misleading. If a class inherits a Node, then one of its superclasses has a Node. If a class inherits _from_ Node, then one of its superclasses is Node. This change corrects that mistake. Fixes #59884. | |||
2022-04-04 | Zero initialize all pointer class and struct members | Rémi Verschelde | |
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr. | |||
2022-04-04 | Fix issues with multiple bind patterns in match statement | cdemirer | |