12 Commits

Author SHA1 Message Date
Matt Perry
80667ded1f Change updater to use shared flx package.
This changes flutter's updater package to depend on and use the new flx
package. I also did a little cleanup of the Bundle interface.
2015-10-26 14:20:32 -04:00
Adam Barth
7acc24e486 Rev pub packages 2015-10-21 11:05:59 -07:00
Matt Perry
dff3fa7e46 Support verifying .flx signatures when updating.
Adds a step to the updater to verify that the new .flx package is signed and
untampered.

Each .flx contains a signed manifest file. The manifest contains a SHA-256 hash
of the .flx contents. See bundle.dart for a description of the new .flx format.
2015-10-19 16:39:02 -04:00
Adam Barth
f9a7ed047d Reattach fitness to the build
We can build Fitness again now that playfair has been updated to account for
the package:flutter rename.
2015-10-12 00:24:24 -07:00
Adam Barth
ecce1eb389 Import dart:ui as ui (instead of as sky) 2015-10-09 20:55:54 -07:00
Adam Barth
65eba90843 Rename package:sky to package:flutter 2015-10-09 20:44:52 -07:00
Adam Barth
28d769f3ec Fix updater pubspec 2015-10-09 18:56:16 -07:00
Matt Perry
f26d8d83a5 Merge pull request #1414 from mpcomplete/use.changes.2
Implement working UpdateTask in Dart
2015-09-30 18:15:12 -04:00
Matt Perry
af3a10f4e4 Implement working UpdateTask in Dart
Dart code now supports the full flow that the C++ code used to: version check,
download, replace app bundle. Bonus: the Dart code is much easier to follow,
thanks to async/await!

This is part 2 of a 3-part change. The first part added new mojom
interfaces, PathService and UpdateService, to the sky_services package.
2015-09-30 18:13:11 -04:00
Adam Barth
abb836d19e s/sky-dev/flutter-dev/ 2015-09-30 13:20:43 -07:00
Adam Barth
e510425609 Add missing .gitignore file 2015-09-26 12:54:17 -07:00
Matt Perry
10ca050890 Replace C++ UpdateTask with an empty dart version, loaded as a snapshot.
This adds a new placeholder dart package updater in sky/packages. This is built
into a snapshot and compiled into the Sky engine binary using the same
mechanism as the Dart isolate.

I also added a SkyHeadless class, similar to SkyView, used for running Dart
code without a view.
2015-09-23 14:09:38 -04:00