Various bugs in Amaya 1.2a (continued 2)

I managed to compile Amaya 1.2a on Linux. The only extra
steps required were the installation of lestif, and making
"cpp" available in the path. Then I discovered that
the patch I posted earlier was not enough to fix the
problem I was having (with Word 97, actually). It is
a correct patch (as far as I know), but in a libwww
function which is apparently never used by Amaya.

Here is an additional patch (attached to this mail),
which completely fixes the problem. In "Text_SGML.inc",
I would like to see a line added for the '>' character.
In "html2thot.c" this character is present, but there
seems to be a bug in line 333 for the '<' character (the
ASCII code is 60, not 62).

With this fix, every '>' character which is not used
for tag closing is saved as "&gt;", as suggested by
the HTML 4.0 specification.

Is it possible that this patch will be evaluated for
inclusion in the next release of Amaya?

Another remark. The zlib, png and jpeg libraries
distributed with Amaya are very old. Are there
any plans to upgrade them? Compare:

          Amaya includes     Most recent version
zlib        0.95                1.1.2
png         0.88                1.0.1
jpeg        6                    6b

For zlib and jpeg upgrading should be easy. There are no
incompatible changes as far as I know. For png it is a
little bit more difficult because version 0.95 introduced
a new (and much better) API. But it would be fully worth
the effort. All those libraries are available as dll's
on Windows 95/NT, and as shared libraries on UNIX
(I have them for Windows and Linux).

Thanks in advance,
-- 
    Jan Nijtmans, CMG (Computer Management Group) Arnhem B.V.
    email: Jan.Nijtmans@wxs.nl (private)
           Jan.Nijtmans@cmg.nl (work)
    url:   http://home.wxs.nl/~nijtmans/
*** amaya/Text_SGML.inc.orig	Wed Jun 10 21:02:37 1998
--- amaya/Text_SGML.inc	Wed Jun 10 21:03:45 1998
***************
*** 5,10 ****
--- 5,11 ----
  TextTRANSLATE Latin
  	BEGIN
  	'<'    -> '&lt;';
+ 	'>'    -> '&gt;';
  	'&'    -> '&amp;';
  	'\212' -> '\12'; { '&CTLrc;' }
  	'\230' -> 'oe'; { '&oelig;'}
*** amaya/html2thot.c.orig	Wed Jun 10 21:29:27 1998
--- amaya/html2thot.c	Wed Jun 10 21:30:29 1998
***************
*** 330,336 ****
     {"lrarr", 171, 'G'},
     {"lrArr", 219, 'G'},
     {"lsqb", 91, 'G'},
!    {"lt", 62, 'L'},
     {"middot", 215, 'G'},
     {"mldr", 188, 'G'},
     {"mu", 109, 'G'},
--- 330,336 ----
     {"lrarr", 171, 'G'},
     {"lrArr", 219, 'G'},
     {"lsqb", 91, 'G'},
!    {"lt", 60, 'L'},
     {"middot", 215, 'G'},
     {"mldr", 188, 'G'},
     {"mu", 109, 'G'},

Received on Thursday, 11 June 1998 06:31:43 UTC