Commit Graph

15976 Commits

Author SHA1 Message Date
scheglov@google.com 4e59cd2f73 Report ILLEGAL_CHARACTER for nbsp.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24552 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 21:28:39 +00:00
scheglov@google.com 5ab28b9833 Report CHARACTER_EXPECTED_AFTER_SLASH
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24551 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 21:26:09 +00:00
janicejl@google.com e505d44db4 moved everything inside of the Docgen class into top level variables and functions. Also made most of the helper functions private.
This should aid unit testing as it would be possible to create a mirror system separately, and also generate one library object separately without everything being chained together by the docgen class.

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24550 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 21:11:57 +00:00
zra@google.com 573b9d859a Fixes a bug in the mips Random_nextState intrinsic.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24549 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 20:46:28 +00:00
regis@google.com 3711825476 Fix Random_nextState intrinsic on ARM.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24548 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 20:16:53 +00:00
jmesserly@google.com fca7d29b2c Disallow template instances when !parentNode || !owner.defaultView https://github.com/Polymer/mdv/commit/d035acecab7c2d1afd9eb67bb01818d7ed9eb11f
extract template element from attribute templates. https://github.com/Polymer/mdv/commit/13741f22d94cec1d7ca115f023cf3a25b9245def

Note: this is based on https://codereview.chromium.org/17552019/ (reorg mdv)

R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24546 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 19:59:04 +00:00
scheglov@google.com 594c29a13f Report PRIVATE_OPTIONAL_PARAMETER in more cases.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24544 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 19:49:15 +00:00
iposva@google.com ca6b378934 - Update status file for dart2js. Tests have been updated to not
use ? operator and thus now "Pass" instead of "Fail,OK".

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24542 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 19:22:21 +00:00
zra@google.com 55d97a6d56 Adds missing case in mips double comparison.
Also, adds mips and simmips to runtime benchmark script,
and fixes up a status file.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24541 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 19:03:04 +00:00
iposva@google.com f48d70cec2 - Update analyzer status file: ? operator needs to be removed.
Review URL: https://codereview.chromium.org//18050010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24540 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 18:52:55 +00:00
iposva@google.com 50fc824be9 - Remove arguments definition test from the VM.
- Update tests still referring to it.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24539 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 18:37:53 +00:00
scheglov@google.com 06abe7be3b Report FUNCTION_TYPED_PARAMETER_VAR
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24538 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 18:35:26 +00:00
iposva@google.com 7c6573258b - Protect against icount_ overflow in the delay slot and only
stop if a stop_sim_at value has been set.

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24537 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:40:35 +00:00
zra@google.com 43826a3279 Fixes timing-out test for simarm, simmips
R=regis@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24536 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:32:16 +00:00
ricow@google.com 31d1d5b487 Also remove suppression for test_runner test for the normal analyzer, not just the new dart based one.
Review URL: https://codereview.chromium.org//18083005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24535 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:28:27 +00:00
ricow@google.com 9573607dd9 Don't suppress test_runner_test on dart2js any more, we pass after we updated the checked in binary.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24534 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:19:06 +00:00
regis@google.com 7370d2a2f6 Minor status file update for ARM.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24533 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:12:49 +00:00
ricow@google.com af21d74d2d Fix safari browser to use Future.value
Also correct type errors found by the analyzer.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24532 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:07:17 +00:00
zarah@google.com 74cca39566 Add fromIterable(s) constructors in SplayTreeMap and LinkedHashMap.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24531 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:02:37 +00:00
scheglov@google.com 9c484f1d3e Triage the rest of the co19.
Some of tests are invalid, some requires fixes in analyzer.

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24530 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:01:34 +00:00
scheglov@google.com e5b3f9f855 Report errors for invalid annotations.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24529 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:58:04 +00:00
ajohnsen@google.com 6005ff6a18 Fix comment from earlier commit.
BUG=
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24526 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:45:40 +00:00
ajohnsen@google.com d506a6e490 Stop printing when stdout is closed.
This makes sure we don't print(...) data to a file opened after stdout
was closed.

BUG=https://code.google.com/p/dart/issues/detail?id=9615
R=kustermann@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24525 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:44:39 +00:00
zra@google.com 60392c70fd Implements external array access for mips.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24524 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:42:39 +00:00
ajohnsen@google.com f6b8d89968 Add FileException.path and clean up file exceptions.
Now correctly throw ArgumentError and not delayed FileExceptions in case
of invalid arguments.

