Commit graph

3597 commits

Author SHA1 Message Date
Rémi Verschelde
83b1acdc60
Merge pull request #45545 from abaire/relaxes_gltf_name_sanitization
Relaxes node name sanitization in gltf documents.
2021-03-09 14:54:33 +01:00
Rémi Verschelde
18bb36707f
Merge pull request #46110 from gongpha/colorbar-in-colorpicker
Add color interpolation bar on each channel in ColorPicker
2021-03-09 14:43:26 +01:00
Rémi Verschelde
ab585be885
Merge pull request #46801 from Faless/js/4.x_allow_hidpi
[HTML5] Respect allow_hidpi option during setup
2021-03-09 10:56:05 +01:00
Rémi Verschelde
cecc930e78
Merge pull request #46784 from Bhu1-V/doc-update
Documentation : Added Additional Description to PhysicsServer2D->area_create()
2021-03-09 09:58:26 +01:00
Kongfa Waroros
d295d53b4a Add interpolation bar on each channel in ColorPicker 2021-03-09 14:58:19 +07:00
Bhuvan Vemula
e3fed7bde8 Added Additional Description for PhysicsServer2D->area_create() method. 2021-03-09 09:03:10 +05:30
Fabio Alessandrelli
f34c7982c5 [HTML5] Respect allow_hidpi option during setup
The option was forced to `true` before, unlike on other platforms.
2021-03-08 23:37:53 +01:00
Rémi Verschelde
85cb3c044d
Merge pull request #44324 from Calinou/doc-basematerial3d-height-no-triplanar
Document that BaseMaterial3D doesn't support height mapping + triplanar
2021-03-08 19:41:11 +01:00
Rémi Verschelde
afd0df7921
Merge pull request #46386 from KoBeWi/projekt_settingz
Clarify ProjectSettings.save for exported projects
2021-03-07 10:17:59 +01:00
kobewi
156c402f2b Allow to save override.cfg with ProjectSettings 2021-03-07 01:21:44 +01:00
Rémi Verschelde
aaeb07d50f
Merge pull request #43929 from HaSa1002/docs-lang-6
Docs: Port Code Examples to C# (R, S, T, U)
2021-03-05 22:36:05 +01:00
HaSa1002
bae843a1c9
Docs: Port Code Examples to C# (R, S, T, U)
* RenderingServer
 * RichTextEffect
 * SceneTree
 * SceneTreeTimer
 * ScriptCreateDialog
 * SpinBox
 * Sprite2D
 * StreamPeer
 * String
 * SurfaceTool
 * TextEdit
 * TileMap
 * Tree
 * Tween
 * UDPServer
 * UndoRedo

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2021-03-05 18:57:28 +01:00
Rémi Verschelde
4de0768cdb
Merge pull request #46663 from Calinou/doc-margincontainer-theme-constant
Use safer `add_theme_constant_override()` in MarginContainer code sample
2021-03-05 15:11:56 +01:00
Hugo Locurcio
af513344ce
Use safer add_theme_constant_override() in MarginContainer code sample
Control has magic setters to set custom theme items, but using the
dedicated Control methods is less prone to typos so it should be favored.
2021-03-04 17:17:40 +01:00
jmb462
068300c7c9 Adding Raycast3D custom debug shape thickness and color 2021-03-04 11:17:26 +01:00
Hugo Locurcio
a5b5ac47b8
Remove trivial examples in the ItemList class documentation
See https://github.com/godotengine/godot-docs/issues/4712.
2021-03-03 22:58:45 +01:00
Rémi Verschelde
5895cd4c4f
Merge pull request #36202 from YeldhamDev/sprite_region_hide
Hide extra options from various nodes if they're not enabled
2021-03-02 14:15:25 +01:00
Michael Alexsander
70304f8633 Hide extra options from various nodes if they're not enabled 2021-03-02 09:25:09 -03:00
kleonc
39a4ec50ea Fix examples in Callable docs 2021-03-02 02:34:53 +01:00
Rémi Verschelde
bd42a6c51e
Merge pull request #42007 from HaSa1002/callable-docs
Document missing Callable methods
2021-03-01 13:20:07 +01:00
HaSa1002
54ff2da476
Document missing Callable methods
* Callable.hash()
 * Callable.is_custom()
 * Callable.is_null()
 * Callable.is_standard()
 * Callable.bind()
 * Callable.unbind()
 * Callable::operator==
 * Callable::operator!=

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-03-01 12:49:21 +01:00
Rémi Verschelde
5b58482b41
Merge pull request #46508 from rcorre/pathbake
Clarify Curve.get_closest_point uses baked points.
2021-03-01 09:37:16 +01:00
Rémi Verschelde
a637cd8016
Merge pull request #46534 from asmaloney/doc-styleboxflat-grammar
Fix some grammar in StyleBoxFlat class docs
2021-03-01 09:35:22 +01:00
Andy Maloney
89e7e61773 Fix some grammar in StyleBoxFlat class docs 2021-02-28 20:09:10 -05:00
Mateo Kuruk Miccino
89283b7b53 Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts.
ProjectSetting: Now 'application/run/flush_stdout_on_print' requires a restart of the Editor to take effect
2021-02-28 19:36:10 -03:00
Ryan Roden-Corrent
ef5042a70f
Clarify Curve.get_closest_point uses baked points.
Based on the doc, I wasn't sure if get_closest_point would return the
closest baked point or the closest "source" point. It seems to use
baked:
8faecd6a47/scene/resources/curve.cpp (L809)
2021-02-28 07:18:34 -05:00
Rémi Verschelde
75d03f1fbd
Merge pull request #46446 from Faless/js/4.x_jsdoc
[HTML5] Document Engine and EngineConfig (jsdoc).
2021-02-26 15:31:44 +01:00
Fabio Alessandrelli
472482013e [HTML5] Add jsdoc2rst tool.
A template for `jsdoc` that generat the HTML5 public classref.

