Commit graph

6591 commits

Author SHA1 Message Date
Thaddeus Crews
4f0cbc9a58
Merge pull request #103864 from Repiteo/scons/simplify-msvc
SCons: Simplify Windows/MSVC detection
2025-03-11 14:01:02 -05:00
Thaddeus Crews
e9e4760335
Merge pull request #83538 from bruvzg/size_and_at
[FileAccess] Implement `get_size` and `get_access_time` methods.
2025-03-11 14:00:58 -05:00
Thaddeus Crews
d64a94c1f5
Merge pull request #102910 from syntaxerror247/hiding-something
Hide debug keystore export settings
2025-03-11 14:00:45 -05:00
Thaddeus Crews
0bb1f138f2
Merge pull request #100525 from adamscott/set-closure-language-to-default
Remove custom `--language-in` arg for the Closure compiler
2025-03-11 14:00:35 -05:00
Thaddeus Crews
56bc9bc2f4
Merge pull request #102984 from syntaxerror247/volume-buttons
Android: enable support for volume button events
2025-03-11 09:34:46 -05:00
Thaddeus Crews
dcbddb64d5
Merge pull request #103571 from timothyqiu/wrap-not-found
Improve error message from `JavaClassWrapper.wrap()`
2025-03-11 09:34:45 -05:00
Thaddeus Crews
991d01fb52
Merge pull request #103891 from shahriarlabib000/update_readme
Update logo/run icon path in platform READMEs
2025-03-10 21:05:55 -05:00
Thaddeus Crews
8d1c1c5867
Merge pull request #92476 from AThousandShips/string_remove_char
Add `String::remove_char(s)` methods for performance and convenience
2025-03-10 10:01:04 -05:00
Thaddeus Crews
a5acf1dc81
Merge pull request #101174 from Repiteo/style/objc-import-syntax
Style: Standardize Obj-C `#import` syntax
2025-03-10 10:01:02 -05:00
A Thousand Ships
331a43a9d8
Add String::remove_char(s) methods for performance and convenience 2025-03-10 13:19:28 +01:00
shahriarlabib000
25a8b808d3 update logo/run icon path in README 2025-03-10 12:03:41 +06:00
Thaddeus Crews
4505352021
SCons: Simplify Windows/MSVC detection 2025-03-09 10:45:32 -05:00
bruvzg
85d3be8070
[FileAccess] Implement get_size and get_access_time methods. 2025-03-09 16:07:00 +02:00
Thaddeus Crews
cae3d722a3
Merge pull request #99321 from AThousandShips/use_get_slicec
Use `get_slicec` instead of `get_slice` for single character splitters
2025-03-09 09:05:29 -05:00
Thaddeus Crews
2324805fdc
Merge pull request #103773 from Calinou/windows-low-processor-mode-sleep-cpu
Use more efficient sleep approach on Windows when low-processor mode is enabled
2025-03-09 09:05:27 -05:00
A Thousand Ships
466590d0ec
Use get_slicec instead of get_slice for single character splitters 2025-03-08 20:36:37 +01:00
Thaddeus Crews
713a1ba554
Style: Standardize Obj-C #import syntax 2025-03-08 09:28:34 -06:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
Thaddeus Crews
96fdaa616b
Style: Integrate #pragma once in builders/checks 2025-03-07 17:32:33 -06:00
Thaddeus Crews
67d4a245d8
Merge pull request #103267 from YeldhamDev/reality_got_too_extended
Allow to compile the engine without XR support
2025-03-07 15:12:54 -06:00
Thaddeus Crews
3d9b37911d
Merge pull request #103011 from Repiteo/style/svgo-newline
Style: Ensure svgs have trailing newlines
2025-03-07 15:12:41 -06:00
Thaddeus Crews
3c43508ed7
Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
Thaddeus Crews
0c8f4f3d91
Merge pull request #97908 from atlasapplications/just-linux-bionic
Add `linux-bionic` RID export option
2025-03-07 15:12:32 -06:00
Thaddeus Crews
c937b6d180
Merge pull request #102419 from Ivorforce/std-size
Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase.
2025-03-07 15:12:25 -06:00
Thaddeus Crews
d9125ebebe
Merge pull request #101293 from Ivorforce/string-to-pointer-conversion
Remove implicit conversions from `String`, `Char16String` and `CharString` to data pointers.
2025-03-07 15:12:12 -06:00
Thaddeus Crews
dadfcd1ff2
Merge pull request #95776 from Calinou/crash-handler-linuxbsd-simplify-file-path
Simplify the printed file paths in the Linux/*BSD crash handler
2025-03-07 15:12:10 -06:00
Thaddeus Crews
5788e436d3
Merge pull request #95049 from Grublady/mac_system_color
Use windowBackgroundColor instead of controlColor for macOS system base color
2025-03-07 12:06:33 -06:00
Hugo Locurcio
03b4e0dd58
Use more efficient sleep approach on Windows when low-processor mode is enabled
This aims to fix the idle CPU utilization regression from 4.3 to 4.4
by reverting to the previous approach, but only when low-processor mode
is enabled.
2025-03-07 18:06:41 +01:00
A Thousand Ships
5113022dfe
Clean up some uses of String::substr
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
David Snopek
f52b2e4db4 JavaClassWrapper: Fix conversion to/from org.godotengine.godot.Dictionary that regressed 2025-03-06 17:35:01 -06:00
Thaddeus Crews
5e77d93781
Merge pull request #98194 from bruvzg/fd_parent
Improve native file dialog parent window selection.
2025-03-06 16:36:27 -06:00
Thaddeus Crews
85d39e0765
Merge pull request #103590 from bruvzg/ios_enum
[iOS export] Restore one-click deploy device enumeration using Xcode.
2025-03-06 16:36:15 -06:00
bruvzg
3e4e6e6c0c Improve native file dialog parent window selection. 2025-03-06 17:15:39 +02:00
Grublady
2b16d4e002 Use windowBackgroundColor instead of controlColor for macOS system base color
Per Apple Developer Documentation:
windowBackgroundColor: "The color to use for the window background."
controlColor: "The color to use for the flat surfaces of a control."

Godot's base_color more closely corresponds to windowBackgroundColor.
In some cases, controlColor may even return values that are not appropriate for use as a base color.
2025-03-05 15:01:27 -05:00
Thaddeus Crews
07220f75c5
Merge pull request #103384 from bruvzg/andr_font_v
[Android] Skip non-existing system font files.
2025-03-05 12:07:59 -06:00
Thaddeus Crews
8ef0075193
Merge pull request #102817 from dsnopek/java-class-wrapper-array-improvements
JavaClassWrapper: Improve handling of typed array arguments
2025-03-05 12:07:44 -06:00
Thaddeus Crews
b4e86825c4
Merge pull request #103375 from dsnopek/java-class-wrapper-more-array-improvements
JavaClassWrapper: Fix converting returned arrays to Godot types
2025-03-05 12:07:43 -06:00
Thaddeus Crews
1f2d135444
Merge pull request #103526 from jamie-pate/fix_103522
Fix check for is_maximized in x11 to require both horizontal and vert
2025-03-05 12:07:41 -06:00
Pāvels Nadtočajevs
4187c48a15 [iOS export] Restore one-click deploy device enumeration using Xcode. 2025-03-04 21:37:47 +02:00
Haoyu Qiu
554aa6ad95 Improve error message from JavaClassWrapper.wrap() 2025-03-04 21:14:05 +08:00
Pāvels Nadtočajevs
6ed12bfc5d [Linux/BSD] Offload RenderingDevice creation test to subprocess. 2025-03-04 13:18:26 +02:00
Rémi Verschelde
1753893c60
Merge pull request #103523 from akien-mga/android-fix-disable_3d
Android: Fix build with `disable_3d`
2025-03-04 01:02:46 +01:00
Rémi Verschelde
c301b2ad9a
Merge pull request #103419 from Alex2782/fix_issue_96770
Fix crash after changing device language
2025-03-04 01:02:27 +01:00
Rémi Verschelde
2e57cbe57a
Merge pull request #103413 from m4gr3d/request_pointer_capture_on_ui_thread
Fix Android mouse capture issues
2025-03-04 01:02:23 +01:00
Rémi Verschelde
e8c555b002
Merge pull request #103409 from darksylinc/matias-swappy-2025-01
Update to latest version of Swappy
2025-03-04 01:02:14 +01:00
Jamie Pate
4f14f722b8 Fix check for is_maximized in x11 to require both horizontal and vertical
Fixes #103522

Persistent window state doesn't work if your window is 'tiled' in X11
gnome

3.x checks for `horz && vert`
4396e98834/platform/x11/os_x11.cpp (L1708)

4.x also checked `horz && vert` until this change where it was switched
to `horz || vert`
524f061c01 (diff-05f85bc3bf96d384f6b96260c758e63e10bbdd52b04f8ccb34649372e7bc1f48R1382)

The corrected logic is:
Check `horz && vert` for 'is_maximized'
Check `horz || vert` for 'can_maximize'
2025-03-03 15:45:21 -08:00
Matias N. Goldberg
89ea5b3d00 Update to latest version of Swappy
Fixes #103294
2025-03-03 20:43:14 -03:00
Rémi Verschelde
a7dd4ad5f8
Android: Fix build with disable_3d
Fixes #103516.
2025-03-03 22:19:05 +01:00
David Snopek
bbc66056a8 JavaClassWrapper: Fix converting returned arrays to Godot types 2025-03-03 15:10:30 -06:00
David Snopek
d7672128b5 JavaClassWrapper: Improve handling of typed array arguments 2025-03-03 12:07:45 -06:00