ajohnsen@google.com
924c3f0b42
Add InternalStyle:rootLength to implement isAbsolute and rootPrefix.
...
This is the first step at adding a few helper methods for improving
path package performance.
BUG=
R=nweiz@google.com , rnystrom@google.com
Review URL: https://codereview.chromium.org//439223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38966 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 08:11:33 +00:00
ajohnsen@google.com
3e77741053
Fix internal constructor in context.
...
BUG=
R=lrn@google.com
Review URL: https://codereview.chromium.org//434393002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38845 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-04 07:09:27 +00:00
ajohnsen@google.com
991e829f99
Don't cache path Context based on cwd, as cwd involves a system-call to compute.
...
Instead, delay evaluation of cwd to the actual use of it.
BUG=
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//429173002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38844 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-04 06:40:18 +00:00
nweiz@google.com
45bcc382af
Avoid using RegExps in path to work around issue 19090.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//309803003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36909 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-02 23:57:09 +00:00
nweiz@google.com
0479b39e91
Deprecate publicly-visible properties on Style in path.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//304843002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36893 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-02 19:06:22 +00:00
nweiz@google.com
5dbabafb00
Add a path.formatUri method and release path 1.2.0.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//296233002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36597 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-23 23:04:39 +00:00
nweiz@google.com
6601c0a4c6
Allow [path.fromUri] to take a string as well as a URI.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//203673003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34067 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 22:02:03 +00:00
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