Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-25 | Merge pull request #32808 from bojidar-bg/30937-less-strict-mixed-spacing | Rémi Verschelde | |
Allow mixed tabs and spaces when indentation does not depend on tab size | |||
2019-10-25 | Allow mixed tabs and spaces when indentation does not depend on tab size | Bojidar Marinov | |
(hopefully) Closes #30937, fixes #32612 | |||
2019-10-22 | Merge pull request #32919 from vnen/gdscript-unused-args | Rémi Verschelde | |
Fix wrong counting of function argument usage | |||
2019-10-19 | GDScript: Add _ prefix on class name in type compatibility check | George Marques | |
This makes sure that the classes internally represented with an underscore (_) prefix, such as singletons, are still properly checked for inheritance in the ClassDB. | |||
2019-10-19 | Fix wrong counting of function argument usage | George Marques | |
There's no need to subtract 1 from the assignment usages because it's not incremented anywhere else. Also put back the assignment with operators because they should not count as usage if the argument is on the left side. | |||
2019-10-14 | Small fixes to redundand code, copy paste bugs | qarmin | |
2019-09-24 | GDScript: Fix type resolution not being return in some cases | George Marques | |
Some situations caused the parser node type to not being update when trying to resolve the type, returning invalid data and breaking the parsing when it shouldn't. This patch fix the behavior. | |||
2019-09-22 | Changed some code found by Clang Tidy and Coverity | qarmin | |
2019-09-20 | Merge pull request #32150 from luzpaz/typos | Rémi Verschelde | |
Fix misc. source comment typos | |||
2019-09-19 | Fix misc. source comment typos | luz.paz | |
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt ` | |||
2019-09-19 | Merge pull request #31921 from bojidar-bg/28978-uninitialized-array-value | Rémi Verschelde | |
Fix uninitialized arrays and dictionaries retaining value | |||
2019-09-19 | Merge pull request #32100 from SaracenOne/gdscript_parent_const_types | Rémi Verschelde | |
Fix const deceleration for inherited scripts above immediate parent | |||
2019-09-19 | Merge pull request #31934 from mitchcurtis/28187 | Rémi Verschelde | |
Produce an error when a class has the same name as a Singleton | |||
2019-09-11 | GDScript: add an optional message parameter to assert() | Mitch Curtis | |
Before this patch, assert() only took the condition to assert on: assert(item_data) Now, it can optionally take a string that will be printed upon failure: assert(item_data, item_name + " has no item data in ItemDatabase") This makes it easier to immediately see what the issue is by being able to write informative failure messages. Thanks to @wiped1 for sharing their patch, upon which this is based. Closes #17082 | |||
2019-09-11 | Allow for constant deceleration to be detected inherited scripts above the ↵ | Saracen | |
immediate parent. | |||
2019-09-06 | Produce an error when a class has the same name as a Singleton | Mitch Curtis | |
If you somehow end up with a Singleton.gd that looks like this: extends Node class_name Singleton func foo(): pass You will get an error when using it in another file: extends Node2D func _init(): # Parser Error: Non-static function "foo" can only be called from an instance. Singleton.foo() This error is confusing. This patch ensures that an error on the class_name line will be produced: Parse Error: The class "Singleton" conflicts with the AutoLoad singleton of the same name, and is therefore redundant. Remove the class_name declaration to fix this error. Fixes #28187. | |||
2019-09-03 | Fix uninitialized arrays and dictionaries retaining value | Bojidar Marinov | |
Fixes #28978 | |||
2019-09-02 | Merge pull request #31893 from bojidar-bg/25081-gdscript-index-self | Rémi Verschelde | |
Re-allow indexing on objects and other non-builtin types | |||
2019-09-02 | Merge pull request #31843 from 2shady4u/parserCtrlClick | Rémi Verschelde | |
Solves ctrl+click on functions by ignoring the cursor | |||
2019-09-02 | Re-allow indexing on "self" and object types in GDScript | Bojidar Marinov | |
Fixes #25081 | |||
2019-09-02 | Merge pull request #24925 from Mr-Slurpy/typed-autoload | Rémi Verschelde | |
Added autoloads as a potential type. | |||
2019-09-02 | Solves ctrl+click on functions by ignoring the cursor | shaderbeast | |
Obeyed CLANG format rules Obeying CLANG format rules attempt 2 Obeying CLANG format rules attempt 3 Clean up Fixed runaway while loop Removed int initialization | |||
2019-08-29 | Merge pull request #31738 from bojidar-bg/31056-class_name-extends | Rémi Verschelde | |
Remove check for class_name and extends order | |||
2019-08-28 | Merge pull request #29780 from GodotExplorer/gdscript-lsp | Rémi Verschelde | |
Add Language Server Protocol for GDScript | |||
2019-08-28 | Remove check for class_name and extends order | Bojidar Marinov | |
Closes #31056 | |||
2019-08-27 | Make 'break' and 'continue' be marked as safe | Michael Alexsander Silva Dias | |
2019-08-23 | Improve writing style in GDScript error/warning messages | Hugo Locurcio | |
This uses double quotes everywhere for consistency. | |||
2019-08-17 | Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' | Rémi Verschelde | |
The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is (conditionally defines the error message). There are a few ERR_EXPLAINC calls for C-strings where String is not included which can stay as is to avoid adding additional _MSGC macros just for that. Part of #31244. | |||
2019-08-11 | Add GDScript Language Protocol plugin | geequlim | |
2019-08-09 | Merge pull request #31227 from profan/fix/err-explain-usages | Rémi Verschelde | |
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories. | |||
2019-08-09 | Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵ | Robin Hübner | |
"modules/gdnative", "modules/gdscript" directories. | |||
2019-08-09 | Expression before 'is' may be null | Cameron Reikes | |
2019-08-05 | Merge pull request #31041 from 2shady4u/master | Rémi Verschelde | |
Mark class_name line as safe in editor | |||
2019-08-02 | Mark class_name line as safe in editor | shaderbeast | |
2019-07-20 | Merge pull request #30576 from qarmin/lgtm_coverage | Rémi Verschelde | |
Changed some code reported by LGTM and Coverity | |||
2019-07-20 | Changed some code showed in LGTM and Coverage | qarmin | |
2019-07-13 | Fix unreachable code detection in match statements | Shiqing | |
2019-07-06 | Merge pull request #30352 from bojidar-bg/28727-enum-value-check | Rémi Verschelde | |
Fix parsing of enums allowing for juxtaposed identifiers | |||
2019-07-05 | Fix parsing of enums allowing for juxtaposed identifiers | Bojidar Marinov | |
Fixes #28727 | |||
2019-07-03 | Merge pull request #30289 from bojidar-bg/29586-class-name-constant | Rémi Verschelde | |
Fix inheriting from class_name messing up constants | |||
2019-07-03 | Fix inheriting from class_name messing up constants | Bojidar Marinov | |
Fixes #29586 | |||
2019-07-03 | Fix parsing of arguments in constant expressions | Bojidar Marinov | |
Fixes #8006 | |||
2019-07-01 | Merge pull request #29815 from NilsIrl/plus_file_1 | Rémi Verschelde | |
Replace ` + "/" + ` with `String::file_add()` | |||
2019-06-28 | Fixed regression bug caused in #30095 and actually fix the issue it was ↵ | unknown | |
supposed to fix(#26850) | |||
2019-06-27 | Merge pull request #29941 from qarmin/redundant_code_and_others | Rémi Verschelde | |
Remove redundant code, possible NULL pointers and others | |||
2019-06-26 | Fixed parser treating compound assignment the same as assignment which gave ↵ | unknown | |
wrong argument usage count | |||
2019-06-26 | Some code changed with Clang-Tidy | qarmin | |
2019-06-23 | Replace ` + "/" + ` with `String::file_add()` | Nils ANDRÉ-CHANG | |
2019-06-12 | Merge pull request #29306 from qarmin/small_code_fixes | Rémi Verschelde | |
Small fixes to unrechable code, possibly overflows, using NULL pointers | |||
2019-06-11 | Merge pull request #29678 from akien-mga/err-macros-semicolon | Rémi Verschelde | |
Fix error macro calls not ending with semicolon |