external/dart/bleeding_edge.git
2 hours agoFix for 16078- references to the type Functor that is marked with @proxy is now consi... master
jwren@google.com [Fri, 18 Apr 2014 05:55:06 +0000 (05:55 +0000)]
Fix for 16078- references to the type Functor that is marked with @proxy is now considered an executable type

Brian- after this change, we'll be able to remove our only use of the "conditional" error codes (ProxyConditionalAnalysisError), which should be a performance improvement.

R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35162 260f80e4-7a28-3924-810f-c04153c831b5

3 hours agoUse abstract Resource in PackageMapUriResolver.
scheglov@google.com [Fri, 18 Apr 2014 04:40:45 +0000 (04:40 +0000)]
Use abstract Resource in PackageMapUriResolver.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35161 260f80e4-7a28-3924-810f-c04153c831b5

6 hours agoDetect and warn about missing scripts (rather than fail during the build)
sigmund@google.com [Fri, 18 Apr 2014 01:42:59 +0000 (01:42 +0000)]
Detect and warn about missing scripts (rather than fail during the build)

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35160 260f80e4-7a28-3924-810f-c04153c831b5

8 hours agoSyntax error in test status heading.
rmacnak@google.com [Thu, 17 Apr 2014 23:28:23 +0000 (23:28 +0000)]
Syntax error in test status heading.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35159 260f80e4-7a28-3924-810f-c04153c831b5

8 hours agoMark invoke_natives_fuzz_test as passing in Dartium, FF, Safari, Chrome, IE.
rmacnak@google.com [Thu, 17 Apr 2014 23:22:22 +0000 (23:22 +0000)]
Mark invoke_natives_fuzz_test as passing in Dartium, FF, Safari, Chrome, IE.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35158 260f80e4-7a28-3924-810f-c04153c831b5

9 hours agoFix Browser Controller to not reuse iFrames, which can sometimes cause bad state...
efortuna@google.com [Thu, 17 Apr 2014 22:56:05 +0000 (22:56 +0000)]
Fix Browser Controller to not reuse iFrames, which can sometimes cause bad state to be left between tests.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35157 260f80e4-7a28-3924-810f-c04153c831b5

10 hours agoCode patching for ARM64.
zra@google.com [Thu, 17 Apr 2014 22:00:11 +0000 (22:00 +0000)]
Code patching for ARM64.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35156 260f80e4-7a28-3924-810f-c04153c831b5

10 hours agoAdd fuzz test for reflective invocation.
rmacnak@google.com [Thu, 17 Apr 2014 21:48:23 +0000 (21:48 +0000)]
Add fuzz test for reflective invocation.

B=http://dartbug.com/15274
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35155 260f80e4-7a28-3924-810f-c04153c831b5

11 hours agoUriResolver for package map.
scheglov@google.com [Thu, 17 Apr 2014 21:01:12 +0000 (21:01 +0000)]
UriResolver for package map.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35154 260f80e4-7a28-3924-810f-c04153c831b5

11 hours agoDEPS AutoUpdate: webkit to 171887 (2014-04-17 13:30:19 -0700) blois@chromium.org
vsm@google.com [Thu, 17 Apr 2014 20:38:01 +0000 (20:38 +0000)]
DEPS AutoUpdate: webkit to 171887 (2014-04-17 13:30:19 -0700) blois@chromium.org
Dartium support for manual custom element upgrades.
http://src.chromium.org/viewvc/blink/branches/dart/1847?view=rev&revision=171887

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35153 260f80e4-7a28-3924-810f-c04153c831b5

11 hours agoRecord and use navigation data in Editor.
scheglov@google.com [Thu, 17 Apr 2014 20:31:07 +0000 (20:31 +0000)]
Record and use navigation data in Editor.

R=danrubel@google.com, messick@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35152 260f80e4-7a28-3924-810f-c04153c831b5

11 hours agoTests for navigation value objects.
scheglov@google.com [Thu, 17 Apr 2014 20:25:32 +0000 (20:25 +0000)]
Tests for navigation value objects.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35151 260f80e4-7a28-3924-810f-c04153c831b5

