Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-26 | GDScript: Don't clear depended parsers too soon | George Marques | |
It can wait until the analyzer itself is destructed, otherwise other phases might be using freed parsers. | |||
2020-11-26 | GDScript: Give an error if dependency can't be parsed | George Marques | |
Otherwise this may lead to a crash when the dependency is not present. | |||
2020-11-25 | GDScript: Fix range() being treated as array when optimized out | George Marques | |
The call of range() in a for loop is optimized to use int or vectors, to avoid allocating an array, however the type was set as array still. With the new typed VM this is an issue as the type mismatch the actual value, resulting in wrong instructions to be selected. | |||
2020-11-09 | Variant: Rename Type::_RID to Type::RID | Rémi Verschelde | |
The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`. | |||
2020-11-09 | Refactored variant constructor logic | reduz | |
2020-11-07 | Reorganized core/ directory, it was too fatty already | reduz | |
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code | |||
2020-11-07 | Refactored variant setters/getters | reduz | |
-Discern between named, indexed and keyed -Get direct access to functions for typed GDScript and GDNative bindings -Small changes to some classes in order to work with the new setget binder | |||
2020-11-03 | Merge pull request #41516 from Lunatoid/allow-object-new | Rémi Verschelde | |
Fixed ParseError when calling Object.new() | |||
2020-10-20 | Merge pull request #41983 from ThakeeNathees/array-const-folding-bug-fix | George Marques | |
Array/Dictionary Nodes no more reduced to array/dictionary variant | |||
2020-09-18 | Fix typos with codespell | Rémi Verschelde | |
Using codespell 1.17.1. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ``` | |||
2020-09-11 | Array/Dictinoary no more reduced to array/dictionary variant | Thakee Nathees | |
Fix: #41377 Fix: #20436 Fix: #41953 | |||
2020-09-08 | Merge pull request #41709 from ThakeeNathees/dictionary-indexing-bug-fix | Rémi Verschelde | |
Fixed parser error when indexing a dictionary. | |||
2020-09-06 | GDScript: parameter infer type bug fix | Thakee Nathees | |
Fix: #41772 | |||
2020-09-03 | fixed parser error when indexing a dictionary. | Thakee Nathees | |
Fix: #41707 | |||
2020-09-02 | Fixed ParseError when calling Object.new() | Lunatoid | |
Fixes #41462 where calling Object.new() in GDScript gave an error. I fixed it by adding exclusion when checking if the name is a builtin type to exclude objects with a comment detailing why. | |||
2020-09-01 | Change GDScript compiler to use codegen abstraction | George Marques | |
2020-09-01 | GDScript: Don't mark function parameters as constant | George Marques | |
They can be reassigned as if it were a local variable. | |||
2020-09-01 | GDScript: Properly set class inheritance for global classes | George Marques | |
2020-09-01 | GDScript: Fix analysis of singleton dependencies | George Marques | |
Sometimes a singleton might depend on another before they are fully compiled so we can't rely on globals in this case. | |||
2020-09-01 | GDScript: Don't try to parse constant scripts that aren't valid | George Marques | |
Since it's likely that they won't parse correctly. | |||
2020-08-26 | GDScript: Show error when there's an inheritance cycle | George Marques | |
2020-08-26 | GDScript: Fix issues when deriving from other scripts | George Marques | |
2020-08-23 | GDScript: Properly resolve external inner classes from preload | George Marques | |
This gets the correct parser and class node when resolving from a full GDScript reference. | |||
2020-08-23 | Merge pull request #41238 from MarianoGnu/gdscript-export-resource | George Marques | |
Fix GdScript Analyzier not detecting Resource subclass correctly | |||
2020-08-19 | GDScript: Make subscript access be properly type checked | George Marques | |
2020-08-19 | GDScript: Check duplicate keys in dictionaries and enums | George Marques | |
2020-08-19 | GDScript: Allow preload() to be used with constant expressions | George Marques | |
2020-08-18 | GDScript: Allow enum values to be set to constant expressions | George Marques | |
Also allow them to access previous values wihout referencing the enum. | |||
2020-08-18 | GDScript: Allow supertype objects to be assigned to a subtype variable | George Marques | |
It allows `get_node()` to be used with typed variables This is marked as unsafe to warn the user. | |||
2020-08-18 | GDScript: Allow implicit type conversion when constructing variants | George Marques | |
Incidentally fix error message when no valid constructor is found which was missing an end parenthesis. | |||
2020-08-17 | GDSript: Prevent crash when completing unary operators | George Marques | |
2020-08-17 | GDScript: Fix wrong argument check for formatting operator | George Marques | |
2020-08-13 | Fix GdScript Analyzier not detecting Resource subclass correctly | Mariano Suligoy | |
2020-08-12 | Merge pull request #41104 from vnen/gdscript-assignment-tidy | George Marques | |
Tidy up assignment operator check | |||
2020-08-11 | Merge pull request #41055 from snichols/null-callee-fix | Rémi Verschelde | |
Fix crash with null callee | |||
2020-08-08 | Merge pull request #40673 from ThakeeNathees/gdscript-op-eval-validation | George Marques | |
GDScript operator evaluation validation bug fix | |||
2020-08-08 | Merge pull request #40951 from bruvzg/gds_cleanup | George Marques | |
[GDScript] Add static HashMap cleanup. | |||
2020-08-08 | GDScript: Tidy up assignment operator check | George Marques | |
The operator is already gathered by the parser, no need to do it again in the analyzer. | |||
2020-08-06 | GDScript: unsafe arithmetic assignment bug fix | Thakee Nathees | |
Fix: #41051 | |||
2020-08-05 | Fixing null callee crash. | Stephen Nichols | |
2020-08-03 | Merge pull request #40690 from ↵ | George Marques | |
ThakeeNathees/arithmetic-assign-type-check-bug-fix GDScript arithmetic assignment type check bug fix | |||
2020-08-03 | Fixed tiny grammar issues in error messages | unknown | |
2020-08-01 | [GDScript] Add static HashMap cleanup. | bruvzg | |
2020-07-29 | GDScript: Fix crash caused by inconsistent get_member | Lyuma | |
2020-07-27 | GDScript: Fix crash on 'await' completion | George Marques | |
2020-07-26 | GDScript: "Object" datatype changed from BUILTIN to NATIVE | Thakee Nathees | |
Fix: #40656 | |||
2020-07-26 | GDScript arithmetic assignment type check bug fixed | Thakee Nathees | |
Fix: #40686 | |||
2020-07-24 | GDScript operator evaluation validation bug fix | Thakee Nathees | |
Fix: #40665 | |||
2020-07-22 | Wrap up GDScript 2.0 base implementation | George Marques | |
2020-07-20 | Reintroduce code completion | George Marques | |