Commit Graph

858 Commits

Author SHA1 Message Date
Rémi Verschelde 3fd23da5ee Rename the version's "revision" to "build"
That "revision" was inherited from SVN days but had been since then
used to give information about the build: "custom_build", "official",
"<some distro's build>".

It can now be overridden with the BUILD_NAME environment variable.
2017-11-20 00:51:14 +01:00
Rémi Verschelde ecf80fbbba
Merge pull request #12988 from akien-mga/xdg-home-paths
Add support for XDG Base Directory spec
2017-11-20 00:42:51 +01:00
Martin Capitanio 7c3ba6f72b Fix the class docs for the rst-syntax errors.
- Generate a correkt rst-syntax for the [/code] inline markup.
  (http://www.sphinx-doc.org/en/1.6.5/rest.html#inline-markup)
- Fix xml souce bugs

for the sphinx's rst syntax werrors:

class_area.rst:319: WARNING: Inline literal start-string without end-string.
class_area2d.rst:287: WARNING: Inline literal start-string without end-string.
class_audioserver.rst:287: WARNING: Inline literal start-string without end-string.
class_control.rst:509: WARNING: Inline literal start-string without end-string.
class_image.rst:422: WARNING: Inline literal start-string without end-string.
class_image.rst:434: WARNING: Inline literal start-string without end-string.
class_inputevent.rst:74: WARNING: Inline literal start-string without end-string.
class_inputeventaction.rst:45: WARNING: Inline literal start-string without end-string.
class_inputmap.rst:47: WARNING: Inline literal start-string without end-string.
class_kinematicbody.rst:80: WARNING: Inline interpreted text or phrase reference start-string without end-string.
class_kinematicbody2d.rst:80: WARNING: Inline interpreted text or phrase reference start-string without end-string.
class_line2d.rst:182: WARNING: Inline literal start-string without end-string.
class_thread.rst:51: WARNING: Inline literal start-string without end-string.
class_treeitem.rst:160: WARNING: Inline literal start-string without end-string.
2017-11-19 20:47:36 +01:00
Poommetee Ketson f5e85c6103
Merge pull request #12955 from groud/editor_canvas_item_api_rework
Editor canvas item api rework
2017-11-20 00:19:00 +07:00
Rémi Verschelde 992a40a50d
Merge pull request #12961 from eska014/platform-doc
Facilitate documenting platform-exclusive classes
2017-11-19 16:19:47 +01:00
Gilles Roudiere 8d1f2b1857 Rework the canvas_item API for further improves to the canvas item editor 2017-11-19 13:36:31 +01:00
Leon Krause 63b1a096eb Facilitate exposing platform-exclusive interfaces to all platforms
This makes the interfaces available, without implementation, in other
platforms and the editor, which facilitates documenting platform-exclusive
classes.

Platform-exclusive APIs must be set up in platform/<platform>/api/api.cpp.
Provide noop method-implementations where necessary.

Also setup and document the HTML5 platform's JavaScript singleton.
2017-11-18 03:54:21 +01:00
Martin Capitanio ade4f3084c Fix class docs, improve error handling of the rst generator.
The rst-generator gives you now a hint what's going on:
Bad reference: 'method.RegEx.search_all' in file: ../modules/regex/doc_classes/RegExMatch.xml

grep 'method.RegEx.search_all' ../modules/regex/doc_classes/RegExMatch.xml
	Contains the results of a single regex match returned by [method RegEx.search]
	and [method.RegEx.search_all]. It can be used to find the position and range of the match
	and its capturing groups, and it can extract its sub-string for you.
2017-11-18 01:41:32 +01:00
Rémi Verschelde ad199c3964 EditorSettings: Rename settings_path to settings_dir
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
Rémi Verschelde 73049d115e Rename OS::get_data_dir to OS::get_user_data_dir
Will be needed to avoid confusion with system data path (XDG_DATA_HOME)
and editor data dir in upcoming refactoring.
2017-11-17 20:55:09 +01:00
Rémi Verschelde 0968c8d2f6
Merge pull request #12982 from tagcup/aabb_rename
Rename Rect3 to AABB.
2017-11-17 20:04:29 +01:00
Juan Linietsky 0e04316214
Merge pull request #12962 from SaracenOne/gui_focus_next_prev
Add manual overrides for focus_next and focus_previous
2017-11-17 15:03:05 -03:00
Ferenc Arn d28763a4c1 Rename Rect3 to AABB.
Fixes #12973.
2017-11-17 11:01:41 -05:00
Will Nations eaea646648 Adding ability for single meta hovering 2017-11-17 09:37:41 -06:00
Rémi Verschelde 852b9691a6
Merge pull request #12940 from willnationsdev/richtextlabel-docs
[DOCS] Adding internal tag stack information and fleshing out descriptions
2017-11-17 00:32:10 +01:00
Rémi Verschelde 4cfc29611e GDScript: Refactor "GD" class prefix to "GDScript" 2017-11-16 18:54:56 +01:00
Saracen e4201734df Add manual overrides for focus_next and focus_previous on controls similar to what can already be done with focus neighbours. 2017-11-16 09:45:52 +00:00
Rémi Verschelde 11e07d18bd doc: Sync classref with current source 2017-11-15 21:29:34 +01:00
Rémi Verschelde 677e95d8d1 doc: Make all module docs self-contained 2017-11-15 21:29:33 +01:00
Rémi Verschelde e7701bb2de doc: Rename "@Global Scope" to "@GlobalScope"
Spaces in filenames are evil.
2017-11-15 20:41:16 +01:00
Rémi Verschelde 967bfb0c4a doc: Remove revision.module_config from version string
It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}",
limits unnecessary diffs.
2017-11-15 20:41:16 +01:00
Will Nations 879b70178b Adding internal tag stack information. 2017-11-14 16:31:02 -06:00
Zher Huei Lee 2eba585d38 Added RegEx.search_all() for multiple matches
And updated the docs
2017-11-14 13:04:25 +08:00
BastiaanOlij 9d3f8418ca Removed add/remove interface bindings and added get_interfaces 2017-11-13 22:08:43 +11:00
Rémi Verschelde 2fce0010f0 classref: Sync with current source
[ci skip]
2017-11-13 09:25:53 +01:00
Rémi Verschelde 81fb6e474f
Merge pull request #12862 from YeldhamDev/text_property
Made text in TextEdit a property
2017-11-12 21:15:29 +01:00
Michael Alexsander Silva Dias 2a26931246 Made text in TextEdit a property. 2017-11-12 13:10:26 -02:00
Goutte 91ca725f9b Add support for the TAU constant. Fixes #12094. 2017-11-12 13:32:35 +01:00
Michael Alexsander Silva Dias 920f3f6546 Added "is_readonly()" to TextEdit and made it a property. 2017-11-11 22:14:14 -02:00
Ian fc299b4f37 add context menu enable getters, setters, and properties in LineEdit and TextEdit 2017-11-11 03:30:59 -05:00
letheed 482e07af7e Unify degree members and properties 2017-11-10 12:52:07 +01:00
Chris Bradfield b87a7df186
Merge pull request #12733 from NathanWarden/document_object
[DOCS] Object
2017-11-08 19:37:12 -08:00
Nathan Warden 09a1d01b74 [DOCS] Object 2017-11-08 22:18:07 -05:00
Max Hilbrunner a897be5a04 [DOCS] OS.get_unique_string(). 2017-11-08 05:18:41 +01:00
Poommetee Ketson 5ceaae51f7
Merge pull request #12636 from Chaosus/wrapdocs
Docs for wrap functions
2017-11-06 09:09:34 +07:00
Bernhard Liebl 7ec32b6d09 Basic docs for Geometry plus two new functions 2017-11-05 07:56:27 +01:00
Chaosus bd41cb197b Docs for wrap functions 2017-11-04 19:09:37 +03:00
DmDerbin 4c79e58e3f AStar: implementation of get_point_connections 2017-11-04 11:21:03 +03:00
Robbie Cooper dbf774f9dc Proofreading: Change a usage of "specially" to "especially"
See PR godotengine/godot-docs#561. This file generates documentation touched by that PR, so must be changed to stay in sync.

