summaryrefslogtreecommitdiffstats
path: root/platform/android
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix some typos in source.emacser02023-10-041-3/+3
| |
* | Add support for the OpenXR Eye gaze interaction extensionBastiaan Olij2023-10-028-4/+61
| | | | | | | | Co-authored-by: Bastiaan Olij <mux213@gmail.com>
* | Fix expected argument count for `Callable` call errorsDanil Alexeev2023-09-291-4/+4
| |
* | Merge pull request #82347 from SaracenOne/dir_access_checksRémi Verschelde2023-09-261-0/+4
|\ \ | | | | | | | | | Add error checks for DirAccess creation
| * | Add error checks for DirAccess creation.Saracen2023-09-261-0/+4
| | |
* | | Support dark mode on Android and iOS.Zae2023-09-265-0/+63
|/ /
* / [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add ↵bruvzg2023-09-212-1/+44
|/ | | | | | EGL_ANDROID_blob_cache caching. Co-authored-by: Riteo <riteo@posteo.net>
* Merge pull request #80644 from Distantz/masterRémi Verschelde2023-09-176-9/+29
|\ | | | | | | Android Stylus pressure and tilt support.
| * Android stylus pressure and tilt supportpikethom2023-08-156-9/+29
| |
* | Merge pull request #81583 from AThousandShips/null_check_drivers_platformYuri Sizov2023-09-153-34/+34
|\ \ | | | | | | | | | [Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
| * | [Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-123-34/+34
| | |
* | | Merge pull request #80932 from m4gr3d/fix_hardware_keyboard_input_routing_mainYuri Sizov2023-09-141-0/+29
|\ \ \ | |/ / |/| | | | | Fix Android input routing logic when using a hardware keyboard
| * | Fix Android input routing logic when using a hardware keyboardFredia Huya-Kouadio2023-08-231-0/+29
| | | | | | | | | | | | | | | 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.
* | | Merge pull request #80761 from ↵Rémi Verschelde2023-09-111-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | adamscott/change-default-android-package-unique-name [Android] Change the default "org.godotengine" package name to "com.example"
| * | | Change the default org.godotengine to com.exampleAdam Scott2023-09-111-1/+1
| | | |
* | | | Extract ScriptInstance to simplify includesYuri Sizov2023-09-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Relax restriction on loading v1 Android plugins on Godot 4.2+Fredia Huya-Kouadio2023-09-062-19/+46
|/ / /
* | | Godot Android plugin re-architectureFredia Huya-Kouadio2023-09-0310-207/+154
| | |
* | | Merge pull request #78908 from zorbathut/pr_gitignoreRémi Verschelde2023-08-291-0/+1
|\ \ \ | | | | | | | | | | | | Add static check for overzealous .gitignores and fix an example of such.
| * | | Fix: incorrectly .gitignored files.Ben Rog-Wilhelm2023-07-011-0/+1
| | | |
* | | | Android: Add option to always use WiFi to connect to remote debugBrennen Shaughnessy2023-08-282-2/+9
| |/ / |/| |
* | | Add missing tutorials to documentation classesHugo Locurcio2023-08-191-0/+1
| | |
* | | Add a button in the export dialog to fix missing texture formatsAaron Franke2023-08-171-3/+2
| | |
* | | SCons: Disable C++ exception handlingRémi Verschelde2023-08-161-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #80569 from m4gr3d/show_in_app_library_settings_mainRémi Verschelde2023-08-165-2/+13
|\ \ \ | | | | | | | | | | | | Add export setting to control whether to show the Godot app in the app library
| * | | Add export setting to control whether to show the Godot app in the app libraryFredia Huya-Kouadio2023-08-135-2/+13
| | |/ | |/|
* / | C#: Fix exporting for Androidscgm02023-08-121-8/+5
|/ /
* | [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on ↵bruvzg2023-08-082-4/+14
| | | | | | | | macOS/BSD and Windows.
* | Fix various typos with codespellRémi Verschelde2023-08-072-2/+2
| | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #35555 from Calinou/add-version-project-settingYuri Sizov2023-08-042-7/+7
|\ \ | | | | | | Add a "version" project setting and use it in new export presets
| * | Add a "version" project setting and use it in new export presetsHugo Locurcio2023-08-042-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix various typos in classrefHaoyu Qiu2023-08-041-1/+1
|/ /
* | Fix npe when registering the sensors.Fredia Huya-Kouadio2023-07-281-8/+16
| |
* | Merge pull request #79351 from Repiteo/dotnet-handle-warningsYuri Sizov2023-07-261-8/+8
|\ \ | | | | | | | | | C#: Fix MSVC dotnet builds failing if running `dev_mode`
| * | Allow MSVC dev_mode builds to succeed with dotnetThaddeus Crews2023-07-171-8/+8
| | | | | | | | | | | | • Added #else section to mono #ifdef checks in relevant export_plugin scripts
* | | Clean up the XR features parameters from coreFredia Huya-Kouadio2023-07-184-105/+0
| | | | | | | | | | | | | | | | | | Following on the previous commit, the XR features logic have now be moved to the Godot OpenXR loader plugin. See https://github.com/GodotVR/godot_openxr_loaders/pull/38
* | | Re-architect how Android plugins are packaged and handled at export timeFredia Huya-Kouadio2023-07-186-93/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous packaging format for Godot Android plugins consisted of the plugin's `gdap` config file accompanied by binaries defined in the `gdap` file. This format is now deprecated (starting with Godot 4.2), and instead Godot Android plugins are now packaged as `EditorExportPlugin` plugins. The `EditorExportPlugin` class has been updated with the following methods to provide the necessary set of functionality: - `_supports_platform`: returns true if the plugin supports the given platform - `_get_android_dependencies`: retrieve the set of android dependencies (e.g: `org.godot.example:my-plugin:0.0.0`) provided by the plugin - `_get_android_dependencies_maven_repos`: retrieve the urls of the maven repos for the provided android dependencies - `_get_android_libraries`: retrieve the local paths of the android libraries (AAR files) provided by the plugin - `_get_android_manifest_activity_element_contents`: update the contents of the `<activity>` element in the generated Android manifest - `_get_android_manifest_application_element_contents`: update the contents of the `<application>` element in the generated Android manifest - `_get_android_manifest_element_contents`: update the contents of the `<manifest>` element in the generated Android manifest
* | | Godot Android re-architectureFredia Huya-Kouadio2023-07-1619-1154/+1378
| | | | | | | | | | | | Decouples the Godot java entry point from the Android Fragment component. This enables the Godot component to be more easily reused across different types of Android components including Activities and Services.
* | | Renaming `Godot.java` to `GodotFragment.java` to better reflect its nature ↵Fredia Huya-Kouadio2023-07-161-0/+0
| | | | | | | | | | | | and role
* | | Extract and reorganize texture resource classesHendrik Brucker2023-07-141-0/+1
| | |
* | | Merge pull request #78164 from 0xafbf/allow-export-tv-and-launcherYuri Sizov2023-07-143-12/+27
|\ \ \ | | | | | | | | | | | | Add options to show icon in Android TV and run app as Android launcher
| * | | Add options to show icon in Android TV and run app as Android launcherAndrés Botero2023-06-123-12/+27
| | | |
* | | | Merge pull request #78538 from Sauermann/fix-code-simplificationsYuri Sizov2023-07-121-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | Remove unnecessary value assignments throughout the codebase
| * | | | Code simplificationsMarkus Sauermann2023-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CPPcheck found most of them. no need to assign the variable twice: - AnimationTrackEditTypeAudio - SSEffects variable is assigned in all if-else clauses: - EditorHelp - AndroidInputHandler - MenuBar - ShaderCompiler same if clause: - ItemList clearing an empty bitfield has no effect: - Viewport
* | | | | Merge pull request #78248 from felaugmar/load-svg-adjustable-scaleYuri Sizov2023-07-121-3/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Added `Image::load_svg_from_(buffer|string)`
| * | | | | Added Image's `load_svg_from_(buffer|string)`Felipe Augusto Marques2023-06-231-3/+2
| |/ / / / | | | | | | | | | | | | | | | No core dependency to the svg module.
* | | | | Merge pull request #79089 from bruvzg/android_echoYuri Sizov2023-07-127-16/+17
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | [Android] Set `echo` property for the physical keyboard events.
| * | | | [Android] Set `echo` property for the physical keyboard events.bruvzg2023-07-067-16/+17
| | | | |
* | | | | Fix formatting of dlopen error message on WindowsKamil Brzoskowski2023-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And harmonize the format for all platforms. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* | | | | Doctool: Remove version attribute from XML headerRémi Verschelde2023-07-061-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).