79c1cf600b
Add overridable init method for the Godot fragment instance.
2020-09-18 16:59:09 -07:00
f043eabdd8
Adds PCK encryption support (using script encryption key for export).
...
Change default encryption mode from ECB to CFB.
2020-09-05 14:53:39 +03:00
80b8eff6aa
[Complex Test Layouts] Change String to use UTF-32 encoding on all platforms.
2020-09-03 19:56:24 +03:00
b8d5ced8cd
Fix issue causing the textedit to move upward
2020-08-30 10:42:38 -07:00
c59e9399e7
Merge pull request #41550 from godotengine/revert-40671-virtual-keyboard-height-fix
...
Revert "Fix virtual keyboard height regression"
2020-08-27 08:55:51 +02:00
f98b32ff51
Merge pull request #41549 from godotengine/revert-40484-android-virtual-keyboard-adjustment
...
Revert "Disable virtual keyboard focus adjustment on Android"
2020-08-26 23:48:09 +02:00
db35a008f6
Revert "Fix virtual keyboard height regression"
2020-08-26 14:38:02 -07:00
ffd0bb1d02
Revert "Disable virtual keyboard focus adjustment on Android"
2020-08-26 13:27:25 -07:00
04b402b6f1
Revert "Move PopupWindow logic to GodotEditText on Android"
2020-08-26 13:24:18 -07:00
33b2070d2e
Remove obsolete GLES2 backend code
...
This code currently isn't compiled (and cannot compile).
We plan to re-add OpenGL ES-based renderer(s) in Godot 4.0 alongside Vulkan
(probably ES 3.0, possibly also a low-end ES 2.0), but the code will be quite
different so it's not relevant to keep this old Godot 3.2 code.
The `drivers/gles2` code from the `3.2` branch can be used as a reference for
a potential new implementation.
2020-08-13 10:04:53 +02:00
7e19f217bd
Merge pull request #41000 from amanj120/forward_port_bundle_pr_export
...
Add 'Export App Bundle' to Android Export Options
2020-08-11 19:03:40 +02:00
2b89944a3d
Add 'Export App Bundle' to Android Export Options
2020-08-05 12:55:02 -04:00
41d8c0c818
platform: Update metadata for export platforms
...
Updates the logos of for macOS, Android, and iOS; Also
changes "Mac OSX" to "macOS"
Addresses https://github.com/godotengine/godot-proposals/issues/1161
2020-08-01 23:43:14 -07:00
cac7eb3a64
Move PopupWindow logic to GodotEditText on Android
2020-07-28 21:19:17 +02:00
e906ac4d3b
refactor apk signing into it's own method
2020-07-27 14:24:57 -04:00
bd9fc75768
Merge pull request #40706 from akien-mga/style-fix-file_format-macos
...
Fix code format scripts compat with non-GNU Unices
2020-07-27 13:27:56 +02:00
c71e189efd
Style: Fix code format scripts compat with non-GNU Unices
...
It's too hard to get compatibility between GNU and BSD sed,
so let's just use perl oneliners.
And improve it to also remove trailing tabs, not just spaces.
2020-07-27 13:11:44 +02:00
6de86946ea
Merge pull request #40671 from nekomatata/virtual-keyboard-height-fix
...
Fix virtual keyboard height regression
2020-07-27 08:57:19 +02:00
b19b896e06
Merge pull request #40487 from nekomatata/virtual-keyboard-enter-fixes
...
Fix Return key events in LineEdit & TextEdit on Android
2020-07-26 20:25:53 +02:00
8c05dadcff
Fix Return key events in LineEdit & TextEdit on Android
...
Depending on the device implementation, editor actions could be
received with different action ids or not at all for multi-line.
Added a parameter to virtual keyboards to properly handle single-line
and multi-line cases in all situations.
Single-line:
Input type set to text without multiline to make sure actions are sent.
IME options are set to DONE action to force action id consistency.
Multi-line:
Input type set to text and multiline to make sure enter triggers new lines.
Actions are disabled by the multiline flag, so '\n' characters are
handled in text changed callbacks.
2020-07-26 20:06:07 +02:00
f940e5e000
CI: Install master version of psf/black
...
Until https://github.com/psf/black/pull/1328 makes it in a stable release,
we have to use the latest from Git.
Apply new style fixes done by latest black.
2020-07-26 19:48:25 +02:00
a2dd966301
Fix virtual keyboard height regression
...
Disabling virtual keyboard focus adjustement caused get_keyboard_height
to always return 0 because it was calculated when the view is resized.
In order to fix it, a PopupWindow is now created on top of the main view
and is set for focus adjustments so the keyboard size can be calculated
based on this popup without affecting the main view.
2020-07-24 19:54:06 +02:00
e53067c42e
Write an AndroidManifest.xml file to be merged with app module's manifest.
2020-07-24 12:53:27 -04:00
1dc00ce7b9
Merge pull request #40348 from amanj120/forward_port_bundle_pr_icons
...
Copy project icons to Gradle project directory during Android Custom Build.
2020-07-23 18:03:08 +02:00
4a5ddcbad2
Copy icons to Gradle project
2020-07-23 11:37:33 -04:00
dcf902df85
SCons: Remove unused DEBUG_MEMORY_ENABLED define
...
Its last use was removed in Godot 3.0, so it no longer makes sense to define.
Also removed `D3D_DEBUG_INFO` for Windows as it's likely a left over from a
long time ago pre-opensourcing when Godot had some form of Direct3D 9 support?
2020-07-23 09:39:10 +02:00
166103c759
Android: Keyboard modifier and arrow key support
2020-07-21 22:13:24 +03:00
b7aa474680
Merge pull request #40422 from amanj120/forward_port_bundle_pr_resources
...
Create strings.xml files in the Gradle project to handle localization
2020-07-20 22:26:44 +02:00
d7aaec8ffe
Disable virtual keyboard focus adjustment on Android
...
Fixes #37190
The default adjustment setting was causing the view to pan down in order
to adjust the focus on the text content.
We don't need any focus adjustment since we're using a fixed size window
for our application.
Documentation:
https://developer.android.com/reference/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_NOTHING
2020-07-20 12:04:02 +02:00
5ff6f7a86b
Create strings.xml files in the gradle project to handle localization
2020-07-15 13:02:59 -04:00
4dc94e93bb
Android: fix display server always alerting no Vulkan support
2020-07-14 19:37:36 +03:00
28e8347d6c
Merge pull request #40354 from bruvzg/add_vulkan_init_message
...
Display error popup instead of crashing if Vulkan init failed.
2020-07-14 09:03:25 +02:00
9986439352
Commit other files changed by file_format.sh
2020-07-13 14:14:11 -04:00
996910b627
Add error messages if Vulkan init failed, prevent Vulkan context freeing uninitialized device and instance.
2020-07-13 19:24:21 +03:00
26fcf2b04c
Add override keywords.
2020-07-10 13:56:54 +01:00
dc856481ff
Merge pull request #40244 from amanj120/forward_port_bundle_pr_permissions
...
Refactor permissions and command line flags into separate methods
2020-07-10 13:19:37 +02:00
f579057748
Refactor permissions and command line flags into separate methods
2020-07-09 16:34:08 -04:00
78e003951a
Utility methods for writing files to Gradle project.
2020-07-09 13:57:15 -04:00
929b98d24b
Remove String::find_last (same as rfind)
2020-07-03 15:26:22 +02:00
438c380458
Add a separate application focus/in notification out from Window focus notification.
2020-06-30 10:40:06 -03:00
2d53b8173e
Fix the logic to enable focus awareness
2020-06-27 16:43:08 -07:00
175d43738a
Enable the ability to use Godot as a subview within an Android app
2020-06-25 19:52:40 -07:00
206cbd960b
Follow up cleanup for the godotpayment project module
2020-06-22 12:53:25 -07:00
83a966f0d8
Remove GodotPayment android plugin
...
This is now available in a separate repository
at https://github.com/godotengine/godot-google-play-billing
2020-06-22 09:21:05 +02:00
35414f1dec
Merge pull request #39053 from timoschwarzer/static-assert-variant-arg-max
...
Add static_assert checks where code assumes VARIANT_ARG_MAX == 5
2020-06-19 23:51:22 +02:00
6daf9b78af
Clean up the GodotPlugin public API.
2020-06-16 09:25:09 -07:00
2bf1f8e4b3
Add support for focus awareness
2020-06-04 15:49:55 -07:00
21263a65a9
Check if the specified Android release keystore exists
2020-06-04 13:37:14 +02:00
be22a1f9bc
Fix inconsistent error messages with Android custom export templates
2020-06-01 23:13:31 +02:00
c227733bd8
Add missing consumePurchase plugin method for GodotPayment
2020-05-28 22:48:48 +09:00