Commit graph

2829 commits

Author SHA1 Message Date
Chris Bradfield 975ed93794 [DOCS] minor description changes 2020-05-09 18:56:14 -07:00
Mateo Kuruk Miccino 8c2dc177b6 GDScript: Add join method on String
Docs: Add join on String.xml
2020-05-09 12:16:21 -03:00
Marcus Elg 9a7e515d50 Rename Lineshapes d to distance 2020-05-09 15:10:00 +02:00
Hugo Locurcio 3a11baaeac
Turn the anisotropic filtering setting into an enum
Since it only accepts power-of-two values, exposing it as an enum
makes more sense. This also allows for adding property hints to indicate
the performance cost of each value.

This also improves property hints for MSAA and FXAA.
2020-05-08 12:07:35 +02:00
Tomasz Chabora fecf79f287 Add documentation for the VisualShader nodes 2020-05-08 00:36:01 +02:00
Rémi Verschelde ae33cf5f45
Merge pull request #36379 from aaronfranke/color-constructors
Add a Color constructor for Color with alpha
2020-05-07 21:16:51 +02:00
Rémi Verschelde bef52957d0
Merge pull request #38226 from Calinou/increase-camera3d-fov
Increase the default Camera3D field of view to 75
2020-05-07 21:16:21 +02:00
Rémi Verschelde b62218bbac
Merge pull request #38385 from ThakeeNathees/method-bind-text_edit-set_line
method bind TextEdit::set_line() added
2020-05-07 13:43:34 +02:00
Marcel Admiraal da13b74cc8 Make 2D and 3D KinematicBody stop_on_slope documentation the same. 2020-05-07 08:18:23 +01:00
Rémi Verschelde b9594b2c10 doc: Sync classref with current source 2020-05-06 10:27:02 +02:00
follower ae067413a5
Fix suffix property doc typo: "prefix" -> "suffix" 2020-05-06 05:00:12 +12:00
bruvzg d978658f81
[Windows] Add support for the WinTab API for pen input. 2020-05-05 14:16:02 +03:00
Hugo Locurcio d8808fba85
Document the expected normal map coordinate system where relevant 2020-05-04 22:46:47 +02:00
Rémi Verschelde f7ca1c805b doc: Sync classref with current source 2020-05-04 16:55:01 +02:00
Rémi Verschelde cf398b8ee0
Merge pull request #38392 from Enhex/patch-1
fix typo
2020-05-03 18:17:30 +02:00
Bastiaan Olij 45d1f41837 Added missing spring enums for generic_6dof_joint 2020-05-02 21:49:56 +10:00
Hugo Locurcio e8a2fa6b7d
Tweak Tween cheatsheet link formatting to avoid rST conversion bug
reStructuredText doesn't allow embedding links in bold/italic text.
2020-05-01 18:43:55 +02:00
Enhex aaf5a58b44
fix typo 2020-05-01 18:52:08 +03:00
Thakee Nathees b9acf1cedf method bind TextEdit::set_line() added 2020-05-01 18:37:12 +05:30
Hugo Locurcio ccc4f3899c
Increase the default Camera3D field of view to 75
A vertical FOV of 75 degrees is roughly equivalent to a 91 degree
horizontal FOV on a 4:3 display (~107.51 degrees on 16:9),
which is close to the typical default FOV used in PC games.

Note that this doesn't apply to the in-editor camera which keeps its
FOV to 70. This is because it doesn't display in fullscreen;
its viewport only displays in the center of the editor (roughly).
This means the viewport won't cover the viewer's eyes as much. Therefore,
the editor camera FOV should be slightly lower to account for this.

Since this changes the default value, this may break existing projects
slightly.

