Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-04 | Highlight "namespace" as a GDScript keyword in the syntax highlighter | Hugo Locurcio | |
Like "trait" and "yield", "namespace" is currently not implemented but is still reserved for future use. | |||
2022-02-04 | Merge pull request #57591 from vnen/gdscript-enum-fixes | Rémi Verschelde | |
2022-02-04 | Cleanup and move char functions to the `char_utils.h` header. | bruvzg | |
2022-02-04 | String: Add contains(). | Anilforextra | |
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-30 | Add support for the escaped UTF-16 and UTF-32 Unicode characters in the ↵ | bruvzg | |
scripts and expressions. | |||
2022-01-27 | Merge pull request #57205 from TechnoPorg/variant-template-cast | Rémi Verschelde | |
Allow method binds to take Object subclasses as arguments | |||
2022-01-27 | Merge pull request #57281 from Rubonnek/rename-subsequence | Rémi Verschelde | |
2022-01-26 | Rename String::is_subsequence_ofi to String::is_subsequence_ofn | Wilson E. Alvarez | |
2022-01-26 | Fix crash with non-constant keys in match statement Dictionary pattern | cdemirer | |
2022-01-25 | Allow method binds to take Object subclasses as arguments | TechnoPorg | |
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object. This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary. A few small changes also had to be made to other files, due to the changes cascading down all the includes. | |||
2022-01-22 | GDScript cache crashfix. | K. S. Ernest (iFire) Lee | |
2022-01-23 | Merge pull request #57052 from KoBeWi/nosort | Rémi Verschelde | |
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-22 | Don't sort printed Dictionary | kobewi | |
2022-01-20 | Rename Variant::is_ref() to is_ref_counted() | Pedro J. Estébanez | |
2022-01-17 | Merge pull request #56739 from strank/master | Rémi Verschelde | |
GDScript: Fix parsing default parameter values from function calls | |||
2022-01-17 | Merge pull request #55995 from Xwdit/enum_fix | Rémi Verschelde | |
Fix enum int comparison | |||
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-17 | Merge pull request #55616 from cdemirer/master | Rémi Verschelde | |
Fix nested ternary-if codegen | |||
2022-01-15 | Improvments for SyntaxHighlighters | Paulb23 | |
- Fix immedate Funcion in lamba highlight - Highlight signals as one colour - Highlight node paths as one colour - Highlight escape chars in strings | |||
2022-01-14 | Merge pull request #55541 from KoBeWi/outcognito_scripts | Rémi Verschelde | |
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-13 | GDScript: Fix parsing default parameter values from function calls | strank | |
2022-01-13 | Merge pull request #56268 from KoBeWi/🚗complete_setters | Rémi Verschelde | |
2022-01-13 | Make script type distinguishable by icon | kobewi | |
2022-01-11 | Assign member type when parsing setters to prevent | SaracenOne | |
'Compiler bug: unresolved assign' errors | |||
2022-01-10 | Merge pull request #56326 from NNesh/fix/unknown_default_value_callable | Rémi Verschelde | |
Extended the _make_arguments_hint function to get default values for function arguments in hint | |||
2022-01-10 | Fixed <unknown> text for callable default value for a function arguments hint | NNesh | |
Format switch Added a case for constant subscripts Fixed default value hinting for the enum type Removed is_null checking for value Added a case for dictionary | |||
2022-01-10 | Merge pull request #55715 from nathanfranke/enum-ordered | Rémi Verschelde | |
2022-01-10 | Merge pull request #56194 from cdemirer/fix-operation-result-type-inference | Rémi Verschelde | |
2022-01-10 | Merge pull request #56232 from V-Sekai/invalid_explicit_variant_assign_fix | Rémi Verschelde | |
2022-01-10 | Merge pull request #56260 from ↵ | Rémi Verschelde | |
cdemirer/fix-type-mutation-upon-assignment-with-operation | |||
2022-01-10 | Merge pull request #56287 from ↵ | Rémi Verschelde | |
cdemirer/fix-member-property-only-getter-cant-be-set | |||
2022-01-10 | Merge pull request #56288 from ↵ | Rémi Verschelde | |
cdemirer/fix-member-property-getter-dont-update-subscript-chain-root | |||
2022-01-10 | Merge pull request #56342 from NNesh/fix/class-completion | Rémi Verschelde | |
2022-01-10 | Merge pull request #56409 from ↵ | Rémi Verschelde | |
cdemirer/fix-unexpected-copying-when-parameter-is-typed | |||
2022-01-10 | Fix leak when function returning self type | Ger Hean | |
Leak is caused by cyclic reference | |||
2022-01-08 | Fixed completion showing for class members | NNesh | |
2022-01-06 | Merge pull request #55213 from Scony/fix-gdscript-crash | Rémi Verschelde | |
2022-01-06 | Fix multiple missing UTF-8 decoding. | bruvzg | |
2022-01-06 | Add a GDScript template for `VisualShaderNodeCustom` | Yuri Roubinsky | |
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 | Merge pull request #53957 from fabriceci/new-template-workflow | Rémi Verschelde | |
2022-01-03 | Fix gdscript-parser crash | cdemirer | |
Fixes gdscript-parser crashing while printing empty identifiers. |