273 Commits

Author SHA1 Message Date
Jeff Verkoeyen
6b935abea5 Handle API declaration changes in api_diff.
Summary:
Example output:

- [declaration changed] [`-[MDCCollectionViewStylingDelegate collectionView:didRemoveInlayFromItemAtIndexPaths:]`](6c8ca27405/components/Collections/src/MDCCollectionViewStylingDelegate.h (L112)).
```
- (void)collectionView:(nonnull UICollectionView *)collectionView didRemoveInlayFromItemAtIndexPaths:(nonnull NSArray *)indexPaths
- (void)collectionView:(nonnull UICollectionView *)collectionView didRemoveInlayFromItemAtIndexPaths:(nonnull NSArray<NSIndexPath *> *)indexPaths
```

Closes https://github.com/google/material-components-ios/issues/536.

Reviewers: O1 Material components iOS, cjcox

Reviewed By: O1 Material components iOS, cjcox

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D891
2016-05-23 13:17:18 -04:00
Jeff Verkoeyen
4bc99e8ad0 Point to jverkoey objc-diff fork and improve api_diff output.
Summary:
- api_diff now handles APIs that have moved to a new file.
- jverkoey/objc-diff correctly handles deprecated API changes.

Reviewers: O1 Material components iOS, randallli

Reviewed By: O1 Material components iOS, randallli

Subscribers: randallli

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D890
2016-05-23 12:39:12 -04:00
randallli
af16f25484 [Releasing] Adjusted a command to suppress lint prompt with a prepared excuse.
Summary: Also added a checklist item to discourage landing the diff.

Reviewers: featherless, #mdc_ios_owners

Reviewed By: featherless, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D882
2016-05-20 11:20:32 -04:00
randallli
8a7d7cfab1 [release scripts] Fix error messaging for release cut script.
Reviewers: #mdc_ios_owners, featherless

Reviewed By: #mdc_ios_owners, featherless

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D876
2016-05-18 15:47:59 -04:00
Chris Cox
1015e39dc1 Marks text as inline code within the From|To|Kind blocks of release notes.
Reviewers: #mdc_ios_owners, featherless

Reviewed By: #mdc_ios_owners, featherless

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D861
2016-05-13 10:30:34 -04:00
Jeff Verkoeyen
4197f3311f Upgrade arc-xcode-test-engine to v3.0.3.
Summary:
Resolves issues with Xcode 7.3 and arc unit's coverage reporting.

See the v3.0.3 release notes: https://github.com/google/arc-xcode-test-engine/releases/tag/v3.0.3

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D821
2016-05-04 15:03:23 -04:00
Louis Romero
8c046ad42c Remove icons' assets catalog.
Summary:
Assets catalogs require to use imageNamed:. Since we want Icons to let clients
handle the caching, we only provide the path for the resource in our bundle.

Closes https://github.com/google/material-components-ios/issues/467.

Test Plan:
Build the catalog and verify that CollectionCells' accessory images are
displayed correctly for all resolutions and configurations.

Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Subscribers: featherless

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D793
2016-04-29 18:49:30 +02:00
Adrian Secord
aad2d08051 Release candidate.
Summary:
Checklist:

- [ ] Ran `arc unit --everything`.
- [ ] Ran `scripts/build_all_pod_projects`.
- [ ] Ran `scripts/release/api_diff` and pasted the results into CHANGELOG.md.
- [ ] Ran `scripts/release/changes` and pasted the results into CHANGELOG.md.
- [ ] Visually inspected the API diff to ensure it accurately reflects the release's changes.
- [ ] Ran `scripts/release/diff components/*/src/` and visually inspected the changes.
- [ ] Ran `scripts/release/bump` with the new version number.
- [ ] Updated CHANGELOG.md's latest section header to match the release's version number.

