Commit graph

10537 commits

Author SHA1 Message Date
floitsch@google.com 36e78a2177 Make hasNext a getter.
Review URL: https://codereview.chromium.org//11361064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14567 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 13:29:00 +00:00
karlklose@google.com e7a57dddfe Reapply "Issue 11361118: Use new library/import syntax in dart2js."
TBR=erikcorry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14566 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 13:16:06 +00:00
karlklose@google.com 01049430d5 Revert "Use new library/import syntax in dart2js."
This reverts commit r14564.

TBR=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14565 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 12:34:22 +00:00
karlklose@google.com aa5f626785 Use new library/import syntax in dart2js.
Review URL: https://codereview.chromium.org//11361118

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14564 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 12:24:48 +00:00
ngeoffray@google.com 71834a916c Do not use hack around aborting loop body for a do/while.
Review URL: https://codereview.chromium.org//11359068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14563 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 12:21:00 +00:00
johnniwinther@google.com 07e6f0d876 Handle (missing) trailing slash in dartdoc
Review URL: https://codereview.chromium.org//11369092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14561 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 11:54:40 +00:00
sgjesse@google.com d83354b83d Keep track of the request and response state in the HTTP client connection
In a HTTP client connection it is possible for the response to end
before the request has been fully sent. This situation was not handled
correctly. Now the HTTP client connection keeps track of the state of
both request and response and doen not end the client connection
before both are done.

R=ager@google.com

BUG=dart:6521

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14559 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 11:28:19 +00:00
ahe@google.com c1cf8d357d Resolve redirecting factories.
Review URL: https://codereview.chromium.org//11230007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14558 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 10:55:23 +00:00
johnniwinther@google.com 1e96528cc1 Fix move errors.
Review URL: https://codereview.chromium.org//11359059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14557 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 10:19:56 +00:00
johnniwinther@google.com b6262464d3 Move mirrors from dartdoc to dart2js
Review URL: https://codereview.chromium.org//11363083

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14556 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 10:17:40 +00:00
ngeoffray@google.com 456e3a18a8 Remove hack around aborting loop body in the case of for loops and while loops.
Review URL: https://codereview.chromium.org//11361100

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14555 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 09:28:31 +00:00
ngeoffray@google.com f70e9142d9 Fix control flow graph in the presence of aborting instructions in a try/catch/finally.
Review URL: https://codereview.chromium.org//11366085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14554 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 08:51:27 +00:00
efortuna@google.com 763dcbb20a Forgot to add file to previous commit.
TBR
Review URL: https://codereview.chromium.org//11312097

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14551 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 01:56:04 +00:00
efortuna@google.com dc03ca7d97 Rename DOMURL to ObjectUrl.
Review URL: https://codereview.chromium.org//11312091

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14550 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 01:25:02 +00:00
johnniwinther@google.com b3f4c99af6 Revert "Handle (missing) trailing slash in dartdoc"
This reverts commit r14536.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14537 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:37:53 +00:00
johnniwinther@google.com b861fa6566 Handle (missing) trailing slash in dartdoc
BUG=2311

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14536 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:29:36 +00:00
ngeoffray@google.com 04d43e8dd8 Do not type check return values that come from JS. See issue 6534.
Review URL: https://codereview.chromium.org//11363082

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14533 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 15:34:11 +00:00
ngeoffray@google.com ff6fdba75e Add a check for issue 6530, so that we don't report errors in checked mode on a void return type.
Review URL: https://codereview.chromium.org//11361098

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14531 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 14:32:15 +00:00
karlklose@google.com fa7af65dec Remove abstract modifier from methods in dart2js.
Review URL: https://codereview.chromium.org//11368077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14529 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 14:22:05 +00:00
ajohnsen@google.com 5a42ca5be6 Fix identical test in hash-set.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14528 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 14:19:25 +00:00
karlklose@google.com ffcc96540e Fix a wrong type annotation.
Review URL: https://codereview.chromium.org//11367092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14526 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 13:49:16 +00:00
ajohnsen@google.com 97b775fc74 Move HashMapImplementation, LinkedHashMapImplementation and HashSetImplementation to core as private classes.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14525 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 13:47:11 +00:00
ngeoffray@google.com d123a51aeb Fix return type in isolate library.
Review URL: https://codereview.chromium.org//11364071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14523 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 12:33:09 +00:00
ngeoffray@google.com 83887273c3 Address Peter's comments in https://codereview.chromium.org/11361059, and fix a host-checked mode bug.
Review URL: https://codereview.chromium.org//11361093

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14522 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 11:40:26 +00:00
ngeoffray@google.com 2c78b21acb Fix checked mode failures.
Review URL: https://codereview.chromium.org//11365086

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14520 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 10:57:38 +00:00
ngeoffray@google.com 6eb5463f93 Support checked mode for return type.
Review URL: https://codereview.chromium.org//11361060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14518 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 10:35:19 +00:00
floitsch@google.com 7d39042086 Fix bad mangling of environment parameters.
Review URL: https://codereview.chromium.org//11186048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14517 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 10:29:50 +00:00
johnniwinther@google.com c731ae99fa Add isParameter, change isField to isVariable on MemberMirror
Review URL: https://codereview.chromium.org//11363076

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14516 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 10:25:21 +00:00
karlklose@google.com 323d8f6a9c Support class and typedef literals as expressions.
For a class C, the expression 'C' returns the canonicalized instance of Type for this class. If C has type variables, they are instantiated with 'dynamic'.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14515 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 09:29:51 +00:00
ajohnsen@google.com 796e4b3400 Changed DARTSESSID's httpOnly property to true by default.
BUG=6516

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14514 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 09:23:55 +00:00
ager@google.com 536d97a520 Add example of how to get a DirectoryLister to documentation.
R=sgjesse@google.com
BUG=dartbug.com/4729

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14513 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 09:22:04 +00:00
erikcorry@google.com 076e2564b8 Enable minifier for parameters and locals (disabled for native methods).
R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14508 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-03 08:09:48 +00:00
efortuna@google.com 358e4c092b Reapply Keycode enumeration from 14504.
Review URL: https://codereview.chromium.org//11312077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14506 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 23:06:43 +00:00
efortuna@google.com ddf72c66cf Revert r14504.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14505 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 22:54:25 +00:00
efortuna@google.com d15f684911 Add KeyCode enumeration in Dart and fix path of html lib script after sdk move.
Review URL: https://codereview.chromium.org//11362065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14504 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 22:49:07 +00:00
dgrove@google.com 961e24641f Update paths to reflect new lib structure.
Review URL: https://codereview.chromium.org//11293062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14474 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 15:17:53 +00:00
dgrove@google.com 037b2f8c60 svn add sdk
svn mv lib/sdk
svn mv lib/sdk/compiler sdk/lib/_internal
svn mv pkg/dartdoc sdk/lib/_internal

(cannot gcl upload due to .png's in dartdoc)

TBR=iposva
  


git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14473 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 14:53:15 +00:00