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
Sergey Minakov
d48d7cc94f
[iOS] Use platform generated api to initialize iOS plugins
2021-08-06 23:29:09 +03:00
Sergey Minakov
f3da335416
[iOS] Fix plugin configuration loading
...
Clear ConfigFile parameter before loading new file.
Ignore duplicate input plist keys
(cherry picked from commit aa321f0a24
)
2021-07-15 10:40:56 +02:00
Hugo Locurcio
e8c9877ad8
Fix casing of the "to" stop word in editor strings
2021-07-13 15:28:00 +02:00
Rémi Verschelde
0c775ece14
Merge pull request #49802 from naithar/feature/ios-plugin-multitype-plist
...
[3.x] [iOS] Support multiple `plist` types in plugin
2021-06-22 12:49:22 +02:00
Sergey Minakov
ab03dcf44d
[iOS] Support multiple plist types
2021-06-21 17:46:27 +03:00
Marcel Admiraal
5a58516231
Remove duplicate ERR_PRINTS macro
2021-06-16 11:56:25 +01:00
bruvzg
8790c07562
[iOS] Option to automatically generate icons and launch screens
2021-06-09 17:52:06 +02:00
bruvzg
683f96df35
Add separate simulator
flag for iOS build, change main library to xcframework
.
...
Build and export iOS Mono libs as `.xcframework`s, for Apple Silicon iOS simulator support.
2021-06-02 01:09:03 +02:00
Pedro J. Estébanez
0d7130f37c
Add iOS export option for device family
...
(cherry picked from commit 19ae8193ee
)
2021-06-01 12:52:19 +02:00
Pedro J. Estébanez
857fd831c1
Set schemes' build config to debug/release in iOS Xcode export
...
(cherry picked from commit 1534b4e65e
)
2021-06-01 12:52:19 +02:00
Hugo Locurcio
914b5dc525
Remove duplicate orientation settings in the iOS export preset
...
The screen orientation is now sourced from the Project Settings
like it is done for Android already.
2021-05-25 23:55:37 +02:00
Rémi Verschelde
eb78f80f03
Fix typos with codespell
...
Using codespell 2.0.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2021-05-20 12:56:56 +02:00
bruvzg
dab4cf3ed6
Add physical_scancode
(keyboard layout independent keycodes) to InputEventKey and InputMap.
...
Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2021-05-06 23:19:45 +03:00
Rémi Verschelde
140350d767
Style: Enforce braces around if blocks and loops
...
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
Rémi Verschelde
3d15f04668
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
2021-05-04 14:45:15 +02:00
Rémi Verschelde
6e600cb3f0
Style: Set clang-format Standard to c++14
2021-05-04 14:45:15 +02:00
Sergey Minakov
f9535554fa
[iOS] Nonnegative start index for virtual keyboard range
...
(cherry picked from commit 275772818d
)
2021-04-30 12:15:24 +02:00
Rémi Verschelde
8ec14c917f
Merge pull request #47469 from HEAVYPOLY/ios-pen-pressure
...
Add iOS pen pressure
2021-04-28 17:01:05 +02:00