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: Fix type detection on Object typed assign | George Marques | |
Also make typed assigns a debug-only thing, so release builds are more lenient on errors. | |||
2018-07-25 | GDScript: Allow accessing constants of outer classes | George Marques | |
2018-07-25 | GDScript: Enable built-in function introspection in non-tools | George Marques | |
Only for debug builds. Fix problems in non-tools targets. | |||
2018-07-25 | GDScript: Fix bogus error when a cursor token is found on class | George Marques | |
2018-07-25 | GDScript: Allow strict conversion when assigning typed variables | 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: Fix returned value of get_default_argument_count() | George Marques | |
2018-07-25 | GDScript: Fix main script detection | George Marques | |
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 hints to improve completion | George Marques | |
- Allow type hints to be completed. - Use type information to infer completion candidates. - Show typed function signature in tooltip. - Add type hints when completing declaration from virtual functions (optional). | |||
2018-07-20 | Add syntax highlighting to type hints | 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 typed instructions to GDScript | George Marques | |
- Typed assignment (built-in, native, and script). - Cast (built-in conversion; native and script checks). - Check type of functions arguments on call. - Check type of members on set. | |||
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-18 | Style: Format code with clang-format 6.0.1 | Rémi Verschelde | |
2018-07-15 | Global class names (and GDScript support for it) | Juan Linietsky | |
2018-07-05 | Merge pull request #19637 from dragmz/19548 | Max Hilbrunner | |
Fix onready vars / vars accessing class members if _ready / _init not present | |||
2018-07-04 | Merge pull request #18966 from chanon/new-debug-print | Max Hilbrunner | |
Add new debug print method that shows line number where the print came from | |||
2018-07-03 | Merge pull request #19828 from jjay/fix_yield_leak | Max Hilbrunner | |
Fix memory leak in GDScript during infinnity loops with yields | |||
2018-07-03 | Merge pull request #18976 from chanon/new-get-stack | Max Hilbrunner | |
Add new get_stack function to get GDScript stack trace as array | |||
2018-07-03 | Merge pull request #19251 from YeldhamDev/script_templates_changes | Max Hilbrunner | |
Small changes to the comments in the script templates | |||
2018-06-28 | Fix memory leak in GDScript during infinnity loops with yields | Yasha Borevich | |
2018-06-18 | Fix onready vars / vars accessing class members if _ready / _init not present | Marcin Zawiejski | |
2018-06-18 | Add proper type information to array property | Bojidar Marinov | |
Part of #19158 | |||
2018-06-13 | Removed duplicate default colours and removed GDScriptHighligher colours ↵ | Paulb23 | |
from main editor. | |||
2018-06-13 | Merge pull request #19526 from robojumper/fix_tutorials | Rémi Verschelde | |
Add support for tutorial links to makerst.py | |||
2018-06-12 | Add support for tutorial links to makerst.py | robojumper | |
Also change the <tutorials> structure to make use of individual <link> tags | |||
2018-06-12 | Inner classes' functions now appear in the editor's functions panel | Jairo Honorio | |
Fixes #19386 | |||
2018-06-11 | Small changes to the comments in the script templates. | Michael Alexsander Silva Dias | |
2018-05-30 | SCons: Pass env to modules can_build method | Rémi Verschelde | |
This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not. | |||
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-28 | add new print_debug method which shows source and line number | chanon | |