Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-26 | Fix Vector4 parse error | kobewi | |
2022-07-23 | Implement Vector4, Vector4i, Projection | reduz | |
Implement built-in classes Vector4, Vector4i and Projection. * Two versions of Vector4 (float and integer). * A Projection class, which is a 4x4 matrix specialized in projection types. These types have been requested for a long time, but given they were very corner case they were not added before. Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity. **Q**: Why Projection and not Matrix4? **A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming. | |||
2022-07-18 | GDScript: Fix brief/long description doc comments. | Vladimir Savin | |
2022-07-13 | Merge pull request #62901 from ↵ | George Marques | |
cdemirer/prevent-unnecessary-additional-parser-error | |||
2022-07-13 | Merge pull request #62900 from cdemirer/fix-parser-stuck-in-an-error-loop | George Marques | |
2022-07-13 | Merge pull request #62918 from cdemirer/parser-properly-set-node-extents | George Marques | |
2022-07-13 | Merge pull request #62922 from YuriSizov/gdscript-annotation-defaults | George Marques | |
2022-07-13 | Merge pull request #62578 from MinusKube/editor-print-crash | George Marques | |
Fix GDScript parser sometimes crashing when issuing warning for unreachable pattern | |||
2022-07-11 | Add default argument bindings to GDScript annotations | Yuri Sizov | |
2022-07-11 | Parser: Properly set node extents | cdemirer | |
2022-07-11 | Prevent unnecessary additional parser error | cdemirer | |
2022-07-11 | Fix parser stuck in an error loop | cdemirer | |
2022-07-06 | Merge pull request #62701 from cdemirer/for-variable-conflict | Rémi Verschelde | |
2022-07-06 | Merge pull request #62713 from YuriSizov/docs-scripting-annotations | Rémi Verschelde | |
2022-07-05 | Add grouping annotations for class properties in GDScript | Yuri Sizov | |
2022-07-04 | Add support for documenting built-in annotations | Yuri Sizov | |
2022-07-04 | Do error when for variable conflicts with a variable in scope | cdemirer | |
2022-07-01 | Fix GDScript parser sometimes crashing when issuing warning for unreachable ↵ | MinusKube | |
pattern | |||
2022-06-27 | GDScript: Enable exporting nodes to the inspector | George Marques | |
Also fix an small issue in the property editor for NodePath trying to use the meta property when not needed. | |||
2022-06-23 | Implement varargs in Methodinfo | reduz | |
Variadic templates are an awful thing. Implements #62233 using them in MethodInfo so less changes are required. | |||
2022-06-19 | Allow autocompletion of "noslider" in export_range | Marcus Elg | |
2022-05-31 | Merge pull request #61440 from vnen/gdscript-scene-unique-nodes | Rémi Verschelde | |
GDScript: Support `%` in shorthand for `get_node` | |||
2022-05-27 | GDScript: Support `%` in shorthand for `get_node` | George Marques | |
The `%` is used in scene unique nodes. Now `%` can also be used instead of `$` for the shorthand, besides being allowed generally anywhere in the path as the prefix for a node name. | |||
2022-05-26 | Merge pull request #59943 from jordigcs/gdscript_warning_enums | Rémi Verschelde | |
Add enum values (Ignore, Warn, Error) to GDScript warnings | |||
2022-05-25 | Use blank line instead of `@desc:` for doc comments | Danil Alexeev | |
2022-05-23 | GDScript: Fix lambda captures in default argument values | George Marques | |
2022-05-23 | GDScript: Fix `if` after lambda being seen as ternary | George Marques | |
2022-05-23 | GDScript: Do not allow standalone lambdas | George Marques | |
They cannot be accessed in this case, so an error is shown to avoid misleading the uses, especially in case of named lambdas. | |||
2022-05-18 | Merge pull request #55201 from Scony/fix-unreachable-code-false-positive | Rémi Verschelde | |
2022-05-16 | Replace most uses of Map by HashMap | reduz | |
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated! | |||
2022-05-12 | Fix first value update | JoJoX | |
2022-05-12 | Add a new HashMap implementation | reduz | |
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<> | |||
2022-05-12 | Fix incorrect precedence of pow operator in GDScript | Yuri Rubinsky | |
2022-05-11 | Implement exponential operator (**) to GDScript/Expressions | Yuri Roubinsky | |
2022-05-11 | Merge pull request #59863 from cdemirer/fix-match-multiple-bind-single-pattern | Rémi Verschelde | |
Fix issues with multiple bind patterns in match statement | |||
2022-04-24 | GDScript: Allow using self in lambdas | George Marques | |
2022-04-06 | Add enum values (Ignore, Warn, Error) to GDScript warnings | jordi | |
2022-04-04 | Fix issues with multiple bind patterns in match statement | cdemirer | |
2022-03-30 | Merge pull request #59694 from vnen/gdscript-better-call-super | Rémi Verschelde | |
2022-03-30 | GDScript: Fix issues with completion and `super` calls | George Marques | |
- Make call errors use the call node instead of the calle, which will be empty on super calls. - Don't allow `super()` to be used within lambdas. | |||
2022-03-30 | Fix autocompletion of static methods in built-in types in GDScript | Yuri Roubinsky | |
2022-03-22 | Merge pull request #58971 from Chaosus/gds_multiline_annotation | Yuri Rubinsky | |
2022-03-16 | Add an error emitting when the `@export_flags` arg count is exceeded | Yuri Roubinsky | |
2022-03-10 | Allow making multiline annotations in GDScript | Yuri Roubinsky | |
2022-02-18 | Make 'is_attribute' false during parse error to prevent crash | SaracenOne | |
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: 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-22 | Merge pull request #55433 from V-Sekai/prev_operand_nullptr_check | Rémi Verschelde | |
Check for nullptr expression in parse_precedence function | |||
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 |