8979 Commits

Author SHA1 Message Date
Alexander Aprelev
11cac67ff9 Add an option to link platform.dill into app kernel file (#4204) 2017-10-12 10:11:47 -07:00
Alexander Aprelev
f737d49ca2 Add an option to specify file byte store location (#4201) 2017-10-11 17:33:22 -07:00
Chinmay Garde
a55aa23078 Make flow::Layer::Paint const. (#4200) 2017-10-11 16:48:31 -07:00
Chinmay Garde
0b8efb62a6 Make flow::LayerBuilder virtual and plug in the default layer builder. (#4199) 2017-10-11 16:26:18 -07:00
Jason Simmons
199620a57b libtxt: support right-to-left text (#4198) 2017-10-11 16:15:57 -07:00
Alexander Aprelev
a5e26f1f79 Fix RunBundleAndSource to run from kernel. (#4184)
* Fix RunBundleAndSource to run from kernel.

This is needed to accommodate restarting(rather than reload) of Flutter app from kernel.

* Fix formatting
2017-10-11 16:04:57 -07:00
Chinmay Garde
1793f494a3 Move layer tree construction into flow::LayerBuilder so alternate builders can be plugged in. (#4197) 2017-10-11 12:25:55 -07:00
Alexander Aprelev
2a84f18c79 Roll dart to 87538ffd7eca3405d13e46dcf3a20dcdcde9761e (#4195)
* Roll dart to 87538ffd7eca3405d13e46dcf3a20dcdcde9761e

* Update license hash
2017-10-10 15:04:49 -07:00
Alexander Aprelev
4994bea416 Resubmit fix dep (#4194)
* Revert "Revert "Change kernel platform generation dependency name (#4189)" (#4192)"

This reverts commit a91e7b0c8b836273b61512b0dd8c9d6737f6f9d8.

* Remove bad change that broke the build

* Remove comma
2017-10-10 14:16:05 -07:00
Erik Gilling
3af233d63b Revert "Set ui, io, and gpu thread names. (#4182)" (#4193)
This reverts commit fa46eca48333f41eae93217e61071e3a796fa80a.
2017-10-10 13:57:22 -07:00
Erik Gilling
fa46eca483 Set ui, io, and gpu thread names. (#4182) 2017-10-10 13:48:41 -07:00
Alexander Aprelev
a91e7b0c8b Revert "Change kernel platform generation dependency name (#4189)" (#4192)
This reverts commit 83224fb6012c893b78c75e87184d3877c088394a.
2017-10-10 13:34:28 -07:00
Alexander Aprelev
83224fb601 Change kernel platform generation dependency name (#4189)
* Change kernel platform generation dependency name

* Include vmservice which is needed by gen_snapshot for Flutter release build
2017-10-10 13:24:04 -07:00
Ryan Macnak
e394dc31d8 Roll Dart to 91ee4ee8d2b2d352c914dacfcf4cace924482ccc. (#4191) 2017-10-10 13:22:30 -07:00
Chinmay Garde
5e6b90aa77 Update Skia revision to 1700bafb8a0. (#4190) 2017-10-10 12:28:45 -07:00
Yegor
eb82f272f0 CONTRIBUTING.md: suggest skipping intro (#4188)
...if the environment is already setup
2017-10-10 10:02:21 -07:00
Alexander Aprelev
74e58f66d4 Add reset method to reset incremental compiler. (#4187)
* Add reset method to reset incremental compiler.

This is needed to support Flutter app restart request.

* Indent constructor calls
2017-10-09 14:58:27 -07:00
Alexander Aprelev
a9390e6fdc Revert "Revert "Roll dart to pick up change where platform.dill was removed (#4180)" (#4185)" (#4186)
This reverts commit a89f46696d4bc16d814f6697f46e9514b1193b0e.

Doing the synchronized roll of Dart into engine as well as into Fuchsia
to prevent Fuchsia breakage.
2017-10-09 11:18:59 -07:00
Adam Barth
a89f46696d Revert "Roll dart to pick up change where platform.dill was removed (#4180)" (#4185)
This reverts commit 37f571ee09b24f0248e3ab5d530acdb8ec2db018.
2017-10-09 09:13:13 -07:00
Alexander Aprelev
37f571ee09 Roll dart to pick up change where platform.dill was removed (#4180)
* Roll dart to pick up change where platform.dill was removed

* Fix flutter patch sdk generation

* Update license hash. No changes to license text.

* Roll dart to pick up a fix for zero-rebuild problem

* Update license hash
2017-10-09 07:29:21 -07:00
Jason Simmons
f24987571a libtxt: refactoring of paragraph layout to improve text justification (#4178)
This changes Paragraph::Layout to iterate line-by-line through the text.
For each line, Layout scans for word boundaries and adds extra space between
words if the line is justified.
2017-10-06 15:46:27 -07:00
Zachary Anderson
be547d66c2 Remove daed --assert_initializer flag (#4181) 2017-10-06 14:54:08 -07:00
P.Y. Laligand
472596fe3b Properly pass the disable_analysis parameter. (#4177)
Added it to a few targets.
2017-10-06 10:48:25 -07:00
Brian Osman
01ab51832a Update Fuchsia font code to new Skia API (#4179) 2017-10-06 13:17:16 -04:00
Chris Bracken
459f722b86 Revert "Use iOS scale when computing render buffer size (#4171)" (#4175)
This reverts commit d43d35347594c893687dec7402a525d83f57db10.

Clear regression to the flutter_gallery_ios__transition_perf benchmarks:
  * average_frame_build_time_millis: 1.4x
  * missed_frame_build_budget_count: 1.2x

No regression seen for other iOS benchmarks (e.g. scrolling).
2017-10-04 17:42:46 -07:00
Alexander Markov
0dba2fe78d Roll Dart to 9ee73fe322ce3875a6b1f16ba16d64b11c680e90 (#4176)
* Switch from FlutterFastaTarget to FlutterTarget as FlutterFastaTarget was removed.
2017-10-04 16:28:30 -07:00
Ryan Macnak
f7685ddf16 Roll Dart to 4b64a835b9c10480063739d1e73847dcc4d8bfb6. (#4174) 2017-10-04 11:26:07 -07:00
Brian Osman
6388e92880 Change to new SkFontMgr API (#4173)
* Change to new SkFontMgr API

These changes clarify ownership rules and work today. They will be
necessary once SK_SUPPORT_LEGACY_FONTMGR_API goes away.

* Fix spacing

* Formatting
2017-10-04 14:22:57 -04:00
Chris Bracken
d43d353475 Use iOS scale when computing render buffer size (#4171)
When checking whether render buffer size has changed, apply the device
scale factor used to convert points to pixels to ensure we're not
needlessly re-allocating render buffer storage.

Adds trace + debug log to make this easier to detect in future.

Originally introduced in 2d530daeca438ca24562d290616c0aec5ab76b88, but
rolled back in 0a6e415b60581ef7934032df20401da1fae9ea9f to test whether
it was responsible for regressions to
flutter_gallery_ios__transition_perf benchmarks:
  * average_frame_build_time_millis
  * missed_frame_build_budget_count
2017-10-03 19:43:36 -07:00
Chris Bracken
a40cc7bb46 Revert "Roll Dart to 4b64a835b9c10480063739d1e73847dcc4d8bfb6. (#4166)" (#4172)
This reverts commit 0d2f0cb64819f7669b6134994a4ba6d7211480fa.

Attempting to roll into the framework causes analysis errors with
mock classes implementing HTTP-related classes previously in dart:io:
[error] Classes can only implement other classes. (packages/flutter_tools/test/base/net_test.dart, line 94, col 41)
[error] Classes can only implement other classes. (packages/flutter_tools/test/base/net_test.dart, line 62, col 33)
[error] Classes can only implement other classes. (packages/flutter_tools/test/base/net_test.dart, line 78, col 40)
[error] Classes can only implement other classes. (packages/flutter_tools/test/src/context.dart, line 249, col 46)

and dartdoc failures:
dartdoc:stdout: [error] Target of URI doesn't exist: 'dart:_http'. at /home/travis/build/flutter/flutter/bin/cache/pkg/sky_engine/lib/io/io.dart, line 206.
2017-10-03 18:35: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
Alexander Aprelev
dd65308ce4 Switch from FlutterTarget to FlutterFastaTarget (#4169) 2017-10-03 13:57:18 -07:00
Ryan Macnak
0d2f0cb648 Roll Dart to 4b64a835b9c10480063739d1e73847dcc4d8bfb6. (#4166) 2017-10-03 13:25:19 -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
Jason Simmons
414c3fe3df libtxt: handle characters encoded as multiple UTF-16 code units (#4165) 2017-10-02 17:11:38 -07:00
Michael Goderbauer
0448bf9bd7 Proper horizontal a11y scrolling on Android (#4163) 2017-10-02 15:46:38 -07:00
Chinmay Garde
ac53d29a41 Update Skia revision to 74a8296d7c. (#4164) 2017-10-02 15:20:01 -07:00
Alexander Aprelev
f97e974e8c Revert "Revert engine Dart roll. (#4158)" (#4162)
This reverts commit 14aab33edd199fe453cd01b9c8a05e9dc3c6679f.

e1aa86739b84dd9f0e69d3ea5c704342397ac93a fixes issue with last dart
roll.
2017-10-02 13:26:58 -07:00
Jason Simmons
e3404b81a5 libtxt: implementation of GetRectsForRange that processes a line at a time (#4155) 2017-10-02 12:54:26 -07:00
Jason Simmons
e1aa86739b Provide an entropy source to the Dart engine (#4161)
This is required by the _CryptoUtils class used by the recently repackaged
Dart HTTP libraries
2017-10-02 12:40:29 -07:00
Jason Simmons
8061df14e2 libtxt: search for fallback fonts that can match emoji and CJK characters (#4156) 2017-10-02 12:01:40 -07:00
Chinmay Garde
267e7a8c0a Roll skia to e4679fa06a. (#4157) 2017-09-29 15:57:39 -07:00
Chris Bracken
02ea7ae5b6 Update buildroot to 53fea9aebbcc39c6522731471a1a45960ee0685e (#4160) 2017-09-29 15:55:06 -07:00
gspencergoog
14aab33edd Revert engine Dart roll. (#4158)
* Revert "Include _http into sky_engine libraries for analyzer (#4154)"

This reverts commit b930f107c3d6648423c42ed10b54f36a92edcbc8.

It is dependent upon the Dart roll, which breaks the engine.

* Revert "Roll dart to ade37f931e90b0fdb8fe16d6bf6f089545da55b6 (#4151)"

This reverts commit 6f1264fb3e11d25a26bc7c44246110ecb5159011.

This Dart roll breaks the engine build on Travis.
2017-09-29 14:32:15 -07:00
gspencergoog
b2a7f4bf8f Add support for system text scale factor. (#4124)
Adds support for system text scale factor, including hooks for Android system settings changes.  iOS hooks will be added in another PR.
2017-09-29 13:19:06 -07:00
Alexander Aprelev
b930f107c3 Include _http into sky_engine libraries for analyzer (#4154) 2017-09-29 08:51:51 -07:00
Jason Simmons
86f95f08d9 libtxt: Remove postprocess_line and improve tracking of X offsets for glyphs and PaintRecords (#4153) 2017-09-28 17:46:25 -07:00
Jason Simmons
14bf515259 libtxt: remove redundant line_widths (#4152) 2017-09-28 16:01:48 -07:00
Alexander Aprelev
6f1264fb3e Roll dart to ade37f931e90b0fdb8fe16d6bf6f089545da55b6 (#4151)
* Roll dart

* Update dart dependencies

* Update dart license hash. No changes to licenses

* Roll to one more version up

* Update license hash
2017-09-28 09:40:47 -07:00
Michael Goderbauer
bdfedcc26f Add overlaps method to Rect (#4150)
* Add overlaps method to Rect

* review comment
2017-09-27 17:42:44 -07:00