chiark / gitweb /
disorder
11 years agounicode.c iterators can now have their notion of Word_Break tailored.
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.

11 years agoutf32_word_split() and utf8_word_split() splits a string into words
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.

11 years agonormalize recorded filenames so files.py passes
Richard Kettlewell [Tue, 20 Nov 2007 15:38:46 +0000 (15:38 +0000)]
normalize recorded filenames so files.py passes

11 years agotests/files.py; ok except for the non-ascii filenames
Richard Kettlewell [Tue, 20 Nov 2007 15:10:24 +0000 (15:10 +0000)]
tests/files.py; ok except for the non-ascii filenames

11 years agofix test config indent, oops...
Richard Kettlewell [Tue, 20 Nov 2007 12:38:40 +0000 (12:38 +0000)]
fix test config indent, oops...

11 years agoConvert track names and input lines to NFC. This is a database format
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.

11 years agosync with disorder.dev
Richard Kettlewell [Mon, 19 Nov 2007 21:28:19 +0000 (21:28 +0000)]
sync with disorder.dev

11 years agobuild fix for linux
Richard Kettlewell [Mon, 19 Nov 2007 21:27:00 +0000 (21:27 +0000)]
build fix for linux

11 years agoteach test environment about track types
Richard Kettlewell [Mon, 19 Nov 2007 21:21:50 +0000 (21:21 +0000)]
teach test environment about track types

11 years agoit's plugins not plugin
Richard Kettlewell [Mon, 19 Nov 2007 21:21:34 +0000 (21:21 +0000)]
it's plugins not plugin

11 years agoadd a nontrivial test that actually works
Richard Kettlewell [Mon, 19 Nov 2007 21:15:26 +0000 (21:15 +0000)]
add a nontrivial test that actually works

11 years agotest path fixes
Richard Kettlewell [Mon, 19 Nov 2007 21:05:25 +0000 (21:05 +0000)]
test path fixes

11 years agoremove some pointless stderr redirection
Richard Kettlewell [Mon, 19 Nov 2007 21:05:16 +0000 (21:05 +0000)]
remove some pointless stderr redirection

11 years agodon't fatal() if cannot create a root account
Richard Kettlewell [Mon, 19 Nov 2007 21:04:31 +0000 (21:04 +0000)]
don't fatal() if cannot create a root account

11 years agofix syslog test
Richard Kettlewell [Mon, 19 Nov 2007 21:04:08 +0000 (21:04 +0000)]
fix syslog test

11 years ago--[no-]syslog for disorder-normalize too
Richard Kettlewell [Mon, 19 Nov 2007 20:54:28 +0000 (20:54 +0000)]
--[no-]syslog for disorder-normalize too

11 years agoserver subprocesses should log to the same place the server does
Richard Kettlewell [Mon, 19 Nov 2007 20:47:24 +0000 (20:47 +0000)]
server subprocesses should log to the same place the server does

11 years agoDisobedience now honors config->short_display. This is a bit grotty
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.

11 years agotruncate_for_display() now uses unicode.c grapheme boundary deetection
Richard Kettlewell [Mon, 19 Nov 2007 16:56:21 +0000 (16:56 +0000)]
truncate_for_display() now uses unicode.c grapheme boundary deetection

11 years agoUTF8 versions of NFC/NFKC
Richard Kettlewell [Mon, 19 Nov 2007 16:15:09 +0000 (16:15 +0000)]
UTF8 versions of NFC/NFKC

11 years agosync up with disorder.dev
Richard Kettlewell [Mon, 19 Nov 2007 16:06:23 +0000 (16:06 +0000)]
sync up with disorder.dev

11 years agodoxygen fixes
Richard Kettlewell [Mon, 19 Nov 2007 16:05:06 +0000 (16:05 +0000)]
doxygen fixes

11 years agoNFC and NFKC support
Richard Kettlewell [Mon, 19 Nov 2007 15:58:27 +0000 (15:58 +0000)]
NFC and NFKC support

