Commit graph

22324 commits

Author SHA1 Message Date
floitsch@google.com 1229e5b8db Implement Date.weekday.
Review URL: https://chromereviews.googleplex.com/3541012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@125 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 14:47:41 +00:00
floitsch@google.com 382580f9a7 Rename Time to Duration and adapt methods.
Review URL: https://chromereviews.googleplex.com/3536013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@121 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 14:21:57 +00:00
zundel@google.com d13c2d80f7 Simplifies a couple of tests that are failing in the compiler.
This doesn't actually fix anything, just makes a couple of tests simpler.
These tests are meant to test the visibility of symbols in libraries,
but there was some extra baggage in the test that might make it
fail for unrelated reasons.

BUG=5406175

Review URL: https://chromereviews.googleplex.com/3536017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@118 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 13:51:37 +00:00
floitsch@google.com 57fb110ca4 Update isolate.status file.
R=ngeoffray@google.com

Review URL: https://chromereviews.googleplex.com/3535016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@117 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 12:43:02 +00:00
benl@google.com 7413962616 Review URL: https://chromereviews.googleplex.com/3532014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@113 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 11:40:31 +00:00
benl@google.com 7ddf68b7b3 Review URL: https://chromereviews.googleplex.com/3507025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@112 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 11:19:01 +00:00
floitsch@google.com 19610c461e Unbreak the build.
Update status file, while investigating what's going wrong.

TBR=ngeoffray

R=ngeoffray@google.com

Review URL: https://chromereviews.googleplex.com/3535015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@109 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 10:48:22 +00:00
floitsch@google.com 15727ed074 Rename DateTime to Date.
Review URL: https://chromereviews.googleplex.com/3529013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@107 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 10:14:49 +00:00
ngeoffray@google.com eebda50623 Update status file to reflect what's implemented in dartc and fix bot.
Review URL: https://chromereviews.googleplex.com/3551014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@104 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 09:28:21 +00:00
floitsch@google.com 98d704a3cb Remove Date class and remove .time from DateTime.
Review URL: https://chromereviews.googleplex.com/3508024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@103 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 09:20:30 +00:00
ngeoffray@google.com d42cadb575 Remove directory because it clashes with the existing runtime/tests/dart.
Review URL: https://chromereviews.googleplex.com/3502035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@102 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 08:38:43 +00:00
ngeoffray@google.com 808542f40b Move co10 tests to tests/co19.
Review URL: https://chromereviews.googleplex.com/3538014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@100 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 08:06:12 +00:00
ngeoffray@google.com c05cfb10c0 - Now that prefixes have been implemented, remove the trampoline hack for calling main in a browser test.
- Update some tests to define #library, as the #library is required by the dart blob we're emitting for testing in the browser
- Update language.status to reflect reality.
Review URL: https://chromereviews.googleplex.com/3522016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@94 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 07:11:49 +00:00
mmendez@google.com 115fc3df08 Revert "Revert "Eliminate retarded constructors.""
This reverts r66 which was a revert of r64.  The original commit failed because "optimized" mode builds won't generate NoSuchMethodErrors and that is why the release mode test won't pass.  So for that issue, I updated the language.status file.

The client failure appears to be test infrastructure flakiness because my rollback failed but the subsequent build succeeded and I'm unable to reproduce the failure at my desk.

Review URL: https://chromereviews.googleplex.com/3508025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@88 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 02:46:31 +00:00
mmendez@google.com ad9389b6ca Revert "Eliminate retarded constructors."
This reverts commit r64.

BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3530013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@66 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:03:49 +00:00
mmendez@google.com 1fae22da51 Eliminate retarded constructors.
Modified: Resolver, Normalizer and GenerateJavascriptAST to special case implicit default constructors. Would be simpler if there was a notion of synthetics, but this is not the time to add such a scheme -- if nothing else it would disrupt the IDE.

BUG=4562150

Review URL: https://chromereviews.googleplex.com/3522019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@64 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 19:43:55 +00:00
jgw@google.com da2581daa9 Fix for classes that are the default factory for multiple other classes/interfaces.
BUG=5009110

Review URL: https://chromereviews.googleplex.com/3522018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@47 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 16:25:25 +00:00
ngeoffray@google.com a717c9b7c1 Fix library prefixes on top-level elements. Update status file to reflect reality on library prefixes.
Review URL: https://chromereviews.googleplex.com/3521018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 14:13:59 +00:00
zundel@google.com 78d16cca6c Create a directory for python package, move 'testing' in there
Review URL: https://chromereviews.googleplex.com/3514028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 14:01:12 +00:00
floitsch@google.com 100f10211e Add tests for const classes.
Review URL: https://chromereviews.googleplex.com/3524015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 12:36:26 +00:00
floitsch@google.com 6615d4cc39 Make stub-generator tests non-batchable.
Review URL: https://chromereviews.googleplex.com/3514029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 12:15:50 +00:00
floitsch@google.com b87f38077c Make open receive ports a non-fatal closing condition.
R=kasperl@google.com

Review URL: https://chromereviews.googleplex.com/3508021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 11:46:26 +00:00
floitsch@google.com dacfcd5fa2 Allow nested spawns.
Review URL: https://chromereviews.googleplex.com/3511015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 11:38:17 +00:00
dgrove@google.com ebe439410d Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 06:22:36 +00:00