11 hours agoDon't warn if a transformer declares outputs that it doesn't emit.
nweiz@google.com [Thu, 17 Apr 2014 20:18:13 +0000 (20:18 +0000)]
Don't warn if a transformer declares outputs that it doesn't emit.

R=rnystrom@google.com
BUG=18285

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35150 260f80e4-7a28-3924-810f-c04153c831b5

11 hours agoImprove the error message for a transformer pubspec error.
nweiz@google.com [Thu, 17 Apr 2014 20:13:30 +0000 (20:13 +0000)]
Improve the error message for a transformer pubspec error.

R=rnystrom@google.com
BUG=18278

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35149 260f80e4-7a28-3924-810f-c04153c831b5

13 hours agoFix bug in how we handle invoke expressions
sigmund@google.com [Thu, 17 Apr 2014 18:42:18 +0000 (18:42 +0000)]
Fix bug in how we handle invoke expressions

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35148 260f80e4-7a28-3924-810f-c04153c831b5

13 hours agofix for dartbug.com/18258
keertip@google.com [Thu, 17 Apr 2014 18:26:06 +0000 (18:26 +0000)]
fix for dartbug.com/18258

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35147 260f80e4-7a28-3924-810f-c04153c831b5

13 hours agoVM Service: Include a response id when enumerating scripts.
rmacnak@google.com [Thu, 17 Apr 2014 18:16:33 +0000 (18:16 +0000)]
VM Service: Include a response id when enumerating scripts.

R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35146 260f80e4-7a28-3924-810f-c04153c831b5

15 hours agoLimit shrinkage: allow growth by at least half the pages freed by GC.
koda@google.com [Thu, 17 Apr 2014 17:06:44 +0000 (17:06 +0000)]
Limit shrinkage: allow growth by at least half the pages freed by GC.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35145 260f80e4-7a28-3924-810f-c04153c831b5

16 hours agoSubscribe for non-SDK errors.
scheglov@google.com [Thu, 17 Apr 2014 15:43:11 +0000 (15:43 +0000)]
Subscribe for non-SDK errors.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35144 260f80e4-7a28-3924-810f-c04153c831b5

16 hours agoadd mobile launch config
keertip@google.com [Thu, 17 Apr 2014 15:27:35 +0000 (15:27 +0000)]
add mobile launch config

R=danrubel@google.com, devoncarew@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35143 260f80e4-7a28-3924-810f-c04153c831b5

18 hours agoPredefined SourceSet instances of each kind.
scheglov@google.com [Thu, 17 Apr 2014 13:59:18 +0000 (13:59 +0000)]
Predefined SourceSet instances of each kind.

Also fix for tests that have depended on the List/Map type inference.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35142 260f80e4-7a28-3924-810f-c04153c831b5

29 hours agoInfer more general types for literal lists/maps (dartbug.com/17934)
paulberry@google.com [Thu, 17 Apr 2014 02:58:24 +0000 (02:58 +0000)]
Infer more general types for literal lists/maps (dartbug.com/17934)

Also fix the docs above StaticTypeAnalyzer.visitMapLiteral to match
the spec.

R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35141 260f80e4-7a28-3924-810f-c04153c831b5

32 hours agopkg/docgen: support better const rendering of String, List, and empty Map
kevmoo@google.com [Thu, 17 Apr 2014 00:02:11 +0000 (00:02 +0000)]
pkg/docgen: support better const rendering of String, List, and empty Map

BUG= https://code.google.com/p/dart/issues/detail?id=18107
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35140 260f80e4-7a28-3924-810f-c04153c831b5

33 hours agoSupport declaring and lazy transformers in pub.
nweiz@google.com [Wed, 16 Apr 2014 23:03:45 +0000 (23:03 +0000)]
Support declaring and lazy transformers in pub.

R=rnystrom@google.com
BUG=16998
RELNOTE=User-defined lazy transformers will be lazy when using "pub serve".

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35139 260f80e4-7a28-3924-810f-c04153c831b5

33 hours agoRedo "Add more MiniJsParser functionality."
sra@google.com [Wed, 16 Apr 2014 22:43:57 +0000 (22:43 +0000)]
Redo "Add more MiniJsParser functionality."

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35137 260f80e4-7a28-3924-810f-c04153c831b5