11 years agoGenerate, but do not use, composition mappings.
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.

11 years agodistinguish the different decompositions via a flag bit
Richard Kettlewell [Sun, 18 Nov 2007 23:49:51 +0000 (23:49 +0000)]
distinguish the different decompositions via a flag bit

11 years agotest and fix utf32_iterator_set()
Richard Kettlewell [Sun, 18 Nov 2007 23:07:22 +0000 (23:07 +0000)]
test and fix utf32_iterator_set()

11 years agomore efficient utf32_iterator_set()
Richard Kettlewell [Sun, 18 Nov 2007 22:53:32 +0000 (22:53 +0000)]
more efficient utf32_iterator_set()

11 years agoreplace main utf-8 parser with table-driven one
Richard Kettlewell [Sun, 18 Nov 2007 22:34:06 +0000 (22:34 +0000)]
replace main utf-8 parser with table-driven one

11 years agotransition various bits of code to unicode.h interfaces
Richard Kettlewell [Sun, 18 Nov 2007 22:23:35 +0000 (22:23 +0000)]
transition various bits of code to unicode.h interfaces

11 years agotable-drive UTF-8 validity checker
Richard Kettlewell [Sun, 18 Nov 2007 22:03:51 +0000 (22:03 +0000)]
table-drive UTF-8 validity checker

11 years agonew unicode string iterator give cleaner boundary testing
Richard Kettlewell [Sun, 18 Nov 2007 21:36:39 +0000 (21:36 +0000)]
new unicode string iterator give cleaner boundary testing

11 years agoneed gnu sed these days
Richard Kettlewell [Sun, 18 Nov 2007 16:59:44 +0000 (16:59 +0000)]
need gnu sed these days

11 years agomore space efficient unicode tables
Richard Kettlewell [Sun, 18 Nov 2007 15:44:50 +0000 (15:44 +0000)]
more space efficient unicode tables

11 years agomore idiomatic grapheme breaking
Richard Kettlewell [Sun, 18 Nov 2007 15:44:12 +0000 (15:44 +0000)]
more idiomatic grapheme breaking

11 years agographeme boundary check can now use tables
Richard Kettlewell [Sun, 18 Nov 2007 15:27:36 +0000 (15:27 +0000)]
grapheme boundary check can now use tables

11 years agoword break now comes from the table
Richard Kettlewell [Sun, 18 Nov 2007 15:22:01 +0000 (15:22 +0000)]
word break now comes from the table

11 years agoall characters now in the table, which is broken to save space
Richard Kettlewell [Sun, 18 Nov 2007 14:57:56 +0000 (14:57 +0000)]
all characters now in the table, which is broken to save space

11 years agostart on ut32__unidata() which will provide a uniform interface
Richard Kettlewell [Sun, 18 Nov 2007 14:26:59 +0000 (14:26 +0000)]
start on ut32__unidata() which will provide a uniform interface

11 years agodon't be fooled by First/Last entries in UnicodeData.txt
Richard Kettlewell [Sun, 18 Nov 2007 12:41:24 +0000 (12:41 +0000)]
don't be fooled by First/Last entries in UnicodeData.txt

11 years agounicode_gc_cat -> unicode_General_Category
Richard Kettlewell [Sun, 18 Nov 2007 12:14:24 +0000 (12:14 +0000)]
unicode_gc_cat -> unicode_General_Category

11 years agocompute Sentence_Break as well
Richard Kettlewell [Sun, 18 Nov 2007 12:10:05 +0000 (12:10 +0000)]
compute Sentence_Break as well

11 years agotest and corrections for utf32_is_word_boundary()
Richard Kettlewell [Sun, 18 Nov 2007 11:31:31 +0000 (11:31 +0000)]
test and corrections for utf32_is_word_boundary()

11 years agountested utf32_is_word_boundary() and associated table changes
Richard Kettlewell [Sun, 18 Nov 2007 02:47:51 +0000 (02:47 +0000)]
untested utf32_is_word_boundary() and associated table changes

