Commit Graph

5187 Commits

Author SHA1 Message Date
bruvzg
e9b86b4910
[4.2, iOS export] Add support for privacy manifest configuration. 2024-04-30 10:27:11 +03:00
melquiadess
0eca87df51
Add POST_NOTIFICATIONS permission to the list of permissions available in the Export dialog
(cherry picked from commit 739190ca2b)
2024-04-08 22:00:02 +02:00
bruvzg
fea0f98220
[iOS Export] Fix adding static libs to the Xcode project.
(cherry picked from commit 30babfc789)
2024-04-08 15:48:31 +02:00
sambler
767649757c
Make sysctl calls on FreeBSD
The OS module get_unique_id and get_processor_name rely
on linux files which don't exist on a standard FreeBSD install,
make sysctl calls to get the required data.

(cherry picked from commit 97e95e1750)
2024-04-08 15:48:31 +02:00
Jiali Qiu
8bfe88fee8
Fix issue with moving maximized window in macOS
When opening the Godot editor and maximizing the window by double-clicking the
title bar, users are unable to drag the window with the mouse.

With this commit, `window_set_position` allows the maximized window to be moved
by dragging it. Only the fullscreen window won't be allowed to move.

Fixes #78758.

(cherry picked from commit d78cb43ec2)
2024-04-08 15:48:29 +02:00
Rodrigo Dias
61565d20c6
Fix MacOS menu bar & dock stop appearing after closing sub-window
When the progress dialog task for saving a scene ends, or when closing the "Open project" dialog, the DisplayServerMacOS::update_presentation_mode() method now restores those fullscreen functionalities with the flags NSApplicationPresentationAutoHideMenuBar and NSApplicationPresentationAutoHideDock, whereas before it would reset to NSApplicationPresentationDefault, which didn't allow that.

Fixes #86495

(cherry picked from commit a4f2e5210f)
2024-04-08 15:48:29 +02:00
Yevhen Babiichuk (DustDFG)
bfdced3a1c
Fix platform name in the message about unsupported CPU architecture
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
(cherry picked from commit ca60255d8c)
2024-04-08 15:48:28 +02:00
bruvzg
a6f25f7b04
[Windows] Fix exporting as ZIP when console wrapper and/or embedded PCK is enabled.
(cherry picked from commit aac31feda6)
2024-04-08 15:48:28 +02:00
Fredia Huya-Kouadio
6980cb0f0f
Update Android dependencies for the project
- 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

(cherry picked from commit e04a38775b)
2024-03-12 21:14:11 +01:00
BZ1234567890
89a614c380
[Android 14] Fix GodotEditText white box showing during editor load
(cherry picked from commit 04798d6352)
2024-03-11 17:28:56 +01:00
bruvzg
c1d946e3fe
[macOS] Fix color picker on HDR screens.
(cherry picked from commit d9b7075ba6)
2024-03-11 17:28:56 +01:00
Faycal ElOuariachi
1f0cf81f57
Fix the fetching of images in CF_DIB format in DisplayServerWindows::clipboard_get_image
Fix the fetching of images from windows clipboard, if they're in CF_DIB format (e. g. by taking screenshots).

Image::create_from_data was used with an instance of Image, but it's a static function, returning a new instance.
(cherry picked from commit c1ec0360e9)
2024-03-11 17:28:55 +01:00
bruvzg
dea652d9a2
[macOS] Allow open_shell to handle filenames without file://.
(cherry picked from commit cc313a1c1c)
2024-03-11 17:28:55 +01:00
bruvzg
4e12b70a90
[macOS] Enabled secure restorable state.
(cherry picked from commit 84380a94f7)
2024-03-11 17:28:55 +01:00
Emanvidmaker
c13fc678ff
Added dark mode support for Windows 10, versions 1909(18363) and above
(cherry picked from commit a16ca4b96c)
2024-03-11 17:28:55 +01:00
bruvzg
31bdc32b4d
[macOS] Update window visible state on deminiaturize.
(cherry picked from commit 7e5bce7090)
2024-03-11 17:28:55 +01:00
Sassan Haradji
592fda3a8d
set provisioning style for both "iPhone Developer" and "iPhone Distribution" to automatic
(cherry picked from commit 4782cf92ad)
2024-03-11 17:28:55 +01:00
David Snopek
3d6b0ef6f0
[X11] Don't re-set input focus if the given window already has it
(cherry picked from commit 64a52e08fe)
2024-03-11 17:28:55 +01:00
Alexander Hartmann
3dee66d28f
Fix virtual keyboard for decimal values on Android
(cherry picked from commit 6f91c00056)
2024-03-11 17:28:55 +01:00
Septian
970089337e
Fix OS.get_system_font_path and OS.get_system_font_path_for_text to return correct value
(cherry picked from commit 475c2fa1e7)
2024-03-11 17:28:55 +01:00
Fredia Huya-Kouadio
b169bfc851
Specify the path to the Java SDK used for the Android gradle build
Introduce an editor setting to allow users the ability to specify the path to the Java SDK used for the Android gradle build.

