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
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