Commit graph

479 commits

Author SHA1 Message Date
zra@google.com 5bf5a92064 Fixes bugs in arm and mips intrinsifier.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24427 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 18:58:47 +00:00
zra@google.com 6ea08a30af Allows exception object to be null in simarm and simmips.
Also, updates status files.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24361 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 18:38:46 +00:00
floitsch@google.com 506a2b3a61 Revert "Make Error capture a stacktrace when it is created."
Revert "Mark co19 test as flaky (crashes on buildbot, not locally)."

This reverts commit r24323.
This reverts commit r24327.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24337 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 14:19:28 +00:00
lrn@google.com 300ff71016 Mark co19 test as flaky (crashes on buildbot, not locally).
Review URL: https://codereview.chromium.org//17582010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24327 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 13:04:42 +00:00
ricow@google.com 166314d75c Fix status file that broke the build in last commit
Review URL: https://codereview.chromium.org//17471004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24226 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 13:20:50 +00:00
ricow@google.com d301b86ea0 Mark co19/LibTest/core/Stopwatch/elapsed_A01_t01 as flaky on the vm on windows.
Filed http://dartbug.com/11382

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24225 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 13:02:29 +00:00
zra@google.com 8240363b78 Enables co19 tests for SIMMIPS.
Also fixes a bug in division.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24147 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 15:51:27 +00:00
hausner@google.com 457bb1bdcb Remove support for + prefix in number literals
Also fix some tests that expected + prefix in hex numbers to be illegal. According to our documentation, int.parse() accepts + for numbers in all formats/radixes.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24051 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 21:16:46 +00:00
zra@google.com 826b6ce267 Fix status files for SIMARM, SIMMIPS.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24014 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 22:28:34 +00:00
lrn@google.com 701101247a Move incorrectly placed co19 test expectations.
Review URL: https://codereview.chromium.org//16843011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23981 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 14:10:35 +00:00
lrn@google.com 9b67f92679 Use Pattern.matchAsPrefix to let String.indexOf/lastIndexOf/startsWith accept Pattern.
Rearranged co19-runtime.status to only have one section for each configuration,
and tried to keep them in a logical order.

BUG=http://dartbug.com/11129
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23974 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 12:49:44 +00:00
srdjan@google.com 1affede0be Fix broken Mac SIMARM by adapting the status files. We need to find a better way to handle this :-).
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23947 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 00:36:12 +00:00
srdjan@google.com 5543ce104c When canonicalize instances check if all fields are canonical. If a field is a non-canonical number or strings, canonicalize it. Otherwise report an error if a field is not canonical.
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23934 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 21:27:37 +00:00
regis@google.com 264d28744f Fix decoding of object pool access in code patching on ARM.
Fix shift by zero and divide by one on ARM.
Update test status files.

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23920 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 16:57:06 +00:00
zra@google.com 7718086a5f Fixes small ARM bugs, and updates status files.
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23718 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 21:52:26 +00:00
lrn@google.com 7823dcbc1f Fix expectations for co19 RegExp tests.
Fix dart2js validation errors.
The tests were assuming the incorrect VM behavior for Match.pattern.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23677 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 12:21:16 +00:00
lrn@google.com 450e0f64d9 Fix-up RegExp implementations.
VM _JSRegExpMatch didn't have correct "pattern" getter and exposed
too many members. Also didn't allow matching an empty match at the
end of the string with .allMatches.

JS RegExp didn't advance the position correctly after an empty match.

BUG=http://dartbug.com/1301, http://dartbug.com/6554
R=floitsch@google.com, ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23675 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 11:44:04 +00:00
srdjan@google.com d883e45e43 Update status files for simarm tests on Mac OS X.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23609 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 19:46:16 +00:00
zra@google.com 1eaa74c013 Updates status files so that arm and simarm are the same.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23550 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 16:44:20 +00:00
regis@google.com 64bd9656a1 Third try.
Review URL: https://codereview.chromium.org//15715028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23478 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 17:22:56 +00:00
regis@google.com 4546d7f19f Second try.
Review URL: https://codereview.chromium.org//15715025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23477 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 16:58:42 +00:00
regis@google.com 75f17ebadb Mark a co19 test as flaky on SIMARM until further investigation.
Review URL: https://codereview.chromium.org//16255008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23474 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 16:23:52 +00:00
regis@google.com aa6bc1b190 Enable co19 tests on SIMARM and mark 12 of them as failing.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23449 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 00:38:55 +00:00
kustermann@google.com a8857ed49c Status file updates for arm -> remove Skip markers
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23242 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 09:09:38 +00:00
floitsch@google.com d6e469c7e4 Update status files with co19 issue numbers.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23134 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 11:56:01 +00:00
asiva@google.com a1da7e93a4 Fix some of the negative language tests in preparation for implementing
delayed class parsing in Dart VM.
- Some of the tests under tests/language expect compile-time errors but
  these tests do not use the class which has errors. When the VM will
  implement delayed parsing of classes (classes are parsed only if they
  are used) these tests will fail as the Dart VM will not report these as
  compile-time errors. The option VMOptions=--compile_all has been added
  to these tests to ensure that all classes are compiled and the error
  is reported.
