Commit Graph

1036 Commits

Author SHA1 Message Date
Poommetee Ketson 0babb60c74 doc: Sync classref with current source 2018-11-10 20:21:34 +07:00
Davide Baldo 1b0c7515ff Allow to specify a custom strength when calling Input.action_press(), this allows virtual axis, mainly for mobile. 2018-11-10 10:25:59 +00:00
Marcelo Fernandez 4de0cbba15 Expose OS::move_window_to_foreground 2018-11-07 11:51:15 -03:00
Rémi Verschelde 5f8af252e8 doc: Use HTTPS for docs.godotengine.org and point to latest branch
Fixes #23509.
2018-11-05 08:46:27 +01:00
Rémi Verschelde a282e67b24
Merge pull request #23422 from santouits/docs-expression
Docs: Expression class docs
2018-11-05 08:11:31 +01:00
Gilles Roudière 7438093562
Merge pull request #23512 from MrVallentin/typos
Fixed typos
2018-11-04 23:26:02 +01:00
MrVallentin 693ee5dd56 Fixed typos 2018-11-04 22:15:11 +01:00
santouits 636ebdf819 Docs: Expression class docs 2018-11-03 23:36:35 +02:00
Jared f115f00ec6 Allow plugin scene change signal to report null for empty scenes. 2018-11-03 00:11:02 +02:00
Rémi Verschelde b573bf8547
Merge pull request #23411 from RandomShaper/fix-same-layer-not-deterministic
Fix canvas stacking not deterministic on same layer
2018-11-01 19:31:09 +01:00
Rémi Verschelde 200c2e7451
Merge pull request #23294 from gcardozo123/issue-23235-get-collision-exceptions
Add method get_collision_exceptions to PhysicsBody2D
2018-11-01 10:57:28 +01:00
Rémi Verschelde 48a8ac506e
Merge pull request #22963 from AlexHolly/doc-richtextlabel
Doc RichTextLabel push strikethrough and align
2018-11-01 10:47:08 +01:00
Guilherme Recchi Cardozo 3fb2069d39 Add method get_collision_exceptions
Adding this method to PhysicsBody, PhysicsBody2D and
SoftBody. It returns a list of nodes included in
collision exceptions.

Fixes #23235, cheers!
2018-11-01 06:41:34 -03:00
Rémi Verschelde 22b7489ab1 doc: Fix invalid [enum] uses 2018-10-31 13:01:54 +01:00
Pedro J. Estébanez cf8976de41 Fix canvas stacking not deterministic on same layer
Fixes #22687.
2018-10-30 21:53:00 +01:00
MrCdK b2bfcb53d6 Add backward looping support to AudioStreamSample (wav files) 2018-10-28 19:37:14 +01:00
Alexander Holland 1f271e4be6 Doc RichTextLabel push strikethrough and align 2018-10-25 18:51:31 +02:00
Rémi Verschelde 7a42df3626 doc: Sync with current source 2018-10-25 15:14:47 +02:00
Max Hilbrunner 4eb9099df0
Merge pull request #23199 from Ashafix/packedScene
[DOCS] more detailed example for usage of PackedScene
2018-10-25 13:39:24 +02:00
Rémi Verschelde 11be39f3ce
Merge pull request #23221 from pgruenbacher/lookahead_docs
added docs for lookeahead pathfollow2d.xml
2018-10-25 10:58:01 +02:00
M. Huri b46ba24e3b Repaired mistyped of 'its' on several files. 2018-10-25 07:19:21 +07:00
paul gruenbacher 1c73443915 added docs for lookeahead
Fix indenting

lookahead clarification