I couldn't find any other usages in this repo that needed changing. I looked in all files matching *.cpp *.h *.md *.txt *.xml *.html *.rst.
2017-10-31 19:47:07 -04:00
N0hbdy f3fc07272c Add Colemak keybindings to editor for osx 2017-10-30 22:51:02 +01:00
Henrique Campos 07d90b0e6f [DOCS] Added documentation for OccluderPolygon2D 2017-10-30 12:28:53 -02:00
Rémi Verschelde 9f4f630adf
Merge pull request #12437 from mhilbrunner/astar-setpointweightscale
AStar: Add setters for point position and scale weight, cleanup
2017-10-29 13:32:08 +01:00
Rémi Verschelde d4d12eba53 classref: Apply doctool to fix formatting
Fixes regression from #12396 which caused #12466.
[ci skip]
2017-10-29 12:09:20 +01:00
MattUV 24e047f91d [DOCS]Completed LineEdit.xml 2017-10-28 23:54:10 +02:00
Chris Bradfield c93a3c1bd9
Merge pull request #12396 from AntiSC2/master
[DOCS] Add and polish up documentation for Image methods
2017-10-28 09:48:21 -07:00
Unknown 9b4c5989ad AStar: Add setters for point position and scale weight, cleanup 2017-10-27 19:19:01 +02:00
MattUV 1c378f918d [DOCS] Corrected some typing mistakes on Node2D.xml 2017-10-27 08:27:29 +02:00
Rémi Verschelde 369a119963 Merge pull request #12339 from Ertain/master
Added descriptions for some methods.
2017-10-27 07:48:55 +02:00
Rémi Verschelde b1b11ea411 Merge pull request #12422 from eska014/httpclient-api
Remove HTTPClient::send_body_text and ::send_body_data
2017-10-26 23:29:59 +02:00
Leon Krause d1102cb37d Remove HTTPClient::send_body_text and ::send_body_data
These were never implemented, the request* methods provide parameters to
send body data as part of the client's requests.
2017-10-26 22:25:35 +02:00
Jakob Sinclair 3d810a207c Add and polish up documentation for Image methods
Written new documentation for undocumented methods. The already
documented methods seemed to follow a very old style and changed them to
fit the new guidelines for documentation.

Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
2017-10-26 20:07:05 +02:00
Henrique Campos 1063ddfeb5 Added description for camera2D missing members
Also fixed typo in AudioEffectFilter.
[ci skip]
2017-10-26 09:08:52 +02:00
Rémi Verschelde d135008acf Merge pull request #12405 from Jerome67000/clean_getnodetype
Removes Script::get_node_type()

