Commit graph

77900 commits

Author SHA1 Message Date
kobewi
835383d46b Fix region folding not loading properly 2025-09-26 23:29:31 +02:00
Thaddeus Crews
9283328fe7
Merge pull request #109491 from syntaxerror247/window-color
Android: Add method to set root window color at runtime
2025-09-26 13:47:32 -05:00
Thaddeus Crews
3a16864c33
Merge pull request #107075 from m4gr3d/implement_javaclasswrapper_has_method
[Android] `JavaClassWrapper` bug fixes
2025-09-26 13:47:31 -05:00
Thaddeus Crews
e9cd9a9c35
Merge pull request #110914 from mihe/jolt/multiple-contact-callbacks
Fix CCD bodies adding multiple contact manifolds when using Jolt
2025-09-26 13:47:30 -05:00
Pāvels Nadtočajevs
1c59038555
Change macos.permission.RECORD_SCREEN version check from 10.15 to 11.0. 2025-09-26 19:25:49 +03:00
Hugo Locurcio
c4bbf27cb5 Use Jolt Physics by default in newly created projects
This also adds infrastructure to make specific settings the default, but only
in projects created after this point (so that existing projects
are not affected). This can be used for progressive upgrades in the future.

This applies to both the project creation dialog and creating projects
through the command line using `touch project.godot`.
2025-09-26 17:16:28 +02:00
ydeltastar
6a3d37ef1c
Android: Ensure proper cleanup of the fragment 2025-09-26 10:18:11 -03:00
Ricardo Buring
2f3eaa965c OBJ importer: Support bump multiplier (normal scale)
This improves compatibility with OBJ/MTL files found in the wild.
2025-09-26 12:46:31 +02:00
Luo Zhihao
727066fe1f Free script and extension instance before object deconstructing
Co-Authored-By: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-09-26 18:15:08 +08:00
Haoyu Qiu
4e80190a46 Move context and plural support to Translation
- `TranslationPO` is now an empty class. It exists for compatibility.
- `OptimizedTranslation` stays the same, no context or plural support.
2025-09-26 10:51:57 +08:00
Haoyu Qiu
e882e42e1b Add default plural rules
This makes the PO loader correctly handle the situation where the optional
`Plural-Forms` header field does not exist.

The `Translation` class and its subclasses always have access to valid plural
rules via `_get_plural_rules()`. Plural rules are prioritized:

1. `Translation.plural_rules_override`
2. `TranslationServer.get_plural_rules(locale)`
3. The English plural rules: `nplurals=2; plurals=(n != 1)`

Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-09-26 10:51:57 +08:00
Haoyu Qiu
ebb96e2303 Move plural rules logic into a separate class
- Extracts plural rules logic in `TranslationPO` into a new `PluralRules` class.
- Changes caching the last used plural index in `TranslationPO` into an LRU cache in `PluralRules`.
- Adds tests for `PluralRules`.
2025-09-26 10:51:55 +08:00
Mikael Hermansson
0590c974c1 Fix CCD bodies adding multiple contact manifolds when using Jolt 2025-09-26 01:17:11 +02:00
Lukas Tenbrink
1bf821c1e1 Store current capacity in CowData buffers, and rewrite most of it.
Add `reserve` to `CowData`, `Vector` and `Array`.

