Commit Graph

4955 Commits

Author SHA1 Message Date
johnniwinther@google.com ffb86bea19 Add --analyze-signatures-only option to dart2js
Review URL: https://codereview.chromium.org//12431009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19489 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 16:51:45 +00:00
kasperl@google.com fd6c47f77a Revert "Add superclasses, subclasses, and subtypes tracking to the world."
This reverts commit 0cbc73c54fc8f3faaadab590cd91115c388b338b.

R=ngeoffray@google.com
BUG=

Review URL: https://codereview.chromium.org//12437009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19488 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 15:28:37 +00:00
ngeoffray@google.com d84682d258 Fix two bugs in the simple types inferrer:
- We were not corretly analyzing field parameters
- We did not infer types of fields when a generative constructor is not used.
Review URL: https://codereview.chromium.org//12425006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19486 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 15:09:06 +00:00
kasperl@google.com 6a67f36a26 Add superclasses, subclasses, and subtypes tracking to the world.
Add support for computing unions of disjoint types by finding
a common supertype or superclass.

R=ngeoffray@google.com
BUG=

Review URL: https://codereview.chromium.org//12443005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19485 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 15:08:24 +00:00
ngeoffray@google.com afdcf357ee Fixsimple type inferrer regression by using typeOf instead of returnTypeOf for final fields.
Review URL: https://codereview.chromium.org//12445004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19484 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 14:48:42 +00:00
floitsch@google.com 7ccb970fd1 Implement missing functions on ListBase.
Committed: https://code.google.com/p/dart/source/detail?r=19382
Reverted: http://code.google.com/p/dart/source/detail?r=19419

Review URL: https://codereview.chromium.org//12380086

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19482 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 14:02:45 +00:00
karlklose@google.com eafb5e9e80 Emit substitution functions on Object.
BUG=dartbug.com/8635

Review URL: https://codereview.chromium.org//12342036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19481 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 13:56:44 +00:00
floitsch@google.com fd28ec5b2e Move Arrays class to private library.
Committed: https://code.google.com/p/dart/source/detail?r=19375
Reverted: http://code.google.com/p/dart/source/detail?r=19420

Review URL: https://codereview.chromium.org//12386072

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19476 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 13:24:55 +00:00
kustermann@google.com 7785b50a00 Fixed co19-dart2js status file
Review URL: https://codereview.chromium.org//12447002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19475 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 13:11:59 +00:00
whesse@google.com b3ce74ae8f dart:io | Restore suppression for flaky raw_server_socket_cancel_test.
BUG=dartbug.com/8675

Review URL: https://codereview.chromium.org//12442003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19473 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 12:58:29 +00:00
kustermann@google.com 61d877a039 Status file updates for failing tests after enabling co19 on IE9
Review URL: https://codereview.chromium.org//12431006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19471 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 12:41:45 +00:00
ngeoffray@google.com 7233cb4725 Infer SendSet node correctly.
Review URL: https://codereview.chromium.org//12434002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19470 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 12:38:17 +00:00
kustermann@google.com b0306b8bd2 Don't run co19 on DumpRenderTree
Review URL: https://codereview.chromium.org//12441002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19467 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 12:09:52 +00:00
whesse@google.com a1ac92c064 dart:io | Improve raw_server_socket_cancel_test to not leave client sockets hanging.
BUG=dartbug.com/8675

Review URL: https://codereview.chromium.org//12438003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19466 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 12:07:38 +00:00
ngeoffray@google.com 99eff98197 Fix issue 8848: access to type variable inside a closure declared in a field initializer must use the parameter, and not the "this" object.
Review URL: https://codereview.chromium.org//12431003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19465 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 12:06:46 +00:00
ngeoffray@google.com 379667d326 Test crashes in debug mode.
Review URL: https://codereview.chromium.org//12429006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19463 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 11:40:44 +00:00
ajohnsen@google.com 89349ff065 Add some Websocket tests.
BUG=

Review URL: https://codereview.chromium.org//12428006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19462 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 11:31:26 +00:00
kustermann@google.com edbb9f92a9 Fixed missing $ in status file update
Review URL: https://codereview.chromium.org//12437003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19461 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 11:07:02 +00:00
kustermann@google.com 9d93fd69f2 Increase test coverage on ie9
Review URL: https://codereview.chromium.org//11958041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19460 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 11:02:06 +00:00
ngeoffray@google.com ebac6f4ed8 Also fail on dart2dart.
Review URL: https://codereview.chromium.org//12436003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19459 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 10:37:24 +00:00
ajohnsen@google.com d534f5da96 Don't run web_socket_protocol_processor_test with dart2js.
BUG=

Review URL: https://codereview.chromium.org//12429004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19458 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 10:07:09 +00:00
ajohnsen@google.com f951aa81c1 Fix web_socket_protocol_processor_test to pass in checked mode.
BUG=

Review URL: https://codereview.chromium.org//12435002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19457 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 09:54:52 +00:00
ngeoffray@google.com f9a38ac05c Infer types of catpured variables and use the types in the SSA builder.
Review URL: https://codereview.chromium.org//12385076

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19455 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 09:45:46 +00:00
ajohnsen@google.com ab0ca3a02f Improve web-socket implementation by using making _WebSocketProtocolProcessor a StreamTransformer.
BUG=

