aboutsummaryrefslogtreecommitdiffstats
path: root/test (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2014-01-24Database*: move to db/Max Kellermann3-8/+8
2014-01-24Input*: move to input/Max Kellermann8-16/+16
2014-01-24Update*: move to update/Max Kellermann1-1/+1
2014-01-24Config*: move to config/Max Kellermann13-17/+17
2014-01-24Queue*: move to queue/Max Kellermann1-1/+1
2014-01-24Zeroconf*: move to zeroconf/Max Kellermann1-1/+1
2014-01-24archive/*: move to archive/plugins/Max Kellermann4-7/+7
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann4-6/+6
2014-01-23output/*: move to output/plugins/Max Kellermann2-5/+5
2014-01-23playlist/*: move to playlist/plugins/Max Kellermann2-4/+4
2014-01-23Encoder*: move to src/encoderMax Kellermann2-4/+4
.. and move the plugins to src/encoder/plugins/.
2014-01-22LightDirectory: new struct replacing Directory in the DB APIMax Kellermann1-5/+6
2014-01-21PlaylistSong: modify the given song object in-placeMax Kellermann1-48/+31
Reduce bloat.
2014-01-21test: add unit test for playlist_check_translate_song()Max Kellermann1-0/+290
2014-01-20Queue: rename struct queue to QueueMax Kellermann1-2/+2
Works around a build failure on Solaris because annoyingly, Solaris reserves the name "queue". This rename was pending anyway.
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann2-37/+4
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-13copyright year 2014Max Kellermann36-36/+36
2014-01-11DatabasePlugin: add interface DatabaseListenerMax Kellermann1-1/+14
Allow database plugins to announce that they have been modified.
2014-01-09UPnP database pluginJean-Francois Dockes1-0/+9
[mk: renamed source files, applied coding style, reduced bloat, using MPD's threading library, using MPD's error reporting and logging library and refactoring, fixed lots of bugs]
2014-01-09DetachedSong: fork of struct SongMax Kellermann3-38/+42
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
2014-01-09test/DumpDatabase: fix nullptr dereferenceMax Kellermann1-1/+1
2014-01-07test: add missing includesMax Kellermann8-0/+11
2014-01-06pcm/Format: change parameters/return values to ConstBufferMax Kellermann2-35/+31
2013-12-29InputStream: add static method OpenReady()Max Kellermann4-47/+6
Merge some duplicate code.
2013-12-29util/UriUtil: uri_get_suffix() fails if name begins with dotMax Kellermann1-0/+4
A file called ".jpg" is not a JPEG file with an empty name; it is merely a hidden file.
2013-12-28pcm/PcmMix: improved ditheringMax Kellermann1-6/+10
Use the existing PcmDither library.
2013-12-28pcm/Volume: improved ditheringMax Kellermann1-2/+3
Instead of just adding a rectangular random value before shifting back to the normal scale, use the existing PcmDither library.
2013-12-28pcm/PcmDither: inline Dither24To16() and Dither32To16()Max Kellermann1-1/+1
2013-12-24test/*: use fprintf(stderr,...) and Log() instead of g_printerr()Max Kellermann11-110/+101
Avoid GLib.
2013-12-24test/*: remove GLib logging setupMax Kellermann5-60/+0
Obsolete, our logging library doesn't ues GLib anymore.
2013-12-23pcm/Volume: convert to classMax Kellermann3-140/+74
Prepare for adding state.
2013-12-23pcm/PcmVolume: rename to Volume.cxxMax Kellermann4-4/+4
2013-12-15test/*: use fprintf(stderr,...) and Log() instead of g_printerr()Max Kellermann6-119/+63
Avoid GLib.
2013-12-15configure.ac: add option "--disable-glib"Max Kellermann2-0/+8
Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core.
2013-12-14DecoderAPI: add function decoder_read_full()Max Kellermann2-0/+36
Move code from the "mad" plugin.
2013-12-14DecoderAPI: add function decoder_skip()Max Kellermann2-0/+32
Move code from the "mad" plugin.
2013-12-14test: merge duplicate code to FakeDecoderAPI.cxxMax Kellermann3-157/+111