summaryrefslogtreecommitdiff
path: root/platform/ios
AgeCommit message (Collapse)Author
2022-09-23SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` definesRémi Verschelde
- `_DEBUG` is MSVC specific so it didn't make much sense to define for Android and iOS builds. - iOS was the only platform to define `DEBUG`. We don't use it anywhere outside thirdparty code, which we usually don't intend to debug, so it seems better to be consistent with other platforms. - Consistently define `NDEBUG` to disable assert behavior in both `release` and `release_debug` targets. This used to be set for `release` for all platforms, and `release_debug` for Android and iOS only. - Due to the above, I removed the only use we made of `assert()` in Godot code, which was only implemented for Unix anyway, should have been `DEV_ENABLED`, and is in PoolAllocator which we don't actually use. - The denoise and recast modules keep defining `NDEBUG` even for the `debug` target as we don't want OIDN and Embree asserting all over the place.
2022-09-23SCons: Remove redundant `-fomit-frame-pointer` and `-ftree-vectorize`Rémi Verschelde
- `-fomit-frame-pointer` is included automatically by both GCC and Clang in `-O1` and above. - `-ftree-vectorize` is included automatically by GCC in `-O2` and beyond, and seems always enabled by Clang. Closes #66296. See that issue for a detailed investigation.
2022-09-20Merge pull request #65745 from akien-mga/scons-production-lto-earlierRémi Verschelde
Refactor handling of `production` flag and per-platform LTO defaults
2022-09-20Merge pull request #65541 from clayjohn/renderer-settingRémi Verschelde
Split rendering driver project setting into renderer_name and rendering_driver
2022-09-19Split rendering driver project setting into renderer_name and ↵clayjohn
rendering_driver. To differentiate between a driver (e.g. Vulkan or D3D12) and a renderer (e.g. clustered or mobile renderer).
2022-09-19SCons: Refactor handling of `production` flag and per-platform LTO defaultsRémi Verschelde
Fixup to #63288. See #65583 for the bug report. Co-authored-by: Cyberrebell <chainsaw75@web.de>
2022-09-16Add get_distribution_name() and get_version() to OSMJacred
supports: LinuxBSD, Windows, macOS, iOS, Android, UWP Co-authored-by: bruvzg
2022-09-13Check for ios_simulator when building for x86_64Ted Spikes
2022-09-08SCons: Refactor LTO options with `lto=<none|thin|full>`Rémi Verschelde
Adds support for LTO on macOS and Android. We don't have much experience with LTO on these platforms so for now we keep it disabled by default even when `production=yes` is set. Similarly for iOS where we ship object files for the user to link in Xcode so LTO makes builds extremely slow to link. `production=yes` defaults to full LTO. ThinLTO is much faster for LLVM-based compilers but seems to produce bigger binaries (at least for the Web platform).
2022-09-06Rename `range_lerp` to `remap`Micky
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-26Merge pull request #64562 from bruvzg/fix_dup_localesRémi Verschelde
[macOS / iOS Export] Fix generation of duplicate locale property list files.
2022-08-25Improve platform-specific READMEs to add useful linksHugo Locurcio
This also adds READMEs for all platforms.
2022-08-25Unify bits, arch, and android_arch into env["arch"]Aaron Franke
Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-08-25Merge pull request #64630 from nathanfranke/ios-opaqueRémi Verschelde
(4.x) iOS: Force app store icon to be opaque, use proper errors
2022-08-22Replace Array return types with TypedArraykobewi
2022-08-19ios: force app store icon to be opaque, use proper errorsNathan Franke
2022-08-18[macOS / iOS Export] Fix generation of duplicate locale property list files.bruvzg
2022-08-15Disable threads used to check on plugins to loadFredia Huya-Kouadio
The functionality is unavailable on Android (requires export capability) and unnecessarily consumes resources
2022-08-14Refactor the export checking logic to improve separation of concernsFredia Huya-Kouadio
2022-08-10Clean iOS platform config of long gone macroPedro J. Estébanez
2022-08-09[iOS] Extend iOS plugins to support Swift runtimeSergey Minakov
2022-08-08Merge pull request #64014 from RedMser/keep-screen-on-singledefRémi Verschelde
2022-08-06Only define `keep_screen_on` project setting onceRedMser
2022-08-05Remove unnecessary string replacementLarry Tran
2022-08-04Add support for multiple virtual keyboard typesBrian Semrau
2022-07-31Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov
up editor includes
2022-07-30Merge pull request #63563 from aaronfranke/export-archRémi Verschelde
2022-07-29Make some editor export methods constAaron Franke
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-27Merge pull request #62973 from bruvzg/sysfont_supportRémi Verschelde
2022-07-26Split up editor export code into multiple filesAaron Franke
2022-07-26Implement support for loading system fonts on Linux, macOS / iOS and Windows.bruvzg
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-21Rename OSX to macOS and iPhoneOS to iOS.bruvzg