Commit Graph

3125 Commits

Author SHA1 Message Date
Hugo Locurcio 40b5331d79
Clarify the required child node type in the GridContainer documentation
This closes #41822.
2020-09-07 01:41:08 +02:00
Yuri Roubinsky de097b9327 Removes redundant code & fix documentation for VisualShaderNodeCustom 2020-09-06 12:09:15 +03:00
bruvzg f043eabdd8
Adds PCK encryption support (using script encryption key for export).
Change default encryption mode from ECB to CFB.
2020-09-05 14:53:39 +03:00
Rémi Verschelde de284f931d
doc: Sync classref with current source 2020-09-04 10:43:11 +02:00
bruvzg 80b8eff6aa
[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms. 2020-09-03 19:56:24 +03:00
Rémi Verschelde 0864f12f0d
Merge pull request #41044 from hoontee/master-4
Implement CollisionShape3D.make_convex_from_siblings()
2020-09-03 16:29:08 +02:00
Rémi Verschelde fd51d022c1
Merge pull request #41714 from Yetizone/sub_viewport_clear_mode_doc
Mention SubViewport.render_target_clear_mode property is intended for 2D usage
2020-09-03 08:01:09 +02:00
Rémi Verschelde 4a5138bb99
Merge pull request #40400 from Arivval/load-resourcepack-with-offset
Added PCK file loading with offset feature
2020-09-03 07:33:19 +02:00
Yetizone 3866d237e5 Mention SubViewport.render_target_clear_mode property is intended for 2D usage. 2020-09-03 08:10:16 +03:00
Yilin Ma c524d50444 added load resource pack with offset feature
updated variables to use size_t

removed line break to make code style more consistent

added conditional check to return an error if offset field is used when loading a ZIP package

fixed typo

formatted file

added commit regarding self contained exe files

handled error loging for load zip file with offset

spelling tweak

updated conditional statement for magic check

udpated error message when load Zip file with offset is called

fix CI

Trying to fix CI

fix CI done

Added error message for loading self-contained exe with offset.

Updated documentation.

Fix indent

final fix indent

Updated documentation.

fix indents

Updated doc based on suggestion

Final fix

fixed format
2020-09-02 17:57:01 -05:00
Adam Brown 6584db1538 HTTPRequest now accepts gzip
Added request_raw to HttpRequest
Added decompress_dynamic to Compression class
Added decompress_dynamic to BytePoolArray

Merge doc fix

revert
2020-09-02 12:59:59 -07:00
Eric M 926c282fd5 Updated PopupMenu documentation after merge of #41640 - PopupMenu rework 2020-09-02 10:19:57 +10:00
Rémi Verschelde d70a17d5d3
Merge pull request #40408 from Calinou/doc-font-missing-character
Document missing character behavior when drawing text with fonts
2020-09-01 23:48:45 +02:00
Rémi Verschelde 23ce1dbfd5
Merge pull request #41668 from clayjohn/GLOW-HQ
Add high quality glow mode
2020-09-01 21:04:07 +02:00
Rémi Verschelde c55df5c016
Merge pull request #41659 from umarcor/doc/FileDialog/warning-sandbox
doc/FileDialog: warn about access limitations in sandboxed apps
2020-09-01 20:55:19 +02:00
Rémi Verschelde f8720c85ca
Merge pull request #41679 from Calinou/doc-projectsettings-name-user-data
Document how renaming the project affects the user data path
2020-09-01 20:25:45 +02:00
Rémi Verschelde e143488d06
Merge pull request #41641 from skyace65/TextEdit
Document scroll horizontal and scroll vertical in text edit
2020-09-01 19:50:44 +02:00
Rémi Verschelde 52013cdee3
Merge pull request #41677 from Calinou/doc-rigidbody-sleeping
Document RigidBodies in character mode never sleeping automatically
2020-09-01 19:48:42 +02:00
Rémi Verschelde cb5db91cf0
Merge pull request #40269 from Calinou/doc-animatedsprite2d-normal-specular
Document support for normal and specular maps in AnimatedSprite2D
2020-09-01 19:47:56 +02:00
Hugo Locurcio 386f86cddf
Document how renaming the project affects the user data path 2020-09-01 19:19:25 +02:00
Hugo Locurcio 5fbf709ca2
Document RigidBodies in character mode never sleeping automatically
See #7996.
2020-09-01 18:54:13 +02:00
umarcor 1ddb0e56ac doc/FileDialog: warn about access limitations in sandboxed apps
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-09-01 16:22:15 +02:00
skyace65 eb8fe8b084 Document scroll horizontal and scroll vertical in text edit 2020-09-01 10:13:54 -04:00
Hugo Locurcio 7735d8d0ce
Document missing character behavior when drawing text with fonts
See #40405.
2020-09-01 14:36:16 +02:00
Rémi Verschelde 877246a78e
Merge pull request #41505 from SekoiaTree/neg-get-child
Made get_child support negative indexes
2020-09-01 12:35:55 +02:00
SekoiaTree bdf614d3d7 Made get_child support negative indexes, with documentation 2020-09-01 11:34:36 +02:00
clayjohn 8da3c739bf Add high quality glow mode 2020-08-31 23:16:41 -07:00
Aaron Franke ecd6a893b4
Change Color HTML conversion from ARGB to RGBA
Also add support for 3 and 4 digit values in C#. Now it actually matches the HTML/CSS spec.
2020-09-01 02:07:35 -04:00
Rémi Verschelde 2cfc5b8680
Merge pull request #40993 from Calinou/doc-collision-layer-mask
Reference the online documentation in collision layer/mask properties
2020-08-31 15:32:44 +02:00
Rémi Verschelde 0b4a325ddc
Merge pull request #41048 from Calinou/doc-add-link-titles
Add link titles for all links in the class reference
2020-08-31 15:32:19 +02:00
Jonathan Vice 28326aec60 Reorder sprite h_frames & v_frames 2020-08-31 14:55:49 +02:00
Hugo Locurcio c4903a603b
Add link titles for all links in the class reference
This makes them display in a nicer way in the editor help.
(The title will display instead of the full URL.)
2020-08-31 14:22:07 +02:00
Rémi Verschelde bb724ffd02
Merge pull request #41602 from Andy0903/option-button-signal-word-order-fix
OptionButton.xml word order fix
2020-08-31 13:27:09 +02:00
Rémi Verschelde fbb2e60783
Merge pull request #41457 from KoBeWi/ca
Explain editor usage of current_animation
2020-08-31 13:24:37 +02:00
Rémi Verschelde df333bcc66
Merge pull request #41012 from mrushyendra/cursor_open
Updated cursor positioning description for File open()
2020-08-31 13:22:35 +02:00
Rémi Verschelde 6ebe68554c
Merge pull request #40998 from Calinou/doc-httprequest-get-request-data
Document HTTPRequest not supporting request data with GET method
2020-08-31 13:21:38 +02:00
Rémi Verschelde 9ae5f998e7
Merge pull request #41018 from Calinou/doc-theme-constants
Improve the documentation related to overriding GUI theme items
2020-08-31 13:13:32 +02:00
Rémi Verschelde 1137d2b5dc
Merge pull request #41645 from akien-mga/classref
doc: Sync classref with current source
2020-08-31 12:52:53 +02:00
Rémi Verschelde ccf3c2d0e1
Merge pull request #41077 from Calinou/doc-find-node-find-parent
Mention performance caveats about `find_node()` and `find_parent()`
2020-08-31 12:52:36 +02:00
Rémi Verschelde ee03e39da7
doc: Sync classref with current source 2020-08-31 11:25:11 +02:00
Rémi Verschelde a0b95e5d9c
Merge pull request #41638 from skyace65/Texture
Clarify get_data texture method
2020-08-31 11:17:47 +02:00
Rémi Verschelde a276e6fc36
Merge pull request #40955 from Calinou/test-add-expression
Add a test suite for Expression
2020-08-31 11:12:34 +02:00
skyace65 635c9761a0 Clarify get_data texture method 2020-08-30 21:47:28 -04:00
Hugo Locurcio ab2f41f598
Mention performance caveats about `find_node()` and `find_parent()`
See https://github.com/godotengine/godot-proposals/issues/1303.
2020-08-29 21:36:57 +02:00
Tomasz Chabora 70ce86ad29 Explain editor usage of current_animation 2020-08-29 19:27:03 +02:00
Andreas Gustafsson 8f082d63c6 OptionButton.xml word order fix
Change word order of 'Emitted the when...' into 'Emitted when the...'
2020-08-29 17:21:00 +02:00
Rémi Verschelde 6ae83b64ef
Merge pull request #41521 from Calinou/doc-accelerometer-platforms
Document supported platforms for `Input.get_accelerometer()` and related
2020-08-29 13:04:20 +02:00
Rémi Verschelde 7d6c5c90b5
Merge pull request #41350 from skyace65/tilemap
Add defaults to tilemap set_cell function example
2020-08-29 12:53:22 +02:00
Hugo Locurcio dec20883c1
Document the GDScript debugger not supporting Thread yet
See https://github.com/godotengine/godot/issues/2446.
2020-08-29 02:24:07 +02:00
Hugo Locurcio eee704e6f6
Document supported platforms for `Input.get_accelerometer()` and related
This closes #41303.
2020-08-29 02:16:43 +02:00
Rémi Verschelde 5abb53be68
Merge pull request #41441 from YeldhamDev/input_docs_mouse_capture
State how 'MOUSE_MODE_CAPTURED' actually works in the 'Input' docs
2020-08-28 23:30:08 +02:00
Rémi Verschelde 61e6cec02e
Merge pull request #41507 from skyace65/AudioListener
Mention listener node in AudioStreamPlayer3D description
2020-08-28 23:28:44 +02:00
Michael Alexsander 4f13a7f47f State how 'MOUSE_MODE_CAPTURED' actually works in the 'Input' docs 2020-08-28 17:19:19 -03:00
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
Rémi Verschelde e2f4510a27 i18n: Sync classref translations with Weblate (again)
Missed some uncommitted changes from Weblate in the previous sync.
2020-08-11 16:42:27 +02:00
Rémi Verschelde 33a3e78926 i18n: Sync classref translation template with current docs 2020-08-11 16:37:29 +02:00
Rémi Verschelde 0ccd5ad3c5 i18n: Sync classref translations with Weblate 2020-08-11 16:23:22 +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