summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2016-11-11Merge pull request #6802 from henriquelalves/masterRémi Verschelde
Added small modification on gdscript parser to allow users insert '+' before variables
2016-11-03Make GDScript parser ignore floating strings in class definitionBojidar Marinov
Fixes #1320
2016-11-01style: Fix PEP8 blank lines issues in Python filesRémi Verschelde
Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
2016-11-01style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde
Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
2016-10-22Added small modification on parser for '+'Henrique L. Alves
2016-10-22Merge pull request #6564 from ↵Rémi Verschelde
SuperUserNameMan/gdscript_opcode_line_opcode_breakpoint fixes #6487, GDscript compiler ignores OPCODE_LINE and OPCODE_BREAKPOINT in Release mode
2016-10-17Merge pull request #6850 from akien-mga/pr-scsub-shebangRémi Verschelde
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17Merge pull request #6692 from bojidar-bg/add-char-to-gd-vs-scriptRémi Verschelde
Add `String char(int ascii)` function to GDScript and Visual Script
2016-10-15modules: Clone env in each moduleRémi Verschelde
This allows to pass include paths and flags only to a given thirdparty library, thus preventing conflicts between their files (e.g. between opus and openssl which both provide modes.h. This also has the nice effect of making the compilation command smaller for each module as it no longer related to all other modules, only the final linking brings them together. This however requires adding manually the ogg include path in opus and vorbis when building against the builtin ogg, since it is no longer in the global env. Also simplified template 'thirdparty_<module>_sources' to 'thirdparty_sources'. "Core" modules like cscript, gdscript, gridmap, ik and virtual_script still use the main env_modules, but it could be changed if need be.
2016-10-14Merge pull request #6813 from Faless/fix_6801_bisRémi Verschelde
Re-Allow absolute paths, make them behave correctly
2016-10-13Adapt overlooked instances of zero-based column numbersPedro J. Estébanez
2016-10-13Revert "Add warning when (pre)loading paths with leading / (#4280 - #3106)"Fabio Alessandrelli
Also closes: #6801 This reverts commit e59820ac94b7c9706298d5559608937dfca332e5.
2016-10-11Merge pull request #6775 from RandomShaper/one-based-col-numbersRémi Verschelde
Make text column numbers one-based
2016-10-11Merge pull request #6694 from bojidar-bg/gdscript-newline-functionsRémi Verschelde
Allow for linebreaks in function calls and definitions and yeild/signal.
2016-10-10Make text column numbers one-basedPedro J. Estébanez
Make one-based the column number on the code editor Make one-based the column number for GDScript error messages Make one-based the column number for shader code error messages
2016-10-09i18n: Fix string that broke msgmergeRémi Verschelde
2016-10-09Merge pull request #6730 from Faless/fix_export_crash_errorRémi Verschelde
Throw an error when exporting a resource class
2016-10-06Throw an error when exporting a resource classFabio Alessandrelli
"export var tex = Texture" will now throw an error to avoid crashing the editor: "Exported constant not a type or resource" Fixes #6719 . Closes #6729
2016-10-04Add warning when (pre)loading paths with leading / (#4280 - #3106)Fabio Alessandrelli
2016-10-03Allow for linebreaks in function calls and definitions and yeild/signal.Bojidar Marinov
(Plus maybe a few other things)
2016-10-03Add `String char(int ascii)` function to GDScript and Visual ScriptBojidar Marinov
Just hope it doesn't crashes with that much pointer math... :smile:
2016-09-20Fixes #6487, GDscript compiler ignores OPCODE_LINE and OPCODE_BREAKPOINT in ↵yg2f
Release mode When godot is in release mode, GDscript compiler does not generate bytecodes for OPCODE_LINE and OPCODE_BREAKPOINT anymore. This optimizes GDscript execution speed when the script contains a lot of comments in blocs executed in loops. Fixes #6487
2016-09-12Fix build for templatesGeorge Marques
2016-09-12Do ctrl-click on any code identifier to go to definiton or help page.Juan Linietsky
2016-09-11Merge pull request #6281 from bojidar-bg/gdscript-ternary-operatorJuan Linietsky
Ternary operator in GDScript (a if x else b)
2016-09-11Added constants from types in code completion, somehow this was never added.Juan Linietsky
Stuff like Label.ALIGN_CENTER or Mesh.PRIMITIVE_TRIANGLES did not complete..
2016-09-10Merge pull request #5920 from 29jm/fix-warningsJuan Linietsky
Fix some more warnings
2016-09-10Merge pull request #6292 from bojidar-bg/gdscript-add-enumsJuan Linietsky
Adds enums to GDScript
2016-09-07Renamed the bind_native functions to bind_vararg, should make it show the ↵Juan Linietsky
documentation more clearly and also make it easier to bind to C#
2016-09-05Clean up GDScript templateRăzvan Cosmin Rădulescu
2016-08-27Add enum naming, by assinging a given enum's values to a DictBojidar Marinov
2016-08-27Adds enums to GDScriptBojidar Marinov
Fixes #2966
2016-08-25More visual script workJuan Linietsky
-Block switches to 2d/3d editor if editing visual script -Added cast node in flow control -Added ability to do RPC in visual script -Comment nodes -Fix bug with inverted cable in connecting backwards -Copy and paste nodes, including from different scripts
2016-08-25Ternary operator in GDScript (a if x else b)Bojidar Marinov
Fixes #1961
2016-08-23Proper function/property selection in visual script editing for property.Juan Linietsky
This one has an ordered list, built-in description, search, etc.
2016-08-19Brand new networked multiplayerJuan Linietsky
2016-08-13Fix some comparisons between signed and unsigned integersJohan Manuel
2016-08-13Fix some warnings about misleading indentationJohan Manuel
2016-08-13Remove some unused variablesJohan Manuel
2016-08-08Merge pull request #6055 from eska014/native-bind-rettypeRémi Verschelde
Allow documenting unexposed return types in bind_native_method
2016-08-08Merge pull request #6045 from bojidar-bg/extends-on-placeholdersRémi Verschelde
Fix #5891 by not expecting the script instance to be a GDInstance
2016-08-08Added a simpler way to do sub-functions in both visual and gdscript with the ↵Juan Linietsky
subcall node. With this, visual script is almost done (missing registering custom nodes from addon). All this is probably pretty broken, too and needs a lot of testing.
2016-08-06Added yield() signal smart autocompletion.Juan Linietsky
2016-08-06Likely with bugs and with some features are missing, as well as profiler ↵Juan Linietsky
support, but VisualScript should be more or less done!
2016-08-05VisualScript can now execute visual scripts, but there is no debugger or ↵Juan Linietsky
profiler yet.
2016-08-06Allow documenting unexposed return types in bind_native_methodeska
Document return type of `Object.call` and `GDScript.new`
2016-08-05Fix #5891 by not expecting the script instance to be a GDInstanceBojidar Marinov
It could be a placeholder instance as well
2016-08-02Merge branch 'master' of https://github.com/godotengine/godotJuan Linietsky
2016-08-02WIP visual scripting, not working yet but you can check out stuffJuan Linietsky