Reviewers: #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D791
2016-04-28 13:39:56 -04:00
Yiran Mao
45203d9be2 Update the build script with deploy to partner restricted site. 2016-04-27 16:15:16 -04:00
Jeff Verkoeyen
2b0359e1c5 Use rev-list to retrieve a ref's sha in scripts/api_diff.
Summary:
`git rev-list -n 1 <ref>` returns the nearest commit's sha for a given ref.
`git rev-parse <ref>` returns the sha for the ref itself. E.g. tags have their own sha distinct from the commit to which they're associated.

GitHub doesn't reconcile shas for tags, so `git rev-list` ensures that our api_diff output will always be linkable on GitHub.

Reviewers: #mdc_ios_owners, iangordon

Reviewed By: #mdc_ios_owners, iangordon

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D787
2016-04-27 16:08:27 -04:00
Jeff Verkoeyen
5b3a6cf2ee Add temporary_clone_at_ref script and use it in api_diff.
Summary: This script is a general-purpose tool for creating a clone of the repo at a specific ref. It will be helpful for use in other API diffing tools.

Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D784
2016-04-27 15:43:13 -04:00
Jeff Verkoeyen
0454b94f51 Pull objc-diff installation out to its own script.
Summary:
This will allow us to more easily use objc-diff in other tools.

New script has two "modes":

- No arguments: clones and builds objc-diff
- -p: Echos path to the objc-diff binary and exits (produces no other output)

Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D783
2016-04-27 15:40:15 -04:00
Ian Gordon
90c0be6af2 [Internal] Fix next script
Summary:
Update script to properly set minor and patch levels to 0 if a
'higher' level has been incremented.

Reviewers: featherless, #mdc_ios_owners

Reviewed By: featherless, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D785
2016-04-27 15:24:35 -04:00
Jeff Verkoeyen
b1e046a5a6 Update arc-xcode-test-engine to 3.0.2.
Summary:
Changelog for 3.0.1 at https://github.com/google/arc-xcode-test-engine/releases/tag/v3.0.1:

* If tests fail to build we no longer generate a  `Unhandled Exception ("PhutilTypeMissingParametersException")` exception on Phabricator. We were not previously providing a name to the ArcanistUnitTestResult instance.

Changelog for 3.0.2 at https://github.com/google/arc-xcode-test-engine/releases/tag/v3.0.2:

* Resolves crash caused by referencing the wrong stderr variable. The error was `Attempt to read from undeclared property XcodeUnitTestEngine::stderr`.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D775
2016-04-27 11:48:31 -04:00
Jeff Verkoeyen
c2e268eda0 Update arc-xcode-test-engine to 3.0.0.
Summary:
This release allows `arc unit` to be run from sub-directories.

