3285 Commits

Author SHA1 Message Date
skia-flutter-autoroll
f58dcd75ff
Roll src/third_party/skia/ 1d686a962..811b944a8 (25 commits; 5 trivial rolls) (#5237)
Auto-roller completed checks. Merging.
2018-05-11 14:55:59 -04:00
Jason Simmons
4a4cff96d4
Remove Blink code (#5218)
Fixes https://github.com/flutter/flutter/issues/12212
2018-05-10 15:57:29 -07:00
skia-flutter-autoroll
29816a6607 Roll src/third_party/skia/ 3d0e8507f..5209d7fce (14 commits) (#5061)
https://skia.googlesource.com/skia.git/+log/3d0e8507face..5209d7fce35f

$ git log 3d0e8507f..5209d7fce --date=short --no-merges --format='%ad %ae %s'
2018-04-20 bsalomon Fix starting location in GrRTC::drawOval when converting to GrShape
2018-04-20 bsalomon Analytic dashing of circles with single on/off intervals and butt caps.
2018-04-20 brianosman Fix argument names and documentation for SkMatrix44::set3x3()
2018-04-18 enne Reland "Add stub gpu workaround generators"
2018-04-20 robertphillips Add ability to dump opList info at flush-time
2018-04-20 benjaminwagner Fix Housekeeper-PerCommit-InfraTests
2018-04-20 scroggo Reduce threads used for DNG decodes on Android
2018-04-19 benjaminwagner Add SwiftShader Build jobs.
2018-04-19 benjaminwagner Add cmake_linux asset.
2018-04-20 egdaniel Add discard check when deciding if we should execute op list or not.
2018-04-20 robertphillips Remove another writePixels instance
2018-04-18 csmartdalton ccpr: Don't solve for cubic roots that are out of range
2018-04-19 benjaminwagner Add SwiftShader to DEPS.
2018-04-19 csmartdalton ccpr: Fix flatness and triangle-ness detection for conics

Created with:
  roll-dep src/third_party/skia
2018-04-23 10:26:06 -04:00
skia-flutter-autoroll
17e3e6961e Roll src/third_party/skia/ c4e384e5a..3d0e8507f (18 commits) (#5056)
https://skia.googlesource.com/skia.git/+log/c4e384e5ad85..3d0e8507face

$ git log c4e384e5a..3d0e8507f --date=short --no-merges --format='%ad %ae %s'
2018-04-20 robertphillips Prevent matrix stack from being corrupted if a rotated image filter is clipped out
2018-04-20 caryclark guard against NaN in path is rect
2018-04-19 fmalita Fix use-of-uninitialized-value in SkPictureShader::onMakeContext
2018-04-19 benjaminwagner Disable retries for Build, CT, and Calmbench tasks.
2018-04-20 angle-skia-autoroll Roll third_party/externals/angle2/ b0f917fa6..3ec304dba (1 commit)
2018-04-20 angle-skia-autoroll Roll third_party/externals/angle2/ e24032a2c..b0f917fa6 (3 commits)
2018-04-19 csmartdalton ccpr: Don't preempt the convex path renderer
2018-04-19 benjaminwagner Add more angle_gl_* configs for NVIDIA.
2018-04-19 jvanverth Remove ambient clamp hack for analytic shadows.
2018-04-19 brianosman Remove duplicate predefined configs
2018-04-18 csmartdalton ccpr: Clean up GrCCGeometry
2018-04-19 herb Adding pinning to the strike cache
2018-04-19 bsalomon Fix double counting of coverage in analytic round capped stroked circles.
2018-04-11 bungeman Document minimum OS requirements.
2018-04-19 angle-skia-autoroll Roll third_party/externals/angle2/ eeec3b14c..e24032a2c (2 commits)
2018-04-18 robertphillips rm SkRRectsGaussianEdgeMaskFilter
2018-04-19 borenet [skcms] Add version.sha1
2018-04-19 mtklein crash rather than overflow in SkTDArray

Created with:
  roll-dep src/third_party/skia
2018-04-20 13:16:21 -04:00
Ravi Mistry
f4ebb18078 Roll src/third_party/skia/ 3462eb034..e669bdfad (54 commits) (#5007)
https://skia.googlesource.com/skia.git/+log/3462eb0346de..e669bdfad6d5

$ git log 3462eb034..e669bdfad --date=short --no-merges --format='%ad %ae %s'
2018-04-14 angle-skia-autoroll Roll third_party/externals/angle2/ 983c429fa..152152618 (7 commits)
2018-04-13 ethannicholas fix sksl standalone build error
2018-04-13 borenet Blacklist check_small_sigma_offset on Chromecast
2018-04-13 reed remove unused virtual onNotifyPixelsChanged
2018-04-13 reed rewrite iterator to make msvc happy
2018-04-13 brianosman Support downscaling to max texture size when making cross-context images
2018-04-13 borenet Add a MSVS bot to the CQ
2018-04-13 liyuqian Clone the xpos array in drawPosText
2018-04-13 ethannicholas added sk_LastFragColor
2018-04-13 reed Revert "add test for degenerate canvas dimension"
2018-04-13 reed add test for degenerate canvas dimension
2018-04-13 robertphillips Don't try to readback from the GPU for small blur sigmas
2017-12-20 herb Make a GM for checking blur bounds.
2018-04-13 angle-skia-autoroll Roll third_party/externals/angle2/ cc1293775..983c429fa (1 commit)
2018-04-13 fmalita [skottie] Harden json string parsing
2018-04-13 caryclark path is rect bug number nine
2018-04-13 hcm Update Skia milestone to 68
2018-04-13 angle-skia-autoroll Roll third_party/externals/angle2/ ed8d5ec73..cc1293775 (1 commit)
2018-04-12 liyuqian Limit our IsBadForDAA for stroke width > 0 and <= 2
2018-04-12 csmartdalton ccpr: Actually blacklist ANGLE
2018-04-12 angle-skia-autoroll Roll third_party/externals/angle2/ 14f4817c4..ed8d5ec73 (8 commits)
2018-04-12 reed can't abort looper loop, as saveCount won't be balanced
2018-04-12 egdaniel Don't create lazy proxys if their width/height is greater than max tex size
2018-04-12 robertphillips Actually generate the gm images on the DDL1 bot
2018-04-12 caryclark son of path is rect bug
2018-04-12 ethannicholas workaround for buggy macOS GLSL shader compiler
2018-04-12 egdaniel Delete getRenderTargetHandle call on SkSurface.
2018-04-12 reed check for non-finite values output by clipper
2018-04-12 brianosman Fail fast when trying to make a texture that's too large
2018-04-12 djsollen Include shadow ops in the debugger.
2018-04-11 liyuqian Reland "Add private fIsBadForDAA bit to SkPath"
2018-04-12 reed add conservative bounds to raster tiling
2018-04-12 reed always clear the looper when we're unrolling it, to not confused devices
2018-04-11 robertphillips Disable CCPR and the small path renderer on DDL1 bot
2018-04-12 caryclark another rect is path fix
2018-04-11 robertphillips Add SK_SUPPORT_LEGACY_BACKEND_OBJECTS
2018-04-11 csmartdalton Implement Sk2f Load2
2018-04-11 csmartdalton ccpr: Blacklist ANGLE again
2018-04-11 robertphillips Allow SkImage_Gpu to fail some requests in DDL mode
2018-04-11 cwallez update_meta_config: Use new LUCI optional GPU trybot on Windows
2018-04-11 csmartdalton Implement Sk4f min/max
2018-04-11 liyuqian Remove obsolete comment
2018-04-11 benjaminwagner Upgrade PixelC and NexusPlayer OS.
2018-04-12 angle-skia-autoroll Roll third_party/externals/angle2/ 2dadd1d08..14f4817c4 (2 commits)
2018-04-11 caryclark fix bm gm
2018-04-12 mtklein skcms→1654786 concat gamut transform matrices together
2018-04-11 fmalita Reland "Fix handling of MaskFilter matrices"
2018-04-11 angle-skia-autoroll Roll third_party/externals/angle2/ 785b20b7a..2dadd1d08 (11 commits)
2018-04-11 benjaminwagner Upgrade Windows Skolo bots.
2018-04-11 reed remove unused/dumb methods from SkRect
2018-04-11 reed Clean-up paints for drawImage (etc.) to enforce that we always ignore stroking and patheffects.
2018-04-11 caryclark more path is rect bugs
2018-04-11 mtklein skcms→9334796 reject non-XYZ/Lab PCS profiles
2018-04-11 liyuqian Revert "Add private fIsBadForDAA bit to SkPath"

Created with:
  roll-dep src/third_party/skia
2018-04-15 12:54:29 -04:00
Chinmay Garde
58e84c8bf0
Re-land "Support multiple shells in a single process. (#4932)" (#4998)
* Re-land "Support multiple shells in a single process. (#4932)"

This reverts commit 723c7d01439da4261bc836075fb55651ce9e7f03.
2018-04-13 13:48:15 -07:00
Brian Osman
37e5df0530
Remove only use of SkPaint::kGenA8FromLCD (#4994)
Skia is removing SkPaint::kGenA8FromLCD (this information is now part of the SkPixelGeometry on SkSurface). This flag never appears to be mentioned anywhere else in the code and appears to be left over from being copied from blink (this code in blink used to set this flag conditionally).
2018-04-13 12:12:06 -04:00
Vyacheslav Egorov
723c7d0143
Revert "Re-land "Support multiple shells in a single process. (#4932)" (#4977)" (#4981)
This reverts commit a3327bff86800b3e654a2988fa7e6049edeb679c.
2018-04-12 18:28:55 +02:00
Chinmay Garde
a3327bff86
Re-land "Support multiple shells in a single process. (#4932)" (#4977)
This reverts commit 9199b40f2a2a6e448cd251de44e020ec3b75002d.
2018-04-11 15:41:23 -07:00
Chinmay Garde
9199b40f2a
Revert "Support multiple shells in a single process. (#4932)" (#4964)
This reverts commit 6baff4c821350bbcb64e7d029574b567f3801a1a.
2018-04-10 15:28:43 -07:00
Chinmay Garde
6baff4c821
Support multiple shells in a single process. (#4932)
* Support multiple shells in a single process.

The Flutter Engine currently works by initializing a singleton shell
instance. This shell has to be created on the platform thread. The shell
is responsible for creating the 3 main threads used by Flutter (UI, IO,
GPU) as well as initializing the Dart VM. The shell, references to task
runners of the main threads as well as all snapshots used for VM
initialization are stored in singleton objects. The Flutter shell only
creates the threads, rasterizers, contexts, etc. to fully support a
single Flutter application. Current support for multiple Flutter
applications is achieved by making multiple applications share the same
resources (via the platform views mechanism).

This scheme has the following limitations:

* The shell is a singleton and there is no way to tear it down. Once you
  run a Flutter application in a process, all resources managed by it
  will remain referenced till process termination.
* The threads on which the shell performs its operations are all
  singletons. These threads are never torn down and multiple Flutter
  applications (if present) have to compete with one another on these
  threads.
* Resources referenced by the Dart VM are leaked because the VM isn't
  shutdown even when there are no more Flutter views.
* The shell as a target does not compile on Fuchsia. The Fuchsia content
  handler uses specific dependencies of the shell to rebuild all the
  shell dependencies on its own. This leads to differences in frame
  scheduling, VM setup, service protocol endpoint setup, tracing, etc..
  Fuchsia is very much a second class citizen in this world.
* Since threads and message loops are managed by the engine, the engine
  has to know about threading and platform message loop interop on each
  supported platform.

Specific updates in this patch:

* The shell is no longer a singleton and the embedder holds the unique
  reference to the shell.
* Shell setup and teardown is deterministic.
* Threads are no longer managed by the shell. Instead, the shell is
  given a task runner configuration by the embedder.
* Since the shell does not own its threads, the embedder can control
  threads and the message loops operating on these threads. The shell is
  only given references to the task runners that execute tasks on these
  threads.
* The shell only needs task runner references. These references can be
  to the same task runner. So, if the embedder thinks that a particular
  Flutter application would not need all the threads, it can pass
  references to the same task runner. This effectively makes Flutter
  application run in single threaded mode. There are some places in the
  shell that make synchronous calls, these sites have been updated to
  ensure that they don’t deadlock.
* The test runner and the headless Dart code runner are now Flutter
  applications that are effectively single threaded (since they don’t
  have rendering concerns of big-boy Flutter application).
* The embedder has to guarantee that the threads and outlive the shell.
  It is easy for the embedder to make that guarantee because shell
  termination is deterministic.
* The embedder can create as many shell as it wants. Typically it
  creates a shell per Flutter application with its own task runner
  configuration. Most embedders obtain these task runners from threads
  dedicated to the shell. But, it is entirely possible that the embedder
  can obtain these task runners from a thread pool.
* There can only be one Dart VM in the process. The numerous shell
  interact with one another to manage the VM lifecycle. Once the last
  shell goes away, the VM does as well and hence all resources
  associated with the VM are collected.
* The shell as a target can now compile and run on Fuchsia. The current
  content handler has been removed from the Flutter engine source tree
  and a new implementation has been written that uses the new shell
  target.
* Isolate management has been significantly overhauled. There are no
  owning references to Dart isolates within the shell. The VM owns the
  only strong reference to the Dart isolate. The isolate that has window
  bindings is now called the root isolate. Child isolates can now be
  created from the root isolate and their bindings and thread
  configurations are now inherited from the root isolate.
* Terminating the shell terminates its root isolates as well as all the
  isolates spawned by this isolate. This is necessary be shell shutdown
  is deterministic and the embedder is free to collect the threads on
  which the isolates execute their tasks (and listen for mircrotasks
  flushes on).
* Launching the root isolate is now significantly overhauled. The shell
  side (non-owning) reference to an isolate is now a little state
  machine and illegal state transitions should be impossible (barring
  construction issues). This is the only way to manage Dart isolates in
  the shell (the shell does not use the C API is dart_api.h anymore).
* Once an isolate is launched, it must be prepared (and hence move to
  the ready phase) by associating a snapshot with the same. This
  snapshot can either be a precompiled snapshot, kernel snapshot, script
  snapshot or source file. Depending on the kind of data specified as a
  snapshot as well as the capabilities of the VM running in the process,
  isolate preparation can fail preparation with the right message.
* Asset management has been significantly overhauled. All asset
  resolution goes through an abstract asset resolver interface. An asset
  manager implements this interface and manages one or more child asset
  resolvers. These asset resolvers typically resolve assets from
  directories, ZIP files (legacy FLX assets if provided), APK bundles,
  FDIO namespaces, etc…
* Each launch of the shell requires a separate and fully configured
  asset resolver. This is necessary because launching isolates for the
  engine may require resolving snapshots as assets from the asset
  resolver. Asset resolvers can be shared by multiple launch instances
  in multiple shells and need to be thread safe.
* References to the command line object have been removed from the
  shell. Instead, the shell only takes a settings object that may be
  configured from the command line. This makes it easy for embedders and
  platforms that don’t have a command line (Fuchsia) to configure the
  shell. Consequently, there is only one spot where the various switches
  are read from the command line (by the embedder and not the shell) to
  form the settings object.
* All platform now respect the log tag (this was done only by Android
  till now) and each shell instance have its own log tag. This makes
  logs from multiple Flutter application in the same process (mainly
  Fuchsia) more easily decipherable.
* The per shell IO task runner now has a new component that is
  unfortunately named the IOManager. This component manages the IO
  GrContext (used for asynchronous texture uploads) that cooperates with
  the GrContext on the GPU task runner associated with the shell. The
  IOManager is also responsible for flushing tasks that collect Skia
  objects that reference GPU resources during deterministic shell
  shutdown.
* The embedder now has to be careful to only enable Blink on a single
  instance of the shell. Launching the legacy text layout and rendering
  engine multiple times is will trip assertions. The entirety of this
  runtime has been separated out into a separate object and can be
  removed in one go when the migration to libtxt is complete.
* There is a new test target for the various C++ objects that the shell
  uses to interact with the Dart VM (the shell no longer use the C API
  in dart_api.h). This allows engine developers to test VM/Isolate
  initialization and teardown without having the setup a full shell
  instance.
* There is a new test target for the testing a single shell instances
  without having to configure and launch an entire VM and associated
  root isolate.
* Mac, Linux & Windows used to have different target that created the
  flutter_tester referenced by the tool. This has now been converted
  into a single target that compiles on all platforms.
* WeakPointers vended by the fml::WeakPtrFactory(notice the difference
  between the same class in the fxl namespace) add threading checks on
  each use. This is enabled by getting rid of the “re-origination”
  feature of the WeakPtrFactory in the fxl namespace. The side effect of
  this is that all non-thread safe components have to be created, used
  and destroyed on the same thread. Numerous thread safety issues were
  caught by this extra assertion and have now been fixed.
  * Glossary of components that are only safe on a specific thread (and
    have the fml variants of the WeakPtrFactory):
    * Platform Thread: Shell
    * UI Thread: Engine, RuntimeDelegate, DartIsolate, Animator
    * GPU Thread: Rasterizer, Surface
    * IO Thread: IOManager

This patch was reviewed in smaller chunks in the following pull
requests. All comments from the pulls requests has been incorporated
into this patch:

* flutter/assets: https://github.com/flutter/engine/pull/4829
* flutter/common: https://github.com/flutter/engine/pull/4830
* flutter/content_handler: https://github.com/flutter/engine/pull/4831
* flutter/flow: https://github.com/flutter/engine/pull/4832
* flutter/fml: https://github.com/flutter/engine/pull/4833
* flutter/lib/snapshot: https://github.com/flutter/engine/pull/4834
* flutter/lib/ui: https://github.com/flutter/engine/pull/4835
* flutter/runtime: https://github.com/flutter/engine/pull/4836
* flutter/shell: https://github.com/flutter/engine/pull/4837
* flutter/synchronization: https://github.com/flutter/engine/pull/4838
* flutter/testing: https://github.com/flutter/engine/pull/4839
2018-04-10 14:57:02 -07:00
Chris Bracken
4173601071
Add tool to create multi-arch iOS gen_snapshot (#4948)
This adds create_macos_gen_snapshot.py, which can be used to generate a
multi-architecture (x86_64, i386) gen_snapshot fat binary. The resulting
binary can then be run in the desired mode using:

/usr/bin/arch -i386 path/to/gen_snapshot
/usr/bin/arch -x86_64 path/to/gen_snapshot

When creating AOT snapshots for iOS, running as an i386 binary will
generate armv7 code, whereas running as an x86_64 binary will generate
arm64 code.

The primary user of this script is the build bot.
2018-04-06 19:21:05 -07:00
Adam Barth
0122d58426
[fuchsia] Update for SizedVmoTransport to Buffer rename (#4946) 2018-04-06 17:13:41 -07:00
Chris Bracken
d2b69fec75
Require armv7 in create_ios_framework.py (#4944)
This enforces that iOS Flutter.framework builds include arm64, armv7,
and x86_64 (simulator) architectures. This change also eliminates the
previous --device-out-dir option, which has been replaced by
--arm64-out-dir.
2018-04-05 17:43:30 -07:00
Chris Bracken
aa9ce70928
Add armv7 support to create_ios_framework script (#4942)
This adds support for --armv7-out-dir and renames --device-out-dir to
--arm64-out-dir for clarity. It preserves --device-out-dir as a fallback
until the bot recipe has been updated to use --arm64-out-dir.
2018-04-05 14:14:34 -07:00
Jeff Brown
ac552fba4a Port flutter content handler to FIDL2. (#4903) 2018-03-29 21:49:35 -07:00
Brian Osman
6473f1b106
Use newer Skia API for constructing mask blur filters (#4875)
Old API is going to be hidden/removed soon
2018-03-27 13:53:01 -04:00
Siva
f192c59d76
Roll Dart to version 0175f24b2549732d0010708988fd328440c3f956 (#4791)
* Roll Dart to version 0175f24b2549732d0010708988fd328440c3f956

Notable runtime changes :

- Translate asserts in the VM-specific async translation

- Fixes flutter code coverage issues

- Fix type test '_Closure class IS FunctionType' in strong mode

- Report a compile-time error on magic const

- Do not skip type checks on closure functions.

- Make Dart_DumpStackTrace work when there is no current isolate.

- [vm/kernel/aot, test tool] Enable global type flow analysis

* updated DEPS

* Update.

* Update new license.
2018-03-14 19:51:38 -07:00
Petr Hosek
141176b900
Migrate all uses of gtest to googletest (#4755)
gtest is an old version that predates the googletest and googlemock
merger, all tests should be using the newer googletest that's being
kept in sync with the upstream version.
2018-03-14 11:32:34 -07:00
Alexander Aprelev
b6df7a6374
Roll dart to 290c576264faa096a0b3206c71b2435309d9f904. (#4771)
* Roll dart to 290c576264faa096a0b3206c71b2435309d9f904.

Changes since last roll:
```
290c576264 Remove inherited setters for mixed-in fields and copy their covariance-bits.
52b66e17fe Make fasta command line work on Windows
cb2e4b183e [fasta] Rename some methods in Forest API
2fcdfc1f23 Rename bug32353{,_2}_test.dart to issue32353{,_2}_test.dart
414a3318ea Add jsonDecode, jsonEncode, base64Decode, base64Encode, base64UrlEncode functions.
6cef6625ef [kernel] Record supertypes after the query intervals in CHA are built
f820555d19 Add test of type checks on redirecting initializer arguments
c31e628c4c Check types of arguments passed to redirecting initializers
009b6673ce [vm/kernel] Make 'unsupported tag' errors more verbose
70d715f115 Substitute return type too
40738b8884 fix #32481, generate signatures for mock members induced by nSM
b6460f34f6 Upgrade analyzer_plugin for republish with recent bugfix
439badf2c0 Revert "[build] Declare dependency of the version strings on the current Git commit."
7a0b6f8f4a Fix the analyzer bots
c080951d45 [build] Declare dependency of the version strings on the current Git commit.
693390a776 Index and search implicit references to optional positional parameters.
80a571d546 Take the --preview-dart-2 defaults from the context and options classes, not the cli tool defaults. Also, allow --no-preview-dart-2 from dartanalyzer.
8d47a6e86f Add a fix for lints that recommend using final (issue 32473)
0b48112d3e Fix nsm forwarding bug
977f4c706f Issue 32397. Fix for top-level inference and implicit creation.
b8093e3323 Generate signature of instantiated generic function from uninstantiated function
528d9d2e1f Do not hint when only a responsive asset exists (issue 32250)
5eb6d980b5 Do not hint when using a deprecated parameter in the defining function (issue 32468)
aff70cafc1 [vm] Fix reading of Object::extractor_parameter_types() from a snapshot
23fccf2e59 [VM] ARM64 unboxed 64 bit fix signed/unsigned const shift
e66733dd60 Simplify test case bug32353_test and decouple it from dart:io
e067f7fdfa The dart-dfe target is no longer being benchmarked.
7ce30c5289 Fix status files after 26e689de05b4
978840a42f [infra] Use a jessie sysroot for sanitizer builds
ad62702e93 Update status
11c77930e0 [infra] Turn on C++14 in the compiler config
30a87ce3fa [VM] ARM64: Add unboxed 64 bit integers
d2b7787186 [infra] Use downloaded sysroots by default
76b8e397ed Revert "Reland "[VM runtime] Switch intrinsics from old to new Bigint implementation.""
26e689de05 More work on signatures
5f51db3efb More status preparations to make the CQ clean
2cb80620bd Revert "[vm/simarm] Fix VRECPS/VRSQRTSQS instruction implementation."
feac6cfc20 Deal with Function type parameter contexts in closure conversion.
76a672e8ea mark lib_2/html/fileapi_entry_test flaky on ddc+mac
97bbe2f20b [vm] Avoid using objects in VM isolate heap for de-duplication
e1909cb52a Update Outline protocol - change offset/length, add codeOffset/codeLength.
602a8c2a7b Clean up usage of deprecated constants
5c94ec7b43 avoid generating unused constructors in dart:html
7aa3e54acf [vm] Fix computation of hashCode of a closure with null receiver
b93c74092a Make isInterceptedCall a field
c956cc152f Prepare co19 for d8-hostchecked-dart2js-with-cfe.
4c881188b2 Disable the .whereType method until generic methods are turned on.
16e8194147 Prepare additional lib, html, samples statuses: this embeds of d8-hostcheck results
0013f6acf8 Prepare co19 for the FE switch
22ccad1aa6 [vm] Stream writing snapshots as assembly to reduce peak memory usage.
eea08cfabe Add optional 'file' for getElementDeclarations.
b7cb8a1daa Mark 2 more tests as flaky
8240134d66 [infra] Roll boringssl forward. Use clang for arm on Linux.
e775ae9c30 Mark flaky co19 test
3da9c349d4 [vm/simarm] Fix VRECPS/VRSQRTSQS instruction implementation.
d059e97974 Add platform.dill files to the hostchecked try bots.
b3c12d4e3a Dart 2 Libraries Wave 3
021a29d68f Move analyzer-specific status lines into language_2_analyzer.status
b457d71713 Canonicalize representation of a message without location.
383517d292 [VM runtime] Fix type canonicalization (fixes #32425). A reused type argument vector that is longer than necessary needs to be shortened to the correct length upon type canonicalization. The runtime call comparing two instance runtime types also needs to consider reused vectors. Add regression test.
0fdbc331f6 Fix dynamic type dependencies in codegen
ef5909b986 Remove now unused dartk_wrappers
50ba330a04 Fix for suggesting both class and its default constructor.
e3ecc87eb9 [VM / Kernel ] Fixed issue where enum classes were not being marked as such in the VM. Enum class fields are now eagerly initialized.
4c58384b50 Prepare html, isolate, lib, and lib_2 status files to turn on CFE on dart2js by default
24507da9da Fix stack overflow when analyzing type variables in generic methods.
0e30facfc3 Update versions of the following packages to the latest versions - boolean_selector - collection
211bf1ee5f [vm/kernel/aot] Cache specializations of cone types in TFA
1c8841e52a [vm/kernel/aot] Fully support named parameters in type flow analysis
618cd897e6 Gardening: Adjust test status to fix bots again. Didn't fix the right status file last time and I couldn't test this since it's on Windows. :-(
23a7b62c42 Use type of receiver for setter target identification
f5b5ae86b6 Respect comments when inserting imports (issue 32432)
7290c950d0 Change name of 'signature' to ':signature' to not conflict with a DOM member.
7f9d5d318a Gardening: Change test status for standalone_2/namespace_test on Windows. Has been passing for as far back as I can see in the history.
55f7687908 [infra] Enable front end CQ builder
e8018bfdea Mark tests as flaky
9d17f3a92d Tests no longer crash
90c08d5287 Update co19 status for Chrome 65 roll
440b58d644 Start running analyzer tests with --preview-dart-2.
dc0f4c840c Fix status of map_literal1_test on analyzer
aecf5bf56e [VM] Remove locking in code called by signal handler, ensure profiler thread sees valid [Redirection] list
a55cdaee08 A bit of gardening
db08061424 Handle implicit tear-off of .call when an implicit downcast is required
8f4db274f1 Compute which selectors that need type arguments
83c8c21abe Gracefully handle local function modifiers
8831dd1308 Remove failing assertion
a3218d0b72 Roll back change to pkg/dev_compiler/analysis_options.yaml
50a6bb559d Update co19 status on IE11 after co19 update
6b91b4f2d2 Remove RuntimeTypesNeed.classUsesTypeVariableLiteral
f69da8e36b Move tests to /model/
d17db1d5f3 Pass type inference context down to field initializer when type inferred via override
675048d0b6 Add pragma class to dart:core.
94aa20dd07 Update status for $compiler == fasta
615f40bc1d Ensure that `null` is not used as a context in more places.
f3687198b8 Update dart2js_extra: normalize further and update to match runtime==chrome expectations
18aa6b570f Delete recursive import test, improve comment of dummy_compiler_test.
7fe8bdb2ee Refactor tests
932a99a731 Prepare pkg.status to enable dart2js CFE by default
dab7da78cd fix implicit casts in DDC
1b9b3453de fix DDC ES6 module export names, part of #32272
69f8d4ef0d Fix parsing of super expressions (issue 32393)
2ace7c9e9a Update dart2js-minified status for co19 no-such-method test
a1cacec5fc Update status after co19 roll
6b44182344 Only widgets in libraries can be rendered.
8d6b050e28 [VM] Guard against duplicate entries in the static [Redirection::list_]
be87175fee Implement Flutter Outline rendering API.
619434d38d Remember that C() is a compile-time constant expression.
18fe31ab11 Remove useOptimizedMixins from dart2js
9f56e28372 Mixin Applications with a Vengeance
3f71dc5dd2 Add preview_dart_2 to supported set of status file variables
bda78a0f41 Deprecated old upper-case constants.
```

* Update license hash
2018-03-12 09:12:51 -07:00
P.Y. Laligand
a6764dbd52
Add sources for Fuchsia target. (#4763) 2018-03-12 15:37:43 +01:00
Alexander Aprelev
9717063b77
Revert "Roll dart to c080951d45e79cd25df98036c4be835b284a269c. (#4767)" (#4768)
This reverts commit 9a9814312b3086884d6bb1a079c5bea0a7c4244f as it causes https://github.com/flutter/flutter/issues/15368.
2018-03-09 18:49:05 -08:00
Alexander Aprelev
9a9814312b
Roll dart to c080951d45e79cd25df98036c4be835b284a269c. (#4767)
* Roll dart to c080951d45e79cd25df98036c4be835b284a269c.

Changes since last roll:
```
c080951d45 [build] Declare dependency of the version strings on the current Git commit.
693390a776 Index and search implicit references to optional positional parameters.
80a571d546 Take the --preview-dart-2 defaults from the context and options classes, not the cli tool defaults. Also, allow --no-preview-dart-2 from dartanalyzer.
8d47a6e86f Add a fix for lints that recommend using final (issue 32473)
0b48112d3e Fix nsm forwarding bug
977f4c706f Issue 32397. Fix for top-level inference and implicit creation.
b8093e3323 Generate signature of instantiated generic function from uninstantiated function
528d9d2e1f Do not hint when only a responsive asset exists (issue 32250)
5eb6d980b5 Do not hint when using a deprecated parameter in the defining function (issue 32468)
aff70cafc1 [vm] Fix reading of Object::extractor_parameter_types() from a snapshot
23fccf2e59 [VM] ARM64 unboxed 64 bit fix signed/unsigned const shift
e66733dd60 Simplify test case bug32353_test and decouple it from dart:io
e067f7fdfa The dart-dfe target is no longer being benchmarked.
7ce30c5289 Fix status files after 26e689de05b4
978840a42f [infra] Use a jessie sysroot for sanitizer builds
ad62702e93 Update status
11c77930e0 [infra] Turn on C++14 in the compiler config
30a87ce3fa [VM] ARM64: Add unboxed 64 bit integers
d2b7787186 [infra] Use downloaded sysroots by default
76b8e397ed Revert "Reland "[VM runtime] Switch intrinsics from old to new Bigint implementation.""
26e689de05 More work on signatures
5f51db3efb More status preparations to make the CQ clean
2cb80620bd Revert "[vm/simarm] Fix VRECPS/VRSQRTSQS instruction implementation."
feac6cfc20 Deal with Function type parameter contexts in closure conversion.
76a672e8ea mark lib_2/html/fileapi_entry_test flaky on ddc+mac
97bbe2f20b [vm] Avoid using objects in VM isolate heap for de-duplication
e1909cb52a Update Outline protocol - change offset/length, add codeOffset/codeLength.
602a8c2a7b Clean up usage of deprecated constants
5c94ec7b43 avoid generating unused constructors in dart:html
7aa3e54acf [vm] Fix computation of hashCode of a closure with null receiver
b93c74092a Make isInterceptedCall a field
c956cc152f Prepare co19 for d8-hostchecked-dart2js-with-cfe.
4c881188b2 Disable the .whereType method until generic methods are turned on.
16e8194147 Prepare additional lib, html, samples statuses: this embeds of d8-hostcheck results
0013f6acf8 Prepare co19 for the FE switch
22ccad1aa6 [vm] Stream writing snapshots as assembly to reduce peak memory usage.
eea08cfabe Add optional 'file' for getElementDeclarations.
b7cb8a1daa Mark 2 more tests as flaky
8240134d66 [infra] Roll boringssl forward. Use clang for arm on Linux.
e775ae9c30 Mark flaky co19 test
3da9c349d4 [vm/simarm] Fix VRECPS/VRSQRTSQS instruction implementation.
d059e97974 Add platform.dill files to the hostchecked try bots.
b3c12d4e3a Dart 2 Libraries Wave 3
021a29d68f Move analyzer-specific status lines into language_2_analyzer.status
b457d71713 Canonicalize representation of a message without location.
383517d292 [VM runtime] Fix type canonicalization (fixes #32425). A reused type argument vector that is longer than necessary needs to be shortened to the correct length upon type canonicalization. The runtime call comparing two instance runtime types also needs to consider reused vectors. Add regression test.
0fdbc331f6 Fix dynamic type dependencies in codegen
ef5909b986 Remove now unused dartk_wrappers
50ba330a04 Fix for suggesting both class and its default constructor.
e3ecc87eb9 [VM / Kernel ] Fixed issue where enum classes were not being marked as such in the VM. Enum class fields are now eagerly initialized.
4c58384b50 Prepare html, isolate, lib, and lib_2 status files to turn on CFE on dart2js by default
24507da9da Fix stack overflow when analyzing type variables in generic methods.
0e30facfc3 Update versions of the following packages to the latest versions - boolean_selector - collection
211bf1ee5f [vm/kernel/aot] Cache specializations of cone types in TFA
1c8841e52a [vm/kernel/aot] Fully support named parameters in type flow analysis
618cd897e6 Gardening: Adjust test status to fix bots again. Didn't fix the right status file last time and I couldn't test this since it's on Windows. :-(
23a7b62c42 Use type of receiver for setter target identification
f5b5ae86b6 Respect comments when inserting imports (issue 32432)
7290c950d0 Change name of 'signature' to ':signature' to not conflict with a DOM member.
7f9d5d318a Gardening: Change test status for standalone_2/namespace_test on Windows. Has been passing for as far back as I can see in the history.
55f7687908 [infra] Enable front end CQ builder
e8018bfdea Mark tests as flaky
9d17f3a92d Tests no longer crash
90c08d5287 Update co19 status for Chrome 65 roll
440b58d644 Start running analyzer tests with --preview-dart-2.
dc0f4c840c Fix status of map_literal1_test on analyzer
aecf5bf56e [VM] Remove locking in code called by signal handler, ensure profiler thread sees valid [Redirection] list
a55cdaee08 A bit of gardening
db08061424 Handle implicit tear-off of .call when an implicit downcast is required
8f4db274f1 Compute which selectors that need type arguments
83c8c21abe Gracefully handle local function modifiers
8831dd1308 Remove failing assertion
a3218d0b72 Roll back change to pkg/dev_compiler/analysis_options.yaml
50a6bb559d Update co19 status on IE11 after co19 update
6b91b4f2d2 Remove RuntimeTypesNeed.classUsesTypeVariableLiteral
f69da8e36b Move tests to /model/
d17db1d5f3 Pass type inference context down to field initializer when type inferred via override
675048d0b6 Add pragma class to dart:core.
94aa20dd07 Update status for $compiler == fasta
615f40bc1d Ensure that `null` is not used as a context in more places.
f3687198b8 Update dart2js_extra: normalize further and update to match runtime==chrome expectations
18aa6b570f Delete recursive import test, improve comment of dummy_compiler_test.
7fe8bdb2ee Refactor tests
932a99a731 Prepare pkg.status to enable dart2js CFE by default
dab7da78cd fix implicit casts in DDC
1b9b3453de fix DDC ES6 module export names, part of #32272
69f8d4ef0d Fix parsing of super expressions (issue 32393)
2ace7c9e9a Update dart2js-minified status for co19 no-such-method test
a1cacec5fc Update status after co19 roll
6b44182344 Only widgets in libraries can be rendered.
8d6b050e28 [VM] Guard against duplicate entries in the static [Redirection::list_]
be87175fee Implement Flutter Outline rendering API.
619434d38d Remember that C() is a compile-time constant expression.
18fe31ab11 Remove useOptimizedMixins from dart2js
9f56e28372 Mixin Applications with a Vengeance
3f71dc5dd2 Add preview_dart_2 to supported set of status file variables
bda78a0f41 Deprecated old upper-case constants.
```

* Update licenses
2018-03-09 16:21:10 -08:00
Alexander Aprelev
54cda7b27a
Revert "Migrate all uses of gtest to googletest (#4728)" (#4750)
* Merge

* Update license hash
2018-03-06 09:46:24 -08:00
Petr Hosek
15bb1e9cb9
Migrate all uses of gtest to googletest (#4728)
gtest is an old version that predates the googletest and googlemock
merger, all tests should be using the newer googletest that's being
kept in sync with the upstream version.
2018-03-06 01:06:32 -08:00
Alexander Aprelev
c88ba37c79
Roll dart to ee15c8eb689791f6777eb3f6b0a1e9c58ff0671b. (#4736)
* Roll dart to ee15c8eb689791f6777eb3f6b0a1e9c58ff0671b.

* Update dart deps

* Skip over .emf-files.

.emf-files are binary media files in Microsoft enhanced mediaformat.

* Update license

* Cleanup license

* Clean up 3rd party licenses
2018-03-01 20:33:46 -08:00
Ryan Macnak
0d4e72e86f
[fuchsia] Place Observatory in the runner's package instead of linking it in. (#4719)
This allows blobfs to deduplicate it across {dart,flutter}_{jit,aot}_runner.
2018-02-27 16:45:52 -08:00
P.Y. Laligand
0749b87685
Use new parameter of Fuchsia template. (#4711) 2018-02-24 11:12:44 -08:00
P.Y. Laligand
660a861672
Update the type of a Fuchsia target. (#4710) 2018-02-23 18:52:16 -08:00
Adam Barth
0818d8c03d
[fuchsia] Update FIDL1 C++ bindings to match FIDL2 interface (#4620)
This change will make it easier to transition to FIDL2.
2018-01-30 12:35:26 -08:00
Jason Simmons
6bc4e7e9e4
Make the new sysroot format the default in flutter_gdb (#4576) 2018-01-19 15:12:00 -08:00
Brian Osman
c4141ff8f4
Add missing include for sk_malloc_throw (#4516)
SkTypes.h no longer includes SkMalloc.h
2018-01-04 17:11:04 -05:00
Brian Salomon
3afab47010 Remove use of SkPath::setConvexity in GraphicsContext. (#4398) 2017-12-01 09:48:57 -05:00
Ben Konyi
fbeb2b284d
Fixing compilation errors on non-Windows platforms. (#4405)
* Removed stray character.

* Added missing include.

* Fixed formatting.
2017-11-29 19:12:35 -05:00
Ben Konyi
c319a20192
Removed stray character. (#4404) 2017-11-29 18:59:51 -05:00
Ben Konyi
475607c003
Updated sky directory to compile on Windows. (#4399) 2017-11-29 18:53:48 -05:00
Benjamin Lerman
32270c7836 Update API to use sized vmo instead of raw vmo. 2017-11-21 10:09:20 +01:00
amirh
5afc1e2848
Enable WebP (#4359) 2017-11-15 16:49:50 -08:00
Chris Bracken
bc2acf7bdd
Revert "Roll Fuchsia buildtools to 85907c59e97527d79bbfdfd849d8e85c24959cc5 (#4331)" (#4340)
With the update to HEAD of the Fuchsia buildtools repo, the new clang
toolchain picked up caused link-time breakage in android x86_64
libFlutter.so builds.

Sample log:
https://build.chromium.org/p/client.flutter/builders/Linux%20Engine/builds/1974/steps/build%20android_debug_x64/logs/stdio

Sample failure:
FAILED: libflutter.so libflutter.so.TOC lib.stripped/libflutter.so
../../third_party/android_tools/ndk/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9.x/../../../../x86_64-linux-android/bin/ld.gold: error: obj/flutter/shell/platform/android/libflutter/android_context_gl.o: unsupported reloc 42 against global symbol std::__ndk1::num_put<char, std::__ndk1::ostreambuf_iterator<char, std::__ndk1::char_traits<char> > >::id

This reverts commit 8ad42f0dae3cb1267c2b9ab99db80e4696ddbc3d.
2017-11-08 16:48:00 -08:00
Chris Bracken
8ad42f0dae
Roll Fuchsia buildtools to 85907c59e97527d79bbfdfd849d8e85c24959cc5 (#4331)
* Roll Fuchsia buildtools to 85907c59e97527d79bbfdfd849d8e85c24959cc5

This also updates Flutter buildroot to a6e52dbb776c45cc8c57d7143b8eb8b2e762fdfb
which disables -Wtautological-constant-compare temporarily until
https://reviews.llvm.org/D39462 lands in clang. This is in line with
Fuchsia's compiler options.

* Apply clang-format diffs

No logical changes. This applies clang-format from the latest Fuchsia
buildtools to the engine codebase.
2017-11-08 11:18:17 -08:00
Jason Simmons
d6dd5b10d9
Request slight hinting when rendering glyphs with Skia (#4307)
Fixes https://github.com/flutter/flutter/issues/12820
2017-11-01 11:47:09 -07:00
Chinmay Garde
ac16530074
Ensure that public framework headers can be cleanly imported from outside the engine root. (#4303) 2017-10-31 16:25:02 -07:00
Jason Simmons
c098d82b41 Invert the error code check on madvise (#4246)
madvise returns zero on success
2017-10-19 11:49:04 -07:00
P.Y. Laligand
6fcb45991d Move //dart to //third_party/dart. (#4245) 2017-10-19 01:20:38 -07:00
Chinmay Garde
58242e046a Log the error when the madvise call fails in PageAllocator. (#4231) 2017-10-17 16:51:50 -07:00
P.Y. Laligand
5fae5d52cf Allow the project to be mapped to a location other than //flutter. (#4203)
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
Brian Osman
01ab51832a Update Fuchsia font code to new Skia API (#4179) 2017-10-06 13:17:16 -04:00
Ryan Macnak
f7685ddf16 Roll Dart to 4b64a835b9c10480063739d1e73847dcc4d8bfb6. (#4174) 2017-10-04 11:26:07 -07:00
Siva
79cb2eaf65 - Remove call to DartDebugger::InitDebugger in InitDartVM (#4167)
- Remove linking of dart_debugger.cc as this is not used
(all debugging is done using the service API, this debugger implementation uses the deprecated dart debugger API)
2017-10-03 16:49:43 -07:00
Michael Goderbauer
8f1c0e97a2 Revert "Revert "Revert engine Dart roll. (#4158)"" (#4168)
* Revert "libtxt: handle characters encoded as multiple UTF-16 code units (#4165)"

This reverts commit 414c3fe3dfdd3e3d575d192b492ce429ddcc9736.

* Revert "Proper horizontal a11y scrolling on Android (#4163)"

This reverts commit 0448bf9bd7a52dc281aa18db8e08194105d6d419.

* Revert "Update Skia revision to 74a8296d7c. (#4164)"

This reverts commit ac53d29a416385d574a71120528c161db1b05c12.

* Revert "Revert "Revert engine Dart roll. (#4158)" (#4162)"

This reverts commit f97e974e8cd58da75c699295384cd439a7369b13.
2017-10-03 11:23:00 -07:00