aboutsummaryrefslogtreecommitdiffstats
path: root/test (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2013-12-05test/run_encoder: destruct the Encoder before exitingMax Kellermann1-0/+3
2013-12-04system/Resolver: sockaddr_to_string() returns std::string()Max Kellermann1-10/+2
No GLib memory allocation.
2013-12-03Tag: remove method AddItem()Max Kellermann1-2/+8
Use class TagBuilder instead.
2013-12-02pcm/PcmChannels: use struct ConstBufferMax Kellermann1-28/+21
2013-11-13PcmConvert: add methods Open(), Close()Max Kellermann1-2/+10
Replaces Reset() and eliminates the AudioFormat parameters from the Convert() method.
2013-11-11filter/route, ...: add missing stdlib.h includesMax Kellermann1-0/+1
2013-11-05test/*: add more missing stdlib.h includesMax Kellermann4-0/+5
2013-11-04test/test_mixramp: add threshold to floating point comparisonsMax Kellermann1-6/+9
Fixes bogus test failures on Debian build machines due to rounding errors (hopefully).
2013-10-30CrossFade: use negative value for invalid MixRamp overlapMax Kellermann1-1/+1
Avoid NaN to allow -ffast-math.
2013-10-30test/test_mixramp: improved test for mixramp_interpolate(0)Max Kellermann1-5/+3