Commit Graph

6500 Commits

Author SHA1 Message Date
Jason Wray
96ec18376f [ios] Release ios-v4.9.0 2019-02-27 12:05:43 -08:00
Jason Wray
fe05ac4d52 [ios] Update changelog for ios-v4.9.0 2019-02-27 12:05:23 -08:00
Langston Smith
619df84b5e [android] Update to changelog with stable 7.2.0 changes (#14003)
* [android] update to changelog with final 7.2.0 changes

* Removed relinker
2019-02-27 10:56:24 -08:00
Langston Smith
a0c3e2321d [android] Android README link and writing updates (#13995) 2019-02-27 07:25:18 -08:00
Thiago Marcos P. Santos
edc6a5dd8b [qt] Share the same file source only if using the same access token
If access tokens are different, we cannot share the file source,
because it will override the previously set access token.
2019-02-27 13:31:21 +02:00
Lloyd Sheng
0a41bb1e66 [ios] Make PingFang as the default local font family for GCJ glyphs(#13988)
* Make PingFang as the default local font family

* Add a changelog
2019-02-27 14:49:49 +08:00
Jason Wray
cced7db511 [ios, build] Trigger automated site and docs generation during releases 2019-02-26 11:19:48 -08:00
Jason Wray
554992d733 [ios, build] Only install packaging dependencies if not installed 2019-02-26 11:19:48 -08:00
Bruno de Oliveira Abinader
13fb375823 [glfw] Add bounds example 2019-02-26 21:17:31 +02:00
Łukasz Paczos
5e41fd44f2 [android] clear singleton instance of Mapbox after running unit test suite 2019-02-26 15:06:21 +01:00
Łukasz Paczos
e7562a2974 [android] replace remaining hardcoded delays with the idle event 2019-02-26 15:05:48 +01:00
Nadia Barbosa
d34f0f0ef1 [build] Publish Android/iOS binary sizes to S3 2019-02-25 12:36:26 -08:00
Minh Nguyễn
26e1c925f2 [ios, macos] Expose MGLMapView OpenGL context to OpenGL style layers
Added a property to MGLOpenGLStyleLayer that contains the map view’s underlying OpenGL rendering context.
2019-02-25 10:44:43 -08:00
tobrun
f66848efaf [android] - make ReLinker default library loader, create library loader provider for modularisation 2019-02-25 16:58:15 +01:00
Ivo van Dongen
fee22273be [android] gl surfaceview renderer - only destroy context when destroying the mapview 2019-02-23 09:42:50 +02:00
Ivo van Dongen
96fef8172b [android] re-create renderer on surface update after app backgrounding (in case egl context is preserved, but surface is not) 2019-02-23 09:42:50 +02:00
Ivo van Dongen
7c874ab815 [android] fix naming for re-open tests 2019-02-23 09:42:50 +02:00
tobrun
4b8cff5b15 [android] - add UiAutomator tests for testing clicking home and returning with recent apps 2019-02-23 09:42:50 +02:00
tobrun
6a840d45f0 [android] - add missing package-info.java files to packages for javadoc generation 2019-02-22 11:14:10 +01:00
Langston Smith
a0b2b5d570 [android] Android 7.2.0-beta.1 changelog update (#13968)
* [android] android 7.2.0-beta.1 changelog update

* Whitespace fixes
2019-02-21 09:20:39 -08:00
Łukasz Paczos
57988ad113 [android] bump snapshot to 7.3.0 2019-02-21 17:44:29 +01:00
Ł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
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
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
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