Adam Barth
7aa2e06e35
Merge pull request #8 from collinjackson/docs
...
Documentation improvements
2015-07-16 13:33:13 -07:00
Adam Barth
0fe9246dde
Add //sky/tools/gn to automate running gn
...
This lets us avoid using mojob.py, which errors out because we lack a go
toolchain.
2015-07-16 13:31:11 -07:00
Collin Jackson
38c33d44e1
Fix link
2015-07-16 13:28:37 -07:00
Collin Jackson
4df9164155
Documentation improvements
2015-07-16 13:26:54 -07:00
Adam Barth
1639caefd6
Merge pull request #4 from abarth/improve_contributing_md
...
Improve CONTRIBUTING.md to distinguish between Linux and Android steps.
2015-07-16 12:52:45 -07:00
Adam Barth
3a4b7622ac
Improve CONTRIBUTING.md to distinguish between Linux and Android steps.
2015-07-16 12:50:19 -07:00
mpcomplete
bbd1921249
Merge pull request #3 from domokit/drawer.spring
...
Make Drawer animate using a spring force instead of a linear curve.
2015-07-16 12:48:33 -07:00
Matt Perry
183745fffe
DEPS
2015-07-16 12:43:02 -07:00
Eric Seidel
7c91276010
Merge pull request #2 from abarth/creating_pull_requests
...
Add instructions for creating pull requests
2015-07-16 12:39:59 -07:00
Adam Barth
8e11be9b03
Add instructions for creating pull requests
2015-07-16 12:36:54 -07:00
Adam Barth
d72faecdf7
Merge pull request #1 from abarth/contributing_md
...
Add a basic CONTRIBUTING.md
2015-07-16 12:33:11 -07:00
Adam Barth
dd82494b25
Add a basic CONTRIBUTING.md
2015-07-16 12:32:52 -07:00
Collin Jackson
c270f77421
Merge history from sky/ directory in https://github.com/domokit/mojo/
2015-07-16 11:56:03 -07:00
Collin Jackson
c1f3de3b1d
After running filter-branch, move root directory into sky/
2015-07-16 11:54:25 -07:00
Adam Barth
22372381d2
Remove dependencies on Skia and the prebuilt network library
2015-07-16 11:44:27 -07:00
Adam Barth
208caa8be0
Update to mojo 5f5dfcc9af8b40a14dd76e34c60a5766b9f58bb4
2015-07-16 11:44:14 -07:00
Adam Barth
b8d41a067e
Top-level files
2015-07-16 10:16:42 -07:00
Adam Barth
781e5f6fcd
Create a repository for Sky
2015-07-16 10:15:20 -07:00
Adam Barth
24390a98e3
Clean up some more DEPS
...
Sky itself does't need to depend on //services/debugger. That's already taken
care of by //services depending on //services/debugger. Also, add some direct
depenencies from //sky/sdk to the mojom interfaces used by //sky/sdk.
TBR=eseidel@google.com
Review URL: https://codereview.chromium.org/1232783006 .
2015-07-16 09:44:27 -07:00
Adam Barth
b608850b54
Rebaseline tests after console spam reduction
...
TBR=tonyg@google.com
Review URL: https://codereview.chromium.org/1239983002 .
2015-07-16 09:43:12 -07:00
Przemyslaw Pietrzkiewicz
604d90c1f8
Update sky HACKING.md instructions to use mojo_shell.py.
...
See #238 .
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1242453002 .
2015-07-16 17:08:16 +02:00
John McCutchan
2e1acfeafa
Port more String and HashMap usages
...
BUG=
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1237973004 .
2015-07-16 07:30:56 -07:00
Adam Barth
dad9c040b8
Improve drawer performance
...
- Instead of using a ColorFilter or an Opacity widget to colorize the Icons,
add a ColorFilter parameter it the image classes. This avoids needing to
call saveLayer for each DrawerItem.
- Ask Android for unbuffered input events to avoid bad synchronization with
vsync.
R=ianh@google.com
Review URL: https://codereview.chromium.org/1236043004 .
2015-07-15 11:07:53 -07:00
Adam Barth
ace9d48c9f
Update test after removing Material from Scrollable
...
TBR=ianh@google.com
Review URL: https://codereview.chromium.org/1233743003 .
2015-07-14 13:54:44 -07:00
John McCutchan
7a4e88c5da
Update Dart SDK to 1.12.0-dev.3.1
...
BUG=
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1229953008 .
2015-07-14 11:34:03 -07:00
Adam Barth
f71df80a7d
Remove last use of Platform::networkService()
...
I forgot to remove the virtual function in Platform.h and missed two clients of
this function. This CL switches those clients to keep their own network service.
R=eseidel@chromium.org , eseidel@google.com
Review URL: https://codereview.chromium.org/1230113006 .
2015-07-14 09:41:48 -07:00
Adam Barth
e4ca02be1d
Delete //sky/services/platform
...
There's no longer any code to share in this library. Instead, inline the one
trival class into both //sky/shell and //services/sky.
TBR=eseidel@google.com
Review URL: https://codereview.chromium.org/1237043002 .
2015-07-14 00:21:34 -07:00
Adam Barth
3fed037c0c
Remove //sky/engine/platform/network
...
This code is all dead. Instead, we use Mojo directly from Dart to access the
network.
TBR=eseidel@google.com
Review URL: https://codereview.chromium.org/1239633002 .
2015-07-13 23:39:48 -07:00
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