Commit Graph

142 Commits

Author SHA1 Message Date
Alex Cristici
6c4918374a Fixed and enabled iOS render tests (#937) 2023-03-24 18:34:00 +01:00
Alex Cristici
d72cd766c8 Files prefix changed from MGL to MLN (#919) 2023-03-21 13:18:26 +01:00
Bart Louwers
5d70ab1063 Remove old devices from Makefile (#815) 2023-03-17 15:19:37 +01:00
Bart Louwers
15ad65dd3d Use std::optional instead of mbgl::optional (#911) 2023-03-17 13:51:59 +02:00
Bart Louwers
36846439c6 Bump iOS and macOS deployment targets (#908) 2023-03-16 08:07:27 -07:00
Bart Louwers
c5992d58f1 Fix Makefile style-code target (#888) 2023-03-12 20:13:05 +01:00
Bart Louwers
9a3afedb25 install node modules in Makefile (#887) 2023-03-07 11:34:29 +01:00
Rob Labs
5870be4a02 Fix typo in INSTALL.md (#880) 2023-03-04 16:06:48 +01:00
Rob Labs
2764180c32 Fix compiler error seen in Xcode 14.3 Beta 2 (#881) 2023-03-04 12:08:06 +01:00
Bart Louwers
02c196a472 First step towards DocC iOS docs (#867)
Co-authored-by: Ovidiu Voda <ovi.voda@gmail.com>
2023-03-03 13:58:03 -08:00
Bart Louwers
5b55f1527d Fix style code generation, remove package.json ios (#847) 2023-03-03 11:34:40 -08:00
Bart Louwers
f7c3d62584 Remove files generated by platform/ios/platform/darwin/scripts/generate-style-code.js (#844) 2023-02-22 16:01:48 +01:00
Bart Louwers
263def847d Remove duplicated scripts (#833) 2023-02-20 21:19:30 +01:00
Bart Louwers
fe3f3e6636 Get rid of duplicatestyle-code.js (#818) 2023-02-17 18:34:47 +01:00
Wei Chen
42aea6f198 Enable C++ unit test on macOS CI (#674)
Co-authored-by: wei chen <wei.chen@grabtaxi.com>
Co-authored-by: Ovidiu Voda <ovi.voda@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-02-08 12:16:57 +01:00
dependabot[bot]
78d8ebbf7b Bump pixelmatch from 4.0.2 to 5.3.0 in /platform/ios (#489)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 19:41:23 +02:00
Wei Chen
dd3d5a0866 Remove GLKView.snapshot to prevent the app from crash (#642)
Co-authored-by: wei chen <wei.chen@grabtaxi.com>
Co-authored-by: Ovidiu Voda <ovi.voda@gmail.com>
2023-02-01 20:58:33 +02:00
Bart Louwers
c61194f523 Replace #pragma - mark with comments (#736)
Co-authored-by: Ovidiu Voda <ovi.voda@gmail.com>
2023-01-28 13:27:49 +01:00
Nick Hallahan
e088de570b Fix iOS app signing for hardware and improve docs. (#738) 2023-01-26 23:30:49 +01:00
Bart Louwers
f7fa009f08 Use *_t and *_v trait helpers from C++17 STL (#731) 2023-01-26 11:10:33 +01:00
Bart Louwers
e2f39a14e5 Remove Mapbox from iOS Public Docs (#721) 2023-01-23 14:48:38 +01:00
Bart Louwers
39df4fc2f6 Improve README (#673) 2023-01-12 01:42:09 +01:00
Wei Chen
243c1a1935 [iOS]Use custom gesture to solve the map jump on m1 simulator (#594)
Co-authored-by: wei chen <wei.chen@grabtaxi.com>
2023-01-11 16:05:25 +01:00
dependabot[bot]
7d15e89fc6 Bump jsonwebtoken from 8.5.1 to 9.0.0 in /platform/ios (#638)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 01:20:25 +01:00
Bart Louwers
d92431b404 Add fix for running jazzy on M1/ARM (#659) 2023-01-06 11:40:38 +01:00
Bart Louwers
6caf6ab2e1 Update iOS changelog in preparation for release (#658) 2023-01-05 17:05:04 +01:00
Wei Chen
f0595bf05c [iOS]Fix image comparison failed on Xcode 14.1 (#599)
Co-authored-by: wei chen <wei.chen@grabtaxi.com>
2022-12-14 16:59:08 +01:00
Tadej Novak
a2a775c306 [macos] Fix compilation issues using newer versions of Xcode (#561) 2022-11-20 14:48:01 +01:00
Nathan Van Fleet
5c32745731 Fix Bazel build file for dynamic linked targets (#523) 2022-10-04 01:40:03 +02:00
Nathan Van Fleet
c10fd5a615 Fix compass warning in the MGLMapView (#498) 2022-10-04 01:23:34 +02:00
dependabot[bot]
b69ac48a24 Bump minimatch from 3.1.2 to 5.1.0 in /platform/ios (#508)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 14:13:29 +02:00
Birk Skyum
db2c871da6 Avoid unnecessary workflow triggers (#499) 2022-09-23 11:13:21 +02:00
Birk Skyum
acc9afa911 Xcode 14 compatibility (#494) 2022-09-23 07:54:12 +02:00
dependabot[bot]
ae041a6d5c Bump @mapbox/mvt-fixtures from 3.5.1 to 3.10.0 in /platform/ios (#490)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-21 02:32:06 +02:00
dependabot[bot]
35fb184b8b Bump @octokit/rest from 16.43.2 to 19.0.4 in /platform/ios (#472)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 16:42:21 +02:00
dependabot[bot]
2358c3ea2f Bump pngjs from 3.4.0 to 6.0.0 in /platform/ios (#471)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 16:16:13 +02:00
dependabot[bot]
b05e335a25 Bump aws-sdk from 2.1211.0 to 2.1213.0 in /platform/ios (#473)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 16:14:42 +02:00
dependabot[bot]
bfab69122a Bump semver from 5.7.1 to 7.3.7 in /platform/ios (#462)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-11 15:32:16 +02:00
dependabot[bot]
89a316735e Replace node-pre-gyp with @mapbox/node-pre-gyp in /platform/ios (#465)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Birk Skyum <birk.skyum@pm.me>
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2022-09-11 13:53:52 +02:00
dependabot[bot]
d9976ceb36 Bump @octokit/plugin-retry from 2.2.0 to 3.0.9 in /platform/ios (#464)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-11 13:39:35 +02:00
Nathan Van Fleet
4b4c2fece8 Change visibility of bazel packages (#455) 2022-09-09 20:48:55 +02:00
dependabot[bot]
ac3c23381d Bump ejs from 2.7.4 to 3.1.7 in /platform/ios (#429)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2022-09-08 12:51:25 +02:00
dependabot[bot]
bd86fbff79 Bump simple-plist and xcode in /platform/ios (#430)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-08 06:15:11 +02:00
Birk Skyum
95f41105e8 Use self-hosted AWS runners (#426) 2022-09-08 05:23:14 +02:00
Birk Skyum
2cae1ecc41 Fix MGLOfflineStorageTests (#428) 2022-09-07 19:16:55 +02:00
Nathan Van Fleet
35c86172e4 Add Bazel build file implementation (#419) 2022-09-06 20:32:43 -07:00
Rob Labs
901ab18689 Fix for "NSExpression function is forbidden" (#411)
* For iOS 15.5, refactor how MGL Expressions are defined. Fix for "NSExpression function is forbidden" #331

* Convert CI Scheme to TestPlan. Add CI-Expressions TestPlan (which skips tests unrelated to `NSExpression`)

* Update Swift & Objective-C sample Code for MGL Expressions.  Use these patterns for fixing unit tests.

* Update Swift sample code & documentation for MGL expressions.  Update API docs (.h) & online docs (HTML) with:  `make darwin-style-code && make idocument`

* Refresh developer documentation for:  build dependencies, running unit tests from the command line, and logging in C++.

* Mark certain unit tests as "Expected Failures":  Awaiting unit test refactoring for https://github.com/maplibre/maplibre-gl-native/issues/331

* Update to latest Xcode & iOS SDK. Update GitHub Action Runner Images from https://github.com/actions/runner-images

* For iOS 15.5, add "Expected Failure" for tests

* Skip failing test unrelated to NSExpressions

* Convert macOS project to use Test Plans

* Exclude previously failing Offline Storage test

* Refactor MGL Match expressions for macOS & iOS 15.5

* Refactor Unit Tests so that "Excluded Failures" work for both macOS 12 & iOS 15.5

* Refresh documentation on how to test for macOS from the command line
2022-09-03 22:32:15 +02:00
Nathan Van Fleet
b159c991da Move mapview experiment file (#381)
* Move mapview experiment file

The implementation of this file appears to be that it's used in the demo app and is not public, but it's still in the path and compiled into the SDK itself. This seems unecessary.

* add missing

Co-authored-by: Rob Labs <roblabs@users.noreply.github.com>
2022-08-24 00:50:25 +02:00
Nathan Van Fleet
da49607f97 Remove duplicate files from ios-darwin and darwin (#384)
* Remove duplicate files from platform/ios/platform/darwin and platform/darwin

There are duplicated files between platform/iOS/platform/darwin/src and platform/darwin/src

```
src/headless_backend_cgl.mm
src/image.mm
src/string_nsstring.mm
src/headless_backend_eagl.mm
src/number_format.mm
src/local_glyph_rasterizer.mm
src/logging_nslog.mm
src/nsthread.mm
src/collator.mm
src/CFHandle.hpp
include/mbgl/util/image+MGLAdditions.hpp
src/timer.cpp
src/run_loop.cpp
src/async_task.cpp
src/gl_functions.cpp
```

There are three files which are not the exact same diff even

```
src/local_glyph_rasterizer.mm
src/nsthread.mm
src/collator.mm
```

Uniformly it seems like all platform/iOS/platform/darwin/src files should be removed keeping the platform/darwin/src versions.

I believe these files should have been deleted with a previous change of some kind and are otherwise not referenced.

* update
2022-08-15 17:10:56 +02:00
Nathan Van Fleet
6335d04ca9 Remove observation of key-path (#380)
This was previously used in an assert when hiding the info view, but that implemenatation was removed but this wasn't.
2022-08-13 15:41:08 +02:00