For the record, this was already done in
https://github.com/godotengine/godot-demo-projects/pull/260
for the official demo projects.
2020-05-01 14:03:27 +02:00
Rémi Verschelde 7cd43c17e9 i18n: Sync translate template for class reference 2020-05-01 12:46:46 +02:00
Rémi Verschelde b0c0d506b6 doc: Sync classref with current source 2020-05-01 12:46:05 +02:00
Rémi Verschelde 161400b30c
Merge pull request #38330 from Calinou/doc-image-load-formats
Document the formats supported by `Image.load()`
2020-04-30 10:04:07 +02:00
Aaron Franke 90df1d67cb
Color with alpha constructor 2020-04-29 14:41:12 -04:00
Hugo Locurcio a26649de42
Document the formats supported by Image.load()
This partially addresses #32166.
2020-04-29 17:58:38 +02:00
Rémi Verschelde b99b212855
Merge pull request #38307 from Calinou/shell-open-res-user-warning
Warn when trying to open `res://` or `user://` with `OS.shell_open()`
2020-04-29 16:07:34 +02:00
Rémi Verschelde 58435b0c91
Merge pull request #20371 from aaronfranke/vector-lerp
[Core] [Mono] [GDNative] Rename "linear_interpolate" methods to "lerp"
2020-04-29 15:50:00 +02:00
Rémi Verschelde b3da429423
Merge pull request #36498 from Avantir-Chaosfire/patch-1
doc: Improve Node2D to_local/to_global description
2020-04-29 13:04:19 +02:00
Aaron Franke 540156b387
[Core] Rename linear_interpolate to lerp 2020-04-29 04:02:49 -04:00
Avantir-Chaosfire 5c6f824e71 doc: Improve Node2D to_local/to_global description 2020-04-29 09:44:51 +02:00
Rémi Verschelde 41af228b76
Merge pull request #36960 from pycbouh/docs-improve-shortcuts
Improve shortcut formatting in docs
2020-04-29 09:40:52 +02:00
Rémi Verschelde 105b4f89b9
Merge pull request #37776 from Sauermann/transform-scale-origin
Clarify Transform scaled Method description
2020-04-29 09:17:47 +02:00
Rémi Verschelde dfe38fbf8a
Merge pull request #38287 from JiRuifanCR/animatedtexture-oneshot-pause-set-frame
Add set_frame, pause, and oneshot to AnimatedTexture
2020-04-29 09:14:37 +02:00
Rémi Verschelde a17bdb10a9
Merge pull request #38074 from KoBeWi/tfree
Mention how to remove TreeItem from a Tree
2020-04-29 09:07:24 +02:00
Hugo Locurcio d46e411b44
Warn when trying to open res:// or user:// with OS.shell_open()
`OS.shell_open()` will pass on the path directly to the OS' shell
handler (which can handle file paths or URLs). It can't handle
Godot-specific paths, so these need to be converted with
`ProjectSettings.globalize_path()` first.
2020-04-28 19:37:09 +02:00
Revan Ji f5029e18ca Add set_frame, pause, and oneshot to AnimatedTexture
Add API documentation for said changes.
2020-04-29 00:26:37 +08:00
Rémi Verschelde abf5132a32 doc: Sync classref with current source 2020-04-28 16:33:44 +02:00
Rémi Verschelde fdf58a5858 Rename InputFilter back to Input
It changed name as part of the DisplayServer and input refactoring
in #37317, with the rationale that input no longer goes through the
main loop, so the previous Input singleton now only does filtering.

But the gains in consistency are quite limited in the renaming, and
it breaks compatibility for all scripts and tutorials that access
the Input singleton via the scripting language. A temporary option
was suggested to keep the scripting singleton named `Input` even if
its type is `InputFilter`, but that adds inconsistency and breaks C#.

