summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2022-12-07Merge pull request #69712 from bruvzg/real_sizeRémi Verschelde
Rename `window_get_real_size`, add position counterpart.
2022-12-07Rename `window_get_real_size` to `window_get_size_with_decorations`, add ↵bruvzg
`window_get_position_with_decorations`.
2022-12-07Fix Determining Window for TouchscreenMarkus Sauermann
DisplayServer::screen_is_touchscreen will likely never utilize its parameter p_screen. This PR replaces this function by DisplayServer::is_touchscreen_available() with the same functionality. This solves the problem, that a SubViewport was used for determining the screen, which resulted in error messages.
2022-12-05Merge pull request #69578 from dsnopek/android-native-handlesRémi Verschelde
Clean up DisplayServerAndroid::window_get_native_handle() with the GLES3 renderer
2022-12-04Clean up DisplayServerAndroid::window_get_native_handle() with the GLES3 ↵David Snopek
renderer
2022-12-04Use system fonts as fallback and improve system font handling.bruvzg
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
2022-11-30Updating the minimum Android target api for proper Vulkan supportFredia Huya-Kouadio
2022-11-29Enable GLES3 on Androidclayjohn
Add necessary build flags and switch from using a GLES2 context to a GLES3 one. This also enables building for OpenXR Co-authored-by: m4gr3d <fhuyakou@gmail.com> Co-authored-by: dsnopek <dsnopek@gmail.com>
2022-11-27Add missing display server overridesFredia Huya-Kouadio
Improves the base functionality for the Android platform and helps reduce the amount of spurious error logs emitted.
2022-11-25Android: Remove extra arch suffix now redundant with the default oneRémi Verschelde
We would needlessly get file names like `*.arm64.armv8.o`.
2022-11-17Fix parsing of the `keep_screen_on` display settingFredia Huya-Kouadio
2022-11-17Android: Fix parsing `keep_screen_on` settingRémi Verschelde
Boolean stringification changed in Godot 4.0. Fixes #67034. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-11-16Fix 'save & restart' logic for the Android EditorFredia Huya-Kouadio
2022-11-14Merge pull request #68657 from Sauermann/fix-redundant-initializationRémi Verschelde
Remove redundant non-trivial Variant types initializations
2022-11-14Fix periods in editor strings and messagesHugo Locurcio
- Ensure all strings with ellipsis end with 3 periods instead of 2. - Fix extraneous period in "Error calling from signal '...' to callable" messages.
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-10Upgrade Android gradle plugin to version 7.2.1Fredia Huya-Kouadio
2022-11-08Add support for OpenGL to OpenXRDavid Snopek
2022-11-08Merge pull request #68362 from bruvzg/android_gdeRémi Verschelde
[Android] Fix GDExtension export and loading.
2022-11-08[Android] Fix GDExtension export and loading.bruvzg
2022-11-07Small set of fixes to the input logicFredia Huya-Kouadio
2022-11-05Fix wrong android key mapping.HolonProduction
Fixes the wrong mapping of `Key::HOME`. Androids `KEYCODE_HOME` is in fact the hardware home button the right mapping is `KEYCODE_MOVE_HOME`. Also adds mappings to keys that were not present before.
2022-10-31Merge pull request #67879 from bruvzg/fix_no_vlkRémi Verschelde
Fix build with Vulkan disabled and no Vulkan headers installed.
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67581 from aaronfranke/android-floatRémi Verschelde
Use proper types for converting Java float/double arrays in Android code
2022-10-28Merge pull request #67790 from kdada/fix-flash-windowClay John
Make creating window do not flicker when specify custom position
2022-10-26Fix build with Vulkan disabled and no Vulkan headers installed.bruvzg
2022-10-24Make window creation with custom position do not flashWei Guo
2022-10-22Add double_tap attribute to InputEventScreenTouchFredia Huya-Kouadio
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
2022-10-18Delete Android godot-lib with the old naming schemeFredia Huya-Kouadio
Update the `clean` task configuration: running `gradlew clean` will now properly delete the generated build artifacts
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-18Use proper types for converting Java float/double arrays in Android codeAaron Franke
2022-10-17Merge pull request #67259 from lucasnlm/optimiza-android-exportFredia Huya-Kouadio
Optimize Android export process
2022-10-14Make some Image methods statickobewi
2022-10-11Revert changeLucas Lima
2022-10-11Optimize Android export processLucas Lima
2022-10-11Use `JSON::stringify` where possibleMicky
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-07Harmonize return values of window_create() in rendering driversPedro J. Estébanez
2022-10-05Merge pull request #66946 from m4gr3d/cursor_shape_logic_cleanup_mainFredia Huya-Kouadio
Cleanup of the Android cursor shape logic
2022-10-05Cleanup of the Android cursor shape logicFredia Huya-Kouadio
2022-10-05Merge pull request #66941 from winterpixelgames/bugfix-android-null-input-eventFredia Huya-Kouadio
Fix null in android keyboard handling.
2022-10-05Fix null in android keyboard handling.Jason Knight
2022-10-05Fix the gradle build configuration for the Android platform following ↵Fredia Huya-Kouadio
https://github.com/godotengine/godot/pull/66242
2022-10-05Merge pull request #64819 from RandomShaper/enhance_thread_funcsRémi Verschelde
Enhance portability of threading
2022-10-04Enhance portability of threadingPedro J. Estébanez
2022-10-04Merge pull request #66807 from ↵Rémi Verschelde
akien-mga/core-unix-remove-NO_FCNTL-and-NO_STATVFS Unix: Remove now unnecessary I/O defines, cleanup
2022-10-03Unix: Remove now unnecessary I/O defines, cleanupRémi Verschelde
- `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_. - `NO_NETWORK` is also never defined. It probably isn't enough anyway to disable network APIs in the current codebase. - `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some other platforms, clarify that. - `NO_STATVFS` can be removed as Android supports it since API level 19, which is our current min SDK level. It's also only used for `DirAccessUnix::get_space_left()` which is anyway overridden by `DirAccessJAndroid::get_space_left()` so it shouldn't make a difference. * Fixed documentation for `DirAccess.get_space_left()`. - `NO_FCNTL` is likely also a remnant of early Android days, in current NDK r23 it seems to be available. Also cleaned up unused `fcntl.h` includes. - `NO_ALLOCA` is never defined, and we use alloca in many places now.
2022-10-03Remove unsupported `NO_SAFE_CAST`/`-fno-rtti` from Android buildRémi Verschelde
Android was the last platform to still attempt to disable RTTI (for binary size), but both the Android editor and now the ICU library used by templates need RTTI. There could still be the possibility to support this for non-ICU template builds (i.e. without the TextServerAdvanced module), but since this isn't one of the build configurations we test regularly it's pretty risky to keep this option only for that specific use case. And our code is already littered with `dynamic_cast`s which weren't guarded with `!defined(NO_SAFE_CAST)`.
2022-09-30ci: add Python static analysis check via mypyJiri Suchan