3700 Commits

Author SHA1 Message Date
Alexander Aprelev
ab74e6a9a3 Resubmit fix dep (flutter/engine#4194)
* Revert "Revert "Change kernel platform generation dependency name (#4189)" (#4192)"

This reverts commit 582a87b957d4171d76f1d5b0c00ab897eb886b2f.

* Remove bad change that broke the build

* Remove comma
2017-10-10 14:16:05 -07:00
Alexander Aprelev
582a87b957 Revert "Change kernel platform generation dependency name (#4189)" (flutter/engine#4192)
This reverts commit 9d4e4ace0f57f691d7bde2a3af25b115bb3d8ccb.
2017-10-10 13:34:28 -07:00
Alexander Aprelev
9d4e4ace0f Change kernel platform generation dependency name (flutter/engine#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
6163b19fb7 Roll Dart to 91ee4ee8d2b2d352c914dacfcf4cace924482ccc. (flutter/engine#4191) 2017-10-10 13:22:30 -07:00
Chinmay Garde
d9095ecaf2 Update Skia revision to 1700bafb8a0. (flutter/engine#4190) 2017-10-10 12:28:45 -07:00
Yegor
f49775667f CONTRIBUTING.md: suggest skipping intro (flutter/engine#4188)
...if the environment is already setup
2017-10-10 10:02:21 -07:00
Alexander Aprelev
d73c211831 Add reset method to reset incremental compiler. (flutter/engine#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
d4ab705952 Revert "Revert "Roll dart to pick up change where platform.dill was removed (#4180)" (#4185)" (flutter/engine#4186)
This reverts commit 45eaf7a0ce073d5d830c589b5df0a54ec9902072.

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
45eaf7a0ce Revert "Roll dart to pick up change where platform.dill was removed (#4180)" (flutter/engine#4185)
This reverts commit 1ede0f7c9f2b2e928bdaf8f2a8fd942a764fe581.
2017-10-09 09:13:13 -07:00
Alexander Aprelev
1ede0f7c9f Roll dart to pick up change where platform.dill was removed (flutter/engine#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
75067b5519 libtxt: refactoring of paragraph layout to improve text justification (flutter/engine#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
95b0e0bc7f Remove daed --assert_initializer flag (flutter/engine#4181) 2017-10-06 14:54:08 -07:00
P.Y. Laligand
ad4b6338af Properly pass the disable_analysis parameter. (flutter/engine#4177)
Added it to a few targets.
2017-10-06 10:48:25 -07:00
Chris Bracken
79b9bdbbf4 Revert "Use iOS scale when computing render buffer size (#4171)" (flutter/engine#4175)
This reverts commit 1a7ca91e3938abd5720b3553dfb2045a6b805a3b.

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
2b0120bc36 Roll Dart to 9ee73fe322ce3875a6b1f16ba16d64b11c680e90 (flutter/engine#4176)
* Switch from FlutterFastaTarget to FlutterTarget as FlutterFastaTarget was removed.
2017-10-04 16:28:30 -07:00
Ryan Macnak
ad47e1dbd7 Roll Dart to 4b64a835b9c10480063739d1e73847dcc4d8bfb6. (flutter/engine#4174) 2017-10-04 11:26:07 -07:00
Brian Osman
257dc7b1e1 Change to new SkFontMgr API (flutter/engine#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
1a7ca91e39 Use iOS scale when computing render buffer size (flutter/engine#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 72c28f3a01bd9e6bed256edc4629705d96a7cead, but
rolled back in d539abd7c5fe5291bab81b32e6e5697c1b6681b6 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
c26b254c79 Revert "Roll Dart to 4b64a835b9c10480063739d1e73847dcc4d8bfb6. (#4166)" (flutter/engine#4172)
This reverts commit d1b0b345ca4faa2183f8c262cc04e9105379cca8.

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
255bbb2a55 - Remove call to DartDebugger::InitDebugger in InitDartVM (flutter/engine#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
6b506e5dd2 Switch from FlutterTarget to FlutterFastaTarget (flutter/engine#4169) 2017-10-03 13:57:18 -07:00
Ryan Macnak
d1b0b345ca Roll Dart to 4b64a835b9c10480063739d1e73847dcc4d8bfb6. (flutter/engine#4166) 2017-10-03 13:25:19 -07:00
Michael Goderbauer
4d5e6cdf2f Revert "Revert "Revert engine Dart roll. (#4158)"" (flutter/engine#4168)
* Revert "libtxt: handle characters encoded as multiple UTF-16 code units (#4165)"

This reverts commit 5f318a0aa46ae0874ca17cf41f4180412b640c34.

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

This reverts commit 6a74f8721092c5ae2d5504a530768a70342aea05.

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

This reverts commit 7f3c36f42c97bcf25069572f64fd068f4566fbd5.

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

This reverts commit df7c8c94d729c1e921f33f49959387379ded51ed.
2017-10-03 11:23:00 -07:00
Jason Simmons
5f318a0aa4 libtxt: handle characters encoded as multiple UTF-16 code units (flutter/engine#4165) 2017-10-02 17:11:38 -07:00
Michael Goderbauer
6a74f87210 Proper horizontal a11y scrolling on Android (flutter/engine#4163) 2017-10-02 15:46:38 -07:00
Chinmay Garde
7f3c36f42c Update Skia revision to 74a8296d7c. (flutter/engine#4164) 2017-10-02 15:20:01 -07:00
Alexander Aprelev
df7c8c94d7 Revert "Revert engine Dart roll. (#4158)" (flutter/engine#4162)
This reverts commit 4549b484a225d0ee155401909988ac7053a08d52.

ca07b0046b417baaa67f3c46130a9b81ceab7c66 fixes issue with last dart
roll.
2017-10-02 13:26:58 -07:00
Jason Simmons
d0d48985e4 libtxt: implementation of GetRectsForRange that processes a line at a time (flutter/engine#4155) 2017-10-02 12:54:26 -07:00
Jason Simmons
ca07b0046b Provide an entropy source to the Dart engine (flutter/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
acb46290e9 libtxt: search for fallback fonts that can match emoji and CJK characters (flutter/engine#4156) 2017-10-02 12:01:40 -07:00
Chinmay Garde
02563a4ac5 Roll skia to e4679fa06a. (flutter/engine#4157) 2017-09-29 15:57:39 -07:00
Chris Bracken
c983a90b0c Update buildroot to 53fea9aebbcc39c6522731471a1a45960ee0685e (flutter/engine#4160) 2017-09-29 15:55:06 -07:00
gspencergoog
4549b484a2 Revert engine Dart roll. (flutter/engine#4158)
* Revert "Include _http into sky_engine libraries for analyzer (#4154)"

This reverts commit 3246b5c70661a3afe19e4698c5a9739d20177bcc.

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

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

This reverts commit ebd5e7a88f3a44f61ded155608f015609f2ee28f.

This Dart roll breaks the engine build on Travis.
2017-09-29 14:32:15 -07:00
gspencergoog
b29baaed16 Add support for system text scale factor. (flutter/engine#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
3246b5c706 Include _http into sky_engine libraries for analyzer (flutter/engine#4154) 2017-09-29 08:51:51 -07:00
Jason Simmons
9439d431b5 libtxt: Remove postprocess_line and improve tracking of X offsets for glyphs and PaintRecords (flutter/engine#4153) 2017-09-28 17:46:25 -07:00
Jason Simmons
7dc9b08d3c libtxt: remove redundant line_widths (flutter/engine#4152) 2017-09-28 16:01:48 -07:00
Alexander Aprelev
ebd5e7a88f Roll dart to ade37f931e90b0fdb8fe16d6bf6f089545da55b6 (flutter/engine#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
c1441946b1 Add overlaps method to Rect (flutter/engine#4150)
* Add overlaps method to Rect

* review comment
2017-09-27 17:42:44 -07:00
Adam Barth
80b35ebe57 Update paths to Fuchsia libraries (flutter/engine#4147)
These libraries are in Topaz now.
2017-09-27 13:45:49 -07:00
Michael Goderbauer
419022a3ba Send scroll progress with a11y event TYPE_VIEW_SCROLLED (flutter/engine#4144) 2017-09-27 11:18:50 -07:00
gspencergoog
bdc982d267 Fixing accidental paste. (flutter/engine#4145) 2017-09-26 13:44:39 -07:00
gspencergoog
3d9ced058b Support correct keyboards for multi-line text editing. (flutter/engine#4115)
This addresses part of #8028, implementing the Engine-side support for it.
2017-09-26 12:53:19 -07:00
Craig Stout
47c2e0b979 Update vulkan semaphore extension
Use fuchsia specific extension to avoid casting handles as fds.
2017-09-26 11:34:34 -07:00
Ian Hickson
56b4eb63d3 Clamp overflows in Color.lerp. (flutter/engine#4141)
Previously, cases like:

```dart
Color.lerp(const Color(0xFF00FF7F), const Color(0xFF00FFFF), 1.1)
```

...would result in unexpected effects (in this instance, lerping
between these colors with a curve that overshoots would take what
should be a simple animation from pale green to blue and add some
flickering bright green whenever it overshoots).
2017-09-26 11:11:09 -07:00
Alexander Aprelev
de14cec698 Revert "Roll dart dependency to 24ad1035147b65dd42e765b566f5002e87caafa7 (#4140)" (flutter/engine#4143)
This reverts commit 05066cbae4a596bcd188761bb2b274c84cbb04a0.

This breaks linux build due to outdated pool dependency in observatory pub packages.
2017-09-25 18:03:56 -07:00
Alexander Aprelev
05066cbae4 Roll dart dependency to 24ad1035147b65dd42e765b566f5002e87caafa7 (flutter/engine#4140)
* Roll dart dependency to 24ad1035147b65dd42e765b566f5002e87caafa7

* Update dart license hash(no relevant changes). Update dart deps.
2017-09-25 15:32:35 -07:00
Jason Simmons
7ee4d99155 Replace a View.getDisplay call that is not supported on API level 16 (flutter/engine#4139)
Fixes https://github.com/flutter/flutter/issues/12235
2017-09-25 11:25:47 -07:00
Jason Simmons
d3b8593967 roll buildroot (flutter/engine#4138) 2017-09-22 17:38:17 -07:00
Jason Simmons
5bd27070dc libtxt: refactor glyph position calculation (flutter/engine#4134)
* Remove padding values in line_heights and glyph_position_x.  Each value
  in glyph_position_x now represents an actual glyph in the layout.

* Remove code intended to handle extra characters beyond the end of the
  last line.  The LineBreaker should ensure that the end of the last run
  matches the end of the last line.

* Return the upstream/downstream affinity of the cursor position in
  GetGlyphPositionAtCoordinate.

* Account for the space at the end of a word wrapped line in
  GetGlyphPositionAtCoordinate / GetCoordinatesForGlyphPosition
2017-09-22 15:15:59 -07:00