Commit graph

1498 commits

Author SHA1 Message Date
bruvzg
4554c682e6
Changes IME input to use notification instead of callback, exposes IME methods to gdscript/gdnative. 2018-11-23 14:07:48 +02:00
Rémi Verschelde
412612abfc doc: Sync classref with current source 2018-11-23 01:06:24 +01:00
Michael Alexsander Silva Dias
2049efc1e3 General fixes for the new unified help search 2018-11-22 19:41:10 -02:00
Rémi Verschelde
feee2b5842
Merge pull request #23731 from lupoDharkael/remove-button-tooltip
BaseButton: make input related information in the tooltip optional
2018-11-22 16:13:47 +01:00
Michael Alexsander Silva Dias
da7d3c5a58 Make opening menus with the same parent on mouse focus explicit 2018-11-20 20:37:45 -02:00
Rémi Verschelde
7439e55812
Merge pull request #23645 from Calinou/add-dynamicfont-antialias-option
Add a property to control DynamicFont anti-aliasing
2018-11-20 15:02:29 +01:00
Rémi Verschelde
173b342ca7 Remove trailing whitespace
With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'`
(+ manual revert of some thirdparty code under `platform/android`).
2018-11-20 11:15:02 +01:00
Rémi Verschelde
9b461af90c doc: Indentation fixups 2018-11-20 10:18:11 +01:00
Rémi Verschelde
daa9092ed3 doc: Sync classref with current source 2018-11-20 09:34:45 +01:00
Rémi Verschelde
16a2c31e53
Merge pull request #23812 from YeldhamDev/clear_history_version_optional
Add argument to UndoRedo's "clear_history()" to not increase the version
2018-11-20 08:49:17 +01:00
Michael Alexsander Silva Dias
75d5b1be9a Fill info for translation related docs 2018-11-20 03:12:37 -02:00
lupoDharkael
d2b890ede5 BaseButton: add shortcut_in_tooltip
This flag disables the input related information in the tooltip.
It is exposed as a member variable in gdscript.
2018-11-19 23:48:05 +01:00
Rémi Verschelde
35fbbeb99b
Merge pull request #20627 from malcolmhoward/core-dictionary-get-key
#20488 core dictionary get key
2018-11-19 21:11:55 +01:00
m
bf1867aaab Added Python-like .get() method to Dictionary in GDScript #20488
Added .get() method to Dictionary class in GDScript to return the value if the key exists, or return Null if the key does not exist.
2018-11-19 14:03:13 -05:00
Michael Alexsander Silva Dias
6ba94d5ca0 Add argument to UndoRedo's "clear_history()" to not increase the version 2018-11-18 19:46:35 -02:00
Juan Linietsky
35b421b695 Document use of spaces in ConfigFile 2018-11-18 10:10:50 -03:00
Davide Baldo
b98263013a Fixed the default value for Input.action_press() from commit 8c45282 2018-11-17 20:45:24 +00:00
Rémi Verschelde
5d00407388
Merge pull request #23685 from Kanabenki/add-store-csv-line
Add store_csv_line method for File
2018-11-16 15:21:57 +01:00
Juan Linietsky
256bbd3561 Corrected some points discussed in #17491 2018-11-16 10:07:26 -03:00
Kanabenki
48166a9f3c Add store_csv_line method for File 2018-11-16 11:09:05 +01:00
Thomas ten Cate
922f2d613f Fix return value of get_total_character_count
Also document that it only counts visible characters.

Fixes #23720
2018-11-15 12:34:08 +01:00
Rémi Verschelde
072aaf98e8 doc: Sync classref with current source 2018-11-13 11:06:50 +01:00
Chaosus
f8151a9e50 Implement random number generator
Co-authored-by: Zirak <zirakertan@gmail.com>
2018-11-13 10:50:07 +03:00
Rémi Verschelde
2815e708a0
Merge pull request #23090 from DavidSichma/inconsistent-kinematic
Consistency in KinematicBody
2018-11-12 20:30:38 +01:00
Hugo Locurcio
fd89464d45
Add a property to control DynamicFont anti-aliasing
- Editor font anti-aliasing can now be disabled in the Editor Settings.
- DynamicFonts used in projects can now have their anti-aliasing
  disabled in their DynamicFontData child. Changes will be visible
  upon reloading the scene in the editor.
2018-11-10 22:07:32 +01:00
Rémi Verschelde
2c0a2fbda3
Merge pull request #23633 from Naryosha/docs-sync
doc: Sync classref with current source
2018-11-10 21:51:18 +01:00
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
lupoDharkael
edcca5f7ad Dont use equality operators with None singleton in python files 2018-10-27 01:18:15 +02: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
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