Commit Graph

2071 Commits

Author SHA1 Message Date
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
ahe@google.com a260cab0d6 Update dartc status.
Review URL: https://codereview.chromium.org//14263010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21473 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 16:42:48 +00:00
floitsch@google.com f553392322 Change StreamController constructor.
Review URL: https://codereview.chromium.org//14196003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21472 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 16:34:26 +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 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
floitsch@google.com 457dffa030 Add StreamSubscription.asFuture.
Review URL: https://codereview.chromium.org//14237002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21441 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 12:17:07 +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
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
johnmccutchan@google.com 968e805cfc Unboxed load/store indexed of Float32x4
Review URL: https://codereview.chromium.org//13818006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21274 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 12:50:46 +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
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
gbracha@google.com e08647bfd3 BREAKING CHANGE: Rename InstanceMIrror.invoke, .getField, .setField to invokeAsync, getFieldAsync, setFieldAsync. Likewise ClosureMirror.apply and ClassMIrror.newInstance. This is in preparation of new synchronous versions of the originals.
Review URL: https://codereview.chromium.org//13967003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21242 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:58:22 +00:00
kevmoo@j832.com 470b770a51 lib/utf: remove codepointsToString
point folks to use String.fromCharCodes

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21151 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 13:51:05 +00:00
lrn@google.com 864b4472bc Fix stream_controller_test failure.
Review URL: https://codereview.chromium.org//13814010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21145 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 10:54:07 +00:00
lrn@google.com 7e9e78d159 Make EventTransformerStream's subscription not send events after cancel.
Also make Stream.firstm, Stream.single and Stream.elementAt cancel
their subscription before completing the future, instead of after.

BUG=http://dartbug.com/7964

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21140 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 09:26:43 +00:00
floitsch@google.com 343fa26d65 Remove deprecated Expect from the libraries.
Review URL: https://codereview.chromium.org//13724021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21079 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 16:07:34 +00:00
floitsch@google.com 8fd6d0aafd Remove Expect from core library.
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:43:16 +00:00
floitsch@google.com e72250e49b StreamConsumer has an addStream and a close functions.
The 'consume' function will be removed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20979 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:22:11 +00:00
floitsch@google.com bef8ebb5f6 Add Iterable.fold (and Stream.fold) which replace reduce.
For now this is just a copy. In a next step we will change the behavior of
`reduce`.

BUG= http://dartbug.com/9536

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20978 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:12:40 +00:00
ahe@google.com 7ccd8ad5ef Wrapping files without library tags is neither necessary nor correct anymore.
Review URL: https://codereview.chromium.org//13674004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20971 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:11:40 +00:00
floitsch@google.com 34d86168b4 Mark periodic4-test as flaky and add debug information.
Review URL: https://codereview.chromium.org//13541002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20868 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 15:33:29 +00:00
floitsch@google.com 8c4cb66a14 Make stream_periodic4_test more resilient against computer loads.
BUG= http://dartbug.com/9367

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20849 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 12:06:48 +00:00
mdakin@google.com 2402ddabfa Add base64 decoder and change existing base64 encoder.
New implmentation supports url/file safe encoding and should be faster.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20845 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 10:45:35 +00:00
ngeoffray@google.com 52326455b0 Update status files.
Review URL: https://codereview.chromium.org//13190005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20726 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-01 10:15:12 +00:00
asiva@google.com 1d8b30b3de Remove reference to scalarlist library in internal analyzer test.
Review URL: https://codereview.chromium.org//13328003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20685 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 18:49:34 +00:00
efortuna@google.com 9f29a23b66 Update status file.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20596 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 23:17:08 +00:00
efortuna@google.com 1f24eeecb3 Update status files.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20594 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 22:38:17 +00:00
johnmccutchan@google.com 5b140f8452 Really remove SIMD types from dart:scalarlist. Fixes build.
Review URL: https://codereview.chromium.org//12907023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20563 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 17:06:41 +00:00
johnmccutchan@google.com d516a7acde Review changes
Review URL: https://codereview.chromium.org//12982010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20559 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 14:44:15 +00:00
johnmccutchan@google.com e07063f389 Revert 12534006
Review URL: https://codereview.chromium.org//13093005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20526 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 17:40:25 +00:00
johnmccutchan@google.com 7b1d3b9134 Port SIMD types from dart:scalarlist to dart:typeddata.
Review URL: https://codereview.chromium.org//12534006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20522 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 16:50:26 +00:00
floitsch@google.com a104ba2d4b Give VM a millisecond safety margin for the test.
Review URL: https://codereview.chromium.org//13008020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20384 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 15:46:07 +00:00
lrn@google.com 9834ddc96b Mark stream_pariodic4 as flaky.
When running on a machine with heavy load, even 100ms isn't always
enough for a 5ms period timer.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20371 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 10:16:39 +00:00
ager@google.com e3b397457f Increase the allowed heap size for slow consumer test. We hit the limit in dartium x64 checked mode.
R=lrn@google.com
BUG=dartbug.com/9345

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20369 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 09:18:39 +00:00
ager@google.com 4aaa011c29 Update suppression. The OOM is treated as a failure and not a crash.
R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20333 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 17:33:12 +00:00
ager@google.com 9038054091 Add suppression for test that runs out of memory on dartium buildbots.
R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20329 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 17:02:56 +00:00
floitsch@google.com ab09c261fe Add safetymargin.
Review URL: https://codereview.chromium.org//12617013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20225 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 18:04:19 +00:00
floitsch@google.com 789a144672 Add margin to browser tests and not VM...
Review URL: https://codereview.chromium.org//12516012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20212 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 15:57:27 +00:00
floitsch@google.com 88dc9f5d8c Add safetymargin for timer tests in browsers.
Review URL: https://codereview.chromium.org//12855003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20209 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 15:13:30 +00:00
floitsch@google.com 61b307fb6a Move timer tests to async tests.
Review URL: https://codereview.chromium.org//12812014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20203 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 13:20:35 +00:00
ricow@google.com 10ba4e37fb Remove time dependent part of test
This is flaking
Review URL: https://codereview.chromium.org//12706014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20158 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 13:55:55 +00:00
floitsch@google.com 05905fd4b6 Add Stream.periodic.
BUG= http://dartbug.com/8477

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20021 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 13:43:35 +00:00
floitsch@google.com 65718c56df Rename XMatching to XWhere.
For example firstMatching -> firstWhere.

BUG= http://dartbug.com/8664
BUG= http://dartbug.com/8337

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19880 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 17:34:49 +00:00
lrn@google.com a97e459e1a Make lib/async/async4 pass or fail.
Review URL: https://codereview.chromium.org//12611017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19779 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 12:08:30 +00:00
floitsch@google.com cf677c0513 Update status file.
Review URL: https://codereview.chromium.org//12554008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19771 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 10:34:12 +00:00
floitsch@google.com cf605283e2 Add first version of runAsync.
Review URL: https://codereview.chromium.org//12380060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19768 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 10:08:28 +00:00
floitsch@google.com 5dc8107c53 Revert "Remove Expect from core library."
This reverts commit 19755.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19756 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 03:19:07 +00:00
floitsch@google.com 12dbd2fd70 Remove Expect from core library.
Review URL: https://codereview.chromium.org//12212016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19755 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 02:40:37 +00:00