1. 29 10月, 2019 3 次提交
  2. 24 10月, 2019 1 次提交
    • F
      Wires the locale provided by Fuchsia. (#13045) · 400e3b00
      Filip Filmar 提交于
      The FIDL service `fuchsia.intl.PropertyProvider` is a service that
      the flutter runner can use to obtain information on system preferred
      locales.
      
      This change sends a platform message "setLocale" on the channel
      "flutter/localization", based on the values provided by the above
      mentioned FIDL service.
      
      Credit: most of this was initially written by @kpozin; I ported it
      to out-of-tree flutter engine.
      
      Tested:
      
      1. Compile and publish the unit tests package as shown in
         the script below.
      2. In a Fuchsia repository (pointed to by `$FUCHSIA_DIR`), run
         `fx serve`
      3. `fx shell run fuchsia-pkg://fuchsia.com/flutter_runner_tests#meta/flutter_runner_tests.cmx`
      
      The script used to update the unit tests.
      
      ```bash
      
      set -x
      
      FLUTTER_ENGINE_DIR="${FLUTTER_ENGINE_DIR:-$HOME/fx/flutter/engine/src}"
      readonly OUT_DIR="${FLUTTER_ENGINE_DIR}/out"
      
      (
        cd ${FLUTTER_ENGINE_DIR}
        ./flutter/tools/gn --fuchsia --fuchsia-cpu x64 --unoptimized
        ninja -j 100 -C "${OUT_DIR}/fuchsia_debug_unopt_x64"
        cp "${OUT_DIR}/compile_commands.json" "${FLUTTER_ENGINE_DIR}"
      
        echo "Publishing the tests package"
        "${FLUTTER_ENGINE_DIR}/fuchsia/sdk/linux/tools/pm" publish \
          -a -r $FUCHSIA_DIR/out/release/amber-files \
          -f "${FLUTTER_ENGINE_DIR}/out/fuchsia_debug_unopt_x64/flutter_runner_tests-0.far"
      )
      ```
      400e3b00
  3. 22 10月, 2019 2 次提交
    • J
      Do not attempt to drain the SkiaUnrefQueue in the destructor (#13237) · 4f85010d
      Jason Simmons 提交于
      SkiaUnrefQueue should be empty at destruction time.  If the queue is nonempty,
      then there will be a pending drain task that will hold a reference to the
      queue.  The queue can only be destructed after the drain completes and the
      reference is dropped.
      
      Drains must only be done on the queue's task runner thread, which may not be
      the thread where the queue is destructed.
      4f85010d
    • H
      Update CanvasKit to 0.7.0 and flesh out painting (#13240) · 5cc74169
      Harry Terkelsen 提交于
      * Update CanvasKit to 0.7.0 and flesh out painting
      
      This allows us to fix some bugs in the CanvasKit backend.
      
      - Implement RRect where the radii are different
      - Implement drawDRRect
      - Implement ColorFilter
      - Implement the correct `arcTo` for `arcToPoint`
      
      * update licenses
      
      * Respond to review comments
      
      - Add TODO to avoid unnecessary conversions
      - Don't set CanvasKit to default
      - Fix licenses file
      
      * Add ==, hashCode, and toString back to ColorFilter API
      5cc74169
  4. 19 10月, 2019 1 次提交
  5. 17 10月, 2019 3 次提交
  6. 16 10月, 2019 1 次提交
  7. 15 10月, 2019 1 次提交
  8. 12 10月, 2019 1 次提交
  9. 10 10月, 2019 2 次提交
  10. 09 10月, 2019 3 次提交
  11. 08 10月, 2019 1 次提交
    • A
      Roll dart to aece1c1e92. (#12997) · 034a6302
      Alexander Aprelev 提交于
      * Roll dart to aece1c1e92.
      
      Changes since last roll:
      ```
      aece1c1e92 Update compile_flutter.sh after vm -> frontend_server rename
      9293e26fc9 [gardening] Fix flutter hhh patch.
      13fbf569f6 [flutter] split frontend_server from vm package
      a389015083 Rewrite MethodInvocation to FunctionExpressionInvocation when the target is not a method.
      ae251757a9 [vm,aot,bytecode] Performance fixes
      01ebf92dde [VM] Consume extension member/is late flag setting when reading kernel file.
      8e05cd278c [vm, bytecode] Emit bytecode without ASTs by default.
      4539536b34 [eventhandler] generalize socket initialization
      7115687beb NNBD i13n: Add a description for discarding just the condition
      2bcaf02582 (origin/base) Update dartdoc to 0.28.7.
      a0e8c7712d [dart2js] New RTI: Prevent elision of precomputed1 and remove unneeded read.
      c38e19cbbe [vm/compiler] bit utilities
      f918214f36 Add a unit test reproducing issue #38352.
      ad47b1ca64 Remove summary1, part 2.
      0881a4a691 Reland "Deprecate TypeParameterTypeImpl.getTypes()"
      d93a6b596b Prepare to publish analyzer version 0.38.5
      d5feab0c53 [vm] Create builds for LeakSanitizer, MemorySanitizer and ThreadSanitizer.
      8c5236f55e [vm/ffi] Fix host-target word mismatch breaking AOT callbacks in ARM_X64.
      5f7b837195 Remove unused FunctionElementImpl_forLUB.
      2c75771611 Write and read the static type of IntegerLiteral.
      b00453c68a Create synthetic FunctionType in quick fixes.
      897e197dd4 Flow analysis: Update AssignedVariablesVisitor to track functions/methods.
      55466fd3cc Flow analysis: Remove AssignedVariables.capturedAnywhere.
      0a5cf36f14 Make exitFunctionBody safer.
      ```
      
      * Update license hash
      034a6302
  12. 05 10月, 2019 1 次提交
  13. 04 10月, 2019 1 次提交
  14. 01 10月, 2019 1 次提交
  15. 28 9月, 2019 1 次提交
  16. 24 9月, 2019 1 次提交
  17. 21 9月, 2019 1 次提交
  18. 20 9月, 2019 1 次提交
  19. 19 9月, 2019 2 次提交
  20. 18 9月, 2019 5 次提交
    • C
      Account for root surface transformation on the surfaces managed by the... · 1c7300ed
      Chinmay Garde 提交于
      Account for root surface transformation on the surfaces managed by the external view embedder. (#11384)
      
      The earlier design speculated that embedders could affect the same
      transformations on the layers post engine compositor presentation but before
      final composition.
      
      However, the linked issue points out that this design is not suitable for use
      with hardware overlay planes. When rendering to the same, to affect the
      transformation before composition, embedders would have to render to an
      off-screen render target and then apply the transformation before presentation.
      This patch negates the need for that off-screen render pass.
      
      To be clear, the previous architecture is still fully viable. Embedders still
      have full control over layer transformations before composition. This is an
      optimization for the hardware overlay planes use-case.
      
      Fixes b/139758641
      1c7300ed
    • M
      Introduce FlutterFragmentActivity (#12305) · f38f3a2f
      Matt Carroll 提交于
      f38f3a2f
    • H
      Update canvaskit backend (#12318) · d1692d4c
      Harry Terkelsen 提交于
      * Improve the CanvasKit backend for Flutter Web
      
      - Improve font handling by trying to load a "normal" font face
        instead of using the first face matching the family.
      - Implement Vertices and drawVertices
      
      * Add license header to vertices.dart
      
      * Remove unused 'encodedPositions'
      
      * Delete commented old code. Don't use Skia by default
      
      * Add `vertices.dart` to licenses file
      d1692d4c
    • G
      Channel buffers (#12167) · 0a455a82
      gaaclarke 提交于
      Added channel buffers to 'ui' so that messages have a place to
      go until message handling is setup.
      0a455a82
    • S
      Adds PluginRegistry to the C++ client wrapper API (#12287) · 709fc6e0
      stuartmorgan 提交于
      Makes the plugin registration structure consistent with macOS. This will
      be used in generated plugin registrant files rather than a specific
      implemenation class, so this helps unblock the creation of generated
      registrants on Windows and Linux.
      709fc6e0
  21. 17 9月, 2019 1 次提交
  22. 13 9月, 2019 2 次提交
  23. 11 9月, 2019 4 次提交