Commit Graph

547 Commits

Author SHA1 Message Date
nweiz@google.com dbb72ee35d Get the pub oauth2 test passing locally.
Review URL: https://codereview.chromium.org//12191008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18103 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 00:57:25 +00:00
pquitslund@google.com 5b8c1da46d Simple parser driver example.
Review URL: https://codereview.chromium.org//12183033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18097 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 00:26:00 +00:00
pquitslund@google.com 1ea91e6409 Status file updates in quest for test greenness.
Review URL: https://codereview.chromium.org//12185033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18095 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 00:14:45 +00:00
pquitslund@google.com 76e80c3949 Generated scanner and parser tests.
Review URL: https://codereview.chromium.org//12188023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18094 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 00:02:08 +00:00
gram@google.com 65ee0311b8 Fix issue 8218: "part of" directive comes after dartdoc comment.
https://code.google.com/p/dart/issues/detail?id=8218
Review URL: https://codereview.chromium.org//12180024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18093 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 23:49:21 +00:00
pquitslund@google.com 57f1462885 Drop of generated scanner and example scanner driver.
(Tests to follow.)
Review URL: https://codereview.chromium.org//12197019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18087 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 22:59:51 +00:00
floitsch@google.com cb1bff12b6 Revert "Remove Sink and move CollectionSink to async."
This reverts commit 18063.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18067 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 19:30:15 +00:00
floitsch@google.com 02f6b1835d Remove Sink and move CollectionSink to async.
Review URL: https://codereview.chromium.org//12154006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18063 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 19:03:55 +00:00
nweiz@google.com 18d274df07 Use the dart:async Stream API thoroughly in Pub.
This was originally submitted as r17822, and rolled back in r17867. There are no
changes, but in preparation for the dart:io Stream changes we're applying this
with the intent to mark Windows tests as failing.

BUG=7807

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17996 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 19:42:09 +00:00
blois@google.com 1fb79cdb28 Resubmit "Adding ease-of-use methods to HttpRequest."
Fixing the dependent pkg/intl code.

This is the same as my previous CL, but with the modification to pkg/intl/lib/src/http_request_data_reader.dart

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17949 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 22:40:04 +00:00
pquitslund@google.com 418d5bab53 Generated code README and headers.
Review URL: https://codereview.chromium.org//12099004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17931 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 17:29:36 +00:00
efortuna@google.com 1ba9a4d49d Addressed Martin's comments.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17930 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 17:26:47 +00:00
lrn@google.com 9b23dff467 Reapply "Rename mappedBy to map."
This reverts commit r17907.

TBR.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17918 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 15:12:56 +00:00
floitsch@google.com b1a118d5ce Revert "Rename mappedBy to map."
This reverts commit 17899.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17907 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:02:27 +00:00
lrn@google.com 0dc2f4b1ba Rename mappedBy to map.
Retain a deprecated mappedBy for now.
Change return type of mappedBy, skip and take on List to Iterable.

BUG= http://dartbug.com/8063
BUG= http://dartbug.com/8064
BUG= http://dartbug.com/6739
BUG= http://dartbug.com/7982

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17899 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 12:37:13 +00:00
efortuna@google.com 62c5dc425f Update test expectations and address Martin's DBC. Oh what fun to test on platforms you can't repo locally...
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17883 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 00:13:43 +00:00
efortuna@google.com 532b0a7e0e Fix Safari "multitest" failure.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17882 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 23:53:42 +00:00
floitsch@google.com e024c74a5f Remove List.filled constructor.
Review URL: https://codereview.chromium.org//12041019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17871 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 20:10:27 +00:00
nweiz@google.com 8be520740e Roll back Pub stream changes.
These changes are still breaking the Windows bots, so I'm rolling them back
until we figure out what's going on.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17867 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 19:26:03 +00:00
nweiz@google.com d56994eb18 Use the dart:async Stream API thoroughly in Pub.
Review URL: https://codereview.chromium.org//12021008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17821 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 01:06:39 +00:00
nweiz@google.com b2a13038b2 Always treat headers as individual strings in pkg/http.
BUG=8049

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17819 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 00:06:40 +00:00
sigmund@google.com aeca565ae9 Fix build for throwsStateError: remove duplicate definitions in other tests.
Review URL: https://codereview.chromium.org//12088056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17812 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 21:47:05 +00:00
sigmund@google.com dbaec07e76 Add matches for StateErrors
BUG=http://dartbug.com/8137

