Commit Graph

25510 Commits

Author SHA1 Message Date
kevmoo@j832.com a8eafbee60 Update urls for polymer
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27310 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 20:45:45 +00:00
kevmoo@j832.com 77851b1065 pkg/mdv: remove reference to pkg/serialization
IdentityMap is no longer used

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27306 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 19:29:12 +00:00
lrn@google.com 0f1e912d9d Reapply "Make LinkedHashMap also have a factory constructor and be customizable""
The change was reverted due to failing Dartium tests that were not easily handelable on a Friday afternoon.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27284 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 10:49:32 +00:00
jmesserly@google.com 518fcf5825 fix dart2js warnings when compiling polymer_expressions
it might be a dart2js bug, but I'm not sure the generic adds anything here, so removed it.

R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27267 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 20:33:25 +00:00
jmesserly@google.com e6ce53bcb7 ignore trailing whitespace in polymer transform test
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27265 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 20:31:37 +00:00
justinfagnani@google.com 9a5b4c3092 Add null literals
BUG=
R=cbracken@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27263 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 19:59:40 +00:00
lrn@google.com 761f55b1b9 Revert "Make LinkedHashMap also have a factory constructor and be customizable"
Dartium expectations expects "LinkedHashMap" and gets "_LinkedHashMap".

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27250 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 14:29:04 +00:00
lrn@google.com 64359158ab Make LinkedHashMap also have a factory constructor and be customizable
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27246 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 13:01:54 +00:00
dgrove@google.com d85315c307 Make expectations match reality by altering whitespace.
TBR=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27223 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 23:55:07 +00:00
jmesserly@google.com 337880c0d4 fixed TodoMVC tests to include deploying to JS
R=kustermann@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27222 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 23:00:41 +00:00
kevmoo@j832.com 85e045313e adding HtmlEscape to dart:convert
BUG=https://code.google.com/p/dart/issues/detail?id=1657
R=blois@google.com, floitsch@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27211 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 20:30:56 +00:00
jmesserly@google.com 8982e4916f update shadowdom polyfill to latest.
Note: all of the changes to .debug.js and .min.js come from upstream