BUG=https://code.google.com/p/dart/issues/detail?id=3075

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24523 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:42:32 +00:00
ajohnsen@google.com 1cbcd0e620 Document that IOSink.add may buffer data.
BUG=https://code.google.com/p/dart/issues/detail?id=11552
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24521 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:23:24 +00:00
ricow@google.com 545f6e1341 Update checked in binary to version 0.5.19.0
This is a reland of r24086 with a fix catching errors in the websocket server in tools/testing/dart/http_server.dart.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24520 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:10:59 +00:00
srdjan@google.com f415b31685 Add --deoptimization_counter_inlining_threshold=10 that stops inlining in a method that has reached it.
R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24519 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 15:26:16 +00:00
kasperl@google.com 3570215026 Fix type annotation.
R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24517 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 13:55:44 +00:00
kasperl@google.com 56d2e0ed07 Fix Element.findMyName for named constructors.
R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24516 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 13:48:53 +00:00
fschneider@google.com fd3f443181 Fix a bug in allocation sinking and load elimination.
1. Aliasing information was not computed for allocations that
are never used in a LoadField instruction.

2. CanBeAliased was not correct in the case of a StoreVMField.

BUG=https://code.google.com/p/dart/issues/detail?id=11538
TEST=runtime/vm/flow_graph_optimizer.cc
R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24515 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 13:26:23 +00:00
zarah@google.com 13d024e0dc Add Map constructors taking iterables.
BUG= http://dartbug.com/11330
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24514 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 13:17:16 +00:00
ajohnsen@google.com ec99eb5190 Document HttpServer.
BUG=https://code.google.com/p/dart/issues/detail?id=11169
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24513 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 11:35:55 +00:00
whesse@google.com d12f2b49ba dart:io | Handle an immediately closed connection in RawSecureServerSocket.
BUG=
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24512 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 10:41:00 +00:00
whesse@google.com f7faa23d7a dart:io | Add rename() and renameSync() to FileSystem Entity
The subclasses all implement these already.

BUG=
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24511 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 09:18:21 +00:00
whesse@google.com 6aa0fafa00 Fix runtime build for Android
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24510 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 08:31:17 +00:00
ahe@google.com 5530bbef9d Fix typo that caused orphaned info to be emitted.
BUG=http://dartbug.com/11533
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24509 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 08:11:56 +00:00
kasperl@google.com 5ab5bbbdc1 Get rid of this code. Doesn't seem necessary anymore.
R=karlklose@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24508 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 08:09:05 +00:00
ricow@google.com de1180fa94 Change the target that we build on the android bot from samples to runtime
It seems that the sample is broken, do we even support this?

R=efortuna@google.com, vsm@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24507 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 05:59:15 +00:00
amouravski@google.com 5089f391d2 Revert "Add support for V8 and Firefox stack traces in pkg/stack_trace."
This reverts commit r24502.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24506 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 02:16:12 +00:00
iposva@google.com 2d2f1bf4ea - Use VOID_TEMP_FAILURE_RETRY where needed
Review URL: https://codereview.chromium.org//17840009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24505 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 01:14:12 +00:00
regis@google.com 0c93466054 Hide parent function name in name of closurized function to user (issue 5436).
Hide implicit parameter of closure to user.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24504 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 00:49:49 +00:00
jmesserly@google.com f08c9d860a remove warning that is no longer in dart:html
TBR to fix dart2js bot.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24503 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 00:45:10 +00:00
nweiz@google.com a92a52a4ff Add support for V8 and Firefox stack traces in pkg/stack_trace.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24502 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 00:28:28 +00:00
jmesserly@google.com 5ec4d52def fix analysis issue caught by dart2js bots
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24501 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 00:06:30 +00:00
srdjan@google.com f791281f91 Add two-byte string support in codeunitAt intrinsic.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24500 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 00:05:10 +00:00
jmesserly@google.com d6b9207588 Reorganize mdv and observe functionality
* keep correct dart:html APIs
* move implementation into package:mdv and package:observe
* remove dart:mdv_observe_impl
* remove getValueWorkaround/setValueWorkaround from package:observe

R=blois@google.com, floitsch@google.com, justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24498 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 23:25:47 +00:00
scheglov@google.com 18bc4ea6c3 Use InheritanceManager to lookup 'iterator' getter.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24495 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 22:45:31 +00:00
scheglov@google.com f79bad9753 Triage some co19 tests.
This time the ones which were skipped.
As I see on one of them Brian is working (as discussed in mail) and for other two I've opened the issue.

R=jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24494 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 22:39:23 +00:00
regis@google.com 169bc2f989 Fix code for store buffer update on ARM and MIPS (link register was trashed).
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24493 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 22:14:42 +00:00