fix ahead
2018-10-24 17:17:54 -04:00
Ashafix 725bec7735 more detailed example for usage of PackedScene 2018-10-24 16:01:50 +01:00
Rémi Verschelde d42850f62e
Merge pull request #23201 from Ashafix/VectorSlicing
[DOCS] Added section that coordinates can be accessed via indexes
2018-10-24 16:32:49 +02:00
Ashafix bbfa37a29c Added section that coordinates can be accessed via indexes 2018-10-24 15:22:44 +01:00
M. Huri 325ecd1c2b [Docs] Repaired some words on ProjectSettings 2018-10-24 20:56:06 +07:00
lupoDharkael e19520e8fe ColorPicker: extend access to presets from gds 2018-10-24 01:07:33 +02:00
Max Hilbrunner 72db3000a5
Merge pull request #23200 from santouits/navpoldocs
NavigationPolygon descriptions of the class and methods
2018-10-23 23:38:33 +02:00
Max Hilbrunner c487cce6d0
Merge pull request #23206 from mhilbrunner/docs-streampeertcp
[DOCS] StreamPeerTCP
2018-10-21 22:28:58 +02:00
Max Hilbrunner 1df0900d8e
[DOCS] StreamPeerTCP 2018-10-21 22:28:21 +02:00
Max Hilbrunner 1511a66a98
[DOCS] YSort 2018-10-21 22:19:46 +02:00
santouits 1c14b01422 NavigationPolygon descriptions of the class and methods 2018-10-21 20:38:57 +03:00
Alex e3d7ac17e0
fix doc markdown 2018-10-18 11:48:11 -04:00
David Sichma 6ec4da2e3b Fix inconsistency in KinematicBody
- moved new infinite_inertia argument of move_and_slide and
move_and_slide_with_snap in KinematicBody and KinematicBody2D to the
end if not already there. This makes the order of arguments consistent
and should keep projects from 3.0 compatible as this argument did not
exist in 3.0. Docs updated accordingly.
- renamed max_bounces to max_slides for consistency. Docs updated
accordingly.
- the argument infinite_inertia in test_move is now optional, as it is
in every other movement related method. This closes #22829.
2018-10-17 17:22:14 +02:00
Rémi Verschelde 8b42890217
Merge pull request #23009 from AlexHolly/doc-tabcontainer-rearrange
Doc Tabcontainer rearrange tabs
2018-10-16 14:35:28 +02:00
Alexander Holland 44aa312881 Doc Tabcontainer rearrange tabs 2018-10-15 15:05:46 +02:00
Alexander Holland 3a875d3200 Doc Tabs 2018-10-15 15:01:36 +02:00
Max Hilbrunner b95f0e61e0
Merge pull request #22942 from AlexHolly/doc-string-filedialog
Filled missing Doc for String and FileDialog
2018-10-14 19:37:32 +02:00
Max Hilbrunner c106c88da8
Merge pull request #22986 from AlexHolly/doc-lineedit-clear-button
Doc LineEdit MenuRedo and clear_button_enabled
2018-10-14 19:32:39 +02:00
Max Hilbrunner f1d4167030
Merge pull request #22978 from CakHuri/fix-get_button_count-link
[Docs] Fixed 'get_button_count's link and a typo related to 'button'.
2018-10-14 19:31:31 +02:00
Max Hilbrunner 73e22a7cee
Merge pull request #22924 from clayjohn/doc_MeshDataTool
[DOCS] Added descriptions to MeshDataTool classref
2018-10-14 19:26:39 +02:00
Alexander Holland c6dbcb1474 Doc LineEdit MenuRedo and clear_button_enabled 2018-10-13 17:41:02 +02:00
M. Huri 967831d9a0 [Docs] Fixed 'get_button_count's link and a typo related to 'button'. 2018-10-13 17:34:57 +07:00
M. Huri 32ec2e3b2c Fixed a typo, sahpe to shape. 2018-10-13 13:20:45 +07:00
Alexander Holland e4b2a20cd6 Filled missing Doc for String and FileDialog 2018-10-12 04:46:24 +02:00
clayjohn 596c36a9ac added descriptions to MeshDataTool doc 2018-10-11 09:00:37 -07:00
clayjohn 84e82a387f update and expand surfacetool doc 2018-10-08 21:34:36 -07:00
Rémi Verschelde b17e71b6e5
Merge pull request #22808 from KellyThomas/vector-one
Add ONE constants to Vector2 and Vector3
2018-10-07 18:57:27 +02:00
Kelly Thomas b150ceb62c Update class documentation xml 2018-10-07 21:57:26 +08:00
Kelly Thomas 215db9ff71 add ONE constants to Vector2 and Vector3 2018-10-07 21:33:18 +08:00
Rémi Verschelde cff89fc4e4
Merge pull request #22678 from Dragoncraft89/set_pause
Add Behaviour of SceneTree pausing to the doc
2018-10-07 11:44:07 +02:00
Max Hilbrunner f28b032490
Merge pull request #22818 from cbscribe/kcc_doc_spatialmat
[DOCS] SpatialMaterial descriptions
2018-10-07 03:20:22 +02:00
Chris Bradfield 5e42e45c04 [DOCS] SpatialMaterial descriptions 2018-10-06 17:39:24 -07:00
Rémi Verschelde 3d91af282e
Merge pull request #22773 from KellyThomas/docs-links
[Docs] Fix some broken links
2018-10-06 12:04:08 +02:00
Kelly Thomas b1ab7b4acf [Docs] Fix some broken links 2018-10-06 04:20:16 +08:00
Guilherme Felipe 5016ef6fe0 [Docs] Add doc for Input::get_action_strength 2018-10-05 09:54:00 -03:00
Nathan Lovato 86a138f154 [DOC] Complete the TextureProgress reference
Added 6 missing entries, clarified one definition
2018-10-04 10:38:18 +09:00
Rémi Verschelde caa141a1ac
Merge pull request #22659 from YeldhamDev/animation_doc_example
Add example to Animation doc
2018-10-03 20:35:09 +02:00
Rémi Verschelde 1aa1398012
Merge pull request #22671 from Dragoncraft89/master
ItemList signals additional documentation
2018-10-03 18:20:23 +02:00
Rémi Verschelde 75fceb37f8
Merge pull request #22674 from Dragoncraft89/find_node
Document find_node()'s owner argument behaviour
2018-10-03 18:19:58 +02:00
Michael Alexsander Silva Dias a02f02b9ed Add example to Animation doc 2018-10-03 13:17:49 -03:00
florian c14e034f06 Document find_node()'s owner argument behaviour 2018-10-03 18:16:27 +02:00
florian 65d182a939 ItemList signals additional documentation
Signals:
* item_selected
* item_rmb_select
2018-10-03 18:13:59 +02:00
florian 353af122b8 Add Behaviour of SceneTree pausing to the doc 2018-10-03 15:29:25 +02:00
Rémi Verschelde d952126caf Fix warnings in Android platform
Fixes the following Clang 7 warnings:
```
platform/android/os_android.h:240:16: warning: 'OS_Android::native_video_play' hides overloaded virtual function [-Woverloaded-virtual]
platform/android/os_android.h:241:15: warning: 'OS_Android::native_video_is_playing' hides overloaded virtual function [-Woverloaded-virtual]

platform/android/audio_driver_opensl.cpp:104:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]

platform/android/audio_driver_opensl.cpp:129:10: warning: unused variable 'numOutputs' [-Wunused-variable]
platform/android/audio_driver_opensl.cpp:130:11: warning: unused variable 'deviceID' [-Wunused-variable]
platform/android/java_glue.cpp:795:10: warning: unused variable 'clsio' [-Wunused-variable]
platform/android/java_glue.cpp:890:12: warning: unused variable 'gob' [-Wunused-variable]
platform/android/java_glue.cpp:592:13: warning: unused variable 'resized' [-Wunused-variable]
platform/android/java_glue.cpp:593:13: warning: unused variable 'resized_reload' [-Wunused-variable]

modules/mobile_vr/mobile_vr_interface.cpp:401:8: warning: unused variable 'aspect_ratio' [-Wunused-variable]

drivers/unix/dir_access_unix.cpp:394:2: warning: THIS IS BROKEN [-W#warnings]
```
2018-10-03 15:17:00 +02:00
Rémi Verschelde 9941c5a132
Merge pull request #22651 from cbscribe/kcc_docs_color_rigidbody
[DOCS] Classref updates: Color, RigidBody*
2018-10-03 08:19:38 +02:00
Chris Bradfield 7bc11505b1 [DOCS] Classref updates: Color, RigidBody* 2018-10-02 15:47:10 -07:00
Michael Alexsander Silva Dias 07e0f796af Add note in ParallaxLayer doc about ignoring position/scale changes after entering the scene 2018-10-02 17:48:01 -03:00
florian 612193b77f Add critical info to TreeItem.set_custom_draw documentation
Indicates that the method needs 2 arguments to be called
2018-10-02 19:42:58 +02:00
Rémi Verschelde 88a14949dd
Merge pull request #22612 from Dragoncraft89/master
Improve doc of ProjectSettings
2018-10-02 13:49:59 +02:00
florian 73429cf9f5 Improve doc of ProjectSettings
Documentation added for:
* bool load_resource_pack(String)
* bool property_can_revert(String)
* Variant property_get_revert(String)
* Error save()
* Error save_custom(String)
2018-10-02 11:52:37 +02:00
Rémi Verschelde 876456754d
Merge pull request #21421 from YeldhamDev/mult_view_changes
Small improvements to the Spatial Editor's multiple viewport mode
2018-10-02 11:22:49 +02:00
Rémi Verschelde a8a12daed5
Merge pull request #22355 from LikeLakers2/docs-tabs
[Docs] Remove double-spaces from descriptions, plus a couple other tiny fixes
2018-10-02 09:28:13 +02:00
Rémi Verschelde dd1e8cd774
Merge pull request #22601 from cbscribe/kcc_class_docs
[DOCS] Update VisibilityEnabler* and TileSet doc
2018-10-02 08:39:57 +02:00
Chris Bradfield 49549ce93c [DOCS] Update VisibilityEnabler* and TileSet doc 2018-10-01 15:20:18 -07:00
aBARICHELLO 6e0de76746 Add Input buttons and axes missing descriptions 2018-10-01 18:57:19 -03:00
Max Hilbrunner 84b6394a4d
[DOCS] NetworkedMultiplayerPeer: TransferMode(s) 2018-09-30 16:45:48 +02:00
FlamyAT da296ce30f
Fixed casting result in float.xml
The float-string parsing result in the documentation was inaccurate. 1e-3 is written as 0.001 when decimal.
2018-09-29 07:45:27 +02:00
Kelly Thomas 7759155ce4 [DOCS] ButtonList - extra mouse buttons 2018-09-29 00:37:25 +08:00
Rémi Verschelde f87fb2c795
Merge pull request #22413 from lupoDharkael/array-mesh-docs
Add code example to ArrayMesh class docs
2018-09-28 10:36:36 +02:00
Rémi Verschelde c7e646c30a
Merge pull request #22447 from akien-mga/fix-warnings-Wswitch
Fix warnings about unhandled enum value in switch [-Wswitch]
2018-09-28 09:47:29 +02:00
Kelly Thomas 7ecad927f3 [DOCS] InputEventMouseButton: correct description for doubleclick property 2018-09-28 01:46:49 +08:00
Rémi Verschelde 7b081a7fc8 Fix warnings about unhandled enum value in switch [-Wswitch]
Fixes GCC 5 warnings of the form:

