summaryrefslogtreecommitdiff
path: root/platform/darwin/src/NSComparisonPredicate+MGLAdditions.mm
Commit message (Collapse)AuthorAgeFilesLines
* [core] Introduce dedicated filter types for $type and $id special cases (#7971)John Firebaugh2017-02-091-2/+103
| | | | | | | | * [core] Introduce dedicated filter types for $type and $id special cases * [ios, macos] Special-case $id, $type in predicates Also support $id ≟ nil.
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-6/+6
|
* [ios, macos] Cleaned up expression conversionMinh Nguyễn2017-01-041-5/+5
|
* [ios, macos] Rewrote predicate/filter conversionMinh Nguyễn2017-01-041-59/+153
| | | | | | | | | | When converting predicates to filters, symmetric comparison predicates can now compare a value to a key in addition to the usual key-to-value order. Added error checking for unhandled combinations like key-to-key. Fixed a crash converting a CONTAINS predicate into a filter. Added support for constant value expressions inside aggregate expressions. Allow sets as aggregate expressions just like arrays, except in BETWEEN predicates where order matters. Flatten NOT predicates into more specialized filters. When converting filters to predicates, use constant value expressions inside aggregate expressions. Convert to a BETWEEN predicate when possible. Replaced predicate round-tripping integration tests with systematic unit tests for converting in either direction, plus unit tests for round-tripping and symmetry. Refined exception names and messages. Realphabetized files in groups.
* [ios, macos] Add back support for CONTAINS operatorJesse Bounds2016-12-011-1/+6
| | | | This reverts commit 6877e3efe73fb6e103c2635f1e4b1c1866b17d5c.
* [ios, macos] Remove support for CONTAINS operator (#6590)Minh Nguyễn2016-10-051-6/+1
| | | | | | * [ios, macos] Removed support for CONTAINS operator * [ios, macos] Removed CONTAINS test
* [ios, macos] Add more predicate operator to mbgl filter translationsJesse Bounds2016-09-211-10/+44
| | | Adds several new translations to prevent data loss.
* [ios] Added support for filters (NSPredicate)Fredrik Karlsson2016-09-021-0/+67
[ios, macos] cleaned up filters [ios] added a filter example [ios] utest filters [ios, macos] nested predicates [ios] refactored [ios] filter -> NSPredicate [ios] fixed mbgl::Any/AllFilter -> NSPredicate [ios] translate nested mbgl::NotIn filters [ios] cleanup and added more utests [ios] fixed a bug in the None filter conversion and improved utests [ios, macos] doc [macos] added missing category [ios, macos] additional utests [ios, macos] updated documentation