Commit Graph

6592 Commits

Author SHA1 Message Date
tobrun
5ea450b14b [android] - add GLSurfaceView RecylerView example to test for regressions 2019-03-22 18:39:29 +01:00
Bruno de Oliveira Abinader
03db58cdc1 [core] Replace shared_ptr with unique_ptr in {Map,Resource}Options 2019-03-22 18:54:48 +02:00
tobrun
2de2b0b068 [android] - bump snapshot version to 7.4.0 2019-03-22 14:03:22 +01:00
Łukasz Paczos
14703a8f84 [android] fix formatting of the 7.3.0-beta.1 changelog 2019-03-22 11:53:27 +01:00
tobrun
db56d8f03e [android] - improve reliability of UiAutomator tests 2019-03-22 10:26:11 +01:00
Alf Watt
a33aaceaa9 Update to mapbox-events-ios release v0.9.1 (#14194)
MMENSDateWrapper -> MMEDate
Add SKIP_DOCS flag to build pipeline for iOS
2019-03-21 17:20:43 -07:00
Jordan Kiley
d8712e880a [ios] Bumped podspecs for v4.10.0-beta.1 (#14197) 2019-03-21 16:46:18 -07:00
Jason Wray
07845b1208 [ios] Nitpicky style edits of recent changes 2019-03-21 14:26:11 -07:00
Jason Wray
1ee067dc98 [ios] Copy-edit changelog for 4.10.0-beta.1 2019-03-21 14:26:11 -07:00
tobrun
9045d2450d [android] - call getMapAsync when restoring map fragment from saved instance state 2019-03-21 22:00:47 +01:00
tobrun
1229b80a8c [android] - introduce Pixel dimension instrumentation test 2019-03-21 21:25:43 +01:00
Fabian Guerra Soto
1388f3a502 [ios, macos] Fix conditional expression parsing error. (#14181)
Fixed an error that caused conditional expressions to crash when a conditional parameter was also a conditional expression.
2019-03-21 12:36:39 -07:00
Julian Rex
0945165353 [core] Change definition of "complete" so offline packs created before #11055 can complete. (#14188) 2019-03-21 14:04:19 -04:00
Łukasz Paczos
8c87ca2522 [android] changelog for 7.3.0-beta.1 2019-03-20 21:44:13 +01:00
Łukasz Paczos
140eddf868 [android] cache source/layer only when successfully added 2019-03-20 20:46:10 +01:00
Łukasz Paczos
db275e5888 [android] clear the style object when the map is destroyed 2019-03-20 20:46:10 +01:00
Bruno de Oliveira Abinader
d5868d3da8 [core] Remove file source from public Map ctor 2019-03-20 21:30:08 +02:00
Bruno de Oliveira Abinader
8ac73254c1 [darwin] [MGLOfflineStorage mbglFileSource] is now a shared_ptr 2019-03-20 21:30:08 +02:00
tobrun
8b88088316 [android] - add offline troubleshooting link to javadoc of OfflineManager 2019-03-20 19:06:42 +01:00
Fabian Guerra Soto
fc77090fce [ios, macos] Fix format expression parsing. (#14168)
Fixed a parsing issue when a non-constant expression was passed to MGLAttributedExpression.expression property.
2019-03-20 10:49:23 -07:00
tobrun
11cacb3f8c [android] - refactor idling resource from test 2019-03-20 09:16:36 +01:00
Fabian Guerra Soto
174c8fa7e4 [ios, macos] Add text-color support to format expressions. (#14146)
Added the possibility of overriding paint properties inside the format expression.

Added an example of how to create an MGLAttributedExpression object and documented the attributes keys and value types.

Fixed a bug that ignored the font names.
2019-03-19 14:53:35 -07:00
Łukasz Paczos
10e1e63aee [android] update licenses 2019-03-19 20:06:28 +01:00
Łukasz Paczos
eaddcf8bed [android] expose LocationComponent's layer IDs 2019-03-19 18:28:37 +01:00
Łukasz Paczos
10404e29af [android] unit and instrumentation tests code coverage report 2019-03-19 17:59:32 +01:00
Minh Nguyễn
40458177b7 [ios] Deleted unused NSData category 2019-03-18 22:12:43 -07:00
Łukasz Paczos
c2fe532b9b [android] bump telemetry version to 4.3.0 2019-03-18 13:25:26 +01:00
Łukasz Paczos
0f947b912b [android] cache location layer IDs in a set instead of a list 2019-03-18 13:25:01 +01:00
tobrun
ce1a46d645 [android] - remove base idlingResource setup 2019-03-18 12:00:19 +01:00
Fabian Guerra Soto
7939ff213a [ios, macos] Add format expression convenience methods support. (#14094)
Added the ios/macos format expression bindings.

The equivalent is mgl_attributed: or mgl_attributed({}) when making an expression using the expressionForFormat selector.

A new constructor called mgl_expressionForAttributedExpressions:(NSArray<NSExpression*>*)attributedExpressions was added to NSExpression+MGLAdditions category.

Updated the symbol style layer text test to use the bindings.

Updated the Predicates and Expressions.md and For Style Authors.md.ejs template with the bindings.
2019-03-15 16:10:27 -07:00
Łukasz Paczos
f1ac3f29c3 [android] text-color option for formatted sections 2019-03-15 16:17:59 +01:00
Ander Conselvan de Oliveira
5733440747 [core] Group Map LatLngBounds, min and max zoom methods
Group bounds, minimum and maximum zoom related methods together using
the new BoundOptions.

v2: Document that getBounds() initializes all optional fields.
  - Add test for getBounds() on a map with default values.
2019-03-14 18:33:11 +02:00
Ander Conselvan de Oliveira
11de777628 [core] Remove optional from Map::setLatLngBounds()
This is a first step into grouping together bounds related Map methods
into one that takes a "BoundOptions" object. LatLngBounds::unbounded()
replaces an undefined optional<LatLngBounds>.

v2: Document LatLngBounds::unbounded()
2019-03-14 18:33:11 +02:00
tobrun
dba40c64ea [android] - move TextureView to top of list so UiAutomator finds it more quickly 2019-03-14 14:11:22 +01:00
Jordan Kiley
63b55d2847 [ios] Updated podspecs (#14110) 2019-03-13 15:39:19 -07:00
Jordan Kiley
fb0b0d5a2b [ios] Generate iOS code coverage for metrics (#14015) 2019-03-13 12:58:24 -07:00
Konstantin Käfer
979433eddb [build] update Boost to 1.69 and remove RTTI 2019-03-13 20:42:30 +01:00
Łukasz Paczos
0cf1079ca0 [android] changelog for 7.3.0-alpha.2 2019-03-13 19:59:52 +01:00
Łukasz Paczos
b7702995fc [android] when changing the resource path, recreate database instead of the whole FileSource 2019-03-13 18:28:04 +01:00
Łukasz Paczos
3f7b70fdb0 [core] expose an option to change the db file path in runtime 2019-03-13 18:28:04 +01:00
Arne Kaiser
5e58a0d81d [android] Feature: Change path of the resources cache db 2019-03-13 18:28:04 +01:00
Langston Smith
42144ce1dc [android, iOS, macOS] Adding Galician translation from Transifex (#14095)
* [android] adding galician strings

* [ios] adding galician strings

* [ios, macos] Added Galician localization to Xcode projects

* [ios, macos] Converted Galician localization to UTF-8

* [android, ios, macos] Updated changelogs
2019-03-13 09:42:52 -07:00
Langston Smith
44892f0452 [android] Updated Android readme links and writing (#14090) 2019-03-13 09:05:44 -07:00
Bruno de Oliveira Abinader
8cc100bfd5 [core] Get FileSource via UpdateParameters in Renderer::Impl 2019-03-13 17:56:44 +02:00
Ander Conselvan de Oliveira
7d19115720 [core] Don't use exceptions in MapObserver::onDidFailLoadingMap
Using different exception pointers to specify the loading failure makes
an awkward API. Most users rethrow the exception only to figure out what
type of error happened so it can be reported properly. So replace the
exception pointer with a enum an string description of the failure.
2019-03-13 11:58:27 +02:00
Jason Wray
565792606d [ios, build] Remove unnecessary clean step from release packaging 2019-03-12 16:19:32 -07:00
Bruno de Oliveira Abinader
096dea16e3 [node] Change Map/FileSource relationship to composition 2019-03-12 23:52:40 +02:00
Jason Wray
fb1b601038 [darwin] Fix MGLMapView.direction wrapping
Re-adds the 0-to-360° wrapping for MGLMapView.direction. Without this wrapping, we’d get ±180° from core, which results in invalid CLLocationDirection for the negative half of the rotational spectrum.
2019-03-12 14:49:49 -07:00
Łukasz Paczos
103f86c4bc [android] set a blank style when an empty builder is provided 2019-03-12 16:53:19 +01:00
Łukasz Paczos
8ce404e645 [android] explicitly declare MapboxIssueRegistry's lint version 2019-03-12 15:17:22 +01:00