]>
git.ipfire.org Git - thirdparty/shairport-sync.git/log
Belbo [Tue, 15 Aug 2017 19:51:47 +0000 (21:51 +0200)]
Fixed loop condition in non_blocking_write()
The while loop should be repeated, if the last write attempt was a partial write only. In this case, however, rc is greater than 0 (should be 1), not equal to 0.
Belbo [Tue, 15 Aug 2017 19:48:13 +0000 (21:48 +0200)]
Fixed EINTR handling in rtsp_read_request()
EINTR is an error code written to errno, not returned by read().
Belbo [Mon, 7 Aug 2017 21:49:19 +0000 (23:49 +0200)]
Fixed dangling pointer to random state array
The C library function initstate(), at least in macOS El Capitan, not only sets the state array given to it as the second argument, but also accesses the state array given to it in a previous call! (I don't know why, or if that behaviour is correct, but macOS seems to do that anyhow).
Therefore, we cannot pass a local variable to it. As soon as the player thread stops, it will be a dangling pointer, and when a new player thread is started afterwards, initstate() will dereference that dangling pointer with unforeseeable consequences.
Belbo [Mon, 7 Aug 2017 21:42:51 +0000 (23:42 +0200)]
handle_announce() waits for playing_conn to stop if it's already shutting down
- If playing_conn is already stopping, handle_announce() waits one second for it to stop. This gives the current RTSP connection a better chance to get the player, if it has been started very quickly after the previous RTSP connection had decided to stop. iTunes can sometimes be very quick in starting a new RTSP connection after tearing down the previous one, but shairport_sync unfortunately needs at least 100ms to shut down the old connection.
- cleanup_threads() sets playing_conn to NULL if it points to the removed thread, otherwise playing_conn would be a dangling pointer, which is bad, because handle_announce() dereferences it unless it is NULL.
Belbo [Sun, 16 Jul 2017 16:31:24 +0000 (18:31 +0200)]
Prevent buffer overflow in log functions
die(), warn(), debug() and inform() write the string into a limited internal buffer first. They now use vsnprintf() instead of vsprintf() to prevent an overflow of that buffer.
Mike Brady [Mon, 30 Oct 2017 09:49:20 +0000 (09:49 +0000)]
Update RELEASENOTES.md
Mike Brady [Mon, 30 Oct 2017 09:45:38 +0000 (10:45 +0100)]
Don't disable PulseAudio autospawn
Mike Brady [Mon, 30 Oct 2017 09:37:34 +0000 (10:37 +0100)]
Add an exit diagnostic, clean up a dbus flag
Mike Brady [Wed, 25 Oct 2017 18:31:10 +0000 (19:31 +0100)]
Address a warning about a buffer being too short.
Mike Brady [Tue, 24 Oct 2017 09:30:20 +0000 (10:30 +0100)]
Correct a few warnings that show upo in Clang but not in GCC
Mike Brady [Tue, 24 Oct 2017 09:29:43 +0000 (10:29 +0100)]
Correct a Makefile bug that was silent in Linux but caused problems in FreeBSD
Mike Brady [Sun, 22 Oct 2017 09:23:48 +0000 (10:23 +0100)]
Update RELEASENOTES.md
Mike Brady [Sun, 22 Oct 2017 09:20:21 +0000 (11:20 +0200)]
Adjust the debug level of buffers exhausted and network condition messages.
Mike Brady [Sun, 15 Oct 2017 13:38:52 +0000 (14:38 +0100)]
Oops -- a little typo.
Mike Brady [Sun, 15 Oct 2017 13:29:33 +0000 (14:29 +0100)]
Update RELEASENOTES.md
Mike Brady [Sun, 15 Oct 2017 13:29:04 +0000 (14:29 +0100)]
Update RELEASENOTES.md
Mike Brady [Sun, 15 Oct 2017 13:24:14 +0000 (14:24 +0100)]
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Oops.
Mike Brady [Sun, 15 Oct 2017 13:23:09 +0000 (14:23 +0100)]
Add the 'dapo' metadata message, giving the DACP port number when found
Mike Brady [Sun, 15 Oct 2017 12:08:21 +0000 (13:08 +0100)]
Generalise volumeup to any command.
Mike Brady [Fri, 13 Oct 2017 21:24:06 +0000 (22:24 +0100)]
Update RELEASENOTES.md
Mike Brady [Fri, 13 Oct 2017 21:16:50 +0000 (22:16 +0100)]
Make the volumeup command work with IPv6 -- use the scope_id
Mike Brady [Mon, 9 Oct 2017 21:14:34 +0000 (22:14 +0100)]
Hook up "volumeup" remote control command -- doesn't work on ipv6, it seems
Mike Brady [Mon, 9 Oct 2017 10:02:54 +0000 (11:02 +0100)]
Checnk the order of the commands a little
Mike Brady [Mon, 9 Oct 2017 10:02:25 +0000 (11:02 +0100)]
Use the DESTDIR variable to make packaging easier
Mike Brady [Mon, 9 Oct 2017 09:47:17 +0000 (10:47 +0100)]
Bump to indicate cleanup of configuration files and fixup of installation for dbus stuff.
Mike Brady [Mon, 9 Oct 2017 09:46:10 +0000 (10:46 +0100)]
Don't need it any more.
Mike Brady [Mon, 9 Oct 2017 09:44:47 +0000 (10:44 +0100)]
Add in code to install the xml file in the local interfaces directory
Mike Brady [Mon, 9 Oct 2017 09:43:48 +0000 (10:43 +0100)]
Stop using the DBUS_SERVICES_DIR stuff
Mike Brady [Mon, 9 Oct 2017 09:40:12 +0000 (10:40 +0100)]
Remove the need for the AS_AC_EXPAND macro and remove the m4 subdirectory containing it
Mike Brady [Mon, 9 Oct 2017 09:38:47 +0000 (10:38 +0100)]
Tighten up the ownership policy
Mike Brady [Mon, 9 Oct 2017 08:38:35 +0000 (09:38 +0100)]
Tidy up configure.ac and drop old pulseaudio back end
Mike Brady [Sat, 7 Oct 2017 19:49:32 +0000 (20:49 +0100)]
A little experimentation with dbus
Mike Brady [Thu, 5 Oct 2017 16:48:24 +0000 (17:48 +0100)]
Some spring cleaning using clang-format
Mike Brady [Thu, 5 Oct 2017 16:40:51 +0000 (17:40 +0100)]
Add avahi code to look for the rmeote control information for the client and get the port number from it.
Mike Brady [Thu, 5 Oct 2017 16:39:32 +0000 (17:39 +0100)]
Add avahi code to look for the rmeote control information for the client and get the port number from it.
Mike Brady [Mon, 2 Oct 2017 10:22:04 +0000 (11:22 +0100)]
Update README.md
Mike Brady [Tue, 26 Sep 2017 15:14:50 +0000 (16:14 +0100)]
Update README.md
Mike Brady [Tue, 26 Sep 2017 15:10:43 +0000 (16:10 +0100)]
Update RELEASENOTES.md
Mike Brady [Tue, 26 Sep 2017 15:03:07 +0000 (16:03 +0100)]
Merge pull request #594 from nbgl/dev-linear-volume
Fix volume bug.
Many thanks for this. I think that in the past the program used to terminate in this case and I changed it to simply continuing and, inadvertently, to failing silently!
Jakub Nabaglo [Tue, 26 Sep 2017 11:37:01 +0000 (21:37 +1000)]
Minor cleanup
Jakub Nabaglo [Tue, 26 Sep 2017 07:24:55 +0000 (17:24 +1000)]
Attempt to fix hardware volume bug on devices without a linear scale
Mike Brady [Mon, 25 Sep 2017 17:12:05 +0000 (18:12 +0100)]
3.2d8
Mike Brady [Mon, 25 Sep 2017 17:10:07 +0000 (18:10 +0100)]
Try to regenerate the PID directory if it doesn't exist
Mike Brady [Mon, 25 Sep 2017 17:09:29 +0000 (18:09 +0100)]
Try to regenerate the PID directory if it doesn't exist
Mike Brady [Mon, 25 Sep 2017 16:17:52 +0000 (17:17 +0100)]
Merge branch 'master' into piddircreate
Add documentation updates.
Mike Brady [Mon, 25 Sep 2017 16:10:46 +0000 (17:10 +0100)]
Update README.md
Mike Brady [Mon, 25 Sep 2017 16:10:41 +0000 (17:10 +0100)]
Update README.md
Mike Brady [Mon, 25 Sep 2017 16:09:04 +0000 (17:09 +0100)]
Update README.md
Mike Brady [Mon, 25 Sep 2017 16:08:57 +0000 (17:08 +0100)]
Update README.md
Mike Brady [Sun, 24 Sep 2017 14:52:26 +0000 (15:52 +0100)]
Make PID directory path creation recursive and tidy up some code formatting.
Mike Brady [Sat, 23 Sep 2017 12:26:37 +0000 (05:26 -0700)]
Create the directory for the PID file, if necessary
Mike Brady [Sat, 23 Sep 2017 12:25:48 +0000 (05:25 -0700)]
Create the directory for the PID file, if necessary
Mike Brady [Fri, 22 Sep 2017 09:11:45 +0000 (10:11 +0100)]
3.1.2
Remove the "rc0" tag, duh.
Mike Brady [Fri, 15 Sep 2017 23:28:42 +0000 (00:28 +0100)]
Update README.md
Mike Brady [Thu, 14 Sep 2017 06:00:59 +0000 (07:00 +0100)]
Merge pull request #587 from p3ck/development
Development
Bill Peck [Wed, 13 Sep 2017 19:23:20 +0000 (15:23 -0400)]
Update spec file for new upstream release
Bill Peck [Wed, 13 Sep 2017 19:22:43 +0000 (15:22 -0400)]
Merge branch 'upstream-development' into development
Mike Brady [Sun, 10 Sep 2017 13:25:33 +0000 (14:25 +0100)]
Update RELEASENOTES.md
Mike Brady [Sun, 10 Sep 2017 13:14:32 +0000 (14:14 +0100)]
Add a hint about where to find glib libraries
Mike Brady [Sun, 10 Sep 2017 12:39:20 +0000 (13:39 +0100)]
Add a few "get" examples.
Mike Brady [Sun, 10 Sep 2017 12:32:27 +0000 (13:32 +0100)]
tidying up a few little thing
Mike Brady [Sun, 10 Sep 2017 12:20:32 +0000 (13:20 +0100)]
Add very very experimental and exploratory systembus dbus support -- subject to change or removal
Mike Brady [Sun, 10 Sep 2017 12:19:56 +0000 (13:19 +0100)]
Add very very experimental and exploratory systembus dbus support -- subject to change or removal
Mike Brady [Sat, 9 Sep 2017 14:59:27 +0000 (15:59 +0100)]
3.1.2 becomes 3.2d6
Mike Brady [Sat, 9 Sep 2017 14:59:17 +0000 (15:59 +0100)]
3.1.2 becomes 3.2d6
Mike Brady [Sat, 9 Sep 2017 14:47:23 +0000 (15:47 +0100)]
3.1.2
Mike Brady [Sat, 9 Sep 2017 14:41:37 +0000 (15:41 +0100)]
Update RELEASENOTES.md
Mike Brady [Sat, 9 Sep 2017 14:37:16 +0000 (15:37 +0100)]
Update RELEASENOTES.md
Mike Brady [Thu, 7 Sep 2017 11:02:00 +0000 (12:02 +0100)]
3.1.2 pretty-print using clang-format
Mike Brady [Tue, 5 Sep 2017 16:34:36 +0000 (17:34 +0100)]
3.1.2rc0
Mike Brady [Tue, 5 Sep 2017 16:32:37 +0000 (17:32 +0100)]
Move 3.2d5 to 3.1.2
Mike Brady [Tue, 5 Sep 2017 16:32:19 +0000 (17:32 +0100)]
Move 3.2d5 to 3.1.2
Mike Brady [Tue, 5 Sep 2017 13:45:41 +0000 (14:45 +0100)]
Merge branch 'master' into development
Merge any updates made to master
Mike Brady [Tue, 5 Sep 2017 07:38:50 +0000 (08:38 +0100)]
Update README.md
Mike Brady [Mon, 4 Sep 2017 17:42:26 +0000 (18:42 +0100)]
Update README.md
Mike Brady [Mon, 4 Sep 2017 17:40:38 +0000 (18:40 +0100)]
Update README.md
Mike Brady [Mon, 4 Sep 2017 17:34:18 +0000 (18:34 +0100)]
Update README.md
Mike Brady [Mon, 4 Sep 2017 17:25:23 +0000 (18:25 +0100)]
Update README.md
Mike Brady [Mon, 4 Sep 2017 17:23:34 +0000 (18:23 +0100)]
Update README.md
Mike Brady [Mon, 4 Sep 2017 10:11:26 +0000 (11:11 +0100)]
Update RELEASENOTES.md
Mike Brady [Mon, 4 Sep 2017 10:08:49 +0000 (11:08 +0100)]
Add some checks
Using [infer](https://github.com/facebook/infer/blob/master/README.md), a number of silent issues have been detected, such as not checking some calls to `malloc` to ensure the response is not NULL. Most of these have been addressed by additional checks.
Mike Brady [Mon, 4 Sep 2017 10:07:25 +0000 (11:07 +0100)]
Update RELEASENOTES.md
Mike Brady [Mon, 4 Sep 2017 07:09:44 +0000 (08:09 +0100)]
Update UPDATING.md
Mike Brady [Sun, 3 Sep 2017 21:46:57 +0000 (22:46 +0100)]
Add fixes suggested by using "infer"
Mike Brady [Sun, 3 Sep 2017 14:08:13 +0000 (15:08 +0100)]
Fix some silent issues that were highlighted by "infer"
Mike Brady [Sat, 2 Sep 2017 21:40:36 +0000 (22:40 +0100)]
Update RELEASENOTES.md
Mike Brady [Sat, 2 Sep 2017 21:39:56 +0000 (22:39 +0100)]
Update RELEASENOTES.md
Mike Brady [Sat, 2 Sep 2017 16:27:08 +0000 (17:27 +0100)]
Update RELEASENOTES.md
Mike Brady [Sat, 2 Sep 2017 16:17:49 +0000 (17:17 +0100)]
Change default of using alsa mute switch to "no" for compatability with other audio players.
Mike Brady [Sat, 2 Sep 2017 16:17:11 +0000 (17:17 +0100)]
Change default of using alsa mute switch to "no" for compatability with other audio players.
Mike Brady [Fri, 1 Sep 2017 11:53:03 +0000 (12:53 +0100)]
3.1.1
Typo
Mike Brady [Fri, 1 Sep 2017 11:52:31 +0000 (12:52 +0100)]
Update README.md
Mike Brady [Fri, 1 Sep 2017 11:47:37 +0000 (12:47 +0100)]
Update README.md
Mike Brady [Fri, 1 Sep 2017 11:46:08 +0000 (12:46 +0100)]
Update README.md
Mike Brady [Fri, 1 Sep 2017 11:39:50 +0000 (12:39 +0100)]
Update README.md
Mike Brady [Fri, 1 Sep 2017 10:00:24 +0000 (11:00 +0100)]
3.1.1
Fix a typo.
Mike Brady [Mon, 28 Aug 2017 20:33:29 +0000 (21:33 +0100)]
Fix an issue where it would terminate if it could not allocate an excessively large buffer.
Mike Brady [Mon, 28 Aug 2017 16:59:22 +0000 (17:59 +0100)]
Update shairport-sync.service.in
Mike Brady [Mon, 28 Aug 2017 11:19:16 +0000 (12:19 +0100)]
Update RELEASENOTES.md
Mike Brady [Mon, 28 Aug 2017 11:14:38 +0000 (12:14 +0100)]
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Forgot a change to the service description.