Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Fix shadowed global identifier warning duplication | Yuri Roubinsky | 2021-12-13 | 1 | -4/+4 | |
| | | ||||||
* | | Replace String comparisons with "", String() to is_empty() | Nathan Franke | 2021-12-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings | |||||
* | | Allow using built-in names for variables, push warnings instead | Yuri Roubinsky | 2021-11-13 | 2 | -0/+11 | |
|/ | ||||||
* | Improve GDScript indentation error message | Max Hilbrunner | 2021-10-28 | 1 | -1/+1 | |
| | ||||||
* | Refactored Node3D rotation modes | reduz | 2021-10-25 | 1 | -1/+1 | |
| | | | | | | | | | * Made the Basis euler orders indexed via enum. * Node3D has a new rotation_order property to choose Euler rotation order. * Node3D has also a rotation_mode property to choose between Euler, Quaternion and Basis Exposing these modes as well as the order makes Godot a lot friendlier for animators, which can choose the best way to interpolate rotations. The new *Basis* mode makes the (exposed) transform property obsolete, so it was removed (can still be accessed by code of course). | |||||
* | Merge pull request #52940 from groud/toast_notification | Rémi Verschelde | 2021-10-19 | 2 | -2/+2 | |
|\ | ||||||
| * | Implement toast notifications in the editor | Gilles Roudière | 2021-10-14 | 2 | -2/+2 | |
| | | ||||||
* | | Merge pull request #53843 from vnen/gdscript-typed-array-subscript-constant | Rémi Verschelde | 2021-10-15 | 2 | -0/+8 | |
|\ \ | | | | | | | Fix inferred typed array marked as constant | |||||
| * | | GDScript: Fix inferred typed array marked as constant | George Marques | 2021-10-15 | 2 | -0/+8 | |
| | | | ||||||
* | | | GDScript: Properly return value with await on non-coroutine | George Marques | 2021-10-14 | 2 | -0/+14 | |
|/ / | | | | | | | | | If the keyword `await` is used without a coroutine, it should still return the value synchronally. | |||||
* | | Merge pull request #53807 from vnen/dont-share-arrays-and-dicts | Rémi Verschelde | 2021-10-14 | 4 | -0/+60 | |
|\ \ | ||||||
| * | | Zero Dictionary and Array variants when changing type with reset | George Marques | 2021-10-14 | 4 | -0/+60 | |
| |/ | | | | | | | | | So they don't reference to the old values anymore and instead refer to a new value. | |||||
* | | Merge pull request #53726 from briansemrau/gd-outer-class | George Marques | 2021-10-14 | 2 | -0/+23 | |
|\ \ | |/ |/| | GDScript 2.0: Access outer scope classes | |||||
| * | GDScript: Access outer scope classes | Brian Semrau | 2021-10-13 | 2 | -0/+23 | |
| | | ||||||
* | | Merge pull request #53720 from vnen/gdscript-typed-array-custom-class | Rémi Verschelde | 2021-10-12 | 2 | -0/+12 | |
|\ \ | |/ |/| | ||||||
| * | GDScript: Fix typed array with custom classes | George Marques | 2021-10-12 | 2 | -0/+12 | |
| | | ||||||
* | | GDScript: Make setter parameter type same as variable type | George Marques | 2021-10-12 | 2 | -0/+10 | |
|/ | ||||||
* | Merge pull request #53103 from ZuBsPaCe/gdscript-analyze-properties-fix | George Marques | 2021-10-11 | 12 | -0/+123 | |
|\ | | | | | GDScript: Report property type errors | |||||
| * | GDScript: Report property type errors | ZuBsPaCe | 2021-10-08 | 12 | -0/+123 | |
| | | | | | | | | | | | | | | | | | | Inline getters & setters are now FunctionNodes. Their names are set in the parser, not in the compiler. GDScript-Analyzer will now run through getter and setter. Also report wrong type or signature errors regarding getset properties. Added GDScript tests for getters and setters. #53102 | |||||
* | | Enhance and cleanup stringify for Vector | mashumafi | 2021-10-09 | 2 | -0/+76 | |
|/ | ||||||
* | Merge pull request #53422 from KoBeWi/add_LUA_to_Godot | Rémi Verschelde | 2021-10-07 | 2 | -0/+6 | |
|\ | ||||||
| * | Fix LUA-style assignment in Dictionary | kobewi | 2021-10-05 | 2 | -0/+6 | |
| | | ||||||
* | | Merge pull request #53479 from vnen/gdscript-subscript-object-self | Rémi Verschelde | 2021-10-06 | 2 | -0/+11 | |
|\ \ | ||||||
| * | | GDScript: Allow subscript on self and object types | George Marques | 2021-10-06 | 2 | -0/+11 | |
| |/ | ||||||
* | | GDScript: Avoid hard errors on inferred types | George Marques | 2021-10-06 | 4 | -0/+29 | |
| | | | | | | | | | | | | | | | | | | Since inference isn't always correct, they are now treated as unsafe instead of errors. This also removes inferred type when a variable is reassigned. Since it's not aware of branching, the types might become invalid in a later context. | |||||
* | | GDScript: Make all warnings enabled in test generation | George Marques | 2021-10-06 | 2 | -7/+10 | |
|/ | | | | | | The test generation doesn't initialize the language (since it's already initialized in main), but it still needs the warning enabled so it matches the actual tests. | |||||
* | GDScript: Fix member assignment with operation | George Marques | 2021-10-04 | 2 | -0/+18 | |
| | | | | | It was wrongly updating the assigned value with the result of the operation. | |||||
* | Use range iterators for `Map` | Lightning_A | 2021-09-30 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #53216 from vnen/gdscript-builtin-type-not-id | Rémi Verschelde | 2021-09-29 | 8 | -0/+25 | |
|\ | ||||||
| * | GDScript: Don't allow builtin type names as identifiers | George Marques | 2021-09-29 | 8 | -0/+25 | |
| | | ||||||
* | | GDScript: Fix assignment with operation for properties | George Marques | 2021-09-29 | 2 | -0/+19 | |
|/ | ||||||
* | Merge pull request #52906 from vnen/gdscript-show-error-on-yield | Rémi Verschelde | 2021-09-21 | 2 | -0/+8 | |
|\ | ||||||
| * | GDScript: Show specific error when "yield" is used | George Marques | 2021-09-21 | 2 | -0/+8 | |
| | | | | | | | | | | To help people porting code, it gives a hint to use "await" instead of a generic error. | |||||
* | | Merge pull request #52905 from vnen/gdscript-single-line-declaration | Rémi Verschelde | 2021-09-21 | 4 | -0/+46 | |
|\ \ | ||||||
| * | | GDScript: Allow classes declaration to be done in single line | George Marques | 2021-09-21 | 4 | -0/+46 | |
| |/ | | | | | | | | | Incidentally, allow multiple statements in single line functions when using semicolon as a terminator. | |||||
* / | GDScript: Allow multiple lines in signal parameters declaration | George Marques | 2021-09-21 | 2 | -0/+22 | |
|/ | ||||||
* | Merge pull request #52718 from Calinou/gdscript-add-integration-tests-2 | Rémi Verschelde | 2021-09-21 | 30 | -2/+245 | |
|\ | ||||||
| * | Add more integration tests to the GDScript test suite | Hugo Locurcio | 2021-09-15 | 30 | -2/+245 | |
| | | | | | | | | This also fixes a typo in the `bitwise_float_right_operand.gd` test. | |||||
* | | Merge pull request #52792 from vnen/gdscript-subscript-missing-index | Rémi Verschelde | 2021-09-17 | 2 | -0/+5 | |
|\ \ | ||||||
| * | | GDScript: Properly catch error when missing index in subscript | George Marques | 2021-09-17 | 2 | -0/+5 | |
| | | | ||||||
* | | | Merge pull request #52788 from vnen/gdscript-compare-with-null | Rémi Verschelde | 2021-09-17 | 8 | -0/+692 | |
|\ \ \ | |/ / |/| | | ||||||
| * | | Allow comparing equality between builtin types and null | George Marques | 2021-09-17 | 8 | -0/+692 | |
| |/ | ||||||
* / | GDScript: Avoid inferred types from giving hard errors | George Marques | 2021-09-17 | 2 | -0/+11 | |
|/ | ||||||
* | Merge pull request #52706 from vnen/gdscript-ternary-operator-crash | Rémi Verschelde | 2021-09-15 | 2 | -0/+6 | |
|\ | | | | | GDScript: Show error when missing expression after ternary else | |||||
| * | GDScript: Show error when missing expression after ternary else | George Marques | 2021-09-15 | 2 | -0/+6 | |
| | | ||||||
* | | GDScript: Show error on unary operators without argument | George Marques | 2021-09-15 | 10 | -0/+22 | |
|/ | ||||||
* | GDScript: Allow string keys on Lua-style dictionaries | George Marques | 2021-09-15 | 8 | -0/+35 | |
| | | | | | Which is useful when the key isn't a valid identifier, such as keys with spaces or numeric keys. | |||||
* | Add dozens of new integration tests to the GDScript test suite | Hugo Locurcio | 2021-09-14 | 189 | -17/+1785 | |
| | | | | This also ignores `.out` files in the file format static checks. | |||||
* | Fix an undefined behaviour | ThreeRhinosInAnElephantCostume | 2021-09-13 | 1 | -0/+3 | |
| | ||||||
* | Fix GDScript test cases | George Marques | 2021-09-13 | 3 | -9/+9 | |
| |