vsm@google.com
95e272386c
Use userAgent instead of webkitStartDart
...
This modifies our browser package and test scripts to use the
userAgent instead of webkitStartDart (which is gone) to determine if
we have native dart support.
I'm TBR-ing to get rid of a ton of warnings on the Dartium bots (they
are trying to run both native tests (successfully) and compiled-to-js
tests (warning no js file)).
E.g., see HttpServer warnings on this otherwise green run:
http://chromegw.corp.google.com/i/client.dart/builders/dartium-mac-inc-be/builds/634/steps/drt_core_checked_tests/logs/stdio
Siggi: you have comments elsewhere around removing/refactoring when
webkitStartDart is gone. They are still there.
TBR=sigmund@google.com ,ricow@google.com
Review URL: https://codereview.chromium.org//52023002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29515 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 04:08:39 +00:00
vsm@google.com
1156ea3216
Add a warning to the old dart.js
...
Review URL: https://codereview.chromium.org//11886028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17070 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 14:27:10 +00:00
vsm@google.com
eb7ec0e6ae
Suppress check on localStorage to enable chrome apps
...
Review URL: https://codereview.chromium.org//11428064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15487 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 00:51:12 +00:00
vsm@google.com
43851494a8
Phase out local storage usage in PortSync code
...
Review URL: https://codereview.chromium.org//11415064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15151 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 15:00:17 +00:00
vsm@google.com
5031069f74
Fix SendPortSync dispatch for FF
...
TextEvent (used previously) does not work on FireFox
Review URL: https://codereview.chromium.org//10960062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12857 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 17:33:34 +00:00
vsm@google.com
37b7e470e4
Remove proxying support from dart:html
...
I'm moving this functionality to a user-level library.
Review URL: https://chromiumcodereview.appspot.com//10914129
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11997 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 22:27:45 +00:00
vsm@google.com
47e90c2a71
Cache function proxies. This ensures that we forward invocations to the original send port.
...
Review URL: https://chromiumcodereview.appspot.com//10876084
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11410 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-27 20:21:37 +00:00
vsm@google.com
8802f83208
Serialize Elements through PortSync
...
Review URL: https://chromiumcodereview.appspot.com//10883037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11365 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-26 21:55:31 +00:00
vsm@google.com
d7b836f226
Support methods, getters, and setters on JS proxies.
...
Review URL: https://chromiumcodereview.appspot.com//10873037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11345 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 21:40:18 +00:00
vsm@google.com
769cfa00b1
Support proxying of objects between JS and Dart.
...
Review URL: https://chromiumcodereview.appspot.com//10827462
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11182 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 20:13:36 +00:00
vsm@google.com
9259b263fd
Support general serializing of functions between JS and Dart
...
Anton: This expands on your earlier CL. Do you mind taking a look?
Review URL: https://chromiumcodereview.appspot.com//10834426
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11066 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 15:59:54 +00:00
antonm@google.com
0e9ad86574
Move function serialization to sync ports.
...
For now only dart to JS serialization.
R=sammccall@google.com ,vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//10690142
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10750 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 16:58:36 +00:00
antonm@google.com
0e4bc22c37
Revert "Switch to new expiration protocol."
...
This reverts commit 83a7e7a6bc37f1c7b0780be5ba0a621c2e9c6e3e.
TBR=vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//10829167
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10230 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 13:37:11 +00:00
antonm@google.com
46eda615fc
Switch to new expiration protocol.
...
R=vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//10843055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10225 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 11:56:59 +00:00
antonm@google.com
0db7d72b36
Support references in serialization.
...
R=sammccall@google.com ,vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//10693174
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9632 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-13 15:44:38 +00:00
hausner@google.com
a8f0861510
Fix bug in SendPortSync serialization
...
Review URL: https://chromiumcodereview.appspot.com//10698150
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9543 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-11 08:45:07 +00:00
hausner@google.com
7f897e16ec
Fix bug in array serialization
...
Review URL: https://chromiumcodereview.appspot.com//10696143
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9499 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-10 09:38:36 +00:00
efortuna@google.com
cae0859989
Fix deserializeList.
...
Review URL: https://chromiumcodereview.appspot.com//10696142
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9498 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-10 09:07:22 +00:00
vsm@google.com
ee6b0e23a8
Serialize/deserialize lists in JS ports
...
Review URL: https://chromiumcodereview.appspot.com//10702113
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9452 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-09 02:10:37 +00:00
vsm@google.com
9c4f5eda7f
Added Dartium support for JS to Dart PortSync calls
...
I addressed your test comments from the last cl - sorry for missing the last time.
Review URL: https://chromiumcodereview.appspot.com//10702110
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9431 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-06 09:33:34 +00:00
vsm@google.com
d14ba572e8
Add support for JS->Dart and Dart->dart via *PortSync.
...
Review URL: https://chromiumcodereview.appspot.com//10695111
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9427 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-06 08:09:58 +00:00
kasperl@google.com
41d66571ff
Stop adding so many global functions in client/dart.js.
...
R=vsm@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10700103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9395 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-04 10:51:39 +00:00
kasperl@google.com
647a077cbb
Make the new JS interop test pass on Dartium.
...
Review URL: https://chromiumcodereview.appspot.com//10700102
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9392 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-04 10:30:21 +00:00
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
9b504b518f
Remove frog from the SDK and stop running it from the editor.
...
R=johnniwinther@google.com ,dgrove@google.com,devoncarew@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10454112
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8231 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 06:51:25 +00:00
kasperl@google.com
f578b83755
Change the default Dart-to-JavaScript compiler in the editor to be dart2js.
...
R=ahe@google.com ,devoncarew@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10414077
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7905 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 13:09:38 +00:00
antonm@google.com
4a80d191ee
Fix condition.
...
TBR=vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//10399066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7714 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-17 17:15:38 +00:00
antonm@google.com
4bd72407cd
Add expiration check into dart.js script.
...
R=podivilov@chromium.org ,vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//10383215
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7713 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-17 14:20:26 +00:00
kasperl@google.com
f379a1d8a3
Allow developers to try out dart2js in their web apps.
...
We look for a dart-compiler attribute on the script tag and if it is set to dart2js we use the dart2js generated file.
R=sandholm@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10388005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7418 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 15:30:53 +00:00
antonm@google.com
da03b4eb47
Nuke DOMImplementation.hasFeature test for Dart support.
...
Review URL: https://chromiumcodereview.appspot.com//9310059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3890 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 12:17:28 +00:00
antonm@google.com
b20e8fbc61
Start transitioning to new API to start Dart.
...
Review URL: https://chromiumcodereview.appspot.com//9310024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3833 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 10:09:09 +00:00
vsm@google.com
331a3ad401
New dart.js bootstrap script for apps
...
The primary new add is the dart.js script. All sample html files now point to it, and were tested with Dartium, Chrome, and FireFox.
I've checked in compiled JS so the samples 'just work'. They were compiled via frog:
frog/minfrog --compile-only --out=client/samples/sunflower/Sunflower.dart.js client/samples/sunflower/Sunflower.dart
If you guys prefer, I can take these out.
Review URL: https://chromiumcodereview.appspot.com//9226025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3480 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-22 23:34:35 +00:00