Commit Graph

60 Commits

Author SHA1 Message Date
Rinigus
42ceb70365 [build] Drop unused modules from .gitmodules 2020-04-15 12:11:47 +03:00
Bruno de Oliveira Abinader
7cf5350e3c [build] Use cheap-ruler-cpp provided via mapbox-base 2020-03-27 14:46:40 +02:00
Juha Alanen
2a6b2f6638 [build] Add mapbox-gl-native-curl submodule 2020-03-27 11:27:24 +02:00
Juha Alanen
364ade830b [build] Remove submodule curl-android-ios 2020-03-27 11:27:24 +02:00
Minh Nguyễn
206b9bde5e [ios, macos] Deleted iOS/macOS map SDK sources, resources, scripts 2020-02-27 17:14:20 -08:00
Thiago Marcos P. Santos
f105100943 [build] Bump mapbox-base
This will move geojson-vt-cpp and shelf-pack-cpp
to mapbox-base collection of libraries.
2020-02-24 18:19:05 +03:00
Juha Alanen
38d80dd3e1 [build] Add curl-android-ios submodule
Static libcurl to be used in Android and iOS apps.

Used for testing.
2020-02-06 17:52:12 +02:00
Juha Alanen
ad18b0d789 [build] Add cpp-httplib as submodule
A C++ header-only HTTP/HTTPS server and client library.

