karlklose@google.com
495e2fd8a9
Implement is-Operator for interfaces.
...
Also add a test for cyclic interface hierarchies to ResolverTest.
Review URL: https://chromiumcodereview.appspot.com//9359016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4077 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 14:02:53 +00:00
kasperl@google.com
a3c1c4bdfa
Rewrite negative const tests into a few multi tests.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9371014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4076 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 12:16:04 +00:00
ahe@google.com
d556e26aa7
Frog shouldn't read libraries with --leg_only.
...
Also, simplify leg options.
Also, don't print Frog specific messages when running leg.
Review URL: https://chromiumcodereview.appspot.com//9373019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4074 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 10:38:47 +00:00
sgjesse@google.com
61b3c7435c
Add support for medium integers to the native message format
...
R=asiva@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9348048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4073 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 10:21:38 +00:00
kasperl@google.com
36658a8b0f
Rewrite the const constructor negative tests into a single multi test.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9375007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4072 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 09:44:38 +00:00
sgjesse@google.com
ff3c5e88f1
Add support for byte arrays to native messages
...
R=asiva@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9348019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4071 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 09:34:31 +00:00
kasperl@google.com
2d98a6baa3
Rewrite the abstract static negative test to a multi test.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9374014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4070 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 09:30:51 +00:00
kasperl@google.com
42253290ba
Rewrite the negative try-catch tests into a single multi test.
...
R=ngeoffray@google.com ,srdjan@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9372015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4069 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 09:04:10 +00:00
sgjesse@google.com
3481c5661a
Decode the Dart message into a Dart_CMessage structure before calling the native port callback
...
The native port callback is now passed the message as a decodes
Dart_CMessage structure. The Dart_CMessage structure is allocated
in a zone and the callback receiving it should expect the
lifetime to be controlled by the caller.
Added support for zones which do not require a current
isolate. Changed the GrowableArray to support allocating in
aprovided zone instead of the zone for the current isolate.
R=turnidge@google.com , asiva@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9325022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4068 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 08:47:19 +00:00
ahe@google.com
25a09e1b2e
One more debug crash
...
Review URL: https://chromiumcodereview.appspot.com//9373018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4067 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 08:40:37 +00:00
ngeoffray@google.com
7bc1d9fc92
Fix for http://code.google.com/p/dart/issues/detail?id=1363 : use the simplename for the key, not the jsname. Conflicts on the jsname will be dealt during emission.
...
Review URL: https://chromiumcodereview.appspot.com//9361030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4066 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 08:33:20 +00:00
vsm@google.com
cb22da0cf4
Move these dart:html tests from Dartium layout test to client tests.
...
Stephen: I'll delete these from the Dartium repo as well.
TBR=sra
Review URL: https://chromiumcodereview.appspot.com//9363033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4063 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 05:16:43 +00:00
sra@google.com
90ed748b49
Process IDL interfaces in pre-order so that parents are seen first
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9370012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4060 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 03:38:57 +00:00
jmesserly@google.com
24aebd0d3d
repurpose dart_client bots for browser testing
...
I also refactored the buildbot_annotated_steps in client to remove the now-dead code.
Review URL: https://chromiumcodereview.appspot.com//9369010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4057 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 01:41:43 +00:00
sigmund@google.com
b66a9d9360
patch from issue 9360020
...
Adds three methods to Future to codify common patterns:
new Future<T>.immediate(T): a Future is desired, but the object is already
available
Future Future<T>.transform(Function): perform a sync computation once an async
computation is complete
Future Future<T>.chain(Function): perform an async computation once an async
computation is complete
Contributed by sammccall@google.com
BUG=dart:1516
Review URL: https://chromiumcodereview.appspot.com//9372008
Patch from Sam McCall <sammccall@google.com >.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4056 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 01:09:06 +00:00
sigmund@google.com
124700481b
add string-equals to unittest, fix implementation in expect.dart
...
Review URL: https://chromiumcodereview.appspot.com//9365023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4050 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 20:42:41 +00:00
zundel@google.com
dd58b6f019
Updates to delta analyzer tests
...
Review URL: https://chromiumcodereview.appspot.com//9361041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4049 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 20:21:28 +00:00
efortuna@google.com
0e543d70f0
Update status file for frogium running on the VM.
...
Review URL: https://chromiumcodereview.appspot.com//9360021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4046 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 18:39:55 +00:00
efortuna@google.com
34c061e29e
Reduce flakiness of browser tests.
...
Review URL: https://chromiumcodereview.appspot.com//9361040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4044 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 18:08:13 +00:00
ngeoffray@google.com
6d94065bdb
Support finally.
...
Review URL: https://chromiumcodereview.appspot.com//9363022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4042 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 16:35:16 +00:00
danrubel@google.com
40a0e4f679
Review URL: https://chromiumcodereview.appspot.com//9361037
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4041 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 16:21:27 +00:00
zundel@google.com
1172e2bf77
Remove implicit --optimize from testing dartc component in release mode
...
Review URL: https://chromiumcodereview.appspot.com//9362013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4040 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 16:17:05 +00:00
karlklose@google.com
ae6c175fa3
Implement super initializers.
...
Review URL: https://chromiumcodereview.appspot.com//9327001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4037 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 15:44:46 +00:00
ager@google.com
6ea7cb4708
Fix SocketStreamCloseTest flakiness because of not waiting for all close events.
...
There might be issues with not reading all in the data handler as
well. I will deal with that separately.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9358026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4036 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 14:31:18 +00:00
ager@google.com
3e590345ca
Fix event handler assert stupidity. :-)
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9361032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4035 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 14:28:24 +00:00
whesse@google.com
9f27aa3a69
Remove unused support files for old version of tools/test.py.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9360017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4033 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 14:11:42 +00:00
ager@google.com
0a0f1d9504
Move the event handler on macos from poll to kqueue. Simpler and faster.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9365010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4028 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 12:18:29 +00:00
ager@google.com
4bb47cafcd
Fix problem with socket input stream on MacOS when reading from tty.
...
This could cause an empty buffer to be added to an internal BufferList
which violates our assumptions.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9348050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4027 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 10:51:58 +00:00
ngeoffray@google.com
0a0ac113cc
Implement try/catch without finally, and without type checks.
...
Review URL: https://chromiumcodereview.appspot.com//9351020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4026 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 10:23:45 +00:00
ahe@google.com
41f0492cf0
Remove dartc optimizing backend.
...
Review URL: https://chromiumcodereview.appspot.com//9353015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4025 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 10:22:07 +00:00
sgjesse@google.com
2c57dd40bf
Add integer min/max constants to globals.h
...
R=ager@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9363018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4024 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 09:22:46 +00:00
sra@google.com
750287649f
dartdomgenerator now copies frog dom to final location
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9361019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4022 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 05:47:33 +00:00
jmesserly@google.com
66f5fbf6c2
This change is the start of code to generate dart:html using dart:dom scripts. It essentially just adds the scaffolding for dart:html, and implements the generation of the "Events" interface and "EventsImpl" classes. There's more to do before the result is actually usable. For example, this doesn't contain EventsImplementation--I'm assuming we'll take jacobr's handwritten version.
...
I didn't check in the ../generated/html folder yet, but let me know if that makes sense.
(Note: I started with a copy of DartInterfaceGenerator instead of inheriting, but it ended up causing extra duplication when merging Stephen's recent getter/setter change. I think inheritance will be an easier way to build up the functionality, because we're essentially saying "dart:html is like dart:dom, but apply these extra transforms". Once most of the methods are overridden it would definitely make sense to break the link.)
Review URL: https://chromiumcodereview.appspot.com//9342008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4021 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 03:26:52 +00:00
efortuna@google.com
e1b6a3c99b
Quick fix for running release VM on frogium tests. (until we get the bots renamed)
...
Review URL: https://chromiumcodereview.appspot.com//9361016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4020 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 02:24:32 +00:00
jacobr@google.com
b3416ac83a
cleanup postProcess step and output obsolete.json file
...
Split postProcess.dart into
util.dart, postProcess.dart and prettyPrint.dart
so it is clear which code should be high quality and which is just debugging
pretty print logic.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9360002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4018 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 01:20:57 +00:00
jmesserly@google.com
214f1d4ac8
For some negative tests, Frog generates invalid JS (bad labels), and this causes bad behavior in webdriver because it never gets the termination signal.
...
Review URL: https://chromiumcodereview.appspot.com//9310097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4017 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 00:44:49 +00:00
sra@google.com
da0a60ea1b
Remove JS from wrapping implementation.
...
1MB JS RIP.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9362004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4015 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 00:05:20 +00:00
hausner@google.com
b43152a477
Fix issue 1246
...
continue; inside a switch statement jumps to outer loop.
http://code.google.com/p/dart/issues/detail?id=1246
Review URL: https://chromiumcodereview.appspot.com//9347032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4013 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 23:27:51 +00:00
sra@google.com
fd9e2740a4
Generate dummy dom to replace wrapping dom for dartc.
...
Wrapping dom is still generated at this point. It will be refactored into used and unused parts in a subsequent CL.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9350030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4012 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 23:09:53 +00:00
dgrove@google.com
641f078329
Move utils/{uri, utf8} to lib/{uri, utf8} .
...
Fixes issue 1562 .
Review URL: http://codereview.chromium.org//9325085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4010 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 22:31:10 +00:00
zundel@google.com
8fdd07b9fd
This change makes the normal way of running dartc equivalent to running it with what was the --check-only flag. Shared test status files have been updated to run 'green' for now until we can get a special static analysis testing tool in place.
...
The code generation backend is still there behind a flag, but due to be removed.
Review URL: https://chromiumcodereview.appspot.com//9346021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4008 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 22:00:40 +00:00
efortuna@google.com
0fbaf61a8d
Add frog build target on Windows and change frogium and webdriver components to use frog instead of frogsh.
...
Review URL: https://chromiumcodereview.appspot.com//9350022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4006 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 20:48:14 +00:00
sra@google.com
e6a93d13c8
Use _GenerateLibFile for dartium libs.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9348011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4001 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 17:26:29 +00:00
hausner@google.com
b89e03ef16
Placate linux compiler
...
Review URL: https://chromiumcodereview.appspot.com//9349019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4000 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 16:40:38 +00:00
hausner@google.com
dfee219860
Fix string escape, recognize escaped newline
...
Fix issue 1350 (http://code.google.com/p/dart/issues/detail?id=1350 )
Review URL: https://chromiumcodereview.appspot.com//9346005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3999 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 16:37:24 +00:00
floitsch@google.com
e590cbf299
Fix split with regexp for frog.
...
Review URL: https://chromiumcodereview.appspot.com//9352016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3998 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 15:06:42 +00:00
ahe@google.com
1e26f72267
Update co19 status file for leg
...
Review URL: https://chromiumcodereview.appspot.com//9351016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3997 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 14:55:04 +00:00
ahe@google.com
ce87d7925b
Update leg co19 status
...
Review URL: https://chromiumcodereview.appspot.com//9348016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3995 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 14:29:37 +00:00
ahe@google.com
01d8e850bc
Fix NPE in parser.
...
Review URL: https://chromiumcodereview.appspot.com//9349014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3993 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 14:24:00 +00:00
whesse@google.com
db48b7504d
Make test.dart exit with an error message when a selector is repeated.
...
BUG=dart:1565
TEST=tools/test.dart standalone/File standalone/Directory
Review URL: https://chromiumcodereview.appspot.com//9348015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3992 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 12:56:31 +00:00