asiva@google.com
ceed3e5beb
- Add support to interrupt a running isolate with the following command:
...
<=== InterruptCmd = "{" RequestId "," command ":" interrupt "," params ":" "{" isolateId ":" Integer "}" "}"
===> InterruptCmdResp = "{" RequestId "}"
- Send isolate events over to the debugger client in the following format:
===> "{" event ":" isolate "," params ":" "{" reason ":" created "," id ":" Integer "}" "}"
===> "{" event ":" isolate "," params ":" "{" reason ":" shutdown "," id ":" Integer "}" "}"
===> "{" event ":" paused "," params ":" "{" reason ":" interrupted "," callFrames ":" StackTrace "}" "}"
- Added id ";" Integer, to params in all paused events messages
- create per isolate debugger message queues, instead of the global static one
- Add 'i' command in ddbg to exercise the interrupt feature
- Add support for handling isolave event messages in ddbg
Review URL: https://codereview.chromium.org//11028040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13333 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 23:10:28 +00:00
gram@google.com
bc37e6e9b2
Update version number of xpi and check in built version.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13326 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 22:11:20 +00:00
gram@google.com
5187e54f41
Fixed the issue with the ConsoleCollector extension causing FF to hang if run from WebDriver.
...
Review URL: https://codereview.chromium.org//11028067
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13318 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 20:47:52 +00:00
dgrove@google.com
22c7d38bfe
Strip the dart binary in the SDK on non-Windows platforms.
...
BUG=5544
Review URL: https://codereview.chromium.org//11028052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13298 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 15:33:02 +00:00
ricow@google.com
55be27370a
Reland support for firefox jsshell.
...
The change compared to:
http://code.google.com/p/dart/source/detail?r=13230
is that we by default inherit the environment from the parent process
and that when actually setting LD_LIBRARY_PATH for linux we do this in
_addition_ to the existing environment.
Review URL: https://codereview.chromium.org//11031064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13290 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 12:51:41 +00:00
ager@google.com
33b4a0ac44
Fix issues with test.dart that appeared on Mac.
...
The issue was that we did not properly wait for subprocesses to
die. This was hidden by the fact that we always used exit to exit from
test.dart. I have removed all exit(0) calls from test.dart to keep us
honest. If nothing went wrong test.dart should terminate with exit
code 0 automatically.
R=ricow@google.com ,ahe@google.com
BUG=dartbug.com/5644
Review URL: https://codereview.chromium.org//11032047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13286 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 11:41:47 +00:00
ahe@google.com
5b8e8c0459
Revert "Make test.dart executable."
...
This reverts r13282.
Review URL: https://codereview.chromium.org//11038061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13284 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 11:23:23 +00:00
ahe@google.com
2d77e48462
Make test.dart executable.
...
Review URL: https://codereview.chromium.org//11065036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13282 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 10:59:26 +00:00
ricow@google.com
96814a521e
Revert r13264, it is making the firefox bot very slow, with hundreds of tests timing out.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13272 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 05:43:42 +00:00
gram@google.com
5279fbaea8
Remove Chrome extension code that was commited by accident.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13268 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 22:52:09 +00:00
gram@google.com
e2709f12e6
Add the ability to get the Javascript console errors in Firefox in the test output when tests fail.
...
Review URL: https://codereview.chromium.org//11043007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13264 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 21:51:06 +00:00
ager@google.com
f8308cb913
Temporary fix to mac buildbot issue. We need to figure out why
...
the socket is not immediately available for reuse on the mac.
R=sgjesse@google.com ,ahe@google.com
BUG=
Review URL: https://codereview.chromium.org//11040040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13234 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 14:43:47 +00:00
ricow@google.com
a9c0550da9
Revert revision 13230
...
Review URL: https://codereview.chromium.org//11066014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13231 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 13:44:44 +00:00
ricow@google.com
d8c04e8444
Add firefox jsshell support in testing scripts.
...
Additionally, introduce a new jscl key in the configuration for less verbose status file section headers (i.e., $jscl instead of ($runtime == d8 || $runtime == jsshell)
This also adds support for setting environment variables in a command.
Review URL: https://codereview.chromium.org//11028023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13230 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 13:24:29 +00:00
ager@google.com
0346aa70d9
When only listing and not running tests, don't start the http server.
...
R=sgjesse@google.com
BUG=
Review URL: https://codereview.chromium.org//11029024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13219 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 11:29:05 +00:00
ager@google.com
c4c4b7f08c
Add in-process http server to the dart test scripts.
...
Removed support for extra commands. Change pkg/intl test to use
builtin http server.
Fixed regression in test runner so the test script terminates when
passing in an unknown selector.
BUG=
Review URL: https://codereview.chromium.org//11035027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13217 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 10:43:48 +00:00
ager@google.com
ffe5b29eed
Minor fixes to test.dart.
...
Fix some switches, remove interfaces, and add 'incomplete' to
the TestOutput abstract class.
R=ricow@google.com ,whesse@google.com
BUG=
Review URL: https://codereview.chromium.org//11047013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13169 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 10:47:05 +00:00
ricow@google.com
f17ea5191c
Update the semantics of the 'special-command' flag given to the test script.
...
This gives the suffix as arguments to the existing executable, not as a suffix to the whole command.
Review URL: https://codereview.chromium.org//11019012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13100 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 05:38:56 +00:00
ager@google.com
0f53862f55
Change run_vm_tests to take the VM arguments before the test name so
...
it acts more like the standalone VM. That way the test scripts can
uniformly pass extra arguments to the cctest runner and to the VM
itself.
The use case for this is that it is nice to be able to add extra
vm flags to all tests using the --special-commands flag for the
test runner:
./tools/test.py --special-commands='time @ --vm-flag'
This will turn cc tests into:
time run_vm_tests --vm-flag Selector
and VM tests into:
time dart --vm-flag my_test.dart
R=ricow@google.com ,asiva@google.com
BUG=
Review URL: https://codereview.chromium.org//11018014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13067 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 14:04:26 +00:00
johnniwinther@google.com
3b58886167
Copy AHEM____.TTF after DRT update.
...
BUG=3166
Review URL: https://codereview.chromium.org//10917293
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13021 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 13:40:01 +00:00
ahe@google.com
48a59514f3
Add progress indicator for co19 updating.
...
Review URL: https://codereview.chromium.org//11000049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13008 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 12:13:50 +00:00
ahe@google.com
c88380cb8c
Remove stale co19 entries.
...
Review URL: https://codereview.chromium.org//10981064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12997 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 08:52:31 +00:00
dgrove@google.com
182b384b1d
Copy README.dart-sdk to dart-sdk/README .
...
Use this opportunity to get rid of create.stamp, and use the README
file as a marker for the build.
Fixes issue 2062 and is the last piece of fixing issue 4129.
Review URL: https://codereview.chromium.org//11000031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12980 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 18:07:02 +00:00
dgrove@google.com
6f564a3602
Don't copy extraneous files in the html directory.
...
This addresses the vast majority of issue 4129.
Review URL: https://codereview.chromium.org//10996041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12968 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 15:05:28 +00:00
ahe@google.com
1c518f6169
Separate compile-time and runtime errors.
...
Review URL: https://codereview.chromium.org//10977054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12964 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 14:31:05 +00:00
lrn@google.com
37197c2553
Stop using the Hashable interface.
...
All objects have a hashCode method, so there is no need for a Hashable
interface.
The interface itself is retained for at least two weeks, to give time for
code to remove uses of it.
Review URL: https://codereview.chromium.org//10993059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12955 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 13:07:54 +00:00
ahe@google.com
684c93a740
Rename a variable to fix build breakage
...
Review URL: https://codereview.chromium.org//10990080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12943 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 07:44:19 +00:00
ahe@google.com
e13c0b1c7d
Always fail if a process failed to launch.
...
This reveals a problem with the implementation of extra commands, which is also fixed.
Review URL: https://codereview.chromium.org//10993048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12942 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 07:39:40 +00:00
ahe@google.com
a14563d93e
Use typedefs in test.dart.
...
Review URL: https://codereview.chromium.org//10986047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12908 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 13:33:11 +00:00
ager@google.com
7977b42215
Update all occurrences of raw strings.
...
R=hausner@google.com ,kasperl@google.com
BUG=
Review URL: https://codereview.chromium.org//10977027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12893 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 06:01:23 +00:00
lrn@google.com
a1faa6f135
Change IllegalArgumentException to ArgumentError.
...
Review URL: https://codereview.chromium.org//10989013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12841 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 12:27:52 +00:00
ahe@google.com
3a4d55f209
Create a wrapper around test.dart for running co19 tests.
...
Review URL: https://codereview.chromium.org//10973009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12775 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 12:52:53 +00:00
ahe@google.com
d6ca10a62e
Update co19 to r343.
...
Review URL: https://codereview.chromium.org//10972007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12774 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 12:37:43 +00:00
ahe@google.com
034a66d17f
Parameterize 'new Options().script'.
...
Review URL: https://codereview.chromium.org//10970060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12763 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 09:41:53 +00:00
ahe@google.com
8332173392
Use semicolon, not comma.
...
Review URL: https://codereview.chromium.org//10956066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12761 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 08:51:22 +00:00
ahe@google.com
f5083a4db7
Use the VM under test, not the prebuilt binary
...
Review URL: https://codereview.chromium.org//10965060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12760 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 08:31:32 +00:00
jackpal@google.com
3e510176c2
Fix Android build breaks
...
Prevent Android's STLPort from undefining global functions from
math.h when cmath is included after math.h.
The Android STLPort does not provide std::assert or std::atexit. Use
the C versions of these functions on Android.
BUG=
Review URL: https://codereview.chromium.org//10968027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12741 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 22:04:37 +00:00
gram@google.com
eb2a0fc533
Eliminate some of the flakiness in testing:
...
- errors in test_controller.js get posted to the Dart configs
- Dart configs will receive these and set uncaughtError
- Selenium driver will output the full HTML body, not just up to the first script tag (else the errors above could be lost).
Review URL: https://codereview.chromium.org//10968040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12735 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 20:21:32 +00:00
whesse@google.com
2722230b81
Fix dart/tools directory to remove @'raw string' and foo.dynamic.
...
BUG=
Review URL: https://codereview.chromium.org//10908239
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12698 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 12:53:08 +00:00
alanknight@google.com
eac6195680
Be sure to use absolute paths in intl web server tests
...
Review URL: https://codereview.chromium.org//10961034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12666 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:08:23 +00:00
alanknight@google.com
907c7ea083
Read locales over http in the browser
...
Review URL: https://codereview.chromium.org//10959002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12664 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 23:27:56 +00:00
ager@google.com
e676e88f81
Introduce a VM-only dart:scalarlist library for byte arrays.
...
Include it in the SDK so users can use it. Create a dummy
implementation and patch file for the library for dart2js so it can be
documented. Johnni, can you think of a nicer way of making
documentation generation work for a VM only library? Also, it seems that
patching kills the documentation comments and they do not show up in
the generated docs.
R=iposva@google.com ,johnniwinther@google.com
BUG=
Review URL: https://codereview.chromium.org//10919267
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12616 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 07:08:10 +00:00
rnystrom@google.com
df6862afb7
Fix git on non-Windows. Fix create_sdk on machines using svn.
...
Review URL: https://codereview.chromium.org//10942032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12575 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 16:48:25 +00:00
rnystrom@google.com
9c970fa558
First pass at getting git and tar.gz working on Windows.
...
Review URL: https://codereview.chromium.org//10937019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12573 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 16:32:24 +00:00
antonm@google.com
b26899502d
Store status for dart2dart tests in a separate file.
...
R=ahe@google.com ,smok@google.com
Review URL: https://codereview.chromium.org//10947034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12571 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 16:16:37 +00:00
ager@google.com
1159462fc6
Switch from interfaces to abstract classes in dart:io.
...
Add a bunch of default argument values to the abstract classes
so they are picked up by dartdoc.
R=sgjesse@google.com
BUG=
Review URL: https://codereview.chromium.org//10938010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12484 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 10:54:37 +00:00
johnniwinther@google.com
5bb04a5069
MSVS output to /build/ dir.
...
Review URL: https://codereview.chromium.org//10933125
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12471 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 07:48:26 +00:00
lrn@google.com
99749ca619
This reapplies the change to remove "dynamic" from Object.
...
TBR=kasperl@google.com
Review URL: https://codereview.chromium.org//10908291
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12449 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 19:14:49 +00:00
lrn@google.com
54d6cbda76
Revert "Remove Object.dynamic."
...
Some test expectations were missing.
TBR=kasperl@google.com
Review URL: https://codereview.chromium.org//10933122
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12433 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 12:10:29 +00:00
lrn@google.com
9cc07e2f3f
Remove Object.dynamic.
...
Review URL: https://codereview.chromium.org//10914286
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12432 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 12:00:44 +00:00