9059 Commits

Author SHA1 Message Date
Chinmay Garde
eabcf3aaa9
Avoid registering both the platform view and the rasterizer in the shell. (#4293)
Instead, the rasterizer can be accessed via the platform view.
2017-10-30 13:28:39 -07:00
mikejurka
9db1c6ba3b
Don't query for deprecated magma extension (#4292) 2017-10-30 10:09:38 -07:00
Chinmay Garde
ede57ad1e7
Allow embedders to specify custom ICU data paths and command line args. (#4290) 2017-10-27 17:31:13 -07:00
mikejurka
93da8c8423
Migrate from VkExportDeviceMemoryMAGMA (deprecated). (#4288) 2017-10-27 13:34:39 -07:00
Jason Simmons
963a29b096
Remove the diagnostic server (includes Dart roll) (#4287) 2017-10-27 11:53:00 -07:00
Alexander Aprelev
3951c4a976 Fix regression - configure asset bundle (#4285)
* Fix regression - configure asset bundle

* Fix formatting
2017-10-26 14:54:03 -07:00
Jason Simmons
62ac189e27 Add an SkPicture screenshot handler to the service protocol (#4284)
This will replace the one in the diagnostic server
2017-10-26 14:35:26 -07:00
P.Y. Laligand
ca1e750d44 Removed the deprecated analysis_options attribute. (#4278) 2017-10-25 22:27:32 -07:00
Michael Goderbauer
4a9e6782a7 Announce the correct new value after increase/decrease has been performed on iOS (#4282) 2017-10-25 16:02:43 -07:00
Chinmay Garde
2d9f6acfac Add a test_fixtures GN rule that allows unittests to reference fixtures. (#4280) 2017-10-25 14:54:20 -07:00
Michael Goderbauer
6665645a0f Only post UIAccessibilityLayoutChangedNotification if layout changed (#4279)
* Only post UIAccessibilityLayoutChangedNotification if layout actually changed

* ++

* review comment
2017-10-25 14:07:41 -07:00
Chinmay Garde
144dea37cd Add a unittest stub for the embedder. (#4276) 2017-10-25 13:09:59 -07:00
Michael Goderbauer
65e4deba15 Revert "Move channel and codec related files to common (#4262)" (#4277)
This reverts commit a48b5f6d25c7371d05d6d8290e385b83d58f0b72.
2017-10-25 13:01:24 -07:00
P.Y. Laligand
7f676451ae Fix build file typo. (#4275) 2017-10-25 10:54:03 -07:00
Alexander Aprelev
ef02c69652 Fix Fuchsia build - pass newly introduce parameter in Fuchsia flow (#4274) 2017-10-25 07:49:35 -07:00
P.Y. Laligand
f339b2fbb4 [fuchsia] Account for the new Dart toolchain. (#4271) 2017-10-24 21:30:40 -07:00
krisgiesing
a48b5f6d25 Move channel and codec related files to common (#4262)
Refactoring related to use of the embedder APIs on macOS
host builds.
2017-10-24 20:36:18 -07:00
Alexander Aprelev
ec19da1c80 Initialize service isolate from kernel file, rather than from embedded sources. (#4263)
* Read core platform kernel file during Dart initialization.

Currently service isolate is initialized from the source code parsed by VM.
This CL changes it so service isolate created during Dart initialization
is created from the kernel platform.dill file if it is present in the application
bundle. Then this platform kernel file is kept in dart_init module and reused
for application sciprt isolates.

* Reformat and merge

* Use accessor method

* Avoid passing running_from_kernel param. Add TODO for cleanup. Rename param.
2017-10-24 19:37:24 -07:00
xster
28e08053e2 Add luminance getter to Color (#4252)
* add luminance getter to color

* tests

* nit
2017-10-24 18:39:54 -07:00
Chinmay Garde
352e637ce6 Roll Skia to 36f182fa. (#4273)
This reverts the previous roll to 33397f which included an assertion we ended up tripping over on certain scenes. A Skia issue has been filed for this https://bugs.chromium.org/p/skia/issues/detail?id=7225.
2017-10-24 15:49:48 -07:00
Jason Simmons
e1f08d998a libtxt: insert a placeholder paint record representing the font metrics of an empty run (#4272) 2017-10-24 14:35:02 -07:00
Chinmay Garde
052a257974 Setup GN rules to package embedder dylib as a Mac framework where supported. (#4270) 2017-10-24 12:50:13 -07:00
Chris Bracken
16f6d3f998 Eliminate dependency on chromium build tools repo (#4269)
The hermetic Xcode tooling in that repo is not yet easily usable for
Xcode 9. There are two main issues:

1. The tooling currently assumes that macOS host builds should use
   Xcode 8, whereas iOS builds should use Xcode 9. Flutter builds should
   use Xcode 9 in all cases.
2. The tooling currently includes a bail-out condition for iOS builds
   that exits non-zero immediately (Chrome hasn't yet migrated its iOS
   build to this tooling).

In the meantime, I've manually updated the bot infra with Xcode 9 and
we'll continue to use the current find_xcode.py tooling until Chrome's
new Mac/iOS tooling is ready.
2017-10-24 10:17:35 -07:00
Alexander Aprelev
f177f54352 Update buildroot and dart dependencies. (#4267) 2017-10-23 19:55:48 -07:00
Jason Simmons
054a2cca35 libtxt: some cleanup (#4268)
* rename glyph_position_x to glyph_lines
* use round instead of roundf
* return a range start/end struct in Paragraph::GetWordBoundary
2017-10-23 17:18:00 -07:00
Michael Goderbauer
91071f817b Support for accessibility label and hint (#4264)
* Support for accessibility label and hint

* review comments
2017-10-23 16:46:01 -07:00
Chinmay Garde
8e79156765 Roll Skia revision to 33397f2793 and update buildroot. (#4265) 2017-10-23 16:24:38 -07:00
Alexander Aprelev
59f7f5038d Roll dart to pick up fix for diagnostic server (#4266)
* Roll dart to pick up fix for diagnostic server

* Fix runUnaryGuarded, runBinaryGuarded calls

* Revert changes to runUnaryGuarded, runBinaryGuarded as they seem to be local-only, perhaps dependent on version of analyzer

* Update third_party license hash. No changes to licenses
2017-10-23 16:02:24 -07:00
Jason Simmons
5ba34f6ab8 Add _updateUserSettingsData to the Dart entry points (#4261) 2017-10-23 09:40:35 -07:00
Zachary Anderson
e312b62784 Pass missing parameter. (#4260) 2017-10-23 07:47:37 -07:00
Jason Simmons
b942027083 libtxt: record metrics for each font used within a run (#4259) 2017-10-20 14:45:52 -07:00
P.Y. Laligand
419ee7c355 Update the location of Flutter packages. (#4257) 2017-10-20 14:25:49 -07:00
amirh
90f4664587 Add isButton to SemanticsFlags.values (#4258) 2017-10-20 14:23:40 -07:00
amirh
3d013382e6 Add a semantic isButton flag (#4254)
https://github.com/flutter/flutter/issues/11992
2017-10-20 13:15:20 -07:00
Jason Simmons
c39124d07c libtxt: better accuracy for text justification (#4255)
* do not reset the justify offset after each run within a line
* track word start/end ranges relative to the start of the text instead of the line
2017-10-20 11:50:21 -07:00
amirh
6bf9f7594a Revert "Move channel and codec related files to common" (#4256)
* Revert "Pass option to reuse an existing runtime controller (#4253)"

This reverts commit 57f361dc6abcd8441c444882c5e8bb99519532f3.

* Revert "Document the Porter-Duff operators. (#4250)"

This reverts commit b15fa9c64e1028187ec9592289919d77a6843802.

* Revert "Move channel and codec related files to common (#4225)"

This reverts commit 674a3f5869d3ae0e7ea3583a2d0942e184817903.
2017-10-20 11:44:56 -07:00
Zachary Anderson
57f361dc6a Pass option to reuse an existing runtime controller (#4253) 2017-10-20 10:17:21 -07:00
Ian Hickson
b15fa9c64e Document the Porter-Duff operators. (#4250) 2017-10-20 10:03:19 -07:00
krisgiesing
674a3f5869 Move channel and codec related files to common (#4225)
* Move channel and codec related files to common

This is in preparation for implementing channel and plugin support
for macOS desktop builds.
2017-10-20 09:57:14 -07:00
Ian Hickson
1e21ac3fb7 Documentation improvements - RTL and others (#4248) 2017-10-19 17:30:30 -07:00
Michael Goderbauer
b9ad2393cf Set AccessibilityFocus (#4249)
This ensures that accessibility hints are played properly.
2017-10-19 15:09:37 -07:00
5u3it
31585e0def Native keyboard behavior update for multiline input (#4234)
Use sentence capitalization for non-obscuretext fields of TextInputType.text
and TextInputType.multiline on iOS and Android.
2017-10-19 13:56:35 -07:00
Jason Simmons
ca2a9ce48b roll dart (#4247) 2017-10-19 13:46:59 -07:00
Jason Simmons
c098d82b41 Invert the error code check on madvise (#4246)
madvise returns zero on success
2017-10-19 11:49:04 -07:00
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