chiark / gitweb /
disorder
15 years agoMerge more Core Audio hackery from uaudio branch.
Richard Kettlewell [Sat, 28 Feb 2009 11:03:49 +0000 (11:03 +0000)]
Merge more Core Audio hackery from uaudio branch.

15 years agoTurns out that GetMacOSStatusErrorString() and
Richard Kettlewell [Sat, 28 Feb 2009 11:03:19 +0000 (11:03 +0000)]
Turns out that GetMacOSStatusErrorString() and
GetMacOSStatusCommentString() don't produce useful answers, at least
for sound-related errors.  Users will just have to put up with numeric
error codes.

Thanks so much, Apple.

15 years agoCore Audio support should now include descriptions in error strings.
Richard Kettlewell [Sat, 28 Feb 2009 10:42:22 +0000 (10:42 +0000)]
Core Audio support should now include descriptions in error strings.
Not tested!

15 years agotypo fix
Richard Kettlewell [Sat, 28 Feb 2009 10:41:50 +0000 (10:41 +0000)]
typo fix

15 years agoRemove further databases on Debian remove/purge.
Richard Kettlewell [Sat, 28 Feb 2009 09:36:24 +0000 (09:36 +0000)]
Remove further databases on Debian remove/purge.

15 years agoMerge Core Audio fixes
Richard Kettlewell [Sun, 22 Feb 2009 14:09:22 +0000 (14:09 +0000)]
Merge Core Audio fixes

15 years agoSupport arbitrary Core Audio devices.
Richard Kettlewell [Sun, 22 Feb 2009 14:00:46 +0000 (14:00 +0000)]
Support arbitrary Core Audio devices.

New files lib/coreaudio.[ch] contain the code for looking up devices
by name or UID and is used by the server and playrtp.

Fixes issue 27.

15 years agodisorderd does not (currently) need CoreAudio libraries, so don't link
Richard Kettlewell [Sun, 22 Feb 2009 13:04:35 +0000 (13:04 +0000)]
disorderd does not (currently) need CoreAudio libraries, so don't link
against them.

15 years agoRemove fossils
Richard Kettlewell [Sat, 21 Feb 2009 20:43:33 +0000 (20:43 +0000)]
Remove fossils
There's only been one log implementation exported to plugins for ages.
As well as rationalizing the code in this light we make the disorder_
names the canonical ones and provide macros to make all the existing
code work.  I don't see any need to convert code to use the canonical
names currently.

15 years agomem-impl.h is no longer shared code, so remove
Richard Kettlewell [Sat, 21 Feb 2009 20:26:54 +0000 (20:26 +0000)]
mem-impl.h is no longer shared code, so remove

15 years agoRemove obsolete api-client.[ch]
Richard Kettlewell [Sat, 21 Feb 2009 20:22:11 +0000 (20:22 +0000)]
Remove obsolete api-client.[ch]

15 years agonot 4.3 any more
Richard Kettlewell [Tue, 17 Feb 2009 20:16:23 +0000 (20:16 +0000)]
not 4.3 any more

15 years agotypo fixes and updates
Richard Kettlewell [Tue, 17 Feb 2009 18:58:41 +0000 (18:58 +0000)]
typo fixes and updates

15 years agoDisOrder 4.3 4.3
Richard Kettlewell [Sun, 15 Feb 2009 15:50:00 +0000 (15:50 +0000)]
DisOrder 4.3

15 years agoShip scripts/setversion; needed by new scripts/dist
Richard Kettlewell [Sun, 15 Feb 2009 15:26:10 +0000 (15:26 +0000)]
Ship scripts/setversion; needed by new scripts/dist

15 years agoBring CHANGES.html up to date
Richard Kettlewell [Sun, 15 Feb 2009 12:48:33 +0000 (12:48 +0000)]
Bring CHANGES.html up to date

