Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-04 | Close file handles after use of new get_as_utf8_strings, fixes #26578 | Juan Linietsky | |
2019-03-04 | Revert "Forbid implicit type conversion in GDScript" | Rémi Verschelde | |
2019-03-04 | Merge pull request #26562 from vnen/gdscript-no-implicit-cast | Rémi Verschelde | |
Forbid implicit type conversion in GDScript | |||
2019-03-03 | GDScript: Fix issue when detecting file class in inner class | George Marques | |
2019-03-03 | GDScript: Forbid implicit type conversion | George Marques | |
Since types are not present in release builds, this could cause issues where a variable does not have the exact defined type. | |||
2019-03-03 | GDScript: Allow `for` iterator to be rededefined | George Marques | |
2019-03-03 | Merge pull request #26547 from vnen/gdscript-dependency-parse | Juan Linietsky | |
Add a parse mode for GDScript which doesn't load dependencies | |||
2019-03-03 | Add a dependency search mode for GDScript parser | George Marques | |
- This mode avoids loading any other resource. - Search for class_name now uses this mode, to avoid loading in the scan thread. - Implement get_dependencies() for GDScript loader, now exporting dependencies only should include the preloaded resources. | |||
2019-03-03 | Merge pull request #26528 from bojidar-bg/26047-gdscript-object-argument | George Marques | |
Allow parameters passed to GDScript functions to be nulled | |||
2019-03-03 | Allow parameters passed to GDScript functions to be nulled | Bojidar Marinov | |
Previous version resulted in confusing (but actually right) errors about converting "from Object to Object", since CallError does not include information about the actual types involved. | |||
2019-03-03 | Fix GDScript checking for assigning to a constant only in release | Bojidar Marinov | |
2019-02-28 | Merge pull request #26034 from QbieShay/issue_25596 | Rémi Verschelde | |
Inheriting from virtual class no longer causes the engine to crash. | |||
2019-02-27 | Inheriting from virtual class no longer causes the engine to crash, it ↵ | QbieShay | |
prints an error instead. Co-authored-by: Hein-Pieter van Braam <hp@tmm.cx> | |||
2019-02-27 | Merge pull request #26134 from marxin/fix-Wsign-compare | Rémi Verschelde | |
Fix -Wsign-compare warnings. | |||
2019-02-27 | Fix -Wsign-compare warnings. | marxin | |
I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type. | |||
2019-02-26 | Fix GDScript exports having the wrong type of default value by converting it | Bojidar Marinov | |
Also, initialize elements of PoolArrays when resizing them in the editor. Fixes #26066. | |||
2019-02-24 | Merge pull request #25018 from AllanDaemon/#24895 | George Marques | |
Fix support for optional parameters in setters | |||
2019-02-22 | Merge pull request #26132 from marxin/fix-Wignored-qualifiers | Rémi Verschelde | |
Fix warnings seen with -Wignored-qualifiers. | |||
2019-02-22 | Merge pull request #26099 from marxin/fix-Wtype-limits-warnings | Rémi Verschelde | |
Fix all -Wtype-limits warnings. | |||
2019-02-21 | Request to use load when cyclic reference is found, closes #26119 | Juan Linietsky | |
2019-02-21 | Fix warnings seen with -Wignored-qualifiers. | marxin | |
2019-02-21 | Fix all -Wtype-limits warnings. | marxin | |
2019-02-20 | Add -Wshadow=local to warnings and fix reported issues. | marxin | |
Fixes #25316. | |||
2019-02-20 | GDScript: Remove unused `switch`, `case` and `do` CF keywords | Rémi Verschelde | |
They had been reserved for future implementation, but we now have the `match` CF keyword which does the same and more. According to @reduz `do` was even added by mistake when copying from the shader language parser, it was never intended to add support for `do`... `while` loops, as the syntax would be awkward in GDScript, and the added sugar is not worth it. Fixes #25787. | |||
2019-02-16 | Merge pull request #25715 from hpvb/fix-25598 | Rémi Verschelde | |
Add a maximum recusion depth to _guess_expression_type | |||
2019-02-14 | Merge pull request #25866 from neikeq/issue-25121 | Rémi Verschelde | |
Fix exported property values being lost if base GDScript fails to parse | |||
2019-02-14 | Fix exported property values being lost if base GDScript fails to parse | Ignacio Etcheverry | |
2019-02-13 | Fix typos with codespell | Rémi Verschelde | |
Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ``` | |||
2019-02-12 | Core: Ensure classes match their header filename | Rémi Verschelde | |
Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp` | |||
2019-02-12 | Merge pull request #25481 from hpvb/fix-ubsan-asan-reports | Rémi Verschelde | |
Fix many asan and ubsan reported issues | |||
2019-02-12 | Merge pull request #25550 from DualMatrix/fix-25357 | Rémi Verschelde | |
Fixed Null appearing inside export variables with type hints and no default value | |||
2019-02-09 | Merge pull request #25650 from willnationsdev/script-icon | Rémi Verschelde | |
Fix script class icons looking for paths at runtime | |||
2019-02-08 | Add a maximum recusion depth to _guess_expression_type | Hein-Pieter van Braam | |
When a recursive declaration ends up in a GDScript file the _guess_expression_type function would start looping and eventually run out of stack space. We now cap recusion for this function to 100 frames. This fixes #25598 | |||
2019-02-06 | Fix script class icon filepath lookups at runtime. | Will Nations | |
2019-02-01 | Fixed Null appearing inside export variables with type hints and no default ↵ | DualMatrix | |
value The default value of the type is now used to initialise it. export(int) A Will now have A be 0 istead of Null even though it still showed as 0 before in the inspector, fixes #25357 | |||
2019-01-31 | Fix wrong error messages for invalid arguments when calling functions ↵ | Bojidar Marinov | |
through call Fixes #25505 | |||
2019-01-30 | Fix many asan and ubsan reported issues | Hein-Pieter van Braam | |
This allows most demos to run without any ubsan or asan errors. There are still some things in thirdpart/ and some things in AudioServer that needs a look but this fixes a lot of issues. This should help debug less obvious issues, hopefully. This fixes #25217 and fixes #25218 | |||
2019-01-25 | Ensure get script method list also checks base classes, fixes #23384 | Juan Linietsky | |
2019-01-23 | GDScript: do second pass of parsing on release | George Marques | |
Some construct (like match) actually depends on the second pass. This adds some extra checks to not perform specific type-checks on release since not all type information is available. | |||
2019-01-23 | GDScript: fix default value for autoexported typed vars | George Marques | |
2019-01-23 | GDScript: read constants from parent scripts | George Marques | |
This is needed to create export variables from enums defined in a parent class. | |||
2019-01-23 | GDScript: don't allow calling non-static function from script | George Marques | |
2019-01-23 | GDScript: allow local classes to be used as types | George Marques | |
2019-01-23 | Fix #24895 (support for optional parameters in setters) | Allan Daemon | |
2019-01-18 | GDScript: Fix return value of "lerp" builtin | Rémi Verschelde | |
Fixes #25082, fixes #24709. | |||
2019-01-17 | Merge pull request #25069 from vnen/gdscript-fixes | Hein-Pieter van Braam | |
A bit more of GDScript fixes | |||
2019-01-17 | GDScript compiler: check if subclass exists before comparison | George Marques | |
Otherwise these checks might trigger the insertion of an empty value, leading to crashes. | |||
2019-01-16 | GDScript: clarify error message about cycles | George Marques | |
They may happen with any cyclic dependency, not only with inheritance. | |||
2019-01-16 | GDScript: fix type-check of indexed values | George Marques | |
2019-01-16 | Merge pull request #25001 from jlahman/gdscript-export-var-fix | Rémi Verschelde | |
Fixes export PackedScene "reset to default" throwing errors |