Commit Graph

25510 Commits

Author SHA1 Message Date
alanknight@google.com a74007e83b Documents the exception on DateFormat.parse
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26894 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 22:28:13 +00:00
blois@google.com 3ac13ad168 Fixing analyzer error in polymer_expressions.
Was complaining "The name 'hash' cannot be referenced in the initializer of a variable with the same name", seems like an incorrect error message for this code (though it is arguably less confusing this way).

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26892 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 21:33:39 +00:00
blois@google.com 52f201e87c Wanted to get these out of the way because I was working on some other analyzer bugs.
Still a number of warnings in visitor.dart, opened https://code.google.com/p/dart/issues/detail?id=12912 for those.

BUG=
R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26889 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 19:46:34 +00:00
scheglov@google.com e1157956e4 Fix StringSource.
R=brianwilkerson@google.com, nweiz@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26885 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 18:19:20 +00:00
scheglov@google.com d5491a3c48 Fix build for pub after new analyzer_experimental snapshot.
R=brianwilkerson@google.com, jmesserly@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26883 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 17:22:33 +00:00
scheglov@google.com 663530693f New analysis_experimental snapshot.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26876 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 16:30:24 +00:00
sigmund@google.com 8e097beaac Mark sequence_zip test as flaky.
Review URL: https://codereview.chromium.org//23745002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26838 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 02:37:19 +00:00
kevmoo@j832.com 331b9d2500 pkg/observe: wrapMicrotask should return the result the provided testCase
pkg/observe: removed unused imports

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26837 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 02:09:44 +00:00
sigmund@google.com 02a943a09d Fix observable transform bug introduced in a recent change, add regression tests
for it.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26836 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 01:32:19 +00:00
sigmund@google.com a43815cae0 Remove processing of dart code, summary.dart, simplified info.dart
(note: this builds on top of the previous CL)

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26832 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 00:34:22 +00:00
sigmund@google.com 3074dc4518 Move observe to observe package
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26830 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 00:14:16 +00:00
sigmund@google.com 389feb691b Prune the old deploy code. This CL does a few changes:
- includes a few new steps in the deploy transforms that were missing
 - deletes emitters.dart, paths.dart (which were only needed for generating
   code), bin/dwc.dart (we never used this)
 - changes test/run.sh to run from pkg/polymer/.
 - updates tests expectations to match the new output
 - for now, disable using shadowdom-polyfill in render tests because they
   mismatch the results you'd get without the polyfill (css is changed with the
   polyfill)

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26828 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 00:07:02 +00:00
rnystrom@google.com 193dfd7481 Make Transform a little more pleasant to use:
- Provide the primaryInput asset synchronously (#12515).
- Add convenience methods for reading input assets (#12516).

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26822 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 22:37:40 +00:00
pquitslund@google.com ecb28b573a Formatter main overwrite flag fix.
R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26821 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 22:31:08 +00:00
rnystrom@google.com c685af6b0f Fix a few warnings.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26820 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 22:27:58 +00:00
sra@google.com 15fc29db41 Fix assert in int64 and add test
Review URL: https://codereview.chromium.org//23490010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26816 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 20:52:07 +00:00
pquitslund@google.com fc536769a1 Path fixes for formatter main.
R=rnystrom@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26815 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 20:29:51 +00:00
blois@google.com 11515b0a9a Fixing first-chance exception in TodoMVC
The object coming in was null and the property was a Symbol, so it was getting a null error in the mirror.getField.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26808 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 18:09:57 +00:00
pquitslund@google.com 803a98a3c9 Directory processing for the formatter main.
R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26805 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 17:51:43 +00:00
alanknight@google.com c2d9d8cd2e Disable Intl deferred loading until it works in dart2js
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26803 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 17:33:10 +00:00
floitsch@google.com 426e2b0ced Fix missing quote.
Review URL: https://codereview.chromium.org//23532008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26797 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 15:57:30 +00:00
floitsch@google.com e95105d602 Remove dart:utf in third_party.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26796 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 15:40:46 +00:00
floitsch@google.com d213b9d1f4 Remove use of dart:json from third_party.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26795 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 15:39:35 +00:00
floitsch@google.com 74da0c7286 Remove usage of dart:json.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26789 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 14:05:11 +00:00
floitsch@google.com a1a91eb915 Add async_helper package.
This package is private and should not be published to pub (nor should
its documentation be published to api.dartlang.org).

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26774 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 09:24:50 +00:00
sra@google.com bed52fac0d More efficient Int64 parsing and printing.
This replaces code that generates lots of temporary Int64 objects with
code that works almost entirely usings SMI values in local variables.
Printing generates numbers several digits at a time.

Speedup is 10x for parsing and 100x for printing on dart2js and a little over 5x each on the VM.

Printing produces hex digits in the same case as int.toString.

R=cbracken@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26760 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 01:34:06 +00:00
blois@google.com 93c361dd36 This is an updated version of https://codereview.chromium.org/16374007/
Original submission is the first patch, fixes are the second.

There were two issues with the original-
  - Issue with URI sanitization where relative URIs on IE were being dropped.
  - Analyzer issue on missing members for CustomElement.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26757 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 01:03:01 +00:00
blois@google.com 2cb45c9124 Suppressing exceptions in Dartium's dart:js usage
Trying to get code to start up clean with first-chance exceptions.

BUG=12548
R=jacobr@google.com, terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26753 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:46:14 +00:00
nweiz@google.com 9300846114 Use filtered stacks in pub, barback, and watcher tests.
This also exposes more unittest stuff to users of scheduled_test.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26751 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:13:30 +00:00
pquitslund@google.com 2a88e8858b Improved comment handling (and misc. formatter fixes).
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26746 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 21:55:58 +00:00
alanknight@google.com 5a965b5a45 Resume testing message extraction on Windows after dart:io fix
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26744 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 20:50:55 +00:00
alanknight@google.com 4c5223f7a6 Switched Serialization identityMap to use a wrapper, not linear search.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26737 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 19:08:00 +00:00
blois@google.com 43b08221c4 Fixing stack traces on IE10.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26735 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 18:35:08 +00:00
nweiz@google.com bec9ac685d Add an AssetStream class to Barback.
This makes it easier to create an asset from a stream of bytes.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26734 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 18:29:31 +00:00
sigmund@google.com a841cc9224 readd accidentally removed import.
Review URL: https://codereview.chromium.org//23619002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26729 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:25:10 +00:00
sigmund@google.com 6559184105 Fix read/write of binary assets in deploy
R=terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26725 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:16:27 +00:00
terry@google.com d2bf47bef9 Moved test changes to dart-lang
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26724 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:14:20 +00:00
alanknight@google.com 8da15c52f0 Remove hack for finding package-root in tests, now available in Platform
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26721 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 16:55:31 +00:00
alanknight@google.com 578d4c24e4 Change reflective serialization rules to be able to take type literals
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26720 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 16:53:42 +00:00
kathyw@google.com 160c6b4621 mime library description
R=mcampione@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26713 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 14:27:46 +00:00
floitsch@google.com 1887b5ca49 Some more removals of dart:utf.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26712 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:18:34 +00:00
floitsch@google.com 8921f4bbf9 Add utf package.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26711 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:13:21 +00:00
floitsch@google.com 03dc7cd423 Create json package.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26708 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 11:52:45 +00:00
ngeoffray@google.com cf82ac340b Update csslib expectations.
Review URL: https://codereview.chromium.org//23570002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26700 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 10:02:40 +00:00
lrn@google.com 6e34d019b4 Change test expectation on pkg/csslib/var_test for dart2js
Review URL: https://codereview.chromium.org//23513005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26699 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 09:49:28 +00:00
lrn@google.com 0fa1bbdf15 Reapply "Make Map constructors return LinkedHashMap."
Updated tests assuming a specific ordering of an unlinked hash map
to not be daft.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26693 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 08:43:46 +00:00
kathyw@google.com 9095fafcce add library descriptions for sequence_zip and the libraries it exports
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26691 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 08:00:09 +00:00
kathyw@google.com 19079d26da serialization library-level doc comments
R=mcampione@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26690 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 07:46:20 +00:00
mcampione@google.com cb9e2a5c10 Added docs for unmodifiable collection
BUG=
R=kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26689 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 07:41:53 +00:00
blois@google.com 24e9f22c90 Revert "First rev of Safe DOM"
This reverts commit 26681.

Some IE issues with URL validation that I need to investigate further.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26682 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 02:18:48 +00:00