Commit graph

2940 commits

Author SHA1 Message Date
Marcel Admiraal 6f1c99e5b4 Clarify the difference between contacts and collisions. 2020-07-27 10:35:15 +01:00
PouleyKetchoupp 8c05dadcff Fix Return key events in LineEdit & TextEdit on Android
Depending on the device implementation, editor actions could be
received with different action ids or not at all for multi-line.

Added a parameter to virtual keyboards to properly handle single-line
and multi-line cases in all situations.

Single-line:
Input type set to text without multiline to make sure actions are sent.
IME options are set to DONE action to force action id consistency.

Multi-line:
Input type set to text and multiline to make sure enter triggers new lines.
Actions are disabled by the multiline flag, so '\n' characters are
handled in text changed callbacks.
2020-07-26 20:06:07 +02:00
Rémi Verschelde da621ab0c5
Merge pull request #40442 from Calinou/doc-tile-get-shapes
Document an example dictionary returned by `TileSet.tile_get_shapes()`
2020-07-26 16:42:35 +02:00
Rémi Verschelde 6f292f906e
Merge pull request #38900 from bruvzg/docs_ignore_os_spec_def_vals
Docs: Ignore OS specific values (constants, project settings, properties)
2020-07-25 18:54:25 +02:00
Rémi Verschelde 460a00619e
Merge pull request #40605 from QbieShay/spring-arm-doc-fix
fixed documentation for get_hit_length of spring arm 3D
2020-07-23 10:34:16 +02:00
QbieShay d1bff73611 fixed documentation for get_hit_length of spring arm 3D
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-07-22 23:08:37 +02:00
follower e38b63400c
Fix presumed copy/paste error: "Returns" -> "Sets"
I might be going out on a limb here... :D
2020-07-23 04:21:29 +12:00
Rémi Verschelde e196b8127c
Merge pull request #40590 from Calinou/doc-inputeventmousemotion-polling-rate
Document polling rate limitations in InputEventMouseMotion
2020-07-22 13:17:03 +02:00
Hugo Locurcio 924b7ea2f5 Document polling rate limitations in InputEventMouseMotion
This closes #40579.
2020-07-22 10:25:13 +02:00
Rémi Verschelde d8c3fba1d4
Merge pull request #40588 from nekomatata/virtual-keyboard-disable
Add option to disable virtual keyboard for LineEdit
2020-07-22 09:33:47 +02:00
PouleyKetchoupp 0aa56e3ab8 Add option to disable virtual keyboard for LineEdit
Co-authored-by: Alexander Holland <alexander.holland@live.de>
2020-07-22 08:19:05 +02:00
Rémi Verschelde a5fb445121
Merge pull request #40450 from asmaloney/spelling
Fix spelling & grammar in comments, docs, and messages
2020-07-21 22:14:04 +02:00
Rémi Verschelde bb2c0d3c3a
Merge pull request #40501 from aaronfranke/core-docs-cs
Update core documentation to match recent C# changes
2020-07-21 21:28:55 +02:00
Andy Maloney 4dda62f591 Fix spelling & grammar in comments, docs, and messages 2020-07-21 15:17:23 -04:00
Rémi Verschelde e73de413db
Merge pull request #40457 from Calinou/doc-basebutton-pressed-toggled
Mention `toggled` signal for pressed state in BaseButton documentation
2020-07-21 21:05:58 +02:00
Aaron Franke 83e324d670
Update core documentation to match recent C# changes
Also a few minor API changes like adding AABB.abs()

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-07-21 14:44:53 -04:00
Rémi Verschelde 01fb1f189f
Merge pull request #40512 from yrk06/ExposeInertiaTensorMaster
Add Method get_inverse_inertia_tensor
2020-07-21 16:49:24 +02:00
Yerik a91103ac89 Add Method get_inverse_inertia_tensor 2020-07-21 11:33:41 -03:00
Rémi Verschelde 15a97679bb
Merge pull request #40476 from Calinou/doc-visibilitynotifier
Improve the VisibilityNotifier and VisibilityEnabler class descriptions
2020-07-20 23:50:08 +02:00
Rémi Verschelde ca5033e8ab
Merge pull request #40463 from Calinou/doc-editorsettings
Complete the EditorSettings class documentation
2020-07-20 23:48:23 +02:00
Rémi Verschelde 2334a1cf19
Merge pull request #40493 from Calinou/doc-editor-plugins-interfaces
Document several editor-related classes to 100% completion
2020-07-20 23:47:50 +02:00
Rémi Verschelde 6746f8b890
Merge pull request #40477 from Calinou/doc-vector-dot
Document `Vector2.dot()` and `Vector3.dot()` more extensively
2020-07-20 23:46:28 +02:00
Rémi Verschelde aada93afc0
Merge pull request #40491 from RandomShaper/font_avail_chars
Add DynamicFont::get_available_chars()
2020-07-20 19:18:53 +02:00
Pedro J. Estébanez 80a5df4821 Add DynamicFont::get_available_chars() 2020-07-20 17:44:39 +02:00
Hugo Locurcio 90db42d9db Document HTML5 CORS restrictions in HTTPClient and HTTPRequest
See https://github.com/godotengine/godot/issues/40247.
2020-07-20 15:15:55 +02:00
Hugo Locurcio fb2e4d77eb Document several editor-related classes to 100% completion 2020-07-20 14:48:42 +02:00
Hugo Locurcio 1554fce23c Document Vector2.dot() and Vector3.dot() more extensively
These methods are commonly used in games. It's time to make the
documentation more explicit about them :)
2020-07-20 14:20:17 +02:00
Rémi Verschelde 639252d0f8
Merge pull request #40409 from Calinou/doc-control-rect-scale
Document caveats related to Control scaling
2020-07-20 13:56:50 +02:00
Andrii Doroshenko (Xrayez) df80e259cd Document the process of parsing command-line arguments
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-07-20 12:09:46 +03:00
Hugo Locurcio ce57cc43dd
Improve the VisibilityNotifier and VisibilityEnabler class descriptions 2020-07-18 00:30:30 +02:00
Hugo Locurcio 708a0a43fb
Complete the EditorSettings class documentation
EditorSettings is now 100% documented.
2020-07-17 20:23:14 +02:00
Hugo Locurcio 43dae28e9d
Mention toggled signal for pressed state in BaseButton documentation
This closes #40455.
2020-07-17 00:01:24 +02:00
Hugo Locurcio 60bb80505f Document an example dictionary returned by TileSet.tile_get_shapes() 2020-07-16 09:42:24 +02:00
Hugo Locurcio d4085d6bfb Mention the Data paths documentation in the File class
This closes https://github.com/godotengine/godot-docs/issues/3799.
2020-07-15 16:10:06 +02:00
Rémi Verschelde f131daf972
Merge pull request #40414 from rcorre/get-mesh-arrays-doc
Clarify how to convert PrimitiveMesh to ArrayMesh.
2020-07-15 15:30:27 +02:00
Rémi Verschelde 1cc5d35906
Merge pull request #40412 from Calinou/doc-string-c-unescape
Document which escape sequences are supported by `String.c_unescape()`
2020-07-15 14:19:50 +02:00
Ryan Roden-Corrent 933bf96523
Clarify how to convert PrimitiveMesh to ArrayMesh.
It took me a bit to figure this out, as I was initially doing something
more complicated like this before I realized I just had to pass
get_mesh_arrays directly to add_surface_from_arrays.

