aboutsummaryrefslogtreecommitdiffstats
path: root/test (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-22InputStream: make Seek() always absoluteMax Kellermann1-3/+3
Remove the "whence" parameter that is not actually necessary, and only complicates the InputStream implementations.
2014-05-22DecoderAPI: add function decoder_open_uri()Max Kellermann3-5/+13
Move and refactor code from the Wavpack decoder plugin.
2014-05-22test/run_decoder: merge code into FakeDecoderAPI.cxxMax Kellermann3-137/+48
Eliminate duplicate code.
2014-05-22test/run_decoder: auto-initialize struct DecoderMax Kellermann1-2/+3
2014-05-22test/run_decoder: move the "uri" attribute out of struct DecoderMax Kellermann1-8/+4
2014-05-22test/run_decoder: move the DecoderPlugin pointer out of struct DecoderMax Kellermann1-8/+6
2014-05-21test/test_rewind: unit test for class RewindInputStreamMax Kellermann1-0/+164
2014-05-11InputStream: add virtual destructorMax Kellermann5-7/+6
Replaces the method Close().
2014-05-11InputStream: convert to classMax Kellermann1-2/+2
2014-03-16test/run_decoder: use InputStream::OpenReady() instead of InputStream::Open()Max Kellermann1-1/+1
2014-03-16test/{run_decoder,dump_playlist}: fix accidental search/replace hiccupsMax Kellermann2-2/+2
2014-03-16util/CircularBuffer: add method GetSpace()Max Kellermann1-0/+10
2014-03-16util/CircularBuffer: add method GetSize()Max Kellermann1-0/+10
2014-03-15util/CircularBuffer: rename GetSize() to GetCapacity()Max Kellermann1-0/+2
2014-03-15util/CircularBuffer: new buffer classMax Kellermann2-0/+143
2014-03-15test/test_pcm: replace 256 with prime numberMax Kellermann6-13/+13
Use some odd number that will expose problems with remaining samples after optimized vector operations.
2014-03-15test/test_pcm_format: add unit test for float clampingMax Kellermann1-0/+20
2014-03-15test/test_pcm_all: move CPPUNIT_TEST_SUITE_REGISTRATION() to test_pcm_main.cxxMax Kellermann2-12/+7
Run each unit test only once. Using CPPUNIT_TEST_SUITE_REGISTRATION from within the header meant that each unit class was registered again for each source file that includes the header.
2014-03-01util/{Const,Writable}Buffer: add operator[]Max Kellermann3-15/+15
2014-02-24UriUtil: support ftp:// URLs in uri_remove_auth()Max Kellermann1-0/+2
2014-02-21PlayerListener: new interface to replace GlobalEvents accessMax Kellermann1-3/+5
2014-02-20test/run_{filter,output}: use config_find_block()Max Kellermann2-34/+4
2014-02-19DatabasePlugin: split headerMax Kellermann1-0/+1
2014-02-19Mixer: add class MixerListenerMax Kellermann2-13/+4
Use a listener interface instead of GlobalEvents.
2014-02-18test: various fixups for building without GLibMax Kellermann7-4/+20
2014-02-08ArchivePlugin: pass Path to open()Max Kellermann1-1/+1
2014-02-08ArchivePlugin: rename struct archive_plugin to ArchivePluginMax Kellermann1-1/+1
2014-02-07storage/local: remove utf8 path from constructorMax Kellermann1-3/+4
Build the UTF-8 version of the path automatically in the constructor.
2014-02-07StoragePlugin: add method MapToRelativeUTF8()Max Kellermann1-16/+8
Replaces map_to_relative_path() from Mapper.cxx.
2014-02-07DecoderPlugin: pass Path instance to file_decode() and scan_file()Max Kellermann2-7/+9
2014-02-07Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann1-6/+16
Use Storage::MapUTF8() internally, don't use global variables.
2014-02-06mixer/Plugin: pass AudioOutput reference to init()Max Kellermann1-54/+2
Passing a void pointer is unsafe.
2014-02-05Mixer: use reference instead of pointer for MixerPluginMax Kellermann1-1/+1
2014-02-05MixerPlugin: add EventLoop& init() parameterMax Kellermann2-14/+7
2014-02-05event/Loop: remove the dummy constructor argumentMax Kellermann5-5/+5
2014-02-05test/ShutdownHandler: make the constructor "explicit"Max Kellermann1-1/+1
2014-02-04db/DatabaseListener: add method OnDatabaseSongRemoved()Max Kellermann1-0/+4
Decouples db/update/Remove.cpp from global variables.
2014-02-04Instance: add Database attributeMax Kellermann1-2/+9
Move from db/DatabaseGlue.cxx, eliminating global variable.
2014-02-04db/DatabasePlaylist: pass Database reference aroundMax Kellermann1-4/+6
Reduce global variable usage, move to frontend code.
2014-02-03SongLoader: new class that merges duplicate codeMax Kellermann1-10/+41
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
2014-01-29output: move functions into the AudioOutput structMax Kellermann1-1/+0
2014-01-28output: rename source filesMax Kellermann1-1/+1
2014-01-28output: rename struct audio_output to AudioOutputMax Kellermann1-4/+4
2014-01-28OutputAll: convert to class, move instance to class PartitionMax Kellermann1-3/+6
Another big chunk of code for multi-player support.
2014-01-27Playlist{Info,Vector}: move to db/Max Kellermann1-1/+1
2014-01-27IcyMetadataParser: more robust tag parserMax Kellermann1-0/+15
Allow semicolons and single quotes in the stream title. This is not part of any specification, but found in real life.
2014-01-27test/test_icy_parser: unit test for IcyMetaDataParser.cxxMax Kellermann1-0/+70
2014-01-26neighbor: new subsystem to detect file servers on the local networkMax Kellermann2-0/+86
This commit adds the NeighborPlugin API which can be used to detect nearby file servers that can be used by input plugins. This list of servers is exported using the new "listneighbors" command. The idle even "neighbor" notifies interested clients when a new neighbor is found or an existing one is lost. There's a lot missing currently: protocol&user documentation, and a way to "mount" remote servers into the music database. Obviously, some code from the UPnP database plugin can be moved to a neighbor plugin.
2014-01-24Mixer*: move to mixer/Max Kellermann2-3/+3
2014-01-24Filter*: move to filter/Max Kellermann3-5/+5