Ted Spikes
4356077153
Check for ios_simulator when building for x86_64
...
(cherry picked from commit 21f7bd0723
)
2022-09-20 10:26:17 +02:00
Rémi Verschelde
d5c1baa288
SCons: Refactor handling of `production` flag and per-platform LTO defaults
...
Fixup to #63288 .
See #65583 for the bug report.
Co-authored-by: Cyberrebell <chainsaw75@web.de>
(cherry picked from commit 35a15e6191
)
2022-09-20 10:26:17 +02:00
Rémi Verschelde
570e6c1730
SCons: Refactor LTO options with `lto=<none|thin|full>`
...
Adds support for LTO on macOS and Android.
Disable LTO by default on iOS even if `production=yes` is set.
Also add `linker` option to `server` platform missed in #63283 .
Refactor code handling old arguments to make it simpler (breaks compat,
but is explicit enough about it and scripts are easy to fix).
2022-09-05 14:45:12 +02:00
bruvzg
3a24839cb2
[3.x, macOS / iOS Export] Fix generation of duplicate locale property list files.
2022-08-30 08:16:49 +03:00
Rémi Verschelde
59402ff8ad
Merge pull request #64631 from nathanfranke/3-ios-opaque
...
(3.x) iOS: Force app store icon to be opaque, use proper errors, fix memory leak
2022-08-25 08:43:14 +02:00
Rémi Verschelde
8388ea1d6b
Merge pull request #64839 from akien-mga/3.x-zstd-1.5.2
...
zstd: Update to upstream version 1.5.2
2022-08-25 00:51:28 +02:00
bruvzg
b7c9eb1a3c
Add arch flag to assembler to fix build on ARM64 macOS / iOS.
...
(cherry picked from commit b767d2e0fd
)
2022-08-24 18:26:28 +02:00
Pedro J. Estébanez
0876491983
Clean iOS platform config of long gone macro
...
(cherry picked from commit 8c2a577350
)
2022-08-24 17:13:21 +02:00
Nathan Franke
da3aecff01
3.x: ios: force app store icon to be opaque, use proper errors, fix memory leak
2022-08-19 13:18:01 -05:00
Fredia Huya-Kouadio
989d5990ad
Merge pull request #64420 from m4gr3d/investigate_read_write_access_loss_3x
...
[3.x] Fix issue preventing the Android Editor from displaying the project content
2022-08-15 13:19:01 -07:00
Fredia Huya-Kouadio
3ac6b6a596
Disable threads used to check on plugins to load
...
The functionality is unavailable on Android (requires export capability) and unnecessarily consumes resources
2022-08-15 02:30:08 -07:00
Fredia Huya-Kouadio
d2213f76a9
Refactor the export checking logic to improve separation of concerns
2022-08-14 08:47:09 -07:00
Sergey Minakov
e8035ffe84
[iOS] Extend iOS plugins to support Swift runtime
2022-08-09 20:19:12 +03:00
Rémi Verschelde
0bed7ea63f
Merge pull request #61316 from bruvzg/tts_3x
...
[3.x] Backport text-to-speech support.
2022-08-05 23:45:51 +02:00
Rémi Verschelde
26762a71b6
Merge pull request #58537 from winterpixelgames/feature/virtual-keyboard-types-3.x
2022-08-05 19:37:13 +02:00
Rémi Verschelde
818f1eed31
Code quality: Fix header guards consistency
...
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 14:53:37 +02:00
Pedro J. Estébanez
0348fa2640
Flush accumulated input events on iOS
2022-07-08 20:01:19 +02:00
Jan Haller
861e155543
Fix exit code of --help and --version, and test them in CI
...
Corrects prior regression which caused ERROR output and exit code of 1.
(cherry picked from commit d38d76d039
)
2022-07-08 14:54:16 +02:00
Brian Semrau
ce24b48e50
Add support for multiple virtual keyboard types
2022-07-07 14:22:28 -04:00
bruvzg
6489fe890e
Backport text-to-speech support.
2022-07-01 11:04:50 +03:00
bruvzg
f5fa1ca944
Add readable export errors. Add RTL image vertical alignment support.
2022-06-08 17:56:28 +03:00
Haoyu Qiu
b657d0c76c
Add dedicated macros for property name extraction
...
* Replace case-by-case extraction with PNAME & GNAME
* Fix group handling when group hint begins with property name
* Exclude properties that are PROPERTY_USAGE_NOEDITOR
2022-05-19 11:31:35 +08:00
Hugo Locurcio
0df7aa1e2c
Increase compiler optimization when using `target=release` on iOS/Android
...
(cherry picked from commit 78b4ec2d4d
)
2022-05-16 17:52:07 +02:00
Timo Schwarzer
8b55b80056
Fix vibration duration on iOS
...
Fixes #61063
2022-05-16 10:33:41 +02:00
Paulo Feodrippe
c46bbdee53
Fix simulatenous touches for different touch types
...
(cherry picked from commit a6f06d57dc
)
2022-05-05 13:49:50 +02:00
Timo Schwarzer
8fb9c96df9
Vibrate using iOS haptics engine on supported devices (3.x)
2022-04-27 09:46:42 +02:00
Hugo Locurcio
cec7c908ca
Add `get_screen_refresh_rate()` to OS
...
This method can be used to get the refresh rate of a given screen.
It is supported on Windows, macOS, Linux, Android and iOS (but not
HTML5).
2022-03-10 22:10:48 +01:00
bruvzg
fa56990170
[macOS and iOS export] Add localized application name to the translation .plist files.
...
(cherry picked from commit 5fdea69276
)
2022-03-10 17:18:40 +01:00
Sergey Minakov
e3cd47f6cc
[iOS] Fix multitouch not working correctly
...
(cherry picked from commit 15ef056997
)
2022-03-02 11:00:26 +01:00
Sergey Minakov
4282076ab5
[iOS] Fix incorrect method name for input dragging event
...
(cherry picked from commit 8b3ac9479e
)
2022-02-19 15:40:01 +01:00
Hugo Locurcio
7f9e974a8b
Add an `OS.get_processor_name()` method
...
This method can be used to get the CPU model name.
It can be used in conjunction with
`VisualServer.get_video_adapter_name()` and
`VisualServer.get_video_adapter_vendor()` for annotating benchmarks
and automatic graphics quality configuration.
2022-02-16 18:39:02 +01:00
Rémi Verschelde
7a16bb2ee4
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.
(cherry picked from commit 1bdb82c64e
)
2022-02-11 09:50:59 +01:00
Sergey Minakov
aba5f6d9be
[iOS] Fix touch handling for overlay views
...
Workaround for GodotView touches being called from UIWindow on different UIView input
2022-02-03 23:53:31 +03:00
bruvzg
f44b7c3188
Fix iOS export with manually specified signing/provisioning data.
...
(cherry picked from commit 57db989a97
)
2022-02-03 11:30:17 +01:00
bruvzg
0e5f063b5b
Improve iOS icon / loading screen export.
...
Merge "required" / "optional" icons into a single list.
Remove "generate_missing" and automatically rescale icons / loading screens that are missing or have incorrect size.
Print warning if icon or loading screen has incorrect size.
2022-01-19 16:04:16 +01:00
Marcel Admiraal
949ea2b326
Simplify InputDefault::joy_axis code by using float instead of struct JoyAxis
2022-01-14 15:36:35 +00:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
bruvzg
6f81a8ee2c
Fix multiple missing UTF-8 decoding.
...
(cherry picked from commit c69e0d16bc
)
2022-01-06 21:44:40 +01:00
bruvzg
d2558bdc8c
Fix decoding UTF-8 filenames on unzipping.
...
(cherry picked from commit d2573c1636
)
2022-01-06 00:21:37 +01:00
Pedro J. Estébanez
abdf931832
Add off-screen GL context
2021-11-09 12:19:12 +01:00
Pedro J. Estébanez
25f01cb09d
Implement get_cache_path() for iOS, and improve it for Android and Windows
2021-11-08 22:33:54 +01:00
bruvzg
2e74bacf17
[iOS export] Capture and display xcodebuild output.
2021-11-07 11:06:21 +02:00
Rémi Verschelde
42d385b312
clang-format: Disable alignment of operands, too unreliable
...
Sets `AlignOperands` to `DontAlign`.
`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 13:23:38 +02:00
Rémi Verschelde
da5c843bd1
Merge pull request #53986 from madmiraal/remove-unused-variables-3.x
2021-10-19 12:18:21 +02:00
Marcel Admiraal
fe9fd5c5ce
Remove unused variables
2021-10-18 18:51:05 +01:00
Ignacio Roldán Etchevery
24fb09614d
iOS: Don't embed project static frameworks/libs
...
Previously, files added via `add_ios_project_static_libs` where
being added as embedded frameworks. This commit fixes that.
Static frameworks/libs should never be embedded into IPAs.
2021-10-17 22:30:09 +02:00
Rémi Verschelde
9657559b66
SCons: Set `DEBUG_ENABLED` and `DEV_ENABLED` in SConstruct
...
They're the same for all platforms so they don't need to be repeated in all
platform definitions.
(cherry picked from commit cd21cc683a
)
2021-10-15 12:54:16 +02:00
Rémi Verschelde
e292d79fb3
SCons: Add `DEV_ENABLED` defines for `target=debug` builds
...
This will allow adding developer checks which will be fully compiled out in
user builds, unlike `DEBUG_ENABLED` which is included in debug tempates and
the editor builds.
This define is not used yet, but we'll soon add code that uses it, and change
some existing `DEBUG_ENABLED` checks to be performed only in dev builds.
Related to https://github.com/godotengine/godot-proposals/issues/3371 .
2021-10-04 11:25:02 +02:00
Kyoz
6db3e074c5
fix(ios): Clipboard get/set missing implement
2021-09-10 21:46:54 +07:00
Rémi Verschelde
afe7b3fc58
Merge pull request #51336 from naithar/fix/ios-plugin-initialization
...
[3.x] [iOS] Use platform generated api to initialize iOS plugins
2021-08-06 23:59:06 +02:00