8990 Commits

Author SHA1 Message Date
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
P.Y. Laligand
6199211423 Update the buildroot (#4217) 2017-10-13 16:50:35 -07:00
Jason Simmons
6f4eb92020 libtxt: support the use_test_font flag required by framework tests (#4216)
This registers a test font manager that maps all fonts to the Ahem font
2017-10-13 11:31:35 -07:00
Jason Simmons
bcf606afee Remove unnecessary assert in drawAtlas (#4213)
Fixes https://github.com/flutter/flutter/issues/12513
2017-10-13 11:31:24 -07:00
Zachary Anderson
555ccfc030 [Android] Lazily create the rasterizer and platform surface (#4207) 2017-10-12 15:38:28 -07:00
P.Y. Laligand
3e4d42b8f3 Add empty pubspec.yaml files. (#4212)
They help the analysis service identify packages and are now mandatory on Fuchsia.
2017-10-12 14:46:51 -07:00
Jason Simmons
248af2d5b6 Remove obsolete text_align header from the libtxt benchmarks (#4211) 2017-10-12 13:50:27 -07:00
Jason Simmons
b3167a06d5 Remove use of a SceneBuilder member after deletion (#4209)
ClearDartWrapper will delete this SceneBuilder, causing deletion of the
LayerBuilder
2017-10-12 13:50:17 -07:00
Jason Simmons
b28933d4f6 Remove AndroidSurface::SetFlutterView (#4208)
This was used by AndroidSurfaceSoftware but is now obsolete
2017-10-12 13:49:56 -07:00
Alexander Aprelev
974e68a1bf Make sure we await for the file writing to complete before reporting that compilation is done. (#4210) 2017-10-12 13:39:19 -07:00
Jason Simmons
b84e114b8b libtxt: fix some typos (#4206) 2017-10-12 11:51:50 -07:00
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