Commit Graph

1365 Commits

Author SHA1 Message Date
scheglov@google.com 6c6b88967f Remove dartc status sections.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24735 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 17:50:34 +00:00
floitsch@google.com 5e207df6a4 Revert "Relax method override restrictions."
Revert "Update status file."

This reverts commit r24731.
This reverts commit r24732.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24733 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 16:39:51 +00:00
floitsch@google.com 96a6e8d252 Update status file.
Review URL: https://codereview.chromium.org//18345017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24732 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 16:37:17 +00:00
floitsch@google.com 77034fe249 Relax method override restrictions.
This implements part of issue 11495.

BUG= http://dartbug.com/11495
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24731 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 16:20:05 +00:00
floitsch@google.com cd01e5c5f8 Update status file.
Review URL: https://codereview.chromium.org//18348014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24730 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 16:18:00 +00:00
floitsch@google.com b6d62603e7 Correct status file.
Review URL: https://codereview.chromium.org//18259008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24729 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 15:36:16 +00:00
floitsch@google.com 9447db144e Make cyclic error init more complicated to avoid static warnings.
Review URL: https://codereview.chromium.org//18433003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24728 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 15:06:50 +00:00
floitsch@google.com 438767ca3a Add stackTrace to Error object.
BUG=
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24726 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 14:51:30 +00:00
floitsch@google.com 546560a13d Revert "Add fillRange to typed ungrowable lists."
Revert "fix type in test."

This reverts commit r24689.
This reverts commit r24695.

Test is in the wrong place, and Stephen's (sra) CL makes the other change unnecessary.
https://codereview.chromium.org/18391002/

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24703 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 19:06:00 +00:00
zarah@google.com 187b32adc3 fix type in test.
Review URL: https://codereview.chromium.org//18547004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24695 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 16:20:59 +00:00
zarah@google.com 68274ad4c0 Add fillRange to typed ungrowable lists.
BUG=http://dartbug.com/11621
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24689 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 15:15:04 +00:00
zra@google.com e730b67b10 Fixes bug in mips left shift.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24561 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 23:11:13 +00:00
iposva@google.com ca6b378934 - Update status file for dart2js. Tests have been updated to not
use ? operator and thus now "Pass" instead of "Fail,OK".

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24542 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 19:22:21 +00:00
iposva@google.com 50fc824be9 - Remove arguments definition test from the VM.
- Update tests still referring to it.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24539 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 18:37:53 +00:00
zarah@google.com 74cca39566 Add fromIterable(s) constructors in SplayTreeMap and LinkedHashMap.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24531 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:02:37 +00:00
zarah@google.com 13d024e0dc Add Map constructors taking iterables.
BUG= http://dartbug.com/11330
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24514 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 13:17:16 +00:00
zra@google.com bc703b348f Updates co19 status file for simarm and simmips.
Also marks corelib/collection_to_string_test as
Pass, Crash for arm hardware, as it crashes
occasionally.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24489 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 20:54:17 +00:00
zarah@google.com 3709d9388f Test fixed
Review URL: https://codereview.chromium.org//17841002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24462 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 10:57:30 +00:00
zarah@google.com 30727e7a9e Fixed equals operator in test.
Review URL: https://codereview.chromium.org//17843002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24461 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 09:41:56 +00:00
zarah@google.com 50868bbdda Test equality argument order in iterable.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24458 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 09:14:24 +00:00
kasperl@google.com 1e6c3a1998 Remove support for 'argument definitions test' from dart2js.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24455 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 08:02:25 +00:00
iposva@google.com 11632110c6 - Revert r24441 until issues found have been addressed.
Review URL: https://codereview.chromium.org//17769004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24443 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 23:38:45 +00:00
iposva@google.com ddc3e13f8a - Trial balloon for removal of argument definition test.
This change removes the support for the ? operator.

R=asiva@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24441 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 23:04:19 +00:00
zarah@google.com 50d4da2a27 Let operator* in Duration accept doubles.
BUG= http://dartbug.com/11044
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24411 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 15:57:06 +00:00
zra@google.com 8edda78ccc Enables more tests for SIMMIPS.
. Fixes register allocation bugs
. Implements float <-> double conversion in assembler and simulator.
. Fixes floating point argument passing for simarm and simmips,
  and floating point return for simarm, and adjusts tests to match.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24365 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 20:16:16 +00:00
floitsch@google.com 48b1656690 Allow Object when doing lookups.
According to our typing rules a Set<Apple> is a Set<Fruit>. However, before this change, we couldn't use it as a Set<Fruit>:

===
bool foo(Set<Fruit> fruits) {
  // Would yield a type-error since we actually got a Set<Apple>.
  return fruits.contains(new Banana());
}