15 years agoOldstabe version gets a ~-based version number.
Richard Kettlewell [Sun, 15 Feb 2009 12:32:03 +0000 (12:32 +0000)]
Oldstabe version gets a ~-based version number.

15 years agoscripts/dist now builds and ships various .deb files
Richard Kettlewell [Sun, 15 Feb 2009 12:19:36 +0000 (12:19 +0000)]
scripts/dist now builds and ships various .deb files

15 years agoShip disorder-choose.8.in
Richard Kettlewell [Sun, 15 Feb 2009 12:19:19 +0000 (12:19 +0000)]
Ship disorder-choose.8.in

15 years agoSet resource limits on the server to prevent more than FD_SETSIZE
Richard Kettlewell [Sun, 15 Feb 2009 11:39:46 +0000 (11:39 +0000)]
Set resource limits on the server to prevent more than FD_SETSIZE
files being opened.  (It's not unusual for them to be set like this
anyway, but this change guarantees it.)

event.c also checks for FDs being in range.

15 years agoApply the remains of Ross's patch to build on Ubuntu 8.10.
Richard Kettlewell [Sat, 31 Jan 2009 14:57:30 +0000 (14:57 +0000)]
Apply the remains of Ross's patch to build on Ubuntu 8.10.

http://code.google.com/p/disorder/issues/detail?id=24

15 years agoREADME.developers tells you to install wget too.
Richard Kettlewell [Sat, 31 Jan 2009 14:52:00 +0000 (14:52 +0000)]
README.developers tells you to install wget too.

15 years agoneed vorbis-tools
Richard Kettlewell [Sat, 31 Jan 2009 14:50:52 +0000 (14:50 +0000)]
need vorbis-tools

15 years agoDisable -Wformat-security for t-printf, which deliberately uses some
Richard Kettlewell [Sat, 31 Jan 2009 12:55:37 +0000 (12:55 +0000)]
Disable -Wformat-security for t-printf, which deliberately uses some
dubious format strings.  -Wformat-security goes back at least to GCC
3.0 so it's probably a safe bet to disable without a test.

http://code.google.com/p/disorder/issues/detail?id=24

15 years agoKill off cgi_attr(), cgi_opentag() and cgi_closetag() which aren't
Richard Kettlewell [Sat, 31 Jan 2009 12:45:22 +0000 (12:45 +0000)]
Kill off cgi_attr(), cgi_opentag() and cgi_closetag() which aren't
actually used (?any more).

http://code.google.com/p/disorder/issues/detail?id=24

15 years agoSet last_playing to NULL when we don't have up to date information
Richard Kettlewell [Sat, 31 Jan 2009 12:33:59 +0000 (12:33 +0000)]
Set last_playing to NULL when we don't have up to date information
about the playing track (including, importantly, just after pausing).
column_length() returns NULL in this case, and ql_update_row() leaves
cells that have a NULL value along.

The effect is that the played so far indicator is left as it is until
we're sure what the right value is.  Usually in fact it will already
be right, so we don't even lie; when it isn't, at least it jumps
around less before reaching the right value.

http://code.google.com/p/disorder/issues/detail?id=26

15 years agoDisobedience updates last_playing whenever a 'playing' command
Richard Kettlewell [Sat, 31 Jan 2009 12:29:04 +0000 (12:29 +0000)]
Disobedience updates last_playing whenever a 'playing' command
completes now.  This mostly keeps the played so far field correct
though it does briefly jump to a wrong value and then back when you
unpause.

http://code.google.com/p/disorder/issues/detail?id=26

15 years agoSupport DEB_BUILD_OPTIONS=parallel=N
Richard Kettlewell [Sun, 18 Jan 2009 16:26:39 +0000 (16:26 +0000)]
Support DEB_BUILD_OPTIONS=parallel=N

15 years agoFix man page conflict
Richard Kettlewell [Sat, 17 Jan 2009 13:51:21 +0000 (13:51 +0000)]
Fix man page conflict

