Sarah Zakarias
f7660f8d9c
Read snapshot directly from data dir instead of FLX ( flutter/engine#4214 )
2017-10-17 15:06:03 +02:00
Chinmay Garde
0226fef0e6
Fix build breakage in the iOS software backend due to Skia update. ( flutter/engine#4223 )
2017-10-16 16:43:43 -07:00
Jason Simmons
df55d4f337
libtxt: make the min/max intrinsic width calculations match expectations of the framework ( flutter/engine#4220 )
...
maxIntrinsicWidth is the sum of the width of all lines in the input
(if the width were any smaller, the renderer might have to wrap a line)
minIntrinsicWidth is the maximum width of a word (if the paragraph were
any narrower, the renderer would have to truncate a word)
2017-10-16 15:31:15 -07:00
Alexander Aprelev
16934d4f9e
Put back ConfigureBundle. ( flutter/engine#4219 )
...
It was accidently removed in 948a60c83d .
2017-10-15 11:31:26 -07:00
P.Y. Laligand
235f07742a
Allow the project to be mapped to a location other than //flutter. ( flutter/engine#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
Jason Simmons
fc6cd2ae23
libtxt: support the use_test_font flag required by framework tests ( flutter/engine#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
b32aaf2510
Remove unnecessary assert in drawAtlas ( flutter/engine#4213 )
...
Fixes https://github.com/flutter/flutter/issues/12513
2017-10-13 11:31:24 -07:00
Zachary Anderson
9b1c0f80f4
[Android] Lazily create the rasterizer and platform surface ( flutter/engine#4207 )
2017-10-12 15:38:28 -07:00
P.Y. Laligand
281c792527
Add empty pubspec.yaml files. ( flutter/engine#4212 )
...
They help the analysis service identify packages and are now mandatory on Fuchsia.
2017-10-12 14:46:51 -07:00
Jason Simmons
a0b633145f
Remove obsolete text_align header from the libtxt benchmarks ( flutter/engine#4211 )
2017-10-12 13:50:27 -07:00
Jason Simmons
224d4abc83
Remove use of a SceneBuilder member after deletion ( flutter/engine#4209 )
...
ClearDartWrapper will delete this SceneBuilder, causing deletion of the
LayerBuilder
2017-10-12 13:50:17 -07:00
Jason Simmons
e069095af0
Remove AndroidSurface::SetFlutterView ( flutter/engine#4208 )
...
This was used by AndroidSurfaceSoftware but is now obsolete
2017-10-12 13:49:56 -07:00
Alexander Aprelev
dcdf709491
Make sure we await for the file writing to complete before reporting that compilation is done. ( flutter/engine#4210 )
2017-10-12 13:39:19 -07:00
Jason Simmons
4419ecfa91
libtxt: fix some typos ( flutter/engine#4206 )
2017-10-12 11:51:50 -07:00
Alexander Aprelev
df45191b54
Add an option to link platform.dill into app kernel file ( flutter/engine#4204 )
2017-10-12 10:11:47 -07:00
Alexander Aprelev
cf981ae074
Add an option to specify file byte store location ( flutter/engine#4201 )
2017-10-11 17:33:22 -07:00
Chinmay Garde
eac6438ce8
Make flow::Layer::Paint const. ( flutter/engine#4200 )
2017-10-11 16:48:31 -07:00
Chinmay Garde
5020651ee0
Make flow::LayerBuilder virtual and plug in the default layer builder. ( flutter/engine#4199 )
2017-10-11 16:26:18 -07:00
Jason Simmons
0f67acda39
libtxt: support right-to-left text ( flutter/engine#4198 )
2017-10-11 16:15:57 -07:00
Alexander Aprelev
948a60c83d
Fix RunBundleAndSource to run from kernel. ( flutter/engine#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
adaa3a0303
Move layer tree construction into flow::LayerBuilder so alternate builders can be plugged in. ( flutter/engine#4197 )
2017-10-11 12:25:55 -07:00
Alexander Aprelev
ab74e6a9a3
Resubmit fix dep ( flutter/engine#4194 )
...
* Revert "Revert "Change kernel platform generation dependency name (#4189 )" (#4192 )"
This reverts commit 582a87b957 .
* 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 9d4e4ace0f .
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
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 45eaf7a0ce .
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 1ede0f7c9f .
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 1a7ca91e39 .
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 72c28f3a01 , but
rolled back in d539abd7c5 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
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
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 5f318a0aa4 .
* Revert "Proper horizontal a11y scrolling on Android (#4163 )"
This reverts commit 6a74f87210 .
* Revert "Update Skia revision to 74a8296d7c. (#4164 )"
This reverts commit 7f3c36f42c .
* Revert "Revert "Revert engine Dart roll. (#4158 )" (#4162 )"
This reverts commit df7c8c94d7 .
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
Alexander Aprelev
df7c8c94d7
Revert "Revert engine Dart roll. ( #4158 )" ( flutter/engine#4162 )
...
This reverts commit 4549b484a2 .
ca07b0046b 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
gspencergoog
4549b484a2
Revert engine Dart roll. ( flutter/engine#4158 )
...
* Revert "Include _http into sky_engine libraries for analyzer (#4154 )"
This reverts commit 3246b5c706 .
It is dependent upon the Dart roll, which breaks the engine.
* Revert "Roll dart to ade37f931e90b0fdb8fe16d6bf6f089545da55b6 (#4151 )"
This reverts commit ebd5e7a88f .
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