34 hours agoRevert "Add more MiniJsParser functionality."
sra@google.com [Wed, 16 Apr 2014 22:05:37 +0000 (22:05 +0000)]
Revert "Add more MiniJsParser functionality."

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35136 260f80e4-7a28-3924-810f-c04153c831b5

34 hours agoAdd more MiniJsParser functionality.
sra@google.com [Wed, 16 Apr 2014 21:57:19 +0000 (21:57 +0000)]
Add more MiniJsParser functionality.

It can now parse the reflection data parser.
The result is 5k off most minified programs.

- Local functions.
- Interpolate statements.
- Non-empty object literals

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35135 260f80e4-7a28-3924-810f-c04153c831b5

34 hours agoImplement the new notification subscription API.
scheglov@google.com [Wed, 16 Apr 2014 21:38:17 +0000 (21:38 +0000)]
Implement the new notification subscription API.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35134 260f80e4-7a28-3924-810f-c04153c831b5

35 hours agoDEPS AutoUpdate: webkit to 171804 (2014-04-16 14:06:26 -0700) asiva@google.com
vsm@google.com [Wed, 16 Apr 2014 21:10:11 +0000 (21:10 +0000)]
DEPS AutoUpdate: webkit to 171804 (2014-04-16 14:06:26 -0700) asiva@google.com
Fix for bug 18252 report an exception instead of asserting on an error.
http://src.chromium.org/viewvc/blink/branches/dart/1847?view=rev&revision=171804

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35133 260f80e4-7a28-3924-810f-c04153c831b5

35 hours agofix for dartbug.com/17179
keertip@google.com [Wed, 16 Apr 2014 20:50:45 +0000 (20:50 +0000)]
fix for dartbug.com/17179

R=danrubel@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35132 260f80e4-7a28-3924-810f-c04153c831b5

35 hours agoBump multivm DEPS
rmacnak@google.com [Wed, 16 Apr 2014 20:41:40 +0000 (20:41 +0000)]
Bump multivm DEPS

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35131 260f80e4-7a28-3924-810f-c04153c831b5

36 hours agoFixes a problem with the recovery of contexts in the debugger at closure calls.
turnidge@google.com [Wed, 16 Apr 2014 20:03:30 +0000 (20:03 +0000)]
Fixes a problem with the recovery of contexts in the debugger at closure calls.

When we call a closure, the caller saves the context before the call.
So when walking the stack, we used to check the callee activation to
see if it was a closure call, and then recover our caller-saved
context.

This breaks down in the following case:

1. Caller calls function F.
2. Function F is compiled.
3. The compiler needs to run code to evaluate a constant (e.g. a
   static final getter).
4. We hit a breakpoint *while* evaluating the constant.

In this case, there is no callee frame for the closure call yet.

I fix this by using the the pc descriptors to see if the current pc in
the caller is a closure call.  This avoids needing to have a callee
frame available.

---

ALSO:

New flags:

--verify-incoming-contexts: in development - verify assumptions about
  contexts in stub code. (currently ia32 only)

--trace-debugger-stacktrace: this helps debug these kinds of
  stacktrace issues.

Miscellaneous improvements to frame and context printing.

BUG=
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35130 260f80e4-7a28-3924-810f-c04153c831b5

36 hours agoMake the http portion of the analysis server optional.
paulberry@google.com [Wed, 16 Apr 2014 20:03:25 +0000 (20:03 +0000)]
Make the http portion of the analysis server optional.

If no "--port" option is supplied, the analysis server won't start up
an http server, and it will only communicate with the client over
stdio.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35129 260f80e4-7a28-3924-810f-c04153c831b5

36 hours agoSourceSet based Source provider/predicate.
scheglov@google.com [Wed, 16 Apr 2014 20:01:14 +0000 (20:01 +0000)]
SourceSet based Source provider/predicate.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35128 260f80e4-7a28-3924-810f-c04153c831b5

