Adam Barth
727ce65ffc
Add package:flutter_test
...
This package contains WidgetTester, which is very useful when writing tests for
widgets.
2015-11-23 14:09:12 -08:00
Adam Barth
587b5bce35
Merge pull request #554 from abarth/test_outside_repo
...
Make it possible to run tests outside the Flutter repo
2015-11-23 13:51:00 -08:00
Adam Barth
c60bb1b1ed
Merge pull request #552 from abarth/chip_avatar
...
Add avatars to material chips
2015-11-23 13:50:53 -08:00
Adam Barth
b823e47f0e
Add avatars to material chips
...
Fixes #464
2015-11-23 13:44:36 -08:00
Adam Barth
c7e00449a8
Make it possible to run tests outside the Flutter repo
...
This patch still requires a locally built engine. I'll remove the need for a
locally built engine in a future patch.
Fixes #278
2015-11-23 13:42:04 -08:00
Adam Barth
0e290946b5
Merge pull request #550 from abarth/material_chip
...
Add basic support for material chips
2015-11-23 11:03:47 -08:00
Adam Barth
cc4234821b
Add basic support for material chips:
...
http://www.google.com/design/spec/components/chips.html#chips-behavior
This patch adds support for deletable and non-deleteable chips, but doesn't yet
add support for contact chips. Also, demo the chips in a new Material Gallery
app that will let us demo our gallery of widgets in a single app.
2015-11-23 10:57:48 -08:00
Seth Ladd
c675ec7d6e
Merge pull request #530 from sethladd/more-error-message
...
more verbose error message
2015-11-23 09:50:29 -08:00
Seth Ladd
84cfcde1f7
tweaking message
2015-11-23 09:24:20 -08:00
Ian Hickson
94c9b232af
Merge pull request #547 from Hixie/matrix-math
...
Avoid using transforms when simple offsets will do.
2015-11-21 21:48:16 -08:00
Ian Hickson
ebf032b82a
Avoid using transforms when simple offsets will do.
2015-11-21 20:59:26 -08:00
Ian Hickson
355fe033f0
Merge pull request #545 from Hixie/rev
...
Rev engine, services, and sdk.
2015-11-21 20:50:22 -08:00
Hixie
f39207ebff
Rev engine and services.
2015-11-21 20:42:57 -08:00
Ian Hickson
1211dd2302
Merge pull request #539 from Hixie/clean-up-modal
...
Clean up the term "modal" in the navigator
2015-11-21 16:45:17 -08:00
Ian Hickson
377c74f715
Merge pull request #538 from Hixie/overlay-route-insert-all
...
Provide a way to insert multiple overlays at once.
2015-11-21 16:45:15 -08:00
Ian Hickson
2f83da2579
Merge pull request #536 from Hixie/issue-389
...
Assert: don't push a PageRoute over a PopupRoute.
2015-11-21 16:45:13 -08:00
Hixie
aef60030be
Provide a way to insert multiple overlays at once.
2015-11-21 16:04:40 -08:00
Hixie
752e8677bd
Assert: don't push a PageRoute over a PopupRoute.
...
"Fixes" #389 .
2015-11-21 16:04:33 -08:00
Hixie
c51260ac96
Clean up the term "modal" in the navigator
...
Now we only use it for things related to ModalRoute and ModalBarrier.
(This is easy now that ephemeral routes are gone, so there's no other
kind of route to distinguish against.)
2015-11-21 16:04:22 -08:00
Adam Barth
630284bd06
Merge pull request #544 from abarth/fix_analyzer
...
Fix analyzer warnings
2015-11-21 13:49:37 -08:00
Adam Barth
99d51f5f5a
Fix analyzer warnings
...
Should make Travis green again. Also, add better logging to
dev/update_packages.dart.
2015-11-21 13:39:45 -08:00
Adam Barth
cbc79c5747
Merge pull request #543 from abarth/stable_dart
...
Switch Travis to the stable Dart SDK
2015-11-21 12:57:52 -08:00
Adam Barth
8a06b83607
Switch Travis to the stable Dart SDK
...
Hopefully this will make Travis green.
2015-11-21 11:59:29 -08:00
Jason Simmons
ae7c97160a
Merge pull request #533 from jason-simmons/apk_artifact_cache
...
Build APKs without a local copy of the engine sources
2015-11-20 16:43:14 -08:00
Jason Simmons
854db78466
Build APKs without a local copy of the engine sources
2015-11-20 16:22:18 -08:00
krisgiesing
e0f484a8b9
Merge pull request #480 from krisgiesing/linux-ime
...
Use embedder to fetch keyboard service
2015-11-20 16:21:29 -08:00
krisgiesing
b7763778f3
Merge pull request #535 from krisgiesing/engine_update
...
Update to engine 0.0.60
2015-11-20 16:21:02 -08:00
Kris Giesing
7b01d7f81a
Update to engine 0.0.60
2015-11-20 16:14:34 -08:00
Seth Ladd
9496de7c80
more verbose error message
...
undo auto format
2015-11-20 15:34:28 -08:00
Adam Barth
19438d80de
Merge pull request #529 from abarth/bogus_engine_dir
...
flutter build --engine-src-dir=<garbage> produces poor error message
2015-11-20 15:18:19 -08:00
Adam Barth
0d3c2d9336
flutter build --engine-src-dir=<garbage> produces poor error message
...
This patch improves the error message.
Fixes #468
2015-11-20 15:09:04 -08:00
Ian Hickson
11a9c682b6
Merge pull request #528 from Hixie/yak2-routes-refactor
...
Route refactor
2015-11-20 15:03:02 -08:00
Hixie
6e371875e9
Route refactor
...
- Removed the concept of ephemeral routes.
- Renamed the two _MenuRoutes to _PopupMenuRoute and _DropDownRoute.
- Added type arguments in various places:
- DropDownMenu
- _DropDownRoute
- _ModalBottomSheetRoute
- PopupMenuItem
- _PopupMenu
- _PopupMenuRoute
- Made _ModalBottomSheetRoute, the two ex _MenuRoutes, and _DialogRoute
all inherit from ModalRoute, via PopupRoute.
- Change "Dropdown" and "DropDown" to "DropDown" consistently.
- Made MaterialPageRoute inherit from PageRoute.
- Made ModalBarrier not create a box if it's always transparent.
- Exposed the Futures on TransitionRoutes.
- Fixed that menus were no longer dismissable by tapping the modal
barrier.
2015-11-20 14:56:07 -08:00
Ian Hickson
de77264749
Merge pull request #525 from Hixie/yak3-routes-typed
...
Give type arguments to routes.
2015-11-20 14:23:10 -08:00
Adam Barth
1fbec91fa0
Merge pull request #524 from abarth/debug_label
...
Rename LabeledGlobalKey's argument to debugLabel
2015-11-20 14:14:48 -08:00
Adam Barth
19fe92e35d
Merge pull request #521 from abarth/fix_analyzer
...
Fix analyzer warnings in updater package
2015-11-20 14:14:39 -08:00
Hixie
13f3a9be17
Give type arguments to routes.
...
These end up not actually being used, currently, because we don't have
generic methods, which you'd need for showDialog() and friends, and we
don't have any way to parameterise a class type at runtime, which you'd
need for MaterialApp routes, but it's a step in the right direction.
2015-11-20 13:21:31 -08:00
Adam Barth
6db39fe95b
Rename LabeledGlobalKey's argument to debugLabel
...
The old name was confusing.
Fixes #462
2015-11-20 13:15:32 -08:00
Adam Barth
4cd1fb177a
Fix analyzer warnings in updater package
...
This class was renamed to MojoEventSubscription.
2015-11-20 13:12:27 -08:00
Adam Barth
dc23af9ff1
Merge pull request #513 from abarth/improve_build_help
...
Be more specific about what `flutter build` does
2015-11-20 12:57:36 -08:00
Seth Ladd
840b3cb09c
Merge pull request #516 from sethladd/embedder_yaml
...
first addition of _embedder.yaml
2015-11-20 12:55:17 -08:00
Ian Hickson
52e9066998
Merge pull request #520 from Hixie/yak3-didPop
...
OverlayRoute.finished()
2015-11-20 12:32:05 -08:00
Hixie
2e0e6aa466
OverlayRoute.finished()
...
Rather than have delayed calls to super.didPop(), which raises my
eyebrow every time I see it, this provides a separate finished()
function to call, and uses the convention that if you want to call it
yourself, you just don't call super.didPop().
2015-11-20 12:27:31 -08:00
Adam Barth
5722c96b78
Merge pull request #518 from abarth/hsv_color
...
Elaborate HSVColor interface
2015-11-20 12:21:10 -08:00
Adam Barth
c1b076308d
Elaborate HSVColor interface
...
Fixes #507
2015-11-20 12:14:58 -08:00
Ian Hickson
ffb95f0581
Merge pull request #517 from Hixie/snackbar-dismiss
...
Expose the close()/closed API for snack bars
2015-11-20 11:57:35 -08:00
Hixie
ee8c0ad30d
Expose the close()/closed API for snack bars
...
This lets you close them manually.
2015-11-20 11:29:35 -08:00
Ian Hickson
98333cb28f
Merge pull request #508 from Hixie/yak3-bottomsheets
...
Convert Persistent Bottom Sheets to a Scaffold API
2015-11-20 11:05:04 -08:00
Hixie
03e094aa1b
Convert Persistent Bottom Sheets to a Scaffold API
...
- `Scaffold.of(context).showBottomSheet(widget);`
- Returns an object with .closed Future and .close() method.
- Uses a StateRoute to handle back button.
- Take the Navigator logic out of the BottomSheet widget.
- Support showing a sheet while an old one is going away.
- Add Navigator.remove().
2015-11-20 10:49:10 -08:00
Seth Ladd
ed7442e058
first addition of _embedder.yaml
2015-11-20 10:37:18 -08:00