Skip to content

Commit 93d9f36

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 5e2c5f0 + 60b7b8b commit 93d9f36

File tree

4,401 files changed

+1372299
-537754
lines changed

Some content is hidden

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

4,401 files changed

+1372299
-537754
lines changed

.clang-tidy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Checks:
22
- -*
33
- cppcoreguidelines-pro-type-member-init
4+
- modernize-deprecated-headers
45
- modernize-redundant-void-arg
56
- modernize-use-bool-literals
67
- modernize-use-default-member-init
@@ -14,6 +15,7 @@ FormatStyle: file
1415
CheckOptions:
1516
cppcoreguidelines-pro-type-member-init.IgnoreArrays: true
1617
cppcoreguidelines-pro-type-member-init.UseAssignment: true
18+
modernize-deprecated-headers.CheckHeaderFile: true
1719
modernize-use-bool-literals.IgnoreMacros: false
1820
modernize-use-default-member-init.IgnoreMacros: false
1921
modernize-use-default-member-init.UseAssignment: true

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ thirdparty/* linguist-vendored
99
*.bat eol=crlf
1010
*.sln eol=crlf
1111
*.csproj eol=crlf
12-
misc/msvs/*.template eol=crlf
12+
misc/msvs/* eol=crlf
1313
# And some test files where the EOL matters
1414
*.test.txt -text
1515

.github/CODEOWNERS

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,25 @@
4444

4545
# Editor
4646

47-
/editor/**/*2d* @godotengine/2d-editor
48-
/editor/**/*3d* @godotengine/3d-editor
49-
/editor/**/*audio* @godotengine/audio
50-
/editor/**/*code* @godotengine/script-editor
51-
/editor/**/*debugger* @godotengine/debugger
52-
/editor/**/*dock* @godotengine/docks
53-
/editor/**/*script* @godotengine/script-editor
54-
/editor/**/*shader* @godotengine/shaders
47+
/editor/ @godotengine/docks
48+
/editor/script/ @godotengine/script-editor
49+
/editor/shader/ @godotengine/script-editor @godotengine/shaders
50+
/editor/animation/ @godotengine/animation
51+
/editor/audio/ @godotengine/audio
5552
/editor/debugger/ @godotengine/debugger
53+
/editor/doc/ @godotengine/documentation
54+
/editor/docks/ @godotengine/docks
5655
/editor/gui/ @godotengine/usability @godotengine/gui-nodes
5756
/editor/icons/ @godotengine/usability
5857
/editor/import/ @godotengine/import
58+
/editor/inspector/ @godotengine/docks
59+
/editor/scene/2d/ @godotengine/2d-editor
60+
/editor/scene/2d/physics @godotengine/2d-editor @godotengine/physics
61+
/editor/scene/3d/ @godotengine/3d-editor
62+
/editor/scene/3d/physics @godotengine/3d-editor @godotengine/physics
63+
/editor/scene/gui/ @godotengine/gui-nodes
5964
/editor/themes/ @godotengine/usability @godotengine/gui-nodes
65+
/editor/translations/ @godotengine/usability
6066

6167
# Main
6268

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ Please target the `master` branch in priority.
44
Relevant fixes are cherry-picked for stable branches as needed by maintainers.
55
66
To speed up the contribution process and avoid CI errors, please set up pre-commit hooks locally:
7-
https://docs.godotengine.org/en/latest/contributing/development/code_style_guidelines.html
7+
https://contributing.godotengine.org/en/latest/engine/guidelines/code_style.html
88
-->

.github/actions/godot-build/action.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,26 @@ inputs:
55
target:
66
description: Build target (editor, template_release, template_debug).
77
default: editor
8-
tests:
9-
description: Unit tests.
10-
default: false
11-
required: false
8+
type: choice
9+
options: [editor, template_debug, template_release]
1210
platform:
1311
description: Target platform.
14-
required: false
15-
sconsflags:
12+
type: string
13+
scons-flags:
1614
description: Additional SCons flags.
17-
default: ""
18-
required: false
15+
type: string
1916
scons-cache:
2017
description: The SCons cache path.
2118
default: ${{ github.workspace }}/.scons_cache/
19+
type: string
2220

2321
runs:
2422
using: composite
2523
steps:
2624
- name: SCons Build
2725
shell: sh
28-
env:
29-
SCONSFLAGS: ${{ inputs.sconsflags }}
3026
run: |
31-
echo "Building with flags:" platform=${{ inputs.platform }} target=${{ inputs.target }} tests=${{ inputs.tests }} ${{ env.SCONSFLAGS }} "cache_path=${{ inputs.scons-cache }}" redirect_build_objects=no
27+
echo "Building with flags:" platform=${{ inputs.platform }} target=${{ inputs.target }} ${{ inputs.scons-flags }} "cache_path=${{ inputs.scons-cache }}" redirect_build_objects=no
3228
3329
if [ "${{ inputs.target }}" != "editor" ]; then
3430
# Ensure we don't include editor code in export template builds.
@@ -42,5 +38,5 @@ runs:
4238
export BUILD_NAME="gh"
4339
fi
4440
45-
scons platform=${{ inputs.platform }} target=${{ inputs.target }} tests=${{ inputs.tests }} ${{ env.SCONSFLAGS }} "cache_path=${{ inputs.scons-cache }}" redirect_build_objects=no
41+
scons platform=${{ inputs.platform }} target=${{ inputs.target }} ${{ inputs.scons-flags }} "cache_path=${{ inputs.scons-cache }}" redirect_build_objects=no
4642
ls -l bin/

