Commit Graph

31565 Commits

Author SHA1 Message Date
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
Hugo Locurcio c3b246e6af
Rename the `type` parameter to `node_type` in Theme and Control
This makes it clearer that it expects a node type as a string
(such as "Label") instead of a type like "TYPE_ARRAY".
This is backwards-compatible since only the name of the parameter
is changed, not its order.
2020-10-27 14:58:52 +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
Rémi Verschelde f594f31823
Merge pull request #43088 from neikeq/fix-custom-event-signal-hot-reload
C#: Fix custom event signals crash on hot-reload
2020-10-27 08:07:33 +01:00
K. S. Ernest (iFire) Lee b2d5b619fd Changes for 43094 mingw llvm build error. 2020-10-26 19:58:44 -07:00
Haoyu Qiu 0dfe28d93d Fixes property revert for inherited child nodes 2020-10-27 10:53:27 +08:00
Rémi Verschelde 0e3b011dee
Merge pull request #43113 from Xrayez/rng-randbase-protected
Make `randbase` member protected in `RandomNumberGenerator`
2020-10-27 00:57:49 +01:00
Andrii Doroshenko (Xrayez) 1923f0d302 Make `randbase` member protected in `RandomNumberGenerator`
Allows to extend `RandomNumberGenerator` via C++ modules.
2020-10-27 01:52:15 +02:00
Dustin Petersohn 669f21d367 Improved documentation for TileMap.cell_y_sort 2020-10-27 00:30:14 +01:00
Rémi Verschelde 47e9fc22c7
Merge pull request #42677 from groud/fix_error_on_attach_script
Fix error on attaching script
2020-10-27 00:23:50 +01:00
Rémi Verschelde c94ae3cf84
Merge pull request #43112 from akien-mga/vulkan-loader-readd-windows-patch
vulkan: Re-add Windows patch to fix static library use
2020-10-26 23:59:16 +01:00
Rémi Verschelde d767c0eeea
Merge pull request #43109 from bruvzg/gridmap_ub
Fix uninitialized `GridMapEditor::node` and `InputMapEditor::setting` variables.
2020-10-26 23:39:17 +01:00
Rémi Verschelde 9000db505e
vulkan: Re-add Windows patch to fix static library use
Fixes #43105.
2020-10-26 23:30:47 +01:00
Gilles Roudière 6386bf60ea Fix error on attaching script 2020-10-26 23:26:44 +01:00
Rémi Verschelde 7b27dccbe0
Merge pull request #43099 from timothyqiu/instanced-revert
Fixes property revert after saving instanced scene
2020-10-26 22:59:29 +01:00