36 hours agoAdds simulator debugger and Stop to arm64.
zra@google.com [Wed, 16 Apr 2014 19:57:52 +0000 (19:57 +0000)]
Adds simulator debugger and Stop to arm64.

Also replaces UNIMPLEMENTED in stubs with Stop so
we can enable generation.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35127 260f80e4-7a28-3924-810f-c04153c831b5

36 hours agoChange our stepping behavior for better debugging of Futures.
devoncarew@google.com [Wed, 16 Apr 2014 19:51:29 +0000 (19:51 +0000)]
Change our stepping behavior for better debugging of Futures.

R=danrubel@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35126 260f80e4-7a28-3924-810f-c04153c831b5

36 hours agoCapture content state changes. This might be too much data, but I don't know how...
brianwilkerson@google.com [Wed, 16 Apr 2014 19:46:24 +0000 (19:46 +0000)]
Capture content state changes. This might be too much data, but I don't know how else to track down the underlying problem. Interested in your thoughts.

R=danrubel@google.com, lukechurch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35125 260f80e4-7a28-3924-810f-c04153c831b5

36 hours agoRevert "Adding test for InputElement.valueAsNumber"
blois@google.com [Wed, 16 Apr 2014 19:12:59 +0000 (19:12 +0000)]
Revert "Adding test for InputElement.valueAsNumber"

Running into failures on IE, need to investigate.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35124 260f80e4-7a28-3924-810f-c04153c831b5

37 hours agoRemove Base64 from UI and use the one in engine
messick@google.com [Wed, 16 Apr 2014 19:06:09 +0000 (19:06 +0000)]
Remove Base64 from UI and use the one in engine

R=danrubel@google.com, lukechurch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35123 260f80e4-7a28-3924-810f-c04153c831b5

37 hours agoMove operations into a separate package.
scheglov@google.com [Wed, 16 Apr 2014 18:28:25 +0000 (18:28 +0000)]
Move operations into a separate package.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35122 260f80e4-7a28-3924-810f-c04153c831b5

38 hours agoDelete Call Hierarchy View
messick@google.com [Wed, 16 Apr 2014 17:58:29 +0000 (17:58 +0000)]
Delete Call Hierarchy View

R=danrubel@google.com, pquitslund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35120 260f80e4-7a28-3924-810f-c04153c831b5

38 hours agoAllow any operation to throw an exception.
scheglov@google.com [Wed, 16 Apr 2014 17:47:44 +0000 (17:47 +0000)]
Allow any operation to throw an exception.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35118 260f80e4-7a28-3924-810f-c04153c831b5

38 hours agoAdding test for InputElement.valueAsNumber
blois@google.com [Wed, 16 Apr 2014 17:40:41 +0000 (17:40 +0000)]
Adding test for InputElement.valueAsNumber

To prove that https://code.google.com/p/dart/issues/detail?id=15788 is as intended.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35117 260f80e4-7a28-3924-810f-c04153c831b5

38 hours agoExit stdio-based analysis server when stdin closed.
paulberry@google.com [Wed, 16 Apr 2014 17:34:35 +0000 (17:34 +0000)]
Exit stdio-based analysis server when stdin closed.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35116 260f80e4-7a28-3924-810f-c04153c831b5

38 hours agoUse ChangeSet.changedContent() instead of a separate method in server.
scheglov@google.com [Wed, 16 Apr 2014 17:26:16 +0000 (17:26 +0000)]
Use ChangeSet.changedContent() instead of a separate method in server.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35115 260f80e4-7a28-3924-810f-c04153c831b5

38 hours agoRename BuildDirectory -> SourceDirectory.
rnystrom@google.com [Wed, 16 Apr 2014 17:23:29 +0000 (17:23 +0000)]
Rename BuildDirectory -> SourceDirectory.

Also a few related clean-ups and renames.

R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35114 260f80e4-7a28-3924-810f-c04153c831b5

39 hours agoRemove old unused Web Socket code.
rnystrom@google.com [Wed, 16 Apr 2014 17:09:27 +0000 (17:09 +0000)]
Remove old unused Web Socket code.

R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35113 260f80e4-7a28-3924-810f-c04153c831b5

