9450 Commits

Author SHA1 Message Date
Jim Van Verth
ae3f7ea9d4 Update to latest SkShadowUtils::DrawShadow() (#4705) 2018-02-27 12:42:23 -05:00
Vyacheslav Egorov
bacb388fda
Switch on --sync-async in Dart 2 mode (#4686) 2018-02-27 09:44:27 +01:00
Alexander Aprelev
b076f1be5a
Fix analyzer warning. (#4715)
* Fix analyzer warning.

  warning • This function declares a return type of 'Future<void>', but doesn't end with a return statement at flutter/frontend_server/lib/server.dart:340:1 • missing_return

* Remove await

* Ignore warning.
2018-02-26 10:56:51 -08:00
Alexander Aprelev
86ec3db218
Add an option '--depfile' to produce ninja-style depfile for the generated kernel. (#4704)
* Add an option '--depfile' to produce ninja-style depfile for the generated kernel file.

* Use [program.uriToSource] as a source of dependencies.
2018-02-26 08:55:20 -08:00
Zachary Anderson
3b4d0378f3
Fix SemanticsUpdate.dispose() native (#4708) 2018-02-26 08:32:40 -08:00
egdaniel
c97883dd24 Update how create a null GrVkAlloc object. (#4714)
When resetting to a null GrVkAlloc alloc use the default ctor instead of the { } initializer. This is needed so an upcoming Skia change doesn't break the flutter build.
2018-02-26 09:51:46 -05:00
P.Y. Laligand
5d31ce7098
Declare that a pubspec.yaml file is being generated for a dart_pkg. (#4713)
This will let other targets depend on the existence of that file.
2018-02-24 20:57:43 -08:00
P.Y. Laligand
0749b87685
Use new parameter of Fuchsia template. (#4711) 2018-02-24 11:12:44 -08:00
Chris Bracken
a5134d878b
Re-enable Dart_TimelineGetMicros on init on macOS (#4712)
Previously, a call to Dart_TimelineGetMicros() before a call to
Dart_Initialize() resulted in a crash. This was fixed in
dart-lang/sdk@7434bcad57.

Related:
* flutter/flutter#4006: SkyShell.app on Mac crashes on startup
* dart-lang/sdk#26486:  [dart_tools_api.h] Dart_TimelineGetMicros crashes on Mac if called before Dart_Initialize
2018-02-24 10:21:40 -08:00
mikejurka
3fbdbe3637
[fuchsia] Update to using a Mozart session. (#4701) 2018-02-23 21:06:59 -08:00
P.Y. Laligand
660a861672
Update the type of a Fuchsia target. (#4710) 2018-02-23 18:52:16 -08:00
Chris Bracken
26dc90cc36
Don't release on CFRef::Reset() to same instance (#4709) 2018-02-23 16:35:32 -08:00
Adam Barth
63b9dab168
[fuchsia] Rename fidl namespace to f1dl (#4707)
This rename is to prepare for the migration to FIDL2.
2018-02-23 14:07:08 -08:00
Alexander Aprelev
3697845ac6
Add option for recompile request to switch to new main file(entrypoint). (#4703)
* Add option for recompile request to switch to new main file(entrypoint).

This is needed to reuse incremental compiler to compile unrelated programs. First use case is reuse single
incremental compiler for all tests run by 'flutter test'

* Remove left over print
2018-02-22 23:08:54 -08:00
mikejurka
44dbdbe3ef
[fuchsia] Renamed PresentationInfo (#4702) 2018-02-22 21:34:48 -08:00
Alhaad Gokhale
0cc0784dd5
Remove use of ApplicationLaunchInfo::ServiceProvider from content (#4700)
handler.
2018-02-22 15:23:27 -08:00
xster
edc7f659e2
Relabel the performance overlay graphs (#4698) 2018-02-22 15:01:18 -08:00
Yegor
3bbc71df69
fix naming of static function intToComparisonResult (#4685) 2018-02-22 11:24:51 -07:00
Jason Simmons
33b88173f3
Enable libtxt as the default text renderer (#4697) 2018-02-21 13:34:31 -08:00
Todd Volkert
ead227f118
Respect Switch::SkiaDeterministicRendering in all runtime modes (#4695)
https://github.com/flutter/flutter/issues/14519
2018-02-20 19:36:34 -08:00
Todd Volkert
4cafde3c80
Add flag to skip call to SkGraphics::Init() (#4694)
https://github.com/flutter/flutter/issues/14519
2018-02-20 17:42:11 -08:00
Todd Volkert
5856104563
Rev Dart to 0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0 (#4693) 2018-02-20 13:17:31 -08:00
reed-at-google
85a7d603c8 remote tilemode count check, so Skia can add another one (#4692) 2018-02-20 14:05:08 -05:00
Adam Barth
d0160dff22
Reduce logspam in DirectoryAssetBundle (#4690)
It's not an error to request an asset that doesn't exist. In fact, we
request kernel_blob.bin unconditionally at startup, which doesn't
typically exist.
2018-02-19 08:38:45 -08:00
Mikkel Nygaard Ravn
13cf22c284
Place LICENSE as sibling of podspec (#4691) 2018-02-19 16:33:30 +01:00
Alexander Aprelev
802eec2d1a
Write artifacts produced during frontend_server training into temp folder. (#4687)
* Write artifacts produced during frontend_server training into temp folder.

* Write artifacts produced during frontend_server training into temp folder.

* Fix File/String mixup

* Remove temp directory. Use full prefix for package

* Delete in finally {}
2018-02-18 14:48:55 -08:00
Carlos Pizano-Uribe
e5b72e5f87 Wire pointer buttons for fuchsia (#4658)
* Wire pointer buttons for fuchsia

Right now can't tell right from left button.
2018-02-17 07:53:22 -08:00
Zachary Anderson
1b015918ce
Roll Dart to 0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0 (#4689) 2018-02-16 14:59:21 -08:00
Yegor
503f86d54c
iOS a11y: Implement strong down weak up reference management (#4602)
* fix iOS crash in a11y mode when used too fast

* clang-format
2018-02-15 16:33:05 -08:00
Jason Simmons
9fe42a610c
Exclude skia/third_party/icu from the license crawl (#4684) 2018-02-15 13:57:20 -08:00
Jason Simmons
a8bda71e62
Use an alpha type that matches the color type in Android software rendering (#4681)
Fixes https://github.com/flutter/flutter/issues/14709
2018-02-15 13:00:57 -08:00
Siva
19e8d9b2bf
Fix strong flag setting (#4683)
* Turn on strong mode by default when a platform file is present in the
bundle instead of using a flag passed into the engine which might not be
true when we invoke an installed app.

* - Roll dart to version fe96de2858f078e4ad04f8f30640184bf3d8102d

* Update license file.
2018-02-15 11:02:31 -08:00
Jason Simmons
1cab96c6eb
libtxt: miscellaneous cleanup (#4679)
* use TextDecoration enums
* replace GetBlobLength with a function that returns runs based on typeface
* a few other minor style fixes
2018-02-15 09:54:54 -08:00
Siva
0f3a8cef60
Roll Dart to version 0fd6aa87a37023d9691cf50866214c1235dab2d1 (#4682)
* Roll Dart to version 0fd6aa87a37023d9691cf50866214c1235dab2d1

* Update license file.
2018-02-14 18:04:23 -08:00
Brian Osman
f8778fce17
On iOS, render to an offscreen surface to avoid renderbuffer slowdown (#4680)
* On iOS, render to an offscreen surface to avoid renderbuffer slowdown

Fixes https://github.com/flutter/flutter/issues/14565

* null out old offscreen surface
2018-02-14 16:17:35 -05:00
Jacob Richman
1e054c34fe
Stop using ClassHierarchy.deprecated_incremental. (#4678)
* Stop using ClassHierarchy.deprecated_incremental.
2018-02-14 10:56:21 -08:00
Vyacheslav Egorov
03a598358f
Make Paragraph methods really return List<int> if they are declared as such. (#4676)
Changed methods _getPositionForOffset and getWordBoundary to use
Dart_NewListOf(Dart_CoreType_Int, ...).
2018-02-14 19:07:05 +01:00
Jason Simmons
468935eb85
libtxt: specifically request the Roboto font in tests and benchmarks (#4675) 2018-02-14 10:01:01 -08:00
Chris Bracken
7a6d12fabc
Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (#4670) (#4677)
Rolling to tip of tree, but specifically the intent is to pick up
fc4f768e5aaf8efdd112f38295a35de83a0f9a55 in order to pick up a fix for
multitexturing on iOS. Originally disabled in flutter/engine#4364 due to
iOS text rendering issues described in flutter/flutter#12934.

Upstream Skia patch:
https://skia-review.googlesource.com/c/skia/+/99800
2018-02-14 08:41:55 -08:00
Ben Konyi
05c5f817eb
Dart SDK roll for 2018/02/13 (#4674)
* Dart SDK roll for 2018/02/13
2018-02-13 19:21:13 -08:00
Alexander Aprelev
5b6ce8d761
Remove workaround for handling of relative paths (#4673) 2018-02-13 18:46:00 -08:00
Chris Bracken
902817b2bc
Revert "Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (#4670)" (#4672)
This didn't break anything that we know of, but the engine is not
currently rollable to the framework due to a Dart bug. I'm reverting
this so we can get a fix landed for the Dart SDK, then roll, then
re-land this, then roll, to allow us to measure the performance impact
of the Dart SDK roll and the Skia roll independently.

This reverts commit 94ce14fb6a3c1568b8f641d114001ca22e308db4.
2018-02-13 16:30:32 -08:00
Chris Bracken
94ce14fb6a
Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (#4670)
Rolling to tip of tree, but specifically the intent is to pick up
fc4f768e5aaf8efdd112f38295a35de83a0f9a55 in order to pick up a fix for
multitexturing on iOS. Originally disabled in flutter/engine#4364 due to
iOS text rendering issues described in flutter/flutter#12934.

Upstream Skia patch:
https://skia-review.googlesource.com/c/skia/+/99800
2018-02-13 16:01:14 -08:00
Jason Simmons
a301ff86d1
Restore minikin code that had been disabled due to older versions of ICU and HarfBuzz (#4671) 2018-02-13 15:47:36 -08:00
Zachary Anderson
816baf2883
[Fuchsia] Reads a config file when running from source (#4669) 2018-02-13 15:15:46 -08:00
Jason Simmons
99319a3917
Roll Topaz/Tonic and call Dart_NewListOfType for TextBox lists (#4667)
Fixes https://github.com/flutter/flutter/issues/14555
2018-02-13 15:02:57 -08:00
Chris Bracken
12a7162f68
Roll buildroot to 06e2d5a3e84459931ca9bedd3171c76f9953ebfa (#4668)
Inlcudes:
* Enable -Wunguaraded-availability for iOS builds (flutter/buildroot#126)
* Eliminate is_nacl from build config (flutter/buildroot#127)
2018-02-13 14:44:06 -08:00
Michael Goderbauer
36a9c343b7
Add nextId to traversal order (#4666) 2018-02-13 14:27:23 -08:00
Alexander Aprelev
8fdcdf5ff6
Add output path option (#4663) 2018-02-13 14:00:34 -08:00
Chris Bracken
978b757410
Run Travis analysis/licences scripts under bash (#4665)
/bin/sh, for example, doesn't support pushd/popd.
2018-02-13 13:09:36 -08:00