15 years agoResolve another Lintian warning
Richard Kettlewell [Sat, 17 Jan 2009 13:39:24 +0000 (13:39 +0000)]
Resolve another Lintian warning

15 years agoAdd LSB init info
Richard Kettlewell [Sat, 17 Jan 2009 13:31:37 +0000 (13:31 +0000)]
Add LSB init info

15 years agoAdd a disorder-choose man page
Richard Kettlewell [Sat, 17 Jan 2009 13:31:22 +0000 (13:31 +0000)]
Add a disorder-choose man page

15 years agoUse invoke-rc.d instead of accessing /etc/init.d directly. Lintian again.
Richard Kettlewell [Sat, 17 Jan 2009 12:54:09 +0000 (12:54 +0000)]
Use invoke-rc.d instead of accessing /etc/init.d directly.  Lintian again.

15 years agoResolve further Lintian warnings
Richard Kettlewell [Sat, 17 Jan 2009 12:48:19 +0000 (12:48 +0000)]
Resolve further Lintian warnings

15 years agoResolve a bunch of Lintian warnings
Richard Kettlewell [Sat, 17 Jan 2009 12:33:57 +0000 (12:33 +0000)]
Resolve a bunch of Lintian warnings

15 years agoFix typo in troff rune
Richard Kettlewell [Sat, 17 Jan 2009 12:33:28 +0000 (12:33 +0000)]
Fix typo in troff rune

15 years agoAdd links to .deb source control file per
Richard Kettlewell [Thu, 8 Jan 2009 12:15:57 +0000 (12:15 +0000)]
Add links to .deb source control file per
http://www.debian.org/doc/developers-reference/best-pkging-practices.html#bpp-debian-control

15 years agorestore db4.3 support (broken in previous commit)
Richard Kettlewell [Sat, 3 Jan 2009 00:13:48 +0000 (00:13 +0000)]
restore db4.3 support (broken in previous commit)

15 years agoReject db version 4.6 in configure.
Richard Kettlewell [Wed, 31 Dec 2008 14:13:45 +0000 (14:13 +0000)]
Reject db version 4.6 in configure.

15 years agonote that 4.6 does not wokr!
Richard Kettlewell [Tue, 30 Dec 2008 23:42:42 +0000 (23:42 +0000)]
note that 4.6 does not wokr!

15 years agofix-names script to mess with track filenames
Richard Kettlewell [Tue, 30 Dec 2008 23:39:32 +0000 (23:39 +0000)]
fix-names script to mess with track filenames

15 years agoClose down databases on database-open error more carefuly. It would
Richard Kettlewell [Tue, 30 Dec 2008 21:24:46 +0000 (21:24 +0000)]
Close down databases on database-open error more carefuly.  It would
be better to do this via an atexit() handler or something (with care
about subprocesses).

15 years agodisorder-choose aborts outstanding transaction before failing.
Richard Kettlewell [Tue, 30 Dec 2008 19:58:44 +0000 (19:58 +0000)]
disorder-choose aborts outstanding transaction before failing.

15 years agodisorderfm preserves permissions now
Richard Kettlewell [Tue, 30 Dec 2008 19:32:49 +0000 (19:32 +0000)]
disorderfm preserves permissions now

15 years agoFix format string pedantry to build on 64-bit Linux
Richard Kettlewell [Tue, 30 Dec 2008 12:16:15 +0000 (12:16 +0000)]
Fix format string pedantry to build on 64-bit Linux

15 years agoUse a local implementation of strptime() instead of broken OS ones
Richard Kettlewell [Sun, 28 Dec 2008 11:12:17 +0000 (11:12 +0000)]
Use a local implementation of strptime() instead of broken OS ones

15 years agoUse a local implementation of strptime() instead of broken OS ones
Richard Kettlewell [Sun, 28 Dec 2008 11:10:39 +0000 (11:10 +0000)]
Use a local implementation of strptime() instead of broken OS ones

