Chinmay Garde
0ac48e7bd8
Add fml::WeakPtr and update users in Shell. ( flutter/engine#4296 )
2017-10-31 16:55:36 -07:00
Chinmay Garde
34624184ee
Ensure that public framework headers can be cleanly imported from outside the engine root. ( flutter/engine#4303 )
2017-10-31 16:25:02 -07:00
Chris Bracken
285c6840ab
Support iPhone X safe area insets ( flutter/engine#4302 )
...
This change exposes the view safe area insets (introduced in iOS 11) to
the framework via MediaQuery.of(context).padding. Safe area insets are
the view insets (padding) inside of which content can be relied on to
display without truncation/clipping, as would occur with e.g. the iPhone
X sensor notch.
As this API was added in iOS 11, we place it behind a runtime guard
checking OS level.
Until the runtime support for @avialable lands in the next Fuchsia
buildtools rev, ignore -Wunguarded-availability-new around the safe area
insets check and use an FML runtime check instead.
2017-10-31 14:30:07 -07:00
mikejurka
06355f7c80
Vulkan: Enable Fuchsia memory extensions on initialization. ( flutter/engine#4301 )
...
Refactor querying of supported Vulkan extensions.
2017-10-31 12:08:27 -07:00
Ian Hickson
7b19e9157d
Add TextPosition.== and hashCode, and some text API docs ( flutter/engine#4283 )
2017-10-31 10:39:44 -07:00
Michael Goderbauer
3a386bd49e
Android SeekBars announce their value ( flutter/engine#4289 )
...
* Android SeekBars announce their value
* style
2017-10-31 10:03:30 -07:00
Adam Barth
166b7b7651
Move flutter_*_runner to /system/bin ( flutter/engine#4286 )
...
Previously, these binaries were in /system/apps, which is going away. Also,
rename flutter_runner to flutter_jit_runner to match flutter_aot_runner.
2017-10-30 19:28:19 -07:00
Chinmay Garde
a55c58db9a
Test that the embedder can be launched and shut down correctly. ( flutter/engine#4281 )
2017-10-30 14:15:32 -07:00
Chinmay Garde
b94a941d3a
Fix iOS build to account for Shell rasterizer registration updates. ( flutter/engine#4295 )
2017-10-30 13:54:41 -07:00
Chinmay Garde
3dd5e0aceb
Avoid registering both the platform view and the rasterizer in the shell. ( flutter/engine#4293 )
...
Instead, the rasterizer can be accessed via the platform view.
2017-10-30 13:28:39 -07:00
mikejurka
e7a4cfc863
Don't query for deprecated magma extension ( flutter/engine#4292 )
2017-10-30 10:09:38 -07:00
Chinmay Garde
a9721eb9d8
Allow embedders to specify custom ICU data paths and command line args. ( flutter/engine#4290 )
2017-10-27 17:31:13 -07:00
mikejurka
126dd15633
Migrate from VkExportDeviceMemoryMAGMA (deprecated). ( flutter/engine#4288 )
2017-10-27 13:34:39 -07:00
Jason Simmons
f9ccc371b9
Remove the diagnostic server (includes Dart roll) ( flutter/engine#4287 )
2017-10-27 11:53:00 -07:00
Alexander Aprelev
826b91ceae
Fix regression - configure asset bundle ( flutter/engine#4285 )
...
* Fix regression - configure asset bundle
* Fix formatting
2017-10-26 14:54:03 -07:00
Jason Simmons
ea0e620ea1
Add an SkPicture screenshot handler to the service protocol ( flutter/engine#4284 )
...
This will replace the one in the diagnostic server
2017-10-26 14:35:26 -07:00
P.Y. Laligand
2d897e227d
Removed the deprecated analysis_options attribute. ( flutter/engine#4278 )
2017-10-25 22:27:32 -07:00
Michael Goderbauer
49200487c9
Announce the correct new value after increase/decrease has been performed on iOS ( flutter/engine#4282 )
2017-10-25 16:02:43 -07:00
Chinmay Garde
f0df2b460d
Add a test_fixtures GN rule that allows unittests to reference fixtures. ( flutter/engine#4280 )
2017-10-25 14:54:20 -07:00
Michael Goderbauer
77dd7b4f76
Only post UIAccessibilityLayoutChangedNotification if layout changed ( flutter/engine#4279 )
...
* Only post UIAccessibilityLayoutChangedNotification if layout actually changed
* ++
* review comment
2017-10-25 14:07:41 -07:00
Chinmay Garde
8ed91439b5
Add a unittest stub for the embedder. ( flutter/engine#4276 )
2017-10-25 13:09:59 -07:00
Michael Goderbauer
b605573b1f
Revert "Move channel and codec related files to common ( #4262 )" ( flutter/engine#4277 )
...
This reverts commit ee5504cfcd6151310bb5f829c15de05e953baf29.
2017-10-25 13:01:24 -07:00
P.Y. Laligand
8fa077d254
Fix build file typo. ( flutter/engine#4275 )
2017-10-25 10:54:03 -07:00
P.Y. Laligand
277e27cba0
[fuchsia] Account for the new Dart toolchain. ( flutter/engine#4271 )
2017-10-24 21:30:40 -07:00
krisgiesing
ee5504cfcd
Move channel and codec related files to common ( flutter/engine#4262 )
...
Refactoring related to use of the embedder APIs on macOS
host builds.
2017-10-24 20:36:18 -07:00
Alexander Aprelev
2fa0c790d1
Initialize service isolate from kernel file, rather than from embedded sources. ( flutter/engine#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
6618c30371
Add luminance getter to Color ( flutter/engine#4252 )
...
* add luminance getter to color
* tests
* nit
2017-10-24 18:39:54 -07:00
Jason Simmons
e4c9fad5ae
libtxt: insert a placeholder paint record representing the font metrics of an empty run ( flutter/engine#4272 )
2017-10-24 14:35:02 -07:00
Chinmay Garde
848dc59f89
Setup GN rules to package embedder dylib as a Mac framework where supported. ( flutter/engine#4270 )
2017-10-24 12:50:13 -07:00
Chris Bracken
a8b5631035
Eliminate dependency on chromium build tools repo ( flutter/engine#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
Jason Simmons
7382709eed
libtxt: some cleanup ( flutter/engine#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
88b2b4b5aa
Support for accessibility label and hint ( flutter/engine#4264 )
...
* Support for accessibility label and hint
* review comments
2017-10-23 16:46:01 -07:00
Alexander Aprelev
20493aaa5e
Roll dart to pick up fix for diagnostic server ( flutter/engine#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
506f2285e0
Add _updateUserSettingsData to the Dart entry points ( flutter/engine#4261 )
2017-10-23 09:40:35 -07:00
Zachary Anderson
8f1fbe7481
Pass missing parameter. ( flutter/engine#4260 )
2017-10-23 07:47:37 -07:00
Jason Simmons
87a0a52941
libtxt: record metrics for each font used within a run ( flutter/engine#4259 )
2017-10-20 14:45:52 -07:00
P.Y. Laligand
3a943b12c3
Update the location of Flutter packages. ( flutter/engine#4257 )
2017-10-20 14:25:49 -07:00
amirh
34003d8e06
Add isButton to SemanticsFlags.values ( flutter/engine#4258 )
2017-10-20 14:23:40 -07:00
amirh
db17cfc053
Add a semantic isButton flag ( flutter/engine#4254 )
...
https://github.com/flutter/flutter/issues/11992
2017-10-20 13:15:20 -07:00
Jason Simmons
65a33037ac
libtxt: better accuracy for text justification ( flutter/engine#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
dfcfcd96e9
Revert "Move channel and codec related files to common" ( flutter/engine#4256 )
...
* Revert "Pass option to reuse an existing runtime controller (#4253 )"
This reverts commit c2815422317e1e28227facc9534d6333d2369532.
* Revert "Document the Porter-Duff operators. (#4250 )"
This reverts commit 73a218a980ccec7129c252a34aae6ef61fc3dbb8.
* Revert "Move channel and codec related files to common (#4225 )"
This reverts commit 8a687cb332004984c00150a951820a60476f0e95.
2017-10-20 11:44:56 -07:00
Zachary Anderson
c281542231
Pass option to reuse an existing runtime controller ( flutter/engine#4253 )
2017-10-20 10:17:21 -07:00
Ian Hickson
73a218a980
Document the Porter-Duff operators. ( flutter/engine#4250 )
2017-10-20 10:03:19 -07:00
krisgiesing
8a687cb332
Move channel and codec related files to common ( flutter/engine#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
a12cafee59
Documentation improvements - RTL and others ( flutter/engine#4248 )
2017-10-19 17:30:30 -07:00
Michael Goderbauer
e8ca737328
Set AccessibilityFocus ( flutter/engine#4249 )
...
This ensures that accessibility hints are played properly.
2017-10-19 15:09:37 -07:00
5u3it
afbc193bde
Native keyboard behavior update for multiline input ( flutter/engine#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
P.Y. Laligand
0768d0714e
Move //dart to //third_party/dart. ( flutter/engine#4245 )
2017-10-19 01:20:38 -07:00
Jason Simmons
212249cd2b
Export the SkClipOp argument in Canvas.clipRect ( flutter/engine#4243 )
2017-10-18 16:39:19 -07:00
amirh
22b9ed16b5
Support accessibility announcements in the iOS accessibility_bridge ( flutter/engine#4244 )
2017-10-18 16:37:52 -07:00