I also simplified our patch, because we are now almost unforked upstream code (we just have a couple of fixes they haven't merged yet). In particular we can't use _ShadowDOMPolyfill$isGeneratedWrapper so we go back to 'GeneratedWrapper'.

I'm trying to align our build logic more closely to:
https://github.com/Polymer/platform/blob/master/gruntfile.js#L10, hence the use of their build.json files.

This fixes: https://code.google.com/p/dart/issues/detail?id=13054

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27210 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 20:26:10 +00:00
alanknight@google.com 47b25f4236 Fix off-by-one error in computing the quarter in date formatting
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27202 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 17:41:38 +00:00
nweiz@google.com edad0a6ed2 Fix a subtle bug in barback.
When a [PhaseOutput.removeListeners] was called, the output was re-added to the [Phase] but its removal event wasn't re-subscribed. This meant that if that output was later removed, the phase got into an inconsistent state where it would perform operations on a removed output.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27170 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 00:13:36 +00:00
nweiz@google.com a9861a6cf5 Stop working around issue 9535.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27169 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 00:02:40 +00:00
sigmund@google.com 315a51b392 Add a polymer validator: a linter/analysis that will replace the old
dwc.analyzer. This analysis covers what we used to have before, but hooks into
barback (so we'll be able to see assets that are generated too).

I plan to delete analyzer.dart and compiler.dart next, but decided to do so in a
separate CL.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27162 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 22:37:46 +00:00
scheglov@google.com 7f0d7dfd18 Tweaks for previous java2dart CL.
Missed them in previous CL...

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27155 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 22:00:55 +00:00
efortuna@google.com b0e059159f Adjust CustomElement as properties again.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27146 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 20:11:11 +00:00
sigmund@google.com 3fba647ba8 Apply several phases only to entrypoint files (which currently are identified as
those inside the web/ or test/ directory), and hide doctype warnings when
processing non entrypoint files.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27142 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 19:49:43 +00:00
scheglov@google.com e6ce94adab java2dart improvement - use field if getter/setter are trivial.
Also analyzer_experimental snapshot.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27138 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 19:17:38 +00:00
floitsch@google.com 0fa2f91c3c remove use of deprecatedFutureValue from html5lib
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27122 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 13:15:59 +00:00
sigmund@google.com b5e920e0bf Reenable polymer_expressions syntax_test.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27088 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 01:59:07 +00:00
nweiz@google.com fb3e580c5c Support loading transformer plugins from pub.
This is still missing some functionality, most notably the ability for
a transformer to import transformed code.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27085 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 00:43:24 +00:00
scheglov@google.com e8f8262517 New analyzer_experimental snapshot.
And java2dart improvements for better inner classes support.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27078 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 21:46:33 +00:00
alanknight@google.com e0234b8da6 Allow creating VariableSubstitution by name or by index
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27077 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 21:46:41 +00:00
pquitslund@google.com f8c8395201 Formatter comment-handling improvements.
A bit messy but ready to checkpoint. Should handle the major cases.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27074 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 19:21:14 +00:00
lrn@google.com eaf1021a87 Make HashMap constructor a factory.
Add optional parameters that aren't supported yet.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27044 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 11:45:12 +00:00
ricow@google.com 713a068bc2 Remove suppression for issue 12429
This is fixed by the v8 roll in revision 27038

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27042 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 11:16:38 +00:00
ahe@google.com c4540b4034 Pub integration tests sometimes need more than 20 seconds.
Also, revert "Increase timeout of some pub tests."

This reverts commit r26976.

BUG=http://dartbug.com/12983
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27031 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 08:33:04 +00:00
johnniwinther@google.com 4c7b97d041 Remove reference to unimported Future.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27030 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 08:28:11 +00:00
johnniwinther@google.com 3d22a350b3 First pass at asynchronous input loading in dart2js.
R=ahe@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27028 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 08:04:38 +00:00
scheglov@google.com 2407a0bc51 Restore pkg.status item.
TBR

R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27021 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 19:41:46 +00:00
scheglov@google.com 5f27a4f4ad java2dart improvements and new analyzer_experimental snapshot.
1. All enums extend Enum class.
2. Remove more unneeded parentheses.
3. Remove type arugments for types with all wildcards.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27020 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 19:01:22 +00:00
lrn@google.com 53dc9ba034 Change the field and constructor parameter types of NoSuchMethodError to Symbol.
The NSME uses strings for names. It should use symbols.

This change modifies the VM libraries only enough to make the signature change
not crash. It will probably need cleanup to ensure that symbols are passed
to the internal constructor directly, instead of strings that have to be
converted.

(Also fixes a type error in Map.fromIterable that was hit by the code).

BUG= http://dartbug.com/11190
R=ahe@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26985 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 05:57:49 +00:00
ahe@google.com 1ec950324d custom_element_test is flaky
Review URL: https://codereview.chromium.org//23550004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26983 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-01 06:26:53 +00:00
ahe@google.com f497cd1f59 Update status file for crashing test.
Review URL: https://codereview.chromium.org//23537007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26980 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-31 13:46:22 +00:00
ahe@google.com fcd389b80f Add timeout getter to Configuration.
Review URL: https://codereview.chromium.org//23702020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26975 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-31 10:01:00 +00:00
ahe@google.com a5f62a3902 TestCase times out after 20 seconds.
R=gram@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26974 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-31 09:24:52 +00:00
sigmund@google.com b7337fe3b6 Mark html5lib browser_test as skip (it's now being detected as a test for
test.dart, but it's not supported).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26964 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-31 00:35:47 +00:00
blois@google.com e978a60f39 Skipping polymer_expressions/test/syntax_test
TBR
BUG=https://code.google.com/p/dart/issues/detail?id=12954

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26961 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-31 00:13:32 +00:00
blois@google.com 761b1a4180 Fixing status of analyzer_experimental/test/options_test
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26959 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 23:15:29 +00:00
scheglov@google.com 0b6ae2575c Fix analyzer_experimental hints: remove unused imports.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26944 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:11:46 +00:00
jmesserly@google.com 7a091dcfca Turn on Polymer TodoMVC tests on Dart buildbots
The biggest changes are to the examples, but there's a small tweak to test_suite.dart as well, so it can load the HTML files.

For now, we only test the development loop (content_shell+Dart VM). I'm working on changes to enable us to test the deploy story with dart2js.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26943 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:09:06 +00:00
blois@google.com 6570db562c Revert "Basic functionality is working with JS native support and polyfill, still some issues with dart2js typechecking."
This reverts commit r26935. Failing in FF checked on type extension and IE9 on synchronous constructor upgrading, need to investigate.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26938 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:37:23 +00:00
blois@google.com 5607d75eca Basic functionality is working with JS native support and polyfill, still some issues with dart2js typechecking.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26935 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:08:19 +00:00
efortuna@google.com ea773ef953 Update CustomElement as well.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26931 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 17:41:30 +00:00
alanknight@google.com 1e6838f8f4 Re-arrange tests to allow testing generated messages code in dart2js
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26927 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 17:03:39 +00:00
whesse@google.com b386f70f4c Mark a pub test flaky on macos
BUG=http://dartbug.com/12837
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26913 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 13:43:48 +00:00
sigmund@google.com bd53fa0cc8 Change in deploy.dart to make it easier to run in run.sh without running pub.
You probably will delete some of this, but wanted to have things working better.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26900 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 02:00:05 +00:00
sigmund@google.com 36c012b8a2 Get rid of doctype warning in analyzer
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26895 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 22:44:00 +00:00