summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* [core] Trigger Source::Impl::reload when a filter or layout property is modifiedJohn Firebaugh2016-09-061-22/+22
|
* [core, ios, android, qt] Observe style layer mutations rather than requiring ↵John Firebaugh2016-09-0616-148/+7
| | | | | | SDKs to use Map::update This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation.
* [android] - get firebase test lab results with gsutil (#6220)Tobrun2016-09-062-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [android] - get results with gustily debug fix debug debug fix correct file path remove duplicate ls fix bash script + add deploy step + debug file system install crcmod zip output correct option for zipping add compression to output. This allows including subfolders cleanup remove json from artefact always upload test results always run step to true * [android] - disable query rendered test * fix name in test
* [android] jni - fix boolean to JsonPrimitive conversion (#6256)Ivo van Dongen2016-09-061-1/+1
|
* [ios] Fix jazzy doc generation failure and document MGLGeoJSONSourceJason Wray2016-09-022-5/+19
| | | | | | | | | Clang/Sourcekitten do not appear to like HTML tags in `@param` definitions. Also: - Wraps lines at 80 chars. - Adds minimal docs for MGLGeoJSONSource so it will be seen by jazzy.
* [ios] Remove iosapp test stubJesse Bounds2016-09-021-23/+0
| | | | | | The PR to add filter predicates (#6049) added logic to apply some runtime styling to the iosapp as soon as the map finished loading. This removes that logic.
* ios-v3.4.0-alpha.4ios-v3.4.0-alpha.4Jason Wray2016-09-022-2/+2
|
* [ios] Updated changelogMinh Nguyễn2016-09-021-0/+3
|
* [ios, macos] Use NSDictionary for geojson source options.Jesse Bounds2016-09-0213-74/+218
| | | | | | | | | | | | This removes a previous implementation of geojson options that used a new type to transfer the data around. Added in its place is an options API that takes an NSDictionary that works similarly to NSAttributedString and many other Cocoa APIs that take options. The options parser now expects the developer to send values of the type noted in the documentation and it simply converts the NSNumber to the correct type (integer, double, or bool) for mbgl. However, an exception is raised if the value is not an NSNumber.
* [ios, macos] fixes #5962 added geojson options to support clusteringFredrik Karlsson2016-09-026-1/+76
|
* [ios] Check for bool value with charJesse Bounds2016-09-022-2/+4
| | | | | | | | | | | | | | We convert NSNumbers (and NSStrings) to the appropriate mbgl value so that we can use NSPredicates to describe mbgl filters we want to apply to style layers at runtime. This change fixes an issue where the conversion from an NSNumber that represented a bool was not recognized as such. encode(bool) returns a 'c' or 'b' on 32 bit and 64 bit systems respectively and objCType of an NSNumber representing a bool always returns 'c'. Now the implementation checks for 'c' always and NSNumbers representing bool don't fall through and trigger the exception.
* [ios] Added support for filters (NSPredicate)Fredrik Karlsson2016-09-0228-56/+724
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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
* [android] Checkstyle fixes round 1 (#6234)Cameron Mace2016-09-0251-583/+676
| | | | | | * removed last of hungarian notation from testapp and fixed other checkstyle issues * added back MapboxMap for espresso
* [ios] Silence MGLCalloutView related warnings in tests (#6231)Jesse Bounds2016-09-011-0/+6
| | | | | | | | The annotation view test uses a fake MGLTestCalloutView that declares conformance to the MGLCalloutView protocol. However, several properties and a method were not implemented in the test which caused several warnings that were visible if you compiled the SDK tests. This change stubs out the properties and method so the warnings go away.
* [android] introduce checkstyle (#6214)Cameron Mace2016-09-015-190/+235
|
* [ios] Add -ObjC to static podspec; update custom CocoaPods stepsJason Wray2016-08-312-27/+9
|
* [ios] Allow implicit animation of annotation viewsJason Wray2016-08-312-20/+0
| | | | - Allows the user location annotation to again animate its movements while no tracking mode is enabled.
* [android] - fix breaking build on master (#6225)Tobrun2016-08-312-9/+15
| | | | | | | | * [android] - fix breaking build, by implementing mapboxMap on VideoViewActivity * fix layout file for auto generated tests * [android] fix resource id
* [android] added video view example (#6198)Cameron Mace2016-08-315-0/+143
| | | | | | * [android] added video view example * removed map ready callback
* [macos] Explicitly link the OpenGL framework for compatibility with macOS SierraKonstantin Käfer2016-08-311-0/+1
|
* [android][build] Only strip the resulting libraries (#6222)Ivo van Dongen2016-08-312-3/+4
|
* [ios] Update INSTALL doc for -ObjC; use local podspec pathJason Wray2016-08-302-45/+52
| | | | | | | - Adds -ObjC flag for static lib. - Fixes link to iOS SDK site. - Pushes CocoaPods down the list. - Changes CocoaPods to use local path, not HTTP. - Emphasizes that INSTALL.MD is only for custom builds.
* [ios] Update change log for centerOffset bug fixJesse Bounds2016-08-301-0/+1
|
* [iOS] Using contentInset for setCenterCoordinate: and flyToCamera methods ↵Romain Quidet2016-08-301-2/+2
| | | | everywhere.
* [ios] Remove misleading MGLOverlay documentation (#6211)Jason Wray2016-08-301-5/+1
|
* [ios, macos] fix imports (#6209)Fredrik Karlsson2016-08-302-1/+3
|
* [ios] Avoid updating sprite backed annotations in view update method (#6199)Jesse Bounds2016-08-291-25/+5
| | | | | | | | Previously, annotations backed by sprite had their frames updated by the view backed annotation update method. This guards against that by aborting an update for an annotation if an associated view cannot be found. In addition, some dead code is removed.
* ios-v3.4.0-alpha.3ios-v3.4.0-alpha.3Jason Wray2016-08-292-2/+2
|
* [android] - 5844 remove stop gap for update-able shape annotations (#6187)Tobrun2016-08-293-26/+11
| | | | * [android] - remove stopgap updatable shape annotations
* [android] add method addMarkerViews with only one invalidateSylvain HOCQ2016-08-293-6/+22
| | | | | | * add method addMarkerViews with only one invalidate * clean sample BulkMarkerActivity
* [android] add spoon gradle plugin (#6089)Tobrun2016-08-293-0/+14
|
* [android] added missing rotation, cleanup duplicate entries (#6153)Tobrun2016-08-291-4/+1
|
* [android] alpha not applied from builder fix for marker view (#6152)Tobrun2016-08-292-4/+3
|
* [android] #6113 - receiver not registered exception (#6130)Tobrun2016-08-291-2/+4
|
* [android] #5875 - MapboxMap options not parceling drawables (#5984)Tobrun2016-08-293-6/+85
| | | | | | | | | | * [android] #5875 - MapboxMap options not parceling the MyLocationView drawables * [android] #5875 - disabled parceable test for bitmaps * [android] #5876 - correct restoration of bitmapdrawable for unit test * disable check for drawable type
* [android] Anchoring was only set once while it was still unmeasured. There ↵Tobrun2016-08-292-4/+12
| | | | are times that a view is still unmeasured even after a measure call. We need to validate again before setting the offset. (#6154)
* [android] #6083 - add circle example (#6086)Tobrun2016-08-296-4/+191
| | | | | | * add method addMarkerViews with only one invalidate * [android] #6083 - add circle example
* [ios, macos] Specialize color properties by platformMinh Nguyễn2016-08-266-14/+119
| | | | Duplicate each color-typed property once per platform using conditional compilation macros. Let’s just hope we never have to throw CGColor into the mix.
* [ios, macos] Test roundtripping property functionsMinh Nguyễn2016-08-2611-31/+336
|
* [ios, macos] Fixed roundtripping padding functionsMinh Nguyễn2016-08-261-2/+2
|
* [ios, macos] Fixed roundtripping enum valuesMinh Nguyễn2016-08-261-3/+7
| | | | Also support unsetting enumeration-typed properties.
* [ios, macos] Test enum values, not just typesMinh Nguyễn2016-08-265-19/+17
|
* [ios, macos] Fixed getting enum functionsMinh Nguyễn2016-08-261-1/+9
| | | | Fixes #6161.
* [ios, macos] Simplified test code generationMinh Nguyễn2016-08-267-195/+172
|
* [ios, macos] More specific default value typesMinh Nguyễn2016-08-267-96/+97
| | | | The documentation for runtime style API properties now spells out the value of the default type, to help developers infer the type of the property itself.
* [ios, macos] Mark MGLStyleLayer properties null_resettableMinh Nguyễn2016-08-2615-256/+266
| | | | | | If the property is unset, return the default value. Fixes #6126.
* [ios] Improve user location annotation documentationJason Wray2016-08-262-7/+14
| | | | | - Add note to mapView:viewForAnnotation: delegate method. - Edit docs in iosapp's implementation of that delegate method.
* [ios] Ignore non-conforming user location annotation viewsJason Wray2016-08-261-3/+7
|
* [ios] preserve annotation transforms during perspective scalingJustin R. Miller2016-08-262-18/+17
|
* [core] Change GeoJSONSource::getURL() to return an optional<std::string>John Firebaugh2016-08-261-2/+2
| | | | GeoJSON sources may have inline GeoJSON rather than a URL; returning an optional type ensures that consumers handle this case.