mattsh@google.com
afcf2f7ee7
frogpad now invokes DumpRenderTree
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9454004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4513 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-23 04:14:18 +00:00
srdjan@google.com
1f5be3818a
More optimizations in debug build, makes checked mode > 3x faster.
...
Review URL: https://chromiumcodereview.appspot.com//9443008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4512 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-23 03:31:16 +00:00
sra@google.com
19af3bf64d
Update copyright in dart:dom interface templates
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9436004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4510 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-23 01:09:20 +00:00
jmesserly@google.com
0657c4b4b4
fix dartium status of Resourcetest
...
Seems like the issue is how browser tests are getting generated
Review URL: https://chromiumcodereview.appspot.com//9428058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4504 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 22:49:55 +00:00
srdjan@google.com
a396e575ee
Fix Issue 1804: Forgot to rename one virtual function.
...
Review URL: https://chromiumcodereview.appspot.com//9429072
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4503 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 22:41:56 +00:00
sra@google.com
2a85838483
Remove duplicate of SystemInterface
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9433061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4502 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 22:33:06 +00:00
jmesserly@google.com
a51cbe7e34
another try at fixing status file. still not sure about dartium
...
Review URL: https://chromiumcodereview.appspot.com//9429071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4500 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 22:02:07 +00:00
iposva@google.com
ac171561ce
- Test ensuring that we can access fields of dynamic fields.
...
Review URL: https://chromiumcodereview.appspot.com//9416108
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4498 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 21:54:47 +00:00
jmesserly@google.com
81dd3dd483
fix status file for ResourceTest
...
Review URL: https://chromiumcodereview.appspot.com//9433060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4497 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 21:49:06 +00:00
rice@google.com
486687beff
Don't allow right match to overlap left match
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4496 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 21:47:42 +00:00
jacobr@google.com
f52742ae0a
BUG=
...
TEST=
Review URL: https://chromiumcodereview.appspot.com//9347036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4495 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 21:44:55 +00:00
iposva@google.com
8f2bf7f884
Fix issue 732:
...
- Add handling for #resource library tags: Ignore at runtime, they are only used
by the Dart Editor at the moment.
Review URL: https://chromiumcodereview.appspot.com//9416111
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4494 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 21:40:27 +00:00
iposva@google.com
f0c1954e9b
Fix issue 732:
...
- Add handling for #resource library tags: Ignore at runtime, they are only used
by the Dart Editor at the moment.
Review URL: https://chromiumcodereview.appspot.com//9431038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4493 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 21:40:07 +00:00
mattsh@google.com
37205ec18f
remove end script tag from comment
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9416110
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4492 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 21:30:39 +00:00
jmesserly@google.com
42972fdec6
This change runs WebDriver tests in batch mode. This means that it keeps N browsers open, where N is the number of jobs in test.dart. It then passes each in-browser test to the next available browser. This is analogous to how DartC tests reuse the java process.
...
It seems to cut about 30-40% off the run time of tests on Mac+Firefox, with roughly similar gains for other browsers. It also might reduce the browser startup flakiness--although this needs more testing.
I reused almost all of the logic and protocol from DartC's batch runner. Most of the changes are in run_selenium.py, which now implements the batch protocol when started with --batch.
A few changes to BatchProcessRunner:
1. it can now pass arguments when starting the batch process. We need this to start "python run_selenium.py --batch"
2. related to #1 , it needs to remove the run_selenium argument when running each individual test.
3. added a graceful shutdown command so run_selenium can shutdown. I would've preferred SIGTERM or SIGINT, but it doesn't look like that's supported in the Process API (sends only SIGKILL).
Changes to run_selenium.py:
1. Add a batch mode
2. Factored the common functionality to preserve "single run" mode
Review URL: https://chromiumcodereview.appspot.com//9420037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4491 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 21:27:46 +00:00
iposva@google.com
f9c7d4053a
- Test for issue #732 : #resource library tag handling in VM.
...
Review URL: https://chromiumcodereview.appspot.com//9416103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4490 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 21:16:15 +00:00
ahe@google.com
fef1247082
Update status file for frog/leg on debug VM
...
Review URL: https://chromiumcodereview.appspot.com//9428043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4486 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 19:59:25 +00:00
nweiz@google.com
38af502c09
Regenerate htmlimpl.
...
TBR
Review URL: https://chromiumcodereview.appspot.com//9372112
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4483 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 19:05:35 +00:00
regis@google.com
1442b01a25
Fix typo in --verify_implements functionality (issue 1291).
...
Review URL: https://chromiumcodereview.appspot.com//9433047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4481 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 18:42:09 +00:00
ahe@google.com
3fbed82d9d
Stopwatch.elapsed must always increase after start has been called.
...
Review URL: https://chromiumcodereview.appspot.com//9416065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4479 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 18:03:52 +00:00
srdjan@google.com
251439618f
Disable invocation of otpimizing compiler on x64 regardless of optimization_invocation_threshold value.
...
Review URL: https://chromiumcodereview.appspot.com//9431036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4478 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 17:54:57 +00:00
ager@google.com
a1edbae18b
Fix another problem with the new file test. Don't use the same file
...
name for two tests and make sure to notify correctly in async tests
that use temporary directories.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9431034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4477 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 17:51:43 +00:00
regis@google.com
25fcaf5044
Generic bound errors are static type errors not to be reported by the VM.
...
Review URL: https://chromiumcodereview.appspot.com//9428015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4476 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 17:48:05 +00:00
srdjan@google.com
ab73a42f2d
List.add is void (returns null). Fix issue 1213.
...
Review URL: https://chromiumcodereview.appspot.com//9431024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4475 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 17:46:38 +00:00
srdjan@google.com
d494c74610
Reduce run-time of two longest running tests (checked mode).
...
Review URL: https://chromiumcodereview.appspot.com//9416102
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4474 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 17:42:32 +00:00
antonm@google.com
5d31dd7a49
Suppress another dart:io test.
...
Review URL: https://chromiumcodereview.appspot.com//9372109
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4473 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 17:39:24 +00:00
ahe@google.com
7d28eca1f7
Update dartc status file
...
Review URL: https://chromiumcodereview.appspot.com//9431033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4471 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 17:34:32 +00:00
ngeoffray@google.com
1cf2784c9b
Change CodeAfterTryIsExecutedNegativeTest to a multitest.
...
Review URL: https://chromiumcodereview.appspot.com//9433041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4470 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 16:59:02 +00:00
kmillikin@google.com
552825c221
Required rename on x64 platform.
...
Due to a name clash, rename class Instruction => InstructionPattern.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9429055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4466 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 16:38:56 +00:00
ager@google.com
197cc1843e
Fix file test that was too specific.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9429054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4465 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 16:29:51 +00:00
ager@google.com
7e4a36278f
Implement File.directory() and File.directorySync() to get
...
containing directory for a file.
BUG=dart:1618
TEST=standalone/FileTest
Review URL: https://chromiumcodereview.appspot.com//9416096
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4464 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 16:18:39 +00:00
srdjan@google.com
7e24821862
Implement more missing pieces in VM's core library. Although it does not seem to make sense to have toStringAsFixed, toStringAsExponential and toStringAsPrecision in integers, the interface 'num' specifies them, most likely because of troubles in Javascript versions.
...
Note that Double_toStringAsExponential and Double_toStringAsPrecision are still unimplemented in C++. Instead of crashing, throw an exception. Also fix argument passing.
Review URL: https://chromiumcodereview.appspot.com//9416084
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4463 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 15:31:08 +00:00
ahe@google.com
1c8b2fae68
Update frog status file
...
Review URL: https://chromiumcodereview.appspot.com//9416100
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4461 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 15:25:31 +00:00
kmillikin@google.com
41e77a0a9e
Initial implementation of a flow-graph builder for Dart's AST.
...
Visit the AST and generate an instruction (ie, not basic-block) flow
graph.
The flow graph for the simple function:
main() {
var f = 1;
var n = 5;
while (n > 0) {
f = f * n;
n = n - 1;
}
print(f);
}
is:
1: StoreLocal(f, #1 )
2: StoreLocal(n, #5 )
3: [join]
4: t0 <-LoadLocal(n)
5: t0 <-InstanceCall(>, t0, #0 )
6: if t0 goto(7, 15)
7: [target]
8: t0 <-LoadLocal(f)
9: t1 <-LoadLocal(n)
10: t0 <-InstanceCall(*, t0, t1)
11: StoreLocal(f, t0)
12: t0 <-LoadLocal(n)
13: t0 <-InstanceCall(-, t0, #1 )
14: StoreLocal(n, t0) goto 3
15: [target]
16: t0 <-LoadLocal(f)
17: StaticCall(print, t0)
18: return #null
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9414003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4460 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 15:20:13 +00:00
ahe@google.com
ac33f3bfaa
Update leg status files.
...
Review URL: https://chromiumcodereview.appspot.com//9416099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4459 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 15:20:10 +00:00
ahe@google.com
9df9992f4f
Second attempt to make dartc green.
...
Review URL: https://chromiumcodereview.appspot.com//9433040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4458 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 14:54:46 +00:00
ahe@google.com
1aea600963
Mock up Collections.collectionToString for dartc
...
Review URL: https://chromiumcodereview.appspot.com//9416098
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4457 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 14:32:10 +00:00
ahe@google.com
6583d2ceae
Update VM co19 status
...
Review URL: https://chromiumcodereview.appspot.com//9428032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4456 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 14:28:21 +00:00
floitsch@google.com
3b96c23926
Allow binary operators on compile-time-constants.
...
Review URL: https://chromiumcodereview.appspot.com//9427012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4455 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 14:25:27 +00:00
lrn@google.com
750ba21241
Support break and labeled statements.
...
Review URL: https://chromiumcodereview.appspot.com//9421035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4453 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 14:14:51 +00:00
sgjesse@google.com
46e44ecba1
Add both sync and async methods for getting streams for a File
...
The File class used to have two synchronous methods
openInputStream and openOutputStream for getting streams for a
file. These have now been changed to work asynchronously by the
associated callback inputStreamHandler or outputStreamHandler
when the stream is opened and available.
To support the synchronous API two new methods
openInputStreamSync and openOutputStreamSync which returns the
stream directly as before have been added.
The actual implemnetation of the file streams still uses the
synchronous file API internally. However this change
adds "simulated" handling of noPendingWriteHandler and
closeHandler for file output stream.
R=ager@google.com
BUG=dart:1784
TEST=
Review URL: https://chromiumcodereview.appspot.com//9432023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4452 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 14:11:04 +00:00
podivilov@google.com
365b5b36bb
Unbreak dartium build.
...
TBR=vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//9372102
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4451 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 14:08:54 +00:00
ahe@google.com
cbcba131eb
Explicitly use node.js in the cases where it is needed.
...
Review URL: https://chromiumcodereview.appspot.com//9430046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4450 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 13:57:25 +00:00
ngeoffray@google.com
2b9494459c
Fix typo.
...
Review URL: https://chromiumcodereview.appspot.com//9416094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4448 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 13:17:39 +00:00
ngeoffray@google.com
ea554fcbb6
Make sure the merge block after a try/catch has its dominator the block that contains HTry. This way, the codegen does not think a catch block needs to visit the merge block.
...
Review URL: https://chromiumcodereview.appspot.com//9432022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4447 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 13:16:44 +00:00
ahe@google.com
15155475f3
Return newValue from indexSet helper and other intercepted setters. Also, throw IllegalArgumentException on negative length in getRange interceptor.
...
Review URL: https://chromiumcodereview.appspot.com//9355048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4445 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:55:51 +00:00
ahe@google.com
40264e33ab
Implement .dynamic and throw ObjectNotClosureException in forEach interceptor.
...
Review URL: https://chromiumcodereview.appspot.com//9426041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4444 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:55:31 +00:00
ahe@google.com
327847c55e
Improve String and RegExp implementations.
...
Review URL: https://chromiumcodereview.appspot.com//9426040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4443 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:55:09 +00:00
ahe@google.com
852455cbf1
Annotate language and corelib test status.
...
Review URL: https://chromiumcodereview.appspot.com//9427018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4442 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:54:36 +00:00
ahe@google.com
848f1e8d59
Copy JSSyntaxRegExp from frog.
...
Review URL: https://chromiumcodereview.appspot.com//9423042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4440 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:53:53 +00:00