Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-09 | Remove VARIANT_ARG* macros | reduz | |
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs. | |||
2022-03-09 | Fix `VisualShaderNodeCustom` script template | Yuri Roubinsky | |
2022-03-07 | Merge pull request #58853 from V-Sekai/default-arg-values | Rémi Verschelde | |
2022-03-07 | Restore building web platform by enclosing resolve_function_signature. | K. S. Ernest (iFire) Lee | |
2022-03-07 | Merge pull request #58847 from KoBeWi/editor_settings_mess | Rémi Verschelde | |
2022-03-06 | Remove duplicate editor settings definitions | kobewi | |
2022-03-06 | GDScript: Check if method signature matches the parent | George Marques | |
To guarantee polymorphism, a method signature must be compatible with the parent. This checks if: 1. Return type is the same. 2. The subclass method takes at least the same amount of parameters. 3. The matching parameters have the same type. 4. If the subclass takes more parameters, all of the extra ones have a default value. 5. If the superclass has default values, so must have the subclass. There's a few test cases to ensure this holds up. | |||
2022-03-04 | Add test cases for accessing parent elements from child class | strank | |
2022-03-04 | Merge pull request #56830 from strank/parent-signals | Rémi Verschelde | |
2022-03-04 | Merge pull request #58185 from V-Sekai/explicit_variant_assignment_fix | Rémi Verschelde | |
2022-03-04 | Merge pull request #58201 from V-Sekai/debugger_locals | Rémi Verschelde | |
2022-03-04 | Merge pull request #58320 from mphe/fix_object_typed_arrays | Rémi Verschelde | |
2022-03-04 | Merge pull request #58250 from V-Sekai/typed_array_fix | Rémi Verschelde | |
2022-03-04 | Merge pull request #58626 from groud/fix_gdscript_analyser_crash | Rémi Verschelde | |
2022-03-04 | Merge pull request #58670 from KoBeWi/internal_debugger | Rémi Verschelde | |
2022-03-03 | Merge pull request #58262 from Sauermann/fix-range-doc | Max Hilbrunner | |
Describe usage of float in range documentation | |||
2022-03-02 | Fix debugger not opening built-in scripts | kobewi | |
2022-02-28 | Fix a crash in GDScriptAnalyzer when a script class's file is not found | Gilles Roudière | |
2022-02-23 | Merge pull request #58244 from V-Sekai/typed_fail_case_return | Rémi Verschelde | |
2022-02-23 | Merge pull request #58415 from V-Sekai/cyclic_assignment_gdscript_fixes | Rémi Verschelde | |
2022-02-22 | Rename motion_velocity to velocity | Chris Bradfield | |
2022-02-22 | Fixes cyclic detection from variables assigning themselves to themselves in ↵ | SaracenOne | |
autocomplete, and restricts initialization of variables from other variables which have not been declared above it in class body | |||
2022-02-19 | Fix typed arrays for Object based types | Marvin Ewald | |
Fixes https://github.com/godotengine/godot/issues/53771. | |||
2022-02-18 | Make 'is_attribute' false during parse error to prevent crash | SaracenOne | |
2022-02-18 | Describe usage of float in range documentation | Markus Sauermann | |
2022-02-17 | Fix using typed arrays based on script classes | SaracenOne | |
2022-02-17 | Return a correctly typed variant in case of a function error to prevent hard ↵ | SaracenOne | |
crashes | |||
2022-02-16 | Fix local variables not showing when breaking on final line | SaracenOne | |
2022-02-16 | Convert _notification methods to switch - Chunk C | Jakob Bouchard | |
2022-02-16 | Fix error when assigning to an explicitly annotated variant from an ↵ | SaracenOne | |
ambiguous source | |||
2022-02-15 | Add an XML schema for documentation | Hugo Locurcio | |
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions. | |||
2022-02-12 | Improve compilation speed (forward declarations/includes cleanup) | Hendrik Brucker | |
2022-02-11 | Fix "Identifier not found" compiler error when accessing inherited signals ↵ | strank | |
or functions as callables. | |||
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-07 | [Net] Add type check to GDScriptRPCCallable. | Fabio Alessandrelli | |
It will print an error when using an RPC defined on an object which does not extend Node. | |||
2022-02-07 | [Net] Implement GDScript custom RPC callable. | Fabio Alessandrelli | |
2022-02-07 | Merge pull request #57748 from fabriceci/rename-script-template-variable | Rémi Verschelde | |
2022-02-07 | rename jump force to jump velocity | fabriceci | |
2022-02-07 | Add some more fixes to visual shader | Yuri Roubinsky | |
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 | |