summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2019-12-11Add note in 'load()' docs that the path must be absoluteMichael Alexsander
2019-12-11Merge pull request #34271 from vnen/gdscript-unused-class-variable-disableRémi Verschelde
Disable GDScript warning for unused class variable by default
2019-12-11Merge pull request #33018 from Xrayez/fix-inst2dict-gettersRémi Verschelde
Fix `inst2dict` calling to getters to retrieve value
2019-12-11Disable GDScript warning for unused class variable by defaultGeorge Marques
2019-12-10Merge pull request #34040 from qarmin/unused_variable_more_precise_numbersRémi Verschelde
Removed unused variables, add some constants numbers
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-12-06doc: Markup fixes for enums and constantsRémi Verschelde
2019-12-04Merge pull request #34067 from bojidar-bg/32370-retype-messageRémi Verschelde
Make error when accidentially redeclaring a variable's type clearer
2019-12-03Mention that `int()` can be used as an alternative to `floor()`Hugo Locurcio
2019-12-02Make error when accidentially redeclaring a variable's type clearerBojidar Marinov
Fixes #32370
2019-11-30Add docs for is_equal_approx on structuresAaron Franke
2019-11-30Fixed typo in docs for Script and GDScript classes ("exends" -> "extends")miere43
2019-11-27Document how to bypass the unused argument/variable warning in messageHugo Locurcio
Note that prefixing with an underscore only works with unused arguments and local variables, not class variables and signals. This closes #26056.
2019-11-26Remove type hint from the @GDScript class documentationHugo Locurcio
The current consensus in the Godot documentation is to avoid using type hints unless they're relevant to the behavior explained.
2019-11-25Added missing documentation for yield()Zak Stam
Added some missing documentation about yield() being able to wait for a function also. I cant believe something like that was missing from the docs, it would have saved me so much time (and others i assume).
2019-11-22Fix typos with codespellRémi Verschelde
Using codespell 1.16.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-11-17Make the script templates' blank lines conform with the official style guideMichael Alexsander
2019-11-15Parser: Check all the arguments of the ternary operatorlupoDharkael
2019-11-12Merge pull request #32966 from ffaristocrat/fix-hex-parsingRémi Verschelde
Fix base 16 hex literal parsing
2019-11-12Fixes #32963 by correctly parsing bin/hex literalsMicheál Keane
2019-11-11Remove ERR_EXPLAIN macros and the scaffolding they needed.Marcel Admiraal
2019-11-11Remove all uses of ERR_EXPLAIN macros.Marcel Admiraal
2019-11-07Add setting to exclude addons from script warningsmashumafi
2019-11-07Merge pull request #33257 from aaronfranke/printrawRémi Verschelde
Document behavior of GDScript printraw
2019-11-04Merge pull request #33266 from Xrayez/inst2dict-original-pathRémi Verschelde
Use GDScript resource path over script path for `inst2dict`
2019-11-02Use GDScript resource path over script path for `inst2dict`Andrii Doroshenko (Xrayez)
The resource path holds the original path which can be used to convert a dictionary to instance consistently both within editor and exported projects as the original path is automatically remapped from `gd` to `gdc` or `gde` in exported projects.
2019-11-02Document behavior of printrawAaron Franke
2019-11-02Fix Color8 GDScript documentationAaron Franke
2019-11-01GDScript: validate instance before accessing it on errorGeorge Marques
Make sure the instance is valid before trying to access the script in after an error happened. If the instance is not valid it's possible that the script is invalid as well. Fix #29623
2019-11-01GDScript: Avoid editor crashes when there's cyclic inheritanceGeorge Marques
Make sure the script is fully compiled before looking into the base.
2019-10-31Provide and print error messages for JSON parsingAndrii Doroshenko (Xrayez)
Core is not touched, only for binding and scripting.
2019-10-29Fixed leak in gdscript when creating empty WeakRefPouleyKetchoupp
Fixes #33150
2019-10-25Merge pull request #32808 from bojidar-bg/30937-less-strict-mixed-spacingRémi Verschelde
Allow mixed tabs and spaces when indentation does not depend on tab size
2019-10-25Allow mixed tabs and spaces when indentation does not depend on tab sizeBojidar Marinov
(hopefully) Closes #30937, fixes #32612
2019-10-24Fix `inst2dict` calling to getters to retrieve valueAndrii Doroshenko (Xrayez)
Use `GDScriptInstance` to iterate through all members directly instead. This is similar to how `dict2inst` works and makes the serialization behaviour more consistent.
2019-10-22Merge pull request #32919 from vnen/gdscript-unused-argsRémi Verschelde
Fix wrong counting of function argument usage
2019-10-22Merge pull request #32903 from madmiraal/fix-27649-part9Rémi Verschelde
Remove duplicate valid value check in gdscript_tokenizer.cpp.
2019-10-22Merge pull request #32878 from EbbDrop/no_autocompletion_for_singeltonsRémi Verschelde
Fixes auto completion for singletons
2019-10-19GDScript: Add _ prefix on class name in type compatibility checkGeorge 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-19Fix wrong counting of function argument usageGeorge 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-18Remove duplicate valid value check in gdscript_tokenizer.cpp.Marcel Admiraal
2019-10-17Fix autocompletion for singletonsEbbDrop
2019-10-14Small fixes to redundand code, copy paste bugsqarmin
2019-10-11fix #32588 crash in language serverHaSa1002
2019-10-10Decrease polling frequency to 20 Hz in the GDScript language serverHugo Locurcio
This decreases the language server's CPU usage.
2019-10-09Merge pull request #32671 from GodotExplorer/lsp-send-godot-class-treeRémi Verschelde
lsp: Send godot class tree to clients
2019-10-09lsp: Send godot class tree to clientsGeequlim
2019-10-09lsp: Fix signature of void returned functions in native methodsGeequlim
2019-10-05Fixed some obvious typos in error messagesnoname1477
In some errors, there were closing quotation marks but no opening (e. g. "Unable to iterate on object of type " + Variant::get_type_name(container->get_type()) + "'."
2019-10-05Format documentations to markdown only when neededgeequlim