Disable closures in initializers and fail instead of crashing.

Review URL: https://chromiumcodereview.appspot.com//9740003

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5697 260f80e4-7a28-3924-810f-c04153c831b5
Add search functions to support type hierarchy once we switch over to the new indexer
Review URL: https://chromiumcodereview.appspot.com//9754003

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5698 260f80e4-7a28-3924-810f-c04153c831b5
Initial classes for refactorings.
Basic actions for Rename refactoring, no RenameProcessor yet.
Disabled by default - will show "Not implemeneted yet" message.

R=brianwilkerson@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9743001

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5699 260f80e4-7a28-3924-810f-c04153c831b5
Attempt to fix Editor build

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5700 260f80e4-7a28-3924-810f-c04153c831b5
Attempt to fix Editor build #2, add new required plugins

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5701 260f80e4-7a28-3924-810f-c04153c831b5
Attempt to fix Editor build #3, add new required plugins

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5702 260f80e4-7a28-3924-810f-c04153c831b5
Attempt to fix Editor build #4, add new required plugins

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5703 260f80e4-7a28-3924-810f-c04153c831b5
Switch to win32.

Review URL: https://chromiumcodereview.appspot.com//9806001

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5704 260f80e4-7a28-3924-810f-c04153c831b5
Disable refactoring contribution

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5705 260f80e4-7a28-3924-810f-c04153c831b5
Call the compile-time constant handler inside bodies.

Don't transform a const instantiation into a 'new'.

Review URL: https://chromiumcodereview.appspot.com//9703074

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5706 260f80e4-7a28-3924-810f-c04153c831b5
Change visitLoop to handleLoop that takes closures as arguments.

This allows easy reuse in for-in loops.

Review URL: https://chromiumcodereview.appspot.com//9753005

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5707 260f80e4-7a28-3924-810f-c04153c831b5
Change the current element when evaluating a constructor for a compile-time constant.
Review URL: https://chromiumcodereview.appspot.com//9815002

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5708 260f80e4-7a28-3924-810f-c04153c831b5
Extend dart:io error handling to all socket functions

There are currently no tests of the error handling, as it is hard to
create consistent tests. I have done some manual tests locally:

* Lowering the number of file descriptors available (ulimit -n) and hitting that limit
* Running two dart programs communicating and terminating one (using Ctrl-C)
* Running two dart programs communicating on two machines and pulling out the network cable.

If there is an error we always call the onError callback and never the onClosed callback.

On Windows there is the issue that both closing the connection correctly and terminating one end gives the same error (ERROR_NETNAME_DELETED) so both are reported as connection close. Pulling out the network cable gives a different (real) error on Windows though.

On Mac OS it turned out the for kqueue EV_EOF is also used to indicate errors with the error code set in the fflags field. EV_ERROR is only reported if there is an internal error in  kevent processing (see http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man2/kqueue.2.html).

R=ager@google.com

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9720045

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5709 260f80e4-7a28-3924-810f-c04153c831b5
Implement super-send to non-function.

Review URL: https://chromiumcodereview.appspot.com//9753007

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5710 260f80e4-7a28-3924-810f-c04153c831b5
Fix checked mode errors

Remove return types from functions which can now return objects of different types.

TBR=ngeoffray@google.com

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9816005

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5711 260f80e4-7a28-3924-810f-c04153c831b5
Share logic for iterating through instance members as suggested by Nicolas.

Review URL: https://chromiumcodereview.appspot.com//9749002

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5712 260f80e4-7a28-3924-810f-c04153c831b5
Log progress every 500ms.

Review URL: https://chromiumcodereview.appspot.com//9753004

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5713 260f80e4-7a28-3924-810f-c04153c831b5
Do not use skip

Review URL: https://chromiumcodereview.appspot.com//9812006

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5714 260f80e4-7a28-3924-810f-c04153c831b5
Step 1 at avoiding to change the ssa graph for codegen: remove phi_eliminator, and handle the phis in the codegen.
Review URL: https://chromiumcodereview.appspot.com//9816004

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5715 260f80e4-7a28-3924-810f-c04153c831b5
Implement unresolved super-send (but ignoring arguments).

Review URL: https://chromiumcodereview.appspot.com//9815003

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