Commit Graph

823 Commits

Author SHA1 Message Date
gram@google.com c2b4a4e4a9 TBR: Removed const from CustomMatcher constructor. dartc doesn't like it.
Review URL: https://codereview.chromium.org//14336015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21978 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 20:32:30 +00:00
gram@google.com 05c26aafc3 The matcher argument to the CustomMatcher constructor no longer has to be a matcher; it will be wrapped if not.
Addresses https://code.google.com/p/dart/issues/detail?id=9924

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21975 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 20:19:12 +00:00
kevmoo@j832.com 5b3f73e2a8 pkg/unittest: more cleanup pulled from a defunct CL
Lot's of un-used private methods

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21973 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 19:32:24 +00:00
kevmoo@j832.com fb6ea9481a pkg/unittest: use better async callback function
Review URL: https://codereview.chromium.org//14293015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21968 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 18:26:16 +00:00
alanknight@google.com c9f0368d7d Allow suppressing message extraction warnings, providing a prefix for generated files, and format warnings better.
Review URL: https://codereview.chromium.org//13898014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21959 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 17:03:36 +00:00
dgrove@google.com b2c3ec3d20 Remove version, which allows the version to be updated automatically
when the package is uploaded.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21956 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 16:18:01 +00:00
kustermann@google.com 0cea864629 Only stop HTTP server if it was actually started.
Review URL: https://codereview.chromium.org//14052008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21939 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 11:32:27 +00:00
ajohnsen@google.com 55963a1a6d Add new InternetAddress class with a static lookup function (including IPv6
results).

