aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fs/GzipOutputStream: new class wrapping zlibMax Kellermann2014-08-062-0/+177
|
* fs/OutputStream: new infrastructure for writing to filesMax Kellermann2014-07-306-0/+499
|
* fs/StandardDirectory: look for cache dir in environment, not user-dirsMantas Mikulėnas2014-07-111-3/+15
| | | | | The XDG cache directory is part of the "base directories" spec like $XDG_CONFIG_HOME, not "user directories".
* fs/StandardDirectory: add GetUserCacheDir()Max Kellermann2014-03-012-0/+21
| | | | | | Move code from CreateConfiguredDatabase() and add XDG support. This implements an automatic Linux fallback for the setting "db_file" if none was specified.
* java/File: add method ToAbsolutePath() returning AllocatedPathMax Kellermann2014-03-011-7/+1
|
* Android: obtain music directory from ↵Max Kellermann2014-03-011-1/+14
| | | | Environment.getExternalStoragePublicDirectory()
* fs/Charset: use "UTF-8" instead of "utf-8" as the default valueMax Kellermann2014-02-231-2/+2
| | | | The upper-case name seems to be the canonical one.
* fs/TextFile: use custom allocation instead of GStringMax Kellermann2014-02-172-24/+29
|
* fs/Charset: disable if GLib is disabledMax Kellermann2014-02-173-2/+31
|
* Mapper: move check_directory() to the filesystem libraryMax Kellermann2014-02-072-0/+96
|
* fs/Traits: add function Relative()Max Kellermann2014-02-074-23/+61
| | | | Move code from Path::RelativeFS() and make it generic.
* fs/AllocatedPath: add conversion constructor from PathMax Kellermann2014-01-301-0/+2
|
* fs/DirectoryReader: GetEntry() returns Path, not AllocatedPathMax Kellermann2014-01-301-3/+3
| | | | Reduce overhead, don't duplicate the string.
* fs/AllocatedPath: add Build() overlays with Path argumentsMax Kellermann2014-01-301-0/+10
|
* Config*: move to config/Max Kellermann2014-01-241-1/+1
|
* copyright year 2014Max Kellermann2014-01-1320-20/+20
|
* fs: implemented standard directories APIDenis Krjuchkov2013-12-082-0/+358
|
* TextFile: move to fs subsystemDenis Krjuchkov2013-12-082-0/+138
|
* fs/FileSystem.hxx: don't define CheckAccess() with mode on WindowsDenis Krjuchkov2013-12-051-8/+2
|
* fs/FileSystem.hxx: add CheckAccess without mode parameterDenis Krjuchkov2013-12-051-0/+14
|
* fs/Traits.cxx: don't return drive path without trailing separatorDenis Krjuchkov2013-12-051-0/+4
|
* fs/Traits.hxx: introduce PathTraitsXXX::IsDrive functionDenis Krjuchkov2013-12-051-2/+16
|
* fs/Charset.cxx: replace \ with / when converting path to UTF-8 on WindowsDenis Krjuchkov2013-12-051-3/+24
|
* fs/Traits.hxx: add shorter forms of PathTraitsXXX::Build()Denis Krjuchkov2013-12-051-0/+10
|
* fs/Traits.hxx: add PathTraitsUTF8::GetLength for consistencyDenis Krjuchkov2013-12-051-0/+5
|
* fs/AllocatedPath.cxx: don't use g_path_get_dirnameDenis Krjuchkov2013-12-051-1/+1
|
* fs/Traits: implement GetBase/GetParent/Build using templatesDenis Krjuchkov2013-12-052-22/+88
|
* fs/Traits.cxx: don't return empty string if parent dir is rootDenis Krjuchkov2013-12-051-3/+5
|
* fs/Traits.hxx: add FindLastSeparator function to PathTraitsXXXDenis Krjuchkov2013-12-051-0/+19
|
* fs/Traits: improve compatibility between PathTraitsFS and PathTraitsUTF8Denis Krjuchkov2013-12-052-9/+14
|
* fs/Traits.hxx: add gcc_nonnull_all where applicableDenis Krjuchkov2013-12-051-3/+3
|
* fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov2013-12-057-66/+71
|
* AllocatedPath.hxx: use move constructorDenis Krjuchkov2013-12-031-1/+1
|
* fs/AllocatedPath: use PathTraits::BuildFSDenis Krjuchkov2013-12-032-10/+14
|
* fs/Traits.hxx: implement BuildFS() methodDenis Krjuchkov2013-12-032-0/+35
|
* fs/Traits.hxx: move definition of AllocatedPath::string to PathTraitsDenis Krjuchkov2013-12-032-2/+2
|
* fs/Traits.hxx: add GetLengthFS()Denis Krjuchkov2013-12-031-0/+6
| | | | | There is no GetLengthUTF8() because strlen or std::string::size() could be used instead.
* fs/AllocatedPath.hxx: add FromFS(std::string) methodDenis Krjuchkov2013-12-031-0/+11
|
* fs/Traits.hxx: don't use g_path_is_absoluteDenis Krjuchkov2013-12-031-9/+7
|
* fs/Traits.hxx: simplify codeDenis Krjuchkov2013-12-031-7/+3
| | | | | - Move definition of SEPARATOR_UTF8 out of #ifdef - Remove duplicated check in IsSeparatorUTF8
* include cleanup using iwyuMax Kellermann2013-11-287-16/+0
|
* *: use nullptr instead of NULLMax Kellermann2013-10-282-7/+7
|
* GetBaseUTF8Max Kellermann2013-10-212-0/+62
|
* fs/AllocatedPath: don't include glib.hMax Kellermann2013-10-211-4/+0
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-177-174/+392
| | | | | | | The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object.
* fs/Path: move definitions to struct PathTraitsMax Kellermann2013-10-174-90/+129
|
* fs/Path: include clenaupMax Kellermann2013-10-171-1/+1
|
* fs/Charset: GetFSCharset() returns "utf-8" by defaultMax Kellermann2013-10-172-3/+3
| | | | | | If fs_charset is empty, i.e. we're using the default "utf-8", GetFSCharset() should return exactly that instead of an empty std::string.
* fs/Charset: default filesystem charset is UTF-8Max Kellermann2013-10-172-6/+7
| | | | | Implement a fast path for UTF-8 which leaves fs_charset empty, and don't assign a value to fs_charset if there's no configuration.
* fs/Charset: don't allow nullptr argumentsMax Kellermann2013-10-173-7/+8
|