Fredia Huya-Kouadio
4628d0c7dc
Add parameter to allow generation of the Godot native shared libraries from the gradle build command
2023-11-09 09:14:04 -08:00
Yuri Sizov
4c5c0414c8
Merge pull request #84491 from scgm0/andorid-no-show-splash-image
...
Fix Android disabling splash screen Show Image
2023-11-07 12:54:24 +01:00
scgm0
7771936df5
Fix Andorid disabling splash screen Show Image
2023-11-07 00:22:22 +08:00
Fredia Huya-Kouadio
fcb07ff8dc
Fix Android editor crash issue
...
Fix issue causing the Android editor to crash when pressing back from a running project
2023-11-03 07:37:46 -07:00
Fredia Huya-Kouadio
a1ca4bab47
Replace the use of the ANDROID_SDK_ROOT
env variable with ANDROID_HOME
as the former is deprecated.
...
See https://developer.android.com/tools/variables#android_home for more details
2023-11-01 15:50:10 -07:00
Fredia Huya-Kouadio
f86e6115d9
Automatically pick the Android sdk path using environment variables
2023-11-01 07:36:16 -07:00
Rémi Verschelde
befc5a9120
Merge pull request #83954 from m4gr3d/update_godot_app_launch_mode
...
Update the `launchMode` for the `GodotApp` activity
2023-10-30 23:18:34 +01:00
Tareq Anuar
ee31f2457f
Fix retrieving command line flags in Android.
2023-10-28 19:43:00 +08:00
Fredia Huya-Kouadio
14428c8d5b
Update the launchMode
for the GodotApp
activity to allow other activities to be part of the same task
...
For details, see https://developer.android.com/guide/topics/manifest/activity-element#lmode
2023-10-25 08:27:35 -07:00
Alexander Hartmann
5137497c18
Fix Android logic for deferred window input events being inverted
...
Notably fixes issues with `is_action_just_*` queries in `_physics_process`
for TouchScreenButton.
Fixes #66318 .
Fixes #82396 .
2023-10-24 10:43:05 +02:00
Fredia Huya-Kouadio
56ce2d94c5
Bump the java version to version 17
2023-10-17 15:08:03 -07:00
Rémi Verschelde
1ab77f410e
Merge pull request #83433 from mhilbrunner/fix-android-gradle-docs
...
Docs: Fix link to Android Gradle build tutorial
2023-10-16 13:01:47 +02:00
Max Hilbrunner
68a1e0c7d4
Docs: Fix link to Android Gradle build tutorial
2023-10-16 12:27:24 +02:00
Fredia Huya-Kouadio
c1a7222c97
Fix the timeframe when the Android gestures properties are retrieved.
...
Previous logic was retrieving them prior to them being defined in `main.cpp`
2023-10-11 15:41:19 -07:00
Rémi Verschelde
1fe7f8a96c
Merge pull request #82893 from m4gr3d/godot_android_lib_improvements
...
Cleanups and improvements to the Godot Android library api
2023-10-10 09:11:53 +02:00
Raul Santos
cea77d0b48
C#: Add checks to Android export
...
- Add .NET 7.0 TFM when the platform is Anroid to the created csproj.
- Prevent exporting to Android when the architecture is not supported.
2023-10-10 00:35:08 +02:00
Fredia Huya-Kouadio
2951c162ed
Cleanups and improvements to the Godot Android library api:
...
- Provide api to retrieve the running Godot instance from a GodotHost
- Provide api for the GodotHost to register runtime GodotPlugin instances
- Hide the GodotService class until it's completed
- Include project setting to enable long press for Android devices
- Include project setting to enable pan and scale gestures on Android devices
2023-10-08 05:30:38 -07:00
kobewi
09b30be86d
Add vararg call() method to C++ Callable
2023-10-05 11:35:29 +02:00
emacser0
4c65ff52e4
Fix some typos in source.
2023-10-04 19:55:11 +09:00
Bastiaan Olij
9e56e7a3ce
Add support for the OpenXR Eye gaze interaction extension
...
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2023-10-02 14:02:23 -07:00
Danil Alexeev
aff767ef07
Fix expected argument count for Callable
call errors
2023-09-29 20:00:10 +03:00
Rémi Verschelde
da91cf9367
Merge pull request #82347 from SaracenOne/dir_access_checks
...
Add error checks for DirAccess creation
2023-09-26 16:36:47 +02:00
Zae
428eb1309a
Support dark mode on Android and iOS.
2023-09-26 11:00:04 +08:00
Saracen
3f4513d4de
Add error checks for DirAccess creation.
2023-09-26 03:07:43 +01:00
bruvzg
1887a9df19
[macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching.
...
Co-authored-by: Riteo <riteo@posteo.net>
2023-09-21 14:21:00 +03:00
Rémi Verschelde
4b2fb36a04
Merge pull request #80644 from Distantz/master
...
Android Stylus pressure and tilt support.
2023-09-17 14:46:39 +02:00
Yuri Sizov
48e1c19dea
Merge pull request #81583 from AThousandShips/null_check_drivers_platform
...
[Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-15 19:48:18 +02:00
Yuri Sizov
55840c5d24
Merge pull request #80932 from m4gr3d/fix_hardware_keyboard_input_routing_main
...
Fix Android input routing logic when using a hardware keyboard
2023-09-14 15:21:28 +02:00
A Thousand Ships
3565d1bf7e
[Drivers,Platform] Replace ERR_FAIL_COND
with ERR_FAIL_NULL
where applicable
2023-09-12 20:13:32 +02:00
Rémi Verschelde
df5376c4c0
Merge pull request #80761 from adamscott/change-default-android-package-unique-name
...
[Android] Change the default "org.godotengine" package name to "com.example"
2023-09-11 15:35:56 +02:00
Adam Scott
00e9bafb73
Change the default org.godotengine to com.example
2023-09-11 09:01:36 -04:00
Yuri Sizov
d8ff69d53c
Extract ScriptInstance to simplify includes
...
This allows to include script_instance.h directly in the
generated gdvirtual.gen.inc, and remove excessive includes
from the codebase.
This should also allow Resource to use GDVIRTUAL macros,
which wasn't possible previously due to a circular dependency.
2023-09-06 22:54:38 +02:00
Fredia Huya-Kouadio
12d96eeaef
Relax restriction on loading v1 Android plugins on Godot 4.2+
2023-09-06 02:59:44 -07:00
Fredia Huya-Kouadio
8cc7739197
Godot Android plugin re-architecture
2023-09-03 17:04:10 -07:00
Rémi Verschelde
5b5471e30a
Merge pull request #78908 from zorbathut/pr_gitignore
...
Add static check for overzealous .gitignores and fix an example of such.
2023-08-29 12:41:53 +02:00
Brennen Shaughnessy
40b08cb4b6
Android: Add option to always use WiFi to connect to remote debug
2023-08-28 13:13:36 +02:00
Fredia Huya-Kouadio
87102e358d
Fix Android input routing logic when using a hardware keyboard
...
When a hardware keyboard is connected, all key events come through so we can route them directly to the engine.
This is not the case for soft keyboards, for which the current logic was designed as it requires extra processing.
2023-08-23 09:57:00 -07:00
Hugo Locurcio
469c462b76
Add missing tutorials to documentation classes
2023-08-19 20:29:24 +02:00
Aaron Franke
ada360affe
Add a button in the export dialog to fix missing texture formats
2023-08-17 02:56:42 -05:00
Rémi Verschelde
3907e53ff6
SCons: Disable C++ exception handling
...
Upon investigating the extremely slow MSVC build times in #80513 , I noticed
that while Godot policy is to never use exceptions, we weren't enforcing it
with compiler flags, and thus still included exception handling code and
stack unwinding.
This is wasteful on multiple aspects:
- Binary size: Around 20% binary size reduction with exceptions disabled
for both MSVC and GCC binaries.
- Compile time:
* More than 50% build time reduction with MSVC.
* 10% to 25% build time reduction with GCC + LTO.
- Performance: Possibly, needs to be benchmarked.
Since users may want to re-enable exceptions in their own thirdparty code
or the libraries they compile with Godot, this behavior can be toggled with
the `disable_exceptions` SCons option, which defaults to true.
2023-08-16 10:23:34 +02:00
Rémi Verschelde
6c3735cb7c
Merge pull request #80569 from m4gr3d/show_in_app_library_settings_main
...
Add export setting to control whether to show the Godot app in the app library
2023-08-16 09:13:30 +02:00
pikethom
7494ad6b54
Android stylus pressure and tilt support
2023-08-15 19:55:17 +12:00
Fredia Huya-Kouadio
63d47dced0
Add export setting to control whether to show the Godot app in the app library
2023-08-13 09:54:10 -04:00
scgm0
05bc070f7c
C#: Fix exporting for Android
2023-08-12 09:22:49 +08:00
bruvzg
8aa6f29b56
[FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows.
2023-08-08 21:51:32 +03:00
Rémi Verschelde
faaf27f284
Fix various typos with codespell
...
Also includes typo fixes from #79993 , #80068 , #80276 , and #80303 .
Co-authored-by: betalars <contact@betalars.de>
Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com>
Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-08-07 13:09:47 +02:00
Yuri Sizov
dc6ea03101
Merge pull request #35555 from Calinou/add-version-project-setting
...
Add a "version" project setting and use it in new export presets
2023-08-04 21:01:15 +02:00
Haoyu Qiu
097c849395
Fix various typos in classref
2023-08-04 16:29:55 +08:00
Hugo Locurcio
ad4480bf2e
Add a "version" project setting and use it in new export presets
...
This makes it easy to retrieve the project version at runtime
for display purposes, while simplifying the export preset configuration.
You can now leave the version empty unless you need to override it on a per-preset
basis.
Since export presets save the values of default values to the `export_presets.cfg`
file, this change only affects export presets created after this commit was merged.
2023-08-04 10:29:33 +02:00
Fredia Huya-Kouadio
867fc02551
Fix npe when registering the sensors.
2023-07-28 18:58:16 -07:00