Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #9

Merged
merged 147 commits into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
df61dca
Change `VisualShaderNodeVec4Constant` type to vec4
Chaosus Jul 22, 2024
32a5b5b
Make bottom panel switch when pinned and removed
kitbdev Nov 11, 2024
30a573e
Fix TODO comments in class reference
RedMser Nov 14, 2024
d514ab2
Fixes use after free in redo of "Create Custom Bone2D(s) from Node(s)"
amarsero Nov 28, 2024
93d24db
Change Event Configuration dialog wider and its input list taller
miv391 Nov 29, 2024
4e1f534
Fix loading floating dock in single window mode
kitbdev Dec 1, 2024
d471210
libpng: Update to upstream 1.6.44
akien-mga Dec 3, 2024
159d70a
Allow Viewport children to lock, group, and key
kitbdev Dec 4, 2024
d5e4d2f
tinyexr: Update to upstream 1.0.9
akien-mga Dec 4, 2024
c96d9a8
Fix missing focus outline for 2D and 3D editor viewports
Giganzo Dec 7, 2024
a6c5373
[Web] Fix `DirAccess::unlink()` not updating the IDBFS
adamscott Dec 9, 2024
7321c18
Fix DependencyRemoveDialog not handling UIDs
KoBeWi Dec 14, 2024
830f250
fix: canvas background mode not clearing correctly when using gles3 g…
Namey5 Dec 14, 2024
975369f
[.NET] Fix EmitSignal with typed array parameters
raulsntos Dec 20, 2024
d798068
[WS] Fix wslay multi-frame message parsing
Faless Dec 20, 2024
b536b3e
SCons: Don't update node count when empty
Repiteo Dec 20, 2024
b719eed
Fix last character deletion in Wayland IME input
buresu Dec 21, 2024
dbc0cc1
Add `Tween::ignore_time_scale`
tvenclovas96 Dec 22, 2024
d9ad5d1
OpenXR: Fix hiding/showing composition layers using hole punching
dsnopek Dec 23, 2024
62c1791
Add more property hint ranges for project settings
Calinou Oct 26, 2024
e4e966b
Fix #100727 by giving the project manager title to the node instead o…
mdelorme Dec 22, 2024
f0c077d
fix collision shape debug color breaking gdextension
TCROC Dec 23, 2024
3cc5f6e
Remove leftover print in lightmapper_rd.cpp
Geometror Dec 23, 2024
ca4b29b
Standardize all "Prints" comments in documentation
Mickeon Nov 13, 2024
a1846b2
Improve use of `Ref.is_null/valid`
AThousandShips Aug 25, 2024
8d1a3e2
[Core] Align naming and args of `(SceneTree)Timer` time scale methods
AThousandShips Dec 22, 2024
b643599
Metal: Fix crash when uniform set is empty for slot binding mode
stuartcarnie Dec 23, 2024
e0ca8be
Re-create missing .uid files
KoBeWi Dec 24, 2024
46c23e1
Don't set Variant::Type in destructor
hpvb Dec 25, 2024
7ad9d23
Updates how the `REQUEST_INSTALL_PACKAGES` permission is handled
m4gr3d Dec 24, 2024
88baa2f
Compatibility: Fix ASTC HDR extension detection
BlueCube3310 Dec 26, 2024
d310d9f
Fix gaps in CSGPolygon3D spin mode at 360 degrees
Lielay9 Dec 26, 2024
81b1138
Fix icon UIDs in Project Manager
KoBeWi Dec 21, 2024
2845995
.clang-format: change AllowShortFunctionsOnASingleLine back to `Inline`
nikitalita Dec 26, 2024
f1b3f17
Add MagnifyGesture to Advanced Import dialog zooming
paddy-exe May 22, 2024
4e48b19
Add Color.from_rgba8 and deprecate Color8
KoBeWi Dec 26, 2024
40f1712
Fix User-supplied Normals Being Ignored
StaydMcMuffin Dec 27, 2024
6478806
Fix scroll to symbol's documentation
ydeltastar Dec 7, 2024
24f5361
Make transform elements BitField in RetargetModifier
TokageItLab Dec 25, 2024
c5b61d4
ProjectManager: Update project list placeholder when project created …
larspet Dec 27, 2024
8b3fbd5
Fixed docs for add_context_submenu_item
SlashScreen Dec 27, 2024
16233db
Ensure that directory exists in create_test.py
Geometror Dec 28, 2024
b9f0e0c
Fixed Mold-search in older systems
OS-of-S Dec 26, 2024
c9632d0
Fix regression with shadows when light range is 0 or close
Flarkk Dec 28, 2024
d74325f
Fix error when favoriting some types of properties
YeldhamDev Nov 26, 2024
e689c12
Add visualization of 3D particle emission shapes
paddy-exe Dec 4, 2024
debf19a
Style: Add `.clangd` config
Repiteo Dec 26, 2024
a453348
Merge pull request #100828 from Repiteo/style/clangd
Repiteo Dec 29, 2024
a8dfdc9
Merge pull request #100867 from Geometror/ensure-dir-exists-create-te…
Repiteo Dec 29, 2024
f42e40b
Merge pull request #100830 from nikitalita/patch-3
Repiteo Dec 29, 2024
a9b6b3d
Merge pull request #100776 from AThousandShips/improve_null_checks
Repiteo Dec 29, 2024
efa1443
Merge pull request #99876 from Mickeon/documentation-prints-obsession
Repiteo Dec 29, 2024
048f844
Style: Minor pre-commit & `yaml` adjustments
Repiteo Dec 29, 2024
cfac31b
Fix debugging embedded game does not refocus on continue
Hilderin Dec 29, 2024
4f7e04a
CI: Only define single concurrency
Repiteo Dec 29, 2024
1b04e6f
Respect PROPERTY_USAGE_NEVER_DUPLICATE with Make Sub-Resources Unique
KoBeWi Dec 30, 2024
47db9c0
ColorPicker: Fix cursor position in OKHSL wheel
beicause Dec 30, 2024
888883d
Merge pull request #100862 from Flarkk/fix_100850
Repiteo Dec 30, 2024
01c6e18
Merge pull request #100745 from mdelorme/mdelorme/issue_100727
Repiteo Dec 30, 2024
0e00f41
Merge pull request #100735 from tvenclovas96/tween_ignore_time_scale
Repiteo Dec 30, 2024
b987e90
Merge pull request #100156 from ydeltastar/fix-doc-scroll
Repiteo Dec 30, 2024
9ec36eb
Merge pull request #100916 from Hilderin/fix-embed-focus-on-debug-con…
Repiteo Dec 30, 2024
d7e9971
Merge pull request #100908 from Repiteo/style/yaml-tweaks
Repiteo Dec 30, 2024
1e63ed2
Merge pull request #99723 from YeldhamDev/script_favorite_fix
Repiteo Dec 30, 2024
77eb92f
Merge pull request #100826 from Lielay9/csg-spin-360
Repiteo Dec 30, 2024
953db6e
Merge pull request #100752 from AThousandShips/unify_timer_scale_naming
Repiteo Dec 30, 2024
e9cebfa
Merge pull request #100865 from SlashScreen/fix_plugin_docs
Repiteo Dec 30, 2024
df2b117
Merge pull request #100317 from TCROC/fix-collision-shape-debug-color…
Repiteo Dec 30, 2024
58b48a9
Merge pull request #100859 from StaydMcMuffin/scene-shaders-user-norm…
Repiteo Dec 30, 2024
0efced3
Merge pull request #100822 from BlueCube3310/gles-hdr-astc
Repiteo Dec 30, 2024
3994e56
Merge pull request #100827 from OS-of-S/fixed-mold-search
Repiteo Dec 30, 2024
d8b1a5a
Merge pull request #92235 from paddy-exe/advanced-import-macbook-mous…
Repiteo Dec 30, 2024
13992bb
Merge pull request #100766 from stuartcarnie/metal_crash
Repiteo Dec 30, 2024
c83706f
Merge pull request #99904 from kitbdev/fix-load-floating-dock
Repiteo Dec 30, 2024
589a2b5
Merge pull request #100815 from m4gr3d/remove_install_permission_for_…
Repiteo Dec 30, 2024
3bf4541
Merge pull request #99829 from miv391/larger_event_configuration_dialog
Repiteo Dec 30, 2024
b98eeb3
Merge pull request #99096 from kitbdev/bottom_panel_force_switch
Repiteo Dec 30, 2024
e55ea94
Merge pull request #99800 from amarsero/bone2d-redo-crash
Repiteo Dec 30, 2024
d12eeef
Merge pull request #100763 from dsnopek/openxr-composition-layers-hol…
Repiteo Dec 30, 2024
2582793
Merge pull request #100774 from Geometror/rm-leftover-print-lightmapper
Repiteo Dec 30, 2024
ba3f2bf
Fix dictionary editor steals focus when reloading script.
ajreckof Dec 30, 2024
751d3d5
Fix lightmapper penumbra computation
Geometror Dec 30, 2024
bb76e72
Respect system user setting for (un)installing APK
RedMser Dec 30, 2024
6f363b9
astcenc: Misc improvements and optimizations
BlueCube3310 Dec 27, 2024
7beaddc
Improve performance with many static/sleeping bodies when using Jolt …
mihe Dec 30, 2024
5437316
Fix Crash with `GraphNode`
Sauermann Jan 1, 2025
f2d4dac
Thread: Re-add `<new>` include for `std::hardware_destructive_interfe…
akien-mga Jan 1, 2025
8dd0579
Add NavigationLink debug direction indicator
smix8 Jan 2, 2025
d0c4219
Fix looking at with 180 degree arc
TokageItLab Jan 1, 2025
b50d9b7
Update OS.request_permission(...) description
syntaxerror247 Dec 24, 2024
3bb2309
Feature adding Windows native menu close callback
marcelovbcfilho Dec 31, 2024
cccd243
Refactor CommandQueueMT to use vararg templates
hpvb Dec 23, 2024
4184884
Make NavMeshQueries use NavRegionIteration polygons directly
smix8 Jan 2, 2025
e06d838
Style: Enforce `AllowShortFunctionsOnASingleLine`
Repiteo Dec 30, 2024
2c9620f
`clang-format` commit to `.git-blame-ignore-revs`
Repiteo Jan 2, 2025
e330b79
Fix root folder logic in the filesystem
alessand10 Dec 7, 2024
cf8376b
Add a context menu to quick open dialog
hakro Dec 21, 2024
7bed84c
Revert "Stop reporting contacts for sleeping bodies when using Jolt P…
mihe Jan 2, 2025
ec7d7ab
GLTF: Always read alphaCutoff property
aaronfranke Jan 2, 2025
e89c196
`LineEdit` add member `keep_editing_on_text_submit`.
WhalesState Jan 2, 2025
a550eef
Improve script class display in Create dialog
Lazy-Rabbit-2001 Dec 30, 2024
22f4322
Merge pull request #101004 from akien-mga/core-thread-fix-gcc12-crash
akien-mga Jan 2, 2025
0d710da
Merge pull request #98554 from Calinou/add-property-hint-ranges
akien-mga Jan 2, 2025
7ccc00d
Merge pull request #99242 from RedMser/fix-todos-in-classref
akien-mga Jan 2, 2025
442f114
Merge pull request #99994 from kitbdev/fix-editor-viewport-group-anim
akien-mga Jan 2, 2025
72839d0
Merge pull request #99996 from akien-mga/libpng-1.6.44
akien-mga Jan 2, 2025
4ef55ba
Merge pull request #99998 from akien-mga/tinyexr-1.0.9
akien-mga Jan 2, 2025
d484e23
Merge pull request #100113 from paddy-exe/particle-emission-shape-vis…
akien-mga Jan 2, 2025
3a20c3e
Merge pull request #100161 from alessand10/fix-filesystem-logic
akien-mga Jan 2, 2025
4f5982c
Merge pull request #100171 from Giganzo/editor-focus
akien-mga Jan 2, 2025
703552c
Merge pull request #100240 from WhalesState/line-edit-focus
akien-mga Jan 2, 2025
3936d11
Merge pull request #100388 from Namey5/gles3-canvas-clear-fix
akien-mga Jan 2, 2025
261f0b9
Merge pull request #100409 from KoBeWi/now_delete_uids
akien-mga Jan 2, 2025
7dd1420
Merge pull request #100631 from Faless/fix/wslay_frame_end_not_fin
akien-mga Jan 2, 2025
e13facf
Merge pull request #100679 from hakro/quick_open_context_menu
akien-mga Jan 2, 2025
35cf29b
Merge pull request #100715 from buresu/fix-wayland-ime-input
akien-mga Jan 2, 2025
386e4e1
Merge pull request #100729 from Lazy-Rabbit-2001/new_create_dialog_p1
akien-mga Jan 2, 2025
dd7d36e
Merge pull request #100770 from hpvb/command-queue-mt
akien-mga Jan 2, 2025
8be07f1
Merge pull request #100785 from syntaxerror247/request-permission-doc
akien-mga Jan 2, 2025
e9da833
Merge pull request #100795 from hpvb/optimize-variant-clear
akien-mga Jan 2, 2025
ff14d86
Merge pull request #100811 from TokageItLab/bitmask-retarget
akien-mga Jan 2, 2025
5ff6167
Merge pull request #100825 from KoBeWi/colored_eight
akien-mga Jan 2, 2025
19a7b46
Merge pull request #100848 from BlueCube3310/astc-improvements
akien-mga Jan 2, 2025
16a4919
Merge pull request #100912 from Repiteo/ci/single-concurrency
akien-mga Jan 2, 2025
d01768d
Merge pull request #100925 from KoBeWi/Stop.Duplicating.Scripts-
akien-mga Jan 2, 2025
8e76f66
Merge pull request #100929 from Geometror/fix-lm-penumbra-computation
akien-mga Jan 2, 2025
2f4cb70
Merge pull request #100930 from beicause/fix-color-picker-cursor-posi…
akien-mga Jan 2, 2025
88babbd
Merge pull request #100932 from ajreckof/Fix-dictionary-editor-steals…
akien-mga Jan 2, 2025
21e6671
Merge pull request #100937 from Repiteo/style/clang-format-sync
akien-mga Jan 2, 2025
d28c416
Merge pull request #100938 from RedMser/system-user-adb
akien-mga Jan 2, 2025
1f2d535
Merge pull request #100983 from mihe/jolt/only-iterate-active-bodies
akien-mga Jan 2, 2025
e680767
Merge pull request #100987 from marcelovbcfilho/master
akien-mga Jan 2, 2025
d47fef1
Merge pull request #100991 from TokageItLab/180deg-arc
akien-mga Jan 2, 2025
32b081b
Merge pull request #101005 from Sauermann/fix-graph-node-crash
akien-mga Jan 2, 2025
94f23c3
Merge pull request #101010 from smix8/navlink_debug_direction
akien-mga Jan 2, 2025
8e66fac
Merge pull request #101037 from smix8/navregion_polys
akien-mga Jan 2, 2025
5a8b718
Merge pull request #101044 from mihe/jolt/revert-100533
akien-mga Jan 2, 2025
efae48a
Merge pull request #100624 from Repiteo/scons/node-count-fix
akien-mga Jan 3, 2025
b34adf2
Remove unused OS `_display_driver_id` member
akien-mga Nov 11, 2024
6c6e744
Merge pull request #94616 from Chaosus/vs_fix_vec4_constant
akien-mga Jan 3, 2025
abe5ba0
Merge pull request #99071 from akien-mga/os-unused-display_driver_id
akien-mga Jan 3, 2025
89b18de
Merge pull request #100221 from adamscott/fix-diraccess-sync
akien-mga Jan 3, 2025
29bd5c0
Merge pull request #100636 from raulsntos/dotnet/emit-signal-fix
akien-mga Jan 3, 2025
a17a0bc
Merge pull request #100717 from KoBeWi/icon_uncache
akien-mga Jan 3, 2025
88a101e
Merge pull request #100787 from KoBeWi/uid_be_like_'I'm_back'
akien-mga Jan 3, 2025
c3c0c24
Merge pull request #100863 from larspet/project-list-placeholder
akien-mga Jan 3, 2025
bdf625b
Merge pull request #101051 from aaronfranke/gltf-always-read-alpha-cu…
akien-mga Jan 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ AllowAllParametersOfDeclarationOnNextLine: false
# AllowShortBlocksOnASingleLine: Never
# AllowShortCaseLabelsOnASingleLine: false
# AllowShortEnumsOnASingleLine: true
# AllowShortFunctionsOnASingleLine: All
AllowShortFunctionsOnASingleLine: Inline
# AllowShortIfStatementsOnASingleLine: Never
# AllowShortLambdasOnASingleLine: All
# AllowShortLoopsOnASingleLine: false
Expand Down Expand Up @@ -88,7 +88,7 @@ BreakConstructorInitializers: AfterColon
# BreakInheritanceList: BeforeColon
# BreakStringLiterals: true
ColumnLimit: 0
# CommentPragmas: '^ IWYU pragma:'
# CommentPragmas: "^ IWYU pragma:"
# CompactNamespaces: false
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
Expand All @@ -114,7 +114,7 @@ IncludeCategories:
- Regex: ^<.*>$
Priority: 3
# IncludeIsMainRegex: (Test)?$
# IncludeIsMainSourceRegex: ''
# IncludeIsMainSourceRegex: ""
# IndentAccessModifiers: false
# IndentCaseBlocks: false
IndentCaseLabels: true
Expand Down Expand Up @@ -149,8 +149,8 @@ KeepEmptyLinesAtTheStartOfBlocks: false
# LambdaBodyIndentation: Signature
# Language: Cpp
# LineEnding: DeriveLF
# MacroBlockBegin: ''
# MacroBlockEnd: ''
# MacroBlockBegin: ""
# MacroBlockEnd: ""
# MaxEmptyLinesToKeep: 1
# NamespaceIndentation: None
# ObjCBinPackProtocolList: Auto
Expand Down
2 changes: 1 addition & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Checks:
- modernize-use-nullptr
- readability-braces-around-statements
- readability-redundant-member-init
HeaderFileExtensions: ['', h, hh, hpp, hxx, inc, glsl]
HeaderFileExtensions: ["", h, hh, hpp, hxx, inc, glsl]
ImplementationFileExtensions: [c, cc, cpp, cxx, m, mm, java]
HeaderFilterRegex: (core|doc|drivers|editor|main|modules|platform|scene|servers|tests)/
FormatStyle: file
Expand Down
31 changes: 31 additions & 0 deletions .clangd
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# https://clangd.llvm.org/config
---
# Default conditions, apply everywhere.

Diagnostics:
Includes:
IgnoreHeader:
- core/typedefs\.h # Our "main" header, featuring transitive includes; allow everywhere.
- \.compat\.inc
---
# Header-specific conditions.

If:
PathMatch: .*\.(h|hh|hpp|hxx|inc)

# Exclude certain, noisy warnings that lack full context. Replace with lowered severity if/when
# clangd gets diagnostic severity support. (See: https://github.com/clangd/clangd/issues/1937)
CompileFlags:
Add:
- -Wno-unneeded-internal-declaration
- -Wno-unused-const-variable
- -Wno-unused-function
- -Wno-unused-variable
---
# Suppress all third-party warnings.

If:
PathMatch: thirdparty/.*

Diagnostics:
Suppress: "*"
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ indent_style = space
indent_size = 4

# YAML requires indentation with spaces instead of tabs.
[*.{yml,yaml}]
[{*.{yml,yaml},.clang{-format,-tidy,d}}]
indent_style = space
indent_size = 2

Expand Down
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,6 @@ b37fc1014abf7adda70dc30b0822d775b3a4433f

# Style: Apply clang-tidy fixes (superficial)
bb5f390fb9b466be35a5df7651323d7e66afca31

# Style: Enforce `AllowShortFunctionsOnASingleLine`
e06d83860d798b6766b23d6eae48557387a7db85
2 changes: 1 addition & 1 deletion .github/actions/godot-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
required: false
sconsflags:
description: Additional SCons flags.
default: ''
default: ""
required: false
scons-cache:
description: The SCons cache path.
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/android_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ env:
GODOT_BASE_BRANCH: master
SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no module_text_server_fb_enabled=yes strict_checks=yes

concurrency:
group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-android
cancel-in-progress: true

jobs:
build-android:
runs-on: ubuntu-24.04
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/godot_cpp_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ env:
# Used for the godot-cpp checkout.
GODOT_CPP_BRANCH: 4.3

concurrency:
group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-cpp-tests
cancel-in-progress: true

jobs:
godot-cpp-tests:
runs-on: ubuntu-24.04
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ios_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ env:
GODOT_BASE_BRANCH: master
SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no module_text_server_fb_enabled=yes strict_checks=yes

concurrency:
group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-ios
cancel-in-progress: true

jobs:
ios-template:
runs-on: macos-latest
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/linux_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ env:
TSAN_OPTIONS: suppressions=misc/error_suppressions/tsan.txt
UBSAN_OPTIONS: suppressions=misc/error_suppressions/ubsan.txt

concurrency:
group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-linux
cancel-in-progress: true

jobs:
build-linux:
# Stay one LTS before latest to increase portability of Linux artifacts.
Expand Down Expand Up @@ -129,7 +125,7 @@ jobs:
continue-on-error: true

- name: Setup Python and SCons
if: '!matrix.legacy-scons'
if: "!matrix.legacy-scons"
uses: ./.github/actions/godot-deps

- name: Setup Python and SCons (legacy versions)
Expand All @@ -150,7 +146,7 @@ jobs:
uses: actions/setup-dotnet@v4
with:
# Targeting the oldest version we want to support to ensure it still builds.
dotnet-version: '8.0.100'
dotnet-version: 8.0.100

- name: Compilation
uses: ./.github/actions/godot-build
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/macos_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ env:
GODOT_BASE_BRANCH: master
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes strict_checks=yes

concurrency:
group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-macos
cancel-in-progress: true

jobs:
build-macos:
runs-on: macos-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: 🔗 GHA
on: [push, pull_request, merge_group]

concurrency:
group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-runner
group: ${{ github.workflow }}|${{ github.ref_name }}
cancel-in-progress: true

jobs:
# First stage: Only static checks, fast and prevent expensive builds from running.

static-checks:
if: '!vars.DISABLE_GODOT_CI'
if: "!vars.DISABLE_GODOT_CI"
name: 📊 Static checks
uses: ./.github/workflows/static_checks.yml

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/static_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: 📊 Static Checks
on:
workflow_call:

concurrency:
group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-static
cancel-in-progress: true

jobs:
static-checks:
name: Code style, file formatting, and docs
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/web_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ env:
SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no use_closure_compiler=yes strict_checks=yes
EM_VERSION: 3.1.64

concurrency:
group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-web
cancel-in-progress: true

jobs:
web-template:
runs-on: ubuntu-24.04
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/windows_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ env:
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes d3d12=yes strict_checks=yes "angle_libs=${{ github.workspace }}/"
SCONS_CACHE_MSVC_CONFIG: true

concurrency:
group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-windows
cancel-in-progress: true

jobs:
build-windows:
# Windows 10 with latest image
Expand Down
76 changes: 27 additions & 49 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ default_language_version:
exclude: |
(?x)^(
.*thirdparty/.*|
.*-so_wrap\.(h|c)$
)
.*-so_wrap\.(h|c)|
platform/android/java/editor/src/main/java/com/android/.*|
platform/android/java/lib/src/com/google/.*
)$

repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
Expand All @@ -14,23 +16,13 @@ repos:
- id: clang-format
files: \.(c|h|cpp|hpp|cc|hh|cxx|hxx|m|mm|inc|java)$
types_or: [text]
exclude: |
(?x)^(
tests/python_build/.*|
platform/android/java/editor/src/main/java/com/android/.*|
platform/android/java/lib/src/com/.*
)
exclude: ^tests/python_build/.*
- id: clang-format
name: clang-format-glsl
files: \.glsl$
types_or: [text]
exclude: |
(?x)^(
tests/python_build/.*|
platform/android/java/editor/src/main/java/com/android/.*|
platform/android/java/lib/src/com/.*
)
args: ['-style=file:misc/utility/.clang-format-glsl']
exclude: ^tests/python_build/.*
args: [-style=file:misc/utility/clang_format_glsl.yml]

- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.3.5
Expand All @@ -39,12 +31,7 @@ repos:
files: \.(c|h|cpp|hpp|cc|hh|cxx|hxx|m|mm|inc|java|glsl)$
args: [--fix, --quiet, --use-color]
types_or: [text]
exclude: |
(?x)^(
tests/python_build/.*|
platform/android/java/editor/src/main/java/com/android/.*|
platform/android/java/lib/src/com/.*
)
exclude: ^tests/python_build/.*
additional_dependencies: [clang-tidy==19.1.0]
require_serial: true
stages: [manual] # Not automatically triggered, invoked via `pre-commit run --hook-stage manual clang-tidy`
Expand All @@ -71,11 +58,6 @@ repos:
rev: v2.3.0
hooks:
- id: codespell
exclude: |
(?x)^(
platform/android/java/editor/src/main/java/com/android/.*|
platform/android/java/lib/src/com/.*
)
additional_dependencies: [tomli]

### Requires Docker; look into alternative implementation.
Expand Down Expand Up @@ -118,10 +100,10 @@ repos:
- --config
- platform/web/eslint.config.cjs
additional_dependencies:
- '@eslint/js@^9.3.0'
- '@html-eslint/eslint-plugin@^0.24.1'
- '@html-eslint/parser@^0.24.1'
- '@stylistic/eslint-plugin@^2.1.0'
- "@eslint/js@^9.3.0"
- "@html-eslint/eslint-plugin@^0.24.1"
- "@html-eslint/parser@^0.24.1"
- "@stylistic/eslint-plugin@^2.1.0"
- eslint@^9.3.0
- eslint-plugin-html@^8.1.1
- globals@^15.3.0
Expand All @@ -139,7 +121,7 @@ repos:
- platform/web/js/engine/config.js
- platform/web/js/engine/features.js
- --destination
- ''
- ""
- -d
- dry-run
pass_filenames: false
Expand All @@ -160,14 +142,12 @@ repos:
files: \.(c|h|cpp|hpp|cc|hh|cxx|hxx|m|mm|inc|java)$
exclude: |
(?x)^(
core/math/bvh_.*\.inc$|
core/math/bvh_.*\.inc|
platform/(?!android|ios|linuxbsd|macos|web|windows)\w+/.*|
platform/android/java/editor/src/main/java/com/android/.*|
platform/android/java/lib/src/com/.*|
platform/android/java/lib/src/org/godotengine/godot/gl/GLSurfaceView\.java$|
platform/android/java/lib/src/org/godotengine/godot/gl/EGLLogWrapper\.java$|
platform/android/java/lib/src/org/godotengine/godot/utils/ProcessPhoenix\.java$
)
platform/android/java/lib/src/org/godotengine/godot/gl/GLSurfaceView\.java|
platform/android/java/lib/src/org/godotengine/godot/gl/EGLLogWrapper\.java|
platform/android/java/lib/src/org/godotengine/godot/utils/ProcessPhoenix\.java
)$

- id: header-guards
name: header-guards
Expand All @@ -183,17 +163,15 @@ repos:
types_or: [text]
exclude: |
(?x)^(
.*\.test\.txt$|
.*\.svg$|
.*\.patch$|
.*\.out$|
modules/gdscript/tests/scripts/parser/features/mixed_indentation_on_blank_lines\.gd$|
modules/gdscript/tests/scripts/parser/warnings/empty_file_newline_comment\.norun\.gd$|
modules/gdscript/tests/scripts/parser/warnings/empty_file_newline\.norun\.gd$|
platform/android/java/editor/src/main/java/com/android/.*|
platform/android/java/lib/src/com/google/.*|
tests/data/.*\.bin$
)
.*\.test\.txt|
.*\.svg|
.*\.patch|
.*\.out|
modules/gdscript/tests/scripts/parser/features/mixed_indentation_on_blank_lines\.gd|
modules/gdscript/tests/scripts/parser/warnings/empty_file_newline_comment\.norun\.gd|
modules/gdscript/tests/scripts/parser/warnings/empty_file_newline\.norun\.gd|
tests/data/.*\.bin
)$

- id: dotnet-format
name: dotnet-format
Expand Down
2 changes: 1 addition & 1 deletion core/config/project_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ ProjectSettings::ProjectSettings() {
// installed by the scripts provided in the repository
// (check `misc/scripts/install_d3d12_sdk_windows.py`).
// For example, if the script installs 1.613.3, the default value must be 613.
GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/rendering_device/d3d12/agility_sdk_version"), 613);
GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/rendering_device/d3d12/agility_sdk_version", PROPERTY_HINT_RANGE, "0,10000,1,or_greater,hide_slider"), 613);

GLOBAL_DEF_BASIC(PropertyInfo(Variant::INT, "rendering/textures/canvas_textures/default_texture_filter", PROPERTY_HINT_ENUM, "Nearest,Linear,Linear Mipmap,Nearest Mipmap"), 1);
GLOBAL_DEF_BASIC(PropertyInfo(Variant::INT, "rendering/textures/canvas_textures/default_texture_repeat", PROPERTY_HINT_ENUM, "Disable,Enable,Mirror"), 0);
Expand Down
14 changes: 9 additions & 5 deletions core/io/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@

class Node;

#define RES_BASE_EXTENSION(m_ext) \
public: \
static void register_custom_data_to_otdb() { ClassDB::add_resource_base_extension(m_ext, get_class_static()); } \
virtual String get_base_extension() const override { return m_ext; } \
\
#define RES_BASE_EXTENSION(m_ext) \
public: \
static void register_custom_data_to_otdb() { \
ClassDB::add_resource_base_extension(m_ext, get_class_static()); \
} \
virtual String get_base_extension() const override { \
return m_ext; \
} \
\
private:

class Resource : public RefCounted {
Expand Down
Loading
Loading