Commit Graph

3373 Commits

Author SHA1 Message Date
Sarah Zakarias
e0fdc00ee7 Remove unavailable API in FlutterDartProject.h (flutter/engine#4723) 2018-02-28 13:37:00 +01:00
Mikkel Nygaard Ravn
544e9d3480 Make deprecated API unavailable (flutter/engine#4722) 2018-02-28 11:14:43 +01:00
Jason Simmons
9a0e923167 libtxt: lazily populate the fallback font cache (flutter/engine#4720) 2018-02-27 17:09:56 -08:00
Ryan Macnak
77d162e857 [fuchsia] Place Observatory in the runner's package instead of linking it in. (flutter/engine#4719)
This allows blobfs to deduplicate it across {dart,flutter}_{jit,aot}_runner.
2018-02-27 16:45:52 -08:00
xster
5809f804f4 Add more haptic feedback varieties (flutter/engine#4699)
* Add more haptic feedback varieties

* Make the specific feedback types do nothing on <iOS 10
2018-02-27 14:55:18 -08:00
Jason Simmons
32d7bed11b Revert "Enable libtxt as the default text renderer (#4697)" (flutter/engine#4717)
This reverts commit 11b7c21e44.

The libtxt font collection cache is consuming too much memory at startup.
2018-02-27 10:25:27 -08:00
Jim Van Verth
9673d1e3e5 Update to latest SkShadowUtils::DrawShadow() (flutter/engine#4705) 2018-02-27 12:42:23 -05:00
Vyacheslav Egorov
51dc8c3808 Switch on --sync-async in Dart 2 mode (flutter/engine#4686) 2018-02-27 09:44:27 +01:00
Alexander Aprelev
91babc8e83 Fix analyzer warning. (flutter/engine#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
a9798b413c Add an option '--depfile' to produce ninja-style depfile for the generated kernel. (flutter/engine#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
f0c5780dbc Fix SemanticsUpdate.dispose() native (flutter/engine#4708) 2018-02-26 08:32:40 -08:00
egdaniel
b0e6b1b55e Update how create a null GrVkAlloc object. (flutter/engine#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
95d52d543c Declare that a pubspec.yaml file is being generated for a dart_pkg. (flutter/engine#4713)
This will let other targets depend on the existence of that file.
2018-02-24 20:57:43 -08:00
P.Y. Laligand
28a10866e0 Use new parameter of Fuchsia template. (flutter/engine#4711) 2018-02-24 11:12:44 -08:00
Chris Bracken
a5e4e34bbc Re-enable Dart_TimelineGetMicros on init on macOS (flutter/engine#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
P.Y. Laligand
37a0e71c71 Update the type of a Fuchsia target. (flutter/engine#4710) 2018-02-23 18:52:16 -08:00
Chris Bracken
27245ea6de Don't release on CFRef::Reset() to same instance (flutter/engine#4709) 2018-02-23 16:35:32 -08:00
Alexander Aprelev
294daddbf1 Add option for recompile request to switch to new main file(entrypoint). (flutter/engine#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
xster
4c986b60e2 Relabel the performance overlay graphs (flutter/engine#4698) 2018-02-22 15:01:18 -08:00
Yegor
81545c43df fix naming of static function intToComparisonResult (flutter/engine#4685) 2018-02-22 11:24:51 -07:00
Jason Simmons
11b7c21e44 Enable libtxt as the default text renderer (flutter/engine#4697) 2018-02-21 13:34:31 -08:00
Todd Volkert
d72908a9fe Respect Switch::SkiaDeterministicRendering in all runtime modes (flutter/engine#4695)
https://github.com/flutter/flutter/issues/14519
2018-02-20 19:36:34 -08:00
Todd Volkert
1555f6f175 Add flag to skip call to SkGraphics::Init() (flutter/engine#4694)
https://github.com/flutter/flutter/issues/14519
2018-02-20 17:42:11 -08:00
reed-at-google
5d26fdffeb remote tilemode count check, so Skia can add another one (flutter/engine#4692) 2018-02-20 14:05:08 -05:00
Adam Barth
db4e089e22 Reduce logspam in DirectoryAssetBundle (flutter/engine#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
5de8c90177 Place LICENSE as sibling of podspec (flutter/engine#4691) 2018-02-19 16:33:30 +01:00
Alexander Aprelev
9742ed5cb6 Write artifacts produced during frontend_server training into temp folder. (flutter/engine#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
Zachary Anderson
b2b7309505 Roll Dart to 0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0 (flutter/engine#4689) 2018-02-16 14:59:21 -08:00
Yegor
d9a1fb11b5 iOS a11y: Implement strong down weak up reference management (flutter/engine#4602)
* fix iOS crash in a11y mode when used too fast

* clang-format
2018-02-15 16:33:05 -08:00
Jason Simmons
08f29fc39f Exclude skia/third_party/icu from the license crawl (flutter/engine#4684) 2018-02-15 13:57:20 -08:00
Jason Simmons
a6b520303f Use an alpha type that matches the color type in Android software rendering (flutter/engine#4681)
Fixes https://github.com/flutter/flutter/issues/14709
2018-02-15 13:00:57 -08:00
Siva
0a63f58b0c Fix strong flag setting (flutter/engine#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
1bc515dc39 libtxt: miscellaneous cleanup (flutter/engine#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
Brian Osman
6d0f9bb2b3 On iOS, render to an offscreen surface to avoid renderbuffer slowdown (flutter/engine#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
4f5fd6d2ba Stop using ClassHierarchy.deprecated_incremental. (flutter/engine#4678)
* Stop using ClassHierarchy.deprecated_incremental.
2018-02-14 10:56:21 -08:00
Vyacheslav Egorov
553bb9da9d Make Paragraph methods really return List<int> if they are declared as such. (flutter/engine#4676)
Changed methods _getPositionForOffset and getWordBoundary to use
Dart_NewListOf(Dart_CoreType_Int, ...).
2018-02-14 19:07:05 +01:00
Jason Simmons
10b44c539f libtxt: specifically request the Roboto font in tests and benchmarks (flutter/engine#4675) 2018-02-14 10:01:01 -08:00
Chris Bracken
080d8c2f78 Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (#4670) (flutter/engine#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
Alexander Aprelev
c5feb1bb10 Remove workaround for handling of relative paths (flutter/engine#4673) 2018-02-13 18:46:00 -08:00
Chris Bracken
7db76a8e25 Revert "Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (#4670)" (flutter/engine#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 55b5f7dca6.
2018-02-13 16:30:32 -08:00
Chris Bracken
55b5f7dca6 Roll Skia to f802e757646f424b563fdc1f5b5ee3c677659e98 (flutter/engine#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
d4ee3a405d Restore minikin code that had been disabled due to older versions of ICU and HarfBuzz (flutter/engine#4671) 2018-02-13 15:47:36 -08:00
Jason Simmons
2c2cd2c9a5 Roll Topaz/Tonic and call Dart_NewListOfType for TextBox lists (flutter/engine#4667)
Fixes https://github.com/flutter/flutter/issues/14555
2018-02-13 15:02:57 -08:00
Michael Goderbauer
2adfbd3202 Add nextId to traversal order (flutter/engine#4666) 2018-02-13 14:27:23 -08:00
Alexander Aprelev
c69188ad9f Add output path option (flutter/engine#4663) 2018-02-13 14:00:34 -08:00
Jacob Richman
a98c9a16a6 Track widget creation locations. (flutter/engine#4529)
* Track widget creation locations.
2018-02-13 12:33:23 -08:00
Chris Bracken
a6f0be9844 Fix unguarded availability warnings for iOS (flutter/engine#4664)
Place all iOS code that relies on APIs introduced in iOS versions later
than our base SDK version (iOS 8) behind @available checks. This allows
us to enable the -Wunguarded-availability compiler flag for iOS builds
in the buildroot repo.
2018-02-13 11:49:43 -08:00
Jason Simmons
cee642fc13 libtxt: disable font fallback when test font mode is enabled (flutter/engine#4661) 2018-02-13 09:37:48 -08:00
Alexander Aprelev
69c776b209 Switch to accept/reject-friendly incremental compiler (flutter/engine#4601)
* Switch to accept/reject-friendly incremental compiler

* Merge
2018-02-13 06:58:04 -08:00
Alexander Aprelev
952f395ae5 Use fallback root certificates on Windows host builds (flutter/engine#4662)
* Use fallback root certificats on Windows, Linux host builds

* Use fallback only on Windows
2018-02-12 22:37:34 -08:00