core/io/http_client.cpp:288:9: warning: enumeration value 'STATUS_SSL_HANDSHAKE_ERROR' not handled in switch [-Wswitch]
core/io/marshalls.cpp:806:9: warning: enumeration value 'AABB' not handled in switch [-Wswitch]

Those can be trivial cases where adding a default fallback is the solution,
or more complex issues/hidden bugs where missed values are actually meant
to be handled.
2018-09-27 18:34:30 +02:00
Rémi Verschelde 9108b5fba5 doc: Fix OS.execute example (cf. #22412) 2018-09-27 09:34:08 +02:00
lupoDharkael 9b85866c07 Add code example to ArrayMesh class docs 2018-09-26 18:42:16 +02:00
Damien Picard 5e8e216ee0 Doc: fix example in Array sort_custom() 2018-09-25 11:46:45 +02:00
LikeLakers2 eaac1e3b81 [Docs] Remove double-spaces from descriptions, as well a couple other small fixes 2018-09-23 16:13:30 -04:00
homer666 194f476095 [DOCS] PhysicsDirectSpaceState updates 2018-09-23 09:31:37 +10:00
Max Hilbrunner d878c828b5
Merge pull request #22115 from akerudesu/find-parent
Added find_parent method to node class
2018-09-22 17:15:38 +02:00
Fabio Alessandrelli b9707ce08f StreamPeer get[_utf8]_string with negative length.
If the "bytes" parameter of get_string and get_utf8_string is negative,
the length will be read from the stream instead.
The bytes parameter has now a default (-1), allowing to use them
directly as reverses of put_string and put_utf8_string .
put_string was not implemented, so I implemented it to allow sending
ASCII strings (which are much smaller than UTF8 ones).
2018-09-22 13:35:41 +02:00
Rémi Verschelde ef7b384861 doc: Misc formatting fixes 2018-09-21 15:34:11 +02:00
Rémi Verschelde eaef2cc6b5
Merge pull request #22032 from Windfisch/docfix
Add documentation details about Image formats and color space conversion
2018-09-21 15:21:24 +02:00
Max Hilbrunner 0279985a70
Merge pull request #22218 from char0xff/doc_editorpluginsinterface
Improve EditorPlugin.xml and EditorInterface.xml
2018-09-21 14:58:27 +02:00
Rémi Verschelde 83758a9004 doc: Sync classref with current source 2018-09-21 09:33:05 +02:00
Rémi Verschelde 69ee33896a
Merge pull request #21426 from groud/add_files_to_tree_view
Add files to tree view
2018-09-20 18:32:13 +02:00
char0xff a0efe25c9e Improve EditorPlugin.xml and EditorInterface.xml 2018-09-18 16:38:19 +02:00
groud 76b2ae8dc6 Fixes favorites not updating and rename favorite_dirs to favorites 2018-09-18 14:02:59 +02:00
Rémi Verschelde ebd14a778d
Merge pull request #22113 from char0xff/editor_interface
Update EditorInterface.xml
2018-09-17 13:49:07 +02:00
Rémi Verschelde 7ffeabf6bb
Merge pull request #22119 from char0xff/doc_config
Fix mistake in ConfigFile.xml
2018-09-17 13:48:32 +02:00
Rémi Verschelde 341e18a48e
Merge pull request #22162 from cbscribe/kcc_classref
[DOCS] Classref additions and consistency fixes
2018-09-17 11:50:23 +02:00
Jared d286e98fd1 Small documentation clarification added to CanvasItem. 2018-09-16 21:44:37 +03:00
Chris Bradfield ec5cc708ce [DOCS] Classref additions and consistency fixes 2018-09-16 10:52:21 -07:00
char0xff 77ff6de27e Fix mistake in ConfigFile.xml 2018-09-15 21:06:32 +02:00
char0xff 0c10d3fc16 Update EditorInterface.xml 2018-09-15 18:25:48 +02:00
Unknown 0fdbf6b2ef Added find_parent method to node class 2018-09-15 18:22:29 +02:00
Rémi Verschelde 82e69f38ee
Merge pull request #21973 from guilhermefelipecgs/fix_default_cursor_shape
Some fixes to mouse's cursor and shape
2018-09-15 11:56:45 +02:00
Rémi Verschelde 4547e22393 doc: Sync classref with current source 2018-09-15 03:13:47 +02:00
Rémi Verschelde 82ff99c180
Merge pull request #22087 from Faless/master_of_puppets
Deprecate slave keyword in favor of puppet.
2018-09-15 02:29:52 +02:00
Fabio Alessandrelli 1e9b46d687 Clearly deprecate sync too in favor of remotesync.
NOTE: This changes the RPC_MODE_* enum values.
Games should be re-exported. GDNative rebuilt.
2018-09-15 00:06:03 +02:00
Fabio Alessandrelli d6b31daec6 Rename slave keyword to puppet
The slave keyword will still be available as deprecated in 3.1 but will
be dropped from future releases.
2018-09-15 00:06:03 +02:00
Michael Alexsander Silva Dias 585ad5c8ea Expose "get_modal_stack_top()" to GDScript 2018-09-14 16:35:52 -03:00
Rémi Verschelde ebc07ad5a2 doc: Mention get_node in Node.get_child documentation
See #22052.
2018-09-14 11:11:38 +02:00
Rémi Verschelde cd0b82fd56 Mark AnimatedTexture frame_* properties as internal
This way they no longer appear in the documentation, and the related
setters and getters do.
2018-09-13 22:54:35 +02:00
Guilherme Felipe 04aef23585 Fix set_custom_mouse_cursor changing to incorrect cursor shape
[Docs] Add class ref for Input::set_default_cursor_shape
2018-09-13 15:13:57 -03:00
Max Hilbrunner 2b779cd5bb
[DOCS] Project Settings: Default clear color 2018-09-13 17:21:23 +02:00
Florian Jung e37f408e70 Add documentation details about Image formats and color space conversion 2018-09-13 16:38:50 +02:00
Rémi Verschelde 1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
Misc. typos
2018-09-13 10:59:00 +02:00
luz.paz 08bde5b2de Misc. typos
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Rémi Verschelde f6481d1694
Revert "Drop deprecated compatibility methods from AnimatedSprite" 2018-09-13 02:32:51 +02:00
Rémi Verschelde ead2c2eef2
Merge pull request #21705 from KellyThomas/tree-create-item
Change return value of Tree.create_item() from Object to TreeItem
2018-09-12 10:57:50 +02:00
Rémi Verschelde 03f6e36d71
Merge pull request #21988 from KellyThomas/array-invert-2
Standardize documentation for the pool arrays' invert methods
2018-09-12 10:42:32 +02:00
Rémi Verschelde 158704fcaa
Merge pull request #21780 from akien-mga/animatedsprite-deprecated
Drop deprecated compatibility methods from AnimatedSprite
2018-09-12 10:38:37 +02:00
Kelly Thomas 3e0ab0a2f2 Standardize documentation for the pool arrays' invert methods 2018-09-12 06:33:11 +08:00
Rémi Verschelde c320d9394d doc: Sync classref with current source 2018-09-11 00:18:21 +02:00
Rémi Verschelde db26c1205c
Merge pull request #21937 from romlok/remotetransform
Clarify which direction RemoteTransform[2D] work
2018-09-10 19:10:44 +02:00
Rémi Verschelde 584f1ab0c5
Merge pull request #21842 from merumelu/curve-point-count
Bind Curve::get_point_count
2018-09-10 16:49:09 +02:00
Mel Collins 12448e659a Clarify which direction RemoteTransform[2D] work 2018-09-10 15:54:32 +02:00
VirtualBox cfb54df986 Fix mistake in Array.xml 2018-09-10 13:42:45 +02:00
Carl Scarlett 91aa940b42 added clarification about Input.get_accelerometer only working when project is exported 2018-09-10 17:20:17 +08:00
Rémi Verschelde 2f6f920884 Drop deprecated compatibility methods from AnimatedSprite
They were deprecated in 2.1, but never properly identified as such
and thus never removed.

Fixes #21765.
2018-09-09 15:25:49 +02:00
merumelu 334f042513 Bind Curve::get_point_count 2018-09-07 20:07:44 +02:00
Guilherme Felipe e5470cfa70 Fix custom cursor hotspot
Cursor hotspot must be inside image on Linux. Adding validation for all
platforms for consistency.
2018-09-03 09:57:07 -03:00
Kelly Thomas 3dc0d17c6f Change return value of Tree.create_item() from Object to TreeItem 2018-09-03 03:33:52 +08:00
Rémi Verschelde 737c90963f
Merge pull request #21636 from akien-mga/docdata-variant
DocData: Fix return type listed as "var" instead of "Variant"
2018-09-01 23:40:11 +02:00
Rémi Verschelde e60408b0e9
Merge pull request #21670 from cbscribe/kcc_class_edits
[DOCS] Classref additions and corrections
2018-09-01 22:55:12 +02:00
Chris Bradfield c049c8fbb9 [DOCS] Classref additions and corrections 2018-09-01 11:07:51 -07:00
Kelly Thomas 1dc8e7c05f Improve ClassDB information for some some signal parameters 2018-09-01 18:05:51 +08:00
Rémi Verschelde f92b87e5f8 DocData: Fix return type listed as "var" instead of "Variant" 2018-08-31 22:41:14 +02:00
Kelly Thomas 29f2571662 update class docs 2018-08-31 22:35:15 +02:00
Rémi Verschelde 449fcc5a72 RayCast2D: Fix reporting old collider after collision ended
It now behaves the same as RayCast (3D).
Fixed documentation accordingly and documented new configuration options.

Supersedes and closes #20567.
2018-08-30 16:28:48 +02:00
Rémi Verschelde 9a5f362494
Merge pull request #21585 from TGRCdev/rigidbody_docs
Documented some RigidBody and PhysicsDirectBodyState methods
2018-08-30 08:05:42 +02:00
Tiger C 74aa104607 Added documentation for some RigidBody methods, and copied the descriptions to matching PhysicsDirectBodyState methods. 2018-08-29 18:44:24 -04:00
Rémi Verschelde 5267099a87 doc: Sync classref with current source 2018-08-29 22:25:11 +02:00
Bastiaan Olij 6837d695d6 Moved documentation for methods made accessible from super class for Mesh 2018-08-29 21:02:48 +10:00
Max Hilbrunner 6f9416b2b6
Merge pull request #21454 from char0xff/doc
Update UndoRedo.xml
2018-08-28 17:09:40 +02:00
Max Hilbrunner e59dc62562
Merge pull request #21444 from romlok/input-propagation
Clarify direction of input event propagation
2018-08-28 17:09:02 +02:00
Rémi Verschelde 6671096dd7
Merge pull request #21514 from cbscribe/kcc_docs_fixes2
[DOCS] Classref corrections and clarifications
2018-08-28 08:13:13 +02:00
Chris Bradfield 285234e8d9 [DOCS] Corrections and clarifications 2018-08-27 18:56:43 -07:00
VirtualBox 57f3e89f70 Update UndoRedo.xml 2018-08-26 21:11:17 +02:00
Hein-Pieter van Braam 08f452d1a9 Fall back to GLES2 if GLES3 is not working
This adds a static is_viable() method to all rasterizers which has to be
called before initializing the rasterizer. This allows us to check what
rasterizer to use in OS::initialize together with the GL context
initialization.

This commit also adds a new project setting
"rendering/quality/driver/driver_fallback" which allows the creator of a
project to specify whether or not fallback to GLES2 is allowed. This
setting is ignored for the editor so the editor will always open even if
the project itself cannot run. This will hopefully reduce confusion for
users downloading projects from the internet.

We also no longer crash when GLES3 is not functioning on a platform.

This fixes #15324
2018-08-26 16:40:46 +02:00
Mel Collins 2d0a55c86c Clarify direction of input event propagation 2018-08-26 15:14:55 +02:00
Michael Alexsander Silva Dias 7d13f6ad30 Small improvements to the Spatial Editor's multiple viewport mode 2018-08-25 17:43:27 -03:00
Rémi Verschelde 67b0d3c2dc Particles: Allow speed_scale at 0 in property hint, equivalent to pause
Supersedes and closes #21193.
2018-08-24 18:11:35 +02:00
Rémi Verschelde 4ea3e4f551 doc: Sync classref with current source 2018-08-21 00:35:46 +02:00
Rémi Verschelde 9c00d1aaa8
Merge pull request #21176 from cbscribe/kcc_doc_updates
[DOCS] Many class ref updates
2018-08-19 09:37:45 +02:00
Chris Bradfield 2a0991dde6 [DOCS] Many class ref updates 2018-08-18 21:35:56 -07:00
Rémi Verschelde 487073d4c0
Merge pull request #21130 from cbscribe/kcc_class_updates
[DOCS] Updates to assorted class descriptions.
2018-08-18 15:01:36 +02:00
Chris Bradfield 23b7edb214 [DOCS] Updates to assorted class descriptions. 2018-08-17 14:55:19 -07:00
Rémi Verschelde 099f74584a Bind ItemList's item_custom_fg_color methods
Fixes #21086.
2018-08-17 13:46:33 +02:00
Thomas Herzog 037f4638ab add project method to Vector2/3 2018-08-16 12:52:38 +02:00
Rémi Verschelde 155fb45ca2 Doc: Clarify usage of dialog_hide_on_ok and caveat for FileDialog
Fixes #20817.
2018-08-15 20:08:18 +02:00
Rémi Verschelde d6058b967d
Merge pull request #20906 from Chaosus/rrect_fix
Fix ReferenceRect border
2018-08-14 23:31:48 +02:00
Rémi Verschelde c0137db762
Merge pull request #20665 from SaracenOne/animation_tree_control
Add method to manually advance AnimationTree and manual process mode.
2018-08-14 15:54:20 +02:00
Rémi Verschelde 9f8e2d5c5b
Merge pull request #20773 from Noshyaar/tree
[DOCS] complete Tree drag and drop related methods
2018-08-14 10:02:02 +02:00
Rémi Verschelde 82b092decc
Merge pull request #20932 from clayjohn/doc_backbuffercopy
[Doc] Removed reference to texscreen in BackBufferCopy docs
2018-08-14 09:31:43 +02:00
clayjohn 333dfd562b removed reference to texscreen 2018-08-13 21:34:56 -07:00
Rémi Verschelde 369e54603e
Merge pull request #20918 from Fluffel/document_tween_branch
[DOCS] get_indexed, tween
2018-08-13 21:04:58 +02:00
Rémi Verschelde fe74e996e4
Merge pull request #20554 from YeldhamDev/cursor_doc_linux
Small doc formating changes and Linux cursor theme note
2018-08-13 07:49:44 +02:00
Fluffel a164d593c0 [DOCS] get_indexed, tween 2018-08-11 08:48:37 -05:00
Chaosus aaf62fcecc Fix ReferenceRect border 2018-08-11 10:37:03 +03:00
Juan Linietsky c76f444c4e
Merge pull request #14704 from poke1024/colorconstants
Allow some non-integer built-in constants in gdscript
2018-08-10 12:57:20 -03:00
Poommetee Ketson 5ed0861e81 [DOCS] SceneTree stretching constants 2018-08-07 10:17:55 +07:00
Poommetee Ketson 6536834d42 [DOCS] complete Tree.get_drop_section_at_position and Tree.drop_mode_flags 2018-08-07 05:08:50 +07:00
Max Hilbrunner 464d59935d
Merge pull request #20645 from Ertain/master
Added and modified AudioStream descriptions
2018-08-05 13:09:41 +02:00
Michael Alexsander Silva Dias 79ab43299a Small doc formating changes and Linux cursor theme note 2018-08-05 04:07:04 -03:00
PJB3005 338217c30b Improve TileMap.get_used_cells docs. 2018-08-03 20:38:31 +02:00
Saracen c55e269bfa Add method to manually advance AnimationTree and manual process mode. 2018-08-02 08:29:51 +01:00
Jason Anderson 512ae49f7d Added description and measurement 2018-07-31 14:20:27 -05:00
Bernhard Liebl ba974b8d1e Allow some non-integer built-in constants in gdscript 2018-07-31 17:56:48 +02:00
Jason Anderson 17eb26a83a Added description 2018-07-30 13:56:09 -05:00
Bastiaan Olij d41a4089c6 Added a method to find the index for a surface with a given name 2018-07-28 19:14:41 +10:00
Rémi Verschelde ef93fec789
Merge pull request #15643 from organicpencil/bullet_contact_impulse
Expose PhysicsDirectBodyState.get_contact_impulse
2018-07-26 15:36:37 +02:00
Rémi Verschelde 391e46830f doc: Sync classref with current source
Fix various missing arguments in bindings.
2018-07-26 11:56:21 +02:00
Aaron Franke 55d976467d Expose 64-bit Color methods to GDScript and fix/update Color XML doc 2018-07-25 15:35:29 -05:00
Rémi Verschelde 4bf9031e52
Merge pull request #20278 from Noshyaar/0
Fix example code for EditorImportPlugin
2018-07-24 17:12:42 +02:00
Noshyaar 817f315eae Fix example code for EditorImportPlugin 2018-07-24 20:24:07 +07:00
Juan Linietsky b66580927e
Merge pull request #19313 from RandomShaper/improve-image
Image trilinear scaling + Optimization
2018-07-23 16:21:45 -03:00
Pedro J. Estébanez 8c05c2830c Add trilinear filtering to image scaling 2018-07-23 21:08:10 +02:00
Pieter-Jan Briers b2c797c584 Defer TileMap::update_dirty_quadrants once again.
This fixes #20323.

#11077 is now technically re-broken,
but you can now call update_dirty_quadrants as workaround.
2018-07-22 15:26:14 +02:00
Juan Linietsky 6c09cdd136
Merge pull request #20157 from GodotExplorer/image-load-webp
Add webp buffer loader for Image
2018-07-20 12:00:21 -03:00
Max Hilbrunner b64bf118f1
Merge pull request #19087 from danvalho/master
SpriteFrames: expose method to get array containing animation names
2018-07-17 14:54:06 +02:00
Max Hilbrunner 1f1b45c7ec
Merge pull request #20191 from jvdnbus/line2d-stretch
Line2D texture stretch mode
2018-07-17 12:12:29 +02:00
Rémi Verschelde adb16be6b9 Doc: Add example for array indexing
Supersedes and closes #20180.
2018-07-17 11:47:27 +02:00
geequlim c5efe5d625 Add webp buffer loader for Image
Cleanup the code memory load related code for Image
Fix jpeg buff load function always returns OK event failed
2018-07-17 12:03:45 +08:00
Jorn Van denbussche d7aa3e33c8 Line2D texture stretch mode
Prototype for stretching the texture across the whole line.
Fixed end cap tile mode.
2018-07-16 23:16:58 +02:00
Max Hilbrunner cc57b62ab3
Merge pull request #20068 from Xrayez/submenu-popup-delay
Add ability to set submenu's popup delay time on mouse hovering
2018-07-12 05:27:49 +02:00
Max Hilbrunner 118d4f3115
Merge pull request #19540 from muiroc/cylinder
Cylinder resource and collision shape (bullet only)
2018-07-12 05:09:37 +02:00
Max Hilbrunner 41ff975b8c
Merge pull request #20014 from Chaosus/scrollable
Added scrollable property for sliders
2018-07-10 13:31:09 +02:00
Andrii Doroshenko (Xrayez) e3b77b24ac Add ability to set submenu's popup delay time on mouse hovering
This allows to set delay time for the submenu to popup. Setting
this value low can increase responsiveness. If the popup menu is added
as a child of another (acting as a submenu), it will inherit the delay
time of the parent menu item.
2018-07-09 18:37:41 +03:00
toger5 533e026f9c mention load in texture class 2018-07-09 16:31:34 +02:00
Chaosus dbd5afc498 Added scrollable property to Sliders 2018-07-07 13:48:34 +03:00
Max Hilbrunner edc63a2f60
Merge pull request #18028 from gabrii/18026
Fix #18026. Expose TextEdit::set_draw_breakpoint_gutter.
2018-07-05 02:30:18 +02:00
Max Hilbrunner 43a2e9e669
Merge pull request #15881 from dertom95/EditorScenePostImport
EditorScenePostImport: added get_source_folder() and get_source_file(…
2018-07-05 02:27:26 +02:00
Max Hilbrunner dacd9c51b1
Merge pull request #19849 from willnationsdev/expose-script-create-dialog
Expose ScriptCreateDialog to EditorPlugin
2018-07-04 22:37:27 +02:00
willnationsdev 2a6c591957 Expose ScriptCreateDialog to EditorPlugin 2018-07-04 09:41:12 -05:00
Max Hilbrunner 24ce1ace13
Merge pull request #19244 from Chaosus/settingsperformance_and_colordeferred
Increases settings apply speed and added deferred color setting to ColorPicker
2018-07-03 17:01:23 +02:00
Thomas ten Cate 117c666fce Document return value of yield() with signals
Fixes godotengine/godot-docs#1478
2018-07-02 21:33:21 +02:00
Rémi Verschelde 9c56a16d61 Doc: Fix typos spotted by @yurchor 2018-07-01 15:55:53 +02:00
muiroc 0a36e974da added cylinder shape support 2018-07-01 11:16:54 +02:00
Hugo Locurcio 61fd3cd32a
Document Vector2.round() and Vector3.round() 2018-06-27 00:02:24 +02:00
Rémi Verschelde 41b962fc9c
Merge pull request #19612 from Zylann/get_ticks_usec
Expose OS.get_ticks_usec()
2018-06-18 21:35:55 +02:00
Marc Gilleron 4705dc4f00 Expose OS.get_ticks_usec() 2018-06-18 21:03:55 +02:00
Mel Collins cf63abac36 Add longer description to ViewportTexture doc 2018-06-18 16:35:17 +02:00
unknown d1b3f36eab Added description for abs function in Rect2 2018-06-18 15:25:13 +02:00
Max Hilbrunner 88cc8074d0
Merge pull request #19622 from mhilbrunner/docs-builtins
[DOCS] Builtin keywords because search is terribad
2018-06-18 04:26:16 +02:00
Max Hilbrunner 5002db6be1
[DOCS] Builtin keywords because search is terribad 2018-06-18 04:25:27 +02:00
Max Hilbrunner 1bb7f4b2bc
Merge pull request #19615 from romlok/viewporttexturedoc
Add a little to ViewportTexture docs
2018-06-18 03:44:23 +02:00
Max Hilbrunner 419e3492d4
Merge pull request #19621 from mhilbrunner/docs-treeitem
[DOCS] TreeItem: Small fix for remove_child()
2018-06-18 03:29:06 +02:00
Max Hilbrunner 25b5242d9f
[DOCS] TreeItem: Small fix for remove_child() 2018-06-18 03:28:26 +02:00
Max Hilbrunner 03250259d3
[DOCS] InputEventMouseButton: Factor 2018-06-18 03:19:41 +02:00
Mel Collins b820056b38 Add a little to ViewportTexture docs 2018-06-17 20:34:05 +02:00
letheed d759d25aca Fix Vector2 doc of floor, add ceil doc 2018-06-15 19:08:19 +02:00
Rémi Verschelde 7927eb6013 doc: Remove extraneous empty lines in descriptions 2018-06-15 08:54:06 +02:00
tagcup 195e963613 Added some details in skeleton docs.
Workaround for #19551.
2018-06-14 19:07:03 -04:00
Rémi Verschelde e5e23c7ebf Fix invalid DEFVAL in SpatialEditorGizmo::add_unscaled_billboard
Likely added by mistake in #19487.
Should fix #19543.
2018-06-13 22:29:54 +02:00
Rémi Verschelde 9165e550f8 Style fixes for commit d5bb6faa 2018-06-13 14:42:55 +02:00
Rémi Verschelde f0fa590210
Merge pull request #19526 from robojumper/fix_tutorials
Add support for tutorial links to makerst.py
2018-06-13 14:29:45 +02:00
robojumper 98b59cf2a3 Add support for tutorial links to makerst.py
Also change the <tutorials> structure to make use of individual <link> tags
2018-06-12 17:40:24 +02:00
Juan Linietsky d5bb6faac7 -Make sure that ProjectSettings are properly dumped when dumping docs.
-Documented all properties of project settings

Update documentation for ProjectSettings
2018-06-11 13:41:16 -03:00
clayjohn 650ebdc832 updated Viewport docs to correct wrong information and fill out empty sections 2018-06-10 11:40:25 -07:00
Bastiaan Olij c4dfef58d9 Added some documentation to particles 2018-06-08 09:27:06 +10:00
Rémi Verschelde 8569a0db3c Doc: Fix typo in File documentation
Fixes #19383.
2018-06-05 21:04:58 +02:00
danvalho 296af5276f SpriteFrames: expose method to get array containing animation names 2018-06-05 13:07:30 +02:00
Fabio Alessandrelli 348725dfe0 Add option to disable automatic multiplayer poll
Automatic poll from SceneTree is enabled by default.
This allows for polling (and thus RPCs/RSETs) manually in other loops
(e.g. physics, thread, specific step) and for proper mutex protecion
when accessing the multiplayer API from threads (e.g. for sending larger
files in chunks).
2018-06-03 18:58:04 +02:00
Chaosus cf38270ef7 Increase settings apply speed and added deferred color apply 2018-05-31 11:33:36 +03:00
Thomas Trocha 48e3ff0c8a EditorScenePostImport: added get_source_folder() and get_source_file() methods 2018-05-31 03:23:42 +02:00
Max Hilbrunner 63b607257b
Merge pull request #19266 from akien-mga/os-execute-doc
Improve return value and docs on OS.execute regarding blocking/non-blocking variants
2018-05-30 15:00:10 +02:00
Gabriel Gavilan b7b63fe034 Improve breakpoints and breakpoint gutter API in TextEdit
Added breakpoint_gutter, is_breakpoint_gutter_enabled, set_breakpoint_gutter_enabled, get_breakpoints, remove_breakpoints.
Fixed breakpoint_toggled signal not fierd when text is edited.
Fixes #18026.
2018-05-30 14:39:44 +02:00
Rémi Verschelde f392650be2 Improve return value of OS.execute in blocking/non-blocking variants
Initialized the PID to -2, which will be the value returns in blocking-
mode where the PID is not available. (-1 was already taken to signify an
execution failure).

OS::execute will now properly return a non-OK error code when it fails
to execute the target file.

The documentation was rewritten to be very clear about the differences
between blocking and non-blocking mode.

Fixes #19056.
2018-05-30 12:55:17 +02:00
Fabio Alessandrelli 4524153b6e New sync RPC modes to match all combinations 2018-05-29 20:26:41 +02:00
Fabio Alessandrelli 1400f6fdc4 Refactor RPCMode enum and checks 2018-05-29 20:26:41 +02:00
Max Hilbrunner 4c69a495c9
Revert "RPCMode refactor, more sync modes" 2018-05-29 11:47:52 +02:00
Max Hilbrunner d0b62ce155
Merge pull request #19021 from Faless/rpc_sync_fix
RPCMode refactor, more sync modes
2018-05-29 09:44:03 +02:00
Rémi Verschelde c8a799d691 Fix MethodInfo for EditorInspectorPlugin.can_handle 2018-05-28 16:28:09 +02:00
Rémi Verschelde 4c5dd51eb9 Sync classref with current source
Also fix binding of Basis.slerp
2018-05-28 14:53:15 +02:00
Rémi Verschelde 98846b39ee
Merge pull request #18899 from ibrahn/gdscript-license-info
GDScript access to copyright, license, author and donor information.
2018-05-28 11:58:20 +02:00
Michael Alexsander Silva Dias e10687a520 Fixed GroupCallFlags links in the SceneTree's doc. 2018-05-27 01:22:34 -03:00
Max Hilbrunner 7e8b7a7815
Merge pull request #18379 from ZDDM/18-04-23-audiostream-docs
Fully expose the data variable in AudioStreamSample and AudioStreamOGGVorbis
2018-05-26 18:22:05 +02:00
Max Hilbrunner 0e5ee8d635
Merge pull request #18747 from anakimluke/patch-1
fixed minor doc wording problem
2018-05-26 17:51:16 +02:00
Fabio Alessandrelli 19ba3d5da3 New sync RPC modes to match all combinations 2018-05-26 10:43:43 +02:00