39 hours agoTest that the same context is analyzed to the end before starting another one.
scheglov@google.com [Wed, 16 Apr 2014 17:05:59 +0000 (17:05 +0000)]
Test that the same context is analyzed to the end before starting another one.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35112 260f80e4-7a28-3924-810f-c04153c831b5

39 hours agoAdd “pub cache repair” to forcibly re-install previously cached packages.
rnystrom@google.com [Wed, 16 Apr 2014 17:04:08 +0000 (17:04 +0000)]
Add “pub cache repair” to forcibly re-install previously cached packages.

BUG=https://code.google.com/p/dart/issues/detail?id=5391
RELNOTE=Add "pub cache repair" command to re-install cached packages.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35111 260f80e4-7a28-3924-810f-c04153c831b5

40 hours agoProposed changes to ChangeSet, primarily to support the server. This is getting to...
brianwilkerson@google.com [Wed, 16 Apr 2014 16:00:19 +0000 (16:00 +0000)]
Proposed changes to ChangeSet, primarily to support the server. This is getting to be more complex than I'd like; suggestions for simplification appreciated.

R=paulberry@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35110 260f80e4-7a28-3924-810f-c04153c831b5

40 hours agoAdds object pool, LoadImmediate, and LoadObject to ARM64.
zra@google.com [Wed, 16 Apr 2014 15:48:33 +0000 (15:48 +0000)]
Adds object pool, LoadImmediate, and LoadObject to ARM64.

Also enables many object tests.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35109 260f80e4-7a28-3924-810f-c04153c831b5

41 hours agoAdd a message for analysis server to indicate a successful connection.
paulberry@google.com [Wed, 16 Apr 2014 15:11:35 +0000 (15:11 +0000)]
Add a message for analysis server to indicate a successful connection.

This complements the "server already started" error introduced in
r35046.  It's now easy for the client to detect whether a connection
to the server was successful--it simply connects and waits for the
initial message from the server.  The message returned on a successful
connection is:

{"event":"server.connected"}

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35108 260f80e4-7a28-3924-810f-c04153c831b5

41 hours agoRemove "listening on port $port" message.
paulberry@google.com [Wed, 16 Apr 2014 14:55:07 +0000 (14:55 +0000)]
Remove "listening on port $port" message.

This prevents it from interfering with stdio-based communication
between the editor and analysis server.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35107 260f80e4-7a28-3924-810f-c04153c831b5

42 hours agoUpdate status file.
floitsch@google.com [Wed, 16 Apr 2014 13:42:55 +0000 (13:42 +0000)]
Update status file.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35104 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoAdd a context field to Message in shelf.
nweiz@google.com [Wed, 16 Apr 2014 01:23:01 +0000 (01:23 +0000)]
Add a context field to Message in shelf.

Originally https://codereview.chromium.org/226263007/.

BUG=https://code.google.com/p/dart/issues/detail?id=17992
R=kevmoo@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35102 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoBump multivm DEPS
rmacnak@google.com [Wed, 16 Apr 2014 01:17:17 +0000 (01:17 +0000)]
Bump multivm DEPS

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35101 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoSupport loading transformers exported by packages' libraries.
nweiz@google.com [Tue, 15 Apr 2014 23:58:10 +0000 (23:58 +0000)]
Support loading transformers exported by packages' libraries.

R=rnystrom@google.com
RELNOTE=Pub will now load transformers exported by a package's library.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35100 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoLazy transformers followed by non-lazy ones shouldn't always be forced.
nweiz@google.com [Tue, 15 Apr 2014 23:56:11 +0000 (23:56 +0000)]
Lazy transformers followed by non-lazy ones shouldn't always be forced.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35099 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoMake [Barback.getAllAssets] work when called synchronously.
nweiz@google.com [Tue, 15 Apr 2014 23:54:32 +0000 (23:54 +0000)]
Make [Barback.getAllAssets] work when called synchronously.

This was broken because InputNode didn't take its input being dirty
into account when calculating whether it was dirty, so the synchronous
period between providing Barback with assets and getting those assets'
values had the graph marked as clean but none of its outputs yet
available.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35098 260f80e4-7a28-3924-810f-c04153c831b5