- One co19 test has a similar issue and a bug has been filed against it
  (co19 issue 415). the co19-runtime.status file has been updated to
  skip this test until issue 415 is resolved.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23113 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 23:38:56 +00:00
floitsch@google.com 09d7da9250 Rewrite double.parse.
BUG= http://dartbug.com/5654
R=lrn@google.com, srdjan@google.com

Committed: https://code.google.com/p/dart/source/detail?r=23062

Reverted: https://code.google.com/p/dart/source/detail?r=23065

Committed: https://code.google.com/p/dart/source/detail?r=23066

Reverted: https://code.google.com/p/dart/source/detail?r=23068

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23071 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 14:30:16 +00:00
floitsch@google.com 968ebcff5a Make Completers asynchronous.
BUG= http://dartbug.com/9990
R=ajohnsen@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22417 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-06 15:15:15 +00:00
hausner@google.com 9ae17640bf Handle built-in function identical correctly
The parser, rather than the backend, recognizes the built-in function identical
and replaces is with the old token for the === operator. This fixes compile
time constant handling of calls to identical.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21753 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 16:26:05 +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
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 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
ajohnsen@google.com 8ce7f80258 Fill 'Issue TODO' in status-files.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21468 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 16:02:42 +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
floitsch@google.com bebe3ac2cd Refactor List.setRange function.
Review URL: https://codereview.chromium.org//13863012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21452 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 13:52:29 +00:00
ajohnsen@google.com 24c200b76c Fix 'collection' tests and co19 dartc/dart2js status files.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21343 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 10:28:29 +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 aecbeabcac Implement getRange (returning an Iterable).
Review URL: https://codereview.chromium.org//14065011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21281 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 14:14:29 +00:00
iposva@google.com 0d0fcbe7e1 Changelist to land https://codereview.chromium.org/13452007/ for Siva.
Review URL: https://codereview.chromium.org//13813018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21160 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 17:51:24 +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
lrn@google.com 3b13f62170 Remove addLast from List.
The List.addLast method has been deprecated for quite a while.
A recent change removed it from the interface, but left the
implementation in place (which caused some errors from the analyzer).
This removes it completely.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20857 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 12:52:19 +00:00
ahe@google.com 78bc230548 Update co19 status files.
Review URL: https://codereview.chromium.org//13518002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20842 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 08:24:41 +00:00
ahe@google.com 01fc0fc9d1 Update to co19 r515.
Review URL: https://codereview.chromium.org//13464007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20841 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 07:22:37 +00:00
asiva@google.com 7b72985c3e First step for fixing Issue 9416.
Review URL: https://codereview.chromium.org//13351002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20760 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 00:01:15 +00:00
regis@google.com 5eeaba1d98 Update function subtyping rules to latest spec (issue 9057).
Update language tests and status files (and filed co19 issue 392).
Review URL: https://codereview.chromium.org//12940010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20493 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 22:14:17 +00:00
lrn@google.com 846795b170 Expect test to fail in unchecked mode as well.
Review URL: https://codereview.chromium.org//12886002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20065 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 09:39:02 +00:00
lrn@google.com 844cd39fad Change getRange to sublist. Make getRange deprecated.
This changes the exception behavior of getRange. It used to accept
a length of zero, no matter what start value. Now the start value
must be a valid list index.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20064 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 09:15:39 +00:00
lrn@google.com 5768211906 Make Set.containsAll accept Iterable. Deprecate Set.isSubsetOf.
This is a recommit of the earlier reverted CL with updated test expectations.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19993 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 09:32:30 +00:00
ager@google.com 255f4e4ce4 "Reverting 19985"
R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19986 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 07:47:37 +00:00
lrn@google.com 067a55370a Deprecate Set.isSubsetOf, make Set.containsAll accept iterable.
Review URL: https://codereview.chromium.org//12838002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19985 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 07:12:16 +00:00
lrn@google.com e5fce3ada6 Fix co19 expectations for Set methods.
Review URL: https://codereview.chromium.org//12534008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19929 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 13:56:05 +00:00
floitsch@google.com cead1d41f1 ceil/floor/truncate/round return integers.
This CL supercedes https://codereview.chromium.org/11748016/

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19810 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 18:54:37 +00:00
floitsch@google.com dd48256fe5 Remove deprecated StringBuffer.add, addAll and addCharCode.
Review URL: https://codereview.chromium.org//12473003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19690 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 13:07:18 +00:00
floitsch@google.com a0b4850a43 Remove deprecated Date class.
Review URL: https://codereview.chromium.org//12542003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19617 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 12:38:20 +00:00
lrn@google.com f4300b84a2 Make List.from and Iterable.toList default to not growable.
Review URL: https://codereview.chromium.org//12401002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19391 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 14:55:40 +00:00
floitsch@google.com 9722e27876 Remove deprecated IllegalJSRegExpException class.
Review URL: https://codereview.chromium.org//12317130

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19297 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 12:14:45 +00:00
hausner@google.com 34cebe18cb Libraries: update VM to current spec
- Exports allowed in script files
- library name is optional
- delete meaningless test, file co19 bugs
Review URL: https://codereview.chromium.org//12382026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19258 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 21:17:47 +00:00
floitsch@google.com 6005680a99 Rewrite co19 status files, so that error-lines have comments at end.
Review URL: https://codereview.chromium.org//12310143

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19135 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 13:33:16 +00:00
lrn@google.com cea269dca8 Make List.from default to not growable.
Review URL: https://codereview.chromium.org//12335131

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19130 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 13:09:11 +00:00
lrn@google.com 6b4f4b1bab Change new List(n) to return fixed length list.
Deprecate List.fixedLength, add List.filled.

