Skip to content

Commit 16a6bdd

Browse files
authored
Merge pull request #75786 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.3) - 1st batch
2 parents 4762303 + 177be9b commit 16a6bdd

109 files changed

Lines changed: 867 additions & 301 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/android_builds.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: 🤖 Android Builds
2-
on: [push, pull_request]
2+
on:
3+
workflow_call:
34

45
# Global Settings
56
env:

.github/workflows/ios_builds.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: 🍏 iOS Builds
2-
on: [push, pull_request]
2+
on:
3+
workflow_call:
34

45
# Global Settings
56
env:

.github/workflows/linux_builds.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: 🐧 Linux Builds
2-
on: [push, pull_request]
2+
on:
3+
workflow_call:
34

45
# Global Settings
56
env:

.github/workflows/macos_builds.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: 🍎 macOS Builds
2-
on: [push, pull_request]
2+
on:
3+
workflow_call:
34

45
# Global Settings
56
env:

.github/workflows/runner.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 🔗 GHA
2+
on: [push, pull_request]
3+
4+
concurrency:
5+
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-runner
6+
cancel-in-progress: true
7+
8+
jobs:
9+
static-checks:
10+
name: 📊 Static
11+
uses: ./.github/workflows/static_checks.yml
12+
13+
android-build:
14+
name: 🤖 Android
15+
needs: static-checks
16+
uses: ./.github/workflows/android_builds.yml
17+
18+
ios-build:
19+
name: 🍏 iOS
20+
needs: static-checks
21+
uses: ./.github/workflows/ios_builds.yml
22+
23+
linux-build:
24+
name: 🐧 Linux
25+
needs: static-checks
26+
uses: ./.github/workflows/linux_builds.yml
27+
28+
macos-build:
29+
name: 🍎 macOS
30+
needs: static-checks
31+
uses: ./.github/workflows/macos_builds.yml
32+
33+
windows-build:
34+
name: 🏁 Windows
35+
needs: static-checks
36+
uses: ./.github/workflows/windows_builds.yml
37+
38+
web-build:
39+
name: 🌐 Web
40+
needs: static-checks
41+
uses: ./.github/workflows/web_builds.yml

.github/workflows/static_checks.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: 📊 Static Checks
2-
on: [push, pull_request]
2+
on:
3+
workflow_call:
34

45
concurrency:
56
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-static
@@ -21,7 +22,8 @@ jobs:
2122
sudo apt-get install -qq dos2unix clang-format-15 libxml2-utils python3-pip moreutils
2223
sudo update-alternatives --remove-all clang-format || true
2324
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 100
24-
sudo pip3 install black==22.3.0 pygments pytest==7.1.2 mypy==0.971
25+
sudo pip3 install black==22.3.0 pytest==7.1.2 mypy==0.971
26+
git config diff.wsErrorHighlight all
2527
2628
- name: File formatting checks (file_format.sh)
2729
run: |

.github/workflows/web_builds.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: 🌐 Web Builds
2-
on: [push, pull_request]
2+
on:
3+
workflow_call:
34

45
# Global Settings
56
env:

.github/workflows/windows_builds.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: 🏁 Windows Builds
2-
on: [push, pull_request]
2+
on:
3+
workflow_call:
34

45
# Global Settings
56
# SCONS_CACHE for windows must be set in the build environment
@@ -30,7 +31,7 @@ jobs:
3031
sconsflags: debug_symbols=no vsproj=yes
3132
bin: "./bin/godot.windows.editor.x86_64.exe"
3233

33-
- name: Template (target=template_release, tools=no)
34+
- name: Template (target=template_release)
3435
cache-name: windows-template
3536
target: template_release
3637
tests: false

