1108 Commits

Author SHA1 Message Date
Adam Barth
3155cb7135 Rename package:sky to package:flutter 2015-10-09 20:44:52 -07:00
Adam Barth
8294952fd0 Rename dart:sky to dart:ui 2015-10-09 19:27:13 -07:00
Adam Barth
a6bf275be2 Fix updater pubspec 2015-10-09 18:56:16 -07:00
Adam Barth
5f4928ffc6 Rev pub packages 2015-10-09 14:43:32 -07:00
Adam Barth
9e9b854d73 Roll Dart SDK 2015-10-09 12:36:21 -07:00
Hixie
e79687d6f8 Remove workarounds that avoided 'super' in mixins
Dart supports this properly now.
2015-10-09 11:24:50 -07:00
Adam Barth
2f05e0d5c9 Rename App to MaterialApp
MaterialApp assumes that you're using material design.

Also move radial reaction and fix imports for stats box.
2015-10-09 10:27:22 -07:00
Adam Barth
c877708568 Split material design widgets out of widgets.dart
These are now part of material.dart.
2015-10-09 10:07:06 -07:00
Adam Barth
c86282eecc Rev pub package 2015-10-09 09:32:16 -07:00
Adam Barth
4e41b4483a Merge pull request #1503 from abarth/simplify_scaffold
Simplify Scaffold
2015-10-06 10:09:35 -07:00
Adam Barth
87631faae2 Simplify Scaffold
Rather than using a custom render object, we can just use a Stack.
2015-10-06 10:06:17 -07:00
Adam Barth
830e6e85e0 Rev pub package 2015-10-06 09:45:20 -07:00
Hixie
df719bde8d Fix Focus
Focus.at() and company should be on Focus, not FocusState.

_notifyDescendants() was using the wrong runtimeType.

Let InheritedWidget update the descendants during build.

When you setState() during build, assert that you're not
markNeedsBuild()ing someone who isn't a descendant.

Typo in Widget.toString().
2015-10-05 16:41:50 -07:00
Hixie
27b76c00ad Simplify the usage of Navigator's routes argument
(These are changes cherry-picked from in-flight branches since they are
more independent and could be helpful even without those changes.)

- Change RouteBuilder's signature to take a single argument in which the
  other fields are placed, so that we can keep iterating on those
  arguments without having to break compatibility each time. Also, this
  makes defining route builders much simpler (only one argument to
  ignore rather than a variable number).

- Expose the next performance to RouteBuilders, since sometimes the
  route itself might not be where it's used.

- Allow BuildContext to be used to walk children, just like it can for
  ancestors

- Allow BuildContext to be used to get the Widget of the current
  BuildContext

- Allow StatefulComponentElement to be referenced with a type
  specialisation so that you don't have to cast when you know what the
  type you're dealing with actually is.
