Commit Graph

13767 Commits

Author SHA1 Message Date
Konstantin Käfer
a4b814dd16 [build] don't explicitly add -lstdc++ for Android 😱 2019-01-21 17:00:31 +01:00
Konstantin Käfer
98cc7c6c5f [build] upgrade minimum CMake version 2019-01-21 17:00:31 +01:00
tobrun
4ddce82739 [android] - ignore lint complaints about array min size 2019-01-21 17:00:31 +01:00
tobrun
488014501d [android] - update tooling of project and upstream dependencies 2019-01-21 17:00:31 +01:00
Konstantin Käfer
d53c7860cd [build] use optional polyfill on Android, and upgrade to NDK r19
<experimental/optional> is not available anymore in newer STL versions, e.g. according to libc++'s TS deprecation policy: https://libcxx.llvm.org/TS_deprecation.html
2019-01-21 17:00:31 +01:00
Tobrun
d0e7326e5d [android] - update changelog for v7.1.0-alpha.3 2019-01-21 15:55:55 +01:00
Łukasz Paczos
531b41ada7 [android] adjust maven pom file with vendorized libraries versions 2019-01-21 13:41:11 +01:00
Tobrun
c356675349 [android] - update mock definition of LocationLayerControllerTest, update mockito 2019-01-21 10:06:58 +01:00
tobrun
3691a2b25e [android] - add library loading to peer objects 2019-01-21 10:06:58 +01:00
Mikhail Pozdnyakov
b83030aa9b [core] Remove tile sorting from the clip and mask algorithms
The tile sorting can be now removed from the algorithms, which
calculate tile mask and clip ids, because their client code
provides tiles being already sorted (in `TilePyramid`).

