Commit Graph

25510 Commits

Author SHA1 Message Date
blois@google.com 730b3c6137 Adding package:code_transformers for unifying common transformers code
There's quite a bit of code which would be great to share between Polymer and Angular, adding this as the starting point for some of that code.

This CL is primarily a transformer that resolves the AST which can be used by other transformers when modifying code.

BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org//140203007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32859 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 18:37:00 +00:00
alanknight@google.com ab152a3760 Update Intl version to 0.9.5
BUG=
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//174063002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32858 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 18:27:17 +00:00
whesse@google.com 1a5af5f5ba Mark docgen/generate_json_test as slow on arm and mips.
BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org//167703006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32852 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 16:41:06 +00:00
jmesserly@google.com f45d9c23d3 [polymer] preserve order of scripts in deployment
We were potentially leaving some scripts in head, but moving other things into body.
FWIW, I'm not sure it's a good idea to be moving anything from head to body, but that's what we got for now.

R=sigmund@google.com

Review URL: https://codereview.chromium.org//172853004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32842 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 04:17:32 +00:00
jmesserly@google.com 7438131437 [polymer] remove workaround for MethodMirror.metadata
the bug appears to be fixed!

R=sigmund@google.com

Review URL: https://codereview.chromium.org//165373007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32841 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 03:47:22 +00:00
kevmoo@google.com 6ef4c882c4 pkg/docgen: forgot to remove a 'print', unused import
TBR

Review URL: https://codereview.chromium.org//173003004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32835 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 00:27:06 +00:00
kevmoo@google.com e4baa0ff51 pkg/docgen: support dartdoc-viewer with the viewer app at the root of the repo
R=alanknight@google.com

Review URL: https://codereview.chromium.org//172873008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32834 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 00:23:10 +00:00
kevmoo@google.com 6cdd5a9cd8 pkg/docgen: hardwire test files
eliminate chance that listing files on a system will change order

R=alanknight@google.com

Review URL: https://codereview.chromium.org//169743003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32833 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 00:21:36 +00:00
alanknight@google.com e3063720fa Do not overwrite values on plurals/genders with the results of constant evaluation
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//165873005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32832 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 23:50:21 +00:00
kevmoo@google.com 4feded81b4 pkg/scheduled_test: fix example in docs to be 100% valid
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//172493003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32827 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 21:53:39 +00:00
kevmoo@google.com e3483e7b23 pkg/scheduled_test: formatter
R=nweiz@google.com

Review URL: https://codereview.chromium.org//164883002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32826 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 21:49:29 +00:00
jmesserly@google.com 4918db8d0a [polymer] fix editor hints -- query/queryAll and unused imports
R=sigmund@google.com

Review URL: https://codereview.chromium.org//172923002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32825 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 21:41:08 +00:00
kevmoo@google.com cd2f133e77 pkg/docgen: putting test code in file system
R=alanknight@google.com

Review URL: https://codereview.chromium.org//172873002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32821 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 21:11:40 +00:00
alanknight@google.com 8ccb9d10f2 Fix the obscure corner case of three items in a plural
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//167943005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32820 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 21:02:33 +00:00
nweiz@google.com 2d1a8c7c4b Support serving from multiple directories using "pub serve".
R=rnystrom@google.com
BUG=15924

Review URL: https://codereview.chromium.org//167103003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32818 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 20:39:40 +00:00
kevmoo@google.com 719c49967b pkg/docgen: fixd build, ignore known static warnings
TBR

Review URL: https://codereview.chromium.org//172813002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32810 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 19:29:13 +00:00
kevmoo@google.com d240e60e60 pkg/docgen: basic test of json output
align API with bin: generate json by default (not yaml)
added type to docgen 'out' argument

R=alanknight@google.com

Review URL: https://codereview.chromium.org//172743003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32806 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 19:05:15 +00:00
kevmoo@google.com ef49163d6a pkg/docgen: rebase oops
TBR

Review URL: https://codereview.chromium.org//171683009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32800 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 17:56:56 +00:00
kevmoo@google.com 87c3d6ea8d pkg/docgen: updated min dependencies of args and unittest
export true/false as true/false, not strings
Locked down a number of types

R=efortuna@google.com

Review URL: https://codereview.chromium.org//170783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32799 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 17:48:26 +00:00
floitsch@google.com 031f3e66c2 Mark pub watcher test as passing.
Somehow this test started passing with Devon's commit (r32765).

Review URL: https://codereview.chromium.org//166903011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32781 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 10:28:00 +00:00
kevmoo@google.com 91e9411742 pkg/docgen: fix docs for --json flag, bin cleanup
R=efortuna@google.com

Review URL: https://codereview.chromium.org//168743003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32774 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 03:07:26 +00:00
nweiz@google.com 1835285657 Rename "description" to "failure" in the scheduled_test stream matchers.
R=rnystrom@google.com
BUG=

Review URL: https://codereview.chromium.org//171473002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32771 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 23:35:57 +00:00
nweiz@google.com 9da7f8aa3f Change ScheduledProcess's output streams over to be ScheduledStreams.
This will help test "pub serve" with multiple entrypoints.

R=rnystrom@google.com
BUG=

Review URL: https://codereview.chromium.org//164773003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32770 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 22:56:58 +00:00
nweiz@google.com 9aeb99ed0a Release scheduled_test 0.9.3.
R=rnystrom@google.com
BUG=

Review URL: https://codereview.chromium.org//169573003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32766 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 22:11:39 +00:00
kevmoo@google.com 0cf6dcf1f2 pkg/polymer: allow latest args lib
R=sigmund@google.com