The script can be run via `npm run docs` to print to stdout.

You can dry run via `npm run docs -- --d dry-run` or write to file via
`npm run docs -- -d /path/to/file.rst`

Also update Makefile in `doc/` and add dry run test to CI.
2021-02-26 11:33:59 +01:00
Haoyu Qiu
31243e377f Fixes typo in Array::bsearch_custom doc 2021-02-26 18:01:08 +08:00
Emmanuel Leblond
60d2c1fd47
Remove GDScript bindings for OS.get/set_exit_code, SceneTree.quit(<exit_code>) should be used instead 2021-02-25 18:34:50 +01:00
Rémi Verschelde
f01e95eb55
Merge pull request #46416 from nekomatata/draw-collision-outline-option
Added option in project settings to draw Shape2D outlines
2021-02-25 17:15:22 +01:00
PouleyKetchoupp
c4b116cff7 Added option in project settings to draw Shape2D outlines
Disabling collision outlines can be useful for performance when the game
is running and many collision shapes are displayed.
2021-02-25 07:52:50 -07:00
Hugo Locurcio
355803db1b
Improve the OS.get_environment()/OS.set_environment() documentation 2021-02-25 15:38:51 +01:00
Bastiaan Olij
4c8f5b998f Expose set_environment to GDScript 2021-02-25 23:36:14 +11:00
Rémi Verschelde
305683f83b
Merge pull request #46360 from nmrkr/drag-preview-crash-after-free
Fix crash during drag if user queue_free'd the drag preview
2021-02-24 22:43:53 +01:00
Delf Neumärker
eaa04c1a22
Fix crash during drag if user freed the drag preview 2021-02-24 20:59:17 +01:00
abaire
61cc1c8624 Relaxes Node naming constraints in glTF documents to match the Editor. 2021-02-24 08:22:27 -08:00
Rémi Verschelde
a527c6856b
Merge pull request #46045 from bruvzg/text_server_bmp_create
[TextServer] Restores bitmap font dynamic construction functions.
2021-02-24 12:55:36 +01:00
Aaron Franke
548de64742
Use a more specific type for Area2D/3D body signals 2021-02-24 00:05:54 -05:00
Rémi Verschelde
cb29e6c49c
Merge pull request #45994 from Jummit/expose-edit-selected
Expose edit_selected in Tree
2021-02-22 16:29:03 +01:00
Jummit
13fb24cb6f expose edit_selected in Tree 2021-02-22 15:50:21 +01:00
Rémi Verschelde
8107cbd66e
Merge pull request #45934 from angad-k/fix-smoothstep-function-documentation
fix minor issue in smooth step function's documentation
2021-02-22 12:38:47 +01:00
Rémi Verschelde
40191a748b
Merge pull request #46253 from asmaloney/docs-theme
[docs] Clarification on theme's get_stylebox
2021-02-22 10:35:35 +01:00
Hugo Locurcio
159581739a
Document theming a SpinBox's background
This closes #46248.
2021-02-21 19:32:11 +01:00
Hugo Locurcio
f6087d3f2b
Document that Button doesn't interpret touch input (= no multitouch)
TouchScreenButton should be used for gameplay actions instead.
2021-02-21 00:30:21 +01:00
Andy Maloney
d397c32169 [docs] Clarification on theme's get_stylebox
Remove reference to "icon" (must have been a copy-paste error) & clarify where to find out what names & node_types are valid.
2021-02-20 10:10:28 -05:00
Aaron Franke
78de8a762b
Update documentation for the new ProcessMode 2021-02-19 10:22:09 -05:00
Rémi Verschelde
efddb8a0cb
Merge pull request #46194 from Calinou/os-delay-no-negative
Don't allow negative values for `OS.delay_usec()`/`OS.delay_msec()`
2021-02-19 15:14:36 +01:00
Rémi Verschelde
bc395c2549
Merge pull request #46221 from akien-mga/doc-sync-classref
doc: Sync classref with current source
2021-02-19 15:06:50 +01:00
Rémi Verschelde
0d1d719178 doc: Sync classref with current source
And fix various bogus bindings following previous PRs.
2021-02-19 14:39:14 +01:00