Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add custom icons to script classes. | Will Nations | 2018-08-14 | 1 | -0/+26 | |
| | ||||||
* | Remove usage console spam | Chaosus | 2018-08-13 | 1 | -1/+0 | |
| | ||||||
* | Added system for GDScript warnings | George Marques | 2018-08-10 | 1 | -32/+397 | |
| | | | | | | | - 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. | |||||
* | Allow some non-integer built-in constants in gdscript | Bernhard Liebl | 2018-07-31 | 1 | -2/+2 | |
| | ||||||
* | GDScript: Fix parse error in string formatting | George Marques | 2018-07-26 | 1 | -1/+1 | |
| | ||||||
* | GDScript: Add type inference syntax for function arguments | George Marques | 2018-07-25 | 1 | -11/+19 | |
| | ||||||
* | GDScript: Fix type detection for String formatting operator | George Marques | 2018-07-25 | 1 | -0/+3 | |
| | ||||||
* | GDScript: Allow accessing constants of outer classes | George Marques | 2018-07-25 | 1 | -0/+3 | |
| | ||||||
* | GDScript: Fix bogus error when a cursor token is found on class | George Marques | 2018-07-25 | 1 | -0/+3 | |
| | ||||||
* | GDScript: Fix mismatching between export hint and type hint | George Marques | 2018-07-25 | 1 | -0/+2 | |
| | ||||||
* | GDScript: Allow inherited method to add optional arguments | George Marques | 2018-07-25 | 1 | -3/+30 | |
| | | | | Also show the parent method signature in the error message. | |||||
* | GDScript: Look up local scope first for detecting type | George Marques | 2018-07-25 | 1 | -22/+20 | |
| | ||||||
* | Reduce unnecessary COW on Vector by make writing explicit | Hein-Pieter van Braam | 2018-07-26 | 1 | -16/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | Rewrite code completion | George Marques | 2018-07-20 | 1 | -17/+22 | |
| | | | | | | - 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. | |||||
* | Add ability to infer variable type from assigned value | George Marques | 2018-07-20 | 1 | -3/+46 | |
| | | | | | Syntax: var x : = 42 Infers the type of "x" to be an integer. | |||||
* | Add editor highlight for type-safe lines | George Marques | 2018-07-20 | 1 | -99/+175 | |
| | | | | | The line number is hightlighted to indicate that the line contains only type-safe code. | |||||
* | Fix line number detection in some parser nodes | George Marques | 2018-07-20 | 1 | -4/+14 | |
| | ||||||
* | Use type information to enable GDScript introspection | George Marques | 2018-07-20 | 1 | -0/+50 | |
| | | | | | This makes the Script API provide accurate information when requesting property or method info. | |||||
* | Add static type checks in the parser | George Marques | 2018-07-20 | 1 | -203/+2800 | |
| | | | | | | | | | | | | - 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. | |||||
* | Store type hint of declared identifiers | George Marques | 2018-07-20 | 1 | -16/+33 | |
| | ||||||
* | Move inheritance resolution to the parser | George Marques | 2018-07-20 | 1 | -4/+237 | |
| | ||||||
* | Add typing syntax | George Marques | 2018-07-20 | 1 | -2/+87 | |
| | ||||||
* | Global class names (and GDScript support for it) | Juan Linietsky | 2018-07-15 | 1 | -0/+27 | |
| | ||||||
* | Add proper type information to array property | Bojidar Marinov | 2018-06-18 | 1 | -1/+1 | |
| | | | | Part of #19158 | |||||
* | New sync keywords in GDScript, NativeScript, Mono | Fabio Alessandrelli | 2018-05-29 | 1 | -2/+33 | |
| | ||||||
* | Refactor RPCMode enum and checks | Fabio Alessandrelli | 2018-05-29 | 1 | -7/+7 | |
| | ||||||
* | Revert "RPCMode refactor, more sync modes" | Max Hilbrunner | 2018-05-29 | 1 | -40/+9 | |
| | ||||||
* | Merge pull request #19021 from Faless/rpc_sync_fix | Max Hilbrunner | 2018-05-29 | 1 | -9/+40 | |
|\ | | | | | RPCMode refactor, more sync modes | |||||
| * | New sync keywords in GDScript, NativeScript, Mono | Fabio Alessandrelli | 2018-05-26 | 1 | -2/+33 | |
| | | ||||||
| * | Refactor RPCMode enum and checks | Fabio Alessandrelli | 2018-05-26 | 1 | -7/+7 | |
| | | ||||||
* | | Enable singletons to be recognized as constant expressions | George Marques | 2018-05-28 | 1 | -0/+8 | |
|/ | | | | Fix #14681 | |||||
* | Merge pull request #16418 from bojidar-bg/15961-gdscript-array-export | Rémi Verschelde | 2018-05-03 | 1 | -30/+28 | |
|\ | | | | | Allow exporting arrays of resources in GDScript | |||||
| * | Allow exporting arrays of resources in GDScript | Bojidar Marinov | 2018-02-05 | 1 | -30/+28 | |
| | | | | | | | | Fixes #15961 | |||||
* | | Change ".." punctuation for "..." in editor strings (#16507) | Hugo Locurcio | 2018-04-22 | 1 | -6/+6 | |
| | | ||||||
* | | fix enum from preloaded script in export | x1212 | 2018-03-04 | 1 | -4/+7 | |
| | | | | | | | | without triggering unnecessary reloads and parsing. | |||||
* | | Fix typos with codespell | luz.paz | 2018-02-21 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ``` | |||||
* | | Merge pull request #15852 from poke1024/color_hsv | Rémi Verschelde | 2018-02-19 | 1 | -7/+36 | |
|\ \ | | | | | | | Add Color.from_hsv() | |||||
| * | | Add Color.from_hsv() | Bernhard Liebl | 2018-01-18 | 1 | -7/+36 | |
| | | | ||||||
* | | | Merge pull request #15933 from x1212/fix_preload_in_exports | Rémi Verschelde | 2018-02-19 | 1 | -25/+4 | |
|\ \ \ | | | | | | | | | fix spurious error messages during autocomplete and validate | |||||
| * | | | fix spurious error messages during autocomplete and validate | x1212 | 2018-02-14 | 1 | -25/+4 | |
| | | | | | | | | | | | | | | | | | | | | _parse() caused resets on members like validating and for_completion by calling clear(). | |||||
* | | | | Merge pull request #16173 from vnen/gdscript-arguments | Rémi Verschelde | 2018-02-19 | 1 | -2/+2 | |
|\ \ \ \ | |_|_|/ |/| | | | Add argument count check for some GDScript functions | |||||
| * | | | Add argument count check for some GDScript functions | George Marques | 2018-01-30 | 1 | -2/+2 | |
| |/ / | | | | | | | | | | | | | - Print functions have no check. - Also remove extra apostrophe from the error report. | |||||
* / / | GDScriptParser: Remove debug prints. | Andreas Haas | 2018-02-02 | 1 | -2/+0 | |
|/ / | ||||||
* | | GDScript: always call ResourceLoader::load() in non-completion mode | Bernhard Liebl | 2018-01-21 | 1 | -1/+1 | |
| | | ||||||
* | | Suppress errors on autocompletion for preload() | Bernhard Liebl | 2018-01-18 | 1 | -1/+1 | |
| | | ||||||
* | | Fix typos in code and docs with codespell | Rémi Verschelde | 2018-01-18 | 1 | -2/+2 | |
|/ | | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell | |||||
* | Add missing copyright headers and fix formatting | Rémi Verschelde | 2018-01-05 | 1 | -0/+1 | |
| | | | | | | 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. | |||||
* | Update copyright statements to 2018 | Rémi Verschelde | 2018-01-01 | 1 | -2/+2 | |
| | | | | Happy new year to the wonderful Godot community! | |||||
* | Merge pull request #12845 from remorse107/Array-Dictionary-Fix | Rémi Verschelde | 2017-12-16 | 1 | -9/+33 | |
|\ | | | | | Fix issue #11400. Fixes issue with arrays and dictionary acting as static objects between different instances of objects. | |||||
| * | Fix issue #11400. Fixes issue with arrays and dictionary acting as static ↵ | Robert Morse | 2017-11-17 | 1 | -9/+33 | |
| | | | | | | | | objects between different instances of objects. |