1. 27 Apr, 2021 1 commit
  2. 05 Mar, 2021 1 commit
  3. 15 Jan, 2021 1 commit
  4. 22 Dec, 2020 1 commit
  5. 30 Oct, 2020 1 commit
  6. 15 Oct, 2020 1 commit
  7. 17 Sep, 2020 3 commits
  8. 15 Sep, 2020 1 commit
  9. 10 Sep, 2020 1 commit
  10. 31 Aug, 2020 1 commit
  11. 21 Aug, 2020 2 commits
  12. 14 Aug, 2020 1 commit
  13. 13 Aug, 2020 1 commit
  14. 06 Aug, 2020 1 commit
  15. 06 Jul, 2020 1 commit
    • stuartmorgan's avatar
      Switch Windows to CMake (#60629) · 4b120501
      stuartmorgan authored
      * First pass at CMake files; untested
      
      * First pass of adding CMake generation logic on Windows
      
      * Misc fixes
      
      * Get bundling working, start incoprorating CMake build into tool
      
      * Fix debug, exe name.
      
      * Add resources
      
      * Move cmake.dart
      
      * Rip out all the vcxproj/solution plumbing
      
      * Fix plugin cmake generation
      
      * Build with cmake rather than calling VS directly
      
      * Adjust Windows plugin template to match standard header directory structure
      
      * Pass config selection when building
      
      * Partially fix multi-config handling
      
      * Rev template version
      
      * Share the CMake generation instead of splitting it out
      
      * VS build/run cycle works, with slightly awkward requirement to always build all
      
      * Update manifest
      
      * Plugin template fixes
      
      * Minor adjustments
      
      * Build install as part of build command, instead of separately
      
      * Test cleanup
      
      * Update Linux test for adjusted generated CMake approach
      
      * Plugin test typo fix
      
      * Add missing stub file for project test
      
      * Add a constant for VS generator
      4b120501
  16. 28 May, 2020 2 commits
  17. 21 May, 2020 1 commit
  18. 03 May, 2020 1 commit
  19. 15 Apr, 2020 1 commit
  20. 06 Apr, 2020 1 commit
    • stuartmorgan's avatar
      Restructure the Windows app template (#53600) · 2d623278
      stuartmorgan authored
      This moves the app template more toward being a more generic starting
      point for any Flutter application, eliminating some hard-code
      assumptions about there being a single window/engine pair that is
      directly bound to the life of the application:
      - Moves the runloop into its own class, making it capable of servicing
        any number of engine instances.
      - Moves the logic for setting up a window containing only a Flutter view
        into a window subclass for ease of re-use.
      - Makes quit-on-window-close an optional property. (Long term this
        should be even more generic, like a quit-when-last-window-closes
        option, but this is a short-term improvement that removes the binding
        between the runloop and the window).
      - Allows for multiple instances of Win32Window to exist without issues
        relating to the window class registration.
      
      Since there are getting to be a non-trivial number of files associated
      with the runner, this moves the source into a runner/ directory, as is
      already done on some other platforms.
      
      Note that creating multiple Flutter windows at the same time still
      doesn't work correctly even with this change, but this addresses some of
      the known issues, and makes it easier to test in the future (e.g., for
      debugging engine-level issues with multiple instances).
      
      Fixes #45397
      2d623278
  21. 27 Mar, 2020 1 commit
    • stuartmorgan's avatar
      Windows template update project (#53302) · 94500073
      stuartmorgan authored
      Updates the Windows app template to use the new DartProject API, significantly simplifying the template.
      
      Increments the template version, even though this isn't itself a breaking change, so that users will be prompted to update their projects rather than be broken later when the old API is removed.
      94500073
  22. 23 Mar, 2020 1 commit
    • stuartmorgan's avatar
      Add pre-stable support for create on Windows (#51895) · 685e9d1e
      stuartmorgan authored
      Adds initial support for flutter create of apps and plugins. This is derived from the current FDE example app and sample plugin, adding template values where relevant.
      
      Since the APIs/tooling/template aren't stable yet, the app template includes a version marker, which will be updated each time there's a breaking change. The build now checks that the template version matches the version known by that version of the tool, and gives a specific error message when there's a mismatch, which improves over the current breaking change experience of hitting whatever build failure the breaking change causes and having to figure out that the problem is that the runner is out of date. It also adds a warning to the create output about the fact that it won't be stable.
      
      Plugins don't currently have a version marker since in practice this is not a significant problem for plugins yet the way it is for runners; we can add it later if that changes.
      
      Fixes #30704
      685e9d1e