Sergey Minakov
d48d7cc94f
[iOS] Use platform generated api to initialize iOS plugins
2021-08-06 23:29:09 +03:00
Sergey Minakov
19d240c8a7
[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:28:14 +03:00
Marcel Admiraal
4616d843ba
Don't handle BaseException in JavaScript build script
2021-01-28 19:43:08 +00:00
Rémi Verschelde
c2ea80348c
Revert "[3.2] Add separate simulator
flag for iOS build, change main library to xcframework
."
2021-01-27 21:53:16 +01:00
Sergey Minakov
d2af815039
[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.
(cherry picked from commit 366ce084f4
)
2021-01-26 22:11:10 +01:00
Sergey Minakov
7c076fbd0b
[iOS] Fix embedding of plugin libraries
...
(cherry picked from commit 6d67827f4e
)
2021-01-26 17:00:15 +01:00
Sergey Minakov
7689f05786
[iOS] Added support for '.xcframework' in plugins
...
(cherry picked from commit 01d513f3ca
)
2021-01-26 17:00:15 +01:00
Rémi Verschelde
c5a22d7284
Merge pull request #45480 from bruvzg/ios_arm64_sim_3
...
[3.2] Add separate `simulator` flag for iOS build, change main library to `xcframework`.
2021-01-26 15:20:27 +01:00
Rémi Verschelde
061f87e064
Merge pull request #45336 from naithar/feature/plugins-migration-3.2
...
[3.2] [iOS] iOS Plugins Migration
2021-01-26 15:06:46 +01:00
bruvzg
389a4bfa59
[3.2] Add separate simulator
flag for iOS build, change main library to xcframework
format.
2021-01-26 16:00:26 +02:00
Fabio Alessandrelli
f8d7067bf7
[HTML5] Builtin HTTP server disable browsers cache
...
We don't want browsers to cache our temporary exports (since they will
always differ).
2021-01-25 20:16:44 +01:00
Fabio Alessandrelli
276b831c45
[HTML5] Better editor HTML, small refactor.
...
Side and GDNative libraries are now added by engine.js , the dynlink pre
js had been deleted.
2021-01-25 20:16:44 +01:00
Fabio Alessandrelli
31b5c5ee03
[HTML5] Custom Gamepad library to allow remapping.
...
No longer use emscripten functions for gamepads, implement them as
library functions in library_godot_display.js instead.
This allows us to do a better job at "guessing" vendorId, productId, OS,
etc. thus allowing us to better find the remapping for the controller.
2021-01-18 13:07:37 +01:00
Sergey Minakov
d4096285b6
[iOS] Remove plugins from modules.
2021-01-17 14:46:03 +03:00
Rémi Verschelde
7e207cfd48
i18n: Sync translations with Weblate
2021-01-15 16:49:47 +01:00
Rémi Verschelde
c47ad12e80
Merge pull request #43557 from naithar/feature/pluggable_app_delegates_3.2
...
[3.2] [iOS] Pluggable application delegate
2021-01-15 16:14:21 +01:00
Sergey Minakov
64923945b3
[Plugins] Rename 'PluginConfig' struct to platform specific name
2021-01-15 02:12:53 +03:00
Sergey Minakov
cb15abda29
iOS Export: support multi-target plugin
...
Plugins can use 'binary_name.a' or 'binary_name.release.a' and 'binary_name.debug.a' for plugin library.
2021-01-14 15:38:16 +03:00
Sergey Minakov
d5047603a3
iOS Export: export modification to support plugins
...
Added plugin configuration.
Export options now use plugins that could be enabled/disabled.
Plugin changes are observed at runtime.
2021-01-14 15:38:05 +03:00
Sergey Minakov
03cf3d5d4b
iOS: change platform code to support plugins
2021-01-14 15:30:09 +03:00
Sergey Minakov
614f701373
iOS Modules: separate main platform code from modules
...
Moved previously builtin modules 'GameCenter', 'AppStore', 'iCloud' to separate modules to be represented as plugin.
Modified 'ARKit' and 'Camera' to not be builtin into engine and work as plugin.
Changed platform code so it's not affected by the move.
Modified Xcode project file to remove parameters that doesn't make any effect.
Added basic '.gdip' plugin config file.
2021-01-14 15:30:00 +03:00
Rémi Verschelde
49646383f1
Update copyright statements to 2021
...
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
(cherry picked from commit b5334d14f7
)
2021-01-13 16:17:06 +01:00
Rémi Verschelde
188609e5ab
CI: Update to clang-format 11 and apply ternary operator changes
...
(cherry picked from commit af878716f2
)
2021-01-13 16:14:35 +01:00
Fabio Alessandrelli
6988b21d00
[HTML5] Reorganize build script.
...
Simplify helper functions, fix env/sys_env confusion and depends for
externs and pre-js.
2021-01-10 12:34:03 +01:00
Rémi Verschelde
d6fecf7686
Main: Create user data dir in setup()
...
Custom backport of #39563 with preliminary change to make
`OS::ensure_user_data_dir()` public as done in f8a79a9
.
Fixes #32488 .
2021-01-08 10:24:48 +01:00
Rémi Verschelde
3d88ea8468
Merge pull request #42397 from dsnopek/webxr
...
Add WebXR support (for Godot 3.2)
2021-01-05 00:13:10 +01:00
David Snopek
22cfa90ef5
Add support for WebXR
2021-01-04 17:01:42 -06:00
Fredia Huya-Kouadio
170752c5a5
Update the logic to sign prebuilt Godot Android apks.
...
The previously used tool, `jarsigner` has been deprecated in favor of `apksigner` which is bundled with the Android SDK.
The logic is refactored accordingly and a few editor settings have been deprecated in the process as they're no longer necessary.
Note: As a side effect, specifying the Android SDK path is now required. The docs will be updated to reflect that change.
2021-01-01 13:27:27 -08:00
Rémi Verschelde
95b3feb675
Merge pull request #44639 from m4gr3d/export_format_util_method_3_2
...
[3.2] Hardcode the export format for the editor 'run' feature
2020-12-30 09:12:00 +01:00
Fredia Huya-Kouadio
3ba1a8ccb3
Add utility method to export the project using a preset format and sign parameter.
2020-12-29 09:01:21 -08:00
Fredia Huya-Kouadio
c27c436785
Fix invalid invocation of get_class_loader
.
...
The call was made on a `Godot` instance instead of an `Activity` instance.
(cherry picked from commit 2d492ff8ba
)
2020-12-29 16:02:02 +01:00
Rémi Verschelde
60959b085d
SCons: Add only selected platform's opts to env
...
Otherwise we can get situations where platform-specific opts with the same name
can override each other depending on the order at which platforms are parsed,
as was the case with `use_static_cpp` in Linux/Windows.
Fixes #44304 .
This also has the added benefit that the `scons --help` output will now only
include the options which are relevant for the selected (or detected) platform.
(cherry picked from commit 0f84d8dc49
)
2020-12-29 16:02:00 +01:00
Rémi Verschelde
7ef143faaf
Merge pull request #44620 from bruvzg/m1_dragdrop_3
...
[3.2] Fix file drag-drop on M1 Macs.
2020-12-23 18:24:17 +01:00
bruvzg
36a6a713b4
[3.2] Fix file drag-drop on M1 Macs.
2020-12-23 18:01:02 +02:00
Sergey Minakov
8b6357cf28
iOS: fix keyboard display
2020-12-16 05:05:38 +03:00
Rémi Verschelde
fd6b3060c1
Merge pull request #44316 from madmiraal/fix-handles-baseexception-3.2
...
[3.2] Don't handle BaseException in build scripts
2020-12-12 12:44:17 +01:00
Marcel Admiraal
e21adf2bc6
Don't handle BaseException in build scripts
2020-12-12 10:10:23 +00:00
Rémi Verschelde
8bd5fa9556
HTML5: Code style cleanup for export code
...
(cherry picked from commit 8020515717
)
2020-12-10 17:57:13 +01:00
Fabio Alessandrelli
0a67b23913
[HTML5] Fix errors when Mic is not allowed.
2020-12-10 09:27:53 +01:00
Fabio Alessandrelli
a7126e7153
[HTML5] Improve platform buildsystem.
...
Check emcc version requirements when building GDNative.
Add more build options (sanitizers, initial memory).
2020-12-10 09:27:53 +01:00
Fabio Alessandrelli
6936ac9d5d
[HTML5] Add logo and favicon to editor html.
2020-12-09 18:09:30 +01:00
Fabio Alessandrelli
299be786a1
Remove unused FileAccessJAndroid.
...
(cherry picked from commit 09a9712a6a
)
2020-12-09 12:00:50 +01:00
Fabio Alessandrelli
f73c9e555f
Remove now unused FileAccessBuffered.
...
(cherry picked from commit 781efc26e0
)
2020-12-09 11:36:58 +01:00
Fabio Alessandrelli
87e9fbc8a0
[HTML5] Use regular unix FileAccess implementation.
...
(cherry picked from commit 1396c74734
)
2020-12-09 11:35:21 +01:00
Bastiaan Olij
94fff8abb9
Added driving joystick type to windows joystick handling
...
(cherry picked from commit cf5737acbe
)
2020-12-09 11:22:05 +01:00
Rémi Verschelde
b33fd415da
OSX: Remove tmp .app folder instead of moving to trash
...
Fixes #42232 .
And fixes memory leak with use of DirAccess, and harmonize the use of
the sanitized pkg name.
(cherry picked from commits 707a62783b
and 02d228554b
)
2020-12-09 11:22:04 +01:00
Lyubomir Vasilev
d6a65fb13a
Add 'use_static_cpp' option for MinGW and MSVC builds
...
(cherry picked from commit e52c9c26fc
)
2020-12-09 11:22:04 +01:00
Rémi Verschelde
2beb36fbad
Merge pull request #44170 from Faless/js/3.x_gdnative
...
[3.2] [HTML5] Optional GDNative Support
2020-12-07 18:15:13 +01:00
Fabio Alessandrelli
79a1418e7d
[HTML5] Make GDNative support feature-based.
...
This is suboptimal as it requires adding an extra flag, but rewriting
how feature tags work is beyond the scope of this work.
2020-12-05 01:14:03 +01:00
Fabio Alessandrelli
2cbfe1afd4
[HTML5] Allow selecting the export type.
...
Available types:
- Regular
- GDNative (support dynamic linking and thus GDNative WASM files)
- Threads (uses WebAssembly Threads)
2020-12-05 01:00:32 +01:00