1. 14 2月, 2019 2 次提交
  2. 09 2月, 2019 2 次提交
  3. 08 2月, 2019 1 次提交
  4. 05 2月, 2019 1 次提交
  5. 31 1月, 2019 2 次提交
  6. 30 1月, 2019 1 次提交
  7. 23 1月, 2019 2 次提交
    • B
      Remove SkColorSpaceXformCanvas, use color-managed SkSurfaces instead (#7548) · 50ddc371
      Brian Osman 提交于
      Behavior (visual) changes should be very minor. Things that are to be expected:
      * A few things were not color managed correctly by the transform canvas (color emoji, some color filters). Those will be handled correctly with the tagged surfaces (although we're always transforming to sRGB, so nothing should change until we target a wider gamut).
      * Image filtering will happen in the source color space, rather than the destination. Very minor.
      * The transform canvas did caching of images in the destination color space. Now, the conversion happens at draw time. If there are performance issues, images can be pre-converted to the destination with makeColorSpace().
      50ddc371
    • C
      Support custom kernel blob path in test fixtures (#7525) · 869d9f52
      Chris Bracken 提交于
      Updates the test_fixtures rule to support a custom kernel output file
      name. Improves rule documentation.
      869d9f52
  8. 15 1月, 2019 1 次提交
  9. 12 1月, 2019 1 次提交
  10. 08 1月, 2019 1 次提交
  11. 05 1月, 2019 1 次提交
  12. 17 12月, 2018 1 次提交
    • C
      Compile embedder unit test Dart to kernel (#7231) · 67cd7d4d
      Chris Bracken 提交于
      As of the migration to Dart 2, it has been necessary to compile Dart to
      kernel prior to execution. The embedder currently requires that the
      resulting kernel file be named `kernel_blob.bin` and be located at the
      root of the assets directory passed to the embedder API.
      
      This patch updates the test_fixtures build rule to perform a kernel
      compile using frontend_server, outputting `kernel_blob.bin` to
      `fixtures/test_target_name` directory, and updates the embedder
      unittests to specify the kernel file rather than the Dart source file.
      
      Since the kernel compiler requires a `main()` function to be defined, it
      also updates `simple_main.dart` from runtime_unittests to define
      `main()` rather than `simple_main()`.
      
      This also updates all existing sub-targets to be testonly.
      
      This relands commit ac9e521a, which was
      reverted in commit 49411258. Rather than
      running as prebuilt_dart_action, we use dart_action to ensure the
      frontend snapshot it compatible with the VM on which it's executed.
      67cd7d4d
  13. 16 12月, 2018 3 次提交
    • C
      Revert "Compile embedder unit test Dart to kernel (#7227)" (#7230) · 49411258
      Chris Bracken 提交于
      This reverts commit ac9e521a.
      
      This broke dynamic release mode builds of
      //flutter/runtime:runtime_fixtures_kernel (likely all product-mode
      builds).
      49411258
    • C
      Compile embedder unit test Dart to kernel (#7227) · ac9e521a
      Chris Bracken 提交于
      Compile embedder unit test Dart to kernel
      
      As of the migration to Dart 2, it has been necessary to compile Dart to
      kernel prior to execution. The embedder currently requires that the
      resulting kernel file be named `kernel_blob.bin` and be located at the
      root of the assets directory passed to the embedder API.
      
      This patch updates the test_fixtures build rule to perform a kernel
      compile using frontend_server, outputting `kernel_blob.bin` to
      `fixtures/test_target_name` directory, and updates the embedder
      unittests to specify the kernel file rather than the Dart source file.
      
      Since the kernel compiler requires a `main()` function to be defined, it
      also updates `simple_main.dart` from runtime_unittests to define
      `main()` rather than `simple_main()`.
      
      This also updates all existing sub-targets to be testonly.
      ac9e521a
    • I
      Offset.fromDirection and Size.aspectRatio (#6805) · 17789249
      Ian Hickson 提交于
      17789249
  14. 14 11月, 2018 1 次提交
  15. 09 11月, 2018 1 次提交
  16. 08 11月, 2018 1 次提交
  17. 30 10月, 2018 2 次提交
    • G
      Roll back _countryCode assert - breaking change (#6693) · 7be0217d
      Gary Qian 提交于
      * Roll back _countryCode assert - breaking change
      
      * Add tests back in
      7be0217d
    • H
      Add Locale.fromSubtags and support for scriptCode. (#6518) · 2b2fbf0f
      hugovdm 提交于
      * Add Locale.fromComponents.
      
      * Change toString from underscores to dashes. Expand the unit tests.
      
      * Rename 'fromComponents' to 'create'. Change variants from String to List<String>.
      
      * Use default for language parameter. Use hashCode/hashList.
      
      * Have toString() stick with old (underscore) behaviour.
      
      * Demonstrate empty-list bug in assert code.
      
      * Fix empty-list assert bug.
      
      * Add ignores for lint issues. Unsure about 71340 though.
      
      * Fix operator== via _listEquals.
      
      * Remove length-checking asserts: we're anyway not checking characters in fields.
      
      * Documentation update.
      
      * Change reasoning for ignore:prefer_initializing_formals.
      
      * Try 'fromSubtags' as new constructor name.
      
      * Documentation improvements based on Pull Request review.
      
      * Assert-fail for invalid-length subtags and drop bad subtags in production code.
      
      * Revert "Assert-fail for invalid-length subtags and drop bad subtags in production code."
      
      This reverts commit d6f06f5e7b3537d60000c47641580475ef16abbe.
      
      * Re-fix Locale.toString() for variants=[].
      
      * Tear out variants, in case we want to have one fewer pointer in the future.
      
      * Make named parameters' names consistent with member names.
      
      * Also remove _listEquals: no longer in use.
      
      * Lint fix.
      
      * Fix code review nits.
      
      * Lint fix for assert, and a couple more not-zero-length-string asserts.
      
      * Code Review: two of three nits addressed...
      
      * Review fix: change 'should' to 'must' for subtag prescriptions.
      
      * Assert-check that countryCode is never ''.
      2b2fbf0f
  18. 18 10月, 2018 2 次提交
  19. 11 10月, 2018 1 次提交
  20. 10 10月, 2018 1 次提交
    • M
      Add a ratio cap to decoded animated image frames (#6310) · 7afbcd97
      Michael Klimushyn 提交于
      Provide a relative, per-image limit to the amount of memory
      that's used to cache decoded image frames. Adds an overridable default
      that developers can set to control how much memory images are allowed
      to use decoded vs undecoded. The cap is set in flutter/flutter#22452.
      
      Note that required frames are always cached regardless of the ratio cap,
      because they're currently necessary for the GIF to animate. Previously
      cached unessential frames are not cleared in response to the cache
      hitting or exceeding the cap.
      
      Addresses #20998 and #14344.
      7afbcd97
  21. 09 10月, 2018 1 次提交
  22. 06 10月, 2018 1 次提交
    • M
      Add `run_tests.sh` to cirrus (#6441) · ba9b9076
      Michael Klimushyn 提交于
      This replaces `ci/test.sh` with `run_tests.sh`. `run_tests.sh` includes
      `ci/test.sh` and multiple other tests.
      
      Partially addresses flutter/flutter#22682. Temporarily skipped tests
      should be fixed and re-enabled in a follow-up commit.
      ba9b9076
  23. 29 9月, 2018 1 次提交
  24. 28 9月, 2018 5 次提交
  25. 18 9月, 2018 2 次提交
  26. 15 9月, 2018 1 次提交
  27. 07 8月, 2018 1 次提交