Commit Graph

13878 Commits

Author SHA1 Message Date
Łukasz Paczos
3cf24f3329 [android] initialize vendor submodules as a CI step 2019-02-21 15:23:08 +01:00
Jason Wray
2c2c67aedf [ios] Release ios-v4.9.0-beta.1 2019-02-20 14:28:52 -08:00
Łukasz Paczos
14e67369ea [android] ignore android-nitpick's non-zero exit value when updating submodules 2019-02-20 17:04:25 +01:00
xylosper
0c66ce9a95 [qt] fix missing alpha channel for QColor
`QColor::name()` produces `#rrggbb` format where alpha is missing.
Use `rgba(...)` string instead when convert `QColor` to mapbox style.

Note: `QColor::name(QColor::HexArgb)` produces `#aarrggbb` format string,
but mapbox does not support this format apparently.
2019-02-20 16:16:34 +02:00
Jason Wray
c00d44740f [ios] Mock MGLOfflineStorage in MGLDocumentationExampleTests
Otherwise we risk kicking-off long-running offline pack downloads that could interfere with other tests.
2019-02-19 16:33:27 -08:00
Randall Lee
1215629591 [iOS] Update to Events SDK v0.9.0 (#13951)
* Update to Events SDK v0.9.0

Minor bug fixes and addition of internal turnstile attributes. Also enables LTO compiler flag.

* Add CLLocationManager+MMEMobileEvents category

* Generate file lists
2019-02-19 16:53:33 -05:00
kevin
4540f80375 Add javadocs for local font family 2019-02-19 19:42:28 +01:00
kevin
68cea961f2 [android] set localIdeographFontFamily default to sans-serif 2019-02-19 19:42:28 +01:00
Łukasz Paczos
9750921dac [android] do not post stale state message when new option provided but the component is stopped 2019-02-19 19:15:59 +01:00
Łukasz Paczos
f5a0e96a5f [android] keep location component's layers hidden when new style with the "layer-below" option is applied 2019-02-19 19:15:59 +01:00
Thiago Marcos P. Santos
056073a904 [build] Use the correct define on Windows
https://blog.kowalczyk.info/article/j/guide-to-predefined-macros-in-c-compilers-gcc-clang-msvc-etc..html
2019-02-19 16:20:56 +02:00
Fabian Guerra Soto
1fc7a9b82e [ios, macos] Expose the url session configuration object. (#13886)
The `MGLNetworkConfiguration` class was make public, and added `sessionConfiguration` property to let developers customize the `NSURLSessionConfiguration` object that is used to make HTTP requests in the SDK.
2019-02-18 13:16:20 -08:00
Jason Wray
1c99b199c6 [ios] Fix string-bool casting warning in MBXOfflinePacksTableViewController 2019-02-14 10:51:49 -08:00
Jason Wray
00144a0d7a [core] Silence -Wshorten-64-to-32 in icu target 2019-02-14 10:51:49 -08:00
Jason Wray
5a5b8520cc [core] Remove old sqlite3 usage note 2019-02-14 10:51:49 -08:00
tobrun
8d31a5a7e2 [android] - bring back style loading test to native map, add onDestroy to after test 2019-02-14 20:17:39 +02:00
Langston Smith
a471d896e9 [android] Update changelog for v7.2.0-alpha.2 (#13930)
* [android] updated android changelog for 7.2.0-alpha.2 release

* [android] Added additional bug fix to changelog
2019-02-14 08:50:10 -08:00
Ivo van Dongen
3802f7e922 [android] hook into surface holder to cleanup renderer on the right thread before the surface is destroyed 2019-02-14 13:58:03 +02:00
Jason Wray
ceea900578 [ios] Release ios-v4.9.0-alpha.2 2019-02-13 14:49:11 -08:00
Jordan Kiley
5d85056030 [ios, macos] Move apiBaseURL to MGLAccountManager` (#13754)
[ios, macos] Move `apiBaseURL` to `MGLAccountManager`
2019-02-13 13:20:48 -08:00
Łukasz Paczos
98eac18a21 [android] invalidate the camera position when gesture finishes 2019-02-13 13:50:13 +01:00
tobrun
ca4648964a [android] - update codebase for Roboelectric v4.x 2019-02-13 11:29:49 +02:00
tobrun
841875b3e0 [android] - bump dependencies and tooling 2019-02-13 11:29:49 +02:00
Thiago Marcos P. Santos
65cec8be34 [android,darwin,ios,qt] Remove unused code
These files are no longer needed after the new GL abstraction.
2019-02-12 19:42:08 +02:00
Thiago Marcos P. Santos
992a955fc3 [tests] Add unit tests for the GLFunctions 2019-02-12 19:42:08 +02:00
Thiago Marcos P. Santos
690833ef92 [core] Switch to the new OpenGL abstraction
This patch will make Mapbox GL Core never use OpenGL
directly. We should consider locking into OpenGL ES 2.0
to simplify the code path and remove #ifdefs.
2019-02-12 19:42:08 +02:00
Thiago Marcos P. Santos
470b01847d [android,linux,darwin,qt] Load OpenGL for the platform
These loaders will provide pointers to the platform implementation
of OpenGL. On Android, Linux and Darwin, we simply link with the
OpenGL implementation that is expected to exist on the platform.

Qt has its own GL loader, so we just connect the dots.
2019-02-12 19:42:08 +02:00
Thiago Marcos P. Santos
9b66be7bef [core] Abstract the OpenGL implementation
The platform will be responsible to load the OpenGL implementation
and give the function pointers to Mapbox GL Core. The platform might
load OpenGL by linking against some OpenGL implementation, load it
dynamically, etc. It doesn't matter as long as it is a valid
implementation.

Also adds the `::platform` namespace where all the missing symbols and
interfaces expected to be implemented by the platforms will live.
2019-02-12 19:42:08 +02:00
Ivo van Dongen
1fadf56368 [android] change lock scope in run_loop to avoid deadlocks. simplify as
well
2019-02-12 17:56:35 +02:00
Łukasz Paczos
ca7d9422b6 [android] use #onDidBecomeIdle event instead of layer querying during instrumentation tests 2019-02-12 16:38:55 +01:00
xylosper
fbbc83aa0e [qt] fix missing Q_MAPBOXGL_EXPORTs
New projection-related functions in QMapbox namespace
are missing Q_MAPBOXGL_EXPORTs.
2019-02-12 11:08:26 +02:00
xylosper
26af7265c3 [qt] add global projection functions
There are 3 methods in QMapboxGL which can be static method.

QMapboxGL::metersPerPixelAtLatitude
QMapboxGL::projectedMetersForCoordinate
QMapboxGL::coordinateForProjectedMeters

Add these functions into QMapbox namespace as global functions.
The methods in QMapboxGL are kept for backward compatibility.
2019-02-12 11:08:26 +02:00
Julian Rex
2deebc0efe [ios] Check supported interface orientations when rotating device/view layout (#13900) 2019-02-11 23:07:15 -05:00
Felix Wehnert
57438c2a7e [ios] Improve tilt gesture performance (#13902) 2019-02-11 17:28:44 -08:00
Langston Smith
e1092e4148 [android] remove duplicates (#13901) 2019-02-11 09:57:22 -08:00
Langston Smith
7acaa3b467 [android] updates to changelog for 7.2.0-alpha.1 release (#13893) 2019-02-07 11:30:55 -08:00
tobrun
6773a876e9 [android] - update changelog for v7.1.2 2019-02-07 16:39:49 +01:00
tobrun
a3a601699e [android] - migrate tests from #13882 2019-02-07 15:41:54 +01:00
tobrun
7ad9f3450d [android] - remove faulty conversion, explict casting for cluster API 2019-02-07 15:41:54 +01:00
Tobrun
47fa19444e [android] - add experimental pointer (#13889) 2019-02-07 15:22:36 +01:00
Jason Wray
b8d2038810 [ios] Update changelog for 4.9.0 2019-02-06 14:10:33 -08:00
Jason Wray
e1723d0281 [ios, build] Improve error message when tagged version does not exist in changelog 2019-02-06 14:10:27 -08:00
Jason Wray
ee443be7b4 [ios] Release ios-v4.9.0-alpha.1 2019-02-06 11:31:17 -08:00
Jason Wray
7476befccb [ios, build] Make jazzy sqlite3 installation version agnostic 2019-02-06 09:30:17 -08:00
Tobrun
cec20c7b30 [android] - update downstream circle-ci job name (#13872) 2019-02-06 16:13:17 +01:00
Fabian Guerra Soto
63065e1268 [ios, macos] Update unit test bundle identifier. (#13875) 2019-02-05 14:49:00 -08:00
Julian Rex
5ba4a6a980 [ios] Reverts "Enable customize positions of mapview ornaments (#13556)" (#13870)
This reverts commit e22d28c285.
2019-02-05 13:50:12 -05:00
Julian Rex
47852b6c42 [ios] Specify sqlite3 version used by Jazzy (#13874) 2019-02-05 10:26:05 -05:00
Jason Wray
c49898a5ca [ios, docs] Fix types in jazzy Swift declarations for MGLMapViewDelegate
Also, fix highlighting for one thing.
2019-02-04 10:17:51 -08:00
Łukasz Paczos
8ad13cd577 [android] expose symbol placement transition duration option 2019-02-04 14:52:14 +01:00