Commit Graph

14063 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
2d371a3860 [build] correct the code_coverage time to follow ISO 8601 2019-03-20 20:55:22 +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
d1762d7111 [core] Cleanup Map::Impl 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
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