Review URL: https://codereview.chromium.org//12387085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19454 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 09:40:53 +00:00
ngeoffray@google.com 905de7ac32 Implement complex super assignment.
Review URL: https://codereview.chromium.org//12374094

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19452 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 09:29:04 +00:00
ricow@google.com 8fcb5f49c4 Mark standalone/io/raw_server_socket_cancel_test flaky on all platforms, not just windows.
It timed out here:
http://build.chromium.org/p/client.dart/builders/vm-linux-release/builds/12973/steps/tests/logs/stdio
Review URL: https://codereview.chromium.org//12409004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19450 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 07:24:53 +00:00
aprelev@gmail.com c208147566 Mark tests/co19/LibTest/math/exp_A01_t01 Fail, OK due to co19 issue 44 for Windows platform.
Review URL: https://codereview.chromium.org//12386079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19447 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:45:06 +00:00
blois@google.com e55825d641 Removing futureTest test method
The functionality has been rolled into test().

BUG=

Review URL: https://codereview.chromium.org//12388094

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19441 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:11:57 +00:00
asiva@google.com c41410360f dart:typeddat is not supported yet by dartc, skip all the tests that import this library.
Review URL: https://codereview.chromium.org//12390071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19430 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 22:37:58 +00:00
hausner@google.com c5634503f7 Fix for loop variable capturing
We had a bug in the capturing of for loop variables that only manifested
itself if another variable outside the loop was captured as well.

Fix for issue 8207 and 8698.
 
Review URL: https://codereview.chromium.org//12381089

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19429 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 22:28:55 +00:00
asiva@google.com 97f6dee777 First step towards implementing dart:typeddata library.
Review URL: https://codereview.chromium.org//12313088

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19427 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 22:11:45 +00:00
blois@google.com 0b9948e832 Further HTML test cleanup
BUG=

Review URL: https://codereview.chromium.org//12385090

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19423 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 21:44:52 +00:00
floitsch@google.com f329794ef7 Revert "Implement missing functions on ListBase."
This reverts commit 19382.

Review URL: https://codereview.chromium.org//12391073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19419 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 21:21:58 +00:00
blois@google.com 0af748561a Fixing transferable_test
Was marked as failing on FF, skip for dart2js and flaky on dartium.

BUG=8026, 3392

Review URL: https://codereview.chromium.org//12380073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19410 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 18:34:32 +00:00
blois@google.com fa60fd99d0 Cleaning up html.status
Just separating supported checks from other errors, to try to make it clearer when support changes (should be rare).

BUG=

Review URL: https://codereview.chromium.org//12387063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19409 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 18:21:53 +00:00
floitsch@google.com b85f96905d Add Duration.inMicroseconds and add Stopwatch.elapsed.
Review URL: https://codereview.chromium.org//12389056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19406 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 18:13:41 +00:00
floitsch@google.com d91bca2813 Add List.asMap().
Review URL: https://codereview.chromium.org//12391046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19399 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 16:57:52 +00:00
whesse@google.com 8929d6c037 dart:io | Fix a crash when read was called on a closed socket on Windows.
BUG=dartbug.com/8798

Review URL: https://codereview.chromium.org//12395017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19396 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 16:16:18 +00:00
sgjesse@google.com b7183dc258 Add individual HTTP request to web socket upgrade support
Added the static method "upgrade" on the WebSocketTransformer class to
allow upgrading individual HTTPRequest objects to web scoket
connections.

R=ajohnsen@google.com

BUG=

Review URL: https://codereview.chromium.org//12400002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19395 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 15:50:01 +00:00
vegorov@google.com 4580a0f8ac Add library tag into the test store_to_load_forwarding_phis_vm_test.
R=antonm@google.com
BUG=

Review URL: https://codereview.chromium.org//12395016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19394 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 15:49:37 +00:00
floitsch@google.com 1a05d91101 Update status file.
Review URL: https://codereview.chromium.org//12377079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19393 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 15:40:07 +00:00
floitsch@google.com bfc651265a Update co19 status.
Review URL: https://codereview.chromium.org//12378072

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19392 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 15:23:43 +00:00
lrn@google.com f4300b84a2 Make List.from and Iterable.toList default to not growable.
Review URL: https://codereview.chromium.org//12401002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19391 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 14:55:40 +00:00
vegorov@google.com e1e7051b22 In LoadOptimizer::EmitPhis check for environment uses of phis.
Previously we checked for input uses only. This caused some phis
to be not emitted if they had only environment uses. The bug was masked
by an elimination pass done before the register allocation.

R=kmillikin@google.com

Review URL: https://codereview.chromium.org//12391060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19390 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 14:55:33 +00:00
ngeoffray@google.com 245081c898 Fix type annotation on [JSArray.addAll] and add a test.
Review URL: https://codereview.chromium.org//12395011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19389 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 14:50:17 +00:00
lrn@google.com 1648ec1e12 Another test that cancels a timer.
Review URL: https://codereview.chromium.org//12391059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19385 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 13:48:52 +00:00
floitsch@google.com 5592c90ea1 Update status file.
Review URL: https://codereview.chromium.org//12381077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19384 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 13:45:37 +00:00
lrn@google.com ef1d88fc36 Better status file for bug. Also catches jsc.
Review URL: https://codereview.chromium.org//12391058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19383 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 13:40:26 +00:00
floitsch@google.com c0061ef2cd Implement missing functions on ListBase.
Review URL: https://codereview.chromium.org//12380086

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19382 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 13:28:07 +00:00
lrn@google.com 4d30b1bbbe Split stream_state_test into three files.
The test "framework" is in a file of its own, and the tests are
split into those that uses timers greater than zero (which doesn't
work on d8) and the rest.

BUG=

Review URL: https://codereview.chromium.org//12374085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19381 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 13:23:43 +00:00