add class type alias suggestions

BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41388 260f80e4-7a28-3924-810f-c04153c831b5
Support while loop in analyzer2dart.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41390 260f80e4-7a28-3924-810f-c04153c831b5
Support map and list literals in analyzer2dart.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41391 260f80e4-7a28-3924-810f-c04153c831b5
Make Expect.throws not accept arguments that fail to be called.

Expect.throws calls its first argument, f, with no arguments.
If f isn't callable in this way, the act of calling would throw, and this throw would be considered as makeing the Expect.throws succeeede.

Now we check the argument first, and call it outside the try/catch if it's not callable. This was already caught in checked mode, but we shouldn't accept a false positive in unchecked mode either.

R=zerny@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41392 260f80e4-7a28-3924-810f-c04153c831b5
Mark tests flaky on Safari 6.2

BUG=dartbug.com/21434
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41393 260f80e4-7a28-3924-810f-c04153c831b5
_Temporarily_ retry failing browser tests on Safari, because versions 6.2 and 7.1 are flaky on dart2js output.

Add support for macos 10.9 to buildbot scripts.

BUG=dartbug.com/21434
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41394 260f80e4-7a28-3924-810f-c04153c831b5
Fixes leak in Process.runSync().

This removes the call to _stdin._sink.destroy()
from my previous CL, which broke a test.
stdin is closed by the native implementation.
Closing again shouldn't cause a problem, but
it looks like destroy() attempts to do a lot
more than that.

OTOH adding the remove call is sufficient to
fix the leak, so let's just stick with that.

R=iposva@google.com

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

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

- Remove many CompletionSuggestionKinds that duplicate ElementKind
- Add two new CompletionSuggestionKinds: INVOCATION and IDENTIFIER
- regenerate Analysis Server Dart and Java API and docs
- rework Dart and Java tests
- remove/rename unused Dart and Java classes and methods
- remove unnecessary reference to SDK

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41396 260f80e4-7a28-3924-810f-c04153c831b5
Retry failing tests on Safari, because it is flaky.

BUG=dartbug.com/21434

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41397 260f80e4-7a28-3924-810f-c04153c831b5
Try to set any server breakpoint.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41398 260f80e4-7a28-3924-810f-c04153c831b5
Add VerifiedMemory helper for write-barrier verification.

Allocates hidden extra memory after VirtualMemory, and
verified writes are duplicated at a fixed offset.

This CL only adds the helper.
Next steps:
1. Use Reserve when reserving semi-spaces and heap pages.
2. Use Write for storing pointers (+ offset in generated code).
3. Use Accept for GC-related object lifecycle.
4. Call Verify regularly.
5. Fix failures (= places where we forget/ignore write barriers).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41399 260f80e4-7a28-3924-810f-c04153c831b5
Make table entries on analysis server's '/status' page clickable.

Clicking on a table entry now takes you to a list of files in the
given state.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41400 260f80e4-7a28-3924-810f-c04153c831b5
Fix a couple of Dart style naming violations in Intl

BUG=
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41401 260f80e4-7a28-3924-810f-c04153c831b5
Issue 21451. Fix for 'Add import' Quick Fix in case when package roots is in use.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41402 260f80e4-7a28-3924-810f-c04153c831b5
Issue 21458. Support for 'Add type' Quick Assist in for-each loops.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41403 260f80e4-7a28-3924-810f-c04153c831b5
Fix unintended effects in vm.status.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41404 260f80e4-7a28-3924-810f-c04153c831b5
Rename ForEachStatement.iterator -> iterable.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41405 260f80e4-7a28-3924-810f-c04153c831b5
Context objects don't have a compile-type. Return dynamic-type in this case.

This is lifted from
https://codereview.chromium.org/678763004/diff/120001/runtime/vm/flow_graph_type_propagator.cc
to fix issue 21455.


BUG=21455
R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41406 260f80e4-7a28-3924-810f-c04153c831b5
Add some additional annotations for tracking pub performance.

This also makes pub print more detailed timing information in
--verbose mode.

R=rnystrom@google.com
BUG=20859

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41407 260f80e4-7a28-3924-810f-c04153c831b5
Improve cache entry tests

R=scheglov@google.com

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

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