Commit Graph

2585 Commits

Author SHA1 Message Date
Hugo Locurcio 359c95156a
Clarify that `KEY_BACK` is unrelated to the Back button on Android
This closes #19325.
2020-08-28 17:10:08 +02:00
Rémi Verschelde a258180723
Merge pull request #41573 from skyace65/Thread
Add information to get thread id
2020-08-28 10:46:16 +02:00
Rémi Verschelde 2b36a999fa
Merge pull request #41566 from skyace65/TouchScreenButton
Improve touch screen button description
2020-08-28 10:46:02 +02:00
skyace65 aa08023115 Add information to get thread id 2020-08-27 22:11:35 -04:00
skyace65 416cac96fa Improve touch screen button description 2020-08-27 16:48:07 -04:00
skyace65 51367c1bcf Mention listener node in AudioStreamPlayer3D description 2020-08-27 12:44:20 -04:00
skyace65 555f4f3e17 Document where the center of mass is for RigidBody nodes 2020-08-27 11:20:29 -04:00
Hugo Locurcio d5ffa42cd2
Add a test suite for Expression
This also makes the first parameter of `Expression::execute()` optional
from C++. Previously, it was only optional in the scripting API.
2020-08-27 15:16:09 +02:00
simpu ea2eaf8c27 Added debugger plugin support
Changes:
* EngineDebugger is exposed to gdscript. Game side of communication can be implemented through it.
* EditorDebuggerPlugin is added which handles the editor side of communication.
2020-08-26 11:24:51 +05:30
Rémi Verschelde 9d8f3496e8
Merge pull request #40443 from SkyLucilfer/PluralsSupport
Added plurals and context support to Translation
2020-08-25 12:11:56 +02:00
Rémi Verschelde 8c4f556637
Merge pull request #41425 from Calinou/doc-2d-sprite-animation
Link to 2D Sprite animation tutorial in relevant class documentations
2020-08-21 15:54:15 +02:00
Hugo Locurcio 6d62e8b917
Link to 2D Sprite animation tutorial in relevant class documentations 2020-08-21 14:26:28 +02:00
Tomasz Chabora 255129a5d9 Mention that body_set_state is deferred 2020-08-21 13:31:33 +02:00
Rémi Verschelde 6790f111ae
Merge pull request #41387 from skyace65/CollisionShapeDoc
Update CollisionShape2D doc
2020-08-21 02:28:08 +02:00
skyace65 fe8d998858 Update CollisionShape2D doc 2020-08-20 20:13:51 -04:00
skyace65 3c9c541c59 Clarify points in Line2D doc 2020-08-21 02:00:14 +02:00
Rémi Verschelde 5f6368278f
Merge pull request #41080 from naithar/feature/ios-framework-import
[iOS] [4.0] Export: Add a method to embed a framework
2020-08-19 14:10:50 +02:00
Sergey Minakov 1661309d59 iOS Export: Add a method to embed a framework
By default 'add_ios_framework' would not embed a framework to save previous behavior.
New 'add_ios_embedded_framework' would embed framework on export.
2020-08-19 14:35:54 +03:00
Hugo Locurcio 95c2e43095
Document limitations related to centering text with RichTextLabel
This is a relatively common question on various community channels.
2020-08-19 10:42:00 +02:00
SkyJJ ce3461dc88 Update GDScriptTranslationParserPlugin to use GDSriptParser instead of RegEx. 2020-08-19 03:10:51 +02:00
SkyJJ 0ef758eaee Updated Translation architecture to have TranslationPO, did some commit fixes and updated class Reference. 2020-08-19 03:01:53 +02:00
SkyJJ 396f2eee82 Update POT generation to handle context and plurals 2020-08-19 03:01:52 +02:00
skyace65 43ab91ca02 Add defaults to tilemap set_cell function example 2020-08-18 10:37:05 -04:00
Hugo Locurcio a7ad7ce3bd
Make the lack of AtlasTexture support in AnimatedTexture more prominent
See https://github.com/godotengine/godot/issues/33855.
2020-08-17 17:34:40 +02:00
Rémi Verschelde 789dab3fb2
Merge pull request #41105 from Calinou/doc-dynamicfont-no-kerning
Document the lack of kerning support in DynamicFont
2020-08-15 16:20:02 +02:00
Rémi Verschelde 51358bb546
Merge pull request #41121 from Calinou/doc-slider-range-signals
Reference Range signals in the Slider class documentations
2020-08-14 13:12:09 +02:00
Rémi Verschelde d2d4c1c957 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@hinlopen, @naithar, @rrcore, @SkyLucilfer, @TwistedTwigleg

Thanks to all contributors and donors for making Godot possible!

---

Also changes to relevant code that parses the DONORS.md to match
the new tiers.
2020-08-14 00:06:51 +02:00
Rémi Verschelde 9a56f82495
Merge pull request #41216 from ThakeeNathees/doc-JSON.print
Documentation: clarify the indent parameter of JSON.print
2020-08-13 10:56:10 +02:00
Rémi Verschelde 0d815ed157
Merge pull request #41219 from akien-mga/gles2-takes-holidays
Remove obsolete GLES2 backend code
2020-08-13 10:52:38 +02:00
Rémi Verschelde bf291b62e2
Merge pull request #41207 from KoBeWi/you_got_error
Mention that Array.front/back throw error if empty
2020-08-13 10:33:40 +02:00
Rémi Verschelde 334c4129a4
Merge pull request #41198 from hazarek/master
grow_mask() description added
2020-08-13 10:31:42 +02:00
Rémi Verschelde 33b2070d2e Remove obsolete GLES2 backend code
This code currently isn't compiled (and cannot compile).

We plan to re-add OpenGL ES-based renderer(s) in Godot 4.0 alongside Vulkan
(probably ES 3.0, possibly also a low-end ES 2.0), but the code will be quite
different so it's not relevant to keep this old Godot 3.2 code.

