summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2020-11-10Fix completion for built-in load functionGustav
2020-11-10Merge pull request #43423 from Calinou/doc-assert-avoid-side-effectsRémi Verschelde
Clarify that code in `assert()` should avoid side effects
2020-11-09Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
2020-11-09Clarify that code in `assert()` should avoid side effectsHugo Locurcio
2020-11-09Variant: Rename Type::_RID to Type::RIDRémi Verschelde
The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
2020-11-09Refactored variant constructor logicreduz
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-07Refactored variant setters/gettersreduz
-Discern between named, indexed and keyed -Get direct access to functions for typed GDScript and GDNative bindings -Small changes to some classes in order to work with the new setget binder
2020-11-06Exposed randi_range to global funcs + renamed rand_range to randf_rangeYuri Roubinsky
2020-11-05Merge pull request #42724 from theoway/error_message_fix_call_recursiveRémi Verschelde
Fixes the misleading message when a non-existing function name is passed to TreeItem.call_recursive()
2020-11-03Merge pull request #41516 from Lunatoid/allow-object-newRémi Verschelde
Fixed ParseError when calling Object.new()
2020-10-25Optimize SVG using `svgcleaner --multipass`Hugo Locurcio
This decreases the editor binary size by about 8 KB.
2020-10-23Shows ColorRect in Color constants autocompletionYuri Roubinsky
2020-10-20Merge pull request #42943 from vnen/gdscript-local-scope-fixRémi Verschelde
Fix handling of scope for local GDScript variables
2020-10-20Merge pull request #41983 from ThakeeNathees/array-const-folding-bug-fixGeorge Marques
Array/Dictionary Nodes no more reduced to array/dictionary variant
2020-10-20GDScript: Fix handling of scope for local variablesGeorge Marques
2020-10-20GDScript: Add initialization for the language before debug testsGeorge Marques
This ensures that the tests will use a full environment with correct settings so global classes and autoloads can be properly found.
2020-10-19Merge pull request #42067 from ThakeeNathees/for-loop-stack-overriden-fixGeorge Marques
GDScript: for loop override stack variable bug fix
2020-10-17Fixes the misleading error message for call_recursive method for TreeItemsUmang Kalra
2020-10-14Link the Random number generation tutorial in the class referenceHugo Locurcio
2020-10-08Merge pull request #41881 from ThakeeNathees/crash-on-builtin-constructorGeorge Marques
GDScript crash on builtin type constructor fix
2020-10-04Merge pull request #42439 from Xrayez/doc-gdscript-load-and-resloader-xrefRémi Verschelde
Cross-reference GDScript `load` and `ResourceLoader.load` in classref
2020-10-03Switch from recursion to iterative for backfilling colour regionsPaulb23
2020-10-02Fixed padding bug of sprintf functionSerhat
2020-10-01Merge pull request #41829 from RandomShaper/fix_40353Rémi Verschelde
Avoid warning about harmless unfulfilled yields
2020-09-30Cross-reference GDScript `load` and `ResourceLoader.load` in classrefAndrii Doroshenko (Xrayez)
The GDScript `load` mention is moved from the class `ResourceLoader` description to the `ResourceLoader.load` method description instead, where it is more likely to be found.
2020-09-26Avoid infinite loop in GDScript at shutdownPedro J. Estébanez
2020-09-24Improve documentation related to printing error/warning messagesHugo Locurcio
2020-09-18Merge pull request #41930 from RandomShaper/fix_gdscript_leaksRémi Verschelde
Fix leaks in GDScript
2020-09-18Fix typos with codespellRémi Verschelde
Using codespell 1.17.1. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn 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 ```
2020-09-18GDScript: for loop override stack variable bug fixThakee Nathees
Fix: #42050
2020-09-14Several documentation improvementsDanil Alexeev
2020-09-11Array/Dictinoary no more reduced to array/dictionary variantThakee Nathees
Fix: #41377 Fix: #20436 Fix: #41953
2020-09-10Ensure cyclic dependencies between scripts are broken at exitPedro J. Estébanez
2020-09-10Prevent cyclic reference between script and its membersPedro J. Estébanez
2020-09-09GDScript: Fix MutexLock usage, fixes Clang 6 compatRémi Verschelde
Fixes #41852.
2020-09-08Merge pull request #41709 from ThakeeNathees/dictionary-indexing-bug-fixRémi Verschelde
Fixed parser error when indexing a dictionary.
2020-09-08GDScript crash on builtin type constructor fixThakee Nathees
Fix: #41848
2020-09-07Merge pull request #38308 from bruvzg/sad_security_circusRémi Verschelde
Adds PCK encryption support (using script encryption key for export).
2020-09-06Avoid warning about harmless unfulfilled yieldsPedro J. Estébanez
2020-09-06Merge pull request #41803 from ThakeeNathees/parameter-type-infer-bug-fixRémi Verschelde
GDScript: parameter infer type bug fix
2020-09-06GDScript: parameter infer type bug fixThakee Nathees
Fix: #41772
2020-09-05Adds PCK encryption support (using script encryption key for export).bruvzg
Change default encryption mode from ECB to CFB.
2020-09-04Merge pull request #41760 from ↵Rémi Verschelde
ThakeeNathees/null-dereference-on-gdscript-function-fix null pointer dereference at GDScriptFunction::call crash fix
2020-09-04null pointer dereference at GDScriptFunction::call fixThakee Nathees
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-09-03fixed parser error when indexing a dictionary.Thakee Nathees
Fix: #41707
2020-09-03Merge pull request #41459 from Paulb23/nested_color_regionsRémi Verschelde
Fix colour region end key seach and start key order
2020-09-02Fix GDScript codegen leak.bruvzg
2020-09-02Register GDScript test tools as test commands to run via command-lineAndrii Doroshenko (Xrayez)