Commit graph

3678 commits

Author SHA1 Message Date
Pāvels Nadtočajevs
6bc378e13c [iOS, 3.x] Switch window creation to UIScene.
(cherry picked from commit ec5920e004)
2025-10-01 10:24:59 +01:00
Sagar Devkota
862d8707f5 set minsdk to 21. Sorted the fseeko error.
(cherry picked from commit e9525aed1c)
2025-10-01 10:24:59 +01:00
Hugo Locurcio
6f2f053234 Fix build on macOS 26 by removing AGL framework link
Previously, a link error occurred as we'd be trying to link
against a nonexistent framework. AGL was removed in macOS Tahoe
since the first beta.

(cherry picked from commit b86295c8b9)
2025-10-01 10:24:59 +01:00
Anish Mishra
08abae7351 [3.x] Address API 35 UI changes
(cherry picked from commit 936c86b190)
2025-10-01 10:24:59 +01:00
Kyle Szklenski
da3795b199 Update NDK and Maven config
(cherry picked from commit 3c645995ca)
2025-10-01 10:24:59 +01:00
kilian-diener
0d1f294c58 Fix order of operations for macOS template check
Backport for 3.x from PR: #84990
Co-authored-by: brno32 <drozdster@gmail.com>

(cherry picked from commit 983b12b1fa)
2025-10-01 10:24:59 +01:00
Kyle Szklenski
21230fda3e Update required version numbers for Android
(cherry picked from commit 21d7340162)
2025-10-01 10:24:59 +01:00
Alexander Hartmann
e7b7748984 Fix Xbox Controller on Android
(cherry picked from commit cf00265386)
2025-06-13 18:14:53 +01:00
bruvzg
ff5ff386c5 Disable Nahimic code injection.
(cherry picked from commit 8bb3e5360e)
2025-06-13 18:06:34 +01:00
Rémi Verschelde
d6e212c695
CI: Update Ubuntu runners to 24.04, but keep 22.04 for Linux builds
Pin clang-format to version 16, and black to 24.10.0.
Keep using Ubuntu 22.04 for Linux builds for portability.

(cherry picked from commit fd9bd108af)
2024-11-07 16:54:58 +01:00
lawnjelly
9a6b424c94
Merge pull request #93571 from Alex2782/g3.x_fix_GLSurfaceView
[3.x] Fix lost old callback when continuous call `requestRenderAndNotify`
2024-07-18 11:26:14 +01:00
Rémi Verschelde
ece8b38dd1
Merge pull request #91610 from bruvzg/web_ime_3
[Web, 3.x] Add IME input support.
2024-06-25 08:59:43 +02:00
Alexander Hartmann
e482dcbc68 fix lost old callback when continuous call requestRenderAndNotify 2024-06-24 20:56:12 +02:00
bruvzg
5f628f2e20
[3.x, Web] Fix TTS configuration loaded too early. 2024-05-22 19:47:25 +03:00
bruvzg
2eb3139590
[Linux] Add support for PCK embedding section with non GNU-ld linkers.
(cherry picked from commit 625c4bdace)
2024-05-16 09:24:52 +02:00
bruvzg
bbe8a66a2d
[Web, 3.x] Add IME input support. 2024-05-09 09:07:58 +03:00
melquiadess
cd9f18dbf0
Add POST_NOTIFICATIONS permission to the list of permissions available in the Export dialog
(cherry picked from commit 739190ca2b)
2024-05-01 12:08:26 +02:00
bruvzg
54393c53f3
[macOS] Enabled secure restorable state.
(cherry picked from commit 84380a94f7)
2024-05-01 12:03:45 +02:00
Adam Scott
a671234483
Add workaround for emscripten >= 3.1.47 LTO build
(cherry picked from commit 656bc22e28)
2024-05-01 12:01:12 +02:00
bruvzg
2274ec84cb
[3.x, iOS export] Add support for privacy manifest configuration. 2024-04-30 09:39:20 +03:00
Rémi Verschelde
246b85c686
Web: Bump closure compiler spec to ECMASCRIPT_2021
Fixes #88008.

