Commit Graph

3458 Commits

Author SHA1 Message Date
Alan Russian
17f59f4dd6 Add CallSuper annotation to onCreate(). (flutter/engine#4789)
This provides improved code inspection, making it easier for developers to figure out what might be going wrong if they override this and don't call super, like I just did. :-)
2018-03-30 19:03:49 -07:00
Jeff Brown
9e40f3e2d3 Port flutter content handler to FIDL2. (flutter/engine#4903) 2018-03-29 21:49:35 -07:00
Dan Field
151204edf5 Support Path.addCircle (flutter/engine#4783)
* add Path.addCircle

* docs formatting

* revert path.cc/path.h; remove addCircle and update docs on addOval

* add missing file.
2018-03-28 21:04:47 -07:00
xster
0739f028f4 Add hint to use ninja with goma (flutter/engine#4894) 2018-03-28 15:51:33 -07:00
Jason Simmons
f6a5a300d5 libtxt: move to the next run if the current run ends before the start of the line block (flutter/engine#4891)
Fixes https://github.com/flutter/flutter/issues/15975
2018-03-28 14:18:37 -07:00
Zachary Anderson
a3666e8280 Retry fixing vulkan include (flutter/engine#4874) 2018-03-27 10:10:45 -07:00
Ryan Macnak
485d4b795d Make flutter_test on Mac exit on error like Linux and Windows. (flutter/engine#4873) 2018-03-26 20:51:19 -07:00
Ryan Macnak
fcb00ca95b Revert "Fix vulkan include path (#4870)" (flutter/engine#4872)
Breaks Linux and Mac build bots.

This reverts commit 2321c199f0.
2018-03-26 16:56:00 -07:00
Jason Simmons
b035c5b0f6 Allow FirstFrameListeners to remove themselves from the FlutterView's list (flutter/engine#4871)
Fixes https://github.com/flutter/flutter/issues/15884
2018-03-26 15:43:38 -07:00
Zachary Anderson
2321c199f0 Fix vulkan include path (flutter/engine#4870) 2018-03-26 14:05:25 -07:00
Stanislav Baranov
05943ceb68 Support for decimal and signed numeric keyboard (flutter/engine#4853)
* Support for decimal and signed numeric keyboard

* Comments
2018-03-26 13:14:38 -07:00
Yegor
ee3f5ece99 CONTRIBUTING.md: explain the need for building host with non-host (flutter/engine#4863)
* CONTRIBUTING.md: explain the need for building host with non-host

* address comments

* locally-built
2018-03-23 17:50:52 -07:00
Brian Salomon
caccc81f4d Remove declaration for undefined GPUSurfaceGL::SelectPixelConfig (flutter/engine#4857) 2018-03-23 12:38:58 -04:00
Brian Salomon
828875524a Vulkan swap chain setup no longer uses GrPixelConfig and doesn't include from skia/src (flutter/engine#4856) 2018-03-23 12:38:41 -04:00
Ian Hickson
f8f2558835 Document Window.defaultRouteName a little better. (flutter/engine#4851) 2018-03-22 15:55:59 -07:00
Jason Simmons
58277dcd62 Fix GPUSurfaceGL includes on Linux (flutter/engine#4849) 2018-03-22 11:40:29 -07:00
Ian Hickson
c8d191401f Slightly improve the docs for the internal _futurize method (flutter/engine#4847) 2018-03-22 10:52:50 -07:00
Chris Bracken
6eb10b4841 Fix supported color type check on iOS simulators (flutter/engine#4846)
Since OS_MACOSX and OS_IOS are both enabled for simulator builds, ensure
we're using constants conistent with our #includes.
2018-03-21 19:31:24 -07:00
Chris Bracken
9dcf4907f6 Fix GPUSurfaceGL includes on macOS (flutter/engine#4844)
macOS doesn't include GLES support.
2018-03-21 16:45:41 -07:00
Chris Bracken
9f169ccfbb Handle Apple-specific GLES headers (flutter/engine#4843)
In 2bd16b8a3b, includes were added for
GLES. On macOS/iOS, these headers are named slightly differently.
2018-03-21 16:16:04 -07:00
Brian Salomon
2bd16b8a3b VulkanSurface and GPUSurfaceGL no longer use GrPixelConfig (flutter/engine#4814)
* VulkanSurface and GPUSurfaceGL no longer use GrPixelConfig

* fix 565

* fix gpu_surface_gl changes
2018-03-21 14:13:05 -07:00
Sarah Zakarias
18fe5d7dec Provide asset lookup key on ios (flutter/engine#4817) 2018-03-21 11:36:49 +01:00
Jason Simmons
53df117523 Load kernel files from the script URI in the isolate create callback (flutter/engine#4828)
Fixes https://github.com/flutter/flutter/issues/15731
2018-03-20 17:25:22 -07:00
Zachary Anderson
fb3456f64f Remove some unneeded profiling flags (flutter/engine#4827) 2018-03-20 15:48:41 -07:00
Jason Simmons
1127f37509 Remove the canvas save/restore calls in Paragraph::Paint (flutter/engine#4822)
This is a workaround for https://github.com/flutter/flutter/issues/15702

Skia was not drawing the paragraph's text blobs in some cases when a
save/restore sequence is done around the canvas->translate call.  The
problem does not occur if an offsetting call to translate is made instead
of the save/restore.  Will need to work with Skia to find the root cause.
2018-03-20 11:30:00 -07:00
Michael Goderbauer
b716162f77 Rename isPassword to isObscured (flutter/engine#4815) 2018-03-19 15:52:16 -07:00
Jonah Williams
c407876859 Allow shadows to be colored when physical layer is drawn by engine (flutter/engine#4812)
* pass shadow_color from dart:ui to physical layer

* default shadow color to SK_ColorBLACK

* add doc comments to pushPhysicalShape
2018-03-19 14:16:17 -07:00
Jason Simmons
7c1c5b5280 Fix a missing paren (flutter/engine#4808) 2018-03-19 12:07:28 -07:00
Ryan Macnak
7886e02834 Reapply "Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091." (flutter/engine#4809) 2018-03-19 11:22:23 -07:00
Michael Goderbauer
e93b5198e7 Support password fields on Android (flutter/engine#4781) 2018-03-19 10:25:09 -07:00
Alhaad Gokhale
ab632603e1 Revert "Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (#4800) (#4805)" (flutter/engine#4807)
This reverts commit 8790a33a0d.
2018-03-19 09:51:41 -07:00
mikejurka
8790a33a0d Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (#4800) (flutter/engine#4805) 2018-03-16 17:08:06 -07:00
Chris Bracken
507f0c79aa Eliminate iOS depth/stencil buffer code (flutter/engine#4802)
As of d5fdb1a189, depth/stencil buffer
attachments are never used. This patch eliminates generation and binding
of depth/stencil render buffers since these code paths are no longer hit.
2018-03-16 16:47:06 -07:00
mikejurka
713dbf4ca8 Revert "Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (#4800)" (flutter/engine#4803)
This reverts commit e121d45124.
2018-03-16 16:22:41 -07:00
Chris Bracken
c4d964e1f5 Cache render buffer extents when no depth/stencil buffer (flutter/engine#4801)
Previously iOS render buffer storage width and height were not cached if
not using a depth/stencil buffer. This adds a similar check for
colorBuffer to avoid reallocating render buffer storage.
2018-03-16 15:40:31 -07:00
mikejurka
16892af75c [fuchsia] Updated scenic fidl prefix (flutter/engine#4798) 2018-03-16 14:13:19 -07:00
Ryan Macnak
e121d45124 Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (flutter/engine#4800) 2018-03-16 12:17:38 -07:00
Jason Simmons
332364465f libtxt: retain hard line breaks when calculating maxIntrinsicWidth (flutter/engine#4796)
maxIntrinsicWidth should reflect what the width of the text would be if no
soft line breaks are added.  Hard line breaks should still be incorporated
into the maxIntrinsicWidth.

Fixes https://github.com/flutter/flutter/issues/15588
2018-03-16 10:28:59 -07:00
Sarah Zakarias
1ddca173c3 Provide lookup key to access Flutter assets in the APK (flutter/engine#4785) 2018-03-16 12:59:57 +01:00
Mikkel Nygaard Ravn
d7024a868d Make standard codecs extensible (flutter/engine#4770) 2018-03-16 00:08:08 +00:00
Michael Goderbauer
05b0e970c4 Add API guard to a11y setTraversalAfter (flutter/engine#4794) 2018-03-15 10:15:56 -07:00
Florian Loitsch
d1a92cb0aa Fix missing backtick (flutter/engine#4788) 2018-03-15 11:25:07 +01:00
mikejurka
a282e52798 [scenic] Rename mozart->scenic. (flutter/engine#4792) 2018-03-14 20:43:04 -07:00
Siva
d7a90e2f83 Roll Dart to version 0175f24b2549732d0010708988fd328440c3f956 (flutter/engine#4791)
* Roll Dart to version 0175f24b2549732d0010708988fd328440c3f956

Notable runtime changes :

- Translate asserts in the VM-specific async translation

- Fixes flutter code coverage issues

- Fix type test '_Closure class IS FunctionType' in strong mode

- Report a compile-time error on magic const

- Do not skip type checks on closure functions.

- Make Dart_DumpStackTrace work when there is no current isolate.

- [vm/kernel/aot, test tool] Enable global type flow analysis

* updated DEPS

* Update.

* Update new license.
2018-03-14 19:51:38 -07:00
Petr Hosek
84293f06da Migrate all uses of gtest to googletest (flutter/engine#4755)
gtest is an old version that predates the googletest and googlemock
merger, all tests should be using the newer googletest that's being
kept in sync with the upstream version.
2018-03-14 11:32:34 -07:00
Zachary Anderson
69d5d6b1b0 [fuchsia] Fix AOT debug builds (flutter/engine#4787) 2018-03-14 19:19:15 +01:00
Brian Salomon
4064f10e01 Update external texture image code to specify GL texture format and image color type rather than GrPixelConfig (flutter/engine#4786) 2018-03-14 10:29:12 -07:00
Chinmay Garde
457de9145f Make the color filter layer use the paint specified by the framework. (flutter/engine#4782) 2018-03-13 15:44:13 -07:00
Michael Goderbauer
3dcbbbb65e Send TYPE_VIEW_SELECTED event for changes to SemanticsFlag.isSelected (flutter/engine#4780) 2018-03-13 12:49:30 -07:00
Jason Simmons
d4a358e2e4 Enable libtxt as the default text renderer (flutter/engine#4779) 2018-03-13 11:35:40 -07:00