The `drivers/gles2` code from the `3.2` branch can be used as a reference for
a potential new implementation.
2020-08-13 10:04:53 +02:00
Thakee Nathees 3609351788 Documentation: clarify the indent parameter of JSON.print 2020-08-13 11:35:33 +05:30
Tomasz Chabora 4ff1a34171 Mention that Array.front/back throw error if empty 2020-08-12 17:53:18 +02:00
Tomasz Chabora 677796a2c3 Expose NOTIFICATION_POST_ENTER_TREE 2020-08-12 13:31:32 +02:00
Hazar 1c61c8ab55
grow_mask() description added
Description;
> Applies morphological dilation to the bitmap. The first argument is the dilation amount, Rect2 is the area where the dilation will be applied.
2020-08-12 11:50:15 +03:00
Rémi Verschelde d0d75f0627
Merge pull request #41008 from KoBeWi/∠
Improve Vector2.angle() description
2020-08-11 19:11:59 +02:00
PouleyKetchoupp 095331fae4 Add option to disable virtual keyboard for TextEdit
Adding support for disabling virtual keyboard on mobile platforms, in
order to make it consistent with LineEdit.

It allows implementing a custom virtual keyboard.
2020-08-09 11:06:36 +02:00
Hugo Locurcio eaa52cbb36
Reference Range signals in the Slider class documentations
See https://github.com/godotengine/godot-docs/issues/3837.
2020-08-08 13:56:22 +02:00
Hugo Locurcio e506479fce
Document the lack of kerning support in DynamicFont 2020-08-07 15:03:35 +02:00
hoontee 5f86aeffe2 Implement CollisionShape3D.make_convex_from_siblings() 2020-08-05 04:13:33 -05:00
Tomasz Chabora a09078e64b Improve Vector2.angle() description 2020-08-05 00:18:19 +02:00
Hugo Locurcio 2a8bbda2a7
Improve the documentation related to overriding GUI theme items
Overriding theme items is a common point of confusion.
Hopefully, these code samples should clear things up.
2020-08-04 12:57:53 +02:00
Maganty Rushyendra 5e77eea216 Updated cursor positioning description for File open()
Added more details about the cursor offsets for the different ModeFlags
in the `File` class.
2020-08-04 13:53:52 +08:00
Hugo Locurcio 2f577facc9
Document HTTPRequest not supporting request data with GET method
This also improves the HTTPClient class documentation to be easier
to read and more informative.

This closes #40564.
2020-08-03 14:57:27 +02:00
Hugo Locurcio c73c327bab
Reference the online documentation in collision layer/mask properties
See https://github.com/godotengine/godot-docs/pull/3863.
2020-08-03 13:58:51 +02:00
Rémi Verschelde 8b28553de8
Merge pull request #40816 from codetorex/master
Added missing information about File.open_encrypted function to docs
2020-07-31 13:07:42 +02:00
Rémi Verschelde b1efa0f07f
Merge pull request #40418 from Calinou/doc-button-code-example
Add an example for creating a button in the Button class documentation
2020-07-31 13:05:48 +02:00
Rémi Verschelde 932a719f6e
Merge pull request #40540 from TheDuriel/patch-2
Clarify TreeItem return values
2020-07-31 13:04:13 +02:00
codetorex 3f6a7c74e3 Added missing information about File.open_encrypted function to docs. 2020-07-31 12:57:44 +02:00
Rémi Verschelde ba853f86af
Merge pull request #40903 from Calinou/doc-json
Improve JSON-related documentation
2020-07-31 10:39:56 +02:00
Hugo Locurcio 930e10ffff Improve JSON-related documentation
This closes https://github.com/godotengine/godot-docs/issues/3848.
2020-07-31 09:56:11 +02:00
Rémi Verschelde 829039d8b1
Merge pull request #40874 from Calinou/doc-editorinterface-get_editor_viewport
Improve the `EditorInterface.get_editor_viewport()` description
2020-07-30 14:29:09 +02:00
Hugo Locurcio 60d40d8430 Improve the `EditorInterface.get_editor_viewport()` description
This closes https://github.com/godotengine/godot-docs/issues/1109.
2020-07-30 12:21:49 +02:00
Hugo Locurcio f50a4b8a3b Link to Thread-safe APIs in the Thread class documentation
This closes https://github.com/godotengine/godot-docs/issues/2276.
2020-07-30 12:18:00 +02:00
Hugo Locurcio 5f2b6bd476 Document how to perform advanced string splitting using RegEx
This closes https://github.com/godotengine/godot-docs/issues/3607.
2020-07-29 12:12:01 +02:00
Rémi Verschelde 3890638d84
Merge pull request #40821 from Calinou/doc-canvasitem-draw_string-example
Add an example to the `CanvasItem.draw_string()` documentation
2020-07-29 11:32:05 +02:00
Hugo Locurcio 0c7735be5b Add an example to the `CanvasItem.draw_string()` documentation
This closes https://github.com/godotengine/godot-docs/issues/3374.
2020-07-29 10:43:10 +02:00
Hugo Locurcio 4257aa5c5c Fix incorrect key name in the Animation documentation code sample
This closes https://github.com/godotengine/godot-docs/issues/3841.
2020-07-29 10:13:44 +02:00
Yuri Roubinsky cf03f90fa8
Merge pull request #40785 from Chaosus/vs_uniform_ref
Added UniformRef visual shader node
2020-07-28 16:17:37 +03:00
Yuri Roubinsky 7ddaff47a3 Added UniformRef visual shader node 2020-07-28 14:44:53 +03:00
Rémi Verschelde eb0a67c6b8
Merge pull request #40754 from Chaosus/vs_default_uniforms
Added default value for uniforms in visual shaders
2020-07-28 13:40:49 +02:00
Rémi Verschelde 932b75e247 doc: Sync classref with current source 2020-07-28 01:08:44 +02:00
Rémi Verschelde c845e20add Revert "Allow Area2D and 3D mouse events without a collision layer"
This reverts commit 7eebb06b55.
2020-07-27 22:45:01 +02:00
Yuri Roubinsky 8fefdcf113 Added default value for uniforms in visual shaders 2020-07-27 15:44:22 +03:00
Rémi Verschelde 303515981b
Merge pull request #40750 from Calinou/doc-canvasitem-node3d-visible
Improve visibility documentation for CanvasItem and Node3D
2020-07-27 14:38:55 +02:00
Hugo Locurcio 27b09dfc44 Improve visibility documentation for CanvasItem and Node3D
This closes https://github.com/godotengine/godot-docs/issues/3840.
2020-07-27 14:26:46 +02:00
Rémi Verschelde bd9fc75768
Merge pull request #40706 from akien-mga/style-fix-file_format-macos
Fix code format scripts compat with non-GNU Unices
2020-07-27 13:27:56 +02:00
Rémi Verschelde c71e189efd Style: Fix code format scripts compat with non-GNU Unices
It's too hard to get compatibility between GNU and BSD sed,
so let's just use perl oneliners.

