summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2019-01-10Fix broken encrypted scripts during exportAndrii Doroshenko (Xrayez)
Use temporary cache directory instead of editor settings directory in order to resolve encrypted file access needed for encrypting scripts on all platforms.
2019-01-05Fix code completion on nodes in current sceneTimo Schwarzer
2019-01-04Merge pull request #24741 from ↵Rémi Verschelde
timoschwarzer/24697-fix-autocomplete-segfault-in-inner-classes Fix segfault when trying to autocomplete in inner classes
2019-01-04Merge pull request #24582 from Xrayez/script-encryptRémi Verschelde
Bring back script encryption in export preset
2019-01-03Fix segfault when trying to autocomplete in inner classesTimo Schwarzer
Fixes #24697
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-24Bring back script encryption in export presetAndrii Doroshenko (Xrayez)
Retrieved working implementation from 2.1 branch and adapted to existing export preset system. Added Script tab in export preset to export script as raw text, compiled, or encrypted (same as in 2.1). The script encryption key is visually validated. The script export mode and the key is saved per per preset in `export_presets.cfg`, so it makes sense to ignore this file in version control system. Each custom exporting procedure can retrieve an export preset set during project exporting. Refactored project export dialog a bit to allow easier code comprehension.
2018-12-16Merge pull request #19501 from Zylann/custom_loadersRémi Verschelde
Added basic support for custom resource savers and loaders
2018-12-15Added basic support for custom resource savers and loadersMarc Gilleron
2018-12-13i18n: Sync translation template with current sourceRémi Verschelde
Also French translation update and misc fixes to source strings.
2018-12-07Fix type-compatibilty check in GDScriptGeorge Marques
Objects and PoolArrays are properly tested for conversion.
2018-12-07Merge pull request #22934 from SeleckyErik/issue-11457Rémi Verschelde
GDscript function str2var now returns null on invalid input
2018-11-28GDscript function str2var now returns input string on invalid inputErik
str2var used to raise a blocking error when invalid input was passed. Now it logs an error message and returns the input string. This solution was proposed in #13021. Closes #11457 and #13021.
2018-11-28Fix many errors found by PVS-StudioAaron Franke
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-27Allow signal connecting even if script is invalid (only when compiled with ↵Juan Linietsky
tools), fixes #17070
2018-11-26Merge pull request #23959 from RandomShaper/fix-dangling-script-fixRémi Verschelde
Fix dangling script fix
2018-11-25Fix crash on signal/resume to dangling targetPedro J. Estébanez
2018-11-24Revert "Fix crash on signal/resume to dangling target"Pedro J. Estébanez
This reverts commit 54bdc1e1f6a7fb85a5b193c9b8ecf0dcf06949e6.
2018-11-23Merge pull request #23740 from ttencate/unused_argument_22139Rémi Verschelde
Prevent unused_argument warning when passing arg to parent constructor
2018-11-22Merge pull request #22953 from DualMatrix/properties_goneRémi Verschelde
Fixed parents export vars not appearing in inspector if parent is class_name.
2018-11-18Merge pull request #23789 from vnen/gdscript-empty-class-bugRémi Verschelde
Check for valid values when checking for class members
2018-11-17Check for valid values when checking for class membersGeorge Marques
- Check if GDScript was compiled correctly before checking its functions and properties. - Check if native class name is actually set before looking for it in the ClassDB.
2018-11-17Allow primitives to be compared to Object types with `is`George Marques
2018-11-16Prevent unused_argument warning when passing arg to parent constructorThomas ten Cate
This requires creating the FunctionNode object a bit sooner, and setting it as the current_function while parsing the parent constructor call arguments. Note that the return type has not yet been parsed at this point, but that doesn't seem to be a problem. Fixes #22139
2018-11-11Make enum values not be script constants if enum is namedGeorge Marques
Anonymous enums still creates script constants. Also add a check to see if name used for enum is already defined.
2018-11-10Merge pull request #23639 from neikeq/ggRémi Verschelde
Fix GDScript placeholder fallback
2018-11-10Fix GDScript placeholder fallbackIgnacio Etcheverry
2018-11-06Add missing flag for exported enumKanabenki
2018-11-05Merge pull request #23523 from akien-mga/docs-https-latestRémi Verschelde
doc: Use HTTPS for docs.godotengine.org and point to latest branch
2018-11-05doc: Use HTTPS for docs.godotengine.org and point to latest branchRémi Verschelde
Fixes #23509.
2018-11-04Removed unnecessary assignmentsWilson E. Alvarez
2018-10-31Add new "push_*()" functions to GDScriptMichael Alexsander Silva Dias
2018-10-28Fix GDScript assuming awareness of whole ClassDBPedro J. Estébanez
2018-10-28Unify ClassDB lookups for code completionPedro J. Estébanez
2018-10-25Merge pull request #22779 from Superwaitsum/LimitSettingsRémi Verschelde
Limit several project settings
2018-10-25Merge pull request #23240 from kubecz3k/complete-gettersRémi Verschelde
Optional getters/setters editor autocomplete
2018-10-24Add some limits on the Editor SettingsSuperwaitsum
2018-10-24Merge pull request #22899 from J08nY/fix/assignment-operation-arrayRémi Verschelde
Do not make a function that returns Variant::NIL a void function. Fix #22791
2018-10-24Merge pull request #23094 from RandomShaper/fix-crash-signal-to-danling-objRémi Verschelde
Fix crash on signal/resume to dangling target
2018-10-23Optional getters/setters editor autocompleteJakub Grzesik
solves #22291
2018-10-17Fix crash on signal/resume to dangling targetPedro J. Estébanez
Fixes #22443.
2018-10-16Merge pull request #23018 from lupoDharkael/parse-bugRémi Verschelde
GDScriptTokenizer: Fix token_names order
2018-10-14GDScriptTokenizer: Fix token_names orderlupoDharkael
2018-10-13Fix types highlighting outside of function args and var declarations, issues ↵Paulb23
22029,21638
2018-10-12Fixed parents properties not appearing in inspector if parent is class_name.DualMatrix
Fixed parents properties not appearing in inspector if parent is class_name.
2018-10-11Do not make a function that returns Variant::NIL a void function. Fix #22791.J08nY
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f
2018-10-06Fix compiler warnings in GDScript moduleGeorge Marques
2018-10-06Revert cause of #22794Mariusz Chwalba
2018-10-03Fix warnings on release builds (not DEBUG_ENABLED)Rémi Verschelde
Fixes the following Clang 5 warnings: ``` modules/bmp/image_loader_bmp.cpp:46:60: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] modules/bmp/image_loader_bmp.cpp:48:61: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] drivers/png/image_loader_png.cpp:231:20: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] scene/gui/graph_edit.cpp:1045:8: warning: comparison of constant 0 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare] core/class_db.cpp:812:13: warning: unused variable 'check' [-Wunused-variable] core/io/file_access_pack.cpp:172:11: warning: unused variable 'ver_rev' [-Wunused-variable] core/math/bsp_tree.cpp:195:13: warning: unused variable 'plane' [-Wunused-variable] core/math/bsp_tree.cpp:168:6: warning: unused variable 'plane_count' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:685:10: warning: unused variable 'ok' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:706:10: warning: unused variable 'ok' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:755:19: warning: unused variable 'var_type' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:1306:12: warning: unused variable 'err' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:158:15: warning: unused function '_get_var_type' [-Wunused-function] modules/gdscript/gdscript_parser.cpp:750:20: warning: unused variable 'lv' [-Wunused-variable] modules/gdscript/gdscript_parser.cpp:59:15: warning: unused function '_find_function_name' [-Wunused-function] scene/main/node.cpp:2489:13: warning: unused function '_Node_debug_sn' [-Wunused-function] ```