Skip to content

Commit f59f57b

Browse files
authored
Merge branch 'godotengine:master' into add-per-shape-materials
2 parents de20ef0 + 45509c2 commit f59f57b

File tree

1,221 files changed

+883829
-359023
lines changed

Some content is hidden

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

1,221 files changed

+883829
-359023
lines changed

.github/CODEOWNERS

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,26 @@
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/ @godotengine/core
60+
/editor/scene/2d/ @godotengine/2d-editor
61+
/editor/scene/2d/physics @godotengine/2d-editor @godotengine/physics
62+
/editor/scene/3d/ @godotengine/3d-editor
63+
/editor/scene/3d/physics @godotengine/3d-editor @godotengine/physics
64+
/editor/scene/gui/ @godotengine/usability @godotengine/gui-nodes
5965
/editor/themes/ @godotengine/usability @godotengine/gui-nodes
66+
/editor/translations/ @godotengine/usability
6067

6168
# Main
6269

.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/linux_builds.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
SCONS_FLAGS: >-
88
dev_mode=yes
99
module_text_server_fb_enabled=yes
10-
"accesskit_sdk_path=${{ github.workspace }}/accesskit-c-0.16.0/"
10+
"accesskit_sdk_path=${{ github.workspace }}/accesskit-c-0.17.0/"
1111
GODOT_CPP_BRANCH: 4.4
1212
DOTNET_NOLOGO: true
1313
DOTNET_CLI_TELEMETRY_OPTOUT: true
@@ -162,12 +162,12 @@ jobs:
162162
uses: dsaltares/[email protected]
163163
with:
164164
repo: AccessKit/accesskit-c
165-
version: tags/0.16.0
166-
file: accesskit-c-0.16.0.zip
167-
target: accesskit-c-0.16.0/accesskit_c.zip
165+
version: tags/0.17.0
166+
file: accesskit-c-0.17.0.zip
167+
target: accesskit-c-0.17.0/accesskit_c.zip
168168

169169
- name: Extract pre-built AccessKit
170-
run: unzip -o accesskit-c-0.16.0/accesskit_c.zip
170+
run: unzip -o accesskit-c-0.17.0/accesskit_c.zip
171171

172172
- name: Install mold linker
173173
if: matrix.proj-test

.github/workflows/macos_builds.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
SCONS_FLAGS: >-
88
dev_mode=yes
99
module_text_server_fb_enabled=yes
10-
"accesskit_sdk_path=${{ github.workspace }}/accesskit-c-0.16.0/"
10+
"accesskit_sdk_path=${{ github.workspace }}/accesskit-c-0.17.0/"
1111
1212
jobs:
1313
build-macos:
@@ -35,6 +35,9 @@ jobs:
3535
with:
3636
submodules: recursive
3737

38+
- name: Select Xcode 16
39+
run: sudo xcode-select -s /Applications/Xcode_16.2.app
40+
3841
- name: Restore Godot build cache
3942
uses: ./.github/actions/godot-cache-restore
4043
with:
@@ -48,12 +51,12 @@ jobs:
4851
uses: dsaltares/[email protected]
4952
with:
5053
repo: AccessKit/accesskit-c
51-
version: tags/0.16.0
52-
file: accesskit-c-0.16.0.zip
53-
target: accesskit-c-0.16.0/accesskit_c.zip
54+
version: tags/0.17.0
55+
file: accesskit-c-0.17.0.zip
56+
target: accesskit-c-0.17.0/accesskit_c.zip
5457

5558
- name: Extract pre-built AccessKit
56-
run: unzip -o accesskit-c-0.16.0/accesskit_c.zip
59+
run: unzip -o accesskit-c-0.17.0/accesskit_c.zip
5760

5861
- name: Setup Vulkan SDK
5962
id: vulkan-sdk

.github/workflows/web_builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
tests=no
1010
debug_symbols=no
1111
use_closure_compiler=yes
12-
EM_VERSION: 3.1.64
12+
EM_VERSION: 4.0.11
1313

1414
jobs:
1515
web-template:

.github/workflows/windows_builds.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
debug_symbols=no
1111
d3d12=yes
1212
"angle_libs=${{ github.workspace }}/"
13-
"accesskit_sdk_path=${{ github.workspace }}/accesskit-c-0.16.0/"
13+
"accesskit_sdk_path=${{ github.workspace }}/accesskit-c-0.17.0/"
1414
SCONS_CACHE_MSVC_CONFIG: true
1515
PYTHONIOENCODING: utf8
1616

@@ -90,12 +90,12 @@ jobs:
9090
uses: dsaltares/[email protected]
9191
with:
9292
repo: AccessKit/accesskit-c
93-
version: tags/0.16.0
94-
file: accesskit-c-0.16.0.zip
95-
target: accesskit-c-0.16.0/accesskit_c.zip
93+
version: tags/0.17.0
94+
file: accesskit-c-0.17.0.zip
95+
target: accesskit-c-0.17.0/accesskit_c.zip
9696