And improve it to also remove trailing tabs, not just spaces.
2020-07-27 13:11:44 +02:00
Rémi Verschelde 08d3d06ed7
Merge pull request #40749 from madmiraal/fix-9097
Clarify the difference between contacts and collisions.
2020-07-27 12:04:55 +02:00
Marcel Admiraal 6f1c99e5b4 Clarify the difference between contacts and collisions. 2020-07-27 10:35:15 +01:00
Rémi Verschelde 4fdc3e683a
Merge pull request #40743 from Calinou/doc-object-vs-reference
Improve the Object, Reference and Resource class documentations
2020-07-27 10:38:56 +02:00
Hugo Locurcio 4275e6aad5 Improve the Object, Reference and Resource class documentations 2020-07-27 10:03:46 +02:00
PouleyKetchoupp 8c05dadcff Fix Return key events in LineEdit & TextEdit on Android
Depending on the device implementation, editor actions could be
received with different action ids or not at all for multi-line.

Added a parameter to virtual keyboards to properly handle single-line
and multi-line cases in all situations.

Single-line:
Input type set to text without multiline to make sure actions are sent.
IME options are set to DONE action to force action id consistency.

Multi-line:
Input type set to text and multiline to make sure enter triggers new lines.
Actions are disabled by the multiline flag, so '\n' characters are
handled in text changed callbacks.
2020-07-26 20:06:07 +02:00
Rémi Verschelde da621ab0c5
Merge pull request #40442 from Calinou/doc-tile-get-shapes
Document an example dictionary returned by `TileSet.tile_get_shapes()`
2020-07-26 16:42:35 +02:00
Rémi Verschelde 6f292f906e
Merge pull request #38900 from bruvzg/docs_ignore_os_spec_def_vals
Docs: Ignore OS specific values (constants, project settings, properties)
2020-07-25 18:54:25 +02:00
Rémi Verschelde 460a00619e
Merge pull request #40605 from QbieShay/spring-arm-doc-fix
fixed documentation for get_hit_length of spring arm 3D
2020-07-23 10:34:16 +02:00
QbieShay d1bff73611 fixed documentation for get_hit_length of spring arm 3D
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-07-22 23:08:37 +02:00
follower e38b63400c
Fix presumed copy/paste error: "Returns" -> "Sets"
I might be going out on a limb here... :D
2020-07-23 04:21:29 +12:00
Rémi Verschelde e196b8127c
Merge pull request #40590 from Calinou/doc-inputeventmousemotion-polling-rate
Document polling rate limitations in InputEventMouseMotion
2020-07-22 13:17:03 +02:00
Hugo Locurcio 924b7ea2f5 Document polling rate limitations in InputEventMouseMotion
This closes #40579.
2020-07-22 10:25:13 +02:00
Rémi Verschelde d8c3fba1d4
Merge pull request #40588 from nekomatata/virtual-keyboard-disable
Add option to disable virtual keyboard for LineEdit
2020-07-22 09:33:47 +02:00
PouleyKetchoupp 0aa56e3ab8 Add option to disable virtual keyboard for LineEdit
Co-authored-by: Alexander Holland <alexander.holland@live.de>
2020-07-22 08:19:05 +02:00
Ryan Roden-Corrent c6919a13da
Fix bound return type on get_priority.
Also adds a description explaining gizmo priority.

