Commit Graph

111 Commits

Author SHA1 Message Date
brianwilkerson@google.com 0a439dfc90 Add support for cross-session storage
R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40962 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-07 16:58:18 +00:00
paulberry@google.com 1fec496110 Use _provider.pathContext to convert URIs to files.
This should prevent unit tests from failing on Windows, since unit
tests use a Posix style path context.

TBR=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39111 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-11 22:21:13 +00:00
paulberry@google.com 845775b081 Properly translate file: URIs to paths on Windows.
Uri.path returns the path component of the URI in raw form.  This
works on MacOS and Linux, but on Windows we need for drive letters to
be handled and for '/' to be converted to '\'.  To do this, we have to
use Uri.toFilePath(windows: ...).

This was preventing the index from being able to find source files,
which in turn prevented search.getTypeHierarchy from traversing
subclasses (since it finds subclasses using the index).

BUG=dartbug.com/20436
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39105 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-11 21:02:05 +00:00
scheglov@google.com 4392cc42a0 Support for excluded files/folders.
R=brianwilkerson@google.com, paulberry@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39046 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 19:42:07 +00:00
scheglov@google.com c7d37a71cb Fix another Windows/Posix mismatch in server.
TBR

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38964 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 02:53:07 +00:00
scheglov@google.com 63b0d11e1b Fixes for the 'pub' bot and 'analysis_server' on Windows.
TBR

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38962 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 02:01:58 +00:00
scheglov@google.com 8b247578f1 Add Folder.contains(path) and use it in ContextDirectoryManager.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38958 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 22:25:04 +00:00
scheglov@google.com 0f041852a6 Fix for opening SDK sources.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38955 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 22:13:28 +00:00
scheglov@google.com c5263aae9f Breaking changes in 'analyzer' package.
1. Source.uri added.

2. DartSdk.fromEncoding() replaced with fromFileUri().

  This CL cannot be committed as is until pkg/code_transformers is fixed.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38949 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 20:41:42 +00:00
scheglov@google.com 9be22e5ac4 Uncomment and test fixes for importing libraries.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38637 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-28 18:28:00 +00:00
scheglov@google.com 9e33b85c31 Move file_system libraries into 'analyzer'.
I still end up including memory FS into 'analyzer' because tests for ResourceUriResolver use it.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38034 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-07 18:57:42 +00:00