chiark / gitweb /
Richard Kettlewell [Sun, 2 Dec 2007 15:13:33 +0000 (15:13 +0000)]
disorder.py:
- dictionary keys in disorder.py are always strings (not unicode strings)
- the config file is optional
New tests/play.py.
Richard Kettlewell [Sun, 2 Dec 2007 12:34:13 +0000 (12:34 +0000)]
dump.py exercises tags db harder
dtest.py checks that the speaker socket is going to be ok, formerly tests
would sometimes nang if they involved stopping and restarting the daemon.
Richard Kettlewell [Sun, 2 Dec 2007 12:07:34 +0000 (12:07 +0000)]
verify that tag search works across dump
Richard Kettlewell [Sun, 2 Dec 2007 12:04:26 +0000 (12:04 +0000)]
get and get-global now return 555 for not found. The Python interface
understands this and returns None.
Further tests and fixes for disorder-dump.
Richard Kettlewell [Sat, 1 Dec 2007 17:36:27 +0000 (17:36 +0000)]
exit not _exit, for benefit of coverage testing
Richard Kettlewell [Sat, 1 Dec 2007 17:31:18 +0000 (17:31 +0000)]
fixes and test for disorder-dump
Richard Kettlewell [Sat, 1 Dec 2007 17:05:30 +0000 (17:05 +0000)]
hash.c tests
Richard Kettlewell [Sat, 1 Dec 2007 16:41:34 +0000 (16:41 +0000)]
missing list for main coverage report too
Richard Kettlewell [Sat, 1 Dec 2007 16:33:00 +0000 (16:33 +0000)]
split.c tests
Richard Kettlewell [Sat, 1 Dec 2007 16:22:06 +0000 (16:22 +0000)]
basen.c tests
Richard Kettlewell [Sat, 1 Dec 2007 16:15:55 +0000 (16:15 +0000)]
list uncovered files in lib/
Richard Kettlewell [Sat, 1 Dec 2007 16:09:16 +0000 (16:09 +0000)]
tests and fixes for printf.c
Richard Kettlewell [Sat, 1 Dec 2007 15:33:54 +0000 (15:33 +0000)]
tests and bug-fixes for mime.c
Richard Kettlewell [Sat, 1 Dec 2007 11:04:44 +0000 (11:04 +0000)]
sink.c tests + docs
Richard Kettlewell [Fri, 30 Nov 2007 18:58:35 +0000 (18:58 +0000)]
more thorough kvp.c testing
Richard Kettlewell [Thu, 29 Nov 2007 19:35:14 +0000 (19:35 +0000)]
build fixes
Richard Kettlewell [Thu, 29 Nov 2007 19:35:07 +0000 (19:35 +0000)]
tighten up liveness behavior
Richard Kettlewell [Thu, 29 Nov 2007 19:29:50 +0000 (19:29 +0000)]
partial tests for kvp.c
Richard Kettlewell [Thu, 29 Nov 2007 19:29:36 +0000 (19:29 +0000)]
test just lib
Richard Kettlewell [Thu, 29 Nov 2007 19:19:03 +0000 (19:19 +0000)]
test + doxygen for wstat()
Richard Kettlewell [Thu, 29 Nov 2007 19:09:50 +0000 (19:09 +0000)]
tests and doxygen for selection.c
Richard Kettlewell [Wed, 28 Nov 2007 20:41:54 +0000 (20:41 +0000)]
multicast_loop option
Richard Kettlewell [Tue, 27 Nov 2007 22:52:45 +0000 (22:52 +0000)]
build fix for linux
Richard Kettlewell [Tue, 27 Nov 2007 22:43:50 +0000 (22:43 +0000)]
some filepart.c tests
Richard Kettlewell [Tue, 27 Nov 2007 22:36:24 +0000 (22:36 +0000)]
pinpoint tests for a couple more unicode.c bits
Richard Kettlewell [Tue, 27 Nov 2007 22:30:02 +0000 (22:30 +0000)]
tests for cache.c
Richard Kettlewell [Tue, 27 Nov 2007 22:21:50 +0000 (22:21 +0000)]
exercise the C client a bit from tests
Richard Kettlewell [Tue, 27 Nov 2007 20:49:04 +0000 (20:49 +0000)]
signame.c test coverage -> 100%
Richard Kettlewell [Tue, 27 Nov 2007 20:43:03 +0000 (20:43 +0000)]
gcov to report test coverage
Richard Kettlewell [Sun, 25 Nov 2007 18:23:35 +0000 (18:23 +0000)]
oops
Richard Kettlewell [Sun, 25 Nov 2007 18:13:28 +0000 (18:13 +0000)]
tests/queue.py: check that the queue is padded to the right length
Richard Kettlewell [Sat, 24 Nov 2007 18:44:32 +0000 (18:44 +0000)]
more README fiddling
Richard Kettlewell [Sat, 24 Nov 2007 15:58:13 +0000 (15:58 +0000)]
expand streaming instructions
Richard Kettlewell [Fri, 23 Nov 2007 17:49:24 +0000 (17:49 +0000)]
upgrade instructions
Richard Kettlewell [Fri, 23 Nov 2007 17:41:24 +0000 (17:41 +0000)]
update README* and CHANGES
Richard Kettlewell [Fri, 23 Nov 2007 17:35:23 +0000 (17:35 +0000)]
debian release 1.5.99+dev9
rjk@greenend.org.uk [Fri, 23 Nov 2007 16:59:24 +0000 (16:59 +0000)]
merge disorder.unicode branch
rjk@greenend.org.uk [Fri, 23 Nov 2007 16:33:50 +0000 (16:33 +0000)]
Fixes for disorder-dbpugrade:
- increased verbosity
- bad (non-UTF-8) keys are now logged but ignored by default
- ...but they can be deleted or abort the upgrade
- aliases that sort later than the track they alias no longer
abort the upgrade
rjk@greenend.org.uk [Fri, 23 Nov 2007 14:39:56 +0000 (14:39 +0000)]
merge from disorder.dev
rjk@greenend.org.uk [Fri, 23 Nov 2007 14:32:18 +0000 (14:32 +0000)]
init script always address local instance of daemon
Richard Kettlewell [Fri, 23 Nov 2007 14:22:30 +0000 (14:22 +0000)]
synchronize with disorder.dev
Richard Kettlewell [Fri, 23 Nov 2007 14:15:43 +0000 (14:15 +0000)]
'plugins' and other _accum configuration items can now have the list
cleared by supplying no arguments. This is used by the test scripts to
ensure they aren't picking up install versions of the plugins.
This is on disorder.unicode rather than disorder.dev because the tests
that matter are all there...
Richard Kettlewell [Fri, 23 Nov 2007 12:26:04 +0000 (12:26 +0000)]
make -j safe clients/Makefile.am
Richard Kettlewell [Fri, 23 Nov 2007 12:21:51 +0000 (12:21 +0000)]
Remove post_move_cleanup(). The effect is that new chosen tracks are
always added just before the final block of random tracks, and there
is no longer any invisible state in the queue.
Richard Kettlewell [Fri, 23 Nov 2007 11:05:56 +0000 (11:05 +0000)]
Remove combining characters from search strings. The effect is that
accents are ignored in searching. This is what English speakers
usually expect; if DisOrder becomes popular among a wider audience
then only trackdb_search() needs to be updated to filter out false
positives, the database can keep the accent-free keys.
Richard Kettlewell [Thu, 22 Nov 2007 17:52:15 +0000 (17:52 +0000)]
copyright date
Richard Kettlewell [Thu, 22 Nov 2007 17:22:24 +0000 (17:22 +0000)]
debian version 1.5.99+dev8
Richard Kettlewell [Thu, 22 Nov 2007 17:16:17 +0000 (17:16 +0000)]
typo in man disorder-playrtp
Richard Kettlewell [Thu, 22 Nov 2007 16:47:33 +0000 (16:47 +0000)]
rationalize playrtp multicast support
Richard Kettlewell [Thu, 22 Nov 2007 13:59:33 +0000 (13:59 +0000)]
unicode search tests
Richard Kettlewell [Thu, 22 Nov 2007 13:47:35 +0000 (13:47 +0000)]
further search testing
Richard Kettlewell [Thu, 22 Nov 2007 13:21:16 +0000 (13:21 +0000)]
test search
Richard Kettlewell [Thu, 22 Nov 2007 13:20:48 +0000 (13:20 +0000)]
fix disorder.py search
Richard Kettlewell [Thu, 22 Nov 2007 13:17:54 +0000 (13:17 +0000)]
sync with trunk
Richard Kettlewell [Thu, 22 Nov 2007 11:44:59 +0000 (11:44 +0000)]
fixes from last change l-(
Richard Kettlewell [Thu, 22 Nov 2007 11:35:34 +0000 (11:35 +0000)]
The initial rescan now blocks any client connections. This means that
a deadlock is unlikely to arise in the initial scan. It also means
that the server is not usable for a short period after startup (or
quite a long period after initial startup, but that's less of a
problem).
The tests now take advantage of this by waiting until the socket
appears before assuming the daemon has started.
Richard Kettlewell [Thu, 22 Nov 2007 11:08:54 +0000 (11:08 +0000)]
build fixes
Richard Kettlewell [Thu, 22 Nov 2007 10:26:50 +0000 (10:26 +0000)]
automatically upgrade on startup if necessary
Richard Kettlewell [Thu, 22 Nov 2007 09:44:43 +0000 (09:44 +0000)]
tidy up upgrade/recovery flags a bit
Richard Kettlewell [Wed, 21 Nov 2007 19:20:15 +0000 (19:20 +0000)]
check server runs after upgrade
Richard Kettlewell [Wed, 21 Nov 2007 19:15:50 +0000 (19:15 +0000)]
database upgrade tool. needs to be run manually.
Richard Kettlewell [Wed, 21 Nov 2007 11:18:34 +0000 (11:18 +0000)]
sync up with disorder.dev
Richard Kettlewell [Wed, 21 Nov 2007 11:12:22 +0000 (11:12 +0000)]
more disorder.unicode test alignment
Richard Kettlewell [Wed, 21 Nov 2007 11:05:41 +0000 (11:05 +0000)]
override disorder.py config
Richard Kettlewell [Wed, 21 Nov 2007 10:52:21 +0000 (10:52 +0000)]
align with disorder.unicode a bit
Richard Kettlewell [Wed, 21 Nov 2007 10:44:34 +0000 (10:44 +0000)]
borrow some test naming conventions from disorder.unicode
Richard Kettlewell [Wed, 21 Nov 2007 10:41:23 +0000 (10:41 +0000)]
more test fiddling
Richard Kettlewell [Wed, 21 Nov 2007 10:23:02 +0000 (10:23 +0000)]
sync with disorder.dev
Richard Kettlewell [Wed, 21 Nov 2007 10:14:54 +0000 (10:14 +0000)]
more automation of test logic
Richard Kettlewell [Wed, 21 Nov 2007 10:03:19 +0000 (10:03 +0000)]
tests figure out paths more automatically
Richard Kettlewell [Wed, 21 Nov 2007 09:31:29 +0000 (09:31 +0000)]
test to verify current dbversion behavior
Richard Kettlewell [Wed, 21 Nov 2007 00:42:34 +0000 (00:42 +0000)]
fix indent
Richard Kettlewell [Wed, 21 Nov 2007 00:39:55 +0000 (00:39 +0000)]
(c) notice on tests
Richard Kettlewell [Wed, 21 Nov 2007 00:36:49 +0000 (00:36 +0000)]
need python >= 2.4 for tests
Richard Kettlewell [Tue, 20 Nov 2007 20:32:06 +0000 (20:32 +0000)]
unicode.c iterators can now have their notion of Word_Break tailored.
We use this to arrange that underscores are treated as spaces, since a
common track naming convention replaces spaces with underscores. We
only apply this to raw filenames, not to the overrides provided by
preferences, on the assumption that if you typed an underscore there
you really meant it.
words.c/h are now gone; all references to words() and casefold() use
unicode.c functions directly.
Richard Kettlewell [Tue, 20 Nov 2007 18:13:56 +0000 (18:13 +0000)]
utf32_word_split() and utf8_word_split() splits a string into words
using the UAX #29 word boundary algorithm. words() is therefore now a
wrapper around this. There is scope for improvement in the use of
this function as currently we do some needless converting back and
forth between encoding forms.
casefold() now uses the compatibility case-folding algorithm, which
seems more appropriate for searching.
dbversions are now integers not strings. Some dbversion=2
functionality can be selectively disabled for testing purposes.
README.dbversions documents the differences between the dbversions.
Richard Kettlewell [Tue, 20 Nov 2007 15:38:46 +0000 (15:38 +0000)]
normalize recorded filenames so files.py passes
Richard Kettlewell [Tue, 20 Nov 2007 15:10:24 +0000 (15:10 +0000)]
tests/files.py; ok except for the non-ascii filenames
Richard Kettlewell [Tue, 20 Nov 2007 12:38:40 +0000 (12:38 +0000)]
fix test config indent, oops...
Richard Kettlewell [Tue, 20 Nov 2007 12:31:03 +0000 (12:31 +0000)]
Convert track names and input lines to NFC. This is a database format
change so a new read-only global preference _dbversion is introduced
to record the current database version. Upgrade will implyy
renormalizing all keys and regenerating the search/tags databases.
Fiddled with tests to put both composed and decomposed non-ASCII names
through.
Document limitations on line syntax. This really needs improving
before release since the same thing applies to the config file!
Make 'nothing' test quicker.
Richard Kettlewell [Mon, 19 Nov 2007 21:28:19 +0000 (21:28 +0000)]
sync with disorder.dev
Richard Kettlewell [Mon, 19 Nov 2007 21:27:00 +0000 (21:27 +0000)]
build fix for linux
Richard Kettlewell [Mon, 19 Nov 2007 21:21:50 +0000 (21:21 +0000)]
teach test environment about track types
Richard Kettlewell [Mon, 19 Nov 2007 21:21:34 +0000 (21:21 +0000)]
it's plugins not plugin
Richard Kettlewell [Mon, 19 Nov 2007 21:15:26 +0000 (21:15 +0000)]
add a nontrivial test that actually works
Richard Kettlewell [Mon, 19 Nov 2007 21:05:25 +0000 (21:05 +0000)]
test path fixes
Richard Kettlewell [Mon, 19 Nov 2007 21:05:16 +0000 (21:05 +0000)]
remove some pointless stderr redirection
Richard Kettlewell [Mon, 19 Nov 2007 21:04:31 +0000 (21:04 +0000)]
don't fatal() if cannot create a root account
Richard Kettlewell [Mon, 19 Nov 2007 21:04:08 +0000 (21:04 +0000)]
fix syslog test
Richard Kettlewell [Mon, 19 Nov 2007 20:54:28 +0000 (20:54 +0000)]
--[no-]syslog for disorder-normalize too
Richard Kettlewell [Mon, 19 Nov 2007 20:47:24 +0000 (20:47 +0000)]
server subprocesses should log to the same place the server does
Richard Kettlewell [Mon, 19 Nov 2007 17:01:19 +0000 (17:01 +0000)]
Disobedience now honors config->short_display. This is a bit grotty
as we have access to enough information to do a better job of
truncation, but it'll do for now.
Richard Kettlewell [Mon, 19 Nov 2007 16:56:21 +0000 (16:56 +0000)]
truncate_for_display() now uses unicode.c grapheme boundary deetection
Richard Kettlewell [Mon, 19 Nov 2007 16:15:09 +0000 (16:15 +0000)]
UTF8 versions of NFC/NFKC
Richard Kettlewell [Mon, 19 Nov 2007 16:06:23 +0000 (16:06 +0000)]
sync up with disorder.dev
Richard Kettlewell [Mon, 19 Nov 2007 16:05:06 +0000 (16:05 +0000)]
doxygen fixes
Richard Kettlewell [Mon, 19 Nov 2007 15:58:27 +0000 (15:58 +0000)]
NFC and NFKC support
Richard Kettlewell [Mon, 19 Nov 2007 10:17:04 +0000 (10:17 +0000)]
Generate, but do not use, composition mappings.
UTF-32 sequences for decomposition etc are now de-duped across the
full set of sequences, rather than privately by each generator. Total
saving is a couple of thousand tables currently.
Richard Kettlewell [Sun, 18 Nov 2007 23:49:51 +0000 (23:49 +0000)]
distinguish the different decompositions via a flag bit
Richard Kettlewell [Sun, 18 Nov 2007 23:07:22 +0000 (23:07 +0000)]
test and fix utf32_iterator_set()