Commit graph

1410 commits

Author SHA1 Message Date
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
Rémi Verschelde
f511fa35e5
Merge pull request #22647 from YeldhamDev/parallaxlayer_doc_note
Add note in ParallaxLayer doc about ignoring position/scale changes after entering the scene
2018-10-03 00:18:11 +02:00
LikeLakers2
0d6546ed44 Add extra newline after enum members and constants, to ensure they'll format properly after a multi-line description 2018-10-02 16:48:40 -04: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
Rémi Verschelde
0cc3aff8ed doc: Drop obsolete makemd.py, dates back to GitHub Wiki days
It has not been kept in sync with makerst.py, so it does not serve
much purpose nowadays.
2018-10-02 12:28:08 +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
d26c6b28a6 doc: Fixes to rst converter 2018-09-21 09:50:21 +02:00
Rémi Verschelde
83758a9004 doc: Sync classref with current source 2018-09-21 09:33:05 +02:00
LikeLakers2
268ae71fae Fix the weird method linking issue when the previous method's description ends with a code block 2018-09-20 18:14:47 -04: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
89c34a39a1
Merge pull request #22013 from akien-mga/doc-unify-editor-rst
doc: Make property sections in rst similar to editor docs
2018-09-13 11:05:02 +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
4e0f415c83 doc: Make property sections in rst similar to editor docs
There is now an overview table with hyperlinks, and further down a detailed
list of properties with their setter/getter and description.

Theme items are now also included in the rst output.

Refactored make_method() a bit.
2018-09-13 02:13:19 +02:00
Rémi Verschelde
a923eff9a4 Doc: Use PascalCase names in hyperlinks
We were not consistently applying .lower() every time we construct
an hyperlink, so there would be case mismatch. It works fine to keep
the natural case for those links.
2018-09-13 01:55:56 +02:00
Rémi Verschelde
ba64ea2283 Doc: Use same headers and order in-editor and online 2018-09-12 17:12:23 +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