[ci skip]
2017-10-26 08:49:38 +02:00
Jason Anderson 8aecdaa6f0 Added descriptions to RichTextLabel 2017-10-25 13:15:39 -05:00
Jerome67000 2609cc9ef4 Removes Script::get_node_type()
used before GDScript, with squirrel apparently
2017-10-25 20:11:30 +02:00
Chris Bradfield c9e6168db0 Merge pull request #12375 from NathanWarden/cubemap_docs
[DOCS] CubeMap
2017-10-25 08:54:15 -07:00
Nathan Warden e0b2a74a14 [DOCS] CubeMap 2017-10-24 21:46:37 -05:00
Rémi Verschelde 552ed07cfd classref: Sync with current source
[ci skip]
2017-10-24 19:22:43 +02:00
volzhs d15af2c290 Fix example code for EditorImportPlugin 2017-10-25 01:12:43 +09:00
Rémi Verschelde 5b53cd1fc4 Merge pull request #12330 from Jerome67000/docs_basebutton
[DOCS] BaseButton

[ci skip]
2017-10-23 23:13:25 +02:00
Rémi Verschelde abea816e54 Revert "Rename Schlick GGX to GGX." 2017-10-23 07:42:36 +02:00
Chris Bradfield 774023a38e Merge pull request #12336 from mhilbrunner/docs-globalscope
[DOCS] @GlobalScope
2017-10-22 18:03:20 -07:00
Chris Bradfield 4bb02a1b68 Merge pull request #12318 from mhilbrunner/docs-remotetransform
[DOCS] RemoteTransform & RemoteTransform2D
2017-10-22 17:29:57 -07:00
mhilbrunner 0b7619fd9c [DOCS] RemoteTransform & RemoteTransform2D 2017-10-23 02:18:57 +02:00
mhilbrunner 24bcf6d17a [DOCS] @GlobalScope 2017-10-23 01:46:46 +02:00
Chris Bradfield d49f23fd1b Merge pull request #12331 from mhilbrunner/docs-editorscript
[DOCS] EditorScript: Small formatting fixes
2017-10-22 16:31:27 -07:00
Chris Bradfield 7d36409f42 Merge pull request #12306 from Grosskopf/various-docs
[DOCS] added several small docs
2017-10-22 15:58:56 -07:00
Chris Bradfield 99493e2243 Merge pull request #12305 from Grosskopf/arvr-docs
[DOCS] added some arvr docs
2017-10-22 15:57:03 -07:00
Grosskopf aaa4142a37 added some arvr docs 2017-10-23 00:43:13 +02:00
Grosskopf 03e2508e45 Added various docs, mostly mathematical basics 2017-10-23 00:39:34 +02:00
mhilbrunner 649b25e037 [DOCS] EditorScript: Small formatting fixes 2017-10-23 00:35:10 +02:00
Chris Bradfield 0564f96ab4 Merge pull request #12328 from mhilbrunner/docs-string
[DOCS] String
2017-10-22 15:23:04 -07:00
Jerome67000 b0ac316dc9 [DOCS] BaseButton 2017-10-23 00:17:02 +02:00
mhilbrunner 0608f2fca3 [DOCS] String 2017-10-23 00:11:09 +02:00
Chris Bradfield ecdf49ec61 Merge pull request #12315 from Jerome67000/docs_parallax
[DOCS] ParallaxBackground and ParallaxLayer
2017-10-22 15:09:40 -07:00
Jerome67000 a5c3696b3b [DOCS] ParallaxBackground and ParallaxLayer 2017-10-22 23:10:39 +02:00
Rémi Verschelde fc09e14366 classref: Sync with current source
Also fix hyperlink references to same class as per the guidelines.
[ci skip]
2017-10-22 12:56:17 +02:00
Nathan Lovato 14b1741cbf Merge pull request #12150 from Grosskopf/2D-joints-docs
[DOCS] 2D joints docs
2017-10-22 12:07:40 +02:00
Henrique Campos bc667aeada Added description to Audio Filter Effects
Also doccumented Filter member variables and methods.
[ci skip]
2017-10-22 11:57:25 +02:00
Stephen Ednave 8f382879cf Added descriptions to some members of Camera2D 2017-10-22 11:56:44 +02:00
Rémi Verschelde add60f840a Merge pull request #12273 from willnationsdev/tabcontainer-doc-edit
[DOCS] Updated the TabContainer docs for depth and readability

