Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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 | |
2021-11-09 | Allow using $/root node paths | Maximilian | |
format fix shadowing use match instead of comparison Update gdscript_parser.cpp | |||
2021-11-08 | Prevent identifiers from naming as built-in funcs and global classes | Yuri Roubinsky | |
2021-10-28 | Merge pull request #54350 from akien-mga/clang-format-dont-align-operands | Rémi Verschelde | |
2021-10-28 | Merge pull request #53526 from KoBeWi/super_print | Rémi Verschelde | |
2021-10-28 | clang-format: Various fixes to comments alignment from `clang-format` 13 | Rémi Verschelde | |
All reviewed manually and occasionally rewritten to avoid bad auto formatting. | |||
2021-10-15 | GDScript: Avoid crash if missing setter signature | George Marques | |
2021-10-11 | Merge pull request #53103 from ZuBsPaCe/gdscript-analyze-properties-fix | George Marques | |
GDScript: Report property type errors |