Inferred from:
e4363d001a/editor/plugins/spatial_editor_plugin.cpp (L5867-L5880)
e4363d001a/editor/plugins/spatial_editor_plugin.cpp (L6462-L6470)
2020-07-21 18:18:33 -04:00
Rémi Verschelde a5fb445121
Merge pull request #40450 from asmaloney/spelling
Fix spelling & grammar in comments, docs, and messages
2020-07-21 22:14:04 +02:00
Rémi Verschelde bb2c0d3c3a
Merge pull request #40501 from aaronfranke/core-docs-cs
Update core documentation to match recent C# changes
2020-07-21 21:28:55 +02:00
Andy Maloney 4dda62f591 Fix spelling & grammar in comments, docs, and messages 2020-07-21 15:17:23 -04:00
Rémi Verschelde e73de413db
Merge pull request #40457 from Calinou/doc-basebutton-pressed-toggled
Mention `toggled` signal for pressed state in BaseButton documentation
2020-07-21 21:05:58 +02:00
Aaron Franke 83e324d670
Update core documentation to match recent C# changes
Also a few minor API changes like adding AABB.abs()

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-07-21 14:44:53 -04:00
Rémi Verschelde 01fb1f189f
Merge pull request #40512 from yrk06/ExposeInertiaTensorMaster
Add Method get_inverse_inertia_tensor
2020-07-21 16:49:24 +02:00
Yerik a91103ac89 Add Method get_inverse_inertia_tensor 2020-07-21 11:33:41 -03:00
Rémi Verschelde 15a97679bb
Merge pull request #40476 from Calinou/doc-visibilitynotifier
Improve the VisibilityNotifier and VisibilityEnabler class descriptions
2020-07-20 23:50:08 +02:00
Rémi Verschelde ca5033e8ab
Merge pull request #40463 from Calinou/doc-editorsettings
Complete the EditorSettings class documentation
2020-07-20 23:48:23 +02:00
Rémi Verschelde 2334a1cf19
Merge pull request #40493 from Calinou/doc-editor-plugins-interfaces
Document several editor-related classes to 100% completion
2020-07-20 23:47:50 +02:00
Rémi Verschelde 6746f8b890
Merge pull request #40477 from Calinou/doc-vector-dot
Document `Vector2.dot()` and `Vector3.dot()` more extensively
2020-07-20 23:46:28 +02:00
Rémi Verschelde aada93afc0
Merge pull request #40491 from RandomShaper/font_avail_chars
Add DynamicFont::get_available_chars()
2020-07-20 19:18:53 +02:00
Pedro J. Estébanez 80a5df4821 Add DynamicFont::get_available_chars() 2020-07-20 17:44:39 +02:00
Hugo Locurcio 90db42d9db Document HTML5 CORS restrictions in HTTPClient and HTTPRequest
See https://github.com/godotengine/godot/issues/40247.
2020-07-20 15:15:55 +02:00
Hugo Locurcio fb2e4d77eb Document several editor-related classes to 100% completion 2020-07-20 14:48:42 +02:00
TheDuriel 0ff1ca4655 Clarify TreeItem return values 2020-07-20 14:38:34 +02:00
Hugo Locurcio 1554fce23c Document `Vector2.dot()` and `Vector3.dot()` more extensively
These methods are commonly used in games. It's time to make the
documentation more explicit about them :)
2020-07-20 14:20:17 +02:00
Rémi Verschelde 639252d0f8
Merge pull request #40409 from Calinou/doc-control-rect-scale
Document caveats related to Control scaling
2020-07-20 13:56:50 +02:00
Andrii Doroshenko (Xrayez) df80e259cd Document the process of parsing command-line arguments
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-07-20 12:09:46 +03:00
Hugo Locurcio ce57cc43dd
Improve the VisibilityNotifier and VisibilityEnabler class descriptions 2020-07-18 00:30:30 +02:00
Hugo Locurcio 708a0a43fb
Complete the EditorSettings class documentation
EditorSettings is now 100% documented.
2020-07-17 20:23:14 +02:00
Hugo Locurcio 43dae28e9d
Mention `toggled` signal for pressed state in BaseButton documentation
This closes #40455.
2020-07-17 00:01:24 +02:00
Hugo Locurcio 60bb80505f Document an example dictionary returned by `TileSet.tile_get_shapes()` 2020-07-16 09:42:24 +02:00
Hugo Locurcio 8836c7203b Add an example for creating a button in the Button class documentation
This closes https://github.com/godotengine/godot-docs/issues/3798.
2020-07-15 16:33:44 +02:00
Hugo Locurcio d4085d6bfb Mention the Data paths documentation in the File class
This closes https://github.com/godotengine/godot-docs/issues/3799.
2020-07-15 16:10:06 +02:00
Rémi Verschelde f131daf972
Merge pull request #40414 from rcorre/get-mesh-arrays-doc
Clarify how to convert PrimitiveMesh to ArrayMesh.
2020-07-15 15:30:27 +02:00
Rémi Verschelde 1cc5d35906
Merge pull request #40412 from Calinou/doc-string-c-unescape
Document which escape sequences are supported by `String.c_unescape()`
2020-07-15 14:19:50 +02:00
Ryan Roden-Corrent 933bf96523
Clarify how to convert PrimitiveMesh to ArrayMesh.
It took me a bit to figure this out, as I was initially doing something
more complicated like this before I realized I just had to pass
get_mesh_arrays directly to add_surface_from_arrays.

```
var arr_mesh = ArrayMesh.new()
var arrays = []
arrays.resize(ArrayMesh.ARRAY_MAX)
arrays[ArrayMesh.ARRAY_VERTEX] = c.get_mesh_arrays()
arr_mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, arrays)
```
2020-07-15 08:09:27 -04:00
Rémi Verschelde 08dda79a9c
Merge pull request #37961 from Calinou/doc-csharp-dynamic-object-call
Mention C# gotchas in Object's dynamic call/set/connect methods
2020-07-15 12:33:41 +02:00
Hugo Locurcio 04b25108ac Document which escape sequences are supported by `String.c_unescape()`
See https://github.com/godotengine/godot/issues/38716.
2020-07-15 11:52:00 +02:00
bruvzg 0181c3dde1
Docs: Ignore OS specific values (constants, project settings, properties). 2020-07-15 12:24:59 +03:00
Hugo Locurcio a36912b3cb Document caveats related to Control scaling
This is a common topic of confusion. Clarifying its intended scope
should make things easier to understand.
2020-07-15 10:36:29 +02:00
Rémi Verschelde dad21acebd
Merge pull request #40380 from Calinou/doc-vehiclebody-limitations
Document VehicleBody3D and VehicleWheel3D limitations
2020-07-15 09:28:19 +02:00
Rémi Verschelde c8523038cc
Merge pull request #40268 from DanielZTing/master
Fix cancel/OK button order on macOS
2020-07-15 09:21:04 +02:00
Rémi Verschelde b79aa89796 doc: Sync classref with current source 2020-07-15 08:43:21 +02:00
Hugo Locurcio 878f03d8e3
Mention C# gotchas in Object's dynamic call/set/connect methods
This closes #34015.
2020-07-14 17:07:10 +02:00
Hugo Locurcio 0493e7c106
Document VehicleBody3D and VehicleWheel3D limitations
These classes have dozens of open bugs and missing features
which may not be fixed anytime soon.

