Commit Graph

12621 Commits

Author SHA1 Message Date
blois@google.com 665339880a Renaming CSS primitive types to have CSS prefixes.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19504 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 19:02:51 +00:00
sra@google.com bebf821b2f Revert "Revert "Address code review comments on r19350""
Review URL: https://codereview.chromium.org//12465004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19497 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 18:26:33 +00:00
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 54ffaab251 Fix typeddata. Was still using Arrays.
Review URL: https://codereview.chromium.org//12443004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19480 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 13:55:14 +00:00
karlklose@google.com 7dd37b2d44 Register instantiated types instead of instantiated classes in the resolver.
Review URL: https://codereview.chromium.org//12377081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19479 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 13:42:02 +00:00
ager@google.com 5285e357a4 Fix deprecation warnings in dart:io. Now completely warning free.
R=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19478 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 13:27:39 +00:00
kasperl@google.com 06b9059cd0 Re-land "Implement subclass union and intersection on type mask."
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19477 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 13:26:19 +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
kasperl@google.com 7814c1721c Revert "Implement subclass union and intersection on type mask."
This reverts r19468.

R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19474 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 13:04:19 +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
lrn@google.com 7f2858cbbb Avoid uncaught errors inside user code in stream-controller callbacks.
This could leave the stream in an inconsistent state.
There is no good place to report the error, so I make it an AsyncError and throw it, delayed, at top-level.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19472 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 12:50:42 +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
kasperl@google.com 7d8c5d9baa Implement subclass union and intersection on type mask.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19468 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 12:34:29 +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
ager@google.com d8d366121d Update idl files after Chrome roll.
Not much going on in this one.

R=antonm@google.com,blois@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19464 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 11:51:57 +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
kasperl@google.com c0b199e8b0 Use type mask to figure out if we can constant fold boolify operations.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19456 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 09:53:21 +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
kustermann@google.com d1d19278f5 Fixed missing 'io.' prefixes on exit() calls
Review URL: https://codereview.chromium.org//12378073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19451 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 09:29:08 +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
sra@google.com 168d796054 Revert "Address code review comments on r19350"
Review URL: https://codereview.chromium.org//12413005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19449 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 07:11:49 +00:00
sra@google.com 499f5ad3e9 Address code review comments on r19350
Review URL: https://codereview.chromium.org//12381080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19448 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 07:08:47 +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
regis@google.com 9b56f35621 Add missing import to tools/test-runtime.dart
Review URL: https://codereview.chromium.org//12379093

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19444 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:17:44 +00:00
blois@google.com 0ae18dedcd Updating annotations for shadow dom types.
Needed to add an annotation for CssHostRule and updated Chrome supported version (it was a flag on Chrome 25, is now on by default in Chrome 26).

BUG=8239

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19442 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:13:11 +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
gram@google.com 28e22592a7 Added a rudimentary DOM, to assist with event dispatch.
Modified embedder so we can dispatch basic mouse and keyboard events through this new dart:async based plumbing.
Added mouse/motion events to desktop embedder.
Review URL: https://codereview.chromium.org//12390045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19440 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:07:08 +00:00
zra@google.com c9c0881ac7 Adds mrc instruction to arm simulator, assembler, disassembler.
This instruction will be used to query an arm processor to
determine whether it supports the sdiv and udiv instructions.

Also adds a flag --sim_has_int_div to the arm simulator,
which changes the result of the mrc instruction so we can
test both ways.
Review URL: https://codereview.chromium.org//12378080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19439 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:03:22 +00:00
blois@google.com 2abc5b5ecc Re-running go.sh
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19437 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 00:34:41 +00:00
regis@google.com 1b274ff2cf Remove the barely used macro assemblers after merging their contents to the base
assemblers.
Review URL: https://codereview.chromium.org//12398029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19434 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 00:04:32 +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