11 years agotests and a correction for grapheme cluster boundary detection
Richard Kettlewell [Sun, 18 Nov 2007 01:16:16 +0000 (01:16 +0000)]
tests and a correction for grapheme cluster boundary detection

11 years agountested grapheme cluster boundary detection
Richard Kettlewell [Sat, 17 Nov 2007 22:01:22 +0000 (22:01 +0000)]
untested grapheme cluster boundary detection

11 years agoImplement the s3.13 compatibility casefolding transformation as
Richard Kettlewell [Sat, 17 Nov 2007 20:34:40 +0000 (20:34 +0000)]
Implement the s3.13 compatibility casefolding transformation as
utf32_casefold_compat().

Fix checking the surrogates range!

11 years agoStart of Unicode support rewrite
Richard Kettlewell [Sat, 17 Nov 2007 20:07:23 +0000 (20:07 +0000)]
Start of Unicode support rewrite

unicode.c/.h provide a new (not yet complete) Unicode API which implements
algorithms as described in the Unicode 5.0.0 standard.  lib/test and words.c
are somewhat modified to use them.

By default the make-unidata script is NEVER run.  It must be run manually.
This policy might be changed in the future; the script is capable of
downloading any files it needs to operate.

11 years agotone down logging some more
Richard Kettlewell [Fri, 16 Nov 2007 19:17:42 +0000 (19:17 +0000)]
tone down logging some more

11 years agotone down logging
Richard Kettlewell [Fri, 16 Nov 2007 19:14:46 +0000 (19:14 +0000)]
tone down logging

11 years agobuild fix
Richard Kettlewell [Fri, 16 Nov 2007 19:14:39 +0000 (19:14 +0000)]
build fix

11 years agomore systematic elimination of feedback from the gui
Richard Kettlewell [Fri, 16 Nov 2007 13:24:49 +0000 (13:24 +0000)]
more systematic elimination of feedback from the gui

11 years agodisobedience survives losing TCP connections better
Richard Kettlewell [Fri, 16 Nov 2007 13:08:32 +0000 (13:08 +0000)]
disobedience survives losing TCP connections better

11 years agodiscard data sent to logging client; more close fixing
Richard Kettlewell [Tue, 13 Nov 2007 22:23:41 +0000 (22:23 +0000)]
discard data sent to logging client; more close fixing

11 years agofix server crash if log connection fails
Richard Kettlewell [Tue, 13 Nov 2007 20:44:37 +0000 (20:44 +0000)]
fix server crash if log connection fails

11 years agoprogress popup is a transient of the main window
Richard Kettlewell [Mon, 12 Nov 2007 21:46:24 +0000 (21:46 +0000)]
progress popup is a transient of the main window

11 years agorarer nops
Richard Kettlewell [Mon, 12 Nov 2007 21:46:10 +0000 (21:46 +0000)]
rarer nops

11 years agodisobedience volume control is local if rtp play
Richard Kettlewell [Sun, 11 Nov 2007 19:24:07 +0000 (19:24 +0000)]
disobedience volume control is local if rtp play

11 years agonew debian version
Richard Kettlewell [Sun, 11 Nov 2007 17:52:35 +0000 (17:52 +0000)]
new debian version

11 years agosave/load new style settings
Richard Kettlewell [Sun, 11 Nov 2007 17:50:22 +0000 (17:50 +0000)]
save/load new style settings

11 years agouse GtkStyles everywhere instead of explicit colors. faster.
Richard Kettlewell [Sun, 11 Nov 2007 17:29:48 +0000 (17:29 +0000)]
use GtkStyles everywhere instead of explicit colors.  faster.

11 years agoelapsed time profiling for redisplay_tree()
Richard Kettlewell [Sun, 11 Nov 2007 13:40:21 +0000 (13:40 +0000)]
elapsed time profiling for redisplay_tree()

