summaryrefslogtreecommitdiffstats
path: root/platform/iphone/export
Commit message (Collapse)AuthorAgeFilesLines
* Rename OSX to macOS and iPhoneOS to iOS.bruvzg2022-07-216-2635/+0
|
* Add static methods for creating Image and ImageTexturekobewi2022-07-081-5/+1
|
* 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
* Replace most uses of Map by HashMapreduz2022-05-162-5/+5
| | | | | | | | | | | | * 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!
* 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
|
* 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.
* Narrow FileAccess scope to prevent deadlocks.bruvzg2022-04-121-13/+17
|
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-112-44/+33
|
* Fix some issues found by cppcheck.bruvzg2022-04-062-2/+5
|
* Implement GDExtension export plugin.bruvzg2022-03-161-1/+1
|
* Merge pull request #58986 from akien-mga/diraccessrefRémi Verschelde2022-03-111-77/+61
|\
| * Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde2022-03-111-77/+61
| | | | | | | | | | | | | | | | `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.
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-122-1/+2
|
* 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.
* Cleanup and move char functions to the `char_utils.h` header.bruvzg2022-02-041-1/+1
|
* [iOS] Fix iOS export with manually specified signing/provisioning data.bruvzg2022-01-251-4/+29
|
* [iOS] Improve iOS icon / loading screen export.bruvzg2022-01-171-82/+69
| | | | | | Merge "required" / "optional" icons into a single list. Remove "generate_missing" and automatically rescale icons / loading screens that are missing or have incorrect size. Print warning if icon or loading screen has incorrect size.
* Remove support for PVRTC texture encoding and decodingHugo Locurcio2022-01-141-6/+3
| | | | | | | On the only platform where PVRTC is supported (iOS), ETC2 generally supersedes PVRTC in every possible way. The increased memory usage is not really a problem thanks to modern iOS' devices processing power being higher than its Android counterparts.
* Fix decoding UTF-8 filenames on unzipping.bruvzg2022-01-051-1/+1
|
* Update copyright statements to 2022Rémi Verschelde2022-01-036-12/+12
| | | | Happy new year to the wonderful Godot community!
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-3/+3
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* Don't return reference on copy assignment operatorsRémi Verschelde2021-11-301-2/+3
| | | | | | | | | | | | | We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit).
* [iOS export] Capture and display xcodebuild output.bruvzg2021-11-071-2/+6
|
* Fix new projects always being created with OpenGLHugo Locurcio2021-11-011-1/+1
| | | | | | | | Only Vulkan is fully implemented for now, so OpenGL isn't available in the project manager yet. This also makes the rendering driver checks use lowercase names everywhere for consistency.
* clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-3/+3
| | | | | | | | | Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
* iOS: Don't embed project static frameworks/libsIgnacio Roldán Etcheverry2021-10-171-1/+1
| | | | | | Previously, files added via `add_ios_project_static_libs` where being added as embedded frameworks. This commit fixes that. Static frameworks/libs should never be embedded into IPAs.
* Fix specific warnings issues by ClangK. S. Ernest (iFire) Lee2021-10-141-2/+0
| | | | Found by `scons dev=yes` on llvm-mingw.
* Make platform feature tag names lowercaseHugo Locurcio2021-08-311-1/+1
| | | | | | | | | | | | | | Feature tag names are still case-sensitive, but this makes built-in feature tags more consistent. - `Windows` -> `windows` - `OSX` -> `osx` - `LinuxBSD` -> `linuxbsd` - `Android` -> `android` - `iOS` -> `ios` - `HTML5` -> `html5` - `JavaScript` -> `javascript` - `UWP` -> `uwp`
* Split iphone platform export template into multiple filesSergey Minakov2021-08-125-2021/+2506
|
* [iOS] Fix plugin configuration loadingSergey Minakov2021-07-131-1/+6
| | | | | Clear ConfigFile parameter before loading new file. Ignore duplicate input plist keys
* Fix casing of the "to" stop word in editor stringsHugo Locurcio2021-07-131-1/+1
| | | | | This also fixes a C# documentation example that had one of its strings incorrectly converted.
* Merge pull request #49803 from naithar/feature/ios-plugin-multitype-plist-4.0Rémi Verschelde2021-06-221-3/+38
|\ | | | | [4.0] [iOS] Support multiple `plist` types in plugin
| * [iOS] Support multiple plist typesSergey Minakov2021-06-211-3/+38
| |
* | Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-5/+5
| |
* | Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde2021-06-111-1/+1
|/ | | | | File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
* Merge pull request #49137 from RandomShaper/ios_targeted_familyRémi Verschelde2021-05-311-0/+16
|\ | | | | Add iOS export option for device family
| * Add iOS export option for device familyPedro J. Estébanez2021-05-271-0/+16
| |
* | Set schemes' build config to debug/release in iOS Xcode exportPedro J. Estébanez2021-05-251-0/+2
|/
* Use an enum to represent screen orientation in the Project SettingsHugo Locurcio2021-05-241-16/+32
| | | | | | | | | | | | - Tweak the setting property hint to be more informative. - Make the setting a "basic" setting so it appears when Advanced Settings is disabled. - Remove redundant orientation setting in the iOS export preset. The project setting is now used (like on Android). Projects upgrading from a previous version will have to set the screen orientation again in the Project Settings if it wasn't set to the default value ("landscape").
* Merge pull request #45617 from RandomShaper/modernize_atomicsRémi Verschelde2021-02-181-13/+13
|\ | | | | Modernize atomics (and fix `volatile`)
| * Modernize atomicsPedro J. Estébanez2021-02-181-13/+13
| | | | | | | | | | | | | | | | | | | | - Based on C++11's `atomic` - Reworked `SafeRefCount` (based on the rewrite by @hpvb) - Replaced free atomic functions by the new `SafeNumeric<T>` - Replaced wrong cases of `volatile bool` by the new `SafeFlag` - Platform-specific implementations no longer needed Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
* | Reorganize Project Settingsreduz2021-02-181-1/+1
|/ | | | | | | -Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
* [iOS] Additional 'linker_flags' plugin parameterSergey Minakov2021-02-031-0/+30
|
* Merge pull request #45315 from RandomShaper/modernize_threadRémi Verschelde2021-01-311-4/+3
|\ | | | | Modernize Thread