Fixes godotengine/godot-proposals#639.
Fixes #37319.
Fixes #37690.
2020-04-28 15:19:49 +02:00
Rémi Verschelde d8066aa6a4
Merge pull request #38286 from bojidar-bg/x-expose-cell-size
Expose the cell_size affecting VisibilityNotifier2D precision
2020-04-28 11:19:16 +02:00
Bojidar Marinov d49ff7aff7
Expose the cell_size affecting VisibilityNotifier2D precision
Refs: #4803
2020-04-28 10:33:45 +03:00
Rémi Verschelde 6285899831
Merge pull request #38252 from Calinou/doc-improve-compression-projectsettings
Improve the compression project settings documentation
2020-04-27 18:48:37 +02:00
Rémi Verschelde 7f384e703b
Merge pull request #38230 from Calinou/doc-audiostreamplayer-improve-pitch-scale
Improve `pitch_scale` descriptions in AudioStreamPlayer documentation
2020-04-27 10:00:02 +02:00
Hugo Locurcio b2b8db7897 Improve the compression project settings documentation 2020-04-27 09:58:23 +02:00
Max Hilbrunner e68012f4c9
Merge pull request #37973 from Calinou/doc-tween-add-easing-cheatsheet
Add an easing/transition type cheatsheet to the Tween documentation
2020-04-26 18:06:23 +02:00
Hugo Locurcio 4751dee7f4
Improve pitch_scale descriptions in AudioStreamPlayer documentation
This closes #29439.

Co-authored-by: Cheeseness <contact@jbushproductions.com>
2020-04-26 16:37:57 +02:00
Rémi Verschelde d567c15aed doc: Fix parsing typed arrays in makerst.py
`Type[]` typed arrays will link to `Type`, as it's likely the most
interesting information for the user.

And sync classref with current source.
2020-04-24 17:50:20 +02:00
Rémi Verschelde a247e1035c
Merge pull request #38025 from Calinou/doc-procedural-geometry
Improve the procedural geometry class documentations
2020-04-24 17:28:20 +02:00
Rémi Verschelde 43f0767390
Merge pull request #38050 from Calinou/doc-cameraeffects
Document the CameraEffects class
2020-04-23 12:42:56 +02:00
Rémi Verschelde ffe07d9332
Merge pull request #37888 from Calinou/doc-editor-only-singletons
Document how some editor classes should be accessed as singletons only
2020-04-23 12:06:06 +02:00
Hugo Locurcio a225265b0a Document how some editor classes should be accessed as singletons only
This closes #37687.
2020-04-22 11:39:59 +02:00
Hugo Locurcio 3566fe1e66 Document the CameraEffects class 2020-04-22 11:23:50 +02:00
Tomasz Chabora f6aec99d27 Mention how to remove TreeItem from a Tree 2020-04-21 15:31:21 +02:00
Juan Linietsky ae09b55a19 Exposed RenderingDevice to script API
Also added an easier way to load native GLSL shaders.

Extras:

Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload.

Note:

The precommit hooks are broken because they don't seem to support enums from one class being used in another.
Feel free to fix this after merging this PR.
2020-04-20 21:21:58 -03:00
Rémi Verschelde 52b27da7a6
Merge pull request #37974 from Calinou/doc-backbuffercopy-anchors
Document how to workaround UI anchor issues when using BackBufferCopy
2020-04-20 23:51:47 +02:00
Rémi Verschelde b372227f06
Merge pull request #37972 from Calinou/doc-improve-resourcesaver-example
Check for errors when saving in the ResourceSaver example documentation
2020-04-20 23:51:04 +02:00
Rémi Verschelde ae92d149a3
Merge pull request #37971 from Calinou/doc-improve-visibility-enabler-notifier
Improve the VisibilityEnabler and VisibilityNotifier documentations
2020-04-20 23:50:21 +02:00
Rémi Verschelde 2cd952bd84 Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editor
Subgroups were added in #37678 but not properly handled everywhere
where PROPERTY_USAGE_GROUP is.
2020-04-20 17:13:06 +02:00
Rémi Verschelde 9cf48b3e99
Merge pull request #38039 from akien-mga/docdata-skip-unexposed
DocData: Skip unexposed classes
2020-04-20 15:21:49 +02:00
Rémi Verschelde f8218c76ef
Merge pull request #38036 from akien-mga/doc-update
doc: Sync classref with current source
2020-04-20 14:36:29 +02:00
Rémi Verschelde 83b21cd302
Merge pull request #38035 from akien-mga/revert-35261-pck-destination
Revert "Made possible to specify where to dump the contents when load…
2020-04-20 13:47:25 +02:00
Rémi Verschelde 0ef8bcac4d DocData: Skip unexposed classes
Properly expose classes that we actually want accessible.
2020-04-20 12:51:10 +02:00
Rémi Verschelde b7b46093d8 doc: Sync classref with current source
Add missing enum bindings.
2020-04-20 11:48:00 +02:00
Rémi Verschelde 088c2a0870
Merge pull request #37947 from clayjohn/DOCS-rendering-update
Update many docs with recent rendering changes
2020-04-20 11:16:12 +02:00
Rémi Verschelde 6272acd465
Merge pull request #38027 from dreamsComeTrue/override_selected_font_color-docs
Update TextEdit docs - explaining 'override_selected_font_color' role
2020-04-20 11:02:13 +02:00
Rémi Verschelde 515fe0f29b Revert "Made possible to specify where to dump the contents when loading a ".pck" file"
This reverts commit 3c261e0dfa.

