summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [android] - revisit fling implementation details for large screensize supportupstream/tobrun-revisit-fling-gestureTobrun Van Nuland2017-01-172-10/+13
|
* [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.
| | * [ios, macos] Allow creation of shape collections with no shapes (#7632)Jesse Bounds2017-01-085-2/+12
| | |
| | * [ios] Only use non nil presentationLayers to adjust annotation views (#7626)Jesse Bounds2017-01-081-1/+6
| | | | | | | | | | | | | | | | | | Views that are added outside of the viewport do not always have an instantiated presentationLayer. Attempting to use a nil presentationLayer to move a view offscreen resulted in the view being pinned to the left side of the view port (at x == 0).
| | * [ios, macos] Fixed links to paint properties in style specMinh Nguyễn2017-01-076-17/+26
| | |
| | * [ios, macos] -translate → -translationMinh Nguyễn2017-01-0717-217/+361
| | |
| | * [ios, macos] Renamed text-field, text-font, text-font-size, circle-pitch-scaleMinh Nguyễn2017-01-0714-176/+272
| | | | | | | | | | | | Reduced the likelihood that the developer might attempt to set textField to an NSTextField or UITextField, or textFont to an NSFont or UIFont, or textSize to a CGSize or NSSize, or circlePitchScale to a number (given iconScale).
| | * [ios, macos] Keep style attribute NSValue categories near enum declarationsMinh Nguyễn2017-01-0719-558/+473
| | | | | | | | | | | | Eliminated the separate NSValue+MGLStyleLayerAddition files, moving the categories into their respective style layer headers to be closer to the enumeration declarations.
| | * [ios, macos] Split NSValue+MGLStyleEnumAttributeAdditions category per style ↵Minh Nguyễn2017-01-0715-391/+387
| | | | | | | | | | | | | | | | | | layer type Also renamed the file to have a slightly more wieldy name.
| | * [macos] Arrange layers top to bottom in sidebarMinh Nguyễn2017-01-065-4/+61
| | | | | | | | | | | | Implemented a reversedLayers property on MGLStyle based on the layers property.
| | * [ios, macos] Relaxed sources, layers typeMinh Nguyễn2017-01-052-8/+8
| | | | | | | | | | | | Refined the types of MGLStyle’s sources and layers types so that Objective-C code can easily send messages intended for subclasses of MGLSource or MGLStyleLayer that are contained in one of these containers.
| | * [ios, macos] Sources, layers properties are immutableMinh Nguyễn2017-01-052-6/+6
| | | | | | | | | | | | If you need a mutable array of layers, use -mutableArrayValueForKey:.
| | * [macos] Fixed changelog parsingMinh Nguyễn2017-01-051-1/+1
| | | | | | | | | | | | Updated changelog parsing code to handle subheadings within release notes.
| | * [ios] Link guides to each otherMinh Nguyễn2017-01-044-8/+15
| | |