Used for testing.
2020-01-30 13:52:09 +02:00
zmiao
d7c8104dec [test-runner] Enable rebaseline for next-ios-render-test-runner (#16147) 2020-01-28 21:48:22 +02:00
Thiago Marcos P. Santos
d3a5ed968c [build] Remove uneeded submodules
Not needed after the render tests are using the offline cache.
2020-01-08 16:48:44 +02:00
Mikhail Pozdnyakov
26ea9798b7 [build] Use rapidjson from mapbox-base 2019-09-02 14:09:08 +03:00
Mikhail Pozdnyakov
02c9918b83 [build] Use pixelmatch-cpp from mapbox-base 2019-09-02 14:09:08 +03:00
Mikhail Pozdnyakov
899287b4ad [build] Use filesystem from mapbox-base 2019-09-02 14:09:08 +03:00
Mikhail Pozdnyakov
805eede8c4 [build] Use args from mapbox-base 2019-09-02 14:09:08 +03:00
Mikhail Pozdnyakov
4af4081fcf [build] Use jni.hpp from mapbox-base 2019-09-02 14:09:08 +03:00
Mikhail Pozdnyakov
0edc50561f [build] Use geojson.hpp from mapbox-base 2019-09-02 14:09:08 +03:00
Mikhail Pozdnyakov
d4ef66c7b0 [build] Use kdbush.hpp from mapbox-base 2019-09-02 14:09:08 +03:00
Mikhail Pozdnyakov
0c0b82dc27 [build] Use supercluster.hpp from mapbox-base 2019-09-02 14:09:08 +03:00
Mikhail Pozdnyakov
baceb47bff [core] Add googletest git submodule 2019-08-01 13:54:28 +03:00
Bruno de Oliveira Abinader
6f0cda8c8b [build] Use mapbox-base optional 2019-07-29 18:36:08 +03:00
Bruno de Oliveira Abinader
b5980bda75 [build] Replace geometry.hpp/variant with mapbox-base 2019-07-26 17:43:18 +03:00
Bruno de Oliveira Abinader
8367c2ed5c [core] Added vendor/filesystem 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
777f0f0bcc [build] Added vendor/mapbox-gl-styles 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
dfc6ec229a [build] Added vendor/mvt-fixtures 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
c397fd853c [core] Bump args to 6.2.2 (does not use RTTI) 2019-03-25 22:52:40 +02:00
Jason Wray
b56a7181af [darwin, docs] Use shared mapbox/jazzy-theme submodule 2019-02-01 13:39:36 -08:00
Łukasz Paczos
405aef0b47 [android] mapbox-events-android vendor 2019-01-15 14:21:26 +01:00
Łukasz Paczos
0cc928861a [android] mapbox-java vendor 2019-01-15 14:21:26 +01:00
Łukasz Paczos
d617b87b4d [android] mapbox-gestures-android vendor 2019-01-15 14:21:26 +01:00
Konstantin Käfer
2b9f3aad9a [core] use constexpr map using eternal for expression lookups 2018-12-04 16:20:51 +02:00
Konstantin Käfer
f30429832e [build] use GLFW as a submodule and update to most recent version
this fixes https://github.com/glfw/glfw/issues/1334 for macOS Mojave
2018-11-21 10:12:59 +01:00
Thiago Marcos P. Santos
9be6c8b1b7 [build] Add more vendor packages
* jni.hpp
 * cheap-ruler-cpp
 * pixelmatch-cpp
2018-11-16 18:58:30 +02:00
Alexander Shalamov
86d2e928f2 [core] Vendor libbenchmark
Prebuilt binaries for libbenchmark might be incompatible with some
environments, for example, when mbgl-benchmark target is compiled
on host with GCC and linked against mason's clang 5.0 compiled binaries.
Vendored libbenchmark avoids aforementioned issue, as the target and
the binary compiled with same compiler / options.
2018-11-08 14:19:23 +02:00
Thiago Marcos P. Santos
bcbbc7e5f3 [build] Add vendored libboost
Custom extract made using bcp based on 1.65.1
2018-11-01 16:29:37 +02:00
Thiago Marcos P. Santos
3a3c05bd8a [build] Add dependencies as submodules
Do not use mason and build offline. These are
header only deps.
2018-10-31 18:19:28 +02:00
Jason Wray
7d050c4cda [ios, build] Remove obsolete UI tests, KIF and OHHTTPStubs submodules 2018-05-24 19:11:28 -04:00
Jesse Bounds
2e3145db47 Replace embedded telem implementation with mapbox-mobile-events library (#10698)
* [ios] Introduce mobile events dependency

This adds the mobile events dependency including the events library's namespaced header file so that the related compiled symbols are prefixed to make them specific to the maps SDK. A pre-compiled header file is added so that the namespaced header file is added in all places where it is needed (most importantly every events library file).

* [ios] Use new events library for telemetry events

This makes the following significant changes:

Refactors the MGLMapboxEvents singleton to delegate internally to an instance of MMEEventsManager that it keeps for itself. The MGLMapboxEvents public API is refactored to reflect this. Note: MGLMapboxEvents continues to handle checking for opt out

Uses that new events API in MGLMapboxEvents to send all telem events (and turnstile)

All embedded certs are removed since the new telem library uses public key info pinning

Legacy telemetry utility classes for location and networking are removed since those are implemented in the telem library

* [ios] Update submodules initialized by cmake

We no longer bring in SMCalloutView as a submodule so it is removed.
We now vendor the telemetry events library as a submodule so it is added.

* Update mapbox-mobile-events

* Update mobile events lib

* Set events options with MGL user defaults values

For options that historically could be set with user defaults in the Maps SDK, collect them and set the appropriate property values in the new events library.

Also, check the existence of two new optional configuration values MGLTelemetryAccessToken and MGLTelemetryBaseURL so that the events endpoint and access token can be configured and the access token can easily be set dynamically and apart from the access token for the maps API.

MGLTelemetryBaseURL replaces the legacy MGLTelemetryTestServerURL. This is ok because this value was never intended to be used by client applications. The new name better reflects the fact that the URL can be changed to any backend stack, not just a test server.

Because it is possible for the configuration values to be read from user defaults before the events manager is fully set up, this also adds a local cache for the baseURL and accessToken values so that they can be stored and applied once it is time to setup the the events manager.

* Update mapbox-mobile-events

mapbox-mobile-events was forced pushed to include https://github.com/mapbox/mapbox-events-ios/pull/28

* Rename MGLMapboxEvents singleton access method

Manager is not in the name of the class. Just call it an instance.

* Update mapbox-mobile-events

* Add comments about config value loading

* Guard against creating events for IB

* Refactor user defaults update handler

This updates the handling logic for user defaults to break apart config changes that require a check for pausing or resuming the events lib’s telemetry collection from config changes that can happen with no update to the pause/resume state.

It also ports the optimization from https://github.com/mapbox/mapbox-gl-native/pull/10803 so that the call to pause and resume is not performed unless the user defaults store has new values that have not yet been applied to the events library.

* Update mapbox-mobile-events

* Rename events submodule folder

* Fix incorrect events library refs

* Update mapbox-mobile-events

* Update user user agent id value

This value aligns with our schme of {source-sdk-platform} and will be used by the events library in the user agent and vendorid.

* Update mapbox-mobile-events

Pin to v3.0.0 (d522b18)

* Improve code comments

* [ios] Fixed a broken file reference to MGLTelemetryConfig.
2018-02-20 09:54:11 -05:00
Jason Wray
5cefa51511 [ios] Rename SMCalloutView and stop using submodule 2017-10-11 12:21:27 -07:00
Konstantin Käfer
bb931505c5 [build] Remove Mason submodule in favor of CMake mason 2017-02-08 19:07:16 +01:00
John Firebaugh
c68e327e86 [build] Use https for mapbox-gl-js submodule
This allows pushing directly from the submodule, if you have https authentication set up.
2017-01-25 19:01:35 -06:00
John Firebaugh
317b2bf42f [build] Use a submodule for mapbox-gl-js rather than an npm dependency 2016-12-22 15:41:10 -08:00
Jason Wray
01b0b0bf0b [ios] Move OHHTTPStubs to Git submodule and update to 5.2.0 2016-08-25 13:41:19 -04:00
Minh Nguyễn
be8f83770d [ios, osx] Shared test bundle
The iOS and OS X SDKs now share a non-UI test bundle. Moved the iOS UI test bundle into a uitest/ subdirectory and moved the OS X SDK tests into the darwin/ subdirectory.

Upgraded KIF to v3.4.2.
2016-04-16 22:46:24 -07:00
John Firebaugh
13e2acbc75 [ios, osx] Consolidate remaining files in platform/{ios,osx} 2016-02-12 14:53:52 -08:00
Mike Morris
79a5a96037 [core] mason geojsonvt-2.1.6.3
- [osx] set -fvisibility-inlines-hidden in gyp/common.gypi to silence
  mismatched visibility linker warnings
- [linux] set cxx_host in GYP_FLAGS to set -fabi-version=0 on gcc builds
  to use clang-built mason binaries
- [ios] update symbol visibility for iOS tests
- [ios] link libgeojsonvt.a in iOS tests xcodeproj
  - add libgeojsonvt.a to General -> Linked Frameworks and Libraries
  - add mason_packages (recursive) to Build Settings -> Library Search Path
- [ios] add libuv and geojsonvt first in iOS libtool smush to ensure symbols
  are found by later compilation units where they are undefined
2015-11-02 18:41:34 -05:00
Leith Bade
abf93c008b [core] Remove bundled styles.
Fixes #2239
2015-10-30 13:09:04 -07:00
John Firebaugh
15a66b8989 Consolidate test-suite rendering harnesses (#2236) 2015-09-04 10:52:14 -07:00
Justin R. Miller
bd0bf294bf squash of #1655: shape annotations support for core & iOS 2015-06-15 18:30:39 -07:00
Justin R. Miller
b528d7cc03 fixes #830, #880: bring back iOS functional tests 2015-04-23 17:54:08 -07:00
Justin R. Miller
10a30daed6 refs #894, fixes #1074: callout views for iOS 2015-03-24 18:43:24 -07:00