foo(new Set<Apple>());
===

R=ajohnsen@google.com, blois@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24326 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 12:45:10 +00:00
floitsch@google.com 55e71ee98b State that skip/take does not accept negative arguments.
BUG= http://dartbug.com/10894
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24235 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 15:45:38 +00:00
ngeoffray@google.com bf5ab71d1e Also deal with List.filled in the backend, not just the inferrer and list tracer.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24221 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 12:13:00 +00:00
lrn@google.com e73a721d8e Make String.startsWith take an optional start index.
R=floitsch@google.com, ngeoffray@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24142 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 13:59:19 +00:00
sgjesse@google.com ba45b3fbf8 Add Uri.http and Uri.https constructors
R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24121 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 06:05:28 +00:00
floitsch@google.com b1800554d7 Test started working. Marking as flaky.
Review URL: https://codereview.chromium.org//17154002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24067 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-15 12:25:13 +00:00
sgjesse@google.com da6dd8e33d Update status file
The crash no longer happens after the code was refactored.

TBR=vegorov@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23976 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 13:03:38 +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
sgjesse@google.com b7260126ca Make some HTTP utility functions public
Added a new static function splitQueryString to the URI class to expose parsing of a query string without constructing a URI.

Added class HttpDate in dart:io with a few HTTP date parsing and formatting methods.

Also turned some Uri comments into dartdoc.

I have not remove the parseQueryString and decodeUrlEncodedString from _HttpUtils as they still do some non standard things that I am not sure we want to add to the URI class. These are:

* Supporting semi-colon as separator in query strings (see http://www.w3.org/TR/REC-html40/appendix/notes.html#ampersands-in-uris)
* Supporting other encodings than UTF-8 for percent encoded strings

R=ajohnsen@google.com
BUG=http://dartbug.com/9888

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23972 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 12:19:09 +00:00
floitsch@google.com 64bc17ebe1 Fix hidden_library2_test.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23971 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 12:11:13 +00:00
kustermann@google.com 8ea94854e3 Second round of status file updates for simarm/arm
TBR=zra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23915 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 16:04:39 +00:00
ngeoffray@google.com 98b8521dcc Test does not crash on mac, and is flaky on windows.
Review URL: https://codereview.chromium.org//16520011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23913 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 15:53:25 +00:00
ngeoffray@google.com 71cbc38e4f VM crashes when running dart2js on this test case.
R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23909 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 15:08:48 +00:00
lrn@google.com 9614a603bb Proof-of-concept matchPrefix on Pattern.
Can be used to implement startsWith (and endsWith with a loop).

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23897 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 08:37:36 +00:00
kustermann@google.com f73188d127 Use gnueabihf for ARM + enabled corelib/isolate/lib/standalone tests on ARM again
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23854 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 14:21:28 +00:00
lrn@google.com b841ead571 Add addAll to Map interface.
Also add SplayTreeMap.from constructor (using addAll).

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23808 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 12:43:38 +00:00
scheglov@google.com 80fea8fd8e More fixes for java2dart and status files.
Now DDA passes/fails the same tests as Java version.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23705 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 18:13:44 +00:00
sgjesse@google.com a0a24b3281 Add leading slash to URI path when required.
R=lrn@google.com
BUG=http://dartbug.com/11105

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23686 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 14:06:51 +00:00
antonm@google.com 3264ecdd1b Cleanup suppressions.
TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23548 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 15:44:39 +00:00
sgjesse@google.com cce76fac97 Fix deprecation warning
TBR=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23535 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 10:29:01 +00:00
sgjesse@google.com 590a7f61b5 Fix some bugs in the Uri class
The queryParameters key was not decoded if there was no = sign after it.

The normalization skipped any normal characters after the last encoded
character.

R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23533 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 09:37:06 +00:00
sgjesse@google.com 251a6f0ed2 Avoid parsing path and query string more than once
This has the side-effect of making a Uri mutable to some extend. By
not actuallt storing the passed in pathSegments and queryParameters
objects I think this is managable.

I think repeated access to uri.queryParameters should not parse the
query string into a map more than once.

R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23530 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 09:17:08 +00:00
vsm@google.com d5da0f0c0d Adjusted expectations from last Blink roll
TBR=antonm, blois

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23513 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-02 20:30:14 +00:00
regis@google.com b7eb5aedbe Cleanup various test status files.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23450 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 00:39:37 +00:00
lrn@google.com 6f6ed505a3 Fix bug in list test.
The test assumed that the return of a typeddata-list's toList method
did not have a generic type parameter, as it should have.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23382 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 07:03:54 +00:00