11 years agosuppress more redundant redisplay_tree() calls
Richard Kettlewell [Sun, 11 Nov 2007 12:59:41 +0000 (12:59 +0000)]
suppress more redundant redisplay_tree() calls

11 years agosuppress more redundant redisplay_tree() calls
Richard Kettlewell [Sun, 11 Nov 2007 12:55:52 +0000 (12:55 +0000)]
suppress more redundant redisplay_tree() calls

11 years agoget search results faster (by redisplaying less often)
Richard Kettlewell [Sun, 11 Nov 2007 11:24:57 +0000 (11:24 +0000)]
get search results faster (by redisplaying less often)

11 years agofaster startup by not redrawing so often
Richard Kettlewell [Sun, 11 Nov 2007 11:05:54 +0000 (11:05 +0000)]
faster startup by not redrawing so often

11 years agotypo
rjk@greenend.org.uk [Sat, 10 Nov 2007 18:46:03 +0000 (18:46 +0000)]
typo

11 years agowork around FLAC API change braindamage
Richard Kettlewell [Sat, 10 Nov 2007 18:44:20 +0000 (18:44 +0000)]
work around FLAC API change braindamage

11 years agowork around GCC bug 29478
Richard Kettlewell [Sat, 10 Nov 2007 18:29:44 +0000 (18:29 +0000)]
work around GCC bug 29478

11 years agoforce x-www-browser on debian
Richard Kettlewell [Sat, 10 Nov 2007 15:56:01 +0000 (15:56 +0000)]
force x-www-browser on debian

11 years agomac fix
Richard Kettlewell [Sat, 10 Nov 2007 15:52:52 +0000 (15:52 +0000)]
mac fix

11 years agouse an external browser to view disorder help
Richard Kettlewell [Sat, 10 Nov 2007 15:49:07 +0000 (15:49 +0000)]
use an external browser to view disorder help

11 years agouse gtk native mechanisms to look up text tags in help
Richard Kettlewell [Sat, 10 Nov 2007 14:07:58 +0000 (14:07 +0000)]
use gtk native mechanisms to look up text tags in help

11 years agoserver shouldn't crash on client disconnect!
Richard Kettlewell [Sat, 10 Nov 2007 13:42:11 +0000 (13:42 +0000)]
server shouldn't crash on client disconnect!

11 years agoev_reader and ev_writer now own the FDs you give them. This is
Richard Kettlewell [Sat, 10 Nov 2007 11:47:45 +0000 (11:47 +0000)]
ev_reader and ev_writer now own the FDs you give them.  This is
helpful because they are in a better position to know when to close
them.  They can be tied together to share one FD between the two.

It is still (currently) necessary to explicitly cancel a reader if the
corresponding writer fails.  This may be changed in the future.

Hopefuly this should make event loop bugs at least more tractable.

Currently there is still lots of logging cruft.  This should be
removed before release.

11 years agolog bad closes
Richard Kettlewell [Sat, 10 Nov 2007 11:40:28 +0000 (11:40 +0000)]
log bad closes

11 years agomore cautious buffered writer teardown
Richard Kettlewell [Fri, 9 Nov 2007 21:52:02 +0000 (21:52 +0000)]
more cautious buffered writer teardown

11 years agoregenerate disobedience xpms
Richard Kettlewell [Sun, 4 Nov 2007 18:40:53 +0000 (18:40 +0000)]
regenerate disobedience xpms

11 years agomore tidily clipped about... image
Richard Kettlewell [Sun, 4 Nov 2007 18:38:57 +0000 (18:38 +0000)]
more tidily clipped about... image

11 years agotime/space limits for client output buffering
Richard Kettlewell [Sun, 4 Nov 2007 18:06:04 +0000 (18:06 +0000)]
time/space limits for client output buffering

11 years agoavoid crashes on log client teardown
Richard Kettlewell [Sun, 4 Nov 2007 11:16:14 +0000 (11:16 +0000)]
avoid crashes on log client teardown

