summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [core] Rework invokeWithCallback so that the callback is lastJohn Firebaugh2016-09-089-43/+60
|
* [core] Extract WorkTaskImpl from run_loop.hppJohn Firebaugh2016-09-084-83/+106
|
* 6277 disable leak canary during instrumenation tests (#6294)Tobrun2016-09-081-5/+3
| | | | | | * [android] - disable leak canary during instrumentation tests * update leak canary to beta2
* [android] - ensure access token is set when trying to load a style (#6280)Tobrun2016-09-081-0/+6
|
* [core] - add unit test for wrap (#6289)Tobrun2016-09-081-0/+26
| | | | | | * [core] - add unit test for wrap * use double instead of integer
* [android] - run ndk-stack as part of the build (#6288)Tobrun2016-09-081-6/+11
| | | | | | | | * [android] - run ndk-stack as part of the build * Set BUILDTYPE to debug * [android] - correct path ndk-stack arg
* [android] - throw concrete exception when generated test cases fail to read ↵Tobrun2016-09-081-7/+16
| | | | the Activity members (#6281)
* [core] Implement SQLite error logging (#6291)Jason Wray2016-09-082-0/+14
|
* [ios, macos] Put MGLStyleLayer inits in respective classesJesse Bounds2016-09-0827-38/+215
| | | | | | | | | | | | | | | | | | | | | | | Previously, we declared MGLStyleLayer initializers in the MGLStyleLayer protocol as optional methods. This made it easy to opt in and out of initializers that did or or did not make sense for the subclass. However, this approach was dangerous since it was easy for an application developer to initialize an MGLStyleLayer subclass with an init method that was actually not implemented in that class causing an exception at runtime. This commit moves the init methods that each subclass supports to each subclass so xcode (and the compiler) help the developer avoid the previously possible runtime exception. In addition, a new init method is added that takes the source layer and passes that on to `mbgl::style:Layer` (but only on classes where this is possible in core). This allows an application developer to style a specific source layer (i.e. the contour lines of the mapbox terrain vector source). Finally, this refactors MGLStyleLayer classes to use an MGLSource instead of a string identifier for the source when initializing the style.
* [core] change bool *AlongLine to SymbolPlacementTypeKonstantin Käfer2016-09-077-54/+69
|
* [core] change bool onRight to SideKonstantin Käfer2016-09-071-5/+10
|
* [core] change bool round to LinePatternCapKonstantin Käfer2016-09-073-10/+19
|
* [core] change bool overdraw to PaintMode::OverdrawKonstantin Käfer2016-09-0712-55/+83
|
* [core] change bool wrap/repeating to enum class SpritePatternModeKonstantin Käfer2016-09-077-27/+41
|
* [core] change bool to enum class bool TileLoadStateKonstantin Käfer2016-09-0710-21/+28
|
* [android] Remove declaration of deleted method (#6276)John Firebaugh2016-09-071-2/+0
|
* node-v3.3.3node-v3.3.3Mike Morris2016-09-062-1/+7
|
* [node] switch to NodeRequest member fn callbackThiago Marcos P. Santos2016-09-068-16/+83
| | | | | | | | | For (hopefully) better performance than creating a new v8::Context to wrap each callback while still avoiding leaking memory with v8::FunctionTemplate. Adds a JavaScript shim in front of module.exports.Map to wrap the req.respond API internally and preserve the public callback-passing API, while still exporting the correct prototype.
* [core] Observe visibility changesJohn Firebaugh2016-09-067-4/+35
|
* [core] Initial state of Source::Impl::enabled must be trueJohn Firebaugh2016-09-063-2/+12
| | | | Until Style::recalculate() is called to check that there are no visible layers using the source, we have to assume there are. Otherwise, Style::isLoaded() can return a false positive.
* [core] Batch source updatesJohn Firebaugh2016-09-065-16/+46
|
* [core] Avoid triggering re-layout of fill annotation sourceJohn Firebaugh2016-09-062-13/+11
|
* [core] Trigger Source::Impl::reload when a filter or layout property is modifiedJohn Firebaugh2016-09-066-43/+107
|
* [core, ios, android, qt] Observe style layer mutations rather than requiring ↵John Firebaugh2016-09-0633-148/+426
| | | | | | 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.
* [core] Add missing classed paint property getterJohn Firebaugh2016-09-0615-149/+149
|
* [core] Prepare style observer interfaces for source reloadingJohn Firebaugh2016-09-0611-33/+28
| | | | | * Renamed {Source,Tile}Observer::onNeedsRepaint to onTileUpdated. Messages should be in terms of what happened to the observed object, not in terms of what the observer needs to do. This also removes a confusing overlap of virtual methods on StyleObserver. * Added style::Observer::onUpdate(Update). This is also a violation of the above rule, but I'm hopeful that it will disappear when update batching is implemented.
* [core] Add Source::Impl::reloadJohn Firebaugh2016-09-069-27/+96
|
* [core] Ensure that TileWorker can retain tileData after layoutJohn Firebaugh2016-09-067-1/+17
|
* [core] Delete the now-unused ptr.hppJohn Firebaugh2016-09-065-30/+0
|
* [core] Eliminate use of util::ptr in GeometryTile* interfacesJohn Firebaugh2016-09-068-63/+41
|
* [core] Create GeoJSONTile{Layer,Feature} objects lazilyJohn Firebaugh2016-09-061-34/+26
| | | | Avoids conversion to GeometryCollection and clipping for features that are not used.
* [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
|
* [core] remove unused TimePoint during Source updateKonstantin Käfer2016-09-055-10/+0
|
* [core] Source::update => Source::{load,parse}Tiles, Source::load => ↵Konstantin Käfer2016-09-0512-36/+39
| | | | Source::loadDescription
* [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
|
* upgrade to protozero 1.4.2 (#6227)Dane Springmeyer2016-08-312-1/+1
|
* [ios] Add -ObjC to static podspec; update custom CocoaPods stepsJason Wray2016-08-312-27/+9
|
* update filter doc usage example (#6202)Dane Springmeyer2016-08-311-5/+2
|
* [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.