Commit Graph

31112 Commits

Author SHA1 Message Date
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
Rémi Verschelde 9ab6cef2ad
Merge pull request #43192 from YeldhamDev/poly2deditor_buttons_flat
Set previous tool buttons in the Polygon2D editor to be flat again
2020-10-29 21:35:34 +01:00
Rémi Verschelde 6bdcaff1e2
Merge pull request #43191 from YeldhamDev/poly2deditor_move_button_fix
Fix "Move Points" button sometimes not showing up on UV mode in the Polygon2D editor
2020-10-29 21:02:16 +01:00
Michael Alexsander 3b0cb48bcd Set previous tool buttons in the Polygon2D editor to be flat again 2020-10-29 16:53:41 -03:00
Michael Alexsander 4b74019ca3 Fix "Move Points" button sometimes not showing up on UV mode in the Polygon2D editor 2020-10-29 16:45:17 -03:00
Rémi Verschelde 5bb7c7c367
Merge pull request #43182 from akien-mga/vulkan-loader-mingw-fixup
vulkan: Backport build fix for MinGW-w64 8.0.0
2020-10-29 14:06:08 +01:00
Yuri Roubinsky 31faa1f226 Fix biased output of randi_range 2020-10-29 15:41:00 +03:00
Rémi Verschelde 6a951267ae
vulkan: Backport build fix for MinGW-w64 8.0.0
Taken from https://github.com/KhronosGroup/Vulkan-Loader/pull/475.

Supersedes and reverts #43119 since the upstream change removes the need for
that custom define.
2020-10-29 12:47:35 +01:00
volzhs 8a588343db Fix crash in TabContainer in case of no content at all 2020-10-29 19:52:21 +09:00
Rémi Verschelde a4f70d7e6c
Merge pull request #43178 from m4gr3d/update_android_plugins
Update android gradle plugins versions
2020-10-29 08:34:03 +01:00
Rémi Verschelde 13e93fe904
Merge pull request #43086 from SirQuartz/patch-2
Clarify what the "item_rect_changed" signal does
2020-10-29 08:04:33 +01:00
Fredia Huya-Kouadio edf762fba6 Add a separate `nativeSrcsConfigs` module to handle Android Studio constraints for native code editor support. 2020-10-29 00:01:14 -07:00
Fredia Huya-Kouadio aff7cf4390 Update the gradle plugins 2020-10-28 23:59:33 -07:00
Juan Linietsky 50da616eeb
Merge pull request #43167 from reduz/canvas-group
Implement CanvasGroup and CanvasItem clipping
2020-10-28 22:29:59 -03:00
Juan Linietsky a65481dd35
Update scene/resources/dynamic_font.cpp
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-10-28 22:09:37 -03:00
reduz 8ab9b39707 Implement CanvasGroup and CanvasItem clipping
-Allows merging several 2D objects into a single draw operation
-Use current node to clip children nodes
-Further fixes to Vulkan barriers
-Changed font texture generation to white, fixes dark eges when blurred
-Other small misc fixes to backbuffer code.
2020-10-28 18:53:32 -03:00
Rémi Verschelde 2eaedcf14e
Merge pull request #42361 from akien-mga/vulkan-layers-opt-in
Vulkan: Make validation layers optional
2020-10-28 21:43:22 +01:00
SirQuartz 120ef02ca3 Clarify what the "item_rect_changed" signal does 2020-10-28 15:59:14 +01:00
Rémi Verschelde 1ee507d62c
i18n: Sync translations with Weblate
(cherry picked from commit 284dae021a)
2020-10-28 15:55:15 +01:00
Hugo Locurcio a1f81a52df
Improve the documentation related to fullscreen and borderless settings 2020-10-28 14:30:33 +01:00
Rémi Verschelde 4960894880
Update AUTHORS and DONORS list
New corporate sponsors:
  Spiffcode (Platinum)
  ASIFA-Hollywood (Silver)
  Zenva Academy (Silver)