9797
- name: Extract pre-built AccessKit
98-
run: unzip -o accesskit-c-0.16.0/accesskit_c.zip
98+
run: unzip -o accesskit-c-0.17.0/accesskit_c.zip
9999

100100
- name: Compilation
101101
uses: ./.github/actions/godot-build

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ xcuserdata/
219219
*.xcodeproj/*
220220
!misc/misc/dist/ios_xcode/godot_ios.xcodeproj/project.pbxproj
221221

222+
# Zed
223+
.zed/
224+
222225
##############################
223226
### Visual Studio specific ###
224227
##############################

COPYRIGHT.txt

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ Copyright: 2001, Robert Penner
145145
2007-2014, Juan Linietsky, Ariel Manzur
146146
License: Expat
147147

148+
Files: servers/audio/effects/audio_effect_pitch_shift.cpp
149+
Copyright: 2014-present Godot Engine contributors
150+
2007-2014 Juan Linietsky, Ariel Manzur
151+
1999-2015 Stephan M. Bernsee <s.bernsee [AT] zynaptiq [DOT] com>
152+
License: Expat and WOL
153+
148154
Files: ./servers/rendering/renderer_rd/shaders/effects/tonemap.glsl
149155
Comment: NVidia's FXAA 3.11, simplified by Simon Rodriguez
150156
Copyright: 2014-2015, NVIDIA CORPORATION
@@ -309,7 +315,7 @@ Files: thirdparty/grisu2/*
309315
Comment: Grisu2 float serialization algorithm
310316
Copyright: 2009, Florian Loitsch
311317
2018-2023, The simdjson authors
312-
License: Expat and Apache
318+
License: Expat and Apache-2.0
313319

314320
Files: thirdparty/harfbuzz/*
315321
Comment: HarfBuzz text shaping library
@@ -2273,6 +2279,15 @@ License: Unlicense
22732279
.
22742280
For more information, please refer to <https://unlicense.org/>
22752281

2282+
License: WOL
2283+
The Wide Open License (WOL)
2284+
.
2285+
Permission to use, copy, modify, distribute and sell this software and its
2286+
documentation for any purpose is hereby granted without fee, provided that
2287+
the above copyright notice and this license appear in all source copies.
2288+
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF
2289+
ANY KIND. See https://dspguru.com/wide-open-license/ for more information.
2290+
22762291
License: Zlib
22772292
This software is provided 'as-is', without any express or implied
22782293
warranty. In no event will the authors be held liable for any damages

core/core_bind.cpp

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,10 @@ void Logger::log_message(const String &p_text, bool p_error) {
233233
////// OS //////
234234

235235
void OS::LoggerBind::logv(const char *p_format, va_list p_list, bool p_err) {
236-
if (!should_log(p_err) || is_logging) {
236+
if (!should_log(p_err)) {
237237
return;
238238
}
239239

240-
is_logging = true;
241-
242240
constexpr int static_buf_size = 1024;
243241
char static_buf[static_buf_size] = { '\0' };
244242
char *buf = static_buf;
@@ -260,12 +258,10 @@ void OS::LoggerBind::logv(const char *p_format, va_list p_list, bool p_err) {
260258
if (len >= static_buf_size) {
261259
Memory::free_static(buf);
262260
}
263-
264-
is_logging = false;
265261
}
266262

267263
void OS::LoggerBind::log_error(const char *p_function, const char *p_file, int p_line, const char *p_code, const char *p_rationale, bool p_editor_notify, ErrorType p_type, const Vector<Ref<ScriptBacktrace>> &p_script_backtraces) {
268-
if (!should_log(true) || is_logging) {
264+
if (!should_log(true)) {
269265
return;
270266
}
271267

@@ -275,13 +271,9 @@ void OS::LoggerBind::log_error(const char *p_function, const char *p_file, int p
275271
backtraces[i] = p_script_backtraces[i];
276272
}
277273

278-
is_logging = true;
279-
280274
for (Ref<CoreBind::Logger> &logger : loggers) {
281275
logger->log_error(p_function, p_file, p_line, p_code, p_rationale, p_editor_notify, CoreBind::Logger::ErrorType(p_type), backtraces);
282276
}
283-
284-
is_logging = false;
285277
}
286278

287279
PackedByteArray OS::get_entropy(int p_bytes) {

core/core_bind.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ class OS : public Object {
147147
mutable HashMap<String, bool> feature_cache;
148148

149149
class LoggerBind : public ::Logger {
150-
inline static thread_local bool is_logging = false;
151-
152150
public:
153151
LocalVector<Ref<CoreBind::Logger>> loggers;
154152

0 commit comments

Comments
 (0)