15 years agoCorrect glob m4 quoting
Richard Kettlewell [Tue, 23 Dec 2008 21:00:17 +0000 (21:00 +0000)]
Correct glob m4 quoting

15 years agoGuess sox generation in configure script
Richard Kettlewell [Tue, 23 Dec 2008 20:57:49 +0000 (20:57 +0000)]
Guess sox generation in configure script

15 years agoadd adopt to completions
Richard Kettlewell [Tue, 23 Dec 2008 20:56:31 +0000 (20:56 +0000)]
add adopt to completions

15 years agoUpdate documentation
Richard Kettlewell [Sat, 13 Dec 2008 16:17:40 +0000 (16:17 +0000)]
Update documentation

15 years agoMention track adoption in CHANGES.
Richard Kettlewell [Sat, 13 Dec 2008 16:10:44 +0000 (16:10 +0000)]
Mention track adoption in CHANGES.

15 years agoDisobedience can now adopt tracks.
Richard Kettlewell [Sat, 13 Dec 2008 16:07:06 +0000 (16:07 +0000)]
Disobedience can now adopt tracks.

15 years agoDisobedience notices when tracks are adopted now.
Richard Kettlewell [Sat, 13 Dec 2008 15:53:22 +0000 (15:53 +0000)]
Disobedience notices when tracks are adopted now.

15 years agoAdd 'adopt' command. This adopts a randomly picked track by changing
Richard Kettlewell [Sat, 13 Dec 2008 15:48:31 +0000 (15:48 +0000)]
Add 'adopt' command.  This adopts a randomly picked track by changing
its origin to 'adopted' and its submitter to the calling user.  The
nice UIs don't support this yet but you can access it from the command
line.

Document 'origin' and update 'state' in disorder_protocol(5).

15 years agoQuieten compiler
Richard Kettlewell [Mon, 8 Dec 2008 19:28:25 +0000 (19:28 +0000)]
Quieten compiler

15 years agoReplace rather bizarre 'select all' in choose tab with 'select
Richard Kettlewell [Sun, 7 Dec 2008 20:20:51 +0000 (20:20 +0000)]
Replace rather bizarre 'select all' in choose tab with 'select
children' which (after jumping through some hoops) selects just the
file children of the selected directory.

Updated the Disobedience documentation a bit.

15 years agosetversion script for test builds
Richard Kettlewell [Sat, 6 Dec 2008 22:44:43 +0000 (22:44 +0000)]
setversion script for test builds

15 years agoSilence compiler warning
Richard Kettlewell [Sat, 6 Dec 2008 21:47:04 +0000 (21:47 +0000)]
Silence compiler warning

15 years agonew target to remove coverage droppings
Richard Kettlewell [Sat, 6 Dec 2008 14:50:58 +0000 (14:50 +0000)]
new target to remove coverage droppings

15 years agoChanges to HTML coverage output:
Richard Kettlewell [Sat, 6 Dec 2008 14:41:15 +0000 (14:41 +0000)]
Changes to HTML coverage output:
  - include missing files in the main table
  - CSS bar graph of coverage

15 years agomore coverage + doxygen
Richard Kettlewell [Sat, 6 Dec 2008 14:24:24 +0000 (14:24 +0000)]
more coverage + doxygen

15 years agomake sure gcov reports generated after all tests complete
Richard Kettlewell [Sat, 6 Dec 2008 14:04:05 +0000 (14:04 +0000)]
make sure gcov reports generated after all tests complete

15 years agolibtest now generates coverage report for lib/ not itself!
Richard Kettlewell [Sat, 6 Dec 2008 14:00:14 +0000 (14:00 +0000)]
libtest now generates coverage report for lib/ not itself!

15 years agoClean up after coverage testing properly
Richard Kettlewell [Sat, 6 Dec 2008 13:51:14 +0000 (13:51 +0000)]
Clean up after coverage testing properly

15 years agoReduce track choice neophilia a bit
Richard Kettlewell [Sat, 29 Nov 2008 15:38:35 +0000 (15:38 +0000)]
Reduce track choice neophilia a bit

