Commit Graph

1149 Commits

Author SHA1 Message Date
Poommetee Ketson f05e24ed18 [DOCS] add HTTPRequest.request return values 2018-04-20 16:34:30 +07:00
Craigory V Coppola 0dd526e062 Docs update for several classes
Namely: Dictionary, GraphEdit, Object, TileMap, Script, ScollBar,
ScrollContainer and SplitContainer
2018-04-19 21:09:53 +02:00
bosak 79ecdee496
add string trim_prefix trim_suffix lstrip and rstrip methods 2018-04-17 14:15:43 +03:00
bncastle 7eed3cc199 Add descriptions for GroupCall flags
Add descriptions for GroupCall flags
2018-04-16 10:44:46 -04:00
Poommetee Ketson 7b5703bc41
Merge pull request #18210 from willvincent/feature/exp_doc_fix
Fix/Remove potentially confusing references to Euler

[ci skip]
2018-04-16 00:17:37 +07:00
Will Vincent b6b8c7b215 Remove incorrect & potentially confusing references to Euler
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion.

e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
2018-04-15 11:40:31 -05:00
Michael Alexsander Silva Dias 9c3698dee2 Minor fixes for the AnimationPlayer doc. 2018-04-14 22:48:46 -03:00
Markus Törnqvist 1c6ea572ca Implement font shadows for RichTextLabel 2018-04-12 15:09:48 +03:00
Oliver Gutierrez 63a472aea4 RichTextLabel, doc: Added new method to get total content height 2018-04-11 14:53:13 +01:00
Poommetee Ketson 72aa87758a
Update classref and docs, fix missing parameters' name 2018-04-11 10:20:22 +07:00
Max Hilbrunner 66714a3d29 [DOCS] OS 2018-04-10 17:30:34 +02:00
Rémi Verschelde cb7fe2c793 doc: Sync classref with current source 2018-04-10 10:12:42 +02:00
Rémi Verschelde fd32a98145
Merge pull request #18071 from denisw/navigation2d-docs
[DOCS] Navigation & Navigation2D
2018-04-10 08:14:54 +02:00
Rémi Verschelde a360a9b348
Merge pull request #18091 from RandomShaper/icon-radio-item
Add support for radio-looking items with icon
2018-04-10 08:09:18 +02:00
Rémi Verschelde 866cb2805f
Merge pull request #17080 from simedis/pretty_print_tree
Made Node.print_tree() print prettily
2018-04-10 07:50:10 +02:00
Denis Washington 89b9e8852e Add Navigation docs 2018-04-10 07:22:30 +02:00
Denis Washington a7f3933a51 Add Navigation2D docs 2018-04-10 07:22:30 +02:00
Rémi Verschelde ca1312dbe9
Merge pull request #18083 from Noshyaar/tutorial
Add new transform tutorial to the appropriate classes
2018-04-09 22:15:38 +02:00
Pedro J. Estébanez b964a9e678 Add support for radio-looking items with icon
Letting users of `PopupMenu` use them. `OptionButton` was one of those interested and is updated in this commit.

