floitsch@google.com
cde1a8e09a
new Date.now() should be in local timezone.
...
This error probably slipped in during the refactoring.
Review URL: https://chromiumcodereview.appspot.com//10537086
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8483 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-11 08:35:31 +00:00
kasperl@google.com
2f7b4b9185
Stop skipping for Safari and Firefox and allow even more stuff pass on IE.
...
TBR'ed.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10536089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8481 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-11 08:24:51 +00:00
sigmund@google.com
c51d81231b
More tests and doc for futures (followup to http://codereview.chromium.org/10517006/ )
...
Review URL: https://chromiumcodereview.appspot.com//10544063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8448 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-08 16:57:12 +00:00
kasperl@google.com
20d1b84d15
Mark another test as failing on IE.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10542070
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8419 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-08 07:08:28 +00:00
kasperl@google.com
0a2dab9423
Mark test as failing on Safari.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10543072
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8418 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-08 05:42:39 +00:00
jmesserly@google.com
3f81d4f899
Adds a callback to Future that is invoked upon completion, whether success or failure.
...
I'm not totally happy with the method name (in an ideal world, I'd like to call this
method then(), and have onSuccess and onFailure). But this should be backwards-compatible.
Review URL: https://chromiumcodereview.appspot.com//10517006
Patch from Sam McCall <sam.mccall@gmail.com >.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8303 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-05 18:41:13 +00:00
hausner@google.com
f6c776dcbe
Eliminate unary plus with hex literals
...
The spec says unary + is only allowed with integer and floating point literals, not with hex literals. Somebody noticed that the VM accepted
+0x10 as well.
Consequently, the Math.parseInt(str) library function should fail with
a BadNumberFormatException if it is called with a hex number that is preceded by a +.
Fixes issue 1540.
This change exposed that the dart2js core library implementation is
falsely accepting +0xNNN hex numbers. I filed issue 3333.
Review URL: https://chromiumcodereview.appspot.com//10456060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8177 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 22:35:29 +00:00
ngeoffray@google.com
78f19042ff
Do not wrap the exception if we could not translate it to one of our internal exceptions.
...
Review URL: https://chromiumcodereview.appspot.com//10444086
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8099 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 11:46:50 +00:00
ngeoffray@google.com
80194ed0e1
Fix check in exception unwrapping and update status files.
...
Review URL: https://chromiumcodereview.appspot.com//10448074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8097 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 11:38:12 +00:00
kasperl@google.com
d9d1eb2a75
Update status files to make IE build bots green.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10453074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8086 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 07:30:26 +00:00
ngeoffray@google.com
e2c7c6eaee
Update status files for dart2js/mac/safari.
...
Review URL: https://chromiumcodereview.appspot.com//10442081
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8085 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 07:26:01 +00:00
kasperl@google.com
5d23a99d71
Skip tests that time out on IE.
...
R=ngeoffray@google.com
BUG=http://dartbug.com/3304
TEST=
Review URL: https://chromiumcodereview.appspot.com//10444084
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8084 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 05:59:16 +00:00
ngeoffray@google.com
2cb4416340
Use the typedef arity to know how to invoke a closure given by the dom.
...
Review URL: https://chromiumcodereview.appspot.com//10441071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8067 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 15:53:54 +00:00
ngeoffray@google.com
5ca4106a51
Skip dart2js/firefox until we fix issue 2615.
...
Review URL: https://chromiumcodereview.appspot.com//10449049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8045 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:41:29 +00:00
floitsch@google.com
a88e304d29
Deprecate use of timezones.
...
Review URL: https://chromiumcodereview.appspot.com//10411057
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7911 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 16:07:35 +00:00
efortuna@google.com
d3c56ab08d
The string_replace_dollar_test must have been added aroun the same time
...
ngeoffray submitted his 7788 (will check).
Review URL: https://chromiumcodereview.appspot.com//10387221
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7820 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 20:30:24 +00:00
efortuna@google.com
1b806d29a5
Revert 7788. These tests were marked as fail/flaky with no further action to be
...
taken on them, when in reality they are all passing with the latest Chrome/DRT
rolled update. Please don't change status files arbitrarily.
Review URL: https://chromiumcodereview.appspot.com//10416015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7819 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 20:11:29 +00:00
floitsch@google.com
cc15d26cf7
Reapply "Add support for timezone offset and timezone name."
...
This reapplies commit 7800.
Review URL: https://chromiumcodereview.appspot.com//10417009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7805 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 16:11:20 +00:00
floitsch@google.com
77ade89e4a
Revert "Add support for timezone offset and timezone name."
...
This reverts commit 7803.
Review URL: https://chromiumcodereview.appspot.com//10416008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7804 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 15:13:46 +00:00
floitsch@google.com
618c649c33
Reapply "Add support for timezone offset and timezone name."
...
This reapplies commit 7800.
Original CL: https://chromiumcodereview.appspot.com/10383218/
Don't write *foo += x.
Review URL: https://chromiumcodereview.appspot.com//10413031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7803 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 15:07:11 +00:00
floitsch@google.com
5b99866ecd
Revert "Add support for timezone offset and timezone name."
...
This reverts commit 7801..
Review URL: https://chromiumcodereview.appspot.com//10399106
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7802 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 14:40:27 +00:00
floitsch@google.com
36d9c69461
Add support for timezone offset and timezone name.
...
Review URL: https://chromiumcodereview.appspot.com//10383218
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7801 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 14:36:43 +00:00
ngeoffray@google.com
d57f64f9e3
Update status files to fix bot redness.
...
Review URL: https://chromiumcodereview.appspot.com//10417005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7788 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 10:37:21 +00:00
ngeoffray@google.com
da3f7fc3cb
Fix issue 2756 where '$' has as special meaning in Javascript String.replace.
...
Review URL: https://chromiumcodereview.appspot.com//10411048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7787 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 10:15:16 +00:00
hausner@google.com
048b8bde32
More String + elimination in tests
...
Worst offender was standalone test suite
Review URL: https://chromiumcodereview.appspot.com//10414002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7762 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 21:03:59 +00:00
floitsch@google.com
7f06db21d2
Add comparison operators to Date class.
...
Review URL: https://chromiumcodereview.appspot.com//10399027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7653 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-15 13:15:03 +00:00
floitsch@google.com
d89f228708
Make most arguments to Date constructor optional.
...
Fixes issue 2582.
Review URL: https://chromiumcodereview.appspot.com//10382171
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7652 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-15 12:50:15 +00:00
floitsch@google.com
1805e79fcb
Support up to 6 digits after the decimal point in Date.fromString.
...
Fixes comment 10 of issue 1728.
Review URL: https://chromiumcodereview.appspot.com//10391111
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7648 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-15 10:59:53 +00:00
floitsch@google.com
86859d3324
Fix typo in Date.toString.
...
We emitted an extra 0 for Dates that had ms == 10.
Fixes issue 1386.
Review URL: https://chromiumcodereview.appspot.com//10310145
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7647 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-15 10:56:31 +00:00
floitsch@google.com
3ccf471f94
Add Hashable to Date interface.
...
Fixes issue 2400
Review URL: https://chromiumcodereview.appspot.com//10391109
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7646 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-15 10:52:51 +00:00
sigmund@google.com
d9eae90196
test rename overhaul: step 7 - corelib tests
...
Review URL: https://chromiumcodereview.appspot.com//10244009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7096 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:06:37 +00:00
floitsch@google.com
1e61443c14
toRadixString returns lower case characters.
...
Fixes issue 2670.
Review URL: https://chromiumcodereview.appspot.com//10225003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6955 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 15:50:36 +00:00
ahe@google.com
9eac6a5748
Remove frogsh.
...
Review URL: https://chromiumcodereview.appspot.com//10164004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6840 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 13:26:06 +00:00
efortuna@google.com
fc45ff8f0c
Set test to flaky.
...
Review URL: https://chromiumcodereview.appspot.com//10165011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6814 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 20:07:58 +00:00
iposva@google.com
1300ed5576
- Fix use of String operator + in language and corelib tests.
...
Review URL: https://chromiumcodereview.appspot.com//9664052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6415 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-11 14:46:17 +00:00
sigmund@google.com
cca364ce76
change status files to make it possible to run test.py -c frog,dart2js -r none.
...
Except for standalone, this mostly skips all other tests. The configurations
frog_none and dart2js_none these have been ignored for now by the bots, enabling
those tests should be done as needed.
Review URL: https://chromiumcodereview.appspot.com//10042001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6382 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 20:56:37 +00:00
efortuna@google.com
5c65834f87
Mark Stopwatch Test as flaky.
...
Review URL: https://chromiumcodereview.appspot.com//9956090
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6126 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 16:57:04 +00:00
efortuna@google.com
6496345da7
Remove "component" from status file
...
Review URL: https://chromiumcodereview.appspot.com//9864053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5905 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 20:28:44 +00:00
efortuna@google.com
c8e35dbeb1
Rename test.dart component to specify compiler + runtime.
...
Review URL: https://chromiumcodereview.appspot.com//9838068
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5893 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 18:40:41 +00:00
ahe@google.com
9125257fd3
Tweak corelib/ConstListLiteralTest while we wait for a resolution of CL 9839101.
...
Review URL: https://chromiumcodereview.appspot.com//9855018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5829 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 13:20:05 +00:00
ahe@google.com
7e7fc128ea
Prevent sort on immutable lists.
...
Review URL: https://chromiumcodereview.appspot.com//9835089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5828 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 13:01:43 +00:00
ahe@google.com
d5cff7f7da
Minor tweaks to the core library.
...
Review URL: https://chromiumcodereview.appspot.com//9852018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5818 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 08:29:12 +00:00
ahe@google.com
588e827484
Implement unlabeled continue.
...
Review URL: https://chromiumcodereview.appspot.com//9808109
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5808 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-25 20:21:46 +00:00
ahe@google.com
4ca586ce37
Revert "Switch frog tests to run on frogsh"
...
Review URL: https://chromiumcodereview.appspot.com//9732031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5667 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 23:34:54 +00:00
jmesserly@google.com
653c01192c
Switch frog tests to run on frogsh
...
This is a patch from issue 9724008, with a one line change to corelib.status
TBR=efortuna@google.com
Committed: https://code.google.com/p/dart/source/detail?r=5661
Review URL: https://chromiumcodereview.appspot.com//9729013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5663 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 23:05:23 +00:00
jmesserly@google.com
114d8e634a
revert r5661
...
Review URL: https://chromiumcodereview.appspot.com//9730017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5662 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 22:39:17 +00:00
jmesserly@google.com
de11dc720a
Switch frog tests to run on frogsh
...
This is a patch from issue 9724008, with a one line change to corelib.status
TBR=efortuna@google.com
Review URL: https://chromiumcodereview.appspot.com//9729013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5661 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 22:28:15 +00:00
cshapiro@google.com
e70bfffaa9
Disable the StringPatternTest.
...
The behavior of allMatches in Leg does not yet match that of the VM.
Review URL: https://chromiumcodereview.appspot.com//9732017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5658 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 21:06:19 +00:00
cshapiro@google.com
86bd5e8827
Improve the replaceFirst, replaceAll and split methods.
...
An empty regular expression had caused split to loop infinitely. Now,
the split method behaves like its namesake in ECMAScript and splits a
string along character boundaries.
The split, replaceFirst, and replaceAll methods only supported RegExp
and String patterns. Now, these methods are implemented on top of the
allMatches method and work for all subinterfaces of Pattern.
BUG=2171
Review URL: https://chromiumcodereview.appspot.com//9689089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5653 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 18:06:42 +00:00
ahe@google.com
5bc66beb02
Interceptor maintenance:
...
Add isEven$0, isOdd$0, map$1.
Clean up use of checkNull in interceptors.
Review URL: https://chromiumcodereview.appspot.com//9719034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5645 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 14:36:05 +00:00