This patch brings significant improvements to the Tile-related
performance tests results, for example the `TileMaskGeneration`
benchmark test runs 33 times faster with these changes applied.
2019-01-18 14:35:15 +02:00
Antonio Zugaldia
d5659aa664 [core,ios,android] Update feedback URL in code and tests (#13710)
* [core,ios] rename all occurrence of www.mapbox.com/map-feedback to apps.mapbox.com/feedback

* [ios,android] rename all occurrence of www.mapbox.com/feedback to apps.mapbox.com/feedback
2019-01-17 17:00:56 -08:00
tobrun
e0fc92ea0b Revert "[android] - add library loading to peer objects"
This reverts commit 16718b0df7.
2019-01-17 19:23:50 +01:00
Michael Muesch
24468956fc Ability to disable any layer using pre-processing flags. 2019-01-17 18:56:58 +02:00
Łukasz Paczos
dd3027c9b8 [android] re-apply location component's "layer-below" when changed 2019-01-17 14:36:52 +01:00
tobrun
f0392e0471 [android] - make all library loader load the native library only once 2019-01-17 13:31:45 +01:00
tobrun
16718b0df7 [android] - add library loading to peer objects 2019-01-17 13:31:45 +01:00
tobrun
9a76621d90 [android] - avoid printing warning on recursively loading shared object 2019-01-17 13:31:45 +01:00
Michael Muesch
1cdf619f03 Added MBGL_ before each of the flags 2019-01-17 14:02:12 +02:00
Michael Muesch
2a17d368ff [Android] Allow offline and snapshotter to be disabled. 2019-01-17 14:02:12 +02:00
tobrun
6e856ebb67 [android] - avoid leaking compassView context through animator 2019-01-17 12:54:20 +01:00
Fabian Guerra Soto
69eb856f9a [ios] Podspec bump to 4.8.0-alpha.2. (#13747) 2019-01-16 14:50:11 -08:00
Julian Rex
49ee543e72 [macos] Fixes MGLMapView.visibleAnnotations (#13745) 2019-01-16 17:31:59 -05:00
Randall Lee
77e7bd93f0 [iOS] Update Telemetry submodule to v0.8.1 (#13746)
Includes some minor internal bug fixes -- shouldn't require changelog.
2019-01-16 15:38:26 -05:00
Mikhail Pozdnyakov
ac3d59862a [core] TilePyramid has sorted render tiles
Thus we obviate unneeded extra sorting of render tiles at each render layer.
2019-01-16 16:16:18 +02:00
tobrun
e0aeeba10f [android] - allow reset fps listener, update debug mode activity with
menu options
2019-01-16 14:07:28 +01:00
tobrun
d5231b303b [android] - update changelog for v7.1.0-alpha.2 2019-01-16 12:39:17 +01:00
Łukasz Paczos
8974b7c815 [android] do not invoke #onCancel when animation is scheduled from #onFinish block 2019-01-16 11:42:24 +01:00
Łukasz Paczos
49ab62968a [android] updated licenses after Android vendorization 2019-01-16 11:06:48 +01:00
Mikhail Pozdnyakov
577e6ee98a [core] Simplify mbgl::Immutable 2019-01-15 22:29:08 +02:00
tobrun
9ba0737e6a [android] - expose query feature extensions 2019-01-15 17:15:23 +01:00
tobrun
59cfce3084 [android] - makes improve map url backwards compatible 2019-01-15 16:06:12 +01:00
tobrun
5977d7b86a [android] - show snapshot attribution 2019-01-15 16:06:12 +01:00
Łukasz Paczos
52bc11892c [android] change vendor modules update script 2019-01-15 14:21:26 +01:00
Łukasz Paczos
405aef0b47 [android] mapbox-events-android vendor 2019-01-15 14:21:26 +01:00
Łukasz Paczos
0cc928861a [android] mapbox-java vendor 2019-01-15 14:21:26 +01:00
Łukasz Paczos
d617b87b4d [android] mapbox-gestures-android vendor 2019-01-15 14:21:26 +01:00
tobrun
e6e07a6809 [android] - optimise interface definition 2019-01-15 13:33:28 +01:00
tobrun
99e369f45e [android] - introduce NativeMap abstraction, remove static code block removal utility 2019-01-15 13:33:28 +01:00
Minh Nguyễn
6ca2f6c97f [ios] Display map on connected displays
Whenever an external display is connected, show a map synchronized with the main map on the main display.
2019-01-14 15:07:43 -08:00
Minh Nguyễn
6960cb13f7 [ios] Prevent map view on external display from sleeping in background
When the application enters background mode, only put the map view to sleep if it’s installed on the main screen or hasn’t been added to any window. Otherwise, if it’s targeting an external display, such as via AirPlay or CarPlay, allow the map view to continue rendering.
2019-01-14 15:07:43 -08:00
Julian Rex
c8c664fbf3 [ios, macos] Support getLeaves (and related) clustering methods (#12952) following feature extension API (#13382) 2019-01-14 15:17:13 -05:00
Kevin Li
2342b8ee93 [android] fix debug activity not show fps (#13726) 2019-01-14 09:54:16 -08:00
Osana Babayan
7ec80be5da [android] updated make icon id (#13729) 2019-01-14 11:38:45 -05:00
Alexander Shalamov
ab160ac321 [core] Notify requests about network reachability in priority order 2019-01-14 17:34:37 +02:00
Mikhail Pozdnyakov
12295ef335 [core] SymbolBucket: use single map for paint properties data
Obviates unnecessary lookups, improves readability.
2019-01-14 12:53:44 +02:00
Tobrun
4db55c3ace [android] - avoid null pointer when quickly closing activity for attribution click handling 2019-01-11 19:55:16 +01:00
Konstantin Käfer
1185fe0d31 [core] return constexpr strings from functions to avoid ODR compile failures 2019-01-11 16:05:17 +01:00
Mikhail Pozdnyakov
d37918c169 [core] Split layer type specific code in mbgl::Programs
Progams code for a certain layer type is encapsulted within
a dedicated `<layer type>Programs` class, inherited from
the generic base `LayerTypePrograms` class.

`mbgl::Programs::get<layer type>Programs()` lazily initializes the
layer type-specific programs code using pointer to the base class,
which allows LTO to remove this code from binaries (if the corresponding
`get<layer type>Programs()` method can never be invoked).
2019-01-11 16:43:52 +02:00
Mikhail Pozdnyakov
2bdab82ded [core] shader program must always match bucket in render symbol layer
Before this change, `RenderSymbolLayer` with updated style was trying to render
symbols using the previous bucket (with paint property binders that matched a previous program).

Now, symbol bucket caches the latest corresponding paint properties (caching is happening on
complete tiles only). As a result, `RenderSymbolLayer` always picks the shader program and
its parameters in sync with the obtained bucket.
2019-01-11 11:30:04 +02:00
Alexander Shalamov
2da9d483ac [android] Implement google benchmark runner for Android platform 2019-01-11 09:49:36 +02:00