Commit Graph

20141 Commits

Author SHA1 Message Date
Rémi Verschelde 0db32ced78
Merge pull request #31712 from volzhs/fix-vibrate-3.1
Suppress MissingPermission warning for Android vibration
2019-08-27 17:42:24 +02:00
volzhs 3178dee53c Suppress MissingPermission warning for Android vibration
It does check its permission every `vibrate_handheld()` calls.
Vibrate permission is added by checking it on export settings.

And there are some changes for deprecated method.
2019-08-27 22:02:22 +09:00
Rémi Verschelde 2c63c27ef1
Merge pull request #31438 from volzhs/vibrate-mobile-3.1
Support vibration for Android and iOS
2019-08-21 21:10:46 +02:00
volzhs 081751172a Support vibration for Android and iOS 2019-08-22 00:05:11 +09:00
Rémi Verschelde bac75bf0c2
Merge pull request #31493 from aaronfranke/mono-3.1-serial-ign
[3.1] [Mono] Backport serializable attributes and backport gitignore files
2019-08-20 13:04:11 +02:00
Aaron Franke 3a7aa3a0e4
[3.1] [Mono] Make all structs serializable
Manually cherrypicked from https://github.com/godotengine/godot/pull/31191
2019-08-19 19:23:18 -04:00
Aaron Franke 329817edad
[3.1] [Mono] Backport gitignore files
This avoids seeing files generated on master when switching to the 3.1 branch.
2019-08-19 19:19:21 -04:00
Rémi Verschelde 76776d181f Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@Anutrix, @hbina, @santouits

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 6d6b9ccc9a)
2019-08-02 09:44:54 +02:00
Rémi Verschelde d84e9f2948 Update AUTHORS and DONORS list
New contributor added to AUTHORS:
@aqnuep

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit ab1cb10317)
2019-08-02 09:44:50 +02:00
Rémi Verschelde a5082c010a doc: Fix invalid tags or properties introduced in recent cherry-picks 2019-07-29 17:55:20 +02:00
Chris Bradfield 2a9c2d95f5 [DOCS] Correct "fixed process" reference in KinematicBody doc
(cherry picked from commit 7f4059ceb7)
2019-07-29 17:47:46 +02:00
Michael Alexsander Silva Dias eef5dc98fa Update some dead links in the codebase
(cherry picked from commit 12ae7a4c02)
2019-07-29 17:47:46 +02:00
FlamyAT 5a8fad0f4e Documents the need for input_pickable in _input_event
Update CollisionObject2D.xml

Added member tags to missing docs

(cherry picked from commit 9a84cef4fc)
2019-07-29 17:47:46 +02:00
Hugo Locurcio 61eb6b5180 Improve the Variant class documentation
Taken from
https://docs.godotengine.org/en/latest/development/cpp/variant_class.html.

(cherry picked from commit 4840d36654)
2019-07-29 17:47:46 +02:00
unknown dbbbf7a7f4 AStar and AStar2D examples fixed to not use 'as' keyword and also removed error causing code
(cherry picked from commit d7cf3c8e72)
2019-07-29 17:47:46 +02:00
FlamyAT 4e07bab968 Added missing InputEvent documentation
(cherry picked from commit 2046d7b87a)
2019-07-29 17:47:46 +02:00
Meriipu 81ac9c9afb Document Tree column behaviour of min_width in conjunction w expand
(cherry picked from commit 94c5e6a97e)
2019-07-29 17:47:46 +02:00
Nathan Warden 0d4f6463f9 Completed documentation for BakedLightmap node.
(cherry picked from commit 643ea41c68)
2019-07-29 17:47:46 +02:00
Hugo Locurcio 1f8470eaf2 doc: Mention `Input.MOUSE_MODE_CAPTURED` is raw on Windows and Linux
(cherry picked from commit f4e99e2e39)
2019-07-29 17:47:46 +02:00
hbina085 f45b8c36fd Clarify what %APPDATA% expands to in Windows
Linux users should be familiar with "~" so I think it might be unnecessary.
Also changed the file separator in the description to use Windows' instead.

(cherry picked from commit 5f68ae93b5)
2019-07-29 17:47:46 +02:00
lmp f011721a6e Clearify how hex_to_int expects a '0x' prefixed string. Provide a small hex_to_int example
(cherry picked from commit cebb38e0b3)
2019-07-29 17:47:46 +02:00
Remi Rampin 417f223e63 DOC: Fix spelling
See also https://github.com/godotengine/godot-docs/pull/2595

(cherry picked from commit ddfd67401f)
2019-07-29 17:47:46 +02:00
Tomasz Chabora 6891c942a1 Clarify better what Node.raise does
(cherry picked from commit a26f52db33)
2019-07-29 17:47:46 +02:00
Marco Costa e9f4886253 Document constants in Transform/Transform2D
(cherry picked from commit f99e84d180)
2019-07-29 17:47:46 +02:00
Hugo Locurcio d81ca21a6c Fix Nintendo buttons in the @GlobalScope documentation
These were mistakenly referred to as DualShock buttons.

