Pedro J. Estébanez
007cb5ccfb
Implement get_cache_path() for iOS, and improve it for Android and Windows
2021-10-09 11:13:26 +02:00
Hugo Locurcio
2daaf0fdc3
Make platform feature tag names lowercase
...
Feature tag names are still case-sensitive, but this makes built-in
feature tags more consistent.
- `Windows` -> `windows`
- `OSX` -> `osx`
- `LinuxBSD` -> `linuxbsd`
- `Android` -> `android`
- `iOS` -> `ios`
- `HTML5` -> `html5`
- `JavaScript` -> `javascript`
- `UWP` -> `uwp`
2021-08-31 20:34:44 +02:00
Pedro J. Estébanez
7b7e17a626
Upgrade Vulkan memory allocator
2021-08-13 00:05:41 +02:00
Sergey Minakov
968b712a97
Split iphone platform export template into multiple files
2021-08-12 16:56:17 +03:00
bruvzg
133f678f85
Remove unnecessary iOS linker flags.
2021-08-12 14:25:16 +03:00
bruvzg
d7957a2a20
Use "volk" instead of statically linked Vulkan loader.
2021-08-12 14:25:15 +03:00
Aaron Franke
fa3a32a2d6
Use Key enum instead of plain integers
2021-08-10 16:26:55 -05:00
Sergey Minakov
ae91e372d1
[iOS] Use platform generated api to initialize iOS plugins
2021-08-06 23:28:37 +03:00
luz paz
3564c16cb8
Fix various typos with codespell
...
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25 11:21:51 +02:00
bruvzg
618eb27e8b
Move alert
function from DisplayServer
to OS
.
2021-07-22 21:50:35 +03:00
Sergey Minakov
aa321f0a24
[iOS] Fix plugin configuration loading
...
Clear ConfigFile parameter before loading new file.
Ignore duplicate input plist keys
2021-07-13 21:30:19 +03:00
Hugo Locurcio
a3fbd68781
Fix casing of the "to" stop word in editor strings
...
This also fixes a C# documentation example that had one of its
strings incorrectly converted.
2021-07-13 15:29:06 +02:00
Hendrik Brucker
043ae91560
Restructure and reimplement vsync options
...
-Add a v-sync mode setting which allows to choose between DISABLED, ON, ADAPTIVE and MAILBOX
-Removed the V-Sync via Compositor option
2021-07-06 16:34:26 +02:00
Rémi Verschelde
277db14b64
Merge pull request #49803 from naithar/feature/ios-plugin-multitype-plist-4.0
...
[4.0] [iOS] Support multiple `plist` types in plugin
2021-06-22 12:48:55 +02:00
Sergey Minakov
771e3aae1e
[iOS] Support multiple plist types
2021-06-21 18:17:41 +03:00
Lightning_A
e28fd07b2b
Rename instance()
->instantiate()
when it's a verb
2021-06-19 20:49:18 -06:00
Rémi Verschelde
8d4046929c
Merge pull request #49511 from akien-mga/core-diraccess-fileaccess-io
...
Core: Move DirAccess and FileAccess to `core/io`
2021-06-11 16:51:10 +02:00
Rémi Verschelde
9e328bb5b7
Core: Move DirAccess and FileAccess to core/io
...
File handling APIs are typically considered part of I/O, and we did have most
`FileAccess` implementations in `core/io` already.
2021-06-11 14:52:39 +02:00
Hugo Locurcio
5ea1c75d63
Rename String.is_abs_path()
to String.is_absolute_path()
...
This is more consistent with `NodePath.is_absolute()`.
2021-06-03 16:00:06 +02:00
Rémi Verschelde
f7bcada709
Merge pull request #49137 from RandomShaper/ios_targeted_family
...
Add iOS export option for device family
2021-05-31 10:34:49 +02:00
Pedro J. Estébanez
19ae8193ee
Add iOS export option for device family
2021-05-27 11:46:22 +02:00
Pedro J. Estébanez
1534b4e65e
Set schemes' build config to debug/release in iOS Xcode export
2021-05-25 10:26:54 +02:00
Hugo Locurcio
660952a857
Use an enum to represent screen orientation in the Project Settings
...
- Tweak the setting property hint to be more informative.
- Make the setting a "basic" setting so it appears when Advanced Settings
is disabled.
- Remove redundant orientation setting in the iOS export preset.
The project setting is now used (like on Android).
Projects upgrading from a previous version will have to set the
screen orientation again in the Project Settings if it wasn't set
to the default value ("landscape").
2021-05-24 18:53:10 +02:00
Rémi Verschelde
4219a4cb6f
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:38:56 +02:00
Rémi Verschelde
35ec0e9be7
OS: Remove native video API only implemented on iOS
...
See discussion in #43811 , it was only implemented on iOS and even that
implementation was fairly limited. This would best be provided as plugins
for Android and iOS without cluttering the shared OS API.
2021-05-07 20:40:24 +02:00
Aaron Franke
0de9a7d803
Rename doubleclick
to double_click
2021-05-04 04:38:08 -04:00
Rémi Verschelde
a91effc791
Merge pull request #48323 from naithar/fix/ios-virtual-keyboard-range
...
[iOS] Nonnegative start index for virtual keyboard range
2021-04-30 11:47:49 +02:00
Sergey Minakov
275772818d
[iOS] Nonnegative start index for virtual keyboard range
2021-04-30 11:44:32 +03:00
Rémi Verschelde
5b16020846
Replace remaining uses of NULL
with nullptr
...
Follow-up to #38736 (these uses were likely added after this PR was merged).
2021-04-29 11:53:27 +02:00
Sergey Minakov
15630a4931
[iOS] Fix for plugin modified time check
2021-04-13 11:57:42 +03:00
Aaron Franke
a5324787c8
Rename some more global enums (Key, Joy, MIDI)
2021-03-23 07:13:23 -04:00
Rémi Verschelde
fcddd8c53a
Merge pull request #46966 from qarmin/faster_release
...
Allow to not optimize release build
2021-03-20 22:44:47 +01:00
Marcus Brummer
fda2743fef
Converted sensor acceleration units to m/s^2 on iOS and UWP
...
This is beacuse on Android these values are already in m/s^2 while on
iOS and UWP they are in g. This just makes the behaviour consistent on
all platforms.
2021-03-17 14:05:05 +01:00
Rafał Mikrut
0b298d201e
Allow to not optimize release build
2021-03-14 15:51:05 +01:00
Rémi Verschelde
310496a89f
Merge pull request #45617 from RandomShaper/modernize_atomics
...
Modernize atomics (and fix `volatile`)
2021-02-18 19:40:31 +01:00
Pedro J. Estébanez
8e128726f0
Modernize atomics
...
- Based on C++11's `atomic`
- Reworked `SafeRefCount` (based on the rewrite by @hpvb)
- Replaced free atomic functions by the new `SafeNumeric<T>`
- Replaced wrong cases of `volatile bool` by the new `SafeFlag`
- Platform-specific implementations no longer needed
Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-02-18 17:12:46 +01:00
reduz
64140eaf42
Reorganize Project Settings
...
-Advanced Settings toggle also hides advanced properties when disabled
-Simplified Advanced Bar (errors were just plain redundant)
-Reorganized rendering quality settings.
-Reorganized miscelaneous settings for clean up.
2021-02-18 11:23:34 -03:00
Rémi Verschelde
43ab0edbd2
Merge pull request #45686 from naithar/feature/extend-plugin-params-4.0
...
[4.0] [iOS] Additional 'linker_flags' plugin parameter
2021-02-03 18:37:42 +01:00
Sergey Minakov
c575fb81cc
iOS: Use storyboard as loading screen
...
If 'Launch Screen' storyboard is present it will be used as loading screen.
2021-02-03 19:53:52 +03:00
Sergey Minakov
9f5265766d
[iOS] Additional 'linker_flags' plugin parameter
2021-02-03 18:27:26 +03:00
Sergey Minakov
4fda1ae6b8
[iOS] Remove remote notifications code
...
Using any remote notification method (even indirectly) causes App Store to trigger APNS warning email.
2021-02-03 15:00:43 +03:00
Sergey Minakov
3db04b3bd4
[iOS] Initialize plugins earlier
...
Initialize iOS plugins before 'Main::setup' call to have access to them in script's '_init' function.
2021-02-01 15:27:10 +03:00
Rémi Verschelde
5525cd85c6
Merge pull request #45315 from RandomShaper/modernize_thread
...
Modernize Thread
2021-01-31 15:24:56 +01:00
Pedro J. Estébanez
99fe462452
Modernize Thread
...
- Based on C++11's `thread` and `thread_local`
- No more need to allocate-deallocate or check for null
- No pointer anymore, just a member variable
- Platform-specific implementations no longer needed (except for the few cases of non-portable functions)
- Simpler for `NO_THREADS`
- Thread ids are now the same across platforms (main is 1; others follow)
2021-01-29 12:02:13 +01:00
Sergey Minakov
366ce084f4
[iOS] Rework push notification methods usage
...
Moved AppDelegate push notifications methods implementation to 'GODOT_ENABLE_PUSH_NOTIFICATIONS'
which can be used in plugins to implement APNS plugins.
2021-01-26 18:39:45 +03:00
Rémi Verschelde
de9c9007c2
Merge pull request #45252 from naithar/feature/plugins-migration
...
[4.0] [iOS] iOS Plugins Migration
2021-01-26 14:53:06 +01:00
Rémi Verschelde
7086d72e13
Merge pull request #45277 from bruvzg/ios_arm64_sim
...
Add separate `simulator` flag for iOS build, change main library to `xcframework`.
2021-01-26 14:02:16 +01:00
Sergey Minakov
6d67827f4e
[iOS] Fix embedding of plugin libraries
2021-01-18 19:23:12 +03:00
bruvzg
efd8f27790
[WIP] Add separate simulator
flag for iOS build, change main library to xcframework
format.
2021-01-18 10:36:14 +02:00
Sergey Minakov
13a6a83b44
[iOS] Remove plugins from modules.
2021-01-17 14:33:39 +03:00