(cherry picked from commit d29b0d90e0)
2024-04-25 16:24:36 +02:00
Adam Scott
32fcc88c23
Fix emscripten 3.1.51 breaking change about *glGetProcAddress()
(cherry picked from commit 5922ac0fb1)
2024-04-25 16:24:36 +02:00
Adam Scott
9bcdcccb36
Add WASM_BIGINT linker flag to the web build
(cherry picked from commit 3ae524fa9e)
2024-04-25 16:24:36 +02:00
Fredia Huya-Kouadio
4e7f4ee864
Fix gradle build errors when the build path contains non-ASCII characters
(cherry picked from commit f1887a30f3)
2024-04-25 16:24:14 +02:00
Andrés Botero
9c4035fb7b Allow automatic provisioning in iOS when using development signature.
Implements https://github.com/godotengine/godot/pull/86748/files in 3.x.
2024-03-17 08:56:48 -05:00
bruvzg
5255b661b4
[3.x, iOS] Remove deprecated LaunchImages support and switch to Storyboard by default. 2024-03-10 10:10:14 +02:00
lawnjelly
758daacd24
Merge pull request #88490 from AlekseyKapustyanenko/Rotary-input-3.x
[3.x] Add rotary input support for Android platform
2024-03-08 14:11:51 +00:00
Aleksey Kapustyanenko
99c8cd2b17 Rotary input for 3.x 2024-02-18 22:25:10 +04:00
BZ1234567890
1065527ca7 [3.x] [Android 14] Fix GodotEditText white box showing during game load 2024-02-15 01:10:00 +01:00
Rémi Verschelde
cc4492f9b9
Merge pull request #88002 from Calinou/x11-fix-build
[3.x] Fix build on X11 following 64-bit detection changes
2024-02-07 23:10:37 +01:00
Hugo Locurcio
b859a1898d
Fix build on X11 following 64-bit detection changes
This also ports over the cross-compilation logic to the `server`
platform, and allows Embree to be used in server tools builds on aarch64.
2024-02-07 19:33:21 +01:00
Rémi Verschelde
273d5897a0
Merge pull request #85229 from ztc0611/3.x-ios-add-pause-resume-notifs
[3.x] Enhance mobile suspend MainLoop notifications
2024-02-07 09:40:13 +01:00
Rémi Verschelde
4206975e3a
SCons: Fix Web build when compiler version isn't properly detected
Quick fix for #82585.

A better fix requires refactoring the way we detect the compiler version
to make it more reliable, and get a consistent output. But I prefer to
keep changes minimal for 3.x branches at this point.

Also set CI version to 3.1.39, which is what we use for official 3.6 builds
since 3.6-beta4.
2024-01-30 14:54:49 +01:00
Rémi Verschelde
d1b6b6f725
Merge pull request #87588 from m4gr3d/update_android_dependencies_3x
[3.x] Update Android dependencies for the project
2024-01-29 23:29:27 +01:00
Fredia Huya-Kouadio
eba77be573 Update Android dependencies for the project
- Update Java version from 11 to 17
- Update Android gradle plugin version from 7.2.1 to 8.2.0
- Update gradle version from 7.4.2 to 8.2
- Update target SDK from 33 to 34
- Update build tools version from 33.0.2 to 34.0.0
- Update kotlin version from 1.7.0 to 1.9.20
- Update Android fragment version from 1.3.6 to 1.6.2
- Update AndroidX window version from 1.0.0 to 1.2.0
- Update Nexus plugin version from 1.1.0 to 1.3.0
2024-01-25 13:58:08 -08:00
Rémi Verschelde
f61e2491e1
Update year property in version.py to 2024
Seems like we missed this one when changing the copyright statements
to use `present` instead of the hardcoded `year`.

