Commit graph

1723 commits

Author SHA1 Message Date
Jóhannes Gunnar Þorsteinsson 6322c783a3 Add apply method to SpinBox 2020-02-28 12:49:01 -05:00
Rémi Verschelde 227a81c119 Range: Properly bind value emitted by 'changed' signal
This was fixed in the `master` branch by removing the value in #29831,
but for `3.1` we preserve compatibility, even if redundant with
'value_changed'.

Fixes #35395.
2020-01-21 09:25:08 +01:00
willnationsdev 4aeb7b41cb Added more in-depth examples of NodePaths in API docs.
(cherry picked from commit db0082534c)
2019-11-29 15:58:27 +01:00
Zak 7c67b1c9a2 Fix split/rsplit docs
(cherry picked from commit 79aca6b0c0)
2019-11-29 15:58:27 +01:00
Rémi Verschelde bfd993b0ca doc: Sync classref with current source 2019-11-12 21:49:04 +01:00
Rémi Verschelde 4d6517fad3 Bind missing FLAG_DISABLE_Z enum value in ParticlesMaterial
Fixes #29419.

(cherry picked from commit a3462c97ad)
2019-11-12 11:51:52 +01:00
WiggleWizard 4444bd1fcb Fixed virtual method not showing up in autocomplete and docs
(cherry picked from commit aebca30c43)
2019-11-12 11:42:45 +01:00
Aaron Winter 794341e0b5 added negative X and negative Y offset to TileMap
clang-format

added negative X and negative Y offset to TileMap

(cherry picked from commit 63e0fd7675)
2019-11-12 11:07:19 +01:00
Tomasz Chabora 55ec64a77a Clarify is_action_pressed() for multiple assigned buttons
(cherry picked from commit 7e329a7251)
2019-11-08 15:48:38 +01:00
clayjohn cf9560fdab add project setting for max lights and reflections in gles3
(cherry picked from commit 1a981ef268)
2019-11-08 15:48:37 +01:00
Guilherme Felipe 71a0722035 Fix set_default_cursor_shape always sending motion event
(cherry picked from commit 508761e0cd)
2019-11-08 15:48:19 +01:00
Hugo Locurcio ac09460cd1 Mention 32-bit integer limit in the PoolIntArray documentation
(cherry picked from commit cb3676726b)
2019-11-08 15:48:19 +01:00
PouleyKetchoupp 1649848a81 Updated doc for PROPERTY_HINT_RANGE (or_greater/or_lesser instead of allow_greater/allow_lesser)
(cherry picked from commit 09e3905c06)
2019-11-08 15:48:19 +01:00
Max Hunt 9e96e1f1c0 Improve documentation of EditorPlugin.add_tool_submenu_item method
(cherry picked from commit 45767fe5f6)
2019-11-08 15:48:18 +01:00
Tomasz Chabora 37794ea4c3 Clarify usage of action_press
(cherry picked from commit b950867df8)
2019-11-08 15:48:18 +01:00
Hugo Locurcio 1ef9a47ede Improve the GeometryInstance class documentation
This adds a mention that LOD properties currently have no effect.

(cherry picked from commit b84b46d5df)
2019-11-08 15:48:18 +01:00
Hugo Locurcio 1f772917d2 makerst: Separate signals/enums/properties/methods with a line
(cherry picked from commit c2e5ef4cec)
2019-11-08 15:48:17 +01:00
volzhs 081751172a Support vibration for Android and iOS 2019-08-22 00:05:11 +09: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
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
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
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
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