1. 01 3月, 2019 2 次提交
  2. 28 2月, 2019 5 次提交
  3. 27 2月, 2019 4 次提交
  4. 26 2月, 2019 4 次提交
  5. 25 2月, 2019 3 次提交
  6. 23 2月, 2019 5 次提交
  7. 22 2月, 2019 4 次提交
  8. 21 2月, 2019 6 次提交
    • C
      Eliminate .member = foo struct initialization (#7899) · 6e6020d2
      Chris Bracken 提交于
      This breaks MSVC:
      ```
      [3049/3506] CXX obj/flutter/shell/gpu/gpu_surface_gl.gpu_surface_gl_delegate.obj
      FAILED: obj/flutter/shell/gpu/gpu_surface_gl.gpu_surface_gl_delegate.obj
      ninja -t msvc -e environment.x64 -- E:\b\c\goma_cache\client/gomacc.exe "E:\b\depot_tools\win_toolchain\vs_files\3bc0ec615cf20ee342f3bc29bc991b5ad66d8d2c\VC\Tools\MSVC\14.14.26428\bin\HostX64\x64/cl.exe" /nologo /showIncludes /FC @obj/flutter/shell/gpu/gpu_surface_gl.gpu_surface_gl_delegate.obj.rsp /c ../../flutter/shell/gpu/gpu_surface_gl_delegate.cc /Foobj/flutter/shell/gpu/gpu_surface_gl.gpu_surface_gl_delegate.obj /Fdobj/flutter/shell/gpu/gpu_surface_gl_cc.pdb
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(70): error C2059: syntax error: '.'
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(71): error C2143: syntax error: missing ';' before '}'
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(76): error C2061: syntax error: identifier 'ProcResolverContext'
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(78): error C3536: 'proc_resolver_context': cannot be used before it is initialized
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(78): error C2227: left of '->resolver' must point to class/struct/union/generic type
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(78): note: type is 'int'
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(82): error C2059: syntax error: 'if'
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(82): error C2143: syntax error: missing ';' before '{'
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(82): error C2447: '{': missing function header (old-style formal list?)
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(87): error C2059: syntax error: 'if'
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(87): error C2143: syntax error: missing ';' before '{'
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(87): error C2447: '{': missing function header (old-style formal list?)
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(91): error C2059: syntax error: '('
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(91): error C2059: syntax error: ')'
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(92): error C2059: syntax error: 'return'
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(95): error C2653: 'GPUSurfaceGLDelegate': is not a class or namespace name
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(95): error C2270: 'GetGLInterface': modifiers not allowed on nonmember functions
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(96): error C3861: 'GetGLProcResolver': identifier not found
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(96): error C3861: 'CreateGLInterface': identifier not found
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(100): error C2653: 'GPUSurfaceGLDelegate': is not a class or namespace name
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(101): error C3861: 'CreateGLInterface': identifier not found
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(104): error C2059: syntax error: '}'
      e:\b\rr\tmpahx5uo\w\src\flutter\shell\gpu\gpu_surface_gl_delegate.cc(104): error C2143: syntax error: missing ';' before '}'
      ```
      6e6020d2
    • C
      Add accessibility semantics support to embedder (#7891) · abe9826a
      Chris Bracken 提交于
      Flutter's accessibility APIs consist of three main calls from the
      embedder to the Dart application:
      
        1. FlutterEngineUpdateSemanticsEnabled: enables/disables semantics support.
      
        2. FlutterEngineUpdateAccessibilityFeatures: sets embedder-specific
           accessibility features.
      
        3. FlutterEngineDispatchSemanticsAction: dispatches an action (tap,
           long-press, scroll, etc.) to a semantics node.
      
      and two main callbacks triggered by Dart code:
      
        1. FlutterUpdateSemanticsNodeCallback: notifies the embedder of
           updates to the properties of a given semantics node.
      
        2. FlutterUpdateSemanticsCustomActionCallback: notifies the embedder
           of updates to custom semantics actions registered in Dart code.
      
      In the Flutter framework, when accessibility is first enabled, the
      embedder will receive a stream of update callbacks notifying the
      embedder of the full semantics tree. On further changes in the Dart
      application, only updates will be sent.
      abe9826a
    • C
    • M
      e11d0e96
    • M
      Android embedding refactor pr3 add remaining systemchannels (#7892) · 2f4a38db
      Matt Carroll 提交于
      Merging back in after reversion. Fixed some messaging issues in FlutterNativeView and corrected some message parsing.
      2f4a38db
    • D
      6d7eb521
  9. 20 2月, 2019 2 次提交
  10. 19 2月, 2019 1 次提交
  11. 16 2月, 2019 4 次提交
    • S
      51416802
    • C
      Revert "Android embedding refactor pr3 add remaining systemchannels (#7738)" (#7849) · 163a2fd5
      Chris Bracken 提交于
      From build log:
      ```
      ../../flutter/shell/platform/android/io/flutter/view/FlutterView.java:95: error: cannot find symbol
          private final LocalizationChannel localizationChannel;
                        ^
        symbol:   class LocalizationChannel
        location: class FlutterView
      ../../flutter/shell/platform/android/io/flutter/view/FlutterView.java:172: error: cannot find symbol
              localizationChannel = new LocalizationChannel(dartExecutor);
                                        ^
        symbol:   class LocalizationChannel
        location: class FlutterView
      2 errors
      ```
      
      This reverts commit 256db4bc.
      163a2fd5
    • C
      Shut down and restart the Dart VM as needed. (#7832) · 0d6ff166
      Chinmay Garde 提交于
      The shell was already designed to cleanly shut down the VM but it couldnt
      earlier as |Dart_Initialize| could never be called after a |Dart_Cleanup|. This
      meant that shutting down an engine instance could not shut down the VM to save
      memory because newly created engines in the process after that point couldn't
      restart the VM. There can only be one VM running in a process at a time.
      
      This patch separate the previous DartVM object into one that references a
      running instance of the DartVM and a set of immutable dependencies that
      components can reference even as the VM is shutting down.
      
      Unit tests have been added to assert that non-overlapping engine launches use
      difference VM instances.
      0d6ff166
    • M