Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-10 | Added system for GDScript warnings | George Marques | |
- Count and panel per script. - Ability to disable warnings per script using special comments. - Ability to disable warnings globally using Project Settings. - Option to treat enabled warnings as errors. | |||
2018-07-31 | Allow some non-integer built-in constants in gdscript | Bernhard Liebl | |
2018-07-26 | GDScript: Fix parse error in string formatting | George Marques | |
2018-07-25 | GDScript: Add type inference syntax for function arguments | George Marques | |
2018-07-25 | GDScript: Fix type detection for String formatting operator | George Marques | |
2018-07-25 | GDScript: Allow accessing constants of outer classes | George Marques | |
2018-07-25 | GDScript: Fix bogus error when a cursor token is found on class | George Marques | |
2018-07-25 | GDScript: Fix mismatching between export hint and type hint | George Marques | |
2018-07-25 | GDScript: Allow inherited method to add optional arguments | George Marques | |
Also show the parent method signature in the error message. | |||
2018-07-25 | GDScript: Look up local scope first for detecting type | George Marques | |
2018-07-26 | Reduce unnecessary COW on Vector by make writing explicit | Hein-Pieter van Braam | |
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case. | |||
2018-07-20 | Rewrite code completion | George Marques | |
- Use data type struct from the parser. - Avail from type hints when type can't be guessed. - Consider inner classes and other scripts when looking for candidates. | |||
2018-07-20 | Add ability to infer variable type from assigned value | George Marques | |
Syntax: var x : = 42 Infers the type of "x" to be an integer. | |||
2018-07-20 | Add editor highlight for type-safe lines | George Marques | |
The line number is hightlighted to indicate that the line contains only type-safe code. | |||
2018-07-20 | Fix line number detection in some parser nodes | George Marques | |
2018-07-20 | Use type information to enable GDScript introspection | George Marques | |
This makes the Script API provide accurate information when requesting property or method info. | |||
2018-07-20 | Add static type checks in the parser | George Marques | |
- Resolve types for all identifiers. - Error when identifier is not found. - Match return type and error when not returning a value when it should. - Check unreachable code (code after sure return). - Match argument count and types for function calls. - Determine if return type of function call matches the assignment. - Do static type check with match statement when possible. - Use type hints to determine export type. - Check compatibility between type hint and explicit export type. | |||
2018-07-20 | Store type hint of declared identifiers | George Marques | |
2018-07-20 | Move inheritance resolution to the parser | George Marques | |
2018-07-20 | Add typing syntax | George Marques | |
2018-07-15 | Global class names (and GDScript support for it) | Juan Linietsky | |
2018-06-18 | Add proper type information to array property | Bojidar Marinov | |
Part of #19158 | |||
2018-05-29 | New sync keywords in GDScript, NativeScript, Mono | Fabio Alessandrelli | |
2018-05-29 | Refactor RPCMode enum and checks | Fabio Alessandrelli | |
2018-05-29 | Revert "RPCMode refactor, more sync modes" | Max Hilbrunner | |
2018-05-29 | Merge pull request #19021 from Faless/rpc_sync_fix | Max Hilbrunner | |
RPCMode refactor, more sync modes | |||
2018-05-28 | Enable singletons to be recognized as constant expressions | George Marques | |
Fix #14681 | |||
2018-05-26 | New sync keywords in GDScript, NativeScript, Mono | Fabio Alessandrelli | |
2018-05-26 | Refactor RPCMode enum and checks | Fabio Alessandrelli | |
2018-05-03 | Merge pull request #16418 from bojidar-bg/15961-gdscript-array-export | Rémi Verschelde | |
Allow exporting arrays of resources in GDScript | |||
2018-04-22 | Change ".." punctuation for "..." in editor strings (#16507) | Hugo Locurcio | |
2018-03-04 | fix enum from preloaded script in export | x1212 | |
without triggering unnecessary reloads and parsing. | |||
2018-02-21 | Fix typos with codespell | luz.paz | |
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ``` | |||
2018-02-19 | Merge pull request #15852 from poke1024/color_hsv | Rémi Verschelde | |
Add Color.from_hsv() | |||
2018-02-19 | Merge pull request #15933 from x1212/fix_preload_in_exports | Rémi Verschelde | |
fix spurious error messages during autocomplete and validate | |||
2018-02-19 | Merge pull request #16173 from vnen/gdscript-arguments | Rémi Verschelde | |
Add argument count check for some GDScript functions | |||
2018-02-14 | fix spurious error messages during autocomplete and validate | x1212 | |
_parse() caused resets on members like validating and for_completion by calling clear(). | |||
2018-02-05 | Allow exporting arrays of resources in GDScript | Bojidar Marinov | |
Fixes #15961 | |||
2018-02-02 | GDScriptParser: Remove debug prints. | Andreas Haas | |
2018-01-30 | Add argument count check for some GDScript functions | George Marques | |
- Print functions have no check. - Also remove extra apostrophe from the error report. | |||
2018-01-21 | GDScript: always call ResourceLoader::load() in non-completion mode | Bernhard Liebl | |
2018-01-18 | Suppress errors on autocompletion for preload() | Bernhard Liebl | |
2018-01-18 | Add Color.from_hsv() | Bernhard Liebl | |
2018-01-18 | Fix typos in code and docs with codespell | Rémi Verschelde | |
Using v1.11.0 from https://github.com/lucasdemarchi/codespell | |||
2018-01-05 | Add missing copyright headers and fix formatting | Rémi Verschelde | |
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module. | |||
2018-01-01 | Update copyright statements to 2018 | Rémi Verschelde | |
Happy new year to the wonderful Godot community! | |||
2017-12-16 | Merge pull request #12845 from remorse107/Array-Dictionary-Fix | Rémi Verschelde | |
Fix issue #11400. Fixes issue with arrays and dictionary acting as static objects between different instances of objects. | |||
2017-12-11 | Properly support nested ternary expressions | Bojidar Marinov | |
Fixes 14324. | |||
2017-12-09 | Make GDScript parser raise error when exporting Object | George Marques | |
2017-12-07 | Style: Apply clang-format again on all files | Rémi Verschelde | |
Fixes issues introduced by newer clang-format versions or commits pushed directly without using the clang-format pre-commit hook. |