1. 25 8月, 2019 4 次提交
  2. 24 8月, 2019 16 次提交
  3. 23 8月, 2019 19 次提交
    • K
      Make message loop task entry containers thread safe (#11367) · 632a37b5
      Kaushik Iska 提交于
      The core underlying issue is that vector push_back could re-allocate and cause us to segfault. I have switched the backing queues to a map per @jason-simmons suggestion in flutter/flutter#38778.
      
      I've also added a test to capture the aforementioned bug. I've run internal tests several times to validate that this is fixed.
      
      General threading note for this class is that only the following operations take a write lock on the meta mutex:
      
      1. Create
      2. Dispose
      
      The rest of the operations take read lock on the meta mutex and acquire finer grained locks for the duration of the operation. We can not grab read lock for the entire duration of NotifyObservers for example because observer can in-turn create other queues -- Which we should not block.
      
      Additional changes:
      
      1. Make as many methods as possible const. Unlocked methods are all const.
      2. Migrate all the queue members to a struct, and have a map.
      3. Get rid of the un-used Swap functionality.
      632a37b5
    • B
      Roll src/third_party/dart 022585cfe2..06d3769ac6 (12 commits) · 975a8aa5
      Ben Konyi 提交于
      dart-lang/sdk@06d3769ac6 [vm/bytecode] Correctly resolve breakpoints in inner functions.
      dart-lang/sdk@8b2deca4fa [vm/fuzzer] Add more ffi types
      dart-lang/sdk@d5a9a732a5 [vm/bytecode] Register closure functions in the object store's list of closures
      dart-lang/sdk@527cf27633 Smarter error reporting in static error tests.
      dart-lang/sdk@96a3aa6378 [vm/fuzzer] Extend special fuzzing values
      dart-lang/sdk@5e428ed638 [vm/bytecode] Fixes for expression evaluation
      dart-lang/sdk@fb90729cf7 Fix isMoreSpecific() for extensions to check that extensions declared in the platform.
      dart-lang/sdk@d165492976 Clean up a test
      dart-lang/sdk@fdbc2920c7 [vm, bytecode] Use the global lookup cache for dynamic calls.
      dart-lang/sdk@fe9814195b Produce diagnostics when a reference to a static member of an extension cannot be resolved
      dart-lang/sdk@e7f82cdb7c Support for FunctionTypedFormalParameter in GenericFunctionType.
      dart-lang/sdk@3617c8d704 [vm/bytecode] Add missing DebugCheck to local function declaration
      975a8aa5
    • S
      Roll src/third_party/skia 941d0a365045..f17d1c952987 (1 commits) (#11393) · 735d30c7
      skia-flutter-autoroll 提交于
      
      https://skia.googlesource.com/skia.git/+log/941d0a365045..f17d1c952987
      
      git log 941d0a365045..f17d1c952987 --date=short --no-merges --format='%ad %ae %s'
      2019-08-23 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
      
      Created with:
        gclient setdep -r src/third_party/skia@f17d1c952987
      
      The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
      
      If the roll is causing failures, please contact the current sheriff, who should
      be CC'd on the roll, and stop the roller if necessary.
      
      
      Bug: None
      TBR=egdaniel@google.com
      735d30c7
    • C
      fcc158fd
    • B
      Roll src/third_party/dart 88c0c11612..022585cfe2 (14 commits) · 698f7f31
      Ben Konyi 提交于
      dart-lang/sdk@022585cfe2 [vm/vmservice] Ensure same name used for all flow events that share same Flow.id.
      dart-lang/sdk@2b31e41564 Remove 'docComplete' and 'docSummary' from AvailableSuggestion.
      dart-lang/sdk@5935b916e3 Rename several error codes and improve some messages
      dart-lang/sdk@a35f4ec412 [vm/fuzzer] Add forEach loops
      dart-lang/sdk@f632df018a [vm/fuzzer] Add interesting fuzzing values
      dart-lang/sdk@223724fa76 [vm/bytecode] Lookup source and line starts for bytecode scripts specifying uri only.
      dart-lang/sdk@0176526799 [vm, compiler] Always clone MegamorphicCaches before accessing on a background compiler thread.
      dart-lang/sdk@782e018630 [vm/fuzzer] change file attribute of fuzzing files
      dart-lang/sdk@2da2ab7218 [vm/mirrors] ClassMirror stop getting methods from mixin class
      dart-lang/sdk@a65615964a Log computed unit elements.
      dart-lang/sdk@83458092ef Migration: add support for inferred types that are generic function types.
      dart-lang/sdk@eee596363b Migration: decouple DecoratedType from PotentialModification.
      dart-lang/sdk@1fcaa26004 [vm/benchmarks] Add sync/sync*/async/async* call benchmarks
      dart-lang/sdk@3f0f66cabc [DDC,bazel] Allow no digest when not in worker mode
      698f7f31
    • Y
      preventDefault on touchend to show iOS keyboard (#11390) · ffe8c0b3
      Yegor 提交于
      ffe8c0b3
    • S
      Roll src/third_party/skia 2a5954140b49..941d0a365045 (6 commits) (#11389) · 47b2d9b3
      skia-flutter-autoroll 提交于
      
      https://skia.googlesource.com/skia.git/+log/2a5954140b49..941d0a365045
      
      git log 2a5954140b49..941d0a365045 --date=short --no-merges --format='%ad %ae %s'
      2019-08-22 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
      2019-08-22 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
      2019-08-22 herb@google.com Revert "Don't send strike with no pending glyphs"
      2019-08-22 egdaniel@google.com Reland "Merge GrOpList and GrRTOpList and rename to GrOpsTask."
      2019-08-22 egdaniel@google.com Revert "Merge GrOpList and GrRTOpList and rename to GrOpsTask."
      2019-08-22 fmalita@chromium.org Revert "[canvaskit] Optimize CK builds for size"
      
      Created with:
        gclient setdep -r src/third_party/skia@941d0a365045
      
      The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
      
      If the roll is causing failures, please contact the current sheriff, who should
      be CC'd on the roll, and stop the roller if necessary.
      
      
      Bug: None
      TBR=egdaniel@google.com
      47b2d9b3
    • S
      Allow overriding the GLFW pixel ratio (#11388) · 4f6f390b
      stuartmorgan 提交于
      Allows a client to set a specific pixel ratio rather than using one
      computed based on the screen details.
      
      Fixes https://github.com/flutter/flutter/issues/37620
      4f6f390b
    • S
      Allow non-resizable windows in GLFW embedding (#11386) · 6f911ab3
      stuartmorgan 提交于
      Adds a flag to create non-resizeable windows.
      
      Since the number of parameters is getting awkward, extracts
      window-related parameters and engine-related parameters into structs for
      clarity. This also removes some duplication in method signatures.
      
      The window parameters struct change is also made to the C++ wrapper,
      making this a breaking change for the runners.
      
      Fixes https://github.com/flutter/flutter/issues/37623
      6f911ab3
    • Y
      sync web engine; run web engine tests (#11031) · fad38e25
      Yegor 提交于
      sync web engine; run web engine tests
      fad38e25
    • G
    • E
      Remove empty line in the pom file (#11382) · 3e403dd2
      Emmanuel Garcia 提交于
      3e403dd2
    • S
      Roll src/third_party/skia 068af9e416cb..2a5954140b49 (8 commits) (#11383) · 78ac6532
      skia-flutter-autoroll 提交于
      
      https://skia.googlesource.com/skia.git/+log/068af9e416cb..2a5954140b49
      
      git log 068af9e416cb..2a5954140b49 --date=short --no-merges --format='%ad %ae %s'
      2019-08-22 egdaniel@google.com Merge GrOpList and GrRTOpList and rename to GrOpsTask.
      2019-08-22 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
      2019-08-22 fmalita@chromium.org [svgcanvas] Named colors support
      2019-08-22 egdaniel@google.com Delete unused GrTextureOpList.
      2019-08-22 fmalita@chromium.org [canvaskit] Optimize CK builds for size
      2019-08-22 csmartdalton@google.com Don't perform dst reads on MSAA targets that require manual resolve
      2019-08-22 scroggo@google.com Remove SK_LEGACY_HEIF_API
      2019-08-22 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
      
      Created with:
        gclient setdep -r src/third_party/skia@2a5954140b49
      
      The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
      
      If the roll is causing failures, please contact the current sheriff, who should
      be CC'd on the roll, and stop the roller if necessary.
      
      
      Bug: None
      TBR=egdaniel@google.com
      78ac6532
    • S
      Switch to an incremental runloop for GLFW (#11368) · fa161274
      stuartmorgan 提交于
      Rather than running the runloop forever, have the API expose an incremental runloop. This allows clients to do other processing if they need it.
      
      This allows for removing the odd construction of having knowledge of GTK event handling built into the library even though nothing in the library uses it; instead runner applications that use GTK plugins (such as FDE's testbed) can do that processing at the application level instead.
      fa161274
    • D
      Update scenarios readme (#11374) · cffa8b0c
      Dan Field 提交于
      This is out of date.
      cffa8b0c
    • S
      Use of App.framework in macOS FlutterDartProject (#11380) · 5f03c7e3
      stuartmorgan 提交于
      Adds initial use of App.framework in the macOS project configuration,
      using that rather than the main bundle as the default Dart bundle, and
      expecting flutter_resources to be located there.
      
      This is an incremental step toward aligning with the behvaior of the iOS
      version of this class.
      
      Fixes https://github.com/flutter/flutter/issues/38363
      5f03c7e3
    • B
      Roll src/third_party/dart 9fda4c1101..88c0c11612 (12 commits) · 9e9425ea
      Ben Konyi 提交于
      dart-lang/sdk@88c0c11612 Remove constant-update-2018 flag from tests.
      dart-lang/sdk@e4c552fb48 [CFE] Add test that runs analyzer on CFE source with lints
      dart-lang/sdk@95c9f732de Expire spread and control-flow collection flags.
      dart-lang/sdk@a7a1860283 [infra] Remove non-essential status expectations from pkg status file
      dart-lang/sdk@5428119bee [infra] Remove non-essential test expectations from analyzer status files
      dart-lang/sdk@9e676aa228 [cfe+dart2js] Add error testing to constant_test
      dart-lang/sdk@46d5556e56 [co19] Roll co19 to 52daae49d7bff80039ff1eea36a24e98c2b9a837
      dart-lang/sdk@976877974b [bazel] Don't require empty linked inputs for incremental mode
      dart-lang/sdk@ceaf00ebe6 [co19] Document how co19 rolls are done.
      dart-lang/sdk@51f6cab413 [cfe] Parse nnbd modifiers in kernel type substitution tests
      dart-lang/sdk@5dcec3c93e [CFE] Disallow exports internally
      dart-lang/sdk@40589f80aa [CFE] Fourth batch of fixes for requiring explicit types
      9e9425ea
    • S
      Roll src/third_party/skia c071fc92cd3d..068af9e416cb (3 commits) (#11379) · 5d32ff66
      skia-flutter-autoroll 提交于
      
      https://skia.googlesource.com/skia.git/+log/c071fc92cd3d..068af9e416cb
      
      git log c071fc92cd3d..068af9e416cb --date=short --no-merges --format='%ad %ae %s'
      2019-08-22 brianosman@google.com Revert "Temporary Lua hook to measure impact of conservative convexity"
      2019-08-22 brianosman@google.com Enable SkSL interpreter in CanvasKit to get particles working again
      2019-08-22 bsalomon@google.com limit SK_API exposure on GrTexture
      
      Created with:
        gclient setdep -r src/third_party/skia@068af9e416cb
      
      The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
      
      If the roll is causing failures, please contact the current sheriff, who should
      be CC'd on the roll, and stop the roller if necessary.
      
      
      Bug: None
      TBR=egdaniel@google.com
      5d32ff66
    • A
      0345967a
  4. 22 8月, 2019 1 次提交
    • B
      Roll src/third_party/dart 1279641cdd..9fda4c1101 (3 commits) · bb8e6e4d
      Ben Konyi 提交于
      dart-lang/sdk@9fda4c1101 [vm/bytecode] Avoid using closure call instructions if code coverage may be needed
      dart-lang/sdk@c62be7398c Log full requests except 'analysis.updateContent'.
      dart-lang/sdk@09528fc276 Check for null from DeclarationsTracker.getContext()
      bb8e6e4d