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
Bruno de Oliveira Abinader
bd7fb64bae
[tidy] modernize-use-nullptr
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
12dba86fac
[tidy] modernize-use-bool-literals
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
9894e58047
[tidy] modernize-use-override
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
24137c4812
[tidy] modernize-use-default-member-init
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
25b2250c32
[tidy] modernize-use-using
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
fa36110dfb
[tidy] modernize-use-auto
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
f709d7b055
[tidy] llvm-namespace-comment
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
24fa773fae
[core] Removed unused namedColorCount
...
warning: unused variable 'namedColorCount' [clang-diagnostic-unused-const-variable]
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
6f993230f2
[core] Make deleted members public
...
warning: deleted member function should be public [modernize-use-equals-delete]
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
ba3afd5ae0
[core] Explicitly use mbgl::optional in IdentityStops::evaluate
...
error: call to constructor of 'optional<std::array<float, 2> >' (aka
'std::experimental::fundamentals_v1::optional<std::array<float, 2> >')
is ambiguous [clang-diagnostic-error]
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
5d89f6cd92
[core] Avoid calling virtual GeometryTile::cancel() on dtor
...
warning: Call to virtual function during destruction will not dispatch
to derived class [clang-analyzer-optin.cplusplus.VirtualCall]
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
5dfb315b2f
[tidy] Disable clang-analyzer-core.{NullDereference,NonNullParamChecker}
...
This caused unrelated issues coming from rapidjson headers.
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
773659430d
[tidy] Added test/.clang-tidy
...
Disabled some clang-tidy tests that were erroneously catching errors
from gtest header macros.
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
d8c1aeeb3a
[build] Bump clang-{tidy,format} to 4.0.0
2017-05-12 18:07:36 +03:00
Eric Wolfe
cc2ee3cd7a
[android] Update attribution wordmark ( #8774 )
...
* Update wordmark on android
* Moved attribution i icon to the right of mapbox word (in mapview preview image)
* update padding and margin
2017-05-12 15:13:09 +02:00
Ivo van Dongen
6b0e0a9055
[core] allow filesource url transform reset
2017-05-12 14:55:40 +03:00
Pablo Guardiola
85cb04be22
[android] Fix gradle developer config creation task with discussed suggestions ( #8897 )
...
* fix gradle developer config creation task with discussed suggestions
* fix access token not set error message
2017-05-12 12:34:03 +02:00
Minh Nguyễn
4d6f54553d
[core, android, ios, macos] Added Traffic Day/Night to default styles
...
The Styles API section of the Mapbox API Documentation site now lists Traffic Day v2 and Traffic Night v2, so this change adds those styles to all the places where styles are listed.
Also switched iosapp and macosapp to unversioned style factory methods since MGLStyleDefaultVersion is no longer applicable for all styles.
2017-05-11 18:57:39 -07:00
Minh Nguyễn
9e384b78fb
[ios, macos] Undeprecated unversioned style URL factory methods
...
Undeprecated the unversioned style URL factory methods in MGLStyle for consistency with the Android and Qt SDKs. Added warnings about using them with the runtime styling API.
Refactored mbgl::util::default_styles to track different versions for different styles.
2017-05-11 18:57:39 -07:00
Minh Nguyễn
ca97dd8cf4
[ios, macos] Updated documented default style version
...
MGLStyleDefaultVersion is just for Streets now. Deleted style version documentation tests because not all styles are on the same version.
2017-05-11 18:57:39 -07:00
Minh Nguyễn
ed54849e99
[core, android, ios, macos, qt] v10 default styles
...
Upgraded from v9 default styles to v10 wherever the developer expects to get the latest and greatest, as well as in a couple tests where it may be beneficial to ensure that we can handle a two-digit version number in the style URL.
2017-05-11 18:57:39 -07:00
Konstantin Käfer
78af1c6625
[ios] remove Secure Transport exception from demo app
2017-05-11 15:40:42 -07:00
Tobrun
6d419a02c8
[android] - build SNAPSHOT from release branch ( #8958 )
2017-05-11 20:58:57 +02:00
Thiago Marcos P. Santos
9bea2007a0
[Qt] Add example of adding a layer before other layer
2017-05-11 20:28:18 +03:00
Thiago Marcos P. Santos
c307273dae
[Qt] Make it possible to add a layer before another layer
2017-05-11 20:28:18 +03:00
Ivo van Dongen
c74edece35
[android] fix ui test filter in makefile
2017-05-11 18:59:26 +03:00
Ivo van Dongen
489f76d3a2
[android] url getter on sources
2017-05-11 18:59:11 +03:00
John Firebaugh
625c2ea527
[core] When a layer is added, reload its source's tiles
2017-05-11 08:47:32 -07:00
Pablo Guardiola
5290d7ed4c
[android] refactor move unit tests from test app to sdk and add some annotation manager tests (add marker and add markers) ( #8261 )
2017-05-11 12:06:11 +02:00
John Firebaugh
c130d470a1
[core] Remove StyleSourcedAnnotation support
...
The functionality this provided has been subsumed by the runtime styling API.
2017-05-10 14:22:01 -07:00
Jesse Bounds
b7b6706576
[ios] Use map view frame to calculate annotation view reuse adjustments ( #8926 )
...
* [ios] Use map view frame to calculate annotation view reuse adjustments
The value for determining the visible viewport buffer and also the distance to move offscreen an annotation view outside of that buffer was based on the annotation view width and height. This changes that to use the map viewport width and height as constants and avoids a class of bugs where the annotation view would become detached from the tracking system when it did not have a size or was animating from a small to large size.
2017-05-09 12:08:41 -07:00
Bruno de Oliveira Abinader
c69fae99a5
[build] Suppress GLFW redefining GLAPIENTRY error
2017-05-09 14:35:34 +03:00
Minh Nguyễn
93ab5387d9
[android] Added Swedish localization from Transifex
2017-05-08 15:17:32 -07:00