summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [core, node] Hold on to map handle during NodeMap::request.upstream/cp-ci-fixesChris Loer2018-02-261-0/+4
| | | | | Avoids a potential crash if garbage collection happens in the middle of a call to NodeMap::request from a map that's eligible for GC. Fixes issue #11281
* [core] Don't reuse heatmap render texture on viewport resize.Chris Loer2018-02-261-1/+1
| | | | Fixes issue #11228.
* [core,node] Pin 'nan' to ~2.8 to avoid Callback::Call deprecation.Chris Loer2018-02-261-1/+1
| | | | Alternative fix to #11288, until we figure out a proper async_hooks implementation.
* [tests] Added a test for getting resources from the databaseThiago Marcos P. Santos2018-02-263-1/+37
| | | | This test would have flagged the Qt regression.
* [qt] Fix issue if resources not being found on the databaseThiago Marcos P. Santos2018-02-261-7/+2
| | | | | | | Once again QVariant getting confused about its contents datatype. With this patch we use QString directly and copy the contents, which should be cheap with Qt implicity sharing.
* [core] Fix build with Qt + Android + GCC 4.9Thiago Marcos P. Santos2018-02-261-1/+1
| | | | | | Android uses and old libc when building with GCC 4.9 and some math functions are not on std::.
* [qt] Fix wrong signal being emittedThiago Marcos P. Santos2018-02-261-1/+1
| | | | Probably caused by a typo when refactoring the asynchronous rendering.
* [core] continue loading style even if we mutate itKonstantin Käfer2018-02-232-10/+16
| | | | When we load a stale style from cache, and the user immediately starts mutating it, we should continue loading the style so that we'll get a fresh copy of the data into our cache and avoid perpetually showing the stale style.
* [android] custom layer example - remove dependencies on mbgl logging and ↵Ivo van Dongen2018-02-231-22/+24
| | | | string headers
* [android] custom layer example - add error checking to debug issues more easilyIvo van Dongen2018-02-231-28/+142
|
* [android] custom layer example - fix fragment shader source for opengl es 2 ↵Ivo van Dongen2018-02-231-1/+1
| | | | phones
* [core] blacklist vao usage on mali t720 (sapphire 650)Ivo van Dongen2018-02-231-2/+9
| | | | Avoids problems on (amongst others) Samsung Galaxy J3
* [core] check opengl error state after custom layer invocationsIvo van Dongen2018-02-231-3/+4
|
* [android] - port animated markers activity to symbol layerTobrun2018-02-227-293/+459
|
* [android] expose ImageSource coordinates setter (#11262)Łukasz Paczos2018-02-223-1/+20
|
* [core] don't hide icons if text is an empty stringAnsis Brammanis2018-02-212-4/+3
|
* [android] jni clean up - missing a couple DeleteLocalRef Osana Babayan2018-02-216-5/+11
|
* [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
| | |