Make Iterable.toList and List.from take "growable" argument,
defaulting to false.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19112 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 08:45:04 +00:00
lrn@google.com 3c0ac360e7 Remove deprecated string features.
Make String.codeUnits return a List.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18960 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 10:48:09 +00:00
hausner@google.com 02015555e2 Fix co19 status file
Bug 5840 is actually not a dart vm issue but a co19 test issue.
Filed co19 issue 383 and corrected status file.

TBR=tball
Review URL: https://codereview.chromium.org//12303037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18726 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 21:29:05 +00:00
floitsch@google.com ecce8a6293 Remove deprecated Strings class.
Review URL: https://codereview.chromium.org//12295014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18686 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 13:57:03 +00:00
lrn@google.com ecbf4478c2 Reapply "New implementation of {,Linked}Hash{Set,Map}."
Review URL: https://codereview.chromium.org//12212211

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18573 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:07:22 +00:00
lrn@google.com c3e2eace1e Revert "Reapply "New implementation of {,Linked}Hash{Set,Map}.""
Breaks pub, which apparently contains concurrent modifications of a
HashMap.

Spurious error in:
 pkg/analyzer-experimental/test/generated/ast_test/test_literal_map
Seems to be an error in the analyzer.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18569 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 10:06:49 +00:00
lrn@google.com 9d8aca9e45 Reapply "New implementation of {,Linked}Hash{Set,Map}."
Review URL: https://codereview.chromium.org//12254006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18566 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 09:18:36 +00:00
floitsch@google.com adb99d0107 Deprecate comparison operators of DateTime.
Review URL: https://codereview.chromium.org//12221094

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18543 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 22:00:36 +00:00
lrn@google.com 6e0d6462ce Revert "New implementation of {,Linked}Hash{Set,Map}."
Triggers assertion in VM debug mode.
Seems to have some bug or difference that affects dart2dart.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18442 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 12:40:12 +00:00
lrn@google.com 6ad0b78818 New implementation of {,Linked}Hash{Set,Map}.
Accepts null keys/entries.
Much faster LinkedHashMap, faster HashSet, slight penalty on HashMap,
possibly due to accepting null keys.
Performance difference depends on table size.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18437 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 09:51:50 +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
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
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
floitsch@google.com f1b4a245f8 Update co19 status files and some small fixes.
Review URL: https://codereview.chromium.org//11773026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16710 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 15:28:42 +00:00
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
tball@google.com 18e748d0b3 Implemented class literals in the VM.
Review URL: https://codereview.chromium.org//11633054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16530 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-27 23:45:40 +00:00
bak@google.com 6c398a3a25 Fixed Issue 7508: Many StringBuffer methods return StringBuffer, but should be void.
- Methods in StringBuffer have now been changed so they do not return this.
- This forces the programmer to use cascaded calls instead of flaky chaining of calls.
Review URL: https://codereview.chromium.org//11645019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16358 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 11:13:27 +00:00
regis@google.com aef9047742 Invoke noSuchMethod instead of immediately throwing NoSuchMethodError when
invoking a non-closure as a closure (reopened issue 3326).
Address comments of last cl.
Review URL: https://codereview.chromium.org//11612002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16220 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 19:35:16 +00:00
regis@google.com 697550b2a2 Support call operator in the vm.
Review URL: https://codereview.chromium.org//11316343

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16009 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 00:48:58 +00:00
tball@google.com b45361c641 Triaged remaining VM test failures.
Review URL: https://codereview.chromium.org//11486021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16003 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 21:55:57 +00:00
regis@google.com 3b1dfe51d1 Pass the proper invocation mirror argument to noSuchMethod.
Review URL: https://codereview.chromium.org//11523002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15939 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 00:31:53 +00:00
tball@google.com 7dcef1c154 More co19 triage updates. No code was touched by this CL.
Review URL: https://codereview.chromium.org//11513011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15938 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 00:24:22 +00:00
tball@google.com 4590ee870c Triaged many of the co19 VM issues.
Review URL: https://codereview.chromium.org//11517008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15933 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 22:49:06 +00:00
johnniwinther@google.com ec5ed19385 co19 issue 334
Review URL: https://codereview.chromium.org//11412271

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15789 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 15:35:30 +00:00
asiva@google.com 02f993df49 Update co19 status file for issue 7089 (fixed).
Review URL: https://codereview.chromium.org//11428169

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15714 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 22:59:04 +00:00
asiva@google.com 2aac9832e0 Update co19 status file for issue 7089
Review URL: https://codereview.chromium.org//11414287

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15620 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-02 05:43:37 +00:00
aprelev@gmail.com b09632ab95 Fix floating point issues on Windows.
BUG=dartbug.com/5407
TEST=

