summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [core] introduce Blob for compressed and uncompressed dataupstream/blobKonstantin Käfer2018-02-21105-475/+723
| | | | | | | | | | | | - Blob is a wrapper type for a shared_ptr<const string> that has accessor functions for getting compressed and uncompressed data - Moved util::writeFile, util::readFile, util::compress, util::uncompress, decodeImage, and encodePNG to the Blob interface - Added Blob support to Request and file sources - Added Blob support to VectorTile objects - Added support for gzip decoding to util::uncompress - We're no longer compressing WebP, PNG, and JPEG data when storing in the OfflineDatabase - Android's HTTPRequest returns compressed Blobs by default One caveat is that our previous decompress function didn't support gzip, so once users upgrade to this version, their offline cache may contain both zlib-compressed data and gzip-compressed data, but older versions won't be able to decompress gzip data. On the other hand, we don't support downgrading SDKs anyway, so this shouldn't be a problem. To be on the safe side, we could bump the user_version of the SQLite DB.
* [android] - add instrumentation tests for FileSource activation/deactivationTobrun2018-02-2010-40/+202
|
* [android] - check if hosting Activity isn't finishing before showing an dialogTobrun2018-02-201-1/+12
|
* Merge tag 'ios-v3.7.5' into masterJason Wray2018-02-195-4/+9
|\
| * [ios] Bump podspecs for 3.7.5ios-v3.7.5Jason Wray2018-02-164-4/+4
| |
| * [ios] Fix loop when first asking for location permission (#11229)Jason Wray2018-02-162-2/+7
| |
* | [core] Support a range of zooms in TileRange. Accounts for TilePyramid ↵Asheem Mamoowala2018-02-193-23/+57
| | | | | | | | requesting parent tiles of ideal zoom tiles.
* | [android] added missing delete local references Osana Babayan2018-02-194-21/+35
| |
* | [test] Native ignore for GL JS issue #6160Chris Loer2018-02-161-0/+1
| |
* | [test] Native expression test support for:Chris Loer2018-02-162-24/+36
| | | | | | | | | | - Round-tripping expressions through serialization and checking that outputs don't change - Checking expression serialization against expected value from fixture
* | [core] Implement Expression::serialize()Chris Loer2018-02-1630-40/+262
| | | | | | | | | | | | | | | | Issue #10714 - Each expression stores its operator as a string, and default serialization is [operator, serialize(child1), ...] - Custom implementations of `serialize` for Expression types that don't follow the pattern - expression::Value -> mbgl::Value converter - node_expression bindings to expose `serialize`
* | [android] incorrect LatLngBounds for the VisibleRegion for rotated mapOsana Babayan2018-02-161-5/+6
| | | | | | | | | | smallest bounding box for 4 points cannot be created using LatLngBounds.fromLatLngs() as the order matters in that method and that does not work for rotated map
* | [ios] Disable -[MGLExpressionTests testConditionalExpressionObject] on iOS 8upstream/fb-ios-test-and-warning-fixesJason Wray2018-02-151-17/+21
| | | | | | | | Temporarily disable this test until iOS 8 compatibility is added.
* | [ios] Bump testMGLMapSnapshotter timeout to 5sJason Wray2018-02-151-1/+1
| | | | | | | | | | | | | | | | Timing based tests are inherently flakey and prone to failure on slow CI: > Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone X' (3.375 seconds) > Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone 8' (3.413 seconds) > Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone 7' (2.944 seconds)
* | [ios] Fix iOS 8's broken pluralization in MGLCoordinateFormatterTestsJason Wray2018-02-151-3/+18
| |
* | [ios] Fix type conversion warnings in MGLFeatureTestsJason Wray2018-02-151-10/+17
| | | | | | | | Fixes: object of type 'MGLPointAnnotation/MGLPolyline *' is not compatible with array element type 'MGLShape<MGLFeature> *' [-Wobjc-literal-conversion]
* | [ios] Fix safeAreaInsets availability warning in MGLMapViewLayoutTestsJason Wray2018-02-151-1/+1
| | | | | | | | Fixes: 'safeAreaInsets' is only available on iOS 11.0 or newer [-Wunguarded-availability-new]
* | [android] bounds can go over the antimeridian / date line. (#10892)Osana Babayan2018-02-153-21/+236
| |
* | [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-1590-60/+4569
| | | | | | | | | | Co-Authored-By: Konstantin Käfer <mail@kkaefer.com> Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com> Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com>
* | [core] fix opacity of duplicate labels with -allow-overlap: trueAnsis Brammanis2018-02-151-3/+8
| |
* | [core] add support for mapzen terrarium (#11154)Molly Lloyd2018-02-1414-29/+71
| | | | | | | | | | | | | | | | | | | | | | | | * add support for mapzen terrarium * Encoding --> DEMEncoding, avoid if statement when unpacking elevation values * add Terrarium test * update submodule * remove redundant checks
* | [core] add maxzoom uniform for raster-dem tilesets (#11134)Molly Lloyd2018-02-147-7/+21
| | | | | | | | | | | | | | | | | | | | * add maxzoom uniform to support external tilesets * update git sha for gl-js * try and fix android crash * name default maxzoom constant
* | [ios] Release cached tiles on entering background.Chris Loer2018-02-141-0/+7
| | | | | | | | | | Retain current render tiles for fast restart. Waiting for a memory warning doesn't work because we can't make GL release calls once we're in the background.
* | [core] Rename "onLowMemory" to "reduceMemoryUse".Chris Loer2018-02-1425-36/+36
| | | | | | | | | | Android still calls "reduceMemoryUse" only while handling a low memory event. iOS, on the other hand, calls "reduceMemoryUse" every time it enters the background.
* | [core] fix onLowMemory to release GL buffersChris Loer2018-02-141-1/+1
| | | | | | | | Context cleanup must be called _after_ render sources release tiles.
* | Merge branch 'fabian-merge-3.7.4-master'Fabian Guerra2018-02-1422-278/+628
|\ \
| * | [ios] Remove unused reference to reachabilityupstream/fabian-merge-3.7.4-masterJesse Bounds2018-02-131-10/+0
| | | | | | | | | | | | This removes a reference to reachability that has been used and incorrect since the file does not exist at the referenced location.
| * | [android] Add Timber library import.Fabian Guerra2018-02-131-0/+2
| | |
| * | Merge tag 'ios-v3.7.4' into masterFabian Guerra2018-02-1322-280/+638
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # include/mbgl/style/conversion/tileset.hpp # include/mbgl/util/tileset.hpp # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java # platform/ios/CHANGELOG.md # platform/ios/ios.xcodeproj/project.pbxproj # platform/macos/CHANGELOG.md # src/mbgl/layout/symbol_projection.cpp # src/mbgl/renderer/tile_pyramid.cpp # src/mbgl/style/conversion/tileset.cpp
| | * [ios] Bump podspec to 3.7.4 (#11179)ios-v3.7.4Fabian Guerra Soto2018-02-125-3/+5
| | | | | | | | | | | | | | | | | | * [ios] Bump podspec to 3.7.4 * [ios, macos] Update changelogs.
| | * [ios, macos] Fix memory leaks in MGLMapSnapshotter. (#11133)Fabian Guerra Soto2018-02-122-165/+177
| | |
| | * [ios] Adds camera change delegate methods with reason parameter. (#11151)Julian Rex2018-02-127-73/+325
| | | | | | | | | | | | Added missing notification handler for UIApplicationWillResignActiveNotification.
| | * Cherry pick #11176 for Agua patchAsheem Mamoowala2018-02-122-1/+11
| | |
| | * [android] - update SNAPSHOT version to v5.4.2Tobrun2018-02-121-1/+1
| | |
| | * [android] - update changelog for 5.4.1Tobrun2018-02-121-0/+7
| | |
| | * [android] - don't invoke onLowMemory on map when the map isn't fully created yetTobrun2018-02-121-1/+3
| | |
| | * [android] - don't recreate surface as part of view resizeandroid-v5.4.1tobrun2018-02-091-8/+6
| | |
| | * [android] - add optional location provider lost to proguard configurationtobrun2018-02-091-1/+4
| | |
| | * [ios, macos] Added option to restrict tile source to boundsMinh Nguyễn2018-02-088-1/+55
| | | | | | | | | | | | Cherry-picked from c3bf7c55a1f648e57c3853d555ff5f63c989f8c4.
| | * Reset tileset-based render sources when any tileset properties changed. (#11042)Asheem Mamoowala2018-02-084-16/+18
| | |
| | * Support TileJSON bounds property (#10701)Asheem Mamoowala2018-02-0818-17/+436
| | | | | | | | | | | | | | | | | | | | | | | | * [core] Parse TileJSON bounds property * [core] Add TileRange and LatLngBounds::contains(CanonicalTileID) Move LatLngBounds::contains impl to cpp file * [core] Skip tile creation outside of tileset bounds * [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles.
| | * [android] - programmatically create GlSurfaceViewtobrun2018-02-082-9/+2
| | |
| | * [android] - introduce mapview weak reference in global layout listenertobrun2018-02-081-17/+29
| | |
| | * [core] Don't crash on line labels with 0 glyphs.Chris Loer2018-02-071-2/+3
| | | | | | | | | | | | Fixes issue #10956.
| | * Adjust radius (#11132)Randall C Lee2018-02-061-1/+1
| | |
| | * [ios] Add Radius Configuration (#11070)Randall C Lee2018-02-055-3/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Radius Configuration * Remove default config - removes default configuration - moves config setup to events init method - renames config class * Delete MGLConfig header file
| | * [android] - update changelog for 5.4.0android-v5.4.0Tobrun2018-02-052-2/+17
| | |
| | * [android] - create Handler using the main thread looperTobrun2018-02-051-1/+2
| | |
| | * [android] - blacklist adreno 2xx for VAO supportTobrun2018-02-051-2/+3
| | |
| | * [android] - log lack of permissions only if enabling locationŁukasz Paczos2018-02-051-1/+1
| | |