summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2021-02-09Fix joystick axis mapping issues with NVIDIA shield. Probably others.Michael Conrad
Issues addressed: a) Axis mappings were including virtual mouse axes on NVIDIA Shield TV. The virtual mouse axes have the same axis numbers as the normal analog stick numbers. This was completely breaking joypad support on NVIDIA Shield TV. b) Joypads were being tracked in a List with the index in the list being treated as the Godot device id. If a device were to be removed, any device later in the list would be shifted, potentially causing future events with the shifted joypads to have incorrect IDs according to the Godot engine. c) Unnecessary events were being sent to the Godot engine. A check was added (per Joystick) that will prevent sending events for all axes when only a single axis value changed. A similar check was added for "HATs". See #45712
2021-02-05Merge pull request #44949 from m4gr3d/specify_project_ndk_versionRémi Verschelde
Improve the logic to compile for Android
2021-02-01Merge pull request #45579 from zaevi/add_scons_extRémi Verschelde
add search extensions for Scons' path
2021-01-30add search extensions for scons' pathzaevi
2021-01-29Modernize ThreadPedro J. Estébanez
- 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-15[Plugins] Rename 'PluginConfig' struct to platform specific nameSergey Minakov
2021-01-12CI: Update to clang-format 11 and apply ternary operator changesRémi Verschelde
2021-01-09Split OS::execute into two methodsMarcel Admiraal
1. execute(): Executes a command and returns the results. 2. create_process(): Creates a new process and returns the new process' id.
2021-01-05Improve the logic to compile for Android by automatically detecting and ↵Fredia Huya-Kouadio
setting up the Android NDK if needed.
2021-01-01Merge pull request #44645 from m4gr3d/update_apk_signing_logicRémi Verschelde
Update the logic to sign prebuilt Godot Android apks
2021-01-01Update the logic to sign prebuilt Godot Android apks.Fredia Huya-Kouadio
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-01Update copyright statements to 2021Rémi Verschelde
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 🎆
2020-12-30Merge pull request #44638 from m4gr3d/export_format_util_methodRémi Verschelde
Hardcode the export format for the editor 'run' feature
2020-12-29Add utility method to export the project using a preset format and sign ↵Fredia Huya-Kouadio
parameter.
2020-12-28Merge pull request #44593 from madmiraal/rename-mainloop-methodsRémi Verschelde
Rename MainLoop methods to match Node methods
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-23Fix invalid invocation of `get_class_loader`.Fredia Huya-Kouadio
The call was made on a `Godot` instance instead of an `Activity` instance.
2020-12-22Rename MainLoop methods to match Node methodsMarcel Admiraal
2020-12-18SCons: Add explicit dependencies on thirdparty code in cloned envRémi Verschelde
Since we clone the environments to build thirdparty code, we don't get an explicit dependency on the build objects produced by that environment. So when we update thirdparty code, Godot code using it is not necessarily rebuilt (I think it is for changed headers, but not for changed .c/.cpp files), which can lead to an invalid compilation output (linking old Godot .o files with a newer, potentially ABI breaking version of thirdparty code). This was only seen as really problematic with bullet updates (leading to crashes when rebuilding Godot after a bullet update without cleaning .o files), but it's safer to fix it everywhere, even if it's a LOT of hacky boilerplate.
2020-12-17Add override keywords to core/os.h derived classes.Marcel Admiraal
2020-12-12Don't handle BaseException in build scriptsMarcel Admiraal
2020-12-09Remove unused FileAccessJAndroid.Fabio Alessandrelli
2020-12-09Merge pull request #44161 from Faless/fix/fa_buffered_removeRémi Verschelde
Remove unused FileAccessBuffered
2020-12-08Android: fix mouse capture relative wrongthebestnom
2020-12-08Android: Allow Mouse Capture thebestnom
2020-12-08Merge pull request #43742 from qarmin/editor_modules_default_valuesRémi Verschelde
Initialize class/struct variables with default values in platform/ and editor/
2020-12-06Remove now unused FileAccessBuffered.Fabio Alessandrelli
2020-12-04RenderingServer reorganizationreduz
2020-12-03fix android wrong multi-touch pointeridalan-w-255
Fixes #43519.
2020-12-02Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-11-26[Complex Text Layouts] Add third-party TextServer dependencies (ICU, ↵bruvzg
HarfBuzz, Graphite).
2020-11-22Update gradle build files to automatically perform signing and zipalign ↵Fredia Huya-Kouadio
tasks for custom builds.
2020-11-20Export: Reorder options for consistency across platformsRémi Verschelde
2020-11-18Fix zipalign command name on Windows machines.Fredia Huya-Kouadio
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-16Merge pull request #43248 from HEAVYPOLY/masterRémi Verschelde
Change android orientations from sensor to user
2020-11-14Update the logic to query for the 'scons' command executable path.Fredia Huya-Kouadio
2020-11-14Merge pull request #43526 from m4gr3d/address_new_custom_build_logic_issuesRémi Verschelde
Address new custom build logic issues
2020-11-14Add missing zip alignment step for generated apks.Fredia Huya-Kouadio
2020-11-14Fix issue causing `Export all` to fail.Fredia Huya-Kouadio
2020-11-14Clear unneeded assets when generating an apk expansion.Fredia Huya-Kouadio
Clean up export wording to account for the different export formats.
2020-11-14Added the .jks file extension as valid preset for Android keystore filesMarcus Brummer
2020-11-13Remove duplicate Android `orientation` settings.Fredia Huya-Kouadio
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-10-31Change android orientations from sensor to userVaughan Ling
# Conflicts: # platform/android/java/lib/src/org/godotengine/godot/GodotIO.java
2020-10-30Merge pull request #37158 from thebestnom/android-click-supportRémi Verschelde
Support mouse events on Android
2020-10-29Add a separate `nativeSrcsConfigs` module to handle Android Studio ↵Fredia Huya-Kouadio
constraints for native code editor support.
2020-10-28Update the gradle pluginsFredia Huya-Kouadio
2020-10-28Merge pull request #42361 from akien-mga/vulkan-layers-opt-inRémi Verschelde
Vulkan: Make validation layers optional