1. 01 Dec, 2020 1 commit
  2. 23 Jul, 2020 1 commit
  3. 15 Jul, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] generate a synthetic flutter_gen package on pub get (#61261) · d8b6fa15
      Jonah Williams authored
      Allow configuring the flutter_manifest to support a synthetic package, this is done through flutter: generate: true.
      
      When running pub get, insert a flutter_gen entry into the packages if it does not already exist. This points to .dart_tool/flutter_gen, which can be updated to contain the generated intl sources (But doesn't currently)
      
      Adds an integration test that verifies this code can be run and imported when enabled.
      
      Part of #60914
      d8b6fa15
  4. 07 Jul, 2020 1 commit
  5. 24 Jun, 2020 1 commit
  6. 17 Jun, 2020 1 commit
  7. 14 Apr, 2020 1 commit
  8. 06 Feb, 2020 1 commit
  9. 22 Jan, 2020 1 commit
  10. 16 Jan, 2020 1 commit
  11. 02 Jan, 2020 2 commits
  12. 31 Dec, 2019 1 commit
    • Ian Hickson's avatar
      Add many more global analyses. (#47875) · e768c92f
      Ian Hickson authored
      * 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).
      e768c92f
  13. 13 Dec, 2019 2 commits
  14. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * 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
      449f4a66
  15. 26 Nov, 2019 1 commit
  16. 24 Nov, 2019 1 commit
  17. 23 Oct, 2019 1 commit
  18. 22 Oct, 2019 2 commits
  19. 21 Oct, 2019 1 commit
  20. 11 Oct, 2019 2 commits
  21. 02 Oct, 2019 1 commit
  22. 27 Sep, 2019 1 commit
  23. 30 Aug, 2019 1 commit
  24. 14 Aug, 2019 1 commit
  25. 05 Aug, 2019 1 commit
  26. 31 Jul, 2019 1 commit
  27. 13 Jul, 2019 1 commit
  28. 01 May, 2019 1 commit
  29. 29 Apr, 2019 1 commit
  30. 07 Mar, 2019 1 commit
  31. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  32. 21 Feb, 2019 1 commit
  33. 13 Feb, 2019 1 commit
    • KyleWong's avatar
      Refactor build-number/build-name logic. (#27743) · 4b4a9400
      KyleWong authored
      This PR aims at several things:
      
      1. Use pub_semver to check a version in pubspec.yaml meets the requirements specified in https://semver.org/.
      2. Don't limit build-number/build-name as a fixed format. Instead, validate it according to the target(ios/android).
      3. Make sure that build-number/build-name are always validated no matter it's specified by the `flutter command` or version in pubspec.yaml.
      
      Fixes #27589
      4b4a9400
  34. 10 Oct, 2018 1 commit
    • Greg Spencer's avatar
      Rename 'application' back to 'module', and make 'app' the default again for templates. (#22888) · 0ff9e8a9
      Greg Spencer authored
      We decided that redefining the default for templates was premature. We're going to go back to having "module" in experimental land again, and we'll try again when we have the feature set fully baked.
      
      This keeps the writing of the .metadata files, and writing the template type to them, because that was a good improvement, and there are still a bunch of added tests that improve our coverage.
      0ff9e8a9
  35. 04 Oct, 2018 1 commit
    • Greg Spencer's avatar
      Rename module --> application in flutter create command. (#22565) · 9f23866a
      Greg Spencer authored
      This renames the "module" template to the "application" template, and makes "application" the default. The existing "app" template is now deprecated.
      
      flutter create also now recognizes the type of project in an existing directory, and is able to recreate it without having the template type explicitly specified (although you can still do that). It does this now by first looking in the .metadata file for the new project_type field, and if it doesn't find that, then it looks at the directory structure. Also, the .metadata file is now overwritten even on an existing directory so that 1) the project_type can be added to legacy projects, and 2) the version of Flutter that updated the project last is updated.
      
      I also cleaned up a bunch of things in create_test.dart, added many more tests, and added an example test to the test/ directory in the generated output of the application template.
      
      Fixes #22530
      Fixes #22344
      9f23866a
  36. 01 Oct, 2018 1 commit