summaryrefslogtreecommitdiff
path: root/src/archive
AgeCommit message (Collapse)Author
2017-12-27archive/Plugin: return std::unique_ptr<ArchiveFile>Max Kellermann
2017-12-26archive/File, input/Plugin: return InputStreamPtrMax Kellermann
2017-12-26archive/zzip: convert struct to classMax Kellermann
2017-12-22archive/File: eliminate Close(), make destructor virtual insteadMax Kellermann
2017-12-22archive/iso9660: use std::shared_ptr instead of class RefCountMax Kellermann
2017-12-22archive/zzip: use std::shared_ptr instead of class RefCountMax Kellermann
2017-12-22archive/bz2: use std::shared_ptr instead of class RefCountMax Kellermann
2017-12-22archive/File: remove unused attribute "plugin"Max Kellermann
2017-12-22archive/{iso9660,zzip}: unlock the mutex during I/OMax Kellermann
Similar to commit 31ab78ae8e10af948ec95496df0d2abf1ea631a4
2017-12-22archive/bz2: unlock the archive mutex and lock the file mutexMax Kellermann
Fixes deadlock because FileInputStream::Read() unlocks the mutex (which was not locked) and then locks it, keeping it locked. This can result in a deadlock. This happens because the archive and the file mutex are different.
2017-05-08*: add "noexcept" to many, many function prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-01-03update copyright yearMax Kellermann
2016-09-16input/InputStream: migrate from class Error to C++ exceptionsMax Kellermann
2016-09-09archive/Plugin: migrate open() from class Error to C++ exceptionsMax Kellermann
2016-09-09input/Plugin: migrate open() from class Error to C++ exceptionsMax Kellermann
2016-06-10util/StringUtil: use CamelCaseMax Kellermann
2016-03-07Merge branch 'v0.19.x'Max Kellermann
2016-03-07archive/iso9660: check path buffer boundsMax Kellermann
2016-03-07archive/iso9660: use a single path buffer for Visit()Max Kellermann
Avoid wasting 4 kB stack per directory level.
2016-03-07archive/iso9660: move the "." and ".." checks upMax Kellermann
2016-03-07archive/iso9660: add local variable "filename"Max Kellermann
2016-03-07archive/iso9660: make variables more localMax Kellermann
2016-03-01*: include cleanup (using iwyu)Max Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2016-02-21archive/bzip2: remove HAVE_OLDER_BZIP2 checkMax Kellermann
The check was added in commit 98fd9b7d, but there was never a definition.
2016-02-21archive/bzip2: convert struct to classMax Kellermann
2016-02-21archive/bzip2: move bz2_fillbuffer into struct Bzip2InputStreamMax Kellermann
2016-02-21archive/bzip2: use C++11 initializerMax Kellermann
2016-02-21input: wrap InputStream in std::unique_ptrMax Kellermann
2015-03-03*: change C-style prototypes, drop "(void)"Max Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-12-22configure.ac: remove redundant declaration "HAVE_ISO9660"Max Kellermann
2014-12-09configure.ac: add macro MPD_ENABLE_AUTO_LIBMax Kellermann
2014-12-02fs/Path: add methods GetBase() and GetDirectoryName()Max Kellermann
2014-11-26Merge tag 'v0.19.5'Max Kellermann
2014-11-26Merge tag 'v0.18.19' into v0.19.xMax Kellermann
2014-11-24archive/zzip: fix inverted error handlerMax Kellermann
Set the Error when zzip_seek()==-1 and not on success. Fixes a crash after seeking.
2014-11-21configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann
Simplify the definition of many build options.
2014-10-02archive/bzip2: use OpenLocalInputStream()Max Kellermann
2014-08-19InputPlugin: remove typedef offset_typeMax Kellermann
Has been moved to class InputStream long ago.
2014-05-22InputStream: make Seek() always absoluteMax Kellermann
Remove the "whence" parameter that is not actually necessary, and only complicates the InputStream implementations.
2014-05-11InputStream: remove attribute "plugin"Max Kellermann
2014-05-11InputStream: make various methods abstractMax Kellermann
Replace InputPlugin attributes.
2014-05-11InputStream: add virtual destructorMax Kellermann
Replaces the method Close().
2014-05-11input/plugins: make InputStream the base classMax Kellermann
Prepare for adding virtual methods.
2014-05-11InputStream: convert to classMax Kellermann
2014-02-08ArchivePlugin: pass Path to open()Max Kellermann
2014-02-08ArchivePlugin: rename struct archive_plugin to ArchivePluginMax Kellermann
2014-01-24Input*: move to input/Max Kellermann
2014-01-24archive/*: move to archive/plugins/Max Kellermann