Commit Graph

31104 Commits

Author SHA1 Message Date
Rémi Verschelde 6797ab6719
Merge pull request #43358 from Faless/js/4.x_audio_latency_fix
[HTML5] Fix audio buffer size and latency hint.
2020-11-06 15:58:19 +01:00
Fabio Alessandrelli b3453e866b [HTML5] Fix audio buffer size and latency hint.
The size of the audio buffer was incorrectly doubled when creating the
script processor.
latencyHint is expressed in seconds, not milliseconds.
Additionally, on some browsers it actually affect the performance and
stability of the audio driver.
For this reason it has been completely disabled (interactive) and a not
has been left for future reference.
2020-11-06 15:38:47 +01:00
Rémi Verschelde a9bc440311
Merge pull request #41746 from Calinou/doc-projectsettings-fullscreen-borderless
Improve the documentation related to fullscreen and borderless settings
2020-11-06 14:34:22 +01:00
Rémi Verschelde aba611b6fc
Merge pull request #42870 from Calinou/doc-httprequest-tls-version
Document the supported TLS versions in HTTPRequest
2020-11-06 14:32:45 +01:00
Rémi Verschelde df2abc55be
Merge pull request #43353 from madmiraal/fix-43352
Use LONG instead of DWORD (unsigned int) when interacting with DIJOFS constants
2020-11-06 12:46:36 +01:00
unknown 4a6e53b3c9 Use LONG instead of DWORD (unsigned int) when interacting with DIJOFS constants. 2020-11-06 10:17:28 +00:00
Rémi Verschelde 1abe52e611
Merge pull request #43051 from Ev1lbl0w/bugfix-path-inconsistency
Changed path behaviour for Windows
2020-11-06 10:18:21 +01:00
Rémi Verschelde 52c1b5fc41
Merge pull request #43283 from Calinou/color-remove-contrasted
Remove `Color.contrasted()` as its behavior is barely useful
2020-11-06 10:17:12 +01:00
Rémi Verschelde d79e57882b
Merge pull request #43337 from Xrayez/math-unused-phi-define
Remove unused `PHI` define in math funcs
2020-11-06 10:15:22 +01:00
Rémi Verschelde 1e5a782ce8
Merge pull request #43348 from bruvzg/ios_sim_fix
[iOS] Add missing ARC flag to the simulator build.
2020-11-06 10:14:30 +01:00
Rémi Verschelde 65eb05384a
Merge pull request #43347 from bruvzg/ubsan_uninit3
Fix uninitialised variables in the BaseMaterial3D.
2020-11-06 10:10:20 +01:00
bruvzg 061f65e410
Fix uninitialised variables in the BaseMaterial3D. 2020-11-06 10:17:11 +02:00
Andrii Doroshenko (Xrayez) 34ca426851 Remove unused `PHI` define in math funcs 2020-11-05 18:05:58 +02:00
Rémi Verschelde 494bf38c76
Merge pull request #43318 from akien-mga/doc-rng-seed
doc: Override default value for RandomNumberGenerator.seed
2020-11-05 08:47:37 +01:00
Rémi Verschelde c35517f07e
Merge pull request #42724 from theoway/error_message_fix_call_recursive
Fixes the misleading message when a non-existing function name is passed to TreeItem.call_recursive()
2020-11-05 00:46:28 +01:00
Rémi Verschelde 35e6070a35
doc: Override default value for RandomNumberGenerator.seed
It's non-deterministic so it's better to show a fixed value like 0 instead of
having it potentially change whenever `randomize()` is called.

Fixes #43317.
2020-11-05 00:41:24 +01:00
Rémi Verschelde 8e13b93bf7
Merge pull request #43310 from akien-mga/doc-classref-sync
doc: Sync classref with current source
2020-11-04 16:20:48 +01:00
Rémi Verschelde 424cd00f8b
doc: Sync classref with current source + fixup some bindings
Includes various changes triggered by the refactoring of method bindings.
2020-11-04 15:38:26 +01:00
Rémi Verschelde 89f605c717
Merge pull request #43297 from reduz/directional-light-2d
Implement DirectionalLight2D
2020-11-04 14:51:47 +01:00
reduz f123981a96 Implement DirectionalLight2D
Also separated Light2D in PointLight2D and DirectionalLight2D.
Used PointLight2D because its more of a point, and it does not work
the same as OmniLight (as shape depends on texture).
Added a few utility methods to Rect2D I needed.
2020-11-04 10:03:01 -03:00
Rémi Verschelde 3ec10bb07c
Merge pull request #43307 from aaronfranke/update-grid
Move call to update the 3D grid into check for updating the view
2020-11-04 10:49:23 +01:00
Aaron Franke a4f963f2c9
Move call to update the 3D grid into check for updating the view 2020-11-04 04:03:28 -05:00
Rémi Verschelde cc8503430d
Merge pull request #43301 from rcorre/tab-doc-typo
Fix typo in Tabs doc.
2020-11-04 07:19:08 +01:00
Ryan Roden-Corrent 3826f3348f
Fix typo in Tabs doc.
I don't know enough about grammar to say why the "ing" suffix is
correct, but I'm reasonably sure it is :)
2020-11-03 18:26:48 -05:00
Rémi Verschelde afef8e30ea
Merge pull request #39635 from Meriipu/master_nodrop
do not drop mouseover on WM_MOUSE_EXIT
2020-11-03 20:28:11 +01:00
Rémi Verschelde 0fc84b7c63
Merge pull request #43280 from akien-mga/custom-tooltips-cleanup
Tooltips: Improve code clarity and docs
2020-11-03 13:09:10 +01:00
Rémi Verschelde bd13e82080
Merge pull request #41516 from Lunatoid/allow-object-new
Fixed ParseError when calling Object.new()
2020-11-03 13:08:48 +01:00
Hugo Locurcio 7adb6b91b3
Remove `Color.contrasted()` as its behavior is barely useful
Returning the most contrasting color isn't a trivial task, as there
are often many possible choices. It's usually best left for the user
to implement using a script.
2020-11-03 04:46:08 -05:00
Rémi Verschelde c5d8dafec4
Tooltips: Improve code clarity and docs
The return type for `_make_custom_tooltip` is clarified as Control, and users
should make sure to return a visible node for proper size calculations.

