aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov1-1/+1
2013-11-28include cleanup using iwyuMax Kellermann3-5/+0
2013-11-24archive/iso9660: remove pointless formulaMax Kellermann1-2/+0
2013-11-24archive/iso9660: use reference instead of pointerMax Kellermann1-6/+6
2013-11-24archive/iso9660: convert structs to classesMax Kellermann1-18/+35
2013-11-23archive/iso9660: simplify _read()Max Kellermann1-14/+15
2013-11-23archive/iso9660: eliminate useless assignmentsMax Kellermann1-4/+2
2013-10-23input_stream: rename struct to InputStreamMax Kellermann3-28/+28
2013-10-23InputInternal: remove obsolete libraryMax Kellermann3-3/+0
2013-10-21GetBaseUTF8Max Kellermann1-8/+8
2013-10-21archive/bz2: remove unused function bz2_quark()Max Kellermann1-6/+0
2013-10-19*: use nullptr instead of NULLMax Kellermann3-9/+9
2013-10-17InputStream: use int64_t instead of goffsetMax Kellermann1-3/+3
Decouple some more from GLib.
2013-10-17input_plugin: rename struct to "InputPlugin"Max Kellermann3-6/+6
2013-10-15Client, ...: remove unnecessary glib.h includeMax Kellermann1-2/+0
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann1-5/+4
2013-09-04util/Error: new error passing libraryMax Kellermann3-50/+49
Replaces GLib's GError.
2013-01-30ArchivePlugin: move instance methods to class ArchiveFileMax Kellermann3-87/+59
2013-01-30archive/bzip2: create file only after stream has been openedMax Kellermann1-24/+19
Simplify error handling.
2013-01-30archive/zzip: fix memory leakMax Kellermann1-15/+12
2013-01-29ArchiveFile: convert to a classMax Kellermann3-38/+28
2013-01-29refcount: convert to C++Max Kellermann3-15/+12
2013-01-29ArchivePlugin: replace scan_reset(), scan_next() with visit()Max Kellermann3-87/+31
Add the interface ArchiveVisitor.
2013-01-29ArchivePlugin: scan_next() returns const stringMax Kellermann3-8/+8
2013-01-28InputStream: add constructor/destructorMax Kellermann3-12/+6
Eliminate input_stream_init() and input_stream_deinit().
2013-01-28input/iso9660: add constructor/destructorMax Kellermann1-58/+61
2013-01-28input/iso9660: rename the classesMax Kellermann1-18/+18
2013-01-28input/zzip: add constructor/destructorMax Kellermann1-22/+31
2013-01-28input/zzip: rename the classesMax Kellermann1-15/+14
2013-01-28input/bzip2: add constructor/destructorMax Kellermann1-37/+39
2013-01-28archive/bzip2: rename the classesMax Kellermann1-16/+16
2013-01-28DatabaseLock, input/bzip2: remove obsolete Glib/gcc workaroundMax Kellermann1-5/+0
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann3-7/+6
2013-01-26input_stream: forward-declare the structMax Kellermann3-0/+3
Hide the definition from C code, to prepare the transition to C++.
2013-01-25input_{internal,plugin}: convert to C++Max Kellermann3-6/+6
2013-01-24archive/*: convert to C++Max Kellermann6-91/+136
2012-04-04db_lock, archive/bz2, ...: workaround for G_STATIC_MUTEX_INIT warningMax Kellermann1-0/+5
2011-09-16input_stream: non-blocking I/OMax Kellermann3-8/+20
Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins.
2011-09-14input_stream: move input_stream_init(), _deinit() to _internal.cMax Kellermann3-0/+3
2011-01-29copyright year 2011Max Kellermann6-6/+6
2010-01-18input_stream: added attribute "uri"Max Kellermann3-5/+4
2010-01-18input_stream: added function input_stream_deinit()Max Kellermann3-0/+6
All close() implementations must call this method.
2010-01-01input_stream: return allocated input_stream objectsMax Kellermann3-47/+44
Major API redesign: don't let the caller allocate the input_stream object. Let each input plugin allocate its own (derived/extended) input_stream pointer. The "data" attribute can now be removed, and all input plugins simply cast the input_stream pointer to their own structure (with an "struct input_stream base" as the first attribute).
2009-12-31Update copyright notices.Avuton Olrich6-6/+6
2009-12-31archive: use reference counting for archive+inputMax Kellermann3-1/+31
Make the input_stream implementation hold a reference on the archive_file object. Allow the caller to "close" the archive_file object immediately, no matter if the open_stream() method has succeeded or not.
2009-12-31input/archive: don't initialize input_stream.readyMax Kellermann3-0/+3
The archive plugin should decide this.
2009-12-31archive/bz2: allocate buffer staticallyMax Kellermann1-7/+3
Reduce the number of malloc()/free() calls.
2009-12-31archive/bz2: added struct bz2_input_streamMax Kellermann1-21/+32
Don't use the bz2_archive_file object for the input_stream.
2009-12-31archive/iso9660: added struct iso9660_input_streamMax Kellermann1-20/+32
Don't use the iso9660_archive_file object for the input_stream.
2009-12-31archive/iso9660: set input_stream.{size,offset}Max Kellermann1-8/+8