9381 Commits

Author SHA1 Message Date
Alexander Aprelev
d5259d3af9
Use Uri.file expecting filepath (#4646) 2018-02-07 15:24:44 -08:00
Alexander Aprelev
32c241dd88
Roll dart deps (#4644)
* Roll dart deps

* Remove pin

* Roll buildroot to dart dev.20
2018-02-07 15:22:59 -08:00
Jason Simmons
b971e6e2a9
libtxt: change the host default font family to something more widely available (#4631) 2018-02-07 14:10:07 -08:00
jensjoha
9ced19ccc7 Let frontend_server bootstrap the incremental compiler from a previou… (#4642)
* Let frontend_server bootstrap the incremental compiler from a previously build dill file

* Wrap 'invalidateIfBootstrapping' in try and don't bootstrap if getting an exception
2018-02-07 14:03:05 -08:00
Jason Simmons
c896350917
Roll Dart to 32396138ff733cbe8d9ac32178e6cffccdf80644 (#4643) 2018-02-07 13:07:47 -08:00
Brian Salomon
58e6c23ece Modernize GrContext creation (#4640) 2018-02-06 13:45:31 -08:00
Zachary Anderson
76d4928b05
Reland: [fuchsia] Enable running from source packages (#4634)
This relands https://github.com/flutter/engine/pull/4629 with a
tonic roll to fix the build.
2018-02-06 10:08:24 -08:00
Erik Corry
0f38a059f1
Roll flutter to 06-02-2018 402e69b53d59083d34d7538126837c4381aa0c4a (#4639)
* Roll flutter to 06-02-2018 402e69b53d59083d34d7538126837c4381aa0c4a

* Change license signature
2018-02-06 17:34:18 +01:00
Devon Carew
1db913b154
add padding around the perf overlay (#4638) 2018-02-06 07:18:45 -08:00
Jason Simmons
c8bf22552e
Fix an improper deletion of DirectoryAssetBundle when creating isolates (#4637) 2018-02-05 17:33:59 -08:00
Jason Simmons
9d93a07bde
Update PlatformViewAndroid for the new definition of SemanticsNodeUpdates (#4636) 2018-02-05 16:11:51 -08:00
Ryan Macnak
638af1532a
Some cleanups for building platform.dill. (#4635) 2018-02-05 15:33:55 -08:00
Yegor
6dd49f0695
iOS a11y text entry (~70% of it) (#4575)
* implement iOS text field editing in a11y mode

* address Chinmay's comments

* replace node in child list when changing type
2018-02-05 15:14:13 -08:00
Alexander Aprelev
9bc2efdf47
Roll dart, remove patched_sdk from flutter now that frontend handles patching (#4633)
* Fixes to make https://dart-review.googlesource.com/c/sdk/+/36641 work with Flutter

* Roll dart

* Update license

* Roll dart

* Update license

* Add libraries.json to dependencies
2018-02-05 13:44:16 -08:00
Zachary Anderson
151bb37435
Revert "[fuchsia] Enable running from source packages (#4629)" (#4632)
This reverts commit 8f638591e97b350962001f5af38d2464421ec3dc.
2018-02-02 22:38:49 -08:00
Zachary Anderson
8f638591e9
[fuchsia] Enable running from source packages (#4629) 2018-02-02 15:43:21 -08:00
Jason Simmons
c375ff54c1
libtxt: Skia font manager implementation for Fuchsia (#4630)
Based on the FontCacheFuchsia used in the Blink renderer
2018-02-02 13:04:32 -08:00
Zachary Anderson
d5338ed143
[fuchsia] Set up the namespace in dart:zircon (#4628) 2018-02-01 22:47:01 -08:00
Zachary Anderson
750c7e4e2b
Roll Dart to 7078f6be58802c4e274625b8b59b4c855ddc4fb7 (#4627) 2018-02-01 16:04:39 -08:00
P.Y. Laligand
4fd4dae0ca
Adjust to thinner Fuchsia sysroot. (#4624) 2018-02-01 13:33:22 -08:00
Jason Simmons
de34a3e272
libtxt: extend Minikin to find a fallback font if its font collection can not match a given character (#4623)
Minikin layout uses a FontCollection containing a list of pre-selected fonts
for a particular font family.  This patch extends the FontCollection to invoke
a hook provided by libtxt if layout sees a character that can not be rendered
by any font in the collection.

* Change the Minikin lock to a recursive mutex.  This is required because the
  fallback font provider may create new fonts during a layout operation that
  already holds the lock.
* Implement a fallback font provider hook that queries Skia for fonts matching
  an unrecognized character.
* Maintain a cache of fallback fonts.  Prepopulate the cache with fonts
  covering some commonly used character classes.
* Add a last resort font list for cases where Skia's font manager can not
  find any font for a character (similar to Blink's FontCache::getLastResortFallbackFont)
2018-01-31 13:56:44 -08:00
Jason Simmons
15430edc1f
Fix some errors in Javadoc annotations (#4622) 2018-01-31 13:56:32 -08:00
Adam Barth
eb04440801
[fuchsia] Fix crash from my recent CL (#4621)
We need to handle the error case properly.
2018-01-31 13:05:20 -08:00
Greg Spencer
96acd1a383
Adding semantics traversal order support (#4540)
This adds support for semantics traversal ordering.

It is a companion to flutter/flutter#14060, adding support for a sortIndex in the semantics data passed to the engine.

Addresses flutter/flutter#12187
2018-01-30 13:42:12 -08:00
Jason Simmons
8f120531f8
libtxt: update some unit tests (#4603)
* GetGlyphPositionAtCoordinate maps points within the right half of a
  glyph to the next position
* The second pass in RepeatLayoutParagraph was at the borderline between 5
  and 6 lines in the Minikin line breaker.  Add text to ensure that the text
  fills 12 lines at half width and 6 lines at full width.
2018-01-30 13:30:47 -08:00
Jason Simmons
6dccf26354
libtxt: track the range of code units represented by the current glyph (#4598)
This simplifies iteration over graphemes and fixes an off-by-one error seen
when handling RTL runs.
2018-01-30 13:30:06 -08:00
Adam Barth
0818d8c03d
[fuchsia] Update FIDL1 C++ bindings to match FIDL2 interface (#4620)
This change will make it easier to transition to FIDL2.
2018-01-30 12:35:26 -08:00
Chris Bracken
dbc071aa62
Use @available checks for iOS 11 features (#4619)
Use @available checks for iOS 11 features
2018-01-30 09:36:21 -08:00
Adam Barth
d68d19f8df
[fuchsia] Remove MessageLoopHandler dependency (#4618)
Instead, use the underlying libasync wait primitives.
2018-01-30 09:21:20 -08:00
Coder256
c92e3df2b1 Only implement application:performActionForShortcutItem:completionHandler: on iOS 9.0+. And fix some tests. (#4600) 2018-01-30 08:00:39 -08:00
Régis Crelier
8f2d72b183 Roll Dart to 7af4db0ea091dddca6b2da851e6dda8d7f9467e8 (#4613) 2018-01-29 20:30:18 -08:00
Chris Bracken
293b37c61f
Revert "Update //garnet (#4611)" (#4617)
This reverts commit 47cae4d8ed5b57c4d6defb794d253e6db5e1b38f.
This reverts commit 9b9de0e559baee3b298bf01b4d3e160a0543b534.
2018-01-29 18:24:49 -08:00
Michael Goderbauer
3107f167dc
Remove unnecessary trim (#4616)
... which caused trouble for a11y "select all".
2018-01-29 18:12:29 -08:00
Adam Barth
47cae4d8ed
Fix Windows build (#4615) 2018-01-29 17:11:38 -08:00
Adam Barth
9b9de0e559
Update //garnet (#4611) 2018-01-29 16:15:15 -08:00
Chris Bracken
f557f476c8
Revert "libtxt: extend Minikin to find a fallback font if its font collection can not match a given character (#4595)" (#4609)
This reverts commit 9a402241e9d679ff9dcd96712693b9df38cdc414.
2018-01-29 15:23:24 -08:00
Chris Bracken
4e1c51cc29
Update buildtools to Fuchsia HEAD (#4599) 2018-01-29 15:00:06 -08:00
Chris Bracken
6daf379b89
Run clang-format checks before other phases (#4608)
We now run clang-format checks before running licenses and other tests.
Since clang-format runs quickly, this allows these diffs to be caught
first, without much real delay to other checks.
2018-01-29 14:59:10 -08:00
Chris Bracken
c10c417383
Only verify clang-format on changed files (#4605)
Each time we update the clang toolchain, we've needed to deal with diffs
resulting from new clang-format defaults and improvements to existing
settings. This reduces diff checking to just the diffed lines.
2018-01-29 14:39:27 -08:00
Chris Bracken
50d3145d31
Update Flutter licenses golden file (#4606)
vulcan_provider.{cc.h} were added in
fb9782a5294e700e45e372da0cd25165697b2e45. This updates the licenses
golden file to include them and fix the current breakage on Travis.
2018-01-29 14:25:09 -08:00
Jason Simmons
9a402241e9
libtxt: extend Minikin to find a fallback font if its font collection can not match a given character (#4595)
Minikin layout uses a FontCollection containing a list of pre-selected fonts
for a particular font family.  This patch extends the FontCollection to invoke
a hook provided by libtxt if layout sees a character that can not be rendered
by any font in the collection.

* Change the Minikin lock to a recursive mutex.  This is required because the
  fallback font provider may create new fonts during a layout operation that
  already holds the lock.
* Implement a fallback font provider hook that queries Skia for fonts matching
  an unrecognized character.
* Maintain a cache of fallback fonts.  Prepopulate the cache with fonts
  covering some commonly used character classes.
* Add a last resort font list for cases where Skia's font manager can not
  find any font for a character (similar to Blink's FontCache::getLastResortFallbackFont)
2018-01-29 12:06:48 -08:00
Craig Stout
0de8218778 Transition render target images before submit.
Required by the spec; see '6.7.4. Queue Family Ownership Transfer'
of Vulkan 1.0.66.

Transitioning the image layout also fixes an image resolve failure
issue introduced by optimizations present in the intel mesa vulkan
driver v17.2.
2018-01-27 13:17:28 -08:00
Craig Stout
fb9782a529 Introduce VulkanProvider
For more consistent access to base vulkan functionality owned
elsewhere.
2018-01-27 13:17:28 -08:00
Chris Bracken
521c73ded8
Revert "Use @available checks for iOS 11 features (#4596)" (#4597)
This reverts commit 89b6d435205d9bcdf8dde965dd1b0432482407c5.

Apparently the clang toolchain is still hitting issues. Will give this
another go after the next clang toolchain update.
2018-01-26 16:08:18 -08:00
Chris Bracken
89b6d43520
Use @available checks for iOS 11 features (#4596)
Guard code that deals with iOS safe area insets behind an @available
check.

This cleans up some old TODOs from before out clang toolchain supported
@available.
2018-01-26 15:51:00 -08:00
Chris Bracken
f937d93138
Extract common iOS asset path lookup code (#4594)
Consolidates the asset path lookup logic from FlutterDartProject and FlutterMain().
2018-01-26 14:27:46 -08:00
Alexander Aprelev
6921873c71
Lookup FTLAssetsPath when deducing assets path on ios (#4593)
* Lookup FTLAssetsPath when deducing assets path on ios

* WS

* Proper fix

* Another whitespace fix
2018-01-26 13:45:04 -08:00
Jason Simmons
c9b1e0394b
libtxt: be more resilient if the minikin glyphs and the grapheme breaker get out of sync (#4590) 2018-01-26 13:35:53 -08:00
Michael Goderbauer
a1e4f2f991
Add semantic actions for copy, cut, and paste (#4592) 2018-01-26 12:11:38 -08:00
Jason Simmons
3f41726860
Implement more SkFontMgr APIs in AssetFontManager (#4591) 2018-01-26 11:55:16 -08:00