Commit Graph

2117 Commits

Author SHA1 Message Date
Ali Ghassemi
1dce2c8591 Updating styles 2015-11-04 08:17:59 -08:00
Ali Ghassemi
46f5d57a1e Exporting Uint8List 2015-11-03 09:29:13 -08:00
Ali Ghassemi
c069784a1d Merge branch 'master' of github.com:aghassemi/engine 2015-11-03 09:05:42 -08:00
Ali Ghassemi
f07c39a2e8 Adding RawImage component which takes in raw bytes
in the form of a Uint8List and decodes and renders
the bytes as an image.
2015-11-03 09:04:40 -08:00
Ali Ghassemi
38e3e9fd48 Adding RawImage component which takes in raw bytes
in the form of a Uint8List and decodes and renders
the bytes as an image.
2015-11-03 08:52:21 -08:00
Ian Hickson
a0c8a4c61e Merge pull request #1911 from Hixie/so-long-show-press
Replace ShowPress with TapDown
2015-11-02 20:26:22 -08:00
Ian Hickson
6611bf625e Merge pull request #1910 from Hixie/gesture-cleanup
Merge DisposableArenaMember and GestureArenaMember
2015-11-02 20:26:15 -08:00
krisgiesing
33f13940c5 Merge pull request #1865 from krisgiesing/velocity-dart
Move velocity tracker to dart
2015-11-02 19:34:20 -08:00
Kris Giesing
5e9b2fbacf Style pass on velocity tracker and event recorder 2015-11-02 19:29:25 -08:00
Hixie
8a4a36d0fa Replace ShowPress with TapDown 2015-11-02 19:10:33 -08:00
Hixie
bfe3bacac2 Merge DisposableArenaMember and GestureArenaMember
Turns out there were no uses of GestureArenaMember other than those that
use DisposableArenaMember.
2015-11-02 18:06:29 -08:00
Hans Muller
5ea50bf485 Adds CustomMultiChildLayout
CustomMultiChildLayout delegates to a MultiChildLayoutDelegate. Widget children are specified by their index in the list of children.
2015-11-02 14:06:00 -08:00
Adam Barth
f8d5ccbf04 One more rev of sky tools 2015-11-02 13:29:28 -08:00
Adam Barth
e971f32648 Rev pubspecs 2015-11-02 13:19:55 -08:00
Adam Barth
5079b1db01 Merge pull request #1899 from abarth/flutter_yaml
Rename sky.yaml to flutter.yaml
2015-11-02 13:13:48 -08:00
Adam Barth
fc8d9f30fc Merge pull request #1898 from abarth/interactive_routes
Routes shouldn't be interactive when animating out
2015-11-02 13:09:39 -08:00
Adam Barth
eaf5e05825 Export overlay.dart
Somehow we missed this one file.
2015-11-02 12:59:15 -08:00
Adam Barth
8a24312509 Rename sky.yaml to flutter.yaml
More flutter more better.
2015-11-02 12:57:27 -08:00
Adam Barth
828775e97e Routes shouldn't be interactive when animating out
This patch introduces the notion of a ModalRoute that puts up a modal barrier
and makes the route invisible to hit testing when its animating out. This patch
also uses this mechanism in a number of places (including PageRoute). There are
still a few more cases to convert, but that's work for a future patch.

Fixes #1684
2015-11-02 12:48:11 -08:00
Hixie
b5493121f9 Up the sky_tools dependency.
Move us to a version of sky_tools that doesn't hang when the tests crash.
2015-11-02 11:53:10 -08:00
Kris Giesing
24ea0f0d14 Move velocity tracker to dart 2015-11-02 11:14:17 -08:00
Adam Barth
74d6f33f5a Rename Icon's type paramter to icon
The name of the parameter wasn't consistent with IconButton or DrawerItem, etc.

