Commit Graph

25510 Commits

Author SHA1 Message Date
blois@google.com b898e76175 Updating status of bind_mdv_test on IE
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29204 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:42:46 +00:00
cbracken@google.com 8d55ace137 Eliminate deprecated Int32/Int64.fromInt() constructors
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29202 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:17:12 +00:00
scheglov@google.com b500fc56d2 Issue 14328. Propagate type arguments into super type when looking up super constructor.
https://code.google.com/p/dart/issues/detail?id=14328

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29201 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:01:58 +00:00
asiva@google.com 910c318003 Fix status file to mark spawnFunction as crashing until 14400 is fixed.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29199 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:51:57 +00:00
blois@google.com 9dbee290eb Attempting to investigate/deflake Polymer tests on IE9
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29198 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:38:32 +00:00
blois@google.com 0e97c7197a Integrating fix for IE9 custom elements upgrade
BUG=13193
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29197 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:21:46 +00:00
scheglov@google.com fb757f6c82 Issue 14388. Remove implicit setters for final fields.
https://code.google.com/p/dart/issues/detail?id=14388

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29196 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:07:11 +00:00
jmesserly@google.com e96d31a4cd port polymer - 00e2982c78fcd396adaebff3118e94029a2b9fb0
we're still missing a few commits (such as https://github.com/Polymer/polymer/pull/328) but this gets us pretty close to fixing https://code.google.com/p/dart/issues/detail?id=14377

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29192 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 18:45:43 +00:00
sigmund@google.com 9424a70d30 Switch to lookup declaration by tag name. This fixes issue 14274.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29186 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:31:54 +00:00
ajohnsen@google.com 103eac574c Remove FileException, DirectoryException and LinkException from dart:io and use FileSystemException instaed.
BUG=https://code.google.com/p/dart/issues/detail?id=12461
R=nweiz@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29168 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 12:17:20 +00:00
lrn@google.com 36332f6188 Add "deprecated" to the standard library.
If the editor supports it, we should have a declaration in the standard library.
I suggest a separte dart:annotation library. It may grow in the future.
Alternatively it can be put in dart:core.

R=bak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29166 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 11:47:01 +00:00
iposva@google.com 381027d755 - Widen the flaky net for pkg/http_server/test/http_body_test.
Review URL: https://codereview.chromium.org//39173003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29152 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 05:42:04 +00:00
iposva@google.com 03d9d79203 Fix typo.
Review URL: https://codereview.chromium.org//39383002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29151 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 05:21:40 +00:00
iposva@google.com a3ad73da24 - Mark flaky test.
Review URL: https://codereview.chromium.org//38573004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29150 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 05:15:49 +00:00
jmesserly@google.com 271b5c913a mark another polymer tests failing on IE
Review URL: https://codereview.chromium.org//38193003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29145 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 02:35:27 +00:00
sigmund@google.com 7dc84863f7 Also timeout the test that should pass - sigh
Review URL: https://codereview.chromium.org//38603004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29143 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 01:50:02 +00:00
sigmund@google.com 2bdff1184b Update status for IE9
Review URL: https://codereview.chromium.org//39083002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29142 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 01:45:55 +00:00
jmesserly@google.com 0acc931fc4 port polymer data binding tests
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29139 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 00:59:31 +00:00
sigmund@google.com 92ebcc30c7 Fixes all canonicalization problems... all of them. Ok, not all of them, but at
least it should address the many issues people have been hitting.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29137 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 00:34:35 +00:00
nweiz@google.com 5589f499fa Don't return outputs from a removed PhaseInput.
Also clean up a few things in Phase.

R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29127 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 21:19:15 +00:00
jmesserly@google.com 7382a5ef78 add test for polymer custom events
I thought I would need to fix something, but it seems to be working :)

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29119 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 20:53:43 +00:00
jmesserly@google.com 4194748695 remove old custom_element polyfill
just some cleanup. this was the stopgap xtag polyfill for Polymer; we never used it in web_ui to my knowledge. it's obsolete with document.register

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29116 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 20:21:07 +00:00
pquitslund@google.com 5324c583dd Analyzer/formatter transitions from (deprecated) Options to main(args).
(See dartbug.com/14200.)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29113 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 19:39:50 +00:00
cbracken@google.com d520000fe9 Throw FormatException when Int32/Int64.parseRadix() encounters bad digit
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29109 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 19:04:43 +00:00
blois@google.com 41e8c13ed2 Filtering MutationObserver polyfill messages from test_controller logging
Basically the MutationObserver polyfill is using postMessage as a scheduling mechanism when MutationObserver is not supported (IE9,IE10). These messages are getting picked up by the test controller's logging, which is then putting them into the body. This in turn generates new mutation events, generating new messages. Endless loop.

This just filters messages which are random numbers.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29107 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 18:40:05 +00:00
nweiz@google.com 7449f31f8d Fix a synchrony bug in barback.
Barback was assuming that certain Future operations were synchronous when in
fact they were not (issue 14323). This caused behavioral bugs in situations with
high input churn. Specifically, barback would attempt to use the synchronous
Future operations to guarantee that no changes happened between a condition
being checked and that condition being reported to the user. Since the Future
operations were not in fact synchronous, such changes were possible.

