aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/Container.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-31db/update/Editor: add locking method variantsMax Kellermann1-3/+1
2014-01-30db/update: convert to OO APIMax Kellermann1-21/+12
Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.
2014-01-24Database*: move to db/Max Kellermann1-3/+3
2014-01-24Update*: move to update/Max Kellermann1-0/+0
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann1-2/+2
2014-01-19Song: make the "parent" attribute mandatoryMax Kellermann1-1/+1
The Song class is only used for database songs now. A Song without a Directory is not possible anymore.
2014-01-19Song: embed the Tag object statically into class SongMax Kellermann1-4/+1
Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-08tag/TagBuilder: rename Commit() to CommitNew()Max Kellermann1-1/+1
2013-12-29UpdateContainer: pass suffix instead of DecoderPluginMax Kellermann1-2/+14
Instead of using the first DecoderPlugin that supports the suffix, use the first one that actually implements the "container_scan" method.
2013-11-04Log: add level "DEFAULT"Max Kellermann1-2/+2
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure".
2013-10-21DecoderPlugin: move functions into the structMax Kellermann1-2/+2
2013-10-21decoder_plugin: rename struct to DecoderPluginMax Kellermann1-1/+1
2013-10-19*: use references instead of pointersMax Kellermann1-9/+9
2013-10-19*: use nullptr instead of NULLMax Kellermann1-6/+6
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann1-3/+3
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.
2013-10-02Log: new logging library APIMax Kellermann1-1/+4
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-26TagHandler: use a TagBuilder internallyMax Kellermann1-3/+8
Reduce heap allocator overhead.
2013-09-05Tag, ...: move to libtag.aMax Kellermann1-2/+2
2013-07-30tag: convert to C++Max Kellermann1-2/+2
2013-07-30tag: move enum tag_type to TagType.hMax Kellermann1-0/+1
2013-07-29tag_handler: convert to C++Max Kellermann1-4/+1
2013-07-28song: convert header to C++Max Kellermann1-2/+2
2013-07-28decoder_api: convert to C++Max Kellermann1-1/+1
2013-01-30UpdateContainer: remove duplicate unlock callMax Kellermann1-1/+0
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov1-1/+1
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann1-7/+6
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-1/+0
2013-01-03Directory: rename struct directory to DirectoryMax Kellermann1-6/+5
2013-01-02Directory: turn functions to methodsMax Kellermann1-5/+4
2013-01-02Directory: make the header C++ onlyMax Kellermann1-1/+1
2013-01-02mapper: convert to C++Max Kellermann1-1/+1
2013-01-02db_lock: convert to C++Max Kellermann1-1/+1
2013-01-02update: convert to C++Max Kellermann1-5/+8
2012-07-10require GLib 2.16Max Kellermann1-1/+0
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it.
2012-06-13update_walk: move code to update_container.cMax Kellermann1-0/+124