Commit Graph

18056 Commits

Author SHA1 Message Date
Łukasz Paczos
e491d3c9ec update license file 2020-04-21 14:36:13 +02:00
Łukasz Paczos
1c88a2261f bump gl-native to 1.6.0-rc.1 2020-04-21 14:36:13 +02:00
Łukasz Paczos
7364dd0282 LocationIndicatorLayer tests 2020-04-21 14:36:13 +02:00
Łukasz Paczos
dbaad6312b hide the LocationIndicatorLayer impl 2020-04-21 14:36:13 +02:00
Łukasz Paczos
6bb456882a expose LocationIndicatorLayer and an alternative rendering mode based on it 2020-04-21 14:36:13 +02:00
Juha Alanen
6fa9eda136 [benchmark] Increase threshold to 15% 2020-04-21 11:04:04 +03:00
Juha Alanen
4be8c1ac34 [build] Increase the timeout for Android and iOS benchmark runners 2020-04-21 11:04:04 +03:00
Minh Nguyễn
af048481b1 [macos] Fixed minimum deployment target 2020-04-20 19:06:12 -07:00
Mikhail Pozdnyakov
f513dc915b Add change log entry 2020-04-20 21:54:31 +03:00
Mikhail Pozdnyakov
6857355932 Add Map.SourceMinimumUpdateIntervalOverride unit test 2020-04-20 21:54:31 +03:00
Mikhail Pozdnyakov
f41992819d Add Source.SourceMinimumUpdateInterval unit test 2020-04-20 21:54:31 +03:00
Mikhail Pozdnyakov
ac6c5d9ce0 [core] Tile pyramid passes minimum update interval to tiles 2020-04-20 21:54:31 +03:00
Mikhail Pozdnyakov
183a634b62 [core] TilePyramid::update accepts source impl 2020-04-20 21:54:31 +03:00
Mikhail Pozdnyakov
9a698fe3b1 [core] Introduce Source::setMinimumTileUpdateInterval API
The `Source::setMinimumTileUpdateInterval()` method sets the minimum tile update interval, which is used to throttle the tile update network requests.

Default value is `Duration::zero()`.
2020-04-20 21:54:31 +03:00
Mikhail Pozdnyakov
3c6ccfbb5d [core] Introduce Tile::setMinimumUpdateInterval() 2020-04-20 21:54:31 +03:00
Mikhail Pozdnyakov
ce11fc6cfe Add OnlineFileSource.RespectMinimumUpdateInterval unit test 2020-04-20 21:54:31 +03:00
Mikhail Pozdnyakov
64cbc9911d [core] Introduce Resource::minimumUpdateInterval
Introduce `Resource::minimumUpdateInterval` and consider it in the online file source.

The `minimumUpdateInterval` is used to throttle the requests, which were initiated due to resource expiration.
2020-04-20 21:54:31 +03:00
Thiago Marcos P. Santos
ee1d700a9b [core] Add platform abstractions for utils::now()
Some platforms might require special permissions or custom APIs
to access the current time of the day.
2020-04-20 19:03:46 +03:00
Gali Nelle
71ce52d35f Update changelog for the maps-1.6.0-rc.1 release 2020-04-20 17:03:16 +03:00
Gali Nelle
90dcc2c5d1 Add change log entry 2020-04-20 17:03:16 +03:00
Bruno de Oliveira Abinader
f856396131 [core] Fix -Werror={pessimizing,redundant}-move from GCC 9 2020-04-20 14:37:24 +03:00
Gali Nelle
ad543e4355 Add a name to CustomLayer LayerTypeInfo
This to prevent confusion and enable proper error logging when
registering layers with missing name in LayerTypeInfo where the
name should instead be present.
2020-04-20 14:22:08 +03:00
Alexander Shalamov
d7161fca1f Add bindings for max overscale factor for parent tiles (#299) 2020-04-20 11:16:59 +03:00
Gali Nelle
9d23917de1 Add missing cast for unsigned long to int conversion 2020-04-20 10:22:29 +03:00
Thiago Marcos P. Santos
61b43cdedc [build] Enable clang-analyzer checks 2020-04-17 23:48:21 +03:00
Thiago Marcos P. Santos
8fb3ea0b53 [core] Fix clang-analyzer-optin.cplusplus.VirtualCall
Detected by clang-tidy-8.
2020-04-17 23:48:21 +03:00
Thiago Marcos P. Santos
f82e375bc7 [core] Fix android-cloexec-fopen warning
Detected by clang-tidy-8.
2020-04-17 23:48:21 +03:00
Gali Nelle
fea8a83e7f Introduce a mean to add render features in layers with no sources
This change also uses the support in the LocationIndicator layer, to
return a point feature when queried in correspondence of the location
indicator.
2020-04-17 22:26:32 +03:00
Thiago Marcos P. Santos
69b7b10776 Bump Mapbox GL Native
mapbox-gl-native @ c4b061bd95
2020-04-17 18:36:19 +03:00
Thiago Marcos P. Santos
c4b061bd95 [build] Remove glfw submodule
We use it from the system.
2020-04-17 17:14:55 +03:00
Thiago Marcos P. Santos
75475cfdbd [render-test] Fix logging
Was broken after logging got moved to its own thread.
2020-04-17 17:14:37 +03:00
Thiago Marcos P. Santos
b190e12f5b [metrics] Ignore location indicator on iOS until we move to gfx::
After that, it will be more portable.
2020-04-17 17:09:16 +03:00
Gali Nelle
cbb3a56c2a Use unique_ptr for RenderLocationIndicatorImpl 2020-04-17 16:52:56 +03:00
Luke Seelenbinder
efe604c392 Better structure fix. 2020-04-17 16:50:11 +03:00
Luke Seelenbinder
40cfb77b7d Fix segfault resulting from an invalid geometry. 2020-04-17 16:50:11 +03:00
Thiago Marcos P. Santos
0d0ae229eb [glfw] Fix clang-10 build
Implicit conversion from int to float.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
c570c7322d [node] Fix clang-tidy errors on the Node bindings headers
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
ea2477f2ea [core] Fix performance-no-automatic-move (bonus)
As reported by clang-tidy-10. We don't run clang-tidy-10 yet. We
should probably consider moving the bots at some point so errors
like this won't return.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
cc8b0e1746 [core] Fix performance-noexcept-move-constructor in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
b49517b737 [core] Fix performance-unnecessary-value-param errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
542c11ae63 [core] Fix modernize-use-equals-default errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
7751e4be76 [core] Fix google-default-arguments errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
c92be2965c [core] Fix misc-unconventional-assign-operator errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
ed99a7781a [core] Fix google-build-namespaces errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
63ef5298cd [core] Fix modernize-use-override errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
47b8fc703b [core] Fix readability-container-size-empty errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
6559fa82a7 [core] Fix readability-redundant-smartptr-get errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
a1e5bffa90 [core] Fix performance-type-promotion-in-math-fn errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
e688a847a2 [core] Fix readability-redundant-declaration errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
2cd06fb0e3 [core] Fix readability-const-return-type errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00