Commit Graph

25510 Commits

Author SHA1 Message Date
lrn@google.com 6d49d9f1ac Reapply "Convert HashSet, LinkedHashSet to factory methods and custom implementations."
R=floitsch@google.com, fschneider@google.com, kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27610 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 11:36:25 +00:00
kevmoo@j832.com 6ce3bd47f7 pkg/crypto: tighten up
Added return types, marked fields as final

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27606 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 11:09:07 +00:00
kasperl@google.com f77e810f81 First attempt at fixing the status file for chrome-on-android.
R=kustermann@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27601 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 09:56:33 +00:00
sra@google.com 7b8bb93212 New divide uses local variables rather than many temporary objects.
Removing mutators allows Int64 to have final fields and an (internal) const constructor.

R=cbracken@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27588 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 01:02:20 +00:00
pquitslund@google.com 50d3e809f8 Source selection API abstraction first cut.
No implementation yet just a rough of how the API might look. Note that how clients pass selection information into main (and get it back) is still TBD.

Comments welcome!

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27586 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 23:25:39 +00:00
ricow@google.com 329e56d993 Suppress failure of pkg/polymer_expressions/test/syntax_test fails on safari and IE
Filed issue 13361

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27544 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 06:24:42 +00:00
justinfagnani@google.com be1da59073 fix eval test
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27530 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-16 20:34:07 +00:00
justinfagnani@google.com 557e50f241 PolymerExpressions: fix for null iterators in comprehensions
BUG=
R=cbracken@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27528 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-16 20:15:06 +00:00
mcampione@google.com d123c267ba Added library-level comments for polymer and polymer_expressions
BUG=
R=kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27504 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 21:28:52 +00:00
blois@google.com 2ed732dac4 Updating custom elements polyfill to the latest github.com/dart-lang version.
This is just updating the SVN repo to the compiled versions of: https://codereview.appspot.com/13669045/

TBR
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27502 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 20:53:53 +00:00
jmesserly@google.com 86f34e490b Fix TODO in polymer _shimCss, remove package:js dependency
additional fixes:
* rename to match Polymer
* move to happen in the "declaration" phase, not instance initialization

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27501 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 20:36:00 +00:00
kathyw@google.com ef3f516570 one-liners for a few polymer-related libraries
R=jmesserly@google.com, mcampione@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27500 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 20:25:19 +00:00
sigmund@google.com 588194d748 report error message when import urls are broken.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27495 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 18:19:50 +00:00
ricow@google.com 46302044e2 Only add extra debug info if we are not on drt
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27474 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 11:14:40 +00:00
ricow@google.com c6379eb7da Add debug info the test_controller.js
This is to get more info on issue 13292

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27472 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 10:45:29 +00:00
johnniwinther@google.com 776bd8ef05 Call asyncEnd only on success.
BUG=
R=ahe@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27465 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 07:36:02 +00:00
sigmund@google.com ba97c385d4 Rearranges the polymer package now that the old compiler is gone.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27462 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 00:18:09 +00:00
jmesserly@google.com de05038d87 fix polymer/test/events_test status on ff+windows
Review URL: https://codereview.chromium.org//24126004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27460 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 23:37:33 +00:00
jmesserly@google.com dec9af04ee fix shadowdom polyfill
I'm not sure when it broke, but it was not rendering TodoMVC at startup (actually -- it was rendering, then clearing). In any case, the bug goes away with an updated ShadowDOM. We're now completely unforked

I also fixed minify mode. It no longer depends on the name 'GeneratedWrapper', instead it detects the precise problematic case and deals with it.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27458 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 23:04:02 +00:00
sigmund@google.com e9dbf02af1 Latest attempt to polymer-build scripts in fix windows
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27457 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 22:42:47 +00:00
blois@google.com ceb213a24d Updating custom element test to only load polyfill when needed.
Also switching to a script element with a src, which I've found improves debuggability with some browsers.

BUG=13231
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27456 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 22:24:15 +00:00
sigmund@google.com ddd60484a8 Fix status while I fix the real issue in bots.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27448 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 20:51:01 +00:00
alanknight@google.com 301e821da6 Make the dartdoc.py script pull the master version of the client rather than dev
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27447 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 20:49:54 +00:00
sigmund@google.com 2e76db62a9 Fix create symlink in windows by using an absolute path instead.
Review URL: https://codereview.chromium.org//23621039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27443 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 18:37:37 +00:00
alanknight@google.com 43c713c022 Handle reading upper-case placeholders
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27437 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 17:08:52 +00:00
sigmund@google.com edfd09518e Fixes in polymer build related to 'packages':
- we don't trust existing packages symlinks or folders.
 - create relative symlinks so subfolders can be valid entrypoints

