Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-27 | Merge pull request #21449 from vnen/gdscript-builtin-is | Rémi Verschelde | |
Allow `is` operator to test built-in types | |||
2018-08-27 | Merge pull request #21369 from Noshyaar/exportflag | Rémi Verschelde | |
Deprecating bit flags export with no hint text | |||
2018-08-26 | GDScript: Allow `is` operator to test built-in types | George Marques | |
2018-08-24 | Deprecating bit flags export with no hint text | Poommetee Ketson | |
2018-08-24 | Make some debug prints verbose-only, remove others | Rémi Verschelde | |
2018-08-21 | GDScript: Ignore unused arguments/local vars that start with _ | George Marques | |
Makes it simple to ignore particular arguments without adding special comments, especially in engine-defined functions. | |||
2018-08-21 | GDScript: Forbid invalid identifiers in match bindings | George Marques | |
Also forbid shadowing a variable from an upper scope. | |||
2018-08-14 | Add custom icons to script classes. | Will Nations | |
2018-08-13 | Remove usage console spam | Chaosus | |
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 | |