2803 Commits

Author SHA1 Message Date
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
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
Jason Simmons
6a2bd421a1 Merge pull request #494 from jason-simmons/apk_download_all_artifacts
Download build artifacts from a zip file
2015-11-20 10:36:01 -08:00
Adam Barth
c423f734ab Merge pull request #514 from abarth/list_repaint
Make stocks list scrolling 2x faster on the main thread
2015-11-20 10:35:37 -08:00
Jason Simmons
1f83018f86 Download build artifacts from a zip file
This updates the Flutter tools to match the proposed new packaging of artifacts
in the engine release script.
* The GCS URL for artifacts is now gs://mojo/flutter/$revision/$platform
* Categories have been removed from the Artifact class
* All artifacts for a given platform now live in a zip file.  If an artifact
  is not present in the local cache, then the zip will be downloaded and
  extracted.

Note that darwin-x64 artifacts go through a different process that (for now)
continues to use the old format.
2015-11-20 10:27:18 -08:00
Adam Barth
efbea05eb6 Make stocks list scrolling 2x faster on the main thread
This patch improves the repaint strategy for HomogeneousViewport so that the
list itself and every entry in the list has a repaint boundary. That means that
we only record list items as they enter the view.
2015-11-20 10:25:34 -08:00
Adam Barth
49fb492332 Fix crash in stocks app painting 2015-11-20 09:36:12 -08:00
Adam Barth
18763e5609 Be more specific about what flutter build does
Fixes #512
2015-11-20 09:14:48 -08:00
Adam Barth
ba8f6a0188 Merge pull request #510 from abarth/custom_paint
Callback identity is too fragile for CustomPaint
2015-11-20 08:31:11 -08:00
Adam Barth
72329cf422 Callback identity is too fragile for CustomPaint
Many of the widgets that use CustomPaint were spamming repaints because
CustomPaint repaints when the identity of the onPaint callback changes, which
it does every build for StatelessComponents.

This patch changes CustomPaint to use a CustomPainter, similar to the new
custom layout widgets. The CustomPainter has a `shouldRepaint` function along
with its `paint` function. This function gives clients explicit control over
when the custom paint object repaints.
2015-11-20 08:20:59 -08:00
Tony Gentilcore
ea6292e1a8 Merge pull request #509 from tonygentilcore/background
Add a FractionalOffset alignment parameter to BackgroundImage
2015-11-19 22:35:09 -08:00
Tony Gentilcore
6562c14948 Add a FractionalOffset alignment parameter to BackgroundImage 2015-11-19 22:28:28 -08:00
Adam Barth
4355302e0d Merge pull request #506 from abarth/repaint_rainbow
Add a repaint rainbow to help debug repaint issues
2015-11-19 17:09:28 -08:00
Adam Barth
8fa223ff19 Add a repaint rainbow to help debug repaint issues
The repaint raindbow tints each recording with a rotating set of colors so you
can see which pixels are repainting each frame.
2015-11-19 15:40:25 -08:00
Adam Barth
6bfcf9bf17 Merge pull request #503 from abarth/dump_layer_tree
Add debugDumpLayerTree to dump the layer tree
2015-11-19 15:10:02 -08:00
Adam Barth
dfbd8c6a8a Add debugDumpLayerTree to dump the layer tree
To help debugging issues with the layer tree.
2015-11-19 14:45:40 -08:00
Adam Barth
361d6d807d Merge pull request #499 from abarth/layer_borders
Re-enable support for debugPaintLayerBordersEnabled
2015-11-19 14:33:02 -08:00
Viktor Lidholt
3654f0e295 Merge pull request #498 from vlidholt/master
Removes demo game from repository (it's now in its own repo)
2015-11-19 14:04:50 -08:00
Adam Barth
2232ee568a Re-enable support for debugPaintLayerBordersEnabled
We lost this feature at some point. This patch brings it back.
2015-11-19 13:51:17 -08:00
Viktor Lidholt
ab3ae1e1ab Removes demo game from repository (it's now in its own) 2015-11-19 13:43:45 -08:00
Misha Dynin
04dfa0bf87 Merge pull request #483 from mishadynin/imagecache
Introduced ImageProvider for asynchronously loading images.
2015-11-19 13:04:08 -08:00
Adam Barth
fd1dd7fafc Merge pull request #496 from abarth/push_layer
Some paint functions were using canvas.save/restore around children
2015-11-19 12:48:10 -08:00
Misha Dynin
7436dfd177 Introduced ImageProvider for asynchronously loading images.
Updated image cache to use any ImageProvider instance.
Renamed RawImage to AsyncImage and updated the interface
to use any ImageProvider instance.
2015-11-19 12:47:04 -08:00
Adam Barth
d689362dc5 Some paint functions were using canvas.save/restore around children
This pattern breaks when using compositing because we need to lift those
operations into the compositing tree. This patch removes all the ones I could
find and adds an assert to help prevent more from getting introduced.

Fixes #191
2015-11-19 12:29:36 -08:00