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
floitsch@google.com
5d058bb0eb
Adding isNotEmpty property to collection and string.
...
BUG= http://dartbug.com/3074
R=floitsch@google.com
Review URL: https://codereview.chromium.org//15263004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23294 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 17:30:37 +00:00
sgjesse@google.com
9d6a64e81b
Merge the dart:uri library into dart:core and update the Uri class
...
This merges the dart:uri library into dart:core removing the dart:uri library. Besides moving the library the Url class has been changed.
* Removed existing Uri constructor as it was equivalent with Uri.parse
* Remamed constructor Uri.fromComponents to Uri
* Moved toplevel function encodeUriComponent to static method Uri.encodeComponent
* Moved toplevel function decodeUriComponent to static method Uri.decodeComponent
* Moved toplevel function encodeUri to static method Uri.encodeFull
* Moved toplevel function decodeUri to static method Uri.decodeFull
* Rename domain to host
* Added static methods Uri.encodeQueryComponent and Uri.decodeQueryComponent
* Added support for path generation and splitting
* Added support for query generation and splitting
* Added some level of normalization
R=floitsch@google.com , lrn@google.com , nweiz@google.com , scheglov@google.com
BUG=
Review URL: https://codereview.chromium.org//16019002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23266 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:35:01 +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
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
9849fb8900
Revert "Rewrite double.parse."
...
This reverts commit r23066.
Review URL: https://codereview.chromium.org//15814003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23068 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 13:28:37 +00:00
floitsch@google.com
75cafec89d
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
Review URL: https://codereview.chromium.org//15333006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23066 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 13:09:05 +00:00
floitsch@google.com
724fb6b4aa
Revert "Rewrite double.parse."
...
This reverts commit r23062.
Review URL: https://codereview.chromium.org//15868003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23065 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 13:00:05 +00:00
floitsch@google.com
f829152c18
Implement string.trim for dart2js.
...
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//15740005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23064 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 12:53:09 +00:00
floitsch@google.com
d39ef26225
Rewrite double.parse.
...
BUG= http://dartbug.com/5654
R=lrn@google.com , srdjan@google.com
Review URL: https://codereview.chromium.org//15333006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23062 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 12:00:45 +00:00
floitsch@google.com
07ddeb7028
Remove 0x85 while I fix dart2js.
...
Review URL: https://codereview.chromium.org//15734003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23011 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-22 12:38:10 +00:00
floitsch@google.com
c5bd888acb
Fix string.trim (adding more runes).
...
R=lrn@google.com , srdjan@google.com
Review URL: https://codereview.chromium.org//15348003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23006 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-22 11:10:11 +00:00
karlklose@google.com
35da54ead7
Reapply "Enable full type-checks in checked mode."
...
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//15299002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22846 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-17 11:46:39 +00:00