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
zundel@google.com
e5ca48a7d5
Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries
...
Adds a new cmdline flags
--dart-sdk to point it at a directory where the dart library files are staged
--platform the name of the platform {dartium, vm, frog, dart2js}
to target with the analyzer
Committed: https://code.google.com/p/dart/source/detail?r=5885
Review URL: https://chromiumcodereview.appspot.com//9860009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5930 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 14:20:29 +00:00
zundel@google.com
1486f2602d
Revert "Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries"
...
This reverts commit r5885 which works locally, but not on the builder
Review URL: https://chromiumcodereview.appspot.com//9865025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5886 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 17:04:03 +00:00
zundel@google.com
b838d39acb
Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries
...
Adds a new cmdline flags
--dart-sdk to point it at a directory where the dart library files are staged
--platform the name of the platform {dartium, vm, frog, dart2js}
to target with the analyzer
Review URL: https://chromiumcodereview.appspot.com//9860009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5885 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 16:25:54 +00:00
ngeoffray@google.com
533d2cdcfe
Add support for capturing and changing the current isolate in the closure wrapper.
...
Review URL: https://chromiumcodereview.appspot.com//9702074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5638 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 11:06:42 +00:00
ngeoffray@google.com
80728eb9c8
Remove the leg-specific uri file, originally added because we did not handle compike-time constants fully.
...
Review URL: https://chromiumcodereview.appspot.com//9700095
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5612 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-17 09:56:51 +00:00
turnidge@google.com
e61a02c10d
Implement spawnFunction from the new isolate api.
...
Still need to implement spawnUri, which will be the more difficult one.
Review URL: https://chromiumcodereview.appspot.com//9691005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5441 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 22:05:08 +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
d8ce30211e
fix bot: add missing definition in isolate lib for dartc.
...
Review URL: https://chromiumcodereview.appspot.com//9527006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4733 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-29 02:19:11 +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