Constant fold charCodeAt via constant system

BUG=
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41381 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Constant fold charCodeAt via constant system"

TBR=johnniwinther@google.com
BUG=

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

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

Also explicitly expose FileSpans and FileLocations.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41383 260f80e4-7a28-3924-810f-c04153c831b5
Redo "Constant fold charCodeAt via constant system"

TBR=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41384 260f80e4-7a28-3924-810f-c04153c831b5
Add patch for todomvc (temporary while we migrate to package bots logic)
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41385 260f80e4-7a28-3924-810f-c04153c831b5
Reverts 41378 for test failure.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41386 260f80e4-7a28-3924-810f-c04153c831b5
make patching of todomvc work from any directory

TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41387 260f80e4-7a28-3924-810f-c04153c831b5
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