11 years agofurther debugging info() calls; marked TODO to remove when bug fixed
Richard Kettlewell [Sat, 3 Nov 2007 14:51:38 +0000 (14:51 +0000)]
further debugging info() calls; marked TODO to remove when bug fixed

11 years agocorrect debug scan of FDs
Richard Kettlewell [Sat, 3 Nov 2007 14:36:32 +0000 (14:36 +0000)]
correct debug scan of FDs

11 years agopattern based dispatch for tracklength plugins
Richard Kettlewell [Sat, 3 Nov 2007 12:44:55 +0000 (12:44 +0000)]
pattern based dispatch for tracklength plugins

11 years agotransparent background for about disorder.. image
Richard Kettlewell [Sat, 3 Nov 2007 12:10:43 +0000 (12:10 +0000)]
transparent background for about disorder.. image

11 years agoAbolish {auto,}rules.m4 and adjust debian/rules to be able to build
Richard Kettlewell [Sat, 3 Nov 2007 11:47:23 +0000 (11:47 +0000)]
Abolish {auto,}rules.m4 and adjust debian/rules to be able to build
from a completely fresh bzr checkout.

11 years agomiscellaneous distribution changes
Richard Kettlewell [Fri, 2 Nov 2007 22:26:00 +0000 (22:26 +0000)]
miscellaneous distribution changes

11 years agocompute stats in a subprocess to avoid wedging the server if it takes ages
Richard Kettlewell [Thu, 1 Nov 2007 19:07:31 +0000 (19:07 +0000)]
compute stats in a subprocess to avoid wedging the server if it takes ages

11 years agosplit out disorder-server.deb
Richard Kettlewell [Wed, 31 Oct 2007 19:26:13 +0000 (19:26 +0000)]
split out disorder-server.deb

11 years agocorrect menu support. update-menus.1 fibs l-)
Richard Kettlewell [Wed, 31 Oct 2007 18:57:15 +0000 (18:57 +0000)]
correct menu support.  update-menus.1 fibs l-)

11 years ago(untested) debian menu entry
Richard Kettlewell [Tue, 30 Oct 2007 23:03:20 +0000 (23:03 +0000)]
(untested) debian menu entry

11 years agomiscellaneous debianization fixes
Richard Kettlewell [Tue, 30 Oct 2007 22:33:34 +0000 (22:33 +0000)]
miscellaneous debianization fixes

11 years agoupdated
Richard Kettlewell [Tue, 30 Oct 2007 20:13:17 +0000 (20:13 +0000)]
updated

11 years agoalways get tool_active right
Richard Kettlewell [Mon, 29 Oct 2007 23:42:47 +0000 (23:42 +0000)]
always get tool_active right

11 years agotypo
Richard Kettlewell [Mon, 29 Oct 2007 23:40:16 +0000 (23:40 +0000)]
typo

11 years agoshiner about... box
Richard Kettlewell [Mon, 29 Oct 2007 23:37:58 +0000 (23:37 +0000)]
shiner about... box

11 years agocolor about... box properly
Richard Kettlewell [Mon, 29 Oct 2007 23:08:56 +0000 (23:08 +0000)]
color about... box properly

11 years agocolorize login box and some missing icon states
Richard Kettlewell [Sun, 28 Oct 2007 19:38:26 +0000 (19:38 +0000)]
colorize login box and some missing icon states

11 years agocolors for properties popup
Richard Kettlewell [Sun, 28 Oct 2007 19:34:15 +0000 (19:34 +0000)]
colors for properties popup

11 years agoremove redundant color
Richard Kettlewell [Sun, 28 Oct 2007 18:03:10 +0000 (18:03 +0000)]
remove redundant color

11 years agoset explicit colors instead of using rc file
Richard Kettlewell [Sun, 28 Oct 2007 13:14:22 +0000 (13:14 +0000)]
set explicit colors instead of using rc file