Commit Graph

11 Commits

Author SHA1 Message Date
sigmund@google.com 1087154630 fix bug in isolate code, reenable isolate tests
Review URL: https://chromiumcodereview.appspot.com//9967024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6375 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 18:43:27 +00:00
floitsch@google.com 9d3ea53f2b Fix some warnings.
Partially fixes Issue 2142

Review URL: https://chromiumcodereview.appspot.com//9963029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6119 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 09:42:27 +00:00
eub@google.com d45d042345 Refactor, rename, and generally rationalize code in the Frog isolates library,
in particular de-overloading the word "worker", in preparation for adding
iframe-based isolate managers.
Review URL: https://chromiumcodereview.appspot.com//9662024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6004 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 22:02:38 +00:00
ngeoffray@google.com 4c77fe620f Enable isolate tests with leg and legium.
Review URL: https://chromiumcodereview.appspot.com//9677019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5411 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 15:44:30 +00:00
sigmund@google.com 2b5952ac6c SendPort + ReceivePort changes:
- document what are valid messages in SendPort.send
- change SendPort.call to return a future of the reply
- remove ReceivePort.singleShot

Review URL: https://chromiumcodereview.appspot.com//9652001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5368 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 22:52:36 +00:00
ngeoffray@google.com c1d3f92e1e Isolate library changes for leg support.
Review URL: https://chromiumcodereview.appspot.com//9662046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5352 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 20:05:01 +00:00
sigmund@google.com 3800841285 isolate in frog: hiding internal implementation classes, couple minor fixes.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9562048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4900 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 21:01:23 +00:00
sigmund@google.com 643b772a61 isolates: remove Isolate2 interface, add the top-level spawning functions, add more comments, adapt tests to this API.
Review URL: https://chromiumcodereview.appspot.com//9521007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4729 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-29 00:54:15 +00:00
sigmund@google.com 0c7cc5be1e spawnUri: fixing test with recent support for multi-script tests.
Review URL: https://chromiumcodereview.appspot.com//9478027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4726 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-28 21:53:53 +00:00
eub@google.com 1ace2955e2 Add some magic to _getJSFunctionName so it will work in Internet Explorer.
Review URL: https://chromiumcodereview.appspot.com//9416119

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4650 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 23:41:24 +00:00
sigmund@google.com ee6a907611 isolates refactor: this change introduces 'dart:isolate' as a library. This is a
big global change, so let me explain in more detail. This refactoring CL does
the following:
- moves all the dart code for isolates in a common library (lib/isolate)

- changes frog to understand 'dart:isolate' imoprts by loading the code from the
  location above.

- changes the vm to undernstand 'dart:isolate' imports by creating a separate
  library that is part of the bootstrap. This follows the same code-structure
  that Todd suggested in his CL introducing the mirror library

- changes dartc to use the shared isolate library as the source of truth for
  type checking. I left around some of the internal js code in dartc so that the
  backend continues to work for apps that don't use isolates.

- changes all tests that use isolates to import the library explicitly (this is a large bulk of the files in this CL)

- changes test status for tests we can't fix in this repo (e.g. co19)

- splits the isolate library code to make it possible to preserve some tests
  without exposing internal types (e.g. tests about
  serialization/deserialization)

- changes the create_sdk script to copy the isolate library to the sdk

- includes the isolate library in dartdoc

I'll wait for at least one lgtm from each area (dartc, vm, frog, sdk)

There is one important pending thing this CL doesn't do:
- update test_runner.dart: This should be updated next time we upload the new
  binaries to tool/testing/bin
- dartium specific changes: Vijay, is there anything I need to do for dartium?

Review URL: https://chromiumcodereview.appspot.com//9422019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4647 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 22:50:44 +00:00