simon-svn: putty: simon
tartarus-commits at lists.tartarus.org
tartarus-commits at lists.tartarus.org
Mon Dec 20 09:27:44 GMT 2004
SVN root: svn://ixion.tartarus.org/main
Changes by: simon
Revision: 5016
Date: 2004-12-20 09:27:44 +0000 (Mon, 20 Dec 2004)
Log message (12 lines):
The end condition in the binary search loop in the new getType() was
incorrect. I must have written that binary search idiom a hundred
times, so it's rather embarrassing that I can't _automatically_ get
it right! This was causing all kinds of characters to be classified
as ON when they should have been various other classes.
Also while I'm here, I've added another test case to utf8.txt (a
small piece of Arabic within a predominantly L->R line), and also
supplied a means to compile minibidi.c with -DTEST_GETTYPE to
produce a command-line character class lookup tool. (Not sure what
use that'll be _other_ than debugging this precise problem, but I
don't like to throw it away now I've written it :-)
Modified files:
U putty/minibidi.c
U putty/testdata/utf8.txt
Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/minibidi.c?rev=5016&r1=5015&r2=5016
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/testdata/utf8.txt?rev=5016&r1=5015&r2=5016
More information about the tartarus-commits
mailing list