127 Commits

Author SHA1 Message Date
Dan Field 24f39d40a4 Revert "Revert "Add many more global analyses. (#47875)" (#48080)" (#48081)
This reverts commit 04ea3183ce.
2020-01-02 11:47:28 -08:00
Francisco Magdaleno 04ea3183ce Revert "Add many more global analyses. (#47875)" (#48080)
This reverts commit e768c92fbc.
2020-01-02 09:25:59 -08:00
Ian Hickson e768c92fbc Add many more global analyses. (#47875)
* Update packages.

* Add many more global analyses.

* Catch trailing spaces and trailing newlines in all text files.
  Before we were only checking newly added files, but that means we
  missed some.

* Port the trailing spaces logic to work on Windows too.

* Correct all the files with trailing spaces and newlines.

* Refactor some of the dev/bots logic into a utils.dart library.
  Notably, the "exit" and "print" shims for testing are now usable
  from test.dart, analyze.dart, and run_command.dart.

* Add an "exitWithError" function that prints the red lines and
  then exits. This is the preferred way to exit from test.dart,
  analyze.dart, and run_command.dart.

* More consistency in the output of analyze.dart.

* Refactor analyze.dart to use the _allFiles file enumerating logic
  more widely.

* Add some double-checking logic to the _allFiles logic to catch
  cases where changes to that logic end up catching fewer files
  than expected (helps prevent future false positives).

* Add a check to prevent new binary files from being added to
  the repository. Grandfather in the binaries that we've already
  added.

* Update all the dependencies (needed because we now import crypto in
  dev/bots/analyze.dart).
2019-12-30 17:12:19 -08:00
Ian Hickson 449f4a6673 License update (#45373)
* Update project.pbxproj files to say Flutter rather than Chromium

Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.

* Update the copyright notice checker to require a standard notice on all files

* Update copyrights on Dart files. (This was a mechanical commit.)

* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.

Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).

* Clean up the copyrights in non-Dart files. (Manual edits.)

Also, make sure templates don't have copyrights.

* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Matt Carroll fa82b9aeac Updated flutter/examples to further conform to new embedding: removed references to FlutterApplication, deleted all MainActivity's that were not necessary, removed all direct invocations of GeneratedPluginRegistrant. (#22529) (#44782) 2019-11-14 04:08:28 +00:00
Jonah Williams a901b650b6 Update meta to 1.1.8 (#44584) 2019-11-12 13:48:42 -08:00
Emmanuel Garcia 0ccde797b0 Reland: Migrate examples to Android embedding v2 (#44139) 2019-11-04 17:25:25 -08:00
Emmanuel Garcia 694b2d89e0 Revert: Migrate examples to Android embedding v2 (#43997)
This reverts commit 99cd440384.
2019-11-01 11:13:39 -07:00
Emmanuel Garcia 99cd440384 Revert "Revert "Reland: Migrate examples new embedding (#43868)" (#43885)" (#43939) 2019-10-31 16:17:31 -07:00
Dan Field 8e0799a657 Revert "Reland: Migrate examples new embedding (#43868)" (#43885)
This reverts commit 46edc80237.
2019-10-30 23:33:38 -07:00
Emmanuel Garcia 46edc80237 Reland: Migrate examples new embedding (#43868) 2019-10-30 19:00:24 -07:00
Emmanuel Garcia ea4da39fab Revert: Migrate examples to the new embedding (#43689) 2019-10-28 19:11:09 -07:00
Emmanuel Garcia 20e015ffe6 Reland: Migrate examples new embedding (#43643)
* Fix device lab tests

* Migrate examples to the Android embedding v2 (#43221)
2019-10-28 15:43:37 -07:00
Emmanuel Garcia 5bc7fb6835 Revert "Migrate examples to the Android embedding v2 (#43221)" (#43611)
This reverts commit b49ffa81c1.
2019-10-27 21:25:13 -07:00
Emmanuel Garcia b49ffa81c1 Migrate examples to the Android embedding v2 (#43221) 2019-10-25 22:03:49 -07:00
Jenn Magder b194f93541 Remove use_modular_headers from Podfiles using libraries (#42872)
* Remove use_modular_headers from Podfiles using libraries

* Remove @imports
2019-10-17 15:26:10 -07:00
Jenn Magder 357d02c87b Always embed Flutter.framework build mode version from Xcode configuration (#42029) 2019-10-15 15:33:55 -07:00
Jenn Magder 649cf82018 use_modular_headers (#42204) 2019-10-15 12:36:50 -07:00
Emmanuel Garcia 61c6c29233 Migrate examples and tests to AndroidX (#41251) 2019-09-25 09:02:15 -07:00
Emmanuel Garcia 8a1bf5b827 Reland #39157 (#39798) 2019-09-17 08:19:33 -07:00
Emmanuel Garcia 4d404da6df Update Kotlin and Gradle version (#40181) 2019-09-13 19:37:07 -07:00
Emmanuel Garcia 2c857b9370 Enable R8 (#40453) 2019-09-13 19:06:40 -07:00
Emmanuel Garcia d230234d67 Revert Maven dependencies (#39747) (39157) (#39784) 2019-09-03 17:49:10 -07:00
Emmanuel Garcia b63cb44105 Use new Maven artifacts from Gradle (#39157) 2019-09-02 10:35:17 -07:00
Jenn Magder 4d81b0c970 Remove xcconfigs from template Copy Bundle Resources build phases (#38724) 2019-08-19 16:23:45 -07:00