2 days agopkg/shelf: bump max version of scheduled_test
kevmoo@google.com [Tue, 15 Apr 2014 23:27:52 +0000 (23:27 +0000)]
pkg/shelf: bump max version of scheduled_test

R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35097 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoBump multivm DEPS
rmacnak@google.com [Tue, 15 Apr 2014 23:00:36 +0000 (23:00 +0000)]
Bump multivm DEPS

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35096 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoAllow the analysis server to connect to the client over stdio.
paulberry@google.com [Tue, 15 Apr 2014 22:52:56 +0000 (22:52 +0000)]
Allow the analysis server to connect to the client over stdio.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35095 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoDEPS AutoUpdate: webkit to 171710 (2014-04-15 15:37:21 -0700) asiva@google.com
vsm@google.com [Tue, 15 Apr 2014 22:40:41 +0000 (22:40 +0000)]
DEPS AutoUpdate: webkit to 171710 (2014-04-15 15:37:21 -0700) asiva@google.com
Revert https://src.chromium.org/viewvc/multivm/branches/1650/blink?view=rev&revision=171703
http://src.chromium.org/viewvc/blink/branches/dart/1847?view=rev&revision=171710

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35094 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoFailing html/custom/element_upgrade_test for IE9/10
blois@google.com [Tue, 15 Apr 2014 22:40:14 +0000 (22:40 +0000)]
Failing html/custom/element_upgrade_test for IE9/10

Investigating what the issue is, it's passing on IE11 but failing on these.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35093 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoPrioritize contexts with priority source and the context which is already being analyzed.
scheglov@google.com [Tue, 15 Apr 2014 22:19:44 +0000 (22:19 +0000)]
Prioritize contexts with priority source and the context which is already being analyzed.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35092 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoProposed new API for subscribing to notifications.
scheglov@google.com [Tue, 15 Apr 2014 22:16:11 +0000 (22:16 +0000)]
Proposed new API for subscribing to notifications.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35091 260f80e4-7a28-3924-810f-c04153c831b5

2 days agopkg/scheduled_test fixed shelf dependency
kevmoo@google.com [Tue, 15 Apr 2014 22:01:24 +0000 (22:01 +0000)]
pkg/scheduled_test fixed shelf dependency

Also fixed a couple of analyzer warnings

R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35090 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoRemove redundant initialization of HttpAnalysisServer.socketServer.
paulberry@google.com [Tue, 15 Apr 2014 21:45:47 +0000 (21:45 +0000)]
Remove redundant initialization of HttpAnalysisServer.socketServer.

This was mistakenly left out of r35075.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35089 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoCreate analysis server ByteStreamServerChannel class.
paulberry@google.com [Tue, 15 Apr 2014 21:43:00 +0000 (21:43 +0000)]
Create analysis server ByteStreamServerChannel class.

This class serves a parallel role to the existing
WebSocketServerChannel interface, except that it handles exchanging
data with stdio rather than with a WebSocket.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35088 260f80e4-7a28-3924-810f-c04153c831b5

2 days agopkg/shelf: rename Stack to Pipeline
kevmoo@google.com [Tue, 15 Apr 2014 21:35:48 +0000 (21:35 +0000)]
pkg/shelf: rename Stack to Pipeline

BUG= https://code.google.com/p/dart/issues/detail?id=17994
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35087 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoDelete linked mode rename
messick@google.com [Tue, 15 Apr 2014 21:35:36 +0000 (21:35 +0000)]
Delete linked mode rename

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35086 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoDon't time out when uploading a package for "pub lish".
nweiz@google.com [Tue, 15 Apr 2014 21:23:08 +0000 (21:23 +0000)]
Don't time out when uploading a package for "pub lish".

