Commit Graph

2344 Commits

Author SHA1 Message Date
kevmoo@google.com 2bafb56a97 pkg/unittest: remove interactive html configuration
hide and make final a bunch of internal state in TestCase

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32226 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-01 00:36:05 +00:00
kevmoo@google.com 7dcaea0527 pkg/intl: dartfmt
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32223 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 23:01:45 +00:00
sigmund@google.com 48778e9420 Get ready to publish
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32218 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 21:43:02 +00:00
alanknight@google.com 6f690c0970 [Intl] Cleanup some code
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32217 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 21:36:12 +00:00
floitsch@google.com ebbc454d2d Fix missing .mirror.
Review URL: https://codereview.chromium.org//151693002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32209 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 19:02:22 +00:00
kevmoo@google.com 2c3153d6cb pkg/unittest fix status file post r32188
also fixed a test name

R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32198 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 16:19:13 +00:00
johnniwinther@google.com 7b52480b56 Align source mirrors with runtime mirrors.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32195 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 14:15:26 +00:00
kevmoo@google.com eb71ef37bb throw when group or test is called while unittest system is running
This is not un-common and makes any future refactoring of unittest more difficult

Let's kill it before we rev a v1

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32188 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 04:54:32 +00:00
jmesserly@google.com 77f39712b7 mark flaky ie9 tests
Review URL: https://codereview.chromium.org//151103002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32187 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 02:09:10 +00:00
pquitslund@google.com 07888b2f25 Indent fix for switch statement defaults (dartbug.com/16406).
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32174 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 21:39:28 +00:00
kevmoo@google.com d5e713a9f1 pkg/collection: mark fields in wrappers as final
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32173 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 21:19:16 +00:00
jmesserly@google.com 0f277224e8 update custom elements and shadow dom
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32171 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 20:56:22 +00:00
sigmund@google.com fdc6d43083 Improve how we handle packages/ HTML imports. This improves resolution of URLs containing
"package/" under the web/ directory. Resolution under 'lib' is the same, but it and gives better suggestions if the path looks wrong. This summarizes what changed:

- source file: lib/b.html

  import to "packages/c/d.html" was error, now is error + suggestion
  import to "../packages/c/d.html" was error, now is error + suggestion
  import to "../../packages/c/d.html" was resolved, now is resolved too

- source file: lib/a/b.html

  import to "packages/c/d.html" was error, now is error + suggestion
  import to "../packages/c/d.html" was error, now is error + suggestion
  import to "../../packages/c/d.html" was error, now is error + suggestion
  import to "../../../packages/c/d.html" was resolved, now is resolved too

- source file: web/b.html

  import to "packages/c/d.html" was and continues to be resolved
  import to "../packages/c/d.html" was error, now is resolved

- source file: web/a/b.html

  import to "packages/c/d.html" was error, now is resolved
  import to "../packages/c/d.html" was and continues to be resolved
  import to "../../packages/c/d.html" was and continues to be resolved

Note: polymer-build and development mode are slightly different: polymer-build
detects and issues an error for bad paths inside lib/. These are not detected by
our package-resolution in loader.dart, but as long as users are not creating
symlinks by hand, Dartium should detect if the paths are wrong.

When we switch to start using pub-serve by default, we should be able to go back
to the web-ui style of using "package:" urls directly in HTML.

R=jmesserly@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32170 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 20:51:28 +00:00
floitsch@google.com 9e6ec633f9 Mark collection/test/priority_queue_test as slow.
Review URL: https://codereview.chromium.org//149023003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32167 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 18:35:16 +00:00
pquitslund@google.com 18ad816d5f Max line length test fix (dartbug.com/16405).
The rub: two off by ones! --- Proof that two wrongs don't make a right! :)

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32166 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 18:35:17 +00:00
justinfagnani@google.com 69e6357506 polymer_expressions: Add % as an operator. Test all operators..
BUG=https://code.google.com/p/dart/issues/detail?id=15601
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32153 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 05:50:16 +00:00
kevmoo@google.com 28ec54ceb0 pkg/unittest: formatter spin
R=efortuna@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32152 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 05:20:08 +00:00
rnystrom@google.com 23d6c2e4a9 Disable crashing pkgbuild test.
BUG=https://code.google.com/p/dart/issues/detail?id=16404
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32146 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 22:42:43 +00:00
pquitslund@google.com 9d5f39180c Empty map formatting fix (dartbug.com/16382).
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32143 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 22:02:26 +00:00
nweiz@google.com 0cd85f6736 Wait for all log entries to be printed before exiting "pub build".
Previously, we could drop messages on the floor if too many were
emitted and the actual building was quick enough.

