Commit Graph

10639 Commits

Author SHA1 Message Date
Ivo van Dongen
95d2ed7b95 [android] owning constructor for custom layer 2017-05-23 10:06:56 +03:00
Ivo van Dongen
2dd8553096 [core] forward visitor in layer::accept 2017-05-23 10:06:56 +03:00
Chris Loer
67811c9f48 [core] Update gl-js submodule. 2017-05-22 10:54:45 -07:00
Chris Loer
6ceecb5581 [core] Disable letter-spacing for Arabic labels (issue #9057) 2017-05-22 10:54:45 -07:00
Eimantas
9e6a79ad9b [ios, macos] Add overlays property to MGLMapView (#8617)
* Add `overlays` property to `MGLMapView.mm`

Implemented by filtering the `annotations` property for
annotations that conform to `MGLOverlay` protocol.

* Handle `nil` case when returning overlays

* Add basic documentation for `overlays` property

Copied verbatim from `annotations` property. Changed types.

* Add `overlays` property to iOS sdk

Implementation is identical to the one in macOS SDK.

* Match curly braces style

* Make `overlays` property `nonnull` on iOS

* Make `overlays` property `nonnull` on macOS

* Make cosmetic changes

* [ios, macos] Moved changelog entry to master
2017-05-20 20:32:10 -07:00
John Firebaugh
1f921299b0 [core] Make ExponentialStops behavior consistent; add tests 2017-05-19 11:48:45 -07:00
John Firebaugh
bdff99c853 [core] Eliminate round-trip through Value in CameraFunction::evaluate 2017-05-19 11:48:45 -07:00
Bobby Sudekum
895275d6fc Release node-v3.5.2 (#9052) 2017-05-19 11:27:48 -05:00
Konstantin Käfer
d664a3e05e [core] leave Image objects in a valid state after premultiply/unpremultiply 2017-05-19 14:13:07 +02:00
Minh Nguyễn
281d3d4f8c Merge branch 'release-ios-v3.5.0-android-v5.0.0' into 1ec5-release-ios-v3.5.4 2017-05-18 18:04:07 -07:00
Asheem Mamoowala
8c75001443 [core][ios] Use explicit submodule update for ios target (#8973)
Closes #8750
2017-05-18 13:48:26 -07:00
Chris Loer
cd4e67968a [core] Don't unnecessarily request glyphs for verticalized punctuation.
Issue #8982.
2017-05-18 11:19:17 -07:00
Konstantin Käfer
eae2c715f1 [core] add error for non-virtual destructor deletes + add virtual dtors 2017-05-18 16:57:12 +02:00
Konstantin Käfer
5d7e54a815 [core] Make destructor virtual to avoid object splicing during destruction 2017-05-18 16:57:12 +02:00
Chris Loer
77b24bc0d3 [core] Throttle tiles to redo symbol placement at most once every 300ms.
Fixes issue #8435 and prepares for pitch-scaling changes in issue #8967.
2017-05-17 16:25:06 -07:00
John Firebaugh
e7154adac3 [core] Remove redundant SpriteAtlasElement members 2017-05-17 11:23:47 -07:00
John Firebaugh
786707649a [core] Remove ambiguous get{Width,Height} accessors from style::Image 2017-05-17 11:23:47 -07:00
John Firebaugh
63558e06ad [core] Remove obsolete modular arithmetic on atlas coordinates
We switched to 16-bit coordinates in attributes in b0cb8715ed, so there's no longer any reason to require that they are divisible by four.
2017-05-17 09:36:43 -07:00
John Firebaugh
4c26759b69 [core] Remove WorkQueue
No longer used as of 5cdf838a38.
2017-05-17 09:28:26 -07:00
Bruno de Oliveira Abinader
c2f7f48a22 [build] Use gdb 2017-04-08-aebcde5 2017-05-17 17:39:46 +03:00
John Firebaugh
cc1ea759a6 [core, node, darwin, android, qt] Make image ID part of Image
More like Source and Layer.
2017-05-16 12:26:35 -07:00
Konstantin Käfer
c0f6e5ccef [build] Use workflows instead of a trigger build 2017-05-16 16:58:12 +02:00
John Firebaugh
934cf99766 [test] Update gl-js submodule 2017-05-15 14:12:25 -07:00
jingsam
e4c66ac27c Update README.md 2017-05-15 10:16:42 -07:00
Roman Chichina
f2ad940c39 [core] mbgl-render: allow scale factor to be floating point number 2017-05-15 18:55:47 +02:00
John Firebaugh
244fdaa405 [qt] Un-deprecate QMapboxGL::setTransitionOptions
It's still relevant for runtime-styling driven paint property changes.
2017-05-15 09:45:55 -07:00
John Firebaugh
9eba2a66d1 [core, node, darwin, qt] Remove support for paint classes 2017-05-15 09:45:55 -07:00
John Firebaugh
e473f2dcce [core] cascade ⇢ transition / cascading ⇢ transitionable 2017-05-15 09:45:55 -07:00
John Firebaugh
da4d735e2c [core] Unify {Paint,Layout,Light}Properties 2017-05-15 09:45:55 -07:00
John Firebaugh
2690a65f8d [core] *LayerImpl::cascading ⇢ paint 2017-05-15 09:45:55 -07:00
John Firebaugh
3fa9f3c9e8 [core] Merge light_properties.hpp into light_impl.hpp 2017-05-15 09:45:55 -07:00
John Firebaugh
8fb1a81c46 [core] Immutable<Impl> for Image 2017-05-15 08:20:18 -07:00
John Firebaugh
b3ec985568 [core] Trim StyleObserver interface
It doesn't need to inherit from SpriteLoaderObserver and GlyphAtlasObserver.
2017-05-13 09:28:53 -07:00
Asheem Mamoowala
84e39611a0 [core] Move renderer/* files into sub-folders (#8983)
Move renderer/* files into sub-folders
2017-05-12 17:07:48 -07:00
John Firebaugh
83d9226e4f [build] Rotate AWS credentials 2017-05-12 15:15:47 -07:00
Ivo van Dongen
cc9f040a2d [core] Split style image collection from SpriteAtlas 2017-05-12 13:19:00 -07:00
John Firebaugh
c80f3e9d29 [linux] loop-uv depends on mbgl-core for linking 2017-05-12 11:26:27 -07:00
John Firebaugh
095dc7b167 [core] Replace createRender{Source,Layer} with Render{Source,Layer}::create
* Eliminates the need for EnableImmutableFromThis
* Eliminates the dependency of {Source,Layer}::Impl on corresponding Render class (circular dependency)
2017-05-12 11:26:27 -07:00
John Firebaugh
afead4e749 [core] Return {Source,Layer}::getID by value
Avoid dangling references in the following sequence:

    auto& id = layer->getID();
    layer->setMaxZoom(2);
    std::cout << id;

The reference would be dangling because mutating the layer allocates a new Immutable impl, and there may be no references to the prior impl, which held the id.
2017-05-12 11:26:27 -07:00
John Firebaugh
54e26b20e7 [core] Remove unused RenderLayer::clone 2017-05-12 11:26:27 -07:00
John Firebaugh
c2a5894f2d [core] Immutable Impls 2017-05-12 11:26:27 -07:00
Bruno de Oliveira Abinader
d3f23b83d4 [build] Don't run Travis 'check' build on master 2017-05-12 19:16:35 +03:00
Bruno de Oliveira Abinader
3e7f5f34e3 [build] Explicitely set Clang as compiler in 'check' Travis CI build 2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
17af488048 [tidy] modernize-make-unique 2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
19c15ab557 [tidy] modernize-loop-convert 2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
c6eb4afe0e [tidy] modernize-deprecated-headers 2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
37046938da [tidy] modernize-raw-string-literal 2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
870067360f [tidy] modernize-pass-by-value 2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
baeaad83a3 [tidy] modernize-use-emplace 2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
1e1da36123 [tidy] modernize-use-equals-default 2017-05-12 18:07:36 +03:00