1. 18 11月, 2020 1 次提交
  2. 17 11月, 2020 1 次提交
  3. 06 11月, 2020 1 次提交
  4. 03 11月, 2020 1 次提交
  5. 31 10月, 2020 2 次提交
  6. 30 10月, 2020 1 次提交
  7. 24 10月, 2020 1 次提交
  8. 23 10月, 2020 2 次提交
    • X
    • G
      Reland: Migration to PlatformDispatcher and multi-window (#21932) · 6bc70e4a
      Greg Spencer 提交于
      This re-lands #20496 and #21780 after fixing the semantics-enabling code that was causing the post-submit web_smoke_test to fail.
      
      Below is the description from the original PR:
      
      This is a PR for converting the dart:ui code in the engine to use a multi-window API. The goal here is to convert from the window singleton to an API that has the concept of multiple windows. Also, I'm matching up the new PlatformDispatcher class to talk directly to the PlatformConfiguration class in the engine. I'm not attempting to actually enable creating multiple windows here, just migrate to an API that has a concept of multiple windows. The multi-window API in this PR currently only ever creates one window.
      
      The design doc for this change is here.
      
      The major changes in this PR:
      
      Move the platfom-specific attributes out of Window, and into the new PlatformDispatcher class that holds all of the platform state, so that the platform code need only update the configuration on this class.
      Create FlutterView, FlutterWindow, and SingletonFlutterWindow classes to separate out the concepts of a view (of which there may be multiple in a window), a window (of which there may be multiple on a screen, and they host views), and a window where there is only ever expected to be one (this hosts the entire API of the former Window class, and will eventually be the type of the window singleton).
      Next step after this PR lands:
      
      Remove the Window class entirely (it is replaced by SingletonFlutterWindow). Some minor changes in the Framework are needed to switch to using SingletonFlutterWindow directly first.
      
      The Window class still exists in this PR, but will be removed as soon as the framework is converted to point to the SingletonFlutterWindow class instead. They share the same API, just have different names (Window is currently a subclass of SingletonFlutterWindow). The intention is that the Window name will be freed up to use as a widget class name in the framework for managing windows. The singleton called window will remain, and keep the same API it has now.
      6bc70e4a
  9. 20 10月, 2020 1 次提交
  10. 13 10月, 2020 2 次提交
  11. 12 10月, 2020 1 次提交
  12. 10 10月, 2020 1 次提交
    • G
      Migration to PlatformDispatcher and multi-window (#20496) · 85b0031f
      Greg Spencer 提交于
      This is a PR for converting the dart:ui code in the engine to use a multi-window API. The goal here is to convert from the window singleton to an API that has the concept of multiple windows. Also, I'm matching up the new PlatformDispatcher class to talk directly to the PlatformConfiguration class in the engine. I'm not attempting to actually enable creating multiple windows here, just migrate to an API that has a concept of multiple windows. The multi-window API in this PR currently only ever creates one window.
      
      The design doc for this change is here.
      
      The major changes in this PR:
      
      Move the platfom-specific attributes out of Window, and into the new PlatformDispatcher class that holds all of the platform state, so that the platform code need only update the configuration on this class.
      Create FlutterView, FlutterWindow, and SingletonFlutterWindow classes to separate out the concepts of a view (of which there may be multiple in a window), a window (of which there may be multiple on a screen, and they host views), and a window where there is only ever expected to be one (this hosts the entire API of the former Window class, and will eventually be the type of the window singleton).
      Next step after this PR lands:
      
      Remove the Window class entirely (it is replaced by SingletonFlutterWindow). Some minor changes in the Framework are needed to switch to using SingletonFlutterWindow directly first.
      
      The Window class still exists in this PR, but will be removed as soon as the framework is converted to point to the SingletonFlutterWindow class instead. They share the same API, just have different names (Window is currently a subclass of SingletonFlutterWindow). The intention is that the Window name will be freed up to use as a widget class name in the framework for managing windows. The singleton called window will remain, and keep the same API it has now.
      85b0031f
  13. 08 10月, 2020 1 次提交
  14. 24 9月, 2020 1 次提交
  15. 22 9月, 2020 1 次提交
  16. 14 9月, 2020 1 次提交
  17. 12 9月, 2020 3 次提交
  18. 11 9月, 2020 5 次提交
    • C
      Copyright header hygiene improvements (#21089) · 36f7f3ca
      Chris Bracken 提交于
      Add copyright headers in a few files where they were missing.
      
      Trim trailing blank comment line where present, for consistency with
      other engine code.
      
      Use the standard libtxt copyright header in one file where it differed
      (extra (C) and comma compared to other files in libtxt).
      
      This also amends tools/const_finder/test/const_finder_test.dart to look
      for a const an additional four lines down to account for the copyright
      header added to the test fixture.
      36f7f3ca
    • C
      Re-enable (most) iOS Scenarios tests (#21087) · bdaac368
      Chris Bracken 提交于
      This re-enables the iOS Scenarios tests which have been flaky in the
      last couple days.
      
      Disabling two tests where we've seen the flakes:
      * AppLifecycleTests testFlutterViewControllerDetachingSendsApplicationLifecycle
      * FlutterViewControllerInitialRouteTest testSettingInitialRoute
      
      This reverts commit 0c6c265a.
      bdaac368
    • X
      add back a line to build host for scenario tests (#21076) · 216a1ab6
      xster 提交于
      216a1ab6
    • C
      Disable iOS ScenariosTests suite (#21080) · 0c6c265a
      Chris Bracken 提交于
      This disables the macOS Scenarios app tests until a fix for the current
      flakiness is found.
      
      This also reverts commit 55d447a1 where
      one test was previously disabled. However, another started failing soon
      after, so instead we disable the whole suite here.
      0c6c265a
    • C
      Disable a flaky Scenarios test (#21075) · 55d447a1
      Chris Bracken 提交于
      This disables the macOS Scenarios app test
      testFlutterViewControllerDetachingSendsApplicationLifecycle
      until a fix for the flakiness is found.
      
      Related issue: https://github.com/flutter/flutter/issues/61620
      55d447a1
  19. 10 9月, 2020 2 次提交
  20. 07 9月, 2020 1 次提交
    • C
      Enable lazy-async-stacks by-default in all modes (Take 3) (#20895) · 575a5194
      Clement Skau 提交于
      Lazy async stacks were already enabled by-default in AOT mode in [0] - which made the
      gen_snapshot invocations use "--lazy-async-stacks --no-causal-async-stacks".
      
      This change does the same with the engine defaults, which makes this be enabled
      by-default in JIT mode as well.
      
      See go/dart-10x-faster-async for more information.
      
      This is a re-land: A fix for what we believe to have caused the last revert has landed upstream in Dart in dart-lang/sdk@0004589
      
      [0] flutter/flutter@3478232
      575a5194
  21. 04 9月, 2020 1 次提交
  22. 01 9月, 2020 1 次提交
  23. 27 8月, 2020 1 次提交
  24. 26 8月, 2020 1 次提交
  25. 25 8月, 2020 1 次提交
  26. 21 8月, 2020 1 次提交
  27. 20 8月, 2020 1 次提交
    • G
      Clean up scenario app scripts (#20641) · d1e9017c
      Greg Spencer 提交于
      I just made a pass on the scenario scripts so that they can be more easily run from the scenario directory, set the ANDROID_HOME correctly, and generally fixed lint errors.
      
      Also compile_android_aot.sh didn't appear to work, and I think I fixed it (it builds now).
      d1e9017c
  28. 19 8月, 2020 1 次提交
    • G
      Convert format script to Dart (#20572) · 35640af9
      Greg Spencer 提交于
      This converts the ci/format.sh script to a Dart script that uses process_runner and isolates to multi-process the clang-format, diffs, and grepping needed to do the formatting changes.
      
      It also will (by default) only check the formatting of changed files.
      
      The user can optionally check all files (--all-files) or do only some types of checks with --check. --verbose prints the versions of the tools used for Clang format and Java format.
      
      Specifying --fix will cause any formatting errors that would have been detected to be fixed.
      35640af9
  29. 18 8月, 2020 1 次提交
  30. 15 8月, 2020 1 次提交