Commit Graph

3023 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
f73467786d [build] Enable more warnings on the next build
Make compilation more pedantic.
2019-11-15 23:38:47 +02:00
Ander Conselvan de Oliveira
4c1d03c257 [core] Fix MapSnapshotter build failure on Windows
MSVC implementation of std::promise is buggy and only works with types
that can be default-constructed. To avoid a compilation failure in the
instantiation of ask() inside MapSnapshotter::getRegion(), which creates
a std::promise<LanLngBounds>, make LatLngBounds' default constructor
public.
2019-11-13 13:31:01 +02:00
Mikhail Pozdnyakov
f12567ef8c [android] Add change log entry 2019-11-12 17:24:50 +02:00
Mikhail Pozdnyakov
ed5ed8f083 [android] Add OfflineRegion.deleteAndSkipPackDatabase 2019-11-12 17:24:50 +02:00
Mikhail Pozdnyakov
8451633c17 [android] Consolidate exception handling code in OfflineManager 2019-11-12 17:24:50 +02:00
Mikhail Pozdnyakov
2edbe916ab [android] Add OfflineManager.packDatabase() API 2019-11-12 17:24:50 +02:00
Alexander Shalamov
85c93e7e83 [android] Update unit tests that use resolvedImage type 2019-11-12 16:41:56 +02:00
Mikhail Pozdnyakov
2246cf7cc7 [ios][android] Add change log entries 2019-11-12 15:12:31 +02:00
Alexander Shalamov
5bd3b51a81 [android] Update changelog 2019-11-11 18:20:01 +02:00
Alexander Shalamov
461460fc87 [android] Placeholders for conversion from:to Image 2019-11-11 18:20:01 +02:00
Alexander Shalamov
a86857cb36 [android] Update image expression evaluated type name 2019-11-11 18:20:01 +02:00
Mikhail Pozdnyakov
4964f7ed00 [ios][android] Add change log entries 2019-11-05 11:45:38 +02:00
Mikhail Pozdnyakov
5b38cfee18 [android] Add change log entry 2019-10-31 10:24:55 +02:00
Mikhail Pozdnyakov
4afb4438eb [android] Convert GeoJSON features to tiles in background
Composing tiles from the GeoJSON features is an expensive
operation that might block UI thread on updating the `GeoJsonSource`
with the new data.