Reapply of https://codereview.chromium.org/13880029/ with fixes.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21934 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 09:26:58 +00:00
ajohnsen@google.com 60946b53fc Revert "Add new InternetAddress class with a static lookup function (including IPv6 results)."
Revert "Attempt to fix strict align issue."
Revert "Trying another fix."

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21928 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 08:10:00 +00:00
ajohnsen@google.com 20d1f5ddda Add new InternetAddress class with a static lookup function (including IPv6 results).
Reapply of https://codereview.chromium.org/14083007/ with fixes.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21923 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 07:12:05 +00:00
nweiz@google.com 0ff9830d88 Fix a bug in pathToFileUri.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21916 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 01:00:03 +00:00
kevmoo@j832.com 63fb820dda pkg/unittest: Included traces in more places
when the rest returns as a future
when test setup is a future and fails

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21915 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 00:58:07 +00:00
nweiz@google.com 18ef5b5d80 Clean up various ways we find paths in pub.
This makes it so that it's never necessary to pass in DART_SDK.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21914 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 23:55:46 +00:00
alanknight@google.com 0c2102f7e8 Explain better than the en_US locale is always available, fix other doc glitches.
Review URL: https://codereview.chromium.org//14270009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21910 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 22:32:00 +00:00
gram@google.com 2020096826 Retrying the setUp/tearDown chaining change. This is the same as r21819 but with a change to scheduled_test.dart.
Review URL: https://codereview.chromium.org//13973021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21902 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 21:09:42 +00:00
ager@google.com 431954b584 Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
nweiz@google.com cdb1f717a3 Use UnmodifiableListView to expose read-only lists.
Review URL: https://codereview.chromium.org//14394003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21855 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 23:05:30 +00:00
gram@google.com 7adc8e602e TBR: Revrt r21819 until I can figure out why ity is breaking the scheduled_test package.
Review URL: https://codereview.chromium.org//14212003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21826 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 17:54:07 +00:00
gram@google.com 20482d1d60 TBR: Mark test as flaky in jsshell.
See https://code.google.com/p/dart/issues/detail?id=10109

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21821 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 17:33:52 +00:00
gram@google.com f435c7f836 Chaining of setup/teardown.
Review URL: https://codereview.chromium.org//14092004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21819 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 17:11:02 +00:00
alanknight@google.com 1e92447b78 Update pkg/serialization to use Symbols and synchronous mirrors
Review URL: https://codereview.chromium.org//13982012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21818 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 17:00:58 +00:00
gram@google.com c01da569cd TBR: Fix type matcher regexps; dart2js sees 5.0 as an int so changed to 5.1.
Review URL: https://codereview.chromium.org//14381002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21776 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 22:24:22 +00:00
gram@google.com 2a43988010 Improved error messages for type mismatches.
Review URL: https://codereview.chromium.org//14367005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21774 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 21:23:05 +00:00
sethladd@google.com 8fd2c2e5ea add installation instructions to pkg packages
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21770 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 20:51:10 +00:00
kevmoo@j832.com 8313e6dbb1 unittest: testCases back to being UnmodifiableListView
There is a bug in the new analyzer which reports this not being List.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21769 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 20:42:18 +00:00
kevmoo@j832.com 421527f1d4 Revert r21707 "unittest: big cleanup, tightened test semantics"
Review URL: https://codereview.chromium.org//14189009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21713 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 23:48:05 +00:00
kevmoo@j832.com d5bff306b2 unittest: big cleanup, tightened test semantics
This ensures that group/test etc are not called when the test system is already running

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21707 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 21:34:38 +00:00
nweiz@google.com 0108762037 Remove a test for testCases being immutable.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21703 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 20:44:44 +00:00
nweiz@google.com d6d8cdba20 Use testCases instead of _testCases in unittest.dart.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21702 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 20:31:19 +00:00
nweiz@google.com 89cb31e4c4 Fix some warnings in pub and pkg packages.
Review URL: https://codereview.chromium.org//13817008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21701 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 20:24:47 +00:00
ahe@google.com 77058c1ff1 Update status for minified and fix a type warning
Review URL: https://codereview.chromium.org//13998030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21697 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 20:01:25 +00:00
ahe@google.com 2abb5be5ec Implement Symbol correctly in dart2js.
Review URL: https://codereview.chromium.org//14079003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21694 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 19:25:22 +00:00
scheglov@google.com ff7f4ecbd7 Generate unique names less aggressively.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21661 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 00:08:02 +00:00
scheglov@google.com b3fe462ed0 Issue 9845. Compare runtime types using ==.
https://code.google.com/p/dart/issues/detail?id=9845

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21649 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 19:07:06 +00:00
ahe@google.com 2e69d4ee2b Update status files to make build green
Review URL: https://codereview.chromium.org//13977015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21606 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 08:42:07 +00:00
ahe@google.com 89be2ccac8 Change memberName and namedArguments in Invocation to use Symbol.
Review URL: https://codereview.chromium.org//14066019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21602 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 07:54:48 +00:00
scheglov@google.com 4c753a9806 New Analysis Engine snapshot.
R=pquitslund@google.com,brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21585 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 22:21:16 +00:00
nweiz@google.com 984c6f05c4 Restructure the yaml package.
Review URL: https://codereview.chromium.org//14103026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21571 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 20:05:22 +00:00
nweiz@google.com 3b97303e17 Fix a syntax error in webdriver.
Review URL: https://codereview.chromium.org//14077012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21527 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 23:11:58 +00:00
floitsch@google.com 466d6670c1 Refactor Future constructors.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21517 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 21:24:27 +00:00
floitsch@google.com 62d413ec91 Remove StreamController.broadcast.
Review URL: https://codereview.chromium.org//14136004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21499 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 19:08:17 +00:00
floitsch@google.com 5431a5af54 Remove AsyncError with Expando.
Review URL: https://codereview.chromium.org//14251006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:58:32 +00:00
floitsch@google.com e2ee353940 Rename unsubscribeOnError to cancelOnError.
Review URL: https://codereview.chromium.org//14251013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21469 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 16:07:36 +00:00
ahe@google.com 5b6c0ba820 Rename InvocationMirror to Invocation.
Review URL: https://codereview.chromium.org//14049009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21465 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:42:44 +00:00
floitsch@google.com 759a366cea Remove insertRange.
Review URL: https://codereview.chromium.org//13956006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21464 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:20:16 +00:00
floitsch@google.com 9bfc844930 Refactor removeRange.
Review URL: https://codereview.chromium.org//13872007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21462 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:10:23 +00:00
ahe@google.com 45ad548837 Update dart:mirrors to use Symbol.
Review URL: https://codereview.chromium.org//14173005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21460 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:00:45 +00:00
lrn@google.com 485c8a5999 Move Iterable implementation to collection.
Add IterableMixin and IterableBase to dart:collection.
For now, the implementation is duplicated, because mixins and const
constructors don't mix. We hope that mixins will be improved in the
future to allow using the mixin to define the base class.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21457 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 14:32:16 +00:00
lrn@google.com 0f607e459c Remove methods on StackTrace class.
The API is not ready for finalization, so we remove it for further
development after M4.

Makes dart2js's StackTrace object implement dart:core's StackTrace.
Marks dart2js stack-trace tests as Fail instead of Skip.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21437 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 11:44:30 +00:00
ajohnsen@google.com 67650cb16e Remove .writeStream, .consume and rewrite IOSink to correctly implement a (sane) well-defined behaviour of the .done future.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21416 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 07:35:45 +00:00