summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [build] Bump macos-debug-qt5 xcode to 9.3.0upstream/macos-debug-qt5-xcode-9.3.0Bruno de Oliveira Abinader2018-05-071-1/+1
|
* [linux] Don't compile linux mbgl-loop-uv against node headersJohn Firebaugh2018-05-044-35/+33
| | | | Previously, `target_include_directories(mbgl-loop-uv PUBLIC ${NODEJS_INCLUDE_DIRS})` always applied. Compiles were working by accident because node is always installed in CI. Instead, split and inline loop-uv.cmake contents: linux uses `target_add_mason_package(mbgl-loop-uv PUBLIC libuv)`, node uses `target_include_directories(mbgl-loop-node PUBLIC ${NODEJS_INCLUDE_DIRS})`.
* [core] Only run placement for first layer per SymbolBucketChris Loer2018-05-0311-25/+48
| | | | | | | | | Native version of mapbox/mapbox-gl-js#6548. Port of mapbox/mapbox-gl-js#6550. Prevents symbols that share the same layout properties from colliding against each other. Bump GL JS pin to get regression test. Rename "bucketName" -> "bucketLeaderID" to make it clearer what it represents.
* FixupJohn Firebaugh2018-05-021-6/+6
|
* [ios, macos] Avoid implicit capture of MBGLOfflineRegionObserver this pointerJohn Firebaugh2018-05-021-3/+6
| | | | MBGLOfflineRegionObserver is owned by the offline database thread, and might be destroyed by the time the dispatch_async completes. Instead of implicitly capturing this, capture a copy of the MBGLOfflinePack weak pointer.
* [docs] Updated link for react native npm package (#11819)Nick Italiano2018-05-021-1/+1
| | | The link was pointing to the old version of our sdk before we moved it under the Mapbox namespace. This updates the link to point to the correct package under the Mapbox namespace.
* Fix CXX11ABI builds with clang++Dane Springmeyer2018-05-021-6/+2
| | | | | | | | | | | The intention of the `WITH_CXX11ABI` option is to allow the user to control toggle whether to compile against the CXX11ABI in libstdc++ (and whether to download a few specific CXX11ABI compatible mason packages as well). This option is important if you are building binaries (like the node binaries) and you want to support a platform that is older and does not have a recent enough libstdc++ to support the CXX11ABI (like ubuntu:precise, centos6, etc). But this was broken for clang++ builds due to the use of `MAKE_COMPILER_IS_GNUCXX`. That was preventing the correct flags from being set when using clang++ effectively making the option useless and resulting in the build defaulting to whatever the libstdc++-dev headers default is on the system (which varies per linux distribution based on how libstdc++-dev is packaged). This fixes the problem by ensuring that clang++ builds still support toggling control over this option. Note: clang++ > 3.9 supports targeting both the new CXX11ABI in libstdc++ (with `-D_GLIBCXX_USE_CXX11_ABI=1`) and targeting the old one (with `-D_GLIBCXX_USE_CXX11_ABI=0`).
* [android] - fix expression example that changes icon images dynamicallytobrun2018-05-021-12/+5
|
* [android] - null check source before removingŁukasz Paczos2018-05-022-1/+19
|
* [android] - unwrap LatLngBounds before creating core objectŁukasz Paczos2018-05-024-19/+18
|
* Revert "[android] - unwrap LatLngBounds for the shortest path when passing ↵Łukasz Paczos2018-05-023-66/+14
| | | | | | to core (#11759)" This reverts commit eb39c80
* [android] - checking is renderer is not destroyed before delivering the snapshotŁukasz Paczos2018-05-023-27/+10
|
* [core] Don't copy TileLayerIndexes on every frame.Chris Loer2018-05-011-1/+1
| | | | Fixes issue #11811 (too much CPU time spent in CrossTileSymbolIndex).
* [core] Remove unused 'Throttler' class.Chris Loer2018-04-304-61/+0
| | | | Throttler was previously used to control how frequently background placement ran.
* [docs] Make per-platform installation docs self-containedJohn Firebaugh2018-04-309-95/+88
| | | | I've seen several issues where users followed platform-specific install docs, but were unaware of additional prerequisites spelled out in the top-level INSTALL.md. So let's try making each platform's installation documentation self contained.
* [core] Port is-supported-script to native.Chris Loer2018-04-275-6/+44
| | | | Native port is much simpler because RTL text support is always enabled.
* [ios, macos] Update minimum deployment versions to iOS 9, macOS 10.11 (#11776)Jason Wray2018-04-2785-489/+377
| | | | | | | | | | | | | | | | | | | * [ios] Remove iOS 8 conditionals * [ios, macos] Bump pod deployment targets * [ios, macos] Add changelog entries * [ios, macos] Update docs * Remove unnecessary selector-based version checks * Update SQLite note * [ios, macos] Replace lightweight generics macros with direct use Lightweight generics for Foundation collections are available everywhere with the bump to iOS 9 and macOS 10.11. * Update deprecated macOS method
* [core] Remove circle-pitch-scale test ignores.Chris Loer2018-04-261-4/+0
|
* [core] only index features within tile boundariesAnsis Brammanis2018-04-263-5/+11
| | | | | | | Previously we relied on tile buffers for querying features who's rendered representations cross tile boundaries. Now we query multiple tiles making it unnecessary to index features that are completely outside a tile's boundaries.
* [core] fix circle querying for scale and alignmentChris Loer2018-04-2639-68/+186
| | | | | | | This fixes circle querying for cases where either circle-pitch-alignment=map or circle-pitch-scaling=viewport
* [core] fix querying circles across tile boundariesChris Loer2018-04-267-16/+30
|
* [qt] Only share a FileSource if it points to the same pathThiago Marcos P. Santos2018-04-261-10/+27
| | | | | | | | Previously all QMapboxGL objects were sharing the same cache created by the first instantiated object. Now it will share the cache only if it points to the same path. Fixes #11766
* [qt] Fix crash on the example app when launching multiple windowsThiago Marcos P. Santos2018-04-262-0/+8
| | | | We need to have a valid context when destroying QMapboxGL.
* [core] Streaming TileCover for polygonal regions (#11267)Asheem Mamoowala2018-04-2612-55/+886
| | | A per-tile streaming algorithm for tile cover on points, lines, and polygons. Works for individual zoom levels, and not zoom ranges.
* Review changes:Chris Loer2018-04-251-3/+5
| | | | | - assert symbol layer tiles must be geometry tiles, instead of dynamically checking - re-use retainedBucketQuery iterator instead of calling find twice.
* Bump GL JS pin to get tests for global symbol querying.Chris Loer2018-04-259-12/+48
| | | | | | - Pulls over an update to line.vertex.glsl (looks like a no-op?) - Add test ignores for collator, is-supported-script, line-gradient - Exclude collator, is-supported-script, line-gradient from code generation.
* Port global symbol query from GL JS:Chris Loer2018-04-2535-198/+219
| | | | | | | - Symbol querying is now global instead of per-tile - Symbols that bleed over tile boundaries no longer missed in queries - Symbol results now sorted based on rendering order (ie overlapping symbols change their sort order when a bearing change causes their render order to change) - Placement::retainedQueryData now responsible for maintaining symbol querying data for buckets that may no longer be in the TilePyramid.
* [android] - unwrap LatLngBounds for the shortest path when passing to core ↵Łukasz Paczos2018-04-243-14/+66
| | | | (#11759)
* [ios, android] Resolve merge conflicts.Fabian Guerra2018-04-233-15/+3
|
* Merge branch 'release-boba' into masterupstream/fabian-merge-v4.0.0Fabian Guerra2018-04-23558-26988/+17550
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # circle.yml # include/mbgl/style/expression/let.hpp # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/geometry/LatLngBounds.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapKeyListener.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.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/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Transform.java # platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/geometry/LatLngBoundsTest.java # platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml # platform/android/gradle/dependencies.gradle # platform/android/src/example_custom_layer.cpp # platform/android/src/geojson/point.cpp # platform/darwin/src/NSPredicate+MGLAdditions.mm # platform/darwin/test/MGLExpressionTests.mm # platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec # platform/ios/Mapbox-iOS-SDK-symbols.podspec # platform/ios/Mapbox-iOS-SDK.podspec # platform/ios/app/MBXViewController.m # src/mbgl/renderer/layers/render_custom_layer.cpp # src/mbgl/style/conversion/filter.cpp # src/mbgl/style/expression/interpolate.cpp # src/mbgl/style/expression/value.cpp # test/style/filter.test.cpp
| * [ios, macos] Rename featureProperties to featureAttributes. (#11748)Fabian Guerra Soto2018-04-239-11/+29
| | | | | | | | | | | | | | | | | | | | * [ios, macos] Rename featureProperties to featureAttributes. * [ios, macos] Update style documentation. * [ios, macos] Remove featureProperties variable tests. * [ios, macos] Update the changelogs.
| * ios-v4.0.0, macos-v0.7.0macos-v0.7.0ios-v4.0.0upstream/1ec5-v4.0.0Minh Nguyễn2018-04-197-7/+7
| |
| * [macos] Replaced screenshotMinh Nguyễn2018-04-191-0/+0
| |
| * [ios, macos] Revamp predicate and expression guide (#11741)Minh Nguyễn2018-04-194-318/+770
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Fact-checked expression guide Corrected various factual inaccuracies in the “Predicates and Expressions” guide. Moved some explanation from the predicates section to the expressions section. Added sections for all the other expression types we support. * [ios, macos] Reorganized custom function documentation Reorganized the custom function documentation as a series of sections with headers and definition lists instead of a monolithic table. Copyedited various sections for accuracy. Linked references to custom functions. Added format string examples for all custom functions. * [ios, macos] Made h3 more visible * [ios, macos] Added Objective-C example of placeholders * [ios, macos] Documented trig functions * [ios, macos] Also increase h3 code size * [ios, macos] Replaced Markdown with HTML in definition * [ios, macos] Replaced Markdown with HTML in custom function documentation * [ios, macos] Clarified stops * [ios, macos] Cross-referenced functions Each custom function definition cross-references the corresponding aftermarket function (or vice versa), the corresponding style specification expression operator, and any related NSExpression syntax. * [ios, macos] Fixed links in predicate guide * [ios, macos] Consolidated and documented NSExpression categories Consolidated the NSExpression categories into a single category, with marks to separate different tasks. Documented the MGLAdditions category so that it shows up in the jazzy documentation. * [ios, macos] Fixed NSExpression private category mixup
| * [ios, macos] Update Style Functions guide (#11724)Jordan Kiley2018-04-1920-438/+852
| |
| * allow disabling -Werror (#11589)Dane Springmeyer2018-04-191-2/+9
| |
| * [ios] Mark -presentCalloutFromRect:inView:constrainedToView:animated: ↵Julian Rex2018-04-194-8/+2
| | | | | | | | unavailable (#11738)
| * Don't crash on placing symbols with 0 renderable glyphsChris Loer2018-04-192-2/+8
| | | | | | | | | | | | Fixes issue #11729. Close relative of issue #10956. It is possible for us to receive Glyphs from the server that are valid, but have an invalid bitmap. In that case, the glyphs will be present in the `GlyphMap` used for shaping, but not present in the `GlyphPositions` used in `getGlyphQuads`. `SymbolInstance::hasText` looked at the shaping instead of the actual quads. `symbol_projection.cpp` should never try to project a label without any quads, but we'll also try to make it so that it doesn't crash if it does.
| * [android] - updated changelog for 6.0.1 (#11714)Łukasz Paczos2018-04-181-0/+3
| | | | | | (cherry picked from commit 0256f15)
| * [ios] Mark unused parameter of -[MGLMapView reloadStyle:] as nullableJason Wray2018-04-171-1/+1
| |
| * [ios] Provide MGLStyle.localizesLabels unavailability noticeJason Wray2018-04-171-0/+2
| |
| * [ios, macos] Add trigonometric support to NSExpression. (#11716)Fabian Guerra Soto2018-04-175-21/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Add acos NSExpresssion operator. * [ios, macos] Add asin NSExpresssion operator. * [ios, macos] Add atan NSExpresssion operator. * [ios, macos] Add cosine NSExpresssion operator. * [ios, macos] Add sine NSExpresssion operator. * [ios, macos] Add tangent NSExpresssion operator. * [ios, macos] Add log2 NSExpresssion operator. * [ios, macos] Update style authors documentation.
| * [android] - bumped telemetry version to 3.0.2 (#11710)Łukasz Paczos2018-04-171-1/+1
| |
| * [android] - changelog entry for v6.0.0android-v6.0.0Tobrun2018-04-171-2/+3
| |
| * [android] - bump snapshot versionTobrun2018-04-171-1/+1
| |
| * [android] - match expression doc tweaks (#11691)Łukasz Paczos2018-04-171-0/+4
| |
| * [android] - bump telemetry depdency to 3.0.1Tobrun2018-04-171-1/+1
| |
| * ios-v4.0.0-rc.1, macos-v0.7.0-rc.1macos-v0.7.0-rc.1ios-v4.0.0-rc.1Minh Nguyễn2018-04-165-5/+5
| |
| * [ios, macos] Updated changelogsMinh Nguyễn2018-04-162-22/+35
| |
| * [ios, macos] Add NSExpression convenience constructors and helper methods. ↵Fabian Guerra Soto2018-04-167-43/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#11278) * [ios, macos] Refactor convinience expression initializers. # Conflicts: # platform/darwin/src/NSExpression+MGLAdditions.h # platform/darwin/src/NSExpression+MGLAdditions.mm # platform/ios/app/MBXViewController.m * [ios, macos] Add MGL_MATCH convenience method. # Conflicts: # platform/darwin/src/NSExpression+MGLAdditions.h # platform/darwin/src/NSExpression+MGLAdditions.mm # platform/darwin/test/MGLExpressionTests.mm * [ios, macos] Add Swift friendly convenience methods name syntax.. # Conflicts: # platform/darwin/src/NSExpression+MGLAdditions.h * [ios, macos] Update runtime styling examples. # Conflicts: # platform/ios/app/MBXViewController.m * [ios, macos] Add NSExpression variable expressions properties. * [ios, macos] Clarify convenience initializer names. * [ios, macos] Update Style Authors guides. * [ios, macos] Fix cherry-pick merge. * [ios, macos] Update convenience initializers documentation.