1151497Sru
2151497SruVersion 1.15 released
3151497Sru=====================
4151497Sru
5151497Sru1999-12-28  Werner LEMBERG  <wl@gnu.org>
6151497Sru
7151497Sru	* NEWS, VERSION: Changed to 1.15
8151497Sru
9151497Sru1999-12-27  Paul Eggert  <eggert@twinsun.com>
10151497Sru
11151497Sru	* nroff/nroff.man: -S is safer, not safe.
12151497Sru
13151497Sru	* groff/groff.cc (main): Use `safer', not `safe', in variable
14151497Sru	names.  This does not change the behavior.
15151497Sru
16151497Sru	* troff/input.cc (main): Likewise.
17151497Sru
18151497Sru	* nroff/nroff.sh: Likewise.
19151497Sru
20151497Sru	* troff/input.cc (prepend_string): New function.
21151497Sru	(main): Prepend -msafer, so that we check macro libraries for
22151497Sru	safety.
23151497Sru
24151497Sru	* PROBLEMS: Report problem with Sun C++ 5.0 and 5.1.
25151497Sru
26151497SruVersion 1.14 released
27151497Sru=====================
28151497Sru
29151497Sru1999-12-26  Werner LEMBERG  <wl@gnu.org>
30151497Sru
31151497Sru	* NEWS, VERSION: Changed to 1.14.
32151497Sru
33151497Sru1999-12-24  Werner LEMBERG  <wl@gnu.org>
34151497Sru
35151497Sru	* refer/refer.cc: Fixing the last fix.
36151497Sru
37151497SruVersion 1.13 released
38151497Sru=====================
39151497Sru
40151497Sru1999-12-23  Werner LEMBERG  <wl@gnu.org>
41151497Sru
42151497Sru	* tmac/tmac.an: A typo (`.if' instead of `.ie') made the page
43151497Sru	number disappear.
44151497Sru
45151497Sru	* NEWS: Updated.
46151497Sru
47151497Sru	* tmac/tmac.safer: Forgot to remove `so' from the `rm' request.
48151497Sru
49151497Sru	* VERSION: Changed to 1.13 -- to be compliant with the Adobe 3.0
50151497Sru	document conventions, the version number must be a real.
51151497Sru
52151497SruVersion 1.12.1 released
53151497Sru=======================
54151497Sru
55151497Sru1999-12-22  Werner LEMBERG  <wl@gnu.org>
56151497Sru
57151497Sru	* VERSION: Changed to 1.12.1.
58151497Sru
59151497Sru1999-12-22  Alan Rooks  <arooks@istar.ca>
60151497Sru
61151497Sru	* refer/refer.cc (do_file): Slight modification to satisfy the
62151497Sru	`Standard system CC - C++ Compilation System 3.1 03/03/99' on SCO
63151497Sru	UnixWare 7.1.
64151497Sru
65151497Sru1999-12-20  Werner LEMBERG  <wl@gnu.org>
66151497Sru
67151497Sru	* changed prep.ai.mit.edu -> ftp.gnu.org; updated copyright
68151497Sru	notices.
69151497Sru
70151497Sru	* tmac/tmac.safer, tmac/groff_msafer.man: Remove `so' (again) from
71151497Sru	list of unsafe requests.
72151497Sru
73151497Sru	* pic/pic.man: Fixed a typo.
74151497Sru
75151497Sru	* man/groff_out.man: Fixed a typo.
76151497Sru
77151497Sru1999-12-18  Werner LEMBERG  <wl@gnu.org>
78151497Sru
79151497Sru	* Makefile.in: Doc fixes.
80151497Sru
81151497Sru1999-12-17  Fabrizio Polacco  <fab@prosa.it>
82151497Sru
83151497Sru	* groff/groff.cc: Missing `U' option added to getopt().
84151497Sru
85151497Sru	* troff/troff.man: Missing `U' option added to synopsis.
86151497Sru
87151497SruVersion 1.12 released
88151497Sru=====================
89151497Sru
90151497Sru1999-12-14  Werner LEMBERG  <wl@gnu.org>
91151497Sru
92151497Sru	* troff/input.cc (usage), groff/groff.cc (synopsis): Added -U flag
93151497Sru	to the synopsis.
94151497Sru
95151497Sru	* nroff/nroff.sh, nroff/nroff.man: Replaced `secure', `unsecure'
96151497Sru	with the more appropriate terms `safer' and `unsafe'.
97151497Sru
98151497Sru	* libgroff/strerror.c, aclocal.m4, configure.in: Added checks for
99151497Sru	sys_nerr and sys_errlist[].
100151497Sru
101151497Sru	* pic/pic.h, aclocal.m4, configure.in: Added check for hypot().
102151497Sru
103151497Sru	* pic/pic.y, pic/pic.cc: Added check for fmod().
104151497Sru
105151497Sru1999-12-13  Werner LEMBERG  <wl@gnu.org>
106151497Sru
107151497Sru	* VERSION: Changed to 1.12.
108151497Sru
109151497Sru	Here some patches from various sources; most of them taken from
110151497Sru	the Debian distribution.
111151497Sru
112151497Sru	* tmac/groff_mdoc.man, tmac/groff_mdoc.samples.man,
113151497Sru	tmac/Makefile.sub: New files copied directly from the NetBSD
114151497Sru	distribution.  Probably, some additional adaptation later on is
115151497Sru	necessary...
116151497Sru
117151497Sru	* tmac/tmac.safer, tmac/groff_msafer.man: Added `so' to the list
118151497Sru	of unsafe requests.
119151497Sru
120151497Sru	* groff/groff.cc, groff/groff.man, nroff/nroff.sh,
121151497Sru	nroff/nroff.man, pic/main.cc, pic/pic.man, troff/input.cc,
122151497Sru	troff/troff.man: Added option `-U' for unsafe mode.  Safe mode
123151497Sru	(`-S') is now the default.
124151497Sru
125151497Sru	* README, NEWS: Updated.
126151497Sru
127151497Sru1999-12-09  Werner LEMBERG  <wl@gnu.org>
128151497Sru
129151497Sru	* doc/groff.texinfo: Regenerated nodes and menus with emacs.
130151497Sru
131151497Sru	* doc/Makefile (clean): Added cleaning commands for groff.texinfo.
132151497Sru
133151497Sru1999-12-06  Werner LEMBERG  <wl@gnu.org>
134151497Sru
135151497Sru	* configure.in: Removed AC_PREFIX_PROGRAM since it causes more
136151497Sru	grief than relief today.  Additionally, it is against the GNU
137151497Sru	coding standards.
138151497Sru
139151497Sru	* configure: Recreated.
140151497Sru
141151497Sru1999-12-05  Werner LEMBERG  <wl@gnu.org>
142151497Sru
143151497Sru	* configure.in: Added GROFF_LIBM.
144151497Sru
145151497Sru	* configure: Recreated.
146151497Sru
147151497Sru	* aclocal.m4 (GROFF_LIBM): New function which tests whether -lm is
148151497Sru	necessary.
149151497Sru
150151497Sru	* Makefile.in: Added definition of $(LIBM).
151151497Sru
152151497Sru	* Makefile.comm (LIBM): Removed.
153151497Sru
154151497Sru	* pfbtops/Makefile.sub: On AIX, -lm is needed also.
155151497Sru
156151497Sru1999-12-03  Gaius Mulley  <gaius@glam.ac.uk>
157151497Sru
158151497Sru	* doc/Makefile: Added rule for generation pic.html.
159151497Sru
160151497Sru	(clean): Files produced by grohtml will be removed also.
161151497Sru
162151497Sru	* doc/pic.ms: Small fix.
163151497Sru
164151497Sru	* tmac/tmac.html: Fixed suppression of headers.
165151497Sru
166151497Sru1999-11-16  Gaius Mulley  <gaius@glam.ac.uk>
167151497Sru
168151497Sru	* tmac/tmac.html: Fixing horizontal arrows.
169151497Sru
170151497Sru	Turning off hyphenation.
171151497Sru
172151497Sru	* tmac/tmac.an: Improved support for grohtml; better indentation,
173151497Sru	no footers/headers.
174151497Sru
175151497Sru1999-10-31  Gaius Mulley  <gaius@glam.ac.uk>
176151497Sru
177151497Sru	* tmac/tmac.arkup: Added CDFTP macro
178151497Sru
179151497Sru	* tmac/tmac.html: All headers are turned off for ms, me, and mm
180151497Sru	macros.
181151497Sru
182151497Sru	* tmac/troffrc: Some additions for HTML stuff.
183151497Sru
184151497Sru1999-10-06  Gaius Mulley  <gaius@glam.ac.uk>
185151497Sru
186151497Sru	* tmac/tmac.html: Small changes.
187151497Sru
188151497Sru1999-09-26  Werner LEMBERG  <wl@gnu.org>
189151497Sru
190151497Sru	* doc/groff.texinfo: Minor fixes.
191151497Sru
192151497Sru1999-09-26  Gaius Mulley  <gaius@glam.ac.uk>
193151497Sru
194151497Sru	* devhtml/TR: Changed spacewidth to 3.
195151497Sru
196151497Sru	* tmac/Makefile.sub (NORMALFILES): Added tmac.arkup.
197151497Sru
198151497Sru	* tmac/tmac.html: Moved markup macros to tmap.arkup.
199151497Sru
200151497Sru	* tmac/tmac.arkup: New file.
201151497Sru
202151497Sru	* grohtml/ChangeLog: New file.
203151497Sru
204151497Sru1999-09-16  Werner LEMBERG  <wl@gnu.org>
205151497Sru
206151497Sru	* doc/groff.texinfo (Common Features): Added Copying chapter.
207151497Sru	Changed format to @smallbook.
208151497Sru
209151497Sru1999-09-15  Werner LEMBERG  <wl@gnu.org>
210151497Sru
211151497Sru	* NEWS: Added info about groff.texinfo.
212151497Sru
213151497Sru	* doc/groff.texinfo: Will now compile (using texi2dvi) without
214151497Sru	warning messages.
215151497Sru
216151497Sru1999-09-14  Werner LEMBERG  <wl@gnu.org>
217151497Sru
218151497Sru	* groff/groff.man: More updates.
219151497Sru
220151497Sru1999-09-13  Werner LEMBERG  <wl@gnu.org>
221151497Sru
222151497Sru	* doc/groff.texinfo: New file.  This manual is still very
223151497Sru	rudimentary.  It has been originally contributed by Trent
224151497Sru	A. Fisher <trent@gnurd.portland.or.us> with first corrections and
225151497Sru	additions by me.
226151497Sru
227151497Sru	* INSTALL: Added information about the `doc' subdir
228151497Sru
229151497Sru	* troff/troff.man: Minor fixes.
230151497Sru
231151497Sru	* groff/groff.man: Added missing `-L arg' to SYNOPSIS section;
232151497Sru	reordered options.
233151497Sru
234151497Sru	* troff/input.cc (usage): Added missing `-ffam' to usage message.
235151497Sru
236151497Sru	* Makefile.in (dist): groff-$(version).tar.gz must be removed
237151497Sru	also, otherwise it is included itself in another call of `make
238151497Sru	dist'.
239151497Sru
240151497Sru	* groff/groff.cc (synopsis): Removed superfluous space.
241151497Sru
242151497Sru	* PROJECTS, PROBLEMS, NEWS: Updated.
243151497Sru
244151497Sru	* VERSION: Updated to 1.12beta.
245151497Sru
246151497Sru	* BUG-REPORT: Some cosmetic fixes.  Corrected email address.
247151497Sru
248151497Sru	* README: Updated: Included documentation about CVS repository,
249151497Sru	mailing lists, and daily snapshots.
250151497Sru
251151497Sru	* tmac/Makefile.sub: Fixed $(tmap_wrap) finally.
252151497Sru
253151497Sru1999-09-12  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>
254151497Sru
255151497Sru	* tmac/tmac.an: If the tag didn't fit into the space that the
256151497Sru	macro `TP' specifies, the rest of the tag went into the space for
257151497Sru	the next line.
258151497Sru
259151497Sru1999-09-12  Jeffrey Copeland  <jeff@opennt.com>
260151497Sru
261151497Sru	* grolj4/lj4.cc: Added duplex printing (option `-d').
262151497Sru
263151497Sru	* grolj4/grolj4.man: Document duplex printing.
264151497Sru
265151497Sru1999-09-12  Werner LEMBERG  <wl@gnu.org>
266151497Sru
267151497Sru	* doc/Makefile (pic.ps): Fixed rule which caused problems with
268151497Sru	non-GNUish sed programs.
269151497Sru
270151497Sru	* tmac/doc-syms: Removed extra space from -iso8802-3 macro
271151497Sru	definition.
272151497Sru
273151497Sru	* configure.in (LIBS): Added `-lc'
274151497Sru
275151497Sru	* Makefile.comm (.man.n): Added substitution for @TMAC_AN_PREFIX@.
276151497Sru
277151497Sru	* pic/tex.cc (solid_arc): Casting M_PI to double.
278151497Sru
279151497Sru	* libgroff/putenv.c (putenv): Changed function header to ANSI C.
280151497Sru
281151497Sru	* groff/groff.man, tmac/Makefile.sub (MAN7), tmac/groff_msafer.man
282151497Sru	(new file), tmac/msafer.man (deleted), tmac/groff_me.man (new
283151497Sru	file), tmac/me.man (deleted): {me,msafer} -> groff_{me,msafer}.
284151497Sru
285151497Sru	* groff/groff_man.man: New file.  This manual page was originally
286151497Sru	written for the Debian GNU/Linux system by Susan G. Kleinmann
287151497Sru	<sgk@debian.org>.
288151497Sru
289151497Sru	* eqn/list.cc (list_box::compute_metrics,
290151497Sru	list_box::compute_sublist_width): Removed variable declaration to
291151497Sru	avoid shadowing warnings.
292151497Sru
293151497Sru	* grops/psrm.cc (resource_manager::process_file): Ditto.
294151497Sru
295151497Sru	* tfmtodit/tfmtodit.cc (main): Ditto.
296151497Sru
297151497Sru	* libgroff/font.cc (font::load_desc): Renamed auxiliary variable
298151497Sru	to avoid shadowing warnings.
299151497Sru
300151497Sru	* tbl/table.cc (block_entry::do_divert, table::do_row): Renamed
301151497Sru	shadowing loop variable.
302151497Sru
303151497Sru	* groff/groff.man, troff/troff.man: Added doc about grohtml.
304151497Sru
305151497Sru1999-09-12  Gaius Mulley  <gaius@glam.ac.uk>
306151497Sru
307151497Sru	New grohtml frontend to convert groff input to html.
308151497Sru
309151497Sru	* Makefile.in (CCPROGDIRS, DEVDIRS): Added html device.
310151497Sru
311151497Sru	* tmac/Makefile.sub (NORMALFILES): Added tmac.html.
312151497Sru
313151497Sru	* tmac/eqnrc: Added html device.
314151497Sru
315151497Sru	* tmac/tmac.html: New file.
316151497Sru
317151497Sru	* eqn/main.cc (do_file, inline_equation), pic/troff.cc
318151497Sru	(troff_output::start_picture, troff_output::finish_picture),
319151497Sru	tbl/main.cc (process_input_file):
320151497Sru	Surrounded output with `graphics_start' and `graphics_end' so that
321151497Sru	the html driver can identify non-text portions.
322151497Sru
323151497Sru	* grodvi/dvi.cc (dvi_printer::set_char), grolj4/lj4.cc
324151497Sru	(lj4_printer::set_char), grops/ps.cc (ps_printer::set_char),
325151497Sru	grotty/tty.ps (tty_printer::set_char): Additional parameter
326151497Sru	`name'.
327151497Sru
328151497Sru	* include/printer.h: Class printer: New function
329151497Sru	set_char_and_width; new variables (is_char_named, is_named_set,
330151497Sru	named_command, named_char_s, named_char_n) to hold information
331151497Sru	about named characters -- needed by the html driver.
332151497Sru
333151497Sru	* libdriver/printer.cc (printer::set_ascii_char,
334151497Sru	printer::set_special_char): Use set_char_and_width.
335151497Sru
336151497Sru	* devhtml/*: New device files for html driver.
337151497Sru
338151497Sru	* grohtml/*: New driver grohtml.
339151497Sru
340151497Sru1999-09-11  Wilfredo Sanchez  <wsanchez@apple.com>
341151497Sru
342151497Sru	* tmac/doc-common, tmac/tmac.an: Removed the word `UNIX' in
343151497Sru	default strings.
344151497Sru
345151497Sru1999-09-11  Luke Mewburn  <lukem@netbsd.org>
346151497Sru
347151497Sru	* libgroff/string.cc (search): Small fix to test against NULL
348151497Sru	pointer.
349151497Sru
350151497Sru1999-09-11  Jeff Conrad  <jeff_conrad@msn.com>
351151497Sru
352151497Sru	* troff/node.cc (copy): The characters in a bracket escape (e.g.,
353151497Sru	\b'abc') were stacked in reverse order when processed in a
354151497Sru	diversion.
355151497Sru
356151497Sru	* troff/node.h: Added `*last' to struct `node' to make the above
357151497Sru	fix work.
358151497Sru
359151497Sru	* troff/input.cc (read_draw_node), libdriver/input.cc (do_file):
360151497Sru	The default scale for the 'f' and 't' graphics functions were 'm'
361151497Sru	rather than 'u' (i.e., no scaling).
362151497Sru
363151497Sru1999-09-11  Peter Miller  <peterm@jna.com.au>
364151497Sru
365151497Sru	* groff/groff.cc (main), groff.man, soelim/soelim.cc (main,
366151497Sru	do_file), soelim/soelim.man: Added `-I file' option to soelim,
367151497Sru	defining include paths.
368151497Sru
369151497Sru	* soelim/soelim.cc (include_path_append): New function.
370151497Sru
371151497Sru1999-09-11  Larry Jones  <larry.jones@sdrc.com>
372151497Sru
373151497Sru	* tbl/main.cc (process_options): Unix (at least Documenter's
374151497Sru	Workbench) tbl allows arbitrary non-alpha characters between
375151497Sru	options.
376151497Sru
377151497Sru1999-09-11  Paul Eggert  <eggert@twinsun.com>
378151497Sru
379151497Sru	Y2k fixes.  Don't assume that the current year precedes 2000.
380151497Sru
381151497Sru	* doc/meref.me: Add \n(y2, \n(y4.
382151497Sru
383151497Sru	* tmac/doc-common (Yr): New number register.
384151497Sru	(Dd): Don't assume current year precedes 2000.
385151497Sru
386151497Sru	* tmac/tmac.e (td): Likewise.
387151497Sru	(y2, y4): New number registers.
388151497Sru
389151497Sru	* pic/pic.man: Update reference for pic paper to May, 1991
390151497Sru	version.
391151497Sru
392151497Sru1999-09-11  Werner LEMBERG  <wl@gnu.org>
393151497Sru
394151497Sru	* tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
395151497Sru	Removed quotation marks which prevented correct expansion of
396151497Sru	$(tmac_wrap).
397151497Sru
398151497Sru	* devlj4/Makefile.sub (LJ4RES): Fixed value (600 instead of 300).
399151497Sru
400151497Sru1999-09-10  Werner LEMBERG  <wl@gnu.org>
401151497Sru
402151497Sru	* Makefile.sub (DISTCLEANFILES): Added `config.log' and
403151497Sru	`config.cache'.
404151497Sru
405151497Sru	* Removed configure.old.
406151497Sru
407151497Sru1999-08-31  Werner LEMBERG  <wl@gnu.org>
408151497Sru
409151497Sru	* VERSION: Updated to 1.11.1
410151497Sru
411151497Sru1999-05-27  Werner LEMBERG  <wl@gnu.org>
412151497Sru
413151497Sru	* doc/Makefile: changed `.PS' postfix to `.ps' for consistency.
414151497Sru
415151497Sru	* tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
416151497Sru	added quotations around $(tmac_wrap) to avoid syntax error if
417151497Sru	variable is empty.
418151497Sru
419151497Sru	* configure: Newly generated using autoconf 2.13.
420151497Sru
421151497Sru	* Makefile.in (LDFLAGS): Set variable to @LDFLAGS@.
422151497Sru
423151497SruFri Aug 15 08:51:47 1997  Eric S. Raymond  <esr@snark.thyrsus.com>
424151497Sru
425151497Sru	* README, PROJECTS, NEWS, INSTALL, VERSION,
426151497Sru	doc/Makefile. doc/pic.ms, groff/groff.man:
427151497Sru	Prepare for 1.11 release.  No code changes.
428151497Sru	Documentation for pic added (doc/pic.ms).
429151497Sru
430151497SruSun Nov 26 11:45:13 1995  James Clark  <jjc@jclark.com>
431151497Sru
432151497Sru	* Version 1.10 released.
433151497Sru
434151497SruFri Nov 24 09:56:16 1995  James Clark  <jjc@jclark.com>
435151497Sru
436151497Sru	* afmtodit/afmtodit.pl: Avoid comment on first line.
437151497Sru
438151497SruMon Nov 20 11:13:49 1995  James Clark  <jjc@jclark.com>
439151497Sru
440151497Sru	* aclocal.m4 (GROFF_INSTALL_SH): New macro.
441151497Sru	* configure.in: Call it.
442151497Sru
443151497Sru	* Makefile.sub (configure): Depends on aclocal.m4 not acgroff.m4.
444151497Sru	(distfiles): Doesn't depend on config.log or config.cache.
445151497Sru
446151497SruSun Oct  1 08:45:36 1995  James Clark  <jjc@jclark.com>
447151497Sru
448151497Sru	* grog/grog.sh: Use print "" rather than print in END rule.
449151497Sru
450151497SruWed Aug 23 13:30:52 1995  James Clark  <jjc@jclark.com>
451151497Sru
452151497Sru	* tbl/main.cc (process_data): Don't give error for excess data
453151497Sru	entries that are comments.
454151497Sru
455151497SruFri Jul 28 11:00:27 1995  James Clark  <jjc@jclark.com>
456151497Sru
457151497Sru	* tbl/main.cc (process_data): Fix case where new for-scope rules
458151497Sru	silently change meaning of code.
459151497Sru
460151497SruTue Jul  4 23:39:51 1995  James Clark  <jjc@jclark.com>
461151497Sru
462151497Sru	* troff/env.cc (hyphenate): Loop over all consecutive sequences
463151497Sru	of non-zero hyphenation codes.
464151497Sru
465151497SruSat Jul  1 00:42:15 1995  James Clark  <jjc@jclark.com>
466151497Sru
467151497Sru	* aclocal.m4 (GROFF_POSIX): Use conflicting declaration technique.
468151497Sru
469151497SruThu Jun 29 13:58:36 1995  James Clark  <jjc@jclark.com>
470151497Sru
471151497Sru	* tmac/tmac.e (ip): Divert the tag so as to freeze the spaces.
472151497Sru
473151497SruTue Jun 27 12:30:16 1995  James Clark  <jjc@jclark.com>
474151497Sru
475151497Sru	* tmac/tmac.andoc: Make it work in compatibility mode.
476151497Sru
477151497Sru	* refer/token.h (token_info::is_range_sep): New function.
478151497Sru	* refer/token.cc (init_special_chars): Make \(en a RANGE_SEP.
479151497Sru	* refer/ref.cc (reference::output): More sophisticated check for
480151497Sru	multiple pages.
481151497Sru
482151497Sru	* devps/prologue.ps (MANUAL): New procedure.
483151497Sru	* grops/ps.cc (main): New -m option.
484151497Sru	(usage): Include -m.
485151497Sru	(ps_printer::~ps_printer): Implement -m.
486151497Sru
487151497Sru	* aclocal.m4 (GROFF_G): New macro.
488151497Sru	* configure.in: Call it.
489151497Sru	* Makefile.in (g): Provided by configure.
490151497Sru
491151497Sru	* hpftodit/hpftodit.cc (basename): Rename to xbasename.
492151497Sru
493151497Sru	* tmac/tmac.tty: Disable warning about bad fonts.  Remove font
494151497Sru	translations.
495151497Sru
496151497Sru	* Makefile.in (tmacpath): Don't include /usr/lib/tmac.
497151497Sru	(tmac_m, tmac_s): Deleted.
498151497Sru	(sys_tmac_prefix, tmac_wrap, tmac_prefix, tmac_an_prefix,
499151497Sru	tmac_s_prefix): New variables.
500151497Sru	(MDEFINES): Change accordingly.
501151497Sru	* Makefile.comm (.man.n): Use new TMAC_* variables.
502151497Sru	* configure.in (GROFF_TMAC): Call.
503151497Sru	* aclocal.m4 (GROFF_TMAC): Define.
504151497Sru	* tmac/Makefile.sub (stamp_wrap): New target.
505151497Sru	(install_data, uninstall_sub): Handle macro wrapping.
506151497Sru
507151497SruMon Jun 26 14:54:39 1995  James Clark  <jjc@jclark.com>
508151497Sru
509151497Sru	* tbl/main.cc (main): Ignore -T option.
510151497Sru
511151497SruThu Jun 22 09:08:06 1995  James Clark  <jjc@jclark.com>
512151497Sru
513151497Sru	* devlj4/generate/special.map: Add definition of \(nb.
514151497Sru
515151497Sru	* tmac/tmac.dvi: Add definition of \(nb.
516151497Sru
517151497Sru	* troff/dictionary.c (dictionary::dictionary): association::v gets
518151497Sru	initialized by association::association.
519151497Sru
520151497Sru	* tmac/Makefile.sub: Avoid using temporary files when installing.
521151497Sru
522151497Sru	* troff/env.cc (environment::set_font): Make bad font number a
523151497Sru	warning.
524151497Sru
525151497Sru	* Makefile.in (fontpath): Remove $(prefix)/lib/font from fontpath.
526151497Sru
527151497Sru	* Makefile.in (datadir): Use share rather than lib.
528151497Sru
529151497Sru	* groff/groff.cc (basename): Rename to xbasename.
530151497Sru
531151497SruWed Jun 21 16:59:46 1995  James Clark  <jjc@jclark.com>
532151497Sru
533151497Sru	* Makefile (CCLIBS): Don't use.
534151497Sru	* Makefile.ccpg: Likewise.
535151497Sru
536151497Sru	* acgroff.m4: Rename to...
537151497Sru	* aclocal.m4: Modify extensively for autoconf 2.
538151497Sru	* configure.in: Likewise.
539151497Sru	* Makefile.in: Likewise.
540151497Sru
541151497Sru	* groff/pipeline.c (const): Declare as empty if __STDC__ not
542151497Sru	defined.
543151497Sru	(xstrsignal): Check for definition of NSIG. Conditionalize
544151497Sru	on SYS_SIGLIST_DECLARED.  Make return type const.
545151497Sru
546151497SruSat Jun 10 12:28:16 1995  James Clark  <jjc@jclark.com>
547151497Sru
548151497Sru	* troff/input.cc (interpolate_macro): Rephrase missing space
549151497Sru	warning.
550151497Sru
551151497SruThu May 11 01:07:16 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
552151497Sru
553151497Sru	* addftinfo/addftinfo.cc, eqn/delim.cc, eqn/lex.cc, eqn/list.cc,
554151497Sru	grodvi/dvi.cc, groff/groff.cc, grops/ps.cc, grops/psrm.cc,
555151497Sru	grotty/tty.cc, include/ptable.h indxbib/indxbib.cc,
556151497Sru	libbib/index.cc, libbib/linear.cc, libbib/search.cc,
557151497Sru	libdriver/input.cc, libdriver/printer.cc, libgroff/font.cc,
558151497Sru	libgroff/lf.cc, libgroff/nametoindex.cc, libgroff/ptable.cc,
559151497Sru	libgroff/string.cc, lkbib/lkbib.cc, lookbib/lookbib.cc,
560151497Sru	pic/lex.cc, pic/object.cc, pic/pic.y refer/label.y refer/ref.cc,
561151497Sru	refer/refer.cc, refer/token.cc, tbl/main.cc, tbl/table.cc,
562151497Sru	tfmtodit/tfmtodit.cc, troff/dictionary.cc, troff/div.cc,
563151497Sru	troff/env.cc, troff/input.cc, troff/node.cc, troff/symbol.cc:
564151497Sru	Fix 'for' scoping.
565151497Sru
566151497SruWed Apr 19 21:15:11 1995  James Clark  <jjc@jclark.com>
567151497Sru
568151497Sru	* troff/input.cc (spring_trap): Push a macro_iterator rather than a
569151497Sru	string_iterator.
570151497Sru	(spring_trap, postpone_traps, unpostpone_traps): Move to later in
571151497Sru	file.
572151497Sru	(macro_iterator::macro_iterator): Add additional argument.
573151497Sru
574151497SruMon Apr 10 12:06:02 1995  James Clark  <jjc@jclark.com>
575151497Sru
576151497Sru	* troff/div.cc (vertical_size::vertical_size): In place of integer
577151497Sru	specifying line spacing use cunits specifying post vertical
578151497Sru	space.
579151497Sru	(macro_diversion::output, top_level_diversion::output): Likewise.
580151497Sru	* troff/div.h: Change declarations accordingly.
581151497Sru	* troff/env.cc (pending_output_line): Replace ls field by post_vs
582151497Sru	field.
583151497Sru	(pending_output_line::pending_output_line,
584151497Sru	pending_output_line::output, environment::output,
585151497Sru	environment::output_line, environment::output_title,
586151497Sru	environment::hyphenate_line):  In place of
587151497Sru	integer specifying line spacing use cunits specifying post vertical
588151497Sru	space.
589151497Sru	(environment::environment): Add post_vertical_spacing and
590151497Sru	prev_post_vertical_spacing arguments.
591151497Sru	(environment::get_post_vertical_spacing): New function.
592151497Sru	(environment::total_post_vertical_spacing): New function.
593151497Sru	(environment::post_vertical_spacing): New function.
594151497Sru	(init_env_requests): Initialize pvs request and .pvs register.
595151497Sru	* troff/env.h: Change declarations.
596151497Sru
597151497SruTue Mar 28 09:52:07 1995  James Clark  <jjc@jclark.com>
598151497Sru
599151497Sru	* tmac/tmac.pspic: Immediately remove the temporary file.
600151497Sru
601151497SruSat Mar 25 10:43:11 1995  James Clark  <jjc@jclark.com>
602151497Sru
603151497Sru	* tmac/tmac.pspic (PSPIC): Scale graphic uniformly even when
604151497Sru	height is specified.
605151497Sru
606151497SruThu Jan 26 16:20:13 1995  James Clark  <jjc@jclark.com>
607151497Sru
608151497Sru	* tbl/table.c (struct vertical rule, class table_entry): Use int
609151497Sru	not short for start_row and end_row.
610151497Sru
611151497SruFri Jan 13 13:53:05 1995  James Clark  <jjc@jclark.com>
612151497Sru
613151497Sru	* troff/input.cc (trapping_blank_line, blank_line_macro): New
614151497Sru	functions.
615151497Sru	(diverted_space_node::reread, process_input_stack): Call
616151497Sru	trapping_blank_line() rather than blank_line().
617151497Sru	(init_input_requests): Bind "blm" to blank_line_macro().
618151497Sru
619151497Sru	* tmac/tmac.s (XA): Use .br and par@reset rather than XA.
620151497Sru
621151497SruTue Jan 10 11:40:35 1995  James Clark  <jjc@jclark.com>
622151497Sru
623151497Sru	* troff/env.cc (environment::possibly_break_line): Require that
624151497Sru	width total excluding width of final space node be greater than
625151497Sru	the target text length.
626151497Sru
627151497SruTue Jan  3 09:13:37 1995  James Clark  <jjc@jclark.com>
628151497Sru
629151497Sru	* troff/node.cc (kern_pair_node::vertical_extent): New function.
630151497Sru
631151497SruSun Dec  4 13:19:07 1994  James Clark  <jjc@jclark.com>
632151497Sru
633151497Sru	* troff/node.cc (charinfo_node): New class.
634151497Sru	(glyph_node, composite_node): Derive from charinfo_node.  Change
635151497Sru	member functions accordingly.
636151497Sru
637151497SruWed Nov 30 10:29:29 1994  James Clark  <jjc@jclark.com>
638151497Sru
639151497Sru	* nroff/nroff.sh: Use -Tlatin1 not -TLatin1.
640151497Sru
641151497SruMon Aug  8 10:17:59 1994  James Clark  (jjc@jclark.com)
642151497Sru
643151497Sru	* tmac/tmac.tty-char: Add definitions for \(ab and \[arrowvertex].
644151497Sru
645151497Sru	* devps/generate/textmap (notsubset): Add.
646151497Sru
647151497Sru	* tmac/tmac.a4: New file.
648151497Sru
649151497SruSun Jul 24 20:08:42 1994  James Clark  (jjc@jclark.com)
650151497Sru
651151497Sru	* pic/main.cc (had_parse_error): New variable.
652151497Sru	(do_picture, do_whole_file): Set had_parse_error if yyparse()
653151497Sru	returns non-zero.
654151497Sru	(main): Return 1 if had_parse_error is true.
655151497Sru
656151497SruTue Jul 19 13:40:31 1994  James Clark  (jjc@jclark.com)
657151497Sru
658151497Sru	* grolj4/lj4.cc (main): Avoid use of strtoul.
659151497Sru
660151497SruMon Jul 18 15:03:02 1994  James Clark  (jjc@jclark.com)
661151497Sru
662151497Sru	* nroff/nroff.sh: Default device is -Tlatin1 if $LC_CTYPE is
663151497Sru	iso_8859_1 or $LESSCHARSET is latin1.
664151497Sru
665151497SruSun Jul 10 13:38:35 1994  James Clark  (jjc@jclark.com)
666151497Sru
667151497Sru	* hpftodit: New directory.
668151497Sru	* Makefile.in (CCPROGDIRS): Add hpftodit.
669151497Sru	* devlj4/generate: New directory.
670151497Sru
671151497SruThu Jul  7 23:49:48 1994  James Clark  (jjc@jclark.com)
672151497Sru
673151497Sru	* configure.in: Don't use AC_VFORK.
674151497Sru	* groff/pipeline.c (run_pipeline): Use fork() always.
675151497Sru
676151497SruWed Jul  6 11:13:17 1994  James Clark  (jjc@jclark.com)
677151497Sru
678151497Sru	* grops/ps.cc (main): Use %1 not %s in error message for -w.
679151497Sru
680151497Sru	* Makefile.in (CCPROGDIRS): Add grolj4.
681151497Sru	(DEVDIRS): Add devlj4.
682151497Sru	* grolj4, devlj4: New directories.
683151497Sru	* tmac/troffrc: Handle lj4.
684151497Sru	* tmac/tmac.lj4: New file.
685151497Sru
686151497SruFri Jun 17 18:02:53 1994  James Clark  (jjc@jclark.com)
687151497Sru
688151497Sru	* tmac/tmac.e (@n): Set indent to 0 before calling |h.
689151497Sru
690151497SruWed Jun  1 07:33:47 1994  James Clark  (jjc@jclark.com)
691151497Sru
692151497Sru	* troff/input.cc (do_if_request): At end of second string, switch
693151497Sru	environments before getting next token.
694151497Sru
695151497SruFri May 20 07:39:18 1994  James Clark  (jjc@jclark.com)
696151497Sru
697151497Sru	* devps/psstrip.sed: Split rule that strips whitespace on either
698151497Sru	side of delimiters.
699151497Sru
700151497SruWed May 18 08:13:47 1994  James Clark  (jjc@jclark.com)
701151497Sru
702151497Sru	* troff/node.h (font_family::make_definition): Add return value to
703151497Sru	declaration.  * troff/symbol.h (symbol::operator==,
704151497Sru	symbol::operator!=): Likewise.
705151497Sru
706151497SruTue May 17 20:46:06 1994  James Clark  (jjc@jclark.com)
707151497Sru
708151497Sru	* groff/groff.cc (main, help, synopsis): Handle -S.
709151497Sru	(possible_command::insert_arg): New function.
710151497Sru
711151497Sru	* tmac/tmac.safer: New file.
712151497Sru	* tmac/msafer.man: New file.
713151497Sru	* tmac/Makefile.sub (FILES): Add tmac.safer and msafer.man.
714151497Sru
715151497SruThu Mar 10 01:58:30 1994  Paul Eggert  (eggert@twinsun.com)
716151497Sru
717151497Sru	* pic/pic.h, pic/main.cc (safer_flag): New variable.
718151497Sru	* pic/pic.y (placeless_element): Avoid unsafe operations if
719151497Sru	`safer_flag' is set.
720151497Sru	* pic/main.cc (main): Add -S option, which sets `safer_flag'.
721151497Sru
722151497SruTue May 10 13:02:31 1994  James Clark  (jjc@jclark.com)
723151497Sru
724151497Sru	* eqn/lex.cc (get_token): Put call to add_context() in block to
725151497Sru	work around Sun C++ 4.0 bug.
726151497Sru
727151497Sru	* include/stringclass.h (operator +): Use ?: instead of `if' to
728151497Sru	work around Sun C++ 4.0 bug.
729151497Sru
730151497SruThu May  5 11:18:03 1994  James Clark  (jjc@jclark.com)
731151497Sru
732151497Sru	* tbl/main.cc (process_format): Accept - as a synonym for the _
733151497Sru	key letter.
734151497Sru
735151497Sru	* libbib/index.cc (minus_one): Don't declare as const.
736151497Sru
737151497SruFri Apr 29 09:32:48 1994  James Clark  (jjc@jclark.com)
738151497Sru
739151497Sru	* troff/input.cc (get_char_for_escape_name): Push back a newline.
740151497Sru
741151497SruWed Apr 27 21:14:18 1994  James Clark  (jjc@jclark.com)
742151497Sru
743151497Sru	* troff/input.cc (write_macro_request): New function.
744151497Sru	(init_input_requests): Bind write_macro_request to writem.
745151497Sru
746151497SruSun Apr 17 11:15:38 1994  James Clark  (jjc@jclark.com)
747151497Sru
748151497Sru	* tmac/tmac.s (@EN): Turn filling back on even if there was no
749151497Sru	equation.
750151497Sru
751151497Sru	* eqn/lex.cc (do_space): Supply missing argument to lex_error.
752151497Sru
753151497Sru	* tmac/tmac.s (@TS): Renamed from TS.
754151497Sru	(TS): Call LP then TS again.
755151497Sru	(cov*ab-init): Alias @TS to TS.
756151497Sru
757151497Sru	* tmac/tmac.s: Allow QP or RS to initialize.
758151497Sru
759151497Sru	* tmac/tmac.s (par@load-init): New macro.  Call at end of file.
760151497Sru	Move initializations of PS and LL here.
761151497Sru	(par@init): Don't initialize HY.  Avoid changing environment 0.
762151497Sru	(par*env-init): Don't all par@reset.
763151497Sru
764151497SruThu Apr 14 19:15:45 1994  James Clark  (jjc@jclark.com)
765151497Sru
766151497Sru	* include/posix.h: Include <fcntl.h> only if not using <osfcn.h>.
767151497Sru
768151497SruSun Apr 10 09:54:44 1994  James Clark  (jjc@jclark.com)
769151497Sru
770151497Sru	* Makefile.in (MDEFINES): Add LDFLAGS.
771151497Sru	(LDFLAGS): Add definition line.
772151497Sru
773151497SruThu Apr  7 22:22:22 1994  James Clark  (jjc@jclark.com)
774151497Sru
775151497Sru	* troff/input.cc (get_optional_char): Split off error check into...
776151497Sru	(check_missing_character): New function.
777151497Sru	* troff/token.h: Declare it.
778151497Sru	* troff/env.cc (margin_character): Don't call get_optional_char.
779151497Sru	Only call tok.next() after making the node.
780151497Sru
781151497Sru	* include/lib.h (getopt): Make 2nd argument char *const *.
782151497Sru
783151497SruFri Mar 11 07:28:03 1994  James Clark  (jjc@jclark.com)
784151497Sru
785151497Sru	* nroff/conftest.sh: Deleted.
786151497Sru
787151497SruFri Mar  4 10:51:36 1994  James Clark  (jjc@jclark.com)
788151497Sru
789151497Sru	* pic/make-dos-dist: Deleted.
790151497Sru
791151497SruWed Mar  2 20:59:16 1994  James Clark  (jjc@jclark.com)
792151497Sru
793151497Sru	* devps/psstrip.sed: Strip comments before stripping trailing
794151497Sru	white space.
795151497Sru
796151497SruSat Feb 19 13:07:16 1994  James Clark  (jjc@jclark.com)
797151497Sru
798151497Sru	* Version 1.09 released.
799151497Sru
800151497SruWed Feb 16 16:53:49 1994  James Clark  (jjc@jclark.com)
801151497Sru
802151497Sru	* tmac/doc-ditroff (hK): Don't reset page number if \nC is > 0.
803151497Sru
804151497SruMon Feb 14 08:26:40 1994  James Clark  (jjc@jclark.com)
805151497Sru
806151497Sru	* libgroff/font.cc (font::load_desc): Fix typo in error message.
807151497Sru
808151497SruSun Feb 13 09:37:38 1994  James Clark  (jjc@jclark.com)
809151497Sru
810151497Sru	* libgroff/new.cc (operator new): Rewrite so as to avoid warning
811151497Sru	about returning without a value.
812151497Sru
813151497Sru	* troff/charinfo.h (charinfo::get_special_translation): Cast
814151497Sru	TRANSLATE_NONE to int.
815151497Sru
816151497Sru	* refer/token.cc (lookup_token, store_token): Remove bogus loop
817151497Sru	test.  Fix test so that it works with n unsigned.
818151497Sru
819151497Sru	* pic/pic.y (defaults_table): Fully bracket initializer.
820151497Sru	* pic/lex.cc (lookup_keyword): Likewise.
821151497Sru	* eqn/lex.cc (token_table, def_table): Likewise.
822151497Sru	* eqn/box.cc (param_table): Likewise.
823151497Sru	* troff/input.cc (warning_table): Likewise.
824151497Sru	* libgroff/font.cc (table): Likewise.
825151497Sru	* grops/ps.cc (ps_printer::special): Likewise.
826151497Sru	* grops/psrm.cc (resource_manager::process_file): Likewise.
827151497Sru	* tfmtodit/tfmtodit.cc (lig_chars, lig_table): Likewise.
828151497Sru	* refer/command.cc (command_table): Likewise.
829151497Sru	* addftinfo/addftinfo.cc (param_table): Likewise.
830151497Sru
831151497Sru	* troff/symbol.cc (symbol::symbol): Prevent compiler warnings
832151497Sru	about temp's being unused.
833151497Sru	(unused): New function.
834151497Sru
835151497Sru	* groff/pipeline.cc: Declare c_fatal.
836151497Sru
837151497Sru	* libbib/linear.cc (bmpattern::search): Cast patterrn[--j] to
838151497Sru	uchar.
839151497Sru
840151497Sru	* libbib/index.cc (index_search_item::load): Prevent compiler
841151497Sru	warnings about fd_closer's being unused.
842151497Sru	(unused): New function.
843151497Sru
844151497SruSat Feb 12 10:31:59 1994  James Clark  (jjc@jclark.com)
845151497Sru
846151497Sru	* troff/input.cc (copy_mode_error): Make `prefix' static.
847151497Sru	Fix typo.
848151497Sru
849151497Sru	* include/posix.h: Include <osfcn.h> is HAVE_CC_OSFCN_H is
850151497Sru	defined.
851151497Sru	* acgroff.m4, configure.in, Makefile: Rename HAVE_CC_UNISTD_H to
852151497Sru	HAVE_CC_OSFCN_H and modify accordingly.
853151497Sru
854151497Sru	* troff/input.cc (init_charset_table): radicalex overlaps
855151497Sru	horizontally.
856151497Sru
857151497Sru	* groff/acgroff.m4 (GROFF_ISC_SYSV3): New macro (from
858151497Sru	udodo!hans@relay.NL.net).
859151497Sru	* groff/configure.in: Call it.
860151497Sru
861151497Sru	* groff/acgroff.m4 (GROFF_PCLOSE): New macro.
862151497Sru	* groff/configure.in: Call it.
863151497Sru	* include/lib.h: Conditionalize declaration of pclose.
864151497Sru
865151497Sru	* troff/div.cc (last_page_number): New global variable.
866151497Sru	(top_level_diversion::begin_page): Exit if we just printed the
867151497Sru	last page.
868151497Sru	* troff/div.h (last_page_number): Declare it.
869151497Sru	* troff/input.cc (parse_output_page_list): Set last_page_number.
870151497Sru
871151497Sru	* eqn/sqrt.cc: Rename \(rn to \[radicalex].
872151497Sru	* devps/S, devps/textmap, tmac/tmac.ps, tmac/tmac.dvi,
873151497Sru	tmac/tmac.X: Likewise.
874151497Sru	* tmac/tmac.ps, tmac/tmac.X, tmac.dvi: Add definitions of \(rn.
875151497Sru	* tmac.dvi: Make \(ru and \(ul extend beyond their width by .04m.
876151497Sru
877151497SruFri Feb 11 11:45:40 1994  James Clark  (jjc@jclark.com)
878151497Sru
879151497Sru	* tmac/doc-ditroff (hK): Remove groff specific code which
880151497Sru	prevented page-breaks between separate manual entries.  If this is
881151497Sru	the first page, don't set the page number to 1.
882151497Sru
883151497Sru	* acgroff.m4 (GROFF_POSIX): New macro.
884151497Sru	* configure.in: Use it.
885151497Sru
886151497Sru	* troff/node.cc (class real_output_file,
887151497Sru	real_output_file::real_output_file,
888151497Sru	real_output_file::~real_output_file): Conditionalize use of
889151497Sru	popen/pclose on POPEN_MISSING.
890151497Sru	* troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
891151497Sru	* troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
892151497Sru	(pipe_source): Similarily.
893151497Sru
894151497Sru	* acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.
895151497Sru
896151497Sru	* acgroff.m4 (GROFF_GETOPT, GROFF_PUTENV, GROFF_POPEN): Detect
897151497Sru	presence of declarations by trying to compile example with
898151497Sru	conflicting declarations.  (gcc only gives a warning for missing
899151497Sru	declarations.)
900151497Sru
901151497SruWed Feb  9 09:12:23 1994  James Clark  (jjc@jclark.com)
902151497Sru
903151497Sru	* tmac/tmac.pspic (PSPIC): Allow options to specify alignment
904151497Sru	(from Ulrich Lauther).
905151497Sru
906151497SruTue Feb  8 03:56:40 1994  James Clark  (jjc@jclark.com)
907151497Sru
908151497Sru	* libbib/linear.cc (file_buffer::load): Use S_ISREG macro.
909151497Sru
910151497SruThu Feb  3 09:34:35 1994  James Clark  (jjc@jclark.com)
911151497Sru
912151497Sru	* indxbib/indxbib.cc (write_hash_table): Add code for case where
913151497Sru	pointers and ints have different sizes.
914151497Sru
915151497SruSun Jan  9 16:17:51 1994  James Clark  (jjc@jclark.com)
916151497Sru
917151497Sru	* tmac/tmac.s (par*env-init): Call par@reset.
918151497Sru
919151497SruFri Jan  7 10:24:27 1994  James Clark  (jjc@jclark.com)
920151497Sru
921151497Sru	* tmac/tmac.s (@IP): Switch to a new environment when diverting
922151497Sru	tag.
923151497Sru	(par*push-tag-env, par*pop-tag-env): New macros.
924151497Sru
925151497SruWed Jan  5 21:18:34 1994  James Clark  (jjc@jclark.com)
926151497Sru
927151497Sru	* grops/ps.cc (ps_printer::ps_printer): Use MAX_LINE_LENGTH for
928151497Sru	initializing `out'.  Reduce MAX_LINE_LENGTH from 79 to 72.
929151497Sru
930151497Sru	* grops/ps.cc (ps_printer::~ps_printer): Output %%CreationDate
931151497Sru	comment.  Include <time.h>.
932151497Sru
933151497SruWed Dec 15 14:14:00 1993  James Clark  (jjc@jclark.com)
934151497Sru
935151497Sru	* grops/ps.cc (is_small_h, is_small_v): Deleted.
936151497Sru	(ps_printer::flush_sbuf): Use absolute motion only at beginning of
937151497Sru	lines.
938151497Sru
939151497SruTue Dec 14 10:06:34 1993  James Clark  (jjc@jclark.com)
940151497Sru
941151497Sru	* troff/input.cc (read_request): Only print a prompt if reading
942151497Sru	from the terminal.  Also clearerr on EOF if reading from the
943151497Sru	terminal.  Declare isatty.
944151497Sru
945151497SruMon Nov 29 08:38:15 1993  James Clark  (jjc@jclark.com)
946151497Sru
947151497Sru	* refer/label.y: Rename map_t to map_func and extractor_t to
948151497Sru	extractor_func.
949151497Sru
950151497SruSat Oct 30 06:38:12 1993  James Clark  (jjc@jclark.com)
951151497Sru
952151497Sru	* include/assert.h: Don't use volatile.
953151497Sru	* libgroff/assert.cc: Likewise.
954151497Sru
955151497SruFri Oct 29 15:00:23 1993  James Clark  (jjc@jclark.com)
956151497Sru
957151497Sru	* troff/input.cc (abort_request): Look at character in tok before
958151497Sru	calling get_copy().
959151497Sru
960151497SruThu Oct 28 14:09:48 1993  James Clark  (jjc@jclark.com)
961151497Sru
962151497Sru	* troff/troff.h (NO_RETURN): Deleted.
963151497Sru	* troff/div.cc (cleanup_and_exit):  Don't declare aas NO_RETURN.
964151497Sru	* troff/input.cc (exit_troff): Likewise
965151497Sru
966151497Sru	* Makefile.in: Remove `Making ...' messages since GNU make now
967151497Sru	gives these.
968151497Sru
969151497Sru	* configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
970151497Sru
971151497SruWed Oct 27 11:12:51 1993  James Clark  (jjc@jclark.com)
972151497Sru
973151497Sru	* tmac/tmac.s (@init): Initialize PO to \n(.o here, rather than
974151497Sru	to constant 1 inch.
975151497Sru
976151497SruSat Oct 23 10:03:52 1993  James Clark  (jjc@jclark.com)
977151497Sru
978151497Sru	* tmac/tmac.e (hl): Use \n[.in] rather than \n(.i.
979151497Sru
980151497SruThu Oct 14 12:09:45 1993  James Clark  (jjc@jclark.com)
981151497Sru
982151497Sru	* eqn/delim.cc (delim_box::compute_metrics): Don't increase
983151497Sru	MARK_REG if there was no left delimiter.
984151497Sru
985151497SruSat Oct  2 19:54:47 1993  James Clark  (jjc@jclark.com)
986151497Sru
987151497Sru	* pic/troff.cc (troff_output::text): Set line thickness to
988151497Sru	relative before outputting text.
989151497Sru
990151497Sru	* tmac/tmac.e (@k): Don't zero ?T.
991151497Sru	((z): Likewise.
992151497Sru
993151497SruSat Sep 25 11:08:43 1993  James Clark  (jjc@jclark.com)
994151497Sru
995151497Sru	* tmac/tmac.e ($p): Handle possibility that $3 is empty.
996151497Sru
997151497SruWed Aug 18 08:51:41 1993  James Clark  (jjc@jclark.com)
998151497Sru
999151497Sru	* troff/input.cc (decode_args): Warn about unquoted tabs (from
1000151497Sru	Paul Eggert).
1001151497Sru
1002151497SruTue Aug 10 08:38:32 1993  James Clark  (jjc@jclark.com)
1003151497Sru
1004151497Sru	* troff/input.cc (ignoring): New variable.
1005151497Sru	(ignore): Set ignoring during call to do_define_macro.
1006151497Sru	(do_define_macro): Clear ignoring before interpolating terminating
1007151497Sru	macro.
1008151497Sru	(copy_mode_error): New function.
1009151497Sru	(get_char_for_escape_name, read_long_escape_name,
1010151497Sru	interpolate_arg): Use copy_mode_error.
1011151497Sru	(warning_table): Add WARN_IG.
1012151497Sru	* troff/troff.h (WARN_IG): Declare.
1013151497Sru	(WARN_TOTAL): Change accordingly.
1014151497Sru
1015151497Sru	* groff/pipeline.c (strsignal): Rename to xstrsignal.
1016151497Sru	* groff/groff.cc (strsignal): Delete declaration.
1017151497Sru
1018151497SruFri Jul 16 01:43:12 1993  James Clark  (jjc@jclark.com)
1019151497Sru
1020151497Sru	* troff/div.cc (page_offset): Use 'm' as default scaling.
1021151497Sru
1022151497SruSat Jul  3 09:11:38 1993  James Clark  (jjc@jclark.com)
1023151497Sru
1024151497Sru	* nroff/nroff.sh: Ignore -u.
1025151497Sru
1026151497SruWed Jun  9 12:17:27 1993  James Clark  (jjc@jclark.com)
1027151497Sru
1028151497Sru	* Makefile.in (MDEFINES): Pass down MAKEOVERRIDES.
1029151497Sru
1030151497SruFri Jun  4 17:35:47 1993  James Clark  (jjc@jclark.com)
1031151497Sru
1032151497Sru	* tmac/tmac.s (par*box-draw): Set adjustment mode to l while
1033151497Sru	drawing box.
1034151497Sru	(B2): With -Tascii, leave additional vertical space before
1035151497Sru	and after. Ensure that the left and right indent is restored to
1036151497Sru	what it was even if the point size changes.  Don't call
1037151497Sru	par@finish. Change the indent, line length and title length
1038151497Sru	directly.  With -Tascii, make the width of the box 1n less.
1039151497Sru	(B1): Remember 1n at the current point size.  Don't call
1040151497Sru	par@reset.  Change the indent, line length and title length
1041151497Sru	directly.  Ensure that the temporary indent is preserved.
1042151497Sru	(par*box-mark-top): Turn off no spacing mode.
1043151497Sru
1044151497SruThu Jun  3 17:47:14 1993  James Clark  (jjc@jclark.com)
1045151497Sru
1046151497Sru	* Makefile.in (dist): Use .gz suffix.
1047151497Sru
1048151497SruThu May 27 20:04:59 1993  James Clark  (jjc@jclark.com)
1049151497Sru
1050151497Sru	* troff/input.cc (main): Add return 0.
1051151497Sru	* pic/main.cc (main): Use return instead of exit.
1052151497Sru	* tbl/main.cc (main): Likewise.
1053151497Sru	* eqn/main.cc (main): Likewise.
1054151497Sru	* grops/ps.cc (main): Likewise.
1055151497Sru	* grotty/tty.cc (main): Likewise.
1056151497Sru	* groff/groff.cc (main): Likewise.
1057151497Sru	* grodvi/dvi.cc (main): Likewise.
1058151497Sru	* refer/refer.cc (main): Likewise.
1059151497Sru	* indxbib/indxbib.cc (main): Likewise.
1060151497Sru	* lkbib/lkbib.cc (main): Likewise.
1061151497Sru	* soelim/soelim.cc (main): Likewise.
1062151497Sru	* addftinfo/addftinfo.cc (main): Likewise.
1063151497Sru	* acgroff.m4 (GROFF_PROG_CCC, GROFF_CC_COMPILE_CHECK,
1064151497Sru	GROFF_COOKIE_BUG, GROFF_CC_ANSI_BUG): Likewise.
1065151497Sru
1066151497Sru	* troff/token.h (process_input_stack): Don't declare as static.
1067151497Sru	* troff/input.cc: Likewise.
1068151497Sru
1069151497Sru	* troff/node.c (invalidate_fontno): Make it a static member of
1070151497Sru	class font_family.  Change callers.
1071151497Sru	* troff/node.c: Change declaration.
1072151497Sru
1073151497Sru	* tbl/main.cc (struct input_entry_format): Add explicit public
1074151497Sru	specifier.
1075151497Sru	* tbl/table.cc (struct text_stuff, struct single_hline_stuff,
1076151497Sru	struct double_hline_stuff): Likewise.
1077151497Sru	* tbl/table.h (struct entry_format): Likewise.
1078151497Sru	* pic/object.h (struct saved_state): Likewise.
1079151497Sru
1080151497Sru	* include/stringclass.h: Add forward declarations of friend
1081151497Sru	functions that are later declared as inline.  Don't include inline
1082151497Sru	specifier in friend declaration.
1083151497Sru
1084151497Sru	* libgroff/lib.h: Declare popen and pclose.
1085151497Sru	* acgroff.m4 (GROFF_POPEN): New macro.
1086151497Sru	* configure.in: Call it.
1087151497Sru
1088151497Sru	* include/lib.h (PI): New constant. Undef first if necessary.
1089151497Sru	* tfmtodit/tfmtodit.cc (main): Use PI rather than M_PI.
1090151497Sru	* grops/ps.cc (degrees, radians): Likewise.
1091151497Sru	* libgroff/font.cc (font::get_skew): Likewise.
1092151497Sru
1093151497Sru	* grops/ps.cc (is_ascii): New function.
1094151497Sru	(ps_output::put_string): Use is_ascii.  Use csprint rather than
1095151497Sru	isprint.
1096151497Sru	(ps_printer::define_encoding): Use csspace.
1097151497Sru	* libgroff/strtol.c (ISASCII): New macro.
1098151497Sru	(strtol): Cast arguments to is*() and tolower() to unsigned char.
1099151497Sru	Use ISASCII rather than isascii.
1100151497Sru	* libgroff/cmap.cc: Use isascii() only if <ctype.h> defines it.
1101151497Sru	* libgroff/cset.cc: Likewise.
1102151497Sru	* libdriver/input.cc: Include cset.h.
1103151497Sru	(do_file, get_integer, possibly_get_integer): Use csdigit() rather
1104151497Sru	than isdigit().
1105151497Sru
1106151497Sru	* refer/refer.cc (main): Use %ld rather than %d for longs.
1107151497Sru
1108151497Sru	* libbib/index.cc (index_search_item_iterator::get_tag): Use
1109151497Sru	S_ISREG macro.
1110151497Sru
1111151497Sru	* addftinfo/addftinfo.cc (param_t): Add explicit `int'.
1112151497Sru
1113151497SruMon May 24 08:51:37 1993  James Clark  (jjc@jclark.com)
1114151497Sru
1115151497Sru	* troff/input.cc (hyphenation_code): Skip white space between
1116151497Sru	char/code pairs.
1117151497Sru
1118151497SruSun May 16 08:15:52 1993  James Clark  (jjc at jclark.com)
1119151497Sru
1120151497Sru	* tbl/table.h (table::entry_list_tailp): New member.
1121151497Sru	(table::table): Initialize it.
1122151497Sru	(table::add_entry): Use entry_list_tailp to avoid O(n^2)
1123151497Sru	behaviour.
1124151497Sru
1125151497SruSat May 15 17:26:00 1993  James Clark  (jjc at jclark.com)
1126151497Sru
1127151497Sru	* grotty/tty.cc (tty_printer::add_char): Don't discard characters
1128151497Sru	with negative horizontal positions. Remove casts of glyph::hpos to
1129151497Sru	int.
1130151497Sru	(USHRT_MAX): Delete definition.
1131151497Sru	(SHRT_MAX, SHRT_MIN): New definitions.
1132151497Sru	(glyph::hpos): Change type to short.
1133151497Sru	(tty_printer::end_page): Output multiple backspaces if necessary.
1134151497Sru	 Remove casts of glyph::hpos to int.
1135151497Sru	
1136151497SruFri May  7 12:14:37 1993  James Clark  (jjc at jclark.com)
1137151497Sru
1138151497Sru	* tmac/tmac.s (@RT): New definition.
1139151497Sru
1140151497SruThu May  6 21:36:54 1993  James Clark  (jjc at jclark.com)
1141151497Sru
1142151497Sru	* refer/refer.cc (do_file): Make sure current_filename is set when
1143151497Sru	filename is "-".
1144151497Sru
1145151497Sru	* pic/common.cc (common_output::dot_line): Handle zero length
1146151497Sru	lines.
1147151497Sru
1148151497SruSun May  2 19:54:16 1993  James Clark  (jjc at jclark.com)
1149151497Sru
1150151497Sru	* tmac/tmac.s (par@reset): Get value for .hy for \n[HY].
1151151497Sru	(par@init): Initialize \n[HY].
1152151497Sru
1153151497SruMon Apr 26 11:43:16 1993  James Clark  (jjc at jclark.com)
1154151497Sru
1155151497Sru	* troff/dictionary.cc (dictionary::remove): Continue when
1156151497Sru	r < j < i.
1157151497Sru
1158151497SruSun Apr 25 11:03:00 1993  James Clark  (jjc at jclark.com)
1159151497Sru
1160151497Sru	* Makefile.com (.y.cc): Avoid ending up with two versions of
1161151497Sru	$(YTABH).
1162151497Sru
1163151497SruThu Apr 22 21:03:45 1993  James Clark  (jjc at jclark.com)
1164151497Sru
1165151497Sru	* tmac/tmac.dvi (\(,c): Define only if it does not exist.
1166151497Sru	(\(,C): Likewise.  Also fix typo.
1167151497Sru
1168151497SruWed Apr 21 08:47:32 1993  James Clark  (jjc at jclark.com)
1169151497Sru
1170151497Sru	* lib.h: Delete extraneous semi-colon.
1171151497Sru
1172151497Sru	* Add pso request: `so' from a pipe.
1173151497Sru	* troff/input.c (file_iterator::file_iterator): Add 3rd argument.
1174151497Sru	(file_iterator::close): New function.
1175151497Sru	(file_iterator::~file_iterator, file_iterator::next_file): Use
1176151497Sru	file_iterator::close.
1177151497Sru	(file_iterator::backtrace): Say `process' rather than `file' when
1178151497Sru	the stream is popened.
1179151497Sru	(pipe_source): New function.
1180151497Sru	(init_input_requests): Bind ".pso" to pipe_source.
1181151497Sru
1182151497SruTue Apr 20 00:02:26 1993  James Clark  (jjc at jclark.com)
1183151497Sru
1184151497Sru	* afmtodit/afmtodit.pl: Avoid single quotes in comments.
1185151497Sru
1186151497Sru	* pfbtops/pfbtops.c: Output 64 characters per line.  Output hex
1187151497Sru	digits in lower case.
1188151497Sru
1189151497SruMon Apr 19 09:55:57 1993  James Clark  (jjc at jclark)
1190151497Sru
1191151497Sru	* Version 1.08 released.
1192151497Sru
1193151497Sru	* Makefile.in (dist): Insert || true after ln -s commands that
1194151497Sru	might fail.
1195151497Sru
1196151497Sru	* mm: Update to mm 1.16.
1197151497Sru
1198151497Sru	* acgroff.m4 (GROFF_CSH_HACK): New macro.
1199151497Sru	* configure.in: Call GROFF_CSH_HACK.  Substitute for
1200151497Sru	SH_SCRIPT_SED_CMD.
1201151497Sru	* Makefile.in (SH_SCRIPT_SED_CMD): New variable.  Include in
1202151497Sru	MDEFINES.
1203151497Sru	* nroff/Makefile.sub (nroff): New target.
1204151497Sru	(install_data): Install nroff.
1205151497Sru	* eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD.
1206151497Sru	* grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.
1207151497Sru
1208151497SruSat Apr 17 08:24:28 1993  James Clark  (jjc at jclark)
1209151497Sru
1210151497Sru	* eqn/Makefile.sub (neqn): Add chmod +x.
1211151497Sru
1212151497Sru	* grog/Makefile.sub (grog): Remove spurious semi-colon.
1213151497Sru
1214151497SruFri Apr 16 22:41:57 1993  James Clark  (jjc at jclark)
1215151497Sru
1216151497Sru	* troff/input.cc (string_iterator::string_iterator()): Initialize
1217151497Sru	lineno and count.
1218151497Sru
1219151497SruTue Apr 13 10:22:28 1993  James Clark  (jjc at jclark)
1220151497Sru
1221151497Sru	* troff/div.cc (macro_diversion::space,
1222151497Sru	top_level_diversion::space): Don't set high_water_mark.
1223151497Sru	(macro_diversion::output, top_level_diversion::output): Don't
1224151497Sru	include post line space in high water mark.
1225151497Sru
1226151497SruWed Apr  7 12:48:18 1993  James Clark  (jjc at jclark)
1227151497Sru
1228151497Sru	* eqn/eqn.y: Don't define YYDEBUG.
1229151497Sru	* pic/pic.y: Likewise.
1230151497Sru
1231151497SruMon Apr  5 10:15:15 1993  James Clark  (jjc at jclark)
1232151497Sru
1233151497Sru	* tmac/tmac.e ([3): Add space after comma following editors.
1234151497Sru	Change double spaces to single spaces.
1235151497Sru	([4): Change double spaces to single spaces.
1236151497Sru
1237151497Sru	* grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags.
1238151497Sru	* grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0
1239151497Sru	bit is set in broken_flags, use 2.0 rather than 3.0 as the version
1240151497Sru	after %!PS-Adobe- (for Newsprint).
1241151497Sru
1242151497Sru	* troff/div.cc (top_level_diversion::begin_page): When
1243151497Sru	before_first_page is 1, set page_number to 1.
1244151497Sru
1245151497SruSun Apr  4 14:28:53 1993  James Clark  (jjc at jclark)
1246151497Sru
1247151497Sru	* eqn/box.cc (box::top_level): Protect equation with \&.
1248151497Sru
1249151497SruSat Apr  3 23:27:25 1993  James Clark  (jjc at jclark)
1250151497Sru
1251151497Sru	* groff/groff.cc (possible_command::set_name): Delete old name.
1252151497Sru
1253151497Sru	* groff/groff.cc (possible_command::~possible_command): Use
1254151497Sru	a_delete.
1255151497Sru
1256151497Sru	* troff/node.cc (troff_output_file::begun_page): New member.
1257151497Sru	(troff_output_file::troff_output_file): Initialize it.
1258151497Sru	(troff_output_file::really_begin_page): Only output V command if a
1259151497Sru	page has been begun.
1260151497Sru
1261151497Sru	* pic/pic.y (placeless_element): Delete argument to PRINT after
1262151497Sru	use.
1263151497Sru
1264151497SruFri Apr  2 11:31:02 1993  James Clark  (jjc at jclark)
1265151497Sru
1266151497Sru	* Make wrapman work.
1267151497Sru	* troff/div.h (class top_level_diversion): Replace
1268151497Sru	first_page_begun by before_first_page (with opposite sense).
1269151497Sru	* Change first_page_begun to before_first_page inverting sense.
1270151497Sru	* troff/div.cc (class nl_reg): New class.
1271151497Sru	(init_div_requests): Use class nl_reg for \n(nl.
1272151497Sru	(top_level_diversion::begin_page): Don't call
1273151497Sru	output_file::begin_page if before_first_page is 2;
1274151497Sru	reset before_first_page afterwards.  If have_next_page_number is
1275151497Sru	false, then always increment page_number.
1276151497Sru	* tmac/tmac.an: Set traps within TH rather than at the top-level.
1277151497Sru	Restore compatibility mode after loading, and then disable
1278151497Sru	compatibility mode in TH.
1279151497Sru
1280151497SruThu Apr  1 11:09:34 1993  James Clark  (jjc at jclark)
1281151497Sru
1282151497Sru	* grotty/tty.cc (tty_printer::end_page): Don't discard characters
1283151497Sru	past last line.
1284151497Sru	* troff/node.h (output_file::trailer): Declare.
1285151497Sru	* troff/div.cc (cleanup_and_exit): Call output_file::trailer().
1286151497Sru	* troff/node.cc (output_file::trailer): New function.
1287151497Sru	(troff_output_file::~troff_output_file): Move most code into...
1288151497Sru	(troff_output_file::trailer): New function.
1289151497Sru	(class troff_output_file): Delete page_length member. Declare
1290151497Sru	trailer().
1291151497Sru	(troff_output_file::really_begin_page): Use current page length
1292151497Sru	for final V command.
1293151497Sru
1294151497Sru	* tbl/main.cc (struct options): New decimal_point_char member.
1295151497Sru	(options::options): Initialize this.
1296151497Sru	(process_options): Implement decimalpoint option.
1297151497Sru	(process_data): Pass decimal_point_char option to table::table.
1298151497Sru	* tbl/table.h (class table): New decimal_point_char member.
1299151497Sru	(table::table): Add additional argument.
1300151497Sru	* tbl/table.cc (find_dot): Rename to find_decimal_point. Add
1301151497Sru	second argument specifying decimal point character.  Use this
1302151497Sru	instead of '.'.
1303151497Sru	(table::table): Initialize decimal_point_char.
1304151497Sru	(table::add_entry): Change call to find_dot.
1305151497Sru
1306151497Sru	* troff/input.cc (get_copy, token::next): Implement \V.
1307151497Sru	(interpolate_environment_variable): New function.
1308151497Sru
1309151497SruTue Mar 30 14:41:39 1993  James Clark  (jjc at jclark)
1310151497Sru
1311151497Sru	* pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX.
1312151497Sru	* pic/pic.y: Likewise.
1313151497Sru
1314151497Sru	* grotty/tty.cc (tty_printer::add_char, tty_printer::end_page):
1315151497Sru	Add casts to int.
1316151497Sru	* refer/ref.cc (reference::insert_field, reference::delete_field):
1317151497Sru	Likewise.
1318151497Sru	* troff/number.cc (parse_term): Likewise.
1319151497Sru
1320151497Sru	* acgroff.m4 (GROFF_PROG_YACC): New macro.
1321151497Sru	* configure.in: Use GROFF_PROG_YACC.
1322151497Sru
1323151497Sru	* acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc
1324151497Sru	and g++.
1325151497Sru	* Makefile.in (OPTIMIZE): New define.
1326151497Sru	(DEBUG): Empty by default.
1327151497Sru	(CCFLAGS, CFLAGS): Include $(OPTIMIZE).
1328151497Sru
1329151497Sru	* acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program.
1330151497Sru	(GROFF_ARRAY_DELETE): Likewise.
1331151497Sru	(GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3.
1332151497Sru
1333151497Sru	* troff/env.cc (trie::~trie): Make virtual to shut up g++.
1334151497Sru
1335151497Sru	* devps/psstrip.sed: Use different delimiter on last line (so that
1336151497Sru	it works with BSD 4.4 sed.)
1337151497Sru
1338151497SruMon Mar 29 17:07:14 1993  James Clark  (jjc at jclark)
1339151497Sru
1340151497Sru	* devps/psstrip.sed: Delete comments.
1341151497Sru
1342151497Sru	* acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares
1343151497Sru	optind, opterr, optarg.
1344151497Sru	* lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind,
1345151497Sru	opterr, optarg.
1346151497Sru
1347151497SruSun Mar 28 17:44:25 1993  James Clark  (jjc at jclark)
1348151497Sru
1349151497Sru	* Makefile.in (check): Dummy target.
1350151497Sru
1351151497SruWed Mar  3 04:53:38 1993  James Clark  (jjc at jclark)
1352151497Sru
1353151497Sru	* Version 1.07 released.
1354151497Sru
1355151497Sru	* Integrate mm 1.11.
1356151497Sru
1357151497Sru	* tbl/table.cc (alphabetic_block_entry::print): start_row was used
1358151497Sru	where start_col was meant.
1359151497Sru
1360151497SruThu Feb 25 07:55:36 1993  James Clark  (jjc at jclark)
1361151497Sru
1362151497Sru	* grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.
1363151497Sru
1364151497SruWed Feb 24 10:15:34 1993  James Clark  (jjc at jclark)
1365151497Sru
1366151497Sru	* troff/input.cc (token::next): Make \z\o'...' and similar things
1367151497Sru	work.
1368151497Sru
1369151497Sru	* env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
1370151497Sru	constants.
1371151497Sru	(environment): Add margin_character_flags member.
1372151497Sru	* env.cc (environment::environment(symbol),
1373151497Sru	environment::environment(const environment *): Initialize
1374151497Sru	margin_character_flags.
1375151497Sru	(margin_character): Rewrite.
1376151497Sru	(environment::output_line): Add a margin character if
1377151497Sru	margin_character_flags is non-zero.  Turn off the
1378151497Sru	MARGIN_CHARACTER_NEXT bit.  If that makes margin_character_flags
1379151497Sru	zero, use margin_character_node without copying and then set
1380151497Sru	margin_character_node to 0.
1381151497Sru
1382151497Sru	* devps/DESC.in: Change minimum size to 1000.
1383151497Sru
1384151497SruTue Feb 23 14:57:49 1993  James Clark  (jjc at jclark)
1385151497Sru
1386151497Sru	* troff/symbol.h (symbol::hash): Change return type to unsigned
1387151497Sru	long.
1388151497Sru	* troff/dictionary.cc (dictionary::lookup, dictionary::remove):
1389151497Sru	Add casts to int.
1390151497Sru
1391151497Sru	* test-groff: Use -r rather than -x.
1392151497Sru
1393151497Sru	* grops/psfig.diff: Include in distribution again.
1394151497Sru
1395151497SruMon Feb 22 09:10:44 1993  James Clark  (jjc at jclark)
1396151497Sru
1397151497Sru	* Makefile.in (dist): Use gzip.
1398151497Sru
1399151497SruSun Feb 21 11:12:53 1993  James Clark  (jjc at jclark)
1400151497Sru
1401151497Sru	* acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
1402151497Sru	unistd.h as well as in stdlib.h.
1403151497Sru	* include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
1404151497Sru	defined; otherwise include <sys/types.h> and <unistd.h> if
1405151497Sru	UNISTD_H_DECLARES_GETOPT is defined.
1406151497Sru
1407151497Sru	* configure.in: use builtin(include, ... rather than include(...
1408151497Sru	* configure: Regenerate with autoconf 1.3.
1409151497Sru
1410151497Sru	* libdriver/print.cc (printer::adjust_arc_center): Use new
1411151497Sru	algorithm suggested by Andy Fyfe.
1412151497Sru
1413151497Sru	* libdriver/printer.cc (printer::adjust_arc_center): New function.
1414151497Sru	* include/printer.h: Declare this.
1415151497Sru	* grops/ps.cc (ps_printer::draw): Use it.
1416151497Sru	* grodvi/dvi.cc (dvi_printer::draw): Use it.
1417151497Sru
1418151497SruFri Feb 19 23:13:51 1993  James Clark  (jjc at jclark)
1419151497Sru
1420151497Sru	* Makefile.comm (.man.n): Replace macrodir by tmacdir.
1421151497Sru
1422151497SruThu Feb 11 16:46:59 1993  James Clark  (jjc at jclark)
1423151497Sru
1424151497Sru	* eqn/main.cc (main): Handle "eqn -".
1425151497Sru
1426151497SruMon Jan  4 20:29:56 1993  James Clark  (jjc at jclark)
1427151497Sru
1428151497Sru	* tmac/tmac.e (++): Install fix from comp.bugs.4sd.
1429151497Sru
1430151497Sru	* mm: Integrate version 1.08.
1431151497Sru
1432151497Sru	* pic/troff.cc (troff_output::finish_picture): Set
1433151497Sru	EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
1434151497Sru	* eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
1435151497Sru	if it's not defined. Check whether the register is non-zero rather
1436151497Sru	than whether it's not defined.
1437151497Sru	* tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.
1438151497Sru
1439151497Sru	* indxbib/indxbib.cc: Move all signal handling into...
1440151497Sru	* indxbib/signal.c: New file.
1441151497Sru	* configure.in: Call AC_RETSIGTYPE.
1442151497Sru
1443151497Sru	* acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
1444151497Sru	* configure.in: Call GROFF_STRUCT_EXCEPTION.
1445151497Sru	* libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.
1446151497Sru
1447151497Sru	* troff/input.cc (token::token, token::operator=): Work round SGI
1448151497Sru	C++ bug.
1449151497Sru	* pic/object.cc (position::position): Likewise.
1450151497Sru
1451151497SruMon Dec 28 21:50:21 1992  James Clark  (jjc at jclark)
1452151497Sru
1453151497Sru	* pic/pic.h: Move declaration of hypot().
1454151497Sru
1455151497SruWed Dec 16 12:28:29 1992  James Clark  (jjc at jclark)
1456151497Sru
1457151497Sru	* pic/pic.h: Declare hypot().
1458151497Sru
1459151497Sru	* pic/pic.h: Define M_PI if necessary.
1460151497Sru
1461151497SruThu Dec 10 12:03:29 1992  James Clark  (jjc at jclark)
1462151497Sru
1463151497Sru	* tmac/tmac.e (re): Add alternative version that doesn't use groff
1464151497Sru	`.ta T' feature.
1465151497Sru
1466151497Sru	* devps/prologue.ps (RE): Handle the possibility that the old font
1467151497Sru	doesn't have a FontName entry.
1468151497Sru
1469151497SruWed Dec  2 10:25:29 1992  James Clark  (jjc at jclark)
1470151497Sru
1471151497Sru	* tmac/tmac.e (fam): Redefine to set family in environment 2.
1472151497Sru	(@C): Use @fam not fam.
1473151497Sru
1474151497SruThu Nov 26 16:01:25 1992  James Clark  (jjc at jclark)
1475151497Sru
1476151497Sru	* lookbib/lookbib.cc (main): Change type of start to const char *.
1477151497Sru	* lkbib/lkbib.cc (main): Likewise.
1478151497Sru
1479151497Sru	* eqn/lex.cc (definition::definition): Don't use member
1480151497Sru	initializer syntax for members of anonymous unions.
1481151497Sru
1482151497Sru	* troff/input.cc (input_stack::backtrace): Change type of to const
1483151497Sru	char *.
1484151497Sru
1485151497SruWed Nov 25 13:43:09 1992  James Clark  (jjc at jclark)
1486151497Sru
1487151497Sru	* include/stringclass.h (class string): Declare inline friend
1488151497Sru	functions as inline in class declaration.
1489151497Sru	* troff/hvunits.h (class hunits, class vunits): Likewise.
1490151497Sru	* include/refid.h (class reference_id): Likewise
1491151497Sru	* troff/troff.h (points_to_units(units), scale(units, double)):
1492151497Sru	Delete declarations.
1493151497Sru	* libdriver/input.cc (get_char): Delete declaration.
1494151497Sru	* include/lib.h: Change 2nd argument of getopt from const char **
1495151497Sru	to char **.
1496151497Sru	* troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
1497151497Sru	char **' before assigning to a `const char **'.
1498151497Sru	* tbl/table.cc: Delete extra declarations of prints().
1499151497Sru
1500151497SruTue Nov 24 14:33:13 1992  James Clark  (jjc at jclark)
1501151497Sru
1502151497Sru	* libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
1503151497Sru	char **' before assigning to a `const char **'.
1504151497Sru
1505151497Sru	* libgroff/errarg.cc (errarg::errarg): Don't use member
1506151497Sru	initializer syntax for members of anonymous unions.
1507151497Sru
1508151497SruSat Nov 21 05:02:23 1992  James Clark  (jjc at jclark)
1509151497Sru
1510151497Sru	* mm: Integrate version 1.07.
1511151497Sru
1512151497SruTue Nov 17 16:44:27 1992  James Clark  (jjc at jclark)
1513151497Sru
1514151497Sru	* troff/input.c (translate2): Rename to
1515151497Sru	(translate_no_transparent).
1516151497Sru	(init_input_requests): Rename tr2 to trnt.
1517151497Sru
1518151497SruMon Nov 16 09:49:32 1992  James Clark  (jjc at jclark)
1519151497Sru
1520151497Sru	* troff/charinfo.h (class charinfo): Add transparent_translate field.
1521151497Sru	(charinfo::set_translation, charinfo::set_special_translation):
1522151497Sru	Add second argument that specifies value for
1523151497Sru	transparent_translate.
1524151497Sru	(charinfo::get_translation, charinfo::get_special_translation):
1525151497Sru	Add optional second argument that specifies whether translation is
1526151497Sru	being used for transparent throughput.
1527151497Sru	* troff/input.cc (charinfo::set_translation,
1528151497Sru	charinfo::set_special_translation): Handle second argument.
1529151497Sru	(charinfo::charinfo): Initialize transparent_translate.
1530151497Sru	(translate): Split main part off into
1531151497Sru	(do_translate): New function.  Pass argument saying whether
1532151497Sru	translation applies to transparent throughput.
1533151497Sru	(translate2): New request.
1534151497Sru	(init_input_requests): Bind translate2 to `tr2'.
1535151497Sru
1536151497SruWed Nov 11 11:43:20 1992  James Clark  (jjc at jclark)
1537151497Sru
1538151497Sru	* tbl/table.h (class table): Add `nokeep' flag.
1539151497Sru	* tbl/main.cc (process_options): Handle `nokeep' option.
1540151497Sru	* tbl/table.cc (table::init_output, table::do_row, table::do_top,
1541151497Sru	table::do_bottom): Don't output keep/release macro definitions or
1542151497Sru	calls when `nokeep' option has been specified.
1543151497Sru
1544151497SruSat Nov  7 01:28:33 1992  James Clark  (jjc at jclark)
1545151497Sru
1546151497Sru	* tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.
1547151497Sru
1548151497SruWed Nov  4 16:29:04 1992  James Clark  (jjc at jclark)
1549151497Sru
1550151497Sru	* tbl/table.cc (table_entry::divert, block_entry::do_divert,
1551151497Sru	block_entry::divert, alphabetic_block_entry::divert): Add extra
1552151497Sru	argument giving column separation.
1553151497Sru	(table::compute_widths): Pass column separation to
1554151497Sru	table_entry::divert().
1555151497Sru	(block_entry::do_divert): If an entry spans multiple columns and a
1556151497Sru	minimumum width has been specified for each column, then set the
1557151497Sru	line length to the sum of the widths (plus possibly the column
1558151497Sru	separations).
1559151497Sru
1560151497Sru	* troff/input.cc (set_escape_char): Don't set the escape_char
1561151497Sru	until after calling has_arg().
1562151497Sru
1563151497SruTue Nov  3 11:23:27 1992  James Clark  (jjc at jclark)
1564151497Sru
1565151497Sru	* tbl/table.cc (table::do_top): Add missing \s0 for double box
1566151497Sru	case.
1567151497Sru
1568151497Sru	* tbl/table.cc (table::print_double_hline): Avoid extra new line
1569151497Sru	in case where r > nrows - 1.
1570151497Sru
1571151497Sru	* tbl/table.cc (BODY_HEIGHT): Deleted.
1572151497Sru	(LINE_SEP): New definition.
1573151497Sru	(table::print_single_hline, table::print_double_hline,
1574151497Sru	table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
1575151497Sru	table::do_row, table::do_top): Use LINE_SEP space before a line
1576151497Sru	instead of \n[.v]-BODY_HEIGHT-BODY_DEPTH.
1577151497Sru
1578151497Sru	* tbl/table.cc (text_entry::print_contents): New function.
1579151497Sru	(text_string_name, right_text_string_name): Deleted.
1580151497Sru	(TEXT_STRING, RIGHT_TEXT_STRING): Deleted.
1581151497Sru	(simple_text_entry::do_width, numeric_text_entry::do_width,
1582151497Sru	alphabetic_text_entry::do_width): Don't store the contents of the
1583151497Sru	entry in a string.
1584151497Sru	(left_text_entry::simple_print, right_text_entry::simple_print,
1585151497Sru	center_text_entry::simple_print,
1586151497Sru	alphabetic_text_entry::simple_print,
1587151497Sru	numeric_text_entry::simple_print): Print the entry directly
1588151497Sru	instead of using the stored string.
1589151497Sru
1590151497SruFri Oct 30 10:39:32 1992  James Clark  (jjc at jclark)
1591151497Sru
1592151497Sru	* devps/Makefile: Strip PostScript files.
1593151497Sru	* devps/prologue: Rename to...
1594151497Sru	* devps/prologue.ps.
1595151497Sru	* devps/psstrip.sed: New file.
1596151497Sru	* devps/download: Use .pfa rather than .ps for installed versions
1597151497Sru	of fonts.
1598151497Sru
1599151497SruThu Oct 29 09:14:43 1992  James Clark  (jjc at jclark)
1600151497Sru
1601151497Sru	* troff/env.cc (input_trap): Give a warning if the argument is out
1602151497Sru	of range.
1603151497Sru
1604151497Sru	* troff/env.cc (adjust): Treat negative argument as missing. Round
1605151497Sru	argument > 5 down to 5.
1606151497Sru
1607151497Sru	* troff/env.cc (center, right_justify): Make negative argument zero.
1608151497Sru
1609151497Sru	* troff/div.cc (page_offset, vertical_position_traps): Treat
1610151497Sru	invalid argument as missing.
1611151497Sru	* troff/env.cc (line_spacing, line_length, title_length, indent,
1612151497Sru	underline, hyphen_line_max_request, control_char,
1613151497Sru	no_break_control_char, widow_control_request, adjust, input_trap,
1614151497Sru	point_size): Likewise.
1615151497Sru	* troff/node.cc (ligature, kern_request, bold_font, track_kern,
1616151497Sru	constant_space): Likewise.
1617151497Sru	* troff/input.cc (compatible, shift, warn_request,
1618151497Sru	set_escape_char): Likewise.
1619151497Sru
1620151497Sru	* tbl/main.cc (format::format): Avoid doing `new int[0]'.
1621151497Sru	* tbl/table.cc (table::table): Likewise.
1622151497Sru
1623151497Sru	* Makefile.dev (install_dev): depends on $(DEVFILES).
1624151497Sru
1625151497SruWed Oct 28 08:30:57 1992  James Clark  (jjc at jclark)
1626151497Sru
1627151497Sru	* devX75, devX75-12, devX100, devX100-12: New directories.
1628151497Sru	* Makefile.in: Add these to DEVDIRS.
1629151497Sru
1630151497Sru	* troff/Makefile.sub, eqn/Makefile.sub, indxbib/Makefile.sub,
1631151497Sru	afmtodit/Makefile.sub, tmac/Makefile.sub, nroff/Makefile.sub,
1632151497Sru	grog/Makefile.sub, mm/Makefile.sub (uninstall_sub): New target.
1633151497Sru	* Makefile.in (uninstall, uninstall_sub, uninstall_dirs): New
1634151497Sru	targets.
1635151497Sru	* Makefile.ccpg, Makefile.cpg, Makefile.dev, Makefile.man
1636151497Sru	(uninstall): New target.
1637151497Sru	* Makefile.comm (uninstall, uninstall_sub, uninstall_man,
1638151497Sru	uninstall_prog, uninstall_dev): New targets.
1639151497Sru
1640151497Sru	* troff/div.cc (return_request): Treat an invalid argument as
1641151497Sru	missing.
1642151497Sru
1643151497SruMon Oct 26 11:33:47 1992  James Clark  (jjc at jclark)
1644151497Sru
1645151497Sru	* tmac/tmac.e ((f): Set up the environment even when there's a
1646151497Sru	current diversion.  Transperently throughput a call to @N.
1647151497Sru	(@N): New macro.
1648151497Sru
1649151497SruThu Oct 22 05:05:59 1992  James Clark  (jjc at jclark)
1650151497Sru
1651151497Sru	* tbl/table.cc (table::compute_vrule_top_adjust): Round adjustment
1652151497Sru	up to vertical resolution.
1653151497Sru
1654151497Sru	* tbl/table.cc (table::do_row): Change row number after printing
1655151497Sru	stuff list.
1656151497Sru
1657151497Sru	* pic/lex.cc (get_token_after_dot): Make .left and .right work.
1658151497Sru
1659151497SruWed Oct 21 14:46:45 1992  James Clark  (jjc at jclark)
1660151497Sru
1661151497Sru	* Rename CHANGES to NEWS.
1662151497Sru
1663151497SruTue Oct 20 23:25:21 1992  James Clark  (jjc at jclark)
1664151497Sru
1665151497Sru	* libgroff/new.cc (operator new): Avoid calling malloc(0).
1666151497Sru
1667151497SruMon Oct 19 09:10:13 1992  James Clark  (jjc at jclark)
1668151497Sru
1669151497Sru	* man.ultrix: Removed.
1670151497Sru
1671151497SruSun Oct 18 06:35:15 1992  James Clark  (jjc at jclark)
1672151497Sru
1673151497Sru	* Makefile.comm (extraclean): Delete files whose names begin with
1674151497Sru	`='.
1675151497Sru
1676151497Sru	* pic/troff.cc (troff_output::text): Fix typo in implementation of
1677151497Sru	aligned text.
1678151497Sru
1679151497SruSat Oct 10 09:32:29 1992  James Clark  (jjc at jclark)
1680151497Sru
1681151497Sru	* troff/env.cc (hyphenate_request, vertical_spacing, no_number):
1682151497Sru	* troff/div.cc (page_length, need_space, space_request): Treat
1683151497Sru	invalid optional argument as missing.
1684151497Sru	* troff/env.cc (number_lines): If the first argument is present
1685151497Sru	but not a number, turn on line numbering, don't change the next
1686151497Sru	line number and parse the remaining arguments.
1687151497Sru
1688151497Sru	* tmac/tmac.e (@q): Do the `ne' before changing to environment 2.
1689151497Sru
1690151497SruThu Oct  8 10:24:40 1992  James Clark  (jjc at jclark)
1691151497Sru
1692151497Sru	* eqn/box.h: Change declaration accordingly.
1693151497Sru	* eqn/box.cc (set_gsize): Change return type to int.  Return 0 if
1694151497Sru	the specified size was bad but don't give an error.  Check for
1695151497Sru	overflow.
1696151497Sru	* eqn/main.cc (main): Change caller. Leave validation to set_gsize.
1697151497Sru	* eqn/lex (do_size): Likewise.
1698151497Sru
1699151497SruWed Oct  7 09:48:59 1992  James Clark  (jjc at jclark)
1700151497Sru
1701151497Sru	* acgroff.m4 (GROFF_PROG_CCC): Use fopen when checking for C++
1702151497Sru	compatible headers.
1703151497Sru
1704151497SruSun Oct  4 18:24:02 1992  James Clark  (jjc at jclark)
1705151497Sru
1706151497Sru	* tbl/table.cc (table::init_output): Improve error message when
1707151497Sru	table won't fit on one page.
1708151497Sru
1709151497SruFri Oct  2 10:41:40 1992  James Clark  (jjc at jclark)
1710151497Sru
1711151497Sru	* pic/troff.cc (troff_output::start_picture): Generate line
1712151497Sru	containing a horizontal motion equal to the width of the picture.
1713151497Sru
1714151497Sru	* groff/groff.cc (main): Allow PROG_PREFIX to be set at runtime
1715151497Sru	using GROFF_COMMAND_PREFIX environment variable.
1716151497Sru
1717151497SruFri Sep 25 11:40:40 1992  James Clark  (jjc at jclark)
1718151497Sru
1719151497Sru	* mdate.sh: Use $NF rather than $(NF).
1720151497Sru
1721151497SruTue Sep 22 09:47:24 1992  James Clark  (jjc at jclark)
1722151497Sru
1723151497Sru	* pic/main.cc (main):  Use %1 not %c in argument to warning.
1724151497Sru
1725151497Sru	* eqn/main.cc (main): Output code to check that geqn was given the
1726151497Sru	correct -T option.
1727151497Sru
1728151497SruMon Sep 21 10:59:16 1992  James Clark  (jjc at jclark)
1729151497Sru
1730151497Sru	* Makefile.in (dist): Instead of doing `make -f ../Makefile', do
1731151497Sru	`ln -s ../Makefile .; make; rm -f Makefile'.
1732151497Sru
1733151497Sru	* troff/hyphen: Rename to...
1734151497Sru	* troff/hyphen.us:
1735151497Sru	* troff/input.cc (main): Delete -H option. Don't call
1736151497Sru	read_hyphen_file().
1737151497Sru	* troff/env.cc: Include searchpath.h and macropath.h.
1738151497Sru	(exception_dictionary): Deleted.
1739151497Sru	(ht): Deleted.
1740151497Sru	(read_hyphen_file): Deleted.
1741151497Sru	(hyphenation_language): New struct.
1742151497Sru	(class trie, class hyphen_trie): Move declarations up.
1743151497Sru	(trie_node::~trie_node): Deleted.
1744151497Sru	(trie::delete_trie_node): New function.
1745151497Sru	(trie::do_delete): New pure virtual function.
1746151497Sru	(hyphen_trie::do_delete): New function.
1747151497Sru	(trie::~trie): New function.
1748151497Sru	(hyphen_trie::~hyphen_trie): New function.
1749151497Sru	(trie::clear): No need to chcek that tp is not 0.
1750151497Sru	(current_language, language_dictionary): New variables.
1751151497Sru	(hyphen_word): Give an error if no current language.  Use
1752151497Sru	exceptions dictionary in current language.
1753151497Sru	(hyphen_trie::read_patterns_file): Find file using macro_path.
1754151497Sru	Allow comments (starting with %) in patterns file.  Don't make it
1755151497Sru	a fatal error if the file can't be found.
1756151497Sru	(hyphenate): Return if no current language.  Get the exceptions
1757151497Sru	dictionary and the hyphenation patterns from the current language.
1758151497Sru	(set_hyphenation_language): New variable.
1759151497Sru	(hyphenation_patterns_file): New function.
1760151497Sru	(hyphenation_language_reg): New class.
1761151497Sru	(hyphenation_language_reg::get_string): New function.
1762151497Sru	(init_hyphen_requests): Bind "hla" to set_hyphenation_language and
1763151497Sru	"hpf" to hyphenation_patterns_file.  Initialize `.hla' number
1764151497Sru	register.
1765151497Sru	* groff/groff.cc (main, help, synopsis): Delete -H option.
1766151497Sru	* include/Makefile.sub: Don't define HYPHENFILE.
1767151497Sru	* Makefile.in: Delete hyphenfile variable and remove from MDEFINES.
1768151497Sru	* Makefile.comm (.man.n): Don't substitute for HYPHENFILE.
1769151497Sru	* tmac/troffrc: Set hyphenation language to `us'. Load `hyphen.us'
1770151497Sru	hyphenation patterns.
1771151497Sru
1772151497SruSun Sep 20 09:33:02 1992  James Clark  (jjc at jclark)
1773151497Sru
1774151497Sru	* eqn/neqn.sh: New file.
1775151497Sru	* eqn/Makefile.sub: Handle neqn.sh.
1776151497Sru
1777151497Sru	* eqn/eqn.h: Declare `nroff' variable.
1778151497Sru	* eqn/box.cc (param_table): Add `nroff' param.
1779151497Sru	(nroff): Define it.
1780151497Sru	* eqn/lex.cc (yylex): Handle TDEFINE and NDEFINE using `nroff'
1781151497Sru	variable.
1782151497Sru	* tmac/eqnrc: Set `nroff' to 1 for -Tascii or -Tlatin1.
1783151497Sru
1784151497Sru	* troff/troff.h (WARN_FONT): New warning.
1785151497Sru	(WARN_TOTAL): Change accordingly.
1786151497Sru	* troff/input.cc (DEFAULT_WARNING_MASK): Include WARN_FONT.
1787151497Sru	(warning_table): Add WARN_FONT.
1788151497Sru	* troff/node.cc (mount_font_no_translate): Pass argument to
1789151497Sru	font::load_font.  If this is non-zero, give a warning.
1790151497Sru	Don't give an error message when accessing a font that has already
1791151497Sru	been found to be invalid.
1792151497Sru	* include/font.h (font::load, font::load_font): Add additional
1793151497Sru	optional argument which suppresses error message if the font is
1794151497Sru	not found.
1795151497Sru	* libgroff/font.cc (font::load_font): Handle additional argument.
1796151497Sru	(font::load): Add additional argument. If this is non-null, set it
1797151497Sru	to 1 and don't give error message.
1798151497Sru
1799151497Sru	* include/printer.h (printer::end_page): Add argument giving
1800151497Sru	length of page.
1801151497Sru	* libdriver/input.cc (do_file): Pass this.
1802151497Sru	* grops/ps.cc (ps_printer::end_page): Add argument.
1803151497Sru	* grodvi/dvi.cc (dvi_printer::end_page,
1804151497Sru	draw_dvi_printer::end_page): Add argument.
1805151497Sru	* grotty/tty.cc (class tty_printer): Remove lines_per_page and
1806151497Sru	columns_per_page members. New member nlines.
1807151497Sru	(DEFAULT_LINES_PER_PAGE): Deleted.
1808151497Sru	(tty_printer::tty_printer): Don't compute lines_per_page from
1809151497Sru	font::paperlength. Don't compute columns_per_page from
1810151497Sru	font::paperwidth.
1811151497Sru	(tty_printer::add_char): Don't check horizontal position against
1812151497Sru	columns_per_page. Grow glyphs vector if neccessary.
1813151497Sru	(tty_printer::end_page): Add argument giving page_length in units.
1814151497Sru	Discard lines past end of page.
1815151497Sru
1816151497SruWed Sep 16 06:29:52 1992  James Clark  (jjc at jclark)
1817151497Sru
1818151497Sru	* tmac/tmac.tty-char: Fix definition of \(/l.
1819151497Sru
1820151497Sru	* tmac/tmac.X: Define \(en.
1821151497Sru
1822151497SruTue Sep 15 10:37:13 1992  James Clark  (jjc at jclark)
1823151497Sru
1824151497Sru	* acgroff.m4 (GROFF_PRINT): If a system has lpr and lp but not
1825151497Sru	lpq, then use lp rather than lpr.
1826151497Sru
1827151497Sru	* tmac/tmac.s (par@reset): Don't call `ad'.
1828151497Sru	(par*env-init): Call `ad'.
1829151497Sru
1830151497SruSun Sep 13 18:48:20 1992  James Clark  (jjc at jclark)
1831151497Sru
1832151497Sru	* mdate.sh: Use $(NF) instead of $6 to extract year from output of
1833151497Sru	date.
1834151497Sru
1835151497Sru	* troff/symbol.cc: #undef BLOCK_SIZE if it's defined.
1836151497Sru	* indxbib/indxbib.cc: Likewise.
1837151497Sru
1838151497SruSun Sep  6 09:44:46 1992  James Clark  (jjc at jclark)
1839151497Sru
1840151497Sru	* libgroff/putenv.c: New file.
1841151497Sru	* libgroff/Makefile.sub: Add putenv.c to CSRCS.
1842151497Sru	* Makefile.in: Say that putenv.o can be one of LIBOBJS.
1843151497Sru	* configure.in: Test for putenv with AC_REPLACE_FUNCS. Test for
1844151497Sru	stdlib.h with AC_HAVE_HEADERS.
1845151497Sru
1846151497SruSat Sep  5 18:11:52 1992  James Clark  (jjc at jclark)
1847151497Sru
1848151497Sru	* indxbib/dirnamemax.c: Include <sys/dir.h> only if <dirent.h>
1849151497Sru	does not exist.
1850151497Sru
1851151497SruFri Sep  4 09:43:26 1992  James Clark  (jjc at jclark)
1852151497Sru
1853151497Sru	* eqn/box.cc (gsize): Make it an int.
1854151497Sru	(set_gsize): Parse argument handling increment or decrement.
1855151497Sru	(box::top_level): Convert gsize to a string.
1856151497Sru
1857151497Sru	* troff/input.cc (exit_troff): Make buf unsigned char [].
1858151497Sru	Call to make_temp_iterator casts buf to char*.
1859151497Sru
1860151497Sru	* Makefile.in ($(TARGETS), dot): Pass $(MDEFINES) to recursive makes.
1861151497Sru
1862151497Sru	* Makefile.ccpg (depend.temp): Depends on $(YTABC).
1863151497Sru	* Makefile.cpg (depend.temp): Likewise.
1864151497Sru
1865151497Sru	* Makefile.dep: Remove Makefile.dep from $(REALCLEANFILES).
1866151497Sru
1867151497Sru	* Makefile.comm: Add y.output to MOSTLYCLEANFILES.
1868151497Sru
1869151497SruThu Sep  3 08:01:55 1992  James Clark  (jjc at jclark)
1870151497Sru
1871151497Sru	* tmac/tmac.s (B, I, BI, CW): Rewrite avoiding aliases.
1872151497Sru
1873151497SruTue Sep  1 18:24:53 1992  James Clark  (jjc at jclark)
1874151497Sru
1875151497Sru	* Version 1.06 released.
1876151497Sru
1877151497Sru	* Integrate mm 1.04.
1878151497Sru
1879151497SruFri Aug 28 11:28:19 1992  James Clark  (jjc at jclark)
1880151497Sru
1881151497Sru	* Makefile.comm, Makefile.ccpg, Makefile.cpg: Fix TAGS target.
1882151497Sru
1883151497SruThu Aug 27 11:03:33 1992  James Clark  (jjc at jclark)
1884151497Sru
1885151497Sru	* afmtodit/afmtodit.pl: Add -n option that disables generation of
1886151497Sru	ligatures command.
1887151497Sru	* devps/generate/Makefile (CR, CB, CI, CBI): Pass -n flag to
1888151497Sru	afmtodit. Regenerate.
1889151497Sru
1890151497Sru	* tmac/tmac.e ()z): Adjust _b if necessary so as to avoid moving
1891151497Sru	@f back past the current position.
1892151497Sru
1893151497Sru	* tmac/tmac.e: Change calls to @R so that comments are not part of
1894151497Sru	arguments.
1895151497Sru
1896151497SruTue Aug 25 10:42:07 1992  James Clark  (jjc at jclark)
1897151497Sru
1898151497Sru	* configure.in: Check for mkstemp with AC_HAVE_FUNCS.
1899151497Sru
1900151497Sru	* acgroff.m4 (GROFF_PROG_CCC): Don't check for <osfcn.h>. Instead
1901151497Sru	check that we can link a call to a function declared in <stdio.h>.
1902151497Sru	(GROFF_UNISTD_H): New macro.
1903151497Sru	* configure.in: Call it.
1904151497Sru	* Makefile.in: Document it.
1905151497Sru	* include/posix.h: New file.
1906151497Sru	* troff/troff.h: Don't include <osfcn.h>
1907151497Sru	* troff/input.cc: Include posix.h.
1908151497Sru	* libgroff/new.cc, libgroff/tmpfile.cc: Include posix.h rather than
1909151497Sru	osfcn.h.
1910151497Sru	* indxbib/indxbib.cc, libbib/{search.cc,linear.cc,index.cc}:
1911151497Sru	Include posix.h rather <sys/types.h>, <sys/stat.h>, <osfcn.h>,
1912151497Sru	<fcntl.h>.
1913151497Sru	* indxbib/indxbib.cc (S_IRUSR, S_IRGRP, S_IROTH): Delete definitions.
1914151497Sru	* libbib/index.cc (S_ISREG, O_RDONLY): Delete definitions.
1915151497Sru	* libbib/search.cc (O_RDONLY): Delete definition.
1916151497Sru	* refer/refer.cc, include/driver.h, pic/pic.h, groff/groff.cc:
1917151497Sru	Don't include <osfcn.h>.
1918151497Sru
1919151497Sru	* acgroff.m4 (GROFF_TIME_T): New macro.
1920151497Sru	* configure.in: Call it.
1921151497Sru	* Makefile.in: Document it.
1922151497Sru
1923151497Sru	* acgroff.m4 (GROFF_TRADITIONAL_CPP): New macro.
1924151497Sru	* configure.in: Call it.
1925151497Sru	* Makefile.in: Document -DTRADITIONAL_CPP.
1926151497Sru	* include/ptable.h: Don't include generic.h.
1927151497Sru	(name2): Define it.
1928151497Sru
1929151497Sru	* tmac/tmac.s (][): Make [T1 and [T2 aliases for [T.
1930151497Sru	Afterwards remove [T1 and [T2.
1931151497Sru	(ref*spec!0, ref*spec!2): Use T1 rather than T.
1932151497Sru	(ref*spec!1, ref*spec!4, ref*spec!4): Use T2 rather than T.
1933151497Sru	(ref*add-T2): Renamed from ref*add-T.
1934151497Sru	(ref*add-T1): New macro.
1935151497Sru
1936151497SruMon Aug 24 11:11:11 1992  James Clark  (jjc at jclark)
1937151497Sru
1938151497Sru	* acgroff.m4 (AC_PROG_CCC): Use GROFF_EXIT rather than exit 1.
1939151497Sru
1940151497Sru	* libbib/index.cc: Include <fcntl.h>.
1941151497Sru	(O_RDONLY): Define if necessary.
1942151497Sru	(make_index_search_item, index_search_item_iterator::get_tag,
1943151497Sru	index_search_item::check_files): Use O_RDONLY.
1944151497Sru	* libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
1945151497Sru	(O_RDONLY): Define if necessary.
1946151497Sru	(search_list::add_file): Use O_RDONLY.
1947151497Sru	* indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
1948151497Sru	<sys/stat.h>.
1949151497Sru	(S_IRUSR, S_IRGRP, S_IROTH): Define if necessary.
1950151497Sru	(main): Use these.
1951151497Sru
1952151497Sru	* libbib/index.cc (S_ISREG): Define it if necessary.
1953151497Sru	(index_search_item::load): Use S_ISREG.
1954151497Sru
1955151497Sru	* include/driver.h: Include <errno.h>.
1956151497Sru
1957151497SruSun Aug 23 11:32:18 1992  James Clark  (jjc at jclark)
1958151497Sru
1959151497Sru	* eqn/box.cc (body_height): Increase default value to 85.
1960151497Sru	(body_depth): Increase default value to 35.
1961151497Sru
1962151497SruFri Aug 21 05:34:42 1992  James Clark  (jjc at jclark)
1963151497Sru
1964151497Sru	* eqn/pbox.h (SAVE_FONT_STRING): Define it.
1965151497Sru	* eqn/box.cc (box::top_level): Hide use of \R in a string that is
1966151497Sru	protected from expansion with \E.
1967151497Sru
1968151497Sru	* acgroff.m4 (GROFF_PAGE): Use `case' to test domain.
1969151497Sru
1970151497Sru	* Makefile (Makefile): New target.
1971151497Sru
1972151497Sru	* Makefile.sub (configure, distfiles): New targets.
1973151497Sru
1974151497Sru	* acgroff.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Avoid using ${var:-val}
1975151497Sru	construct.
1976151497Sru
1977151497SruThu Aug 20 12:27:26 1992  James Clark  (jjc at jclark)
1978151497Sru
1979151497Sru	* eqn/box.cc (param_table): Add body_height and body_depth.
1980151497Sru
1981151497Sru	* eqn/lex.cc (def_table): Make circumflex in hat_def roman.
1982151497Sru
1983151497SruTue Aug 18 16:24:25 1992  James Clark  (jjc at jclark)
1984151497Sru
1985151497Sru	* psbb/Makefile.sub: Don't link with libgroff.a.
1986151497Sru
1987151497Sru	* acgroff.m4 (GROFF_PUTENV): New macro.
1988151497Sru	* configure.in: Call GROFF_PUTENV.
1989151497Sru	* Makefile.in: Document STDLIB_H_DECLARES_PUTENV.
1990151497Sru	* groff/groff.cc: Don't declare putenv if STDLIB_H_DECLARES_PUTENV
1991151497Sru	is defined.
1992151497Sru
1993151497Sru	* troff/env.cc (distribute_space): Rename force_forward argument
1994151497Sru	to force_reverse.  Reverse the list if force_reverse is true.
1995151497Sru
1996151497SruMon Aug 17 17:49:05 1992  James Clark  (jjc at jclark)
1997151497Sru
1998151497Sru	* tmac/tmac.an: Don't define a string `T'. Just define Tm.
1999151497Sru
2000151497Sru	* eqn/pile.cc (matrix_box::compute_metrics): Don't allow computed
2001151497Sru	height or depth to be negative.  Guard against SUP_RAISE quantity
2002151497Sru	being negative.
2003151497Sru
2004151497SruSat Aug 15 08:18:54 1992  James Clark  (jjc at jclark)
2005151497Sru
2006151497Sru	* devps/generate/textmap: Add `an' (arrowhorizex).
2007151497Sru	* tmac/tmac.ps: \(an overlaps horizontally.
2008151497Sru	* tmac/tmac.dvi, tmac/tmac.tty: Add `an'.
2009151497Sru
2010151497Sru	* devps/symbolchars: Add arrowverttp, arrowvertbt.
2011151497Sru	* devps/textmap: Add arrowvertex.
2012151497Sru	* eqn/delim.cc (delim_table): Add uparrow, downarrow and
2013151497Sru	updownarrow delimiters.
2014151497Sru	* tmac/tmac.ps, tmac/tmac.X: Add definition of \(va.
2015151497Sru
2016151497Sru	* tbl/table.cc (simple_entry::position_vertically,
2017151497Sru	block_entry::position_vertically):  For a centered entry, perform
2018151497Sru	the motion in two stages.
2019151497Sru
2020151497Sru	* refer/refer.cc (split_punct): Don't call lookup_token if there
2021151497Sru	is no token.
2022151497Sru
2023151497SruFri Aug 14 11:14:58 1992  James Clark  (jjc at jclark)
2024151497Sru
2025151497Sru	* troff/input.cc (token::next): Delete token_node after copying
2026151497Sru	token.
2027151497Sru
2028151497Sru	* grodvi/grodvi.cc (dvi_printer::dvi_printer): Initialize
2029151497Sru	cur_point_size.
2030151497Sru
2031151497Sru	* libdriver/printer.cc (printer::load_font): Delete old_font_table.
2032151497Sru
2033151497Sru	* grops/ps.cc (ps_printer::define_encoding): Delete elements of vec.
2034151497Sru
2035151497SruTue Aug 11 13:50:38 1992  James Clark  (jjc at jclark)
2036151497Sru
2037151497Sru	* grops/ps.cc (usage): -b option takes an argument.
2038151497Sru
2039151497Sru	* devps/prologue (PLG): New procedure.
2040151497Sru	* grops/ps.cc (main, usage): New -g option.
2041151497Sru	(ps_printer::~ps_printer):  If guess_flag is set, guess the paper
2042151497Sru	length using PLG.
2043151497Sru
2044151497SruMon Aug 10 11:17:53 1992  James Clark  (jjc at jclark)
2045151497Sru
2046151497Sru	* include/cset.h: Include <limits.h> if we have it.
2047151497Sru
2048151497Sru	* libgroff/illegal.cc: New file.
2049151497Sru	* include/lib.h (illegal_input_char): Use table.
2050151497Sru	* troff/input.cc (ESCAPE_RIGHT_PARENTHESIS): Renumber to 0206.
2051151497Sru	* pic/lex.cc (ARG1): Renumber to 14.
2052151497Sru	* eqn/lex.cc (ARG1): Likewise.
2053151497Sru
2054151497Sru	* troff/Makefile.sub (majorminor.cc): Handle 3 part versions
2055151497Sru	(eg 1.05.90) correctly.
2056151497Sru
2057151497SruSun Aug  9 13:35:43 1992  James Clark  (jjc at jclark)
2058151497Sru
2059151497Sru	* tmac/tmac.e (sr): Deleted. Set $r and $R directly.
2060151497Sru	Rename $r and $R registers to $v and $V.
2061151497Sru	($r, $R): Initialize to 0.
2062151497Sru	(@v, @V): New macros.
2063151497Sru	(sz): Call @v.
2064151497Sru	(@M): Call @V.
2065151497Sru
2066151497Sru	* troff/input.cc (main, usage): Add -R option that says not to
2067151497Sru	load troffrc.
2068151497Sru	* eqn/main.cc (main, usage): Rename -n to -R.
2069151497Sru
2070151497SruSat Aug  8 00:16:00 1992  James Clark  (jjc at jclark)
2071151497Sru
2072151497Sru	* devps/DESC.in: Leave font positions 5-9 blank.
2073151497Sru	* devdvi/DESC.in: Likewise.
2074151497Sru
2075151497Sru	* grog/grog.pl: Handle `.PS <file' correctly.
2076151497Sru
2077151497Sru	* troff/input.cc (input_stack::push): Improve error message when
2078151497Sru	input stack limit exceeded.
2079151497Sru
2080151497SruFri Aug  7 13:08:16 1992  James Clark  (jjc at jclark)
2081151497Sru
2082151497Sru	* refer/refer.cc (main): Fix typo in handling of `a' option.
2083151497Sru
2084151497Sru	* refer/refer.cc (do_bib): In state START after a newline remain
2085151497Sru	in state START.
2086151497Sru
2087151497Sru	* groff/groff.sh: Deleted.
2088151497Sru	* groff/Makefile.sub: Delete handling of groff.sh.
2089151497Sru
2090151497Sru	* pic/troff.cc (troff_output::text): Test \n(0p rather than \*(.T
2091151497Sru	to determine whether to use \X'ps:...'.
2092151497Sru	* tmac/troffrc: Set 0p register to 0.
2093151497Sru	* tmac/tmac.ps: Set 0p register to 1.
2094151497Sru
2095151497Sru	* groff/groff.cc: Support -X option. Give warning for -TXps and
2096151497Sru	transform to -X -Tps. Pass troff a -r.X=1 option if -X is used.
2097151497Sru	* tmac/troffrc: Support -r.X=1.
2098151497Sru
2099151497Sru	* pic/troff.cc (troff_output::dot): Don't test
2100151497Sru	zero_length_line_flag.
2101151497Sru
2102151497SruThu Aug  6 13:32:08 1992  James Clark  (jjc at jclark)
2103151497Sru
2104151497Sru	* include/lib.h: Declare getopt() and friends unless
2105151497Sru	STDLIB_H_DECLARES_GETOPT is defined.
2106151497Sru
2107151497Sru	* doc/chars.tr: Delete.
2108151497Sru	* man/groff_char.man: New file.
2109151497Sru
2110151497SruWed Aug  5 00:38:58 1992  James Clark  (jjc at jclark)
2111151497Sru
2112151497Sru	* tmac/tmac.e (np, bu): Test \n($p with string expression in case
2113151497Sru	user has changed register format.
2114151497Sru
2115151497SruMon Aug  3 11:22:18 1992  James Clark  (jjc at jclark)
2116151497Sru
2117151497Sru	* groff/groff.cc: Get rid of device_table.  Get postprocessor from
2118151497Sru	`postpro' command in DESC file.  Get spooler command from `print'
2119151497Sru	command in DESC file.  Execute spooler command with /bin/sh.
2120151497Sru
2121151497Sru	* groff/groff.cc: Split Unix-specific parts into...
2122151497Sru	* groff/pipeline.c: New file.
2123151497Sru
2124151497Sru	* LICENSE: Delete.
2125151497Sru	* COPYING: New file.
2126151497Sru	* all files: Update copyright notices.
2127151497Sru
2128151497Sru	* Rearrange files.  Redo Makefiles.  Use autoconf.
2129151497Sru
2130151497SruSat Aug  1 09:36:50 1992  James Clark  (jjc at jclark)
2131151497Sru
2132151497Sru	* troff/input.c (charinfo_to_node_list): Interpret character
2133151497Sru	definition with escape_char of `\'.
2134151497Sru
2135151497SruTue Jul 28 12:20:12 1992  James Clark  (jjc at jclark)
2136151497Sru
2137151497Sru	* lib/strerror.c, lib/iftoa.c, lib/itoa.c: Don't include lib.h.
2138151497Sru	Define INT_DIGITS as big enough for 64-bit integer.
2139151497Sru	* lib/strtol.c: Don't include lib.h.
2140151497Sru	* lib/lib.h: Delete ifdef __cplusplus stuff.
2141151497Sru
2142151497SruMon Jul 27 11:08:50 1992  James Clark  (jjc at jclark)
2143151497Sru
2144151497Sru	* ps/devps/Makefile: Add DESC to DEVICEFILES.  Separate out rule
2145151497Sru	for making DESC.  Make $(FONTS) depend on DESC. afmtodit should
2146151497Sru	get DESC from current directory.
2147151497Sru
2148151497SruSun Jul 26 15:38:26 1992  James Clark  (jjc at jclark)
2149151497Sru
2150151497Sru	* tbl/main.c (main): Always reset the line number when reading
2151151497Sru	from stdin.
2152151497Sru
2153151497Sru	* tbl/table.c (table::print_single_hline, table::print_double_hline,
2154151497Sru	table::define_bottom_macro, table::do_row, table::do_top): Round
2155151497Sru	vertical spacing up to vertical resolution.
2156151497Sru
2157151497SruFri Jul 24 14:32:07 1992  James Clark  (jjc at jclark)
2158151497Sru
2159151497Sru	* ps/ps.h (enum resource_type): Avoid comma at end of
2160151497Sru	enumerator-list.
2161151497Sru	* dvi/dvi.c (class dvi_printer): Likewise.
2162151497Sru	* dvi/tfmtodit.c (gf::load): Likewise.
2163151497Sru	* refer/label.y (struct expression): Likewise.
2164151497Sru	* refer/refer.c (class label_processing_state): Likewise.
2165151497Sru	* refer/indxbib.c (do_file): Likewise.
2166151497Sru	* troff/troff.c (enum warning_type): Likewise.
2167151497Sru	* tbl/main.c (process_data): Likewise.
2168151497Sru	* troff/charinfo.h (class charinfo):
2169151497Sru
2170151497SruWed Jul 22 09:17:58 1992  James Clark  (jjc at jclark)
2171151497Sru
2172151497Sru	* dvi/devdvi/textt.map: Add entry for `-'.  Regenerate fonts.
2173151497Sru
2174151497SruTue Jul 21 11:39:26 1992  James Clark  (jjc at jclark)
2175151497Sru
2176151497Sru	* groff.c: Move to new groff subdirectory.
2177151497Sru	* groff/Makefile: New file.
2178151497Sru	* Makefile: Remove handling of groff.c. Add groff to SUBDIRS.
2179151497Sru
2180151497Sru	* man/mdate.sh: Use ls -L if supported.
2181151497Sru
2182151497Sru	* Consolidate all header files produced by gendef into lib/defs.h.
2183151497Sru	* lib/macropath.c, lib/fontfile.c, lib/device.c: Include defs.h.
2184151497Sru	Don't include path.h.
2185151497Sru	* lib/Makefile (path.h): Don't generate.
2186151497Sru	* troff/input.c: Include defs.h. Don't include config.h.
2187151497Sru	* troff/Makefile (config.h): Don't generate.
2188151497Sru	* refer/index.h: Don't include suffix.h.
2189151497Sru	* refer/index.c: Include defs.h.
2190151497Sru	* refer/indxbib.c: Include defs.h.
2191151497Sru	* refer/refer.h, refer/lkbib.h: Don't include path.h. Include
2192151497Sru	defs.h.
2193151497Sru	* refer/Makefile (suffix.h, path.h): Don't generate.
2194151497Sru	* groff.c: Don't include config.h. Include defs.h.
2195151497Sru	* Makefile (config.h): Don't generate.
2196151497Sru	(lib/defs.h): Generate.
2197151497Sru	(topclean): Remove lib/defs.h.
2198151497Sru
2199151497SruMon Jul 20 10:12:57 1992  James Clark  (jjc at jclark)
2200151497Sru
2201151497Sru	* lib/malloc.c, lib/getpagesize.h: Deleted.
2202151497Sru	* Makefile: Add COOKIE_BUG configuration option.  Delete malloc
2203151497Sru	related stuff.
2204151497Sru	* lib/Makefile: Delete malloc-related stuff.
2205151497Sru	* lib/new.c: Workaround COOKIE_BUG if necessary.
2206151497Sru
2207151497Sru	* refer/lkbib.c, refer/indxbib.c: Don't include refer.h.  Include
2208151497Sru	needed header files directly.
2209151497Sru	* refer/refer.h: Omit definition of DEFAULT_INDEX.
2210151497Sru	* Makefile: Include definition of DEFAULT_INDEX in path.h.
2211151497Sru
2212151497SruSun Jul 19 10:19:22 1992  James Clark  (jjc at jclark)
2213151497Sru
2214151497Sru	* lib/font.c (FONT_COMMAND_HANDLER): Pass command name and single
2215151497Sru	argument.
2216151497Sru	* lib/font (font::load_desc, font::load): Don't split argument of
2217151497Sru	unknown command.
2218151497Sru	(font::handle_unknown_font_command): Change type.
2219151497Sru	* ps/ps.c (ps_font::handle_unknown_font_command,
2220151497Sru	handle_unknown_desc_command): Change type.
2221151497Sru	* dvi/dvi.c (dvi_font::handle_unknown_font_command): Change type.
2222151497Sru
2223151497SruFri Jul 17 11:12:49 1992  James Clark  (jjc at jclark)
2224151497Sru
2225151497Sru	* lib/font.h (font::handle_unknown_font_command): Add file and
2226151497Sru	line arguments.
2227151497Sru	* lib/font.c (font::handle_unknown_font_command):
2228151497Sru	* ps/ps.c (ps_font::handle_unknown_font_command):
2229151497Sru	* dvi/dvi.c (dvi_font::handle_unknown_font_command): Add file and
2230151497Sru	lineno arguments.  Use _with_file_and_line functions for error
2231151497Sru	reporting.
2232151497Sru
2233151497Sru	* lib/fontfile.c (font::unknown_desc_command_handler): New static
2234151497Sru	data member.
2235151497Sru	* lib/font.c (font::set_unknown_desc_command_handler): New
2236151497Sru	function.
2237151497Sru	(font::load_desc): For unknown commands, call
2238151497Sru	unknown_desc_command_handler if not null.
2239151497Sru	* lib/font.h (class font): Declare them.
2240151497Sru	(FONT_COMMAND_HANDLER): New typedef.
2241151497Sru	* ps/ps.c (handle_unknown_desc_command): New function.
2242151497Sru	(main): Set bflag if we had a -b option. Call
2243151497Sru	font::set_unknown_desc_command_handler.
2244151497Sru	(broken.h): Don't include.
2245151497Sru	* ps/Makefile: No need for broken.h.  Pass BROKEN_SPOOLER_FLAGS to
2246151497Sru	submake
2247151497Sru	* ps/devps/Makefile: Add `broken' command to DESC file using
2248151497Sru	BROKEN_SPOOLER_FLAGS.
2249151497Sru
2250151497Sru	* macros/tmac.e ([, ]): Add as synonyms for { and }.
2251151497Sru
2252151497Sru	* macros/tmac.e ($p): Only exdent if \$3 > 0.
2253151497Sru
2254151497Sru	* macros/tmac.e (@R, @S): New macros.
2255151497Sru	Declare @, po, $0, $i, $p, df, so, fu, bt, *, ?a, ?b, ?C, ?e, ?H,
2256151497Sru	?I, ?n, ?o, ?R, ?s, ?T, ?W, ?w registers with @R.
2257151497Sru	Declare $H, $[0-9], .. macros with @S.
2258151497Sru	Declare |0, |1, |2, |3 strings with @S.
2259151497Sru
2260151497Sru	* macros/tmac.e (@S): Rename to @U.
2261151497Sru
2262151497Sru	* macros/tmac.e (@z): Define @b and bp as empty instead of
2263151497Sru	deleting them,
2264151497Sru
2265151497Sru	* macros/tmac.e (@m): Deleted.
2266151497Sru	(@h): Don't call @m.
2267151497Sru	(@z): Don't set @m trap.
2268151497Sru
2269151497Sru	* macros/tmac.e ($h, $f): Define |z as empty string.
2270151497Sru
2271151497Sru	* macros/tmac.e (@D): Rework to avoid unbalanced .el requests.
2272151497Sru	(@q): Likewise.
2273151497Sru
2274151497Sru	* macros/tmac.e (@h): Set ?H, ?C , ?s registers to 0 rather than
2275151497Sru	removing them.
2276151497Sru	()f): Likewise for * register.
2277151497Sru
2278151497Sru	* macros/tmac.e (sr): Don't ever scale the arguments. If the third
2279151497Sru	argument is missing, don't change $R.  Call sr with three
2280151497Sru	arguments when initializing.
2281151497Sru
2282151497SruThu Jul 16 12:17:12 1992  James Clark  (jjc at jclark)
2283151497Sru
2284151497Sru	* macros/tmac.e (sr): New macro.
2285151497Sru	Initialize $r and $R using sr.
2286151497Sru
2287151497Sru	* macros/tmac.e (,): Delete \*(#[.
2288151497Sru
2289151497Sru	* troff/env.c (set_tabs): Read the tab type even if the position
2290151497Sru	is bad.  Allow the position of the first tab stop to be negative.
2291151497Sru
2292151497SruWed Jul 15 13:14:37 1992  James Clark  (jjc at jclark)
2293151497Sru
2294151497Sru	* refer/dirnamemax.c: Use pathconf() if <unistd.h> defines
2295151497Sru	_POSIX_VERSION.
2296151497Sru	* refer/Makefile: Compile dirnamemax.c using -DHAVE_UNISTD_H
2297151497Sru	rather than -DPATHCONF_MISSING.
2298151497Sru	* Makefile: Get rid of PATHCONF_MISSING.
2299151497Sru
2300151497Sru	* refer/map.c: New file.
2301151497Sru	* refer/index.c: Interface to mmap through map.c.  Rename map_size
2302151497Sru	to map_len.
2303151497Sru	* refer/Makefile: Handle map.c.
2304151497Sru	* Makefile: Include -DHAVE_MMAP in OLDCFLAGS rather than CFLAGS.
2305151497Sru
2306151497SruTue Jul 14 14:15:20 1992  James Clark  (jjc at jclark)
2307151497Sru
2308151497Sru	* Makefile: RANLIB should be `true' if there is no ranlib.
2309151497Sru	* lib/Makefile (libgroff.a): Simplify.
2310151497Sru	* driver/Makefile (libdriver.a): Simplify.
2311151497Sru
2312151497Sru	* Makefile: Change -DWAIT_COREDUMP_0200 to -DWCOREFLAG=0200.
2313151497Sru	* groff.c (WCOREDUMP): Use WCOREFLAG.  Define only if not already
2314151497Sru	defined.
2315151497Sru
2316151497SruSat Jul 11 09:19:17 1992  James Clark  (jjc at jclark)
2317151497Sru
2318151497Sru	* troff/env.c (compare_ranges): Declare as extern "C".
2319151497Sru
2320151497Sru	* troff/input.c (init_registers): Use `struct tm' instead of `tm'.
2321151497Sru
2322151497Sru	* macros/tmac.s, macros/tmac.e: Change .nx /dev/null to .nx.
2323151497Sru
2324151497SruWed Jul  8 11:52:27 1992  James Clark  (jjc at jclark)
2325151497Sru
2326151497Sru	* pic/troff.c (troff_output::text): Merge in grops_output::text,
2327151497Sru	but conditionalize use of \X based on \*(.T.
2328151497Sru	(grops_output::*): Deleted.
2329151497Sru	* pic/output.h: Delete declaration of make_grops_output.
2330151497Sru	* pic/main.c (main): Ignore -p and -x.  driver_extension_flag is 1
2331151497Sru	by default. -n sets it to 0.
2332151497Sru	(usage): Corresponding changes.
2333151497Sru	* groff.c (main): Don't pass -x or -p to pic.
2334151497Sru	* groff.sh: Likewise.
2335151497Sru
2336151497Sru	* ps/ps.c (ps_printer::do_exec, ps_printer::do_file): Force ndefs
2337151497Sru	to be non-zero.
2338151497Sru
2339151497Sru	* ps/devps/afmtodit: Change calculation of asc_boundary and
2340151497Sru	desc_boundary.  Make these bounds inclusive.
2341151497Sru	* ps/devps: Regenerate font files.
2342151497Sru
2343151497SruTue Jul  7 13:14:15 1992  James Clark  (jjc at jclark)
2344151497Sru
2345151497Sru	* macros/tmac.latin1: New file.
2346151497Sru	* macros/tmac.tty-char: Use tmac.latin1.
2347151497Sru	(tmac.tty-tr): Deleted.
2348151497Sru	* macros/Makefile: Install tmac.latin1.
2349151497Sru	* macros/tmac.dvi: Use tmac.latin1.
2350151497Sru	* macros/troffrc: Translate \[char160] onto no-break space here.
2351151497Sru	* macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.
2352151497Sru
2353151497SruMon Jul  6 11:06:52 1992  James Clark  (jjc at jclark)
2354151497Sru
2355151497Sru	* macros/tmac.Xps: Use `do' request.
2356151497Sru
2357151497Sru	* macros/tmac.ps: Use `do' request.
2358151497Sru
2359151497Sru	* macros/tmac.e (@C): Use `do' request.
2360151497Sru
2361151497Sru	* macros/tmac.X, macros/tmac.Xps: Moved from xditview.
2362151497Sru	* macros/Makefile: Install tmac.X*.
2363151497Sru
2364151497Sru	* tty/tmac.tty, tty/tmac.tty-char: Move to macros.
2365151497Sru	* tty/Makefile: Don't install tmac.tty*.
2366151497Sru	* macros/Makefile: Install tmac.tty*.
2367151497Sru
2368151497Sru	* dvi/tmac.dvi: Move to macros.
2369151497Sru	* dvi/Makefile: Don't install tmac.dvi.
2370151497Sru	* macros/Makefile: Install tmac.dvi.
2371151497Sru
2372151497Sru	* ps/tmac.ps*: Move to macros.
2373151497Sru	* ps/Makefile: Don't install tmac.ps*.
2374151497Sru	* macros/Makefile: Install tmac.ps*.
2375151497Sru
2376151497Sru	* eqn/box.c: Provide draw_lines parameter corresponding to -D
2377151497Sru	option.
2378151497Sru	* macros/eqnrc: Set draw_lines parameter based on device.
2379151497Sru	* groff.c: Don't pass -D flag to eqn.
2380151497Sru	* groff.sh: Likewise.
2381151497Sru	* eqn/main.c: Warn about use of -D.
2382151497Sru
2383151497Sru	* troff/input.c (process_startup_file): New function.
2384151497Sru	(main): Call process_startup_file().
2385151497Sru	* macros/troffrc: New file.
2386151497Sru	* macros/Makefile: Install troffrc.
2387151497Sru	* groff.c (main): Don't pass extra -m option to troff. For a
2388151497Sru	pseudo device pass the name of the pseudo device to troff using
2389151497Sru	-d.
2390151497Sru	* groff.sh: Likewise.
2391151497Sru	* groff.c (possible_command::prepend_arg): Deleted.
2392151497Sru
2393151497Sru	* troff/input.c (do_request): New function.
2394151497Sru	(init_input_requests): Bind "do" to do_request.
2395151497Sru
2396151497Sru	* eqn/main.c (main): Instead of loading eqnchar from device directory,
2397151497Sru	load eqnrc from macro directory.
2398151497Sru	* macros/eqnrc: New file.
2399151497Sru	* macros/Makefile: Install eqnrc.
2400151497Sru	* ps/devps/eqnchar: Deleted.
2401151497Sru	* ps/devps/Makefile: Don't install eqnchar.
2402151497Sru	* dvi/devdvi/eqnchar: Deleted.
2403151497Sru	* dvi/devdvi/Makefile: Don't install eqnchar.
2404151497Sru	* groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New
2405151497Sru	variable optM.
2406151497Sru
2407151497Sru	* lib/device.[ch]: New files.
2408151497Sru	* lib/font.h (font::set_device_name, font::get_device_name):
2409151497Sru	Deleted.
2410151497Sru	* lib/fontfile.c: Use device.h.
2411151497Sru	* lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE.
2412151497Sru	* troff/input.c: Delete definition of `device'.
2413151497Sru	(main): Don't initialize device.
2414151497Sru	* troff/troff.h: Include device.h rather than declaring device.
2415151497Sru	* troff/Makefile: No need to handle DEVICE.
2416151497Sru	* driver/input.c: Include device.h. Don't use
2417151497Sru	font::{set,get}_device_name.
2418151497Sru	* groff.c, Makefile: Rename device.h to config.h.
2419151497Sru	* groff.c: Use library device variable.
2420151497Sru	* eqn/main.c: Use library device variable.
2421151497Sru	* eqn/Makefile: No need to handle DEVICE.
2422151497Sru
2423151497Sru	* lib/searchpath.[ch]: New files.
2424151497Sru	* lib/Makefile: Handle searchpath.[ch].
2425151497Sru	* troff/input.c (open_file, init_dirs): Deleted.
2426151497Sru	(macro_dirs): Deleted.
2427151497Sru	(open_mac_file, macro_source): Use class search_path.
2428151497Sru	(add_string, struct string_list): Move definition.
2429151497Sru	(main): Change -M option to use macro_path. Delete call to
2430151497Sru	init_dirs().
2431151497Sru	* lib/fontfile.c (font::command_line_font_dir, font::open_file):
2432151497Sru	Rewrite to use class search_path.
2433151497Sru	* lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted.
2434151497Sru	* lib/Makefile: fontfile.c depends on searchpath.h.
2435151497Sru	* lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define
2436151497Sru	MACROPATH.
2437151497Sru	* lib/macropath.[ch]: New files.
2438151497Sru	* troff/Makefile: No need to handle MACROPATH.
2439151497Sru
2440151497Sru	* troff/input.c: Delete DUMP code.
2441151497Sru	* lib/fontfile.c, lib/font.h: Delete
2442151497Sru	font::forget_command_line_font_dirs.
2443151497Sru
2444151497Sru	* troff/input.c (push_token): New function.
2445151497Sru	(handle_first_page_transition): Use push_token().
2446151497Sru	(process_input_stack): Change handling of a space at the beginning
2447151497Sru	of the line.
2448151497Sru
2449151497SruSun Jul  5 17:11:09 1992  James Clark  (jjc at jclark)
2450151497Sru
2451151497Sru	* troff/input.c (font_dirs): Delete unused variable.
2452151497Sru
2453151497Sru	* eqn/lex.c (do_set): Correct error messages.
2454151497Sru
2455151497SruSat Jul  4 10:20:55 1992  James Clark  (jjc at jclark)
2456151497Sru
2457151497Sru	* troff/input.c (do_define_string): Allow the string name to be
2458151497Sru	followed immediately by a tab.
2459151497Sru	(define_character): Likewise.
2460151497Sru
2461151497SruThu Jul  2 10:59:15 1992  James Clark  (jjc at jclark)
2462151497Sru
2463151497Sru	* ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to
2464151497Sru	be negative.
2465151497Sru
2466151497Sru	* troff/input.c (input_iterator::is_file): New virtual function.
2467151497Sru	(file_iterator::is_file): New function.
2468151497Sru	(input_stack::end_file): New function.
2469151497Sru	(input_stack::next_file): Handle the situation where there is no
2470151497Sru	file on the input stack correctly.  Avoid making two passes over
2471151497Sru	the input stack.
2472151497Sru	(next_file): Make the filename optional; in this case call
2473151497Sru	input_stack::end_file().
2474151497Sru
2475151497SruWed Jul  1 10:17:25 1992  James Clark  (jjc at jclark)
2476151497Sru
2477151497Sru	* dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
2478151497Sru	produce a real _ charater when the current font is CW and _
2479151497Sru	otherwise.
2480151497Sru
2481151497Sru	* lib/errarg.c (errarg::errarg(const char *)): Invert conditional
2482151497Sru	expression to work around gcc 2.2 bug.
2483151497Sru
2484151497SruWed Jun 24 08:12:24 1992  James Clark  (jjc at jclark)
2485151497Sru
2486151497Sru	* eqn/main.c (main): Don't give an error if we can't find eqnchar.
2487151497Sru
2488151497Sru	* troff/env.c (environment::add_padding): New function.
2489151497Sru	(environment::add_char): Use add_padding().
2490151497Sru	(environment::space): Likewise.
2491151497Sru	(environment::wrap_up_field): Add some padding if there is none
2492151497Sru	and there's no current tab.
2493151497Sru	* troff/env.h: Declare environment::add_padding.
2494151497Sru
2495151497SruMon Jun 22 08:37:45 1992  James Clark  (jjc@jclark)
2496151497Sru
2497151497Sru	* pic/pic.y: undef fmod and rand before declaring them.
2498151497Sru
2499151497SruSun Jun 14 11:40:18 1992  James Clark  (jjc@jclark)
2500151497Sru
2501151497Sru	* troff/input.c (main): If the DESC file specifies a font name of
2502151497Sru	0, then leave the corresponding font position empty.
2503151497Sru
2504151497Sru	* nroff.sh: New file.
2505151497Sru	* Makefile (install.nobin): Install nroff.sh.
2506151497Sru
2507151497Sru	* tty/devlatin1/R.proto: Add ao as synonym for de.
2508151497Sru	* tty/tmac.tty-char: Define ao as o.
2509151497Sru
2510151497Sru	* tty/dev{ascii,latin1}/R.proto: Add aq.
2511151497Sru	* tty/tmac.tty-char: Delete definition of aq.
2512151497Sru
2513151497SruMon Jun  8 11:43:20 1992  James Clark  (jjc@jclark)
2514151497Sru
2515151497Sru	* troff/input.c (init_charset_table): Don't translate 0240.
2516151497Sru	* ps/tmac.ps: Translate char160 to space.
2517151497Sru	* dvi/tmac.dvi: Likewise.
2518151497Sru	* tty/tmac.tty: Likewise.
2519151497Sru
2520151497SruSun Jun  7 10:52:35 1992  James Clark  (jjc@jclark)
2521151497Sru
2522151497Sru	* dvi/tmac.dvi: Add support for all Latin-1 characters.
2523151497Sru
2524151497Sru	* macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-,
2525151497Sru	\(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE,
2526151497Sru	\(oe, \(r?, \(r!.
2527151497Sru
2528151497Sru	* tty/tmac.tty-char: Add \(ah.
2529151497Sru
2530151497Sru	* dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho.
2531151497Sru	No need to define \(FM and \(!/. Conditionalize all character
2532151497Sru	definitions.
2533151497Sru
2534151497Sru	* ps/devps/lgreekmap: Add +h, +f, +p.
2535151497Sru
2536151497Sru	* ps/tmac.psnew: New file.
2537151497Sru	* ps/Makefile: Install tmac.psnew.
2538151497Sru
2539151497Sru	* troff/input.c (charinfo_to_node_list): Don't ever interpret
2540151497Sru	character definitions in compatible mode.
2541151497Sru
2542151497Sru	* troff/input.c (remove_character): New function.
2543151497Sru	(init_input_requests): Bind remove_character to "rchar".
2544151497Sru
2545151497Sru	* ps/tmac.psold: New file.
2546151497Sru	* ps/Makefile: Install tmac.psold.
2547151497Sru	* ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1
2548151497Sru	characters into tmac.psold.  Make these definitions unconditional.
2549151497Sru
2550151497Sru	* tty/tmac.tty-char: Define \n(_C only if it is not already defined.
2551151497Sru
2552151497Sru	* ps/tmac.ps: Don't define \('c and \('C.
2553151497Sru
2554151497Sru	* ps/devps/textmap: Move Greek characters to...
2555151497Sru	* ps/devps/symbolchars:
2556151497Sru
2557151497SruSat Jun  6 16:41:17 1992  James Clark  (jjc@jclark)
2558151497Sru
2559151497Sru	* ps/devps/text.enc: Add quotesingle.
2560151497Sru	* ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz.
2561151497Sru	* tty/tmac.tty-char: Likewise.
2562151497Sru	* dvi/devdvi/texmi.map: Add +h, +f, +p.
2563151497Sru	* dvi/devdvi/texi.map: Add Fn.
2564151497Sru	* dvi/devdvi/msam.map: Add lz.
2565151497Sru	* dvi/tmac.dvi: Handle Bq, bq, aq.
2566151497Sru
2567151497Sru	* pic/lex.c (get_token): Recognize 'th.
2568151497Sru	* pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.
2569151497Sru
2570151497SruFri Jun  5 11:20:46 1992  James Clark  (jjc@jclark)
2571151497Sru
2572151497Sru	* ps/devps/textmap: Move di, mu, +- to...
2573151497Sru	* ps/devps/symbolchars:
2574151497Sru
2575151497Sru	* macros/tmac.s (@XS): Don't call par@reset or fi.
2576151497Sru	(XA): Call LP. Turn off adjustment. Reduce line length.
2577151497Sru
2578151497Sru	* macros/tmac.s: Initially alias XS to LP.
2579151497Sru	(XS): Rename to @XS.
2580151497Sru	(cov*ab-init): Alias XS to @XS.
2581151497Sru
2582151497SruThu Jun  4 09:12:05 1992  James Clark  (jjc@jclark)
2583151497Sru
2584151497Sru	* troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT,
2585151497Sru	TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens.
2586151497Sru	(token::is_size, token::changes_env): Deleted.
2587151497Sru	* troff/number.c (parse_term): No need to process \s explicitly.
2588151497Sru	Call tok.next() only after scale indicator has been processed.
2589151497Sru	* troff/input.c (do_overstrike, do_bracket): No need to process \s,
2590151497Sru	\f etc explicitly.
2591151497Sru	(token::next): Handle \s, \f, \S, \H immediately rather than
2592151497Sru	returning them as tokens.
2593151497Sru	(token::operator==, token::description, token::add_to_node_list,
2594151497Sru	token::process): Remove handling of deleted tokens.
2595151497Sru
2596151497Sru	* troff/env.c (environment::add_char): When adding padding
2597151497Sru	indicator character, call start_line() if necessary.
2598151497Sru
2599151497SruWed Jun  3 09:55:50 1992  James Clark  (jjc@jclark)
2600151497Sru
2601151497Sru	* ps/devps/afmtodit: Don't output 0 kerns.
2602151497Sru
2603151497Sru	* ps/devps/afmtodit: Remove directory from name of encoding in
2604151497Sru	font description file.
2605151497Sru
2606151497Sru	* ps/devps/afmtodit: Improve error messages.
2607151497Sru
2608151497Sru	* ps/devps/afmtodit: Allow DESC file to be specified with -d.
2609151497Sru
2610151497Sru	* ps/devps/Makefile: Incorporate FontMakefile. Rework.
2611151497Sru	* ps/devps/FontMakefile: Deleted.
2612151497Sru	* ps/devps/afmname: New file.
2613151497Sru
2614151497Sru	* ps/devps/symbol.sed: New file.
2615151497Sru	* ps/devps/symbol.diff: Deleted.
2616151497Sru	* ps/devps/FontMakefile: Generate symbol.afm using symbol.sed.
2617151497Sru	Generate zapfdr.afm from zapfd.afm.
2618151497Sru
2619151497Sru	* tty/tmac.tty (tty-char): Prefix definition with ".
2620151497Sru
2621151497Sru	* macros/tmac.an (TP): Don't start a diversion if one has already
2622151497Sru	been started.
2623151497Sru
2624151497Sru	* tty/tmac.tty-char: Add Latin-1 characters.
2625151497Sru
2626151497Sru	* tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.
2627151497Sru
2628151497SruTue Jun  2 00:54:34 1992  James Clark  (jjc@jclark)
2629151497Sru
2630151497Sru	* tbl/table.c (table::allocate): Delete old_vline, old_entry.
2631151497Sru	Move declaration of struct horizontal_span.
2632151497Sru
2633151497Sru	* tbl/table.c (table::table): Initialize span_list.
2634151497Sru	(table::~table): Delete span_list.
2635151497Sru
2636151497Sru	* lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v.
2637151497Sru
2638151497Sru	* ps/devps/Makefile: Avoid dependency on GNU make.
2639151497Sru
2640151497Sru	* ps/tmac.ps: Check that character does not already exist before
2641151497Sru	defining it.
2642151497Sru
2643151497Sru	* tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq,
2644151497Sru	\(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en,
2645151497Sru	\(ru, \(ul, \(br, \(bv, \(sl which are in the font description
2646151497Sru	files.
2647151497Sru
2648151497Sru	* tty/tmac.tty-char: New file.
2649151497Sru	* tty/Makefile: Install tmac.tty-char.
2650151497Sru	* tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into
2651151497Sru	tmac.tty-char.
2652151497Sru
2653151497Sru	* tty/tmac.tty: Fix definition of \(34.
2654151497Sru
2655151497Sru	* tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map
2656151497Sru	bracket-drawing characters onto |. Add *o.
2657151497Sru
2658151497Sru	* troff/env.c (environment::wrap_up_tab): Increment field_spaces
2659151497Sru	only if current_field.
2660151497Sru
2661151497Sru	* troff/dictionary.c (dictionary::lookup): Free old_table after
2662151497Sru	rehashing.
2663151497Sru
2664151497SruMon Jun  1 10:15:22 1992  James Clark  (jjc@jclark)
2665151497Sru
2666151497Sru	* tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters
2667151497Sru	whose glyphs are identical to glyphs of some Roman character.
2668151497Sru
2669151497Sru	* tty/devlatin1/R.proto (bu): Deleted.
2670151497Sru	* tty/devascii/R.proto (bu): Deleted.
2671151497Sru	* tty/tmac.tty: Add definition of \(bu.
2672151497Sru
2673151497Sru	* eqn/main.c (do_file): Pass FILE as argument.
2674151497Sru	(main): Automatically load eqnchar.  New options -F and -n.
2675151497Sru	Pass do_file an opened FILE.
2676151497Sru	* groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn.
2677151497Sru	No need to include font.h.
2678151497Sru	* groff.sh: Likewise.  Don't need to use - for standard input.
2679151497Sru	Prefix files with -- if first file starts with -.
2680151497Sru
2681151497Sru	* macros/tmac.e: Conditionalize use of \$* on \n(.g.
2682151497Sru
2683151497Sru	* troff/env.c (environment::possibly_break_line): Don't set line
2684151497Sru	to 0 across call to output_line().  Don't call output_line() until
2685151497Sru	after discarding nodes after break.
2686151497Sru
2687151497SruSun May 31 10:45:29 1992  James Clark  (jjc@jclark)
2688151497Sru
2689151497Sru	* request.h (macro::empty): Declare it.
2690151497Sru	* input.c (macro::empty): New method.
2691151497Sru	(interpolate_macro):  Don't give a WARN_SPACE if the two-character
2692151497Sru	macro is empty.
2693151497Sru
2694151497SruSat May 30 10:27:15 1992  James Clark  (jjc@jclark)
2695151497Sru
2696151497Sru	* troff/env.c (environment::start_field): Decrement space_total
2697151497Sru	when a space is frozen.
2698151497Sru
2699151497SruFri May 22 14:34:38 1992  James Clark  (jjc@jclark)
2700151497Sru
2701151497Sru	* macros/tmac.an (R): Delete macro.
2702151497Sru
2703151497Sru	* troff/input.c (get_copy, token::next): Support \# (like \" but
2704151497Sru	newline is ignored).
2705151497Sru
2706151497Sru	* troff/input.c (token::next): Fix error message in 'Y' case.
2707151497Sru
2708151497SruThu May 21 09:26:24 1992  James Clark  (jjc@jclark)
2709151497Sru
2710151497Sru	* eqn/delim.c (define_extensible_string): Recognize any prefix of
2711151497Sru	a delimiter name.
2712151497Sru
2713151497SruFri May 15 10:20:41 1992  James Clark  (jjc at jclark)
2714151497Sru
2715151497Sru	* c++test.c: Include <osfcn.h>.
2716151497Sru
2717151497Sru	* lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case
2718151497Sru	<errno.h> doesn't.
2719151497Sru
2720151497SruFri May  8 09:37:19 1992  James Clark  (jjc at jclark)
2721151497Sru
2722151497Sru	* tbl/table.c (table::divide_span): Don't count column separation
2723151497Sru	if expand was specified.
2724151497Sru
2725151497Sru	* tbl/main.c (process_format): Don't ignore width specs in
2726151497Sru	continued format.  Give warning for changing equal widths or
2727151497Sru	column separation in continued format.
2728151497Sru	(process_data): Set column separation, minimum width, equal
2729151497Sru	columns at end of table.
2730151497Sru
2731151497SruThu May  7 08:50:40 1992  James Clark  (jjc at jclark)
2732151497Sru
2733151497Sru	* troff/node.c (kern_pair_node::add_discretionary_hyphen,
2734151497Sru	node::add_discretionary_hyphen): Use soft_hyphen_char.
2735151497Sru	(set_soft_hyphen_char): New function.
2736151497Sru	(init_node_requests): Bind to shc.  Initialize soft_hyphen_char.
2737151497Sru
2738151497Sru	* Makefile (c++tested): Give more helpful message if test fails.
2739151497Sru
2740151497SruTue May  5 10:58:39 1992  James Clark  (jjc at jclark)
2741151497Sru
2742151497Sru	* troff/input.c (init_charset_table): Translate 0240 to
2743151497Sru	an unbreakable space.
2744151497Sru
2745151497Sru	* troff/token.h (token::hyphen_indicator): New function.
2746151497Sru	* troff/charinfo.h (TRANSLATE_HYPHEN_INDICATOR): New special
2747151497Sru	translation.
2748151497Sru	* troff/input.c (translate): Allow translation to \%.
2749151497Sru	* troff/node.c (node::add_char): Handle
2750151497Sru	TRANSLATE_HYPHEN_INDICATOR.	
2751151497Sru	(make_node): Don't allow TRANSLATE_HYPHEN_INDICATOR here.
2752151497Sru
2753151497Sru	* troff/input.c (init_charset_table): Don't set BREAK_AFTER flag
2754151497Sru	for \(hy.
2755151497Sru
2756151497Sru	* tty/devlatin1/R.proto: \(hy and - should print as 055.
2757151497Sru
2758151497SruTue Apr 21 09:24:42 1992  James Clark  (jjc at jclark)
2759151497Sru
2760151497Sru	* groff.c (run_commands): If the last command gets a SIGPIPE send
2761151497Sru	a SIGPIPE to all children than haven't yet terminated.  When
2762151497Sru	command terminates, set pid field to -1.
2763151497Sru
2764151497SruFri Apr 17 11:20:48 1992  James Clark  (jjc at jclark)
2765151497Sru
2766151497Sru	* groff.c (main): Pass an appropriate -filename option to gxditview.
2767151497Sru
2768151497SruThu Apr 16 15:11:40 1992  James Clark  (jjc at jclark)
2769151497Sru
2770151497Sru	* Makefile.bd (install): Remove existing program before copying.
2771151497Sru
2772151497Sru	* Makefile, */Makefile, Makefile.bd, groff.sh, groff.c: Allow
2773151497Sru	programs which have Unix counterparts to be installed with
2774151497Sru	user-specified prefix.
2775151497Sru
2776151497Sru	* troff/input.c (exit_troff): Don't check if exit_started.
2777151497Sru	(exit_request): Don't call exit_troff if exit_started.
2778151497Sru
2779151497Sru	* Makefile.bd (install.mm): Rename to install.dwbmm.
2780151497Sru
2781151497SruTue Apr 14 10:05:10 1992  James Clark  (jjc at jclark)
2782151497Sru
2783151497Sru	* driver/input.c (do_file): Add missing break for '#' case.
2784151497Sru
2785151497SruMon Apr 13 10:11:02 1992  James Clark  (jjc at jclark)
2786151497Sru
2787151497Sru	* troff/input.c (input_stack::clear):  Clear past any boundaries and
2788151497Sru	then add the boundaries back.
2789151497Sru
2790151497Sru	* troff/input.c (exit_troff): Return immediately if already
2791151497Sru	exiting.
2792151497Sru
2793151497Sru	* macros/tmac.s (pg@end-text): New macro.  Use pg@end-text for the
2794151497Sru	end macro.
2795151497Sru	(pg*end-page): If the text has ended and there are no more
2796151497Sru	footnotes or keeps, exit.
2797151497Sru
2798151497Sru	* macros/doc-ditroff (Lq, Rq): Define as \(lq and \(rq.
2799151497Sru
2800151497Sru	* troff/input.c (init_charset_table): Make \(rq transparent by
2801151497Sru	default.
2802151497Sru
2803151497Sru	* macros/tmac.an: Define lq and rq strings.
2804151497Sru
2805151497Sru	* macros/tmac.s (Q, U): Define as \(lq and \(rq.
2806151497Sru
2807151497SruSun Apr 12 12:54:37 1992  James Clark  (jjc at jclark)
2808151497Sru
2809151497Sru	* troff/env.c (environment::final_break): New function.
2810151497Sru	(environment::newline): Set prev_line_interrupted to 2 if
2811151497Sru	exit_started.
2812151497Sru	* troff/env.h: Declare environment::final_break.
2813151497Sru	* troff/input.c (exit_troff): Call environment::final_break()
2814151497Sru	instead of environment::do_break().
2815151497Sru
2816151497Sru	* macros/Makefile: Install man.local if $(MACRODIR)/man.local
2817151497Sru	doesn't already exist.
2818151497Sru	* macros/man.local: New file.
2819151497Sru	* macros/tmac.an: Load man.local.
2820151497Sru	* macros/man.ultrix: New file.
2821151497Sru
2822151497SruSat Apr 11 17:32:04 1992  James Clark  (jjc at jclark)
2823151497Sru
2824151497Sru	* troff/input.c (exit_groff): Rename to...
2825151497Sru	(exit_troff): New function.
2826151497Sru
2827151497Sru	* troff/div.c (exit_started, done_end_macro,
2828151497Sru	seen_last_page_ejector): New global variables.
2829151497Sru	(began_page_in_end_macro): New static variable.
2830151497Sru	(exit_flag): Deleted.
2831151497Sru	(top_level_diversion::top_level_diversion): Initialize
2832151497Sru	last_page_count.
2833151497Sru	(top_level_diversion): More elaborate test for whether
2834151497Sru	cleanup_and_exit() should be called.
2835151497Sru	Set began_page_in_end_macro if the end macro isn't yet finished.
2836151497Sru	* troff/div.h (top_level_diversion::last_page_count): New data
2837151497Sru	member.
2838151497Sru	(top_level_diversion::set_last_page): New function.
2839151497Sru	(exit_started, done_end_macro, seen_last_page_ejector): Declare.
2840151497Sru	* troff/env.c (do_break): Zero prev_line_interrupted.
2841151497Sru	* troff/input.c (exit_flag): Delete declaration.
2842151497Sru	(LAST_PAGE_EJECTOR): New magic cookie.
2843151497Sru	(token::next): Handle LAST_PAGE_EJECTOR.
2844151497Sru	(exit_groff): Set exit_started and done_end_macro instead of
2845151497Sru	exit_flag.  Call top_level_diversion::set_last_page.  Push a
2846151497Sru	LAST_PAGE_EJECTOR instead of calling push_page_ejector().  Do
2847151497Sru	another ejection after setting seen_last_page_ejector.
2848151497Sru
2849151497SruThu Apr  9 04:37:11 1992  James Clark  (jjc at jclark)
2850151497Sru
2851151497Sru	* etc/grog.sh, etc/grog.sh: Recognize -me sh macro.
2852151497Sru
2853151497Sru	* macros/tmac.e (TH): Make sure there's room for the initial
2854151497Sru	header.
2855151497Sru
2856151497Sru	* macros/tmac.s (par@init): Make PD and DD at least \n(.V.
2857151497Sru	Set FVS in points rather than units.
2858151497Sru
2859151497SruMon Apr  6 11:21:32 1992  James Clark  (jjc at jclark)
2860151497Sru
2861151497Sru	* troff/div.c (top_level_diversion::add_trap): Don't consider the
2862151497Sru	position of empty slots.
2863151497Sru
2864151497SruFri Apr  3 10:46:45 1992  James Clark  (jjc at jclark)
2865151497Sru
2866151497Sru	* ps/devps/S: Fix height and depth of parenrightex.
2867151497Sru	* ps/devps/symbol.diff: Regenerate.
2868151497Sru
2869151497SruSat Mar 28 21:17:52 1992  James Clark  (jjc at jclark)
2870151497Sru
2871151497Sru	* tmac.e (u): Do underlining as in -mgs.
2872151497Sru
2873151497SruFri Mar 27 09:23:44 1992  James Clark  (jjc at jclark)
2874151497Sru
2875151497Sru	* tty/tty.c (tty_printer::end_page): If overstriking is
2876151497Sru	suppressed, still turn overstruck horizontal and vertical lines
2877151497Sru	into +.
2878151497Sru
2879151497Sru	* lib/new.c: Back out Feb 24 change; no longer needed with gcc
2880151497Sru	2.1.
2881151497Sru
2882151497Sru	* refer/label.y (format_expr::evaluate): Avoid use of %0*d.
2883151497Sru
2884151497SruWed Mar 18 09:29:10 1992  James Clark  (jjc at jclark)
2885151497Sru
2886151497Sru	* Version 1.05 released.
2887151497Sru
2888151497SruTue Mar 17 16:50:45 1992  James Clark  (jjc at jclark)
2889151497Sru
2890151497Sru	* tty/tty.c: Instead of keeping an array of glyphs and then
2891151497Sru	sorting it, keep a ordered linked list of glyphs for each line.
2892151497Sru
2893151497Sru	* driver/driver.h: Include stddef.h.
2894151497Sru
2895151497Sru	* tty/tty.c (compare_glyph):
2896151497Sru	* refer/refer.c (rcompare):
2897151497Sru	* troff/env.c (compare_ranges): Arguments of qsort comparison
2898151497Sru	function should be const void *.
2899151497Sru
2900151497Sru	* troff/number.c (parse_term):
2901151497Sru	* dvi/dvi.c (draw_dvi_printer::draw): Avoid initialization in
2902151497Sru	switch statement.
2903151497Sru
2904151497Sru	* refer/label.y (consider_authors): Don't access variables
2905151497Sru	constructed under a condition outside that condition: put braces
2906151497Sru	round for statement containing declaration; redeclare use of same
2907151497Sru	variable later.
2908151497Sru
2909151497Sru	* pic/pic.y (text_expr): Delete production that allows
2910151497Sru	parenthesised text_expr.
2911151497Sru	(expr): Allow a conditional_expr to appear in parentheses.
2912151497Sru	(conditional_expr): Rename to any_expr.
2913151497Sru
2914151497Sru	* mm: Install new version 1.01 from jh.
2915151497Sru
2916151497Sru	* lib/font.c (font::get_width): Cache scaled widths.
2917151497Sru	(font::font): Initialize widths_cache.
2918151497Sru	(font::~font): Destroy widths_cache.
2919151497Sru	* lib/font.h: Add font::widths_cache. Declare font_widths_cache.
2920151497Sru
2921151497SruMon Mar 16 10:16:10 1992  James Clark  (jjc at jclark)
2922151497Sru
2923151497Sru	* c++test.c, c++test.ref: New files.
2924151497Sru	* Makefile: Check that the C++ compiler works.
2925151497Sru
2926151497Sru	* ps/tmac.pspic (PSPIC): Do a break.
2927151497Sru
2928151497Sru	* ps/tmac.ps: Move definition of PSPIC into...
2929151497Sru	* ps/tmac.pspic: New file.
2930151497Sru	(PSPIC): Draw box around picture, but make it invisible to grops.
2931151497Sru	* ps/tmac.ps: Load tmac.pspic.
2932151497Sru	* ps/Makefile: Install tmac.pspic.
2933151497Sru
2934151497SruSun Mar 15 14:18:08 1992  James Clark  (jjc at jclark)
2935151497Sru
2936151497Sru	* lib/font.c (scale_round): If n is negative,
2937151497Sru	subtract .5 before truncating floating point result.
2938151497Sru
2939151497Sru	* lib/fontfile.c: Include <errno.h>.
2940151497Sru
2941151497SruTue Mar 10 14:17:03 1992  James Clark  (jjc at jclark)
2942151497Sru
2943151497Sru	* driver/input.c (get_char): Inline. Don't update current_lineno.
2944151497Sru	Change callers to up date current_lineno if necessary.
2945151497Sru	Use get_char() instead of getc(current_file).
2946151497Sru
2947151497SruSun Mar  8 18:05:28 1992  James Clark  (jjc at jclark)
2948151497Sru
2949151497Sru	* ps/tmac.ps: Fix up spacing of \(mo and \(nm.
2950151497Sru
2951151497SruFri Mar  6 19:38:58 1992  James Clark  (jjc at jclark)
2952151497Sru
2953151497Sru	* tty/tty.c (tmac.tty): Define \(rg as (R).
2954151497Sru
2955151497SruTue Mar  3 10:11:25 1992  James Clark  (jjc at jclark)
2956151497Sru
2957151497Sru	* lib/lib.h: New define a_delete.
2958151497Sru	* Use a_delete instead of delete when deleting an array of objects
2959151497Sru	without destructors.
2960151497Sru
2961151497Sru	* lib/lib.h: Rename adelete to ad_delete.
2962151497Sru	* Change uses of adelete.
2963151497Sru
2964151497SruMon Mar  2 12:41:05 1992  James Clark  (jjc at jclark)
2965151497Sru
2966151497Sru	* eqn/eqn.y: Include lib.h.
2967151497Sru
2968151497Sru	* troff/node.c (grow_font_table): Delete old_font_table.
2969151497Sru
2970151497Sru	* mm: Install new version from jh.
2971151497Sru
2972151497SruFri Feb 28 10:42:23 1992  James Clark  (jjc at jclark)
2973151497Sru
2974151497Sru	* tbl/table.h (format_type): Make global instead of local to class
2975151497Sru	entry_format.  Prefix enumerators with FORMAT_.
2976151497Sru	* tbl/table.c, tbl/main.c: Corresponding changes.
2977151497Sru	* refer/token.h (token_type): Make global.  Prefix enumerators
2978151497Sru	with TOKEN_.
2979151497Sru	* refer/token.[ch]: Corresponding changes.
2980151497Sru	* Makefile: Get rid of -DNO_NESTED_TYPES configuration option.
2981151497Sru
2982151497Sru	* troff/div.c (node::set_vertical_size): Don't name argument.
2983151497Sru
2984151497SruThu Feb 27 10:29:19 1992  James Clark  (jjc at jclark)
2985151497Sru
2986151497Sru	* Makefile: New configuration option ARRAY_DELETE_NEEDS_SIZE.
2987151497Sru	* lib/lib.h: Define adelete accordingly.
2988151497Sru	* pic/object.c (graphic_object::graphic_object):
2989151497Sru	* tbl/main.c (format::~format):
2990151497Sru	* tbl/table.c (table::~table):
2991151497Sru	* refer/ref.c (reference::~reference, reference::merge,
2992151497Sru	reference::insert_field, reference::delete_field): Use adelete.
2993151497Sru
2994151497Sru	* Makefile: Change NESTED_TYPES to NO_NESTED_TYPES.
2995151497Sru	* refer/token.h:
2996151497Sru	* tbl/table.h: Corresponding changes.
2997151497Sru
2998151497Sru	* common.c (common_output::dashed_arc, common_output::dotted_arc):
2999151497Sru	Ensure total_angle is positive.
3000151497Sru
3001151497SruWed Feb 26 08:49:26 1992  James Clark  (jjc at jclark)
3002151497Sru
3003151497Sru	* refer/ref.c (reference::merge, reference::insert_field,
3004151497Sru	reference::delete_field): Avoid delete[0].
3005151497Sru
3006151497Sru	* refer/token.c (init_special_chars): Move calls to cmupper
3007151497Sru	outside calls to init_two_char_letter to work around bug in gcc
3008151497Sru	2.0.
3009151497Sru
3010151497SruMon Feb 24 14:20:00 1992  James Clark  (jjc at jclark)
3011151497Sru
3012151497Sru	* lib/new.c (operator new): Use __builtin_new for g++.
3013151497Sru
3014151497Sru	* pic/object.c (graphic_object::~graphic_object):  Don't use
3015151497Sru	delete [] on 0.
3016151497Sru
3017151497Sru	* pic/object.c (output::compute_scale): Initialize max_width and
3018151497Sru	max_height.
3019151497Sru
3020151497SruSat Feb 15 09:55:20 1992  James Clark  (jjc at jclark)
3021151497Sru
3022151497Sru	* troff/input.c (write_request): Call fflush.
3023151497Sru
3024151497Sru	* troff/node.h (class composite_node): Move declaration to node.c
3025151497Sru	* troff/input.c (charinfo_to_node): Rename to ...
3026151497Sru	(charinfo_to_node_list): Return node list rather than composite
3027151497Sru	node.
3028151497Sru	* troff/node.c (make_composite_node): New function.
3029151497Sru	(make_node, add_char): Call make_composite_node instead of
3030151497Sru	charinfo_to_node.
3031151497Sru	(class composite_node): Add a tfont * member.  Delete font_size
3032151497Sru	member.
3033151497Sru	(composite_node::composite_node, composite_node::copy,
3034151497Sru	composite_node::size): Corresponding changes.
3035151497Sru	(composite_node::tprint): Provide constant spacing, emboldening
3036151497Sru	and track kerning as specified in tfont.
3037151497Sru	(composite_node::width): Change width calculation accordingly.
3038151497Sru	* troff/env.h (environment::composite): New member.
3039151497Sru	(environment::is_composite, environment::set_composite): New
3040151497Sru	functions.
3041151497Sru	* troff/env.c (environment::environment): Initialize composite.
3042151497Sru	* troff/input.c (charinfo_to_node): Call
3043151497Sru	environment::set_composite.
3044151497Sru	* troff/node.c (make_composite_node, make_glyph_node): Use the
3045151497Sru	plain version of the tfont if the environment is composite.
3046151497Sru
3047151497Sru	* troff/node.c (font_info::get_space_width): Additional argument
3048151497Sru	giving space_size.  Handle constant space correctly. Scale by
3049151497Sru	space_size unless constant spaced.
3050151497Sru	(env_sentence_space_width): New function.
3051151497Sru	* troff/node.h: Declare it.
3052151497Sru	* troff/env.h (environment::get_space_size,
3053151497Sru	environment::get_sentence_space_size,
3054151497Sru	environment::get_narrow_space_width,
3055151497Sru	environment::get_half_narrow_space_width): Make inline.
3056151497Sru	(environment::get_space_width): Make inline.  Just call
3057151497Sru	env_space_width.
3058151497Sru	* troff/env.c: Delete definitions for funtions made inline.
3059151497Sru	(environment::space_newline, environment::space): Use
3060151497Sru	env_sentence_space_width(). Don't scale by space_size.
3061151497Sru	* troff/node.h: Move declarations of env*space_width() functions
3062151497Sru	into env.h.
3063151497Sru
3064151497SruSat Feb  8 09:30:22 1992  James Clark  (jjc at jclark)
3065151497Sru
3066151497Sru	* macros/tmac.s (PS): Don't try to set negative indent.
3067151497Sru
3068151497SruThu Feb  6 09:00:35 1992  James Clark  (jjc at jclark)
3069151497Sru
3070151497Sru	* pic/pic.y: Fix min function.
3071151497Sru
3072151497SruTue Jan 28 07:52:29 1992  James Clark  (jjc at jclark)
3073151497Sru
3074151497Sru	* man/mdate.sh: Clear LANGUAGE.
3075151497Sru
3076151497SruSun Jan 19 13:02:41 1992  James Clark  (jjc at jclark)
3077151497Sru
3078151497Sru	* pic/pic.y, pic/lex.c: Rename COMMAND token to COMMAND_LINE.
3079151497Sru	* pic/lex.c: New COMMAND keyword.
3080151497Sru	* pic/pic.y (print_args, print_arg): New rules.
3081151497Sru	(placeless_element): Use print_args for PRINT.
3082151497Sru	New COMMAND element.
3083151497Sru
3084151497SruTue Jan  7 13:14:31 1992  James Clark  (jjc at jclark)
3085151497Sru
3086151497Sru	* troff/input.c (terminal): Handle missing argument correctly.
3087151497Sru
3088151497Sru	* pic/pic.y (text_expr): New rule.
3089151497Sru
3090151497Sru	* pic/pic.y: Implement := operator.
3091151497Sru
3092151497SruSun Jan  5 10:23:02 1992  James Clark  (jjc at jclark)
3093151497Sru
3094151497Sru	* etc/grog.pl, etc/grog.sh: Distinguish old and new versions of
3095151497Sru	mdoc.
3096151497Sru
3097151497SruSat Jan  4 14:42:26 1992  James Clark  (jjc at jclark)
3098151497Sru
3099151497Sru	* ps/devps/dingbatsrmap: Include this in the distribution.
3100151497Sru
3101151497Sru	* macros/tmac.doc: Replace with new version from 2nd Networking
3102151497Sru	Release. Fix loading of doc-* files.
3103151497Sru	* macros/{doc-common,doc-ditroff,doc-nroff,doc-syms}: New files.
3104151497Sru	* macros/tmac.doc.old: New file.  Apply fixes that had been
3105151497Sru	applied to old tmac.doc.
3106151497Sru	* macros/tmac.andoc: Check that we're running under groff.
3107151497Sru	* macros/Makefile: Rework.
3108151497Sru
3109151497SruFri Jan  3 13:27:51 1992  James Clark  (jjc at jclark)
3110151497Sru
3111151497Sru	* tbl/table.h (format_type):
3112151497Sru	* refer/token.h (token_type): If NESTED_TYPES is defined, use
3113151497Sru	typedef to make these types visible at file scope.
3114151497Sru	* Makefile: Add NESTED_TYPES configuration option.
3115151497Sru
3116151497Sru	* troff/div.c (mark): At the top level use the value of
3117151497Sru	nl_reg_contents rather than the current vertical position.
3118151497Sru
3119151497SruThu Jan  2 10:34:51 1992  James Clark  (jjc at jclark)
3120151497Sru
3121151497Sru	* tty/tty.c: Implement \D for horizontal or vertical lines.
3122151497Sru	(tty_printer::set_char): Use vec_used+2 as serial number.
3123151497Sru	Don't allow size of vector to exceed USHRT_MAX-2.
3124151497Sru	Split off part into...
3125151497Sru	(tty_printer::add_char): New function.
3126151497Sru	(tty_printer::draw): New function.
3127151497Sru	(compare_glyph): Handle equal serial numbers.
3128151497Sru	(tty_printer::end_page): Handle overstruck characters from \D.
3129151497Sru	(main, usage): Implement -d option.
3130151497Sru
3131151497SruMon Dec 23 10:37:51 1991  James Clark  (jjc at jclark)
3132151497Sru
3133151497Sru	* tbl/main.c (process_format):
3134151497Sru	* eqn/text.c (split_text):
3135151497Sru	* troff/input.c (token::next): Use inner block for declarations
3136151497Sru	with initializers in switch statement.
3137151497Sru
3138151497SruMon Dec 16 20:52:03 1991  James Clark  (jjc at jclark)
3139151497Sru
3140151497Sru	* pic/common.c (common_output::dash_line): Cope with zero-length
3141151497Sru	lines.
3142151497Sru
3143151497SruSun Nov 17 12:04:08 1991  James Clark  (jjc at jclark)
3144151497Sru
3145151497Sru	* Version 1.04 released.
3146151497Sru
3147151497SruWed Nov 13 05:27:21 1991  James Clark  (jjc at jclark)
3148151497Sru
3149151497Sru	* macros/tmac.an (TH): Define a macro an-init to define variables
3150151497Sru	based on command line arguments.
3151151497Sru	(an-header): Call it.
3152151497Sru
3153151497SruSun Nov  3 12:07:34 1991  James Clark  (jjc at jclark)
3154151497Sru
3155151497Sru	* Makefile (install.mm): Rename to install.dwbmm.
3156151497Sru
3157151497Sru	* Makefile: Integrate mm.
3158151497Sru	* mm: New directory.
3159151497Sru
3160151497SruWed Oct 30 10:11:34 1991  James Clark  (jjc at jclark)
3161151497Sru
3162151497Sru	* refer/dirnamemax.c: If PATHCONF_MISSING is defined, include
3163151497Sru	<sys/types.h>.
3164151497Sru
3165151497Sru	* pic/troff.c (troff_output::simple_spline,
3166151497Sru	troff_output::simple_polygon): Rename variable `v' to `d' to avoid
3167151497Sru	shadowing parameter.
3168151497Sru
3169151497Sru	* lib/tmpfile.c (xtmpfile): Declare dir as const char *.
3170151497Sru
3171151497Sru	* lib/ptable.h: Add explicit casts when converting from unsigned
3172151497Sru	long to unsigned.
3173151497Sru
3174151497Sru	* dvi/devdvi/{SA,SB,msam.map,msbm.map}: New files.
3175151497Sru	* dvi/devdvi/Makefile: Install SA, SB.
3176151497Sru
3177151497Sru	* refer/indxbib.c: Add declaration of mktemp.
3178151497Sru
3179151497Sru	* refer/lookbib.c: Add declaration of isatty.
3180151497Sru
3181151497SruFri Oct 25 09:00:17 1991  James Clark  (jjc at jclark)
3182151497Sru
3183151497Sru	* pic/lex.c (interpolate_macro_with_args):  While collecting
3184151497Sru	arguments, keep track of whether we're in a string.
3185151497Sru
3186151497SruWed Oct 23 08:42:48 1991  James Clark  (jjc at jclark)
3187151497Sru
3188151497Sru	* ps/tmac.ps (PSPIC): Do the .sp after the \X, and move the \X
3189151497Sru	down with \v, so as to avoid problems with top of page trap
3190151497Sru	setting no space mode.
3191151497Sru
3192151497SruTue Oct 22 17:38:49 1991  James Clark  (jjc at jclark)
3193151497Sru
3194151497Sru	* eqn/lex.c (get_delimited_text): Allow tab before macro body.
3195151497Sru
3196151497SruTue Oct 15 17:24:53 1991  James Clark  (jjc at jclark)
3197151497Sru
3198151497Sru	* ps/psrm.c (ps_get_line): Fix bug when lines longer than 255.
3199151497Sru	Improve error message.
3200151497Sru
3201151497SruFri Oct 11 11:09:38 1991  James Clark  (jjc at jclark)
3202151497Sru
3203151497Sru	* ps/psrm.c (print_ps_string): Don't pass negative numbers to
3204151497Sru	printf("%03o");
3205151497Sru
3206151497SruWed Oct  9 17:50:14 1991  James Clark  (jjc at jclark)
3207151497Sru
3208151497Sru	* groff.c (possible_command::execp): Always use _exit() after a
3209151497Sru	failed exec.
3210151497Sru
3211151497Sru	* Makefile: Add HAVE_UNION_WAIT, HAVE_PID_T, WAIT_COREDUMP_0200,
3212151497Sru	NO_SYS_WAIT_H 	configuration options.
3213151497Sru	* groff.c: Use these options.  Use POSIX-style macros to extract
3214151497Sru	fields from the status returned by wait().
3215151497Sru
3216151497SruFri Oct  4 12:12:27 1991  James Clark  (jjc at jclark)
3217151497Sru
3218151497Sru	* tbl/table.c (table::compute_separation_factor): Allow the
3219151497Sru	separation factor to drop to 0.
3220151497Sru
3221151497SruTue Oct  1 18:12:38 1991  James Clark  (jjc at jclark)
3222151497Sru
3223151497Sru	* refer/search.c: Include <errno.h>.
3224151497Sru
3225151497SruSun Sep 29 08:40:57 1991  James Clark  (jjc at jclark)
3226151497Sru
3227151497Sru	* pic/pic.y (YYDEBUG): Don't define for Borland C++.
3228151497Sru
3229151497Sru	* lib/lib.h: #ifdef out declarations of itoa and iftoa for Borland
3230151497Sru	C++.
3231151497Sru
3232151497Sru	* pic/lex.c (input_stack::bol): Move definition out of class body.
3233151497Sru
3234151497Sru	* pic/main.c: On MSDOS munge argv[0].
3235151497Sru
3236151497Sru	* lib/ptable.h: Define name2 as _Paste2 for Borland C++.
3237151497Sru
3238151497Sru	* lib/ptable.c (hash_string): Use unsigned long rather than
3239151497Sru	unsigned.
3240151497Sru	(next_ptable_size): Use unsigned rather than int.  Give an error
3241151497Sru	message if we've hit the largest table size.
3242151497Sru	* lib/ptable.c: Corresponding changes.  Also use unsigneds for the
3243151497Sru	table size.
3244151497Sru
3245151497Sru	* pic/object.h (object_spec): Make flags unsigned long.  Declare
3246151497Sru	flags as const unisgned long rather than as enums.
3247151497Sru
3248151497Sru	* pic/output.c: Deleted.
3249151497Sru
3250151497Sru	* pic/troff.c (troff_output::simple_ellipse): Remove spurious %.
3251151497Sru
3252151497Sru	* tbl/table.c (simple_entry::note_double_vrule_on_{left,right}):
3253151497Sru	Add additional argument.
3254151497Sru	(line_entry::note_double_vrule_on_{left,right}): Set value of
3255151497Sru	douvle_vrule_on_{right,left} flag according to argument.
3256151497Sru	(simple_line_entry::simple_print,
3257151497Sru	simple_line_entry::double_line_print): If adjacent to double vrule
3258151497Sru	on a corner extend rather than shorten the rule by half the double
3259151497Sru	vrule sep.
3260151497Sru
3261151497Sru	* troff/number.c (parse_term): In checking for overflow, handle the
3262151497Sru	case where the current horizontal position is negative.
3263151497Sru
3264151497SruThu Sep 12 08:26:09 1991  James Clark  (jjc at jclark)
3265151497Sru
3266151497Sru	* pic/object.c (draw_arrow): Check for object having zero length.
3267151497Sru
3268151497SruWed Sep 11 10:32:38 1991  James Clark  (jjc at jclark)
3269151497Sru
3270151497Sru	* eqn/main.c (do_file): Split off inline equation handling into...
3271151497Sru	(inline_equation): New function.  Search for starting delimiter
3272151497Sru	using...
3273151497Sru	(delim_search): New function. Don't recognize a delimiter that
3274151497Sru	occurs in the name of an escape sequence, number register, string
3275151497Sru	etc.
3276151497Sru
3277151497SruTue Sep 10 04:01:11 1991  James Clark  (jjc at jclark)
3278151497Sru
3279151497Sru	* eqn/delim.c (delim_box::compute_metrics): Don't call
3280151497Sru	define_extensible_string if left is 0.
3281151497Sru	(delim_box::output):  Don't print the left delimiter if left is 0.
3282151497Sru	(delim_box::debug_print): Check for left == 0 before calling printf.
3283151497Sru
3284151497SruFri Aug 23 13:02:30 1991  James Clark  (jjc at jclark)
3285151497Sru
3286151497Sru	* troff/Makefile (majorminor.c): Include only digits in
3287151497Sru	minor_version.
3288151497Sru
3289151497SruThu Aug 22 09:35:37 1991  James Clark  (jjc at jclark)
3290151497Sru
3291151497Sru	* refer/dirnamemax.c: new file.
3292151497Sru	* refer/genlimits.c: Deleted.
3293151497Sru	* refer/indxbib.c (main): Use dir_name_max() instead of NAME_MAX.
3294151497Sru	Don't check path length.
3295151497Sru	* refer/Makefile: Add dir_name_max.o; delete genlimits.
3296151497Sru	* Makefile: Add PATHCONF_MISSING option.
3297151497Sru
3298151497Sru	* refer/indxbib.c (get_cwd): New function.
3299151497Sru	(main): Use get_cwd().
3300151497Sru	* lib/getcwd.c: New file.
3301151497Sru	* Makefile: Delete -DHAVE_GETWD. Include GETCWD variable. Pass
3302151497Sru	GETCWD in SUBFLAGS.
3303151497Sru	* lib/Makefile: Compile getcwd.o.
3304151497Sru
3305151497Sru	* ps/tmac.psatk (psatk-defs): Define showpage after pushing
3306151497Sru	userdict.
3307151497Sru
3308151497Sru	* refer/indxbib.c (main): Check success of mktemp.
3309151497Sru
3310151497Sru	* lib/tmpfile.c: New file.
3311151497Sru	* lib/Makefile: Add tmpfile.c.
3312151497Sru	* lib/lib.h: Declare xtmpfile(); include <stdio.h>.
3313151497Sru	* ps/ps.h: Delete declaration of mktemp().
3314151497Sru	* ps/ps.c (ps_printer::ps_printer): Use xtmpfile().
3315151497Sru	* refer/refer.c (divert_to_temporary_file): Use xtmpfile().
3316151497Sru	* driver/driver.h: No need now to include errno.h.
3317151497Sru
3318151497Sru	* everywhere: Set errno to 0 before calling fopen().
3319151497Sru
3320151497Sru	* eqn/eqn.h, etc/soelim.c, driver/driver.h, etc/addftinfo.c,
3321151497Sru	dvi/tfmtodit.c, groff.c, refer/index.c, refer/linear.c,
3322151497Sru	refer/lookbib.c, refer/refer.h, ps/psbb.c: Include <errno.h>.
3323151497Sru
3324151497SruMon Aug 19 10:52:18 1991  James Clark  (jjc at jclark)
3325151497Sru
3326151497Sru	* troff/env.h (translate_space_to_dummy): Declare it.
3327151497Sru	* troff/env.c (environment::space_newline, environment::space):
3328151497Sru	If translate_space_to_dummy is set then make the width of spaces 0.
3329151497Sru	* troff/input.c (translate): If the second character of a
3330151497Sru	translation is a space, translate to unbreakable space.  If the
3331151497Sru	first character is a space, set or clear translate_space_to_dummy
3332151497Sru	according to whether the second character is \&.  Weird!
3333151497Sru
3334151497SruTue Jul 30 10:03:56 1991  James Clark  (jjc at jclark)
3335151497Sru
3336151497Sru	* groff.c (run_commands): Don't use non-zero exit code because a
3337151497Sru	command gets SIGPIPE.
3338151497Sru
3339151497Sru	* groff.c, groff.sh: Use -mXps with -TXps.
3340151497Sru
3341151497Sru	* ps/ps.c (ps_printer::special): Move call to flush_sbuf() into...
3342151497Sru	(ps_printer::do_exec, ps_printer::do_file, ps_printer::do_def,
3343151497Sru	ps_printer::do_mdef, ps_printer::do_import): Call flush_sbuf().
3344151497Sru	(ps_printer::special): New specials invis and endinvis.
3345151497Sru	(ps_printer::do_invis, ps_printer::do_endinvis): New functions.
3346151497Sru	(ps_printer::set_char, ps_printer::draw): Return if invis_count>0.
3347151497Sru	(ps_printer::end_page): Check that invis_count == 0.
3348151497Sru	(ps_printer::invis_count): New member.
3349151497Sru	(ps_printer::ps_printer): Initialize invis_count to 0.
3350151497Sru
3351151497Sru	* troff/env.c (environment::hyphenate_line): Hyphenation
3352151497Sru	indicator at beginning of word inhibits splitting after -, \(em
3353151497Sru	etc.
3354151497Sru
3355151497Sru	* pic/pic.y (element): Allow another element to follow } without
3356151497Sru	any intervening separator.
3357151497Sru
3358151497SruMon Jul 22 12:27:37 1991  James Clark  (jjc at jclark)
3359151497Sru
3360151497Sru	* pic/lex.c (get_delimited): Allow tabs before delimiter.
3361151497Sru
3362151497SruWed Jul 17 10:59:08 1991  James Clark  (jjc at jclark)
3363151497Sru
3364151497Sru	* groff.c: Get rid of HAVE_UNION_WAIT stuff.  Instead suppress
3365151497Sru	declaration of wait() in header files.
3366151497Sru	* Makefile: Get rid of -DHAVE_UNION_WAIT.
3367151497Sru
3368151497Sru	* tbl/table.c (alphabetic_text_entry::add_tab): New function.
3369151497Sru
3370151497Sru	* lib/lib.h: Declare return type of strerror as char *.
3371151497Sru
3372151497Sru	* man/Makefile: Add g flag to sed substitutions.
3373151497Sru	* Makefile (shgroff, bindist): Likewise.
3374151497Sru
3375151497SruSun Jul 14 11:57:02 1991  James Clark  (jjc at jclark)
3376151497Sru
3377151497Sru	* ps/ps.c (ps_printer::do_import): Move push of userdict into...
3378151497Sru	* ps/devps/prologue (PBEGIN): Define showpage after pushing
3379151497Sru	userdict.
3380151497Sru
3381151497SruSat Jul 13 20:53:04 1991  James Clark  (jjc at jclark)
3382151497Sru
3383151497Sru	* ps/devps/prologue (PBEGIN): Zap any definition of showpage in
3384151497Sru	userdict.
3385151497Sru
3386151497SruFri Jul 12 07:10:09 1991  James Clark  (jjc at jclark)
3387151497Sru
3388151497Sru	* man/mdate.sh: Handle the fact that BSD ls -l does not print the
3389151497Sru	group.
3390151497Sru
3391151497SruSun Jul  7 08:00:23 1991  James Clark  (jjc at jclark)
3392151497Sru
3393151497Sru	* troff/input.c (define_number_reg):  If currently undefined,
3394151497Sru	don't define it if the argument is an invalid expression.
3395151497Sru
3396151497Sru	* Makefile: Ignore return value of `if' commands without `else'
3397151497Sru	parts.
3398151497Sru
3399151497Sru	* Makefile: Split up CPPDEFINES into a series of separate
3400151497Sru	configuration options.
3401151497Sru
3402151497Sru	* troff/input.c (init_registers): Use time_t instead of long
3403151497Sru	unless LONG_FOR_TIME_T is defined.  Use returned result rather
3404151497Sru	than passing pointer.
3405151497Sru	* Makefile: Document LONG_FOR_TIME_T as a CPPDEFINE.
3406151497Sru
3407151497Sru	* lib/Makefile (fontpath.h): Use gendef.
3408151497Sru
3409151497SruThu Jul  4 09:48:05 1991  James Clark  (jjc at jclark)
3410151497Sru
3411151497Sru	* troff/input.c (input_iterator::shift): Delete argument name.
3412151497Sru	* troff/node.c (suppress_output_file::really_begin_page,
3413151497Sru	suppress_output_file::really_transparent_char, node::ascii_print,
3414151497Sru	node::tprint): Delete names of unused arguments.
3415151497Sru
3416151497SruWed Jul  3 17:34:57 1991  James Clark  (jjc at jclark)
3417151497Sru
3418151497Sru	* refer/label.y (string):  Pass $4 to command_error.
3419151497Sru
3420151497SruTue Jul  2 15:06:01 1991  James Clark  (jjc at jclark)
3421151497Sru
3422151497Sru	* Version 1.03 released.
3423151497Sru
3424151497SruSat Jun 29 08:14:01 1991  James Clark  (jjc at jclark)
3425151497Sru
3426151497Sru	* Makefile: Pass definition of SHELL in SUBFLAGS.
3427151497Sru
3428151497Sru	* gendef: New file.
3429151497Sru	* Makefile, eqn/Makefile, refer/Makefile, troff/Makefile,
3430151497Sru	ps/Makefile: Use gendef to construct header files that are
3431151497Sru	constructed from the Makefile.
3432151497Sru
3433151497Sru	* macros/Makefile: make all should build stripped version of tmac.e.
3434151497Sru
3435151497Sru	* refer/Makefile (clean): Remove y.output.
3436151497Sru
3437151497SruFri Jun 28 09:44:36 1991  James Clark  (jjc at jclark)
3438151497Sru
3439151497Sru	* ps/pfbtops.c (main): Add -v option which prints out a version
3440151497Sru	number.
3441151497Sru	* ps/Makefile (pfbtops): Link with libgroff.a.
3442151497Sru
3443151497SruFri Jun 21 07:43:23 1991  James Clark  (jjc at jclark)
3444151497Sru
3445151497Sru	* refer/search.h (linear_searcher::get_nkeys): Delete declaration.
3446151497Sru	* refer/linear.c (linear_searcher::get_nkeys): Delete definition.
3447151497Sru
3448151497Sru	* refer/lkbib.c (main): Always terminate reference with blank
3449151497Sru	line.
3450151497Sru	* refer/lookbib.c (main): Likewise.
3451151497Sru
3452151497Sru	* refer/linear.c (file_buffer::load): Check that the file is not a
3453151497Sru	binary file.
3454151497Sru
3455151497Sru	* refer/Makefile (genlimits): Possibly add -DHAVE_SYS_DIR_H.
3456151497Sru	(genlimits.c): Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
3457151497Sru	Delete second inclusion of <sys/param.h>.
3458151497Sru
3459151497SruTue Jun 18 01:32:26 1991  James Clark  (jjc at jclark)
3460151497Sru
3461151497Sru	* troff/token.h (token::special): Deleted.
3462151497Sru
3463151497Sru	* tbl/main.c (process_format): Rework so that opt->tab_char is
3464151497Sru	recognized only when appropriate.
3465151497Sru
3466151497Sru	* ps/Makefile (clean): Remove pfbtops.
3467151497Sru
3468151497SruSun Jun 16 09:37:19 1991  James Clark  (jjc at jclark)
3469151497Sru
3470151497Sru	* lib/font.c (text_file::next): Don't return if we have got a
3471151497Sru	blank line.
3472151497Sru
3473151497SruFri Jun 14 09:52:26 1991  James Clark  (jjc at jclark)
3474151497Sru
3475151497Sru	* refer/refer.c (store_reference): Get hash code from old_table[i]
3476151497Sru	when rehashing the table.
3477151497Sru
3478151497SruThu Jun 13 01:26:43 1991  James Clark  (jjc at jclark)
3479151497Sru
3480151497Sru	* eqn/box.c (box::top_level): Save size and prev size using \R and
3481151497Sru	restore it afterwards. Set the size to the size at the beginning
3482151497Sru	of the line.
3483151497Sru	* eqn/pbox.h: Declare SAVED_INLINE_PREV_SIZE_REG,
3484151497Sru	SAVED_INLINE_SIZE_REG, and SAVED_SIZE_REG.
3485151497Sru
3486151497Sru	* refer/Makefile (limits.h): Use ./genlimits.
3487151497Sru
3488151497SruWed Jun 12 16:05:34 1991  James Clark  (jjc at jclark)
3489151497Sru
3490151497Sru	* refer/index.c: Delete declarations of stat() and fstat().
3491151497Sru
3492151497SruTue Jun 11 14:52:49 1991  James Clark  (jjc at jclark)
3493151497Sru
3494151497Sru	* tty/tmac.tty: Add character definitions for \(>= and \(<=.
3495151497Sru
3496151497SruMon Jun 10 22:49:48 1991  James Clark  (jjc at jclark)
3497151497Sru
3498151497Sru	* etc/grog.sh, etc/grog.pl: Change regex for .PS.
3499151497Sru
3500151497SruFri Jun  7 09:13:06 1991  James Clark  (jjc at jclark)
3501151497Sru
3502151497Sru	* troff/input.c (token::get_char): Handle \e.
3503151497Sru
3504151497Sru	* refer/linear.c: Delete declarations of fstat() and stat().
3505151497Sru
3506151497SruWed Jun  5 09:11:59 1991  James Clark  (jjc at jclark)
3507151497Sru
3508151497Sru	* troff/node.c, troff/env.c, troff/input.c, Makefile: Remove
3509151497Sru	OP_DELETE_BROKEN stuff, since we now have a fix for g++.
3510151497Sru
3511151497SruMon Jun  3 13:41:32 1991  James Clark  (jjc at jclark)
3512151497Sru
3513151497Sru	* troff/input.c (do_define_macro): Improve error handling for end
3514151497Sru	of file while defining macro.
3515151497Sru
3516151497SruSun Jun  2 10:20:24 1991  James Clark  (jjc at jclark)
3517151497Sru
3518151497Sru	* eqn/box.h: Fix declaration of set_gsize.
3519151497Sru	* eqn/box.c (set_gsize): Make argument const char *.
3520151497Sru	(gsize): Declare as char *.
3521151497Sru	* eqn/main.c (main): Don't convert gsize to int.
3522151497Sru	* eqn/lex.c (do_gsize): Pass char * to set_gsize.
3523151497Sru
3524151497Sru	* Version 1.02 released.
3525151497Sru
3526151497SruSat Jun  1 12:19:46 1991  James Clark  (jjc at jclark)
3527151497Sru
3528151497Sru	* macros/tmac.andoc: New file.
3529151497Sru	* macros/Makefile: Install tmac.andoc.
3530151497Sru
3531151497Sru	* troff/node.c, troff/env.c, troff/input.c: Conditionalize use of
3532151497Sru	operator new and delete on OP_DELETE_BROKEN not being defined.
3533151497Sru	* Makefile: Mention OP_DELETE_BROKEN.
3534151497Sru
3535151497SruMon May 27 13:49:07 1991  James Clark  (jjc at jclark)
3536151497Sru
3537151497Sru	* Makefile (bindist): Pass SUBFLAGS.
3538151497Sru
3539151497SruSun May 26 14:13:22 1991  James Clark  (jjc at jclark)
3540151497Sru
3541151497Sru	* Makefile, groff.c: Pass definitions to groff.c via device.h.
3542151497Sru
3543151497Sru	* tty/tty.c (tty_font::load_tty_font): Avoid shadowing
3544151497Sru	parameter.
3545151497Sru
3546151497Sru	* ps/Makefile, ps.c: Pass BROKEN_SPOOLER_FLAGS via broken.h.
3547151497Sru
3548151497Sru	* ps/ps.h, ps/psrm.c: Make comment_table and
3549151497Sru	header_comment_table local to resource_manager::process_file.
3550151497Sru
3551151497Sru	* groff.sh: With -TXps pass -printCommand option to gxditview.
3552151497Sru
3553151497Sru	* groff.c (possible_command::print): Implement using
3554151497Sru	append_arg_to_string.
3555151497Sru
3556151497Sru	* xditview: Merge in new implementation with own ChangeLog.
3557151497Sru
3558151497SruSat May 25 18:33:20 1991  James Clark  (jjc at jclark)
3559151497Sru
3560151497Sru	* groff.c (main): Implement PRINT_OPTION.
3561151497Sru	(append_arg_to_string): New command.
3562151497Sru	(device_table): Set PRINT_OPTION flag for Xps.
3563151497Sru
3564151497SruFri May 24 09:48:58 1991  James Clark  (jjc at jclark)
3565151497Sru
3566151497Sru	* troff/groff.h: Rename to troff.h.
3567151497Sru
3568151497Sru	* pic/lex.c (lookup_keyword, docmp): New functions.
3569151497Sru	(get_token): Use new lookup_keyword.
3570151497Sru	Don't include key.h.
3571151497Sru	* pic/key.[ch], pic/pic.gperf: Deleted.
3572151497Sru	* pic/Makefile: Remove gperf stuff.
3573151497Sru
3574151497Sru	* pic/Makefile, pic/output.h: Move definition of TEX_SUPPORT
3575151497Sru	into output.h.
3576151497Sru	* pic/tex.c: Move include of pic.h before test of TEX_SUPPORT.
3577151497Sru
3578151497Sru	* troff/Makefile, troff/node.c: Move definition of
3579151497Sru	STORE_WIDTH into node.c.
3580151497Sru
3581151497Sru	* etc/grog.pl, etc/grog.sh: Support -mdoc.
3582151497Sru
3583151497SruThu May 23 12:30:49 1991  James Clark  (jjc at jclark)
3584151497Sru
3585151497Sru	* dvi/devdvi/texr.map, dvi.devdvi/texi.map,
3586151497Sru	dvi/devdvi/texb.map: Add lq and rq.
3587151497Sru	dvi/devdvi: Regenerate fonts.
3588151497Sru	* ps/devps/textmap: Add lq and rq.
3589151497Sru	* ps/devps: Regenerate fonts.
3590151497Sru	* tty/devascii/R.proto, tty/devlatin1/R.proto: Add lq and rq.
3591151497Sru	* macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.
3592151497Sru
3593151497Sru	* pic/object.c (position_rectangle): When checking radius
3594151497Sru	cope with possiblity that width or height is negative.
3595151497Sru	(box_object::box_object): Have separate xrad and yrad with
3596151497Sru	signs matching signs of dim components.
3597151497Sru	(box_object::{north,south}_{east,west}): Use xrad and yrad.
3598151497Sru	(box_object::print): With rounded boxes use absolute values
3599151497Sru	for dim and rad arguments.
3600151497Sru
3601151497Sru	* lib/Makefile, lib/fontfile.o: Pass definition of FONTPATH
3602151497Sru	in fontpath.h.
3603151497Sru
3604151497Sru	* eqn/Makefile, eqn/main.c: Pass definition of DEVICE in device.h.
3605151497Sru
3606151497Sru	* various files: Add explicit destructors to keep Saber CC +d
3607151497Sru	happy.
3608151497Sru
3609151497SruWed May 22 11:37:11 1991  James Clark  (jjc at jclark)
3610151497Sru
3611151497Sru	* eqn/box.c (box::top_level): Restore fonts correctly after
3612151497Sru	font changes in line containing inline equation.  Also
3613151497Sru	restore previous font as well as current font.
3614151497Sru	* eqn/pbox.h: Define necessary string and register names.
3615151497Sru
3616151497Sru	* troff/input.c (token::next): Case 'R' calls do_register.
3617151497Sru	(do_register): New function.
3618151497Sru
3619151497SruTue May 21 11:28:23 1991  James Clark  (jjc at jclark)
3620151497Sru
3621151497Sru	* groff.c, groff.sh: Support Xps device.  Allow each device
3622151497Sru	to have a pseudo_name and a real_name.
3623151497Sru
3624151497Sru	* groff.c (run_commands): Don't print `Broken pipe' messages.
3625151497Sru
3626151497Sru	* ps/pfbtops.c: New file.
3627151497Sru	* ps/Makefile: Add pfbtops.
3628151497Sru
3629151497Sru	* troff/number.c (parse_term): Improved error message.
3630151497Sru
3631151497SruMon May 20 11:22:14 1991  James Clark  (jjc at jclark)
3632151497Sru
3633151497Sru	* groff.c, groff.sh, etc/grog.sh, etc/grog.pl: Support grefer.
3634151497Sru
3635151497Sru	* Makefile: Integrate refer.
3636151497Sru	* refer: New directory.
3637151497Sru	* man/grefer.man, man/glookbib.man, man/gindxbib.man,
3638151497Sru	man/lkbib.man: New files.
3639151497Sru	* man/Makefile: Support refer man pages.
3640151497Sru
3641151497Sru	* lib/lib.h: Declare is_prime.
3642151497Sru	* lib/prime.c: New file.
3643151497Sru
3644151497Sru	* troff/input.c (macro_source): New function.
3645151497Sru	(init_input_requests): Bind "mso" to macro_source.
3646151497Sru
3647151497Sru	* troff/env.c (environment::possibly_break_line): Maintain
3648151497Sru	pointer to pointer to node to be split in ndp so as to avoid
3649151497Sru	using address of freed node.
3650151497Sru
3651151497Sru	* troff/env.c (environment::hyphenate_line): Maintain pointer to
3652151497Sru	pointer to first node to be hyphenated in startp so as to
3653151497Sru	avoid using address of freed node.
3654151497Sru
3655151497Sru	* troff/env.c (class trie, class hyphen_trie): Make the
3656151497Sru	elements of the trie be of type char not unsigned char.
3657151497Sru	Declare arguments to be const char* instead of unsigned char *.
3658151497Sru	
3659151497Sru	* troff/env.c (hyphenate): Initialize hbuf[0].
3660151497Sru
3661151497Sru	* troff/input.c (set_string): Declare p to be char * and cast
3662151497Sru	*p to unsigned char when necessary.
3663151497Sru
3664151497Sru	* troff/input.c (do_define_macro): Declare s to be const
3665151497Sru	char*. Cast element to unisgned char when necessary, Declare
3666151497Sru	d to be an int.  Handle EOF better.
3667151497Sru
3668151497Sru	* troff/Makefile, troff/input.c: Different scheme for passing
3669151497Sru	definitions of MACROPATH, HYPHENFILE and DEVICE.
3670151497Sru
3671151497SruTue May 14 13:41:36 1991  James Clark  (jjc at jclark)
3672151497Sru
3673151497Sru	* tty/devascii/R.proto: Delete entry for em.
3674151497Sru	* tty/devlatin1/R.proto: Likewise.
3675151497Sru
3676151497SruSat May 11 11:13:28 1991  James Clark  (jjc at jclark)
3677151497Sru
3678151497Sru	* troff/input.c (translate): Stop when we get a space. Treat eof
3679151497Sru	like newline.
3680151497Sru
3681151497Sru	* macros/tmac.an (IP): Only pass quoted argument to TP when \n(.$>1.
3682151497Sru
3683151497SruWed Apr 24 19:24:33 1991  James Clark  (jjc at jclark)
3684151497Sru
3685151497Sru	* tbl/main.c (process_format): A font name following a `f'
3686151497Sru	modifier that starts with a digit can be only one character long.
3687151497Sru	Also deal with EOF on the second character of the font name.
3688151497Sru
3689151497SruWed Apr 17 11:23:43 1991  James Clark  (jjc at jclark)
3690151497Sru
3691151497Sru	* troff/input.c (token::next): Turn \~ into an
3692151497Sru	unbreakable_space_node.
3693151497Sru	* troff/node.c (unbreakable_space_node): New class.
3694151497Sru	* troff/node.h: Declare it.
3695151497Sru
3696151497SruTue Apr 16 10:47:12 1991  James Clark  (jjc at jclark)
3697151497Sru
3698151497Sru	* dvi/dvi.c (dvi_printer::set_char): Make code an int.  Check that
3699151497Sru	it's >= 0, before outputting it as a single byte.
3700151497Sru
3701151497SruMon Apr 15 11:20:23 1991  James Clark  (jjc at jclark)
3702151497Sru
3703151497Sru	* lib/font.c: Make font_char_metric::code an int.
3704151497Sru	(font::get_code): Change return type to int.
3705151497Sru	(font::load): Allow code to be arbitrary integer.
3706151497Sru	* lib/font.h (font::get_code): Change return type to int.
3707151497Sru	(font::number_to_index): Change argument type to int.
3708151497Sru	* troff/input.c (token::next):  In case 'N', allow any value.
3709151497Sru	Store value in token::val.
3710151497Sru	(token::operator==): For TOKEN_NUMBERED_CHAR test equality of val.
3711151497Sru	(token::get_char, token::add_to_node_list, token::process): Get
3712151497Sru	number from val.
3713151497Sru	(charinfo::set_number): Change argument to int.
3714151497Sru	(charinfo::get_number):  Require that NUMBERED flag be set.
3715151497Sru	(get_charinfo_by_number): Store numbered characters not between 0
3716151497Sru	and 255 in a dictionary.
3717151497Sru	* troff/charinfo.h (get_charinfo_by_number): Change argument type
3718151497Sru	to int.
3719151497Sru	(charinfo::number): Change type to int.
3720151497Sru	(charinfo::set_number): Change type of set_number to int.
3721151497Sru	* troff/node.c (troff_output_file::put_char_width,
3722151497Sru	troff_output_file::put_char): Test whether character is numbered
3723151497Sru	using charinfo::numbered().
3724151497Sru	* driver/printer.c (printer::set_numbered_char): Allow arbitrary
3725151497Sru	values of num.
3726151497Sru	* lib/nametoindex.c: New implementation to cope with arbitrary
3727151497Sru	number characters.
3728151497Sru
3729151497Sru	* troff/input.c (token::operator==): Test val for
3730151497Sru	TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
3731151497Sru	TOKEN_SIZE.
3732151497Sru
3733151497Sru	* man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
3734151497Sru	(.man.n):  sed out @BROKEN_SPOOLER_FLAGS@.
3735151497Sru
3736151497SruSun Apr 14 12:57:00 1991  James Clark  (jjc at jclark)
3737151497Sru
3738151497Sru	* ps/devps/zapfdr.ps: Don't copy UniqueID.  Avoid use of newdict
3739151497Sru	variable.
3740151497Sru
3741151497Sru	* all Makefiles: rm targets of cp and >.
3742151497Sru
3743151497Sru	* xditview/xtotroff.c (MapFont): Unlink troff_name before opening
3744151497Sru	it.
3745151497Sru
3746151497Sru	* eqn/lex.c (def_table): Add dollar.
3747151497Sru
3748151497SruSat Apr 13 13:02:44 1991  James Clark  (jjc at jclark)
3749151497Sru
3750151497Sru	* troff/input.c (do_width): Push back newline before closing delim
3751151497Sru	like do_bracket.
3752151497Sru
3753151497SruFri Apr 12 15:16:03 1991  James Clark  (jjc at jclark)
3754151497Sru
3755151497Sru	* groff.c (possible_command::prepend_arg): New function.
3756151497Sru	(main): Prepend device -m option.
3757151497Sru	* groff.sh: Put device -m options before command-line options.
3758151497Sru
3759151497SruTue Apr  9 10:24:43 1991  James Clark  (jjc at jclark)
3760151497Sru
3761151497Sru	* macros/tmac.an (IP): Quote argument to TP.
3762151497Sru
3763151497Sru	* ps/ps.c (main): New option -b, which sets...
3764151497Sru	(broken_flags): New variable.
3765151497Sru	(ps_printer::~ps_printer): Incorporate the setup section in the
3766151497Sru	prolog if (broken_flags & NO_SETUP_SECTION).
3767151497Sru	(ps_printer::begin_page): Generate {Begin,End}PageSetup comments.
3768151497Sru	(ps_printer::merge_download_fonts, ps_printer::merge_import_fonts,
3769151497Sru	ps_printer::merge_ps_fonts, ps_printer::print_font_comment,
3770151497Sru	ps_printer::print_needed_font_comment,
3771151497Sru	ps_printer::print_supplied_font_comment,
3772151497Sru	ps_printer::print_include_font_comments,
3773151497Sru	ps_printer::lookup_doc_font, ps_printer::download_fonts,
3774151497Sru	ps_printer::read_download_file, read_document_fonts, add_font,
3775151497Sru	skip_line, parse_fonts_arg, document_font::document_font,
3776151497Sru	document_font::~document_font, document_font::download,
3777151497Sru	ps_output::include_file):  Deleted.
3778151497Sru	(ps_printer::~ps_printer): Generate %%EOF. Generate %!PS-Adobe-3.0
3779151497Sru	rather than %!PS-Adobe-2.0.  Make calls to
3780151497Sru	resource_manager::need_font for each font that we used. Replace
3781151497Sru	calls to merge_ps_fonts, merge_download_fonts, print_font_comment,
3782151497Sru	print_supplied_font_comment, print_needed_font_comment by call to
3783151497Sru	resource_manager::print_header_comments. Output %%Orientation
3784151497Sru	comment. Output %%Requirements: numcopies comment if ncopies > 1.
3785151497Sru	Don't output the prolog directly.  Instead call
3786151497Sru	resource_manager::output_prolog.  Only define #copies when ncopies
3787151497Sru	> 1.  Delete calls to print_include_font_comments  and
3788151497Sru	download_fonts.  Add call to resource_manager::document_setup.
3789151497Sru	(ps_printer::do_file): Call resource_manager::import_file instead
3790151497Sru	of including it ourselves.
3791151497Sru	(ps_printer::do_import): Likewise.  Also don't call
3792151497Sru	merge_import_fonts. Push userdict on the dictionary stack before
3793151497Sru	and pop it afterwards.
3794151497Sru	Move declaration of ps_output into ps.h.
3795151497Sru	* ps/psrm.c: New file implementing resource_manager class.
3796151497Sru	* ps/ps.h: New file declaring ps_output and resource_manager
3797151497Sru	classes.
3798151497Sru	* ps/devps/zapfdr.ps:
3799151497Sru	* ps/devps/symbolsl.ps:
3800151497Sru	* ps/devps/prologue:  Use 3.0 conventions.
3801151497Sru	* ps/Makefile: Pass definition of BROKEN_SPOOLER_FLAGS in DEFINES.
3802151497Sru	Add default definition of BROKEN_SPOOLER_FLAGS.
3803151497Sru	* Makefile: New variable BROKEN_SPOOLER_FLAGS.  Add
3804151497Sru	BROKEN_SPOOLER_FLAGS to SUBFLAGS.
3805151497Sru
3806151497SruMon Apr  8 09:26:54 1991  James Clark  (jjc at jclark)
3807151497Sru
3808151497Sru	* etc/grog.pl: New file.
3809151497Sru	* Makefile (GROG): New variable.
3810151497Sru	Add GROG to SUBFLAGS.
3811151497Sru	* etc/Makefile (GROG): New variable.
3812151497Sru	(install.nobin): Install $(GROG) rather than grog.sh.
3813151497Sru
3814151497SruThu Apr  4 11:36:45 1991  James Clark  (jjc at jclark)
3815151497Sru
3816151497Sru	* eqn/special.c (special_box::compute_metrics): Make the input and
3817151497Sru	output strings the same.  Get the new height and depth from the
3818151497Sru	predefined height and depth registers.  Also make subscript kern
3819151497Sru	and skew available.
3820151497Sru	(special_box::compute_subscript_kern, special_box::compute_skew):
3821151497Sru	New functions.
3822151497Sru
3823151497Sru	* eqn/box.c (pointer_box::compute_skew,
3824151497Sru	simple_box::compute_metrics, box::top_level)
3825151497Sru	* eqn/text.c (prime_box::compute_metrics,
3826151497Sru	prime_box::comput_subscript_kern)
3827151497Sru	* eqn/limit.c (limit_box::compute_metrics):
3828151497Sru	* eqn/delim.c (build_extensible, delim_box::compute_metrics):
3829151497Sru	* eqn/sqrt.c (sqrt_box::compute_metrics): Protect possibly
3830151497Sru	negative numbers in `nr' requests with a leading 0.
3831151497Sru
3832151497SruWed Apr  3 15:58:23 1991  James Clark  (jjc at jclark)
3833151497Sru
3834151497Sru	* eqn/special.c: New file.
3835151497Sru	* eqn/eqn.y: Declare token SPECIAL.  Make it right associative.
3836151497Sru	Add new rule for simple.
3837151497Sru	* eqn/lex.c (token_table): Add SPECIAL.
3838151497Sru	* eqn/box.h: Declare make_special_box.
3839151497Sru	* eqn/Makefile: Add special.[co].
3840151497Sru
3841151497SruSat Mar 30 10:57:53 1991  James Clark  (jjc at jclark)
3842151497Sru
3843151497Sru	* ps/devps/prologue: Possibly set packing to true while defining.
3844151497Sru	Create grops dictionary here.  Initialize local variables before
3845151497Sru	defining procedures.
3846151497Sru	(PICTURE): Rename to PBEGIN. Also do save, noop showpage, count
3847151497Sru	the dictionary stack. Set strokeadjust and overprint to false if
3848151497Sru	the relevant operators are defined.
3849151497Sru	(PEND): New procedure.
3850151497Sru	* ps/ps.c (ps_printer::~ps_printer): In the prolog just include
3851151497Sru	prologue.  Do everything else in the setup section.
3852151497Sru	(ps_printer::do_import): Just call PBEGIN and PEND around the
3853151497Sru	picture. Also push userdict before, and pop it afterwards.
3854151497Sru
3855151497SruWed Mar 27 07:59:50 1991  James Clark  (jjc at jclark)
3856151497Sru
3857151497Sru	* troff/node.c (bracket_node::tprint): Brackets were being printed
3858151497Sru	1m too low.
3859151497Sru
3860151497Sru	* macros/tmac.an (SH, SS): Set fill mode.
3861151497Sru
3862151497SruTue Mar 26 07:46:31 1991  James Clark  (jjc at jclark)
3863151497Sru
3864151497Sru	* troff/div.c (top_level_diversion::begin_page): Set
3865151497Sru	high_water_mark to 0.
3866151497Sru
3867151497SruFri Mar 22 09:19:46 1991  James Clark  (jjc at jclark)
3868151497Sru
3869151497Sru	* man/mdate.sh: New file.
3870151497Sru	* man/mdate.c: Deleted.
3871151497Sru	* man/Makefile: Use mdate.sh instead of mdate.
3872151497Sru	(mdate): Deleted.
3873151497Sru
3874151497Sru	* eqn/lex.c (do_gsize): Supply missing argument to error message.
3875151497Sru
3876151497SruTue Mar 19 11:06:50 1991  James Clark  (jjc at jclark)
3877151497Sru
3878151497Sru	* man/mdate.c: New file.
3879151497Sru	* man/*.man: Replace modification date by @MDATE@.
3880151497Sru	* man/Makefile (.man.n): Replace @MDATE@ by `mdate $<`.
3881151497Sru	(mdate): New target.
3882151497Sru
3883151497Sru	* lib/font.c (text_file::next): Deal with arbitrarily long lines.
3884151497Sru	Remove illegal input characters.
3885151497Sru
3886151497SruMon Mar 18 08:32:25 1991  James Clark  (jjc at jclark)
3887151497Sru
3888151497Sru	* macros/tmac.s (pg*start-col): Do .ns *after* running the hooks.
3889151497Sru
3890151497SruSat Mar 16 03:52:25 1991  James Clark  (jjc at jclark)
3891151497Sru
3892151497Sru	* troff/div.c (begin_page): Change behaviour when
3893151497Sru	!first_page_begun and !break_flag.
3894151497Sru
3895151497Sru	* troff/input.c (do_name_test): Return 0 if argument is empty.
3896151497Sru
3897151497Sru	* troff/input.c (read_long_escape_name): Require closing ] to be
3898151497Sru	at same input level as opening [.
3899151497Sru
3900151497Sru	* troff/input.c (read_increment_and_escape_name): New function.
3901151497Sru	(get_copy, process_input_stack): Use this for \n.
3902151497Sru
3903151497SruFri Mar 15 00:31:48 1991  James Clark  (jjc at jclark)
3904151497Sru
3905151497Sru	* troff/div.c (top_level_diversion::begin_page): Ignore the
3906151497Sru	current value of page_number if !first_page_begun.
3907151497Sru
3908151497Sru	* groff.c (main): Fix declaration of buf.
3909151497Sru
3910151497Sru	* troff/input.c (do_name_test): New function.
3911151497Sru	(token::next): Implement \A.
3912151497Sru	(token::next): Implement \e by turning it into a TOKEN_ESCAPE.
3913151497Sru	(token::description, token::add_to_node_list, token::process):
3914151497Sru	Handle TOKEN_ESCAPE.
3915151497Sru	* troff/token.h: New token TOKEN_ESCAPE.
3916151497Sru
3917151497SruThu Mar 14 10:22:26 1991  James Clark  (jjc at jclark)
3918151497Sru
3919151497Sru	* pic/main.c (do_picture): Allow space before and after filename
3920151497Sru	following `<'.  Check that the filename is not empty.
3921151497Sru
3922151497SruWed Mar 13 12:49:40 1991  James Clark  (jjc at jclark)
3923151497Sru
3924151497Sru	* Version 1.01 released.
3925151497Sru
3926151497Sru	* dvi/devdvi/CompileFonts: Add cm*ss10 fonts.
3927151497Sru
3928151497Sru	* dvi/tmac.dvi: ftr HR to H.
3929151497Sru
3930151497Sru	* macros/tmac.e: Round up computation of $r.
3931151497Sru
3932151497Sru	* xditview/tmac.X:  Don't give up completely in compatibility mode.
3933151497Sru	Use \n(.s instead of \n[.s].
3934151497Sru
3935151497Sru	* dvi/tmac.dvi: Don't give up completely in compatibility mode.
3936151497Sru	Use \(ci instead of \[ci]. Use \n(.s instead of \n[.s].
3937151497Sru	Add u to factors inside \s[...]. Rename frac to dvi-frac.
3938151497Sru	Translate \(FM onto \[prime] and \(!/ onto \[slashnot]; use these
3939151497Sru	short names in the char definitions.
3940151497Sru
3941151497Sru	* ps/tmac.ps: Don't give up completely in compatibility mode.
3942151497Sru	Fix the fraction definitions to use \n(.s and \(f/. Add an extra
3943151497Sru	quote in front of \n(.s. Add u to factors inside \s[...].
3944151497Sru
3945151497SruMon Mar 11 12:01:20 1991  James Clark  (jjc at jclark)
3946151497Sru
3947151497Sru	* tty/tmac.tty: Call the nroff request.
3948151497Sru
3949151497Sru	* macros/tmac.e ((x, )x):  Better definitions that work properly
3950151497Sru	in a diversion.
3951151497Sru	(@0, @1): Helper macros for (x.
3952151497Sru
3953151497Sru	* macros/tmac.e ($s, hl): Use \l rather than \D.
3954151497Sru
3955151497Sru	* tty/tmac.tty: Make it work better in compatibility mode.
3956151497Sru	(pchar): Rename to tty-char.
3957151497Sru
3958151497Sru	* macros/tmac.e (@E): New macro.
3959151497Sru	(r, i, b, rb, bi): Use @E.
3960151497Sru
3961151497Sru	* macros/tmac.e (@F): Don't use (;...) syntax.
3962151497Sru
3963151497Sru	* macros/tmac.e: Remove mention of \*(||/revisions.  Mention that
3964151497Sru	it was modified for groff.
3965151497Sru
3966151497Sru	* macros/tmac.e: Make sure \n(ps and \n(es are >= \n(.V.
3967151497Sru
3968151497Sru	* macros/tmac.e (<., .>): Removed.
3969151497Sru	([., .]): If \n(.V>=1v, use [] instead of superscripting.
3970151497Sru
3971151497Sru	* macros/tmac.e: Remove check that groff is being used.
3972151497Sru
3973151497Sru	* macros/tmac.e (@C): Change families only if using groff; turn
3974151497Sru	compatibility mode off while changing familes. Save compatibility
3975151497Sru	mode before changing families and restore it afterwards.
3976151497Sru
3977151497Sru	* macros/tmac.e (@h): Remove test for offset + line length.
3978151497Sru
3979151497Sru	* macros/tmac.e (sorry): Rename to @S.  Use \$1 instead of \$0
3980151497Sru	(lo, th, ac): Define to call @S instead of using als.
3981151497Sru
3982151497Sru	* macros/tmac.e: Make $r and $R now contain \n(.v*100/\n(.sp, ie
3983151497Sru	the ratio of the vertical spacing to the point size in units
3984151497Sru	expressed as a percentage.  Use these instead of $10r and $10R,
3985151497Sru	Delete $10r and $10R.
3986151497Sru
3987151497Sru	* lib/font.c (font::load): In default computation of space_width,
3988151497Sru	divide by sizescale.  Use scale_round.
3989151497Sru
3990151497Sru	* macros/tmac.an (TP): Don't call `nf'.
3991151497Sru	(an-do-tag): Don't call `fi'.
3992151497Sru
3993151497SruSun Mar 10 09:52:35 1991  James Clark  (jjc at jclark)
3994151497Sru
3995151497Sru	* troff/input.c (process_input_stack): Handle the case where
3996151497Sru	spaces at the beginning of an input line are followed by a
3997151497Sru	newline.
3998151497Sru
3999151497SruThu Mar  7 20:18:07 1991  James Clark  (jjc at jclark)
4000151497Sru
4001151497Sru	* groff.c (device_table): Add PIC_X_OPTION for dvi device.
4002151497Sru	* groff.sh: Use pic -x with the dvi device.
4003151497Sru
4004151497Sru	* dvi/devdvi/FontMakefile (H): Don't use -s.
4005151497Sru
4006151497Sru	* dvi/devdvi/HI, dvi/devdvi/HB: New files.
4007151497Sru	* dvi/devdvi/Makefile: Add HI and HB to FONTS.
4008151497Sru	* dvi/devdvi/FontMakefile: Add rules for HI and HB. Include these
4009151497Sru	in FONTS.
4010151497Sru
4011151497SruMon Mar  4 13:20:14 1991  James Clark  (jjc at jclark)
4012151497Sru
4013151497Sru	* ps/psfig.diff: New file.
4014151497Sru	* ps/tmac.psfig: New file.
4015151497Sru
4016151497SruSat Mar  2 00:15:09 1991  James Clark  (jjc at jclark)
4017151497Sru
4018151497Sru	* macros/tmac.s (]=, ref*do-tl, ref*bib-print): Deleted.
4019151497Sru	(]-): Don't call ref*do-tl.
4020151497Sru
4021151497Sru	* macros/tmac.s (ref*end-print): Use XP if [F not defined.
4022151497Sru
4023151497Sru	* macros/tmac.s (ref*normal-print): Call FS rather than fn@do-FS.
4024151497Sru	(fn@do-FS): Rename to fn*do-FS.
4025151497Sru
4026151497Sru	* troff/input.c (transparent_translate): New function.
4027151497Sru	(process_input_stack): Apply transparent_translate before calling
4028151497Sru	diversion::transparent_output(unsigned char).
4029151497Sru
4030151497SruWed Feb 27 00:13:25 1991  James Clark  (jjc at jclark)
4031151497Sru
4032151497Sru	* troff/input.c (do_define_macro): Define the macro before calling
4033151497Sru	skip_line.
4034151497Sru
4035151497Sru	* xditview/Makefile: Add DEVICES variable.  Change install target
4036151497Sru	to use this.
4037151497Sru
4038151497SruTue Feb 26 10:46:22 1991  James Clark  (jjc at jclark)
4039151497Sru
4040151497Sru	* groff.c (run_commands): Handle the possibility that there are
4041151497Sru	child processes other than those forked by us.
4042151497Sru
4043151497SruSun Feb 24 21:32:30 1991  James Clark  (jjc at jclark)
4044151497Sru
4045151497Sru	* lib/string.c (string::append): New function.
4046151497Sru	* lib/stringclass.h: Declare it.
4047151497Sru
4048151497SruThu Feb 21 11:49:26 1991  James Clark  (jjc at jclark)
4049151497Sru
4050151497Sru	* eqn/main.c (main): New option -N which sets
4051151497Sru	no_newline_in_delim_flag.
4052151497Sru	(do_file): If no_newline_in_delim_flag is set don't allow newlines
4053151497Sru	in delimiters.
4054151497Sru	* groff.c (main): Pass -N on to eqn.
4055151497Sru	(help, synopsis): Mention -N.
4056151497Sru	* groff.sh: Implement -N.
4057151497Sru
4058151497SruWed Feb 20 15:16:10 1991  James Clark  (jjc at jclark)
4059151497Sru
4060151497Sru	* macros/tmac.s (]=, ref*bib-print, ref*do-tl): New macros.
4061151497Sru	(]-): Call ref*do-tl if ref*need-tl is non-zero.
4062151497Sru	(XP): Allow as initializer.
4063151497Sru
4064151497SruTue Feb 19 14:09:06 1991  James Clark  (jjc at jclark)
4065151497Sru
4066151497Sru	* troff/env.c (environment::wrap_up_field): If field_spaces are
4067151497Sru	non-zero and we have a current_tab, subtract padding from
4068151497Sru	tab_distance.  If this makes tab_distance <= 0, use the next tab
4069151497Sru	stop instead.  If there isn't any next tab or it's a left tab,
4070151497Sru	wrap up the current tab.
4071151497Sru	(environment::start_field): Initialize tab_precedes_field.
4072151497Sru	(environment::wrap_up_tab): If there's a current field, update
4073151497Sru	pre_field_width, field_distance and tab_precedes_field.
4074151497Sru	* troff/env.h (environment::tab_precedes_field): New member.
4075151497Sru
4076151497SruFri Feb 15 01:24:00 1991  James Clark  (jjc at jclark)
4077151497Sru
4078151497Sru	* ps/ps.c (ps_printer::do_file): New function.
4079151497Sru	(ps_printer::special): Bind to `file' special.
4080151497Sru	(ps_printer::do_exec): Set ndefined_styles to 0.
4081151497Sru
4082151497SruSat Feb  9 03:03:04 1991  James Clark  (jjc at jclark)
4083151497Sru
4084151497Sru	* eqn/text.c (split_text): Grok \* and similar escapes sequences.
4085151497Sru	Avoid stripping first character from the start of unrecognized
4086151497Sru	escapes.  Use lex_error instead of error to report errors.
4087151497Sru	* eqn/lex.c (get_token): Rework handling of escapes.
4088151497Sru	(lex_error): Move declaration into...
4089151497Sru	* eqn/eqn.h.
4090151497Sru
4091151497Sru	* xditview/xditview.c (main): Make -page option work.
4092151497Sru
4093151497Sru	* Makefile: Correct comment about -DBROKEN_SPOOLER and pageview.
4094151497Sru
4095151497SruWed Feb  6 12:28:43 1991  James Clark  (jjc at jclark)
4096151497Sru
4097151497Sru	* macros/tmac.s (B2): Correct size of box.
4098151497Sru
4099151497SruTue Feb  5 00:37:35 1991  James Clark  (jjc at jclark)
4100151497Sru
4101151497Sru	* macros/tmac.s (B2): Postpone drawing the box until in the
4102151497Sru	top-level diversion.
4103151497Sru
4104151497Sru	* tty/tmac.tty: Add font translations for C, CR, CW.
4105151497Sru
4106151497Sru	* groff.c (synopsis, help): Document -i.
4107151497Sru	* groff.sh: Implement -i.
4108151497Sru
4109151497Sru	* macros/tmac.s (@NH): Put a `.' after multi-part numbers.
4110151497Sru	Simplify the construction of SN.
4111151497Sru
4112151497Sru	* troff/number.c (parse_term): Give `|' a higher precedence.
4113151497Sru	* tbl/table.c (numeric_text_entry::simple_print): Parenthesise
4114151497Sru	accordingly.
4115151497Sru
4116151497Sru	* macros/tmac.s (B2): Use par@finish instead of par@reset.
4117151497Sru
4118151497SruMon Feb  4 12:36:09 1991  James Clark  (jjc at jclark)
4119151497Sru
4120151497Sru	* lib/string.c (string::move): New function.
4121151497Sru	* lib/stringclass.h: Declare it.
4122151497Sru
4123151497SruSat Feb  2 16:02:16 1991  James Clark  (jjc at jclark)
4124151497Sru
4125151497Sru	* troff/env.c (distribute_space): Add optional argument
4126151497Sru	`force_forward'.
4127151497Sru	(environment::wrap_up_field): Call distribute_space with
4128151497Sru	`force_forward' argument of 1.
4129151497Sru
4130151497SruFri Feb  1 19:36:33 1991  James Clark  (jjc at jclark)
4131151497Sru
4132151497Sru	* lib/string.c, lib/stringclass.h (string::operator+=(char)):
4133151497Sru	Inline it.  Move reallocation into...
4134151497Sru	(string::grow1): New function.
4135151497Sru	* pic/Makefile, tbl/Makefile, eqn/Makefile, ps/Makefile: Redo
4136151497Sru	dependencies to include library header files.
4137151497Sru	* lib/Makefile: Make string.c and lf.c depend on stringclass.h.
4138151497Sru
4139151497SruThu Jan 31 15:02:27 1991  James Clark  (jjc at jclark)
4140151497Sru
4141151497Sru	* macros/tmac.s (@NH): Use the same number registers than -ms does
4142151497Sru	for the heading level counters.  Use the same string that -ms does
4143151497Sru	for the number for this heading.
4144151497Sru
4145151497SruWed Jan 30 14:25:40 1991  James Clark  (jjc at jclark)
4146151497Sru
4147151497Sru	* lib/new.c (operator new): Cast result of malloc to char *.
4148151497Sru
4149151497Sru	* troff/input.c (spring_trap, lookup_request): Add assert that nm
4150151497Sru	is not null.
4151151497Sru
4152151497SruTue Jan 29 18:08:05 1991  James Clark  (jjc at jclark)
4153151497Sru
4154151497Sru	* groff.c (main): Support -i.
4155151497Sru
4156151497SruSun Jan 27 13:23:17 1991  James Clark  (jjc at jclark)
4157151497Sru
4158151497Sru	* pic/pic.h: Include <osfcn.h>.
4159151497Sru
4160151497Sru	* ps/ps.c: Add declaration of mktemp.
4161151497Sru
4162151497Sru	* Makefile: Add -DHAVE_UNION_WAIT option for CPPDEFINES.
4163151497Sru	* groff.c: If HAVE_UNION_WAIT is defined, declare wait()'s
4164151497Sru	argument as union wait *.
4165151497Sru	(run_commands): If HAVE_UNION_WAIT is defined cast wait()'s
4166151497Sru	argument to union wait *.
4167151497Sru
4168151497SruSat Jan 26 12:04:52 1991  James Clark  (jjc at jclark)
4169151497Sru
4170151497Sru	* tty/tmac.tty: Add definition of \(co.
4171151497Sru
4172151497Sru	* pic/object.c (make_arc): Only increase radius when radius
4173151497Sru	strictly less than d.
4174151497Sru	(arc_object::update_bounding_box): May need to add 4.0 to end_quad
4175151497Sru	more than once.
4176151497Sru
4177151497Sru	* troff/env.c (environment::environment(symbol),
4178151497Sru	environment::environment(const environment *)):  Initialize
4179151497Sru	input_trap_count.
4180151497Sru
4181151497SruSat Jan 19 08:18:35 1991  James Clark  (jjc at jclark)
4182151497Sru
4183151497Sru	* tbl/main.c (main): Add exit(0).
4184151497Sru
4185151497Sru	* ps/ps.c (ps_printer::~ps_printer): Use fseek instead of rewind.
4186151497Sru
4187151497Sru	* pic/main.c (main):
4188151497Sru	* eqn/main.c (main):
4189151497Sru	* tbl/main.c (main):
4190151497Sru	* etc/soelim.c (main):
4191151497Sru	* driver/printer.c (printer::~printer):
4192151497Sru	* troff/node.c (real_output_file::~real_output_file,
4193151497Sru	real_output_file::flush):  Check for errors on stdout.
4194151497Sru
4195151497Sru	* most files: Add 1991 to copyright notice.
4196151497Sru
4197151497Sru	* macros/tmac.s: Don't test \n(.x and \n(.y.
4198151497Sru
4199151497Sru	* troff/input.c (token::next): Rename `escape_char' label to
4200151497Sru	`handle_escape_char' and `normal_char' label to
4201151497Sru	`handle_normal_char'.
4202151497Sru
4203151497SruThu Jan 17 15:46:35 1991  James Clark  (jjc at jclark)
4204151497Sru
4205151497Sru	* groff.c (main, synopsis, help): Support -a option.
4206151497Sru	* groff.sh: Likewise.  Also eliminate Zflag variable by adding -z
4207151497Sru	to trflags while parsing options.
4208151497Sru
4209151497SruTue Jan 15 13:07:27 1991  James Clark  (jjc at jclark)
4210151497Sru
4211151497Sru	* troff/number.c (parse_term): With `m', `M' and `n' scale
4212151497Sru	indicators, convert scale factor to hunits before scaling.
4213151497Sru
4214151497SruMon Jan 14 12:39:12 1991  James Clark  (jjc at jclark)
4215151497Sru
4216151497Sru	* lib/font.c (scale_round): Better test for overflow when n is
4217151497Sru	negative.
4218151497Sru
4219151497SruThu Jan 10 11:10:56 1991  James Clark  (jjc at jclark)
4220151497Sru
4221151497Sru	* tbl/main.c (process_format): Add second argument of type
4222151497Sru	options*. Change callers.  Allow opt->tab_char as well as '\t'
4223151497Sru	between format items.
4224151497Sru
4225151497SruMon Jan  7 12:30:18 1991  James Clark  (jjc at jclark)
4226151497Sru
4227151497Sru	* macros/tmac.an (PD): With no arguments, make sure register PD is
4228151497Sru	at least \n[.V].
4229151497Sru	(TH): Call PD with no argument, instead of setting register PD
4230151497Sru	directly.
4231151497Sru
4232151497SruSun Jan  6 11:18:39 1991  James Clark  (jjc at jclark)
4233151497Sru
4234151497Sru	* Version 1.00 released.
4235151497Sru
4236151497SruSat Jan  5 08:44:30 1991  James Clark  (jjc at jclark)
4237151497Sru
4238151497Sru	* ps/tmac.ps, xditview/tmac.X: Add font translation of C to CR.
4239151497Sru
4240151497Sru	* dvi/devdvi/DESC: Mount CW instead of CR.
4241151497Sru
4242151497Sru	* dvi/tmac.dvi: Add definition of \(tm.
4243151497Sru
4244151497Sru	* dvi/devdvi/texsy.map: Add lh, and rh.
4245151497Sru	* dvi/devdvi/texex.map: Add lt, rt, lb, rb, lk, rk.
4246151497Sru	* dvi/devdvi/texmi.map: Add *o. Regenerate fonts.
4247151497Sru
4248151497Sru	* dvi/devdvi/FontMakefile: Generate H from cmss10.
4249151497Sru	* dvi/devdvi/Makefile: Install H.
4250151497Sru	* dvi/devdvi/H: New file.
4251151497Sru
4252151497SruFri Jan  4 15:04:57 1991  James Clark  (jjc at jclark)
4253151497Sru
4254151497Sru	* troff/env.c (vertical_spacing): Don't allow vertical spacing to
4255151497Sru	be 0.
4256151497Sru
4257151497SruThu Jan  3 13:41:19 1991  James Clark  (jjc at jclark)
4258151497Sru
4259151497Sru	* macros/tmac.s (@EN): Add \n(.V to the argument to ds@need.
4260151497Sru
4261151497Sru	* macros/tmac.pic (PS): Avoid attempting to set negative indent.
4262151497Sru
4263151497Sru	* macros/tmac.s (@EN): Handle the case where the equation is empty
4264151497Sru	but the label is not.
4265151497Sru
4266151497SruWed Jan  2 10:31:44 1991  James Clark  (jjc at jclark)
4267151497Sru
4268151497Sru	* troff/groff.h: New warning category WARN_SPACE.
4269151497Sru	* troff/input.c: Add WARN_SPACE to DEFAULT_WARNING_MASK. Add
4270151497Sru	WARN_SPACE to warning_table.
4271151497Sru	(interpolate_macro): Give a warning of type WARN_SPACE if the name
4272151497Sru	is longer than two characters and is not defined, but the first
4273151497Sru	two characters do make a defined name.
4274151497Sru
4275151497Sru	* PROBLEMS: New file.
4276151497Sru
4277151497Sru	* CHANGES: New file.
4278151497Sru	* README-0.6, README-1.00: Deleted.
4279151497Sru
4280151497Sru	* groff.c, groff.sh: Add X75-12 and X100-12 devices.
4281151497Sru	* xditview/devX75/Makefile: Make devX75-12.
4282151497Sru	* xditview/devX100/Makefile: Make devX100-12.
4283151497Sru
4284151497Sru	* xditview/devX100/eqnchar, xditview/devX75/eqnchar,
4285151497Sru	dvi/devdvi/eqnchar, ps/devps/eqnchar: Remove use of \R.
4286151497Sru
4287151497SruTue Jan  1 19:24:01 1991  James Clark  (jjc at jclark)
4288151497Sru
4289151497Sru	* README-0.7: Rename to README-1.00.
4290151497Sru
4291151497Sru	* macros/tmac.pic: New file.
4292151497Sru	* macros/Makefile (install.nobin): Install tmac.pic.
4293151497Sru
4294151497SruMon Dec 31 10:40:53 1990  James Clark  (jjc at jclark)
4295151497Sru
4296151497Sru	* troff/env.c (hyphen_word): Correct the test for whether the
4297151497Sru	token is a hyphen.  Reset npos to 0.
4298151497Sru
4299151497Sru	* macros/tmac.s (par@sup-start, par@sup-end): New implementations.
4300151497Sru
4301151497SruSun Dec 30 15:53:13 1990  James Clark  (jjc at jclark)
4302151497Sru
4303151497Sru	* macros/tmac.s (ds*common-end): Call par*reset.
4304151497Sru	(PE): Likewise.
4305151497Sru	(par@reset-indent): Deleted.
4306151497Sru
4307151497Sru	* macros/tmac.s (@IP): Divert the label.
4308151497Sru
4309151497SruSat Dec 29 14:33:32 1990  James Clark  (jjc at jclark)
4310151497Sru
4311151497Sru	* xditview/draw.c (setGC): Use a line width of .1m rather than
4312151497Sru	.04m by default; round rather than truncate value.
4313151497Sru
4314151497Sru	* tbl/table.c (class empty_entry): New class.
4315151497Sru	(empty_entry::empty_entry, empty_entry::line_type): New functions.
4316151497Sru	(table::add_entry): Represent empty entries by objects of type
4317151497Sru	empty_entry.
4318151497Sru	(table_entry::line_type): Return -1.
4319151497Sru	(table::determine_row_type): Ignore entries with line_type 0.
4320151497Sru	Treat type -1 as non-lines.
4321151497Sru
4322151497SruFri Dec 28 15:04:41 1990  James Clark  (jjc at jclark)
4323151497Sru
4324151497Sru	* ps/devps/textmap, xditview/libXdvi/DviChar.c, tty/devlatin1/R.proto,
4325151497Sru	macros/tmac.s: Rename \(-d to \(Sd.
4326151497Sru
4327151497SruThu Dec 27 12:35:47 1990  James Clark  (jjc at jclark)
4328151497Sru
4329151497Sru	* ps/devps/textmap: Add `sd', `/_' and `3d' characters.
4330151497Sru	* xditview/libXdvi/DviChar.c: Likewise.
4331151497Sru	* dvi/devdvi/texsy.map: Add `<<', `>>'.
4332151497Sru
4333151497SruWed Dec 26 13:33:23 1990  James Clark  (jjc at jclark)
4334151497Sru
4335151497Sru	* troff/div.c (top_level_diversion::begin_page): Call
4336151497Sru	init_output() if the_output is 0.
4337151497Sru
4338151497SruSat Dec 22 12:35:29 1990  James Clark  (jjc at jclark)
4339151497Sru
4340151497Sru	* troff/input.c: Replace ESCAPE_E by ESCAPE_e and ESCAPE_C by
4341151497Sru	ESCAPE_c.
4342151497Sru	(get_copy): Turn \E into ESCAPE_E.
4343151497Sru	(token::process, asciify): Handle ESCAPE_E.
4344151497Sru
4345151497Sru	* macros/tmac.s (ds*common-end, par@reset): Add `.rj 0'.
4346151497Sru	(RD): New macro.
4347151497Sru	(DS): Implement `.DS R'.
4348151497Sru
4349151497SruFri Dec 21 11:41:53 1990  James Clark  (jjc at jclark)
4350151497Sru
4351151497Sru	* macros/tmac.s (FS): New macro.
4352151497Sru
4353151497Sru	* macros/tmac.s (fn@do-FS): Use @LP instead of LP.
4354151497Sru
4355151497Sru	* macros/tmac.s (cov*tl-init): Remove after first execution
4356151497Sru	instead of aliasing to @nop.  Call top of page macro explicitly
4357151497Sru	instead of setting trap; call @init first.  Set pg@top as top of
4358151497Sru	page macro.
4359151497Sru	(cov*auto-init): Deleted.  Set cov*tl-init instead of
4360151497Sru	cov*auto-init as top of page trap.
4361151497Sru	(TL, LP): Do a break instead of calling cov*tl-init.
4362151497Sru	(cov*print): With RP format but no TL, alias FS and FE to @FS and
4363151497Sru	@FE; in this case also give a warning and always start another
4364151497Sru	page. No need to set pg@top here.
4365151497Sru	(cov*tl-init): Rename to cov*first-page-init.
4366151497Sru
4367151497Sru	* macros/tmac.s (RP): Do `.pn 0'.
4368151497Sru	(cov*tl-init): With RP format don't do `.pn 0'.
4369151497Sru
4370151497Sru	* macros/tmac.s (pg@cs-top): Set no space mode.
4371151497Sru
4372151497Sru	* macros/tmac.s (par@TL, par@AU, par@AI): New macros.
4373151497Sru	(cov*ab-init): Alias TL, AU and AI to these.
4374151497Sru
4375151497SruThu Dec 20 10:10:50 1990  James Clark  (jjc at jclark)
4376151497Sru
4377151497Sru	* macros/tmac.s (@EQ): Move the space before the equation into @EN
4378151497Sru	(@EN): Do nothing unless \n[dl] is > 0.
4379151497Sru
4380151497SruTue Dec 18 12:20:47 1990  James Clark  (jjc at jclark)
4381151497Sru
4382151497Sru	* pic/object.c (ellipse_object::radius): New function.
4383151497Sru
4384151497Sru	* VERSION: Change version to 0.7.
4385151497Sru
4386151497Sru	* tbl/table.c (block_entry::do_divert): Declare return type as
4387151497Sru	void.
4388151497Sru	(block_entry::divert, alphabetic_block_entry::divert): Return 1.
4389151497Sru
4390151497SruMon Dec 17 12:30:34 1990  James Clark  (jjc at jclark)
4391151497Sru
4392151497Sru	* troff/column.c: New file.
4393151497Sru	* troff/Makefile: Corresponding changes.
4394151497Sru
4395151497Sru	* troff/hvunits.c (scale(vunits, vunits, vunits)):  New function.
4396151497Sru	Friend of vunits.
4397151497Sru
4398151497Sru	* troff/div.c (top_level_diversion::space): If the space causes
4399151497Sru	the first-page transition and springs a trap, truncate the space
4400151497Sru	to 0.
4401151497Sru
4402151497SruFri Dec 14 12:30:02 1990  James Clark  (jjc at jclark)
4403151497Sru
4404151497Sru	* ps/ps.c (ps_printer::do_import): Add a `clear' after including
4405151497Sru	the document.
4406151497Sru
4407151497Sru	* pic/troff.c (troff_output::line_thickness,
4408151497Sru	troff_output::set_fill): Do a horizontal motion to compensate for
4409151497Sru	the width of the \D escape sequence.
4410151497Sru
4411151497SruThu Dec 13 10:17:14 1990  James Clark  (jjc at jclark)
4412151497Sru
4413151497Sru	* xditview/tmac.X: Reinstate definition of \(rn, but only for X100
4414151497Sru	(not X75).
4415151497Sru
4416151497Sru	* eqn/sqrt.c (sqrt_box::compute_metrics):  Supply missing argument
4417151497Sru	to printf.
4418151497Sru
4419151497Sru	* tbl/table.c (simple_entry::simply_print): Don't declare as pure.
4420151497Sru	Supply empty definition.
4421151497Sru	(text_entry::simple_print, simple_text_entry::simple_print):
4422151497Sru	Delete declarations.
4423151497Sru	(table::add_entry): Represent empty entries by objects of type
4424151497Sru	`simple_entry'.
4425151497Sru
4426151497SruWed Dec 12 08:50:48 1990  James Clark  (jjc at jclark)
4427151497Sru
4428151497Sru	* troff/Makefile: Remove -DHYPHEN_CONTROL from DEFINES.
4429151497Sru
4430151497Sru	* tbl/table.c (left_text_entry::add_tab): New function.
4431151497Sru
4432151497Sru	* macros/tmac.s: Make @RT an alias for par@reset.  Make RT
4433151497Sru	initialize like LP.
4434151497Sru
4435151497SruMon Dec 10 11:19:55 1990  James Clark  (jjc at jclark)
4436151497Sru
4437151497Sru	* troff/env.c (environment::start_field): Give an error message if
4438151497Sru	there is no next tab.
4439151497Sru
4440151497SruSun Dec  9 11:46:40 1990  James Clark  (jjc at jclark)
4441151497Sru
4442151497Sru	* troff/env.c (hyphenate): Skip initial elements with zero
4443151497Sru	hyphenation code.
4444151497Sru
4445151497Sru	* macros/tmac.s (par@init): Keep VS in points rather than units.
4446151497Sru
4447151497SruSat Dec  8 23:00:27 1990  James Clark  (jjc at jclark)
4448151497Sru
4449151497Sru	* pic/main.c (main): Implement `-c' option.
4450151497Sru	* pic/output.h: Declare make_tpic_output().
4451151497Sru	* pic/tex.c (tex_output::set_pen_size): Make it virtual and
4452151497Sru	protected.
4453151497Sru	(tpic_output): New class.
4454151497Sru	(tpic_output::tpic_output, tpic_output::set_pen_size,
4455151497Sru	tpic_output::command, make_tpic_output): New functions.
4456151497Sru
4457151497SruFri Dec  7 11:57:41 1990  James Clark  (jjc at jclark)
4458151497Sru
4459151497Sru	* tbl/main.c (main): Call `.ab' if \n(.g is false.  Define TS/TE
4460151497Sru	if they're not already defined.
4461151497Sru	* tbl/table.c (init_output): Don't test \n(.g.
4462151497Sru
4463151497Sru	* troff/input.c (do_if_request): Delete `g' condition. Recognize
4464151497Sru	`d', `r' and `c' conditions even in compatibility mode.
4465151497Sru
4466151497SruTue Dec  4 09:13:47 1990  James Clark  (jjc at jclark)
4467151497Sru
4468151497Sru	* ps/tmac.ps (ps-bb): Protect against negative numbers in bounding
4469151497Sru	box.
4470151497Sru
4471151497SruMon Dec  3 07:18:26 1990  James Clark  (jjc at jclark)
4472151497Sru
4473151497Sru	* troff/env.h (environment::prev_line_interrupted): New member.
4474151497Sru	(environment::get_prev_line_interrupted): New function.
4475151497Sru	* troff/env.c (environment::newline): Set prev_line_interrupted.
4476151497Sru	(environment::environment(const environment *),
4477151497Sru	environment::environment(symbol)): Initialize
4478151497Sru	prev_line_interrupted.
4479151497Sru	* troff/input.c (process_input_stack): Don't give special
4480151497Sru	treatment to space and newline at the beginning of the line if the
4481151497Sru	previous line was interrupted.
4482151497Sru
4483151497SruSat Dec  1 15:48:37 1990  James Clark  (jjc at jclark)
4484151497Sru
4485151497Sru	* eqn/eqn.y: Disallow PRIME by itself.
4486151497Sru	* eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
4487151497Sru	PRIME.
4488151497Sru	(def_table): Remove definition of '.  Define prime to be `.
4489151497Sru
4490151497Sru	* eqn/eqn.y: Split off part of rule `script' into a new rule
4491151497Sru	`nonsup'.
4492151497Sru
4493151497SruFri Nov 30 10:23:44 1990  James Clark  (jjc at jclark)
4494151497Sru
4495151497Sru	* macros/tmac.s ({, }): New string aliases.
4496151497Sru
4497151497SruThu Nov 29 11:34:40 1990  James Clark  (jjc at jclark)
4498151497Sru
4499151497Sru	* README-0.7: New file.
4500151497Sru
4501151497SruWed Nov 28 10:09:57 1990  James Clark  (jjc at jclark)
4502151497Sru
4503151497Sru	* macros/tmac.s: New file.
4504151497Sru	* man/groff_ms.man: New file.
4505151497Sru	* Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
4506151497Sru	* Makefile.bd: Similarily.
4507151497Sru	* man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
4508151497Sru	definition of TMAC_S.
4509151497Sru	* macros/Makefile: Add definition of TMAC_S. Install tmac.s.
4510151497Sru	* macros/TODO: New file.
4511151497Sru
4512151497SruSat Nov 24 20:04:54 1990  James Clark  (jjc at jclark)
4513151497Sru
4514151497Sru	* troff/env.c (right_justify): New function.
4515151497Sru	(init_env_requests): Bind this to request "rj".
4516151497Sru	(center_lines): Set right_justify_lines to 0. If we get a bad
4517151497Sru	integer, center 1 line.
4518151497Sru	(environment::environment(symbol), environment::environment(const
4519151497Sru	environment *)): Initialize right_justify_lines.
4520151497Sru	(environment::get_right_justify_lines): New function.
4521151497Sru	(init_env_requests): Bind this to number_register ".rj".
4522151497Sru
4523151497Sru	* troff/env.c (environment::choose_breakpoint): Implement
4524151497Sru	hyphenation_margin and hyphenation_space.
4525151497Sru	(environment::get_hyphenation_space,
4526151497Sru	environment::get_hyphenation_margin): New functions.
4527151497Sru	(init_env_requests): Bind these to .hys and .hym.
4528151497Sru	(hyphenation_space_request, hyphenation_margin_request): New
4529151497Sru	functions
4530151497Sru	(init_env_requests): Bind these to hys and hym.
4531151497Sru	(environment::environment(symbol), environment::environment(const
4532151497Sru	environment *)): Initialize hyphenation_margin and
4533151497Sru	hyphenation_space.
4534151497Sru	* troff/env.h: Corresponding changes to class environment.
4535151497Sru
4536151497SruFri Nov 23 09:08:16 1990  James Clark  (jjc at jclark)
4537151497Sru
4538151497Sru	* troff/div.c (blank_line): Always do a break.
4539151497Sru
4540151497Sru	* eqn/box.c (do_text): Turn off escapes while appending text to
4541151497Sru	string.
4542151497Sru
4543151497SruThu Nov 22 10:58:59 1990  James Clark  (jjc at jclark)
4544151497Sru
4545151497Sru	* troff/input.c (while_break_request, while_continue_request): New
4546151497Sru	functions.
4547151497Sru	(init_input_requests): Bind these to "break" and "continue".
4548151497Sru	(while_depth, while_break_flag): New variables.
4549151497Sru	(while_request): Update while_depth.  Break out of loop if
4550151497Sru	while_break_flag is set.
4551151497Sru
4552151497SruWed Nov 21 10:54:40 1990  James Clark  (jjc at jclark)
4553151497Sru
4554151497Sru	* tbl/table.c (init_span_reg): Initialize span_width_reg to \n(.H
4555151497Sru	rather than 0.
4556151497Sru
4557151497SruMon Nov 19 00:45:03 1990  James Clark  (jjc at jclark)
4558151497Sru
4559151497Sru	* Makefile: Include -DBROKEN_SPOOLER by default.  Expand comment.
4560151497Sru
4561151497Sru	* stringify: New file.
4562151497Sru	* Makefile (groff.o): Use stringify.
4563151497Sru
4564151497Sru	* xditview/tmac.X: Remove definition of \(rn.
4565151497Sru	* xditview/libXdvi/DviChar.c: Remove radicalex from
4566151497Sru	Adobe_symbol_map.
4567151497Sru
4568151497SruSat Nov 17 10:44:58 1990  James Clark  (jjc at jclark)
4569151497Sru
4570151497Sru	* tbl/table.c (table::add_entry): Allow alphabetic text blocks.
4571151497Sru	(alphabetic_block_entry::alphabetic_block_entry,
4572151497Sru	alphabetic_block_entry::divert, alphabetic_block_entry::print):
4573151497Sru	New functions.
4574151497Sru	(block_entry::divert): Split off body into ...
4575151497Sru	(block_entry::do_divert): If the block is alphabetic, subtract 2n
4576151497Sru	from the line length; also update the span width to dl+2n, and the
4577151497Sru	alphabetic span width to dl.
4578151497Sru
4579151497Sru	* driver/input.c (do_file):  While reading argument to D command,
4580151497Sru	when expanding buffer, multiply szp by sizeof(int) rather than 2
4581151497Sru	in the argument to memcpy.
4582151497Sru
4583151497Sru	* tbl/table.c (compute_span_width): Add 2n rather than 1n to the
4584151497Sru	width of alphabetic columns.
4585151497Sru
4586151497SruFri Nov 16 06:34:27 1990  James Clark  (jjc at jclark)
4587151497Sru
4588151497Sru	* troff/node.c (lookup_family): Supply second argument to lookup.
4589151497Sru
4590151497Sru	* troff/dictionary.c (dictionary::lookup): After an unsuccesful
4591151497Sru	search, return immediately if v is 0.
4592151497Sru
4593151497Sru	* pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
4594151497Sru	(troff_output::start_picture): Set this reg.
4595151497Sru	(troff_output::end_picture): Remove this reg
4596151497Sru	* eqn/box.c (box::extra_space): Don't produce `\x's if
4597151497Sru	EQN_NO_EXTRA_SPACE_REG is defined.
4598151497Sru
4599151497Sru	* eqn/eqn.y: Allow just a PRIME to be a `simple'.
4600151497Sru	* eqn/text.c (split_text): Map ' to \(fm when it's the first
4601151497Sru	character.
4602151497Sru
4603151497SruThu Nov 15 10:35:06 1990  James Clark  (jjc at jclark)
4604151497Sru
4605151497Sru	* macros/tmac.e: Use font 3 instead of B in $c. Remove `bd'
4606151497Sru	requests.
4607151497Sru
4608151497Sru	* troff/div.c (top_level_diversion::top_level_diversion):
4609151497Sru	Initialize page_number to 0.
4610151497Sru
4611151497SruWed Nov 14 21:41:58 1990  James Clark  (jjc at jclark)
4612151497Sru
4613151497Sru	* groff/troff (environment::environment(const environment *)):
4614151497Sru	Initialize name to e->name, rather than "anonymous".
4615151497Sru
4616151497SruSat Nov 10 01:59:37 1990  James Clark  (jjc at jclark)
4617151497Sru
4618151497Sru	* xditview/libXdvi/Dvi.c (ShowDvi): If eof is encountered, reset
4619151497Sru	requested_page.  Split middle part into ...
4620151497Sru	(FindPage): New function.
4621151497Sru	(SetValues): If we don't yet know the last page, and the requested
4622151497Sru	page is greater than the current page, call FindPage.
4623151497Sru	Update the font_map_string before doing this.
4624151497Sru
4625151497Sru	* xditview/tmac.X: Add definitions of \(sq, \(ga, \(dg and \(dd.
4626151497Sru	Translate \(lh and \(rh into left and right double arrows.
4627151497Sru
4628151497Sru	* troff/node.c (class hyphen_inhibitor_node): New class.
4629151497Sru	(hyphen_inhibitor_node::hyphen_inhibitor_node,
4630151497Sru	hyphen_inhibitor_node::copy, hyphen_inhibitor_node::same,
4631151497Sru	hyphen_inhibitor_node::type,
4632151497Sru	hyphen_inhibitor_node::get_hyphenation_type): New functions.
4633151497Sru	(node::add_discretionary_hyphen): Use hyphen_inhibitor_node rather
4634151497Sru	than dbreak_node(0, 0) to represent a `\%' at the beginning of a
4635151497Sru	word.
4636151497Sru
4637151497SruFri Nov  9 16:05:38 1990  James Clark  (jjc at jclark)
4638151497Sru
4639151497Sru	* troff/node.h (dummy_node::get_hyphenation_type,
4640151497Sru	transparent_dummy_node::get_hyphenation_type):  Declare them.
4641151497Sru	* troff/node.c: (dummy_node::get_hyphenation_type,
4642151497Sru	transparent_dummy_node::get_hyphenation_type): New functions.
4643151497Sru
4644151497SruWed Nov  7 10:09:06 1990  James Clark  (jjc at jclark)
4645151497Sru
4646151497Sru	* xditview/libXdvi/draw.c: If M_PI not defined after including
4647151497Sru	math.h, then define it.
4648151497Sru
4649151497Sru	* xditview/Makefile: Add definition of AR. Pass it to the submake
4650151497Sru	in libXdvi.
4651151497Sru	* xditview/libXdvi/Makefile: Add definitions of AR and RANLIB.
4652151497Sru
4653151497SruTue Nov  6 10:14:27 1990  James Clark  (jjc at jclark)
4654151497Sru
4655151497Sru	* troff/dictionary.h (object_dictionary::alias): Declare return
4656151497Sru	value as int.
4657151497Sru	* troff/dictionary.c (object_dictionary::alias): Return non-zero
4658151497Sru	if the old name was defined.
4659151497Sru	* troff/input.c (alias_macro): Give a warning if the old name was
4660151497Sru	not defined.
4661151497Sru	* troff/reg.c (alias_reg): Likewise.
4662151497Sru
4663151497SruMon Nov  5 00:31:39 1990  James Clark  (jjc at jclark)
4664151497Sru
4665151497Sru	* troff/input.c (token::next): Delete implementation of \R.
4666151497Sru
4667151497Sru	* macros/Makefile: Strip comments from tmac.e while installing it.
4668151497Sru
4669151497Sru	* troff/input.c: New variable `nroff_mode'.
4670151497Sru	(troff_request, nroff_request): New functions.
4671151497Sru	(init_input_requests): Bind `troff' and `nroff' to troff_request
4672151497Sru	and nroff_request.
4673151497Sru	(do_if_request): Compute results of t and n conditions from
4674151497Sru	nroff_mode.
4675151497Sru
4676151497Sru	* text/text.c (split_text): Fix typo in >=.
4677151497Sru
4678151497Sru	* eqn/lex.c: Add definition of `==' to def_table.
4679151497Sru
4680151497SruFri Nov  2 02:49:09 1990  James Clark  (jjc at jclark)
4681151497Sru
4682151497Sru	* pic/tex.c (tex_output::start_picture): Change the definitions of
4683151497Sru	\graph and \graphtemp so that they work properly with Plain TeX.
4684151497Sru
4685151497Sru	* pic/tex.c (tex_output::solid_arc): Ensure that the second angle
4686151497Sru	argument to `ar' is not less than the first.
4687151497Sru
4688151497Sru	* pic/pic.y: Allow a comma between elements of the variable list
4689151497Sru	in the argument to `reset'.
4690151497Sru
4691151497Sru	* pic/object.c (arc_object::arc_object): Fix computation of
4692151497Sru	radius.
4693151497Sru
4694151497Sru	* eqn/main.c (main): Add exit(0).
4695151497Sru
4696151497SruThu Nov  1 02:03:50 1990  James Clark  (jjc at jclark)
4697151497Sru
4698151497Sru	* troff/div.c (begin_page): Test no_space_mode after doing the
4699151497Sru	break, but still push the page ejector cookie before doing the
4700151497Sru	break.  Also set the next page number after doing the break.
4701151497Sru	
4702151497Sru	* xditview/xditview.c (NewFile): Don't set the title and icon name
4703151497Sru	if this is the first file and its name is `-'.
4704151497Sru	* groff/groff.c: Define a new device flag XT_OPTION.  Set it for
4705151497Sru	the X75 and X100 devices.
4706151497Sru	(main): If a device has the XT_OPTION flag set and there's exactly
4707151497Sru	one file argument, pass the driver -xrm and -title options to set
4708151497Sru	the icon name and window title to the name of the file.
4709151497Sru
4710151497Sru	* troff/env.c (environment_switch): If there was an argument but
4711151497Sru	it wasn't a valid number or name, then pop an environment but
4712151497Sru	don't give an error message on underflow.
4713151497Sru
4714151497Sru	* troff/number.c (start_number): Correct spelling in error message.
4715151497Sru
4716151497Sru	* troff/input.c (token::delimiter): Don't print an error message
4717151497Sru	if err is false.
4718151497Sru
4719151497Sru	* xditview/libXdvi/parse.c (ParseInput): In case 'D', only call
4720151497Sru	ParseDrawFunction if dw->display_enable is true.
4721151497Sru
4722151497SruWed Oct 31 05:49:50 1990  James Clark  (jjc at jclark)
4723151497Sru
4724151497Sru	* pic/pic.y: Parse text positioning like normal attributes, so as
4725151497Sru	to allow `"text" at 0,0 ljust'.  Don't allow `center' as a
4726151497Sru	positioning attribute.
4727151497Sru
4728151497SruMon Oct 29 22:50:38 1990  James Clark  (jjc at jclark)
4729151497Sru
4730151497Sru	* tbl/main.c (process_data): When in state START while reading a
4731151497Sru	text block, don't change to state MIDDLE if c is a newline.
4732151497Sru
4733151497SruSun Oct 28 21:59:56 1990  James Clark  (jjc at jclark)
4734151497Sru
4735151497Sru	* dvi/dvi.c (dvi_printer::begin_page): Rename `i' variable to `j'
4736151497Sru	so as to avoid shadowing parameter.
4737151497Sru
4738151497SruWed Oct 24 18:35:39 1990  James Clark  (jjc at jclark)
4739151497Sru
4740151497Sru	* tbl/table.c (trim_space): Deleted.
4741151497Sru	(table::add_entry): Don't call trim_space.
4742151497Sru
4743151497SruMon Oct 22 03:48:39 1990  James Clark  (jjc at jclark)
4744151497Sru
4745151497Sru	* VERSION: Change version to 0.6.
4746151497Sru
4747151497Sru	* troff/number.c (parse_expr): Make == work.
4748151497Sru
4749151497SruSat Oct 20 11:28:17 1990  James Clark  (jjc at jclark)
4750151497Sru
4751151497Sru	* man/grog.man: New file.
4752151497Sru	* man/Makefile: Add grog.n to MAN1PAGES.
4753151497Sru	* etc/grog.sh: New file.
4754151497Sru	* etc/Makefile: Install grog.sh as grog.
4755151497Sru
4756151497SruFri Oct 19 11:17:15 1990  James Clark  (jjc at jclark)
4757151497Sru
4758151497Sru	* troff/input.c (token::next): Implement \E.
4759151497Sru
4760151497SruThu Oct 18 11:56:24 1990  James Clark  (jjc at jclark)
4761151497Sru
4762151497Sru	* xditview/tmac.X: Change font translations to match tmac.ps.
4763151497Sru
4764151497Sru	* troff/input.c (non_empty_name_warning): Don't give a warning if
4765151497Sru	`\{' terminates the name.
4766151497Sru
4767151497SruTue Oct 16 10:04:23 1990  James Clark  (jjc at jclark)
4768151497Sru
4769151497Sru	* ps/devps/symbol.diff: New file.
4770151497Sru	* ps/devps/FontMakefile: Mention symbol.diff.
4771151497Sru
4772151497SruSun Oct 14 11:46:46 1990  James Clark  (jjc at jclark)
4773151497Sru
4774151497Sru	* troff/node.c (font_position): Use get_long_name to read the
4775151497Sru	external_name.
4776151497Sru
4777151497Sru	* troff/env.c (environment_switch): If we get a number that's < 0
4778151497Sru	or >= NENVIRONMENTS, treat it like a name.
4779151497Sru	Change NENVIRONMENTS to 10.
4780151497Sru
4781151497Sru	* troff/groff.h: Remove definition of FONTS_MAX.
4782151497Sru	* troff/node.h (class font_family): Make map a pointer instead of
4783151497Sru	an array. Add a map_size member. Make it a class. Make nm const
4784151497Sru	and public. Make invalidate_fontno a friend.
4785151497Sru	* troff/node.c: Define font_table_size. Make font_info a pointer
4786151497Sru	rather than an array.
4787151497Sru	(class troff_output_file): Allocate font_position dynamically. Add
4788151497Sru	nfont_positions member.
4789151497Sru	(troff_output_file::set_font): Grow font_position if necessary.
4790151497Sru	(troff_output_file::~troff_output_file): Delete font_position.
4791151497Sru	(troff_output_file::troff_output_file): Allocate font_position.
4792151497Sru	(grow_font_table): New function.
4793151497Sru	(troff_output_file::really_begin_page,
4794151497Sru	troff_output_file:really_copy_page): Use nfont_positions rather
4795151497Sru	than FONTS_MAX.
4796151497Sru	(mount_font_no_translate, mount_style): Call grow_font_table if
4797151497Sru	necessary.
4798151497Sru	(font_family::font_family): Allocate map.
4799151497Sru	(font_family::make_definite): Grow map if necessary. Use
4800151497Sru	font_table_size instead of FONTS_MAX.
4801151497Sru	(font_family::~font_family): New function.
4802151497Sru	(invalidate_fontno): Use font_family::map_size.
4803151497Sru	(get_fontno, env_space_width, env_half_narrow_space_width,
4804151497Sru	env_narrow_space_width, symbol_fotno, is_good_fontno,
4805151497Sru	get_bold_fontno, make_glyph_node): Use font_table_size rather than
4806151497Sru	FONTS_MAX.
4807151497Sru	(next_available_font_position): Never return 0.
4808151497Sru
4809151497SruFri Oct 12 10:17:52 1990  James Clark  (jjc at jclark)
4810151497Sru
4811151497Sru	* ps/tmac.ps: Add font translations for compatibility with dpost.
4812151497Sru
4813151497SruThu Oct 11 12:09:03 1990  James Clark  (jjc at jclark)
4814151497Sru
4815151497Sru	* eqn/pile.c: Rename default_baseline_sep to baseline_sep.
4816151497Sru	Move BASELINE_SEP_FORMAT and COLUMN_WIDTH_FORMAT into pbox.h.
4817151497Sru	Move definitions baseline_sep, shift_down, column_sep,
4818151497Sru	matrix_side_sep into...
4819151497Sru	* eqn/box.c: Add them to param_table.
4820151497Sru	* eqn/pbox.h: Add declarations to pbox.h.
4821151497Sru
4822151497Sru	* troff/input.c (set_string): Cast value to unsigned char *.
4823151497Sru
4824151497Sru	* troff/token.h (process_input_stack): Declare it static before
4825151497Sru	declaring it a friend.
4826151497Sru
4827151497SruWed Oct 10 09:59:13 1990  James Clark  (jjc at jclark)
4828151497Sru
4829151497Sru	* dvi/devdvi/texex.map: Fix positions of extensible brace middle
4830151497Sru	and bottom.
4831151497Sru	* dvi/devdvi/EX: Regenerate.
4832151497Sru
4833151497Sru	* troff/input.c (init_charset_table): Make ", ', ), ], *, \(dg
4834151497Sru	transparent.
4835151497Sru
4836151497SruTue Oct  9 08:34:02 1990  James Clark  (jjc at jclark)
4837151497Sru
4838151497Sru	* eqn/lex.c: In defaults_table, make definition of `dot' call
4839151497Sru	`dot_def'.  Don't explicitly make it roman.  Similarily for other
4840151497Sru	accents.
4841151497Sru
4842151497Sru	* pic/lex.c (for_input::for_input): Add by_is_multiplicative
4843151497Sru	argument.
4844151497Sru	(for_input::get, for_input::peek): Use this.
4845151497Sru	(do_for): Add by_is_multiplicative argument.
4846151497Sru	* pic/pic.y: Change optional_by clause to allow '*' after `by'.
4847151497Sru	Change semantic value of optional_by to be a double plus a flag
4848151497Sru	saying whethet the by clause is multiplicative.
4849151497Sru
4850151497Sru	* eqn/lex.c (get_delimited_text): Remember location of start of
4851151497Sru	definition.  Improve error handling when EOF is encountered.
4852151497Sru
4853151497Sru	* lib/font.h: Rename handle_x_command to
4854151497Sru	handle_unknown_font_command.
4855151497Sru	* lib/font.c (font::load): Call handle_unknown_font_command for
4856151497Sru	any unknown command in the font description file.  Don't call
4857151497Sru	handle_x_command. Include the name of the command in the argv.
4858151497Sru	Improve message for unknown command after kernpairs or charset
4859151497Sru	command.
4860151497Sru	* ps/ps.c (ps_font::handle_x_command): Rename to
4861151497Sru	handle_unknown_font_command.  Remove message about `x download'
4862151497Sru	command.  Give error message for wrong number of arguments.
4863151497Sru	* ps/devps/afmtodit: Generate `encoding' instead of `x encoding'.
4864151497Sru	* dvi/dvi.c (dvi_font::handle_x_command): Rename to
4865151497Sru	handle_unknown_font_command. Give an error message for wrong
4866151497Sru	number of arguments.  Rename design_size to designsize.
4867151497Sru	* dvi/tfmtodit.c (main): Generate `checksum' instead of `x
4868151497Sru	checksum', `designsize' instead of `design_size'.
4869151497Sru
4870151497SruMon Oct  8 00:38:55 1990  James Clark  (jjc at jclark)
4871151497Sru
4872151497Sru	* eqn/*.[chy]: Change underaccent to uaccent.
4873151497Sru
4874151497Sru	* eqn/eqn.y: Add rule for underaccent.  Declare UNDERACCENT token;
4875151497Sru	give it the same precedence as ACCENT.
4876151497Sru	* eqn/other.c (make_underaccent_box): New function.
4877151497Sru	* eqn/box.h: Declare it.
4878151497Sru	* eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to
4879151497Sru	def_table.
4880151497Sru
4881151497SruSun Oct  7 11:25:16 1990  James Clark  (jjc at jclark)
4882151497Sru
4883151497Sru	* pic/pic.y (reset_all): New function. Called in rule for RESET.
4884151497Sru	(parse_init): Call reset_all.
4885151497Sru	(define_variable): When defining scale reset only those
4886151497Sru	pre-defined variables that are scaled.
4887151497Sru	(defaults_table): Add `scale' as non-scaled value.
4888151497Sru
4889151497Sru	* pic/pic.y: Redo parsing of text adjustments: parse adjustments
4890151497Sru	together with the text; allow any number of positioning words;
4891151497Sru	allow center as a positioning word.
4892151497Sru
4893151497Sru	* pic/object.c (output::compute_scale): Get picture maximum height
4894151497Sru	and width from variables called maxpswid and maxpsht.
4895151497Sru	* pic/pic.y: Add maxpswid and maxpsht to defaults_table.
4896151497Sru
4897151497SruSat Oct  6 10:16:56 1990  James Clark  (jjc at jclark)
4898151497Sru
4899151497Sru	* pic/object.c (object_spec::make_text): Multiply textht by number
4900151497Sru	of text items.
4901151497Sru
4902151497Sru	* pic/pic.y: Allow `sprintf("string", expr,...)' wherever text can
4903151497Sru	occur.
4904151497Sru	(do_sprintf): New function.
4905151497Sru	(pic.gperf): Add sprintf token.
4906151497Sru	(text, sprintf): New rules.
4907151497Sru
4908151497Sru	* pic/pic.y: `rand()' with no arguments returns a random number
4909151497Sru	in the range [0,1).
4910151497Sru
4911151497Sru	* pic/pic.y: Allow a bare expression to be an attribute: change
4912151497Sru	precedences to support this.  Change optional_ordinal rule to
4913151497Sru	optional_ordinal_last to avoid reduce/reduce conflict.
4914151497Sru	* pic/object.c (object_spec::object_spec): Initialize direction.
4915151497Sru
4916151497Sru	* pic/pic.y: Implement ^ operator meaning exponentiation.
4917151497Sru
4918151497Sru	* troff/node.h: Add default argument to mount_font.
4919151497Sru	* troff/node.c (font_position): Read an optional third argument
4920151497Sru	giving the external_name.
4921151497Sru	(mount_font): Add optional argument giving the external_name.
4922151497Sru	(mount_font_not_translate): Have additional argument giving
4923151497Sru	external name.  Use this name to load the font.  Pass both names
4924151497Sru	to font_info::font_info.
4925151497Sru	(font_info::font_info): Have additional argument giving
4926151497Sru	external_name.
4927151497Sru	(class tfont): New member external_name.
4928151497Sru	(font_info::get_tfont): Use external name to construct tfont_spec.
4929151497Sru
4930151497SruFri Oct  5 04:03:13 1990  James Clark  (jjc at jclark)
4931151497Sru
4932151497Sru	* eqn/lex.c (init_table): Add argument giving device.  Define
4933151497Sru	name of device to be "1".
4934151497Sru	(do_ifdef): Counts as true if the argument has been defined with
4935151497Sru	`define'.
4936151497Sru	* eqn/main.c (main): Call init_table with device argument. Make
4937151497Sru	device local to main.
4938151497Sru	* eqn/eqn.h: Change declaration of init_table. Remove declaration
4939151497Sru	of device.
4940151497Sru
4941151497Sru	* pic/lex.c (get_delimited): Allow text to be delimited by
4942151497Sru	matching {}s.  Don't recognize ending delimiter within a string.
4943151497Sru
4944151497Sru	* troff/input.c (get_delim_name): New function.
4945151497Sru	(token::next): Implement \C.
4946151497Sru
4947151497Sru	* lib/font.c (font::load): Grok ---.  Add an alias for each
4948151497Sru	character based on its code.
4949151497Sru	(font::get_code_width): Deleted.
4950151497Sru	* lib/font.h (class font): Declare font::number_to_index().
4951151497Sru	Remove declaration of font::get_code_width.
4952151497Sru	* lib/nametoindex.c (font::name_to_index): Add 512 rather than 256
4953151497Sru	to indices of named characters.
4954151497Sru	(font::number_to_index): New function.
4955151497Sru	* troff/input.c (font::number_to_index): New function.
4956151497Sru	(get_charinfo_by_number, charinfo::get_number,
4957151497Sru	charinfo::set_number): New functions.
4958151497Sru	(token::next): Turn \N into a TOKEN_NUMBERED_CHAR.
4959151497Sru	(token::process, token::description, token::get_char,
4960151497Sru	token::add_to_node_list, token::operator==): Handle
4961151497Sru	TOKEN_NUMBERED_CHAR.
4962151497Sru	* troff/charinfo.h: Declare get_charinfo_by_number,
4963151497Sru	charinfo::get_number, charinfo::set_number.  Add NUMBERED flag to
4964151497Sru	charinfo class.
4965151497Sru	(charinfo::numbered): New function.
4966151497Sru	* troff/token.h: Add TOKEN_NUMBERED_CHAR.
4967151497Sru	* troff/env.h (class environment): Remove declaration of ...
4968151497Sru	* troff/env.c (environment::make_numbered_char_node): Deleted.
4969151497Sru	* troff/node.c (make_numbered_node): Deleted.
4970151497Sru	(class numbered_glyph_node): Remove.
4971151497Sru	(troff_output_file::put_char_width, troff_output_file::put_char):
4972151497Sru	Handle numbered chars.
4973151497Sru	(troff_output_file::numbered_char): Removed.
4974151497Sru	(tfont::get_code_width): Removed.
4975151497Sru	(make_glyph_node): Don't search special fonts for numbered
4976151497Sru	characters.
4977151497Sru	* troff/node.h: Remove declaration of make_numbered_node.
4978151497Sru	* driver/input.c (do_file): Handle N command.
4979151497Sru	* driver/printer.h: Add declaration of ...
4980151497Sru	* driver/printer.c (printer::set_numbered_char): New function.
4981151497Sru	* dvi/tfmtodit.c (main): Generate unnamed entries.
4982151497Sru	* ps/devps/afmtodit: Likewise.
4983151497Sru	* xditview/xtotroff.c (MapFont): Likewise.
4984151497Sru	* xditview/libXdvi/parse.c (ParseInput): Grok N command.
4985151497Sru
4986151497Sru	* tbl/main.c (process_format): If multiple widths are specified
4987151497Sru	for a column but all the widths are the same, don't give an error
4988151497Sru	message.
4989151497Sru
4990151497Sru	* tbl/table.c (table::do_row): If the current row is all lines and
4991151497Sru	the stuff doesn't contains a line, mark the top of the row after
4992151497Sru	printing stuff before the row.  If the current row is not all
4993151497Sru	lines and the stuff doesn't contain a line, don't unnecessarily
4994151497Sru	mark the top of the row before printing the stuff.
4995151497Sru	
4996151497SruMon Oct  1 11:42:00 1990  James Clark  (jjc at jclark)
4997151497Sru
4998151497Sru	* troff/groff.h: Remove MAX_PATH.
4999151497Sru	* troff/input.c (open_file): Dynamically allocate space for the
5000151497Sru	path.
5001151497Sru	(open_mac_file, process_macro_file): Corresponding changes.
5002151497Sru
5003151497SruSun Sep 23 18:56:26 1990  James Clark  (jjc at jclark)
5004151497Sru
5005151497Sru	* troff/node.h (class output_file): Make copy_file pure.  Add
5006151497Sru	vspace method ifdef COLUMN. Add is_printing method.
5007151497Sru	* troff/node.c: Add class printing_reg. Add class
5008151497Sru	real_output_file. Derive other output_file classes from
5009151497Sru	real_output_file; in these classes rename begin_page to
5010151497Sru	really_begin_page, print_line to really_print_line, copy_file to
5011151497Sru	really_copy_file, transparent_char to really_transparent_char.
5012151497Sru	Move output_file::flush to real_output_file. Add printing member
5013151497Sru	to class output_file.
5014151497Sru	* troff/div.h: Remove printing member from top_level_diversion.
5015151497Sru	Add vspace member function to class diversion ifdef COLUMN. Add
5016151497Sru	some declarations ifdef COLUMN.
5017151497Sru	* troff/div.c (top_level_diversion::copy_file,
5018151497Sru	top_level_diversion::transparent_output,
5019151497Sru	top_level_diversion::output): Don't test printing member before
5020151497Sru	output.
5021151497Sru	* troff/input.c: Handle initial variable_space_request ifdef
5022151497Sru	COLUMN.
5023151497Sru	* troff/Makefile: Add column.c but comment it out. Add -DCOLUMN
5024151497Sru	but comment it out.
5025151497Sru
5026151497SruSat Sep 22 11:32:22 1990  James Clark  (jjc at jclark)
5027151497Sru
5028151497Sru	* troff/div.c (diversion::need): Make any space forced.  If we
5029151497Sru	sprung a trap, set truncated_space to minus the distance to the
5030151497Sru	trap and set needed_space to the amount that was needed.
5031151497Sru	(top_level_diversion::space): A forced space turns no_space_mode
5032151497Sru	off.
5033151497Sru	(class constant_vunits_reg): New class.
5034151497Sru	(init_div_requests): Implement number registers .trunc and .ne
5035151497Sru	using constant_vunits_reg.
5036151497Sru	(class truncated_space_reg): Deleted.	
5037151497Sru
5038151497Sru	* troff/div.h: Don't have a no_space_mode member in diversion.
5039151497Sru	Instead have it in top_level_diversion.
5040151497Sru	* troff/div.c (diversion::diversion): Don't initialize
5041151497Sru	no_space_mode.
5042151497Sru	(top_level_diversion::top_level_diversion): Initialize
5043151497Sru	no_space_mode.
5044151497Sru	(no_space, restore_spacing): Do nothing if curdiv != topdiv.
5045151497Sru	(macro_diversion::output): Don't clear no_space_mode.
5046151497Sru
5047151497Sru	* troff/input.c (diverted_space_node::reread): Don't call
5048151497Sru	environment::do_break.  In fill mode, act like a blank line.
5049151497Sru	(diverted_copy_file_node::reread): Don't call
5050151497Sru	environment::do_break.
5051151497Sru
5052151497Sru	* troff/div.c (blank_line): New function.
5053151497Sru	* troff/div.h: Declare it.
5054151497Sru	* troff/input.c (process_input_stack): Call it.
5055151497Sru
5056151497Sru	* troff/div.c (truncated_space_reg::get_string): New function.
5057151497Sru	(init_div_requests): Bind to .trunc.
5058151497Sru	(space_request, top_level_diversion::space,
5059151497Sru	top_level_diversion::output, macro_diversion::space,
5060151497Sru	macro_diversion::output): Update truncated_space.
5061151497Sru	(macro_diversion::output): Redo calculations when trap sprung.
5062151497Sru	(macro_diversion::output, macro_diversion::space): No need for
5063151497Sru	trap_flag.
5064151497Sru
5065151497Sru	* troff/div.c (top_level_diversion::output): Set nl_reg_contents
5066151497Sru	after truncating post line spacing.
5067151497Sru
5068151497SruFri Sep 21 11:27:25 1990  James Clark  (jjc at jclark)
5069151497Sru
5070151497Sru	* ps/devps/prologue (MF, SF): Make them work even if setfont is
5071151497Sru	defined as a procedure rather than as an operator.
5072151497Sru
5073151497SruThu Sep 20 12:55:05 1990  James Clark  (jjc at jclark)
5074151497Sru
5075151497Sru	* troff/div.c (macro_diversion::space): Ignore no_space_mode.
5076151497Sru
5077151497SruWed Sep 19 10:54:37 1990  James Clark  (jjc at jclark)
5078151497Sru
5079151497Sru	* troff/div.c (top_level_diversion::output): Merge
5080151497Sru	output_file::print_line and output_file::end_of_line member
5081151497Sru	functions.
5082151497Sru	* troff/div.h (class output_file):
5083151497Sru	* troff/node.c (troff_output_file::print_line,
5084151497Sru	troff_output_file::end_of_line, output_file::end_of_line,
5085151497Sru	ascii_output_file::print_line, suppress_output_file::print_line):
5086151497Sru	Corresponding changes.	
5087151497Sru
5088151497SruTue Sep 18 11:31:47 1990  James Clark  (jjc at jclark)
5089151497Sru
5090151497Sru	* troff/input.c (token::next): Don't give a warning for `\.'.
5091151497Sru
5092151497Sru	* troff/env.c (environment::get_center_lines): New function.
5093151497Sru	(init_env_requests): Bind number register .ce to it.
5094151497Sru	* troff/env.h: Declare it.
5095151497Sru	* tbl/table.c (table::init_output): Define reset macro to restore
5096151497Sru	.ce.  If center option not given, store .ce in SAVED_CENTER_REG.
5097151497Sru	Then do .ce 0.
5098151497Sru	(table::print): If center option not given, then imply center
5099151497Sru	option if SAVED_CENTER_REG > 0.
5100151497Sru
5101151497SruMon Sep 17 09:19:19 1990  James Clark  (jjc at jclark)
5102151497Sru
5103151497Sru	* ps/devps/Makefile: Remove T from FONTS. Remove TSymbol.ps and
5104151497Sru	Troff.ps from DOWNLOAD.
5105151497Sru	
5106151497Sru	* troff/Makefile: Change comment in DEFINES to avoid confusing
5107151497Sru	System V make.
5108151497Sru
5109151497Sru	* ps/ps.c (ps_printer::do_exec): Allow newlines within PostScript
5110151497Sru	code.  Don't try to catch errors with stopped.
5111151497Sru	(check_line_lengths): New function.
5112151497Sru	* ps/devps/prologue (EXEC): Deleted.
5113151497Sru	(EBEGIN, EEND): New procedures.
5114151497Sru
5115151497SruSun Sep 16 14:51:15 1990  James Clark  (jjc at jclark)
5116151497Sru
5117151497Sru	* troff/input.c: Include request.h before node.h.
5118151497Sru	* troff/node.c: Likewise.
5119151497Sru	* troff/env.c: Likewise.
5120151497Sru	* troff/div.c: Likewise.
5121151497Sru	* troff/node.h (class special_node): Store argument as a macro
5122151497Sru	rather than a char *.
5123151497Sru	* troff/node.c (special_node::special_node, special_node::copy):
5124151497Sru	Grok this.
5125151497Sru	(special_node::~special_node): Deleted.
5126151497Sru	(special_node::tprint): Deleted.
5127151497Sru	(special_node::tprint_start, special_node::tprint_end,
5128151497Sru	special_node::tprint_char): New functions.
5129151497Sru	(troff_output_file::special): Deleted.
5130151497Sru	(troff_output_file::start_special, troff_output_file::end_special,
5131151497Sru	troff_output_file::special_char): New functions.
5132151497Sru	* troff/input.c (special_node::tprint): New function.
5133151497Sru	(do_special): Use macro not char *.
5134151497Sru	(do_transparent_macro): Deleted.
5135151497Sru	(token::next): Don't call do_transparent_macro.
5136151497Sru
5137151497Sru	* troff/input.c (token::next): Add 'Y' case.
5138151497Sru	(do_transparent_macro): New function.
5139151497Sru	* troff/node.c (troff_output_file::special): Handle newlines with
5140151497Sru	argument using new continuation convention.
5141151497Sru	* driver/input.c (get_string): Cope with continuation convention.
5142151497Sru	(do_file): Don't call skip_line after calling get_string(1).
5143151497Sru	* ps/ps.c (ps_printer::special, ps_printer::do_import,
5144151497Sru	ps_printer::do_def, ps_printer::do_exec): Cope with newlines in
5145151497Sru	arg.
5146151497Sru	* xditview/libXdvi/parse.c (ParseInput): Ignore lines starting
5147151497Sru	with +.
5148151497Sru
5149151497SruSat Sep 15 19:00:10 1990  James Clark  (jjc at jclark)
5150151497Sru
5151151497Sru	* troff/input.c (asciify): By default, illegal input characters
5152151497Sru	should return empty string.
5153151497Sru
5154151497Sru	* troff/input.c (copy_file): Handle first page transition like title.
5155151497Sru	(token::next, process_input_stack): Grok COPY_FILE_REQUEST.
5156151497Sru
5157151497Sru	* troff/input.c (token::next): Improve error message for EOF after
5158151497Sru	escape character.
5159151497Sru	(input_char_description): New function.
5160151497Sru	(get_char_for_escape_name): Use input_char_description.
5161151497Sru	(token::next): Warn about unrecognized escape sequences.
5162151497Sru	(warning_table): Add WARN_ESCAPE.
5163151497Sru	* troff/groff.h: Declare WARN_ESCAPE. Change WARN_TOTAL
5164151497Sru	accordingly.
5165151497Sru
5166151497Sru	* troff/token.h: Remove declaration of process_input_stack.
5167151497Sru
5168151497Sru	* troff/input.c: Remove declaration of init_hyphen_requests.
5169151497Sru	* troff/request.h: Correct spelling in declaration of same.
5170151497Sru
5171151497Sru	* troff/input.c (token::next): Check whether escape_char is 0.
5172151497Sru
5173151497SruFri Sep 14 12:09:25 1990  James Clark  (jjc at jclark)
5174151497Sru
5175151497Sru	* groff.c (main, usage, help): Implement -P and -L options.
5176151497Sru	* groff.sh: Likewise.
5177151497Sru
5178151497Sru	* troff/input.c (token::next): Use some gotos to avoid code
5179151497Sru	duplication.
5180151497Sru
5181151497Sru	* troff/input.c (get_long_name, get_name, read_long_ecsape_name):
5182151497Sru	Avoid calling symbol::symbol if name empty.
5183151497Sru
5184151497SruThu Sep 13 06:21:45 1990  James Clark  (jjc at jclark)
5185151497Sru
5186151497Sru	* troff/input.c (init_input_requests): Make \n(.x return the major
5187151497Sru	version number and \n(.y return the minor version number.
5188151497Sru	* troff/Makefile: Construct file majorminor.c defining
5189151497Sru	major_version and minor_version automatically from ../VERSION.
5190151497Sru
5191151497Sru	* troff/node.c (class glyph_node): Make operator new and operator
5192151497Sru	delete public.
5193151497Sru	(class ligature_node): Similarily.
5194151497Sru
5195151497Sru	* troff/input.c (operator==(const macro &, const macro &)): New
5196151497Sru	function.
5197151497Sru	(non_interpreted_node::same): Use this.
5198151497Sru	(string_iterator::string_iterator): Make macro& argument const.
5199151497Sru
5200151497Sru	* troff/input.c (input_iterator::get): New function. Don't make
5201151497Sru	asciify_macro or class non_interpreted_node friends of class
5202151497Sru	input_iterator.
5203151497Sru	(non_interpreted_node::interpret): Use input_iterator::get.
5204151497Sru	(asciify_macro): Likewise.
5205151497Sru
5206151497Sru	* troff/input.c (~token_node, ~string_iterator, ~arg_list,
5207151497Sru	~non_interpreted_node): Deleted.
5208151497Sru	* troff/node.c: (~suppress_output_file, ~ascii_output_file):
5209151497Sru	Deleted.
5210151497Sru
5211151497Sru	* troff/symbol.h: Make all symbol member functions const.
5212151497Sru
5213151497Sru	* lib/strtol.c: New file.
5214151497Sru	* lib/Makefile: Add strtol.c.
5215151497Sru	* Makefile: Define STRTOL as strtol.o to include strtol in
5216151497Sru	libgroff.a.
5217151497Sru
5218151497SruWed Sep 12 10:00:49 1990  James Clark  (jjc at jclark)
5219151497Sru
5220151497Sru	* pic/troff.c (troff_output::simple_circle): Divide by scale.
5221151497Sru
5222151497SruTue Sep 11 14:17:16 1990  James Clark  (jjc at jclark)
5223151497Sru
5224151497Sru	* troff/input.c (do_special): Use input_level.
5225151497Sru
5226151497Sru	* troff/token.h (TOKEN_BACKSPACE): New token.
5227151497Sru	(token::backspace): New function.
5228151497Sru	* troff/input.c (token::description, token::next, token::process):
5229151497Sru	Grok TOKEN_BACKSPACE.
5230151497Sru	(do_special): Turn TOKEN_BACKSPACE back into \b.
5231151497Sru
5232151497Sru	* troff/token.h (token::leader): New function.
5233151497Sru	* troff/input.c (do_special): Turn TOKEN_LEADER back into \001.
5234151497Sru
5235151497Sru	* troff/input.c (do_special): Turn TOKEN_TAB back into \t.
5236151497Sru
5237151497Sru	* troff/input.c (do_special): Use token::description in error
5238151497Sru	message.
5239151497Sru
5240151497SruMon Sep 10 11:06:27 1990  James Clark  (jjc at jclark)
5241151497Sru
5242151497Sru	* troff/input.c (decode_args): Combine quoted and
5243151497Sru	quote_input_level variables. Make it a for (;;) loop.
5244151497Sru
5245151497Sru	* troff/input.c (get_char_for_escape_name): Check for \001 and \b.
5246151497Sru
5247151497Sru	* troff/input.c (read_long_escape_name): The test for whether to
5248151497Sru	expand buffer was off by 1.
5249151497Sru	(read_string): Similarily.
5250151497Sru
5251151497SruFri Sep  7 11:45:50 1990  James Clark  (jjc at jclark)
5252151497Sru
5253151497Sru	* troff/input.c: Use `const int' rather than `static const int'.
5254151497Sru
5255151497Sru	* troff/div.h (diversion::copy_file): Declare as pure virtual.
5256151497Sru	(macro_diversion::copy_file): New function.
5257151497Sru	* troff/node.h: New class diverted_copy_file_node.
5258151497Sru	* troff/node.c: Implement it.
5259151497Sru	* troff/input.c (copy_file): Use diversion::copy_file. Handle
5260151497Sru	first page transition by pushing a diverted_copy_file_node.
5261151497Sru	* troff/input.c (token::next, process_input_stack): Don't handle
5262151497Sru	COPY_FILE_REQUEST.
5263151497Sru
5264151497SruThu Sep  6 13:29:10 1990  James Clark  (jjc at jclark)
5265151497Sru
5266151497Sru	* ps/ps.c (flush_sbuf): Remember to add sbuf_kern when checking
5267151497Sru	whether space widths need adjusting.
5268151497Sru
5269151497Sru	* troff/charinfo.h: Generalize translated_to_space to
5270151497Sru	special_translation so as to allow translation to \&.
5271151497Sru	* troff/input.c (translate): Allow translation to \&.
5272151497Sru	(charinfo::*): Corresponding changes.
5273151497Sru	* troff/node.c (make_node, node::add_char): Corresponding changes.
5274151497Sru	* troff/node.h (dummy_node::dummy_node): Allow optional first
5275151497Sru	argument.
5276151497Sru
5277151497Sru	* lib/lib.h: Make codes 0200 to 0237 illegal input characters.
5278151497Sru	* troff/token.h: Remove TOKEN_TITLE. Remove token::title. Add
5279151497Sru	TOKEN_REQUEST.
5280151497Sru	* troff/input.c (token::next): Turn a TITLE_REQUEST into a
5281151497Sru	TOKEN_REQUEST with an argument of TITLE_REQUEST.
5282151497Sru	(token::process): Grok that.
5283151497Sru	* troff/input.c (copy_file): Handle first page transition like
5284151497Sru	title by pushing a COPY_FILE_REQUEST cookie.
5285151497Sru	(token::next, process_input_stack): Grok that.
5286151497Sru	* troff/node.h (output_file::copy_file): Add x and y arguments.
5287151497Sru	Make it non-pure.
5288151497Sru	* troff/div.c (top_level_diversion::copy_file): Supply them.
5289151497Sru	* troff/node.c (troff_output_file::copy_file): Add x and y
5290151497Sru	arguments; moveto specified position.  Invalidate font_position
5291151497Sru	array after copying file.
5292151497Sru	(output_file::copy_file): New function.
5293151497Sru	(suppressed_output_file::copy_file, ascii_output::copy_file):
5294151497Sru	Removed.
5295151497Sru	* troff/input.c (transparent_file): New function.
5296151497Sru	(init_input_requests): Bind to "trf".
5297151497Sru	(token::next): Handle TRANSPARENT_FILE_REQUEST cookie.
5298151497Sru	(process_input_stack): Likewise.
5299151497Sru
5300151497Sru	* troff/Makefile: Add ../lib/lib.h to GROFF_H.
5301151497Sru
5302151497Sru	* troff/node.c (init_node_requests): New number registers .kern
5303151497Sru	pointing to global_kern_mode, and .lg pointing to
5304151497Sru	global_ligature_mode.
5305151497Sru
5306151497Sru	* troff/node.c (ligature): Don't change it if we get a bad
5307151497Sru	integer.
5308151497Sru
5309151497Sru	* troff/input.c (do_define_string): Don't strip tabs.
5310151497Sru
5311151497Sru	* troff/input.c (asciify_macro): Make the string_iterator auto.
5312151497Sru
5313151497Sru	* troff/node.c (init_font_requests): Rename to...
5314151497Sru	(init_node_requests):
5315151497Sru	* troff/node.h: Change declaration.
5316151497Sru	* troff/input.c (main): Change call.
5317151497Sru
5318151497Sru	* troff/input.c (node::reread, diverted_space_node::reread): New
5319151497Sru	methods.
5320151497Sru	(process_input_stack): Call reread rather than
5321151497Sru	get_diverted_space_node.
5322151497Sru	* troff/node.c (node::get_diverted_space_node,
5323151497Sru	diverted_space_node::get_diverted_space_node): Removed.
5324151497Sru	* troff/node.h: Declare reread methods instead of
5325151497Sru	get_diverted_space_node methods. Make `n' member private.
5326151497Sru	* troff/input.c: (token::diverted_space): Removed.
5327151497Sru	* troff/token.h: Removed declaration.
5328151497Sru	
5329151497Sru
5330151497SruTue Sep  4 00:48:04 1990  James Clark  (jjc at jclark)
5331151497Sru
5332151497Sru	* eqn/script.c (script_box::compute_metrics): Don't let
5333151497Sru	SUP_RAISE_FORMAT become negative.
5334151497Sru
5335151497Sru	* tbl/table.c (table::do_row): Entries that don't end in the
5336151497Sru	this row shouldn't make the row non-blank.
5337151497Sru	
5338151497Sru	* tbl/table.c (table::make_columns_equal): Only set the width of
5339151497Sru	columns which are marked as equal.
5340151497Sru	
5341151497Sru	* tbl/main.c (process_data): Before issuing excess data error,
5342151497Sru	if last character was a newline unget it; then get it again after
5343151497Sru	the error.  Also include the contents of the entry in the message.
5344151497Sru
5345151497Sru	* groff.c: New file.
5346151497Sru	* Makefile: Build groff from groff.c.  Make it possible to use
5347151497Sru	either groff.sh or groff.c as groff.
5348151497Sru	* Makefile.bd: Similarily.
5349151497Sru
5350151497SruMon Sep  3 09:39:49 1990  James Clark  (jjc at jclark)
5351151497Sru
5352151497Sru	* groff.sh: Don't delay expansion of $@ in assignment to files.
5353151497Sru	Remove occurrences of \".
5354151497Sru
5355151497SruSun Sep  2 09:56:59 1990  James Clark  (jjc at jclark)
5356151497Sru
5357151497Sru	* all Makefiles: Simplify and rearrange.
5358151497Sru
5359151497Sru	* Makefile: Handle fmod like malloc.
5360151497Sru	* lib/Makefile: Similarily.
5361151497Sru	* lib/fmod.c: Remove #ifdef NEED_FMOD.
5362151497Sru
5363151497Sru	* Makefile: Rename OPTIMISE to OPTIMIZE.
5364151497Sru
5365151497Sru	* groff.sh: Remove assignment to PATH.
5366151497Sru	* Makefile: Remove SHPATH variable.
5367151497Sru	* Makefile.bd: Similarily.
5368151497Sru
5369151497Sru	* groff.sh: Add -V option to print the pipeline instead of
5370151497Sru	executing it.
5371151497Sru
5372151497SruFri Aug 31 00:56:46 1990  James Clark  (jjc at jclark)
5373151497Sru
5374151497Sru	* lib/font.c: Split off file searching into ...
5375151497Sru	* lib/fontfile.c: New file.
5376151497Sru
5377151497Sru	* lib/strerror.c (strerror): Use `Error %d' for unknown errors.
5378151497Sru
5379151497SruThu Aug 30 13:13:55 1990  James Clark  (jjc at jclark)
5380151497Sru
5381151497Sru	* tbl/table.c (table::do_hspan): Delete assertion that e != 0.
5382151497Sru	Also change misleading comment.
5383151497Sru	(table::do_vspan): Change similarily misleading comment.
5384151497Sru	* tbl/main.c (process_data): A format row with an explicit `s'
5385151497Sru	uses up a data line, even if all the other columns are `_' or `='.
5386151497Sru
5387151497Sru	* troff/input.c (token::description): Fix description of
5388151497Sru	TOKEN_DUMMY and TOKEN_EMPTY.
5389151497Sru
5390151497SruWed Aug 29 04:12:08 1990  James Clark  (jjc at jclark)
5391151497Sru
5392151497Sru	* groff.sh: Fix description of -Z in help message.
5393151497Sru
5394151497SruTue Aug 28 07:28:33 1990  James Clark  (jjc at jclark)
5395151497Sru
5396151497Sru	* pic/object.c (object_spec::make_object): Allow negative and zero
5397151497Sru	line thicknesses.
5398151497Sru	* pic/pic.y: Give linethick default value of -1.0.
5399151497Sru	* pic/troff.c (troff_output::troff_output): Initialize
5400151497Sru	last_line_thickness to BAD_THICKNESS.
5401151497Sru	(troff_output::finish_picture): Set thickness to BAD_THICKNESS.
5402151497Sru	(troff_output::line_thickness): Canonicalize negative thicknesses
5403151497Sru	to RELATIVE_THICKNESS.
5404151497Sru	* pic/tex.c (tex_output::set_pen_size): Silently map negative line
5405151497Sru	thicknesses to DEFAULT_PEN_SIZE. Canonicalize negative pen sizes
5406151497Sru	to -1.0.
5407151497Sru	(tex_output::start_picture): Set pen_size to -2.0.
5408151497Sru
5409151497Sru	* ps/ps.c (ps_printer::set_line_thickness): If line_thickness is
5410151497Sru	0, then use 0 linewidth.
5411151497Sru	(ps_printer::ps_printer): Initialize line_thickness to -1.
5412151497Sru
5413151497Sru	* pic/troff.c (troff_output::simple_ellipse): Divide by scale.
5414151497Sru
5415151497Sru	* ps/devps/symbolchars: Remove `or'.
5416151497Sru	* ps/tmac.ps: Implement \(or with .char.
5417151497Sru
5418151497Sru	* ps/devps/symbolchars: Move most characters into textmap.
5419151497Sru	* ps/devps/textmap: Add names for troff bracket characters. Remove
5420151497Sru	ul, ru, br, bv.
5421151497Sru
5422151497Sru	* ps/devps/TSymbol.ps: Removed.
5423151497Sru	* ps/devps/FontMakefile: Make S from Symbol not TSymbol.
5424151497Sru	* ps/tmac.ps: Do with .char what TSymbol did.
5425151497Sru	* ps/devps/download: Remove TSymbol.
5426151497Sru
5427151497Sru	* ps/devps/T: Removed.
5428151497Sru	* ps/devps/Troff.ps: Removed.
5429151497Sru	* ps/devps/Troff.afm: Removed.
5430151497Sru	* ps/tmac.ps: Implement \(ru, \(ul, and \(br with .char.
5431151497Sru	* ps/devps/download: Remove Troff.
5432151497Sru	* ps/devps/FontMakefile: Remove T target.
5433151497Sru	* ps/devps/DESC-A4: Remove T from font list.
5434151497Sru	* ps/devps/DESC-letter: Likewise.
5435151497Sru
5436151497Sru	* troff/input.c (macro_to_node): Rename to ...
5437151497Sru	(charinfo_to_node): Don't pass mac argument.  Temporarily remove the
5438151497Sru	character's definition while processing it.
5439151497Sru	* troff/node.c (node::add_char, make_node): Change calls to
5440151497Sru	macro_to_node accordingly.
5441151497Sru
5442151497Sru	* troff/input.c (token::next): Translate \_ to \(ul.
5443151497Sru
5444151497Sru	* tty/devascii/R.proto: Add `|'.
5445151497Sru	* tty/devlatin1/R.proto: Likewise.
5446151497Sru
5447151497SruMon Aug 27 11:25:41 1990  James Clark  (jjc at jclark)
5448151497Sru
5449151497Sru	* man: Put the version number in all the man pages.
5450151497Sru
5451151497SruSun Aug 26 11:40:05 1990  James Clark  (jjc at jclark)
5452151497Sru
5453151497Sru	* Makefile.bd: New file.
5454151497Sru	* README.bd: New file.
5455151497Sru
5456151497Sru	* VERSION: New file.
5457151497Sru	* lib/version.c: Removed.
5458151497Sru	* lib/Makefile: Create version.c from ../VERSION. Remove version.c
5459151497Sru	in clean target.
5460151497Sru
5461151497Sru	* troff/input.c (main): Get hyphen_file from GROFF_HYPHEN
5462151497Sru	environment variable.
5463151497Sru
5464151497Sru	* all Makefiles: Split install target into install.bin for
5465151497Sru	binaries, and install.nobin for everything else.
5466151497Sru	* Makefile: Add bindist target.
5467151497Sru
5468151497Sru	* man/afmtodit.man: New file.
5469151497Sru	* man/Makefile: Add afmtodit.n to MAN1PAGES.
5470151497Sru	* ps/devps/Makefile: Add textmap to DEVICEFILES. Install afmtodit
5471151497Sru	in BINDIR.
5472151497Sru	* ps/Makefile: Pass BINDIR to make install in devps.
5473151497Sru
5474151497Sru	* ps/ps.c (ps_printer::set_char): Do nothing if the character is
5475151497Sru	the space character.
5476151497Sru
5477151497Sru	* ps/devps/FontMakefile: Rename symbol.afm to tsymbol.afm.
5478151497Sru
5479151497SruSat Aug 25 15:39:03 1990  James Clark  (jjc at jclark)
5480151497Sru
5481151497Sru	* ps/ps.c: Redo font downloading.
5482151497Sru	* ps/devps/download: New file.
5483151497Sru	* ps/devps/Makefile: Add download to DEVICEFILES.
5484151497Sru	* ps/devps/afmtodit: Remove -d option.
5485151497Sru	* ps/devps/FontMakefile: Don't use -d option with afmtodit.
5486151497Sru	* ps/devps/symbosl.ps: Add %%DocumentFonts comment.
5487151497Sru	* ps/devps/zapfdr.ps: Likewise.
5488151497Sru	* ps/devps/TSymbol.ps: Likewise.
5489151497Sru
5490151497SruFri Aug 24 20:10:30 1990  James Clark  (jjc at jclark)
5491151497Sru
5492151497Sru	* groff.sh: Initialize dev to ${GROFF_TYPESETTER:-@DEVICE@}.
5493151497Sru
5494151497SruThu Aug 23 10:03:47 1990  James Clark  (jjc at yquem)
5495151497Sru
5496151497Sru	* ps/ps.c (ps_output::include_file): If BROKEN_SPOOLER is defined,
5497151497Sru	then strip the first line if it starts with %.
5498151497Sru	* Makefile: Add a comment about this.
5499151497Sru
5500151497Sru	* man/tfmtodit.man: New file.
5501151497Sru	* man/Makefile: Add tfmtodit.n to MAN1PAGES.
5502151497Sru	* dvi/Makefile: Install tfmtodit in BINDIR.
5503151497Sru
5504151497Sru	* dvi/tfmtodit.c (usage): Mention -v option.
5505151497Sru
5506151497SruWed Aug 22 09:56:36 1990  James Clark  (jjc at yquem)
5507151497Sru
5508151497Sru	* troff/node.c (troff_output_file::end_of_line): Call do_motion.
5509151497Sru	* troff/node.c (troff_output_file::transparent_char): Don't call
5510151497Sru	flush_tbuf.
5511151497Sru
5512151497Sru	* eqn: Add check_tabs method to most box classes.
5513151497Sru	* eqn/box.c (box::top_level): Call check_tabs.
5514151497Sru
5515151497Sru	* eqn/script.c (script_box::output): Use \Z.
5516151497Sru	* eqn/limit.c (limit_box::output): Use \Z.
5517151497Sru
5518151497Sru	* eqn/box.c (box::top_level): Use itoa.
5519151497Sru
5520151497SruTue Aug 21 09:29:28 1990  James Clark  (jjc at yquem)
5521151497Sru
5522151497Sru	* dvi/tmac.dvi: Add font translations for CR, C, TT.
5523151497Sru	* dvi/devdvi/Makefile: Don't make links to CW.
5524151497Sru
5525151497Sru	* ps/tmac.ps: Add font translations for C, CW, CO, CX, CD, H, HO,
5526151497Sru	HX, HD.
5527151497Sru	* xditview/tmac.X: Likewise.
5528151497Sru
5529151497Sru	* troff/node.c: Add font translation feature.
5530151497Sru	(get_font_translation): New function.
5531151497Sru	(symbol_fontno): Translate the font name.
5532151497Sru	(mount_font_no_translate): Rename to mount_font to this.
5533151497Sru	(mount_font): New function.
5534151497Sru	(font_family::make_definite): Call mount_font_no_translate instead
5535151497Sru	of mount_font.
5536151497Sru	(mount_style): Translate the font name.
5537151497Sru	(font_translate): New function.
5538151497Sru	(init_font_requests): Bind "ftr" to font_translate.
5539151497Sru
5540151497Sru	* ps/devps/prologue (SN): New procedure that rounds a position to
5541151497Sru	the nearest (pixel + (.25,.25)).
5542151497Sru	(DL): Use SN to round endpoints.
5543151497Sru
5544151497Sru	* lib/version.c: Changed version to 0.5.
5545151497Sru
5546151497SruSat Aug 18 04:43:21 1990  James Clark  (jjc at yquem)
5547151497Sru
5548151497Sru	* Makefile: Move definition of PAGE to the very beginning, so that
5549151497Sru	people are less likely to miss it.
5550151497Sru
5551151497SruFri Aug 17 02:15:11 1990  James Clark  (jjc at yquem)
5552151497Sru
5553151497Sru	* man/Makefile: Don't need to sed out @UPCASE_PROG_PREFIX@.
5554151497Sru
5555151497Sru	* troff/env.c (environment::choose_breakpoint): Make `can't find
5556151497Sru	breakpoint' error a warning of type WARN_BREAK.  Change message to
5557151497Sru	`can't break line'.
5558151497Sru	* troff/groff.h: Declare WARN_BREAK with code 4; change WARN_INPUT to
5559151497Sru	code 040000.
5560151497Sru	* troff/input.c: Add WARN_BREAK to warning_table.  Include
5561151497Sru	WARN_BREAK in DEFAULT_WARNING_MASK.
5562151497Sru
5563151497Sru	* tty/tmac.tty: Add definition of \(+-.
5564151497Sru
5565151497Sru	* groff.sh: Remove `--' option to set command.
5566151497Sru
5567151497Sru	* dvi/devdvi/texsy.map: Remove duplicate md entry.
5568151497Sru
5569151497Sru	* ps/devps/eqnchar: Better definition of cdot using md.
5570151497Sru	* dvi/devdvi/eqnchar:  Likewise.
5571151497Sru	* xditview/devX100/eqnchar:  Likewise.
5572151497Sru	* xditview/devX75/eqnchar: Likewise.
5573151497Sru	* eqn/lex.c: Add definition of cdot.
5574151497Sru
5575151497SruThu Aug 16 09:33:57 1990  James Clark  (jjc at yquem)
5576151497Sru
5577151497Sru	* troff/input.c (get_optional_char): New function.
5578151497Sru	* troff/input.c (set_page_character): Use get_optional_char(),
5579151497Sru	rather than has_arg() and tok.get_char(1).
5580151497Sru	* troff/env.c (tab_character, leader_character, hyphen_char,
5581151497Sru	field_characters): Likewise.
5582151497Sru	(margin_character): Likewise.  Also always delete the
5583151497Sru	margin_character_node.
5584151497Sru
5585151497Sru	* troff/input.c (token::get_char): Use token::description.
5586151497Sru
5587151497Sru	* troff/input.c (has_arg): Don't skip over tab and \}.
5588151497Sru	* troff/number.c (start_number): Give a warning if the number
5589151497Sru	starts with \} (WARN_RIGHT_BRACE) or tab (WARN_TAB).
5590151497Sru
5591151497SruWed Aug 15 10:04:37 1990  James Clark  (jjc at yquem)
5592151497Sru
5593151497Sru	* troff/input.c (empty_name_warning, non_empty_name_warning): New
5594151497Sru	functions.
5595151497Sru	(get_name, get_long_name): Use these.  Rename `warn' argument to
5596151497Sru	`required'.
5597151497Sru
5598151497Sru	* troff/node.c (get_fontno): Test that the symbol is not null.
5599151497Sru
5600151497Sru	* troff/input.c (token::description): New function.
5601151497Sru	* troff/number.c (parse_term): Use token::description in `numeric
5602151497Sru	expression expected' message.
5603151497Sru	* troff/groff.h: Add WARN_MISSING.
5604151497Sru	* troff/number.c (start_number): New function.
5605151497Sru	* troff/number.c (get_vunits, get_hunits, get_number, get_integer,
5606151497Sru	get_incr_number): Use start_number().
5607151497Sru	* troff/input.c (DEFAULT_WARNING_MASK): Enable WARN_NUMBER by
5608151497Sru	default.
5609151497Sru	* troff/input.c (get_name, get_long_name): Use WARN_MISSING.
5610151497Sru	* troff/reg.c (alter_format): Use WARN_MISSING. Also use
5611151497Sru	token::descripion.
5612151497Sru	* troff/input.c (token::get_char): Use WARN_MISSING.
5613151497Sru	* troff/input.c (token::delimiter): Use token::description.
5614151497Sru	* troff/env.c (environment_switch): Back out Aug 3 change.
5615151497Sru	* troff/input.c (has_arg): Skip over \}s and tabs but give a
5616151497Sru	warning.
5617151497Sru	* troff/token.h (token::tab): New function.
5618151497Sru	* troff/node.c (get_fontno): Use tok.skip() rather than has_arg().
5619151497Sru	* troff/reg.c (alter_format): Likewise.
5620151497Sru	* troff/node.c (bold_font): Use has_arg() rather than tok.skip().
5621151497Sru
5622151497SruTue Aug 14 10:11:21 1990  James Clark  (jjc at yquem)
5623151497Sru
5624151497Sru	* troff (most files): Redo warnings. Divide warnings into various
5625151497Sru	categories; warning() has an additional first argument indicating
5626151497Sru	the category it falls into.
5627151497Sru	* troff/input.c (main): -w now takes an argument. New option -W.
5628151497Sru	(enable_warning, disable_warning): New functions.
5629151497Sru
5630151497Sru	* ps/devps/afmtodit: Add -a option to lie about the italic angle.
5631151497Sru	* ps/devps/FontMakefile: Pretend TI has an angle of 7.
5632151497Sru
5633151497SruMon Aug 13 10:11:16 1990  James Clark  (jjc at yquem)
5634151497Sru
5635151497Sru	* ps/devps/eqnchar: Better definitions of dotdot, vec, dyad, inf.
5636151497Sru	* xditview/devX100/eqnchar: Likewise. Remove definition of dot.
5637151497Sru	* xditview/devX75/eqnchar: Likewise.
5638151497Sru	* dvi/devdvi/eqnchar: Better definitions of vec, dyad, dotdot.
5639151497Sru
5640151497Sru	* eqn/other.c: When bar or over applies to a single character
5641151497Sru	don't produce an overline_box or an underline_box. Instead produce
5642151497Sru	an accent_box or an underaccent_box, with the accent a line
5643151497Sru	whose width is accent_width.  New classes underaccent_box,
5644151497Sru	overline_char_box and underline_char_box.
5645151497Sru	* eqn/box.h: Move overline_box, underline_box, accent_box class
5646151497Sru	declarations into eqn/other.c. Add declarations of
5647151497Sru	make_underline_box, make_overline_box, make_accent_box.
5648151497Sru	* eqn/eqn.y: Call make_overline_box, make_underline_box
5649151497Sru	make_accent_box instead	of constructors.
5650151497Sru	* eqn/pbox.h, eqn/box.c: Add accent_width parameter.
5651151497Sru
5652151497Sru	* eqn/other.c: Add accent_box::~accent_box.
5653151497Sru	* eqn/box.h: Declare it.
5654151497Sru
5655151497Sru	* groff.sh: With -Tps, use eqn -D.
5656151497Sru
5657151497Sru	* eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
5658151497Sru	rather than \l.
5659151497Sru	(underline_box::output): Similarily.
5660151497Sru	(accent_box::output): Use \Z.
5661151497Sru
5662151497Sru	* xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
5663151497Sru	bit smaller.)
5664151497Sru
5665151497SruSun Aug 12 09:41:15 1990  James Clark  (jjc at yquem)
5666151497Sru
5667151497Sru	* troff/div.c (top_level_diversion::transparent_output(unsigned
5668151497Sru	char)): Use asciify.
5669151497Sru	* troff/input.c (asciify): Don't make it static.
5670151497Sru	* troff/token.h (asciify): Declare it.
5671151497Sru	
5672151497Sru	* troff/input.c (get_name, get_long_name, token::get_char,
5673151497Sru	token::delimiter): Add an extra default argument which says
5674151497Sru	whether a warning should be printed.
5675151497Sru	* troff: Pass a non-zero argument to one of these rather than
5676151497Sru	printing a warning directly.
5677151497Sru
5678151497SruSat Aug 11 09:02:21 1990  James Clark  (jjc at yquem)
5679151497Sru
5680151497Sru	* troff: Consistently use symbol::is_null.
5681151497Sru
5682151497Sru	* troff/dictionary.h: Move some inline functions into
5683151497Sru	dictionary.c.
5684151497Sru
5685151497Sru	* troff/request.h: Move inline functions into input.c.
5686151497Sru	(request_or_macro::invoke): Make it pure.
5687151497Sru
5688151497Sru	* troff/input.c, troff/reg.h: New class `constant_int_reg'.
5689151497Sru	* troff/input.c (init_input_requests): Use class constant_int_reg.
5690151497Sru	(class compatible_reg): Deleted.
5691151497Sru	* troff/div.c (init_div_requests): Use class constant_int_reg.
5692151497Sru	(class last_post_line_extra_space_reg): Deleted.
5693151497Sru
5694151497Sru	* troff/env.c (tab_character): Don't change the tab character if
5695151497Sru	we get an invalid argument.
5696151497Sru	(hyphen_char): Similarily.
5697151497Sru
5698151497Sru	* troff/reg.c (alter_format): Check that nm is not null.
5699151497Sru
5700151497Sru	* Makefile, groff.sh: Make it possible to customize the commands
5701151497Sru	used for printing PostScript and dvi files. Also make it possible
5702151497Sru	to customize the path used by groff.sh.
5703151497Sru
5704151497Sru	* eqn/eqn.y: Make `left' right associative.
5705151497Sru
5706151497SruFri Aug 10 18:20:39 1990  James Clark  (jjc at yquem)
5707151497Sru
5708151497Sru	* pic/pic.h: Added definition of M_SQRT2 for those systems that
5709151497Sru	don't have it.
5710151497Sru
5711151497Sru	* pic/pic.h: Removed definition of INT_MAX.
5712151497Sru
5713151497Sru	* troff/node.c (italic_corrected_node::vertical_extent): Omit
5714151497Sru	`return'.
5715151497Sru
5716151497Sru	* troff/input.c (token::next):  Handle \R like \n.
5717151497Sru
5718151497SruTue Aug  7 09:46:33 1990  James Clark  (jjc at yquem)
5719151497Sru
5720151497Sru	* ps/tmac.pc (PSPIC): Simplify.
5721151497Sru
5722151497Sru	* troff/env.c (tab_stops::to_string):
5723151497Sru	* pic/pic.y (object_type_name):
5724151497Sru	* pic/troff.c (simple_output::line):
5725151497Sru	* pic/tex.c (tex_output::spline):
5726151497Sru	* pic/object.c (object_spec::make_object):
5727151497Sru	* tbl/main.c (process_data):  Add cases to switch statements to
5728151497Sru	avoid cfront warnings. (Some of these are spurious, since the
5729151497Sru	switch already has a default case.)
5730151497Sru
5731151497Sru	* ps/tmac.ps (PSPIC): Reformatted.  Prefix all local names with
5732151497Sru	`ps-'.  Don't test systat; instead check number of arguments to
5733151497Sru	ps-bb.
5734151497Sru
5735151497SruMon Aug  6 00:13:07 1990  James Clark  (jjc at yquem)
5736151497Sru
5737151497Sru	* macros/tmac.e: Do not decrease the page offset by 0.5i.
5738151497Sru
5739151497Sru	* ps/ps.c (ps_printer::ps_printer): Use mktemp instead of tempnam.
5740151497Sru	Unlink the file as soon as we have opened it, so that we don't
5741151497Sru	have to bother with signal handlers.
5742151497Sru	(handler): Deleted.
5743151497Sru	(fatal_error_exit): Deleted.
5744151497Sru	(main): Don't call signal.
5745151497Sru
5746151497Sru	* dvi/tfmtodit.c: Add -k option so that kerns with the skewchar
5747151497Sru	can be ignored.
5748151497Sru	* dvi/devdvi/Makefile: Use the -k option with S and MI.
5749151497Sru
5750151497Sru	* pic/pic.y:  If there is a label, or an nth construction before
5751151497Sru	the first `.' in the argument to `with', ignore it and generate a
5752151497Sru	warning.
5753151497Sru	* pic/lex.c (lex_warning): New function.
5754151497Sru
5755151497Sru	* tbl/table.c (table::init_output): In section keep and release
5756151497Sru	macro, use 0 indent when diverting and the correct indent when
5757151497Sru	rereading.
5758151497Sru
5759151497Sru	* troff/input.c (interpolate_number_format): Do not interpolate
5760151497Sru	anything if the number register is not defined.
5761151497Sru
5762151497Sru	* tbl/main.c (process_data): Don't add entry when col >= ncolumns.
5763151497Sru
5764151497SruSat Aug  4 08:12:05 1990  James Clark  (jjc at yquem)
5765151497Sru
5766151497Sru	* ps/devps/prologue (PICTURE): Set components of graphics state to
5767151497Sru	their default values.
5768151497Sru
5769151497Sru	* ps/devps/text.enc: Add trademark
5770151497Sru	* ps/devps/textmap: Add names for club, spade, heart, diamond,
5771151497Sru	carriagereturn, suchthat. Use Upsilon1 rather than Upsilon.
5772151497Sru	* ps/devps/symbolchars: Add names for summation and product.
5773151497Sru
5774151497Sru	* dvi/devdvi/texsy.map: Add names for club, spade, heart, diamond,
5775151497Sru	suchthat. Add pp. Add upper-case letters.
5776151497Sru
5777151497Sru	* xditview/libXdvi/DviChar.c: Add names for club, spade, heart,
5778151497Sru	diamond, carriagereturn, suchthat. Use Upsilon1 rather than
5779151497Sru	Upsilon.
5780151497Sru
5781151497Sru	* dvi/devdvi/texsy.map: Rename lA (left angle bracket) to la, and
5782151497Sru	rA (right angle bracket) to ra.  Introduce names for double-headed
5783151497Sru	arrows and double-barred arrows: <>, va, lA, rA, hA, uA, dA, vA.
5784151497Sru	* ps/devps/textmap: Likewise for ps device.
5785151497Sru	* xditview/libXdvi/DviChar.c: Likewise for X100 and X75 devices.
5786151497Sru	* tty/devascii/R.proto: Rename lA to la and rA to ra.
5787151497Sru	* tty/devascii/R.proto: Likewise.
5788151497Sru	* tty/tmac.tty: Provide definitions for \(<>, \(lA, \(rA, \(hA,
5789151497Sru	\(uA, \(dA.
5790151497Sru	* eqn/delim.c: In delim_table, rename \(lA to \(la and \(rA to \(ra.
5791151497Sru
5792151497Sru	* xditview/tmac.X: Add definitions for \(fi \(fl \(ff \(Fi \(Fl.
5793151497Sru
5794151497Sru	* eqn/lex.c: Added definitions of `approx', `grad' and `del' to
5795151497Sru	def_table.
5796151497Sru
5797151497SruFri Aug  3 09:59:27 1990  James Clark  (jjc at yquem)
5798151497Sru
5799151497Sru	* troff/div.c (when_request): Use symbol::is_null rather than
5800151497Sru	has_arg to determine whether we have an argument.
5801151497Sru	(change_trap): Remove the trap if we get an invalid number. Give
5802151497Sru	an error if we don't get at least the macro name.
5803151497Sru	(diversion_trap): Remove trap if we get an invalid name or number.
5804151497Sru
5805151497Sru	* troff/env.c (environment_switch): Pop if we get an invalid
5806151497Sru	symbol or numeric expression.
5807151497Sru
5808151497Sru	* troff/input.c (do_define_macro):  If EOF is encoutered while
5809151497Sru	defining the macro, do tok.next() before returning.
5810151497Sru
5811151497Sru	* troff/token.h (has_arg): Move definition from here, to ...
5812151497Sru	* troff/input.c (has_arg): ... here
5813151497Sru
5814151497Sru	* troff/env.c (space_size): Do nothing if we get an invalid argument.
5815151497Sru	* troff/input.c (shift): Likewise.
5816151497Sru
5817151497Sru	* pic/lex.c (get_token_after_dot):  Accept `.center' as a synonym
5818151497Sru	for `.c'.
5819151497Sru
5820151497Sru	* pic/troff.c (troff_output::start_picture):  Comment out calls to
5821151497Sru	`..'.
5822151497Sru
5823151497Sru	* eqn/main.c (do_file): Subtract 1 from current_lineno if
5824151497Sru	interpret_lf_args succeeds.
5825151497Sru
5826151497Sru	* eqn/main.c (do_file): Don't recognize delimiter if preceded by
5827151497Sru	\\.  This avoids problems with \$N.
5828151497Sru
5829151497Sru	* groff.sh: Pass -C to preprocessors.
5830151497Sru
5831151497Sru	* lib/lf.c (interpret_lf_args):  Be more flexible.
5832151497Sru
5833151497Sru	* tbl/main.c (main): Add -C option.
5834151497Sru	(table_input::get): Do not recognize TE if followed by character
5835151497Sru	other than a space or newline unless -C option given.
5836151497Sru	(process_input_file): Likewise for lf, TS.
5837151497Sru	(process_data): Likewise for lf in text blocks.
5838151497Sru
5839151497Sru	* eqn/main.c (main): Add -C option.
5840151497Sru	(do_file): Don't recognize EQ, EN or lf if followed by character
5841151497Sru	other than space or newline unless -C option given.
5842151497Sru	* eqn/lex.c (file_input::read_line): Similarily.
5843151497Sru	* eqn/eqn.h: Declare compatible_flag.
5844151497Sru
5845151497Sru	* etc/soelim.c (main): Add -C option.
5846151497Sru	(interpret_lf_args): Use version in libgroff.
5847151497Sru	(do_file):
5848151497Sru
5849151497Sru	* pic/main.c (main): Add -C option, which sets compatible_flag.
5850151497Sru	(top_input::get), (top_input::peek):  If -C option not given,
5851151497Sru	do not recognize .PS/.PE/.PF/.lf if followed by a character
5852151497Sru	other than space or newline.
5853151497Sru	* pic/lex.c (file_input::read_line): Similarily.
5854151497Sru	* pic/pic.h: Add declaration of compatible_flag.
5855151497Sru
5856151497SruThu Aug  2 11:11:27 1990  James Clark  (jjc at yquem)
5857151497Sru
5858151497Sru	* ps/tmac.ps (PSPIC): Avoid use of `echo -n'.
5859151497Sru
5860151497Sru	* troff/node.c, troff/node.h:  Add `asciify' methods to classes
5861151497Sru	derived from node.  New class space_char_hmotion_node.
5862151497Sru	* troff/input.c (asciify_macro): New function.
5863151497Sru	* troff/input.c (init_input_requests): New request `asciify' bound
5864151497Sru	to asciify_macro.
5865151497Sru	* macros/mm.diff: New file.
5866151497Sru	* Makefile:  In install.mm target use `patch' to apply
5867151497Sru	macros/mm.diff.
5868151497Sru
5869151497Sru	* troff/input.c (macro::print_size): Just print the size in bytes.
5870151497Sru
5871151497Sru	* troff/div.c (return_request): Correct the argument
5872151497Sru	interpretation.
5873151497Sru
5874151497SruWed Aug  1 12:38:36 1990  James Clark  (jjc at yquem)
5875151497Sru
5876151497Sru	* troff/node.h (class composite_node): Add sz member.
5877151497Sru	* troff/node.c (composite_node::size): Return sz.
5878151497Sru	* troff/input.c (macro_to_node):  Use the initial size in the
5879151497Sru	environment as the size of the composite_node.
5880151497Sru
5881151497Sru	* troff/node.c (node::zero_width_tprint):  Provide a reasonable
5882151497Sru	default.
5883151497Sru
5884151497SruTue Jul 31 10:07:10 1990  James Clark  (jjc at yquem)
5885151497Sru
5886151497Sru	* troff/div.c (change_trap): If we get a bad number expression,
5887151497Sru	do nothing.
5888151497Sru
5889151497SruMon Jul 30 10:30:49 1990  James Clark  (jjc at yquem)
5890151497Sru
5891151497Sru	* lib/matherr.c (matherr): Define this only if math.h defines
5892151497Sru	TLOSS.
5893151497Sru
5894151497SruSun Jul 29 10:34:27 1990  James Clark  (jjc at yquem)
5895151497Sru
5896151497Sru	* troff/div.c (macro_diversion::distance_to_next_trap): If there
5897151497Sru	no diversion trap return vunits(INT_MAX - vresolution).
5898151497Sru
5899151497SruSat Jul 28 14:28:14 1990  James Clark  (jjc at yquem)
5900151497Sru
5901151497Sru	* troff/input.c (do_zero_width): New implementation that doesn't
5902151497Sru	use a temporary environment. Use instead:
5903151497Sru	(token::add_to_node_list): New function.
5904151497Sru	* troff/env.c (environment::get_prev_char_height),
5905151497Sru	(environment::get_prev_char_height),
5906151497Sru	(environment::get_prev_char_skew): New functions.
5907151497Sru	(environment::get_prev_char): New function.
5908151497Sru	(environment::get_prev_char_width): Change to use get_prev_char.
5909151497Sru	(init_env_request): Implement new registers .cht, .cdp, .csk.
5910151497Sru	* eqn/sqrt.c (sqrt_box::output): Don't rely upon the argument to
5911151497Sru	\Z being processed in a separate environment.
5912151497Sru
5913151497SruFri Jul 27 10:21:25 1990  James Clark  (jjc at yquem)
5914151497Sru
5915151497Sru	* tbl/table.c: Removed TABLE_BOTTOM_REG.
5916151497Sru
5917151497Sru	* tbl/table.c (table::init_output): In the section release macro,
5918151497Sru	give a warning message if the section won't fit on one page.
5919151497Sru
5920151497Sru	* tbl/table.c (table::do_top): Emit table keep only if table is
5921151497Sru	boxed.
5922151497Sru	(table::do_bottom): Likewise for table release.
5923151497Sru	(table::table), (table::add_vertical_rule):  Remove reference to
5924151497Sru	keep member.
5925151497Sru	* tbl/table.h: Remove keep member.
5926151497Sru
5927151497Sru	* tbl/table.c: New register SUPPRESS_BOTTOM_REG. In
5928151497Sru	SECTION_RELEASE_MACRO, if there's not enough space before the next
5929151497Sru	trap to output the diversion, call T# ourselves, set
5930151497Sru	SUPPRESS_BOTTOM_REG to 1, spring the trap, then set
5931151497Sru	SUPPRESS_BOTTOM_REG back to 0.  In T#, do nothing if
5932151497Sru	SUPPRESS_BOTTOM_REG is non-zero.  In T#, always mark the current
5933151497Sru	vertical position and return to it before turning traps on again.
5934151497Sru	
5935151497SruThu Jul 26 02:54:32 1990  James Clark  (jjc at yquem)
5936151497Sru
5937151497Sru	* troff/node.c, troff/node.h: In classes derived from node,
5938151497Sru	replace prev_char_width method by last_char_node method.
5939151497Sru	* troff/env.c (environment::get_prev_char_width): Use
5940151497Sru	node::last_char_node rather than node::get_prev_char_width.
5941151497Sru
5942151497Sru	* Makefile: Added comment about -fno-inline on 68030-based
5943151497Sru	Apollos.
5944151497Sru
5945151497Sru	* troff/reg.c (number_format_to_ascii), eqn/delim.c (DELIM_TABLE_SIZE),
5946151497Sru	tty/tty.c (tty_font::load_tty_font), dvi/tfmtodit.c (main): Cast
5947151497Sru	expressions using sizeof to int.
5948151497Sru	* dvi/dvi.c (dvi_font::handle_x_command): Avoid long->int warnings.
5949151497Sru
5950151497Sru	* macros/tmac.e (TS):  Don't move @f back past the current
5951151497Sru	position.
5952151497Sru
5953151497SruWed Jul 25 09:11:08 1990  James Clark  (jjc at yquem)
5954151497Sru
5955151497Sru	* ps/ps.c (main): Buffer stderr.
5956151497Sru	* dvi/dvi.c (main): Likewise.
5957151497Sru	* tty/tty.c (main): Likewise.
5958151497Sru
5959151497Sru	* ps/ps.c (ps_printer::do_import): Improve error handling.
5960151497Sru
5961151497Sru	* troff/input.c (abort_request): Use asciify.
5962151497Sru
5963151497Sru	* driver/printer.h (printer::draw), driver/printer.c (printer::draw),
5964151497Sru	ps/ps.c (ps_printer::draw), dvi/dvi.c (dvi_printer::draw): Make
5965151497Sru	type of first argument int rather than char.  This works around a
5966151497Sru	bug on the 68030 based Apollo using g++ 1.37.1.
5967151497Sru
5968151497Sru	* tbl/table.h (class table): Add `keep' member.
5969151497Sru	* tbl/table.c (table::table): Initialize `keep'.
5970151497Sru	(table::add_vertical_rule): Set `keep' to 1.
5971151497Sru	(table::do_top): Only emit table keep macro is `keep' is non-zero.
5972151497Sru	(table::do_bottom): Likewise for table release macro.
5973151497Sru	(table::do_row): Emit section keep macro even if the row is 0.
5974151497Sru
5975151497SruTue Jul 24 08:35:07 1990  James Clark  (jjc at yquem)
5976151497Sru
5977151497Sru	* macros/tmac.e (@C): Preserve the font family across the change
5978151497Sru	in environments.
5979151497Sru
5980151497SruMon Jul 23 10:15:23 1990  James Clark  (jjc at yquem)
5981151497Sru
5982151497Sru	* lib/font.c: Initialize font::hor and font::vert to 1.
5983151497Sru	(font::load_desc): Check the values of font::hor and font::vert.
5984151497Sru
5985151497Sru	* lib/lib.h: Added definition of INT_DIGITS. Fix it so that it can
5986151497Sru	be included in a C compilation.
5987151497Sru	(iftoa): Use INT_DIGITS. Include lib.h.
5988151497Sru	(itoa): Likewise.
5989151497Sru	(as_string): Likewise.
5990151497Sru	* tbl/table.c: Removed definition of INT_DIGITS.
5991151497Sru	* eqn/box.c (box::top_level): Use INT_DIGITS + 1 instead of 12.
5992151497Sru	* troff/input.c (input_input_requests): Likewise.
5993151497Sru	* ps/ps.c (make_encoding_name): Likewise.
5994151497Sru	(ps_printer::set_style): Likewise.
5995151497Sru	(ps_output::put_number): Use 1 + INT_DIGITS + 1 instead	of 12.
5996151497Sru
5997151497Sru	* tty/devascii/R.proto: Map fm onto '.
5998151497Sru	* tty/devlatin1/R.proto: Likewise.
5999151497Sru
6000151497SruSat Jul 21 12:45:07 1990  James Clark  (jjc at yquem)
6001151497Sru
6002151497Sru	* tbl/table.c: Use ' instead of DELIMITER_CHAR in places where the
6003151497Sru	argument to \w is at a different input level.
6004151497Sru
6005151497Sru	* tbl/table.c (table::init_output): Define a new macro
6006151497Sru	REPEATED_VPT_MACRO, like vpt but if in a diversion also
6007151497Sru	transparently outputs itself.
6008151497Sru	(table::define_bottom_macro): Use REPEATED_VPT_MACRO instead of
6009151497Sru	vpt.
6010151497Sru	(table::do_row): Likewise.
6011151497Sru
6012151497Sru	* tbl/table.c (vertical_rule::print): Prefix the .sp -1 line with
6013151497Sru	TRANSPARENT_STRING_NAME.
6014151497Sru
6015151497Sru	* tbl/table.c (table::init_output): In the table release macro
6016151497Sru	print an error message and don't produce any output if after
6017151497Sru	issuing the need request the table still will not fit.  Also
6018151497Sru	remove the diversion after bringing it back.
6019151497Sru
6020151497Sru	* tbl/table.c (table::init_output): Define a new macro
6021151497Sru	REPEATED_MARK_MACRO, like mk but if in a diversion also
6022151497Sru	transparently outputs itself.
6023151497Sru	(table::do_row): Mark row_top_reg using	REPEATED_MARK_MACRO. This
6024151497Sru	is necessary because .TH might not call .T#.
6025151497Sru	(table::do_top): Likewise TOP_REG.
6026151497Sru	(table::define_bottom_macro): If TOP_REG is no longer valid, use
6027151497Sru	#T - DOUBLE_LINE_SEP rather than #T. This is necessary because the
6028151497Sru	table header might contain just the two top rules.
6029151497Sru
6030151497SruFri Jul 20 10:51:42 1990  James Clark  (jjc at yquem)
6031151497Sru
6032151497Sru	* troff/div.c: Implement new request `ptr' to print all traps.
6033151497Sru
6034151497Sru	* troff/env.c (init_env_requests): Implement `.tabs' reg with
6035151497Sru	init_string_env_reg.
6036151497Sru	* troff/env.c (class tab_reg): Deleted.
6037151497Sru
6038151497SruThu Jul 19 12:07:16 1990  James Clark  (jjc at yquem)
6039151497Sru
6040151497Sru	* troff/div.c: New number register .pn returns the number of the
6041151497Sru	next page as set by the pn request.
6042151497Sru
6043151497Sru	* macros/tmac.an: Redid headers and footers.  Number each manual
6044151497Sru	entry starting from 1 unless \nC is > 0, like Sun.  Added an
6045151497Sru	optional 5th argument to .TH which specifies the manual name and
6046151497Sru	appears in the center of the header.  Understand the X, P and D
6047151497Sru	registers like Sun.
6048151497Sru
6049151497SruWed Jul 18 10:23:31 1990  James Clark  (jjc at yquem)
6050151497Sru
6051151497Sru	* troff/env.c (init_env_requests): New number register `.lt' to
6052151497Sru	return the title length.
6053151497Sru
6054151497Sru	* troff/node.h (class transparent_dummy_node): New class.
6055151497Sru	* troff/node.c (class transparent_dummy_node): Provide member
6056151497Sru	functions.
6057151497Sru	* troff/env.c (interrupt): Add a transparent_dummy_node, rather
6058151497Sru	than a dummy_node.
6059151497Sru
6060151497Sru	* troff/input.c (token::next): New escape sequence \).
6061151497Sru	* troff/input.c (get_copy): Recognize \) in copy mode.
6062151497Sru
6063151497Sru	* troff/input.c (input_stack::clear): New function.
6064151497Sru	* troff/input.c (exit_request): Use input_stack::clear.
6065151497Sru
6066151497Sru	* troff/token.h: Removed TOKEN_NO_PRINT_CHAR.
6067151497Sru	* troff/input.c (token::process): Removed case TOKEN_NO_PRINT_CHAR.
6068151497Sru
6069151497Sru	* troff/env.c: Move set_page_character to input.c.  Move
6070151497Sru	page_character to input.c also.
6071151497Sru	* troff/env.c (title): Split off the reading of the parts of the
6072151497Sru	title into read_title_parts.
6073151497Sru	* troff/input.c (read_title_parts): New function.  Check the
6074151497Sru	input_level when testing whether a token matches the delimiter.
6075151497Sru
6076151497Sru	* troff/input.c (exit_request): New function.
6077151497Sru	* troff/input.c (init_input_requests): Bind ex request to
6078151497Sru	exit_request rather than exit_groff.
6079151497Sru
6080151497Sru	* troff/input.c (exit_groff): Call tok.next() before
6081151497Sru	process_input_stack().
6082151497Sru
6083151497SruMon Jul 16 09:47:23 1990  James Clark  (jjc at yquem)
6084151497Sru
6085151497Sru	* troff/env.c: ifdef widow control support on WIDOW_CONTROL.
6086151497Sru	* troff/env.h: ditto.
6087151497Sru	* troff/input.c: ditto.
6088151497Sru
6089151497Sru	* troff/env.c (environment::is_empty): Test pending_lines.
6090151497Sru
6091151497Sru	* troff/env.c (environment::have_pending_lines): Removed.
6092151497Sru
6093151497Sru	* troff/input.c: Add request to flush pending lines from the
6094151497Sru	environment.
6095151497Sru
6096151497Sru	* troff/env.c, troff/env.h: Add automatic widow control feature.
6097151497Sru
6098151497Sru	* troff/input.c (exit_groff):  Do process_input_stack() after
6099151497Sru	do_break() but before setting exit_flag to 2.
6100151497Sru
6101151497Sru	* troff/input.c: Remove FLUSH_PENDING_LINES and
6102151497Sru	TOKEN_FLUSH_PENDING_LINES. Instead, flush pending lines from
6103151497Sru	environment after END_TRAP token seen, but only if there aren't
6104151497Sru	any more traps still unfinished.
6105151497Sru	* troff/token.h: Remove TOKEN_FLUSH_PENDING_LINES.
6106151497Sru
6107151497SruSun Jul 15 10:50:08 1990  James Clark  (jjc at yquem)
6108151497Sru
6109151497Sru	* troff/env.c: Rename the `retain_size' member of class
6110151497Sru	pending_output_line to `no_fill'.
6111151497Sru
6112151497Sru	* troff/env.c (title): When the line is output, make the
6113151497Sru	retain_size argument !fill.
6114151497Sru
6115151497Sru	* troff/node.h: Add `hyphenated' member to struct breakpoint.
6116151497Sru	* troff/node.c (space_node::get_breakpoints),
6117151497Sru	(dbreak_node::get_breakpoints):  Fill this in.
6118151497Sru	* troff/env.c:  Allow specification of maximum number of
6119151497Sru	consecutive hyphenated lines.
6120151497Sru
6121151497Sru	* troff/env.c (environment::is_empty): Add test for !current_tab.
6122151497Sru
6123151497SruSat Jul 14 11:23:01 1990  James Clark  (jjc at yquem)
6124151497Sru
6125151497Sru	* troff/env.c (environment::hyphenate_line): Don't completely give
6126151497Sru	up if the word is not to be hyphenated; continue so that breaks
6127151497Sru	can be made at break_char_node's.
6128151497Sru
6129151497Sru	* lib/lib.h: Only define INT_MAX if it's not already defined;
6130151497Sru	undef INT_MIN if it's already defined.
6131151497Sru
6132151497Sru	* Makefile: Make it easy to define CFRONT_ANSI_BUG.
6133151497Sru
6134151497Sru	* lib/lib.h: If CFRONT_ANSI_BUG is defined, cast INT_MIN to long.
6135151497Sru	This works around a bug in AT&T C++ 2.0 used with an ANSI C
6136151497Sru	compiler.
6137151497Sru	
6138151497Sru	* macros/tmac.an (an-header): Set no-space mode.
6139151497Sru
6140151497Sru	* macros/tmac.an (TH): Start a new page if necessary.
6141151497Sru
6142151497Sru	* Started using ChangeLog at version 0.4.
6143151497Sru
6144151497SruLocal Variables:
6145151497Sruversion-control: never
6146151497Srucoding: latin-1
6147151497SruEnd:
6148