9015 Commits

Author SHA1 Message Date
P.Y. Laligand
6fcb45991d Move //dart to //third_party/dart. (#4245) 2017-10-19 01:20:38 -07:00
Jason Simmons
e50693b19c Export the SkClipOp argument in Canvas.clipRect (#4243) 2017-10-18 16:39:19 -07:00
amirh
5c9e072060 Support accessibility announcements in the iOS accessibility_bridge (#4244) 2017-10-18 16:37:52 -07:00
Yegor
23f5ccd25c Add alwaysUse24HourFormat and textScaleFactor (#4202)
* systems/settings channel split

* merge textScaleFactor and alwaysUse24HourFormat into flutter/settings channel

* add debugOverrideAlwaysUse24HourFormat

* implement textScaleFactor on iOS

* address comments

* remove debugOverrideAlwaysUse24HourFormat

* clang-format
2017-10-18 16:13:43 -07:00
Zachary Anderson
d3ebce9cf6 Allow a non-main entrypoint (#4238) 2017-10-18 14:19:28 -07:00
Jason Simmons
8a9034c0fd libtxt: handle newlines during invocation of the minikin line breaker (#4237)
minikin::LineBreaker does not convert newline characters into line breaks
in its output.  Previously libtxt's version of LineBreaker container a patch
that added a large width offset for a newline in order to force wrapping to
the next line.  This works if the offset exceeds the paragraph's width
constraint.  But if the paragraph is laid out with infinite width, then the
text after the newline will continue on the current output line.

This change separates the paragraph's text into newline delimited blocks and
feeds each block separately to the minikin LineBreaker.

Also, libtxt was breaking the input styled text runs at newline boundaries.
This is no longer necessary.
2017-10-18 14:14:02 -07:00
Adam Barth
1ce6f0e533 Make flutter_app's output_name work like other templates (#4236)
The output_name property of a template is typically relative to the
root_build_dir rather than the target_gen_dir. This patch makes flutter_app
consistent with this pattern.
2017-10-18 14:11:48 -07:00
Chris Bracken
850a95329d Manually specify iphonesimulator SDK in xcodebuild-arguments (#4242) 2017-10-18 13:34:38 -07:00
amirh
64fb5d0126 make AccessibilityBridge#mOwner final (#4235) 2017-10-18 13:25:07 -07:00
Chris Bracken
b41c7cf802 Use iphonesimulator SDK for Obj-C doc generation (#4241)
See: https://github.com/realm/jazzy/issues/791
2017-10-18 13:23:13 -07:00
Chris Bracken
5202ff886e Specify iOS SDK when generating Obj-C docs (#4240) 2017-10-18 13:04:33 -07:00
Adam Barth
4c63032ed0 Add Fuchsia package() declaration (#4239)
This declaration makes it easier for Fuchsia to include Flutter in the system
image.
2017-10-18 11:23:46 -07:00
amirh
879c1fb8e1 Support accessibility announcements in the Android AccessibilityBridge (#4232) 2017-10-18 11:10:14 -07:00
Chinmay Garde
58242e046a Log the error when the madvise call fails in PageAllocator. (#4231) 2017-10-17 16:51:50 -07:00
Siva
5003703330 Fix for issue 12526 (#4218)
* Fix for issue 12526

Ensure that child isolates do not clear the dart_ui_state_ field present in the dart controller.

The commit dd1e0b59ec implemented code to reset the dart_ui_state_ back to null when an isolate was being shutdown to ensure there was no use after free issues when the main isolate exeutes Isolate.current.kill() it however it was also clearning the field when a child isolate was shutdown causing SEGVs later.

* Address code format issues.
2017-10-17 14:47:09 -07:00
Chinmay Garde
f1d3d84ffe Expose SkPath::arcTo and SkPath::rArcTo to Dart. (#4222) 2017-10-17 13:53:12 -07:00
Zachary Anderson
faaf321b01 Make Engine::RunBundle* reuse an existing RuntimeController (#4229) 2017-10-17 13:44:09 -07:00
Adam Barth
2528e533d6 Don't crash when we get unexpected pointer events. (#4230)
Just log them as errors
2017-10-17 13:25:09 -07:00
Chris Bracken
04ad2846bf Add dependency on chromium/src/build for Mac/iOS build (#4224)
* Add dependency on chromium/src/build for Mac/iOS build

Preparation for migrating to mac_toolchain.py for installing/configuring
Xcode versions on the Mac build bots.

* Exclude third_party/chromium_build from licence script

It's used only at build time to fetch and install the correct Xcode
version.
2017-10-17 11:07:54 -07:00
Sarah Zakarias
7fb41d1b6a Read snapshot directly from data dir instead of FLX (#4214) 2017-10-17 15:06:03 +02:00
Chinmay Garde
87da030332 Fix build breakage in the iOS software backend due to Skia update. (#4223) 2017-10-16 16:43:43 -07:00
Chinmay Garde
adfa788e83 Update Skia revision to 09eeefba. (#4221) 2017-10-16 16:03:08 -07:00
Jason Simmons
4ab4ace867 libtxt: make the min/max intrinsic width calculations match expectations of the framework (#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
7c4142808c Put back ConfigureBundle. (#4219)
It was accidently removed in a5e26f1f794ad138d59b3115165ba84ac413e891.
2017-10-15 11:31:26 -07:00
Erik Gilling
6b1878e096 Set ui, io, and gpu thread names. (#4196) 2017-10-13 23:02:14 -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
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