Review URL: https://codereview.chromium.org//12077045
Patch from Matthew Butler <butler.matthew@gmail.com>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17811 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 21:21:22 +00:00
floitsch@google.com 1b65d1175b Remove import of collection-dev.
Review URL: https://codereview.chromium.org//12096042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17802 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 19:29:54 +00:00
blois@google.com f46672cb73 Converting tests over to using event streams.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17735 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 23:31:15 +00:00
alanknight@google.com d455506421 Serialization shouldn't modify the keys of a map it's iterating over
Review URL: https://codereview.chromium.org//12091026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17727 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 18:55:35 +00:00
alanknight@google.com 205d67aa3f Add a MapRule
Review URL: https://codereview.chromium.org//11931030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17724 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 17:57:11 +00:00
jmesserly@google.com 61c97e7325 Restructure YAML package suitable for pub lish
After this I can use tools/publish_pkg.py upload script to fix dartbug.com/4126

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17685 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-26 02:25:43 +00:00
alanknight@google.com 76bce685bb Remove the code that attempts to find a locale from the command line VM in Windows.
Review URL: https://codereview.chromium.org//12038073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17674 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:56:02 +00:00
pquitslund@google.com b994cf3dca Library skew fix (in quest for build greeness) [TBR].
Review URL: https://codereview.chromium.org//12092002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17672 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:38:38 +00:00
pquitslund@google.com 07716c5523 Options parsing cleanup.
Review URL: https://codereview.chromium.org//12049028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17669 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:25:29 +00:00
alanknight@google.com 867e2fb38c Put back status file entry for russian windows locale test, it's still not working
Review URL: https://codereview.chromium.org//12033081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17590 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:06:42 +00:00
alanknight@google.com e17f6ef909 Make standalone (non-browser) locale detection for windows also accept short locale names
Review URL: https://codereview.chromium.org//11953069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17588 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 18:51:50 +00:00
floitsch@google.com ed938af868 Rename new Uri.fromString to Uri.parse.
Review URL: https://codereview.chromium.org//12052038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17562 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 13:26:18 +00:00
floitsch@google.com fb7b9e3c5c Rename Date to DateTime.
BUG=http://dartbug.com/1424

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17549 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 12:16:37 +00:00
iposva@google.com 57f62dd2e1 - Make sure we can "run" all tests using simarm/simmips.
Review URL: https://codereview.chromium.org//12042065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17516 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 00:42:04 +00:00
rnystrom@google.com 458aed6884 Add a README for path.
Review URL: https://codereview.chromium.org//12047035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17487 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 18:56:25 +00:00
rnystrom@google.com f053f356ee Clean up code that locates SDK and SDK version.
This is prep work for SDK constraints. It moves the SDK
version-related code out of SdkSource (which will go away at some
point) into its own library.

I also removed the need for the DART_SDK env variable. It will
still be used if set (which the tests need), but if not set, Pub
will locate the SDK.
Clean up a few static warnings.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17433 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 23:52:37 +00:00
efortuna@google.com 5087eedf93 Adjust pkg status for analyzer-experimental tests.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17419 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 20:38:15 +00:00
pquitslund@google.com 2ff0092e2a Package re-name in quest for build greenness.
Review URL: https://codereview.chromium.org//12035030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17418 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 19:23:42 +00:00
pquitslund@google.com 75aa743c9a SVN cleanup (unversioning mis-versioned files).
Review URL: https://codereview.chromium.org//12038024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17415 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 18:54:43 +00:00
pquitslund@google.com d08fa1edcd Experimental analyzer front-end baby-steps.
Notably:
  * basic package layout,
  * commandline parsing, and
  * a few tests

Much more to come! :)
Review URL: https://codereview.chromium.org//11938028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17414 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 18:37:04 +00:00
hausner@google.com a885f8638b Fix map literals from change 17410
Remove any type arguments from map literals
that had one type argument before change 17410.
Review URL: https://codereview.chromium.org//12045024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17412 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 17:31:29 +00:00
hausner@google.com dc3bf6646a Stop supporting map literals with 1 type argument
To be checked in next week Tue (Jan 22)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17410 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 16:48:00 +00:00
lrn@google.com 16795f22d1 Add List.reversed to give a reverse fixed-length view of a list.
Review URL: https://codereview.chromium.org//11896013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17402 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 14:56:45 +00:00
floitsch@google.com 1febeb689a Move some core classes to collection library.
Review URL: https://codereview.chromium.org//11867024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17352 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 13:34:02 +00:00
lrn@google.com 0e934a631e Add methods to Collection.
Methods are:
- void add(E)
- void addAll(Iterable<E>)
- void remove(Object)
- void removeAll(Iterable)
- void retainAll(Iterable)
- void removeMatching(bool test(E))
- void retainMatching(bool test(E))

They have been implemented for List and Set only.

Default implementations of removeX methods in Collections assume an efficient
remove method, which Lists won't have.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17257 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 10:13:51 +00:00
nweiz@google.com 03244ffee1 Stop treating StreamController as a Stream.
Apparently StreamController will soon stop extending Stream, so this gets rid of
all uses of it as a Stream in pkg/http and pub.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17163 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 21:35:45 +00:00
alanknight@google.com ddd106b523 [ak] Fixed
Review URL: https://codereview.chromium.org//11889039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17152 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 18:21:34 +00:00
nweiz@google.com 013b0104f5 Add an ErrorGroup class to Pub.
Review URL: https://codereview.chromium.org//11941003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17106 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 00:12:30 +00:00