summaryrefslogtreecommitdiff
path: root/platform/iphone
AgeCommit message (Collapse)Author
2022-07-21Rename OSX to macOS and iPhoneOS to iOS.bruvzg
2022-07-11Merge pull request #62843 from RandomShaper/fix_iphone_inputRémi Verschelde
Flush accumulated input events on iOS
2022-07-08Flush accumulated input events on iOSPedro J. Estébanez
2022-07-08Add static methods for creating Image and ImageTexturekobewi
2022-07-02Fix exit code of --help and --version, and test them in CIJan Haller
Corrects prior regression which caused ERROR output and exit code of 1.
2022-07-01Add arch flag to assembler to fix build on ARM64 macOS / iOS.bruvzg
2022-06-08Add readable export errors.bruvzg
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Use range iterators for RBSet in most casesAaron Record
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-16Merge pull request #61074 from timoschwarzer/fix-ios-vibration-durationRémi Verschelde
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-16Fix vibration duration on iOSTimo Schwarzer
Fixes #61063
2022-05-13Increase compiler optimization when using `target=release` on iOS/AndroidHugo Locurcio
2022-05-12Add a new HashMap implementationreduz
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<>
2022-05-11Fix ZipIO crash when reused (and possible leaks).bruvzg
2022-05-10[macOS / iOS] Fix text-to-speech build with older macOS / iOS SDK.bruvzg
Add __has_include check for AVFAudio include. Add some explicit casts to avoid conflicts. Change all `include`s to `import`s for consistency.
2022-05-03Merge pull request #60224 from pfeodrippe/fix-simultaneous-touchesRémi Verschelde
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-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
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.
2022-05-02Fix screen_get_usable_rect returning display safe areaMarcel Admiraal
2022-04-29Add GDNativeInterface::get_library_path to GDExtensionEmmanuel Leblond
2022-04-28Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg
Windows. Implement TextServer word break method.
2022-04-20Vibrate using iOS haptics engine on supported devicesTimo Schwarzer
2022-04-13Fix simulatenous touches for different touch typesPaulo Feodrippe
2022-04-12Narrow FileAccess scope to prevent deadlocks.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-03-16Implement GDExtension export plugin.bruvzg
2022-03-11Merge pull request #58986 from akien-mga/diraccessrefRé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-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.
2022-03-04[macOS and iOS export] Add localized application name to the translation ↵bruvzg
.plist files.
2022-02-26[iOS] Fix multitouch not working correctlySergey Minakov
2022-02-19[iOS] Fix incorrect method name for input dragging eventSergey Minakov
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-15Add an `OS.get_processor_name()` methodHugo Locurcio
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.
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-09Merge pull request #57605 from naithar/fix/godot-view-touch-4.0Rémi Verschelde
2022-02-09Merge pull request #57825 from Calinou/ios-remove-obsolete-defineRémi Verschelde
2022-02-08Remove obsolete define in the iOS buildsystem codeHugo Locurcio
This define was used by the WebM/libvpx code, but it's now removed in `master`.
2022-02-08Remove support for ARMv7 (32-bit) on iOSHugo Locurcio
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.
2022-02-04Merge pull request #57617 from bruvzg/char_cleanupRémi Verschelde
2022-02-04Merge pull request #57335 from jordigcs/display-refresh-rateRémi Verschelde
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-03Add screen_get_refresh_rate to DisplayServerjordi
2022-02-03[iOS] Fix touch handling for overlay viewsSergey Minakov
Workaround for GodotView touches being called from UIWindow on different UIView input
2022-02-02Merge pull request #57203 from bruvzg/ios_export_fixRémi Verschelde