Commit Graph

1335 Commits

Author SHA1 Message Date
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
7ecad927f3 [DOCS] InputEventMouseButton: correct description for doubleclick property 2018-09-28 01:46:49 +08:00
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
9108b5fba5 doc: Fix OS.execute example (cf. #22412) 2018-09-27 09:34:08 +02:00
5e8e216ee0 Doc: fix example in Array sort_custom() 2018-09-25 11:46:45 +02:00
194f476095 [DOCS] PhysicsDirectSpaceState updates 2018-09-23 09:31:37 +10:00
d878c828b5 Merge pull request #22115 from akerudesu/find-parent
Added find_parent method to node class
2018-09-22 17:15:38 +02:00
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
ef7b384861 doc: Misc formatting fixes 2018-09-21 15:34:11 +02:00
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
0279985a70 Merge pull request #22218 from char0xff/doc_editorpluginsinterface
Improve EditorPlugin.xml and EditorInterface.xml
2018-09-21 14:58:27 +02:00
d26c6b28a6 doc: Fixes to rst converter 2018-09-21 09:50:21 +02:00
83758a9004 doc: Sync classref with current source 2018-09-21 09:33:05 +02:00
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
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
a0efe25c9e Improve EditorPlugin.xml and EditorInterface.xml 2018-09-18 16:38:19 +02:00
76b2ae8dc6 Fixes favorites not updating and rename favorite_dirs to favorites 2018-09-18 14:02:59 +02:00
ebd14a778d Merge pull request #22113 from char0xff/editor_interface
Update EditorInterface.xml
2018-09-17 13:49:07 +02:00
7ffeabf6bb Merge pull request #22119 from char0xff/doc_config
Fix mistake in ConfigFile.xml
2018-09-17 13:48:32 +02:00
341e18a48e Merge pull request #22162 from cbscribe/kcc_classref
[DOCS] Classref additions and consistency fixes
2018-09-17 11:50:23 +02:00
d286e98fd1 Small documentation clarification added to CanvasItem. 2018-09-16 21:44:37 +03:00
ec5cc708ce [DOCS] Classref additions and consistency fixes 2018-09-16 10:52:21 -07:00
77ff6de27e Fix mistake in ConfigFile.xml 2018-09-15 21:06:32 +02:00
0c10d3fc16 Update EditorInterface.xml 2018-09-15 18:25:48 +02:00
0fdbf6b2ef Added find_parent method to node class 2018-09-15 18:22:29 +02:00
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
4547e22393 doc: Sync classref with current source 2018-09-15 03:13:47 +02:00
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
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
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
585ad5c8ea Expose "get_modal_stack_top()" to GDScript 2018-09-14 16:35:52 -03:00
ebc07ad5a2 doc: Mention get_node in Node.get_child documentation
See #22052.
2018-09-14 11:11:38 +02:00
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
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
2b779cd5bb [DOCS] Project Settings: Default clear color 2018-09-13 17:21:23 +02:00
e37f408e70 Add documentation details about Image formats and color space conversion 2018-09-13 16:38:50 +02:00
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
1a16dabfb5 Merge pull request #21982 from luzpaz/misc-typos
Misc. typos
2018-09-13 10:59:00 +02:00
08bde5b2de Misc. typos
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
f6481d1694 Revert "Drop deprecated compatibility methods from AnimatedSprite" 2018-09-13 02:32:51 +02:00
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
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
ba64ea2283 Doc: Use same headers and order in-editor and online 2018-09-12 17:12:23 +02:00
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
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
158704fcaa Merge pull request #21780 from akien-mga/animatedsprite-deprecated
Drop deprecated compatibility methods from AnimatedSprite
2018-09-12 10:38:37 +02:00
3e0ab0a2f2 Standardize documentation for the pool arrays' invert methods 2018-09-12 06:33:11 +08:00
c320d9394d doc: Sync classref with current source 2018-09-11 00:18:21 +02:00
db26c1205c Merge pull request #21937 from romlok/remotetransform
Clarify which direction RemoteTransform[2D] work
2018-09-10 19:10:44 +02:00
584f1ab0c5 Merge pull request #21842 from merumelu/curve-point-count
Bind Curve::get_point_count
2018-09-10 16:49:09 +02:00