/contrib/groff/ChangeLog.115

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 6147 lines · 4331 code · 1816 blank · 0 comment · 0 complexity · 1d72fa60b2c86dc27b8e32bd70b4fe5b MD5 · raw file

Large files are truncated click here to view the full file

  1. Version 1.15 released
  2. =====================
  3. 1999-12-28 Werner LEMBERG <wl@gnu.org>
  4. * NEWS, VERSION: Changed to 1.15
  5. 1999-12-27 Paul Eggert <eggert@twinsun.com>
  6. * nroff/nroff.man: -S is safer, not safe.
  7. * groff/groff.cc (main): Use `safer', not `safe', in variable
  8. names. This does not change the behavior.
  9. * troff/input.cc (main): Likewise.
  10. * nroff/nroff.sh: Likewise.
  11. * troff/input.cc (prepend_string): New function.
  12. (main): Prepend -msafer, so that we check macro libraries for
  13. safety.
  14. * PROBLEMS: Report problem with Sun C++ 5.0 and 5.1.
  15. Version 1.14 released
  16. =====================
  17. 1999-12-26 Werner LEMBERG <wl@gnu.org>
  18. * NEWS, VERSION: Changed to 1.14.
  19. 1999-12-24 Werner LEMBERG <wl@gnu.org>
  20. * refer/refer.cc: Fixing the last fix.
  21. Version 1.13 released
  22. =====================
  23. 1999-12-23 Werner LEMBERG <wl@gnu.org>
  24. * tmac/tmac.an: A typo (`.if' instead of `.ie') made the page
  25. number disappear.
  26. * NEWS: Updated.
  27. * tmac/tmac.safer: Forgot to remove `so' from the `rm' request.
  28. * VERSION: Changed to 1.13 -- to be compliant with the Adobe 3.0
  29. document conventions, the version number must be a real.
  30. Version 1.12.1 released
  31. =======================
  32. 1999-12-22 Werner LEMBERG <wl@gnu.org>
  33. * VERSION: Changed to 1.12.1.
  34. 1999-12-22 Alan Rooks <arooks@istar.ca>
  35. * refer/refer.cc (do_file): Slight modification to satisfy the
  36. `Standard system CC - C++ Compilation System 3.1 03/03/99' on SCO
  37. UnixWare 7.1.
  38. 1999-12-20 Werner LEMBERG <wl@gnu.org>
  39. * changed prep.ai.mit.edu -> ftp.gnu.org; updated copyright
  40. notices.
  41. * tmac/tmac.safer, tmac/groff_msafer.man: Remove `so' (again) from
  42. list of unsafe requests.
  43. * pic/pic.man: Fixed a typo.
  44. * man/groff_out.man: Fixed a typo.
  45. 1999-12-18 Werner LEMBERG <wl@gnu.org>
  46. * Makefile.in: Doc fixes.
  47. 1999-12-17 Fabrizio Polacco <fab@prosa.it>
  48. * groff/groff.cc: Missing `U' option added to getopt().
  49. * troff/troff.man: Missing `U' option added to synopsis.
  50. Version 1.12 released
  51. =====================
  52. 1999-12-14 Werner LEMBERG <wl@gnu.org>
  53. * troff/input.cc (usage), groff/groff.cc (synopsis): Added -U flag
  54. to the synopsis.
  55. * nroff/nroff.sh, nroff/nroff.man: Replaced `secure', `unsecure'
  56. with the more appropriate terms `safer' and `unsafe'.
  57. * libgroff/strerror.c, aclocal.m4, configure.in: Added checks for
  58. sys_nerr and sys_errlist[].
  59. * pic/pic.h, aclocal.m4, configure.in: Added check for hypot().
  60. * pic/pic.y, pic/pic.cc: Added check for fmod().
  61. 1999-12-13 Werner LEMBERG <wl@gnu.org>
  62. * VERSION: Changed to 1.12.
  63. Here some patches from various sources; most of them taken from
  64. the Debian distribution.
  65. * tmac/groff_mdoc.man, tmac/groff_mdoc.samples.man,
  66. tmac/Makefile.sub: New files copied directly from the NetBSD
  67. distribution. Probably, some additional adaptation later on is
  68. necessary...
  69. * tmac/tmac.safer, tmac/groff_msafer.man: Added `so' to the list
  70. of unsafe requests.
  71. * groff/groff.cc, groff/groff.man, nroff/nroff.sh,
  72. nroff/nroff.man, pic/main.cc, pic/pic.man, troff/input.cc,
  73. troff/troff.man: Added option `-U' for unsafe mode. Safe mode
  74. (`-S') is now the default.
  75. * README, NEWS: Updated.
  76. 1999-12-09 Werner LEMBERG <wl@gnu.org>
  77. * doc/groff.texinfo: Regenerated nodes and menus with emacs.
  78. * doc/Makefile (clean): Added cleaning commands for groff.texinfo.
  79. 1999-12-06 Werner LEMBERG <wl@gnu.org>
  80. * configure.in: Removed AC_PREFIX_PROGRAM since it causes more
  81. grief than relief today. Additionally, it is against the GNU
  82. coding standards.
  83. * configure: Recreated.
  84. 1999-12-05 Werner LEMBERG <wl@gnu.org>
  85. * configure.in: Added GROFF_LIBM.
  86. * configure: Recreated.
  87. * aclocal.m4 (GROFF_LIBM): New function which tests whether -lm is
  88. necessary.
  89. * Makefile.in: Added definition of $(LIBM).
  90. * Makefile.comm (LIBM): Removed.
  91. * pfbtops/Makefile.sub: On AIX, -lm is needed also.
  92. 1999-12-03 Gaius Mulley <gaius@glam.ac.uk>
  93. * doc/Makefile: Added rule for generation pic.html.
  94. (clean): Files produced by grohtml will be removed also.
  95. * doc/pic.ms: Small fix.
  96. * tmac/tmac.html: Fixed suppression of headers.
  97. 1999-11-16 Gaius Mulley <gaius@glam.ac.uk>
  98. * tmac/tmac.html: Fixing horizontal arrows.
  99. Turning off hyphenation.
  100. * tmac/tmac.an: Improved support for grohtml; better indentation,
  101. no footers/headers.
  102. 1999-10-31 Gaius Mulley <gaius@glam.ac.uk>
  103. * tmac/tmac.arkup: Added CDFTP macro
  104. * tmac/tmac.html: All headers are turned off for ms, me, and mm
  105. macros.
  106. * tmac/troffrc: Some additions for HTML stuff.
  107. 1999-10-06 Gaius Mulley <gaius@glam.ac.uk>
  108. * tmac/tmac.html: Small changes.
  109. 1999-09-26 Werner LEMBERG <wl@gnu.org>
  110. * doc/groff.texinfo: Minor fixes.
  111. 1999-09-26 Gaius Mulley <gaius@glam.ac.uk>
  112. * devhtml/TR: Changed spacewidth to 3.
  113. * tmac/Makefile.sub (NORMALFILES): Added tmac.arkup.
  114. * tmac/tmac.html: Moved markup macros to tmap.arkup.
  115. * tmac/tmac.arkup: New file.
  116. * grohtml/ChangeLog: New file.
  117. 1999-09-16 Werner LEMBERG <wl@gnu.org>
  118. * doc/groff.texinfo (Common Features): Added Copying chapter.
  119. Changed format to @smallbook.
  120. 1999-09-15 Werner LEMBERG <wl@gnu.org>
  121. * NEWS: Added info about groff.texinfo.
  122. * doc/groff.texinfo: Will now compile (using texi2dvi) without
  123. warning messages.
  124. 1999-09-14 Werner LEMBERG <wl@gnu.org>
  125. * groff/groff.man: More updates.
  126. 1999-09-13 Werner LEMBERG <wl@gnu.org>
  127. * doc/groff.texinfo: New file. This manual is still very
  128. rudimentary. It has been originally contributed by Trent
  129. A. Fisher <trent@gnurd.portland.or.us> with first corrections and
  130. additions by me.
  131. * INSTALL: Added information about the `doc' subdir
  132. * troff/troff.man: Minor fixes.
  133. * groff/groff.man: Added missing `-L arg' to SYNOPSIS section;
  134. reordered options.
  135. * troff/input.cc (usage): Added missing `-ffam' to usage message.
  136. * Makefile.in (dist): groff-$(version).tar.gz must be removed
  137. also, otherwise it is included itself in another call of `make
  138. dist'.
  139. * groff/groff.cc (synopsis): Removed superfluous space.
  140. * PROJECTS, PROBLEMS, NEWS: Updated.
  141. * VERSION: Updated to 1.12beta.
  142. * BUG-REPORT: Some cosmetic fixes. Corrected email address.
  143. * README: Updated: Included documentation about CVS repository,
  144. mailing lists, and daily snapshots.
  145. * tmac/Makefile.sub: Fixed $(tmap_wrap) finally.
  146. 1999-09-12 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
  147. * tmac/tmac.an: If the tag didn't fit into the space that the
  148. macro `TP' specifies, the rest of the tag went into the space for
  149. the next line.
  150. 1999-09-12 Jeffrey Copeland <jeff@opennt.com>
  151. * grolj4/lj4.cc: Added duplex printing (option `-d').
  152. * grolj4/grolj4.man: Document duplex printing.
  153. 1999-09-12 Werner LEMBERG <wl@gnu.org>
  154. * doc/Makefile (pic.ps): Fixed rule which caused problems with
  155. non-GNUish sed programs.
  156. * tmac/doc-syms: Removed extra space from -iso8802-3 macro
  157. definition.
  158. * configure.in (LIBS): Added `-lc'
  159. * Makefile.comm (.man.n): Added substitution for @TMAC_AN_PREFIX@.
  160. * pic/tex.cc (solid_arc): Casting M_PI to double.
  161. * libgroff/putenv.c (putenv): Changed function header to ANSI C.
  162. * groff/groff.man, tmac/Makefile.sub (MAN7), tmac/groff_msafer.man
  163. (new file), tmac/msafer.man (deleted), tmac/groff_me.man (new
  164. file), tmac/me.man (deleted): {me,msafer} -> groff_{me,msafer}.
  165. * groff/groff_man.man: New file. This manual page was originally
  166. written for the Debian GNU/Linux system by Susan G. Kleinmann
  167. <sgk@debian.org>.
  168. * eqn/list.cc (list_box::compute_metrics,
  169. list_box::compute_sublist_width): Removed variable declaration to
  170. avoid shadowing warnings.
  171. * grops/psrm.cc (resource_manager::process_file): Ditto.
  172. * tfmtodit/tfmtodit.cc (main): Ditto.
  173. * libgroff/font.cc (font::load_desc): Renamed auxiliary variable
  174. to avoid shadowing warnings.
  175. * tbl/table.cc (block_entry::do_divert, table::do_row): Renamed
  176. shadowing loop variable.
  177. * groff/groff.man, troff/troff.man: Added doc about grohtml.
  178. 1999-09-12 Gaius Mulley <gaius@glam.ac.uk>
  179. New grohtml frontend to convert groff input to html.
  180. * Makefile.in (CCPROGDIRS, DEVDIRS): Added html device.
  181. * tmac/Makefile.sub (NORMALFILES): Added tmac.html.
  182. * tmac/eqnrc: Added html device.
  183. * tmac/tmac.html: New file.
  184. * eqn/main.cc (do_file, inline_equation), pic/troff.cc
  185. (troff_output::start_picture, troff_output::finish_picture),
  186. tbl/main.cc (process_input_file):
  187. Surrounded output with `graphics_start' and `graphics_end' so that
  188. the html driver can identify non-text portions.
  189. * grodvi/dvi.cc (dvi_printer::set_char), grolj4/lj4.cc
  190. (lj4_printer::set_char), grops/ps.cc (ps_printer::set_char),
  191. grotty/tty.ps (tty_printer::set_char): Additional parameter
  192. `name'.
  193. * include/printer.h: Class printer: New function
  194. set_char_and_width; new variables (is_char_named, is_named_set,
  195. named_command, named_char_s, named_char_n) to hold information
  196. about named characters -- needed by the html driver.
  197. * libdriver/printer.cc (printer::set_ascii_char,
  198. printer::set_special_char): Use set_char_and_width.
  199. * devhtml/*: New device files for html driver.
  200. * grohtml/*: New driver grohtml.
  201. 1999-09-11 Wilfredo Sanchez <wsanchez@apple.com>
  202. * tmac/doc-common, tmac/tmac.an: Removed the word `UNIX' in
  203. default strings.
  204. 1999-09-11 Luke Mewburn <lukem@netbsd.org>
  205. * libgroff/string.cc (search): Small fix to test against NULL
  206. pointer.
  207. 1999-09-11 Jeff Conrad <jeff_conrad@msn.com>
  208. * troff/node.cc (copy): The characters in a bracket escape (e.g.,
  209. \b'abc') were stacked in reverse order when processed in a
  210. diversion.
  211. * troff/node.h: Added `*last' to struct `node' to make the above
  212. fix work.
  213. * troff/input.cc (read_draw_node), libdriver/input.cc (do_file):
  214. The default scale for the 'f' and 't' graphics functions were 'm'
  215. rather than 'u' (i.e., no scaling).
  216. 1999-09-11 Peter Miller <peterm@jna.com.au>
  217. * groff/groff.cc (main), groff.man, soelim/soelim.cc (main,
  218. do_file), soelim/soelim.man: Added `-I file' option to soelim,
  219. defining include paths.
  220. * soelim/soelim.cc (include_path_append): New function.
  221. 1999-09-11 Larry Jones <larry.jones@sdrc.com>
  222. * tbl/main.cc (process_options): Unix (at least Documenter's
  223. Workbench) tbl allows arbitrary non-alpha characters between
  224. options.
  225. 1999-09-11 Paul Eggert <eggert@twinsun.com>
  226. Y2k fixes. Don't assume that the current year precedes 2000.
  227. * doc/meref.me: Add \n(y2, \n(y4.
  228. * tmac/doc-common (Yr): New number register.
  229. (Dd): Don't assume current year precedes 2000.
  230. * tmac/tmac.e (td): Likewise.
  231. (y2, y4): New number registers.
  232. * pic/pic.man: Update reference for pic paper to May, 1991
  233. version.
  234. 1999-09-11 Werner LEMBERG <wl@gnu.org>
  235. * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
  236. Removed quotation marks which prevented correct expansion of
  237. $(tmac_wrap).
  238. * devlj4/Makefile.sub (LJ4RES): Fixed value (600 instead of 300).
  239. 1999-09-10 Werner LEMBERG <wl@gnu.org>
  240. * Makefile.sub (DISTCLEANFILES): Added `config.log' and
  241. `config.cache'.
  242. * Removed configure.old.
  243. 1999-08-31 Werner LEMBERG <wl@gnu.org>
  244. * VERSION: Updated to 1.11.1
  245. 1999-05-27 Werner LEMBERG <wl@gnu.org>
  246. * doc/Makefile: changed `.PS' postfix to `.ps' for consistency.
  247. * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
  248. added quotations around $(tmac_wrap) to avoid syntax error if
  249. variable is empty.
  250. * configure: Newly generated using autoconf 2.13.
  251. * Makefile.in (LDFLAGS): Set variable to @LDFLAGS@.
  252. Fri Aug 15 08:51:47 1997 Eric S. Raymond <esr@snark.thyrsus.com>
  253. * README, PROJECTS, NEWS, INSTALL, VERSION,
  254. doc/Makefile. doc/pic.ms, groff/groff.man:
  255. Prepare for 1.11 release. No code changes.
  256. Documentation for pic added (doc/pic.ms).
  257. Sun Nov 26 11:45:13 1995 James Clark <jjc@jclark.com>
  258. * Version 1.10 released.
  259. Fri Nov 24 09:56:16 1995 James Clark <jjc@jclark.com>
  260. * afmtodit/afmtodit.pl: Avoid comment on first line.
  261. Mon Nov 20 11:13:49 1995 James Clark <jjc@jclark.com>
  262. * aclocal.m4 (GROFF_INSTALL_SH): New macro.
  263. * configure.in: Call it.
  264. * Makefile.sub (configure): Depends on aclocal.m4 not acgroff.m4.
  265. (distfiles): Doesn't depend on config.log or config.cache.
  266. Sun Oct 1 08:45:36 1995 James Clark <jjc@jclark.com>
  267. * grog/grog.sh: Use print "" rather than print in END rule.
  268. Wed Aug 23 13:30:52 1995 James Clark <jjc@jclark.com>
  269. * tbl/main.cc (process_data): Don't give error for excess data
  270. entries that are comments.
  271. Fri Jul 28 11:00:27 1995 James Clark <jjc@jclark.com>
  272. * tbl/main.cc (process_data): Fix case where new for-scope rules
  273. silently change meaning of code.
  274. Tue Jul 4 23:39:51 1995 James Clark <jjc@jclark.com>
  275. * troff/env.cc (hyphenate): Loop over all consecutive sequences
  276. of non-zero hyphenation codes.
  277. Sat Jul 1 00:42:15 1995 James Clark <jjc@jclark.com>
  278. * aclocal.m4 (GROFF_POSIX): Use conflicting declaration technique.
  279. Thu Jun 29 13:58:36 1995 James Clark <jjc@jclark.com>
  280. * tmac/tmac.e (ip): Divert the tag so as to freeze the spaces.
  281. Tue Jun 27 12:30:16 1995 James Clark <jjc@jclark.com>
  282. * tmac/tmac.andoc: Make it work in compatibility mode.
  283. * refer/token.h (token_info::is_range_sep): New function.
  284. * refer/token.cc (init_special_chars): Make \(en a RANGE_SEP.
  285. * refer/ref.cc (reference::output): More sophisticated check for
  286. multiple pages.
  287. * devps/prologue.ps (MANUAL): New procedure.
  288. * grops/ps.cc (main): New -m option.
  289. (usage): Include -m.
  290. (ps_printer::~ps_printer): Implement -m.
  291. * aclocal.m4 (GROFF_G): New macro.
  292. * configure.in: Call it.
  293. * Makefile.in (g): Provided by configure.
  294. * hpftodit/hpftodit.cc (basename): Rename to xbasename.
  295. * tmac/tmac.tty: Disable warning about bad fonts. Remove font
  296. translations.
  297. * Makefile.in (tmacpath): Don't include /usr/lib/tmac.
  298. (tmac_m, tmac_s): Deleted.
  299. (sys_tmac_prefix, tmac_wrap, tmac_prefix, tmac_an_prefix,
  300. tmac_s_prefix): New variables.
  301. (MDEFINES): Change accordingly.
  302. * Makefile.comm (.man.n): Use new TMAC_* variables.
  303. * configure.in (GROFF_TMAC): Call.
  304. * aclocal.m4 (GROFF_TMAC): Define.
  305. * tmac/Makefile.sub (stamp_wrap): New target.
  306. (install_data, uninstall_sub): Handle macro wrapping.
  307. Mon Jun 26 14:54:39 1995 James Clark <jjc@jclark.com>
  308. * tbl/main.cc (main): Ignore -T option.
  309. Thu Jun 22 09:08:06 1995 James Clark <jjc@jclark.com>
  310. * devlj4/generate/special.map: Add definition of \(nb.
  311. * tmac/tmac.dvi: Add definition of \(nb.
  312. * troff/dictionary.c (dictionary::dictionary): association::v gets
  313. initialized by association::association.
  314. * tmac/Makefile.sub: Avoid using temporary files when installing.
  315. * troff/env.cc (environment::set_font): Make bad font number a
  316. warning.
  317. * Makefile.in (fontpath): Remove $(prefix)/lib/font from fontpath.
  318. * Makefile.in (datadir): Use share rather than lib.
  319. * groff/groff.cc (basename): Rename to xbasename.
  320. Wed Jun 21 16:59:46 1995 James Clark <jjc@jclark.com>
  321. * Makefile (CCLIBS): Don't use.
  322. * Makefile.ccpg: Likewise.
  323. * acgroff.m4: Rename to...
  324. * aclocal.m4: Modify extensively for autoconf 2.
  325. * configure.in: Likewise.
  326. * Makefile.in: Likewise.
  327. * groff/pipeline.c (const): Declare as empty if __STDC__ not
  328. defined.
  329. (xstrsignal): Check for definition of NSIG. Conditionalize
  330. on SYS_SIGLIST_DECLARED. Make return type const.
  331. Sat Jun 10 12:28:16 1995 James Clark <jjc@jclark.com>
  332. * troff/input.cc (interpolate_macro): Rephrase missing space
  333. warning.
  334. Thu May 11 01:07:16 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  335. * addftinfo/addftinfo.cc, eqn/delim.cc, eqn/lex.cc, eqn/list.cc,
  336. grodvi/dvi.cc, groff/groff.cc, grops/ps.cc, grops/psrm.cc,
  337. grotty/tty.cc, include/ptable.h indxbib/indxbib.cc,
  338. libbib/index.cc, libbib/linear.cc, libbib/search.cc,
  339. libdriver/input.cc, libdriver/printer.cc, libgroff/font.cc,
  340. libgroff/lf.cc, libgroff/nametoindex.cc, libgroff/ptable.cc,
  341. libgroff/string.cc, lkbib/lkbib.cc, lookbib/lookbib.cc,
  342. pic/lex.cc, pic/object.cc, pic/pic.y refer/label.y refer/ref.cc,
  343. refer/refer.cc, refer/token.cc, tbl/main.cc, tbl/table.cc,
  344. tfmtodit/tfmtodit.cc, troff/dictionary.cc, troff/div.cc,
  345. troff/env.cc, troff/input.cc, troff/node.cc, troff/symbol.cc:
  346. Fix 'for' scoping.
  347. Wed Apr 19 21:15:11 1995 James Clark <jjc@jclark.com>
  348. * troff/input.cc (spring_trap): Push a macro_iterator rather than a
  349. string_iterator.
  350. (spring_trap, postpone_traps, unpostpone_traps): Move to later in
  351. file.
  352. (macro_iterator::macro_iterator): Add additional argument.
  353. Mon Apr 10 12:06:02 1995 James Clark <jjc@jclark.com>
  354. * troff/div.cc (vertical_size::vertical_size): In place of integer
  355. specifying line spacing use cunits specifying post vertical
  356. space.
  357. (macro_diversion::output, top_level_diversion::output): Likewise.
  358. * troff/div.h: Change declarations accordingly.
  359. * troff/env.cc (pending_output_line): Replace ls field by post_vs
  360. field.
  361. (pending_output_line::pending_output_line,
  362. pending_output_line::output, environment::output,
  363. environment::output_line, environment::output_title,
  364. environment::hyphenate_line): In place of
  365. integer specifying line spacing use cunits specifying post vertical
  366. space.
  367. (environment::environment): Add post_vertical_spacing and
  368. prev_post_vertical_spacing arguments.
  369. (environment::get_post_vertical_spacing): New function.
  370. (environment::total_post_vertical_spacing): New function.
  371. (environment::post_vertical_spacing): New function.
  372. (init_env_requests): Initialize pvs request and .pvs register.
  373. * troff/env.h: Change declarations.
  374. Tue Mar 28 09:52:07 1995 James Clark <jjc@jclark.com>
  375. * tmac/tmac.pspic: Immediately remove the temporary file.
  376. Sat Mar 25 10:43:11 1995 James Clark <jjc@jclark.com>
  377. * tmac/tmac.pspic (PSPIC): Scale graphic uniformly even when
  378. height is specified.
  379. Thu Jan 26 16:20:13 1995 James Clark <jjc@jclark.com>
  380. * tbl/table.c (struct vertical rule, class table_entry): Use int
  381. not short for start_row and end_row.
  382. Fri Jan 13 13:53:05 1995 James Clark <jjc@jclark.com>
  383. * troff/input.cc (trapping_blank_line, blank_line_macro): New
  384. functions.
  385. (diverted_space_node::reread, process_input_stack): Call
  386. trapping_blank_line() rather than blank_line().
  387. (init_input_requests): Bind "blm" to blank_line_macro().
  388. * tmac/tmac.s (XA): Use .br and par@reset rather than XA.
  389. Tue Jan 10 11:40:35 1995 James Clark <jjc@jclark.com>
  390. * troff/env.cc (environment::possibly_break_line): Require that
  391. width total excluding width of final space node be greater than
  392. the target text length.
  393. Tue Jan 3 09:13:37 1995 James Clark <jjc@jclark.com>
  394. * troff/node.cc (kern_pair_node::vertical_extent): New function.
  395. Sun Dec 4 13:19:07 1994 James Clark <jjc@jclark.com>
  396. * troff/node.cc (charinfo_node): New class.
  397. (glyph_node, composite_node): Derive from charinfo_node. Change
  398. member functions accordingly.
  399. Wed Nov 30 10:29:29 1994 James Clark <jjc@jclark.com>
  400. * nroff/nroff.sh: Use -Tlatin1 not -TLatin1.
  401. Mon Aug 8 10:17:59 1994 James Clark (jjc@jclark.com)
  402. * tmac/tmac.tty-char: Add definitions for \(ab and \[arrowvertex].
  403. * devps/generate/textmap (notsubset): Add.
  404. * tmac/tmac.a4: New file.
  405. Sun Jul 24 20:08:42 1994 James Clark (jjc@jclark.com)
  406. * pic/main.cc (had_parse_error): New variable.
  407. (do_picture, do_whole_file): Set had_parse_error if yyparse()
  408. returns non-zero.
  409. (main): Return 1 if had_parse_error is true.
  410. Tue Jul 19 13:40:31 1994 James Clark (jjc@jclark.com)
  411. * grolj4/lj4.cc (main): Avoid use of strtoul.
  412. Mon Jul 18 15:03:02 1994 James Clark (jjc@jclark.com)
  413. * nroff/nroff.sh: Default device is -Tlatin1 if $LC_CTYPE is
  414. iso_8859_1 or $LESSCHARSET is latin1.
  415. Sun Jul 10 13:38:35 1994 James Clark (jjc@jclark.com)
  416. * hpftodit: New directory.
  417. * Makefile.in (CCPROGDIRS): Add hpftodit.
  418. * devlj4/generate: New directory.
  419. Thu Jul 7 23:49:48 1994 James Clark (jjc@jclark.com)
  420. * configure.in: Don't use AC_VFORK.
  421. * groff/pipeline.c (run_pipeline): Use fork() always.
  422. Wed Jul 6 11:13:17 1994 James Clark (jjc@jclark.com)
  423. * grops/ps.cc (main): Use %1 not %s in error message for -w.
  424. * Makefile.in (CCPROGDIRS): Add grolj4.
  425. (DEVDIRS): Add devlj4.
  426. * grolj4, devlj4: New directories.
  427. * tmac/troffrc: Handle lj4.
  428. * tmac/tmac.lj4: New file.
  429. Fri Jun 17 18:02:53 1994 James Clark (jjc@jclark.com)
  430. * tmac/tmac.e (@n): Set indent to 0 before calling |h.
  431. Wed Jun 1 07:33:47 1994 James Clark (jjc@jclark.com)
  432. * troff/input.cc (do_if_request): At end of second string, switch
  433. environments before getting next token.
  434. Fri May 20 07:39:18 1994 James Clark (jjc@jclark.com)
  435. * devps/psstrip.sed: Split rule that strips whitespace on either
  436. side of delimiters.
  437. Wed May 18 08:13:47 1994 James Clark (jjc@jclark.com)
  438. * troff/node.h (font_family::make_definition): Add return value to
  439. declaration. * troff/symbol.h (symbol::operator==,
  440. symbol::operator!=): Likewise.
  441. Tue May 17 20:46:06 1994 James Clark (jjc@jclark.com)
  442. * groff/groff.cc (main, help, synopsis): Handle -S.
  443. (possible_command::insert_arg): New function.
  444. * tmac/tmac.safer: New file.
  445. * tmac/msafer.man: New file.
  446. * tmac/Makefile.sub (FILES): Add tmac.safer and msafer.man.
  447. Thu Mar 10 01:58:30 1994 Paul Eggert (eggert@twinsun.com)
  448. * pic/pic.h, pic/main.cc (safer_flag): New variable.
  449. * pic/pic.y (placeless_element): Avoid unsafe operations if
  450. `safer_flag' is set.
  451. * pic/main.cc (main): Add -S option, which sets `safer_flag'.
  452. Tue May 10 13:02:31 1994 James Clark (jjc@jclark.com)
  453. * eqn/lex.cc (get_token): Put call to add_context() in block to
  454. work around Sun C++ 4.0 bug.
  455. * include/stringclass.h (operator +): Use ?: instead of `if' to
  456. work around Sun C++ 4.0 bug.
  457. Thu May 5 11:18:03 1994 James Clark (jjc@jclark.com)
  458. * tbl/main.cc (process_format): Accept - as a synonym for the _
  459. key letter.
  460. * libbib/index.cc (minus_one): Don't declare as const.
  461. Fri Apr 29 09:32:48 1994 James Clark (jjc@jclark.com)
  462. * troff/input.cc (get_char_for_escape_name): Push back a newline.
  463. Wed Apr 27 21:14:18 1994 James Clark (jjc@jclark.com)
  464. * troff/input.cc (write_macro_request): New function.
  465. (init_input_requests): Bind write_macro_request to writem.
  466. Sun Apr 17 11:15:38 1994 James Clark (jjc@jclark.com)
  467. * tmac/tmac.s (@EN): Turn filling back on even if there was no
  468. equation.
  469. * eqn/lex.cc (do_space): Supply missing argument to lex_error.
  470. * tmac/tmac.s (@TS): Renamed from TS.
  471. (TS): Call LP then TS again.
  472. (cov*ab-init): Alias @TS to TS.
  473. * tmac/tmac.s: Allow QP or RS to initialize.
  474. * tmac/tmac.s (par@load-init): New macro. Call at end of file.
  475. Move initializations of PS and LL here.
  476. (par@init): Don't initialize HY. Avoid changing environment 0.
  477. (par*env-init): Don't all par@reset.
  478. Thu Apr 14 19:15:45 1994 James Clark (jjc@jclark.com)
  479. * include/posix.h: Include <fcntl.h> only if not using <osfcn.h>.
  480. Sun Apr 10 09:54:44 1994 James Clark (jjc@jclark.com)
  481. * Makefile.in (MDEFINES): Add LDFLAGS.
  482. (LDFLAGS): Add definition line.
  483. Thu Apr 7 22:22:22 1994 James Clark (jjc@jclark.com)
  484. * troff/input.cc (get_optional_char): Split off error check into...
  485. (check_missing_character): New function.
  486. * troff/token.h: Declare it.
  487. * troff/env.cc (margin_character): Don't call get_optional_char.
  488. Only call tok.next() after making the node.
  489. * include/lib.h (getopt): Make 2nd argument char *const *.
  490. Fri Mar 11 07:28:03 1994 James Clark (jjc@jclark.com)
  491. * nroff/conftest.sh: Deleted.
  492. Fri Mar 4 10:51:36 1994 James Clark (jjc@jclark.com)
  493. * pic/make-dos-dist: Deleted.
  494. Wed Mar 2 20:59:16 1994 James Clark (jjc@jclark.com)
  495. * devps/psstrip.sed: Strip comments before stripping trailing
  496. white space.
  497. Sat Feb 19 13:07:16 1994 James Clark (jjc@jclark.com)
  498. * Version 1.09 released.
  499. Wed Feb 16 16:53:49 1994 James Clark (jjc@jclark.com)
  500. * tmac/doc-ditroff (hK): Don't reset page number if \nC is > 0.
  501. Mon Feb 14 08:26:40 1994 James Clark (jjc@jclark.com)
  502. * libgroff/font.cc (font::load_desc): Fix typo in error message.
  503. Sun Feb 13 09:37:38 1994 James Clark (jjc@jclark.com)
  504. * libgroff/new.cc (operator new): Rewrite so as to avoid warning
  505. about returning without a value.
  506. * troff/charinfo.h (charinfo::get_special_translation): Cast
  507. TRANSLATE_NONE to int.
  508. * refer/token.cc (lookup_token, store_token): Remove bogus loop
  509. test. Fix test so that it works with n unsigned.
  510. * pic/pic.y (defaults_table): Fully bracket initializer.
  511. * pic/lex.cc (lookup_keyword): Likewise.
  512. * eqn/lex.cc (token_table, def_table): Likewise.
  513. * eqn/box.cc (param_table): Likewise.
  514. * troff/input.cc (warning_table): Likewise.
  515. * libgroff/font.cc (table): Likewise.
  516. * grops/ps.cc (ps_printer::special): Likewise.
  517. * grops/psrm.cc (resource_manager::process_file): Likewise.
  518. * tfmtodit/tfmtodit.cc (lig_chars, lig_table): Likewise.
  519. * refer/command.cc (command_table): Likewise.
  520. * addftinfo/addftinfo.cc (param_table): Likewise.
  521. * troff/symbol.cc (symbol::symbol): Prevent compiler warnings
  522. about temp's being unused.
  523. (unused): New function.
  524. * groff/pipeline.cc: Declare c_fatal.
  525. * libbib/linear.cc (bmpattern::search): Cast patterrn[--j] to
  526. uchar.
  527. * libbib/index.cc (index_search_item::load): Prevent compiler
  528. warnings about fd_closer's being unused.
  529. (unused): New function.
  530. Sat Feb 12 10:31:59 1994 James Clark (jjc@jclark.com)
  531. * troff/input.cc (copy_mode_error): Make `prefix' static.
  532. Fix typo.
  533. * include/posix.h: Include <osfcn.h> is HAVE_CC_OSFCN_H is
  534. defined.
  535. * acgroff.m4, configure.in, Makefile: Rename HAVE_CC_UNISTD_H to
  536. HAVE_CC_OSFCN_H and modify accordingly.
  537. * troff/input.cc (init_charset_table): radicalex overlaps
  538. horizontally.
  539. * groff/acgroff.m4 (GROFF_ISC_SYSV3): New macro (from
  540. udodo!hans@relay.NL.net).
  541. * groff/configure.in: Call it.
  542. * groff/acgroff.m4 (GROFF_PCLOSE): New macro.
  543. * groff/configure.in: Call it.
  544. * include/lib.h: Conditionalize declaration of pclose.
  545. * troff/div.cc (last_page_number): New global variable.
  546. (top_level_diversion::begin_page): Exit if we just printed the
  547. last page.
  548. * troff/div.h (last_page_number): Declare it.
  549. * troff/input.cc (parse_output_page_list): Set last_page_number.
  550. * eqn/sqrt.cc: Rename \(rn to \[radicalex].
  551. * devps/S, devps/textmap, tmac/tmac.ps, tmac/tmac.dvi,
  552. tmac/tmac.X: Likewise.
  553. * tmac/tmac.ps, tmac/tmac.X, tmac.dvi: Add definitions of \(rn.
  554. * tmac.dvi: Make \(ru and \(ul extend beyond their width by .04m.
  555. Fri Feb 11 11:45:40 1994 James Clark (jjc@jclark.com)
  556. * tmac/doc-ditroff (hK): Remove groff specific code which
  557. prevented page-breaks between separate manual entries. If this is
  558. the first page, don't set the page number to 1.
  559. * acgroff.m4 (GROFF_POSIX): New macro.
  560. * configure.in: Use it.
  561. * troff/node.cc (class real_output_file,
  562. real_output_file::real_output_file,
  563. real_output_file::~real_output_file): Conditionalize use of
  564. popen/pclose on POPEN_MISSING.
  565. * troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
  566. * troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
  567. (pipe_source): Similarily.
  568. * acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.
  569. * acgroff.m4 (GROFF_GETOPT, GROFF_PUTENV, GROFF_POPEN): Detect
  570. presence of declarations by trying to compile example with
  571. conflicting declarations. (gcc only gives a warning for missing
  572. declarations.)
  573. Wed Feb 9 09:12:23 1994 James Clark (jjc@jclark.com)
  574. * tmac/tmac.pspic (PSPIC): Allow options to specify alignment
  575. (from Ulrich Lauther).
  576. Tue Feb 8 03:56:40 1994 James Clark (jjc@jclark.com)
  577. * libbib/linear.cc (file_buffer::load): Use S_ISREG macro.
  578. Thu Feb 3 09:34:35 1994 James Clark (jjc@jclark.com)
  579. * indxbib/indxbib.cc (write_hash_table): Add code for case where
  580. pointers and ints have different sizes.
  581. Sun Jan 9 16:17:51 1994 James Clark (jjc@jclark.com)
  582. * tmac/tmac.s (par*env-init): Call par@reset.
  583. Fri Jan 7 10:24:27 1994 James Clark (jjc@jclark.com)
  584. * tmac/tmac.s (@IP): Switch to a new environment when diverting
  585. tag.
  586. (par*push-tag-env, par*pop-tag-env): New macros.
  587. Wed Jan 5 21:18:34 1994 James Clark (jjc@jclark.com)
  588. * grops/ps.cc (ps_printer::ps_printer): Use MAX_LINE_LENGTH for
  589. initializing `out'. Reduce MAX_LINE_LENGTH from 79 to 72.
  590. * grops/ps.cc (ps_printer::~ps_printer): Output %%CreationDate
  591. comment. Include <time.h>.
  592. Wed Dec 15 14:14:00 1993 James Clark (jjc@jclark.com)
  593. * grops/ps.cc (is_small_h, is_small_v): Deleted.
  594. (ps_printer::flush_sbuf): Use absolute motion only at beginning of
  595. lines.
  596. Tue Dec 14 10:06:34 1993 James Clark (jjc@jclark.com)
  597. * troff/input.cc (read_request): Only print a prompt if reading
  598. from the terminal. Also clearerr on EOF if reading from the
  599. terminal. Declare isatty.
  600. Mon Nov 29 08:38:15 1993 James Clark (jjc@jclark.com)
  601. * refer/label.y: Rename map_t to map_func and extractor_t to
  602. extractor_func.
  603. Sat Oct 30 06:38:12 1993 James Clark (jjc@jclark.com)
  604. * include/assert.h: Don't use volatile.
  605. * libgroff/assert.cc: Likewise.
  606. Fri Oct 29 15:00:23 1993 James Clark (jjc@jclark.com)
  607. * troff/input.cc (abort_request): Look at character in tok before
  608. calling get_copy().
  609. Thu Oct 28 14:09:48 1993 James Clark (jjc@jclark.com)
  610. * troff/troff.h (NO_RETURN): Deleted.
  611. * troff/div.cc (cleanup_and_exit): Don't declare aas NO_RETURN.
  612. * troff/input.cc (exit_troff): Likewise
  613. * Makefile.in: Remove `Making ...' messages since GNU make now
  614. gives these.
  615. * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
  616. Wed Oct 27 11:12:51 1993 James Clark (jjc@jclark.com)
  617. * tmac/tmac.s (@init): Initialize PO to \n(.o here, rather than
  618. to constant 1 inch.
  619. Sat Oct 23 10:03:52 1993 James Clark (jjc@jclark.com)
  620. * tmac/tmac.e (hl): Use \n[.in] rather than \n(.i.
  621. Thu Oct 14 12:09:45 1993 James Clark (jjc@jclark.com)
  622. * eqn/delim.cc (delim_box::compute_metrics): Don't increase
  623. MARK_REG if there was no left delimiter.
  624. Sat Oct 2 19:54:47 1993 James Clark (jjc@jclark.com)
  625. * pic/troff.cc (troff_output::text): Set line thickness to
  626. relative before outputting text.
  627. * tmac/tmac.e (@k): Don't zero ?T.
  628. ((z): Likewise.
  629. Sat Sep 25 11:08:43 1993 James Clark (jjc@jclark.com)
  630. * tmac/tmac.e ($p): Handle possibility that $3 is empty.
  631. Wed Aug 18 08:51:41 1993 James Clark (jjc@jclark.com)
  632. * troff/input.cc (decode_args): Warn about unquoted tabs (from
  633. Paul Eggert).
  634. Tue Aug 10 08:38:32 1993 James Clark (jjc@jclark.com)
  635. * troff/input.cc (ignoring): New variable.
  636. (ignore): Set ignoring during call to do_define_macro.
  637. (do_define_macro): Clear ignoring before interpolating terminating
  638. macro.
  639. (copy_mode_error): New function.
  640. (get_char_for_escape_name, read_long_escape_name,
  641. interpolate_arg): Use copy_mode_error.
  642. (warning_table): Add WARN_IG.
  643. * troff/troff.h (WARN_IG): Declare.
  644. (WARN_TOTAL): Change accordingly.
  645. * groff/pipeline.c (strsignal): Rename to xstrsignal.
  646. * groff/groff.cc (strsignal): Delete declaration.
  647. Fri Jul 16 01:43:12 1993 James Clark (jjc@jclark.com)
  648. * troff/div.cc (page_offset): Use 'm' as default scaling.
  649. Sat Jul 3 09:11:38 1993 James Clark (jjc@jclark.com)
  650. * nroff/nroff.sh: Ignore -u.
  651. Wed Jun 9 12:17:27 1993 James Clark (jjc@jclark.com)
  652. * Makefile.in (MDEFINES): Pass down MAKEOVERRIDES.
  653. Fri Jun 4 17:35:47 1993 James Clark (jjc@jclark.com)
  654. * tmac/tmac.s (par*box-draw): Set adjustment mode to l while
  655. drawing box.
  656. (B2): With -Tascii, leave additional vertical space before
  657. and after. Ensure that the left and right indent is restored to
  658. what it was even if the point size changes. Don't call
  659. par@finish. Change the indent, line length and title length
  660. directly. With -Tascii, make the width of the box 1n less.
  661. (B1): Remember 1n at the current point size. Don't call
  662. par@reset. Change the indent, line length and title length
  663. directly. Ensure that the temporary indent is preserved.
  664. (par*box-mark-top): Turn off no spacing mode.
  665. Thu Jun 3 17:47:14 1993 James Clark (jjc@jclark.com)
  666. * Makefile.in (dist): Use .gz suffix.
  667. Thu May 27 20:04:59 1993 James Clark (jjc@jclark.com)
  668. * troff/input.cc (main): Add return 0.
  669. * pic/main.cc (main): Use return instead of exit.
  670. * tbl/main.cc (main): Likewise.
  671. * eqn/main.cc (main): Likewise.
  672. * grops/ps.cc (main): Likewise.
  673. * grotty/tty.cc (main): Likewise.
  674. * groff/groff.cc (main): Likewise.
  675. * grodvi/dvi.cc (main): Likewise.
  676. * refer/refer.cc (main): Likewise.
  677. * indxbib/indxbib.cc (main): Likewise.
  678. * lkbib/lkbib.cc (main): Likewise.
  679. * soelim/soelim.cc (main): Likewise.
  680. * addftinfo/addftinfo.cc (main): Likewise.
  681. * acgroff.m4 (GROFF_PROG_CCC, GROFF_CC_COMPILE_CHECK,
  682. GROFF_COOKIE_BUG, GROFF_CC_ANSI_BUG): Likewise.
  683. * troff/token.h (process_input_stack): Don't declare as static.
  684. * troff/input.cc: Likewise.
  685. * troff/node.c (invalidate_fontno): Make it a static member of
  686. class font_family. Change callers.
  687. * troff/node.c: Change declaration.
  688. * tbl/main.cc (struct input_entry_format): Add explicit public
  689. specifier.
  690. * tbl/table.cc (struct text_stuff, struct single_hline_stuff,
  691. struct double_hline_stuff): Likewise.
  692. * tbl/table.h (struct entry_format): Likewise.
  693. * pic/object.h (struct saved_state): Likewise.
  694. * include/stringclass.h: Add forward declarations of friend
  695. functions that are later declared as inline. Don't include inline
  696. specifier in friend declaration.
  697. * libgroff/lib.h: Declare popen and pclose.
  698. * acgroff.m4 (GROFF_POPEN): New macro.
  699. * configure.in: Call it.
  700. * include/lib.h (PI): New constant. Undef first if necessary.
  701. * tfmtodit/tfmtodit.cc (main): Use PI rather than M_PI.
  702. * grops/ps.cc (degrees, radians): Likewise.
  703. * libgroff/font.cc (font::get_skew): Likewise.
  704. * grops/ps.cc (is_ascii): New function.
  705. (ps_output::put_string): Use is_ascii. Use csprint rather than
  706. isprint.
  707. (ps_printer::define_encoding): Use csspace.
  708. * libgroff/strtol.c (ISASCII): New macro.
  709. (strtol): Cast arguments to is*() and tolower() to unsigned char.
  710. Use ISASCII rather than isascii.
  711. * libgroff/cmap.cc: Use isascii() only if <ctype.h> defines it.
  712. * libgroff/cset.cc: Likewise.
  713. * libdriver/input.cc: Include cset.h.
  714. (do_file, get_integer, possibly_get_integer): Use csdigit() rather
  715. than isdigit().
  716. * refer/refer.cc (main): Use %ld rather than %d for longs.
  717. * libbib/index.cc (index_search_item_iterator::get_tag): Use
  718. S_ISREG macro.
  719. * addftinfo/addftinfo.cc (param_t): Add explicit `int'.
  720. Mon May 24 08:51:37 1993 James Clark (jjc@jclark.com)
  721. * troff/input.cc (hyphenation_code): Skip white space between
  722. char/code pairs.
  723. Sun May 16 08:15:52 1993 James Clark (jjc at jclark.com)
  724. * tbl/table.h (table::entry_list_tailp): New member.
  725. (table::table): Initialize it.
  726. (table::add_entry): Use entry_list_tailp to avoid O(n^2)
  727. behaviour.
  728. Sat May 15 17:26:00 1993 James Clark (jjc at jclark.com)
  729. * grotty/tty.cc (tty_printer::add_char): Don't discard characters
  730. with negative horizontal positions. Remove casts of glyph::hpos to
  731. int.
  732. (USHRT_MAX): Delete definition.
  733. (SHRT_MAX, SHRT_MIN): New definitions.
  734. (glyph::hpos): Change type to short.
  735. (tty_printer::end_page): Output multiple backspaces if necessary.
  736. Remove casts of glyph::hpos to int.
  737. Fri May 7 12:14:37 1993 James Clark (jjc at jclark.com)
  738. * tmac/tmac.s (@RT): New definition.
  739. Thu May 6 21:36:54 1993 James Clark (jjc at jclark.com)
  740. * refer/refer.cc (do_file): Make sure current_filename is set when
  741. filename is "-".
  742. * pic/common.cc (common_output::dot_line): Handle zero length
  743. lines.
  744. Sun May 2 19:54:16 1993 James Clark (jjc at jclark.com)
  745. * tmac/tmac.s (par@reset): Get value for .hy for \n[HY].
  746. (par@init): Initialize \n[HY].
  747. Mon Apr 26 11:43:16 1993 James Clark (jjc at jclark.com)
  748. * troff/dictionary.cc (dictionary::remove): Continue when
  749. r < j < i.
  750. Sun Apr 25 11:03:00 1993 James Clark (jjc at jclark.com)
  751. * Makefile.com (.y.cc): Avoid ending up with two versions of
  752. $(YTABH).
  753. Thu Apr 22 21:03:45 1993 James Clark (jjc at jclark.com)
  754. * tmac/tmac.dvi (\(,c): Define only if it does not exist.
  755. (\(,C): Likewise. Also fix typo.
  756. Wed Apr 21 08:47:32 1993 James Clark (jjc at jclark.com)
  757. * lib.h: Delete extraneous semi-colon.
  758. * Add pso request: `so' from a pipe.
  759. * troff/input.c (file_iterator::file_iterator): Add 3rd argument.
  760. (file_iterator::close): New function.
  761. (file_iterator::~file_iterator, file_iterator::next_file): Use
  762. file_iterator::close.
  763. (file_iterator::backtrace): Say `process' rather than `file' when
  764. the stream is popened.
  765. (pipe_source): New function.
  766. (init_input_requests): Bind ".pso" to pipe_source.
  767. Tue Apr 20 00:02:26 1993 James Clark (jjc at jclark.com)
  768. * afmtodit/afmtodit.pl: Avoid single quotes in comments.
  769. * pfbtops/pfbtops.c: Output 64 characters per line. Output hex
  770. digits in lower case.
  771. Mon Apr 19 09:55:57 1993 James Clark (jjc at jclark)
  772. * Version 1.08 released.
  773. * Makefile.in (dist): Insert || true after ln -s commands that
  774. might fail.
  775. * mm: Update to mm 1.16.
  776. * acgroff.m4 (GROFF_CSH_HACK): New macro.
  777. * configure.in: Call GROFF_CSH_HACK. Substitute for
  778. SH_SCRIPT_SED_CMD.
  779. * Makefile.in (SH_SCRIPT_SED_CMD): New variable. Include in
  780. MDEFINES.
  781. * nroff/Makefile.sub (nroff): New target.
  782. (install_data): Install nroff.
  783. * eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD.
  784. * grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.
  785. Sat Apr 17 08:24:28 1993 James Clark (jjc at jclark)
  786. * eqn/Makefile.sub (neqn): Add chmod +x.
  787. * grog/Makefile.sub (grog): Remove spurious semi-colon.
  788. Fri Apr 16 22:41:57 1993 James Clark (jjc at jclark)
  789. * troff/input.cc (string_iterator::string_iterator()): Initialize
  790. lineno and count.
  791. Tue Apr 13 10:22:28 1993 James Clark (jjc at jclark)
  792. * troff/div.cc (macro_diversion::space,
  793. top_level_diversion::space): Don't set high_water_mark.
  794. (macro_diversion::output, top_level_diversion::output): Don't
  795. include post line space in high water mark.
  796. Wed Apr 7 12:48:18 1993 James Clark (jjc at jclark)
  797. * eqn/eqn.y: Don't define YYDEBUG.
  798. * pic/pic.y: Likewise.
  799. Mon Apr 5 10:15:15 1993 James Clark (jjc at jclark)
  800. * tmac/tmac.e ([3): Add space after comma following editors.
  801. Change double spaces to single spaces.
  802. ([4): Change double spaces to single spaces.
  803. * grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags.
  804. * grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0
  805. bit is set in broken_flags, use 2.0 rather than 3.0 as the version
  806. after %!PS-Adobe- (for Newsprint).
  807. * troff/div.cc (top_level_diversion::begin_page): When
  808. before_first_page is 1, set page_number to 1.
  809. Sun Apr 4 14:28:53 1993 James Clark (jjc at jclark)
  810. * eqn/box.cc (box::top_level): Protect equation with \&.
  811. Sat Apr 3 23:27:25 1993 James Clark (jjc at jclark)
  812. * groff/groff.cc (possible_command::set_name): Delete old name.
  813. * groff/groff.cc (possible_command::~possible_command): Use
  814. a_delete.
  815. * troff/node.cc (troff_output_file::begun_page): New member.
  816. (troff_output_file::troff_output_file): Initialize it.
  817. (troff_output_file::really_begin_page): Only output V command if a
  818. page has been begun.
  819. * pic/pic.y (placeless_element): Delete argument to PRINT after
  820. use.
  821. Fri Apr 2 11:31:02 1993 James Clark (jjc at jclark)
  822. * Make wrapman work.
  823. * troff/div.h (class top_level_diversion): Replace
  824. first_page_begun by before_first_page (with opposite sense).
  825. * Change first_page_begun to before_first_page inverting sense.
  826. * troff/div.cc (class nl_reg): New class.
  827. (init_div_requests): Use class nl_reg for \n(nl.
  828. (top_level_diversion::begin_page): Don't call
  829. output_file::begin_page if before_first_page is 2;
  830. reset before_first_page afterwards. If have_next_page_number is
  831. false, then always increment page_number.
  832. * tmac/tmac.an: Set traps within TH rather than at the top-level.
  833. Restore compatibility mode after loading, and then disable
  834. compatibility mode in TH.
  835. Thu Apr 1 11:09:34 1993 James Clark (jjc at jclark)
  836. * grotty/tty.cc (tty_printer::end_page): Don't discard characters
  837. past last line.
  838. * troff/node.h (output_file::trailer): Declare.
  839. * troff/div.cc (cleanup_and_exit): Call output_file::trailer().
  840. * troff/node.cc (output_file::trailer): New function.
  841. (troff_output_file::~troff_output_file): Move most code into...
  842. (troff_output_file::trailer): New function.
  843. (class troff_output_file): Delete page_length member. Declare
  844. trailer().
  845. (troff_output_file::really_begin_page): Use current page length
  846. for final V command.
  847. * tbl/main.cc (struct options): New decimal_point_char member.
  848. (options::options): Initialize this.
  849. (process_options): Implement decimalpoint option.
  850. (process_data): Pass decimal_point_char option to table::table.
  851. * tbl/table.h (class table): New decimal_point_char member.
  852. (table::table): Add additional argument.
  853. * tbl/table.cc (find_dot): Rename to find_decimal_point. Add
  854. second argument specifying decimal point character. Use this
  855. instead of '.'.
  856. (table::table): Initialize decimal_point_char.
  857. (table::add_entry): Change call to find_dot.
  858. * troff/input.cc (get_copy, token::next): Implement \V.
  859. (interpolate_environment_variable): New function.
  860. Tue Mar 30 14:41:39 1993 James Clark (jjc at jclark)
  861. * pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX.
  862. * pic/pic.y: Likewise.
  863. * grotty/tty.cc (tty_printer::add_char, tty_printer::end_page):
  864. Add casts to int.
  865. * refer/ref.cc (reference::insert_field, reference::delete_field):
  866. Likewise.
  867. * troff/number.cc (parse_term): Likewise.
  868. * acgroff.m4 (GROFF_PROG_YACC): New macro.
  869. * configure.in: Use GROFF_PROG_YACC.
  870. * acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc
  871. and g++.
  872. * Makefile.in (OPTIMIZE): New define.
  873. (DEBUG): Empty by default.
  874. (CCFLAGS, CFLAGS): Include $(OPTIMIZE).
  875. * acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program.
  876. (GROFF_ARRAY_DELETE): Likewise.
  877. (GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3.
  878. * troff/env.cc (trie::~trie): Make virtual to shut up g++.
  879. * devps/psstrip.sed: Use different delimiter on last line (so that
  880. it works with BSD 4.4 sed.)
  881. Mon Mar 29 17:07:14 1993 James Clark (jjc at jclark)
  882. * devps/psstrip.sed: Delete comments.
  883. * acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares
  884. optind, opterr, optarg.
  885. * lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind,
  886. opterr, optarg.
  887. Sun Mar 28 17:44:25 1993 James Clark (jjc at jclark)
  888. * Makefile.in (check): Dummy target.
  889. Wed Mar 3 04:53:38 1993 James Clark (jjc at jclark)
  890. * Version 1.07 released.
  891. * Integrate mm 1.11.
  892. * tbl/table.cc (alphabetic_block_entry::print): start_row was used
  893. where start_col was meant.
  894. Thu Feb 25 07:55:36 1993 James Clark (jjc at jclark)
  895. * grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.
  896. Wed Feb 24 10:15:34 1993 James Clark (jjc at jclark)
  897. * troff/input.cc (token::next): Make \z\o'...' and similar things
  898. work.
  899. * env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
  900. constants.
  901. (environment): Add margin_character_flags member.
  902. * env.cc (environment::environment(symbol),
  903. environment::environment(const environment *): Initialize
  904. margin_character_flags.
  905. (margin_character): Rewrite.
  906. (environment::output_line): Add a margin character if
  907. margin_character_flags is non-zero. Turn off the
  908. MARGIN_CHARACTER_NEXT bit. If that makes margin_character_flags
  909. zero, use margin_character_node without copying and then set
  910. margin_character_node to 0.
  911. * devps/DESC.in: Change minimum size to 1000.
  912. Tue Feb 23 14:57:49 1993 James Clark (jjc at jclark)
  913. * troff/symbol.h (symbol::hash): Change return type to unsigned
  914. long.
  915. * troff/dictionary.cc (dictionary::lookup, dictionary::remove):
  916. Add casts to int.
  917. * test-groff: Use -r rather than -x.
  918. * grops/psfig.diff: Include in distribution again.
  919. Mon Feb 22 09:10:44 1993 James Clark (jjc at jclark)
  920. * Makefile.in (dist): Use gzip.
  921. Sun Feb 21 11:12:53 1993 James Clark (jjc at jclark)
  922. * acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
  923. unistd.h as well as in stdlib.h.
  924. * include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
  925. defined; otherwise include <sys/types.h> and <unistd.h> if
  926. UNISTD_H_DECLARES_GETOPT is defined.
  927. * configure.in: use builtin(include, ... rather than include(...
  928. * configure: Regenerate with autoconf 1.3.
  929. * libdriver/print.cc (printer::adjust_arc_center): Use new
  930. algorithm suggested by Andy Fyfe.
  931. * libdriver/printer.cc (printer::adjust_arc_center): New function.
  932. * include/printer.h: Declare this.
  933. * grops/ps.cc (ps_printer::draw): Use it.
  934. * grodvi/dvi.cc (dvi_printer::draw): Use it.
  935. Fri Feb 19 23:13:51 1993 James Clark (jjc at jclark)
  936. * Makefile.comm (.man.n): Replace macrodir by tmacdir.
  937. Thu Feb 11 16:46:59 1993 James Clark (jjc at jclark)
  938. * eqn/main.cc (main): Handle "eqn -".
  939. Mon Jan 4 20:29:56 1993 James Clark (jjc at jclark)
  940. * tmac/tmac.e (++): Install fix from comp.bugs.4sd.
  941. * mm: Integrate version 1.08.
  942. * pic/troff.cc (troff_output::finish_picture): Set
  943. EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
  944. * eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
  945. if it's not defined. Check whether the register is non-zero rather
  946. than whether it's not defined.
  947. * tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.
  948. * indxbib/indxbib.cc: Move all signal handling into...
  949. * indxbib/signal.c: New file.
  950. * configure.in: Call AC_RETSIGTYPE.
  951. * acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
  952. * configure.in: Call GROFF_STRUCT_EXCEPTION.
  953. * libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.
  954. * troff/input.cc (token::token, token::operator=): Work round SGI
  955. C++ bug.
  956. * pic/object.cc (position::position): Likewise.
  957. Mon Dec 28 21:50:21 1992 James Clark (jjc at jclark)
  958. * pic/pic.h: Move declaration of hypot().
  959. Wed Dec 16 12:28:29 1992 James Clark (jjc at jclark)
  960. * pic/pic.h: Declare hypot().
  961. * pic/pic.h: Define M_PI if necessary.
  962. Thu Dec 10 12:03:29 1992 James Clark (jjc at jclark)
  963. * tmac/tmac.e (re): Add alternative version that doesn't use groff
  964. `.ta T' feature.
  965. * devps/prologue.ps (RE): Handle the possibility that the old font
  966. doesn't have a FontName entry.
  967. Wed Dec 2 10:25:29 1992 James Clark (jjc at jclark)
  968. * tmac/tmac.e (fam): Redefine to set family in environment 2.
  969. (@C): Use @fam not fam.
  970. Thu Nov 26 16:01:25 1992 James Clark (jjc at jclark)
  971. * lookbib/lookbib.cc (main): Change type of start to const char *.
  972. * lkbib/lkbib.cc (main): Likewise.
  973. * eqn/lex.cc (definition::definition): Don't use member
  974. initializer syntax for members of anonymous unions.
  975. * troff/input.cc (input_stack::backtrace): Change type of to const
  976. char *.
  977. Wed Nov 25 13:43:09 1992 James Clark (jjc at jclark)
  978. * include/stringclass.h (class string): Declare inline friend
  979. functions as inline in class declaration.
  980. * troff/hvunits.h (class hunits, class vunits): Likewise.
  981. * include/refid.h (class reference_id): Likewise
  982. * troff/troff.h (points_to_units(units), scale(units, double)):
  983. Delete declarations.
  984. * libdriver/input.cc (get_char): Delete declaration.
  985. * include/lib.h: Change 2nd argument of getopt from const char **
  986. to char **.
  987. * troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
  988. char **' before assigning to a `const char **'.
  989. * tbl/table.cc: Delete extra declarations of prints().
  990. Tue Nov 24 14:33:13 1992 James Clark (jjc at jclark)
  991. * libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
  992. char **' before assigning to a `const char **'.
  993. * libgroff/errarg.cc (errarg::errarg): Don't use member
  994. initializer syntax for members of anonymous unions.
  995. Sat Nov 21 05:02:23 1992 James Clark (jjc at jclark)
  996. * mm: Integrate version 1.07.
  997. Tue Nov 17 16:44:27 1992 James Clark (jjc at jclark)
  998. * troff/input.c (translate2): Rename to
  999. (translate_no_transparent).
  1000. (init_input_requests): Rename tr2 to trnt.
  1001. Mon Nov 16 09:49:32 1992 James Clark (jjc at jclark)
  1002. * troff/charinfo.h (class charinfo): Add transparent_translate field.
  1003. (charinfo::set_translation, charinfo::set_special_translation):
  1004. Add second argument that specifies value for
  1005. transparent_translate.
  1006. (charinfo::get_translation, charinfo::get_special_translation):
  1007. Add optional second argument that specifies whether translation is
  1008. being used for transparent throughput.
  1009. * troff/input.cc (charinfo::set_translation,
  1010. charinfo::set_special_translation): Handle second argument.
  1011. (charinfo::charinfo): Initialize transparent_translate.
  1012. (translate): Split main part off into
  1013. (do_translate): New function. Pass argument saying whether
  1014. translation applies to transparent throughput.
  1015. (translate2): New request.
  1016. (init_input_requests): Bind translate2 to `tr2'.
  1017. Wed Nov 11 11:43:20 1992 James Clark (jjc at jclark)
  1018. * tbl/table.h (class table): Add `nokeep' flag.
  1019. * tbl/main.cc (process_options): Handle `nokeep' option.
  1020. * tbl/table.cc (table::init_output, table::do_row, table::do_top,
  1021. table::do_bottom): Don't output keep/release macro definitions or
  1022. calls when `nokeep' option has been specified.
  1023. Sat Nov 7 01:28:33 1992 James Clark (jjc at jclark)
  1024. * tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.
  1025. Wed Nov 4 16:29:04 1992 James Clark (jjc at jclark)
  1026. * tbl/table.cc (table_entry::divert, block_entry::do_divert,
  1027. block_entry::divert, alphabetic_block_entry::divert): Add extra
  1028. argument giving column separation.
  1029. (table::compute_widths): Pass column separation to
  1030. table_entry::divert().
  1031. (block_entry::do_divert): If an entry spans multiple columns and a
  1032. minimumum width has been specified for each column, then set the
  1033. line length to the sum of the widths (plus possibly the column
  1034. separations).
  1035. * troff/input.cc (set_escape_char): Don't set the escape_char
  1036. until after calling has_arg().
  1037. Tue Nov 3 11:23:27 1992 James Clark (jjc at jclark)
  1038. * tbl/table.cc (table::do_top): Add missing \s0 for double box
  1039. case.
  1040. * tbl/table.cc (table::print_double_hline): Avoid extra new line
  1041. in case where r > nrows - 1.
  1042. * tbl/table.cc (BODY_HEIGHT): Deleted.
  1043. (LINE_SEP): New definition.
  1044. (table::print_single_hline, table::print_double_hline,
  1045. table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
  1046. table::do_r