Commit Graph

14444 Commits

Author SHA1 Message Date
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
Thiago Marcos P. Santos
3122df7e50 [core] Expose a way of flushing the graphics pipeline
Useful for apps before going to background that are
restricted by the OS of performing any operation.
2019-03-20 18:47:15 +02:00
Konstantin Käfer
f86cc81680 [core] move cleanup to gfx::Context 2019-03-20 15:40:47 +01:00
Konstantin Käfer
1e30fdac36 [core] move ProgramMap to within the gl::Program object 2019-03-20 15:40:47 +01:00
Konstantin Käfer
53ab65d811 [core] use constexpr string concatenation for uniform/attribute names 2019-03-20 15:40:47 +01:00
Konstantin Käfer
0ad2375e10 [core] remove a_/u_ prefix from attribute/uniform types 2019-03-20 15:40:47 +01:00
Konstantin Käfer
9ee1de575a [core] expose vertex binding count in gfx::Context 2019-03-20 15:40:47 +01:00
Konstantin Käfer
52cf9a1af3 [core] remove gl/context.hpp from more files, cast where necessary 2019-03-20 15:40:47 +01: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
Jordan Kiley
41b25e2aa2 [build] Add sha to the coverage json (#14145) 2019-03-18 17:53:15 -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
Konstantin Käfer
c8cfdb1ced Merge pull request #14126 from mapbox/gfx-refactor-4
Graphics refactor #4
2019-03-15 20:31:12 +01:00
tobrun
62695c5695 [android] - older device for running gnustl instrumentation tests on firebase 2019-03-15 16:48:45 +01:00
Łukasz Paczos
f1ac3f29c3 [android] text-color option for formatted sections 2019-03-15 16:17:59 +01:00
Alexander Shalamov
69e11155c8 [core] Forward evaluation context directly to evaluated property
So that default value owned by the FormatSectionOverride, can be
evaluated based on required context parameters.
2019-03-15 10:37:45 +02: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
Ander Conselvan de Oliveira
a73cc9d8e3 [core] Remove support for setting minimum and maximum pitch
Support for limiting pitch was introduced in commit c4fc89977b ([core]
Added {set,get}{Min,Max}Pitch) in 2017 but was never exposed by the
platform SDKs. Simplify the Map interface by removing this unused
feature.

v2: Add util::PITCH_MIN
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
Alexander Shalamov
40cfffe9e9 [build] Fix for ci.template cloudformation 2019-03-14 09:52:51 +02:00
Jordan Kiley
63b55d2847 [ios] Updated podspecs (#14110) 2019-03-13 15:39:19 -07:00
Nadia Barbosa
c16bfe52e2 [android, ios] Fix issue in binary size script 2019-03-13 14:53:53 -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
e9805b60ee [android] rearrange execution time of the binary size metric collection script 2019-03-13 19:59:52 +01:00
Łukasz Paczos
0cf1079ca0 [android] changelog for 7.3.0-alpha.2 2019-03-13 19:59:52 +01:00
Alexander Shalamov
c399c459c2 [core] Remove fileSource from render.benchmark.cpp
There were two PRs that are in mergeable state, yet, had dependencies
between each other, therefore, introduced build break on master for
benchmark target.
2019-03-13 19:45:16 +02: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
Sudarsana Babu Nagineni
b17c7e76fe [scripts] Fix local code coverage script
Fix the code cov script for coverage data collection
and report generation.
2019-03-13 18:30:28 +02: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
Bruno de Oliveira Abinader
1b39f456fd [core] Lazy-load {Image,Glyph}Manager on Renderer::Impl 2019-03-13 17:56:44 +02:00
Alexander Shalamov
8be135231d [core] Add possibility of overriding paint properties inside format expression #14062
* [core] Add format override expression and formatted section to evaluation context

* [core] Add textColor to TaggedString's formatted section

* [core] Add FormatSectionOverrides and introduce overridable properties

* [core] Populate symbol layer paint properties for text sections

* [core] Add benchmark for style that uses text-color override

* [core] Add unit test for FormatOverrideExpression

* [core] Add unit test for FormatSectionOverrides
2019-03-13 17:14:53 +02:00
Ander Conselvan de Oliveira
8a51362bcc [build] Upload documentation coverage metrics to S3 2019-03-13 15:06:56 +02:00
Ander Conselvan de Oliveira
7bac0c7cba [build] Check documentation coverage on CI
Add a CI target that checks documentation coverage and reports back to
github. While at it, change the output of doxy-coverage to a json file
so it is easy to consume.
2019-03-13 15:06:56 +02:00
Ander Conselvan de Oliveira
3c4d41559a [build] Ignore private symbols when calculating documentation coverage 2019-03-13 15:06:56 +02:00
Ander Conselvan de Oliveira
8afb24b539 [build] A build target to check for doxygen documentation coverage
Add a cmake target that builds doxygen documentation and reports on
coverage using doxy-coverage. Script was copied from:

29a0bbf43b
2019-03-13 15:06:56 +02:00