1. 27 Aug, 2019 1 commit
  2. 26 Aug, 2019 1 commit
    • stuartmorgan's avatar
      Add profile support on macOS (#39264) · 74076958
      stuartmorgan authored
      Fix some places where Debug/Release was treated as a binary switch.
      
      Makes similar changes to Windows and Linux to simplify adding profile
      support to those platforms in the future. This means `--profile` builds
      will fail on Linux and Windows for now, but that's fine since they
      aren't actually supported, and unlike `--release` don't provide useful
      functionality at the native code level.
      
      Also fixes 'stopApp' always using Debug on macOS, to avoid showing an
      error when running Profile (or Release).
      
      Fixes #33203
      74076958
  3. 21 Aug, 2019 1 commit
    • stuartmorgan's avatar
      Add build warning for non-debug desktop builds (#38932) · 01530928
      stuartmorgan authored
      When building in profile or release mode on desktop, add a prominent
      warning that it's actually a debug build. This is to help address issues
      with people being unaware of the current state of builds due to
      following third-party guides rather than official documentation.
      
      macOS is not included since PRs are in flight for macOS release support.
      01530928
  4. 09 Aug, 2019 1 commit
  5. 01 Aug, 2019 1 commit
  6. 29 Jul, 2019 1 commit
  7. 22 Jul, 2019 3 commits
  8. 16 Jul, 2019 1 commit
  9. 01 Jul, 2019 1 commit
  10. 26 Jun, 2019 1 commit
  11. 19 Jun, 2019 1 commit
  12. 18 Jun, 2019 1 commit
  13. 07 Jun, 2019 1 commit
  14. 06 Jun, 2019 1 commit
    • stuartmorgan's avatar
      Add 'doctor' support for Windows (#33872) · fb8df82c
      stuartmorgan authored
      Moves the logic for finding vcvars64.bat to a new VisualStudio class
      that encapsulates finding, and providing information about, VisualStudio
      installations. Adds a validator for it, and runs it for Windows
      workflows in doctor.
      fb8df82c
  15. 30 May, 2019 1 commit
  16. 29 May, 2019 3 commits
    • stuartmorgan's avatar
      Build the solution on Windows (#33528) · 79ae04d4
      stuartmorgan authored
      Switch from building Runner.vcxproj to Runner.sln on Windows, to allow
      for multiple-project builds (e.g., separate plugin projects).
      79ae04d4
    • stuartmorgan's avatar
      Use vswhere to find Visual Studio (#33448) · aecf053e
      stuartmorgan authored
      Rather than hard-coding a set of locations to check, use vswhere (which
      is installed by VS 2017 and later), and construct the vcvars64.bat path
      relative to that. This will allow Windows builds to work without special
      configuration for people who have VS installed at a custom path.
      
      Also adds error logging with different messages for each failure point,
      so that rather than the not-very-informative 'failed to find
      vcvars64.bat' message, the failure will provide feedback about what to
      do.
      
      This is an interim solution; later this will be replaced by a
      VisualStudio class with associated validator to match the structure of
      the other toolchains.
      
      Fixes #33249
      aecf053e
    • stuartmorgan's avatar
      Wrap Windows build invocation in a batch script (#33443) · e1a784ae
      stuartmorgan authored
      Invoking msbuild with runInShell makes handling path escaping more
      error-prone, and substantially increases the chances of running into
      maximum path limits. This replaces the direct call with a .bat wrapper
      that calls vsvars64.bat then msbuild, and uses relative paths within the
      script to keep command lengths short.
      
      Fixes https://github.com/flutter/flutter/issues/32792
      e1a784ae
  17. 15 May, 2019 1 commit
    • stuartmorgan's avatar
      Streamline Windows build process (#32783) · 4e1bfca8
      stuartmorgan authored
      Allows Windows builds to use the same structure and script as Linux
      builds now use, calling into tool_backend to manage copying resources to
      the project directory and building the bundle.
      
      Also switches from expecting name_update.bat to expecting flutter\exe_filename
      to be written during the build, as with the recent changes to the macOS build, to
      reduce the amount of boilerplate needed in a windows\ project directory.
      4e1bfca8
  18. 14 May, 2019 1 commit
    • stuartmorgan's avatar
      Teach flutter msbuild for Windows (#32335) · 6722fb44
      stuartmorgan authored
      Eliminates the need for a build.bat in the Windows build workflow, adding
      preliminary support for building using msbuild. The handling of
      vcvars64.bat may be refined in the future, but this serves as a starting point.
      6722fb44
  19. 29 Apr, 2019 1 commit
  20. 25 Apr, 2019 2 commits
  21. 24 Apr, 2019 1 commit
  22. 19 Apr, 2019 1 commit
  23. 21 Mar, 2019 1 commit
  24. 09 Mar, 2019 1 commit
  25. 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
  26. 21 Feb, 2019 1 commit
  27. 23 Jan, 2019 1 commit
  28. 15 Jan, 2019 1 commit