Max Kellermann
|
f618065f7c
|
fs/Traits: use value_type
|
2014-10-10 19:51:44 +02:00 |
|
Max Kellermann
|
d744c997d8
|
fs/Traits: add function Relative()
Move code from Path::RelativeFS() and make it generic.
|
2014-02-07 19:08:51 +01:00 |
|
Max Kellermann
|
4f83c60296
|
copyright year 2014
|
2014-01-13 22:31:55 +01:00 |
|
Denis Krjuchkov
|
da50c888fe
|
fs/Traits.hxx: introduce PathTraitsXXX::IsDrive function
|
2013-12-05 15:05:01 +06:00 |
|
Denis Krjuchkov
|
cbb9149a82
|
fs/Traits.hxx: add shorter forms of PathTraitsXXX::Build()
|
2013-12-05 12:35:28 +06:00 |
|
Denis Krjuchkov
|
dab7348da8
|
fs/Traits.hxx: add PathTraitsUTF8::GetLength for consistency
|
2013-12-05 12:35:28 +06:00 |
|
Denis Krjuchkov
|
289fdcc52b
|
fs/Traits: implement GetBase/GetParent/Build using templates
|
2013-12-05 12:35:21 +06:00 |
|
Denis Krjuchkov
|
c387031252
|
fs/Traits.hxx: add FindLastSeparator function to PathTraitsXXX
|
2013-12-05 04:09:07 +06:00 |
|
Denis Krjuchkov
|
403bd77eff
|
fs/Traits: improve compatibility between PathTraitsFS and PathTraitsUTF8
|
2013-12-05 04:01:29 +06:00 |
|
Denis Krjuchkov
|
b397c46184
|
fs/Traits.hxx: add gcc_nonnull_all where applicable
|
2013-12-05 03:56:51 +06:00 |
|
Denis Krjuchkov
|
0a6c4c31b2
|
fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8
|
2013-12-05 03:53:43 +06:00 |
|
Denis Krjuchkov
|
96413b1604
|
fs/Traits.hxx: implement BuildFS() method
|
2013-12-03 13:46:05 +06:00 |
|
Denis Krjuchkov
|
2278fe42e5
|
fs/Traits.hxx: move definition of AllocatedPath::string to PathTraits
|
2013-12-03 13:37:35 +06:00 |
|
Denis Krjuchkov
|
3a183f869f
|
fs/Traits.hxx: add GetLengthFS()
There is no GetLengthUTF8() because strlen or std::string::size()
could be used instead.
|
2013-12-03 12:26:05 +06:00 |
|
Denis Krjuchkov
|
9dd824ba50
|
fs/Traits.hxx: don't use g_path_is_absolute
|
2013-12-03 11:59:57 +06:00 |
|
Denis Krjuchkov
|
d744ea3fca
|
fs/Traits.hxx: simplify code
- Move definition of SEPARATOR_UTF8 out of #ifdef
- Remove duplicated check in IsSeparatorUTF8
|
2013-12-03 11:48:45 +06:00 |
|
Max Kellermann
|
f90abe9530
|
include cleanup using iwyu
|
2013-11-28 11:50:54 +01:00 |
|
Max Kellermann
|
83c726a34f
|
GetBaseUTF8
|
2013-10-21 10:50:22 +02:00 |
|
Max Kellermann
|
b3611524f4
|
fs/Path: move definitions to struct PathTraits
|
2013-10-17 23:23:25 +02:00 |
|