It's probably better to document it upfront at this point.
2020-07-14 16:16:08 +02:00
Fabio Alessandrelli 839c7b1ba3 Document updated UDPServer interface. 2020-07-14 14:10:18 +02:00
Aaron Franke 9986439352
Commit other files changed by file_format.sh 2020-07-13 14:14:11 -04:00
Rémi Verschelde 9678a41b19
Merge pull request #40272 from clayjohn/VULKAN-time-slicing
Add incremental update mode to sky
2020-07-11 10:00:39 +02:00
clayjohn a54f93c169 Add incremental update mode to sky 2020-07-11 00:10:15 -07:00
Rémi Verschelde d0cea291d2
Merge pull request #40193 from KoBeWi/dem_pikks
Allow Area2D and 3D mouse events without collision layer
2020-07-11 00:26:56 +02:00
Daniel Ting 9605fc54c7 Fix cancel/OK button order on macOS
The macOS platform convention regarding button order is cancel on left,
OK on right.
2020-07-10 15:10:11 -05:00
Hugo Locurcio 8d0099f5fc
Document support for normal and specular maps in AnimatedSprite2D
This closes #38509.
2020-07-10 21:52:16 +02:00
Yuri Roubinsky ecb5f7ea23 Added 'fma' function to shader language 2020-07-10 19:58:03 +03:00
Tomasz Chabora 7eebb06b55 Allow Area2D and 3D mouse events without a collision layer
Co-authored-by: madmiraal <madmiraal@users.noreply.github.com>
2020-07-10 13:23:20 +02:00
Rémi Verschelde aeccd1e287
Merge pull request #40121 from Calinou/enable-file-logging
Enable file logging by default on desktops to help with troubleshooting
2020-07-10 11:02:57 +02:00
Rémi Verschelde 1282b8201f
Merge pull request #40243 from nathanfranke/fix-regression-directory-open-check
Follow-Up Fix Directory Open
2020-07-10 10:21:03 +02:00
Rémi Verschelde 2638168da8
Merge pull request #40246 from Calinou/doc-httprequest-post-example
Add a POST request example to the HTTPRequest class documentation
2020-07-10 10:01:56 +02:00
Nathan Franke 6952458538
Follow-Up Fix Directory Open 2020-07-10 02:56:37 -05:00
Hugo Locurcio 54db59be67 Add a POST request example to the HTTPRequest class documentation 2020-07-10 09:13:46 +02:00
Rémi Verschelde 8894af3908
Merge pull request #40210 from RantingBob/patch-1
Update Resource.xml to explain behavior of duplicate when subresource…
2020-07-10 08:59:27 +02:00
Rémi Verschelde de794bfa3c
Merge pull request #40240 from Calinou/doc-packedscene-example-instance
Document how to instance a PackedScene and add it as a child
2020-07-09 23:04:21 +02:00
Hugo Locurcio 23d929d540
Document how to instance a PackedScene and add it as a child
This information was already present in `@GDScript.preload()`,
but it's not easy to find.

This closes https://github.com/godotengine/godot-docs/issues/3338.
2020-07-09 20:05:33 +02:00
Hugo Locurcio 1261f47c35
Mention `SceneTree.create_timer()` in the Timer class documentation
This closes https://github.com/godotengine/godot-docs/issues/2349
(as the linked method already contains an example).
2020-07-09 19:43:38 +02:00
Hugo Locurcio 20af28ec06
Enable file logging by default on desktops to help with troubleshooting
- Use the `.log` file extension (recognized on Windows out of the box)
  to better hint that generated files are logs. Some editors provide
  dedicated syntax highlighting for those files.
- Use an underscore to separate the basename from the date and
  the date from the time in log filenames. This makes the filename
  easier to read.
- Keep only 5 log files by default to decrease disk usage in case
  messages are spammed.
2020-07-08 18:57:25 +02:00
Bob Gardner 660a780c3b
Update Resource.xml to explain behavior of duplicate when subresources is true and a subresource contains further nested resources.
Updated documentation for duplicate() on Resource to better explain the behavior. As per #30385.
2020-07-08 09:51:51 -07:00
Aaron Franke af80bcd2f8
Add sort and has methods to PackedArrays 2020-07-06 22:16:39 -04:00
Yuri Sizov 49f6dc5004 Expose methods to play scene from plugin code 2020-07-06 17:39:16 +03:00
SkyJJ cae6f0bda2 Change translation parser plugin API to parse_file() 2020-07-05 12:14:56 +02:00
Rémi Verschelde 8ccb1cec91
Merge pull request #40084 from bruvzg/macos_seamless_scaling
[macOS] Implement seamless display scaling.
2020-07-04 10:51:09 +02:00
Rémi Verschelde 9cec315ec0
Merge pull request #40103 from Calinou/doc-fix-string-capitalize
Fix `String.capitalize()` description to follow camelCase changes
2020-07-04 09:57:46 +02:00
bruvzg df968d577a
[macOS] Implement seamless display scaling. 2020-07-04 10:36:33 +03:00
Rémi Verschelde c020eea184
Merge pull request #40092 from hinlopen/remove-find-last
Remove String::find_last (same as rfind)
2020-07-04 01:38:01 +02:00
Hugo Locurcio 887099680a
Fix `String.capitalize()` description to follow camelCase changes
This closes #40093.
2020-07-03 20:36:27 +02:00
Rémi Verschelde cf97137681
Merge pull request #40089 from slooths/doc-textedit-minimap
Add documentation for minimap_draw and minimap_width
2020-07-03 17:35:22 +02:00
Rémi Verschelde 96644d23a0 doc: Sync classref with current source 2020-07-03 16:09:12 +02:00
Rémi Verschelde 54ce2e9820
Merge pull request #40086 from slooths/doc-update-select-methods
Update TextEdit select and select_all method descriptions
2020-07-03 15:36:46 +02:00
Stijn Hinlopen 929b98d24b Remove String::find_last (same as rfind) 2020-07-03 15:26:22 +02:00
Rémi Verschelde eaf15fd5a2
Merge pull request #40085 from slooths/doc-selecting-enabled
Add documentation for selecting_enabled
2020-07-03 15:23:39 +02:00
Slooth df8f0e6215 Add documentation for minimap_draw and minimap_width 2020-07-03 07:42:43 -05:00
Slooth b2471edf45 Update TextEdit select and select_all methods 2020-07-03 06:44:34 -05:00
Slooth bc1ea1cbad Add documentation for selecting_enabled 2020-07-03 06:24:40 -05:00
Rémi Verschelde b5fa2634d4
Merge pull request #40082 from slooths/doc-textedit-center-viewport-to-cursor
Add documentation for center_viewport_to_cursor method
2020-07-03 13:17:46 +02:00
Slooth 654d33866b Add documentation for center_viewport_to_cursor method 2020-07-03 05:39:17 -05:00
Slooth d838282191 Add documentation for shortcut_keys_enabled 2020-07-03 03:03:56 -05:00
Aaron Franke 299c3ec1c1
Fix incorrect documentation for Vector2.angle() 2020-07-02 22:52:37 -04:00
Rémi Verschelde f9c2f35dd9
Merge pull request #39415 from SkyLucilfer/PotGeneration
Add POT generation feature in Editor
2020-07-02 22:22:46 +02:00
Rémi Verschelde 67e4082b1e
Merge pull request #37350 from aaronfranke/force-impulse
Refactor physics force and impulse code to use (force, position) order
2020-07-02 18:39:16 +02:00
SkyJJ efb4609425 Add translation parser plugin support 2020-07-02 14:47:35 +02:00
Rémi Verschelde f4aea93537
Merge pull request #38390 from Xrayez/doc-offset-poly-translate
Clarify `Geometry.offset_polygon_2d` regarding vertices translation
2020-07-02 14:28:49 +02:00
Rémi Verschelde afe03e872b
Merge pull request #34926 from Xrayez/draw-transform-defaults
Provide `draw_set_transform` defaults for rotation and scale
2020-07-02 09:06:06 +02:00
Rémi Verschelde 0a8dbe7f75
Merge pull request #32516 from nekomatata/texture-button-flip
Added flip_h and flip_v properties in TextureButton
2020-07-01 19:07:59 +02:00
Andrii Doroshenko (Xrayez) 851c1050b2 Provide `draw_set_transform` defaults for rotation and scale 2020-07-01 18:09:11 +03:00
Andrii Doroshenko (Xrayez) 19b72da35d Clarify `Geometry.offset_polygon_2d` regarding vertices translation
The method is used to either inflate or deflate a polygon.
For translating/transforming a polygon, use `Transform2D.xform`.
2020-07-01 17:10:21 +03:00
Rémi Verschelde 372136fe75 Environment: Refactor code for readability + more
- Makes all boolean setters/getters consistent.
- Fixes bug where `glow_hdr_bleed_scale` was not used.
- Split CameraEffects to their own source file.
- Reorder all Environment method and properties declarations,
  definitions and bindings to be consistent with each other
  and with the order of property bindings.
