1. 26 Sep, 2019 1 commit
    • stuartmorgan's avatar
      Add the beginnings of plugin support for Windows and Linux (#41015) · 56d68a90
      stuartmorgan authored
      Adds very preliminary support for Windows and Linux plugins:
      - Adds those platforms to the new plugin schema, initially supporting just a plugin class.
      - Adds C++ plugin registrant generation for any Windows or Linux plugins found.
      
      This doesn't have yet have any build tooling for either platform, so anyone using the generated registrant still needs to do manual build configuration. This reduces the manual work, however, and creates a starting point for future tooling work.
      
      As with all Windows and Linux work at this time, this is not final, and subject to change without warning in the future (e.g., Windows could potentially switch to a C# interface, or
      'linux' may change to 'gtk' or 'linux_gtk' in pubspec.yaml).
      56d68a90
  2. 24 Sep, 2019 1 commit
  3. 19 Sep, 2019 1 commit
  4. 13 Sep, 2019 3 commits
  5. 11 Sep, 2019 1 commit
    • stuartmorgan's avatar
      Make Swift plugin template swift-format compliant (#40195) · ef97a69d
      stuartmorgan authored
      swift-format will alphabetize import statements, so Flutter* should be
      before Foundation. Also, separating the "Generated file" comment
      prevents the formatter from thinking that the comment is associated with
      the following import, rather than the file, if it does re-order.
      ef97a69d
  6. 06 Sep, 2019 1 commit
  7. 03 Sep, 2019 1 commit
    • Harry Terkelsen's avatar
      Automatically generated registrants for web plugins (#39628) · d33cf115
      Harry Terkelsen authored
      * WIP on web plugin registry
      
      * WIP on registering plugins
      
      * WIP on web plugin registration
      
      * Only generate `package:flutter_web_plugins` imports if plugins are
      defined
      
      * Add parsing test
      
      * Add documentation
      
      * Fix analyzer warnings
      
      * add license headers
      
      * Add tests for package:flutter_web_plugins
      
      * Run `flutter update-packages --force-upgrade`
      
      * Fix analyzer errors
      
      * Fix analyzer error in test
      
      * Update copyright and remove flutter SDK constraints
      
      * Enable tests since engine has rolled
      
      * add flutter_web_plugins tests to bots
      
      * Create an empty .packages file for WebFs test
      d33cf115
  8. 30 Aug, 2019 1 commit
  9. 28 Aug, 2019 1 commit
  10. 22 Jul, 2019 3 commits
  11. 06 Jun, 2019 1 commit
    • stuartmorgan's avatar
      Make plugins Swift-first on macOS (#33997) · 17d6f6a0
      stuartmorgan authored
      Instead of sharing the iOS codepath that uses an ObjC generated plugin
      registrant and expecting plugins to have an ObjC interface layer, switch
      to generating a Swift registrant and expecting plugins to have a Swift
      interface.
      
      This means plugins on macOS that use Swift won't need an ObjC wrapper,
      and plugins that use ObjC will need a Swift wrapper (inverting the
      structure relative to iOS).
      17d6f6a0
  12. 31 May, 2019 1 commit
    • stuartmorgan's avatar
      Implement plugin tooling support for macOS (#33636) · 3ebebebb
      stuartmorgan authored
      Enables the CocoaPods-based plugin workflow for macOS. This allows a
      macOS project to automatically fetch and add native plugin
      implementations via CocoaPods for anything in pubspec.yaml, as is done
      on iOS.
      3ebebebb
  13. 25 May, 2019 1 commit
    • stuartmorgan's avatar
      Implement macOS support in `flutter doctor` (#33277) · 81c38b22
      stuartmorgan authored
      Splits Xcode validation out of the iOS validator and into a stand-alone
      validator, and groups the CocoaPods validator with that top-level
      validator instead of the iOS validator. iOS now validates only the
      iOS-specific tools (e.g., ideviceinstaller).
      
      Reorganizes many of the associated clases so that those that are used by
      both macOS and iOS live in macos/ rather than ios/. Moves some
      validators to their own files as part of the restructuring.
      
      This is the macOS portion of #31368
      81c38b22
  14. 24 May, 2019 1 commit
    • stuartmorgan's avatar
      Add macosPrefix to the pubspec schema for plugins (#33287) · 0f6e4e61
      stuartmorgan authored
      Adds a new macosPrefix, which serves the same purpose as iosPrefix but
      for macOS plugins.
      
      It is not yet used by the tooling, but this allows for plugins to start
      to be written using it in preparation for tooling support for plugins.
      
      Part of #32718
      0f6e4e61
  15. 22 Apr, 2019 1 commit
  16. 05 Apr, 2019 1 commit
  17. 30 Jan, 2019 1 commit
  18. 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
  19. 04 Oct, 2018 2 commits
    • 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
    • Alexandre Ardhuin's avatar
      sort_constructors_first (#22575) · 2ea1d81c
      Alexandre Ardhuin authored
      2ea1d81c
  20. 01 Oct, 2018 1 commit
  21. 26 Sep, 2018 1 commit
  22. 25 Sep, 2018 1 commit
    • Mikkel Nygaard Ravn's avatar
      Support materializing Flutter module host app on iOS (#21276) · a600fe7f
      Mikkel Nygaard Ravn authored
      * Prototype
      
      * Fix paths to Flutter library resources
      
      * Invoke pod install as necessary for materialized modules
      
      * Add devicelab test for module use on iOS
      
      * Remove debug output
      
      * Rebase, reame materialize editable
      
      * Add devicelab test editable iOS host app
      
      * Removed add2app test section
      a600fe7f
  23. 12 Sep, 2018 1 commit
  24. 30 Aug, 2018 1 commit
  25. 16 Aug, 2018 1 commit
  26. 07 Aug, 2018 1 commit
  27. 02 Aug, 2018 1 commit
  28. 20 Jul, 2018 1 commit
  29. 16 Jul, 2018 2 commits
  30. 09 Jul, 2018 1 commit
  31. 28 Jun, 2018 3 commits
  32. 22 Jun, 2018 1 commit