Commit Graph

645 Commits

Author SHA1 Message Date
regis@google.com 849585ef7c Implement Function.apply in vm (issue 5670).
Fix a closure parameter count check bug (unveiled by an apply test).
Review URL: https://codereview.chromium.org//11564029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16175 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 19:04:01 +00:00
kustermann@google.com 5b7247a974 Updated status files for safari test failures: created issue 7414
Review URL: https://codereview.chromium.org//11571024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16162 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 13:53:33 +00:00
kustermann@google.com cb54878e87 Updated status files for opera test failures: created issue 7413
Review URL: https://codereview.chromium.org//11578028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16159 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 13:26:45 +00:00
kustermann@google.com 2c17e147c8 Tests which fail on Opera are now marked as "Fail", with comment "to be triaged"
Review URL: https://codereview.chromium.org//11571009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16125 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 16:12:58 +00:00
kustermann@google.com 4ba7478a22 Added supressions of test failures on Safari for {corelib,language,html}
Review URL: https://codereview.chromium.org//11533006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15987 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 17:41:39 +00:00
erikcorry@google.com 359736e97a Fix Unicode issues in dart2js and dart2dart.
R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15254 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 12:51:14 +00:00
ngeoffray@google.com 709a0ff72e Cleanup after the interceptor refactoring work, and add a new SSA instruction for an interceptor, soon to be optimized.
Review URL: https://codereview.chromium.org//11348177

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15202 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 15:42:59 +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
ngeoffray@google.com b8b04e8a56 Support corelib tests in checked mode.
Review URL: https://codereview.chromium.org//11361257

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14882 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 12:09:22 +00:00
gram@google.com da4fb40152 Fix sort test status for dartc.
Review URL: https://codereview.chromium.org//11312199

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14826 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 00:44:18 +00:00
gram@google.com cdb7da543b Library syntax updates. Covers all remaining files in ~/tests aprt from ~/tests/language and ~/tests/standalone.
Review URL: https://codereview.chromium.org//11358203

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14815 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 22:45:18 +00:00
scheglov@google.com 1d310ff72c Report error for deprecated #library #import #source
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14535 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:21:20 +00:00
scheglov@google.com 2e574c8c14 Issue 5887. Parts must start with 'part of'.
Second attempt.
Now only DartC changes, and status updates.
So, should not break anyone else.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14217 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 19:17:28 +00:00
efortuna@google.com 5df1c2a7ad Enable Opera tests.
Review URL: https://codereview.chromium.org//11271016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14091 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 18:05:43 +00:00
ricow@google.com 873c7baa06 Update status for jsshell to make the builders green.
Review URL: https://codereview.chromium.org//11194052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14073 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 12:45:22 +00:00
karlklose@google.com 3ff51bbe47 Make sure that parts of a date are returned as ints.
Firefox may return -0.0 instead of 0 for hours, minutes and seconds, but our toString implementation for dates assumes that these are ints.

BUG=http://code.google.com/p/dart/issues/detail?id=6071

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13817 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 11:53:19 +00:00
efortuna@google.com c28b3b9e35 Fix firefox corelib status
Review URL: https://codereview.chromium.org//11192072

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13805 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 23:43:28 +00:00
efortuna@google.com 2e36281e1a Change firefox test status.
Review URL: https://codereview.chromium.org//11203004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13804 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 23:19:50 +00:00
efortuna@google.com 4839206863 Rename ie to ie9.
Review URL: https://codereview.chromium.org//11184015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13748 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 17:44:38 +00:00
ricow@google.com e627457595 Update status files for dartc.
We are now correctly handling apply.
The co19 part is making us skip the tests that are crashing since they seem to crash the batch runner.
Review URL: https://codereview.chromium.org//11092020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13413 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 13:25:03 +00:00
ngeoffray@google.com e24c0e7af5 Implement Function.apply in dart2js.
Review URL: https://codereview.chromium.org//11093015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13409 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 12:02:04 +00:00
ager@google.com fbb3b195c7 Update test expectations.
R=sgjesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13354 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 14:15:32 +00:00
ager@google.com 70216ab4cd Hide internal details of VM string implementation.
R=lrn@google.com,srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13352 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 13:00:33 +00:00
efortuna@google.com 2262eaa5ed Reapply r13292 WITH a fix to dartc test status for apply_test.dart
Review URL: https://codereview.chromium.org//11035069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13335 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 23:42:27 +00:00
efortuna@google.com 461f7fb95e Revert r13292. This is when the first failure showed up on dartc, but dartc
didn't actually turn red. Investigating why.
Review URL: https://codereview.chromium.org//11081002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13330 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 23:05:20 +00:00
antonm@google.com dd9a1b5450 Enable corelib suite and triage tests.
R=kasperl@google.com,smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13297 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 15:16:48 +00:00
lrn@google.com 181dc5d3b4 Add apply method signature to Function class.
This does not include an implementation for any backend. The
current implementation throws a NotImplementedException when
called.