- Bind missing enum values added with SDFGI.
- Remove unused SDFGI enhance_ssr boolean.
- Sync doc changes after SDFGI merge and other misc changes.
2020-07-01 14:44:45 +02:00
PouleyKetchoupp 5f1d94bb7d Added flip_h and flip_v properties in TextureButton 2020-07-01 11:31:27 +02:00
Rémi Verschelde 27605769c4
Merge pull request #35633 from Xrayez/physics-shape-property
Expose shape property for shape query parameters classes
2020-06-30 13:57:23 +02:00
simpu bfadb882b1 Added Custom Performance Monitor and feature to read intermediate values of Monitor
Custom monitors can be added/removed/checked using `Performance.add_custom_monitor`/`Performance.remove_custom_monitor`/`Performance.has_custom_monitor`

The value can be viewed in the `Monitor` tab of Debugger.

Text before `/` is used to categorize the custom monitor.

`EditorPerformanceProfiler` class is created to separate logic from `ScriptEditorDebugger`

User can click on the graph of monitors to read the value at that point.

Graph includes intermediate base lines.
2020-06-29 17:20:29 +05:30
Hugo Locurcio e6352d1daa
Keep the bottom panel visible when enabling the distraction-free mode
- Document the `EditorInterface.distraction_free_mode` property.

This closes https://github.com/godotengine/godot-proposals/issues/951.
2020-06-26 22:09:08 +02:00
Andrii Doroshenko (Xrayez) da3fbc0296 Expose shape property for shape query parameters classes
Co-authored-by: PouleyKetchoupp <pouleyketchoup@gmail.com>
2020-06-26 16:54:05 +03:00
Rémi Verschelde 2446dbfba1 doc: Sync classref with current source 2020-06-25 11:00:38 +02:00
Andreas Gustafsson 5181daaf9e Tween.xml word order fix
Change the word order of '...the where...' into '...where the...'.
2020-06-23 18:42:11 +02:00
Meriipu 2643b8fa5e Clarify what a string being empty means
Should close https://github.com/godotengine/godot-docs/issues/2432
2020-06-23 11:13:12 +02:00
Rémi Verschelde 42c4a701dd
Merge pull request #39755 from Faless/crypto/encryption_pr_4.0
Crypto enhancements, AESContext, RSA public key, signature, verification.
2020-06-22 23:31:58 +02:00
skyace65 a94ba7be59 Fix Joint2D doc 2020-06-21 22:55:16 -04:00
Hugo Locurcio 227f12478d
Document how Vector2, Vector3 and Color behave in a boolean context
See #39731.
2020-06-21 17:16:10 +02:00
Rémi Verschelde 4af74c0d7c
Merge pull request #39712 from akien-mga/古池や蛙飛び込む水の音
Move Haiku platform port to external repository
2020-06-21 12:20:31 +02:00
Aaron Franke 08577fab14
Update bool documentation to be more clear 2020-06-21 03:08:28 -04:00
Rémi Verschelde efcc508ee5 Move Haiku platform port to external repository
The Haiku port now resides at:
https://github.com/godotengine/godot-haiku-platform

While we're happy to support as many Free and Open Source platforms as we can,
we need to put the main focus on the platforms that we can reasonably maintain,
and for Haiku we have been lacking maintainers ever since the port was first
merged in 2015.

The Haiku code has not been compiling and much less working at least since the
release of Godot 3.0, and while some attempts have been made at fixing things,
it's still not functional today in the `3.2` branch (and much less in `master`,
understandably).

Having it in an external repository should hopefully enable Haiku contributors
to fix issues in their own time, and possibly tag versions compatible with
past Godot releases once they are ready.
2020-06-20 17:59:41 +02:00
Hugo Locurcio 31b7f02a29
Remove ToolButton in favor of Button
ToolButton has no redeeming differences with Button;
it's just a Button with the Flat property enabled by default.
Removing it avoids some confusion when creating GUIs.

Existing ToolButtons will be converted to Buttons, but the Flat
property won't be enabled automatically.

