Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-15 | GDScript: add variable shadowing warning | lupoDharkael | |
2019-04-12 | Merge pull request #27863 from bojidar-bg/27460-constant-class-clash | Rémi Verschelde | |
Check subclasses too when checking for name clashes | |||
2019-04-11 | Merge pull request #27867 from bojidar-bg/27489-as-self-fail | Rémi Verschelde | |
Fix as operator generating opcode 38 errors | |||
2019-04-10 | GDScript: Don't allow built-in scripts to use class_name | George Marques | |
2019-04-10 | Merge pull request #27170 from ↵ | Rémi Verschelde | |
timoschwarzer/allow-whitespaces-in-warning-ignore-comments Allow whitespaces in warning-ignore comments | |||
2019-04-10 | Check for subclasses when checking for name clashes | Bojidar Marinov | |
Fixes #27460 | |||
2019-04-10 | Fix `as` operator generating opcode 38 errors | Bojidar Marinov | |
Closes #27489 Fixup of 466a76ac2c7c6634ed1d78fde4ac011e2e70b710 Additionally, update `GDScriptCompiler` test to use Ref and to include `as` expressions. | |||
2019-04-09 | Style: Apply new changes from clang-format 8.0 | Rémi Verschelde | |
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes). | |||
2019-04-08 | Merge pull request #27711 from neikeq/ifdef-clang-tidy | Rémi Verschelde | |
Replace a few #if/#elif with #ifdef and "#elif defined" | |||
2019-04-08 | Merge pull request #27710 from Calinou/script-templates-typed-gdscript | Rémi Verschelde | |
Add support for type hints in non-default script editor templates | |||
2019-04-08 | Merge pull request #27231 from Chaosus/smoothstep | Rémi Verschelde | |
Added smoothstep built-in function | |||
2019-04-07 | Added smoothstep built-in function | Chaosus | |
2019-04-05 | Replace a few #if/#elif with #ifdef and "#elif defined" | Ignacio Etcheverry | |
2019-04-05 | Add support for type hints in non-default script editor templates | Hugo Locurcio | |
This also refactors template processing to avoid repetition. This closes #27074. | |||
2019-04-05 | Fix -Wimplicit-fallthrough warnings from GCC 8 | Rémi Verschelde | |
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional. Can be replaced by `[[fallthrough]]` if/when we switch to C++17. The warning is now enabled by default for GCC on `extra` warnings level (part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet, but we could enable it manually once we switch to C++11. There's no equivalent feature in MSVC for now. Fixes #26135. | |||
2019-04-01 | Merge pull request #27485 from Faless/io/encode_decode_safety_pr | Rémi Verschelde | |
Safer encode/decode variant. | |||
2019-04-01 | Add object encoding param to serialization methods | Fabio Alessandrelli | |
Network peers get_var/put_var File get_var/store_var GDScript/Mono/VisualScript bytes2var/var2bytes Add MultiplayerAPI.allow_object_decoding member which deprecates PacketPeer.allow_object_decoding. Break ABI compatibaility (API compatibility for GDNative). | |||
2019-04-01 | doc: Bump version to 3.2 | Rémi Verschelde | |
2019-04-01 | Merge pull request #26097 from ↵ | Rémi Verschelde | |
danielspaniol/25955-wrong-unreachable-warning-after-returning-from-matchs-wildcard-pattern Fix: Wrong unreachable warning after returning from match's wildcard pattern #25955 | |||
2019-03-27 | Merge pull request #27128 from bojidar-bg/27111-gdscript-confounding-class | Rémi Verschelde | |
Fix GDScriptCompiler bugging out with identically-named inner class | |||
2019-03-17 | Allow whitespaces in warning-ignore comments | Timo Schwarzer | |
2019-03-16 | Fix GDScriptCompiler bugging out with identically-named inner class | Bojidar Marinov | |
Fixes #27111 | |||
2019-03-14 | Fix duplicated lines in GDScript bytecode | Bojidar Marinov | |
Fixes #26789 | |||
2019-03-08 | Fix typo in GDScript narrowing conversion warning message | Hugo Locurcio | |
This closes #26790. | |||
2019-03-05 | Fix enums coming from other classes without preload | Bojidar Marinov | |
Fix #19704, fix #26001 | |||
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 | Require `return` in all match branches | Daniel Spaniol | |
Before the parser only checked if the catch-all branch has a return in order to determine if the entire match block has a return. This code block was assumed to always return. match value: "test": print("test") _: return Now as soon as one of the branches has no return, the entire match block is marked to not have a return. | |||
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. |