summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [core] Use ICU for Arabic text supportupstream/ios-v3.4.0-arabicChris Loer2017-01-0919-124/+447
| | | | | - Supports bidirectional text layout - New "raggedness minimizing" line breaking algorithm
* [core] Bump standard library to libstdc++5-dev and clang version to 3.8. (#6991)Chris Loer2017-01-071-18/+18
|
* [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
|
* [ios, macos] Move Info.plist keys down in jazzy sidebarEric Wolfe2017-01-042-2/+2
|
* [ios] Runtime styling guide fixesEric Wolfe2017-01-041-5/+1
|
* [ios, macos] Split For Style Authors guideMinh Nguyễn2017-01-044-71/+403
| | | | Information for Style Authors is now two separate guides, one for iOS and one for macOS. Both are compiled from the same template. Added language about rotation, tilting, and printing.
* [ios, macos] Compare source options to specsMinh Nguyễn2017-01-044-2/+120
|
* [ios, macos] Added guide for style authorsMinh Nguyễn2017-01-045-3/+460
| | | | Added a guide to orient JSON stylesheet authors and Mapbox Studio users around the runtime styling API. An introductory section details the many considerations for designing a robust style for use with iOS and macOS devices.
* [ios, macos] Added guide for working with GeoJSONMinh Nguyễn2017-01-046-6/+97
|
* [ios, macos] Insert example code in original headers (#7569)Minh Nguyễn2017-01-0423-205/+437
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Removed extraneous code fences * [ios] Streamlined example delimiters Use test method names as names of example blocks and test method documentation comments as front matter for examples. Set off example blocks using a syntax similar to playground markup syntax. Avoid hard-coding indentation levels. Trigger Xcode build error when an error occurs in the script. * [ios] Removed platform-specific code from examples * [ios] Fixed logic error The comment said 200 while the code said 1,500. * [ios] Formalize build phase input * [ios] Insert examples into original source documentation Rewrote the example code insertion script to work on the original source files and overwrite any existing code examples on the same symbols. The script uses SourceKitten to find the documentation comment for the symbol named by the test method. Replaced the Run Script build phase that runs the example code insertion script with a make rule that runs the same script. Inlined skeleton examples minus the contents of the code blocks. * [ios] Fixed syntax error * [ios] Ran ios-add-examples-to-docs * [ios] Avoid touching unchanged headers * [ios] Refactored example insertion script * [ios] Point jazzy at original sources * [ios] Invoke SourceKitten only once * [ios] Look for methods as well as properties * [ios] Thoroughly search for code blocks in doc comments Refactored the example code insertion script to index test methods by their names, then recursively search the SourceKitten output for documentation comments that contain Swift code blocks, replacing each code block with the associated test method body. * [ios, macos] Enabled example insertion for macOS The example code insertion script is now platform-agnostic. * [ios, macos] Fixed documentation example tests Set the map view’s style to a minimal local JSON file. Wait for the style to finish loading before running each test. Corrected CGVector type. * [ios, macos] Dry run mode The output of this mode isn’t a good indicator of whether any files would’ve needed to be changed, because the presence of a conditional compilation block in one of the test methods means this script would always change and revert the corresponding comment. * [ios] Fixed test failure The iOS implementation of MGLMapView tries to show the Streets style by default even if no access token has been set. Avoid a race condition and frequent test failure by specifying the minimal style on initialization. * [ios, macos] Ensure SourceKitten is installed before inserting example code * [ios, macos] Tear down map view after each test Keep map views from previous tests from hanging around, potentially obscuring the result of a subsequent test. Set the access token to a bogus token upfront for all style layer tests. Unified MGLStyle usage within MGLStyleTests. * [ios, macos] Reinsert examples after generating runtime styling headers
* [ios, macos] Note that no modifier operators are supportedMinh Nguyễn2017-01-041-5/+7
| | | | There’s also an “l” operator for locale sensitivity.
* [ios, macos] Cleaned up expression conversionMinh Nguyễn2017-01-048-92/+95
|
* [ios, macos] Rewrote predicate/filter conversionMinh Nguyễn2017-01-048-306/+696
| | | | | | | | | | 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.
* [core] Filter operator==John Firebaugh2017-01-041-1/+59
|
* [ios] Adds guides to documentation sidebar (#7488)Eric Wolfe2017-01-0320-9/+250
| | | Initial set of guides focused on runtime styling
* Implement MGLForegroundStyleLayer.sourceIdentifier (#7570)Fredrik Karlsson2017-01-036-2/+45
| | | | | | * [ios, macos] sourceIdentifier accessor methods * [ios, macos] generate style code
* [ios, macos] Aliased MGLMultiPointFeature to MGLPointCollectionFeatureMinh Nguyễn2017-01-023-2/+5
|
* [ios] Document that offline pack resource removal is not guaranteed (#7522)Jason Wray2016-12-231-2/+9
| | | Text adapted from: https://www.mapbox.com/help/mobile-offline/#removing-offline-regions
* [ios, macos] Fixed iosbench buildMinh Nguyễn2016-12-237-4/+12
| | | | Fixed a stale include in iosbench. MGLMapView(Private) forward-declares mbgl::Map instead of including mbgl.hpp, which iosbench has no access to.
* [ios] Release beta 6 (#7535)ios-v3.4.0-beta.6Jesse Bounds2016-12-232-2/+2
|
* [ios, macos] Fixed null expression crashMinh Nguyễn2016-12-232-2/+12
| | | | Convert NSNull into an mbgl null value.
* [ios, macos] Updated changelogsMinh Nguyễn2016-12-232-0/+4
|
* [ios, macos] Expand documentation on MGLTileSource URL templates (#7213)Justin R. Miller2016-12-221-2/+90
| | | | | | | | | | * provide better docs for MGLTileSet template strings * clean up docs * line breaks * [ios, macos] Rewrote tile URL template docs
* [ios, macos] features and annotations now conforms to NSSecureCodingFredrik Karlsson2016-12-2226-19/+1072
|
* [ios, macos] reversed MGLStyle.layersFredrik Karlsson2016-12-223-11/+44
|
* [ios] Correct formatting and typos in MGLStyleValue documentation (#7515)Jason Wray2016-12-211-6/+6
|
* [ios, macos] Reorder classes in jazzy docs sidebar (#7338)Eric Wolfe2016-12-212-56/+74
|
* [ios] Add inline examples in documentation (#7337)Eric Wolfe2016-12-2116-4/+341
|
* [ios, macos] Removed trailing whitespaceMinh Nguyễn2016-12-212-3/+3
|
* [macos] Refactored label localizationMinh Nguyễn2016-12-204-32/+105
| | | | Localize only Mapbox Streets v6–v7, and do so more systematically than before.
* [ios, macos] Added URL accessor to MGLTileSourceMinh Nguyễn2016-12-204-0/+27
|
* [core] Added URL accessor for tile sourcesMinh Nguyễn2016-12-208-6/+32
|
* [ios, macos] Indicate protocols, abstract classes in documentation ↵Minh Nguyễn2016-12-202-1/+26
| | | | | | | | | | | | navigation (#7478) * [ios, macos] Italicize protocols, abstract classes in doc nav Italicize protocols and abstract classes in the generated documentation’s navigation sidebar. * [ios, macos] Denote protocols, abstract classes with glosses Instead of oblique text, use a parenthetical gloss to denote a protocol or abstract class.
* [ios, macos] Omit perspectiveSkew from drawing context structMinh Nguyễn2016-12-202-2/+0
|
* [ios, macos] Update and reformat documentation for runtime styling (#7475)Minh Nguyễn2016-12-2027-485/+1137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Optimized changelog for runtime styling Changelog entries related to style JSON now lead off with the analogous portion of the runtime styling API. * [ios, macos] Autolink cross-class property references in docs jazzy can autolink `Class.property` references in documentation comments. * [ios, macos] Removed extra blank lines * [ios, macos] Corrected typo in MGLMultiPoint docs * [ios, macos] Rewrote shape and feature docs Rewrote documentation about MGLShape, its subclasses, and MGLFeature to emphasize runtime styling uses over annotation uses, associate each type with real-world concepts, cross-reference related style layer classes, and cross-reference related or easily confused shape classes. Links to the GeoJSON specification have been updated to RFC 7946. * [ios, macos] Expanded style layer docs With this change, documentation about style layer classes is nominally based on the documentation in the style specification. However, all the existing layer types’ documentation has been overridden to explain what the layer looks like, relate the layer to a real-world concept, and cross-reference related geometry classes. This change also corrects the description of MGLBackgroundStyleLayer, which erroneously stated that the identifier must be “background”, whereas that only happens to be true by default for Studio template styles. * [ios, macos] Wrap style layer docs * [ios, macos] Removed unused code * [ios, macos] Corrected symbol references in docs * [ios, macos] Corrected typo in abstract class exception
* [ios, macos] Rename base to interpolationBase (#7486)Jesse Bounds2016-12-194-34/+34
|
* [ios, macos] Document when it's safe to call runtime styling functions (#7335)Eric Wolfe2016-12-181-7/+17
| | | | | | * Add notes to wait for map to finish loading before adding sources or layers * Move style loading notes to class documentation
* [ios, macos] Highlight current topic in documentation (#7468)Minh Nguyễn2016-12-163-2/+16
| | | | | | * [ios, macos] Highlight current topic in docs * highlight style
* iOS jazzy theme improvements (#7422)Maya Gao2016-12-1617-142/+276
| | | some small improvements to the theme
* Use appropriate part of speech for properties (#7457)Minh Nguyễn2016-12-1629-243/+751
| | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Use appropriate part of speech for properties Fixed overridden property references in requirements lists. Boolean-typed properties can now have getters beginning with “is”. Renamed a number of layout properties according to the following rules: Boolean-typed properties should include a verb; other properties must be noun phrases; all properties must be grammatical. * [ios, macos] Added style spec names as unavailable aliases Renamed properties now have aliases based on their style specification names, marked unavailable, for wayfinding purposes. * [ios, macos] Fixed autosynthesis warnings * [ios, macos] Moved style layer test template to test folder * [ios, macos] Customized iconOptional getter * [ios, macos] Avoid autosynthesis of aliases * [ios, macos] Test that property names are grammatical Run property getter names through a basic battery of tests to see if they’re grammatical. Most part-of-speech tagging tests are guarded by a compile-time flag, off by default, because NSLinguisticTagger does a poor job of telling nouns from verbs, and we’ve intentionally kept many words in property names that could be read as either verbs or nouns (like “transform” or “scale”).
* [ios, macos] Corrected return type of MGLShape factory methodMinh Nguyễn2016-12-162-2/+2
|
* [ios] [osx] Make theme configurable (#7420)Tom MacWright2016-12-151-1/+4
| | | | | | * Make theme configurable * [ios][osx] Make jazzy theme configurable
* [ios] Remove last remnants of appledoc & docsets (#7418)Jason Wray2016-12-142-41/+0
| | | These scripts are broken and no longer useful in a post-jazzy world.
* [ios] Updated changelog for iOS 3.4.0 beta 5ios-v3.4.0-beta.5Jesse Bounds2016-12-141-0/+1
|
* [ios] Update podspec for release 3.4.0 beta 5Jesse Bounds2016-12-142-2/+2
|
* [core] Port ensure a non-zero source tile cache size (#7438)Jesse Bounds2016-12-141-2/+2
| | | | | This ports https://github.com/mapbox/mapbox-gl-native/pull/7242/ commits/2d323211af54499d5c822b8e45d7415bf92112f0 to the iOS 3.4.0 release branch.