25 Commits

Author SHA1 Message Date
Adam Barth
0aca63c7d6 Update sky/README.md to refer to Sky Widgets
Previously this README discussed fn.dart.

TBR=ianh@google.com

Review URL: https://codereview.chromium.org/1199753002.
2015-06-21 12:22:49 -07:00
Adam Barth
773a0ddfa1 Fix typo in README.md
https://github.com/domokit/sky_sdk/pull/19

Patch by @danrubel

Review URL: https://codereview.chromium.org/1182873003.
2015-06-13 10:35:27 -07:00
Eric Seidel
8f975399e1 Move image loading out of C++ into Dart
We already know how to talk to the network_service from Dart
via fetch.dart.  Might as well use that for Image loading
as well insetad of having ImageLoader do it.

As part of this I've renamed *ImageLoader to *ImageDecoder
and moved all the image loading logic into Dart.  This required
me to teach the idl system about mojo handles so that I could
pass the resulting MojoHandle from fetch.dart up through to
ImageDecoder.

R=abarth@chromium.org, jackson@google.com, hansmuller@google.com

Review URL: https://codereview.chromium.org/1173703002.
2015-06-09 12:14:13 -07:00
Seth Ladd
ba9af31ed9 Add the sky sdk README back.
Was removed in 1a396394dd

R=eseidel@chromium.org, johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1159013011
2015-06-04 09:13:15 -07:00
John McCutchan
b017dfd995 Rationalize Dart mojo and sky package structure.
NOTE: This CL appears far larger than it actually is for two reasons:

1) Many files were moved around to use the Dart package directory structure.
2) Many .dart files had to have import paths updated.

- Organize mojo/public/dart so that it uses standard Dart package layout
- Organize mojo/dart/apptest so that it uses a standard Dart package layout
- Organize sky/sdk so that it uses a standard Dart package layout
- Create a mojo/testing package (used by unittests)
- Introduce the 'dart_pkg' gn rule which populates gen/Config/dart-pkg
- All internally vended Dart packages must have a corresponding dart_pkg rule
- It is now possible to use dependency_overrides: in pubspec.yaml to mix internal and external package dependencies (enables analyzer, editor, webstorm usage for internal developers).
- Package root for dart content handler ends with "packages/"
- Imports of mojo package uris no longer need the "public/dart"
- mojo/public/tools/dart_package.py is a clone of mojo/public/tools/gn/zip.py
- Sky tests no longer run 'deploy_sdk' script.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/1132063007
2015-05-18 14:41:39 -07:00
Colin Blundell
2772b9e4d8 Create wrapper script around mojom's generate.dart in the Sky package.
This CL does the following:
- Moves mojom's generate.dart from bin/ to lib/ to make it available for use
  by a wrapper scripts in the Sky package, thus avoiding all consumers of Sky
  needing to directly depend on mojom to be able to call
  "pub run mojom:generate".
- Adds a sky->mojom pub dependency and creates a wrapper script around mojom's
  generate.dart in the Sky package.
- Augments the Sky README to explain the usage of this script.

R=eseidel@chromium.org, sethladd@google.com

Review URL: https://codereview.chromium.org/1136503002
2015-05-13 11:48:47 +02:00
Eric Seidel
e7ae9fa30f Merge pull request #149 from maqnouch/patch-1
Fix typos in README.md
2015-05-08 13:10:01 -07:00
Seth Ladd
1fb4adac3c Update README with explicit step to start the sky tool 2015-05-07 18:20:59 -07:00
Eric Seidel
77803d3826 Add a note at the top of the SDK README.md to explain how to contribute to the Sky SDK.
I will also disable issues on the sky_sdk repo.

R=abarth@chromium.org, ianh@google.com

Review URL: https://codereview.chromium.org/1135553002
2015-05-07 11:14:31 -07:00
AQNOUCH Mohammed
402497b210 Fix typos 2015-05-06 20:55:42 +01:00
Eric Seidel
db103b53cc Add missing semicolon.
Thanks to the many reports:
https://github.com/domokit/sky_sdk/pull/13
https://github.com/domokit/sky_sdk/pull/8

