summaryrefslogtreecommitdiffstats
path: root/platform/iphone
Commit message (Collapse)AuthorAgeFilesLines
* Rename OSX to macOS and iPhoneOS to iOS.bruvzg2022-07-2144-8044/+0
|
* Merge pull request #62843 from RandomShaper/fix_iphone_inputRémi Verschelde2022-07-111-0/+1
|\ | | | | Flush accumulated input events on iOS
| * Flush accumulated input events on iOSPedro J. Estébanez2022-07-081-0/+1
| |
* | Add static methods for creating Image and ImageTexturekobewi2022-07-081-5/+1
|/
* Fix exit code of --help and --version, and test them in CIJan Haller2022-07-021-1/+4
| | | | Corrects prior regression which caused ERROR output and exit code of 1.
* Add arch flag to assembler to fix build on ARM64 macOS / iOS.bruvzg2022-07-011-0/+4
|
* Add readable export errors.bruvzg2022-06-081-3/+7
|
* Add a new HashSet templatereduz2022-05-202-4/+4
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Use range iterators for RBSet in most casesAaron Record2022-05-191-2/+2
|
* Add dedicated macros for property name extractionHaoyu Qiu2022-05-191-14/+14
| | | | | | | * 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
* Merge pull request #61074 from timoschwarzer/fix-ios-vibration-durationRémi Verschelde2022-05-161-1/+1
|\
| * Fix vibration duration on iOSTimo Schwarzer2022-05-161-1/+1
| | | | | | | | Fixes #61063
* | Replace most uses of Map by HashMapreduz2022-05-163-7/+7
|/ | | | | | | | | | | | * 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
|
* Add a new HashMap implementationreduz2022-05-121-15/+10
| | | | | | | | | | | | | | | | | Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
* Fix ZipIO crash when reused (and possible leaks).bruvzg2022-05-111-1/+2
|
* [macOS / iOS] Fix text-to-speech build with older macOS / iOS SDK.bruvzg2022-05-101-1/+5
| | | | | | Add __has_include check for AVFAudio include. Add some explicit casts to avoid conflicts. Change all `include`s to `import`s for consistency.
* Merge pull request #60224 from pfeodrippe/fix-simultaneous-touchesRémi Verschelde2022-05-031-0/+1
|\
| * Fix simulatenous touches for different touch typesPaulo Feodrippe2022-04-131-0/+1
| |
* | Merge pull request #60553 from madmiraal/separate-display_safe_areaRémi Verschelde2022-05-032-16/+19
|\ \
| * | Fix screen_get_usable_rect returning display safe areaMarcel Admiraal2022-05-022-16/+19
| | |
* | | Merge pull request #60601 from touilleMan/gdextension_get_library_pathRémi Verschelde2022-05-032-3/+8
|\ \ \ | | | | | | | | Add GDNativeInterface::get_library_path to GDExtension
| * | | Add GDNativeInterface::get_library_path to GDExtensionEmmanuel Leblond2022-04-292-3/+8
| |/ /
* / / Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde2022-05-021-2/+0
|/ / | | | | | | | | | | | | | | | | | | | | Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
* | Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg2022-04-285-0/+275
| | | | | | | | | | | | Windows. Implement TextServer word break method.
* | Vibrate using iOS haptics engine on supported devicesTimo Schwarzer2022-04-203-2/+116
|/
* Narrow FileAccess scope to prevent deadlocks.bruvzg2022-04-121-13/+17
|
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-113-45/+34
|
* Fix some issues found by cppcheck.bruvzg2022-04-062-2/+5
|
* Zero initialize all pointer class and struct membersRémi Verschelde2022-04-041-3/+3
| | | | | This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
* Implement GDExtension export plugin.bruvzg2022-03-161-1/+1
|
* Merge pull request #58986 from akien-mga/diraccessrefRémi Verschelde2022-03-112-80/+62
|\
| * Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde2022-03-112-80/+62
| | | | | | | | | | | | | | | | `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>
* | Improve app name and system permission message localization.bruvzg2022-03-041-14/+29
|/ | | | | | | 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.
* [macOS and iOS export] Add localized application name to the translation ↵bruvzg2022-03-041-0/+53
| | | | .plist files.
* [iOS] Fix multitouch not working correctlySergey Minakov2022-02-261-0/+2
|
* [iOS] Fix incorrect method name for input dragging eventSergey Minakov2022-02-191-1/+1
|
* Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-1611-57/+57
| | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* Add an `OS.get_processor_name()` methodHugo Locurcio2022-02-152-0/+11
| | | | | | | | This method can be used to get the CPU model name. It can be used in conjunction with `RenderingServer.get_video_adapter_name()` and `RenderingServer.get_video_adapter_vendor()` for annotating benchmarks and automatic graphics quality configuration.
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-122-1/+2
|
* Merge pull request #57605 from naithar/fix/godot-view-touch-4.0Rémi Verschelde2022-02-093-13/+31
|\
| * [iOS] Fix touch handling for overlay viewsSergey Minakov2022-02-033-13/+31
| | | | | | | | Workaround for GodotView touches being called from UIWindow on different UIView input
* | Merge pull request #57825 from Calinou/ios-remove-obsolete-defineRémi Verschelde2022-02-091-1/+0
|\ \
| * | Remove obsolete define in the iOS buildsystem codeHugo Locurcio2022-02-081-1/+0
| | | | | | | | | | | | | | | This define was used by the WebM/libvpx code, but it's now removed in `master`.
* | | Remove support for ARMv7 (32-bit) on iOSHugo Locurcio2022-02-081-1/+0
|/ / | | | | | | | | | | | | | | All iOS devices since the iPhone 5S support ARMv8 (64-bit). The last iOS version supported on ARMv7 devices is 10.x, which is too old to run Godot 4.0 projects since the minimum supported iOS version is 11.0.
* | Merge pull request #57617 from bruvzg/char_cleanupRémi Verschelde2022-02-041-1/+1
|\ \
| * | Cleanup and move char functions to the `char_utils.h` header.bruvzg2022-02-041-1/+1
| |/
* | Merge pull request #57335 from jordigcs/display-refresh-rateRémi Verschelde2022-02-042-0/+5
|\ \ | |/ |/|
| * Add screen_get_refresh_rate to DisplayServerjordi2022-02-032-0/+5
| |
* | Merge pull request #57203 from bruvzg/ios_export_fixRémi Verschelde2022-02-021-4/+29
|\ \