1237 Commits

Author SHA1 Message Date
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
Ian Hickson
825ad56fda Merge pull request #1488 from Hixie/RouteArguments
Simplify the usage of Navigator's routes argument
2015-10-05 13:59:45 -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
f07c79ba0d Merge pull request #1473 from abarth/super_style
Use `}) : super` consistently
2015-10-02 23:15:11 -07:00
Adam Barth
d1a10b10ba Use }) : super consistently
Fixes #1372
2015-10-02 23:12:03 -07:00
Chinmay Garde
a8ecece63e Merge pull request #1461 from chinmaygarde/master2
Update Dart revision to address iOS build break
2015-10-02 14:25:26 -07:00
Chinmay Garde
3db1d6af39 Update Dart revision to address iOS build break 2015-10-02 14:23:02 -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
49b296a97c Merge pull request #1432 from abarth/promote_fn3
Make fn3 the default widget framework
2015-10-01 09:51:20 -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
be9fb1950f Roll DEPS 2015-10-01 07:23:04 -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
d8dcbbf44e Merge pull request #1409 from abarth/rm_init_state_arg
Remove BuildContext argument to initState
2015-09-30 13:21:13 -07: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
Adam Barth
c2b70961c6 Merge pull request #1404 from mdakin/minediggerfix
Fix alignment of mine counts, simplfy code a bit.
2015-09-30 09:13:39 -07:00
mdakin
431d88d653 Fix alignment of mine counts, simplfy code a bit. 2015-09-30 15:11:42 +02:00
James Robinson
a0fa3377ea Bump Mojo SDK to 033ebba67 to get Dart enum case fix 2015-09-29 11:24:09 -07:00
Devon Carew
9fcf95f31f customize the generated dartdoc like flutter.io 2015-09-26 23:19:25 -07:00
Adam Barth
cfc8691a71 Merge pull request #1370 from abarth/nit
Address review comments from @hixie
2015-09-26 21:08:59 -07:00
Adam Barth
348cb2009e Address review comments from @hixie 2015-09-26 20:18:16 -07:00
Adam Barth
5773cf49cf Merge pull request #1368 from abarth/fn3_address_book
Fn3 address book
2015-09-26 14:24:31 -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
3695e90eb0 Merge pull request #1366 from abarth/fn3_mine_digger
Port MineDigger to fn3
2015-09-26 13:06:57 -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
d51c1baf17 Merge pull request #1365 from abarth/renames
Rename Sky to Flutter in a few more places
2015-09-26 12:49:00 -07:00
Adam Barth
219ee8a34b Rename Sky to Flutter in a few more places 2015-09-26 12:46:03 -07:00
Chinmay Garde
903d31af39 Merge pull request #1356 from chinmaygarde/master
Update Dart revision
2015-09-25 14:49:37 -07:00
Chinmay Garde
ab63490c5a Update Dart revision 2015-09-25 14:28:39 -07:00
Adam Barth
8cdbaae6df Rev pub spec 2015-09-25 12:02:09 -07:00
Chinmay Garde
2f600ab49f Merge pull request #1343 from chinmaygarde/master
Prefer a specific provisioning profile when none is explicitly provided
2015-09-25 10:23:51 -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