And backport other minor improvements from #87543.
2024-01-25 13:38:03 +01:00
Rémi Verschelde
584dc09ff8
Merge pull request #87359 from bruvzg/ios_xc1520_3
[iOS, 3.x] Update linker flags for Xcode 15.0 - 15.2. Bump min. iOS version to 12.
2024-01-19 09:12:50 +01:00
bruvzg
e6fb19275e
[iOS, 3.x] Update linker flags for Xcode 15.0 - 15.2. Bump min. iOS version to 12. 2024-01-19 08:19:46 +02:00
Rémi Verschelde
f706a3bd54
Web: Clarify that OS.get_unique_id is not supported
Remove the base error message in `OS`, we no longer really error out this
way for not implemented methods. Instead, each platform should override them
to provide the context they want.

Fixes #82439.

(cherry picked from commit 0a10f09ce4)
2024-01-18 16:19:43 +01:00
floatingpointer
ece9dccbd1
Add XInput device ID for wireless Series 2 Elite controller
(cherry picked from commit 81f9c0345c)
2024-01-18 16:10:46 +01:00
nikitalita
267063268b
SCons: Add stack_size and default_pthread_stack_size options to Web target
(cherry picked from commit 6788bc6bc2)
2024-01-18 16:10:45 +01:00
Adam Scott
4a02e6159d
Set what were default values for some emscripten linkflags
- Set `-sSTACK_SIZE` to what it was before emscripten 3.1.27.
  It was renamed in 3.1.25 so also set `-sTOTAL_SIZE` for older
  versions for consistency.
- Set `-sDEFAULT_PTHREAD_STACK_SIZE` to what it was before 3.1.30.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 8e5fbd4348)
2024-01-18 16:10:45 +01:00
Rémi Verschelde
58898a5484
Linux: Add support for arm64 and arm32 export templates
This is done in a hacky way, mostly to keep it simple and avoid having
to do a refactoring of the `EditorExportPlatform` interface.

Only Windows and Linux use `EditorExportPlatformPC`, and thus to
handle the new architectures for Linux, we simply do a few checks here
and there with a couple new methods to register the export template
names for Linux arm64 and arm32.

For Godot 4.0, we did refactor everything to allow exporting binaries
for different architectures cleanly. For 3.6, which is likely the last
feature release for the 3.x branch, I tend to cut corners as these
improvements will be shorter lived and thus new tech debt isn't as big
a concern.
2024-01-18 15:38:32 +01:00
Rémi Verschelde
d01e8aafb4
UWP: Fix VS 2017 build with new get_unique_id method
Fixes this error:
```
platform\uwp\os_uwp.cpp(715): error C3149: 'Windows::Storage::Streams::IBuffer': cannot use this type here without a top-level '^'
```
2024-01-17 11:24:19 +01:00
Rémi Verschelde
304f453b01
SCons: Fix Python 3.12 SyntaxError with regex escape sequences
(cherry picked from commit b362976504)
2024-01-16 17:04:40 +01:00
Rémi Verschelde
b0329fe8cb
Linux: Remove hardcoded lib path for x86 cross-compilation
This breaks the build with our updated i686 Linux SDK which doesn't contain
this path, and may not be needed at all.

(cherry picked from commit 63153c9d36)
2024-01-16 16:17:54 +01:00
Rémi Verschelde
4126326197
Merge pull request #83409 from jfriv/add-audiosession-options
[3.x] Add project settings for AVAudioSessionCategory on iOS
2024-01-10 13:37:22 +01:00
Cody Roberts
739d27ae40
Add project settings for AVAudioSessionCategory on iOS
Co-authored-by: Georg Wacker <contact@georgwacker.com>
2024-01-10 13:33:11 +01:00
DylanCheetah
bc93cad7f9
Implement UWP version of OS.get_unique_id function. 2024-01-10 13:25:28 +01:00
Fredia Huya-Kouadio
194452bf38 Update the logic used to start / stop the GL thread
Currently the GL thread is started / stopped when the activity is respectively resumed / paused. However, according to the `GLSurfaceView` documentation, this should be done instead when the activity is started / stopped, so this change updates the start / stop logic for the GL thread to match the documentation.
2023-12-20 20:38:34 -08:00