Moreover in the current master branch, a PopupPanel will be added as parent
to the provided tooltip to make it a sub-window.

Clarifies documentation for `Control._make_custom_tooltip`, and shows how to
use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types
to style tooltips.

Fixes #39677.
2020-11-03 09:19:03 +01:00
Rémi Verschelde 873d461785
Merge pull request #40364 from marstaik/alpha2coverage_up
Alpha Hash and Alpha2Coverage Implementation
2020-11-03 07:50:49 +01:00
Marios Staikopoulos e5d7c7d5fc Alpha Hash and Alpha2Coverage Implementation 2020-11-02 20:11:20 -08:00
Rémi Verschelde be14d9d644
Merge pull request #42979 from Mallos/fix/tilemap-floodfill
fix(editor): TileMap floodfill with same tile ID and different variation
2020-11-02 17:05:43 +01:00
Rémi Verschelde e8794b24bd
Merge pull request #43260 from HaSa1002/mainloop-remove-deprecated-methods
MainLoop: Remove deprecated methods
2020-11-02 14:26:49 +01:00
Rémi Verschelde 0b910cd8b7
Merge pull request #43267 from Calinou/doc-ninepatchrect-tile-stretch-mode
Correct documentation about NinePatchRect stretch modes
2020-11-01 19:43:08 +01:00
Hugo Locurcio 82bfb6273b
Correct documentation about NinePatchRect stretch modes
This closes https://github.com/godotengine/godot-docs/issues/4333.
2020-11-01 18:41:10 +01:00
Rémi Verschelde 223e361c4e
Merge pull request #42703 from RandomShaper/fix_anim_backwards
Fix premature end of animation playing backwards
2020-11-01 15:47:39 +01:00
Rémi Verschelde efbaa4d366
Merge pull request #43258 from lyuma/get_parent_class_reentrancy
Avoid reentrant OBJTYPE_RLOCK in ClassDB
2020-11-01 12:56:22 +01:00
Lyuma 37b6a36cc4 Avoid reentrant OBJTYPE_RLOCK in ClassDB
Fixes #43020 when a thread uses ClassDB while main thread calls is_parent_class().
2020-11-01 03:40:06 -08:00
HaSa1002 f8ac4c4d75 MainLoop: Remove deprecated methods 2020-11-01 12:38:30 +01:00
Rémi Verschelde 7bc74b0fc8
Merge pull request #43241 from Calinou/doc-httprequest-fix-code-sample
Fix a variable being redeclared in the HTTPRequest code sample
2020-11-01 12:30:49 +01:00
Hugo Locurcio d7025c4167
Fix a variable being redeclared in the HTTPRequest code sample 2020-10-31 19:20:18 +01:00
bruvzg 4efcec3545
[iOS] Add missing ARC flag to the simulator build. 2020-10-30 18:47:42 +02:00
Rémi Verschelde 41f66761fd
Merge pull request #37158 from thebestnom/android-click-support
Support mouse events on Android
2020-10-30 16:00:03 +01:00
Rémi Verschelde f98db723b9
Merge pull request #43184 from Chaosus/fix_randi_range_biased
Fix biased output of randi_range
2020-10-30 15:00:44 +01:00
Rémi Verschelde b1ed10da1b
Merge pull request #43197 from jzulauf-lunarg/zulauf_sync_fix_cleanup
Synchronization - Clean subpass dependency init
2020-10-30 15:00:16 +01:00
Juan Linietsky 704d06d00f
Merge pull request #43194 from reduz/pixel-snap-refactor
Refactor pixel snapping.
2020-10-30 09:37:43 -03:00
reduz 0e6664539d Refactor pixel snapping.
-Rename pixel_snap to snap_2d_to_vertices
-Added snap_2d_to_transforms which is more useful

Fixes #41814
Solves proposal https://github.com/godotengine/godot-proposals/issues/1666
Supersedes #35606, supersedes #41535, supersedes #41534
2020-10-30 08:57:32 -03:00
Rémi Verschelde debb67918e
Merge pull request #43173 from volzhs/fix-tab-container
Fix crash in TabContainer in case of no content at all
2020-10-30 12:27:41 +01:00
John Zulauf 784f8fbbe5 Synchronization - Clean subpass dependency init
Fix incorrect subpass dependency initialization
2020-10-29 15:53:47 -06:00
Rémi Verschelde f6f38ac086
Merge pull request #42811 from Calinou/doc-packetpeerudp-wait-interrupt
Document how to interrupt `PacketPeerUDP.wait()`
2020-10-29 22:38:36 +01:00