Commit graph

55417 commits

Author SHA1 Message Date
sra@google.com 62d265fb4e Revert "Tests for passing falsy values to named arguments."
This reverts commit 75ee354c00e07fd209c8e60c3f588e55eaac7299.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@257 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 20:23:28 +00:00
sigmund@google.com e6eb1f62a1 get_drt.py: fix to remove race with dartium bot during downloads
Review URL: https://chromereviews.googleplex.com/3561021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@256 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 20:06:22 +00:00
sra@google.com bead816a8c Tests for passing falsy values to named arguments.
BUG=5419670
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@254 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 20:00:39 +00:00
sigmund@google.com 4c9be10f18 Remove my email
Review URL: https://chromereviews.googleplex.com/3578016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@253 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 19:54:03 +00:00
johnlenz@google.com f2639e3a79 Add Dart RTT info to the Function prototype
Review URL: https://chromereviews.googleplex.com/3573017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@252 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 19:32:49 +00:00
floitsch@google.com 385e90dd3b Remove my mail from some of the files.
Review URL: https://chromereviews.googleplex.com/3573018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@251 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 19:28:26 +00:00
jbrosenberg@google.com 7f4d06ec8d Fixed args passed to metrics scripts
R=codefu

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@250 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 19:06:02 +00:00
regis@google.com 820653338a Avoid accessing the object store when checking for var class or void class.
Review URL: https://chromereviews.googleplex.com/3562016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@249 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 18:31:02 +00:00
sigmund@google.com 05b0b0ba29 get_drt + client bots: fix google-storage source location for archives
Review URL: https://chromereviews.googleplex.com/3583012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@248 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 18:27:18 +00:00
rchandia@google.com 770771127b Deactivates ANSI colors on errors for non-interactive consoles
R=zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@245 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 18:06:23 +00:00
hausner@google.com 51bfa4841e Supercall skipping
Trivial change. Fixes b/5384453
Review URL: https://chromereviews.googleplex.com/3570015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@244 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 18:02:30 +00:00
sigmund@google.com 5c68f6de7c get_drt.py: remove extra printing
Review URL: https://chromereviews.googleplex.com/3558018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@243 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 17:49:37 +00:00
jgw@google.com d0cd03b159 Revert "Changed error messages to report the URI of the offending file, rather than its "name"."
Review URL: https://chromereviews.googleplex.com/3566013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@240 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 17:23:04 +00:00
jgw@google.com 340daa5ed0 Changed error messages to report the URI of the offending file, rather than its "name".
Now you can actually find them.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@237 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 16:46:07 +00:00
jbrosenberg@google.com 115edafe88 update compiler_compare.sh to point to new repo
Review URL: https://chromereviews.googleplex.com/3568012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@232 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 16:02:07 +00:00
ngeoffray@google.com d9f0ae9d05 Update status file.
Review URL: https://chromereviews.googleplex.com/3577017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@231 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 16:01:19 +00:00
floitsch@google.com e143f6c81f Improve doc for isolates.
Also make Isolate.main abstract.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@230 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 15:46:33 +00:00
zundel@google.com d82c272940 Fix exception message in get_drt.py
Exception threw an exception when the command failed!

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@229 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 15:31:49 +00:00
ngeoffray@google.com 96303f1dab Use import directives instead of --expose_core_impl.
Review URL: https://chromereviews.googleplex.com/3561018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@227 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 14:56:12 +00:00
ngeoffray@google.com ade74afb71 Mark test as SKIP because it apparently passes when running at the top-level (which is what the wiki says for running tests).
Review URL: https://chromereviews.googleplex.com/3580012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@225 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 14:52:36 +00:00
srdjan@google.com 3e702c53d7 Fix bool type checks for checked mode. Fast case is now always executed.
Review URL: https://chromereviews.googleplex.com/3577016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@224 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 14:51:45 +00:00
ngeoffray@google.com 57ef47426c Add #library directives to make browser testing happy.
Review URL: https://chromereviews.googleplex.com/3574016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@222 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 14:28:18 +00:00
floitsch@google.com 6a5e62c07e Add a double.compareTo test.
Review URL: https://chromereviews.googleplex.com/3561015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@221 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 14:16:29 +00:00
ngeoffray@google.com 672b792a6b --expose_core_impl does not work on chromium right now.
Review URL: https://chromereviews.googleplex.com/3567014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@220 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 14:08:21 +00:00
ngeoffray@google.com 475a9ab9f6 You shall run checked and unchecked tests!
Review URL: https://chromereviews.googleplex.com/3567013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@219 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 13:56:46 +00:00
ngeoffray@google.com 394ddb3f29 Checked mode is soooo right.
Review URL: https://chromereviews.googleplex.com/3577015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@218 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 13:50:39 +00:00
ngeoffray@google.com 934801b8fd Add maps.dart in corelib_impl.dart of DartC.
Review URL: https://chromereviews.googleplex.com/3570014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@217 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 13:49:42 +00:00
antonm@google.com 3d26b7d9f0 Introduce Maps.
This class helps to implement Map interface provided you have basic operations
like [], []=, remove and getKeys.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@216 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 13:36:51 +00:00
ngeoffray@google.com 7f7ee4a02b Address feedback and add more comments to the new range methods.
Review URL: https://chromereviews.googleplex.com/3568013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@214 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 13:12:55 +00:00
ngeoffray@google.com 8b8b4844fa Add default arguments for regexp flags.
Review URL: https://chromereviews.googleplex.com/3558016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@213 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 12:47:56 +00:00
floitsch@google.com 312a19af39 Add INFINITY, NAN and NEGATIVE_INFINITY to double.
Review URL: https://chromereviews.googleplex.com/3572013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@212 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 11:49:02 +00:00
ngeoffray@google.com 0e61a2bbb3 And one other use of substringToEnd...
Review URL: https://chromereviews.googleplex.com/3572014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@211 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 11:30:52 +00:00
ager@google.com 4914d6c9c6 Windows Sockets: handle client socket close correctly.
When the client closes the socket on which it is listening
GetQueuedCompletionsStatus can return with the error
ERROR_NETNAME_DELETED.

