Commit Graph

16768 Commits

Author SHA1 Message Date
Ansis Brammanis
dfca8fb214 [core] fix opacity interpolation for composition expressions (#15738)
port https://github.com/mapbox/mapbox-gl-js/pull/8818
2019-10-02 13:49:33 -04:00
Mikhail Pozdnyakov
90b37927eb [ios][android] Add change log entry 2019-10-02 20:45:46 +03:00
Mikhail Pozdnyakov
b2a8342281 Exclude Source.InvisibleSourcesTileNecessity from sanitizer CI 2019-10-02 20:45:46 +03:00
Mikhail Pozdnyakov
ff6a3ee5b7 [core] Suppress network requests for invisible tiles
If the render source does not need rendering, we set necessity for its tiles to `optional`, and thus suppress network requests on tiles expiration.
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
Jason Wray
b0f3875be2 [docs] Correct license typo in README (#15707) 2019-09-30 09:02:16 -07:00
Mikhail Pozdnyakov
d446b3382b [core] Enable move semantics for StyleProperty 2019-09-27 19:17:25 +03:00
Ander Conselvan de Oliveira
bb9b1ab624 [core] Return enum layer property values as string
The output of Layer::getProperty is a mapbox::base::Value which is
equivalent to JSON. When setting the value of an enum property via JSON
its value would be a string, so it would be natural to return a string
too.

Also, the numbers generated depend on the enum definition. They are not
part of the style spec.
2019-09-27 17:09:45 +03:00
Mikhail Pozdnyakov
d90b2bb6dc [core] Introduce Light::getProperty() 2019-09-27 13:08:53 +03:00
Mikhail Pozdnyakov
5304bbc438 [core] Layer::getProperty supports layout properties 2019-09-27 13:08:53 +03:00
Mikhail Pozdnyakov
f3146e43cd [core] ValueFactory for expression::formatted, other improvements 2019-09-27 13:08:53 +03:00
Mikhail Pozdnyakov
34ab7be225 [core] Layer::getPaintProperty() -> Layer::getProperty() 2019-09-26 15:54:03 +03:00
Mikhail Pozdnyakov
1733e29f0a [core] Separate header for StyleProperty 2019-09-26 15:54:03 +03:00
Mikhail Pozdnyakov
e78c31c4b5 [core] LayerProperty -> StyleProperty 2019-09-26 11:57:39 +03:00
Mikhail Pozdnyakov
b5862c2127 [core] Add Map.UniversalStyleGetter test 2019-09-26 11:57:39 +03:00
Mikhail Pozdnyakov
1d6660b552 [core] Fix clang format errors 2019-09-26 11:57:39 +03:00
Mikhail Pozdnyakov
c2dc873cf9 [core] Introduce Layer::getPaintProperty() generic getter 2019-09-26 11:57:39 +03:00
Mikhail Pozdnyakov
2b834001cc [core] type aliases and conversion traits for mapbox::base::Value 2019-09-26 11:57:39 +03:00
Mikhail Pozdnyakov
73a9d33b29 [build] Bump mapbox-base 2019-09-26 11:57:39 +03: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
Julian Rex
7c2a7a263f [ios] Update podspecs & changelog for v5.4.0 release (#15716) 2019-09-25 16:41:20 -04: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
Thiago Marcos P. Santos
3c23f6f9f7 [core] Fix bugprone-use-after-move
Luckily this is an enum and was being copied.
2019-09-25 18:59:07 +03:00
Thiago Marcos P. Santos
60a3096109 [build] Have the bots running clang-tidy 2019-09-25 18:59:07 +03:00
Thiago Marcos P. Santos
a6c62117f8 [build] Less picky .clant-tidy config
Enabled now:

- bugprone
- clang-analyzer
- google
- modernize
- performance
2019-09-25 18:59:07 +03:00
Thiago Marcos P. Santos
cf95bc2bb2 [build] Disable clang-format on generated code
Nice to have, but would make maintain the templates a lot harder.
2019-09-25 18:59:07 +03:00
Jason Wray
975a013d8f [build] Update CircleCI to Xcode 11 2019-09-24 12:24:46 -07:00
Jason Wray
183ba62b09 [ios, build] Use Ruby 2.6.x for build dependencies on CI 2019-09-24 12:24:46 -07:00
Jason Wray
83a5aae67a [ios, build] Update to jazzy 0.11.1 2019-09-24 12:24:46 -07: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
Mark Grimes
66c1d84890 Add layer_manager.cpp to mbgl-offline on macOS
This is to fix #15358
2019-09-20 17:28:43 +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
Thiago Marcos P. Santos
381dda31b4 [build] Fix builds with -pedantic 2019-09-20 12:58:02 +03:00
Jason Wray
f49f2e506d [ios] Copyedit changelog for ios-5.4.0 2019-09-19 19:27:33 -07:00
m-stephen
8128d709b6 [ios]Add errors reporting (#15391)
* add errors reporting

* [ios] report error if rendering takes > 1 second. (#15633)
2019-09-20 10:14:44 +08:00
Julian Rex
da6a7e9318 [ios] Release ristretto beta.1 prep (#15684)
* [ios] Update podspecs to 5.4.0-beta.1

* [ios] Update change log

* [ios] Added code ticks.
2019-09-19 18:12:44 -04: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
Maksim Skurydzin
c7737fe877 [test] Add unit tests for mbgl::util::Timer covering timer cancellation at/after its expiration (#15621) 2019-09-19 19:55:00 +03:00
Mikhail Pozdnyakov
097cf5fc39 [core] Clang format fix 2019-09-19 14:51:32 +03:00
Mikhail Pozdnyakov
f04efb69c0 [core] Immutable/Mutable pattern for Placement 2019-09-19 14:51:32 +03:00
Mikhail Pozdnyakov
870f306f68 [core] Update buckets in Renderer 2019-09-19 14:51:32 +03:00
Mikhail Pozdnyakov
f997ae00ae [core] Fix Placement constness
Update buckets methods do not mutate placement, placement methods do not mutate buckets.
2019-09-19 14:51:32 +03:00