summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* [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.
* [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.
* [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>
* [ios, macos] Add lookup and feature operators. (#11528)Fabian Guerra Soto2018-03-283-0/+106
| | | | | | | | | | | | | | * [ios, macos] Add Expressions 'at' operator. * [ios, macos] Implement 'has' operator. * [ios, macos] Implement expressions feature operators. * [ios, macos] Refactor expressions variable name and 'mgl_has' implementation. * [ios, macos] Refactor expresssion variable names. * [ios, macos] Update 'mgl_has' to support non-self operands.
* Release Android v6.0.0-beta.5 (#11537)Łukasz Paczos2018-03-281-0/+11
| | | | * [android] Updated changelog for 6.0.0-beta.5 release
* [android] bumped gestures library version to 0.2.0 (#11535)Łukasz Paczos2018-03-271-1/+1
|
* [android] bumped telemetry library version to 3.0.0-beta.3 (#11534)Łukasz Paczos2018-03-271-1/+1
|
* [ios, macos] Add match expressions support. (#11464)Fabian Guerra Soto2018-03-265-3/+87
| | | | | | | | | | | | | | * [ios, macos] Add match expressions support. * [ios, macos] Add coalesce operator support. * [ios, macos] Add coalesce operator test. * [ios, macos] Match operator implementation is moved to NSPredicate. * [ios, macos] Match operator function implementation refactor. * [ios, macos] Address merge conflicts.
* [android] - update changelog v5.5.1Tobrun2018-03-261-0/+9
|
* [android] - allow multiple expressions in string, number and bool asserting ↵Tobrun2018-03-261-3/+3
| | | | expressions
* [ios, macos] Change the format for case expressions to a flat structure. ↵Fabian Guerra Soto2018-03-264-32/+89
| | | | | | | | | | | | (#11450) * [ios, macos] Change the format for case expressions to a flat structure. * [ios, macos] Add support for multiple branches case expression. * [ios, macos] Add multiple branch tests to case expressions. * [ios, macos] Case operator now has iOS 8 support.
* [android] - don't load default style if style json string was set (#11520)Tobrun2018-03-262-1/+78
|
* [android] - correctly convert Android int colors with to-color expression ↵Tobrun2018-03-233-38/+18
| | | | (#11506)
* [core] Don't resolve tokens after evaluating a text-field or icon-image ↵John Firebaugh2018-03-221-1/+0
| | | | expression (#11509)
* [android] - expose public api telemetry (#11503)Tobrun2018-03-226-18/+30
|
* [android] - make default output param from step expression more descriptive, ↵Tobrun2018-03-221-16/+20
| | | | add param to javadoc (#11501)
* Literal array conversion of primitive arrays (#11500)Tobrun2018-03-223-1/+39
| | | * [android] - literal array conversion of primitives types
* [ios,macos] Selecting offscreen annotation pans map to fit annotation & ↵Julian Rex2018-03-2114-43/+508
| | | | callout view (#3249, #9790)
* [android] - update changelog for v6.0.0-beta.4 (#11485)android-v.6.0.0-beta.4Tobrun2018-03-212-1/+22
|
* [ios, macos] Document to use subclasses of MGLFeature to access attributes ↵Jordan Kiley2018-03-206-6/+12
| | | | (#11462)
* [android] bumped gestures library version to 0.1.0 (#11483)Łukasz Paczos2018-03-205-51/+44
|
* [core] don't hide icons if text is an empty stringAnsis Brammanis2018-03-191-1/+0
|
* Expression filters (#11429)Tobrun2018-03-1936-426/+436
| | | * [android] - add expression filter integration
* [android] - verify optional before accessing itTobrun2018-03-191-4/+6
|
* [android] bump mapbox-android-telemetry version to 3.0.0-beta.2 and adapt ↵Guardiola313372018-03-196-10/+14
| | | | events related code
* [android] high-level jni bindings for geojson conversionIvo van Dongen2018-03-1923-198/+320
|
* update to MAS3.0-beta.4 (#11468)Osana Babayan2018-03-162-3/+3
|
* [android] - implement expression literal on arraysTobrun2018-03-162-9/+73
|
* Test activity for gestures manager (#11449)Łukasz Paczos2018-03-168-140/+640
|
* [android] fixed TWO_FINGER_TAP telemetry event (#11460)Łukasz Paczos2018-03-161-0/+2
|
* [core] Update mapbox-gl-jsJohn Firebaugh2018-03-141-0/+2
|
* [ios] Prepare changelog for ios-v3.7.6upstream/fb-ios-v3.7.6-boba-cherry-picksJason Wray2018-03-141-1/+4
|
* [ios, build] Move iOS release builds to CircleCIJason Wray2018-03-142-99/+1
|
* [ios] Add camera limit debug option to iosappJason Wray2018-03-141-1/+42
| | | | Adapted from https://github.com/mapbox/ios-sdk-examples/blob/cdff47276d261d58c7eb2d0ba75d9cce6c308417/Examples/ObjectiveC/BlockingGesturesDelegateExample.m
* [ios] Fix pinch drift ignoring delegate camera change responseJason Wray2018-03-142-3/+8
|
* [ios] Improved heading indicator arrow visibilityJason Wray2018-03-142-1/+5
|
* [android] build release Test App before publishing (#11418)Łukasz Paczos2018-03-141-1/+1
|
* [ios, macos] Fix an issue where a wrong annotation may selected if ↵Lloyd Sheng2018-03-134-51/+49
| | | | | | | | | | | | annotations were set close together (#11438) * [ios] Fix an issue where wrong annotation may selected when annotations very close #10734 * [macos] Fix an issue where a wrong annotation may selected if annotations were set close together * update the iOS change log and the macOS change log * Fix an issue where the comment referenced to the wrong variable name
* [android] - revisit proguard configuration for release-bobaTobrun2018-03-122-19/+35
|
* [core] Add expression filter support (#11251)Lucas Wojciechowski2018-03-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP * WIP * WIP * Remove Filter::operator()(const Feature&) * WIP * WIP * WIP * WIP * Hook up expression filter evaluator * Replace `shared_ptr` with &reference * Fill in implementation of `void operator()(const ExpressionFilter&)` * Fix failing tests * Switch back to a shared_ptr per chat with @anandthakker * Fix benchmark compilation * Shot in the dark to fix CI * Shot in the dark to fix CI (part 2) * Shot in the dark to fix CI (part 3) * In src/mbgl/style/conversion/filter.cpp, add a port of isExpressionFilter and use it to decide in Converter<Filter>::operator() whether to parse the incoming JSON as an ExpressionFilter or one of the legacy filter types * Remove bool Filter::operator()(const GeometryTileFeature&) const * Ensure the map zoom is passed into filtering operations wherever applicable * Add expression filter tests * Addressed PR feedback * Implement `NSPredicate *operator()(mbgl::style::ExpressionFilter filter)` * Fix formatting& nit
* [android] - add expression conversion, add getters (#11352)Tobrun2018-03-0853-13860/+2453
|
* [android] calculating camera's LatLng for bounds without map padding (#11410)Łukasz Paczos2018-03-084-37/+29
|
* [android] - check for null body on http request, cleanup codeTobrun2018-03-082-77/+89
|
* [macos] Upgraded tests to Swift 4Minh Nguyễn2018-03-072-12/+17
|
* [macos] Fixed title casing based on current orthographyMinh Nguyễn2018-03-071-1/+5
|
* [macos] Assume sRGB for mbgl expressions, CSS in attributionMinh Nguyễn2018-03-075-13/+37
| | | | Assume mbgl needs colors in the sRGB color space rather than the calibrated RGB color space. Fixed link colors when creating attribution from HTML.
* Expose more gestures settings (#11407)Łukasz Paczos2018-03-076-215/+325
| | | | | | | | | | | | | * [android] enable/disable velocity animations * [android] exposed a method to cancel ongoing velocity animations * [android] removed unused methods and constants * [android] fixed gestures manager initialization * [android] enable/disable increasing gesture thresholds * [android] saving/restoring new gestures options