1. 12 May, 2019 1 commit
    • stuartmorgan's avatar
      Adjust macOS build flow (#32538) · 710a0cb9
      stuartmorgan authored
      - Removes SYMROOT from the Generated.xcconfig. Having it causes current
        versions of Xcode to switch the project's build output to "Legacy",
        which causes anything not overridden to use a project-relative build
        directory instead of a shared directory in DerivedData, breaking
        anything with subprojects that it depends on.
        This means that `flutter run` and builds from Xcode will use
        completely different build directories, but that each should be
        internally consistent.
      - Moves the FlutterMacOS.framework to $SRCROOT/Flutter. This is
        consistent with the approach we're moving to for all desktop
        platforms, and avoids issues finding it now that SYMROOT doesn't match
        for the two different build modes.
      
      Fixes #32494
      710a0cb9
  2. 25 Apr, 2019 1 commit
  3. 23 Apr, 2019 1 commit
  4. 22 Apr, 2019 1 commit
  5. 16 Apr, 2019 1 commit
  6. 19 Mar, 2019 1 commit
  7. 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
  8. 15 Feb, 2019 1 commit
    • KyleWong's avatar
      Refactor local engine logic (#27765) · f9a60900
      KyleWong authored
      * Refactor for iOS.
      
      * For android_xxx_unopt_arm64&ios_xxx_unopt_arm, remove the _arm64/_arm suffix.
      dart generated in host_xxx_unopt/host_xxx has an arch of x86_64 which supports arm64/arm.
      
      * Remove suffixes for various archs.
      f9a60900
  9. 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
  10. 30 Jan, 2019 1 commit
  11. 31 Oct, 2018 1 commit
    • Dan Field's avatar
      Re-reland Xcode backend refactor (#23762) · fd6b2e19
      Dan Field authored
      * Use Xcode build configurations to drive Flutter build mode
      
      * Proper check wrt local_engine, print error if profile mode misisng
      
      * Remove unused code, update tests, fix template problem, update warning
      
      * fix up warning
      
      * add explanatory dev comment
      
      * fix whitespace
      
      * missing words, change lambda arrow to function body
      
      * error indentation
      
      * Test early exits for xcode_backend.sh
      
      * only on macOS, use right test
      
      * Update error messages
      
      * case insensitive compare for build config
      
      * Update gallery podfile
      
      * update projects to add profile configuration
      
      * make compatible with flavors
      
      * add missing plist files
      
      * add FLUTTER_FRAMEWORK_DIR back, set swift version for profile, tell Podfile about profile
      fd6b2e19
  12. 30 Oct, 2018 2 commits
    • Dan Field's avatar
      Revert "Reland Xcode backend refactor" (#23737) · 7217999a
      Dan Field authored
      * Revert "Update templates (#23698)"
      
      This reverts commit 5b0de6d6.
      
      * Revert "Verify that date/number translations exist for all supported languages (#23692)"
      
      This reverts commit 3449edf2.
      
      * Revert "Reland Xcode backend refactor (#23574)"
      
      This reverts commit 7270f284.
      7217999a
    • Dan Field's avatar
      Reland Xcode backend refactor (#23574) · 7270f284
      Dan Field authored
      * Use Xcode build configurations to drive Flutter build mode
      
      * Proper check wrt local_engine, print error if profile mode misisng
      
      * Remove unused code, update tests, fix template problem, update warning
      
      * fix up warning
      
      * add explanatory dev comment
      
      * fix whitespace
      
      * missing words, change lambda arrow to function body
      
      * error indentation
      
      * Test early exits for xcode_backend.sh
      
      * only on macOS, use right test
      
      * Update error messages
      
      * case insensitive compare for build config
      
      * Update gallery podfile
      
      * update projects to add profile configuration
      
      * make compatible with flavors
      
      * add missing plist files
      7270f284
  13. 25 Oct, 2018 2 commits
  14. 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
  15. 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
  16. 01 Oct, 2018 1 commit
  17. 12 Sep, 2018 1 commit
  18. 04 Sep, 2018 1 commit
  19. 31 Aug, 2018 1 commit
  20. 10 Aug, 2018 1 commit
  21. 07 Aug, 2018 1 commit
  22. 02 Aug, 2018 1 commit
  23. 20 Jul, 2018 1 commit
  24. 16 Jul, 2018 2 commits
  25. 28 Jun, 2018 3 commits
  26. 22 Jun, 2018 1 commit
  27. 13 Jun, 2018 1 commit
    • Chris Bracken's avatar
      Revert elimination of Dart 1 (#18460) · 2ae48845
      Chris Bracken authored
      fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
      from source, flutter_platform.dart automatically runs a kernel compile when
      operating in Dart 2 mode, but this assumes a functional Dart SDK is available
      in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
      directory with an empty temp dir.
      
      Remaining work is:
      1. Get the frontend server building as a dependency on Fuchsia.
      2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
      
      This also reverts migration to Dart 2 typedef syntax.
      
      This reverts commit 6c56bb24. (#18362)
      This reverts commit 3daebd05. (#18316)
      2ae48845
  28. 08 Jun, 2018 3 commits
    • Chris Bracken's avatar
      It's time to #deleteDart1 (again) (#18316) · 3daebd05
      Chris Bracken authored
      * It's time to #deleteDart1 (#18293)
      
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      
      * Fix indentation, remove no longer necessary .toList()
      
      * Only push udpated kernel if >0 invalidated srcs
      3daebd05
    • Chris Bracken's avatar
      Revert "It's time to #deleteDart1 (#18293)" (#18313) · 9495df4b
      Chris Bracken authored
      Several benchmarks started failing during kernel compile:
      1. Timeouts:
         * commands_test
         * hot_mode_dev_cycle__benchmark
         * run_machine_concurrent_hot_reload
         * service_extensions_test
      
      2. Kernel compiler crash:
         * hot_mode_dev_cycle_linux__benchmark
         * routing_test
      
      3. Unexpected termination:
         * hot_mode_dev_cycle_win__benchmark
      
      This reverts commit ed63e708.
      9495df4b
    • Chris Bracken's avatar
      It's time to #deleteDart1 (#18293) · ed63e708
      Chris Bracken authored
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      ed63e708
  29. 30 May, 2018 2 commits
    • Jacob Richman's avatar
    • Ralph Bergmann's avatar
      add version to pubspec.yaml (#16857) · c65e9d19
      Ralph Bergmann authored
      Uses the `version` property from the `pubspec.yaml` file to set the corresponding fields in the `local.properties` file respectively in the `Generated.xcconfig` file.
      
      The `--build-name` and `--build-number` options have changed. Now they trump the `version` property from the `pubspec.yaml` file.
      
      If the `version` property is not set and the  `--build-name` and `--build-number` options are not provided, the build command will not change the `local.properties` / `Generated.xcconfig` file.
      c65e9d19
  30. 25 May, 2018 1 commit
    • Chris Bracken's avatar
      Build single-architecture for local iOS engines (#17919) · 7587f54b
      Chris Bracken authored
      When running with --local-engine, build single-architecture apps, rather
      than what's declared in the Xcode project.
      
      By default, Flutter creates Xcode projects that generate universal
      binaries supporting both armv7 and arm64 processors. Since local engine builds
      are all single-architecture, override the Xcode project's ARCHS setting
      with the appropriate value for the specific engine.
      
      NOTE: this assumes engine paths consistent with those used in the engine
      repo: 32-bit iOS engine builds end in _arm, 64-bit builds do not.
      7587f54b
  31. 21 May, 2018 1 commit
  32. 23 Apr, 2018 1 commit