Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-03 | Merge pull request #44011 from KoBeWi/red_roses_minus_blue_violets | Rémi Verschelde | |
Fix subtracting colors and quats | |||
2020-12-03 | Fix subtracting colors and quats | Tomasz Chabora | |
2020-12-02 | Merge pull request #41095 from ThakeeNathees/GDScript-Documentation | Rémi Verschelde | |
GDScript(2.0) Documentation generation system | |||
2020-11-30 | GDScript: Don't construct ref values in compiler | George Marques | |
Values that are passed by reference are not suited for being constructed at compile time because in this case they would be shared across all the construction statements. | |||
2020-11-29 | Documentation generation for GDScript | Thakee Nathees | |
- ClassDoc added to GDScript and property reflection data were extracted from parse tree - GDScript comments are collected from tokenizer for documentation and applied to the ClassDoc by the GDScript compiler - private docs were excluded (name with underscore prefix and doesn't have any doc comments) - default values (of non exported vars), arguments are extraced from the parser - Integrated with GDScript 2.0 and new enums were added. - merge conflicts fixed | |||
2020-11-27 | Merge pull request #43914 from ThakeeNathees/range-argument-type-bug-fix | Rémi Verschelde | |
GDScript: range function type check bug fixed | |||
2020-11-27 | GDScript range function typecheck bug fixed | Thakee Nathees | |
Fix: #43586 | |||
2020-11-26 | Merge pull request #43895 from vnen/gdscript-operators-fix | Rémi Verschelde | |
GDScript: Improve handling of operators | |||
2020-11-26 | GDScript: Improve handling of operators | George Marques | |
- Use the new functions in Variant to determine the validity and resulting type of operators. - Split the operator function in codegen between binary and unary, since the unary ones have now a special requirement of having the second argument to be the NIL type when requesting info. | |||
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 |