BUG=5419

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13292 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 12:57:51 +00:00
ager@google.com abee5139e5 Reapply change to hide VM-only List implementation classes.
The performance issue was that I had not updated the method
recognizer.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13003 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 11:08:38 +00:00
ngeoffray@google.com 3d095ba4a6 Update status file to fix the bot.
Review URL: https://codereview.chromium.org//10990082

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12967 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 14:54:51 +00:00
ager@google.com fe66a0af1a Revert hiding of VM-only coreimpl list implementation types. While I
investigate performance regression (even after fixing constructors
in the intrinsifier).

R=iposva@google.com,srdjan@google.com,fschneider@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12963 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 14:07:56 +00:00
ager@google.com 8e6a2c8345 Hide VM-only coreimpl List implementation types. These should not be
exposed as visible parts of coreimpl.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12952 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 12:37:30 +00:00
lrn@google.com ae0d6fca62 Ensure that hashCode and runtimeType work on null.
BUG=5510

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12948 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 11:38:16 +00:00
lrn@google.com c0f42d2748 Made removeAt errors consistent between dart2js and VM.
Reneabled test for VM.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12632 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 12:52:54 +00:00
lrn@google.com e00c442559 Temporarily skip test until it's fixed to work.
TBR=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12628 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 11:03:56 +00:00
lrn@google.com f52c24b62f Rename NoSuchMethodException to NoSuchMethodError.
Moved NoSuchMethodError to errors.dart.
No changes in co19 tests, but test status updated.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12172 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 09:52:25 +00:00
floitsch@google.com 96dc8493b8 Check if the decomposed date is in the correct range.
On IE Date.UTC does not return NaN for decomposed dates that lie outside
the valid range. Therefore add an additional check.

Fixes issue 4836.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11799 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-04 10:51:11 +00:00
ricow@google.com 1cf3404ef2 Suppress failure on IE in corelib/date_time_test
Created http://dartbug.com/4837 to track this.
Review URL: https://chromiumcodereview.appspot.com//10914002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11574 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 05:51:55 +00:00
ricow@google.com 5871d1e68d Update status file to use mac instead of macos.
Emily: why do we have these skip exceptions anyway, imho they don't make any sense at all (who has ie on linux or mac?). If there is no deeper meaning we should delete them.
Review URL: https://chromiumcodereview.appspot.com//10877010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11287 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 07:01:09 +00:00
efortuna@google.com dd23afbee3 Fix additional IE test statuses after NSME change.
Review URL: https://chromiumcodereview.appspot.com//10869034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11271 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:55:55 +00:00
cshapiro@google.com 2e00a80dd5 Provide an Expando implementation for the VM.
Review URL: https://chromiumcodereview.appspot.com//10861041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11196 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 00:03:40 +00:00
dgrove@google.com bacdd20e96 Continued deletion of frog.
Review URL: https://chromiumcodereview.appspot.com//10860071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11098 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 21:09:52 +00:00
efortuna@google.com 1d14fb856e Un-enable Opera.
Review URL: https://chromiumcodereview.appspot.com//10826255

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10543 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 23:36:51 +00:00
scheglov@google.com 929f158657 Issue 3800. Calling an undefined constructor via new is a warning, not an error
http://code.google.com/p/dart/issues/detail?id=3800

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10531 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 21:04:47 +00:00
efortuna@google.com 5072b18d98 Enable Opera testing (!!!).
Review URL: https://chromiumcodereview.appspot.com//10832239

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10513 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 16:50:34 +00:00
smok@google.com 4412f8653f dart2dart Skip non-language tests, leave yaml too.
Review URL: https://chromiumcodereview.appspot.com//10823079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10014 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 13:50:54 +00:00
smok@google.com ac8d991870 dart2dart
Several fixes for more robust renaming of type annotations and Send-s:
Correct renaming of class interfaces with type arguments, renaming
of global functions, constructor and named constructor calls, static
field accesses.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10003 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 05:27:58 +00:00