Adam Barth
708267d878
Move sky_viewer into services/sky
...
Moving sky_viewer into services/sky is more consistent with how all the other
content handlers (e.g., dart, js, nacl, pdf, python) are organized.
TBR=eseidel@google.com
Review URL: https://codereview.chromium.org/1235093002 .
2015-07-13 23:03:19 -07:00
Adam Barth
a76a3e3906
Remove //sky/tools/tester
...
This target is unused.
TBR=eseidel@google.com
Review URL: https://codereview.chromium.org/1235053003 .
2015-07-13 22:18:01 -07:00
Eric Seidel
7456339ae6
Fix typo in publish_apk.py
...
TBR=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/1235813007 .
2015-07-13 15:29:53 -07:00
Hans Muller
54412bcfbc
Example test for CardCollectionApp (Dismissable, VariableHeightScrollable)
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1238513003 .
2015-07-13 15:28:27 -07:00
Eric Seidel
6583e4e952
Update big_red_button instructions and add --dry-run mode.
...
I also made the add_argument blocks shorter by allowing more
than one named arg per line. I removed the metavar lines
and action=store lines since one was only used in help messages
and the other was already matching the default for add_argument.
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/1234803004 .
2015-07-13 15:24:54 -07:00
Eric Seidel
6c43a24439
Add a git fetch before git reset --hard origin/master in big_red_button.py
...
TBR=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/1235593003 .
2015-07-13 15:05:36 -07:00
Eric Seidel
b514b3351c
Add a script for publishing an APK to the Play store.
...
Also added a confirmation to big_red_button.py and made
it executable.
R=abarth@chromium.org , johnmccutchan@google.com
Review URL: https://codereview.chromium.org/1233853006 .
2015-07-13 14:50:55 -07:00
Adam Barth
41c0803d32
Roll Skia to 7b971f0152299ae9a924252a9bfd220318497bdd
...
R=chinmaygarde@google.com
Review URL: https://codereview.chromium.org/1236953002 .
2015-07-13 12:54:08 -07:00
Adam Barth
4d05e3034a
Add machinery for dumping SkPictures to disk
...
R=ianh@google.com
Review URL: https://codereview.chromium.org/1235813005 .
2015-07-13 12:36:12 -07:00
Hixie
730a49b98d
Make the drawer, popup menus, dialogs, and settings page scrollable.
...
Also, fixes the stocks list to work properly including hit testing at
the bottom of the screen.
New classes:
RenderViewport: a class that supports positioning a child inside
itself and offsetting it.
Viewport: a RenderObjectWrapper that wraps RenderViewport.
ScrollableViewport: a Component that hooks Viewport up to some
scrolling behaviour.
Code changes:
RenderBlock now only works when it has an unbounded height constraint.
I removed the clipping in there since it's no longer needed.
I made FixedHeightScrollable use Viewport instead of hand-rolling its
clipping with Transform and Clip. This is what fixes the stocks list
hit testing at the bottom of the screen.
I made anywhere that used to use Block now use ScrollableViewport.
RenderFlex now takes a list of children.
Justifications for test changes:
tests/examples/stocks: changing FixedHeightScrollable to use a
RenderViewport instead of a RenderClipRect/RenderTransform combination
removes the use of an actual transform.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1223153004 .
2015-07-10 16:54:19 -07:00
Hixie
e32a82f5b8
Remove "RenderBlock" class from examples that use it without giving it unrestricted height.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1232063006 .
2015-07-10 16:31:27 -07:00
Eric Seidel
04f7ce0321
Fix Asteroids game to paint again and give it an icon.
...
I also fixed dependencies on Activiy and Keyboard etc
which were incorrectly included only in SkyDemo despite
being depended on by the Sky Framework.
R=abarth@chromium.org , abarth@google.com , viktork@google.com
Review URL: https://codereview.chromium.org/1225103009 .
2015-07-10 13:42:03 -07:00
Adam Barth
4bd4d4e0fd
Fix typos and error handling in setup_dart_analyzer
...
TBR=eseidel@google.com
Review URL: https://codereview.chromium.org/1235673002 .
2015-07-10 12:12:10 -07:00
Adam Barth
683303f254
Add a script to setup source tree for Dart analyzer
...
Once the new Dart analyzer server rolls in, this script will set up your source
tree to integrate with it properly.
R=eseidel@chromium.org , eseidel@google.com
Review URL: https://codereview.chromium.org/1227913007 .
2015-07-10 12:02:35 -07:00
Collin Jackson
47b2e6b794
Support for icon theming
...
R=ianh@google.com , hixie
Review URL: https://codereview.chromium.org/1235443002 .
2015-07-10 11:14:17 -07:00
Eric Seidel
87f1152c0d
Teach SkyShell.apk to stop posting frames when not visible
...
This listens to both surface destruction as well as activity
pause/unpause.
R=abarth@chromium.org , abarth@google.com
Review URL: https://codereview.chromium.org/1230073002 .
2015-07-10 10:26:54 -07:00
Collin Jackson
a50d44c3b9
rename sky_apk to sky_dev
...
R=abarth@chromium.org , abarth
Review URL: https://codereview.chromium.org/1232483002 .
2015-07-09 16:26:47 -07:00
Adam Barth
a701b3516c
Ban dart:mirrors in Sky
...
We don't use dart:mirrors and we don't want to start because it prevents some
sorts of static analysis.
R=ianh@google.com
Review URL: https://codereview.chromium.org/1233463002 .
2015-07-09 14:07:51 -07:00
Matt Perry
189be3364a
Fix test failures from AnimatedContainer patch.
...
- Needed to move properties into AnimatedContainer to create a full BoxDecoration.
- Updated test expectations because backgroundColor animates now.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1224223004 .
2015-07-09 15:26:39 -04:00
Adam Barth
2270e9ca41
Rebaseline tests after f66984e72a2b5db0f7c4db4f05829118defe6640
...
TBR=mpcomplete@google.com
Review URL: https://codereview.chromium.org/1230893002 .
2015-07-09 12:11:16 -07:00
Chinmay Garde
db8057989b
[Sky] Fix iOS build breaks
...
R=abarth@chromium.org , eseidel@chromium.org
Review URL: https://codereview.chromium.org/1229093002 .
2015-07-09 11:10:43 -07:00
Adam Barth
b8a62ea0c5
Stop leaking temp directories in SkyShell
...
At startup, we make a list of all the temp directories that already exist and
then nuke them on a background thread after a five second delay. The five
second delay isn't particularly satisfying, but I think it's wortwhile to get
this work off the critical path of startup.
R=eseidel@chromium.org , eseidel@google.com
Review URL: https://codereview.chromium.org/1228083003 .
2015-07-09 09:57:41 -07:00
Adam Barth
90e211f9b1
Build skyx packages by default
...
Now that we have all the Dart packages we need in //third_party, we can build
skyx bundles by default.
As part of this change, I've made it possible to build skyx bundles on Linux
and I've made the gn target names of the mojoms in //sky/services consistent
with each other and with //mojo/services/public.
TBR=eseidel@google.com
Review URL: https://codereview.chromium.org/1227973002 .
2015-07-09 08:39:45 -07:00
Adam Barth
2954b3e3c2
Teach sky_shell.exe to run from a snapshot
...
Also, make stocks robust to failing network connections.
TBR=eseidel@google.com
Review URL: https://codereview.chromium.org/1229743002 .
2015-07-08 15:50:06 -07:00
John McCutchan
54bbd75249
Roll to v16 for republishing with .sdkext support
...
BUG=
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1231653002 .
2015-07-08 14:57:05 -07:00
John McCutchan
5094e69f86
Some fixes for big_red_button.py
...
BUG=
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1227803002 .
2015-07-08 14:07:04 -07:00
Adam Barth
05298bc836
mv //sky/services/intents //sky/services/activity
...
This interface is growing to expose many activity-related functions, more than
just intents.
R=eseidel@chromium.org , eseidel@google.com
Review URL: https://codereview.chromium.org/1223053002 .
2015-07-08 13:37:22 -07:00
John McCutchan
506f928bca
Allow big_red_button to take path arguments
...
BUG=
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1227103002 .
2015-07-08 13:17:42 -07:00
Ian Fischer
b1d0812800
Change all child.paint calls to canvas.paintChild and update the test results.
...
R=abarth@chromium.org , abarth@google.com , ianh@google.com
Review URL: https://codereview.chromium.org/1208993020 .
2015-07-08 12:48:20 -07:00
Adam Barth
300af62e24
Add skydoc.py, a tool for running dartdoc
...
This CL starts us down the path of generating documentation from our source.
R=eseidel@chromium.org , eseidel@google.com
Review URL: https://codereview.chromium.org/1218663011 .
2015-07-08 08:26:11 -07:00
Eric Seidel
41d6b1a626
Update skyx after material design update d86123d4c71d28
...
R=abarth@chromium.org , abarth@google.com
Review URL: https://codereview.chromium.org/1225593004 .
2015-07-07 17:07:19 -07:00
Eric Seidel
f6c3dc32dc
Add big_red_button script so that others can deploy
...
R=abarth@chromium.org , abarth@google.com
Review URL: https://codereview.chromium.org/1214193007 .
2015-07-07 16:28:13 -07:00
Eric Seidel
27685f32e4
Fix demo_launcher location for realz
...
TBR=abarth@google.com
Review URL: https://codereview.chromium.org/1222313014 .
2015-07-07 16:22:52 -07:00
Eric Seidel
160d01e12d
Update demo_launcher apk location in roll_versions.py
...
TBR=abarth@google.com
Review URL: https://codereview.chromium.org/1220393004 .
2015-07-07 16:20:27 -07:00
Ian Fischer
1a2869c873
Attempt to stop sky_server before starting it to avoid confusion and the warning message.
...
R=abarth@chromium.org , eseidel@google.com
Review URL: https://codereview.chromium.org/1222913006 .
2015-07-07 15:47:38 -07:00
Collin Jackson
f39e23fbeb
Tab bar should have white indicator if primary and accent color are the same
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1215313004 .
2015-07-07 15:35:19 -07:00
Collin Jackson
11e887026f
Back button should be able to close apps (issue 155)
...
R=abarth@chromium.org , abarth@google.com
Review URL: https://codereview.chromium.org/1213623008 .
2015-07-06 18:01:04 -07:00
Adam Barth
869b97cc91
SkyDemo.apk should be able to launch Stocks offline
...
We now put stocks.skyx into the APK so that we can run it offline.
R=eseidel@chromium.org , eseidel@google.com
Review URL: https://codereview.chromium.org/1216673011 .
2015-07-06 17:53:41 -07:00
Eric Seidel
ce0c4e3629
Use sky_shell instead of mojo_shell for testing.
...
This does way more than a single CL should do, sorry.
- Fixed a bunch of logging/error reporting during loads.
- Made it possible for --package-root to be absolute.
- Fixed (hypothetically) parts of iOS build to be clang-plugin-compliant.
- Made all tests pass in sky_shell
- Removed a bunch of layout_tests including windows support.
I'll remove all the mojo test harness stuff in a follow-up patch.
R=abarth@chromium.org , abarth@google.com
Review URL: https://codereview.chromium.org/1215953006 .
2015-07-06 17:45:49 -07:00
Adam Barth
cc8f3947ff
Make SkyDemo.apk start offline
...
Offline support isn't complete, but after this CL, SkyDemo.apk is able to start
and show some UI offline.
R=eseidel@chromium.org , eseidel@google.com
Review URL: https://codereview.chromium.org/1225883002 .
2015-07-06 16:17:04 -07:00
Collin Jackson
719ec1ee61
Use red as floating action button color rather than accent color
...
R=ianh@google.com
Review URL: https://codereview.chromium.org/1222243007 .
2015-07-06 16:04:42 -07:00
Adam Barth
563df9ba75
Set the default whitespace mode to pre-wrap
...
This CL makes it easier to insert line breaks into text runs.
R=eseidel@chromium.org , eseidel@google.com
Review URL: https://codereview.chromium.org/1221913003 .
2015-07-06 15:44:54 -07:00
Adam Barth
668203e7c7
Move home.dart into example/demo_launcher
...
This CL makes home.dart less of a special snowflake and instead makes it a peer
to the other Sky examples. As a result, we can add a sky.yaml file and embed
the thumbnail assets it needs into demo_launcher.skyx.
R=eseidel@chromium.org , eseidel@google.com
Review URL: https://codereview.chromium.org/1215703010 .
2015-07-06 14:49:03 -07:00
Adam Barth
aa2e9974da
Update test expectations after view padding change
...
We no longer have view padding during testing so these values change a bit.
TBR=ianh@google.com
Review URL: https://codereview.chromium.org/1225703003 .
2015-07-06 12:40:19 -07:00
Adam Barth
51b33e8436
Add padding values to View.idl
...
Rather than hardcoding the size and presence of the notification area in Dart,
we now expose padding values on the view. These values are set to non-zero
values when there are UI elements that overlap the view. We currently respect
only the top padding, but this CL paves the way to respect padding in other
directions.
We still hardcode the size of the notification area in Java. A future CL will
retrieve this value from the Android framework.
Fixes #257
R=ianh@google.com
Review URL: https://codereview.chromium.org/1220353002 .
2015-07-06 10:56:02 -07:00
Hans Muller
e9138bc20c
Scrollable TabBar Version 0
...
TODO:
- Make fling-scrolling work
- Tune scrolling performance
- When a tab is selected, snap it to the center if possible
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1221673006 .
2015-07-06 10:23:31 -07:00
Collin Jackson
03eca7aef8
Refactoring to support dark theme better
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1218153005 .
2015-07-06 08:05:29 -07:00
Benjamin Lerman
8def5ec089
Do not use android specific API in mojo/java.
...
R=abarth@chromium.org , eseidel@chromium.org
Review URL: https://codereview.chromium.org/1217573005 .
2015-07-06 14:56:14 +02:00
Adam Barth
b5d6b9ae0d
Add skyx packages for all the Sky demos (except game)
...
This CL factors the skyx build logic out of sky/apk/rules.gni so that we can
build skyx bundles without building entire APKs. This change makes it possible
to build skyx bundles for all the examples (except game).
TBR=eseidel@google.com
Review URL: https://codereview.chromium.org/1222673003 .
2015-07-02 17:07:44 -07:00
Adam Barth
4c41ecb0d5
Make it possible to load Sky demos from local bundles
...
This CL teaches SkyDemo how to load Sky applications from local bundles. It
also teaches home.dart how to request a load from a bundle.
TBR=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1213203008 .
2015-07-02 16:43:09 -07:00