R=sgjesse@google.com
BUG=2
TEST=EchoServerTest.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@209 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 11:17:58 +00:00
srdjan@google.com 5529bf7abe The simplest change to enable optimizing compiler in type checked mode. Every node that needs type checking code will be executed by unoptimized code.
Review URL: https://chromereviews.googleplex.com/3577012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@208 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 11:16:57 +00:00
kasperl@google.com 1a3e9c39b1 Make replyTo argument optional in SendPort.send.
R=benl@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@207 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 10:44:50 +00:00
floitsch@google.com c082160907 Allow mixing of heavy and light isolates.
Review URL: https://chromereviews.googleplex.com/3558015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@206 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 10:37:53 +00:00
iposva@google.com a6f62f6009 Fix bug 5425848:
- Handle LibraryPrefix entries when growing a library dictionary.
Review URL: https://chromereviews.googleplex.com/3570013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@205 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 09:26:03 +00:00
jgw@google.com 87d272b003 Fully removes support for positional parameters with default values.
Review URL: https://chromereviews.googleplex.com/3576012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@204 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 09:18:48 +00:00
ngeoffray@google.com d4c8bacc2d substringToEnd does not exist anymore.
Review URL: https://chromereviews.googleplex.com/3575012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@203 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:48:12 +00:00
iposva@google.com e4809c8a9f - Revert r80: Too large an impact on running in debug mode.
Review URL: https://chromereviews.googleplex.com/3558014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@202 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:44:46 +00:00
ngeoffray@google.com c2b5e488da Remove substringToEnd.
Review URL: https://chromereviews.googleplex.com/3561013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@201 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:41:38 +00:00
floitsch@google.com 697b7b46b8 Add another isolate message passing test.
Review URL: https://chromereviews.googleplex.com/3572012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@200 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:31:35 +00:00
kasperl@google.com de889ee719 Get rid of the support for the old parameter syntax.
I've CC'ed Matthias too and I wouldn't be surprised if he can
find a nicer way of dealing with this, but this is pretty
simple and allows me to make progress on getting rid of the
old syntax.

R=iposva@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@199 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:03:04 +00:00
ngeoffray@google.com cb3a9f6641 Add range methods to List. Throw not implemented for now.
Review URL: https://chromereviews.googleplex.com/3573012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@198 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:56:42 +00:00
ager@google.com 6fe04a2202 Mark EchoServerTests as Pass || Crash on Windows while we investigate.
R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@197 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:56:01 +00:00
zundel@google.com e890f48264 Extend --optimize to include chromium/release
R=jbrosenberg@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@196 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:26:06 +00:00
karlklose@google.com c3f3596e68 Store referenced element for invocations and property access.
Review URL: https://chromereviews.googleplex.com/3460036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@195 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:02:03 +00:00
jbrosenberg@google.com f5d2bc1d69 Revert 192: "Bypass precompiled libs for up to date checks"
Appears to have broken chromium-release build

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@194 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 06:38:05 +00:00
kasperl@google.com c9f9ba04f2 Stop using the old syntax for default argument values in more places.
The code in client/html/generated/ will be regenerated shortly
but for now I want to get to a point where we can remove the
support for the old syntax.

TBR'ed.

R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@193 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 05:46:15 +00:00
jbrosenberg@google.com b66797f6e4 Bypass precompiled libs for up to date checks
Fixes to bundledArtifact handling

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@192 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 05:11:24 +00:00