Fixes #1871
2015-11-01 11:25:17 -08:00
Adam Barth
6ee6ae03c9 Black flash when returning to a PageRoute
We were trying to do a hero animation from a page to itself, which doesn't make
any sense. Now we only render the "to" page offstage if it is different from
the "from" page and if its performance isn't already complete.
2015-10-31 15:36:32 -07:00
Hixie
56b2576308 Disable crashing test
This test currently crashes the engine.
Because of a bug in the test harness, it then causes the tests to hang.
This disables the test for now, so that we can get test coverage again.
2015-10-30 16:44:29 -07:00
Adam Barth
ff1b131814 Teach OverlayEntry how to rebuild in place
This patch makes it so drag-and-drop doesn't thrash the overlay list.
2015-10-29 23:34:05 -07:00
Adam Barth
05f19cfd44 Merge pull request #1881 from abarth/navigator2
Switch to Navigator2
2015-10-29 23:29:20 -07:00
Adam Barth
50a177b7aa Switch to Navigator2 2015-10-29 23:18:56 -07:00
Adam Barth
a7cd12fc19 Remove a number of unused Python scripts
Removes sky_tool and shelldb, which are replaced by the flutter command line
tool.
2015-10-29 20:59:28 -07:00
Adam Barth
b003fc898d Merge pull request #1875 from abarth/page_storage
Add PageStorage support to Navigator2
2015-10-29 18:03:34 -07:00
Adam Barth
4877c06149 Add PageStorage support to Navigator2 2015-10-29 16:24:45 -07:00
Hixie
fca9b8f3d6 Rev package versions for release.
sky_engine is now at 0.0.45
sky_services is now at 0.0.45
flx is now at 0.0.4
flutter is now at 0.0.15
flutter_sprites is now at 0.0.12
2015-10-29 14:41:56 -07:00
Adam Barth
e904ab5773 Add missing import 2015-10-29 13:42:57 -07:00
Adam Barth
9548634bc2 Merge pull request #1866 from abarth/route_types
Add support for modal, ephemeral, and contentless routes to Navigator2
2015-10-29 13:42:20 -07:00
Adam Barth
395184f77f Add hero transition support to Navigator2
In this approach, the hero support is layered on top of the basic navigator
functionality.
2015-10-29 13:29:24 -07:00
Jason Simmons
0a2bfc314f Merge pull request #1861 from jason-simmons/canvas_image_memory_leak_2
simplify the ImageDecoder native code binding
2015-10-29 13:28:04 -07:00
Jason Simmons
f1b048f245 simplify the ImageDecoder native code binding 2015-10-29 13:11:02 -07:00
Adam Barth
fab160cfce Rationalize embedder.dart and shell.dart
This patch combines embedder.dart and shell.dart into one thing. We should now
handle a bunch of error cases better.

  * embedder.connectToApplication has moved to shell.connectToApplication,
    matching the rest of the mojo universe.
  * embedder.connecttoService has moved to shell.connnectToService (and merged
    with shell.requestService).
  * shell.requestService is now shell.connectToService, matching the rest of
    the mojo universe.
  * serviceRegistry has moved from embedder.serviceRegistry to a top-level
    getter.

Fixes #1803
2015-10-29 10:47:34 -07:00
Adam Barth
2e301d4d70 Add support for modal, ephemeral, and contentless routes to Navigator2
Routes can now create a list of widgets, which can be empty (in the case of
contentless routes) or have multiple entries (in the case of modal routes).

Ephemeral routes are handled by keeping a separate list of modal and ephemeral
routes.
2015-10-28 23:18:14 -07:00
Viktor Lidholt
856ee97892 Merge pull request #1863 from vlidholt/master
Adds API documentation to sprite physics
2015-10-28 17:07:02 -07:00
Adam Barth
5b3b3dfb3a Merge pull request #1862 from abarth/navigator2
Add an initial implementation of Navigator2
2015-10-28 17:00:12 -07:00
Viktor Lidholt
567b0cf293 Adds API documentation to sprite physics and renames a few private variables for clarity. 2015-10-28 16:51:00 -07:00
Hans Muller
90a3a20d83 Merge pull request #1860 from HansMuller/tabs
Correct TabNavigatorWidth, tabs.dart example
2015-10-28 16:40:50 -07:00
Adam Barth
b991b7d664 Add an initial implementation of Navigator2
This navigator can handle simple page navigation. I'll add more features in
subsequent CLs.
2015-10-28 16:40:22 -07:00
Hans Muller
7de7105fc5 Correct TabNavigatorWidth, tabs.dart example 2015-10-28 16:26:22 -07:00
Hixie
cbf9eab8fe Rev package versions for release.
sky_engine is now at 0.0.44
sky_services is now at 0.0.44
flx is now at 0.0.3
flutter is now at 0.0.14
flutter_sprites is now at 0.0.11
2015-10-28 14:54:33 -07:00
Hixie
4c9f15cc8b Rev the Dart SDK to pick up better dartdocs 2015-10-28 14:50:19 -07:00
Ian Hickson
6d4221cb95 Merge pull request #1851 from Hixie/MixedViewport-bug
Fix crash when removing a card in card_collection
2015-10-28 14:47:40 -07:00
Hixie
58013dc80d rev-flutter tool
A tool to update all the pubspec.yaml versions when we're revving flutter.
2015-10-28 14:45:02 -07:00
Collin Jackson
edf5db1943 Merge pull request #1831 from collinjackson/media_query
Media query class for querying viewport dimensions
2015-10-28 14:14:08 -07:00
Matt Perry
114d8fe6c4 Merge pull request #1853 from mpcomplete/tests
Some initial unit tests for package signing
2015-10-28 16:57:27 -04:00