summaryrefslogtreecommitdiffstats
path: root/platform/iphone
Commit message (Collapse)AuthorAgeFilesLines
* Fix multiple missing UTF-8 decoding.bruvzg2022-01-062-2/+2
|
* Fix decoding UTF-8 filenames on unzipping.bruvzg2022-01-051-1/+1
|
* Update copyright statements to 2022Rémi Verschelde2022-01-0339-78/+78
| | | | Happy new year to the wonderful Godot community!
* Remove build system code for 32-bit iOSAaron Franke2021-12-221-25/+5
|
* Fix initialising of gl_manager and checking gl_manager and context_vulkan ↵Bastiaan Olij2021-12-182-17/+15
| | | | preventing crash issues.
* 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).
* Use "enum class" for input enumsAaron Franke2021-11-123-27/+27
|
* [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.
* Use OpenGL 3.3 core profile instead of compatibility profileClay John2021-10-314-1931/+8
| | | | | | | | | | - Rename OpenGL to GLES3 in the source code per community feedback. - The renderer is still exposed as "OpenGL 3" to the user. - Hide renderer selection dropdown until OpenGL support is more mature. - The renderer can still be changed in the Project Settings or using the `--rendering-driver opengl` command line argument. - Remove commented out exporter code. - Remove some OpenGL/DisplayServer-related debugging prints.
* Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3Hugo Locurcio2021-10-304-9/+8
| | | | | - Use lowercase driver names for the `--rendering-driver` command line argument.
* Add GLES2 2D renderer + Linux display managerlawnjelly2021-10-302-0/+1926
| | | | | | | | | First implementation with Linux display manager. - Add single-threaded mode for EditorResourcePreview (needed for OpenGL). Co-authored-by: clayjohn <claynjohn@gmail.com> Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
* 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.
* SCons: Set `DEBUG_ENABLED` and `DEV_ENABLED` in SConstructRémi Verschelde2021-10-151-5/+1
| | | | | They're the same for all platforms so they don't need to be repeated in all platform definitions.
* Fix specific warnings issues by ClangK. S. Ernest (iFire) Lee2021-10-141-2/+0
| | | | Found by `scons dev=yes` on llvm-mingw.
* SCons: Add `DEV_ENABLED` defines for `target=debug` buildsRémi Verschelde2021-10-141-0/+1
| | | | | | | | | | | This will allow adding developer checks which will be fully compiled out in user builds, unlike `DEBUG_ENABLED` which is included in debug tempates and the editor builds. This define is not used yet, but we'll soon add code that uses it, and change some existing `DEBUG_ENABLED` checks to be performed only in dev builds. Related to godotengine/godot-proposals#3371.
* Implement get_cache_path() for iOS, and improve it for Android and WindowsPedro J. Estébanez2021-10-094-6/+16
|
* 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`
* Upgrade Vulkan memory allocatorPedro J. Estébanez2021-08-131-1/+1
|
* Split iphone platform export template into multiple filesSergey Minakov2021-08-125-2117/+2236
|
* Remove unnecessary iOS linker flags.bruvzg2021-08-121-38/+0
|
* Use "volk" instead of statically linked Vulkan loader.bruvzg2021-08-125-11/+18
|
* Use Key enum instead of plain integersAaron Franke2021-08-103-4/+4
|
* [iOS] Use platform generated api to initialize iOS pluginsSergey Minakov2021-08-064-7/+90
|
* Fix various typos with codespellluz paz2021-07-251-1/+1
| | | | Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
* Move `alert` function from `DisplayServer` to `OS`.bruvzg2021-07-224-17/+8
|
* [iOS] Fix plugin configuration loadingSergey Minakov2021-07-132-1/+8
| | | | | 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.
* Restructure and reimplement vsync optionsHendrik Brucker2021-07-064-9/+28
| | | | | -Add a v-sync mode setting which allows to choose between DISABLED, ON, ADAPTIVE and MAILBOX -Removed the V-Sync via Compositor option
* Merge pull request #49803 from naithar/feature/ios-plugin-multitype-plist-4.0Rémi Verschelde2021-06-222-8/+114
|\ | | | | [4.0] [iOS] Support multiple `plist` types in plugin
| * [iOS] Support multiple plist typesSergey Minakov2021-06-212-8/+114
| |
* | Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-192-8/+8
| |
* | Merge pull request #49511 from akien-mga/core-diraccess-fileaccess-ioRémi Verschelde2021-06-112-3/+3
|\ \ | | | | | | Core: Move DirAccess and FileAccess to `core/io`
| * | Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde2021-06-112-3/+3
| |/ | | | | | | | | File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
* / Rename `String.is_abs_path()` to `String.is_absolute_path()`Hugo Locurcio2021-06-031-2/+2
|/ | | | This is more consistent with `NodePath.is_absolute()`.
* 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").
* Fix typos with codespellRémi Verschelde2021-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 2.0.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn GIRD leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* OS: Remove native video API only implemented on iOSRémi Verschelde2021-05-078-416/+0
| | | | | | See discussion in #43811, it was only implemented on iOS and even that implementation was fairly limited. This would best be provided as plugins for Android and iOS without cluttering the shared OS API.
* Rename `doubleclick` to `double_click`Aaron Franke2021-05-042-2/+2
|
* Merge pull request #48323 from naithar/fix/ios-virtual-keyboard-rangeRémi Verschelde2021-04-301-2/+4
|\ | | | | [iOS] Nonnegative start index for virtual keyboard range
| * [iOS] Nonnegative start index for virtual keyboard rangeSergey Minakov2021-04-301-2/+4
| |
* | Replace remaining uses of `NULL` with `nullptr`Rémi Verschelde2021-04-295-15/+15
|/ | | | Follow-up to #38736 (these uses were likely added after this PR was merged).
* [iOS] Fix for plugin modified time checkSergey Minakov2021-04-131-2/+3
|
* Rename some more global enums (Key, Joy, MIDI)Aaron Franke2021-03-231-1/+1
|
* Merge pull request #46966 from qarmin/faster_releaseRémi Verschelde2021-03-201-1/+1
|\ | | | | Allow to not optimize release build