summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [android] - unwrap LatLngBounds for the shortest path when passing to coreupstream/11733-bounds-crossing-idlŁukasz Paczos2018-04-233-12/+61
|
* 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.
* [macos] Updated Arabic localizationMinh Nguyễn2018-04-163-1/+30
|
* [android, ios, macos] Added European Portuguese localizationMinh Nguyễn2018-04-1612-2/+174
|
* [android] Added Hebrew localizationMinh Nguyễn2018-04-162-1/+17
|
* [android] Added Czech localizationMinh Nguyễn2018-04-162-0/+19
|
* [macos] Replaced UIColor with NSColor in documentationMinh Nguyễn2018-04-1610-5/+372
|
* [ios] Fix type narrowing issue with MGLOpenGLStyleLayer projection matrix ↵Jason Wray2018-04-165-13/+25
| | | | | | | | | (#11664) `CATransform3D`'s matrix is internally typed as `CGFloat`, which we were implicitly casting to from `double`.... except that the `-Wc++11-narrowing` flag disallows implicit narrowing casts and we need `double` precision, anyway. * [ios, macos] Use MGLMatrix4 a 4x4 double matrix for MGLOpenGLStyleLayer projection matrix. * [ios, macos] Don't use union for MGLMatrix4
* [ios, macos] Convert various class methods to class propertiesJason Wray2018-04-1617-40/+34
| | | | This improves the Swift interface while having no effect on Obj-C usage.
* [ios] Remove more deprecated bits for release-bobaJason Wray2018-04-164-68/+12
|
* Localize expressions more thoroughly (#11651)Minh Nguyễn2018-04-1620-102/+535
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] Removed changelog entry for Terrarium The broader feature is new to v4.0.0 as well. * [ios, macos] Localize expressions more thoroughly Replaced the MGLStyle.localizesLabels property with a -localizeLabelsIntoLocale: method that allows the caller to specify the locale to localize into. Also exposed a per-expression localization method for developers who want to vary behavior from layer to layer. * [macos] Offer English labels if preferred language is unsupported * [ios, macos] Removed dead code * [ios] Use new localization method in iosapp * [ios, macos] Fixed local name labels * [ios, macos] Convert tokens to key path expressions in stop dictionaries * [ios, macos] Streamlined token upgrading Separated token upgrading into a separate process that only happens as part of the MGLSymbolStyleLayer.text and MGLSymbolStyleLayer.iconImageName properties’ getters, so that it’s easy to remove later when mbgl changes obviate this workaround. Removed the replacesTokens parameter to the expression localization methods. * [ios, macos] Preserve whitespace between tokens * [ios, macos] Moved token replacement to a consistent category Fixed a build warning. * [ios, macos] Replace tokens in all string-typed getters For consistency, replace tokens with key paths in all string-typed style paint and layout properties. * [ios, macos] Test token replacement Added tests for replacement of tokens with key paths in expressions. Fixed token replacement for raw strings in stop dictionaries. Avoid sticking a single string inside an mgl_join: call. * [ios, macos] Test token replacement, localization Added unit tests of token replacement and localization of expressions. Only NSExpression is responsible for resolving the preferred language now, since NSLocale tends to tack a region code onto the locale identifier and the NSExpression method can be called independently anyways. Added a private variation of +[MGLVectorTileSource preferredMapboxStreetsLanguage] that takes an array of preferred languages. Fixed localization of non-expressions in stop dictionaries. * [ios, macos] Dictionary keys aren’t necessarily zoom levels
* [ios, macos] NSPredicate expression filters. (#11587)Fabian Guerra Soto2018-04-1617-719/+361
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Add NSAndPredicateType predicate expression filter. * [ios, macos] Add type to NSPredicate expressions. * [ios, macos] Add Expression filter support. * [ios, macos] Update NSPredicate expression based tests. * [ios, macos] Refactor ExpressionFilters. * [ios, macos] Add symmetric test to ExpressionFilters. * [ios, macos] Update NSPredicate test to ExpressionFilters. * [ios, macos] Re-introduce Filter tests. * [ios, macos] Remove typed NSComparisonPredicate's comparable values. * [ios, macos] Update style layers predicate tests. * [ios, macos] Remove unused predicate conversion code. * [ios, macos] Update documentation exaple's test. * [ios, macos] Update Predicate and Expressions guide.. * [ios, macos] Remove mgl_ prefix from variable expressions. * [ios, macos] Update predicates and expressions documentation. * [ios, macos] Update changelogs.
* [ios, macos] Remove mgl_ prefix from built-in expressions variables. (#11689)Fabian Guerra Soto2018-04-167-28/+28
|
* [ios] Update playground for Swift 3.2+android-v6.0.0-beta.7Jason Wray2018-04-132-107/+14
|
* Minor last fixesNadia Barbosa2018-04-121-2/+2
|
* Compress the compressed compressionJason Wray2018-04-124-0/+0
|
* Redo imagesNadia Barbosa2018-04-125-2/+2
|
* Second round of feedback edits from @colleenmcginnisNadia Barbosa2018-04-121-4/+4
|
* First round of feedback incorporationNadia Barbosa2018-04-122-10/+14
| | | | Including feedback edits as suggested by @friedbunny
* [ios, docs] [ios, docs] Rewrite "Adding points to a map" guideNadia Barbosa2018-04-125-61/+37
|
* [ios, macos] Add predicate like expressions to NSExpression (#11632)Fabian Guerra Soto2018-04-123-7/+144
| | | | | | | | | | | | | | * [ios, macos] Add NSPredicate between function. * [ios, macos] Add NSPredicate 'IN' expression filter support . * [ios, macos] Add NSPredicate 'CONTAINS' expression filter support. * [ios, macos] Refactor NSPredicate operators. * [ios, macos] Simplify NSPredicate's expression conversion code. * [ios, macos] Make 'match' the default predicate conversion option.
* [ios] Change MGLAnnotationView.scalesWithViewingDistance default value to NOupstream/fb-undefault-scalesWithViewingDistanceJason Wray2018-04-124-11/+6
|
* Don't enforce ["zoom"] constraints for filters (#11672)Anand Thakker2018-04-1211-70/+88
| | | | | | | | | | | | * Don't enforce ["zoom"] constraints for filters Fixes #11594 * Add a couple of comments * Fix ambiguous constructor call * ParsingContext(optional<Type>) => ParsingContext(Type)
* [ios] Note plans to drop iOS 8 (#11663)Jason Wray2018-04-124-2/+6
|
* [android] - update changelog for release v6.0.0-beta.7Tobrun2018-04-121-0/+23
|
* Update layer immediately when changing its max/min zoom level (#11399)Łukasz Paczos2018-04-1213-0/+50
| | | | | | * [android][core] update layer immediately when changing it's max/min zoom * [core] node bindings for layer zoom range
* [ios, macos] Corrected link in expression documentationMinh Nguyễn2018-04-111-2/+4
|
* [ios, macos] Renamed expression initializer to be more SwiftianMinh Nguyễn2018-04-114-87/+87
|
* [darwin, docs] Further compress images in docsupstream/fb-ios-guide-img-compressionJason Wray2018-04-1119-0/+0
|
* Add abs, round, floor, ceil operators (#11653)Anand Thakker2018-04-1111-32/+316
| | | | | | | | | | | | | | | | | | | | * Add abs, round, floor, ceil operators Port of https://github.com/mapbox/mapbox-gl-js/pull/6496 * [ios, macos] Simplified abs, ceiling, floor expressions * [ios, macos] Added rounding expression function * [android] - binding integration for round, ceil, floor and abs expressions * Update mapbox-gl-js to include non-integer rounding test * Drop extra braces * mapbox-gl-js -> master * Update style-spec docs -> PropertyFactory.java
* [android] center was calculated incorrectly for LatLngBounds with zero span ↵Osana Babayan2018-04-112-4/+24
| | | | (#11650)
* [android] - bump telemetry to 3.0.0 stableTobrun2018-04-111-1/+1
|