Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2022-01-17 | Merge pull request #55625 from ↵ | Rémi Verschelde | |
cdemirer/fix-type-guessing-and-gdscript-parser-printing Fix `--test gdscript-parser` crash | |||
2022-01-13 | 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,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew` | |||
2022-01-10 | Merge pull request #55715 from nathanfranke/enum-ordered | Rémi Verschelde | |
2022-01-10 | Merge pull request #56342 from NNesh/fix/class-completion | Rémi Verschelde | |
2022-01-08 | Fixed completion showing for class members | NNesh | |
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-03 | Fix gdscript-parser crash | cdemirer | |
Fixes gdscript-parser crashing while printing empty identifiers. | |||
2021-12-16 | Use OrderedHashMap for enum_values | Nathan Franke | |
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-12-03 | Fix typo in `gdscript_parser` | Raul Santos | |
2021-11-29 | Check for nullptr expression in parse_precedence function | SaracenOne | |
2021-11-23 | Rename `remove()` to `remove_at()` when removing by index | Lightning_A | |
2021-11-21 | Fix GDScript parser crash on 'dollar mixed with assignment' expression | Pawel Lampe | |
fixes #53696 | |||
2021-11-21 | Fix 'unreachable-code' false-positive, fixes #55154 | Pawel Lampe | |
2021-11-13 | Allow using built-in names for variables, push warnings instead | Yuri Roubinsky | |
2021-11-10 | Merge pull request #54676 from Chaosus/gds_restrict_names | Rémi Verschelde | |