W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

Re: bug in www program and makefile

From: <jose.kahan@w3.org>
Date: Fri, 28 Jul 2000 12:14:06 +0200 (MET DST)
Message-Id: <200007281014.MAA00628@tuvalu.inrialpes.fr>
To: Stefan Große Pawig <pawig@hildesheim.sgh-net.de>
CC: www-lib@w3.org
Hello Stefan,

Thanks for your patches. I just commited them. The only change I made
was that I only invoke LMHText_new2 if we're not in an interactive mode.
I detect this thru the HTAlert_interactive () function.

They work OK and the new tabs are nice too.

IF you have been following the track, you'll see I decided to stop using
www anyway for generating the .h files and just use the perl script.
Nevertheless, your patches solve a problem and it was a good work! So, it's
now in the base.

Thanks!

-Jose

In our previous episode, Stefan Große Pawig said:
> > 
> > This causes problems for `libwww/Library/src/Makefile.am'
> [...]
> 
> There are actually two problems:
> 1. In spite of the -o option, the output goes to stdout (only a
>    comment start, /*, is placed in the output file).
> 2. When the browser encounters a TAB, it inserts a line break, thus
>    breaking lots of #define directives.
> 
> It turned out that the LineMode browser always uses the LMHText_new()
> function, which is used for interactive mode. It should use
> LMHText_new2() which work in interactive as well as in non-interactive
> mode (at least as far as is could see). This solves the first problem.
> 
> The second problem occurs due to missing tabstop information in the
> default style. I simply copied the tabs_8[] from DefaultStyles.c to
> GridText.c and linked it into the default style.
> 
> With these changes, the library can again be built with the help of a
> previously installed LineMode browser. As far as I can tell, operation
> in interactive mode is not affected.
Received on Friday, 28 July 2000 06:14:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:37 GMT