.github/actions/godot-cpp-build/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,4 @@ runs:
3535

3636
- name: SCons Build
3737
shell: sh
38-
env:
39-
SCONS_CACHE: ${{ inputs.scons-cache }}
4038
run: scons --directory=./godot-cpp/test "gdextension_dir=${{ github.workspace }}" ${{ inputs.scons-flags }}

.github/actions/godot-project-test/action.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,22 @@ runs:
1919
2020
# Editor is quite complicated piece of software, so it is easy to introduce bug here.
2121

22+
- name: Open and close editor (Headless)
23+
shell: sh
24+
run: |
25+
xvfb-run ${{ inputs.bin }} --headless --import --path test_project 2>&1 | tee sanitizers_log.txt || true
26+
misc/scripts/check_ci_log.py sanitizers_log.txt
27+
2228
- name: Open and close editor (Vulkan)
2329
shell: sh
2430
run: |
25-
xvfb-run ${{ inputs.bin }} --audio-driver Dummy --editor --quit --path test_project 2>&1 | tee sanitizers_log.txt || true
31+
xvfb-run ${{ inputs.bin }} --audio-driver Dummy --import --path test_project 2>&1 | tee sanitizers_log.txt || true
2632
misc/scripts/check_ci_log.py sanitizers_log.txt
2733
2834
- name: Open and close editor (GLES3)
2935
shell: sh
3036
run: |
31-
DRI_PRIME=0 xvfb-run ${{ inputs.bin }} --audio-driver Dummy --rendering-driver opengl3 --editor --quit --path test_project 2>&1 | tee sanitizers_log.txt || true
37+
DRI_PRIME=0 xvfb-run ${{ inputs.bin }} --audio-driver Dummy --rendering-driver opengl3 --import --path test_project 2>&1 | tee sanitizers_log.txt || true
3238
misc/scripts/check_ci_log.py sanitizers_log.txt
3339
3440
# Run test project

.github/workflows/android_builds.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on:
44

55
# Global Settings
66
env:
7-
SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no module_text_server_fb_enabled=yes strict_checks=yes
7+
SCONS_FLAGS: >-
8+
dev_mode=yes
9+
module_text_server_fb_enabled=yes
10+
tests=no
11+
swappy=yes
812
913
jobs:
1014
build-android:
@@ -18,20 +22,19 @@ jobs:
1822
- name: Editor (target=editor)
1923
cache-name: android-editor
2024
target: editor
21-
tests: false
22-
sconsflags: arch=arm64 production=yes swappy=yes
25+
scons-flags: >-
26+
arch=arm64
27+
production=yes
2328
24-
- name: Template arm32 (target=template_release, arch=arm32)
29+
- name: Template arm32 (target=template_debug, arch=arm32)
2530
cache-name: android-template-arm32
26-
target: template_release
27-
tests: false
28-
sconsflags: arch=arm32 swappy=yes
31+
target: template_debug
32+
scons-flags: arch=arm32
2933

30-
- name: Template arm64 (target=template_release, arch=arm64)
34+
- name: Template arm64 (target=template_debug, arch=arm64)
3135
cache-name: android-template-arm64
32-
target: template_release
33-
tests: false
34-
sconsflags: arch=arm64 swappy=yes
36+
target: template_debug
37+
scons-flags: arch=arm64
3538

3639
steps:
3740
- name: Checkout
@@ -68,10 +71,9 @@ jobs:
6871
- name: Compilation
6972
uses: ./.github/actions/godot-build
7073
with:
71-
sconsflags: ${{ env.SCONSFLAGS }} ${{ matrix.sconsflags }}
74+
scons-flags: ${{ env.SCONS_FLAGS }} ${{ matrix.scons-flags }}
7275
platform: android
7376
target: ${{ matrix.target }}
74-
tests: ${{ matrix.tests }}
7577

7678
- name: Save Godot build cache
7779
uses: ./.github/actions/godot-cache-save
@@ -80,7 +82,7 @@ jobs:
8082
continue-on-error: true
8183

8284
- name: Generate Godot templates
83-
if: matrix.target == 'template_release'
85+
if: matrix.target == 'template_debug'
8486
run: |
8587
cd platform/android/java
8688
./gradlew generateGodotTemplates

.github/workflows/ios_builds.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on:
44

55
# Global Settings
66
env:
7-
SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no module_text_server_fb_enabled=yes strict_checks=yes
7+
SCONS_FLAGS: >-
8+
dev_mode=yes
9+
module_text_server_fb_enabled=yes
10+
tests=no
11+
debug_symbols=no
812
913
jobs:
1014
ios-template:
@@ -28,10 +32,9 @@ jobs:
2832
- name: Compilation (arm64)
2933
uses: ./.github/actions/godot-build
3034
with:
31-
sconsflags: ${{ env.SCONSFLAGS }}
35+
scons-flags: ${{ env.SCONS_FLAGS }}
3236
platform: ios
3337
target: template_release
34-
tests: false
3538

3639
- name: Save Godot build cache
3740
uses: ./.github/actions/godot-cache-save

0 commit comments

Comments
 (0)