(cherry picked from commit 398219a80e)
2019-07-29 17:47:46 +02:00
Rémi Verschelde 0cccb6b4fa doc: Complete GlobalScope documentation
(cherry picked from commit 5aafc62a9b)
2019-07-29 17:47:46 +02:00
unknown 7dd98f3de7 Added descriptions to OS.get_splash_tick_msec() and OS.get_window_safe_area()
(cherry picked from commit f2fd5dfb91)
2019-07-29 17:47:46 +02:00
tree786 37e9ec842c doc: UPNP: Add example on how to open/close a port
I have added a small code sample to show how to automate the process of port forwarding (and closing after you are done).
Thanks to @mhilbrunner for explaining how to achieve t0his (see #18780)

(cherry picked from commit 2a63853720)
2019-07-29 17:47:46 +02:00
Zak 3e8b2d2063 Document SpinBox node
(cherry picked from commit f9cbd34fe0)
2019-07-29 17:47:46 +02:00
Zak baebe22ab0 Document PopupMenu node.
(cherry picked from commit 316931998c)
2019-07-29 17:47:46 +02:00
Tomasz Chabora e7899b9e35 Clarify docs for _ready and request_ready
(cherry picked from commit b71a339160)
2019-07-29 17:47:46 +02:00
Rémi Verschelde 383c678a1e doc: Replace all [code]CONSTANT[/code] by new [constant CONSTANT] hyperlinks
(cherry picked from commit bc82781f7d)
2019-07-29 17:32:54 +02:00
Rémi Verschelde 7a97fd99c7 Properly expose all Error constants to scripting languages
(cherry picked from commit 1bf448dd87)
2019-07-29 17:32:54 +02:00
Rémi Verschelde 755896b036 doc: Complete and harmonize all _MAX constant descriptions
(cherry picked from commit 86ed7a9884)
2019-07-29 17:32:53 +02:00
tree786 128eaa2718 Added example on how to use RandomNumberGenerator
(cherry picked from commit 68c6790baf)
2019-07-29 16:37:29 +02:00
Rémi Verschelde 055f9f075f doc: Proofread and complete various nodes
All 100% completed: MainLoop, Node, Object, Path, Performance,
Reference, Resource, SceneState, SceneTree, UndoRedo.

Also fixed some en_GB occurrences as the reference spelling is en_US.

(cherry picked from commit 867dda1124)
2019-07-29 16:35:23 +02:00
Rémi Verschelde ef5b885492 doc: Document NodePath.
(cherry picked from commit 6e9272eea8,
without the Node logic changes)
2019-07-29 16:26:42 +02:00
Rémi Verschelde 558e268edd doc: Document EncodedObjectAsID, expose its property
(cherry picked from commit a9cff880d6)
2019-07-29 16:20:25 +02:00
Marc Gilleron 021347e178 Document VisualServer.instances_cull_ray
(cherry picked from commit cb5233ee12)
2019-07-29 16:19:36 +02:00
Rémi Verschelde b8d29b5c66 doctool: Fix writing theme_item descriptions
We already had support for parsing and saving theme_item descriptions
in DocData, and displaying it in the editor, but doctool would drop the
changes as it was not writing them back to the XML.

Part of #29868.

(cherry picked from commit 615ffb3507)
2019-07-29 16:18:48 +02:00
Chaosus 67efb30f2a Extends wrapi/wrapf docs
(cherry picked from commit 4c137bebe8)
2019-07-29 16:17:43 +02:00
austinried 2f30fb9fec Remove references to mouse stuff from OS
There is nothing in `OS` about mouse grabbing or mouse cursors, that's in `Input`, so I'm cleaning up those references.

(cherry picked from commit 9eeead4be3)
2019-07-29 16:17:13 +02:00
Randall Fulton f8ee310b69 Call out scaling in Spatial.translate docstring
This fixes issue #26938.

(cherry picked from commit bdf51e8e49)
2019-07-29 16:16:58 +02:00
Zak 6f637b2bf3 Document MarginContainer Node
(cherry picked from commit 9f582a7c3e)
2019-07-29 16:16:39 +02:00
Randall Fulton 1137ccb050 Add docstring for Object.set_deferred
(cherry picked from commit 6843ad87a4)
2019-07-29 16:16:03 +02:00
Hugo Locurcio a08141120e Improve the `Engine.get_version_info()` documentation
This documents some keys that were missing and improves formatting.

(cherry picked from commit 03335e5250)
2019-07-29 16:15:37 +02:00
Zak 02a8c1d9fe Document ReferenceRect Node
Added missing documentation for ReferenceRect Node

(cherry picked from commit 5d0040e340)
2019-07-29 16:15:09 +02:00
unknown 29fbb408ec Added description to is_pixel_opaque() in Sprite.xml
(cherry picked from commit 44a20a0f61)
2019-07-29 16:06:02 +02:00
Rémi Verschelde 0893bb9a02 doc: Improve docs for Resource* classes
Also move module-specific classes to their own module's `doc_classes`
folder.

(cherry picked from commit 0764451dc5)
2019-07-29 16:05:01 +02:00
Zak b279f225c0 Document TextEdit node
(cherry picked from commit 1f81981b3d)
2019-07-29 16:01:14 +02:00