Fixes #18063.
2018-04-09 19:55:54 +02:00
Rémi Verschelde 93ae37f118
Merge pull request #18069 from mhilbrunner/docs-scenetree
[DOCS] SceneTree
2018-04-09 19:49:44 +02:00
Geoffrey 8362ce4769 Made print_tree_pretty() function which displays scene tree graphically 2018-04-09 15:01:37 +02:00
Poommetee Ketson e83af5dfc6 Add new transform tutorial to appropriate classes 2018-04-09 17:44:13 +07:00
Max Hilbrunner bc66869d4c [DOCS] SceneTree 2018-04-08 23:34:17 +02:00
Juan Linietsky b756172bdb
Merge pull request #16705 from Chaosus/generate_normals_flip
Add flip switch to SurfaceTool.generate_normals
2018-04-08 17:18:03 -03:00
Juan Linietsky a6c9ccf007
Merge pull request #17150 from robfram/check-animation-playing-backwards
Added `get_playing_speed` method to AnimationPlayer, returning the actual playing speed of the animation being played
2018-04-08 11:36:15 -03:00
Juan Linietsky 6eb0c74e9d
Merge pull request #17443 from Noshyaar/tilesetcrash
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-08 09:31:54 -03:00
Juan Linietsky cd7e9d9642
Merge pull request #17583 from RandomShaper/enhance-uri-utils
Enhance uri utils
2018-04-07 17:07:29 -03:00
Juan Linietsky 187b14ae24
Merge pull request #17730 from RandomShaper/radio-buttons-in-menus
Radio buttons in menus
2018-04-07 16:41:39 -03:00
Mel Collins 99110772c0 [DOCS] Tweaks and fixes for (Interpolated)Camera 2018-04-03 15:58:21 +02:00
Michael Alexsander Silva Dias d912e10c65 Added missing end points for brief descriptions in the docs. 2018-03-30 20:11:14 -03:00
Mel Collins c05d12384a [DOCS] Some content for InterpolatedCamera 2018-03-30 19:15:38 +02:00
mhilbrunner 41da122875 [DOCS] Typo fix for CollisionShape[2D] 2018-03-30 16:42:06 +02:00
Poommetee Ketson 4dbae5a738
Merge pull request #17839 from Noshyaar/1
[Docs] Control, VehicleWheel: fix typos

