summaryrefslogtreecommitdiff
path: root/test/run_input.cxx
AgeCommit message (Collapse)Author
2019-02-05input/Init: add RAII classMax Kellermann
2019-02-05test/ConfigGlue: merge duplicate code from various debug programsMax Kellermann
2019-02-05archive/List: add RAII classMax Kellermann
2018-10-31*: copyright year 2018Max Kellermann
2018-08-19test/run_input: allocate ConfigData in class GlobalInitMax Kellermann
2018-07-17input/Init: use struct ConfigDataMax Kellermann
2018-07-17test/*: catch and print all exceptionsMax Kellermann
2018-07-16config/Config*: rename files, drop "Config" prefixMax Kellermann
2018-06-22input/Stream: remove attribute "cond", replace with handler interfaceMax Kellermann
This adds a bit of overhead, but also adds flexibility to the API, because arbitrary triggers may be invoked from that virtual method implementation, not just Cond::signal(). The motivation for this is to make the handlers more dynamic, for the upcoming buffering class utilizing ProxyInputStream.
2018-01-29test/run_input: move code from Scan() to input/ScanTags.cxxMax Kellermann
2018-01-26test/run_input: add frontend for InputPlugin::scan_tags()Max Kellermann
2018-01-24test/run_input: add option "--verbose"Max Kellermann
2018-01-17fs/Path: replace method Null() with nullptr_t constructorMax Kellermann
2018-01-17test/run_input: add option to load a configuration fileMax Kellermann
2018-01-17test/run_input: add command-line option parserMax Kellermann
2017-12-20input/InputStream: ReadTag() returns std::unique_ptr<Tag>Max Kellermann
2017-02-10test/*: use class EventThread instead of ScopeIOThreadMax Kellermann
2017-01-26input/Plugin: pass EventLoop& to init()Max Kellermann
Eliminate dependency on io_thread_get().
2017-01-03update copyright yearMax Kellermann
2017-01-03test/run_input, ...: RAII-style global initializationMax Kellermann
2017-01-03thread/Mutex: remove ScopeLock, use std::lock_guard directlyMax Kellermann
2016-09-16input/InputStream: migrate from class Error to C++ exceptionsMax Kellermann
2016-09-09input/Plugin: migrate open() from class Error to C++ exceptionsMax Kellermann
2016-09-09input/Plugin: migrate init() from class Error to C++ exceptionsMax Kellermann
2016-05-02test/{run_input,dump_text_file}: use class ScopeLockMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2016-02-21input: wrap InputStream in std::unique_ptrMax Kellermann
2015-08-15test/stdbin.h: remove obsolete headerMax Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-12-05configure.ac: require GLib 2.32 (if enabled)Max Kellermann
Since version 2.32, g_thread_init() is deprecated and a no-op. Let's upgrade that (optional) dependency so we can remove all those g_thread_init() calls.
2014-11-25test/run_input: make variables more localMax Kellermann
2014-10-07test/run_input, ...: add struct ScopeIOThreadMax Kellermann
Auto-stop the IO thread in all error handlers.
2014-08-07fs/output, fs/TextFile: move to fs/io/Max Kellermann
2014-07-30*Save, *State: use the OutputStream API instead of FILE*Max Kellermann
2014-05-11InputStream: add virtual destructorMax Kellermann
Replaces the method Close().
2014-05-11InputStream: convert to classMax Kellermann
2014-01-24Input*: move to input/Max Kellermann
2014-01-24Config*: move to config/Max Kellermann
2014-01-24archive/*: move to archive/plugins/Max Kellermann
2014-01-13copyright year 2014Max Kellermann
2013-12-29InputStream: add static method OpenReady()Max Kellermann
Merge some duplicate code.
2013-12-15test/*: use fprintf(stderr,...) and Log() instead of g_printerr()Max Kellermann
Avoid GLib.
2013-12-15configure.ac: add option "--disable-glib"Max Kellermann
Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core.
2013-10-23input_stream: rename struct to InputStreamMax Kellermann
2013-10-17thread/{Cond,Mutex}: use "class" instead of "typedef"Max Kellermann
Allows forward-declaration.
2013-10-02Log: new logging library APIMax Kellermann
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-05Tag, ...: move to libtag.aMax Kellermann
2013-09-05conf.h: remove obsolete headerMax Kellermann
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann
2013-09-04util/Error: new error passing libraryMax Kellermann
Replaces GLib's GError.