Review URL: https://codereview.chromium.org//169443004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32763 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 21:13:16 +00:00
kevmoo@google.com 9a10369306 pkg/docgen: removed py files, doc/README.txt, fixed analyzer warning
R=efortuna@google.com

Review URL: https://codereview.chromium.org//166093006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32758 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 19:38:12 +00:00
brianwilkerson@google.com 66590d7363 Use Future for error handling. This appears to be the recommended way of doing things because it is safer.
R=devoncarew@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//166703004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32748 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 17:20:14 +00:00
scheglov@google.com 27fcf8df64 Issue 16827. Add 'set length' to NodeList.
https://code.google.com/p/dart/issues/detail?id=16827

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//170723002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32746 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 17:06:50 +00:00
kevmoo@google.com 6b6c901f5d pkg/crypto: move tests to unittest package
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//169363008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32742 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 14:25:49 +00:00
ricow@google.com 38493b3493 Roll jsshell deps to version 26
Update test expectations for now passing test and broaden suppression for firefox issue with clamping

R=floitsch@google.com

Review URL: https://codereview.chromium.org//145123008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32739 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 13:12:43 +00:00
kevmoo@google.com e1fd7ede07 pkg/analyzer: update dependencies
Missing new versions of unittest and args

R=scheglov@google.com

Review URL: https://codereview.chromium.org//168943005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32732 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-17 21:55:04 +00:00
kevmoo@google.com 4ae8a47f40 pkg/scheduled_test: removed unused imports
R=nweiz@google.com

Review URL: https://codereview.chromium.org//164373004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32682 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 00:49:43 +00:00
jmesserly@google.com d10d506d6f fix accidental breaking changes in html5lib, deprecate instead
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//165353002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32680 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 23:50:46 +00:00
jmesserly@google.com 1a4a399ea5 fix imports link rel=stylesheet
fixes https://code.google.com/p/dart/issues/detail?id=16648

also:
* adds a few DOM APIs to html5lib that it was missing
* removes a broken test from html5lib
* fixes polymer's dependency on analyzer

R=sigmund@google.com

Review URL: https://codereview.chromium.org//162093002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32679 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 23:22:48 +00:00
efortuna@google.com 4bf8e46dcc Remove the html warnings!
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//164743003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32678 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 22:23:21 +00:00
kevmoo@google.com d86476f4d5 pkg/scheduled_test: upgrade to latest unittest
R=nweiz@google.com

Review URL: https://codereview.chromium.org//130813008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32676 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 21:55:05 +00:00
alanknight@google.com e9cb5c2add Tolerate a comment with no end paragraph tag when generating preview
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//161213002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32662 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 17:47:36 +00:00
efortuna@google.com f91b102ccb "Reverting 32641"
BUG=

Review URL: https://codereview.chromium.org//162843002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32642 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 05:52:21 +00:00
efortuna@google.com c1e36a1efe Reapply "remove html warnings."
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//162413002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32641 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 01:43:25 +00:00
dgrove@google.com c23e071c3e Add --compile flag.
BUG=16716 .
R=alanknight@google.com

Review URL: https://codereview.chromium.org//162223002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32639 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 01:07:19 +00:00
dgrove@google.com 22d649cf9a Automatically pass SDK into docgen.dart, and use the SDK for running
pub and the Dart binary. This removes the need to have the SDK in the
PATH when running docgen.

R=efortuna@google.com

Review URL: https://codereview.chromium.org//161893002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32632 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 23:23:25 +00:00
efortuna@google.com 7acd2cc7c7 Revert all html warning changes.
For the sake of ease of cherry-picking, I'm going to back this change out to
apply all at once, once I fix this postMessage test failure on Dartium.

BUG=

Review URL: https://codereview.chromium.org//160963004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32630 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 22:12:18 +00:00
efortuna@google.com dd29511add Fix analyzer test failure.
BUG=

Review URL: https://codereview.chromium.org//153653008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32619 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 20:37:53 +00:00
blois@google.com 49603f061e Updating barback test harness for angular transformers changes.
- Ignoring info messages to make it easier to test with verbose info output.
- Waiting on barback results to allow checking messages when compilation generates no output.

BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org//160623002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32612 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 18:55:36 +00:00
blois@google.com 8d85a65d2c Removing polymer-specific code from barback runner
Hoping to make this into a generally-usable component.
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org//157583007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32610 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 17:54:54 +00:00
kasperl@google.com aca2f3ebe8 The tests affected by issue 16719 pass in CSP mode.
R=ricow@google.com
BUG=

Review URL: https://codereview.chromium.org//160233003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32595 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 07:58:07 +00:00
jmesserly@google.com fb43ff6d90 update web_components
removes note about custom_elements patch, it has been merged

R=blois@google.com

Review URL: https://codereview.chromium.org//147453004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32589 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 02:42:57 +00:00
jmesserly@google.com 07b76b48cc code refactoring in import_inliner
I'm adding link rel=stylesheet support and implemented these changes first
to make it easier to understand the invariants.

R=sigmund@google.com

Review URL: https://codereview.chromium.org//159353005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32587 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 01:52:34 +00:00
jacobr@google.com e3964eab0f Enable mutation observer test
BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org//130813011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32586 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 01:23:01 +00:00
alanknight@google.com 68e4bd8794 Use reasonable defaults for docgen if invoked on a single package
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//158833005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32583 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 23:45:00 +00:00