Age | Commit message (Collapse) | Author | |
---|---|---|---|
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: Allow tests to run on release builds | George Marques | |
- Fix compilation issues by disabling warnings on release builds. This also strips warnings from expected result before the comparison to avoid false mismatches. - Add a `#debug-only` flag to tests. Must be the first line of the test script. Those won't run with release builds. Can be used for test cases that rely on checks only available on debug builds. | |||
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-23 | Merge pull request #57052 from KoBeWi/nosort | Rémi Verschelde | |
2022-01-22 | Merge pull request #55214 from Scony/fix-gdscript-crash-2 | Rémi Verschelde | |
Fix GDScript parser crash on 'dollar mixed with assignment' expression | |||
2022-01-22 | Don't sort printed Dictionary | kobewi | |
2022-01-13 | GDScript: Fix parsing default parameter values from function calls | strank | |
2022-01-06 | Fix multiple missing UTF-8 decoding. | bruvzg | |
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! | |||
2022-01-02 | Fix various typos | luz paz | |
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change | |||
2021-12-13 | Fix shadowed global identifier warning duplication | Yuri Roubinsky | |
2021-12-09 | Replace String comparisons with "", String() to is_empty() | Nathan Franke | |
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings | |||
2021-11-21 | Fix GDScript parser crash on 'dollar mixed with assignment' expression | Pawel Lampe | |
fixes #53696 | |||
2021-11-13 | Allow using built-in names for variables, push warnings instead | Yuri Roubinsky | |
2021-10-28 | Improve GDScript indentation error message | Max Hilbrunner | |
2021-10-25 | Refactored Node3D rotation modes | reduz | |
* 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). | |||
2021-10-19 | Merge pull request #52940 from groud/toast_notification | Rémi Verschelde | |
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: Properly return value with await on non-coroutine | George Marques | |
If the keyword `await` is used without a coroutine, it should still return the value synchronally. | |||
2021-10-14 | Merge pull request #53807 from vnen/dont-share-arrays-and-dicts | Rémi Verschelde | |
2021-10-14 | Zero Dictionary and Array variants when changing type with reset | George Marques | |
So they don't reference to the old values anymore and instead refer to a new value. | |||
2021-10-14 | Merge pull request #53726 from briansemrau/gd-outer-class | George Marques | |
GDScript 2.0: Access outer scope classes | |||
2021-10-14 | Implement toast notifications in the editor | Gilles Roudière | |
2021-10-13 | GDScript: Access outer scope classes | Brian Semrau | |
2021-10-12 | Merge pull request #53720 from vnen/gdscript-typed-array-custom-class | Rémi Verschelde | |
2021-10-12 | GDScript: Fix typed array with custom classes | George Marques | |
2021-10-12 | GDScript: Make setter parameter type same as variable type | George Marques | |
2021-10-11 | Merge pull request #53103 from ZuBsPaCe/gdscript-analyze-properties-fix | George Marques | |
GDScript: Report property type errors | |||
2021-10-09 | Enhance and cleanup stringify for Vector | mashumafi | |
2021-10-08 | GDScript: Report property type errors | ZuBsPaCe | |
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 | |||
2021-10-07 | Merge pull request #53422 from KoBeWi/add_LUA_to_Godot | Rémi Verschelde | |
2021-10-06 | Merge pull request #53479 from vnen/gdscript-subscript-object-self | Rémi Verschelde | |
2021-10-06 | GDScript: Allow subscript on self and object types | George Marques | |
2021-10-06 | GDScript: Avoid hard errors on inferred types | George Marques | |
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. | |||
2021-10-06 | GDScript: Make all warnings enabled in test generation | George Marques | |
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. | |||
2021-10-05 | Fix LUA-style assignment in Dictionary | kobewi | |
2021-10-04 | GDScript: Fix member assignment with operation | George Marques | |
It was wrongly updating the assigned value with the result of the operation. | |||
2021-09-30 | Use range iterators for `Map` | Lightning_A | |
2021-09-29 | Merge pull request #53216 from vnen/gdscript-builtin-type-not-id | Rémi Verschelde | |
2021-09-29 | GDScript: Don't allow builtin type names as identifiers | George Marques | |
2021-09-29 | GDScript: Fix assignment with operation for properties | George Marques | |
2021-09-21 | Merge pull request #52906 from vnen/gdscript-show-error-on-yield | Rémi Verschelde | |
2021-09-21 | Merge pull request #52905 from vnen/gdscript-single-line-declaration | Rémi Verschelde | |
2021-09-21 | GDScript: Show specific error when "yield" is used | George Marques | |
To help people porting code, it gives a hint to use "await" instead of a generic error. | |||
2021-09-21 | GDScript: Allow classes declaration to be done in single line | George Marques | |
Incidentally, allow multiple statements in single line functions when using semicolon as a terminator. |