```
var arr_mesh = ArrayMesh.new()
var arrays = []
arrays.resize(ArrayMesh.ARRAY_MAX)
arrays[ArrayMesh.ARRAY_VERTEX] = c.get_mesh_arrays()
arr_mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, arrays)
```
2020-07-15 08:09:27 -04:00
Rémi Verschelde 08dda79a9c
Merge pull request #37961 from Calinou/doc-csharp-dynamic-object-call
Mention C# gotchas in Object's dynamic call/set/connect methods
2020-07-15 12:33:41 +02:00
Hugo Locurcio 04b25108ac Document which escape sequences are supported by String.c_unescape()
See https://github.com/godotengine/godot/issues/38716.
2020-07-15 11:52:00 +02:00
bruvzg 0181c3dde1
Docs: Ignore OS specific values (constants, project settings, properties). 2020-07-15 12:24:59 +03:00
Hugo Locurcio a36912b3cb Document caveats related to Control scaling
This is a common topic of confusion. Clarifying its intended scope
should make things easier to understand.
2020-07-15 10:36:29 +02:00
Rémi Verschelde dad21acebd
Merge pull request #40380 from Calinou/doc-vehiclebody-limitations
Document VehicleBody3D and VehicleWheel3D limitations
2020-07-15 09:28:19 +02:00
Rémi Verschelde c8523038cc
Merge pull request #40268 from DanielZTing/master
Fix cancel/OK button order on macOS
2020-07-15 09:21:04 +02:00
Rémi Verschelde b79aa89796 doc: Sync classref with current source 2020-07-15 08:43:21 +02:00
Hugo Locurcio 878f03d8e3
Mention C# gotchas in Object's dynamic call/set/connect methods
This closes #34015.
2020-07-14 17:07:10 +02:00
Hugo Locurcio 0493e7c106
Document VehicleBody3D and VehicleWheel3D limitations
These classes have dozens of open bugs and missing features
which may not be fixed anytime soon.

It's probably better to document it upfront at this point.
2020-07-14 16:16:08 +02:00
Fabio Alessandrelli 839c7b1ba3 Document updated UDPServer interface. 2020-07-14 14:10:18 +02:00
Aaron Franke 9986439352
Commit other files changed by file_format.sh 2020-07-13 14:14:11 -04:00
Rémi Verschelde 9678a41b19
Merge pull request #40272 from clayjohn/VULKAN-time-slicing
Add incremental update mode to sky
2020-07-11 10:00:39 +02:00
clayjohn a54f93c169 Add incremental update mode to sky 2020-07-11 00:10:15 -07:00