clayjohn
61a74739ca
Working sky shader implementation
2020-03-21 20:43:44 -07:00
Rémi Verschelde
36baa0247e
i18n: Generate translation template for class reference
2020-03-20 12:58:38 +01:00
Rémi Verschelde
87d23bf85a
i18n: Add Makefile to extract classref strings
...
Change extract script `path` argument to support specifying multiple
paths, like `makerst.py`. This prevents parsing invalid XML files while
scanning the whole repository.
2020-03-20 12:56:36 +01:00
Rémi Verschelde
aca1971a12
i18n: Add header strings to translation catalog
2020-03-20 12:35:22 +01:00
Rémi Verschelde
63f77efdc6
Merge pull request #37114 from ThakeeNathees/translation-catalog-maker
...
Add script to generate translation catalog for the class reference
2020-03-20 09:03:31 +01:00
Rémi Verschelde
3b1c04550f
Merge pull request #37133 from theoway/DocEdit
...
Doc edit at InputEventMouseMotion
2020-03-19 10:05:04 +01:00
Rémi Verschelde
256ac9a51d
Merge pull request #37039 from Chaosus/astar2d_cost
...
Implements estimate/compute_cost for AStar2D
2020-03-19 08:19:59 +01:00
Thakee Nathees
e817792c0a
Add script to generate translation catalog for the class reference
...
Fixes #37109 .
2020-03-19 03:32:47 +05:30
Rémi Verschelde
87118ac39e
Merge pull request #37113 from KoBeWi/to_enable_or_not_to_enable
...
Fix visibility enabler flag toggling
2020-03-18 20:27:30 +01:00
Umang Kalra
052424c76d
Doc edit at InputEventMouseMotion
...
Doc edit
2020-03-19 00:04:13 +05:30
Rémi Verschelde
a2d3ba3372
doc: Sync classref with current source
...
Fix wrong binding after #37111 .
2020-03-18 09:14:57 +01:00
Tomasz Chabora
2ccd1a7805
Fix visibility enabler flag toggling
2020-03-17 17:46:18 +01:00
Rémi Verschelde
0159787864
Merge pull request #37111 from RandomShaper/imvu/unexpose_include_drive
...
Remove meaningless parameter from bindings
2020-03-17 14:52:43 +01:00
Pedro J. Estébanez
a69e88e467
Remove meaningless parameter from bindings
2020-03-17 14:32:03 +01:00
Rémi Verschelde
cb282c6ef0
Style: Set clang-format Standard to Cpp11
...
For us, it practically only changes the fact that `A<A<int>>` is now
used instead of the C++03 compatible `A<A<int> >`.
Note: clang-format 10+ changed the `Standard` arguments to fully
specified `c++11`, `c++14`, etc. versions, but we can't use `c++17`
now if we want to preserve compatibility with clang-format 8 and 9.
`Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-17 07:36:24 +01:00
Rémi Verschelde
f9decec1bc
Merge pull request #36491 from AndreaCatania/edit_node_anim_state_mac
...
Added new method to edit an already added node to anim state machine
2020-03-16 19:29:38 +01:00
Andrea Catania
422926cfc6
Added new method to replace an already added node to the animation state machine
2020-03-16 17:42:29 +01:00
Yuri Roubinsky
bad77bcb52
Implements estimate/compute_cost for AStar2D
2020-03-14 18:01:06 +03:00
Michael Alexsander
8f925b1970
Fix incorrect TabContainer documentation for 'get_tab_control()'
2020-03-14 10:53:21 -03:00
Rémi Verschelde
f65781fe7f
doc: Sync classref with current source
2020-03-13 17:16:44 +01:00
Tomasz Chabora
e103f21a40
Add LOTS of missing docs
2020-03-13 16:35:03 +01:00
Hugo Locurcio
30961c60ab
Improve the Input.set_use_accumulated_input()
documentation
2020-03-12 14:10:10 +01:00
luz.paz
7bf6e5f773
Fix various typos
...
Found via `codespell`
2020-03-11 13:59:18 -04:00
Rémi Verschelde
478337c412
Merge pull request #36751 from Faless/debugger/threads_and_profilers
...
ScriptDebugger refactor, threading, profilers.
2020-03-09 19:08:07 +01:00
Rémi Verschelde
159ed359f0
Merge pull request #36286 from Calinou/doc-sprite3d-performance-caveats
...
Document known performance issues with Sprite3D
2020-03-09 11:42:27 +01:00
Rémi Verschelde
788765709d
DocData: Fix serialization of Variant default values
...
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2020-03-09 10:52:44 +01:00
Rémi Verschelde
471271b727
doc: Sync classref with current source
2020-03-09 10:13:45 +01:00
Hugo Locurcio
92fa3e076f
Document known performance issues with Sprite3D
...
See https://github.com/godotengine/godot/issues/20855 .
2020-03-09 10:13:09 +01:00
Fabio Alessandrelli
b8ddaf9c33
Refactor ScriptDebugger.
...
EngineDebugger is the new interface to access the debugger.
It tries to be as agnostic as possible on the data that various
subsystems can expose.
It allows 2 types of interactions:
- Profilers:
A subsystem can register a profiler, assigning it a unique name.
That name can be used to activate the profiler or add data to it.
The registered profiler can be composed of up to 3 functions:
- Toggle: called when the profiler is activated/deactivated.
- Add: called whenever data is added to the debugger
(via `EngineDebugger::profiler_add_frame_data`)
- Tick: called every frame (during idle), receives frame times.
- Captures: (Only relevant in remote debugger for now)
A subsystem can register a capture, assigning it a unique name.
When receiving a message, the remote debugger will check if it starts
with `[prefix]:` and call the associated capture with name `prefix`.
Port MultiplayerAPI, Servers, Scripts, Visual, Performance to the new
profiler system.
Port SceneDebugger and RemoteDebugger to the new capture system.
The LocalDebugger also uses the new profiler system for scripts
profiling.
2020-03-08 12:36:39 +01:00
Bastiaan Olij
0ca1711681
ARVRController.is_button_pressed requires to return a boolean
2020-03-07 12:22:18 +11:00
Umang Kalra
b7dbf41aa5
Edited the KinematicBody and KinematicBody2D docs
...
Changes made as requested.
Explained the reason why move_and_slide should be sued in _physics_process
Final Changes
Edited the docs as per the changes requested.
Edits in docs
Made some changes
2020-03-06 23:14:14 +05:30
Yuri Roubinsky
d5bff588c7
Removed boolean return type from majority of method in Tween
2020-03-06 10:59:07 +03:00
fhuya
f097defba1
Re-architecture of the Godot Android plugin.
2020-03-05 10:00:19 -08:00
Rémi Verschelde
42595085a5
Merge pull request #36752 from RandomShaper/rework_semaphore
...
Drop old semaphore implementation
2020-03-05 16:33:45 +01:00
Rémi Verschelde
e8b68c48ea
Merge pull request #36810 from akien-mga/configfile-better-errors
...
ConfigFile: Improve error messages
2020-03-05 11:47:12 +01:00
Rémi Verschelde
f7c87ed3dd
ConfigFile: Improve error messages and complete docs
2020-03-05 11:01:25 +01:00
Aaron Franke
68d73ecf60
Document EditorPlugin get_plugin_icon and get_plugin_name
...
The return value's type hint is now accurate.
2020-03-04 15:49:20 -05:00
Michael Alexsander
8c8c48a7ad
Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()'
2020-03-04 09:32:34 -03:00
Rémi Verschelde
f83f1d7c9b
Merge pull request #36069 from RandomShaper/imvu/improve_drives_ux
...
Improve UX of drive letters
2020-03-04 13:19:55 +01:00
Rémi Verschelde
2eb8e3a40f
Merge pull request #36646 from pyacier/doc-concavepolygonshape
...
add a precision about the intended use of the ConcavePolygonShape
2020-03-04 12:55:20 +01:00
Rémi Verschelde
a74895dfdb
Merge pull request #36596 from BastiaanOlij/add_get_tracker_id
...
Exposing get_tracker_id for ARVRPositionalTracker to GDScript
2020-03-04 12:34:11 +01:00
Bastiaan Olij
f0b1edef8b
Exposing get_tracker_id for ARVRPositionalTracker to GDScript
2020-03-04 10:22:26 +01:00
Rémi Verschelde
7ece081662
Merge pull request #36750 from aaronfranke/excl-phys-body
...
Document that SpringArm exclusions only work with PhysicsBody objects
2020-03-04 10:14:06 +01:00
Rémi Verschelde
c0f9b52aef
Merge pull request #36509 from dalexeev/doc_node_fps
...
Minor fix in Node class documentation
2020-03-04 10:11:09 +01:00
Pedro J. Estébanez
9a3a2b03b8
Drop old semaphore implementation
...
- Removed platform-specific implementations.
- Now all semaphores are in-object, unless they need to be conditionally created.
- Similarly to `Mutex`, provided a dummy implementation for when `NO_THREADS` is defined.
- Similarly to `Mutex`, methods are made `const` for easy use in such contexts.
- Language bindings updated: `wait()` and `post()` are now `void`.
- Language bindings updated: `try_wait()` added.
Bonus:
- Rewritten the `#ifdef` in `mutex.h` to meet the code style.
2020-03-03 13:20:42 +01:00
Pedro J. Estébanez
aee586553a
Improve UX of drive letters
...
Namely, move the drive dropdown to just the left of the path text box and don't include the former
in the latter.
This improves the UX on Windows.
In the UNIX case, since its concept of drives is (ab)used to provide shortcuts to useful paths, its
dropdown is kept at the original location.
2020-03-03 10:38:34 +01:00
Aaron Franke
d961663707
Document that SpringArm exclusions only work with PhysicsBody objects
2020-03-03 03:18:52 -05:00
Pierre Caye
222a934e60
add a precision about the intended use of the ConcavePolygonShape
2020-03-02 13:15:38 +01:00
Rémi Verschelde
e2b66cacf7
Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodes
...
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-03-01 23:00:42 +01:00
Rémi Verschelde
5332853b62
doc: Fix wrong reference after last update
2020-02-29 22:35:23 +01:00
Rémi Verschelde
16486a9055
doc: Sync classref with current source
2020-02-29 14:22:57 +01:00
Rémi Verschelde
4f64f3401a
Merge pull request #36388 from AndreaCatania/some_renames
...
Rename Navigation{Mesh,Polygon}Instance and PlaneShape for clarity
2020-02-28 09:15:38 +01:00
Andrea Catania
483994601d
Renamed NavigationPolygonInstance to NavigationRegion2D
2020-02-28 08:28:53 +01:00
clayjohn
3e299aa225
Basic fast filtering implementation
2020-02-27 22:30:34 -08:00
Rémi Verschelde
e0cc5209ff
Merge pull request #36624 from Calinou/doc-improve-array
...
doc: Mention concatenation using the `+` operator in Array
2020-02-28 07:04:28 +01:00
Hugo Locurcio
8d53562954
doc: Mention concatenation using the +
operator in Array
...
This closes https://github.com/godotengine/godot-docs/issues/2452 .
2020-02-27 23:34:16 +01:00
Hugo Locurcio
b89a37269b
Improve documentation related to fixed physics processing
2020-02-27 22:23:46 +01:00
Rémi Verschelde
f9d93ee819
Merge pull request #36288 from Calinou/meshlibrary-allow-non-tools-use
...
Allow using `MeshLibrary.get_item_preview()` in non-editor builds again
2020-02-27 21:10:09 +01:00
Rémi Verschelde
2b3431e2b7
Merge pull request #36581 from Calinou/doc-improve-add-child-below-node
...
Improve the `Node.add_child_below_node()` documentation
2020-02-27 19:44:27 +01:00
Hugo Locurcio
393a3c3122
Improve the Node.add_child_below_node()
documentation
...
This closes https://github.com/godotengine/godot-docs/issues/2730 .
2020-02-27 18:41:18 +01:00
Andrea Catania
2e0fb66c6f
Renamed PlaneShape to WorldMarginShape
2020-02-27 17:45:16 +01:00
Andrea Catania
3b64ecbc4b
Renamed NavigationMeshInstance to NavigationRegion
2020-02-27 17:42:53 +01:00
Yuri Roubinsky
15e757ec60
Docs for some nodes in visual shader(part 3)
2020-02-27 09:12:08 +03:00
Rémi Verschelde
1e57b558f2
Merge pull request #36536 from Chaosus/vs_int
...
Add support for integer type in visual shaders
2020-02-26 10:11:24 +01:00
Rémi Verschelde
3a4c128f07
Merge pull request #36551 from AndreaCatania/navigation_destruction_flush
...
Flushes commands just before the navigation server is destroyed
2020-02-26 10:09:43 +01:00
Andrea Catania
c143b5c677
Flushes commands just before the navigation server is destroyed
2020-02-26 09:42:51 +01:00
Yuri Roubinsky
4a3d277623
Add support for integer type in visual shaders
2020-02-26 10:12:06 +03:00
Lunadin
4e226dc0d6
Docs: Improved wording and added links
...
- Added missing links to the Control node in BoxContainer
- Added Oxford commas in BoxContainer and CanvasItem
- Clarified ambiguous boolean wording in BoxContainer
- Improved paragraphing in ScrollContainer's description
- Simplified ControlPicker description
2020-02-26 14:47:06 +11:00
Rémi Verschelde
a7e1df4b1d
doc: Sync classref for Packed{Int,Float}{32,64}Array additions
2020-02-25 22:02:36 +01:00
Rémi Verschelde
6c8f2ae53a
Update docs and bindings for new integer vector types
2020-02-25 15:27:29 +01:00
bruvzg
1af06d3d46
Rename scancode
to keycode
.
...
Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap.
Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2020-02-25 12:30:33 +02:00
Danil Alexeev
6e5cd36b12
Minor fix in Node class documentation
...
The name of the property responsible for physics fps is fixed:
this is `Engine.iterations_per_second`, not `Engine.target_fps`.
2020-02-24 18:37:46 +03:00
Mateo Dev .59
9e8e5ebdc7
Core: Change _Marshall class inherit from Reference to Object
2020-02-24 10:45:19 -03:00
Rémi Verschelde
048f4f8305
doc: Sync classref with apparent Variant return type changes
...
Part of those seem bogus, methods like Array.back()/front()
should return a Variant and not void.
2020-02-22 15:16:32 +01:00
Rémi Verschelde
fea37cfb52
doc: Sync classref with StringName/Callable changes
2020-02-22 14:59:09 +01:00
Rémi Verschelde
bf7d6de556
Merge pull request #36441 from YeldhamDev/tabs_unused_constants
...
Remove unused theme constants in Tab(Container)
2020-02-22 08:17:33 +01:00
Michael Alexsander
e9244c4c23
Remove unused theme constants in Tab(Container)
2020-02-22 01:24:16 -03:00
Yuri Roubinsky
b78b37ed3f
Refactor node processing in visual shader member dialog
2020-02-21 18:34:31 +03:00
Rémi Verschelde
1a4be2cd8f
Merge pull request #36371 from Calinou/doc-improve-panoramasky
...
Improve the PanoramaSky class documentation
2020-02-20 07:56:38 +01:00
Andrii Doroshenko (Xrayez)
fa766265a7
Fix MIMPAMPS typos in constants throughout the engine
2020-02-20 01:31:43 +02:00
Hugo Locurcio
72ac757ad5
Improve the PanoramaSky class documentation
...
See https://github.com/godotengine/godot/issues/27835 .
2020-02-19 21:24:28 +01:00
Rémi Verschelde
28bb2806f1
doc: Sync classref with current source
2020-02-19 09:55:47 +01:00
Rémi Verschelde
49fec646cb
Fix compilation warnings and re-enable werror=yes on Travis
...
Fix -Wunused-variable, -Wunused-but-set-variable and -Wswitch warnings
raised by GCC 8 and 9.
Fix -Wunused-function, -Wunused-private-field and
-Wtautological-constant-out-of-range-compare raised by Clang.
Fix MSVC 2019 warning C4804 (unsafe use of type 'bool' in comparison
operation).
GCC -Wcpp warnings/Clang -W#warnings (`#warning`) are no longer raising
errors and will thus not abort compilation with `werror=yes`.
Treat glslang headers are system headers to avoid raising warnings.
Re-enables us to build with `werror=yes` on Linux and macOS, thus
catching warnings that would be introduced by new code.
Fixes #36132 .
2020-02-18 20:51:25 +01:00
Andrea Catania
79fc7d7d6a
Added utility functions to the new NavigationServer:
...
- Vector3 get_closest_point_to_segment(const Vector3 &p_from, const Vector3 &p_to, const bool &p_use_collision = false);
- Vector3 get_closest_point(const Vector3 &p_point);
- Vector3 get_closest_point_normal(const Vector3 &p_point);
- Object *get_closest_point_owner(const Vector3 &p_point);
2020-02-18 17:12:45 +01:00
Rémi Verschelde
27326f8238
Merge pull request #36296 from Faless/dtls/enet_vulkan
...
DTLS support + optional ENet encryption
2020-02-18 15:01:53 +01:00
Rémi Verschelde
213a85521d
doc: Sync classref with current source
...
Handle removal of Pool*Array types and other recent changes.
2020-02-18 14:02:02 +01:00
Rémi Verschelde
77b05256d6
Revert "Remove TextFile from public API"
2020-02-18 10:35:30 +01:00
Fabio Alessandrelli
9eea2cf9d6
Add documentation for new DTLS features.
2020-02-17 12:47:13 +01:00
Rémi Verschelde
cd0c1735fd
Merge pull request #36277 from madmiraal/fix-visual_server-bindings
...
Fix VisualServer bindings.
2020-02-17 09:51:41 +01:00
Marcel Admiraal
b6c9c6261d
Fix VisualServer bindings.
2020-02-17 07:07:28 +01:00
Yuri Roubinsky
ed05e27c81
Fix GDCLASS for Texture2D/TextureLayered
2020-02-17 08:21:10 +03:00
Hugo Locurcio
64fac9dd5d
Allow using MeshLibrary.get_item_preview()
in non-editor builds again
...
This closes #36268 .
2020-02-17 00:07:44 +01:00
Rémi Verschelde
4a5eab05f5
Merge pull request #36182 from KoBeWi/how_to_text_file
...
Remove TextFile from public API
2020-02-14 17:41:55 +01:00
Tomasz Chabora
591cd3fd84
Remove TextFile from public API
2020-02-14 15:46:16 +01:00
Rémi Verschelde
3dea5fd631
Remove incomplete battery status/power API
...
It was initially implemented in #5871 for Godot 3.0, but never really
completed or thoroughly tested for most platforms. It then stayed in
limbo and nobody seems really keen to finish it, so it's better to
remove it in 4.0, and re-add eventually (possibly with a different API)
if there's demand and an implementation confirmed working on all
platforms.
Closes #8770 .
2020-02-14 13:43:32 +01:00
Rémi Verschelde
54ac8eaba6
Remove more deprecated methods and code
2020-02-13 12:37:45 +01:00
Rémi Verschelde
2f6ca917f7
Merge pull request #36174 from akien-mga/byebye-openghell-3
...
Remove obsolete GLES3 backend
2020-02-13 11:24:15 +01:00
Rémi Verschelde
f505aae1d8
Merge pull request #36144 from akien-mga/remove-deprecated-allow-decoding
...
Remove deprecated PacketPeer allow_object_decoding
2020-02-13 10:48:38 +01:00
Rémi Verschelde
f3f05dc89e
Merge pull request #36143 from akien-mga/remove-deprecated-slave-sync
...
Remove deprecated sync and slave networking keywords
2020-02-13 10:48:26 +01:00
Rémi Verschelde
386968ea97
Remove obsolete GLES3 backend
...
Due to the port to Vulkan and complete redesign of the rendering backend,
the `drivers/gles3` code is no longer usable in this state and is not
planned to be ported to the new architecture.
The GLES2 backend is kept (while still disabled and non-working) as it
will eventually be ported to serve as the low-end renderer for Godot 4.0.
Some GLES3 features might be selectively ported to the updated GLES2
backend if there's a need for them, and extensions we can use for that.
So long, OpenGL driver bugs!
2020-02-13 10:36:44 +01:00
Rémi Verschelde
8d00a3a536
Remove deprecated PacketPeer allow_object_decoding
...
It was added for 3.2 in #27485 to preserve backwards compatibility,
but we can now remove it.
It is still needed in MultiplayerAPI as it's the only way to control
it for the internal put_var calls.
2020-02-13 09:02:41 +01:00
Rémi Verschelde
1f39a2d3e6
Remove deprecated sync and slave networking keywords
...
Those keywords were deprecated for 3.1 in #22087 .
Also fix token name for `TK_REMOTE`, should be "remote" like the keyword.
2020-02-13 08:59:36 +01:00
Yuri Roubinsky
bc647393ba
Added virtual method to VisualShaderNodeCustom to enable high-end mark
2020-02-13 09:43:43 +03:00
Rémi Verschelde
c48237967a
Merge pull request #36145 from akien-mga/remove-deprecated-friction-bounce
...
Remove deprecated PhysicsBody friction and bounce parameters
2020-02-12 21:49:38 +01:00
Rémi Verschelde
0bdd748d34
doc: Add BaseMaterial3D strings ported from SpatialMaterial
...
Follow-up to #36135 .
2020-02-12 15:23:26 +01:00
Rémi Verschelde
1206bdb71b
Remove deprecated PhysicsBody friction and bounce parameters
...
They were replaced in 3.1 by PhysicsMaterial properties via #12403 .
2020-02-12 13:39:55 +01:00
Rémi Verschelde
49eef1180b
Merge pull request #36135 from akien-mga/doc-update
...
doc: Sync classref with current source
2020-02-12 13:29:44 +01:00
Rémi Verschelde
0e3d625737
doc: Sync classref with current source
...
Lots of internal API changes and some docstrings were lost in the conversion.
I manually salvaged many of them but for all the rendering-related ones, an
additional pass is needed.
Added missing enum bindings in BaseMaterial3D and VisualServer.
2020-02-12 12:37:13 +01:00
Hanif Bin Ariffin
7bc1dc828f
Remove deprecated Color::gray
...
It was marked to be removed in Godot 3.1.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-02-12 11:22:33 +01:00
Juan Linietsky
9b0dd4f571
A lot of progress with canvas rendering, still far from working.
2020-02-11 11:53:27 +01:00
Rémi Verschelde
6fb6405408
Merge pull request #36072 from RandomShaper/imvu/configfile_parse
...
Add ConfigFile::parse()
2020-02-11 09:21:45 +01:00
Rémi Verschelde
2dd73b1ffa
Merge pull request #34776 from AndreaCatania/nav_pr
...
Integrated the new `NavigationServer` and `NavigationServer2D`
2020-02-10 16:25:21 +01:00
Duroxxigar
383c583a0b
Documented the new NavigationServer and all its associated nodes (2D and 3D)
2020-02-10 15:24:06 +01:00
muiroc
e51c6a0d28
Allow per pixel transparency in javascript platform
2020-02-10 14:27:30 +01:00
Pedro J. Estébanez
e5bd3b707f
Add ConfigFile::parse()
2020-02-10 11:12:33 +01:00
Rémi Verschelde
0f80df0dc4
Merge pull request #35858 from MostafaMTH/doc_editor_inspector
...
Brief and Description for Editor Inspector
2020-02-09 12:55:13 +01:00
Rémi Verschelde
51863f6e1e
Merge pull request #35808 from clayjohn/unexpose-compress-base
...
Unexpose ARRAY_COMPRESS_BASE
2020-02-09 12:54:24 +01:00
Rémi Verschelde
7f95e027b4
Merge pull request #35814 from timothyqiu/line-edit-shortcut
...
Adds CTRL-A CTRL-E support to LineEdit on macOS
2020-02-09 12:51:59 +01:00
Rémi Verschelde
de932a5285
doc: Sync classref with current source
2020-02-09 00:34:08 +01:00
Hugo Locurcio
95f6be365a
Update EditorSceneImporterAssimp description to reflect current status
2020-02-08 21:46:10 +01:00
Rémi Verschelde
6b42d83ff1
Merge pull request #35950 from Chaosus/vs_scalar_uniform_range
...
Implemented hint_range for VisualShaderNodeScalarUniform
2020-02-07 20:45:40 +01:00
Rémi Verschelde
3fba20141b
Merge pull request #35925 from seenloitering/doc-Skeleton2D
...
Add documentation for Skeleton2D
2020-02-07 17:44:14 +01:00
Yuri Roubinsky
22ad83edae
Implemented hint_range for VisualShaderNodeScalarUniform
2020-02-07 17:04:24 +03:00
Haoyu Qiu
7a41c44be2
Completes doc for ItemList and Tree
2020-02-07 12:52:53 +08:00
Yuri Roubinsky
d9b39abbeb
Fixed Grammer
2020-02-06 22:00:48 +02:00
Rémi Verschelde
c358399f81
Merge pull request #35911 from clayjohn/DOCS-misc3
...
Finish documenting BakedLightmap and TextureLayered
2020-02-05 21:05:34 +01:00
clayjohn
5643bc71f7
Finish documenting BakedLightmap and TextureLayered
2020-02-05 08:13:34 -08:00
Rémi Verschelde
0317d49951
Merge pull request #35807 from Calinou/improve-doc-status-output
...
Improve the `doc_status.py` console output
2020-02-05 16:59:16 +01:00
seenloitering
9151992432
Add documentation for Skeleton2D
...
Signal bone_setup_changed remains undocumented. I took a quick look at
the cpp code, but its purpose remained unclear to me. If anyone can
steer me in the right direction, I'm happy to flesh this out.
2020-02-05 07:19:27 -05:00
Haoyu Qiu
db42d5ddff
Completes doc for button classes
2020-02-05 08:44:16 +08:00
Rémi Verschelde
0edcb8ed58
Merge pull request #35809 from clayjohn/DOCS-update-version
...
Update docs to version 4.0
2020-02-01 19:42:31 +01:00
Haoyu Qiu
4774043f8e
Adds CTRL-A CTRL-E support to LineEdit on macOS
2020-02-01 13:35:16 +08:00
clayjohn
57e27683ba
Update docs to version 4.0
2020-01-31 17:15:41 -08:00
clayjohn
be39808b00
Unexpose ARRAY_COMPRESS_BASE
2020-01-31 16:29:46 -08:00
Hugo Locurcio
7c3f6b2870
Improve the doc_status.py
console output
...
- Duplicate the header when the `-a` flag is enabled. Since lots of
items are displayed in this case, this helps the user remember
which column is which without having to scroll back to the top.
- Bolden the overall percentages for easier visual grepping.
2020-02-01 00:24:39 +01:00
Hugo Locurcio
1de9118c5f
doc: Add an example for Array.sort()
...
This may help people understand the difference between alphabetical
and natural order more quickly.
2020-01-31 21:23:09 +01:00
Rémi Verschelde
dfcfa7d256
Merge pull request #35790 from Calinou/doc-animationplayer-vs-tween
...
doc: Add a short AnimationPlayer versus Tween comparison
2020-01-31 18:29:34 +01:00
Hugo Locurcio
810b1341ce
doc: Add a short AnimationPlayer versus Tween comparison
...
Many newcomers are confused about which one to choose for animating
properties. This should help clarify the situation with regards
to AnimationPlayer versus Tween.
2020-01-31 18:00:15 +01:00
Hugo Locurcio
c9946bc87e
Improve the CheckBox and CheckButton class documentations
...
This makes the CheckBox and CheckButton classes 100% documented.
2020-01-31 13:17:20 +01:00
Rémi Verschelde
68eae6b6e9
Fix some URLs to use HTTPS when available
2020-01-29 02:48:10 +01:00
Hugo Locurcio
8ea77b96b2
Mention 2D polygon limits and how to increase them in the documentation
...
This closes #21793 .
2020-01-28 22:04:29 +01:00
Rémi Verschelde
658e44ee01
doc: Sync classref with current source
...
Fix a few typos.
2020-01-28 10:58:48 +01:00
Yuri Roubinsky
766d1ef276
Docs for some nodes in visual shader(part 2)
2020-01-28 12:16:09 +03:00
Yuri Roubinsky
9705d5587e
Hide "control" methods from VisualShaderNodeGroupBase
2020-01-28 10:24:59 +03:00
Yuri Roubinsky
274f1d8610
Hide "editable" property from VisualShaderNodeGroupBase public interface
2020-01-28 09:43:07 +03:00
Yuri Roubinsky
796484d761
Added missing property "size" to VisualShaderNodeGroupBase
2020-01-27 19:18:48 +03:00
Yuri Roubinsky
3479cf4b42
Removed unused method "build" from VisualShaderNodeExpression
2020-01-27 18:24:39 +03:00
Tomasz Chabora
21dd35b611
Document theme_items of multiple classes
2020-01-27 02:15:37 +01:00
Hugo Locurcio
75185f87a3
doc: Remove mention of nonexistent StaticBody simulated motion mode
...
The StaticBody2D documentation doesn't mention it, so it doesn't need
to be touched.
This closes #30560 .
2020-01-26 20:18:22 +01:00
Rémi Verschelde
4cee1cda5e
Merge pull request #35589 from akien-mga/doc-drop-category-property
...
doc: Drop unused 'category' property from header
2020-01-26 16:34:13 +01:00
Rémi Verschelde
09ced94dd4
doc: Do not expose Variant::NIL as a type in the class reference
...
Fix signals Variant arguments incorrectly listed as Nil.
Fixes #12520 .
2020-01-26 16:08:11 +01:00
Rémi Verschelde
2d20fc39aa
doc: Drop unused 'category' property from header
...
We already removed it from the online docs with #35132 .
Currently it can only be "Built-In Types" (Variant types) or "Core"
(everything else), which is of limited use.
We might also want to consider dropping it from `ClassDB` altogether
in Godot 4.0.
2020-01-26 16:02:39 +01:00
Rémi Verschelde
3697ea799c
doc: Document all remaining ProjectSettings
2020-01-26 13:37:21 +01:00
Rémi Verschelde
fe26e53065
Merge pull request #35581 from akien-mga/doc-color-constants
...
doc: Document named color constants
2020-01-26 13:36:44 +01:00
Rémi Verschelde
cbdbfb00ca
doc: Document named color constants
...
Busywork but it's good for our completion rate :)
2020-01-26 12:08:16 +01:00
Rémi Verschelde
bb6c0d3e8b
doc: Complete documentation for VideoStreams
...
Also quick clean up of the matching C++ files.
2020-01-26 11:29:07 +01:00
Rémi Verschelde
bd605a5701
Merge pull request #35566 from Xrayez/doc-parse-property-return
...
Document the return value of `EditorInspectorPlugin.parse_property`
2020-01-26 10:17:57 +01:00
Rémi Verschelde
6a5c8c8672
Merge pull request #35574 from clayjohn/DOCS-odds-n-ends
...
Complete various class references
2020-01-26 10:08:55 +01:00
clayjohn
c5700f7464
Complete various class references
2020-01-26 00:27:51 -08:00
Rémi Verschelde
1b3eb41622
Merge pull request #35561 from clayjohn/GLES3-irradiance-max
...
Add project setting for max irradiance size
2020-01-26 09:16:21 +01:00
Andrii Doroshenko (Xrayez)
06933f5d80
Document the return value of EditorInspectorPlugin.parse_property
2020-01-26 02:04:33 +02:00
Rémi Verschelde
be1bc53d42
Merge pull request #35560 from clayjohn/DOCS-sky-radiance
...
Add warning for radiance_size
2020-01-25 23:01:58 +01:00
clayjohn
7215019020
Add warning for radiance_size
2020-01-25 13:28:32 -08:00
clayjohn
eb5cb5d016
Add project setting for max irradiance size
2020-01-25 13:27:13 -08:00
Rémi Verschelde
8896ce1c0a
Merge pull request #35559 from Calinou/doc-inputeventkey-string
...
Document how to get a human-readable string from an InputEventKey
2020-01-25 21:52:35 +01:00
Hugo Locurcio
7a0c37c3f5
Document how to get a human-readable string from an InputEventKey
2020-01-25 20:13:18 +01:00
Hugo Locurcio
33f37cfd19
Document how to get chamfered corners with StyleBoxFlat
2020-01-25 20:04:23 +01:00
Rémi Verschelde
a61f5a7520
Merge pull request #35535 from Calinou/doc-projectsettings-runtime-physics
...
Document how to change the default gravity at runtime
2020-01-25 18:16:34 +01:00
Hugo Locurcio
1b9b07e658
Document how to change the default gravity at runtime
...
Changing the default gravity at runtime isn't exactly obvious,
so it makes sense to add a code sample.
2020-01-25 16:28:28 +01:00
Rémi Verschelde
e61edd69ea
Merge pull request #35523 from searetseltev/master
...
Update ScrollContainer.xml
2020-01-24 21:53:57 +01:00
Roi Valcárcel
4f0401d05d
Update ScrollContainer.xml
...
Add missing descriptions to ScrollContainer documentation
2020-01-24 17:21:53 +01:00
Tomasz Chabora
25ea912d96
Count theme items in doc_status.py
2020-01-24 14:23:58 +01:00
Rémi Verschelde
97cc2e53f6
makerst: Escape reST markup after enums
...
Fixes #35501 .
2020-01-24 13:08:36 +01:00
Yuri Roubinsky
ce43c92208
Docs for some nodes in visual shader
...
Fix typo in `VisualShaderNodeCompare.ComparisonType` name.
2020-01-23 22:39:00 +01:00
Rémi Verschelde
c66144738b
Merge pull request #35483 from YeldhamDev/doc_comment_spaces_removal
...
Remove unnecessary extra spaces before comments in code examples.
2020-01-23 21:58:12 +01:00
Michael Alexsander
c4745c96d7
Remove unnecessary extra spaces before comments in code examples.
2020-01-23 14:41:49 -03:00
Michael Alexsander
e1a9a3328d
Remove unnecessary parenthesis from code examples
2020-01-23 14:15:39 -03:00
clayjohn
6b66957b85
Finish documenting CSG* and *probes
2020-01-23 13:54:17 +01:00
Rémi Verschelde
ba177ccaec
doc: Misc updates for AnimationNode* and others
...
- Add some missing descriptions.
- Add links to tutorials for ARVR and AnimationTree.
- Style fixes.
- Engine changes:
* Make `AnimationNodeTransition.input_<number>` properties internal
so that they don't appear in the docs. They still appear in the
inspector based on the actual number of inputs requested.
* Drop unimplemented `CPUParticles.flatness`. It's only used for 3D
particles in `ParticlesMaterial`, and thus only relevant for
`CPUParticles3D`.
2020-01-23 12:37:33 +01:00
Hugo Locurcio
90a1f8d8a7
Make OS.execute()
blocking by default if not specified
...
This makes `OS.execute()` calls quicker to set up when calling programs
in a blocking fashion.
2020-01-23 01:26:32 +01:00
Bojidar Marinov
b4770c0a27
Add settings from SceneTree in the documentation
...
Fixes #35439
2020-01-22 22:37:56 +02:00
Bojidar Marinov
387ee7d763
Get real default values for project settings in documentation
...
Also, ignore custom project settings and values for input/ entries
Fixes #34154
2020-01-22 15:57:10 +02:00
Rémi Verschelde
829d21f1c2
Merge pull request #35352 from Feniks-Gaming/BetterDictionary
...
Improve dictionary description
2020-01-22 13:20:41 +01:00
Rémi Verschelde
de543d18e8
Merge pull request #35389 from clayjohn/DOCS-materials
...
Finish up docs for materials
2020-01-22 07:41:33 +01:00
clayjohn
f2ece82480
Finish up docs for materials
2020-01-21 19:28:32 -08:00
Rémi Verschelde
1508cc4051
Merge pull request #35363 from ericrybick/33106-importing-textureAtlas-cuts-out-the-sprites
...
Fix AtlasPacker ignoring semi-transparent pixels
2020-01-21 00:13:12 +01:00
Eric Rybicki
439e0027ec
Fix AtlasPacker ignoring semi-transparent pixels
...
Fixes #33106
2020-01-20 22:43:38 +01:00
Feniks
6e24933115
Improve dictionary description
...
I improved dictionary description to ad some real life examples and expand on it a little bit so person who never seen dictionary can understand it better seeing them for a first time here.
I also added note about the way to compare dictionaries as it can catch people of guard because common assumption is that it works the same as comparing Arrays when it does not.
2020-01-20 20:36:59 +00:00
Rémi Verschelde
837adb30fd
Revert "Exposes capture methods to AudioServer + documentation" #30468
...
Reverts the following commits:
- c81ec6f26d
:
"Exposes capture methods to AudioServer, variable renames for
consistency, added documentation."
- 47c558b98a
:
"Expose audio callbacks as signals."
- dabaa11b3c
:
"Fix to make sure the capture buffers are deallocated at shutdown.
Silences warnings."
Some documentation improvements were kept for pre-existing methods.
See rationale for reverting these changes in #30468 .
2020-01-20 13:18:01 +01:00
Rémi Verschelde
c0595206dd
makerst: Use code markup for default values/overrides
...
Fixes godotengine/godot-docs#3071 .
2020-01-20 12:38:08 +01:00
Rémi Verschelde
adb6734b49
doc: Sync classref with current source
2020-01-19 23:19:29 +01:00
Rémi Verschelde
62d656ea06
Merge pull request #35327 from KoBeWi/globalization
...
Mention that KinematicCollisions use global coords
2020-01-19 22:25:10 +01:00
Rémi Verschelde
cb088e391e
Merge pull request #35300 from Feniks-Gaming/GraphNodeDesc
...
Improve Description of GraphNode
2020-01-19 22:19:41 +01:00
Tomasz Chabora
5a75c4a840
Mention that KinematicCollisions use global coords
2020-01-19 20:22:31 +01:00
Feniks
1ebf4c7fdc
Improve Description of GraphNode
...
It mostly fixes issues I have listed in https://github.com/godotengine/godot-docs/issues/3065 where GraphNode description was rather lacking clarity. It was near impossible how to use the them or how to create new slots etc.
I improved it quite a bit if anyone has idea how to reword original "A tuple of input and output slots is defined for each GUI element included in the GraphNode." I would love to hear it. I am unsure how to word it in more understandable way.
2020-01-19 19:21:30 +00:00
Rémi Verschelde
05c8654390
doc: Timer.autostart resets to false on start
...
Fixes #35289 .
2020-01-19 10:18:11 +01:00
Rémi Verschelde
d4a222cd9d
Merge pull request #35281 from timothyqiu/video-player-doc
...
Improves VideoPlayer's documentation
2020-01-18 15:27:28 +01:00
Haoyu Qiu
ecf3d3fd84
Improves VideoPlayer's documentation
2020-01-18 21:51:17 +08:00
Hugo Locurcio
9914b6fc62
doc: Mention the limited comment support in ConfigFile
2020-01-18 13:58:36 +01:00
Rémi Verschelde
ea1da40d79
Merge pull request #35223 from Feniks-Gaming/MenueButtonDescription
...
Improved MenuButton Description
2020-01-18 09:25:49 +01:00