summaryrefslogtreecommitdiff
path: root/src/TagFile.cxx
AgeCommit message (Collapse)Author
2021-01-01copyright year 2021Max Kellermann
2020-03-12replace assert.h with cassertRosen Penev
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-18copyright year 2020Max Kellermann
2019-07-05include cleanups (powered by iwyu)Max Kellermann
2019-06-17Copyright year 2019Max Kellermann
2019-05-22TagFile: allow ScanFileTags*() to throwMax Kellermann
2018-11-19check.h: remove obsolete headerMax Kellermann
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
2018-10-31*: copyright year 2018Max Kellermann
2018-07-06tag/Handler: implement FullTagHandler::OnAudioFormat()Max Kellermann
2018-07-06TagFile: rename exported functions, use CamelCaseMax Kellermann
And specify whether generic tags are being scanned.
2018-07-05tag/Handler: convert to class with virtual methodsMax 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-21TagFile: add "noexcept"Max Kellermann
2017-12-19Main, ...: catch any exception, not just std::runtime_errorMax Kellermann
2017-11-10util/{Const,Writable}Buffer, ...: rename IsEmpty() to empty(), imitating STLMax Kellermann
2017-02-08tag/Tag*: rename several source filesMax Kellermann
2017-01-03update copyright yearMax Kellermann
2016-11-07SongLoader, ...: include cleanupMax 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-03-01*: include cleanup (using iwyu)Max Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2016-02-26TagFile: add TagBuilder overload with ScanGenericTags() fallbackMax Kellermann
2016-02-22tag/handler: use CamelCaseMax Kellermann
2016-02-21input: wrap InputStream in std::unique_ptrMax Kellermann
2015-03-05TagFile: convert suffix to UTF-8Max Kellermann
2015-03-01fs/Path: add method GetSuffix()Max Kellermann
Type-safe wrapper for uri_get_suffix().
2015-01-01Copyright year 2015Max Kellermann
2014-10-02TagFile: use OpenLocalInputStream()Max Kellermann
2014-05-11InputStream: add virtual destructorMax Kellermann
Replaces the method Close().
2014-02-07DecoderPlugin: pass Path instance to file_decode() and scan_file()Max Kellermann
2014-01-24Input*: move to input/Max Kellermann
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann
2014-01-13copyright year 2014Max Kellermann
2013-12-29InputStream: add static method OpenReady()Max Kellermann
Merge some duplicate code.
2013-12-29TagFile: rewind the stream before trying the next pluginMax Kellermann
Got lost in commit c97685fe
2013-12-29TagFile: pass reference instead of pointerMax Kellermann
2013-12-29TagFile: use decoder_plugins_try()Max Kellermann
.. instead of decoder_plugin_from_suffix(). This reduces overhead by walking the array only once.
2013-10-26TagFile: use Path instead of const char *Max Kellermann
2013-10-23input_stream: rename struct to InputStreamMax Kellermann
2013-10-23InputStream: add method Rewind()Max Kellermann
2013-10-21DecoderPlugin: move functions into the structMax Kellermann
2013-10-21TagFile: use IgnoreError()Max Kellermann
2013-10-21decoder_plugin: rename struct to DecoderPluginMax Kellermann
2013-10-19*: use references instead of pointersMax Kellermann
2013-10-19*: use nullptr instead of NULLMax Kellermann
2013-10-17thread/{Cond,Mutex}: use "class" instead of "typedef"Max Kellermann
Allows forward-declaration.
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann
2013-09-04util/Error: new error passing libraryMax Kellermann
Replaces GLib's GError.
2013-09-03input_stream.h: rename to InputLegacy.hxxMax Kellermann