Commit graph

42000 commits

Author SHA1 Message Date
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
vsm@google.com 0369e68509 Fix stale config. Test is now passing.
TBR=mmendez

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@191 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 04:56:13 +00:00
vsm@google.com 71197ca222 Package html lib into single (2 for now) files
To generate:
(1) cd into client/html
(2) run: ../tools/copy_dart.py release html.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@190 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 02:55:41 +00:00
zundel@google.com 909ba0d3a7 A problem with options parsing due to half-way converting from RunnerFlags
Cleans up the usage message for cmdline parsing, and passes the
object CompilerOptions (and friends) around instead of the array
of command line arguments.

Committed: https://code.google.com/p/dart/source/detail?r=187

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@189 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 02:05:19 +00:00
johnlenz@google.com 5d45b72a3a Rollback breaking change.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@188 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 01:16:59 +00:00
zundel@google.com b5b46da81c A problem with options parsing due to half-way converting from RunnerFlags
Cleans up the usage message for cmdline parsing, and passes the
object CompilerOptions (and friends) around instead of the array
of command line arguments.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@187 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:56:18 +00:00
sigmund@google.com 338a9b507a htmlconverter: fixing the use of optimized output.
Review URL: https://chromereviews.googleplex.com/3532021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@178 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:26:48 +00:00
cshapiro@google.com 7163d2595d Prove, instead of disprove, element width compatibility.
This improves robustness by ensuring that only one predicate variable
is true before selecting the implementation method.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@177 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:18:59 +00:00
jmesserly@google.com 50e675ca46 Fix for Swarm on iPad from static file server.
Also add parallel downloading to our offline image script.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@176 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:15:18 +00:00
sigmund@google.com 3c6d685a05 Use new file names for downloading dartium archives.
Review URL: https://chromereviews.googleplex.com/3561012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@175 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:04:57 +00:00
sigmund@google.com 6c03d06c5d htmlconverter: allow imports in inlined code, including imports to dom/html
Review URL: https://chromereviews.googleplex.com/3530016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@174 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:48:20 +00:00
johnlenz@google.com 83337cd637 Remove the now-not-failing test from the right arch/mode
Review URL: https://chromereviews.googleplex.com/3550018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@173 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:47:34 +00:00
sra@google.com 56cc8ce66f Test for deeply nested parameterized types.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@171 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:11:00 +00:00
johnlenz@google.com 8dda0078b8 Fix bad merge.
Review URL: https://chromereviews.googleplex.com/3555012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@170 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:11:00 +00:00
cshapiro@google.com 9aca46d2a7 Implement support for reading and writing UTF-8 encoded strings.
In the past, characters in C strings were assumed to encode themselves
and when converting Dart strings to C strings characters were narrowed
to 8-bit values.

With this change, C strings are assumed to be UTF-8 encoded.
Converting a C string to a Dart string applies UTF-8 decoding and
converting a Dart string to a C string applies UTF-8 encoding.

Also part of this change are new methods to construct uninitialized
string objects and to copy string data.

BUG=5343358

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@169 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:42:24 +00:00
regis@google.com db3a736c33 Support optional named arguments at the dart_entry level in the VM.
Fix bug 5422033: Const expressions don't work with named arguments.
Review URL: https://chromereviews.googleplex.com/3552015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@168 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:40:45 +00:00
johnlenz@google.com 8ad115f998 Fix RTT map lookups in optimized mode.
Review URL: https://chromereviews.googleplex.com/3535020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@167 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:36:35 +00:00
regis@google.com b618447392 Inline condition type check.
Review URL: https://chromereviews.googleplex.com/3534018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@166 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:35:01 +00:00