This was not so useful as is due to the way dependency paths are stored
in scenes and resources.
2020-04-20 10:57:05 +02:00
Hugo Locurcio ed7347d73d Improve the procedural geometry class documentations
This references Godot's winding order at the top of every
procedural geometry class, as well as referencing other classes
within a given geometry class.

A warning about ImmediateGeometry3D performance was also added.
2020-04-20 09:05:50 +02:00
Dominik 'dreamsComeTrue' Jasiński 6a0e6c2852 Update TextEdit docs - explaining 'override_selected_font_color' role 2020-04-19 23:33:01 +02:00
Marcel Admiraal 4d41535fa3 Correct the addition of a key and the duplication of a variable name
in Dictionary class documentation.
2020-04-19 09:52:54 +01:00
Hugo Locurcio 5972a9138e
Add an easing/transition type cheatsheet to the Tween documentation
Related to https://github.com/godotengine/godot-docs/pull/3403.
2020-04-17 23:20:59 +02:00
Hugo Locurcio f8a413bb1f
Document how to workaround UI anchor issues when using BackBufferCopy
This closes #6880.
2020-04-17 23:17:31 +02:00
Hugo Locurcio 2f46f1e7b1
Check for errors when saving in the ResourceSaver example documentation
This also replaces a non-breaking space that was accidentally added in
the EditorFeatureProfile documentation.

