Commit graph

221 commits

Author SHA1 Message Date
George Marques
4d33eb01d7
Add classref for File class 2016-06-21 11:24:51 -03:00
George Marques
d3dff93e33
Add docs for String.bigrams() and String.similarity(text) 2016-06-19 11:43:47 -03:00
Mehmet Durgel
92fc3fa536 Clarification about enter keys confusion
Some Languages threat KEY_RETURN and KEY_ENTER keys having the same keycode (eg: Javascript).
Added additional explanation about this issue.
Related to #4595
2016-06-19 16:34:11 +03:00
J08nY
b587a13293 Classref: Mutex, Semaphore, Thread, *Array (#5278) 2016-06-18 21:21:29 +02:00
Rémi Verschelde
7723579237 Fix type hint for the seed argument
Closes #5260.
2016-06-18 01:18:06 +02:00
J08nY
541a1226cd
Classref: added PacketPeer* 2016-06-16 14:15:48 +02:00
J08nY
bb2cac4515
Sync classref 2016-06-16 14:15:34 +02:00
J08nY
cffdc52482 Classref: Added docs for StreamPeer* (#5216) 2016-06-15 13:32:12 +02:00
Rémi Verschelde
78b745bb0a Merge pull request #5192 from J08nY/issue-5190
Dictionary: rename param in .has() .has_all() .erase()
2016-06-15 11:13:59 +02:00
Rémi Verschelde
ee105744e0 Merge pull request #5210 from J08nY/issue-5189
String documentation: .ord_at() returns int not String
2016-06-15 11:08:10 +02:00
Wilhem Barbier
f665200df7 Add joystick vibration support on Linux (#5043) 2016-06-15 07:25:35 +02:00
J08nY
58a891265a
String documentation: .ord_at() returns int not String
fixes #5189
2016-06-14 14:52:32 +02:00
J08nY
7a19e3c6ae
Dictionary: rename param in .has() .has_all() .erase()
fixes #5190, param should be named key, not value
2016-06-13 19:08:04 +02:00
J08nY
d42117eeb6
Sync classref 2016-06-13 19:01:07 +02:00
Juan Linietsky
20b4567829 Merge pull request #5177 from vnen/string-subsequence
Add subsequence search to tools
2016-06-13 13:25:56 -03:00
Ovnuniarchos
471ab4e6ff Documented many Physics2D* classes 2016-06-12 20:24:19 +02:00
George Marques
feb95fa9ac
Add documentation to String.is_subsequence_of{,i} 2016-06-12 14:53:03 -03:00
George Marques
6ce5876c63
Add documentation for Array.find and Array.rfind 2016-06-10 18:07:59 -03:00
CowThing
50de99f050 Filling in documentation
Documentation for BoneAttachment, KinematicBody, ParallaxBackground,
ParallaxLayer, and TestCube
2016-06-08 15:29:46 -04:00
Juan Linietsky
4b893ffeeb Merge pull request #4861 from brakhane/negative-indexing
Add support for Python-like negative indexing
2016-06-07 10:17:00 -03:00
J08nY
ec96e36bc9
Classref for: ImageTexture, Image, LargeTexture 2016-06-07 12:17:18 +02:00
J08nY
db5ea849d8
Sync classref 2016-06-07 10:39:36 +02:00
Dennis Brakhane
1e068d34f4 Add support for Python-like negative indexing
Negative indexing is a useful feature in Python, especially when combined
with array slicing. Array slicing will hopefully be implemented later, but
negative indexing is useful in its own right.

A negative index is indexing from the end of an array,
"array[-1] == array[array.size()-1]", using a negative index
larger/smaller than the length of the array is still an error.

While primarily useful for arrays and strings, support is also added to
"array like" structures like Vector3 and Color. This is done just
to be consistent; vector3[2] is much clearer than vector3[-1], but disallowing
it while allowing it for an array with 3 elements seems confusing.
2016-06-05 20:00:54 +02:00
J08nY
dcce477f5e
Added Dictionary.values() 2016-06-05 14:50:06 +02:00
Bojidar Marinov
662e0cc411 Document Viewport and ViewportSprite classes 2016-06-05 14:51:44 +03:00
Bojidar Marinov
9e0921e038 Sync with -doctool 2016-06-05 14:47:12 +03:00
J08nY
1a80b2a04a
Added InputMap.get_actions()
get_actions() lists all actions in the InputMap.
2016-06-04 17:56:30 +02:00
Rémi Verschelde
4b0bae9799 Merge pull request #5027 from J08nY/gdscript
Add Array.find_last() and Array.count()
2016-06-04 16:07:48 +02:00
Rémi Verschelde
cbba9c4506 Merge pull request #4300 from leezh/control_focus_mode
Exposed Control::focus_mode to the scene editor
2016-06-04 14:41:36 +02:00
J08nY
5f5ca8cd9b Added Array.find_last() and Array.count() 2016-06-03 23:36:02 +02:00
J08nY
4c5439f8cd Added classref for HTTPClient and HTTPRequest 2016-06-03 18:13:15 +02:00
J08nY
45163b10be Sync classref 2016-06-03 18:03:12 +02:00
P-GLEZ
35cb75220d StaticBody documentation
Documented StaticBody. Also corrected an error in StaticBody2D
documentation
2016-06-01 12:35:25 +02:00
Rémi Verschelde
4e6f452c52 Merge pull request #4933 from J08nY/classref
Added RigidBody and finished Resource class-reference
2016-06-01 07:23:53 +02:00
P-GLEZ
0325944ee4 classref: Area documentation
One method was missing.
2016-05-31 21:17:35 +02:00
P-GLEZ
617530832b Area Documentation
Ported the Area2D documentation into its 3D counterpart. Also fixed some
typos
2016-05-31 19:24:27 +02:00
Rémi Verschelde
84ad8a11b6 Merge pull request #4931 from CowThing/classref-edit
Filling in documentation
2016-05-30 22:40:24 +02:00
J08nY
063d507a15 Added classref for RigidBody, and finished classref for Resource 2016-05-30 22:13:33 +02:00
J08nY
a4cbed8465 Sync class-ref with code base. 2016-05-30 22:13:33 +02:00
CowThing
3ba4e6b2ac Filling in documentation
VisibilityNotifier and VisibilityEnabler (2D and 3D).
2016-05-30 15:05:27 -04:00
Rémi Verschelde
96bdab6edf Merge pull request #4845 from vnen/pr-magnetometer
Add magnetometer sensor support for Android
2016-05-29 18:37:33 +02:00
Julian Murgia - StraToN
9ac4b29322 Documented Light2D and LightOccluder2D 2016-05-29 01:41:22 +02:00
Julian Murgia - StraToN
defe7f18c2 Documented BackBufferCopy. Need validation for the different copy modes (constants) 2016-05-28 22:02:21 +02:00
George Marques
8d69e1b620
Add documentation for Input.get_magnetometer() 2016-05-27 14:55:24 -03:00
Zher Huei Lee
0ccf153a15 GUI Focus mode improvements
Exposed `get_focus_mode()` to the script
Added `focus_mode` to the property panels for line-edit and sliders
Added `enabled_focus_mode` to the property panels for buttons

enabled_focus_mode is used when button is enabled/disabled
2016-05-23 15:08:50 +01:00
Rémi Verschelde
da24bc8f3f VehicleBody: Cosmetic fixes to previous commit 2016-05-21 11:52:21 +02:00
Agustin Benavidez
97da9f14ab Add get_linear_velocity() method to VehicleBody class
Doc added also.
2016-05-21 11:35:55 +02:00
Geequlim
a92652d578 Document the FileDialog and partial OS methods 2016-05-20 21:39:31 +08:00
Bojidar Marinov
d208572906 Fix a XML error with the documentation 2016-05-20 14:54:33 +03:00
CowThing
0749db2cf8 Filling in documentation.
AABB, Color, Rect2, Transform, Vector2, and Vector3.
2016-05-15 19:01:21 -04:00