Prevent NPE in search when file is not available.

R=keertip@google.com
BUG=

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

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42221 260f80e4-7a28-3924-810f-c04153c831b5
change app dir is where pubspec lives

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42222 260f80e4-7a28-3924-810f-c04153c831b5
Restrict the version constraints on exported dependencies.

This avoids a versioning issue where an exported dependency adds a
feature and the exporting package's users' version constraints become
invalidated.

For example, suppose unittest 1.0.0 and matcher 1.0.0 exist. unittest
has the constraint "matcher: '>=1.0.0 <2.0.0'" and exports matcher.
Then matcher 1.1.0 is released with a new feature, and a user writes a
new package, mypkg, which uses that feature. As per common practice,
this package has the version constraint "unittest: '>=1.0.0 <2.0.0'"
and no constraint on matcher. This constraint allows matcher 1.0.0,
which doesn't support the new feature; this is a problem.

Under the new scheme, unittest would have the constraint "matcher:
'>=1.0.0 <1.1.0'". Then when matcher 1.1.0 is released, unittest 1.1.0
would be released as well with the constraint "marcher: '>=1.1.0
<1.2.0'".

The tight lower bound ensures that the constraint "unittest: '>=1.1.0
<2.0.0'" properly selects only versions of matcher that have features
available in the version the user is testing against. The tight upper
bound ensures that new features in a new version of matcher won't
become available in unittest without a version upgrade.

R=jmesserly@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42223 260f80e4-7a28-3924-810f-c04153c831b5
Simplify subscriptions updating implementation.

Update subscriptions after an editor input change.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42225 260f80e4-7a28-3924-810f-c04153c831b5
Sort Quick Fixes. Make lower priorities more relavant than higher.

R=brianwilkerson@google.com
BUG=

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

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