1. 13 11月, 2018 1 次提交
  2. 11 11月, 2018 1 次提交
  3. 08 11月, 2018 2 次提交
  4. 07 11月, 2018 1 次提交
  5. 03 11月, 2018 1 次提交
  6. 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
  7. 27 10月, 2018 3 次提交
  8. 25 10月, 2018 3 次提交
  9. 24 10月, 2018 1 次提交
  10. 23 10月, 2018 2 次提交
    • C
      Ensure that Scene::toImage renders texture backed images. (#6636) · 20c805c9
      Chinmay Garde 提交于
      TL;DR: Offscreen surface is created on the render thread and device to host
      transfer performed there before task completion on the UI thread.
      
      While attempting to snapshot layer trees, the engine was attempting to use the
      IO thread context. The reasoning was that this would be safe to do because any
      textures uploaded to the GPU as a result of async texture upload would have
      originated from this context and hence the handles would be valid in either
      context. As it turns out, while the handles are valid, Skia does not support
      this use-case because cross-context images transfer ownership of the image from
      one context to another. So, when we made the hop from the UI thread to the IO
      thread (for snapshotting), if either the UI or GPU threads released the last
      reference to the texture backed image, the image would be invalid. This led to
      such images being absent from the layer tree snapshot.
      
      Simply referencing the images as they are being used on the IO thread is not
      sufficient because accessing images on one context after their ownership has
      already been transferred to another is not safe behavior (from Skia's
      perspective, the handles are still valid in the sharegroup).
      
      To work around these issues, it was decided that an offscreen render target
      would be created on the render thread. The color attachment of this render
      target could then be transferred as a cross context image to the IO thread for
      the device to host tranfer.
      
      Again, this is currently not quite possible because the only way to create
      cross context images is from encoded data. Till Skia exposes the functionality
      to create cross-context images from textures in one context, we do a device to
      host transfer on the GPU thread. The side effect of this is that this is now
      part of the frame workload (image compression, which dominate the wall time,
      is still done of the IO thread).
      
      A minor side effect of this patch is that the GPU latch needs to be waited on
      before the UI thread tasks can be completed before shell initialization.
      20c805c9
    • G
      Reland 'Pass null instead of 'none' locale' (#6632) · cdd592f5
      Gary Qian 提交于
      cdd592f5
  11. 20 10月, 2018 3 次提交
  12. 19 10月, 2018 2 次提交
  13. 18 10月, 2018 1 次提交
  14. 17 10月, 2018 1 次提交
  15. 13 10月, 2018 4 次提交
  16. 12 10月, 2018 1 次提交
  17. 11 10月, 2018 2 次提交
    • G
      61cf4c01
    • A
      [dart] Roll dart to b99bcfd3099f0d32e39287160a9539e878cb0b68 (#6491) · daed2b7d
      Alexander Aprelev 提交于
      * [dart] Roll dart to b99bcfd3099f0d32e39287160a9539e878cb0b68
      
      Changes since last roll:
      ```
      b99bcfd309 [vm] Add a library and class cache to KernelProgramInfo
      5deb1c6e81 [vm] Remove strong mode and sync-async flags from pkg/vm
      9a6f811466 Report null error as a NoSuchMethodError
      2da0b9f4f1 fix some typos
      34f6aea008 [release] Prepare changelog for 2.1.0-dev.7.0
      f320477ff9 [dartdevc] add module-name option to kernel backend
      b8760fed67 [vm, compiler] Remove ASTs and AST flow graph builder.
      340e74629f Clean up OverrideVerifier.
      f11e746c2e Initial implementation of fixes for type arguments on named constructor invocations
      08e485c43f Update dartdoc to 0.23.1.
      ac4b8a7306 Hook up FixProcessor to fix errors in dartfix
      0aa99cca99 Ignore JSON exceptions when reading (empty) test results file
      6d9cc6fa03 Add skeleton for parsing LSP spec from Markdown/TypeScript to generate Dart data classes
      bc4d2f5d1b Switch InheritanceManager2Test to DriverResolutionTest.
      e221a6288b Move reporting MISMATCHED_GETTER_AND_SETTER_TYPES for classes to using new interfaces.
      be39eacf00 Rename convertPathForImport -> convertAbsolutePathToUri
      a539d2ef5f Revert "[fasta] Report errors for bounds violations"
      c8b709d95b Update status files after aa6fb2d3
      051108c004 [tools] Re-enable core-dump archiving on Linux.
      aa5b1b1f2f Make test results in json format end with a newline
      4db2bbe94d Pass SharedOptions to Fasta
      f1d902f4a0 Ignore --supermixin and -D options
      a9b47bd0b1 Integrated nosuchmethod-forwarding.md into dartLangSpec.tex
      327a1a9a00 [Gardening] Mark more co19_2 test as always flaky, filed co19 issues
      f1b6d81404 Remove Target.strongMode
      7072d3b17e [infra] Upgrade d8 to 6.9.427.23 (#34698)
      16ddfc1565 [VM] Use assert assignable implementation for explicit downcasts
      17ac151f44 [Gardening] Increase timeout on release-hotreload configuration as well (not just debug), skip streamed_conversion_json_utf8_decode in hot-reload-simdbc64
      8c872e0e3a Remove TargetFlags.strongMode
      ee97806084 Replace strongMode with legacyMode in CompilerOptions
      aa6fb2d3a4 [fasta] Report errors for bounds violations
      8247fb7eec Stop stripping d8 for benchmarking.
      da48c1d960 [Gardening] Mark more tests as flaky and filed co19 issues
      41866e87da [Gardening] Mark co19_2 test as always flaky, filed co19 issue (and co19 PR)
      ecd13de9da [Gardening] Mark slow_path_shared_stub_test as slow (reaches 1 minute on windows)
      f942af451b Remove kernel interpreter
      7007567685 Fix issue with --unsafe-package-serialization
      2695f36016 [Gardening] Status update (co19_2, optcounter/ia32)
      ba5e14b195 Store return type and parameters separately in GenericFunctionTypeElementForLink.
      ba1b30af37 Add AST support for type arguments on named constructors
      ed6c557d1a Add cli parameters to kernel_sdk.dart to get all paths explicitly
      71395df7dd [vm/interpreter] Fix flaky errors when running with interpreter
      b3af151325 Rework detection of uninstantiated bound errors.
      34651d204e [gardening] Update status
      f35465dafd Remove DynamicElementImpl.library property.
      daa13ad0aa Fix preamble/d8.js currentScript for v8 6.9
      9cde31ba1d Try interface candidates in reverse order.
      5561e69f4e Replace dartfix confirm apply changes with --force
      619a06370e Update dartfix to only allow target directories
      751cf1974a [dart/fuzzer] Add DBC as execution mode.
      70317473f0 [gardening] Update status
      8fc80031ae Fix cast exception in OpTypeAstVisitor
      2cf6ba2996 Generate the right error message for type arguments on a named constructor
      5976fe373f Fix up InferredTypeTest_Driver to use InferredTypeMixin directly.
      32c484bb71 [VM] Fix typo in BitTestImmediate unit test.
      a8e0db1077 [gardening] Mark remaining ASAN failures.
      7f55e52888 [vm, x64] Use short forms for object pool loads.
      a66cae48fc [vm/aot] Dynamic invocation forwarders in AOT.
      4400df4190 Convert strong_mode_test.dart to triple-slash comment style.
      c1361963aa Update status files for tests failing due to #34724 and #34724
      0039aff1e3 [test] Remove use of --error_on_bad_type and --error_on_bad_override.
      ce08911515 [vm/compiler] Minor improvements to loop detection
      a2cf88bee6 [vm] Fix sync-async stack navigation to handle inlined functions.
      920d75f2ea Cleanup dartfix driver context
      746034785d Update dartfix to separate targets from analysis roots
      3d06427075 Fix MOVE_FILE test paths for Windows
      ```
      
      * Remove use of await_is_keyword flag.
      
      * Update license
      daed2b7d
  18. 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
  19. 09 10月, 2018 1 次提交
  20. 05 10月, 2018 1 次提交
  21. 04 10月, 2018 3 次提交
  22. 03 10月, 2018 3 次提交