5389 Commits

Author SHA1 Message Date
Jason Simmons
38d7147e2e Merge pull request #1873 from jason-simmons/dart_gc_prologue
Remove obsolete Dart GC controller code
2015-10-29 14:08:20 -07:00
Adam Barth
b32ba0ef45 Add missing import 2015-10-29 13:42:57 -07:00
Adam Barth
91bfe407d6 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
8045b1766e 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
ce38faca74 Remove obsolete Dart GC controller code 2015-10-29 13:28:30 -07:00
Jason Simmons
a674cefcb7 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
ee3b016425 simplify the ImageDecoder native code binding 2015-10-29 13:11:02 -07:00
Adam Barth
7a12f17d9d Merge pull request #1870 from abarth/rationalize_shell
Rationalize embedder.dart and shell.dart
2015-10-29 11:24:19 -07:00
Adam Barth
92b9815ff0 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
bbc17ac9c3 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
c5989d13e2 Merge pull request #1863 from vlidholt/master
Adds API documentation to sprite physics
2015-10-28 17:07:02 -07:00
Adam Barth
69f0e989a5 Merge pull request #1862 from abarth/navigator2
Add an initial implementation of Navigator2
2015-10-28 17:00:12 -07:00
Chinmay Garde
359b1a6c24 Merge pull request #1857 from chinmaygarde/master
Remove embedder entry points no longer present in flutter/engine
2015-10-28 16:58:03 -07:00
Viktor Lidholt
0a81d491ad Adds API documentation to sprite physics and renames a few private variables for clarity. 2015-10-28 16:51:00 -07:00
Hans Muller
8a32341cbe Merge pull request #1860 from HansMuller/tabs
Correct TabNavigatorWidth, tabs.dart example
2015-10-28 16:40:50 -07:00
Adam Barth
a694f51e99 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
22313d59df Correct TabNavigatorWidth, tabs.dart example 2015-10-28 16:26:22 -07:00
Ian Hickson
17ab777c27 Merge pull request #1858 from Hixie/rev
Rev package versions for release.
2015-10-28 15:08:48 -07:00
Ian Hickson
b32e0cdb5a Merge pull request #1859 from Hixie/gitignore
Ignore files from gclient sync for rev_flutter
2015-10-28 15:07:28 -07:00
Hixie
e4bf376341 Ignore files from gclient sync for rev_flutter 2015-10-28 15:06:58 -07:00
Chinmay Garde
737c9fb225 Remove embedder entry points no longer present in flutter/engine 2015-10-28 14:55:01 -07:00
Hixie
46f19afade 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
Ian Hickson
26e3a9219d Merge pull request #1732 from Hixie/dartdocs
Rev the Dart SDK to pick up better dartdocs.
2015-10-28 14:50:44 -07:00
Hixie
d001a93211 Rev the Dart SDK to pick up better dartdocs 2015-10-28 14:50:19 -07:00
Ian Hickson
7aebaa00f4 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
Ian Hickson
d48997f1e2 Merge pull request #1856 from Hixie/auto-rev
rev_flutter tool
2015-10-28 14:46:51 -07:00
Hixie
8b2b4927e9 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
Chinmay Garde
e2bcd97706 Merge pull request #1855 from chinmaygarde/master
Add missing dart:ui embedder entry points for the precompiler
2015-10-28 14:34:14 -07:00
Chinmay Garde
4e3c92ff9a Add missing dart:ui embedder entry points for the precompiler 2015-10-28 14:27:29 -07:00
Collin Jackson
fef799e908 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
4b7d00a19f Merge pull request #1853 from mpcomplete/tests
Some initial unit tests for package signing
2015-10-28 16:57:27 -04:00
Hans Muller
b86c150184 Merge pull request #1850 from HansMuller/bottom_sheet_drag
Support dismissing the modal bottom sheet with a drag gesture
2015-10-28 13:13:44 -07:00
Hans Muller
f6b20de855 Support dismissing the modal bottom sheet with a drag gesture 2015-10-28 13:08:34 -07:00
Matt Perry
fd3ad472f9 Add some unit tests for flx signing code. 2015-10-28 15:52:34 -04:00
Collin Jackson
dbc0cfd116 Media query class for querying viewport information 2015-10-28 12:34:57 -07:00
Adam Barth
3c57f107d4 Merge pull request #1854 from abarth/fix_deps
Stop excluding sky/packages/sky during pub update
2015-10-28 12:12:02 -07:00
Adam Barth
ed8dcb7ce3 Stop excluding sky/packages/sky during pub update
There's no need to exclude it anymore.
2015-10-28 12:01:44 -07:00
Adam Barth
a164934108 Merge pull request #1852 from abarth/rm_view
Remove ui.view
2015-10-28 11:21:22 -07:00
Adam Barth
234f792f51 Remove ui.view
We don't use ui.view anymore.
2015-10-28 11:15:59 -07:00
Hixie
c1de88233e Fix crash when removing a card in card_collection
MixedViewport didn't use the building:true flag when locking itself, so
when it caused a rebuild of its children, we assumed that nobody was
allowed to mark things dirty below the list, and things crashed when
Inherited people did in fact rebuild.

Also:
 - default offset for MixedViewport
 - don't bother rebuilding if the underlying RenderObject is going to
   rebuild anyway for some reason
 - better docs for the "items must have keys" assert
 - keep the FlipComponent stuff together in test_widgets.dart
2015-10-28 10:31:12 -07:00
Adam Barth
939835ea49 Merge pull request #1848 from abarth/icon_size
Icon should use an enum rather than an int for size
2015-10-28 09:13:23 -07:00
Adam Barth
dcfdbc25d5 Merge pull request #1849 from abarth/rm_edges
Remove unused material edge definition
2015-10-28 09:13:11 -07:00
Adam Barth
1e5b25be8c Icon should use an enum rather than an int for size
Material design icons are defined to work at specific sizes: 18, 24, 36, 48.
The current API doesn't reflect that and just takes a size int. If an invalid
size is chosen an error is printed to the console and no icon shows up.

Fixes #1816
2015-10-28 08:55:49 -07:00
Adam Barth
2a5d48bed8 Merge pull request #1847 from abarth/switch_off_view
Switch clients from ui.view to ui.window
2015-10-28 08:54:57 -07:00
Adam Barth
e839883ecd Remove unused material edge definition
The one we actually use is in material.dart.
2015-10-28 07:34:11 -07:00
Adam Barth
4bbd3d543c Switch clients from ui.view to ui.window 2015-10-28 07:16:56 -07:00
Adam Barth
b7436de274 Rev pub packages 2015-10-27 20:15:58 -07:00
Adam Barth
e0b655afba Merge pull request #1846 from abarth/rehost
Re-host View on Window
2015-10-27 19:20:32 -07:00
Adam Barth
5968c60e48 Re-host View on Window
After this patch View is just a shim on top of Window and can be removed
easily.
2015-10-27 17:55:07 -07:00
Adam Barth
1f59d9281c Merge pull request #1845 from abarth/window_works
Start booting up the new binding system for window
2015-10-27 17:51:03 -07:00