1. 10 Jul, 2018 1 commit
  2. 09 Jul, 2018 3 commits
  3. 06 Jul, 2018 1 commit
    • abykov2's avatar
      Adding a setup function for hot restart (#18921) · e5d9feb5
      abykov2 authored
      * Adding a setup function for hot restart that can be overwritten to perform any necessary initialization before a restart is started.
      
      * Adding a test for setupHotRestart
      
      * Removing local pubspec change
      
      * Fixing some type annotation errors
      
      * Responding to comments
      e5d9feb5
  4. 04 Jul, 2018 1 commit
  5. 03 Jul, 2018 2 commits
  6. 01 Jul, 2018 1 commit
  7. 29 Jun, 2018 2 commits
  8. 28 Jun, 2018 9 commits
    • Alexander Aprelev's avatar
    • Danny Tuppeny's avatar
      Remove the 'app' domain from flutter daemon (#18873) · 108da013
      Danny Tuppeny authored
      * Remove the 'app' domain from flutter daemon
      
      By default the daemon won't register the "app" domain, you need to opt-in (which the 'run' command does, as well as the tests for the app functionality).
      
      Fixes #6658.
      
      * Tweak text
      
      * Put restart/callServiceExtension/stop back into daemon mode
      
      * Add a comment about removing discoverApps
      108da013
    • Danny Tuppeny's avatar
      Expose emulator creation to daemon API (#18905) · 7e4038fe
      Danny Tuppeny authored
      * Fix typo
      
      * Add emulator.create to Daemon API
      
      * Swap order of daemon changelog entries
      7e4038fe
    • Sigurd Meldgaard's avatar
      Add iOS module template (#18830) (#18903) · 1e8ef602
      Sigurd Meldgaard authored
      Add iOS module template
      
      This will enable integration of flutter-views into existing iOS project.
      1e8ef602
    • Danny Tuppeny's avatar
    • Sigurd Meldgaard's avatar
      Revert "Add iOS module template (#18830)" (#18902) · 4a6558f8
      Sigurd Meldgaard authored
      This reverts commit 8be198d8 that broke the build.
      4a6558f8
    • Sigurd Meldgaard's avatar
      Add iOS module template (#18830) · 8be198d8
      Sigurd Meldgaard authored
      Add iOS module template
      
      This will enable integration of flutter-views into existing iOS project.
      8be198d8
    • Danny Tuppeny's avatar
      Add --create option to `flutter emulators` command (#18235) · cdb01187
      Danny Tuppeny authored
      * Add --create option to flutter emulators
      
      * Tweaks to error message
      
      * Simplify emulator search logic
      
      * Make name optional
      
      * Add a note about this option being used with --create
      
      * Tweaks to help information
      
      * Switch to processManager for easier testing
      
      * Don't crash on missing files or missing properties in Android Emulator
      
      * Move name suffixing into emulator manager
      
      This allows it to be tested in the EmulatorManager tests and also used by daemon later if desired.
      
      * Pass the context's android SDK through so it can be mocked by tests
      
      * Misc fixes
      
      * Add tests around emulator creation
      
      Process calls are mocked to avoid needing a real SDK (and to be fast). Full integration tests may be useful, but may require ensuring all build environments etc. are set up correctly.
      
      * Simplify avdManagerPath
      
      Previous changes were to emulatorPath!
      
      * Fix lint errors
      
      * Fix incorrect file exgtension for Windows
      
      * Fix an issue where no system images would crash
      
      reduce throws on an empty collection.
      
      * Fix "null" appearing in error messages
      
      The name we attempted to use will now always be returned, even in the case of failure.
      
      * Add additional info to missing-system-image failure message
      
      On Windows after installing Andriod Studio I didn't have any of these and got this message. Installing with sdkmanager fixed the issue.
      
      * Fix thrown errors
      
      runResult had a toString() but we moved to ProcessResult when switching to ProcessManager to this ended up throwing "Instance of ProcessResult".
      
      * Fix package import
      
      * Fix more package imports
      
      * Move mock implementation into Mock class
      
      There seemed to be issues using Lists in args with Mockito that I couldn't figure out (docs say to use typed() but I couldn't make this compile with these lists still)..
      
      * Rename method that's ambigious now we have create
      
      * Handle where there's no avd path
      
      * Add another toList() :(
      
      * Remove comment that was rewritten
      
      * Fix forbidden import
      
      * Make optional arg more obviously optional
      
      * Reformat doc
      
      * Note that we create a pixel device in help text
      
      * Make this a named arg
      cdb01187
    • Jason Simmons's avatar
  9. 27 Jun, 2018 3 commits
    • Ian Hickson's avatar
      Remove race conditions involving finding available ports (#18698) · 35ad2a78
      Ian Hickson authored
      This is an attempt to reland #18488 with less breakage on macOS.
      35ad2a78
    • Alexander Aprelev's avatar
      Fix library-scope expression evaluation. (#18851) · ed2376a7
      Alexander Aprelev authored
      This also improves diagnostic in case of internal compiler errors.
      ed2376a7
    • Danny Tuppeny's avatar
      Improve update checking (#18193) · e616c6ce
      Danny Tuppeny authored
      * Improve update checking
      
      This change emables pinging the server to check for updates regardless of whether the local version is "out of date". The server code already has a 7-day cache so the result is that we can now ping the server once every 7 days instead of waiting for the local install to be 4 weeks out of date before pinging.
      
      The original 4 week period is still used for when we'll start warning the user they're out of date if we could not confirm with the server whether there's a new version.
      
      * Improve message when we know there's a new version available
      
      * Fix bnullable bool checks
      
      * Switch nullable bool to enum
      
      * Fix casing of enum values
      
      * Remove stale comment
      
      The names are now descriptive so doesn't need additional explanation.
      
      * Improve name of function
      
      * Remove note:
      
      * Rename kPauseToLetUserReadTheMessage -> timeToPauseToLetUserReadTheMessage
      
      * Change kVersionAgeConsideredUpToDate to 5 weeks from 4
      
      * Inline the isNewerFrameworkVersionAvailable check
      
      * Fix indenting (?)
      
      * Fix more indenting
      
      * Rename function to be clearer it's getting the commit date
      
      * Formating tweaks
      
      * Update stamp when connection failed, and reduce time before we'll try again
      
      Previously we would hit the server on every command if we thought we might be out of date and we never successfully connected (eg. if you're offline). This makes the stamp update even when there's a conneciton failure so that this won't happen, but reduces the time till we check again from 7 days to 3 days to compensate a little in case it was a one-off.
      
      https://github.com/flutter/flutter/pull/18193#issuecomment-399222269
      
      * Fix comment
      
      * Don't perform update checks if not on an official channel
      e616c6ce
  10. 25 Jun, 2018 3 commits
  11. 22 Jun, 2018 3 commits
  12. 21 Jun, 2018 2 commits
  13. 20 Jun, 2018 4 commits
  14. 19 Jun, 2018 1 commit
  15. 18 Jun, 2018 1 commit
    • Danny Tuppeny's avatar
      Don't be case-sensitive when checking for extension (#18515) · 592c5ba9
      Danny Tuppeny authored
      Seems like VS Code may have started using lowercase extension folders recently (our identifier is `Dart-Code.flutter` but now the folder is named `dart-code.flutter`), so this makes the check not sensitive to casing.
      
      Also reuse extension identifier for download link
      592c5ba9
  16. 15 Jun, 2018 3 commits