aboutsummaryrefslogtreecommitdiff
path: root/modules/visual_script (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* -Reorganized all properties of project settings (Sorry, Again).Juan Linietsky2017-07-171-1/+1
| | | | | (Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
* Improvements and fixes for the default theme.Daniel J. Ramirez2017-07-161-3/+4
| | | | Added customizable border size and window highlight.
* Some more typo fixes for "threshold"Rémi Verschelde2017-07-151-4/+4
| | | | Looks like @reduz really does not like that word.
* [#7212] Fixed missing 'Variant' return values in documentation.ducdetronquito2017-07-111-1/+1
|
* -Many fixes to VisualScript, fixed property names, etc.Juan Linietsky2017-06-3013-245/+743
| | | | | | -Added ability to set/get a field in GetSet, as well as assignment ops -Added a Select node -Fixed update bugs related to variable list and exported properties, closes #9458
* Merge pull request #9360 from GodotExplorer/pr-external-editor-language-checkRémi Verschelde2017-06-271-0/+1
|\ | | | | Better user experience with external text editors.
| * Better user expirence with external text editors.geequlim2017-06-271-0/+1
| | | | | | | | | | Implements open_in_external_editor for subclasses of ScriptLanguage. Add option 'Debug with external editor' to debug menu to control the behavoir of script opened by editor.
* | -Fixed SCREEN_TEXTURE and other related 2D shader parameters.Juan Linietsky2017-06-263-3/+3
|/ | | | -Fixded BackBuffercopy object
* Add ability to use custom script templates.Andreas Haas2017-06-132-0/+13
| | | | | | | | | | Templates will be loaded from .godot/script_templates For now they're disabled for GDNative. Ideas for further improvements: - Add a "Save as Template" option to the script editor, as it can normally only save to res:// - Support more placeholders / custom placeholders
* Merge pull request #9038 from AlexHolly/rect2-rename-posRémi Verschelde2017-06-051-1/+1
|\ | | | | renamed all Rect2.pos to Rect2.position
| * renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-1/+1
| |
* | Added members overviewPaulb232017-05-292-0/+5
|/
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-2010-304/+160
| | | | this might cause bugs I haven't found yet..
* Merge pull request #8631 from volzhs/editor-theme-customRémi Verschelde2017-05-201-2/+2
|\ | | | | New customizable editor theme
| * Revert "Add new editor and default theme (WIP)"volzhs2017-05-031-2/+2
| | | | | | | | This reverts commit f045efe007cffb87238ee519b7f33d710814ded7.
* | Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-171-3/+0
|/
* Add new editor and default theme (WIP)Daniel J. Ramirez2017-04-271-2/+2
|
* Merge pull request #8417 from neikeq/hello-thereRémi Verschelde2017-04-204-14/+15
|\ | | | | External editor improvements and fixes
| * External editor improvements and fixesIgnacio Etcheverry2017-04-174-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notable changes: - Now ScriptLanguages have the option to override the global external editor setting. If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used. - Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`. - `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from. Fixes: - Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor. - Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit. - `Script::get_member_line()` now returns -1 ("found nothing") by default.
* | Convert indent on savePaulb232017-04-182-0/+8
| |
* | Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-3/+3
|/ | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0818-0/+18
|
* Fix typos in source code using codespellRémi Verschelde2017-03-242-2/+2
| | | | From https://github.com/lucasdemarchi/codespell
* Make Create New Node dialog resizable and burninate old dialogRay Koopa2017-03-181-1/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-0517-7128/+5648
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-0516-3/+458
|
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-052-6/+6
| | | | | | The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
* Added missing FIXMEs in PR #7878Ferenc Arn2017-03-021-1/+1
|
* Merge pull request #7878 from RebelliousX/elseRémi Verschelde2017-02-281-1/+1
|\ | | | | Bunch of missing `else` statements and general logic
| * Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-1/+1
| | | | | | | | | | | | | | - Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
* | Inf and NaN support added to GDScript.Saracen2017-02-283-2/+14
|/
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-214-4/+4
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-136-195/+195
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-136-72/+72
| | | | This saves typing and is a step towards fixing #56
* Overloaded basic math funcs (double and float variants). Use real_t rather ↵Ferenc Arn2017-01-161-31/+31
| | | | | | than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions.
* Merge pull request #7532 from tagcup/pcg_prngRémi Verschelde2017-01-161-2/+2
|\ | | | | Replace the existing PRNG (Xorshift31) with (minimal) PCG-32.
| * Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant ↵Ferenc Arn2017-01-151-2/+2
| | | | | | | | | | | | with 32-bit output, 64-bit state). PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed.
* | Style: Fix statements ending with ';;'Rémi Verschelde2017-01-162-3/+3
| |
* | Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-1/+1
|/ | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* Style: Fix whole-line commented codeRémi Verschelde2017-01-144-8/+10
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky2017-01-131-2/+2
|
* some class renamesJuan Linietsky2017-01-122-7/+7
| | | | | | TextureFrame -> TextureRect Patch9Frame -> NinePatchRect ColorFrame -> ColorRect
* Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky2017-01-111-3/+3
|
* Merge pull request #7093 from bojidar-bg/named-colorsRémi Verschelde2017-01-112-2/+25
|\ | | | | Add named colors to GDScript/Visual Script/core.
| * Add named colors to GDScript/Visual Script/core.Bojidar Marinov2016-12-172-2/+25
| | | | | | | | Names and values taken from https://en.wikipedia.org/wiki/X11_color_names
* | Type renames:Juan Linietsky2017-01-115-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* | Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky2017-01-101-2/+2
| | | | | | | | container!
* | -All types have editable script now in propertiesJuan Linietsky2017-01-092-4/+0
| | | | | | | | -Changed clip to a property in Control which can be set by the user
* | PopupMenu now emits both index_pressed and id_pressed instead of ↵Juan Linietsky2017-01-081-3/+3
| | | | | | | | item_pressed, closes #3188
* | renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-083-23/+23
| |