sgjesse@google.com
921653a087
Add a new test suite 'analyze_tests'
...
The new test suite 'analyze_tests' will run the analyzer on the
selected tests, and fail if there are static type errors. Currently
only the tests in tests/standalone are included, but that can easily
be expanded.
The reason for starting this was that for M4 we where missing two
'part' files in io.dart (for the HttpBody utility class). This caused
the use of HttpBody in the editor to be complicated. With static type
checking on the tests which tested HttpBody this mistake would have
been caught.
R=ager@google.com , ricow@google.com , kustermann@google.com , ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//14436004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21944 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 12:47:13 +00:00
johnniwinther@google.com
f721629103
Change libraries map to use Uri.
...
Review URL: https://codereview.chromium.org//14178010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21929 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 08:19:24 +00:00
johnmccutchan@google.com
08c99e80e6
Inline Float32x4 Getters
...
Review URL: https://codereview.chromium.org//13872020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21897 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 17:52:10 +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
johnniwinther@google.com
9dfdd9634d
Status updated.
...
BUG=
Review URL: https://codereview.chromium.org//14120007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21806 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 10:58:23 +00:00
johnniwinther@google.com
b6b309de52
Change url to uri on LibraryMirror.
...
Review URL: https://codereview.chromium.org//14251005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21803 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 10:27:41 +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
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
floitsch@google.com
80aad7930f
Fix skipWhile.
...
BUG= http://dartbug.com/9480
Review URL: https://codereview.chromium.org//14242008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21623 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 15:39:42 +00:00
ngeoffray@google.com
573d68766f
Does not fail anymore.
...
Review URL: https://codereview.chromium.org//14323009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21613 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 10:34:55 +00:00
iposva@google.com
5b369cc1c4
- Implement reflectClass.
...
Review URL: https://codereview.chromium.org//14118011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21610 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 10:11:21 +00:00
lrn@google.com
084cc64ce1
Add Stream.forEach
...
Review URL: https://codereview.chromium.org//14312010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21608 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 09:13:16 +00:00
iposva@google.com
54d56ca5d8
- Add synchronous mirror API. Resurrects invoke, apply, newInstance,
...
getField and setField as synchronous calls that accept isolate-local
object as arguments.
Originally reviewed as https://codereview.chromium.org/14044007/
Review URL: https://codereview.chromium.org//13942008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21591 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 23:19:30 +00:00
vsm@google.com
b29a528fc6
Revert "Revert "Remove typeddata transferable constructors""
...
Take #2 . The only change here is the additional test fix under runtime that I missed.
Review URL: https://codereview.chromium.org//14119004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21586 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 22:36:04 +00:00
vsm@google.com
5a7d2854fa
Revert "Remove typeddata transferable constructors"
...
This reverts commit r21576. Looks like I missed some tests.
TBR=siva
Review URL: https://codereview.chromium.org//14130010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21580 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 21:22:07 +00:00
vsm@google.com
36d8fd9882
Remove typeddata transferable constructors
...
These constructors are not in the public/shared typeddata.dart. Tests
updated accordingly.
Review URL: https://codereview.chromium.org//14205004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21576 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 20:55:08 +00:00
johnmccutchan@google.com
252d27c293
Binary Float32x4 ops.
...
Review URL: https://codereview.chromium.org//13867006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21541 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 10:04:34 +00:00
lrn@google.com
aaa45c7682
Make JSON stringify throw a JsonUnsupportedObjectError on cycles.
...
Add lib/json test based on tests/json/json_test.dart (is this used at all?).
Review URL: https://codereview.chromium.org//14289002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21538 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 08:13:18 +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
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