This closes https://github.com/godotengine/godot-proposals/issues/1081.
2020-06-19 20:49:49 +02:00
Yuri Roubinsky cb9cbf840d Added Texture2DArray support to visual shaders 2020-06-19 18:02:05 +03:00
Rémi Verschelde 3eab3c10b5
Merge pull request #39641 from akien-mga/mono-always-define-options
Mono: Always define options in main.cpp to keep them in docs
2020-06-19 12:53:33 +02:00
Rémi Verschelde a8132b2fab
Merge pull request #33235 from nekomatata/rich-text-label-fit-height
Option in RichTextLabel for height to fit content
2020-06-19 12:52:25 +02:00
Fabio Alessandrelli f055b86e65 Document AES and new Crypto/CryptoKey functions. 2020-06-18 17:06:16 +02:00
Rémi Verschelde 2b6bbf8dce Mono: Always define options in main.cpp to keep them in docs
Otherwise generating docs with non-Mono builds removes them,
which is not so convenient for the documentation work.
2020-06-18 12:06:24 +02:00
Rémi Verschelde dfa5f88c11 doc: Fix rebase error from #39589 2020-06-18 11:34:10 +02:00
Hugo Locurcio 24a8d43272 Document Mono-specific classes
This fully documents all Mono-specific classes.
2020-06-18 10:32:34 +02:00
Rémi Verschelde ba0db95909 DocData: Skip language-specific ClassDoc without methods/constants
Removes the useless `@C#`, `@NativeScript` and `@VisualScript` entries.
2020-06-17 15:09:07 +02:00
Rémi Verschelde 93d79023ad
Merge pull request #39541 from Ev1lbl0w/feature/disable-rendering
Expose disable_render_loop property to GDScript
2020-06-16 20:48:41 +02:00
Ev1lbl0w 03879a564a
Expose disable_render_loop property to GDScript 2020-06-16 15:43:44 +01:00
Rémi Verschelde 78d09a4163
Merge pull request #37903 from Xrayez/shape-2d-draw-bind
Bind Shape2D draw method
2020-06-16 15:15:51 +02:00
Rémi Verschelde 8db8577f10
Merge pull request #39126 from TwistedTwigleg/GSOC_2020_Working_Branch
Skeleton and Skeleton inspector low-level changes
2020-06-16 09:30:22 +02:00
Rémi Verschelde 4b5b60de85
Merge pull request #39189 from touilleMan/issue-38925
Unify OS.get_system_time_* and OS.get_unix_time
2020-06-15 23:57:16 +02:00
TwistedTwigleg 24905becb2 Made low level changes to the Skeleton3D class and Skeleton3D inspector. Changes listed below:
* Added helper functions to Skeleton3D for converting transforms from bone space to global space, and vice versa.
* Updated the Skeleton3D class reference.
* Changed the icon used for bones in the Skeleton3D inspector to use BoneAttachement3D's icon.
* Changed the Skeleton3D inspector to use EditorPropertyTransform and EditorPropertyVector3 when possible.
* Placed the Transform/Matrix for each bone in a sub-section, so it is visually similar to the Node3D inspector.
2020-06-15 17:18:06 -04:00
Rémi Verschelde 09566a96b1
Merge pull request #39546 from vorblen/master
Add description for "absorbent" and "rough"
2020-06-15 20:45:53 +02:00
Rémi Verschelde f61e4216b7
Merge pull request #39439 from Lefl1/rename_get_action_list
Renamed InputMap.get_action_list to InputMap.action_get_events
2020-06-15 19:59:07 +02:00
Lennard f515071edc Renamed InputMap.get_action_list to InputMap.get_action_events 2020-06-15 14:01:53 +02:00
Vorblen 8acdbaa4f2 Add description for "absorbent" and "rough" 2020-06-15 12:36:43 +01:00
Rémi Verschelde 1642effe5b
Merge pull request #39322 from dominiks/filedialog-title-doc
Add note about automatic window title to FileDialog documentation.
2020-06-15 13:22:25 +02:00
Rémi Verschelde d3c10e8dd6
Merge pull request #39457 from bruvzg/kbd_layouts
Add keyboard layout enumeration / set / get functions.
2020-06-15 11:10:34 +02:00
Rémi Verschelde 2a96823cc7
Merge pull request #39490 from Calinou/doc-node-virtual-method-tree
Clarify Node virtual methdods not being called if node is orphan
2020-06-15 11:07:10 +02:00
Rémi Verschelde 808e0d3693
Merge pull request #39521 from 31/fix-image-createfromdata
Fix Image.create_from_data "use_mipmaps" class doc
2020-06-15 11:00:36 +02:00
Rémi Verschelde 0d1706c057
Merge pull request #39462 from Calinou/doc-in-operator
Document the `in` operator in String, Array and Dictionary classes
2020-06-15 09:30:23 +02:00
Rémi Verschelde 9d2ee682ef
Merge pull request #39520 from skyace65/label
Fix label percent visible doc description
2020-06-15 09:22:49 +02:00
skyace65 a09aeefa1d Fix label percent visible doc description 2020-06-14 16:34:43 -04:00
Hugo Locurcio f818a99d0b
Document how to resize a SubViewportContainer to avoid stretching
This closes #27534.
2020-06-14 15:26:51 +02:00
Rémi Verschelde 79947dfef1
Merge pull request #39529 from ricardoprins/pr/39419
Add description to TileSet.is_tile_bound() method
2020-06-14 10:36:37 +02:00
Ricardo Prins 00398abf77 Add description to TileSet.is_tile_bound() method 2020-06-13 21:47:25 -06:00
31 608bc8f3dc Fix Material.render_priority doc: no opaque sort
Opaque objects are rendered using the depth buffer, so the end result
appears sorted, but the opaque objects themselves are not sorted.
2020-06-13 17:35:09 -05:00
31 09b324b5b6 Fix Image.create_from_data use_mipmaps doc
The Image.create_from_data doc describes the "use_mipmaps" argument as a
way to generate mipmaps, but this method only allocates and loads data.
This can cause confusion, where this function reads more or less data
than expected. Update the doc to be more specific that create_from_data
is loading the mipmaps from the raw data.
2020-06-13 17:18:02 -05:00
bruvzg 92352b1c23
Add keyboard layout enumeration / set / get functions (macOS, Windows, Linux/X11), remove latin variant function. 2020-06-13 11:02:00 +03:00
Hugo Locurcio b2ba78ff0f
Clarify Node virtual methdods not being called if node is orphan
This closes #39489.
2020-06-12 23:43:34 +02:00
Hugo Locurcio 7f01f68226
Document the `in` operator in String, Array and Dictionary classes
This also clarifies the `in` operator behavior in Object.
2020-06-12 19:22:35 +02:00
Rémi Verschelde fef49bff0b doc: Sync classref with current source 2020-06-11 09:52:25 +02:00
Rémi Verschelde 2dae762e53
Merge pull request #39355 from SaviHex/better-docs-links
Added a "title" attribute for the link tag in the docs xml
2020-06-11 09:32:40 +02:00
Victoria Fisher 718221a2ff
Adds full description for AudioEffectRecord.xml 2020-06-11 02:32:51 -04:00
SaviHex 18c08f65d6 Added a "title" attribute for the link tag in the docs xml 2020-06-10 23:25:29 -03:00
Rémi Verschelde cb3ca99b13
Merge pull request #39430 from Calinou/doc-3d-light-radius
Improve the 3D light documentations
2020-06-10 16:41:18 +02:00
Hugo Locurcio f7e21d8e88 Improve the 3D light documentations
See https://github.com/godotengine/godot-docs/issues/3670.
2020-06-10 11:19:11 +02:00
Rémi Verschelde 47f1faf512
Merge pull request #39409 from akien-mga/astar-get_closest_point-deterministic
AStar: Make get_closest_point() deterministic for equidistant points
2020-06-10 10:46:35 +02:00
Rémi Verschelde a7d0ed9725
Merge pull request #39413 from akien-mga/doc-file-store-signed-ints
doc: Make File store/get integer methods clearer
2020-06-10 10:45:04 +02:00
Rémi Verschelde 60db9f906c
Merge pull request #39429 from Calinou/doc-dictionary-hash-order
Mention ordering caveats for `Dictionary.hash()`
2020-06-10 10:36:43 +02:00
Hugo Locurcio 77b89263dd Mention ordering caveats for `Dictionary.hash()`
See https://github.com/godotengine/godot/issues/27615.
2020-06-10 09:33:43 +02:00
Rémi Verschelde cd25d184a5 doc: Make File store/get integer methods clearer
Add an example on how to store signed integers on less than 64 bits,
using one bit for the signedness.
2020-06-09 23:26:10 +02:00
Rémi Verschelde 3494270594
Merge pull request #39391 from YeldhamDev/filediag_file_icon
Add generic file icon and its modulation to the 'FileDialog'
2020-06-09 14:11:01 +02:00
Marcel Admiraal 1b738a77c1 Update Rigidbody 2D and 3D sleep documentation. 2020-06-09 12:10:11 +01:00
Rémi Verschelde 187ba4c5a8 AStar: Make get_closest_point() deterministic for equidistant points
Closes godotengine/godot-docs#3667.
Supersedes #39405.
2020-06-09 11:04:12 +02:00
Michael Alexsander 637927f803 Add generic file icon and its modulation to the 'FileDialog' 2020-06-08 10:31:45 -03:00
dominiks d2250a2320 Add note about automatic window title to FileDialog documentation. 2020-06-05 22:30:24 +02:00
Marcel Admiraal b5e31b70dc Correct misspellings of damped spring. 2020-06-04 18:07:24 +01:00
Rémi Verschelde 4ac78e6a5f doc: Sync classref with current source 2020-06-04 10:07:56 +02:00
Rémi Verschelde dc67d0737b
Merge pull request #39257 from Chaosus/fix_integer_vectors_doc
Fix docs generation for Vector2i/Vector3i/Rect2i
2020-06-03 15:12:39 +02:00
Yuri Roubinsky d7cf1b5c73 Fix docs generation for Vector2i/Vector3i/Rect2i 2020-06-03 15:22:26 +03:00
Rémi Verschelde 901832e21c
Merge pull request #39113 from nekomatata/bbcode-image-color
Add color option for img bbcode tag in RichTextLabel to tint images
2020-06-03 13:16:13 +02:00
Rémi Verschelde 7460bc36dd
Merge pull request #39130 from Calinou/dynamicfont-disable-outline-antialiasing
Disable antialiasing on the DynamicFont outline as well when requested
2020-06-03 12:59:15 +02:00
Aaron Franke ba27deef06
Refactor physics force and impulse code 2020-06-02 23:18:59 -04:00
Rémi Verschelde 030a26206f
Merge pull request #39210 from Calinou/directional-light-performance-hint
Add performance hints to the DirectionalLight shadow mode property hint
2020-06-02 11:39:06 +02:00
Maganty Rushyendra 0451248ff1 Clarify usage of AnimationPlayer with AnimationTree and fill in empty method descriptions
Add clarification to docs to explain that when an `AnimationPlayer`
object is paired with an `AnimationTree`, several properties and
methods exposed by the `AnimationPlayer` class may not work as expected.
The issues occur because an `AnimationTree` runs independently, and
uses its member `AnimationPlayer* player` primarily for its
`Map<StringName, AnimationData> animation_set`.