# Conflicts:
#	core/os/memory.h
#	core/templates/cowdata.h
2025-09-25 22:00:17 +02:00
Thaddeus Crews
1f7630f1bf
Merge pull request #110841 from smix8/raster_casual
Make navmesh rasterization errors more lenient
2025-09-25 14:57:11 -05:00
Thaddeus Crews
e49e73e160
Merge pull request #110868 from brycehutchings/openxr_late_destruction_crash_fix
Fix late destruction access violation with OpenXRAPIExtension object
2025-09-25 14:57:11 -05:00
Thaddeus Crews
121b1b7d58
Merge pull request #110420 from fstxz/fix-folder-nullptr
Fix crash due to null pointer dereference when moving/renaming folders in `FileSystemDock`
2025-09-25 14:57:10 -05:00
Thaddeus Crews
5fda92451d
Merge pull request #100145 from Ivorforce/memory-offset-func
Add `mem_aligned_address` to simplify data offset constants.
2025-09-25 14:57:09 -05:00
Thaddeus Crews
5088a93024
Merge pull request #110415 from fstxz/fix_favorites
Fix favorite folders that are outside of the project being displayed in `FileSystemDock`'s file list
2025-09-25 14:57:08 -05:00
Stuart Carnie
7227fdd805 Core: Add UNIX domain socket support
> [!NOTE]
>
> Later versions of Windows has support for `AF_UNIX`, so it could be
> added.
2025-09-26 05:46:19 +10:00
Lukas Tenbrink
3ac159094f Add memory_get_offset to simplify data offset constants. 2025-09-25 20:55:33 +02:00
smix8
19df15f1dc Make navmesh rasterization errors more lenient
Make navmesh rasterization on the navigation regions and map more lenient by starting out with a lower internal cell scale by default and changing the merge error to just warning that can be toggled.
2025-09-25 20:18:18 +02:00
Thaddeus Crews
a078895ad2
Merge pull request #109243 from precup/tile-map-optimizations
Avoid unnecessary updates in `TileMapLayer`
2025-09-25 12:13:57 -05:00
Thaddeus Crews
c32c2606f4
Merge pull request #110837 from wheatear-dev/add-gdsoftclass-deeper
Add `GDSOFTCLASS` to deeper inheritors of `Object`
2025-09-25 12:13:56 -05:00
Thaddeus Crews
5aa220efee
Merge pull request #110865 from brycehutchings/openxr_d3d12_near_far_fix
Fix OpenXR with D3D12 using the wrong clip space projection matrix
2025-09-25 12:13:55 -05:00
Thaddeus Crews
6af2341894
Merge pull request #108743 from Nodragem/fix-jump-when-cutting
Fix jump when cutting a selection in Gridmap
2025-09-25 12:13:54 -05:00
Thaddeus Crews
d5848e2232
Merge pull request #110882 from nikitalita/patch-4
Fix HashMap/HashSet in natvis after member renames
2025-09-25 12:13:53 -05:00
Bryce Hutchings
cd198f7517 Remove static lifetime object to avoid late destruction 2025-09-25 10:11:08 -07:00
Hugo Locurcio
f277add285 Fix and improve Node2D.move_local_{x,y}() description
The `delta` parameter name refers to a generic distance parameter here,
rather than the process or physics process time.
2025-09-25 18:52:11 +02:00
Jojo-1000
71723f74b7 Mark necessary EditorImportPlugin functions as required 2025-09-25 17:15:32 +02:00
Thaddeus Crews
d48f255074
Windows: Migrate godot.manifest to platform/windows
• Ensure file is included as proper dependency
2025-09-25 09:15:00 -05:00
danielgsilva
bc9c14da7a Add helper methods and simplify logic 2025-09-25 13:41:15 +01:00
Thaddeus Crews
ecfe34f56c
Merge pull request #110892 from AThousandShips/fix_build_2d
Revert "Replace many uses of `is_class` with `derives_from`."
2025-09-25 07:11:02 -05:00
A Thousand Ships
bd65cfa876
Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Paeniche
0b7b52a1f1 Fix /tutorial added twice
Some links in the offlince documentation for lights and shadows had /tutorials/tutorials in their links leading to 'page not found' error
2025-09-25 01:32:44 -07:00
Artemy Fedotov
40d56c98bc
Fix LineEdit's placeholder text being selected when double clicking 2025-09-25 12:05:48 +04:00
Arseny Kapoulkine
ccbece58d8 Enable component pruning during simplification
In addition to the regular edge collapse, we now allow the simplifier to
remove small isolated components. Components that are removed are below
the error threshold in size and as such should not noticeably contribute
to the overall rendering of the object.

This helps simplify topologically complex but small parts of larger
meshes and more comfortably reach the LOD targets.

In some cases, pruning can cause the last LOD to shrink to 0 triangles
which may prevent a slightly larger LOD from being used at the maximum
distance; in this case we retry simplification without pruning once.
2025-09-24 22:23:55 -07:00
Nikita
a75e6be6fb
Fix HashMap/HashSet in natvis after member renames 2025-09-24 21:51:03 -07:00
Clay John
6e4e8072e1
Merge pull request #110027 from zeux/lod-iter
Switch LOD generation to use iterative simplification
2025-09-24 20:57:41 -07:00
Aaron Franke
da9a77ce42
GLTF: Preserve mesh name on export 2025-09-24 20:28:52 -07:00
Stuart Carnie
d93fe9038d Metal: Fix Metal compiler version inspection 2025-09-25 06:35:31 +10:00
Mara Huldra
c64ff4b069 wayland: Inhibit idle in DisplayServerWayland::screen_set_keep_on
Without this, the screen does go into idle after a few minutes on a RPi5 with default install (wayland w/ labwc), even
though `screen_keep_on` is set. DBUS is enabled but apparently, the screensaver call is not enough.
2025-09-24 22:17:38 +02:00
Edward Moulsdale
e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
Mounir Tohami
c07966583f Fix editor theme margins and TextEdit normal/read_only styles draw. 2025-09-24 20:42:22 +03:00
BlueCube3310
f64ccadceb Image: Support generating mipmaps for all formats 2025-09-24 18:48:28 +02:00
Hugo Locurcio
020cdd0f73 Tweak macOS notarization export message in the editor
One message had a typo and was missing `--team-id` for one of the
`xcrun notarytool` commands.
2025-09-24 17:43:43 +02:00
Aaron Franke
a238af4d20
Use num_scientific (Grisu2) when stringifying JSON with full precision 2025-09-24 08:21:37 -07:00
Thaddeus Crews
1ce3101fbc
Merge pull request #110814 from Jordyfel/2d-editor-get
Cache editor setting queried in hot path in 2D editor
2025-09-24 09:59:16 -05:00
Thaddeus Crews
de27f3a435
Merge pull request #110108 from PiCode9560/suspend-button
Differentiate the suspend button in the Game tab with the Pause button in the editor run bar
2025-09-24 09:59:15 -05:00
Thaddeus Crews
daa1fc97dd
Merge pull request #107547 from beicause/shader-compiler-print-content-verbose
ShaderCompiler: Optimize compilation error printing
2025-09-24 09:59:14 -05:00