[ci skip]
2017-10-22 10:38:23 +02:00
Will Nations 5b10422fba updated the TabContainer docs for depth and readability. 2017-10-22 00:07:33 -05:00
Ferenc Arn cb0bf1edea Rename Schlick GGX to GGX.
Schlick's approximation and GGX are orthogonal concepts.

Furthermore, it's usage so far has been inconsistent: we don't even use it with anisotropic SchlickGGX, and Burley (Disney) diffuse does use it while its name doesn't indicate it.

The use of Schlick's approximation in Burley and GGX is an implementation detail and doesn't need to be reflected to the namig.
2017-10-21 19:35:54 -04:00
Pedro J. Estébanez 7b12ae39f2 Rename RayCasts collision_layer to collision_mask
The point is that `RayCast`s are checked against objects' `collision_layer`(s), but they themselves are considered no to _belong_ to any layer. Therefore, the correct name for their property is `collision_mask`, rather than `collision_layer`.

Only renaming is needed since the behavior was already the right one, only that it wasn't matching what users would expect from the name and description of the property.

Fixes #7589, where it's also discussed.
2017-10-21 22:17:47 +02:00
Grosskopf 7a6246a0bd Added the 2D Joint docs 2017-10-21 17:55:45 +02:00
Rémi Verschelde 2e212a2cfd makerst: Remove stray spaces in method signatures 2017-10-21 14:01:05 +02:00
Rémi Verschelde 2cd044e89b makerst: Add support for [member] and [signal]
Part of #11137. [enum] is still missing, and none are implemented in the engine itself yet.
2017-10-21 13:53:59 +02:00
Rémi Verschelde b302084395 makerst: Fix rst-ization of members and escaping of [Class]s
Fixes #11517.
2017-10-21 12:33:52 +02:00
Rémi Verschelde 8652c1d5b1 classref: Sync with current source 2017-10-21 12:04:36 +02:00
Nathan Lovato 5cbab0e001 Merge pull request #12221 from Jerome67000/docs_input
[DOCS] InputEvent*
2017-10-21 12:02:18 +02:00
Jerome67000 0a89b0f767 [DOCS] InputEvent* 2017-10-21 10:04:43 +02:00
Chris Bradfield d4eecce962 [DOCS] Updates and clarifications to RigidBody2D 2017-10-20 22:48:23 -07:00
Jakob Sinclair 1870c2fdcf Fix ambiguous documentation for RigidBody2D
Fixes #12225 and the possesive form of the word body. Also uses simpler terms now
when describing when the linear velocity gets updated.

Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
2017-10-20 22:40:02 +02:00
Julian Murgia cba35c5ec9 Merge pull request #12199 from Fallayn/patch-1
[DOCS] EditorScript
2017-10-20 21:24:07 +02:00
Poommetee Ketson 0e9f81a40b Merge pull request #12054 from Fallayn/docs-editorinterface
[DOCS] EditorInterface

[ci skip]
2017-10-20 22:42:39 +07:00
Rémi Verschelde f85d428b56 Merge pull request #12053 from Grosskopf/audiodocs-fix
filtering getters&setters over strings works for AudioStreamPlayer*
2017-10-19 16:17:41 +02:00
Fallayn 800904a374 [DOCS] EditorScript 2017-10-18 20:20:27 +02:00
Fallayn 7f2d36bf84 [DOCS] EditorInterface 2017-10-17 17:13:27 +02:00
Rémi Verschelde 0d0cb01f33 Merge pull request #12126 from cbscribe/kcc_vsdocs2
[DOCS] Various VisualScript* nodes

[ci skip]
2017-10-15 23:04:32 +02:00
Chris Bradfield 6160591d2c Merge pull request #12124 from Kaukamieli/Particles2D
[DOCS] documented and edited Particles2D
2017-10-15 14:01:26 -07:00