Commit Graph

1850 Commits

Author SHA1 Message Date
Adam Barth
5f4928ffc6 Rev pub packages 2015-10-09 14:43:32 -07:00
Chinmay Garde
781bb6e100 Update dart revision 2015-10-09 12:53:34 -07:00
Adam Barth
9e9b854d73 Roll Dart SDK 2015-10-09 12:36:21 -07:00
Ian Hickson
066b65e96d Merge pull request #1554 from Hixie/mixins
Remove workarounds that avoided 'super' in mixins
2015-10-09 12:15:05 -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
8fc8e82db8 Merge pull request #1557 from abarth/material_app
Rename App to MaterialApp
2015-10-09 10:38:39 -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
John McCutchan
c9069bfeaf Merge pull request #1527 from johnmccutchan/roll_dart
Roll Dart runtime forward to c9334ed61f11df2d9aecc6311a5981eba0e55c01
2015-10-07 14:04:33 -07:00
John McCutchan
5854a76e13 Roll Dart runtime forward to c9334ed61f11df2d9aecc6311a5981eba0e55c01 2015-10-07 13:52:51 -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
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