Thanks to all contributors and donors for making Godot possible!
2020-10-28 14:06:22 +01:00
Yuri Roubinsky 7495fdfc5b
Merge pull request #43154 from Chaosus/text_edit_fix
Removed redundant line from TextEdit
2020-10-28 13:25:06 +03:00
Yuri Roubinsky c3df61a602 Removed redundant line from TextEdit
introduced in https://github.com/godotengine/godot/pull/43026
2020-10-28 12:56:20 +03:00
Rémi Verschelde 6328f7a45c
Merge pull request #43147 from Mallos/fix/sprite2d-rect
fix(sprite2d): Rect is not handling pixel snap
2020-10-28 10:16:34 +01:00
Rémi Verschelde 45da7d579a
Merge pull request #43153 from nekomatata/android-build-version-close
Release .build_version file handle in Android custom build export
2020-10-28 10:03:18 +01:00
Rémi Verschelde 60ad64a101
Merge pull request #42766 from volzhs/tab-container
Put unselected tabs back in TabContainer control
2020-10-28 09:51:41 +01:00
Rémi Verschelde 765b0a0f31
Merge pull request #43053 from Ev1lbl0w/bugfix-shell-open
Changed shell_open behaviour
2020-10-28 09:17:57 +01:00
PouleyKetchoupp b271315bac Release .build_version file handle in Android custom build export 2020-10-28 09:07:20 +01:00
Eric Tuvesson e892a92ad6 fix(sprite2d): Rect is not handling pixel snap
related https://github.com/godotengine/godot/issues/42985
2020-10-27 23:34:19 +01:00
Rémi Verschelde 98ee852fd3
Merge pull request #43139 from Calinou/doc-unproject-position-behind
Document hiding a Control when its reference point is behind the camera
2020-10-27 23:18:16 +01:00
Rémi Verschelde bc1eaab3d8
Merge pull request #43104 from Klowner/android-p-cutout-support
Implement DisplayServer::screen_get_usable_rect() for Android
2020-10-27 20:25:12 +01:00
Mark Riedesel 96e22bd9fb Implement OS.get_window_safe_area() for Android 2020-10-27 13:14:00 -04:00
Hugo Locurcio b3a6937c0c
Document hiding a Control when its reference point is behind the camera
See https://github.com/godotengine/godot/issues/1725.
2020-10-27 17:37:03 +01:00
Rémi Verschelde 54e6338c9b
Vulkan: Make validation layers optional
They're now disabled by default, and can be enabled with the command line
argument `--vk-layers`.

When enabled, the errors about them being missing are now warnings, as
users were confused and thought this meant Vulkan is broken for them.

Fix crash in `~VulkanContext` when validation layers are disabled (exposed by
this PR since before they could not be disabled without source modification).

Also moved VulkanContext member initializations to header.

Fixes #37102.
2020-10-27 16:19:15 +01:00
Rémi Verschelde 67f64ef4fe
Merge pull request #43131 from groud/fix_global_pos_set_as_toplevel
Fixes setting top_level not updating the global position
2020-10-27 15:20:41 +01:00
Gilles Roudière 131a7b58c8 Fixes setting top_level not updating the global position 2020-10-27 13:44:35 +01:00
Yuri Roubinsky 5479a6946b
Merge pull request #43123 from lukostello/vshaderparenfix
Visual Shader Parenthesis fix
2020-10-27 14:18:27 +03:00
Rémi Verschelde fddbfdba91
Merge pull request #43100 from madmiraal/apply-upstream-391
Apply upstream gamecontrollerdb patch 391.
2020-10-27 08:56:13 +01:00
Rémi Verschelde b53e2744a4
Merge pull request #43119 from fire/llvm-mingw-error
Changes for 43094 mingw llvm build error.
2020-10-27 08:54:26 +01:00
Rémi Verschelde 7869d318c1
Merge pull request #43114 from DustOneHub/doc-tilemap
Improved documentation for TileMap.cell_y_sort
2020-10-27 08:42:58 +01:00
Rémi Verschelde 1a1140d92b
Merge pull request #43118 from timothyqiu/revert-inherited-default
Fix property revert for inherited child nodes
2020-10-27 08:38:06 +01:00
Luke Costello 65eb02b236 Visual Shader Parenthesis fix
missing parenthesis were added to prevent conditional statement from interacting with operations
2020-10-27 03:20:29 -04:00
Rémi Verschelde c11992ed48
Merge pull request #43029 from neikeq/offline-nuget-fallback
C#: Make editor create NuGet fallback folder for Godot packages
2020-10-27 08:07:58 +01:00