Pablo Guardiola
9ce7099089
[android] fix is download complete (a download is complete when count and required resources match and the download state is inactive) ( #9913 )
2017-09-07 17:26:26 +02:00
Jason Wray
c6708442c9
[ios] Refactor user location heading indicator into its own class
2017-09-06 18:21:38 -04:00
Jason Wray
cb7eb5cafb
[ios] Improve iosapp's zoom debug label
2017-09-06 17:11:09 -04:00
Ivo van Dongen
d736429271
[macos] snapshotter
2017-09-05 16:29:33 +03:00
Ivo van Dongen
b3b9ef5c6c
[ios] snapshotter
2017-09-05 16:29:33 +03:00
Ivo van Dongen
07343a34c5
[darwin] snapshotter
2017-09-05 16:29:33 +03:00
Ivo van Dongen
6d47471767
[ios] extend ui image additions with init from premultiplied image
2017-09-05 16:29:33 +03:00
Pablo Guardiola
89eb23e6b5
[android] make the android release all build batched ( #9907 )
2017-09-05 09:49:50 +02:00
Pablo Guardiola
73d980a6e7
bump MAS version number to 2.2.3 ( #9901 )
2017-08-31 18:27:12 +02:00
Ivo van Dongen
be859427a9
[core] remove map update enum
2017-08-31 18:45:28 +03:00
Ivo van Dongen
4c96603eb6
[core] move annotation tile updates to renderer
...
- AnnotationData.updateData() was not completely thread safe. Calling it from the renderer thread instead of the main thread fixes this
- Since we moved the coalescing of updates out of the map and into the renderer frontend implementations, the updateData was called too much, resulting in degraded performance. Moving it into the renderer makes sure it gets coalesced again.
2017-08-31 18:45:28 +03:00
Ivo van Dongen
377faaf4f8
[core] annotation manager - manage dirty state internally
2017-08-31 18:45:28 +03:00
Bruno de Oliveira Abinader
0694d224c7
[test] Enable render tests recycling the map object in node6-clang39-debug
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
cfcf38053e
[test] Unignore render-tests/circle-pitch-alignment/*
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
6f00becffe
[test] One map per pixel ratio in render.test.js --recycle-map
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
b43d88b725
[test] Interpret render tests params: --recycleMap and --shuffle
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
6ee8d7bb60
[node] Set style default camera upon each test suite run
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
d43757271e
[node] Cleanup NodeMap::Render
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
3f6f236f7b
[node] Split 'test-suite' run using 'run-s' script
2017-08-31 10:17:21 +03:00
Jason Wray
87348234d1
[ios] Guard against nil user location when setting tracking mode
2017-08-30 17:28:14 -04:00
Fabian Guerra Soto
c8dc77f06f
[ios, macos] Make minimumZoomLevel and maximumZoomLevel IBInspectable. ( #9729 )
...
* [ios, macos] Make minimumZoomLevel and maximumZoomLevel IBInspectable.
* [ios, macos] Update changelogs.
2017-08-30 16:25:57 -04:00
Lauren Budorick
eaacc87901
Update gl-js SHA + ignore fill-extrusion-multiple test
2017-08-30 12:48:51 -07:00
Asheem Mamoowala
13169a6a82
Update gl-js SHA
2017-08-30 10:59:08 -07:00
Asheem Mamoowala
69b52367d3
[core][ios][macos][android]DDS-ify text-letter-spacing and text-max-width
2017-08-30 10:59:08 -07:00
Ivo van Dongen
966bf8824d
[android] map snapshotter
2017-08-30 17:18:37 +03:00
Ivo van Dongen
a90e2f3a2c
[android] add GenericWeakReference that can be deleted from any thread
2017-08-30 17:18:37 +03:00
Ivo van Dongen
fae9faab06
[default] map snapshotter
2017-08-30 17:18:37 +03:00
Ivo van Dongen
eba6d58312
[default] headless_frontend - support program cache dir
2017-08-30 17:18:37 +03:00
Ivo van Dongen
abecfe2333
[linux] headless display - support opengl es 2
2017-08-30 17:18:37 +03:00
Ivo van Dongen
6b9a1268a4
[core] enable Thread destruction from arbitrary threads
2017-08-30 17:18:37 +03:00
Ivo van Dongen
0bb97e2307
[core] make thread.hpp public
2017-08-30 17:18:37 +03:00
Bruno de Oliveira Abinader
af01d6ffee
[core] Set Style::Impl::loaded only when finishing parsing style
2017-08-30 16:43:13 +03:00
Bruno de Oliveira Abinader
e1dfdc9338
[core] Clear RenderGeoJSONSource tilePyramid if no data is available
2017-08-30 16:02:26 +03:00
Asheem Mamoowala
9491527eb6
Enable tests for #1350 , #9704
2017-08-29 14:48:47 -07:00
Pablo Guardiola
927774886e
bump MAS version number to 2.2.2 ( #9856 )
2017-08-29 21:05:29 +02:00
Jason Wray
eedd909611
[tests] Cherry-pick OfflineDatabase::databaseTableColumns
...
Originally part of the much larger f0a7c45064
2017-08-29 14:08:30 -04:00
Thiago Marcos P. Santos
2640109887
[tests] Enforce the schema downgrade behavior
...
Which is, delete and recreate the database.
2017-08-29 14:08:30 -04:00
Thiago Marcos P. Santos
9c4071fe86
[core] Remove database on schema downgrade
...
Previously we were throwing an exception.
2017-08-29 14:08:30 -04:00
Fabian Guerra
a51ae29000
Merge branch release tag ios-v3.6.2
2017-08-29 11:24:42 -04:00
Anand Thakker
d436bcd56b
Add {Source,CompositeCamera}Function benchmarks ( #9838 )
2017-08-29 10:03:57 -04:00
Asheem Mamoowala
a2712f6fa4
Update to gejson 0.4.2 and add StyleParser test to verify that GeoJSON without properties field can be loaded
2017-08-28 15:43:18 -07:00
Fabian Guerra
dd18e1af1e
[android] Update sdk version.
2017-08-28 17:11:40 -04:00
Ian Wagner
e78620c705
[ios] Set location to nil until the user's location is determined
...
The documentation for the `location` property states that "This property contains `nil` if the map view is not currently showing the user location or if the user’s location has not yet been determined." The iOS SDK presently returns a garbage value, which has some rather annoying consequences when the value should logically be nullable. This change should rectify the issue.
With _location no longer initialized to an invalid coordinate, trying to access `_location.coordinate` when `_location == nil` will return `0, 0`, which is a valid coordinate.
2017-08-28 16:41:55 -04:00
Lauren Budorick
2de89a99bc
Implement icon-anchor property
2017-08-28 13:32:56 -07:00
Fabian Guerra
8c020591de
[android] Diable lint check for MissingTranslation
2017-08-28 15:18:20 -04:00
Fabian Guerra
acfe485302
Merge tag 'ios-v3.6.2' into master
...
# Conflicts:
# cmake/core-files.cmake
# include/mbgl/renderer/renderer_backend.hpp
# platform/android/CHANGELOG.md
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/AnnotationManager.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/IconManager.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Projection.java
# platform/android/dependencies.gradle
# platform/darwin/src/MGLStyle.mm
# platform/ios/CHANGELOG.md
# platform/ios/app/Info.plist
# platform/ios/app/MBXViewController.m
# platform/ios/ios.xcodeproj/project.pbxproj
# platform/macos/CHANGELOG.md
# src/mbgl/gl/attribute.cpp
# src/mbgl/gl/attribute.hpp
# src/mbgl/gl/context.hpp
# src/mbgl/gl/types.hpp
# src/mbgl/gl/value.cpp
# src/mbgl/gl/value.hpp
# src/mbgl/map/backend_scope.cpp
# src/mbgl/programs/attributes.hpp
# src/mbgl/programs/program.hpp
# src/mbgl/programs/segment.cpp
# src/mbgl/programs/segment.hpp
# src/mbgl/programs/symbol_program.hpp
# src/mbgl/programs/uniforms.hpp
# src/mbgl/renderer/buckets/symbol_bucket.hpp
# src/mbgl/renderer/painter.cpp
# src/mbgl/renderer/painter.hpp
# src/mbgl/renderer/painter_background.cpp
# src/mbgl/renderer/painter_circle.cpp
# src/mbgl/renderer/painter_clipping.cpp
# src/mbgl/renderer/painter_debug.cpp
# src/mbgl/renderer/painter_fill.cpp
# src/mbgl/renderer/painter_fill_extrusion.cpp
# src/mbgl/renderer/painter_line.cpp
# src/mbgl/renderer/painter_raster.cpp
# src/mbgl/renderer/painter_symbol.cpp
# src/mbgl/shaders/line.cpp
# src/mbgl/shaders/line_pattern.cpp
# test/renderer/backend_scope.test.cpp
2017-08-28 12:43:29 -04:00
Jason Wray
a7f06366d2
[ios] Support iOS 11 location usage descriptions
2017-08-28 12:15:11 -04:00
Konstantin Käfer
c6ab20e5c6
[core] initialize OfflineDatabase asynchronously in DefaultFileSource
...
Sometimes, initialization can take hundreds of milliseconds, in particular when the database doesn't exist yet, or when the app/device is doing a lot of I/O already. Instead of synchronously initializing the OfflineDatabase objects, we're now asynchronously initializing the object through a self-sent message that by virtue of being the first message for this actor guarantees that the object is there when it's needed by other member functions.
2017-08-28 13:16:27 +02:00
Chris Loer
6cbeeff689
[core] Fix issue #9843 (overzoomed line label rendering glitch).
...
Ports fix for GL JS issue #5112 .
Line label projection can't be based on tile geometry that's behind the plane of the camera.
The relevant tests are still ignored because the overzoomed collision behavior is different between native and JS.
2017-08-25 14:20:42 -07:00
Chris Loer
17a3a805f1
[core] Add optional type template parameter to util::unit, so that it doesn't always pick up the default type of 'double' from util::mag.
2017-08-25 14:20:42 -07:00