regis@google.com
8dd26ba9f6
Finalize all classes (fix issue 364).
...
Review URL: http://codereview.chromium.org//8506001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1380 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 23:33:48 +00:00
sigmund@google.com
0ca2044217
Additional fixes for the bot
...
Review URL: http://codereview.chromium.org//8505040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1378 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 23:08:32 +00:00
srdjan@google.com
adade8ae21
Weird up the status file so that proper test is marked as fail.
...
Review URL: http://codereview.chromium.org//8506032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1377 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 22:56:55 +00:00
srdjan@google.com
acbaabe398
Update tests, fix printing of doubles.
...
Review URL: http://codereview.chromium.org//8505026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1373 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 22:27:43 +00:00
srdjan@google.com
6b6d16a41e
Add type check tracing (--trace_type_checks). Inline type checks with class types that have only Dynamic type arguments (or none) and with List<Dynamic> interface.
...
Review URL: http://codereview.chromium.org//8503034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1372 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 21:36:32 +00:00
asiva@google.com
e1277b840a
Fix generation of pprof output.
...
Review URL: http://codereview.chromium.org//8497028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1367 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 18:59:29 +00:00
scheglov@google.com
88d9638bcb
Convert top level factory into method
...
http://code.google.com/p/dart/issues/detail?id=345
R=zundel@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8506019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1364 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 18:11:04 +00:00
srdjan@google.com
44a79df7cb
Fix crash when running with --report_invocation_count.
...
Review URL: http://codereview.chromium.org//8497032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1360 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 16:25:23 +00:00
whesse@google.com
55ad9b0e7b
Make tools/test.dart read standalone.status status file when running tests.
...
BUG=
TEST=tools/test.dart
Review URL: http://codereview.chromium.org//8507010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1358 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 15:50:39 +00:00
ager@google.com
f789c40d85
Correct the sign of exit codes for the process library.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8506013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1356 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 15:37:40 +00:00
ager@google.com
c7125db824
Simplify SIGCLD handler on linux and mac.
...
Handle all dead processes on sigal. This avoids hanging because we
missed some process terminations when they happened simultaneously.
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8506010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1354 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 13:35:14 +00:00
ahe@google.com
e08f3fd125
Allow error-recovery in top-level nodes.
...
Also fix a bunch of broken stuff: presubmit and scanner bench.
Review URL: http://codereview.chromium.org//8497042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1352 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 13:10:44 +00:00
ager@google.com
ddc5446aa7
Avoid creating zombie processes by waiting for the terminated process.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8506009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1347 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 12:05:44 +00:00
whesse@google.com
a485e9a8cd
Edit documentation for ReceivePort and Isolate.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8505008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1345 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 11:56:29 +00:00
ager@google.com
87c2d27fcf
Reapply directory error handling change.
...
Refactor code to have Platform::StrError(int error_code) on all
platforms. Use that to get better error messages on Windows as well.
BUG=
TEST=
Review URL: http://codereview.chromium.org//8511001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1344 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 11:22:33 +00:00
sgjesse@google.com
841221a47d
Merge the two buffer list implementations
...
R=ager@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8506005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1342 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 10:52:20 +00:00
ager@google.com
fa2c0eca2e
Revert "Post on the error handler in the Directory API when errors are encountered."
...
Breaks the mac build because of differences in strerror_r behavior.
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8509002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1339 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 08:33:43 +00:00
ager@google.com
99831629bf
Post on the error handler in the Directory API when errors are encountered.
...
Terminate the listing operation at that point.
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8499018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1338 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 08:08:50 +00:00
hausner@google.com
120d154d76
Eliminate obsolete SuperNegativeTest
...
Dart automatically inserts a super() call if none is present
in the initializer list. This test has become obsolete.
Review URL: http://codereview.chromium.org//8499043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1335 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-09 00:49:10 +00:00
srdjan@google.com
8237924b4a
Runtime type checking should be skipped for Object as destination type.
...
Review URL: http://codereview.chromium.org//8503028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1329 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 21:36:31 +00:00
turnidge@google.com
03df87fe9a
Turn off ObjectEquals test for x64.
...
Review URL: http://codereview.chromium.org//8497020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1327 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 19:38:58 +00:00
turnidge@google.com
04d38885a3
Renaming:
...
Dart_ObjectToString -> Dart_ToString
Dart_Objects_Equal -> Dart_ObjectEquals
Dart_IsInstanceOf -> Dart_ObjectIsType
Dart_ReThrowException -> Dart_RethrowException
Added:
Dart_IsSame: === operation
Added a couple of tests.
Review URL: http://codereview.chromium.org//8490016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1326 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 19:18:22 +00:00
sigmund@google.com
aa720828b4
fix dartcombat tests
...
Review URL: http://codereview.chromium.org//8498019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1325 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 18:55:46 +00:00
whesse@google.com
9eb9cd72c6
Disable TestRunnerTest in standalone.status, file bug 383.
...
BUG=383
TEST=standalone/TestRunnerTest
Review URL: http://codereview.chromium.org//8502022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1320 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 17:05:33 +00:00
fabiomfv@google.com
f95d52d827
https://code.google.com/p/dart/issues/detail?id=255
...
Review URL: http://codereview.chromium.org//8479041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1317 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 15:56:45 +00:00
whesse@google.com
70da4ae316
Add asynchronous test suite runner to Dart rewrite of test scripts.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8492013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1316 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 15:21:47 +00:00
ngeoffray@google.com
e25f373799
Add co19 status file for frog/frogs/leg.
...
Review URL: http://codereview.chromium.org//8496014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1313 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 14:00:37 +00:00
ager@google.com
0a03298fea
Fix hang when opening sockets on ports that are not available.
...
Fix TimeoutTest to use free ports instead of using the same port
always. This does not work because tests are run in parallel and
we can have more than one instance of TimeoutTest running.
R=sgjesse@google.com ,whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8498009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1310 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 13:26:51 +00:00
sgjesse@google.com
37b6f2328a
Fix handling of async IO from pipes on Windows
...
The handling of async IO on Windows wrongly casted everything to a socket connection. For named pipe based connections this caused reading of invalid memory.
Moved some of the functions to a common superclass and only call showdown for socket connections. For named pipe based connections the Dart part of the code will never send shutdown commands as named pipe based connections start out being closed in one direction and closing the other direction causes a close command.
R=ager@google.com
BUG=dart:363
TEST=
Review URL: http://codereview.chromium.org//8503006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1308 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 13:13:26 +00:00
ahe@google.com
8b1b9e2276
Parse formal parameters.
...
This change also deletes the Parameter node class.
Review URL: http://codereview.chromium.org//8497011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1307 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 13:09:03 +00:00
ngeoffray@google.com
d92b93178d
Fix unbound variable error in python code. This fixes the browser tests breakage.
...
Review URL: http://codereview.chromium.org//8502015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1304 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 12:39:54 +00:00
ngeoffray@google.com
8c9a64166f
Add a leg_only test suite, and make sure to run it in our presubmit script.
...
Review URL: http://codereview.chromium.org//8496009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1303 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 12:34:10 +00:00
jrgfogh@google.com
a2ddc4243a
Process tests work across platforms.
...
Review URL: http://codereview.chromium.org//8365032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1301 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 12:16:16 +00:00
sgjesse@google.com
96f822068e
Fix build
...
TBR=ager@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8498005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1299 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 10:02:44 +00:00
sgjesse@google.com
4a45573956
Change the default for the len argument to writeFrom on OutputStream
...
Fixed a bug in the writing code as a result.
Also added copyByffer argument to one of the write methods on the OutputStream interface.
R=ager@google.com
BUG=dart:292
TEST=EchoServerStreamTest.dart
Review URL: http://codereview.chromium.org//8493002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1293 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 09:42:20 +00:00
ahe@google.com
7f942cf185
Update status file with bug numbers.
...
Review URL: http://codereview.chromium.org//8502013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1292 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 09:37:03 +00:00
ngeoffray@google.com
8b50233c83
dartcombat fails due to http://codereview.chromium.org//8467034 .
...
Review URL: http://codereview.chromium.org//8499008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1290 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 09:07:38 +00:00
ahe@google.com
b137d6023d
Test implicit this on fields.
...
Review URL: http://codereview.chromium.org//8438032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1289 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 09:02:46 +00:00
ager@google.com
01990eb7dc
Fix TestRunnerTest to actually fail if one of the test tests has unexpected output.
...
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8501004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1287 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 07:40:47 +00:00
ager@google.com
9f08c80a39
Fix the TestRunnerTest.
...
Use the correct path to the process_test. Decrease the timeout so
the test doesn't wait for 10 seconds.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8502008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1286 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 07:25:25 +00:00
antonm@google.com
e280d98ea7
Bump stack size for pure Dart isolates.
...
Review URL: http://codereview.chromium.org//8495007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1285 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 07:00:44 +00:00
sigmund@google.com
ca197c42c3
Support --frog flag in htmlconverter.py
...
Review URL: http://codereview.chromium.org//8495002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1280 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 01:41:08 +00:00
sigmund@google.com
28d55d0340
Isolates in frog - tweaks in existing js code to make it run. I plan to do an
...
actual cleanup on a second CL.
Review URL: http://codereview.chromium.org//8467034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1279 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 01:27:19 +00:00
turnidge@google.com
0a0dc2a020
Fix the build.
...
Review URL: http://codereview.chromium.org//8495001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1278 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 01:11:23 +00:00
turnidge@google.com
9a3434cd17
Allow printf-style arguments for Dart_Error and Api::Error.
...
Convert one error message to use the new facility for testing
purposes. The rest of the errors will be improved in follow-on
changes.
Add tests.
Minor comment fixes in dart_api_impl.h.
Review URL: http://codereview.chromium.org//8492015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1276 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 00:12:59 +00:00
hausner@google.com
f59e679860
Capturing for loop variables correctly
...
Re-introduce a "fresh copy" of the for loop variable(s) in each iteration. Adding a minimal test to check that closures capture the value of the particular loop iteration.
Review URL: http://codereview.chromium.org//8490019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1273 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-07 22:36:28 +00:00
scheglov@google.com
59a8c89aab
Provide enclosing element (method) for local function object
...
http://code.google.com/p/dart/issues/detail?id=145
1. I've made MethodElement an EnclosingElement to be able to return it from Element.getenclosingElement().
2. I've changed GenerateJavascriptAST.GenerateJavascriptVisitor to use directly method only if it is enclosed with Class, not just any element.
R=zundel@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8479037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1268 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-07 20:58:40 +00:00
vsm@google.com
75915f99d8
Mark these tests as skip
...
TBR=ager
Review URL: http://codereview.chromium.org//8493014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1265 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-07 17:48:52 +00:00
scheglov@google.com
5b2586fd1c
Fix for cyclic declaration
...
http://code.google.com/p/dart/issues/detail?id=348
R=zundel@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8467017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1264 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-07 16:43:45 +00:00
whesse@google.com
68e7ec0db7
Skip TestRunnerTest on win32 platform, file issue 363 about flaky Process class.
...
BUG=363
TEST=standalone/TestRunnerTest
Review URL: http://codereview.chromium.org//8477028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1262 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-07 15:08:36 +00:00