1. 28 Mar, 2019 1 commit
  2. 11 Mar, 2019 1 commit
  3. 08 Mar, 2019 1 commit
  4. 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
  5. 28 Feb, 2019 1 commit
    • Greg Spencer's avatar
      Fix spelling errors. (#28657) · ccdd5057
      Greg Spencer authored
      Fix the spelling errors in the dartdocs for the framework.
      
      There are no functionality changes here, just documentation fixes.
      ccdd5057
  6. 21 Feb, 2019 1 commit
  7. 06 Feb, 2019 1 commit
    • Greg Spencer's avatar
      Make a kReleaseMode constant that is public. (#27502) · da27f623
      Greg Spencer authored
      Before this, we had several places where an isReleaseMode was defined, all with the same definition. This just makes it more broadly visible to allow our users to use it, as well as creating debug and profile versions, and adding a device lab test for it.
      
      Since this is a const value, this makes it possible for a developer to easily mark blocks that can be removed at AOT compile time.
      da27f623
  8. 05 Feb, 2019 1 commit
  9. 07 Jan, 2019 1 commit
  10. 18 Dec, 2018 1 commit
  11. 12 Nov, 2018 1 commit
  12. 05 Nov, 2018 1 commit
  13. 23 Oct, 2018 1 commit
  14. 19 Oct, 2018 1 commit
  15. 18 Oct, 2018 1 commit
  16. 17 Oct, 2018 1 commit
  17. 16 Oct, 2018 1 commit
  18. 13 Oct, 2018 1 commit
    • Michael Goderbauer's avatar
      Remove all service extensions from release mode (#23038) · 8e2ca93f
      Michael Goderbauer authored
      Service extensions can only be activated in debug or profile mode, their code should never be included in release mode. This PR adds guards around all service extension registration calls that enable Dart's tree shaker to remove the extension's code in release mode, which reduces our binary size:
      
      Android Snapshot (uncompressed): minus 127,384 Bytes (-124.40KB)
      APK (compressed): minus 38,136 Bytes (-37.24KB)
      iOS Snapshot (App.framework, uncompressed): 264,304 Bytes(-258.10KB)
      
      For details: https://docs.google.com/document/d/13JlgvliCn5sWwT2K2SfDwD1NhEfxpJH9DCf22gZZru8/edit
      
      **Benchmark Regressions:** This PR may cause benchmarks to regress because it may change the timing of GC. If you notice a benchmark regression **please note down the exact set of benchmarks that regressed on this PR** and then feel free to revert. I will follow-up with a PR that forces a GC before the effected benchmarks run to get a clean baseline before re-applying this PR.
      8e2ca93f
  19. 05 Oct, 2018 2 commits
  20. 01 Oct, 2018 1 commit
  21. 14 Sep, 2018 1 commit
  22. 12 Sep, 2018 1 commit
  23. 07 Sep, 2018 1 commit
  24. 29 Aug, 2018 1 commit
  25. 23 Aug, 2018 1 commit
  26. 02 Aug, 2018 1 commit
  27. 27 Jul, 2018 1 commit
  28. 23 Jul, 2018 1 commit
  29. 16 Jul, 2018 2 commits
  30. 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
  31. 11 Jun, 2018 1 commit
    • Greg Spencer's avatar
      Update typedef syntax to use Function notation and turn on lint for old notation. (#18362) · 6c56bb24
      Greg Spencer authored
      Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.
      
      Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.
      
      No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
      6c56bb24
  32. 05 Jun, 2018 1 commit
  33. 30 May, 2018 2 commits
  34. 06 Apr, 2018 1 commit
  35. 12 Mar, 2018 1 commit
  36. 20 Jan, 2018 1 commit
    • Ian Hickson's avatar
      [H] Move the splitting of licenses to an isolate (#14160) · a29d723c
      Ian Hickson authored
      * Move the splitting of licenses to an isolate
      
      This improves (from horrific to terrible) the performance of the
      license screen. It also introduces a feature in the foundation layer
      to make using isolates for one-off computations easier.
      
      The real problem that remains with this, though, is that transfering
      data between isolates is a stop-the-world operation and can take an
      absurd amount of time (far more than a few milliseconds), so we still
      skip frames.
      
      More work thus remains to be done.
      
      * - Add profile instrumentation to the isolate compute() method
      - Add profile instrumentation to the LicensePage
      - Add profile instrumentation to the scheduleTask method
      - Make scheduleTask support returning a value
      - Make the license page builder logic use scheduled tasks so that it doesn't blow the frame budget
      a29d723c
  37. 19 Jan, 2018 1 commit