CHANGELOG.md

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,123 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## [4.0.3] - TBD
8+
9+
See the [release announcement](https://godotengine.org/article/maintenance-release-godot-4-0-3) for details.
10+
11+
### Added
12+
13+
#### Editor
14+
15+
- Properly remember snapping options per-project ([GH-74682](https://github.com/godotengine/godot/pull/74682)).
16+
- Remember directory when installing templates file ([GH-74735](https://github.com/godotengine/godot/pull/74735)).
17+
- Improve editor state initialization ([GH-75563](https://github.com/godotengine/godot/pull/75563)).
18+
19+
#### Navigation
20+
21+
- Navigation: Expose NavigationAgent path postprocessing and pathfinding algorithm options ([GH-75326](https://github.com/godotengine/godot/pull/75326)).
22+
23+
#### Physics
24+
25+
- Warn when a concave polygon is assigned to ConvexPolygonShape2D ([GH-56671](https://github.com/godotengine/godot/pull/56671)).
26+
27+
### Changed
28+
29+
#### 3D
30+
31+
- Use physical shortcuts for freelook navigation in the editor ([GH-73651](https://github.com/godotengine/godot/pull/73651)).
32+
33+
#### Buildsystem
34+
35+
- Wait for static check results before starting other CI builds ([GH-65232](https://github.com/godotengine/godot/pull/65232)).
36+
- Remove obsolete 'tools' in a CI workflow name ([GH-75687](https://github.com/godotengine/godot/pull/75687)).
37+
- Visibly print trailing whitespace when static checks fail ([GH-75700](https://github.com/godotengine/godot/pull/75700)).
38+
39+
#### C#/.NET
40+
41+
- Truncate instead of round in Vector2/3/4 to Vector2I/3I/4I conversion ([GH-75477](https://github.com/godotengine/godot/pull/75477)).
42+
43+
#### Editor
44+
45+
- Prevent off-screen controls in editor ([GH-73646](https://github.com/godotengine/godot/pull/73646)).
46+
- Re-enable script editor File menu shortcuts when the menu is hidden ([GH-74319](https://github.com/godotengine/godot/pull/74319)).
47+
- Prevent color conversion of the big Godot logo ([GH-75653](https://github.com/godotengine/godot/pull/75653)).
48+
49+
#### GUI
50+
51+
- Ignore invisible children of GraphNode for minimum size ([GH-72240](https://github.com/godotengine/godot/pull/72240)).
52+
- Update `TextureProgressBar` upon texture changes ([GH-75532](https://github.com/godotengine/godot/pull/75532)).
53+
- Keep a copy of UTF-8 XML source string during the SVG font processing ([GH-75675](https://github.com/godotengine/godot/pull/75675)).
54+
55+
#### Import
56+
57+
- gltf: Remove obsolete hack to embed gltf textures in advanced import ([GH-75636](https://github.com/godotengine/godot/pull/75636)).
58+
59+
#### Physics
60+
61+
- Modify contact_max_allowed_penetration precision to 3 significant digits ([GH-75665](https://github.com/godotengine/godot/pull/75665)).
62+
63+
#### Rendering
64+
65+
- Recreate swap chain when suboptimal to avoid error spam ([GH-72859](https://github.com/godotengine/godot/pull/72859)).
66+
67+
#### Thirdparty
68+
69+
- thorvg updated to 0.8.4.
70+
71+
### Fixed
72+
73+
#### 2D
74+
75+
- Fix RemoteTransform2D could fail to update AnimatableBody2D's position or rotation ([GH-75487](https://github.com/godotengine/godot/pull/75487)).
76+
77+
#### Audio
78+
79+
- Fix AudioStreamPlayer2D crash when PhysicsServer2D runs on thread ([GH-75728](https://github.com/godotengine/godot/pull/75728)).
80+
81+
#### Buildsystem
82+
83+
- Fix the Python type error when creating the .sln file ([GH-75309](https://github.com/godotengine/godot/pull/75309)).
84+
85+
#### Core
86+
87+
- Fix moving position indicator out of bounds in FileAccessMemory ([GH-75641](https://github.com/godotengine/godot/pull/75641)).
88+
89+
#### Editor
90+
91+
- Fix off-by-one issue where "Go to Line" dialog shows the incorrect line number ([GH-75523](https://github.com/godotengine/godot/pull/75523)).
92+
93+
#### GUI
94+
95+
- Fix commenting collapsed function issue ([GH-75070](https://github.com/godotengine/godot/pull/75070)).
96+
- Fix fill align and trim with enabled dropcap in `RichTextLabel` ([GH-75504](https://github.com/godotengine/godot/pull/75504)).
97+
- Fix descriptions not showing for theme properties ([GH-75559](https://github.com/godotengine/godot/pull/75559)).
98+
- Fix some theme values affect the editor by setting a default value for them ([GH-75566](https://github.com/godotengine/godot/pull/75566)).
99+
- Fix several GraphEdit operations at zoom levels other than 100% ([GH-75595](https://github.com/godotengine/godot/pull/75595)).
100+
101+
#### Import
102+
103+
- SVG: fix tvg::Picture->size() and scale based errors. ([GH-75034](https://github.com/godotengine/godot/pull/75034)).
104+
105+
#### Input
106+
107+
- Fix guide button detection with XInput and Xbox Series controllers ([GH-73200](https://github.com/godotengine/godot/pull/73200)).
108+
- Fix the issue preventing dragging in the 2D editor ([GH-75113](https://github.com/godotengine/godot/pull/75113)).
109+
- Fix keycode/physical keycode mix up on web ([GH-75738](https://github.com/godotengine/godot/pull/75738)).
110+
111+
#### Navigation
112+
113+
- Navigation: Fix NavigationObstacles not being added to avoidance simulation ([GH-75756](https://github.com/godotengine/godot/pull/75756)).
114+
115+
#### Porting
116+
117+
- Windows: Fix clipboard relying on focused window ([GH-73878](https://github.com/godotengine/godot/pull/73878)).
118+
119+
#### Rendering
120+
121+
- Fix interpolation of R0 for metallic and calculation of the Fresnel Shlick term in SSR ([GH-75368](https://github.com/godotengine/godot/pull/75368)).
122+
123+
7124
## [4.0.2] - 2023-04-04
8125

9126
See the [release announcement](https://godotengine.org/article/maintenance-release-godot-4-0-2) for details.
@@ -2817,6 +2934,7 @@ See the [release announcement](https://godotengine.org/article/godot-3-3-has-arr
28172934
- Only WebAssembly is supported now, since all browsers supporting WebGL 2.0 also support WebAssembly.
28182935

28192936

2937+
[4.0.3]: https://github.com/godotengine/godot/compare/4.0.2-stable...4.0.3-stable
28202938
[4.0.2]: https://github.com/godotengine/godot/compare/4.0.1-stable...4.0.2-stable
28212939
[4.0.1]: https://github.com/godotengine/godot/compare/4.0-stable...4.0.1-stable
28222940
[4.0]: https://github.com/godotengine/godot/compare/3.2-stable...4.0-stable

core/input/godotcontrollerdb.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Source: https://github.com/godotengine/godot
33

44
# Windows
5-
__XINPUT_DEVICE__,XInput Gamepad,a:b12,b:b13,x:b14,y:b15,start:b4,back:b5,leftstick:b6,rightstick:b7,leftshoulder:b8,rightshoulder:b9,dpup:b0,dpdown:b1,dpleft:b2,dpright:b3,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,platform:Windows,
5+
__XINPUT_DEVICE__,XInput Gamepad,a:b12,b:b13,x:b14,y:b15,start:b4,guide:b10,back:b5,leftstick:b6,rightstick:b7,leftshoulder:b8,rightshoulder:b9,dpup:b0,dpdown:b1,dpleft:b2,dpright:b3,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,platform:Windows,
66

77
# Android
88
Default Android Gamepad,Default Controller,leftx:a0,lefty:a1,dpdown:h0.4,rightstick:b8,rightshoulder:b10,rightx:a2,start:b6,righty:a3,dpleft:h0.8,lefttrigger:a4,x:b2,dpup:h0.1,back:b4,leftstick:b7,leftshoulder:b9,y:b3,a:b0,dpright:h0.2,righttrigger:a5,b:b1,platform:Android,

0 commit comments

Comments
 (0)