3.0.0 release notes (https://github.com/google/arc-xcode-test-engine/releases/tag/v3.0.0):

- Commands now always run from the root directory of the project rather than from the shell's current working directory. This may be a breaking change.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D772
2016-04-27 10:57:03 -04:00
Jeff Verkoeyen
309a38b619 Add script for exporting patches to other repositories.
Summary:
The script is optimized for working with repositories where MDC is located in a sub-directory.

Example invocation:

    ~/workbench/material-components-ios/scripts/release/export-patch -p prefix/third_party/material_components_ios -c 757c0ec76413f0bd92b92ddc13692e803c6e0bff | git am

Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D766
2016-04-27 10:23:40 -04:00
Jeff Verkoeyen
79242099f4 Add release script for generating a commit log.
Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D763
2016-04-26 15:38:56 -04:00
Jeff Verkoeyen
bd0a6c61d2 Always run release scripts from the git repo's root directory.
Summary: This allows the release scripts to be run from elsewhere in the file system. This will help write scripts that allow us to run release-candidate bisecting on the release branch.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D764
2016-04-26 15:38:08 -04:00
Jeff Verkoeyen
2ae6ea073b [releasing] changes script now emphasizes breaking commits.
Summary:
Will turn [ComponentName]! into "**Breaking:**" in the output.

Example:

## Component changes

### AppBar

* [**Breaking**:  NSLog warning to NSAssert for incorrect parentViewController behavior.](8f3c3f8607) (randallli)
* [Remove mention of deprecated API.](1b35fe48b4) (Louis Romero)
* [Remove obsolete jazzy.yaml files.](fffb75e91e) (Yiran Mao)
...

Closes https://github.com/google/material-components-ios/issues/362.

Reviewers: #mdc_ios_owners, iangordon, ajsecord

Reviewed By: #mdc_ios_owners, iangordon, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D760
2016-04-26 14:12:27 -04:00
Chris Cox
7598638db3 [CollectionCells] Updates cells to depend on MDCIcons for editing and accessory icons.
Summary:
- Updates podspec to use these new dependancies.
- Removes private cell resource class.

Reviewers: cjcox, #mdc_ios_owners, featherless

Reviewed By: #mdc_ios_owners, featherless

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D751
2016-04-25 12:38:09 -04:00
Yiran Mao
32251b3903 Make build site script work in forked repositories.
Designated GITHUB_REMOTE always to the main repository.
As a consequence, the community is able to update the content but not styling the site, unless they modify the script.
2016-04-22 17:16:41 -04:00
Jeff Verkoeyen
977626313e Update .jazzy.yaml module property.
Summary: This property name changed in jazzy 0.6.0 from `module_name` to `module`.

Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D619
2016-04-15 11:32:09 -04:00
Jeff Verkoeyen
89d096c45c Iterations to the releasing.md document and process.
Summary:
- Add TODO in release/cut's CHANGELOG modification to ensure that the version number is provided.
- Add build_all_pod_projects.

Added to releasing.md:

- Section on "Send the release out for review"
- Building and running the pod projects.
- Broke out the version bumping scripts to minimize copy-pasting errors.
- Add list of clients that must confirm a release before it lands.

Closes https://github.com/google/material-components-ios/issues/353
Closes https://github.com/google/material-components-ios/issues/352

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D617
2016-04-14 20:28:22 -04:00
Jeff Verkoeyen
93233b2892 [objc_diff] Handle more API diff modification types.
Summary:
- Changing protocols.
- Changing property attributes.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D588
2016-04-13 10:01:04 -04:00
Jeff Verkoeyen
7de760ad62 Fix install_proselint script.
Summary: We now uninstall and reinstall in order to force pip to give us the latest version.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D575
2016-04-12 14:40:07 -04:00
Jeff Verkoeyen
2cb18a209b Add missing example language check.
Summary:
Example output:

```
Each of the following components is missing example language:
components/FlexibleHeader/README.md:131
components/FlexibleHeader/README.md:159
components/FlexibleHeader/README.md:231
components/FlexibleHeader/README.md:322
components/FlexibleHeader/README.md:352
components/HeaderStackView/README.md:88
components/Ink/README.md:90
components/Ink/README.md:109
components/Ink/README.md:142
components/PageControl/README.md:121
components/PageControl/README.md:170
components/ShadowElevations/README.md:71
components/ShadowLayer/README.md:104
components/ShadowLayer/README.md:125
components/ShadowLayer/README.md:140
components/ShadowLayer/README.md:166
components/Slider/README.md:76
components/Switch/README.md:80
```

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D572
2016-04-12 14:37:52 -04:00
Jeff Verkoeyen
94d1e5927e Echo all commands during install.
Summary: Closes https://github.com/google/material-components-ios/issues/316.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D569
2016-04-12 14:35:52 -04:00
Jeff Verkoeyen
db7c9da1e9 Add regex-line-length-lint.
Summary: This linter is able to ignore lines that match certain regexes, lowering our rate of linter false-positives.

Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Subscribers: iangordon

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D477
2016-04-12 09:55:55 -04:00
Jeff Verkoeyen
c4601975fb Add Jazzy linter v1.0.0.
Summary:
Example output:

```
>>> Lint for components/ShadowLayer/src/MDCShadowLayer.h:

   Warning  (JAZZY1) Missing documentation
    topShadowRadius is missing documentation.
    Please use `/** */` blocks to document APIs.

              23  spec.
              24  */
              25 @interface MDCShadowMetrics : NSObject
    >>>       26 @property(nonatomic, readonly) CGFloat topShadowRadius;
              27 @property(nonatomic, readonly) CGSize topShadowOffset;
              28 @property(nonatomic, readonly) float topShadowOpacity;
              29 @property(nonatomic, readonly) CGFloat bottomShadowRadius;

   Warning  (JAZZY1) Missing documentation
    topShadowOffset is missing documentation.
    Please use `/** */` blocks to document APIs.

              24  */
              25 @interface MDCShadowMetrics : NSObject
              26 @property(nonatomic, readonly) CGFloat topShadowRadius;
    >>>       27 @property(nonatomic, readonly) CGSize topShadowOffset;
              28 @property(nonatomic, readonly) float topShadowOpacity;
              29 @property(nonatomic, readonly) CGFloat bottomShadowRadius;
              30 @property(nonatomic, readonly) CGSize bottomShadowOffset;

   Warning  (JAZZY1) Missing documentation
    topShadowOpacity is missing documentation.
    Please use `/** */` blocks to document APIs.

              25 @interface MDCShadowMetrics : NSObject
              26 @property(nonatomic, readonly) CGFloat topShadowRadius;
              27 @property(nonatomic, readonly) CGSize topShadowOffset;
    >>>       28 @property(nonatomic, readonly) float topShadowOpacity;
              29 @property(nonatomic, readonly) CGFloat bottomShadowRadius;
              30 @property(nonatomic, readonly) CGSize bottomShadowOffset;
              31 @property(nonatomic, readonly) float bottomShadowOpacity;

   Warning  (JAZZY1) Missing documentation
    bottomShadowRadius is missing documentation.
    Please use `/** */` blocks to document APIs.

              26 @property(nonatomic, readonly) CGFloat topShadowRadius;
              27 @property(nonatomic, readonly) CGSize topShadowOffset;
              28 @property(nonatomic, readonly) float topShadowOpacity;
    >>>       29 @property(nonatomic, readonly) CGFloat bottomShadowRadius;
              30 @property(nonatomic, readonly) CGSize bottomShadowOffset;
              31 @property(nonatomic, readonly) float bottomShadowOpacity;
              32
```

Reviewers: #mdc_ios_owners, randallli

Reviewed By: #mdc_ios_owners, randallli

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D211
2016-04-11 17:38:09 -04:00
Jeff Verkoeyen
ca70b442a5 Fix .jazzy.yaml objc configuration and regenerate all jazzy yamls.
Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D539
2016-04-08 14:53:28 -04:00
Jeff Verkoeyen
78f3f7f049 Update arc-xcode-test-engine to v2.1.1.
Summary:
Release notes: https://github.com/google/arc-xcode-test-engine/releases/tag/v2.1.1

This release decreases arc unit duration by roughly half (~50s average to ~27s average on a Macbook Air 11" 1.7 GHz Intel Core i7)

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D530
2016-04-08 10:53:00 -04:00
Jeff Verkoeyen
9f3bede5b9 Harden the proselint installer.
Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D523
2016-04-07 18:01:11 -04:00
Jeff Verkoeyen
63c3dc6ac5 Icons bundles use _ instead of +.
Summary: Closes https://github.com/google/material-components-ios/pull/293.

Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D513
2016-04-07 13:15:48 -04:00
Jeff Verkoeyen
6e84a88c47 [api_diff] Minor fixes.
Summary:
- Removes the copy-pasted names and outputs the proper shas.
- Use the new url for deprecated APIs.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D500
2016-04-07 11:38:31 -04:00
Jeff Verkoeyen
f2da09a5fb Add releasing tooling and guide.
Summary:
Includes the following tools:

- api_diff: Writes a CHANGELOG.md-ready API diff for the latest release to stdout.
- changed_files: Writes a list of modified component sources for the latest release to stdout.
- changed_public_headers: Writes a list of modified component public headers for the latest release to stdout.
- changes: Writes a CHANGELOG.md-ready list of changes in this release, organized by component, to stdout.
- cut: Creates a release-candidate branch, creates a release section in CHANGELOG.md, and outputs an email to be sent to the community to stdout.
- diff: Generates a diff from the last release to the current one.
- merge: Performs the final merge operations into master and develop for the current release.
- next: Returns a version number bumped from the latest release on origin/master.

These tools are all discussed in the new Releasing contributor guide also included in this diff.

Reviewers: randallli, iangordon, #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D509
2016-04-07 11:36:56 -04:00
Jeff Verkoeyen
93eefa8efd api_diff now respects the verbose flag.
Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D498
2016-04-06 17:03:54 -04:00
Jeff Verkoeyen
237ca26443 Add api_diff script for generating api diffs.
Summary:
This tool can be used to generate API diffs for releases.

Example output from `scripts/api_diff.sh -o v2.1.0 -n develop`:

```

---------------- FlexibleHeader -----------------------

MDCFlexibleHeaderViewController.h
---------------------------------
  MDCFlexibleHeaderViewController

          Protocols
    From: UIScrollViewDelegate
      To: UIScrollViewDelegate, UITableViewDelegate

---------------- FontDiskLoader -----------------------
New component

---------------- RobotoFontLoader -----------------------
New component

---------------- Typography -----------------------

MDCFontResource.h
-----------------
- MDCFontResource
- -[MDCFontResource initWithName:URL:]
- -[MDCFontResource initWithFontName:filename:bundleFileName:baseBundle:]
- MDCFontResource.fontName
- MDCFontResource.fontURL
- -[MDCFontResource registerFont]
- MDCFontResource.isRegistered
- MDCFontResource.hasFailedRegistration
- -[MDCFontResource fontOfSize:]

MDCRobotoFontLoader.h
---------------------
- MDCRobotoFontLoader
- +[MDCRobotoFontLoader sharedInstance]
- -[MDCRobotoFontLoader lightFontOfSize:]
- -[MDCRobotoFontLoader regularFontOfSize:]
- -[MDCRobotoFontLoader mediumFontOfSize:]
- -[MDCRobotoFontLoader boldFontOfSize:]
- -[MDCRobotoFontLoader lightItalicFontOfSize:]
- -[MDCRobotoFontLoader italicFontOfSize:]
- -[MDCRobotoFontLoader mediumItalicFontOfSize:]
- -[MDCRobotoFontLoader boldItalicFontOfSize:]

MDCTypography.h
---------------
- -[MDCTypographyFontLoader lightFontOfSize:]
- -[MDCTypographyFontLoader regularFontOfSize:]
- -[MDCTypographyFontLoader mediumFontOfSize:]
+ MDCTypographyFontLoading
+ -[MDCTypographyFontLoading lightFontOfSize:]
+ -[MDCTypographyFontLoading regularFontOfSize:]
+ -[MDCTypographyFontLoading mediumFontOfSize:]
  +[MDCTypography setFontLoader:]

          Declaration
    From: + (void)setFontLoader:(nonnull id<MDCTypographyFontLoader>)fontLoader
      To: + (void)setFontLoader:(nonnull id<MDCTypographyFontLoading>)fontLoader

  MDCSystemFontLoader

          Protocols
    From: MDCTypographyFontLoader
      To: MDCTypographyFontLoading

  MDCTypographyFontLoader

          Protocols
    From: NSObject
      To: MDCTypographyFontLoading

          Availability
    From: Available
      To: Deprecated

          Deprecation Message
    From: (none)
      To: Use MDCTypographyFontLoading instead
```

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D372
2016-04-06 16:01:45 -04:00
randallli
b9b315dd7a [install scripts] fixed install brew and pip scripts actually install pip and brew
Reviewers: featherless, #mdc_ios_owners

Reviewed By: featherless, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D496
2016-04-06 15:25:00 -04:00
Jeff Verkoeyen
6bb73753fb Add proselint linter.
Summary:
arc-proselint linter: https://github.com/google/arc-proselint
proselint the tool: http://proselint.com/

Proselint is a linter for written text, specifically English. This diff enables it for our markdown files.

How to install proselint:

    pip install proselint

Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D491
2016-04-06 12:22:27 -04:00
Jeff Verkoeyen
ebad21ad64 Update arc-xcode-test-engine to v2.1.0 and add pre-build option to .arcconfig.
Summary:
v2.1.0 release notes: https://github.com/google/arc-xcode-test-engine/releases/tag/v2.1.0

Running `pod install` before `arc unit` runs its build phase ensures that the Testing by Convention app is always building against the tests on disk.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D463
2016-04-04 14:16:37 -04:00
Jeff Verkoeyen
f91f84b1c4 Update arc-xcode-test-engine to v2.0.2.
Summary: Release notes: https://github.com/google/arc-xcode-test-engine/releases/tag/v2.0.2.

Reviewers: #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D456
2016-04-01 15:12:14 -04:00
Jeff Verkoeyen
4d22229e5a Update arc-xcode-test-engine to v2.0.1.
Summary:
- Better handling of non-unit-test failures, such as CocoaPods getting out of sync.

Full release notes: https://github.com/google/arc-xcode-test-engine/releases/tag/v2.0.1

Reviewers: randallli, #mdc_ios_owners

Reviewed By: randallli, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D453
2016-04-01 14:20:22 -04:00
Junius Gunaratne
692287aee4 [Catalog] Change nav to use top AppBar instead of bottom CatalogBar
Summary:
Exploration of using AppBar as example VC wrapper
http://codereview.cc/M8

Reviewers: #mdc_ios_owners, featherless

Reviewed By: #mdc_ios_owners, featherless

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D443
2016-04-01 11:29:06 -04:00
Will Larche
958b94fcef Barebones Flexible Header: New styling and content
Summary: This is the 'typical use' example for flexible header. It's been changed to have less content and styling that matches the new catalog app. Universal and all rotations.

Reviewers: featherless, #mdc_ios_owners

Reviewed By: featherless, #mdc_ios_owners

Subscribers: featherless

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D430
2016-04-01 11:13:34 -04:00
Yiran Mao
93c7e094d3 Add --ignore-update flag to build script for offline build. 2016-03-31 09:25:48 -04:00
Junius Gunaratne
36ba8b0197 [Button demos] Add disabled button states to demos, change storyboard bg color
Reviewers: ajsecord, featherless, #mdc_ios_owners

Reviewed By: featherless, #mdc_ios_owners

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D428
2016-03-31 09:24:43 -04:00
Junius Gunaratne
5423fdd808 [Catalog] Make sure wrapper VC layout is correct on rotation
Reviewers: #mdc_ios_owners, featherless

Reviewed By: #mdc_ios_owners, featherless

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D418
2016-03-31 09:18:12 -04:00
Jeff Verkoeyen
8210233110 Update arc-xcode-test-engine to 2.0.0.
Summary: Enables coverage visualization in the web UI by default. arc unit will now properly fail if unit tests didn't run.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D422
2016-03-30 14:52:35 -04:00
Jeff Verkoeyen
d82f59976d [checks] Add missing_readme check and check_all runner.
Summary:
Part of https://github.com/google/material-components-ios/issues/257.

Output:

```
Each of the following components is missing readme:
FontDiskLoader
private/Color
private/Icons/icons/ic_arrow_back
private/ThumbTrack
RobotoFontLoader
```

Reviewers: ajsecord, #mdc_ios_owners

Reviewed By: ajsecord, #mdc_ios_owners

Subscribers: ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D417
2016-03-30 10:58:29 -04:00
Jeff Verkoeyen
b6031761da Update arc-xcode-test-engine to latest stable release.
Summary: This release enables coverage by default when running arc diff.

Reviewers: #mdc_ios_owners, ajsecord

Reviewed By: #mdc_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D414
2016-03-30 10:55:25 -04:00