TBR=ianh@google.com

Review URL: https://codereview.chromium.org/1127733002
2015-05-04 13:18:36 -07:00
Mitch Rudominer
741c887e97 Removed errant word "is".
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1105113004
2015-04-30 12:30:57 -07:00
Eric Seidel
3afd5e5a77 Add pubspec.yaml files for each of the examples/ directories
so that pub get will create a packages/ directory for each
and users of packages/sky/sky_tool can run these examples
from sky_sdk as the instructions say to.

TBR=ianh@google.com
https://github.com/domokit/mojo/issues/128

Review URL: https://codereview.chromium.org/1110283002
2015-04-28 16:26:38 -07:00
Eric Seidel
817e2a08df Update SDK README to discuss about:tracing and observatory.
TBR=ianh@google.com

Review URL: https://codereview.chromium.org/1114553004
2015-04-28 12:05:46 -07:00
Eric Seidel
65fdcc97e5 Add a blurb to the SDK README about Mojo IPC and Services.
R=ianh@google.com

Review URL: https://codereview.chromium.org/1111573002
2015-04-27 15:41:59 -07:00
Eric Seidel
4badf359d6 Remove missing word from example command line
TBR=mpcomplete@chromium.org

Review URL: https://codereview.chromium.org/1106343002
2015-04-27 14:36:27 -07:00
Eric Seidel
a108fb12f6 Update sky/sdk/README.md instructions
R=ianh@google.com

Review URL: https://codereview.chromium.org/1107203003
2015-04-27 14:28:45 -07:00
Eric Seidel
22d00b5cd7 Update README per recommendations from Seth:
https://github.com/domokit/sky_sdk/pull/2
https://github.com/domokit/sky_sdk/pull/3

R=sethladd@google.com, ianh@google.com

Review URL: https://codereview.chromium.org/1091613002
2015-04-15 13:26:53 -07:00
Przemyslaw Pietrzkiewicz
1964bdad39 Fix typo in sky/sdk/README.md.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1071523002
2015-04-09 11:35:57 +02:00
Hixie
c0067cceba [Effen] s/Node/UINode/, s/Element/WrapperNode/, s/EventTarget/EventListenerNode/
R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/1043283003
2015-04-01 09:46:28 -07:00
Eric Seidel
6c2f85515e Fix typo in our readme as per: https://github.com/domokit/sky_sdk/pull/1
TBR=abarth@chromium.org

Review URL: https://codereview.chromium.org/1051513004
2015-03-31 14:43:37 -07:00
Adam Barth
9bb425c8f7 Fix typo
TBR=hixie

Review URL: https://codereview.chromium.org/1035023003
2015-03-26 17:36:32 -07:00
Adam Barth
8aff978b43 Improve Sky READMEs
TBR=ojan@chromium.org

Review URL: https://codereview.chromium.org/1037163002
2015-03-26 17:17:34 -07:00
Adam Barth
f4e54b385f Update Sky README.md
R=ojan@chromium.org

Review URL: https://codereview.chromium.org/1030063003
2015-03-26 10:17:06 -07:00
Eric Seidel
8ad5f14611 Currently we use package: to mean "/gen", which is not at all how
Dart actually expects package: to work.  This CL makes package:foo
map to /packages/foo, similar to how Dartium or bin/dart would expect.

This also means overlaying the /gen directory over the actual package
outputs (as consumers of an SDK would expect) as well as adding
an additional /lib indirection for the actual package source as
the Dart pub tool will expect.

This is far from perfect, but it unlocks us actually producing a
sky SDK.

I expect there may be some fallout from this change as I'm sure I
missed some package: uses.  We also don't have a general solution
for all /foo/bar/baz includes which randomly included parts
of mojo's source directory.  Those will need to be updated to use
a package: and deploy_sdk.py taught how to build a package for them.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/990493002
2015-03-13 16:58:53 -07:00