(cherry picked from commit 85e98ef009)
2024-03-11 17:28:55 +01:00
Chia-Hsiang Cheng
02c26e075b
Ensure the active window gains the keyboard focus
(cherry picked from commit 669ce39f95)
2024-03-11 17:28:55 +01:00
Adam Scott
bf98ff67c6
Fix emscripten 3.1.51 breaking change about *glGetProcAddress()
(cherry picked from commit 5922ac0fb1)
2024-03-11 17:28:55 +01:00
Adam Scott
80a0b4e0b6
Add workaround for emscripten >= 3.1.47 LTO build
(cherry picked from commit 656bc22e28)
2024-03-11 17:28:55 +01:00
bruvzg
9fa98ebb17
[iOS one-click] Add support for Xcode 15 devicectl.
(cherry picked from commit 33ce138b9b)
2024-03-11 16:15:08 +01:00
Hugo Locurcio
aaf1928940
Improve documentation on Android package unique name
- Document `$genname` behavior.
- Update to match actual validation and Google Play guidelines.

(cherry picked from commit 111908c4ed)
2024-03-11 15:13:16 +01:00
Micky
acea2c5424
Add documentation to EditorExportPlatformWeb
(cherry picked from commit 7ffacb5d49)
2024-03-11 15:05:09 +01:00
bruvzg
3797140b7d
[Windows] Disable fallback to ANGLE logic when compiled w/o ANGLE support.
(cherry picked from commit 620e194727)
2024-03-11 15:00:44 +01:00
bruvzg
7e80c69d49
[Windows] Always use ANGLE in ARM builds.
(cherry picked from commit b65635ae51)
2024-03-11 15:00:44 +01:00
bruvzg
d771bc6084
[macOS] Fix changing main menu item names.
(cherry picked from commit 112f489449)
2024-03-11 15:00:43 +01:00
LinuxUserGD
4bbca24ec7
os_linuxbsd.cpp: include servers/rendering_server.h
(cherry picked from commit 6307cebf37)
2024-03-11 15:00:41 +01:00
Fredia Huya-Kouadio
2dd55ce69f
Fix gradle build errors when the build path contains non-ASCII characters
(cherry picked from commit f1887a30f3)
2024-03-11 15:00:41 +01:00
Adam Scott
52efe85133
Add WASM_BIGINT linker flag to the web build
(cherry picked from commit 3ae524fa9e)
2024-03-11 15:00:41 +01:00
Rémi Verschelde
2b704dc15d
Web: Bump closure compiler spec to ECMASCRIPT_2021
Fixes #88008.

(cherry picked from commit d29b0d90e0)
2024-03-11 00:11:29 +01:00
bruvzg
adcc505e10
[macOS] Check Vulkan SDK version when looking for MoltenVK libs.
(cherry picked from commit 70e328385c)
2024-03-11 00:11:29 +01:00
Rémi Verschelde
91c5d1e245
iOS: Enable Storyboard launch screen by default
LaunchImages are deprecated, and Storyboard is supported on all currently
supported iOS versions, so this should be the default.

LaunchImages support was removed in 4.3 with #86312.
2024-03-09 23:19:34 +01:00
Alexander Hartmann
822b2b43a6 Fix 'get_window_safe_area' on Android
(cherry picked from commit d7c6ad2020)
2024-01-25 18:45:02 +01:00
Gregory De Bonis
ce42f8b4ec Wrong key mapping for XK_KP_Delete key
Fixes #86156

(cherry picked from commit 95bcf93849)
2024-01-25 18:45:02 +01:00
Zach Coleman
9609df181d Make screen_get_refresh_rate() respect iOS Low Power Mode
(cherry picked from commit 6a8f6bae4c)
2024-01-25 18:32:35 +01:00
mequam
94949f0ee1 [X11] Fix Godot stealing focus on alternative Window Managers
(cherry picked from commit 40d69c25d5)
2024-01-25 18:08:46 +01:00
nikitalita
6e4cbdc144 SCons: Add stack_size and default_pthread_stack_size options to Web target
(cherry picked from commit 6788bc6bc2)
2024-01-25 18:08:45 +01:00
Fredia Huya-Kouadio
894d629185 Disable automatic permissions request
The feature was added in Godot 4.2, but it goes against recommended best practices for permissions request, as such it's being reverted.
In its place, developers now have to explicitly request the permissions they need to access.

(cherry picked from commit df4f9e8e64)
2024-01-25 17:19:41 +01:00
Fredia Huya-Kouadio
9822c13909 Update the validation logic for the package name:
- When using the project name, allow underscore (`_`) characters
- Send a warning instead of an error when the project name is modified to fit the package name format

(cherry picked from commit 0325568a9b)
2024-01-24 15:56:50 +01:00
bruvzg
4061f306e2
[macOS] Fix MoltenVK SDK detection after file location changes in 1.3.275.0.
(cherry picked from commit a2c1c01941)
2024-01-18 10:47:26 +01:00
Adam Scott
5dd7623ecc
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)
2023-12-11 20:26:44 +01:00
Mikael Klasson
c219ffe5eb
Fix invalid Python escape sequences
(cherry picked from commit 4986d6d317)
2023-12-07 10:27:09 +01:00
bruvzg
455e8f0e33
[macOS] Switch ANGLE backend to ANGLE over OpenGL, switch default compatibility renderer back to native.
(cherry picked from commit d48524a3f4)
2023-12-07 10:27:09 +01:00
bruvzg
65677df124
[iOS] Use mdfind to check if Xcode is installed in one-click deploy code.
(cherry picked from commit 0e2f297806)
2023-12-07 10:27:08 +01:00
HolonProduction
24a383e2ec
X11: Send IME update notification deferred
(cherry picked from commit bf45d3ae24)
2023-12-07 10:27:08 +01:00
HolySkyMin
3dfb82f47b
Fix IME key event being erased in macOS
Fixes Korean IME behavior which calls insertText and setMarkedText at the same time.

(cherry picked from commit 5962e5278c)
2023-12-07 10:27:07 +01:00