Commit Graph

10522 Commits

Author SHA1 Message Date
John Firebaugh
3790caafa3 [core] Factor timePoint initialization 2017-05-03 11:20:01 -07:00
John Firebaugh
88093bd708 [core] Calculate hasPendingTransitions functionally rather than statefully 2017-05-03 10:41:04 -07:00
John Firebaugh
d5f4d0f05f [core] Move render-related sources out of style directory/namespace
Moves the following to the renderer directory and out of the style namespace:

* CascadeParameters
* PropertyEvaluationParameters
* UpdateParameters
* PropertyEvaluator
* DataDrivenPropertyEvaluator
* CrossFadedPropertyEvaluator
* PaintPropertyBinder
* PaintProperyStatistics
* PossiblyEvaluatedPropertyValue
* TransitioningLight
* EvaluatedLight
2017-05-03 08:30:17 -07:00
John Firebaugh
6c7730ee7c [core] No need to Update::Classes after removing a layer 2017-05-03 08:30:02 -07:00
John Firebaugh
b8b9978b69 [core] No need to manually set Update::Classes flag after annotation update
Since the advent of the runtime styling APIs, the APIs used by AnnotationManager::updateStyle will automatically set this flag as needed.
2017-05-03 08:30:02 -07:00
John Firebaugh
1e26d99e1e [core] Remove forced style cascade
This should happen automatically during rendering. After removing, I can no longer replicate the original issue (#1889).
2017-05-03 08:29:46 -07:00
Tobrun
ab20413edf [android] - add 3D buildings example (#8845)
[android] - add support for filter for fillextrusionlayer.
2017-05-03 08:59:55 +02:00
John Firebaugh
e9872b4ed0 Revert "[node] Temporary: exit(0) on exception in Painter::render"
This reverts commit f0d4411871.
2017-05-02 16:13:21 -07:00
Jason Wray
fd344aaa14 [ios] Bump podspecs for v3.6.0-alpha.1 2017-05-02 17:22:59 -04:00
Justin R. Miller
e5ae80ca96 [ios] properly show attribution in modal hierarchies (#8837)
fixes #8782
2017-05-02 14:07:57 -07:00
Asheem Mamoowala
5c52401d55 [core] Make Map.addImage tests pass (#8843)
Fix Node tests suite implementation to parse pixelRatio from style json
Premultiply images in the node binding before sending to mbgl core
2017-05-02 09:54:06 -07:00
John Firebaugh
3f0c89d633 [core] Refactor Source::*Impls into RenderSources and TilePyramid 2017-05-02 08:45:09 -07:00
John Firebaugh
197751bace [core] Load source TileJSON immediately
This reverses #3095. Rationale:

* We're now exposing source attributes as a public API. Making those attributes unavailable at certain times complicates that API.
* We're preparing to split RenderSource out of Source. Removing this removes a point of coupling between the two.
2017-05-02 08:45:09 -07:00
John Firebaugh
c2b00378b7 [all] Push querySourceFeatures back out to Map
Once Source and RendererSource are split, Source will no longer have access to tiles.
2017-05-02 08:45:09 -07:00
Tobrun
a235032098 [android] - CHANGELOG.md update for release-v5.1.0-beta.1 (#8857) 2017-05-02 14:39:32 +02:00
Bruno de Oliveira Abinader
fd9e60c748 [build] Added 'shared_thread_pool.cpp' to 'mbgl-core' target on Linux 2017-05-02 12:54:37 +03:00
Bruno de Oliveira Abinader
d0239df39d [core] Fix compilation error with older libpng versions 2017-05-02 12:54:37 +03:00
Bruno de Oliveira Abinader
d9d55f93c1 [core] Fix compilation error with older libicu versions 2017-05-02 12:54:37 +03:00
Bruno de Oliveira Abinader
185c6e5d3b [build] Added 'mbgl-loop-uv' to 'linux-core' target 2017-05-02 12:54:37 +03:00
Thiago Marcos P. Santos
bc868b8433 [core] Suppress "stencil mask overflow" warning
When it starts, we get a log warning for every frame, which is
expensive. Now we get only one warning.
2017-05-02 12:25:38 +03:00
Minh Nguyễn
df5252725c [ios, macos] Corrected map a11y value format strings
Corrected MGLMapView accessibility value format strings in Catalan, Russian, and Swedish.
2017-05-02 01:45:05 -07:00
Fredrik Karlsson
e6aea10ee0 [ios] Added sv stringsdict 2017-05-02 01:45:05 -07:00
Minh Nguyễn
50d99d7c4f [android] Added Lithuanian, Spanish, Vietnamese localizations from Transifex 2017-05-02 01:45:05 -07:00
Minh Nguyễn
d7d4c97dad [ios, macos] Updated ca, es, sv, vi, zh-Hans localizations from Transifex 2017-05-02 01:45:05 -07:00
Minh Nguyễn
059b7d11e6 [android, ios, macos] Rearranged keys in tx config
The tx tool made these changes automatically when pulling.
2017-05-02 01:45:05 -07:00
Thiago Marcos P. Santos
18c52ab5e4 [Qt] Add extrusion example to the Qt app 2017-05-02 10:07:02 +03:00
Thiago Marcos P. Santos
184a4389e1 [Qt] Handle extrusion filters 2017-05-02 10:07:02 +03:00
Minh Nguyễn
efe3ccebbe [ios, macos] Updated changelogs
Updated and reorganized changelogs.
2017-05-01 13:32:01 -07:00
Tobrun
1d955d330b [android] - warning log when attempting to update a non-added annotation (#8832) 2017-04-28 13:58:03 +02:00
Lauren Budorick
f6e79d7073 [core] Render fill-extrusion layers (#8431) 2017-04-27 15:56:55 -07:00
Bruno de Oliveira Abinader
839ad87f37 [build] Added linux-core 2017-04-27 18:45:56 +03:00
Bruno de Oliveira Abinader
52cddfc08a [build] Control libstdc++ usage via WITH_CXX11ABI 2017-04-27 18:45:56 +03:00
Bruno de Oliveira Abinader
9be076ffe9 [build] Fix 'Command not found' message on Linux 2017-04-27 18:45:56 +03:00
John Firebaugh
1c42daa152 [core] Tweak handling of annotation special case SpriteAtlas
* Simplify SymbolLayout; it never needs to care about more than one SpriteAtlas.
* Move the reference from SymbolLayer::Impl to SymbolBucket. This is a prerequisite for making layer Impls immutable.
2017-04-26 16:29:44 -07:00
Jordan Kiley
ea0e45b401 [ios] swapped link for circle layer example (#8818) 2017-04-26 09:25:07 -07:00
Tobrun
e33d71b55f [android] - share locationsource between locational components (#8825) 2017-04-26 16:03:56 +02:00
Tobrun
184cbda4e8 [android] - fix test app runtime permissions (#8823) 2017-04-26 12:16:38 +02:00
Ivo van Dongen
3c175adf30 [core] split off render layers 2017-04-25 17:23:54 -07:00
Tobrun
ea8ec38df1 [android] - fix publish snapshot step (#8815) 2017-04-25 17:31:06 +02:00
Jordan Kiley
a87fd1a918 [ios, macos] Bumped recommended Xcode version >=8.0 (#8775) 2017-04-24 17:04:42 -07:00
John Firebaugh
5dd98df50b [all] Rationalize style::Image
A style has a collection of images, just as it has collections of sources and layers.

* Name things appropriately
* Use std::unique_ptr
2017-04-24 15:52:28 -07:00
Minh Nguyễn
6f708ac545 [ios, macos] Update MGLMapView logo view (#8771)
* [ios, macos] Updated logo view to new Mapbox logo

* [default] Updated attribution logo SVG
2017-04-24 13:31:22 -04:00
Bobby Sudekum
42c308fd8f Release node v3.5.0 (#8785) 2017-04-24 10:22:17 -07:00
Vladimir Agafonkin
0079d6173b [core] fix an issue with lines that have duplicate points (#8808)
An equivalent of https://github.com/mapbox/mapbox-gl-js/pull/4634.
2017-04-24 18:53:20 +03:00
Tobrun
bc757b5a30 [android] - avoid calling MarkerViewClickListener twice (#8804) 2017-04-24 16:28:30 +02:00
Konstantin Käfer
59055cf403 [core] Move Sprite parsing to thread pool 2017-04-24 10:42:47 +02:00
Konstantin Käfer
197f0ca6b4 [android] use AAssetManager instead of libzip 2017-04-24 10:42:10 +02:00
Tobrun
eed7dedf03 [android] - rework instrumentation tests (#8793) 2017-04-21 23:07:19 +02:00
Justin R. Miller
43cc8dbdb8 [ios] fixes #8522: don't alter tint color on annotation views (#8789) 2017-04-21 11:50:34 -07:00
Tobrun
ed51462428 [android] - convert camera position values coming from core (#8794) 2017-04-21 19:15:26 +02:00