summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [android] - remove deprecated emerald (#7767)Tobrun2017-01-186-39/+6
| | | | | [android] - remove deprecation annoation for setStyle [android] - dismiss tracking on gesture deprecation cleanup
* [build] Avoid creating a recursively symlinked node_modulesJohn Firebaugh2017-01-181-1/+1
| | | | With the previous command, the second time it would run generated a node_modules symlink inside the top-level node_modules directory.
* [core] Fix calculation of delayed transitionsJohn Firebaugh2017-01-173-0/+99
|
* [core] Disable debug groups in release buildsJohn Firebaugh2017-01-172-36/+38
|
* [core] Restore GL_KHR_debug messages in release buildsJohn Firebaugh2017-01-173-17/+8
| | | | This reverts commit 8c4da72d09e585bd10d030129c99e1e609a2d2f9.
* [linux] No need for CXXABI suffix for mesaJohn Firebaugh2017-01-171-6/+2
|
* [core] abort early when placing a glyph in GlyphAtlas if the bitmap is invalidKonstantin Käfer2017-01-172-2/+52
|
* [core] harden Glyph PBF parsingKonstantin Käfer2017-01-178-12/+230
|
* [core] Use std::tie in tileCover sortBruno de Oliveira Abinader2017-01-171-2/+1
|
* [core] Use std::tie in *TileID operator<Bruno de Oliveira Abinader2017-01-171-3/+3
|
* [core] Use std::tie in Source::Impl::queryRenderedFeatures sortBruno de Oliveira Abinader2017-01-171-3/+2
|
* [test] add tests for paths with leading slashesKonstantin Käfer2017-01-171-0/+34
|
* [core] include leading slash in URL.pathKonstantin Käfer2017-01-173-35/+30
|
* [core] update CSSColorParserKonstantin Käfer2017-01-162-9/+19
|
* Merge branch '1ec5-release-ios-v3.4.0-beta.7'Minh Nguyễn2017-01-16199-3190/+11320
|\
| * Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.7Minh Nguyễn2017-01-16199-3190/+11320
| |\
| | * [ios, macos] Correct podspecs, readmes (#7730)Minh Nguyễn2017-01-166-24/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [macos] RC 1 errata Synchronized bundled README installation instructions with those in INSTALL.md. Bumped screenshot up a bit. Corrected link to published documentation. * [ios, macos] Corrected podspec URLs Fixed podspec linter errors. The podspecs were pointing to unreachable (or soon to be unreachable) screenshot URLs. The -symbols podspecs’ names additionally needed to differ from the normal podspecs’ names.
| | * [macos] Upgrade macOS deployment and distribution (#7649)macos-v0.3.0-rc.1Minh Nguyễn2017-01-1514-47/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [macos] Updated deployment scripts Ported fixes from #6581 and #6740. * [macos] Acknowledge AppleScript support * [macos] Prepared for published documentation Also added link to Dash docset. * [macos] Added CocoaPods podspecs Ported from #5653. * [macos] Rewrote readme; updated screenshot * [macos] Include setup instructions in standalone docs
| | * [ios, macos] Default to system font for attribution titlesMinh Nguyễn2017-01-141-1/+12
| | |
| | * [ios] Add larger polyline to iosapp test shapesJason Wray2017-01-131-0/+11
| | |
| | * [ios, macos] Revert deprecation of alphaForShapeAnnotation: delegate methodJason Wray2017-01-138-32/+41
| | |
| | * [ios, macos] Rewrote style layer testsMinh Nguyễn2017-01-1329-1090/+3846
| | | | | | | | | | | | | | | | | | | | | | | | Replaced the style layer integration tests with unit tests. Test conversion of style values to property values and vice versa, not just round-tripping. Test the initial state and null-resetting of each null-resettable property. Test NSValue additions for style attribute enumerations. Test properties common to all style layer classes. Test MGLStyle’s source and layer collections. Eviscerated implementations of unavailable style layer properties corresponding to style specification properties that were renamed. Implemented corresponding getters to prevent ivars from being autosynthesized for these unavailable properties. Added a missing bridging header to the iOS test project.
| | * [ios, macos] Fixed nilling out predicateMinh Nguyễn2017-01-125-6/+6
| | |
| | * Fixed link in “Working with GeoJSON Data” guideMinh Nguyễn2017-01-121-1/+1
| | |
| | * [ios, macos] Note that MGLShapeSource.shape must be set on main thread (#7687)Minh Nguyễn2017-01-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Add Clarification for modifying ShapeCollections Spinoff task from https://github.com/mapbox/mapbox-gl-native/issues/7622 * update wording for both get/set, remove whitespace
| | * [ios, macos] Document simpler types for style values in SwiftMinh Nguyễn2017-01-124-12/+12
| | |
| | * [ios, macos] Made style-related tests more robustMinh Nguyễn2017-01-122-36/+25
| | | | | | | | | | | | Removed UIViewController from MGLStyleLayerTests on iOS, because we aren’t really testing integration at that level. Switched to delegate-based expectation fulfillment for both MGLStyleLayerTests and MGLStyleTests, conditionalized on whether the style has already loaded, to avoid race conditions that bleed into other tests.
| | * [ios] Release v3.4.0-beta.7ios-v3.4.0-beta.7Jason Wray2017-01-112-2/+2
| | |
| | * [ios, macos] Add convenience initializers to shape source (#7665)Jesse Bounds2017-01-117-8/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds two new convenience initializers to MGLShapeSource: -initWithIdentifier:features:options: takes an array of shape objects that conform to MGLFeature, inserts them in a shape collection feature and creates a source with that shape. -initWithIdentifier:shapes:options does the same but with concrete MGLShape objects that get added to a shape collection. Throw an exception if an shape source is created with the features initializer but is sent an array of features that contains something that is not actually an object that conforms to the feature protocol. Updates to geojson data guide Qualify APIs that take arrays of shapes that are features
| | * Flush telemetry cache when data collection is paused (#7672)Jesse Bounds2017-01-113-54/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ios] Flush telemetry cache when data collection is paused This flushes the cache just before pausing so that data collected before the pause is not thrown away. It also refactors event creation to avoid possible nil value inserts into dictionaries and adds a small optimization to avoid creating immutable dictionaries to help create mutable ones. Also: - Remove cancel API in API client The cancelAll API is not used. The array of data tasks it maintains has proven problematic. This removes the API and the problematic implementation. As safer version of it can be brought back if cancel task functionality is required in the future. - Remove unused battery method
| | * [ios] Optional positioning and stickiness for callout viewFredrik Karlsson2017-01-116-22/+98
| | |
| | * [macos] Run style layer tests headlessly (#7684)Minh Nguyễn2017-01-111-9/+14
| | | | | | | | | | | | | | | | | | * [macos] Run style layer tests headlessly * [ios, macos] How about a manual expectation?
| | * [ios] Copy-edit guides (#7680)Jason Wray2017-01-113-38/+35
| | |
| | * [ios, macos] Make MGLMapView.style property nullable (#7664)Minh Nguyễn2017-01-1118-90/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Made MGLMapView.style property nullable MGLMapView’s style property is now nullable (optional in Swift). The property is set to nil while the style loads and in the event that the style has failed to load. * [ios, macos] Switch to delegate method * [macos] Create MGLMapView programmatically for layer tests When MGLMapView is created via a nib, -initWithCoder: is called, causing styleURL to be set to nil, in turn causing the default Streets style to be loaded, fooling MGLStyleLayerTests into thinking one-line has been loaded. Instead, create MGLMapView programmatically, passing the intended style URL into the initializer, preventing Streets from being loaded.
| | * [ios, macos] Fix miscellaneous static analyzer warnings (#7670)Minh Nguyễn2017-01-116-22/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Fixed static analyzer warnings Fixed static analyzer warnings in MGLNetworkConfiguration, MGLRasterSource, and MGLShape. * [ios] Fixed static analyzer warnings Fixed static analyzer warnings in MGLAnnotationImage. * [macos] Fixed static analyzer warnings Fixed static analyzer warnings in MGLAnnotationImage and NSImage(MGLAdditions). * [ios, macos] Two pointer-equal images are object-equal by definition
| | * [ios] Require Xcode 8 to build iosappMinh Nguyễn2017-01-111-1/+1
| | | | | | | | | Fixes #6873.
| | * [macos] Fixed exception on certain keyboard shortcutsMinh Nguyễn2017-01-111-1/+1
| | | | | | | | | | | | An implementation of -validateMenuItem: should rarely call the superclass implementation.
| | * [ios, macos] Title case attribution buttonsMinh Nguyễn2017-01-106-1/+82
| | | | | | | | | | | | Also added a category method on NSString for title casing the string, plus tests.
| | * [ios, macos] Replace <q> tags with quotation marks in code blocksMinh Nguyễn2017-01-091-0/+5
| | |
| | * [ios, macos] Added MGLShape from GeoJSON exampleMinh Nguyễn2017-01-093-1/+21
| | | | | | | | | | | | Added an example of deserializing an MGLShape from a GeoJSON file.
| | * [macos] Include pitch in shared URLMinh Nguyễn2017-01-091-3/+4
| | |
| | * Happy new year! 🎉Minh Nguyễn2017-01-098-8/+8
| | | | | | | | | | | | Cherry-picked from b35deb85bc6042380ae0e7154d02faef595cfcf7.
| | * [ios, macos] Cleaned up color, edge insets declarations, commentsMinh Nguyễn2017-01-096-36/+67
| | | | | | | | | | | | Eliminated references to MGLColor within style layer headers.
| | * [macos] Flip offsets and translationsMinh Nguyễn2017-01-098-21/+169
| | | | | | | | | | | | The screen origin is at the lower-left, so offsets and translations increase rightwards and upwards, in contrast to iOS and Web contexts, where the coordinate system increases rightwards and downwards. Duplicated style layer property declarations to reflect this difference.
| | * [ios, macos] Note reversed order in NS/UIEdgeInsetsMinh Nguyễn2017-01-093-0/+15
| | |
| | * [ios, macos] Clarified CGVector, NS/UIEdgeInsets accessorsMinh Nguyễn2017-01-093-9/+17
| | |
| | * [ios, macos] Document that MGLShape can deserialize GeoJSON (#7638)Jesse Bounds2017-01-081-0/+4
| | |
| | * [ios, macos] Test unclusterable shape source shapesMinh Nguyễn2017-01-081-0/+13
| | |
| | * [core] Avoid clustering unclusterable GeoJSONMinh Nguyễn2017-01-081-9/+10
| | | | | | | | | | | | Ignore empty feature collections or non–feature collections for the purposes of clustering or tiling. A source’s clustering option can only be set when the source is constructed, but setGeoJSON() enables the developer to swap a clusterable feature for an unclusterable geometry and back.
| | * Document requirement about adding sources and layers (#7634)Jesse Bounds2017-01-082-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Document requirement about adding sources and layers Sources and layers added outside of mapView:didFinishLoadingStyle: and mapViewDidFinishLoadingMap: are not guaranteed to appear since the map may not be fully loaded and ready to accept new sources and layers. This also fixes a compiler warning in iosapp.