4100 Commits

Author SHA1 Message Date
Greg Spencer
8566625bfa Swap setTraversalBefore to setTraversalAfter, since setTraversalBefore is broken. (flutter/engine#4656)
It seems that setTraversalBefore doesn't work as well as setTraversalAfter for some reason, although I'm using them the same way. Some apps would lock up TalkBack when traversing if setTraversalBefore was set, but not with the equivalent setTraversalAfter.

It's not entirely clear why this is, but I'm going with this to at least get it fixed for apps we know about.

Addresses flutter/flutter#14600

See also flutter/flutter#14607
2018-02-12 10:02:25 -08:00
Chris Bracken
e02ec09002 Roll topaz to 531e2778d86b213bc663ea51bb0e0dde33d8ac8c (flutter/engine#4657)
Includes https://fuchsia-review.googlesource.com/c/topaz/+/121856, which
enables path sanitization for Dart source loaded directly from from
file:// URIs (e.g., main entry points from flutter_tester).
2018-02-09 18:25:55 -08:00
Michael Goderbauer
be8089ba88 Add accessibilityFocus and loseAccessibilityFocus as a11y actions (flutter/engine#4655) 2018-02-09 17:47:52 -08:00
Michael Goderbauer
27a581d213 Encode scrolling status into tree (flutter/engine#4647) 2018-02-09 15:39:58 -08:00
Alexander Markov
210eb79918 Make native wrapper classes non-abstract (flutter/engine#4607)
* Make native wrapper classes non-abstract as they are instantiated from native code
* Make constructors of native wrapper classes private
2018-02-09 12:17:36 -08:00
Jason Simmons
adb1cc1d0f Exclude frontend_server from the license crawl (flutter/engine#4645) 2018-02-09 12:17:00 -08:00
Chris Bracken
91bacdb95a Roll topaz to 046105efd225ed61c94e65dbd4a528256a3a34a9 (flutter/engine#4652)
Lands
https://fuchsia.googlesource.com/topaz/+/046105efd225ed61c94e65dbd4a528256a3a34a9
which adds support for general handling of URI %xx escape sequences.
This enables support for paths including accents, CJK characters, emoji,
etc.
2018-02-08 18:30:21 -08:00
Ryan Macnak
a1f23bf8fc [fuchsia] Add missing AOT entry points for FromFileResult and MapResult. (flutter/engine#4649) 2018-02-08 09:34:19 -08:00
Chris Bracken
0295f160bb Roll topaz to 08a3394395036a2bb9b556f5b0eb8f365d2c0fa5 (flutter/engine#4650)
This picks up fuchsia/topaz@fe3f1503dc,
which ensures paths resolved from package: URIs are properly sanitized for
correct handling of URI-encoded path components.
2018-02-07 18:12:02 -08:00
Alexander Aprelev
3e577d6940 Remove xibs (flutter/engine#4648) 2018-02-07 16:20:06 -08:00
Alexander Aprelev
d8718d5feb Use Uri.file expecting filepath (flutter/engine#4646) 2018-02-07 15:24:44 -08:00
Alexander Aprelev
9d28fa26bb Roll dart deps (flutter/engine#4644)
* Roll dart deps

* Remove pin

* Roll buildroot to dart dev.20
2018-02-07 15:22:59 -08:00
Jason Simmons
b930272f2d libtxt: change the host default font family to something more widely available (flutter/engine#4631) 2018-02-07 14:10:07 -08:00
jensjoha
b7a3eb583d Let frontend_server bootstrap the incremental compiler from a previou… (flutter/engine#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
b3d3a1781b Roll Dart to 32396138ff733cbe8d9ac32178e6cffccdf80644 (flutter/engine#4643) 2018-02-07 13:07:47 -08:00
Brian Salomon
53b3c06c97 Modernize GrContext creation (flutter/engine#4640) 2018-02-06 13:45:31 -08:00
Zachary Anderson
cc7a67da96 Reland: [fuchsia] Enable running from source packages (flutter/engine#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
6cd8568cef Roll flutter to 06-02-2018 402e69b53d59083d34d7538126837c4381aa0c4a (flutter/engine#4639)
* Roll flutter to 06-02-2018 402e69b53d59083d34d7538126837c4381aa0c4a

* Change license signature
2018-02-06 17:34:18 +01:00
Devon Carew
d9fcfb35c1 add padding around the perf overlay (flutter/engine#4638) 2018-02-06 07:18:45 -08:00
Jason Simmons
c3ef874a23 Fix an improper deletion of DirectoryAssetBundle when creating isolates (flutter/engine#4637) 2018-02-05 17:33:59 -08:00
Jason Simmons
e75747c907 Update PlatformViewAndroid for the new definition of SemanticsNodeUpdates (flutter/engine#4636) 2018-02-05 16:11:51 -08:00
Ryan Macnak
d7e1cd0ba2 Some cleanups for building platform.dill. (flutter/engine#4635) 2018-02-05 15:33:55 -08:00
Yegor
7df584d855 iOS a11y text entry (~70% of it) (flutter/engine#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
bf7f436e36 Roll dart, remove patched_sdk from flutter now that frontend handles patching (flutter/engine#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
f6af67a850 Revert "[fuchsia] Enable running from source packages (#4629)" (flutter/engine#4632)
This reverts commit a8da87e0af3fe3d46d34ee9f908069d98f3236d9.
2018-02-02 22:38:49 -08:00
Zachary Anderson
a8da87e0af [fuchsia] Enable running from source packages (flutter/engine#4629) 2018-02-02 15:43:21 -08:00
Zachary Anderson
558f686c8b [fuchsia] Set up the namespace in dart:zircon (flutter/engine#4628) 2018-02-01 22:47:01 -08:00
Zachary Anderson
a352307589 Roll Dart to 7078f6be58802c4e274625b8b59b4c855ddc4fb7 (flutter/engine#4627) 2018-02-01 16:04:39 -08:00
P.Y. Laligand
996feda91d Adjust to thinner Fuchsia sysroot. (flutter/engine#4624) 2018-02-01 13:33:22 -08:00
Jason Simmons
2869e7929d libtxt: extend Minikin to find a fallback font if its font collection can not match a given character (flutter/engine#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
dd0c2a273d Fix some errors in Javadoc annotations (flutter/engine#4622) 2018-01-31 13:56:32 -08:00
Greg Spencer
394c11e33f Adding semantics traversal order support (flutter/engine#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
c1827995b1 libtxt: update some unit tests (flutter/engine#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
405a30aca6 libtxt: track the range of code units represented by the current glyph (flutter/engine#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
Chris Bracken
65ceaf57f4 Use @available checks for iOS 11 features (flutter/engine#4619)
Use @available checks for iOS 11 features
2018-01-30 09:36:21 -08:00
Coder256
1680d3f3da Only implement application:performActionForShortcutItem:completionHandler: on iOS 9.0+. And fix some tests. (flutter/engine#4600) 2018-01-30 08:00:39 -08:00
Régis Crelier
1a4af2c360 Roll Dart to 7af4db0ea091dddca6b2da851e6dda8d7f9467e8 (flutter/engine#4613) 2018-01-29 20:30:18 -08:00
Chris Bracken
ce985d1bb3 Revert "Update //garnet (#4611)" (flutter/engine#4617)
This reverts commit ca4ddfcb501f11f3ff4eeed4cff1096ab6391b45.
This reverts commit f6eaf438f9003b728732d896404a3b911f479d8e.
2018-01-29 18:24:49 -08:00
Michael Goderbauer
90723f13fd Remove unnecessary trim (flutter/engine#4616)
... which caused trouble for a11y "select all".
2018-01-29 18:12:29 -08:00
Adam Barth
ca4ddfcb50 Fix Windows build (flutter/engine#4615) 2018-01-29 17:11:38 -08:00
Adam Barth
f6eaf438f9 Update //garnet (flutter/engine#4611) 2018-01-29 16:15:15 -08:00
Chris Bracken
ee4f722023 Revert "libtxt: extend Minikin to find a fallback font if its font collection can not match a given character (#4595)" (flutter/engine#4609)
This reverts commit ea84dd9118374eef15a92add3a3fd28a94165fb0.
2018-01-29 15:23:24 -08:00
Chris Bracken
93a38a5426 Update buildtools to Fuchsia HEAD (flutter/engine#4599) 2018-01-29 15:00:06 -08:00
Chris Bracken
c709e56e78 Run clang-format checks before other phases (flutter/engine#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
Jason Simmons
ea84dd9118 libtxt: extend Minikin to find a fallback font if its font collection can not match a given character (flutter/engine#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
fa96568e15 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
9ee335cdff Introduce VulkanProvider
For more consistent access to base vulkan functionality owned
elsewhere.
2018-01-27 13:17:28 -08:00
Chris Bracken
ced94b8bc1 Revert "Use @available checks for iOS 11 features (#4596)" (flutter/engine#4597)
This reverts commit d468d29a77147a19ea7873e73730ddfd25709f9c.

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
d468d29a77 Use @available checks for iOS 11 features (flutter/engine#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
bc1687f219 Extract common iOS asset path lookup code (flutter/engine#4594)
Consolidates the asset path lookup logic from FlutterDartProject and FlutterMain().
2018-01-26 14:27:46 -08:00