kasperl@google.com
7c7246fd2e
First experimental steps towards a better story for JS interop.
...
R=vsm@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10700101
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9387 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-04 08:54:25 +00:00
kasperl@google.com
3ea4838992
Refactor the message serialization code a bit so we can start playing with it for JS interop purposes.
...
R=vsm@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10696091
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9383 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-04 05:58:03 +00:00
ahe@google.com
7b31e54ab7
Implement override checks.
...
First attempt committed as: https://code.google.com/p/dart/source/detail?r=9108
Review URL: https://chromiumcodereview.appspot.com//10575033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9151 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 09:07:36 +00:00
antonm@google.com
38bf8c295b
Revert "Implement override checks."
...
TBR=ahe@google.com
Review URL: https://chromiumcodereview.appspot.com//10666052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9112 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 14:36:00 +00:00
ahe@google.com
7f2041bf11
Implement override checks.
...
Review URL: https://chromiumcodereview.appspot.com//10575033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9108 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 12:51:55 +00:00
antonm@google.com
df9f498293
Remove Dart body for a native method.
...
R=ahe@google.com ,sra@google.com
Review URL: https://chromiumcodereview.appspot.com//10626016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9058 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-25 10:20:46 +00:00
ahe@google.com
cbb19e240d
Remove support for String operator + from dart2js.
...
Review URL: https://chromiumcodereview.appspot.com//10553007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8778 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 11:03:25 +00:00
floitsch@google.com
4a261ae4b4
rename _lazy_port to _lazyPort.
...
and rename all references.
Review URL: https://chromiumcodereview.appspot.com//10540139
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8600 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 10:46:01 +00:00
floitsch@google.com
8447920e11
Create an initial port.
...
Review URL: https://chromiumcodereview.appspot.com//10536118
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8599 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 10:39:13 +00:00
floitsch@google.com
af0fbc6d5f
Give static functions that have a getter a name.
...
This is necessary so we can use them in spawnFunction.
Fixes issue 3244.
Review URL: https://chromiumcodereview.appspot.com//10539104
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8540 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 11:49:12 +00:00
vsm@google.com
9be4ac00ed
Move dart:dom to dart:dom_deprecated
...
Brian: Can you please look at the editor / dartc changes?
Bob: Can you look at the apidoc changes?
Stephen/Pavel: Can you guys look at the rest?
Pavel: I will update, test, and land your Dartium CL along with this change.
Review URL: https://chromiumcodereview.appspot.com//10389097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7587 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-13 04:10:43 +00:00
sra@google.com
f627889577
Fix codegen and isolate issues for frog dart:html
...
Fixes issue 2835.
dart:html now partakes in the logic that wraps functions that smell
like call-backs in the isolate-management code.
Support 2-arg callbacks.
Delete special (and buggy) handling of global variables in 'native'
libraries. We don't have any real 'native' global variables.
Review URL: https://chromiumcodereview.appspot.com//10264021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7174 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-01 00:39:25 +00:00
sigmund@google.com
24ab87d445
isolate: fix how we get the current script now that frog automatically wraps the
...
app to run on DOMContentLoaded.
Review URL: https://chromiumcodereview.appspot.com//10050035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6959 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 18:07:36 +00:00
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