summaryrefslogtreecommitdiffstats
path: root/platform/iphone/export/export_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename OSX to macOS and iPhoneOS to iOS.bruvzg2022-07-211-1849/+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-201-3/+3
| | | | | * 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-161-4/+4
| | | | | | | | | | | | * 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
|
* Narrow FileAccess scope to prevent deadlocks.bruvzg2022-04-121-13/+17
|
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-41/+30
|
* Fix some issues found by cppcheck.bruvzg2022-04-061-1/+4
|
* 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-121-0/+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.
* [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-031-2/+2
| | | | 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.
* Split iphone platform export template into multiple filesSergey Minakov2021-08-121-0/+1792