This change moves tile composing to the background thread and thus
unblocks the UI thread.
2019-10-31 10:24:55 +02:00
zmiao
c8576e089f [render-test] Add manifest parser for render-test-runner (#15861)
* [render-test] Add manifest parser for render-test-runner

* [render-test] Refactory manifest parser

* [render-test] Parse full manifest file through CLI

* [render-test] Add linux probe manifest
2019-10-29 20:59:29 +02:00
Juha Alanen
360b8b4247 [core,android,darwin,qt] Add fields related to feature-state
Move the fields from geometry.hpp/feature.hpp as they are not
part of the GeoJSON specification.
2019-10-28 16:46:55 +02:00
Mikhail Pozdnyakov
bdbb136612 [ios][android][core] Added change log entries and more code comments 2019-10-28 13:02:32 +02:00
zmiao
068befa9df [test-runner] Run render test runner as a NativeActivity app on android device (#15827)
* [test-runner]Add android render-test-runner NativeActivity app

* [test-runner] Fix cmake for CI build failure

* [test-runner] Update folder location, change app configureation

* [test-runner] Add running instruction
2019-10-22 16:32:21 +03:00
Mikhail Pozdnyakov
2cdc09dbb1 [ios][android] Add change log entries 2019-10-22 15:51:16 +03:00
Mikko Pulkki
0ca96fd8a4 [render-test] Implement fps benchmarking tests (#15803) 2019-10-22 12:13:55 +03:00
Alexander Shalamov
a8558379db [android] Check flag before runnable task invocation 2019-10-16 15:37:10 +03:00
Konstantin Käfer
8206ce0e02 [core] map image type to string until we have a dedicated implementation 2019-10-14 18:46:12 +02:00
tobrun
1dc01f6644 [android] update changelog for 8.5.0-alpha.2 2019-10-10 19:19:14 +02:00
Łukasz Paczos
3e06965f33 [android] - manually write and read camera's padding array to parcel
This avoids relying on Parcel's util methods that do not handle null arrays gracefully.
2019-10-10 17:52:29 +02:00
Mikhail Pozdnyakov
e909997a31 [android][ios] Change log entries 2019-10-10 15:39:34 +03:00
Mikhail Pozdnyakov
f62e5b00c9 [core] Introduce Scheduler::makeWeakPtr() 2019-10-09 23:46:11 +03:00
Peng Liu
7139abdbf5 [android] Expose pre-fetching zoom delta. (#15769)
* [android] Expose pre-fetching zoom delta.

* [android] Fix Clang format.

* [android] Add MapboxMap unit test.

* [android] Add prefetching zoom delta into MapboxMapOptions.

* [android] Deprecate setPrefetchesTiles to migrate to setPrefetchZoomDelta.

* [android] Deprecate getPrefetchesTiles() and migrate to setPrefetchZoomDelta().

* [android] Add unit test to NativeMapViewTest.

* [android] Add IntRange annotation to getPrefetchZoomDelta.
2019-10-08 16:21:46 +03:00
tobrun
910e34b855 [android] keep Mapbox.java when obfuscating code to allow look up from JNI 2019-10-04 17:18:37 +02:00
Mikhail Pozdnyakov
bef635765a [core] Decouple Scheduler interface from actor model
So that it is possible to schedule normal `std::function` and use `mapbox::base::WeakPtr`.
2019-10-04 17:42:21 +03:00
Alexander Shalamov
198e345339 [android] Check if Mapbox instance exists before creating default file source
This check is needed for mbgl-benchmark target, as it does not require Mapbox
instance, nor Android asset manager.
2019-10-04 13:18:23 +03:00
Mikhail Pozdnyakov
946b9d2281 [ios][android] Add change log entries 2019-10-04 13:16:54 +03:00
Igor Tarasov
10c14bee45 [android] - changelog for 8.5.0-alpha.1 (#15753)
* [android] Update changelog for v8.5.0-alpha.1
2019-10-03 17:00:27 +03:00
Łukasz Paczos
7475247782 [android] - remove projected meters per pixel and pixel ratio relation
The projected meters per pixel calculation is not dependent on the pixel ratio but rather the tile size, therefore, the division when fetching the value is not necessary.
2019-10-03 11:11:05 +02:00
Mikhail Pozdnyakov
90b37927eb [ios][android] Add change log entry 2019-10-02 20:45:46 +03:00
Łukasz Paczos
6965fc3100 [android] - changelog for v8.3.2 2019-10-01 12:24:22 +02:00
Alexander Shalamov
18dcf38a7a [android] Remove usage of ResourceOptions::withPlatformContext 2019-09-26 11:37:50 +03:00
Alexander Shalamov
e5cdc4ecf3 [core][android][darwin] Move number format to i18n 2019-09-26 10:55:47 +03:00
Alexander Shalamov
9c8295c6a6 [core][android][darwin] Move platform specific Collator impls from expression
Platform specific Collator implementations should not be part of an expression APIs.
2019-09-26 10:55:47 +03:00
Alexander Shalamov
30ffbe9b8d [core][android] Remove unaccent from platform interfaces
The unaccent is used only within collator, thus, there is no
need to have separate platform interface for it.
2019-09-26 10:55:47 +03:00
Langston Smith
fb2413186c [android] Updated Android changelog for 8.4.0 stable release (ristretto) (#15713) 2019-09-25 09:42:08 -07:00
Thiago Marcos P. Santos
c7bbd5bbef [core] Fix performance-move-const-arg 2019-09-25 18:59:07 +03:00
Langston Smith
b51dabe8aa [android] Bumped Java SDK dependency to stable 4.9.0 (#15700) 2019-09-24 11:26:53 -07:00
tobrun
06e34ef358 [android] update gitignore to not track .cxx directories 2019-09-24 19:14:56 +02:00
tobrun
3be974cbf9 [android] update snapshot version for release-sangria 2019-09-24 19:14:41 +02:00
Peng Liu
426da3a6af [android] Fix the crash when CameraPosition padding is set. (#15699)
* [android] Add test branch, navigate to Map Snapshotter activity to reproduce the bug.

* [android] Fix the crash when camera position padding is set.
2019-09-23 19:11:00 +03:00
Peng Liu
29dd824e3b [android] Migrate Android SDK to GL JS–powered feedback form (#15623)
* [android] Add debug info.

* [android] Generate feedback url.

* [android] Add unit test for buildMapFeedbackMapUrl.

* [android] Remove debug logging.

* [android] Add github issue link to the TODO.

* [android] Change getPackageName to application context.
2019-09-23 14:54:57 +03:00
Thiago Marcos P. Santos
3888af2460 [build] Move compression to platform
It depends on platform specific compression library.
2019-09-20 15:27:52 +03:00
Langston Smith
1cb97afbcf [android] Updated Android changelog for 8.4.0-beta.1 ristretto release (#15682) 2019-09-19 13:25:07 -07:00
Langston Smith
996b020bee [android] Updated changelog for 8.3.1 patch release-queso (#15664) 2019-09-18 17:18:53 -07:00
Mikhail Pozdnyakov
5abb4aebc7 [ios][Android] Add a change log entry 2019-09-18 16:21:59 +03:00