This closes #31393.
2020-04-17 22:29:05 +02:00
Hugo Locurcio 7f2d602106
Improve the VisibilityEnabler and VisibilityNotifier documentations
This closes #4803.
2020-04-17 22:04:19 +02:00
clayjohn b50d954cb0 Update many docs with recent rendering changes 2020-04-17 09:47:59 -07:00
Rémi Verschelde d817be92c2
Merge pull request #37963 from Calinou/doc-dynamicfont-limitations
Document DynamicFont limitations and a possible workaround
2020-04-17 18:43:05 +02:00
Rémi Verschelde cfda0e3770
Merge pull request #37953 from clayjohn/VULKAN-sky-sun-size
Add light size to Sky Shaders
2020-04-17 18:35:45 +02:00
Rémi Verschelde 364cb2ce92
Merge pull request #37962 from Calinou/doc-image-size-limits
Document image size limits
2020-04-17 18:35:27 +02:00
clayjohn 7cd2ff309c Add light size to Sky Shaders 2020-04-17 09:32:24 -07:00
Hugo Locurcio 46b8e108e2 Document DynamicFont limitations and a possible workaround
This closes #30014.
2020-04-17 16:11:14 +02:00
Hugo Locurcio 5497cec7a1 Document image size limits
This closes #30238.
2020-04-17 16:04:32 +02:00
Hugo Locurcio cae5260dab Clarify that angles must be specified as radians in the documentation
This closes #36356.
2020-04-17 15:26:07 +02:00
Michael Alexsander 3c261e0dfa Made possible to specify where to dump the contents when loading a ".pck" file 2020-04-16 22:52:26 -03:00
Rémi Verschelde 51d86c9112
Merge pull request #37047 from YeldhamDev/tabcontainer_doc_control_fix
Fix incorrect TabContainer documentation for 'get_tab_control()'
2020-04-16 12:36:42 +02:00
Rémi Verschelde a29d475e67
Merge pull request #37747 from KoBeWi/cam2center
Improve Camera2D documentation
2020-04-16 12:28:35 +02:00
Rémi Verschelde 2ebfd69196
Merge pull request #37856 from Calinou/doc-basebutton-keep-pressed-outside
Mention `keep_pressed_outside` caveat in the BaseButton documentation
2020-04-16 12:27:28 +02:00
Rémi Verschelde cd908c3cef
Merge pull request #37832 from Calinou/doc-improve-dictionary
Improve the Dictionary class documentation
2020-04-16 12:27:15 +02:00
Rémi Verschelde d0a10215ae
Merge pull request #37824 from nekomatata/rigid-body-force-doc
More details in Rigid Body add_force documentation
2020-04-16 12:26:58 +02:00
Hugo Locurcio 52786b54ef
Improve the AudioStreamSample class documentation
This closes #37915.
2020-04-15 23:40:01 +02:00
Andrii Doroshenko (Xrayez) 430d1fd795 Bind Shape2D draw method 2020-04-15 18:17:21 +03:00
Rémi Verschelde 59a8af2106
Merge pull request #37316 from nekomatata/physical-bone-settings
Add PhysicalBone rotation, damping, axis lock & can sleep
2020-04-14 18:33:43 +02:00
PouleyKetchoupp 5c1c03f29a Add PhysicalBone rotation, damping, axis lock & can sleep 2020-04-14 11:55:46 +02:00
Hugo Locurcio e799dc954e
Mention keep_pressed_outside caveat in the BaseButton documentation
This closes #37790.
2020-04-13 21:56:47 +02:00
Rémi Verschelde 06748a2b5f
Merge pull request #37749 from clayjohn/Vulkan-improved-ss
Add vogel filter and settings to soft shadows
2020-04-13 00:39:37 +02:00
Hugo Locurcio 88da90f2bf
Improve the Dictionary class documentation
This closes https://github.com/godotengine/godot-docs/issues/3376.
2020-04-12 22:48:02 +02:00
PouleyKetchoupp 219c5712f0 More details in Rigid Body add_force documentation 2020-04-12 11:27:29 +02:00
clayjohn 621f6f09a8 Add proper quality settings to soft shadows 2020-04-10 23:09:17 -07:00
Zak Grumbles a8de034f78 Fix OptionButton docs godotengine#36803
* item_selected and item_focused docs incorrectly had 'id' as the parameter. Changed to
'index'.
* Fix parameter name in ADD_SIGNAL callin code.
2020-04-10 20:35:40 -05:00
Markus Sauermann 19c8b0be45 Clarify Transform scaled Method description. 2020-04-10 22:36:09 +02:00
Yuri Sizov 1ea7295bd2 Improve shortcut formatting in docs 2020-04-10 18:42:11 +03:00
Rémi Verschelde c52beb6adb
Merge pull request #37297 from dalexeev/doc_file
Improve the `File.store_{8,16,32,64}()` documentation
2020-04-10 13:27:29 +02:00
Rémi Verschelde 1e5f0d402b
Merge pull request #37383 from WARIO-MDMA/godotphysics-rename
Rename "GodotPhysics" to "GodotPhysics{2D,3D}"
2020-04-10 12:39:26 +02:00
Rémi Verschelde f33bba15b1
Merge pull request #37426 from pycbouh/docs-override-properties
Add more verbosity for property overrides in RST documentation
2020-04-10 12:25:47 +02:00
Rémi Verschelde feeef52feb
Merge pull request #37482 from zak-grumbles/fix_dict_duplicate_docs
Clarify Dictionary duplicate parameters in docs
2020-04-10 12:14:39 +02:00
Tomasz Chabora 630096fa74 Improve Camera2D documentation 2020-04-10 12:13:26 +02:00
Rémi Verschelde 82e12a0f3e
Merge pull request #37566 from lucaslcode/clarify_autotile
clarify autotile_coord in docs
2020-04-10 12:02:01 +02:00
Rémi Verschelde 95db658672
Merge pull request #37699 from lupoDharkael/committing-typo
Replace is_commiting_action with is_committing_action
2020-04-10 11:47:19 +02:00
Markus Sauermann 3f19b5e0b3 Clarify documentation and indicate that rect_clip_content affects only CanvasItem based nodes.
Resolves #37683
2020-04-09 22:09:05 +02:00
Bastiaan Olij afc8c6391c Renaming all ARVR nodes to XR 2020-04-09 15:33:01 +10:00
WARIO-MDMA 6d5c6ffbe0 Rename "GodotPhysics" to "GodotPhysics{2D,3D}" 2020-04-09 03:13:33 +10:00
lupoDharkael 406c2790e3 Replace is_commiting_action with is_committing_action 2020-04-08 18:52:04 +02:00
Hugo Locurcio ea668a5db8 Improve the CameraServer and CameraFeed class documentations
This closes https://github.com/godotengine/godot-docs/issues/3255.
2020-04-08 14:26:21 +02:00
Rémi Verschelde 1222541c95 i18n: Sync translate template for class reference
Adds initial fr.po translation for initialization on Weblate.
2020-04-07 09:57:51 +02:00
Rémi Verschelde 2267877ee6
Merge pull request #37589 from Nannaquin/updatecolordoc
Add reference of Color8 function to Color class documentation
2020-04-07 09:16:51 +02:00
Rémi Verschelde 6b07c72d76
Merge pull request #37556 from KoBeWi/kill_get_index
Remove Node.get_position_in_parent()
2020-04-06 09:44:38 +02:00
Tomasz Chabora c1023157eb Remove Node.get_position_in_parent() 2020-04-06 01:19:20 +02:00
Nannaquin 06aeff3044 Add reference of Color8 function to Color class documentation 2020-04-05 11:34:47 -04:00
Rémi Verschelde 9abb415d92
Merge pull request #37391 from dreamsComeTrue/embedded-windows-mode
Expose 'Embedded Windows Mode' as Editor and Project Settings
2020-04-04 07:58:53 +02:00
lucaslcode cbe73766e3
clarify autotile_coord in docs
I had no idea what 'coordinate' meant in the context of autotiles, so just adding some clarification for future people who have the same problem.
2020-04-03 23:40:31 +01:00
Dominik 'dreamsComeTrue' Jasiński 7af84d7213 Expose 'Embedded Windows Mode' as Editor and Project Settings 2020-04-03 21:15:22 +02:00
Michael Alexsander a9e43ac73c Re-expose a simplified version of the stretch properties in SubViewport 2020-04-03 14:11:22 -03:00
Rémi Verschelde 59d44ee872
Merge pull request #37505 from YeldhamDev/viewcont_rename
Rename ViewportContainer to SubViewportContainer
2020-04-03 15:53:35 +02:00
Rémi Verschelde d9a560d783 doc: Sync classref with current source 2020-04-03 10:11:23 +02:00
Zak Grumbles 469b7c948f Clarify Dictionary duplicate params godotengine#37162
* Added additional clarification for the function of the 'deep'
parameter in the Dictionary's `duplicate` method.
2020-04-02 10:02:02 -05:00
Michael Alexsander 0c6851ae53 Rename ViewportContainer to SubViewportContainer 2020-04-01 16:11:44 -03:00
Rémi Verschelde a30bfe5176
Merge pull request #35765 from clayjohn/master
Add a method to retrieve active material from MeshInstance
2020-03-31 18:03:11 +02:00
Rémi Verschelde 3a996faeed
Merge pull request #37442 from YeldhamDev/subviewport_register
Register SubViewport class
2020-03-31 16:29:41 +02:00
Rémi Verschelde e5033d3952 doc: Sync classref with DisplayServer/Window changes 2020-03-31 11:56:58 +02:00
Zak Grumbles d09644dff3
Clarify docs for Thread.start() godotengine#36032
* Updated docs for Thread.start() to specify that the method argument
must accept one parameter.
2020-03-30 21:53:39 -05:00
clayjohn 3362e81674 Add a method to retrieve active material from MeshInstance 2020-03-30 16:53:07 -07:00
Rémi Verschelde dfed5efea3
Merge pull request #37445 from nekomatata/hook-makerst-fix
Fixed errors in makerst pre-commit hook
2020-03-31 00:17:51 +02:00
PouleyKetchoupp 619354fb2c Fixed errors in makerst pre-commit hook 2020-03-31 00:02:11 +02:00
Michael Alexsander 46a6751302 Register SubViewport class 2020-03-30 16:43:55 -03:00
Rémi Verschelde f3c74afd28
Merge pull request #37436 from akien-mga/doc-node-renames
doc: Update classref with node renames
2020-03-30 20:32:11 +02:00
Rémi Verschelde eaaee63b62 doc: Update classref with node renames
A few extra renames for classes which were missed in last week's PRs.
2020-03-30 18:23:02 +02:00
Yuri Sizov 38821dc6d7 Add more verbosity for property overrides in RST documentation 2020-03-30 14:18:43 +03:00
Rémi Verschelde cd4e46ee65 SCons: Format buildsystem files with psf/black
Configured for a max line length of 120 characters.