Fixes for: dartbug.com/13219 dartbug.com/13185

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27435 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 16:53:28 +00:00
ajohnsen@google.com 1dba2c2cab Change Uri methods taking a decode argument, to now take an encoding.
This finished the integration of dart:convert into Uri.

BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27426 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 11:09:38 +00:00
sigmund@google.com cc194ddbd8 Update status files marking some polymer tests as timeout/flake
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27412 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 22:50:40 +00:00
pquitslund@google.com 68e37d7b49 Formatter stdin processing support.
R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27411 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 22:36:43 +00:00
alanknight@google.com 81d3612c8d [ak] Allow getters to return messages
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27405 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 21:15:38 +00:00
sigmund@google.com 26b11cf6f9 Switch polymer's build.dart to use the new linter. This CL does the following
changes:
  - deletes the old compiler entirely and switches over to the new linter.
  - adds a new build_helper.dart (to replace components_build.dart)
  - defines 'lint' and 'deploy' methods that can be called from build.dart
  - includes options to limit the scope of what's an entrypoint, and to override
    the currentPackage and packageDirs
  - includes the '--deploy' flag to address: dartbug.com/13050

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27403 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 20:38:28 +00:00
jmesserly@google.com 877f440f28 fix observing superclass fields, issue 13255
this was previously blocked by a mirrors bug, but no longer.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27402 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 20:34:32 +00:00
kevmoo@j832.com b868d8fc56 Added deprecation notice to BidiFormatter.htmlEscape
BUG= https://code.google.com/p/dart/issues/detail?id=13097
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27401 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 20:20:37 +00:00
alanknight@google.com 070791d923 Avoid name collision with reserved word
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27399 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 20:04:05 +00:00
kathyw@google.com 2ff7bb2447 One-liners for unittest and matcher.
Also had to give a one-liner to stack_trace, to work around a doc generation issue (dartbug.com/13246).

R=gram@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27398 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 19:28:17 +00:00
lrn@google.com 18362b2cf4 Revert "Convert HashSet, LinkedHashSet to factory methods and custom implementations."
Triggers an error in html tests on dartium.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27392 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 16:19:45 +00:00
kathyw@google.com bc2a4fae5b Copyedit pass over args library description; fixed some example code
R=mcampione@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27388 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 15:35:01 +00:00
lrn@google.com c5bb6f7b15 Convert HashSet, LinkedHashSet to factory methods and custom implementations.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27378 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 12:35:57 +00:00
jmesserly@google.com 68a3655f3e add timeout as an option for polymer/example IE tests
Review URL: https://codereview.chromium.org//24097004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27361 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 23:03:10 +00:00
jmesserly@google.com 58700e061f fix pkg.status file for polymer/example/component/news test
Review URL: https://codereview.chromium.org//23903039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27360 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 22:33:52 +00:00
jmesserly@google.com 00c31d8951 mark polymer test failing on safari, ie
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27358 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 22:08:58 +00:00
jmesserly@google.com 05705dad2f fix polymer tests -- replace run.sh and run tests using bots
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27353 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 21:21:55 +00:00
pquitslund@google.com 07e4dfdb43 Ensure formatted CUs end with a newline (dartbug.com/13188).
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27352 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 21:17:21 +00:00
pquitslund@google.com 79f133550d Optional trailing comma support for list and map literals.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27350 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 18:34:05 +00:00
pquitslund@google.com 1d8cee96ee Fix to NOT traverse linked directories when formatting (dartbug.com/13187).
We *may* allow support for this in the future but either way the default (as set here) should be false.

R=brianwilkerson@google.com, kevmoo@j832.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27349 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 18:32:21 +00:00
pquitslund@google.com 8c13dc887a Formatter sanity-checking (via token stream verification).
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27343 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 17:10:41 +00:00
ricow@google.com d463e8ac03 Mark pkg/crypto/test/hmac_sha256_test as flaky
We already have issue 12502 to track this.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27335 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 13:00:12 +00:00
nweiz@google.com 7385f9c3a8 Support transformers that depend on other transformers.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27322 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 00:48:12 +00:00
terry@google.com 88f208988c Include tests for polyfill and without polyfill
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27320 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 23:16:12 +00:00
blois@google.com b904bf81ba Revert "Revert "Tag extensions""
Original CL is the first patch, changes follow. Includes fixes for Chrome test failures and Firefox type check issues.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27313 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 22:03:43 +00:00