Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-03 | use correct error for unused bind match, suppress with underscore | Nathan Franke | |
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-20 | Add a new HashSet template | reduz | |
* Intended to replace RBSet in most cases. * Optimized for iteration speed | |||
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-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-06 | GDScript: Add support for static method calls in native types | George Marques | |
2022-03-31 | Fix typos with codespell | Rémi Verschelde | |
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns. | |||
2022-03-30 | GDScript: Fix issues with completion and `super` calls | George Marques | |
- Make call errors use the call node instead of the calle, which will be empty on super calls. - Don't allow `super()` to be used within lambdas. | |||
2022-03-22 | Prevent NARROWING_CONVERSION warning for int(float) function in GDScript | Yuri Roubinsky | |
2022-03-22 | Merge pull request #59056 from Chaosus/gds_fix_extends_crash | Yuri Rubinsky | |
2022-03-14 | Fix default value count checking for inherited function | Yuri Roubinsky | |
2022-03-12 | Prevent crash due to empty error message on empty extends in GDScript | Yuri Roubinsky | |
2022-03-07 | Restore building web platform by enclosing resolve_function_signature. | K. S. Ernest (iFire) Lee | |
2022-03-06 | GDScript: Check if method signature matches the parent | George Marques | |
To guarantee polymorphism, a method signature must be compatible with the parent. This checks if: 1. Return type is the same. 2. The subclass method takes at least the same amount of parameters. 3. The matching parameters have the same type. 4. If the subclass takes more parameters, all of the extra ones have a default value. 5. If the superclass has default values, so must have the subclass. There's a few test cases to ensure this holds up. | |||
2022-03-04 | Merge pull request #58185 from V-Sekai/explicit_variant_assignment_fix | Rémi Verschelde | |
2022-03-04 | Merge pull request #58626 from groud/fix_gdscript_analyser_crash | Rémi Verschelde | |
2022-03-03 | Merge pull request #58262 from Sauermann/fix-range-doc | Max Hilbrunner | |
Describe usage of float in range documentation | |||
2022-02-28 | Fix a crash in GDScriptAnalyzer when a script class's file is not found | Gilles Roudière | |
2022-02-22 | Fixes cyclic detection from variables assigning themselves to themselves in ↵ | SaracenOne | |
autocomplete, and restricts initialization of variables from other variables which have not been declared above it in class body | |||
2022-02-18 | Describe usage of float in range documentation | Markus Sauermann | |
2022-02-16 | Fix error when assigning to an explicitly annotated variant from an ↵ | SaracenOne | |
ambiguous source | |||
2022-02-08 | Refactor some object type checking code with `cast_to` | Rémi Verschelde | |
Less stringly typed logic, and less String allocations and comparisons. | |||
2022-02-04 | Merge pull request #57591 from vnen/gdscript-enum-fixes | Rémi Verschelde | |
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-26 | Fix crash with non-constant keys in match statement Dictionary pattern | cdemirer | |
2022-01-17 | Merge pull request #55995 from Xwdit/enum_fix | Rémi Verschelde | |
Fix enum int comparison | |||
2022-01-10 | Merge pull request #56194 from cdemirer/fix-operation-result-type-inference | Rémi Verschelde | |
2022-01-10 | Merge pull request #56232 from V-Sekai/invalid_explicit_variant_assign_fix | Rémi Verschelde | |
2022-01-10 | Merge pull request #56260 from ↵ | Rémi Verschelde | |
cdemirer/fix-type-mutation-upon-assignment-with-operation | |||
2022-01-05 | Merge pull request #56483 from vnen/gdscript-warning-annotation | Rémi Verschelde | |
Add annotation to ignore warnings | |||
2022-01-04 | GDScript: Add annotation to ignore warnings | George Marques | |
2022-01-03 | Update copyright statements to 2022 | Rémi Verschelde | |
Happy new year to the wonderful Godot community! | |||
2021-12-27 | Fix type mutation upon compound assignment | cdemirer | |
2021-12-25 | Fix 'Compiler bug: unresolved assign' on explicitly annotated variants. | SaracenOne | |
2021-12-23 | Fix operation result type inference | cdemirer | |
2021-12-16 | Fix enum int comparison | Xwdit | |
Fix enum int comparison | |||
2021-12-14 | Avoid a crash in the gdscript analyser | Gilles Roudière | |
2021-12-13 | Fix shadowed global identifier warning duplication | Yuri Roubinsky | |
2021-11-23 | Improve various texts | kobewi | |
2021-10-18 | Fix incorrect debug check for setters | Benjamin Navarro | |
the check read the return type of the setter, which doesn't exist and lead to a segmentation fault. Now we check the first function parameter. Probably a bad copy/paste of the getter case | |||
2021-10-15 | Merge pull request #53843 from vnen/gdscript-typed-array-subscript-constant | Rémi Verschelde | |
Fix inferred typed array marked as constant | |||
2021-10-15 | GDScript: Fix inferred typed array marked as constant | George Marques | |
2021-10-14 | GDScript: Fix typing for await expression | George Marques | |
Don't grab the type of the awaited value unless it's constant (which makes it synchronous) or call (which always use the proper return type). | |||
2021-10-14 | GDScript: Remove error when coroutine is called without await | George Marques | |
In the case the call happens as a statement, since the return value isn't used in this case. |