summaryrefslogtreecommitdiffstats
path: root/platform/android
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove duplicate Android sensor listener registrationsMarcel Admiraal2022-05-231-4/+0
|/
* Add a new HashSet templatereduz2022-05-202-2/+2
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Add dedicated macros for property name extractionHaoyu Qiu2022-05-191-6/+6
| | | | | | | * 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
* Replace most uses of Map by HashMapreduz2022-05-167-13/+13
| | | | | | | | | | | | * 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!
* Increase compiler optimization when using `target=release` on iOS/AndroidHugo Locurcio2022-05-131-2/+5
|
* Fix ZipIO crash when reused (and possible leaks).bruvzg2022-05-111-3/+5
|
* Merge pull request #60553 from madmiraal/separate-display_safe_areaRémi Verschelde2022-05-035-23/+27
|\
| * Fix screen_get_usable_rect returning display safe areaMarcel Admiraal2022-05-025-23/+27
| |
* | Merge pull request #60601 from touilleMan/gdextension_get_library_pathRémi Verschelde2022-05-032-2/+7
|\ \ | | | | | | Add GDNativeInterface::get_library_path to GDExtension
| * | Add GDNativeInterface::get_library_path to GDExtensionEmmanuel Leblond2022-04-292-2/+7
| | |
* | | Merge pull request #60638 from m4gr3d/support_hand_tracking_v2_mainRémi Verschelde2022-05-023-5/+21
|\ \ \ | |_|/ |/| |
| * | Update Meta hand tracking versionFredy Huya-Kouadio2022-04-273-5/+21
| | | | | | | | | | | | https://developer.oculus.com/blog/presence-platforms-hand-tracking-api-gets-an-upgrade/
* | | Merge pull request #60551 from madmiraal/implement-3466Rémi Verschelde2022-05-025-0/+56
|\ \ \ | | | | | | | | Add a method for obtaining display cutouts on Android
| * | | Add a method for obtaining display cutouts on AndroidMarcel Admiraal2022-04-265-0/+56
| | | |
* | | | Merge pull request #60563 from madmiraal/fix-60562Rémi Verschelde2022-04-291-8/+7
|\ \ \ \ | |_|_|/ |/| | |
| * | | Check for null when retrieving clip data item text on AndroidMarcel Admiraal2022-04-271-8/+7
| | | |
* | | | Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg2022-04-2811-0/+664
|/ / / | | | | | | | | | | | | | | | Windows. Implement TextServer word break method.
* | | Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde2022-04-271-1/+1
|\ \ \ | |/ / |/| |
| * | Fix more issues found by cppcheck.bruvzg2022-04-201-1/+1
| |/
* | Merge pull request #60433 from madmiraal/remove-superfluous-null-checkRémi Verschelde2022-04-251-4/+0
|\ \ | | | | | | Remove superfluous null check
| * | Remove superfluous null checkMarcel Admiraal2022-04-221-4/+0
| |/
* | Merge pull request #60457 from madmiraal/replace-index-iteratorsRémi Verschelde2022-04-252-5/+4
|\ \ | | | | | | Replace index iterators with for each loops.
| * | Replace index iterators with for each loops.Marcel Admiraal2022-04-232-5/+4
| |/
* | Merge pull request #60441 from madmiraal/remove-superfluous-inputmanagerRémi Verschelde2022-04-253-240/+5
|\ \ | | | | | | Remove superfluous Android InputManager interface and implementation
| * | Remove superfluous Android InputManager interface and implementationMarcel Admiraal2022-04-223-240/+5
| |/
* | Merge pull request #60434 from madmiraal/remove-superfluous-version-checkRémi Verschelde2022-04-251-21/+16
|\ \ | | | | | | Remove superfluous check for minimum Android SDK.
| * | Remove superfluous check for minimum Android SDK.Marcel Admiraal2022-04-221-21/+16
| |/
* / Fix the issue causing the screen to be black after resuming when in low ↵Fredy Huya-Kouadio2022-04-252-1/+4
|/ | | | | | processor mode. This is done by forcing a redraw and buffers swap when resuming the app.
* Remove or make private `FileAccess` `close()` methods.bruvzg2022-04-122-3/+6
|
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-116-40/+31
|
* Fix some issues found by cppcheck.bruvzg2022-04-064-9/+15
|
* Zero initialize all pointer class and struct membersRémi Verschelde2022-04-041-4/+4
| | | | | This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
* Merge pull request #59866 from m4gr3d/update_default_display_scale_mainRémi Verschelde2022-04-047-1/+43
|\
| * Update the editor display scale based on the device's scaled densityFredia Huya-Kouadio2022-04-047-1/+43
| |
* | Remove duplicate `resizable` settingsFredia Huya-Kouadio2022-04-043-6/+2
|/
* Update `resize` settings:Fredia Huya-Kouadio2022-04-044-9/+17
| | | | | - Unlock resizing for the Godot Editor - Add an option to specify whether a game is resizeable for the Godot template
* Fix flickering issues with low processor mode on AndroidFredia Huya-Kouadio2022-03-2916-33/+2550
|
* Android port of the Godot EditorFredy Huya-Kouadio2022-03-2823-67/+735
| | | | | | | 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>
* Merge pull request #59146 from m4gr3d/setup_mavencentral_publishingRémi Verschelde2022-03-165-3/+146
|\
| * Setup logic to publish the Godot Android library to MavenCentralFredia Huya-Kouadio2022-03-145-3/+146
| |
* | Implement GDExtension export plugin.bruvzg2022-03-162-8/+8
|/
* Merge pull request #58986 from akien-mga/diraccessrefRémi Verschelde2022-03-111-2/+1
|\
| * Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde2022-03-111-2/+1
| | | | | | | | | | | | | | | | `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>
* | Merge pull request #58751 from bruvzg/loc_str_propsRémi Verschelde2022-03-112-6/+6
|\ \ | |/ |/|
| * Improve app name and system permission message localization.bruvzg2022-03-042-6/+6
| | | | | | | | | | | | | | 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.
* | Remove VARIANT_ARG* macrosreduz2022-03-096-19/+20
| | | | | | | | | | | | | | | | * 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.
* | Remove unused GDNative codeRémi Verschelde2022-03-091-2/+1
| | | | | | | | | | | | | | | | | | 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).
* | Rename StreamTexture* to CompressedTexture*reduz2022-03-051-1/+1
|/ | | | | | * 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.
* Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-1613-150/+210
| | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-153-19/+23
| | | | | | | | | | | Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.