Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | fs/io/Reader: new interface | Max Kellermann | 2014-08-07 | 3 | -0/+216 | |
| | | ||||||
* | | fs/output, fs/TextFile: move to fs/io/ | Max Kellermann | 2014-08-07 | 11 | -1/+1 | |
| | | ||||||
* | | fs/output/FileOutputStream: use open_cloexec() | Max Kellermann | 2014-08-07 | 1 | -3/+4 | |
| | | | | | | | | Support operating systems that don't have O_CLOEXEC. | |||||
* | | util/StringUtil: add StripRight() overload with "end" argument | Max Kellermann | 2014-08-07 | 1 | -4/+1 | |
| | | ||||||
* | | util/StringUtil: rename strchug_fast() to StripLeft() | Max Kellermann | 2014-08-07 | 1 | -3/+3 | |
| | | ||||||
* | | fs/StandardDirectory: pass writable string to ParseConfigLine() | Max Kellermann | 2014-08-07 | 1 | -8/+10 | |
| | | | | | | | | Eliminate the std::string overhead. | |||||
* | | fs/GzipOutputStream: new class wrapping zlib | Max Kellermann | 2014-08-06 | 2 | -0/+177 | |
| | | ||||||
* | | fs/OutputStream: new infrastructure for writing to files | Max Kellermann | 2014-07-30 | 6 | -0/+499 | |
| | | ||||||
* | | fs/StandardDirectory: look for cache dir in environment, not user-dirs | Mantas Mikulėnas | 2014-07-11 | 1 | -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 Kellermann | 2014-03-01 | 2 | -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 AllocatedPath | Max Kellermann | 2014-03-01 | 1 | -7/+1 | |
| | | ||||||
* | | Android: obtain music directory from ↵ | Max Kellermann | 2014-03-01 | 1 | -1/+14 | |
| | | | | | | | | Environment.getExternalStoragePublicDirectory() | |||||
* | | fs/Charset: use "UTF-8" instead of "utf-8" as the default value | Max Kellermann | 2014-02-23 | 1 | -2/+2 | |
| | | | | | | | | The upper-case name seems to be the canonical one. | |||||
* | | fs/TextFile: use custom allocation instead of GString | Max Kellermann | 2014-02-17 | 2 | -24/+29 | |
| | | ||||||
* | | fs/Charset: disable if GLib is disabled | Max Kellermann | 2014-02-17 | 3 | -2/+31 | |
| | | ||||||
* | | Mapper: move check_directory() to the filesystem library | Max Kellermann | 2014-02-07 | 2 | -0/+96 | |
| | | ||||||
* | | fs/Traits: add function Relative() | Max Kellermann | 2014-02-07 | 4 | -23/+61 | |
| | | | | | | | | Move code from Path::RelativeFS() and make it generic. | |||||
* | | fs/AllocatedPath: add conversion constructor from Path | Max Kellermann | 2014-01-30 | 1 | -0/+2 | |
| | | ||||||
* | | fs/DirectoryReader: GetEntry() returns Path, not AllocatedPath | Max Kellermann | 2014-01-30 | 1 | -3/+3 | |
| | | | | | | | | Reduce overhead, don't duplicate the string. | |||||
* | | fs/AllocatedPath: add Build() overlays with Path arguments | Max Kellermann | 2014-01-30 | 1 | -0/+10 | |
| | | ||||||
* | | Config*: move to config/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 | |
| | | ||||||
* | | copyright year 2014 | Max Kellermann | 2014-01-13 | 20 | -20/+20 | |
| | | ||||||
* | | fs: implemented standard directories API | Denis Krjuchkov | 2013-12-08 | 2 | -0/+358 | |
| | | ||||||
* | | TextFile: move to fs subsystem | Denis Krjuchkov | 2013-12-08 | 2 | -0/+138 | |
| | | ||||||
* | | fs/FileSystem.hxx: don't define CheckAccess() with mode on Windows | Denis Krjuchkov | 2013-12-05 | 1 | -8/+2 | |
| | | ||||||
* | | fs/FileSystem.hxx: add CheckAccess without mode parameter | Denis Krjuchkov | 2013-12-05 | 1 | -0/+14 | |
| | | ||||||
* | | fs/Traits.cxx: don't return drive path without trailing separator | Denis Krjuchkov | 2013-12-05 | 1 | -0/+4 | |
| | | ||||||
* | | fs/Traits.hxx: introduce PathTraitsXXX::IsDrive function | Denis Krjuchkov | 2013-12-05 | 1 | -2/+16 | |
| | | ||||||
* | | fs/Charset.cxx: replace \ with / when converting path to UTF-8 on Windows | Denis Krjuchkov | 2013-12-05 | 1 | -3/+24 | |
| | | ||||||
* | | fs/Traits.hxx: add shorter forms of PathTraitsXXX::Build() | Denis Krjuchkov | 2013-12-05 | 1 | -0/+10 | |
| | | ||||||
* | | fs/Traits.hxx: add PathTraitsUTF8::GetLength for consistency | Denis Krjuchkov | 2013-12-05 | 1 | -0/+5 | |
| | | ||||||
* | | fs/AllocatedPath.cxx: don't use g_path_get_dirname | Denis Krjuchkov | 2013-12-05 | 1 | -1/+1 | |
| | | ||||||
* | | fs/Traits: implement GetBase/GetParent/Build using templates | Denis Krjuchkov | 2013-12-05 | 2 | -22/+88 | |
| | | ||||||
* | | fs/Traits.cxx: don't return empty string if parent dir is root | Denis Krjuchkov | 2013-12-05 | 1 | -3/+5 | |
| | | ||||||
* | | fs/Traits.hxx: add FindLastSeparator function to PathTraitsXXX | Denis Krjuchkov | 2013-12-05 | 1 | -0/+19 | |
| | | ||||||
* | | fs/Traits: improve compatibility between PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 2013-12-05 | 2 | -9/+14 | |
| | | ||||||
* | | fs/Traits.hxx: add gcc_nonnull_all where applicable | Denis Krjuchkov | 2013-12-05 | 1 | -3/+3 | |
| | | ||||||
* | | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 2013-12-05 | 7 | -66/+71 | |
| | | ||||||
* | | AllocatedPath.hxx: use move constructor | Denis Krjuchkov | 2013-12-03 | 1 | -1/+1 | |
| | | ||||||
* | | fs/AllocatedPath: use PathTraits::BuildFS | Denis Krjuchkov | 2013-12-03 | 2 | -10/+14 | |
| | | ||||||
* | | fs/Traits.hxx: implement BuildFS() method | Denis Krjuchkov | 2013-12-03 | 2 | -0/+35 | |
| | | ||||||
* | | fs/Traits.hxx: move definition of AllocatedPath::string to PathTraits | Denis Krjuchkov | 2013-12-03 | 2 | -2/+2 | |
| | | ||||||
* | | fs/Traits.hxx: add GetLengthFS() | Denis Krjuchkov | 2013-12-03 | 1 | -0/+6 | |
| | | | | | | | | | | There is no GetLengthUTF8() because strlen or std::string::size() could be used instead. | |||||
* | | fs/AllocatedPath.hxx: add FromFS(std::string) method | Denis Krjuchkov | 2013-12-03 | 1 | -0/+11 | |
| | | ||||||
* | | fs/Traits.hxx: don't use g_path_is_absolute | Denis Krjuchkov | 2013-12-03 | 1 | -9/+7 | |
| | | ||||||
* | | fs/Traits.hxx: simplify code | Denis Krjuchkov | 2013-12-03 | 1 | -7/+3 | |
| | | | | | | | | | | - Move definition of SEPARATOR_UTF8 out of #ifdef - Remove duplicated check in IsSeparatorUTF8 | |||||
* | | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 7 | -16/+0 | |
|/ | ||||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-28 | 2 | -7/+7 | |
| | ||||||
* | GetBaseUTF8 | Max Kellermann | 2013-10-21 | 2 | -0/+62 | |
| | ||||||
* | fs/AllocatedPath: don't include glib.h | Max Kellermann | 2013-10-21 | 1 | -4/+0 | |
| |