summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [android] - using resources in a single try-with-resources blockupstream/lp-java-8-featuresŁukasz Paczos2018-04-112-9/+7
|
* [android] - removed AssetManager autoclose for string (reverted)Łukasz Paczos2018-04-111-3/+6
|
* [android] - removed AssetManager autoclose for stringŁukasz Paczos2018-04-111-6/+3
|
* [android] - moved handler initialization in AnimatedImageSourceActivityŁukasz Paczos2018-04-101-2/+1
|
* [android] - introduced java 8 language featuresŁukasz Paczos2018-04-1031-485/+282
|
* [android] - add convinience step expression (#11641)Tobrun2018-04-101-0/+128
|
* [android] - add javadoc code examples for Android (#11540)Tobrun2018-04-101-23/+1413
|
* [android] - add paused state to map renderer, don't render snapshot when ↵Tobrun2018-04-105-5/+34
| | | | paused (#11358)
* Rework expression conversion (#11490)Tobrun2018-04-1026-157/+318
| | | * [android] - rework expression conversion
* [android] - fixed gesture events listeners lists documentation (#11630)Łukasz Paczos2018-04-101-32/+24
|
* Fix style parsing bug for constant expressions (#11606)Anand Thakker2018-04-095-16/+32
| | | | | | | | | | | | | | * Fix style parsing bug for constant expressions Closes #10849 * Ignore tests for unported GL JS change Refs https://github.com/mapbox/mapbox-gl-js/pull/6429 * Fuller fix * Update mapbox-gl-js
* [android] - add delete local refs calls for make jni stringsTobrun2018-04-093-6/+18
|
* [android] release local refs earlyIvo van Dongen2018-04-092-1/+7
|
* [ios, macos] Equate valueForKey: with valueForKeyPath:Minh Nguyễn2018-04-061-1/+1
|
* [ios, macos] Distinguish between conditionals and expressions in case expressionMinh Nguyễn2018-04-062-5/+19
|
* Change MGLMapPointMake to MGLMapPointForCoordinateAsheem Mamoowala2018-04-063-8/+15
|
* [core] re-bind uniform locations after re-linking program (#11618)Łukasz Paczos2018-04-061-0/+5
| | | | | - On some gl implementations the uniform locations are shifted after linking the program a second time, resulting in errors when using any uniform. On some implementations they are actually doubled. Re-binding the uniforms after selectively binding the vertex attributes prevents this. (cherry picked from commit 4a0e025)
* [ios, macos] Projection Matrix and LatLng projection to Mercator methodsAsheem Mamoowala2018-04-057-0/+68
|
* [core] Add Projection matrix to CustomLayerRenderParameters to transform web ↵Asheem Mamoowala2018-04-052-0/+7
| | | | mercator world coordinates to GL coordinates.
* [android] updated mapbox-sdk-services to 3.0.1 (#11593)Osana Babayan2018-04-052-3/+5
| | | | | | * [android] updated mapbox-sdk-services to 3.0.1 * [android] - downgrade tooling for MAS-3.0.1
* Remove unused lambda capture (#11602)Anand Thakker2018-04-051-1/+1
| | | Fixes #11588
* Release android v6.0.0 beta.6 (#11592)Łukasz Paczos2018-04-051-0/+7
| | | * [android] updated changelog for 6.0.0-beta.6
* [android] - bumped telemetry version to 3.0.0-beta.4 (#11590)Łukasz Paczos2018-04-041-1/+1
|
* Rework logical condition convenience expressions (#11555)Tobrun2018-04-045-40/+40
| | | * [android] - rework expression logical operator api to match actual usage
* [android] invalidate camera position before delivering onMapReady (#11585)Łukasz Paczos2018-04-041-1/+2
|
* [android] - throw illegal argument exception when attempting to convert an ↵Tobrun2018-04-042-1/+14
| | | | PropertyValue as an expression literal (#11572)
* [ios] Added explicit dependency to address occasional test build failures. ↵Julian Rex2018-04-031-0/+15
| | | | (#11581)
* [ios] Bump podspecs for ios-v4.0.0-beta.3ios-v4.0.0-beta.3Jason Wray2018-04-023-3/+3
|
* [ios] Prepare changelog for ios-v4.0.0-beta.3Jason Wray2018-04-022-2/+10
|
* Use a host interface for CustomLayer instead of function pointers (#11553)Asheem Mamoowala2018-04-0221-306/+404
| | | | | | Use a host interface for CustomLayer instead of function pointers Co-authored-by: Julian Rex <julian.rex@mapbox.com>
* [ios, macos] Corrected documentationMinh Nguyễn2018-04-028-45/+57
| | | | Mentioned MGLComputedShapeSource in a few more places. Updated symbol style layer documentation to refer to aftermarket expression functions. Copyedited some heatmap style layer documentation.
* [ios, macos] Clarified source optionsMinh Nguyễn2018-04-025-29/+73
| | | | Also moved options to the primary classes that use them.
* [ios, macos] Eliminated MGLAbstractShapeSourceMinh Nguyễn2018-04-0218-329/+297
| | | | MGLComputedShapeSource is now a direct subclass of MGLSource and sibling of MGLShapeSource.
* [ios, macos] Renamed MGLVectorSource to MGLVectorTileSourceMinh Nguyễn2018-04-0248-209/+212
|
* [ios, macos] Mention update-examples in contributing guideMinh Nguyễn2018-04-022-0/+4
|
* [ios, macos] Renamed MGLRasterSource to MGLRasterTileSourceMinh Nguyễn2018-04-0229-153/+162
| | | | Also updated various source class listings to reflect the addition of image and raster DEM sources.
* [core] Make FeatureIndex own GeometryTileData.Chris Loer2018-04-025-30/+27
| | | | | Prevents querying a FeatureIndex built against a separate set of data, which can lead to invalid index exceptions. The GeometryTileWorker 'data' member can still change independently of the data in the feature index, at the time 'setData' is called. The GeometryTileWorker maintains ownership of its local data (which may be used to re-parse) and clones the data for use by the FeatureIndex in the foreground.
* [core] Consolidate GeometryTile symbol/nonSymbolBucketsChris Loer2018-04-024-24/+11
| | | | Conversion to one-phase tile loading removed any need to track them separately.
* [core] Convert GeometryTileWorker to "one-phase" loadingChris Loer2018-04-025-162/+141
| | | | | Modest simplification refactoring (issue #10457). Also, fixes issue #11538, which was caused in part by a hole in the vestigial two-phase loading.
* [ios, build] Enable ios-sanitize-address build on CircleCIJason Wray2018-03-301-1/+1
|
* [ios] Fix heap buffer overflow in two-coordinate MGLPolylineJason Wray2018-03-301-3/+5
|
* Eviscerate mbgl expression to Foundation JSON object conversion (#11389)Minh Nguyễn2018-03-3015-164/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Eviscerate mbgl expression to Foundation JSON object conversion * [ios, macos] Remove literal special case MGLJSONObjectFromMBGLValue() is just a literal translation from C++ types to Foundation types; no need for expression-specific literal wrapping. * [ios, macos] Implemented RGB(A) operators * [ios, macos] More robust color conversion * [macos] Create calibrated RGB from expression on Sierra * [macos] Calibrate colors in expressions at runtime * [ios, macos] Special-case number conversion without fallbacks * [ios, macos] Test mgl_number expressions * [ios, macos] Updated tests for aftermarket expressions * [ios, macos] Relax roundtripping requirement for serialize() * [ios, macos] Fixed interpolation expression tests * [ios, macos] Removed dead code * [ios, macos] Fixed color conversion on Sierra
* [ios, docs] Fix formatting in Predicates & Expressions guide (#11574)Jason Wray2018-03-301-29/+29
| | | | - Code ticks within HTML tables do not convert to code blocks. - Pipes within Markdown tables are interpreted as new columns, even within ticks.
* [core] Fixed to-rgba with zero opacityMinh Nguyễn2018-03-305-14/+26
|
* [core] Round-trip linear interpolatorsMinh Nguyễn2018-03-303-2/+8
|
* [ios] Fix for integration tests running on device. Refs #11297 Julian Rex2018-03-301-2/+15
| | | Moves Mapbox framework from integration target to be be embedded in host app.
* [test] Update Map.PrefetchTilesupstream/fb-11334-boba-cherry-pickBruno de Oliveira Abinader2018-03-307-61/+75
|
* [ios] Update mapbox-events-ios to v0.4.0upstream/fb-events-ios-0.4.0Jason Wray2018-03-291-0/+0
|
* Install aftermarket expression functions (#11472)Minh Nguyễn2018-03-2930-571/+990
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Introduced more ergonomic expression concatenation syntax * [ios, macos] Fixed mgl_join: * [ios, macos] Simplified expression document headings * [ios, macos] Documented mgl_join: * [ios, macos] Convert length operator to length: for strings Only works for literal strings. * [ios, macos] Implemented type conversion using CAST() * [ios, macos] Aftermarket let expressions * [ios, macos] Refactored aftermarket expression functions Refactored the installation of aftermarket expression functions to use macros. It is no longer necessary to handwrite the type encoding of a function. Also added aftermarket functions for interpolating and stepping. * [ios, macos] Updated documentation, tests, demo apps * [ios, macos] Added generic expression function * [ios, macos] Add MGL_MATCH function placeholder. * [ios, macos] Add MGL_SWITCH expression operator. * [ios, macos] Add mgl_coalesce: as expression function. * [ios, macos] Update style documentation. * [ios, macos] Add conventional custom function support. * [ios, macos] Updated example code * [ios, macos] Add mgl_coalesce conventional custom function support. * [ios, macos] Add aftermarket function to 'has' operator. * [ios, macos] Add documentation for lookup and feature operators. * [ios, macos] Documented simple lookup * [ios, macos] Renamed, reversed has expression Renamed mgl_hasProperty:properties: to mgl_does:have: for better readability and consistency with the conventional mgl_has: function. Documented both forms of mgl_has:. * [ios, macos] Restored OEM conditionals where available This is the preferred syntax for simple conditionals on iOS 9 and above, because you can inline the predicate instead of wrapping it in a constant value expression, which means you can write a conditional in a single format string. * [ios, macos] Update style docs. Co-authored-by: Fabian Guerra <fabian.guerra@mapbox.com>
* [core] Fix potential race condition crash in symbol querying..Chris Loer2018-03-292-8/+25
| | | | | | Second half of fix for issue #11538. If a global placement took place between the time a tile's non-symbol layout updated and the time new symbol buckets arrived, the tile's new FeatureIndex would be committed, but the global CollisionIndex would be generated against the old symbolBuckets. The mismatch could cause the CollisionIndex to contain indices that didn't exist in the new FeatureIndex, and attempting to access them would generate an out-of-bounds exception.