psf/black is very opinionated and purposely doesn't leave much room for
configuration. The output is mostly OK so that should be fine for us,
but some things worth noting:

- Manually wrapped strings will be reflowed, so by using a line length
  of 120 for the sake of preserving readability for our long command
  calls, it also means that some manually wrapped strings are back on
  the same line and should be manually merged again.

- Code generators using string concatenation extensively look awful,
  since black puts each operand on a single line. We need to refactor
  these generators to use more pythonic string formatting, for which
  many options are available (`%`, `format` or f-strings).

- CI checks and a pre-commit hook will be added to ensure that future
  buildsystem changes are well-formatted.
2020-03-30 09:05:53 +02:00
Rémi Verschelde a2da99f40c
Merge pull request #37259 from Calinou/doc-editorfeatureprofile
Document the EditorFeatureProfile class
2020-03-26 09:29:42 +01:00
Danil Alexeev 97e20b2f30 Improve the File.store_{8,16,32,64}() documentation
Added information about the intervals of values that the functions
`store_{8,16,32,64}()` can correctly write to the file.
2020-03-25 18:02:04 +03:00
Rémi Verschelde 3d2dd79ecd SCons: Drop support for Python 2
We now require SCons 3.0+ (first version with Python 3 support),
and we set min required Python 3 version to 3.5 (3.4 and earlier are
EOL).
2020-03-25 15:25:37 +01:00
Hugo Locurcio 7ab279403d
Document the EditorFeatureProfile class 2020-03-23 21:54:26 +01:00
Rémi Verschelde 20edf69f96
Merge pull request #33508 from nekomatata/object-has-signal
Added has_signal method for Object
2020-03-23 16:16:25 +01:00
PouleyKetchoupp 258d91f883 Added has_signal method for Object 2020-03-23 11:27:17 +01:00
Rémi Verschelde ed9a0d0484
Merge pull request #37179 from clayjohn/VULKAN-sky-shader
Implement Sky Shaders
2020-03-22 20:03:35 +01:00
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