52ce39dc3e
test/TestSongFilter: unit test for song filters
...
A few of those tests fail due to bugs.
2019-03-16 13:23:02 +01:00
7a3e15d8e5
test/meson.build: add section for filter tests
2019-03-16 13:23:02 +01:00
cf66a60c60
test/MakeTag: add noexcept
2019-03-16 13:23:02 +01:00
9b26d451e4
test/MakeTag: remove static
2019-03-16 13:23:02 +01:00
137ffba1b4
test/test_translate_song: move MakeTag() to header
2019-03-16 13:23:02 +01:00
1a0865da7a
test/run_filter: ensure that partial frames will not get passed to the filter
2019-03-14 14:26:53 +01:00
a6ecf6c992
test/run_filter: move the buffer into the loop
2019-03-14 13:57:37 +01:00
c176d94598
system/ByteOrder: move to util/
2019-03-08 10:21:10 +01:00
6c28adbcd2
db/Plugin: use std::unique_ptr<> to manage Database pointers
2019-02-20 20:43:31 +01:00
e9c45a9140
playlist/Registry: add RAII class
2019-02-05 23:03:29 +01:00
7a23c123c8
decoder/List: add RAII class
2019-02-05 22:12:22 +01:00
9e73ea77b4
input/Init: add RAII class
2019-02-05 22:07:49 +01:00
b0739eca87
test/ConfigGlue: merge duplicate code from various debug programs
2019-02-05 21:56:20 +01:00
c9ba4f3f9c
archive/List: add RAII class
2019-02-05 21:40:07 +01:00
48ec09ab1e
test/net/TestIPv4Address: make literal unsigned to work around -Wsign-compare
2019-01-21 14:39:24 +01:00
6a68e1c3f3
test/net/TestIPv6Address: work around failure on macOS
2019-01-21 12:13:52 +01:00
85f77ec81d
test/net/TestLocalSocketAddress: can't use strcmp() if the string isn't null-terminated.
2019-01-21 12:12:36 +01:00
2cc2bab309
test/net: new unit tests
2019-01-20 21:05:21 +01:00
ce49d99c2f
check.h: remove obsolete header
...
Since we switched from autotools to Meson in commit
94592c1406
, 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-11-19 16:33:49 +01:00
04f632296f
test/meson.build: run_storage depends on event lib
...
test/run_storage.cxx depends on EventThread/EventLoop from libevent.a.
Depend on it explicitly. This addresses build failure with
-Dtest=true -Dcurl=disabled -Ddbus=disabled
2018-11-15 19:01:43 +02:00
96ae0ec93a
remove some autotools remains
...
Closes #396
2018-11-02 18:55:49 +01:00
f5c9071494
*: copyright year 2018
2018-10-31 17:54:59 +01:00
bb5918932b
pcm/PcmUtils: rename to Clamp.hxx
2018-10-30 00:05:58 +01:00
c92f0a1336
test/PcmFormat: add Float/32 bit test
2018-10-29 23:06:40 +01:00
8463441afe
test/PcmFormat: rename FormatFloat to FormatFloat16
2018-10-29 23:06:37 +01:00
30e22b753b
tag/Chromaprint: OO wrapper for a ChromaprintContext
2018-10-24 10:52:45 +02:00
01b6e1cbf2
test: use GTest instead of cppunit
2018-10-16 21:26:04 +02:00
94592c1406
build with Meson instead of autotools
...
So long, autotools! This is my last MPD related project to migrate
away from it. It has its strengths, but also very obvious weaknesses
and weirdnesses. Today, many of its quirks are not needed anymore,
and are cumbersome and slow. Now welcome our new Meson overlords!
2018-10-14 23:41:38 +02:00
224400074c
player/CrossFade: use std::chrono::duration
2018-09-22 19:37:02 +02:00
90f4e97751
decoder/Client: use std::chrono::duration<double> instead of raw double
2018-09-21 20:42:34 +02:00
68f824a186
protocol/ArgParser: move struct RangeArg to separate header
2018-09-02 08:17:22 +02:00
4a1e885c0a
net/Resolver: replace with more advanced implementation
...
The new implementation is copied from another project and is
BSD-licensed. It is exception-safe and can parse IPv6 scope ids with
interface names.
2018-08-21 08:26:12 +02:00
ec54754e22
Compiler.h: move to util/
2018-08-20 16:19:17 +02:00
4accc1f159
test/run_neighbor_explorer: allocate ConfigData on the stack
2018-08-19 22:41:58 +02:00
80839b5372
test/run_input: allocate ConfigData in class GlobalInit
2018-08-19 22:41:08 +02:00
dafa3f985a
test/run_decoder: allocate ConfigData in class GlobalInit
2018-08-19 22:40:36 +02:00
f865e1393c
test/dump_rva2: remove obsolete fake function config_get_string()
2018-08-19 22:39:22 +02:00
c99416fbe0
test/dump_playlist: allocate ConfigData on the stack
2018-08-19 22:36:52 +02:00
3caef29b93
test/DumpDatabase: allocate ConfigData on the stack
2018-08-19 22:34:10 +02:00
027e562f65
song/OptimizeFilter: optimization stage for filters
2018-08-02 19:42:53 +02:00
90201e9970
DetachedSong, db/LightSong, SongFilter: move to src/song/
2018-08-02 13:51:18 +02:00
a174159496
test/ParseSongFilter: new debug program
2018-07-24 23:04:47 +02:00
32290d5eb8
fs/Path: add method ToUTF8Throw()
2018-07-18 16:51:29 +02:00
49efb6071c
config/Migrate: library to migrate deprecated settings
2018-07-18 10:25:02 +02:00
1b4181d983
test/DumpDatabase: use struct ConfigData
2018-07-17 23:41:37 +02:00
4f678aa244
neighbor/Glue: use struct ConfigData
2018-07-17 23:11:33 +02:00
24a86dce21
tag/Config: use struct ConfigData
2018-07-17 22:34:11 +02:00
f18695eb45
test/run_output: use struct ConfigData
2018-07-17 22:12:56 +02:00
d6b0ecac1b
test/run_filter: use struct ConfigData
2018-07-17 22:11:57 +02:00
61a119b607
playlist/Registry: use struct ConfigData
2018-07-17 22:10:32 +02:00