15 years agoWait a bit long for subprocesses to clear off.
Richard Kettlewell [Sat, 1 Nov 2008 12:44:32 +0000 (12:44 +0000)]
Wait a bit long for subprocesses to clear off.

The real fix is to make the server wait more reliably for its
subprocesses to terminate when it's shut down.

15 years agoObsolete playing_isscratch. The constant still exists as a transition
Richard Kettlewell [Sat, 1 Nov 2008 12:39:43 +0000 (12:39 +0000)]
Obsolete playing_isscratch.  The constant still exists as a transition
measure (and will probably do so for some time to come).

15 years agoObsolete playing_random state
Richard Kettlewell [Wed, 29 Oct 2008 19:07:52 +0000 (19:07 +0000)]
Obsolete playing_random state

15 years agoDocument playing_state and queue_entry better
Richard Kettlewell [Tue, 28 Oct 2008 22:39:18 +0000 (22:39 +0000)]
Document playing_state and queue_entry better

15 years agoVersioning for queue files and a heuristic for reconstructing origin
Richard Kettlewell [Mon, 27 Oct 2008 20:13:38 +0000 (20:13 +0000)]
Versioning for queue files and a heuristic for reconstructing origin
fields.

15 years agoAdd a new 'origin' field to queue entries. This records the origin of
Richard Kettlewell [Mon, 27 Oct 2008 19:52:24 +0000 (19:52 +0000)]
Add a new 'origin' field to queue entries.  This records the origin of
the track independently of its current state (the 'state' field mixes
up the two concepts in an unhelpful way).  A few things use this but
not yet all.

Old queues will produce confusion if you upgrade to this version.
Nothing's yet been done to fix this; there'll have to be a version
field.

Fixed a few bits of template documentation too.

15 years agolibdb up to 4.6 does seem to work
Richard Kettlewell [Sun, 26 Oct 2008 16:36:15 +0000 (16:36 +0000)]
libdb up to 4.6 does seem to work

15 years agoRTP player now ignores packets with "X" bit set
Richard Kettlewell [Sun, 26 Oct 2008 13:37:00 +0000 (13:37 +0000)]
RTP player now ignores packets with "X" bit set

15 years agoA bit more doxygen
Richard Kettlewell [Sun, 26 Oct 2008 12:17:38 +0000 (12:17 +0000)]
A bit more doxygen

15 years agoDoxygen for C test infrastructure
Richard Kettlewell [Sun, 26 Oct 2008 10:38:48 +0000 (10:38 +0000)]
Doxygen for C test infrastructure

15 years agoDoxygen file headers for most files
Richard Kettlewell [Sat, 25 Oct 2008 17:42:35 +0000 (18:42 +0100)]
Doxygen file headers for most files

15 years agoDoxygen-clean
Richard Kettlewell [Sat, 25 Oct 2008 16:30:40 +0000 (17:30 +0100)]
Doxygen-clean

15 years agomention gpl3 in README.developers
Richard Kettlewell [Sat, 25 Oct 2008 16:10:42 +0000 (17:10 +0100)]
mention gpl3 in README.developers

15 years agoSaner distcheck cgiexecdir
Richard Kettlewell [Tue, 21 Oct 2008 08:20:44 +0000 (09:20 +0100)]
Saner distcheck cgiexecdir

15 years agodistcheck needs fiddled cgiexecdir too
Richard Kettlewell [Mon, 20 Oct 2008 19:19:05 +0000 (20:19 +0100)]
distcheck needs fiddled cgiexecdir too

15 years agoprepare knows to use GPL-3
Richard Kettlewell [Mon, 20 Oct 2008 18:50:55 +0000 (19:50 +0100)]
prepare knows to use GPL-3

15 years agoRemove obsolete tkdisorder
Richard Kettlewell [Sun, 19 Oct 2008 11:07:17 +0000 (12:07 +0100)]
Remove obsolete tkdisorder