R=rnystrom@google.com
BUG=16242

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32141 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 21:28:08 +00:00
nweiz@google.com c5d1ec4384 Add some additional debugging prints to the mac os watcher.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32139 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 21:06:50 +00:00
pquitslund@google.com 4260d5a585 Fix to allow single method cascades to fit on one line (dartbug.com/16384).
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32138 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 20:57:44 +00:00
scheglov@google.com becf22691a New analyzer snapshot.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32135 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 20:03:33 +00:00
pquitslund@google.com d6d365cdcc Format fix for assert statements.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32133 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 19:46:52 +00:00
efortuna@google.com fc68077557 Fix package docnames for select return types, and some more docgen refactoring.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32129 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 18:43:36 +00:00
ricow@google.com cc7ec019aa Mark pgkbuild/samples/third_party/angular_todo as failing on russian windows
Due to long file name issues, see issue 16356

R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32119 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 12:26:39 +00:00
pquitslund@google.com b66342b854 Remove workaround for missing setter function returns (dartbug.com/15914).
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32091 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 22:51:27 +00:00
justinfagnani@google.com 01c3a30ac0 Add test for complex in expressions in polymer_expressions
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32090 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 22:48:23 +00:00
pquitslund@google.com 99595ef86b Remove workaround for missing abstract keyword for ClassTypeAliases (dartbug.com/15912).
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32086 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 22:25:38 +00:00
pquitslund@google.com 13961dc1f6 Improved linebreaking for imports (darbug.com/16366) and non-breaking line support.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32084 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 21:37:05 +00:00
kevmoo@google.com 8aec1f8b51 pkg/mime: formatting, finals, consts, etc
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32072 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 17:24:08 +00:00
ricow@google.com 1252f88cff Give default value for builder_tag in test options
Remove now passing test pkgbuild/samples/third_party/angular_todo suppression

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32068 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 14:47:25 +00:00
ricow@google.com 57eb514346 Revert 32053 - this was already covered by revision 32041
The dartium failures is another test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32066 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 12:22:30 +00:00
ricow@google.com 8b959be6fe Add builder_tag option to tools/test.dart
This will allow us to pass in machine specific tags that describes the setup of a given machine.

Use this to pass in the locale on the pub russian bot and to suppress the two failures we have due to issue 16356

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32061 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 09:55:49 +00:00
lrn@google.com 30c0d67807 Add toString to delegating collections in package:collection.
BUG= http://dartbug.com/16274
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32057 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 09:31:46 +00:00
ricow@google.com fc6f39d6e9 Mark pkg/third_party/angular_tests/browser_test/core_dom/cookies as failing on dartium
This started failing after r32035

Filed issue 16354 to track this

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32053 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 07:54:17 +00:00
scheglov@google.com 37b6debef7 New analyzer snapshot.
There are some problems with JDT and line comments.
Interesting, that it works almost everywhere, and also worked coupld weeks ago.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32052 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 04:24:41 +00:00
scheglov@google.com b175f41369 Issue 16346. Ignore non-HTML template.
https://code.google.com/p/dart/issues/detail?id=16346

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32051 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 03:55:52 +00:00
justinfagnani@google.com c63c948be2 Fix eval tests in unchecked mode
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32050 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 02:45:43 +00:00
justinfagnani@google.com e69baf7d37 List literals in polymer_expressions
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32049 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 02:16:54 +00:00
justinfagnani@google.com 763c2c5915 Ternary operator support for polymer_expressions
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32048 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 01:47:28 +00:00
nweiz@google.com 99f31707a7 Update [getErrorMessage] to avoid throwing away useful information.
Many built-in exception types don't include some relevant information
in their exceptions' [message] property, so this CL goes back to using
[toString] to get string representations of exceptions. The unsightly
exception prefixes are now removed via regular expression.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32045 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 00:14:16 +00:00
blois@google.com 6cafb2cb2f Skipping dartanalyzer for Angular tests
Latest Angular bits appear to be crashing the analyzer.

CL which updated Angular is https://code.google.com/p/dart/source/detail?r=32035.

BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32041 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 23:26:41 +00:00
blois@google.com 2a4b069b1a Updating Angular version
We missed some Angular-breaking changes because the parser tests were marked as failing due to some known Angular/Dart1.1 incompatibilities, but those have been fixed in Angular. Updating to this version has the parser tests passing cleanly.

Only manual change was to the pkg.status file.

BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32035 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 22:27:53 +00:00
pquitslund@google.com aac07d9e6b dartfmt line wrapping bypass option support.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32034 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 22:23:52 +00:00
pquitslund@google.com ad389194c3 dartfmt line length command line option support.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32027 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 19:06:17 +00:00
alanknight@google.com 3730236bdf Add a snapshot for docgen and use it in the build
R=efortuna@google.com, ricow@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32025 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 18:40:34 +00:00
brianwilkerson@google.com d5c3a07611 Add top-level server
R=danrubel@google.com, devoncarew@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32008 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-25 18:46:04 +00:00
brianwilkerson@google.com 8179cbae09 Fix the build
Review URL: https://codereview.chromium.org//145033011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31984 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-23 20:22:00 +00:00
brianwilkerson@google.com 93ce7745ca Fix the build
Review URL: https://codereview.chromium.org//145973002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31983 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-23 19:51:08 +00:00