Max Kellermann
f2c926f3b6
zeroconf/glue: add fallback value for HOST_NAME_MAX
...
`HOST_NAME_MAX` is not a portable macro; it is undefined on some
systems.
Closes #402
2018-11-04 11:12:03 +01:00
Max Kellermann
aba18924ee
win32/build.py: link libstdc++ and libcc statically
...
Fixes #404
2018-11-04 11:10:00 +01:00
Max Kellermann
aa6bef54dd
python/build/zlib.py: build zlib as a static library
...
Fixes one part of #404
2018-11-04 11:10:00 +01:00
Max Kellermann
528f5b9cb9
song/Filter: allow escaping quotes in filter expressions
...
Closes #397
2018-11-02 19:15:08 +01:00
Max Kellermann
96ae0ec93a
remove some autotools remains
...
Closes #396
2018-11-02 18:55:49 +01:00
Max Kellermann
5a5229b499
net/IPv[46]Address: make the initializers more portable
...
Thanks to C++14, we can declare and fill variables inside `constexpr`
functions. This means me can stop make assumptions on the `struct`
layouts without losing `constexpr`.
Closes #393
2018-11-02 17:47:43 +01:00
Max Kellermann
bba22c9c8c
system/FileDescriptor: check __linux__
instead of __linux
...
`__linux` is the deprecated non-standard macros which appears to be
not present at all on PowerPC.
Closes #398
2018-11-02 16:50:38 +01:00
Max Kellermann
694c437a2c
NEWS: mention the FFmpeg build fix
2018-11-02 16:50:35 +01:00
Max Kellermann
587172efa3
Merge branch 'patch-1' of git://github.com/joerg-krause/MPD
2018-11-01 19:17:10 +01:00
Max Kellermann
2a926063b2
src/lib/ffmpeg/meson.build: copy dependencies into ffmpeg_dep
...
Apparently, Meson propagates the linker flags but not the compiler
flags from a `static_library`'s dependencies list.
Closes #392
2018-11-01 19:14:00 +01:00
Jörg Krause
d6f239e54f
meson: fix typo in options plugins comment
2018-11-01 19:06:54 +01:00
Max Kellermann
b8989fafeb
increment version number to 0.21.1
2018-11-01 17:23:47 +01:00
Max Kellermann
795789e79d
release v0.21
2018-10-31 19:39:53 +01:00
Max Kellermann
cd8bc57c0d
android/AndroidManifest.xml: increment version to 0.21
2018-10-31 19:39:41 +01:00
Max Kellermann
55b355618d
android/apk/make-unsigned-apk.sh: pass -X to zip to avoid storing uids
2018-10-31 19:34:14 +01:00
Max Kellermann
ba25a5388e
meson.build: use -funwind-tables only with clang
2018-10-31 19:30:01 +01:00
Max Kellermann
657ef48518
zeroconf/glue: use strstr() and std::string::replace() instead of std::regex_replace()
...
std::regex_replace() is heavily bloated and overkill for this feature.
2018-10-31 19:26:37 +01:00
Max Kellermann
b1d68fe995
NEWS: mention the zeroconf_name %h substitution
2018-10-31 19:26:17 +01:00
Max Kellermann
8a492c8f39
Merge branch 'bug516974' of git://github.com/fschlich/MPD
2018-10-31 19:20:41 +01:00
Max Kellermann
901a48c9a4
command/sticker: return ACK_ERROR_NO_EXIST for "no such sticker"
...
Closes #389
2018-10-31 19:19:07 +01:00
Max Kellermann
b0994bad31
AUTHORS: add 0.21 contributors
2018-10-31 17:59:54 +01:00
Max Kellermann
f5c9071494
*: copyright year 2018
2018-10-31 17:54:59 +01:00
Florian Schlichting
d1f85240a2
include hostname in zeroconf_name ( fixes #387 )
...
expand %h to the system hostname and default to a zeroconf string that
contains %h
2018-10-31 17:54:45 +01:00
Max Kellermann
2148d4bb31
fs/io/FileOutputStream: fix -Wcomment
2018-10-31 17:18:44 +01:00
Max Kellermann
e79d06d595
fs/io/FileOutputStream: don't use O_TMPFILE on Android
...
Fixes writing to Context.getCacheDir().
2018-10-31 17:12:21 +01:00
Max Kellermann
c60cf944f5
fs/io/FileOutputStream: add macro HAVE_O_TMPFILE
2018-10-31 17:10:52 +01:00
Max Kellermann
4b8ee58638
doc/user.rst: more markup
2018-10-31 15:34:33 +01:00
Max Kellermann
9305730993
doc/user.rst: use arm64 instead of armv7 in the example
...
All new hardware is arm64 anyway.
2018-10-31 15:26:24 +01:00
Max Kellermann
16bc97e9e5
doc/user.rst: add warning about outdated Debian packages
2018-10-31 15:22:35 +01:00
Max Kellermann
482c18982e
doc/user.rst: use "apt" instead of the old "apt-get"
2018-10-31 15:17:22 +01:00
Max Kellermann
06ca08ce55
output/roar: remove
...
Bugs in libroar which broke the MPD build have been annoying me for
quite some time, and the newest bug has now hit my main build machine:
https://github.com/MusicPlayerDaemon/MPD/issues/377
Problem is the usage of the typedef `_IO_off64_t` in libroar's
`vio_stdio.h`:
int roar_vio_to_stdio_lseek (void *__cookie, _IO_off64_t *__pos, int __w);
This `_IO_off64_t` is an internal implementation detail of glibc and
was removed in version 2.28. Nobody must ever use it. Why the ****
did the RoarAudio developers use it? Not using internal typedefs
isn't exactly rocket science.
This annoys me enough to finally remove the plugin. Anyway, I've
never heard of anybody using RoarAudio, so my best guess is that
nobody will notice.
2018-10-31 15:03:28 +01:00
Max Kellermann
9fc00a817b
Listen: use fs/XDG.hxx
...
This keeps one central place for the XDG switch. Specifically, this
disables the XDG listener on Apple, where XDG is not supported.
2018-10-31 14:30:34 +01:00
Max Kellermann
f47696f5f8
fs/StandardDirectory: move USE_XDG to XDG.hxx
2018-10-31 13:39:20 +01:00
Max Kellermann
190006e9dc
doc/plugins.rst: add missing :file:
2018-10-31 13:25:44 +01:00
Max Kellermann
30eaae10c1
doc/developer.rst: remove :option: markup
2018-10-31 13:24:52 +01:00
Max Kellermann
b878111404
doc/user.rst: more markup
2018-10-31 13:22:25 +01:00
Florian Schlichting
db21d7de0b
fix compilation errors on Debian GNU/Hurd
...
Apparently on hurd-i386 __GLIBC__ is defined, but the pthread
implementation is special and cannot be used with constexpr. Hence
exclude __gnu_hurd__.
2018-10-31 12:24:34 +01:00
Max Kellermann
8454083efa
doc/protocol.rst: "oneshot" was added to 0.21, not 0.20
2018-10-31 12:00:01 +01:00
Cotko
a0e5729117
doc/protocol.rst: footnote for oneshot arg
2018-10-31 03:16:05 +01:00
Cotko
534853cd32
doc/protocol.rst: add oneshot to the single command arguments
2018-10-31 03:12:35 +01:00
Max Kellermann
fb0ead1788
doc/meson.build: add missing dependency
2018-10-30 22:51:09 +01:00
Max Kellermann
32013ad4a6
doc/user.rst: remove invalid :option: tags
2018-10-30 22:34:59 +01:00
Max Kellermann
7352d6a38d
doc/user.rst: improve plugin reference links
2018-10-30 22:33:52 +01:00
Max Kellermann
f649ec1fd8
doc/user.rst: move plugin reference to plugins.rst
2018-10-30 22:27:42 +01:00
Max Kellermann
56112a237c
Listen: listen on $XDG_RUNTIME_DIR/mpd/socket by default
2018-10-30 22:14:54 +01:00
Max Kellermann
64da9399ca
event/ServerSocket: allow mixing AddFD() with other Add*() methods
2018-10-30 22:14:53 +01:00
Max Kellermann
dd8e14e121
doc/conf.py: use the "classic" theme
2018-10-30 22:13:15 +01:00
Max Kellermann
09e2202cd6
doc/user.rst: remove redundant tags list, link to protocol documentation
2018-10-30 22:08:31 +01:00
Max Kellermann
fe7e1ae8aa
doc/*.rst: revise captions and section types
2018-10-30 21:50:37 +01:00
Max Kellermann
aa07e8a8fe
doc/user.rst: add links to "Listeners"
2018-10-30 21:33:22 +01:00