2015-10-05 13:59:30 -07:00
Adam Barth
000bf4106f Merge pull request #1479 from mdakin/simplfy_digger
Simplfy resetting board and mine generation.
2015-10-04 15:21:53 -07:00
Mehmet Akin
bc6bbee6e3 Fix indent. 2015-10-03 22:56:30 +02:00
Mehmet Akin
3eafa823a7 Simplfy resetting board and mine generation. 2015-10-03 22:22:30 +02:00
Adam Barth
d1a10b10ba Use }) : super consistently
Fixes #1372
2015-10-02 23:12:03 -07:00
Adam Barth
7d6e2df861 Rev pub package 2015-10-01 15:44:54 -07:00
Chinmay Garde
bf2f48f1e1 Merge pull request #1420 from johnmccutchan/roll_dart
Roll the Dart runtime forward
2015-10-01 11:14:55 -07:00
Adam Barth
1f396b3c69 Make fn3 the default widget framework 2015-10-01 09:48:35 -07:00
Adam Barth
697094988f Merge pull request #1416 from mdakin/minedigger2
Fix bounds checking error I introduced in previour cl, Address style …
2015-10-01 08:30:36 -07:00
John McCutchan
3f52f82dec Roll the Dart runtime forward 2015-09-30 15:22:04 -07:00
Matt Perry
be4e738254 Merge pull request #1414 from mpcomplete/use.changes.2
Implement working UpdateTask in Dart
2015-09-30 18:15:12 -04:00
Matt Perry
62bd083e14 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
a6bc8cf906 Merge pull request #1410 from abarth/flutter_dev
s/sky-dev/flutter-dev/
2015-09-30 14:35:05 -07:00
mdakin
61e7fd41af Fix bounds checking error I introduced in previour cl, Address style issues. 2015-09-30 23:15:55 +02:00
Adam Barth
4cced2adf1 s/sky-dev/flutter-dev/ 2015-09-30 13:20:43 -07:00
Adam Barth
b222bfd52e Remove BuildContext argument to initState
This argument isn't needed anymore now that State has a getter for context.
2015-09-30 13:15:46 -07:00
Chinmay Garde
ce4c630881 Merge pull request #1406 from chinmaygarde/master
Make path to PlistBuddy in the Xcode harness script for symbolicating the binary absolute
2015-09-30 12:08:58 -07:00
Adam Barth
ab0183d434 Rev pub package 2015-09-30 12:07:40 -07:00
Matt Perry
b1b214c770 Add new mojom interfaces PathService and UpdateService.
These will be used by the updater package.
2015-09-30 14:28:49 -04:00
Chinmay Garde
2f7585793d Make path to PlistBuddy in the Xcode harness script for symbolicating the binary absolute. 2015-09-30 11:02:20 -07:00
mdakin
431d88d653 Fix alignment of mine counts, simplfy code a bit. 2015-09-30 15:11:42 +02:00
Devon Carew
9fcf95f31f customize the generated dartdoc like flutter.io 2015-09-26 23:19:25 -07:00
Adam Barth
348cb2009e Address review comments from @hixie 2015-09-26 20:18:16 -07:00
Adam Barth
7617feed0c Port hello_world to fn3 2015-09-26 13:18:20 -07:00
Adam Barth
5846ffec57 Port address_book to fn3 2015-09-26 13:16:33 -07:00
Adam Barth
2d0a364ef8 Add missing .gitignore file 2015-09-26 12:54:17 -07:00
Adam Barth
7c9f496f1b Port MineDigger to fn3 2015-09-26 12:53:14 -07:00
Adam Barth
219ee8a34b Rename Sky to Flutter in a few more places 2015-09-26 12:46:03 -07:00
Adam Barth
8cdbaae6df Rev pub spec 2015-09-25 12:02:09 -07:00
Chinmay Garde
b59ee8666f Prefer a specific provisioning profile when none is explicitly provided 2015-09-25 10:20:58 -07:00
Adam Barth
00b1d1e3c3 Rev pub packages 2015-09-24 10:44:09 -07:00
James Robinson
5b8443e440 Updates for change in Mojom dart enum generation 2015-09-24 10:35:20 -07:00
James Robinson
adf91931eb Bump sky_services pub dependency to mojo 0.1.x
This prepares for updating sky to depend on mojo 0.1.x. This corresponds
to the already published sky_services 0.0.26.
2015-09-23 16:37:44 -07:00
Matt Perry
638c62d5f4 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
Adam Barth
02c9ca6b77 Rev pub packages 2015-09-23 10:36:09 -07:00
Jason Simmons
28e648e427 Merge pull request #1255 from jason-simmons/skyanalyzer_pub_cache
Some cleanup of the Sky analyzer script
2015-09-22 09:29:27 -07:00
Adam Barth
49c8aca09c Remove EventDisposition
All the use cases for EventDisposition are now addressed by the gesture
detection system.
2015-09-21 16:45:09 -07:00