1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-26 15:46:23 +00:00
Commit Graph

6841 Commits

Author SHA1 Message Date
shahriarlabib000
25a8b808d3 update logo/run icon path in README 2025-03-10 12:03:41 +06:00
Pāvels Nadtočajevs
c5dcecc6f7 [macOS/iOS] Fix system font family descriptor leak. 2025-03-09 20:57:57 +02: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
Pāvels Nadtočajevs
a144d93b43 [macOS] Enable transparency for windows with decorations. 2025-03-09 13:49:53 +02:00
风青山
7fd154c4b4 Set unsupported to true on error in FreeDesktopScreenSaver
This avoids possible memory leaks when the editor exits.
2025-03-09 11:10:27 +08:00
A Thousand Ships
466590d0ec Use get_slicec instead of get_slice for single character splitters 2025-03-08 20:36:37 +01:00
Grublady
8fd5de438f Use NSTrackingActiveWhenFirstResponder 2025-03-08 13:22:10 -05:00
Thaddeus Crews
713a1ba554 Style: Standardize Obj-C #import syntax 2025-03-08 09:28:34 -06:00
Pāvels Nadtočajevs
fe38504aa0 [X11] Fix native dialog parent selection condition. 2025-03-08 16:28:25 +02: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
Alex
1c02316365 Fix crash after changing device language
The app was restarting unexpectedly due to missing configChanges flags.
Added "locale|layoutDirection" to AndroidManifest.xml to prevent activity recreation.
2025-03-01 02:42:56 +01:00
Fredia Huya-Kouadio
bea6472ea4 Fix Android mouse capture issues
- Allow mouse capture to be enabled in `_ready`
- Update the input handler logic to avoid dropping mouse captured motion events
2025-02-28 13:54:30 -08:00
Pāvels Nadtočajevs
e76a8b0f27 [Android] Skip non-existing system font files. 2025-02-28 07:47:52 +02:00
Anish Mishra
5ce16dfc69 Android: enable support for volume button events
- Enable events KEY_VOLUMEUP and KEY_VOLUMEDOWN on Android.

- Adds a project setting to override volume buttons. It would disable system volume changes when the buttons are used within the project.
2025-02-28 09:47:22 +05:30
Fredia Huya-Kouadio
7fb37a088b Add checks to prevent crashes when accessing the GameMenu api
This should address crashes reported on the Play store. Note that those crashes lack debug symbols which reduces our ability to narrow down the exact cause of the crash. We aim to resolve that in Godot 4.5.
2025-02-27 13:20:23 -08:00