Review URL: https://chromiumcodereview.appspot.com//11411188

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15546 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 22:40:12 +00:00
hausner@google.com fe1b63afbc Eliminate support for old getter syntax
Empty parameter list in a getter declaration is now a compile time error.
Review URL: https://codereview.chromium.org//11416254

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15532 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 18:33:45 +00:00
ahe@google.com 442d1fb733 Update co19 to r473.
Review URL: https://codereview.chromium.org//11411258

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15509 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 10:29:17 +00:00
regis@google.com 1de3a5c0f7 Enforce rule in vm that factory name must match enclosing class name.
This is a step towards removing support for obsolete default factory classes.
For now, disable tests using obsolete syntax. More will get disabled as support
is completely removed. We may then permanently remove some tests, while updating
and reenabling others whose purpose is not related to default factory classes.
Review URL: https://codereview.chromium.org//11419191

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15428 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 01:11:29 +00:00
tball@google.com bf5f0db5d0 Added support for isolate unhandled exceptions.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15352 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 23:31:47 +00:00
ahe@google.com 7d0fe16be6 Update co19 to r459.
Review URL: https://codereview.chromium.org//11411138

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15239 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 07:29:02 +00:00
regis@google.com c2b4cccaee Ambiguous type references require a compile time error in some special cases
(fix issue 6741).
Review URL: https://codereview.chromium.org//11348188

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15233 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 00:14:08 +00:00
nweiz@google.com 52a1afb4a3 Make exceptions propagate through multiple Future branches.
This is identical to r15221 except that it marks co19 tests as failing.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15228 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 22:36:04 +00:00
erikcorry@google.com 84da84c22d Revert "Add some support for the code-point code-unit distinction."
This reverts commit r15150

R=karlklose@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15152 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 15:23:41 +00:00
erikcorry@google.com 547cbf9da6 Add some support for the code-point code-unit distinction.
Adds String.fromCodeUnits and String.codeUnitAt, and modifies
String.fromCodePoints and String.codePointAt to actually use code points.
Fixes String.charCodes to use code points and adds String.codeUnits.
Reenables some tests, and adds new ones for non-BMP characters.
Fixes issues 6418, 6501 and 1357.

R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15150 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 14:51:25 +00:00
lrn@google.com 22309b260c Remove NullPointerException.
Accessing non-existing members on null now throws NoSuchMethodError.
Throwing a null value fails by throwing a NullThrownError.
Methods checking for null now generally throw new ArgumentError(null).

Committed: https://code.google.com/p/dart/source/detail?r=15061

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15136 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 09:21:52 +00:00
lrn@google.com 0c8dce77f1 Revert "Remove NullPointerException."
Crashes in the x64 VM.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15065 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 09:59:59 +00:00
lrn@google.com e211c2f0ee Remove NullPointerException.
Accessing non-existing members on null now throws NoSuchMethodError.
Throwing a null value fails by throwing a NullThrownError.
Methods checking for null now generally throw new ArgumentError(null).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15061 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 08:51:49 +00:00