[ci skip]
2018-03-29 12:55:15 +07:00
Poommetee Ketson a88ee7d920 [Docs] fix typos 2018-03-29 12:46:21 +07:00
Max Hilbrunner 13d5ee01f9
[DOCS] Node & PackedScene (#17833)
* [DOCS] Node: SceneSaver -> PackedScene

* [DOCS] PackedScene: Code example, resolve TODO
2018-03-28 23:07:03 +02:00
Max Hilbrunner b59ae81538
[DOCS] Generic6DOFJoint fixes 2018-03-28 22:44:26 +02:00
Pedro J. Estébanez ab3b1d9f3e Add radio-button-looking entries to PopupMenu
They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually.

`is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button.

Keeping check in the name adds an additional clue about these facts.

Closes #13055.
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez 8d8e9d54c8 Enhance HTTPClient.query_string_from_dict() 2018-03-27 19:18:32 +02:00
Poommetee Ketson ed3b080ca6 Fix converting to tileset crashes Godot if existing file is not tileset
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23 21:27:30 +07:00
Poommetee Ketson 7d18334ad2
[DOCS] minor ParticlesMaterial docs fix Linear -> Radial 2018-03-21 23:44:09 +07:00
Pieter-Jan Briers 11aa330a6f Improve Input.is_action_just_* docs.
More clarification.
2018-03-18 13:41:25 +01:00
Michael Alexsander Silva Dias 712d6e724a Fixed small typo in the "InstancePlaceholder" doc. 2018-03-17 16:00:36 -03:00
Geoffrey 09c887f38e Implemented interface for bullet joint motors 2018-03-16 13:37:15 +01:00
Max Hilbrunner 7275fb6170
[DOCS] Node: Remove duplicate information 2018-03-16 11:48:45 +01:00
Hein-Pieter van Braam 9bc0503c91
Merge pull request #17376 from marcelofg55/file_get_path
Added File.get_path and File.get_path_absolute functions
2018-03-15 22:21:21 +01:00
Rémi Verschelde 9bb1b55486
Merge pull request #17514 from brylie/patch-1
Add brief description
2018-03-15 20:45:26 +01:00
mhilbrunner 5a3e841c60 [DOCS] Node: Networking updates, fix outdated and missing docs 2018-03-15 20:00:34 +01:00
Brylie Christopher Oxley 32fc6c9041
Add brief description 2018-03-14 23:23:38 +02:00
Rémi Verschelde a8bbb708a8
Merge pull request #17489 from mhilbrunner/docs-input
[DOCS] Input
2018-03-14 12:29:47 +01:00
Goutte ed69345a19 Add a binary mask to allow configuration of which mouse buttons the BaseButton will respond to. 2018-03-13 23:59:53 +01:00
Max Hilbrunner c90f18e3f5
[DOCS] Environment: Whitespace fixes 2018-03-13 21:24:17 +01:00
Max Hilbrunner 22cb4a1cf9 [DOCS] Input 2018-03-13 20:12:10 +01:00
Marcelo Fernandez a4e64c5454 Added File.get_path and File.get_path_absolute functions 2018-03-13 12:07:37 -03:00
Rémi Verschelde c81356153e
Merge pull request #16971 from Noshyaar/tilemap
TileMap: add fix_invalid_tiles
2018-03-13 13:57:58 +01:00
Rémi Verschelde 96bda9c463
Merge pull request #17094 from Calinou/add-dynamicfont-hinting-options
Add an hinting mode setting to DynamicFonts
2018-03-13 13:38:35 +01:00
Rémi Verschelde 4287c7822b
Merge pull request #17440 from viktor-ferenczi/issue-5042
Properly closing all files in Python build code
2018-03-13 11:49:58 +01:00
Viktor Ferenczi 272ecddb28 Properly closing all files in Python code 2018-03-11 14:55:50 +01:00
Neil Moore 60f1f58158 Update Image format enumeration documentation
Provides more information about each image format.
2018-03-10 01:41:50 -05:00
Bernhard Liebl 9d7856620c Bring back Vector2.cross() 2018-03-07 21:10:31 +01:00
Max Hilbrunner fdd0f18959
[DOCS] Small fix to Area: Fix copy/paste errors 2018-03-03 10:52:14 +01:00
robfram 5ef88cf577 Added `get_playing_speed` method to AnimationPlayer, returning the actual
playing speed of the animation being played.

As stated in #16550, there is no way to get the playing speed of an
animation. The `playback_speed` property is for the whole AnimationPlayer
node, and the argument passed to `play` method is another scale applied
in top of the AnimationPlayer properties.

Thus, the actual playing speed is AnimationPlayer.speed_scale *
AnimationPlayer.playback.current.speed_scale. If it is not playing, the
method returns 0.
2018-03-03 09:29:22 +01:00
Poommetee Ketson b099a500eb
s/Camear/Camera in docs 2018-03-02 23:20:14 +07:00
Max Hilbrunner 0b65bac1a1
[DOCS] Small fix to PinJoint2D 2018-03-02 04:59:17 +01:00
Hugo Locurcio a0ddd6122c
Add documentation for the DynamicFont hinting property 2018-03-01 22:23:18 +01:00
Rémi Verschelde 47676cfa98 doc: Sync classref with current source 2018-02-27 13:41:27 +01:00
Rémi Verschelde 3fa77b3172 doc: Remove status from hardcoded version string
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-27 13:40:49 +01:00
indicainkwell 7154a96d3f added docs on Control's drag and drop api 2018-02-26 15:54:08 -08:00
Rémi Verschelde 2df206e6a8
Merge pull request #17003 from Noshyaar/docs
[DOCS] Sync classref with current source
2018-02-25 10:06:16 +01:00
Poommetee Ketson eb63f7b071 [DOCS] Sync classref with current source 2018-02-25 15:14:25 +07:00
Rémi Verschelde d356bd605b
Merge pull request #16952 from Noshyaar/datadir
[DOCS] clarify that OS.get_user_data_dir needs project name
2018-02-24 18:33:27 +01:00
Poommetee Ketson 7effe46461 TileMap: add fix_invalid_tiles 2018-02-24 19:34:41 +07:00
Poommetee Ketson 2c22c9dcfb [DOCS] clarify that OS.get_user_data_dir needs project name
[ci skip]
2018-02-24 17:15:06 +07:00
Pieter-Jan Briers b51a86a57a StyleBoxTexture: Texture instead of RES for texture and normal_map. 2018-02-22 19:27:35 +01:00
BastiaanOlij 234b86e6b2 Added documentation for VehicleBody 2018-02-22 17:39:25 +11:00
luz.paz 612ab4bbc6 Fix typos with codespell
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Rémi Verschelde 5109f2ca67
Merge pull request #16874 from volzhs/button-group-desc
Mention about BaseButton.toggle_mode in ButtonGroup description
2018-02-21 08:48:39 +01:00
volzhs 0d0b266143 Mention about BaseButton.toggle_mode in ButtonGroup description 2018-02-21 15:53:30 +09:00
Michael Alexsander Silva Dias 1260ed90bd Clarified what the Tree's signals "item_activated" and "item_double_clicked" do. 2018-02-20 13:11:06 -03:00
Rémi Verschelde 37a6ce5a42
Merge pull request #15563 from poke1024/gdscript-shuffle
Add shuffle() method to Array
2018-02-19 21:53:08 +01:00
Rémi Verschelde a41c45c335
Merge pull request #16060 from sdfgeoff/apply_torque
Exposed apply_torque_impulse to gdscript
2018-02-19 21:38:33 +01:00
Chaosus 399e553829 Added flip switch to generate_normals 2018-02-19 22:40:34 +03:00
Rémi Verschelde 48850d4077
Merge pull request #16738 from YeldhamDev/rigidbodies_descriptions
Made modifications to the RigidBody(2D) descriptions
2018-02-19 20:29:53 +01:00
Michael Alexsander Silva Dias 50e6b3c005 Made modifications to the RigidBody(2D) descriptions. 2018-02-19 14:40:00 -03:00
Rémi Verschelde fee29570d0 doc: Sync classref with current source 2018-02-19 10:47:16 +01:00
Rémi Verschelde 3c7a39b40c doc: Update version string in header 2018-02-19 10:46:33 +01:00
Rémi Verschelde ba0ec2ffd2
Merge pull request #16792 from Yanpas/md_maker
fixed md script
2018-02-18 17:46:34 +01:00
Yan Pas 059221f123 fixed md script 2018-02-18 17:13:47 +03:00
Benjamin Stammen 6af7dafd6c
Direct to InputEventJoypadButton for using buttons 2018-02-16 17:59:44 -08:00
Anish 84e8c49f5d Documentation tool does not add escapes to code and codeblocks
Instead of adding the escapes to all * and _ the tool now excludes
the characters inside [code] and [codeblock].

Resolves: #15156
2018-02-16 02:24:05 +05:30
sdfgeoff cdd8334585 Exposed apply_torque_impulse to gdscript and added documentation for added apply_torque_impulse method 2018-02-15 16:42:24 +01:00
Rémi Verschelde 7d7f8d9e54
Merge pull request #15864 from GodotExplorer/pr-get_unique_id-desktop-impl
Implement more methods for OS on Desktop platforms
2018-02-14 16:11:53 +01:00
Rémi Verschelde 8812cb4bfc
Merge pull request #16677 from YeldhamDev/itemlist_reselect
Added "allow_reselect" property to ItemList and enabled it for the method/help lists
2018-02-14 10:45:40 +01:00
Michael Alexsander Silva Dias 4dbf6ac1b8 Added "allow_reselect" property to ItemList and enabled it for the method/help lists. 2018-02-14 03:38:07 -02:00
Fabio Alessandrelli 67b600d957 Add mbedtls module 2018-02-14 01:26:23 +01:00
Rémi Verschelde c2d8960c9c
Merge pull request #16659 from vnen/plugin_order
Expose priority and order for custom import plugins
2018-02-14 00:28:40 +01:00
George Marques da69a06253
Add a function to remove controls from containers
Closes #5968
2018-02-13 19:35:10 -02:00
George Marques c68948fdfa
Expose priority and order for custom import plugins 2018-02-13 11:59:56 -02:00
Rémi Verschelde d0a3bd82c1
Merge pull request #16401 from YeldhamDev/json_example_fix
Fixed wrong example in JSONParseResult
2018-02-13 12:00:09 +01:00
Rémi Verschelde 889b9b6dce
Merge pull request #16306 from mhilbrunner/mhilbrunner-docs-json-keyorder
[DOCS] parse_json: Objects do not keep key order
2018-02-12 08:03:53 +01:00
Andrew Silver da81d9f843 Fixed KinematicBody move_and_slide documentation naming 2018-02-05 21:44:53 +01:00