Commit Graph

7294 Commits

Author SHA1 Message Date
Langston Smith
c35f64a2b5 [mobile] README update about mobile work being moved to new repos (#15958) 2019-11-27 07:18:51 -08:00
Juha Alanen
a1243ac1ea [ios, macos] Changelog entry for network request priority change (#15950) 2019-11-21 14:39:47 +02:00
Juha Alanen
bb44ad232b [android] Changelog entry for network request priority change (#15950) 2019-11-21 14:39:47 +02:00
Juha Alanen
bdd7e53078 [core] Set the priority of online requests for existing resource to low 2019-11-21 14:39:47 +02:00
Juha Alanen
69d980cdc1 [core] Add new method to DefaultFileSource
Add setMaximumConcurrentRequests() method for setting it on the
OnlineFileSource.
2019-11-21 14:39:47 +02:00
Juha Alanen
451e6d40fa [core] Notify requests about network reachability only when coming back online 2019-11-21 14:39:47 +02:00
Julian Rex
21af0ff487 [ios] Refactor host checks (#15948) 2019-11-20 12:44:39 -05:00
zmiao
1b58e87f15 [render-test] Wrap test data inside RenderTestRunner App + Add a new test app (#15887)
* [render-test] Wrap test resources inside app

* [render-test] Add test app

* fix test app failure

* [render-test]add callback + add javaObjectWrapper
2019-11-19 20:45:30 +02:00
Mikhail Pozdnyakov
abdd32d11f [ios][android] Change log entries for #15941 2019-11-19 16:08:35 +02:00
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
Mikhail Pozdnyakov
f567a79dd8 [core] Extend DefaultFileSource API
Add `packDatabase()` method and `bool pack` argument to the `deleteOfflineRegion()` method.
2019-11-12 17:24:50 +02:00
Mikhail Pozdnyakov
615e095ed6 [core] OfflineDatabase pack API
- introduce `OfflineDatabase::pack()` standing for incremental vacuum
- make pack optional at offline region deletion
- update `OfflineDatabase.DeleteRegion` test accordingly to the items above
2019-11-12 17:24:50 +02:00
Dane Springmeyer
49456e3fc1 remove duplicate formatNumber (#15908) 2019-11-12 06:47:43 -08: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
Thiago Marcos P. Santos
bd5397a886 [qt] Fix code formatting 2019-11-11 23:10:10 +02:00
Tadej Novak
910335c51f [qt] Make image source url update possible 2019-11-11 23:10:10 +02:00
Alexander Shalamov
bcbaa3585b [darwin] Update changelog 2019-11-11 18:20:01 +02:00
Alexander Shalamov
5bd3b51a81 [android] Update changelog 2019-11-11 18:20:01 +02:00
Alexander Shalamov
64b1662e55 [node] Update changelog 2019-11-11 18:20:01 +02:00
Alexander Shalamov
cd1a46785e [darwin] Fix image roundrip conversion 2019-11-11 18:20:01 +02:00
Alexander Shalamov
9fc9cc30e8 [darwin] Add conversion for resolvedImage 2019-11-11 18:20:01 +02:00
Alexander Shalamov
3f7ed99d89 [darwin] Update image expression evaluated type name 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
Alexander Shalamov
8bbc7d9290 [node] Add support for Image expression 2019-11-11 18:20:01 +02:00
Alexander Shalamov
c6f3cc8b60 [core] Implement image expression (#15877)
* [core] Bump gl-js version
* [core] Implement image expression
* [core] Use new image expression
* [core] Coerce image expression to / from string
* [core] Serialize evaluated image
* [core] Pass available images to layout
* [core] Pass images to evaluation context
* [core] Set available flag value based on image availability
* [core] Allow image coercion to boolean to indicate image availability
* [core] Coalesce image expression
* [core] Add image expression to next build system
* [core] Align serialization format and evaluated type with gl-js
* [core] Add images to expression evaluation method
* [core] Add support for Image expression to expression test runner
* [core] Unskip image expression tests
* [core] Update unit tests
* [core] Use image expression in annotation manager
* [core] Add string to ImageExpression conversion
* [core] Add image expression to expression dsl
* [core] Convert tokens for implicitly created Image literal
* [core] Fix clang format
* [core] Split generated style code lines that are over 120 characters
* [core] Add unit test for image expression equality
* [core] Add image property expression evaluation unit test
* [core] Unskip image expression render test
* [core] Skip 'in' expression tests
* [core] Ignore fill-pattern/update-feature-state render test
* [core] Rename Image::serialize to Image::toValue
2019-11-11 18:20:01 +02:00
Mikhail Pozdnyakov
e1556fc539 [core] Improve OfflineDatabase error handling
- fixes missing exception handlers (e.g. runtim error from the `initialize()` method)
- introduces generic exception handling mechanism to reduce the repeated code
2019-11-11 15:33:55 +02:00
Mikko Pulkki
4176b28a77 [Linux] Remove CA certificate bundle 2019-11-11 10:11:49 +02:00
Mikhail Pozdnyakov
55e18a6f81 [core] Use expected.hpp from mapbox-base 2019-11-08 11:27:30 +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
Mikko Pulkki
a7a7e8cbe2 [render-test] Implement gfx probe for tracking gpu resources 2019-10-30 14:32:27 +02:00
Mikko Pulkki
fb062bb23e [render-test] Add resource usage tracking to gfx context 2019-10-30 14:32:27 +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
Mikhail Pozdnyakov
ab603c5fed [core] Enable incremental vacuum for Offline DB
Thus we avoid re-creating the whole database and keeping the backup file as it happens on calling VACUUM.
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
zmiao
e829d1ae6f [test-runner] make render-test a shared lib (#15816)
* [test-runner] make render-test a shared lib

[test-runner] nit

[test-runner] nit again

* [test-runner] Remove redundant linked file in cmake
2019-10-15 19:16:32 +03:00
Konstantin Käfer
2187980a87 [core] fix icon-text-fit
This fixes rendering by account for the 1px texture padding around icons that were stretched with icon-text-fit. We've added the 1px padding before, but didn't scale it accordingly when we are resizing the icon when it is stretched to fit the text. Adjusts the code to match the logic in GL JS.
2019-10-14 18:46:12 +02:00