15 years agoSwitch to GPL v3
Richard Kettlewell [Sun, 19 Oct 2008 11:05:25 +0000 (12:05 +0100)]
Switch to GPL v3

15 years agoAssume initial digits in a track name are a sort key even without the
Richard Kettlewell [Sat, 18 Oct 2008 13:01:38 +0000 (14:01 +0100)]
Assume initial digits in a track name are a sort key even without the
punctuation hints we've previously relied on.  This plays better with
the default filenames iTunes chooses.

15 years agoupdate CHANGES.html
Richard Kettlewell [Sat, 18 Oct 2008 11:01:36 +0000 (12:01 +0100)]
update CHANGES.html

15 years agoWait a bit after stopping the daemon when testsing, to stop silly
Richard Kettlewell [Sat, 18 Oct 2008 10:45:37 +0000 (11:45 +0100)]
Wait a bit after stopping the daemon when testsing, to stop silly
races.

15 years agoNeed to override httpdir for make distcheck
Richard Kettlewell [Sat, 18 Oct 2008 09:59:12 +0000 (10:59 +0100)]
Need to override httpdir for make distcheck

15 years agoFix PKG_CONFIG_PATH for Fink. This is really lame.
Richard Kettlewell [Fri, 17 Oct 2008 20:52:53 +0000 (21:52 +0100)]
Fix PKG_CONFIG_PATH for Fink.  This is really lame.

15 years agomake distcheck in scirpts/dist
Richard Kettlewell [Fri, 17 Oct 2008 20:48:00 +0000 (21:48 +0100)]
make distcheck in scirpts/dist

15 years agomerge missing file fix
Richard Kettlewell [Fri, 17 Oct 2008 20:46:23 +0000 (21:46 +0100)]
merge missing file fix

15 years agoAdd missing files
Richard Kettlewell [Mon, 6 Oct 2008 18:47:26 +0000 (19:47 +0100)]
Add missing files

15 years agotypo fix
Richard Kettlewell [Wed, 10 Sep 2008 21:05:41 +0000 (22:05 +0100)]
typo fix

15 years agoDon't reset played so far counter when queue rearranges (!)
Richard Kettlewell [Sat, 9 Aug 2008 12:11:05 +0000 (13:11 +0100)]
Don't reset played so far counter when queue rearranges (!)

15 years agoNew icons for Disobedience. They are bigger and more colorful than
Richard Kettlewell [Sat, 2 Aug 2008 16:45:46 +0000 (17:45 +0100)]
New icons for Disobedience.  They are bigger and more colorful than
previously.  The SVG originals are included for the benefit of future
cosmetic enhancement, but they aren't automatically converted to PNG
at any point.

15 years agoDisOrder 4.2 4.2
Richard Kettlewell [Sat, 19 Jul 2008 11:42:17 +0000 (12:42 +0100)]
DisOrder 4.2

15 years agoMildly more vigorous uninstall rules
Richard Kettlewell [Mon, 14 Jul 2008 19:05:03 +0000 (20:05 +0100)]
Mildly more vigorous uninstall rules

15 years ago${PATH_INFO} rejection message now links to (hopefuly!) the right
Richard Kettlewell [Sun, 13 Jul 2008 17:29:53 +0000 (18:29 +0100)]
${PATH_INFO} rejection message now links to (hopefuly!) the right
place.  Fixes issue #21.

15 years agomention current URL in 2.0->3.0 upgrade notes. A bit late but if
Richard Kettlewell [Sun, 13 Jul 2008 17:15:14 +0000 (18:15 +0100)]
mention current URL in 2.0->3.0 upgrade notes.  A bit late but if
there are still 2.0 users out there they'll find it useful.

15 years agoupdate CHANGES.html
Richard Kettlewell [Sun, 13 Jul 2008 17:00:45 +0000 (18:00 +0100)]
update CHANGES.html