Added descriptions for `root_motion_track` and `get_root_motion_transform`.
2020-06-02 12:19:33 +08:00
Hugo Locurcio b46756c723
Add performance hints to the DirectionalLight shadow mode property hint
This also clarifies some parts in the DirectionalLight documentation.
2020-06-01 01:20:35 +02:00
Emmanuel Leblond c6de3872f9
Remove OS.get_system_time_secs/get_system_time_msecs and change OS.get_unix_time return type to double 2020-05-31 14:19:31 +02:00
PouleyKetchoupp 7b7d4ef079 Add color option for img bbcode tag in RichTextLabel to tint images 2020-05-30 19:13:16 +02:00
Rémi Verschelde d19257eb2b
Merge pull request #39010 from gvekan/fix-documentation
Fix ProjectSettings.save_custom documentation
2020-05-29 12:11:19 +02:00
Rémi Verschelde 1620669f4e
Merge pull request #39051 from Xrayez/geometry-split
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
2020-05-29 12:10:37 +02:00
Hugo Locurcio 2919fc7317
Disable antialiasing on the DynamicFont outline as well when requested
This partially addresses
https://github.com/godotengine/godot-proposals/issues/943.
2020-05-28 22:30:38 +02:00
Andrii Doroshenko (Xrayez) 69d5de632e Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
Extra `_2d` suffixes are removed from 2D methods accoringly.
2020-05-27 14:28:34 +03:00