Commit Graph

25510 Commits

Author SHA1 Message Date
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
scheglov@google.com 9b392dc79c ListWrapper tweak.
R=devoncarew@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21410 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-14 19:16:58 +00:00
floitsch@google.com 94fd64a5e2 Import math library with a prefix.
Review URL: https://codereview.chromium.org//14111004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21406 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-13 13:17:13 +00:00
scheglov@google.com 2ec62cfb39 Backport analyzer-experimental changes to 'resources'.
R=devoncarew@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21385 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 20:16:49 +00:00
nweiz@google.com 1dc981b2cc Don't run tests in "packages" directories.
BUG=9866

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21384 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 19:59:20 +00:00
ahe@google.com 13bcc022e6 Correctly compile unresolved for-in loops.
BUG=http://dartbug.com/6725

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21342 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 10:19:51 +00:00
ajohnsen@google.com 4091b19941 Add length getter to ListWrapper.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21339 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 09:44:50 +00:00
ajohnsen@google.com 044f0d02eb Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21338 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 09:34:52 +00:00
floitsch@google.com 285849c801 Change hasSubscribers to hasListener.
Review URL: https://codereview.chromium.org//14103010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21337 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 09:30:05 +00:00
ricow@google.com 5198c3914a Mark scheduled_test/test/scheduled_server_test as flaky chrashing
Updated issue 9582.
Review URL: https://codereview.chromium.org//14221007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21327 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 07:17:28 +00:00
ajohnsen@google.com dcaf52732e Remove StreamSink(replaced by EventSink) and make IOSink extend EventSink.
With this change 'writeBytes' was renamed to 'add'.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21275 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 12:54:19 +00:00
ajohnsen@google.com 57161d6e59 Remove deprecated CollectionSink and Stream.pipeInto.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21261 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 09:31:50 +00:00
ajohnsen@google.com 974a300cad Remove deprecated <, <=, >, and >= of DateTime.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21260 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 09:27:54 +00:00
lrn@google.com f41508d33b Added new version of reduce.
Removed min/max and uses of min/max.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21258 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 08:32:31 +00:00