R=rnystrom@google.com
BUG=18180

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35085 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoForgot to delete a branch
messick@google.com [Tue, 15 Apr 2014 21:17:21 +0000 (21:17 +0000)]
Forgot to delete a branch

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35084 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoDelete IndentUtil and IndentAction
messick@google.com [Tue, 15 Apr 2014 21:10:30 +0000 (21:10 +0000)]
Delete IndentUtil and IndentAction

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35083 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoDEPS AutoUpdate: webkit to 171703 (2014-04-15 14:07:03 -0700) asiva@google.com
vsm@google.com [Tue, 15 Apr 2014 21:10:33 +0000 (21:10 +0000)]
DEPS AutoUpdate: webkit to 171703 (2014-04-15 14:07:03 -0700) asiva@google.com
Change the way weak handles are traversed in GC prolog code.
http://src.chromium.org/viewvc/blink/branches/dart/1847?view=rev&revision=171703

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35082 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoDelete InternalCompletionProposal
messick@google.com [Tue, 15 Apr 2014 20:58:22 +0000 (20:58 +0000)]
Delete InternalCompletionProposal

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35081 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoRe-apply "Adding a mechanism to 'upgrade' the Dart type of elements"
blois@google.com [Tue, 15 Apr 2014 20:50:46 +0000 (20:50 +0000)]
Re-apply "Adding a mechanism to 'upgrade' the Dart type of elements"

With fixes for:
- Expected analyzer static error in the unittest.
- Added browser/interop.js to the HTML file

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35080 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoBump multivm DEPS
rmacnak@google.com [Tue, 15 Apr 2014 20:28:33 +0000 (20:28 +0000)]
Bump multivm DEPS

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35079 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoDelete LazyGenericTypeProposal
messick@google.com [Tue, 15 Apr 2014 20:26:37 +0000 (20:26 +0000)]
Delete LazyGenericTypeProposal

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35078 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoFix for unary- display name.
scheglov@google.com [Tue, 15 Apr 2014 20:11:36 +0000 (20:11 +0000)]
Fix for unary- display name.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35077 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoParse some statements
sra@google.com [Tue, 15 Apr 2014 20:02:08 +0000 (20:02 +0000)]
Parse some statements

BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35076 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoSplit off a Driver class from analysis server's HttpAnalysisServer.
paulberry@google.com [Tue, 15 Apr 2014 19:55:21 +0000 (19:55 +0000)]
Split off a Driver class from analysis server's HttpAnalysisServer.

The Driver class sits above the HttpAnalysisServer, parsing command
line options and deciding how the sever should be run.  With this
change, HttpAnalysisServer now contains only http-specific code.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35075 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoSubscription for notifications, implementation for navigation.
scheglov@google.com [Tue, 15 Apr 2014 19:43:28 +0000 (19:43 +0000)]
Subscription for notifications, implementation for navigation.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35074 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoAdd test of error condition
brianwilkerson@google.com [Tue, 15 Apr 2014 19:25:29 +0000 (19:25 +0000)]
Add test of error condition

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35073 260f80e4-7a28-3924-810f-c04153c831b5

2 days agofix test on windows
keertip@google.com [Tue, 15 Apr 2014 18:54:01 +0000 (18:54 +0000)]
fix test on windows

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35072 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoFix *ServerSocket's handling of zones.
ajohnsen@google.com [Tue, 15 Apr 2014 18:44:14 +0000 (18:44 +0000)]
Fix *ServerSocket's handling of zones.

A stream's zone is the one it has when listening to. Use that, and not
the one active when creating the socket.

BUG=https://code.google.com/p/dart/issues/detail?id=17468
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35071 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoTeaches the register allocator about a second assembler temporary.
zra@google.com [Tue, 15 Apr 2014 18:01:51 +0000 (18:01 +0000)]
Teaches the register allocator about a second assembler temporary.

ARM64 explicitly has two assembler temporaries that fall in the
middle of the range of registers that Dart may otherwise use. To
comply with this convention, the register allocator must
recognize two TMP registers. I've called the added one TMP2,
but I'm open to suggestions for other names.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35070 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoRemove DartTypeCompletionProposalComputer
messick@google.com [Tue, 15 Apr 2014 17:01:27 +0000 (17:01 +0000)]
Remove DartTypeCompletionProposalComputer
This class was never used.

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35069 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoUse mirrors and annotations to find test methods.
scheglov@google.com [Tue, 15 Apr 2014 16:34:17 +0000 (16:34 +0000)]
Use mirrors and annotations to find test methods.