This change works around the issue by using a manual callback-passing style in
places where synchrony is important and Futures would otherwise be used.

R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29103 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 17:54:58 +00:00
jmesserly@google.com bfab5f3693 remove type annotation from AttributeMapWrapper
for some reason dart2js doesn't like this
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29100 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 17:22:19 +00:00
floitsch@google.com baa577f070 Mark equality_test/none as pass/fail.
Review URL: https://codereview.chromium.org//37353003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29093 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 15:58:27 +00:00
lrn@google.com e5ea43d21b Fix equality type problem.
The default equality can't be an Equality<Object> and be assigned to
Equality<T> for any other type T. It must be Equality<dynamic> instead.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29082 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 14:03:42 +00:00
lrn@google.com 3f2810a8ac Add collection-helpers library.
Library contains:
- Delegating wrappers for Iterable, List, Set, Queue, Map.
- Equality abstraction, with ordered and unordered equality of
  collections, and a deep equality.
- Algorithms on collections (List only so far) with
  - shuffle
  - binary search
  - insertion-sort
  - merge-sort
Planning to add Tim-sort eventually.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29072 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 11:42:52 +00:00
nweiz@google.com 794dc9d0d9 Only run at most 10 transformers at once in barback.
BUG=14320
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29060 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 04:13:41 +00:00
jmesserly@google.com 72d5dcb0cd fix template_binding tests on safari/ie
TemplateElement is not supported on these platforms *

* in Polymer, the ShadowDOM polyfill takes care of this so it will work okay.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29059 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 03:59:22 +00:00
jmesserly@google.com 04c0d63166 fix build due to mdv -> template_binding rename
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29058 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 02:25:05 +00:00
jmesserly@google.com 360ea42322 Rename mdv -> template_binding, remove experiemntal apis from dart:html
essentially, we trade off reduce dart:html API surface area for more annoying usage of these APIs. Since Polymer hides most of this, I suspect it won't be too annoying in practice.

Sample usage:

    nodeBind(node).bind(...)

    templateBind(node).model = ...;

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29057 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 02:11:49 +00:00
danrubel@google.com 372f5715aa normalize cmdline analyzer flags for dart based analyzer
BUG=http://dartbug.com/11111
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29055 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 01:55:21 +00:00
sigmund@google.com 996f42cf7a Fixes needed for the deploy step.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29053 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 01:04:09 +00:00
blois@google.com 95d32c5c6b Closing register/upgrade timing hole primarily impacting IE
See Polymer issue https://github.com/Polymer/CustomElements/issues/76

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29052 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 00:47:12 +00:00
sigmund@google.com 7c2e6295aa Fix type errors detected with --error-on-bad-type.
R=nweiz@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29047 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 23:41:05 +00:00
sigmund@google.com 5670ea13fe Mark ie9 test as flaky again.
Review URL: https://codereview.chromium.org//35533004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29041 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 22:09:05 +00:00
jmesserly@google.com 73de9c0bef use ShadowCSS directly
also update:
ShadowDOM to 2a41b2f5d4d186b9dfcf09fd5a49978eb9ead607
platform/ShadowCSS to 515c58387f48655f38b9bf78de1794861f06f4ad

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29040 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 21:42:31 +00:00
sigmund@google.com 0ef8267538 Mark test as passing in ie9 - woo hoo!
Review URL: https://codereview.chromium.org//35013004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29038 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 21:16:00 +00:00
sigmund@google.com e1e9df10c6 Remove flaky marks on polymer tests for windows + ff/chrome
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29037 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 21:08:16 +00:00
nweiz@google.com ed9e97061a Fix an interface error in the polymer transformer.
BUG=12732
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29036 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 21:07:23 +00:00
nweiz@google.com 0fb1f14635 Cap the number of FDs used by barback at 32.
BUG=13752
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29034 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 20:29:46 +00:00
sigmund@google.com 2b092e883f Fixes the deploy step used by the bots in windows
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29027 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 19:32:01 +00:00
jmesserly@google.com eb72738cc9 remove xtag from Polymer
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29025 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 19:04:39 +00:00
nweiz@google.com 7ff3b89aba Make sure barback's FilePool doesn't take up *all* the available FDs.
BUG=13752
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29021 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:36:57 +00:00
jmesserly@google.com ccb7d5304f fix issue 14300 -- polymer tests under CSP
R=ricow@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29020 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:29:46 +00:00
blois@google.com 690a1454e5 Revert "Converting Polymer and TemplateElement to use deprecated Node.document"
Now that DRT is updated and we're running dart2js tests properly, all should be good.

BUG=14197
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29018 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:28:18 +00:00
blois@google.com 3ce5b53d2f Fixing status of register test on IE
Also addressing review feedback from original CL

BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29009 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 17:06:53 +00:00