Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-13 | Merge pull request #52632 from vnen/autoload-global-script-class-conflict | Rémi Verschelde | |
Disallow class names to be the same as global names | |||
2021-09-13 | Merge pull request #52100 from vnen/gdscript-access-outer-constants | Rémi Verschelde | |
GDScript: Allow access to outer constant and enum values | |||
2021-09-13 | Disallow class names to be the same as global names | George Marques | |
Also forbid autoloads to have the same name as global script class. | |||
2021-09-10 | Merge pull request #49897 from Blackiris/fix-dollar-point-crash-on-editor | George Marques | |
Fix crash when writing $. in the editor | |||
2021-09-03 | Merge pull request #52329 from ↵ | Max Hilbrunner | |
ZuBsPaCe/gdscript-unused-private-class-variable-fix GDScript: Fix for UNUSED_PRIVATE_CLASS_VARIABLE | |||
2021-09-03 | GDScript: Count usages of member variables. | ZuBsPaCe | |
Otherwise private member variables will always lead to UNUSED_PRIVATE_CLASS_VARIABLE. | |||
2021-09-02 | Check for GDScript member and class naming conflicts in a variety of conditions. | SaracenOne | |
2021-08-29 | Rename String::is_rel_path to String::is_relative_path | Wilson E. Alvarez | |
2021-08-24 | GDScript: Allow access to outer constant and enum values | George Marques | |
2021-08-20 | GDScript: Make singleton functions be seen as static | George Marques | |
Since those can be called without an instance. | |||
2021-08-18 | GDScript: Fix calling builtin static functions | George Marques | |
2021-08-18 | GDScript: Fix issue when calling `new()` on its own | George Marques | |
2021-08-18 | GDScript: Fix inner classes and preloaded scripts as types | George Marques | |
2021-08-17 | Remove underscore hacks | Max Hilbrunner | |
Way less cruft. :) Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com> | |||
2021-07-23 | Use C++ iterators for Lists in many situations | Aaron Franke | |
2021-07-08 | Fix crash when writing $. in the editor | Julien Nguyen | |
2021-06-19 | Rename `instance()`->`instantiate()` when it's a verb | Lightning_A | |
2021-06-19 | Merge pull request #49287 from reduz/expose-variant-internal-binders | Rémi Verschelde | |
Make some Variant internal functions public. | |||
2021-06-18 | Merge pull request #49449 from SpectralDragon/fix-enum-equal-operation | George Marques | |
Fix equal operation for typed enums | |||
2021-06-18 | GDScript: Fix setting type of operator return value | George Marques | |
Also write type adjust when needed for binary operators. | |||
2021-06-11 | Rename Reference to RefCounted | Pedro J. Estébanez | |
2021-06-11 | Core: Move DirAccess and FileAccess to `core/io` | Rémi Verschelde | |
File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already. | |||
2021-06-09 | Fix equal operation for typed enums | Владислав Прусаков | |
2021-06-04 | Rename Quat to Quaternion | Marcel Admiraal | |
2021-06-03 | Rename Variant TRANSFORM to TRANSFORM3D | Aaron Franke | |
Also _transform to _transform3d | |||
2021-05-26 | Merge pull request #49114 from vnen/gdscript-fix-self-function-type-check | Rémi Verschelde | |
GDScript: Fix function signature check for self calls | |||
2021-05-26 | GDScript: Fix function signature check for self calls | George Marques | |
2021-05-26 | GDScript: Use analyzer data to decide assignment conversion | George Marques | |
Since there might be tricky cases in the analyzer (in the case of unsafe lines) which would need to be properly checked again. Instead, this splits the code generator in two functions and use information set by the analyzer to tell which function to use, without a need to re-check. | |||
2021-05-16 | GDScript: Add support for builtin static method calls | George Marques | |
2021-04-28 | GDScript: Fix crash when base of an attribute is invalid | George Marques | |
In attribute expressions (`a.b`) it's possible that the base has an incorrect syntax and thus become a nullptr expression in the tree. This commit add the check for this case to fail gracefully instead of crashing. | |||
2021-04-28 | GDScript: Implement lambdas compilation and runtime | George Marques | |
2021-04-28 | GDScript: Add lambdas to the type analyzer | George Marques | |
- Lambdas are always callables (no specific signature match). - Captures from the current context are evaluated. | |||
2021-04-28 | GDScript: Add lambda syntax parsing | George Marques | |
Lambda syntax is the same as a the function syntax (using the same `func` keyword) except that the name is optional and it can be embedded anywhere an expression is expected. E.g.: func _ready(): var my_lambda = func(x): print(x) my_lambda.call("hello") | |||
2021-04-23 | GDScript: Fix resolution of dictionary keys | George Marques | |
There was a mixup between String and StringName keys. Now they're clearly separated. This also means you have to consider which type you're using for the dictionary keys and how you are accessing them. | |||
2021-03-30 | Merge pull request #47131 from vnen/gdscript-export-fix | Rémi Verschelde | |
Fix a few issues with @export in GDScript | |||
2021-03-30 | GDScript: Fix array type check on constants | George Marques | |
They mistakenly pointing to the wrong union member (variable instead of constant). | |||
2021-03-30 | Move GDSript annotation application after type-checking | George Marques | |
This ensures that annotations that rely on the datatype (such as @export) can validated it timely, allowing compound expressions instead of only literal values. | |||
2021-03-29 | Add typed arrays to GDScript | George Marques | |
- Use `Array[type]` for type-hints. e.g.: `var array: Array[int] = [1, 2, 3]` - Array literals are typed if their storage is typed (variable asssignment of as argument in function all). Otherwise they are untyped. | |||
2021-01-11 | Merge pull request #43176 from mateosss/crash-uninit-const | Rémi Verschelde | |
Fix crash by adding nullcheck for uninitialized constants | |||
2021-01-11 | Merge pull request #44719 from ThakeeNathees/assert-argument-bug-fixed | Rémi Verschelde | |
GDScript assert message parsing bug fixed | |||
2021-01-11 | Merge pull request #44672 from ThakeeNathees/array-dict-const-fold-bug-fix | Rémi Verschelde | |
Array/Dictionary marked as not safe to const fold | |||
2021-01-11 | Merge pull request #44889 from ThakeeNathees/builtin-invalid-call-crash-fix | Rémi Verschelde | |
GDScript invalid method call on built-in crash fix | |||
2021-01-03 | GDScript builtin invalid function call crash fix | Thakee Nathees | |
Fix: #44852 | |||
2021-01-01 | Update copyright statements to 2021 | Rémi Verschelde | |
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆 | |||
2020-12-28 | Rename empty() to is_empty() | Marcel Admiraal | |
2020-12-27 | GDScript assert message parsing bug fixed | Thakee Nathees | |
Fix: #43540 | |||
2020-12-25 | Array/Dictionary marked as not safe to const fold | Thakee Nathees | |
Fix: #44459 | |||
2020-12-15 | Merge pull request #43890 from vnen/gdscript-builtin-functions-refactor | Rémi Verschelde | |
GDScript: Refactor builtin functions | |||
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 | |