It was too tiresome to type test method names three times, jumping back and forth
between test class and main earlier this morning. :-)

Also, we had a discussion about tests in the office.

R=brianwilkerson@google.com, danrubel@google.com, pquitslund@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35067 260f80e4-7a28-3924-810f-c04153c831b5

2 days ago1. Provide a framework to traverse persistent prolog weak handles.
asiva@google.com [Tue, 15 Apr 2014 16:32:55 +0000 (16:32 +0000)]
1. Provide a framework to traverse persistent prolog weak handles.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35066 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoUpdate core to talk to AnalysisServer and report errors.
scheglov@google.com [Tue, 15 Apr 2014 16:28:01 +0000 (16:28 +0000)]
Update core to talk to AnalysisServer and report errors.

R=brianwilkerson@google.com, danrubel@google.com, keertip@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35065 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoRemove experimental code for view-tab display
messick@google.com [Tue, 15 Apr 2014 16:12:28 +0000 (16:12 +0000)]
Remove experimental code for view-tab display

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35064 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoAvoid exceptions when analyzing truncated test output.
paulberry@google.com [Tue, 15 Apr 2014 15:49:36 +0000 (15:49 +0000)]
Avoid exceptions when analyzing truncated test output.

r34867 introduced a mechanism to truncate excessively long test
output.  Since the truncation may happen in the middle of a line, we
need to be tolerant of mal-formed lines when analyzing the test
output.

R=kustermann@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35063 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoRevert "Extend closure tracer to also trace dynamic tear offs and use the result...
herhut@google.com [Tue, 15 Apr 2014 15:42:14 +0000 (15:42 +0000)]
Revert "Extend closure tracer to also trace dynamic tear offs and use the result to identify closures that might be passed to Function.apply"

This reverts commit r35057 and r35059.

BUG=
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35062 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoSplit analysis server's HttpAnalysisServer into two classes.
paulberry@google.com [Tue, 15 Apr 2014 15:41:09 +0000 (15:41 +0000)]
Split analysis server's HttpAnalysisServer into two classes.

Behaviours of the HttpAnalysisServer which are independent of the
WebSocket transport mechanism have been moved to a new class,
SocketServer, which will also be used when the transport mechanism is
stdio.

GetHander now holds a reference to the SocketServer rather than the
AnalysisServer, so that we don't need to go to extra effort to update
it when the AnalysisServer is created.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35061 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoFix heap report bug and add checked mode display to VM page
johnmccutchan@google.com [Tue, 15 Apr 2014 14:16:15 +0000 (14:16 +0000)]
Fix heap report bug and add checked mode display to VM page

BUG=
R=turnidge@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35060 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoHandle special backend helpers correctly when tracing.
herhut@google.com [Tue, 15 Apr 2014 14:06:22 +0000 (14:06 +0000)]
Handle special backend helpers correctly when tracing.

BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35059 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoReduce test.dart memory usage.
whesse@google.com [Tue, 15 Apr 2014 12:50:46 +0000 (12:50 +0000)]
Reduce test.dart memory usage.

BUG=18084
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35058 260f80e4-7a28-3924-810f-c04153c831b5

2 days agoExtend closure tracer to also trace dynamic tear offs and use the result to identify...
herhut@google.com [Tue, 15 Apr 2014 11:00:34 +0000 (11:00 +0000)]
Extend closure tracer to also trace dynamic tear offs and use the result to identify closures that might be passed to Function.apply

BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35057 260f80e4-7a28-3924-810f-c04153c831b5

3 days agoAllowing Angular sample to run on dev branch with Angular 0.9.10
blois@google.com [Tue, 15 Apr 2014 01:20:33 +0000 (01:20 +0000)]
Allowing Angular sample to run on dev branch with Angular 0.9.10

This overrides Angular's analyzer version which is used for command-line tools only to match the version used by DI 0.36.0, so that the published version of Angular will work on the Dart dev branch.

The dependency override only works now because the analyzer dependency is only for the command-line utilities which are being phased out in favor of transformers (appearing in next Angular version).

BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@35056 260f80e4-7a28-3924-810f-c04153c831b5