summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2022-05-23Merge pull request #61333 from m4gr3d/fix_restart_logic_mainRémi Verschelde
2022-05-23Fix the logic to restart the Godot applicationFredia Huya-Kouadio
2022-05-23Remove duplicate Android sensor listener registrationsMarcel Admiraal
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Add dedicated macros for property name extractionHaoyu Qiu
* Replace case-by-case extraction with PNAME & GNAME * Fix group handling when group hint begins with property name * Exclude properties that are PROPERTY_USAGE_NO_EDITOR * Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-13Increase compiler optimization when using `target=release` on iOS/AndroidHugo Locurcio
2022-05-11Fix ZipIO crash when reused (and possible leaks).bruvzg
2022-05-03Merge pull request #60553 from madmiraal/separate-display_safe_areaRémi Verschelde
2022-05-03Merge pull request #60601 from touilleMan/gdextension_get_library_pathRémi Verschelde
Add GDNativeInterface::get_library_path to GDExtension
2022-05-02Merge pull request #60638 from m4gr3d/support_hand_tracking_v2_mainRémi Verschelde
2022-05-02Fix screen_get_usable_rect returning display safe areaMarcel Admiraal
2022-05-02Merge pull request #60551 from madmiraal/implement-3466Rémi Verschelde
Add a method for obtaining display cutouts on Android
2022-04-29Add GDNativeInterface::get_library_path to GDExtensionEmmanuel Leblond
2022-04-29Merge pull request #60563 from madmiraal/fix-60562Rémi Verschelde
2022-04-28Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg
Windows. Implement TextServer word break method.
2022-04-27Update Meta hand tracking versionFredy Huya-Kouadio
https://developer.oculus.com/blog/presence-platforms-hand-tracking-api-gets-an-upgrade/
2022-04-27Check for null when retrieving clip data item text on AndroidMarcel Admiraal
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-26Add a method for obtaining display cutouts on AndroidMarcel Admiraal
2022-04-25Merge pull request #60433 from madmiraal/remove-superfluous-null-checkRémi Verschelde
Remove superfluous null check
2022-04-25Merge pull request #60457 from madmiraal/replace-index-iteratorsRémi Verschelde
Replace index iterators with for each loops.
2022-04-25Merge pull request #60441 from madmiraal/remove-superfluous-inputmanagerRémi Verschelde
Remove superfluous Android InputManager interface and implementation
2022-04-25Merge pull request #60434 from madmiraal/remove-superfluous-version-checkRémi Verschelde
Remove superfluous check for minimum Android SDK.
2022-04-25Fix the issue causing the screen to be black after resuming when in low ↵Fredy Huya-Kouadio
processor mode. This is done by forcing a redraw and buffers swap when resuming the app.
2022-04-23Replace index iterators with for each loops.Marcel Admiraal
2022-04-22Remove superfluous check for minimum Android SDK.Marcel Admiraal
2022-04-22Remove superfluous Android InputManager interface and implementationMarcel Admiraal
2022-04-22Remove superfluous null checkMarcel Admiraal
2022-04-20Fix more issues found by cppcheck.bruvzg
2022-04-12Remove or make private `FileAccess` `close()` methods.bruvzg
2022-04-11Make FileAccess and DirAccess classes reference counted.bruvzg
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-04-04Merge pull request #59866 from m4gr3d/update_default_display_scale_mainRémi Verschelde
2022-04-04Update the editor display scale based on the device's scaled densityFredia Huya-Kouadio
2022-04-04Remove duplicate `resizable` settingsFredia Huya-Kouadio
2022-04-04Update `resize` settings:Fredia Huya-Kouadio
- Unlock resizing for the Godot Editor - Add an option to specify whether a game is resizeable for the Godot template
2022-03-29Fix flickering issues with low processor mode on AndroidFredia Huya-Kouadio
2022-03-28Android port of the Godot EditorFredy Huya-Kouadio
These set of changes focus primarily on getting the core logic and overall Godot Editor UI and functionality up and running natively on Android devices. UI tweaks / cleanup / polish, as well configuration for Android specific functionality / restrictions will be addressed in follow-up PRs iteratively based on feedback. Co-authored-by: thebestnom <shoval.arad@gmail.com>
2022-03-16Merge pull request #59146 from m4gr3d/setup_mavencentral_publishingRémi Verschelde
2022-03-16Implement GDExtension export plugin.bruvzg
2022-03-14Setup logic to publish the Godot Android library to MavenCentralFredia Huya-Kouadio
2022-03-11Merge pull request #58986 from akien-mga/diraccessrefRémi Verschelde
2022-03-11Merge pull request #58751 from bruvzg/loc_str_propsRémi Verschelde
2022-03-11Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde
`DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-09Remove VARIANT_ARG* macrosreduz
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09Remove unused GDNative codeRémi Verschelde
This has been superseded by GDExtension so this code is no longer useful nor usable. There's still some GDNative-related stuff in platform export code which needs to be adapted for GDExtension (e.g. to include GDExtension libraries in exports).
2022-03-05Rename StreamTexture* to CompressedTexture*reduz
* Its not and will not be used for streaming. * Streaming will be implemented in 4.1 and it will work different. * It makes more sense to be called CompressedTexture since it imports and compresses texture files.
2022-03-04Improve app name and system permission message localization.bruvzg
Add localizable string (Dictionary<Lang Code, String>) property editor and property hint. Add localized "app name" property to the project settings. Add localized permission and copyright properties to the macOS and iOS export settings. Remove some duplicated ("app name") and deprecated ("info") macOS and iOS export properties.