Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core, node] Hold on to map handle during NodeMap::request.upstream/cp-ci-fixes | Chris Loer | 2018-02-26 | 1 | -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 Loer | 2018-02-26 | 1 | -1/+1 |
| | | | | Fixes issue #11228. | ||||
* | [core,node] Pin 'nan' to ~2.8 to avoid Callback::Call deprecation. | Chris Loer | 2018-02-26 | 1 | -1/+1 |
| | | | | Alternative fix to #11288, until we figure out a proper async_hooks implementation. | ||||
* | [tests] Added a test for getting resources from the database | Thiago Marcos P. Santos | 2018-02-26 | 3 | -1/+37 |
| | | | | This test would have flagged the Qt regression. | ||||
* | [qt] Fix issue if resources not being found on the database | Thiago Marcos P. Santos | 2018-02-26 | 1 | -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.9 | Thiago Marcos P. Santos | 2018-02-26 | 1 | -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 emitted | Thiago Marcos P. Santos | 2018-02-26 | 1 | -1/+1 |
| | | | | Probably caused by a typo when refactoring the asynchronous rendering. | ||||
* | [core] continue loading style even if we mutate it | Konstantin Käfer | 2018-02-23 | 2 | -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 Dongen | 2018-02-23 | 1 | -22/+24 |
| | | | | string headers | ||||
* | [android] custom layer example - add error checking to debug issues more easily | Ivo van Dongen | 2018-02-23 | 1 | -28/+142 |
| | |||||
* | [android] custom layer example - fix fragment shader source for opengl es 2 ↵ | Ivo van Dongen | 2018-02-23 | 1 | -1/+1 |
| | | | | phones | ||||
* | [core] blacklist vao usage on mali t720 (sapphire 650) | Ivo van Dongen | 2018-02-23 | 1 | -2/+9 |
| | | | | Avoids problems on (amongst others) Samsung Galaxy J3 | ||||
* | [core] check opengl error state after custom layer invocations | Ivo van Dongen | 2018-02-23 | 1 | -3/+4 |
| | |||||
* | [android] - port animated markers activity to symbol layer | Tobrun | 2018-02-22 | 7 | -293/+459 |
| | |||||
* | [android] expose ImageSource coordinates setter (#11262) | Łukasz Paczos | 2018-02-22 | 3 | -1/+20 |
| | |||||
* | [core] don't hide icons if text is an empty string | Ansis Brammanis | 2018-02-21 | 2 | -4/+3 |
| | |||||
* | [android] jni clean up - missing a couple DeleteLocalRef | Osana Babayan | 2018-02-21 | 6 | -5/+11 |
| | |||||
* | [android] - add instrumentation tests for FileSource activation/deactivation | Tobrun | 2018-02-20 | 10 | -40/+202 |
| | |||||
* | [android] - check if hosting Activity isn't finishing before showing an dialog | Tobrun | 2018-02-20 | 1 | -1/+12 |
| | |||||
* | Merge tag 'ios-v3.7.5' into master | Jason Wray | 2018-02-19 | 5 | -4/+9 |
|\ | |||||
| * | [ios] Bump podspecs for 3.7.5ios-v3.7.5 | Jason Wray | 2018-02-16 | 4 | -4/+4 |
| | | |||||
| * | [ios] Fix loop when first asking for location permission (#11229) | Jason Wray | 2018-02-16 | 2 | -2/+7 |
| | | |||||
* | | [core] Support a range of zooms in TileRange. Accounts for TilePyramid ↵ | Asheem Mamoowala | 2018-02-19 | 3 | -23/+57 |
| | | | | | | | | requesting parent tiles of ideal zoom tiles. | ||||
* | | [android] added missing delete local references | Osana Babayan | 2018-02-19 | 4 | -21/+35 |
| | | |||||
* | | [test] Native ignore for GL JS issue #6160 | Chris Loer | 2018-02-16 | 1 | -0/+1 |
| | | |||||
* | | [test] Native expression test support for: | Chris Loer | 2018-02-16 | 2 | -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 Loer | 2018-02-16 | 30 | -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 map | Osana Babayan | 2018-02-16 | 1 | -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-fixes | Jason Wray | 2018-02-15 | 1 | -17/+21 |
| | | | | | | | | Temporarily disable this test until iOS 8 compatibility is added. | ||||
* | | [ios] Bump testMGLMapSnapshotter timeout to 5s | Jason Wray | 2018-02-15 | 1 | -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 MGLCoordinateFormatterTests | Jason Wray | 2018-02-15 | 1 | -3/+18 |
| | | |||||
* | | [ios] Fix type conversion warnings in MGLFeatureTests | Jason Wray | 2018-02-15 | 1 | -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 MGLMapViewLayoutTests | Jason Wray | 2018-02-15 | 1 | -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 Babayan | 2018-02-15 | 3 | -21/+236 |
| | | |||||
* | | [core, ios, macos, android, node] Heatmap layer (#11046) | Vladimir Agafonkin | 2018-02-15 | 90 | -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: true | Ansis Brammanis | 2018-02-15 | 1 | -3/+8 |
| | | |||||
* | | [core] add support for mapzen terrarium (#11154) | Molly Lloyd | 2018-02-14 | 14 | -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 Lloyd | 2018-02-14 | 7 | -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 Loer | 2018-02-14 | 1 | -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 Loer | 2018-02-14 | 25 | -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 buffers | Chris Loer | 2018-02-14 | 1 | -1/+1 |
| | | | | | | | | Context cleanup must be called _after_ render sources release tiles. | ||||
* | | Merge branch 'fabian-merge-3.7.4-master' | Fabian Guerra | 2018-02-14 | 22 | -278/+628 |
|\ \ | |||||
| * | | [ios] Remove unused reference to reachabilityupstream/fabian-merge-3.7.4-master | Jesse Bounds | 2018-02-13 | 1 | -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 Guerra | 2018-02-13 | 1 | -0/+2 |
| | | | |||||
| * | | Merge tag 'ios-v3.7.4' into master | Fabian Guerra | 2018-02-13 | 22 | -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.4 | Fabian Guerra Soto | 2018-02-12 | 5 | -3/+5 |
| | | | | | | | | | | | | | | | | | | * [ios] Bump podspec to 3.7.4 * [ios, macos] Update changelogs. | ||||
| | * | [ios, macos] Fix memory leaks in MGLMapSnapshotter. (#11133) | Fabian Guerra Soto | 2018-02-12 | 2 | -165/+177 |
| | | | |||||
| | * | [ios] Adds camera change delegate methods with reason parameter. (#11151) | Julian Rex | 2018-02-12 | 7 | -73/+325 |
| | | | | | | | | | | | | Added missing notification handler for UIApplicationWillResignActiveNotification. | ||||
| | * | Cherry pick #11176 for Agua patch | Asheem Mamoowala | 2018-02-12 | 2 | -1/+11 |
| | | | |||||
| | * | [android] - update SNAPSHOT version to v5.4.2 | Tobrun | 2018-02-12 | 1 | -1/+1 |
| | | |