Commit Graph

5 Commits

Author SHA1 Message Date
nweiz@google.com bcdb64e20e Refactor pkg/path.
This CL does several things:

* Splits lib/path.dart into multiple libraries.

* Renames "Builder" to "Context".

* Makes the Context API match the top-level functions ("root" was
  renamed to "current" and "resolve" was renamed to "absolute").

* The top-level "absolute" function now takes multiple parts, to match
  [Context.absolute].

R=rnystrom@google.com
BUG=14981

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30423 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 20:48:45 +00:00
nweiz@google.com 51f7a5feac Don't rely on a sandbox directory for pkg/path PWD tests.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30261 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 00:38:43 +00:00
nweiz@google.com b1b03df203 Have pkg/path track the current working directory if it changes.
R=rnystrom@google.com
BUG=11100

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30256 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-13 23:00:30 +00:00
rnystrom@google.com 3b1d63cd9d First stab at a dev server in pub using barback.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25600 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 00:44:56 +00:00
rnystrom@google.com a9d24edd0f Rename "pathos" package to "path".
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24964 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 17:54:48 +00:00