PageRenderTime 57ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 1ms

/contrib/groff/ChangeLog.117

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 2190 lines | 1671 code | 519 blank | 0 comment | 0 complexity | 9913c0c722712863550cee0dc4c07d20 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.0, LGPL-2.1, BSD-2-Clause, 0BSD, JSON, AGPL-1.0, GPL-2.0
  1. Version 1.17.2 released
  2. =======================
  3. 2001-07-07 Werner LEMBERG <wl@gnu.org>
  4. * src/utils/indxbib/indxbib.cc (main): Change type of `name_max'
  5. to size_t.
  6. 2001-07-06 Ruslan Ermilov <ru@FreeBSD.org>
  7. * tmac/doc.tmac (Rv): Make `Rv' really not parseable.
  8. Fix synopsis.
  9. * tmac/groff_mdoc.man: Fix synopsis.
  10. 2001-07-05 Ruslan Ermilov <ru@FreeBSD.org>
  11. * tmac/doc.tmac (doc-inset-list, doc-hang-list, doc-ohang-list):
  12. Restore `doc-Pa-font'.
  13. 2001-07-04 Werner LEMBERG <wl@gnu.org>
  14. * src/utils/indxbib/dirnamemax.c: Moved to ...
  15. * src/libs/libgroff/maxfilename.cc: Here.
  16. s/dir_name_max/file_name_max/.
  17. Add copyright.
  18. * src/include/lib.h: Add file_name_max.
  19. * src/utils/indxbib/indxbib.cc: Updated.
  20. * src/utils/indxbib/Makefile.sub, src/libs/libgroff/Makefile.sub:
  21. Updated.
  22. * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX) [__MSDOS__]: Define
  23. as empty.
  24. (xtmpfile) [_MSC_VER]: Removed -- MSVC has mktemp().
  25. * src/preproc/html/pre-html.cc (PAGE_TEMPLATE, PS_TEMPLATE,
  26. REGION_TEMPLATE): New macros.
  27. (createAllPages, makeTempFiles): Use them.
  28. Include `nonposix.h'.
  29. (html_system): New function.
  30. (createAllPages, createImage): Use it.
  31. Use EXE_EXT.
  32. * tmac/www.tmac: Fix typos.
  33. 2001-07-03 Werner LEMBERG <wl@gnu.org>
  34. * tmac/www.tmac: Disable hyphenation in normal text only if output
  35. device is html.
  36. (URL, FTP, MAILTO): Disable hyphenation of actual URL with `\%'.
  37. * tmac/groff_mwww.man, NEWS: Updated.
  38. 2001-07-03 Gaius Mulley <gaius@glam.ac.uk>
  39. * tmac/www.tmac (.IMAGE): Add fourth parameter to specify vertical
  40. image location.
  41. 2001-07-02 Ruslan Ermilov <ru@FreeBSD.org>
  42. * tmac/doc-common, tmac/doc.tmac (doc-display-ft-stack,
  43. doc-display-ps-stack): Implement font and font size stack for
  44. displays.
  45. 2001-07-02 Werner LEMBERG <wl@gnu.org>
  46. * REVISION: Increased to 2.
  47. * src/roff/troff/input.cc (read_size): Fix special case `\s[0]'.
  48. * src/groff/grog/grog.pl (process): Handle `Oo' and `Oc' not at the
  49. beginning of a line.
  50. * src/groff/grog/grog.sh: Ditto.
  51. 2001-06-29 Peter Marquardt <wwwutz@molgen.mpg.de>
  52. * src/preproc/eqn/neqn.sh: Put `export' keyword in a new line to
  53. make it portable.
  54. 2001-06-27 Werner LEMBERG <wl@gnu.org>
  55. Fix problems with preprocessor string for `man' program.
  56. * *.man: Don't use `s' in preprocessor string -- it doesn't exist.
  57. Updated/added copyright.
  58. Moved Emacs's local variable to identify nroff mode to the end of
  59. the file; add local variable if missing.
  60. 2001-06-26 Andras Salamon <andras@cs.wits.ac.za>
  61. * aclocal.m4: Replace AC_LANG_SAVE + AC_LANG_CPLUSPLUS with
  62. AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++).
  63. * configure: Regenerated.
  64. 2001-06-25 Andras Salamon <andras@cs.wits.ac.za>
  65. * aclocal.m4 (GROFF_PAGE): Fix page detection code.
  66. * configure: Regenerated.
  67. 2001-06-24 Werner LEMBERG <wl@gnu.org>
  68. * doc/homepage.ms: Don't include arkup.tmac (which no longer exists)
  69. but www.tmac.
  70. * doc/pic.ms: Fix typos.
  71. Version 1.17.1 released
  72. =======================
  73. 2001-06-21 Golubev I. N. <gin@mo.msk.ru>
  74. * aclocal.m4 (GROFF_NEED_DECLARATION): Fix inclusion of strings.h.
  75. * configure: Updated.
  76. 2001-06-20 Gaius Mulley <gaius@glam.ac.uk>
  77. * src/roff/preproc/html/pre-html.cc (make_message): Fix incorrect
  78. image names.
  79. * src/roff/troff/dic.cc (blank_line): Add html tag.
  80. 2001-06-19 Gaius Mulley <gaius@glam.ac.uk>
  81. * src/roff/troff/input.cc (do_suppress): Fix typo.
  82. 2001-06-18 Gaius Mulley <gaius@glam.ac.uk>
  83. Added two new options (-D and -I) to specify image names and a
  84. subdirectory to place the images in.
  85. Change syntax from \\Ox to \\O[x].
  86. * src/devices/grohtml/post-html.cc (main): Add options.
  87. (usage): Updated.
  88. * src/preproc/html/pre-html.cc: Include `stdarg.h'.
  89. Use `NULL' instead of `0' for null string pointers.
  90. (MAX_RETRIES): New macro.
  91. (lengthOfintToStr, intToStr, make_message): New functions.
  92. (makeFileName): Make function static.
  93. Implement -D and -I options.
  94. (checkImageDir): New function.
  95. (write_end_image, write_start_image): Use new syntax of \O.
  96. (createAllPages, removeAllPages): Implement -D and -I options. Use
  97. make_message().
  98. (createImage): Use make_message().
  99. (addps4html): Add guard for malloc().
  100. (usage, scanArguments): Updated.
  101. (makeTempFiles): Use mkstemp().
  102. (removeTempFiles): Use unlink().
  103. (findPrefix): Add guard for malloc().
  104. (main): Updated.
  105. * src/roff/troff/input.cc (get_delim_file_name): New function to
  106. parse \O.
  107. (do_suppress): Updated to parse new syntax.
  108. * src/devices/grohtml/grohtml.man: Updated.
  109. * tmac/www.tmac: Updated to new syntax.
  110. * NEWS: Updated.
  111. 2001-06-15 Werner LEMBERG <wl@gnu.org>
  112. * src/roff/grog/Makefile.sub: Remove NAMEPREFIX.
  113. * src/devices/grohtml/grohtml.man: Minor improvements.
  114. 2001-06-14 Werner LEMBERG <wl@gnu.org>
  115. * src/preproc/html/Makefile.sub: Remove NAMEPREFIX.
  116. 2001-06-11 Werner LEMBERG <wl@gnu.org>
  117. * man/roff.man, mann/groff.man: Use '\" instead of .\" in the first
  118. line to specify preprocessor options -- mandb 2.3.1 only recognizes
  119. the former.
  120. * src/preproc/grn/grn.man: Add proper '\" string.
  121. 2001-06-11 OKAZAKI Tetsurou <okazaki@be.to>
  122. * test-groff: Don't use PATH but GROFF_BIN_PATH.
  123. 2001-06-08 Werner LEMBERG <wl@gnu.org>
  124. Updated to autoconf 2.50.
  125. * configure.in: Renamed to...
  126. * configure.ac: This.
  127. * aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed.
  128. (GROFF_OS390): Updated.
  129. * configure: Regenerated.
  130. 2001-05-18 Werner LEMBERG <wl@gnu.org>
  131. * src/roff/troff/env.c, src/roff/troff/env.h,
  132. src/roff/troff/input.cc, src/roff/troff/troff.man: Undo `ss' change
  133. from 2000-12-21.
  134. 2001-05-17 Jeffrey Friedl <jfriedl@yahoo-inc.com>
  135. * src/roff/troff/input.cc (read_size): Fix special case `\s0'.
  136. 2001-05-16 Werner LEMBERG <wl@gnu.org>
  137. * src/roff/troff/input.cc (read_size): Emit warning if value becomes
  138. less than or equal zero; set it to 1 then.
  139. * src/roff/troff/node.h (node::node): Initialize `last'.
  140. 2001-05-08 Werner LEMBERG <wl@gnu.org>
  141. * tmac/an-old.tmac: Make predefined strings work in compatibility
  142. mode.
  143. Add troff version guard.
  144. * tmac/doc.tmac: Simplify version guard.
  145. 2001-05-07 Werner LEMBERG <wl@gnu.org>
  146. The .ns and .rs requests are now honoured not only in the top-level
  147. but in all diversions (similar to UNIX troff).
  148. This change is based on a patch from Tadziu Hoffmann
  149. <hoffmann@usm.uni-muenchen.de>.
  150. * src/roff/troff/div.h (diversion): Add `no_space_mode' member.
  151. (top_level_diversion): Remove `no_space_mode' member.
  152. * src/roff/troff/div.cc (diversion::diversion,
  153. top_level_diversion::top_level_diversion): Updated.
  154. (macro_diversion::output): Reset `no_space_mode'.
  155. (no_space, restore_spacing): Use `curdiv' unconditionally.
  156. (space_request, blank_line): Check `curdiv->no_space_mode'.
  157. (no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use
  158. `curdiv' unconditionally.
  159. * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
  160. Updated.
  161. 2001-05-06 Werner LEMBERG <wl@gnu.org>
  162. Added two new requests `de1' and `am1' which are similar to `de' and
  163. `am' with the difference that compatibility mode is saved on entry,
  164. switched off during macro execution, and restored on exit.
  165. * src/roff/troff/input.h: Added two new special characters
  166. (COMPATIBLE_SAVE, COMPATIBLE_RESTORE).
  167. * src/roff/troff/input.cc (input_iterator): Added two member
  168. functions `save_compatible_flag' and `get_compatible_flag'.
  169. (input_stack): Ditto.
  170. (string_iterator): Ditto. Also add private member
  171. `saved_compatible_flag'.
  172. (token::next): Use COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
  173. (calling_mode): New enumeration.
  174. (do_define_macro): Use it. Insert COMPATIBLE_SAVE and
  175. COMPATIBLE_RESTORE at the beginning and end of macro, respectively.
  176. (define_macro, define_indirect_macro, append_macro, ignore): Use
  177. `calling_mode'.
  178. (define_nocomp_macro, append_nocomp_macro): New functions.
  179. (init_input_requests): Updated.
  180. (do_request): Rename local variable `saved_compatible_flag' to
  181. `old_compatible_flag'.
  182. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
  183. * tmac/an-old.tmac: Use `de1' instead of `de' request for all
  184. public and trap-invoked macros. As a consequence, the man macros
  185. work in compatibility mode also.
  186. 2001-05-06 Solar Designer <solar@openwall.com>
  187. * Makefile.in: Use $(mandir).
  188. 2001-05-06 Alexios Zavras <zvr@pobox.com>
  189. * src/utils/afmtodit/afmtodit.pl: Fix serious typo.
  190. 2001-05-05 Werner LEMBERG <wl@gnu.org>
  191. Added `.ns' number register: Returns 1 in no-space mode (if in
  192. top-level diversion), 0 otherwise.
  193. * src/roff/troff/div.cc (no_space_mode_reg): New class.
  194. (init_div_requests): Updated.
  195. * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
  196. Document it.
  197. 2001-05-04 Werner LEMBERG <wl@gnu.org>
  198. * src/roff/nroff/nroff.man: Improved documentation (especially
  199. locales).
  200. 2001-05-02 Werner LEMBERG <wl@gnu.org>
  201. Added `brp' request: This is \p as a request.
  202. * src/roff/troff/env.cc (environment::do_break): Add parameter
  203. `spread'.
  204. (do_break_request): New function (was `break_request').
  205. (break_request): Calls `do_break_request'.
  206. (break_spread_request): New; calls `do_break_request'.
  207. (init_env_requests): Updated.
  208. * src/roff/troff/env.h: Updated.
  209. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
  210. * REVISION: Increased to 1.
  211. * win32-diffs: Updated.
  212. 2001-05-01 Werner LEMBERG <wl@gnu.org>
  213. * tmac/an-old.tmac: Fix minor compatibility mode issue.
  214. * tmac/troffrc-end: Make it really work in compatibility mode.
  215. 2001-04-27 Werner LEMBERG <wl@gnu.org>
  216. * src/utils/lkbib/lkbib.cc: Switch inclusion order of stdio.h and
  217. stdlib.h.
  218. 2001-04-22 Werner LEMBERG <wl@gnu.org>
  219. * src/libs/libgroff/getopt.c, src/include/getopt.h: Updating to
  220. latest versions from glibc CVS archive.
  221. * MORE.STUFF: Updated, using a patch from Kees Zeelenberg
  222. <c.zeelenberg@hccnet.nl>.
  223. 2001-04-21 Werner LEMBERG <wl@gnu.org>
  224. * configure.in: Move check for mkstemp() to...
  225. * aclocal.m4 (GROFF_MKSTEMP): This new function.
  226. * configure: Regenerated.
  227. * src/include/groff-getopt.h: Don't use variable names in
  228. declarations.
  229. * src/devices/grohtml/html-chars.h: Removed. It isn't used.
  230. * src/devices/grohtml/Makefile.sub,
  231. src/devices/grohtml/post-html.cc: Updated.
  232. 2001-04-21 Albert Chin-A-Young <china@thewrittenword.com>
  233. * configure.in: Add special check for mkstemp().
  234. * src/libs/libgroff/tmpfile.cc: Use it.
  235. * src/utils/indxbib/indxbib.cc: Ditto.
  236. * src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style.
  237. * src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use
  238. `const'.
  239. 2001-04-20 Bruce Lilly <blilly@erols.com>
  240. `Version_string' as C++ object was not visible to linker from C
  241. object files.
  242. Add `const' to `Version_string'.
  243. * src/utils/pfbtops/pfbtops.c (main), src/roff/groff/groff.cc
  244. (main), src/roff/troff/input.cc (main), src/preproc/tbl/main.cc
  245. (main), src/preproc/pic/main.cc (main), src/preproc/eqn/main.cc
  246. (main), src/preproc/grn/main.cc (main), src/preproc/html/pre-html.cc
  247. (scanArguments), src/preproc/refer/refer.cc (main),
  248. src/preproc/soelim/soelim.cc (main), src/devices/grotty/tty.cc
  249. (main), src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
  250. (main), src/devices/grohtml/post-html.cc (main),
  251. src/devices/grolbp/lbp.cc (main), src/utils/tfmtodit/tfmtodit.cc
  252. (main), src/utils/hpftodit/hpftodit.cc (main),
  253. src/utils/lookbib/lookbib.cc (main), src/utils/indxbib/indxbib.cc
  254. (main), src/utils/lkbib/lkbib.cc (main),
  255. src/utils/addftinfo/addftinfo.cc (main): Implement it.
  256. * src/roff/groff/pipeline.c: Add _UWIN.
  257. * src/include/nonposix.h: Ditto.
  258. 2001-04-20 Werner LEMBERG <wl@gnu.org>
  259. * src/include/lib.h: Use HAVE_STRERROR.
  260. * src/roff/groff/pipeline.c: Ditto.
  261. * src/preproc/html/pre-html.cc: Remove declaration of `strerror'.
  262. * src/libs/libgroff/Makefile.sub (version.cc): Add `extern "C"'.
  263. * src/utils/pfbtops/pfbtops.c: Add copyright notice.
  264. * win32-diffs: Updated.
  265. * src/utils/hpftodit/hpftodit.cc (read_map): Fix compiler warning.
  266. 2001-04-19 Werner LEMBERG <wl@gnu.org>
  267. * src/preproc/html/pre-html.cc (scanArguments): Use `troff_command'
  268. instead of hardwired `"troff"'.
  269. (char_buffer::read_file): Remove unused variables.
  270. (char_buffer::write_file_troff): Ditto.
  271. (char_buffer::write_file_html): Ditto.
  272. (generateImages): Ditto.
  273. (abs): Removed.
  274. * src/utils/addftinfo/addftinfo.cc (main): Fix compilation problem.
  275. * src/include/lib.h: Don't include `groff-getopt.h' for UWIN.
  276. * src/libs/libgroff/font.cc (font::load_desc): Fix compiler warning.
  277. * src/libs/libbib/index.cc (index_search_item_iterator::get_tag,
  278. index_search_item::search1): Ditto.
  279. * src/roff/troff/node.h (width_list): Reorder members.
  280. * src/roff/troff/input.cc (do_define_macro): Fix compiler warning.
  281. (lookup_warning): Ditto.
  282. (prepend_string): Commented out.
  283. * src/roff/troff/dictionary.cc (is_good_size): Fix compiler warning.
  284. * src/roff/troff/reg.cc (number_value_to_ascii): Ditto.
  285. * src/preproc/tbl/main.cc (process_format): Ditto.
  286. * src/preproc/pic/pic.y (define_variable, reset, reset_all): Fix
  287. compiler warnings.
  288. * src/preproc/pic/pic.cc: Updated.
  289. * src/preproc/eqn/lex.cc (init_table): Fix compiler warnings.
  290. * src/preproc/eqn/over.cc (over_box::compute_metrics): Ditto.
  291. * src/preproc/refer/command.cc (execute_command): Ditto.
  292. * src/preproc/refer/ref.cc (sortify_title, find_month): Ditto.
  293. * src/preproc/refer/token.cc (lookup_token): Ditto.
  294. * src/preproc/soelim/soelim.cc: Ditto.
  295. * src/preproc/html/pushbackbuffer.cc (ERROR): Ditto.
  296. (isHexDigit): Commented out.
  297. (pushBackBuffer::isString): Remove unused variable.
  298. * src/devices/grops/ps.cc (ps_printer::special): Fix compiler
  299. warning.
  300. * src/devices/grops/psrm.cc (resource_manager::lookup_font,
  301. resource_manager::read_resource_arg, read_one_of, parse_extensions):
  302. Ditto.
  303. * src/devices/grodvi/dvi.cc (dvi_printer::draw): Ditto.
  304. * src/devices/grolj4/lj4.cc (lj4_font::handle_unknown_font_command,
  305. lookup_paper_size): Ditto.
  306. * src/devices/grohtml/post-html.cc (is_subsection): Commented out.
  307. (text_glob, element_list): Reorder members.
  308. * src/devices/grohtml/html-text.cc (html_text::do_pre): Remove
  309. compiler warning.
  310. * src/devices/grohtml/html-text.h (html_text::emit_space): Change
  311. return value to `void'.
  312. * src/devices/grohtml/output.cc (word_list::word_list): Fix order
  313. of initializers.
  314. * src/devices/grohtml/html.h (simple_output::check_newline,
  315. simple_output::space_or_newline, simple_output::enable_newlines):
  316. Add return value.
  317. * src/devices/grolbp/lbp.cc (wp54charset, set_papersize): Remove
  318. compiler warnings.
  319. * src/utils/tfmtodit/tfmtodit.cc (tfm::load, gf::load, main): Ditto.
  320. * src/utils/hpftodit/hpftodit.cc (File::seek, read_symbol_sets,
  321. output_ligatures, output_charset, read_map): Ditto.
  322. * src/utils/lookbib/lookbib.cc (main): Ditto.
  323. * src/utils/indxbib/indxbib.cc (main, fwrite_or_die): Ditto.
  324. (do_file): Fix typo (`=' -> `==').
  325. * src/utils/lkbib/lkbib.cc (main): Remove compiler warning.
  326. * src/utils/addftinfo/addftinfo.cc (main): Ditto.
  327. 2001-04-18 Ruslan Ermilov <ru@FreeBSD.org>
  328. * src/roff/nroff/nroff.sh: Adding -p (pic) and -t (tbl) options.
  329. Fix usage of GROFF_BIN_PATH.
  330. * src/roff/nroff/nroff.man: Updated.
  331. 2001-04-18 Werner LEMBERG <wl@gnu.org>
  332. * NEWS: Fixing typos.
  333. Updated.
  334. Version 1.17 released
  335. =====================
  336. 2001-04-17 Werner LEMBERG <wl@gnu.org>
  337. * tmac/Makefile.sub (install-data): mdoc.local-s is in current
  338. directory, not in $(srcdir).
  339. 2001-04-16 Werner LEMBERG <wl@gnu.org>
  340. * doc/groff.texinfo: More info on conditionals.
  341. 2001-04-15 Werner LEMBERG <wl@gnu.org>
  342. * doc/groff.texinfo: Added some info about groff internals.
  343. * src/roff/troff/node.cc (make_glyph_node): Emit warning message
  344. about missing special character only if the name is non-null.
  345. 2001-04-14 Werner LEMBERG <wl@gnu.org>
  346. Removing the grohtml-old device driver which is now obsolete.
  347. * src/devices/grohtml-old/*: Removed.
  348. * font/devhtml-old/*: Removed.
  349. * src/libs/libgroff/htmlindicate.cc (graphic_start, graphic_end):
  350. Remove comments.
  351. * Makefile.in (CCPROGDIRS, DEVDIRS): Updated.
  352. * test-groff (PATH): Updated.
  353. * tmac/Makefile.sub (NORMALFILES): Updated.
  354. * tmac/an-old.tmac: Remove special code for html-old device.
  355. Replace `html-or-html-old' register with `an-html'.
  356. * tmac/eqnrc: Updated.
  357. * tmac/html-old.tmac: Removed.
  358. * tmac/troffrc, tmac/troffrc-end: Updated.
  359. * tmac/www.tmac: Remove special code for html-old device.
  360. Replace `html-or-html-old' register with `www-html'.
  361. * src/libs/libgroff/tmpfile.cc (remove_tmp_files),
  362. src/libs/libgroff/htmlindicate.cc (graphic_end),
  363. include/htmlindicate.h, src/preproc/grn/*.cc,
  364. src/roff/groff/env.{cc,h}: Remove `void' parameter if used as a
  365. single argument for consistency with rest of source code.
  366. * aclocal.m4, tmac/an-old.tmac: Fix copyright.
  367. 2001-04-13 Ruslan Ermilov <ru@FreeBSD.org>
  368. * src/roff/troff/troff.man: Fixing typos.
  369. 2001-04-13 Werner LEMBERG <wl@gnu.org>
  370. * doc/pic.ms: Fixing many font switches.
  371. * doc/groff.texinfo: Fixes, additions.
  372. * MORE.STUFF: Updated.
  373. 2001-04-12 Gaius Mulley <gaius@glam.ac.uk>
  374. * src/devices/grohtml/grohtml.man: Updated manual page regarding
  375. simple anchor.
  376. * src/preproc/html/pre-html.cc (createImage): Fixed right hand
  377. cropping of images.
  378. (removeTempFiles): New function to tidy up temporary files.
  379. * src/preproc/html/pre-html.cc (main): Calls `removeTempFiles()'.
  380. Many fixes to do with the new inline suppress node and image regions
  381. are much tighter.
  382. * src/devices/grohtml/post-html.cc: New method `is_auto_img'.
  383. (generate_img_src): New function.
  384. (html_printer::do_auto_image): Utilizes it.
  385. (do_heading, do_title): Include inline images within their contents.
  386. (html_printer::begin_page): Tidied up comments that are issued to
  387. the html output file.
  388. (html_printer::do_fill): Fixed so that `.nf' works with fonts other
  389. than courier.
  390. (text_glob::is_br): New method used by do_heading.
  391. * tmac/s.tmac: If -Thtml then emit $1 in .IP rather than its
  392. equivalent diversion.
  393. * src/include/html-strings.h: Altered image tags to reflect the
  394. inline image node.
  395. * src/include/htmlindicate.h (html_end_suppress): Added `is_inline'
  396. parameter.
  397. * src/preproc/eqn/main.cc: Will suppress generation of image tags if
  398. it is already inside a pic image. Only emit tags if the argument
  399. `-Tps:html' is present.
  400. * src/preproc/tbl/main.cc: Changes to reflect additional
  401. `html_end_suppress' parameter.
  402. * src/roff/troff/env.cc: Only emit eol tag if a node has been
  403. emitted since the last eol tag was written.
  404. * src/roff/troff/env.h: New boolean `emitted_node'.
  405. * src/roff/troff/input.cc (do_suppress): Handles extra suppress
  406. nodes \O3, \O4, \O5. No longer use `output_low_mark_miny'.
  407. * src/roff/troff/node.cc (check_charinfo): New method.
  408. (troff_output_file::determine_line_limits): Alterations to limit
  409. checking.
  410. * tmac/www.tmac: Changes to reflect new suppress nodes.
  411. 2001-04-12 Bruno Haible <haible@clisp.cons.org>
  412. * src/devices/grohtml/post-html.cc (html_printer::add_to_sbuf):
  413. Escape the html_glyph in the buffer.
  414. (str_translate_to_html): Output the unescaped escaped_char.
  415. * src/devices/grohtml/html-text.cc (issue_table_begin): Set
  416. `frame=void', not `frame=none'. Add `border=0'.
  417. 2001-04-12 Werner LEMBERG <wl@gnu.org>
  418. * PROBLEMS: Add some words on how to avoid wrapper macros.
  419. 2001-04-11 Blake McBride <blake@florida-software.com>
  420. * src/include/nonposix.h (fileno) [_MSC_VER]: Removed.
  421. 2001-04-11 Werner LEMBERG <wl@gnu.org>
  422. * font/devlbp/Makefile.sub (CLEANADD): Set it.
  423. * tmac/Makefile.sub (CLEANADD): Add tmac.local-s.
  424. * Makefile.in (dist): Don't remove src/xditview/Imakefile, but ...
  425. * Makefile.sub (DISTCLEANFILES): Here.
  426. * libs/libgroff/new.cc: Include `nonposix.h'.
  427. * win32-diffs: Updated.
  428. 2001-04-10 Ruslan Ermilov <ru@FreeBSD.org>
  429. Added skeleton macro for defunct macros.
  430. Updated documentation.
  431. When inside displays, an empty input line warning should be
  432. suppressed. If another macro call is put inside a display,
  433. all subsequent empty lines found in that display caused a
  434. warning to be emitted.
  435. * tmac/doc.tmac (doc-defunct-macro): New macro.
  436. (Db, Ds, Ex, Or, Sf): Reimplemented using this macro.
  437. (doc-restore-global-vars): Fixed typo.
  438. (doc-empty-line): Check the `doc-display-depth' register to
  439. determine whether we are inside display or not.
  440. * tmac/doc-common: Removed `Or' and `Sf' registers.
  441. Moved obsolete `Ds' macro to doc.tmac.
  442. * tmac/groff_mdoc.man: Bump document date.
  443. Document `.Vt' under ``Variable Types''.
  444. Removed documentation for obsolete `.Or' macro.
  445. 2001-04-10 Werner LEMBERG <wl@gnu.org>
  446. * NEWS: Updated.
  447. * doc/groff.texinfo: Many fixes, additions, clarifications, etc.
  448. 2001-04-10 Bruno Haible <haible@clisp.cons.org>
  449. * src/devices/grodvi/dvi.cc (main): Accept --help and --version.
  450. (usage): Add stream argument. Don't exit.
  451. * src/devices/grohtml/post-html.cc (main): Accept --help and --version.
  452. Write --version output to stdout, not stderr.
  453. (usage): Add stream argument. Don't exit.
  454. * src/devices/grohtml-old/html.cc (main): Accept --help and --version.
  455. (usage): Add stream argument. Don't exit.
  456. * src/devices/grolbp/lbp.cc (long_options): Use symbolic getopt.h
  457. constants.
  458. (usage): Add stream argument. Don't exit.
  459. (main): Write --help output to stdout, not stderr.
  460. * src/devices/grolj4/lj4.cc (main): Accept --help and --version.
  461. (usage): Add stream argument. Don't exit.
  462. * src/devices/grops/ps.cc (main): Accept --help and --version.
  463. (usage): Add stream argument. Don't exit.
  464. * src/devices/grotty/tty.cc (main): Accept --help and --version.
  465. (usage): Add stream argument. Don't exit.
  466. * src/preproc/eqn/main.cc (usage): Add stream argument. Don't exit.
  467. (main): Accept --help and --version.
  468. * src/preproc/grn/main.cc (usage): Add stream argument. Don't exit.
  469. (main): Accept --help and --version.
  470. * src/preproc/html/pre-html.cc (usage): Add stream argument.
  471. (scanArguments): Accept --help and --version.
  472. * src/preproc/pic/main.cc (usage): Add stream argument. Don't exit.
  473. (main): Accept --help and --version.
  474. * src/preproc/refer/refer.cc (main): Accept --help and --version.
  475. (usage): Add stream argument. Don't exit.
  476. * src/preproc/soelim/soelim.cc (usage): Add stream argument. Don't
  477. exit.
  478. (main): Accept --help and --version.
  479. * src/preproc/tbl/main.cc (usage): Add stream argument. Don't exit.
  480. (main): Accept --help and --version.
  481. * src/roff/groff/groff.cc (main): Accept --help and --version.
  482. (synopsis): Add stream argument.
  483. (help): Write --help output to stdout, not stderr.
  484. (usage): Add stream argument. Don't exit.
  485. * src/roff/grog/grog.pl: Accept --help and --version.
  486. (help): New sub.
  487. * src/roff/grog/grog.sh: Accept --help and --version.
  488. * src/roff/nroff/nroff.sh: Accept --help and --version.
  489. * src/roff/troff/input.cc (USAGE_EXIT_CODE): Remove macro.
  490. (usage): Add stream argument. Don't exit.
  491. (main): Accept --help and --version.
  492. * src/utils/addftinfo/addftinfo.cc (main): Accept --help and --version.
  493. (usage): New function with stream argument, doesn't exit.
  494. * src/utils/hpftodit/hpftodit.cc (main): Accept --help and --version.
  495. (usage): New function with stream argument, doesn't exit.
  496. * src/utils/indxbib/indxbib.cc (main): Accept --help and --version.
  497. (usage): Add stream argument. Don't exit.
  498. * src/utils/lkbib/lkbib.cc (usage): Add stream argument. Don't exit.
  499. (main): Accept --help and --version.
  500. * src/utils/lookbib/lookbib.cc (usage): Add stream argument. Don't
  501. exit.
  502. (main): Accept --help and --version.
  503. * src/utils/pfbtops/pfbtops.c (usage): Add stream argument. Don't exit.
  504. (main): Accept --help and --version.
  505. * src/utils/tfmtodit/tfmtodit.cc (main): Accept --help and --version.
  506. (usage): Add stream argument. Don't exit.
  507. 2001-04-10 Ruslan Ermilov <ru@freebsd.org>
  508. Fix indentation in SYNOPSIS.
  509. Updated to include changes of latest BSD mdoc version (basically,
  510. the only change is that `.Fn' and `.Fc' put a final semicolon after
  511. a function declaration in the SYNOPSIS section).
  512. * tmac/doc.tmac (doc-in-synopsis-count): Replaced with ...
  513. (doc-in-synopsis-section): New variable. Updated all related
  514. functions.
  515. (doc-indent-synopsis-active): New register.
  516. (Nd, Fn, Fo): Use it.
  517. (Cd): It requires manipulation of \n[doc-indent-synopsis] so that
  518. `.Cd' with long argument line produces indented wrapped lines.
  519. Also, the misplaced `.nop \*[doc-Nm-font]\c'' caused extra
  520. undesirable line break to be output.
  521. (doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to
  522. `.rs'.
  523. (Fn, Fc): Add final `;' to output.
  524. (doc-save-global-vars, doc-restore-global-vars): Updated.
  525. * tmac/doc-common: Remove `Ex' register.
  526. Updated.
  527. * tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated
  528. copyright.
  529. 2001-04-06 Ruslan Ermilov <ru@freebsd.org>
  530. * tmac/doc.tmac (Cd): Simplify code.
  531. * tmac/groff_mdoc.man: Document some behaviour of `Cd' request.
  532. 2001-04-06 Werner LEMBERG <wl@gnu.org>
  533. Implement continuous underlining for nroff mode. To do that, a new
  534. request in the ditroff language has been added: `x u N' (N is 0
  535. or 1).
  536. \X and \Y are now transparent to end-of-sentence recognition.
  537. * src/include/printer.h (printer): Add `type' parameter to `special'
  538. method.
  539. * src/libs/libdriver/printer.cc (printer::special): Updated.
  540. * src/libs/libdriver/input.cc (do_file): Handle `x u N'.
  541. * src/devices/dvi/dvi.cc (dvi_printer::special): Handle only
  542. specials of type `p'.
  543. * src/devices/grohtml/post-html.cc (html_printer::special): Ditto.
  544. * src/devices/grohtml-old/html.cc (html_printer::special): Ditto.
  545. * src/devices/grops/ps.cc (ps_printer::special): Ditto.
  546. * src/devices/grotty/tty.cc: Add new enum CU_MODE.
  547. (glyph::order): New method.
  548. (tty_printer::add_char): Use it.
  549. (tty_printer::special): New method.
  550. (tty_printer::end_page): Implement it.
  551. * src/roff/troff/node.h (special_node): Add `no_init_string' member.
  552. * src/roff/troff/node.cc (special_node::special_node): Add parameter
  553. to set `no_init_string'.
  554. (special_node::tprint_start): Use it.
  555. (special_node::same, special_node::copy): Updated.
  556. (special_node::ends_sentence): New method.
  557. (troff_output_file::start_special): Add parameter to include
  558. inititialization of special conditionally.
  559. * src/roff/troff/env.h (environment): New member `underline_spaces'.
  560. * src/roff/troff/env.cc (do_underline_special): New function.
  561. (environment::set_font): Use it.
  562. (do_underline): Use it. This was `underline()'.
  563. (underline): Call `do_underline()'.
  564. (continuous_underline): New function which calls `do_underline()'.
  565. (environment::newline): Use `do_underline_special()'.
  566. (init_env_requests): Updated.
  567. * NEWS, man/troff_out.man: Updated.
  568. 2001-04-06 Bruno Haible <haible@clisp.cons.org>
  569. * font/devutf8/R.proto: Fix code of 'shc'.
  570. 2001-04-06 Ruslan Ermilov <ru@freebsd.org>
  571. Many fixes. Diag lists can now be nested also; additionally,
  572. `-compact' and `-offset' are supported.
  573. * tmac/doc.tmac (doc-have-indent): Replaced with ...
  574. (doc-list-have-indent-stackXXX): A new register stack.
  575. (doc-have-diag-list): Removed.
  576. (Bl): Use `doc-list-have-indent-stackXXX'.
  577. (El): Updated.
  578. (doc-diag-list): Use `doc-compact-list-stackXXX'.
  579. (doc-tag-list): Use `doc-list-have-indent-stackXXX'.
  580. (doc-set-vertical-and-indent): Ditto.
  581. (doc-next-list-depth): Removed.
  582. (doc-increment-list-stack): Updated.
  583. (doc-decrement-list-stack): Use `doc-list-depth' instead of
  584. `doc-next-list-depth'.
  585. (doc-end-list, doc-end-column-list): Don't use
  586. `doc-increment-list-stack'.
  587. (doc-set-column-tab): Don't use `doc-list-offset-stackXXX'.
  588. (doc-save-global-vars, doc-restore-global-vars): Updated.
  589. * tmac/doc-common: Updated.
  590. * tmac/groff_mdoc.man: Updated.
  591. * NEWS: Fix typo.
  592. 2001-04-02 Werner LEMBERG <wl@gnu.org>
  593. * src/devices/grotty/grotty.man: Fix grammatical error.
  594. 2001-03-30 Ruslan Ermilov <ru@freebsd.org>
  595. Remove .Ld from mdoc package; replace it with special handling of
  596. `...'.
  597. * tmac/doc-common: Remove `Ld' register.
  598. Uncomment `doc-volume-ds-*' strings.
  599. Remove `doc-operating-system-default'.
  600. (Os): Updated.
  601. * tmac/doc-syms (Ld): Removed.
  602. * tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle
  603. `...' specially.
  604. * NEWS: Updated.
  605. * tmac/groff_mdoc.man: Many fixes and updates.
  606. 2001-03-29 Werner LEMBERG <wl@gnu.org>
  607. * tmac/troffrc-end: Protect data with `.do'. Reported by T. Kurt
  608. Bond <tkb@tkb.mpl.com>.
  609. * tmac/www.tmac: Save compatibility mode.
  610. 2001-03-28 Ruslan Ermilov <ru@freebsd.org>
  611. * tmac/groff_mdoc.man: Many fixes.
  612. 2001-03-28 Werner LEMBERG <wl@gnu.org>
  613. * src/preproc/soelim/soelim.man: Document that `.<whitespace>so'
  614. isn't recognized.
  615. 2001-03-27 Werner LEMBERG <wl@gnu.org>
  616. * tmac/an-old.tmac (TP, an-do-tag): Reduce line length while in
  617. diversion. This fixes overlong tags.
  618. 2001-03-26 Werner LEMBERG <wl@gnu.org>
  619. * doc/groff.texinfo: Fixed and improved documentation of fonts.
  620. * tmac/doc-syms: Fix error messages.
  621. * tmac/an-old.tmac: Remove incorrect double backslashes.
  622. 2001-03-24 Ruslan Ermilov <ru@freebsd.org>
  623. * tmac/Makefile.sub: Strip mdoc.local also
  624. * tmac/strip.sed: Fixed.
  625. 2001-03-24 Werner LEMBERG <wl@gnu.org>
  626. * tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch for
  627. selecting the font size.
  628. * tmac/groff_mdoc.man, NEWS: Document it.
  629. 2001-03-23 Werner LEMBERG <wl@gnu.org>
  630. * src/roff/troff/div.cc (save_vertical_space): Add default argument
  631. to `sv' request.
  632. * src/roff/troff/env.cc (family_change): Make `.fam' accept no
  633. argument to restore previous font family.
  634. * src/roff/troff/troff.man, man/groff.man, NEWS: Updated.
  635. * doc/groff.texinfo: More fixes and additions (mainly for font
  636. manipulating commands).
  637. * tmac/groff_mdoc.reference.man: Small updates and renamed to ...
  638. * tmac/groff_mdoc.man: This. The quick reference has been removed.
  639. * tmac/Makefile.sub, NEWS: Updated.
  640. 2001-03-23 Werner LEMBERG <wl@gnu.org>
  641. Replaced mdoc implementation. The new version is `state of the
  642. art', using almost all new features of groff 1.17 -- it won't run
  643. with older versions.
  644. * tmac/doc.tmac: Completely rewritten.
  645. * tmac/doc-common: Ditto.
  646. * tmac/doc-nroff: Ditto.
  647. * tmac/doc-ditroff: Ditto.
  648. * tmac/doc-syms: Ditto.
  649. * tmac/mdoc.local: New file.
  650. * tmac/groff_mdoc.samples.man: Replaced with ...
  651. * tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
  652. * tmac/strip.sed: Updated.
  653. * tmac/Makefile.sub: Updated.
  654. * INSTALL: Updated.
  655. * tmac/groff_man.man: Add `man.local' to the FILES section.
  656. 2001-03-22 Werner LEMBERG <wl@gnu.org>
  657. * doc/groff.texinfo: Added many @noindent.
  658. Replaced @end_Example -> @endExample.
  659. Added info whether registers are r/o.
  660. Many other additions and fixes.
  661. 2001-03-21 Werner LEMBERG <wl@gnu.org>
  662. * doc/groff.texinfo: Added macro @Var (and some hacks due to bugs
  663. in makeinfo of texinfo 4.0) to be used in @Def* macros.
  664. Improved @Def* macros: Now the exact syntax of request, register,
  665. and escapes is shown.
  666. Added macros for parentheses and brackets to be used in @Def*.
  667. Many fixes and improvements of the documentation.
  668. 2001-03-20 Werner LEMBERG <wl@gnu.org>
  669. * doc/groff.texinfo: Added new index: `st' (for strings).
  670. Added macros @Defstr(x).
  671. Added macro @Example (adding @group).
  672. Other minor improvements.
  673. 2001-03-19 Werner LEMBERG <wl@gnu.org>
  674. * doc/groff.texinfo: Added two new indices: `es' (for escapes) and
  675. `rq' for requests. `fn' is no longer used.
  676. Added macros @Defreq(x), @Defreg(x), and @Defesc(x).
  677. Removed @Deffn(x).
  678. * tmac/an-old.tmac (an-p-footer): If `cR' is set, replace page
  679. number with name of man page.
  680. 2001-03-19 Larry Kollar <kollar@alltel.net>
  681. * doc/groff.texinfo: Complete revision. Added many @Deffn to gain
  682. consistency.
  683. 2001-03-19 Werner LEMBERG <wl@gnu.org>
  684. * man/groff_font.man: Document `prepro', `postpro', and `print'.
  685. * src/roff/groff/groff.man: Improve documentation of `-l' and `-L'.
  686. * src/devices/grohtml/grohtml.man: Fixing typos.
  687. 2001-03-19 Gaius Mulley <gaius@glam.ac.uk>
  688. * tmac/s.tmac (@IP): Pass `.ip' html tag.
  689. * tmac/groff_mwww.man: Remove .LINE macro
  690. * tmac/www.tmac (LINE): Add `.ti'.
  691. * src/devices/grohtml/post-html.cc (html_printer): New member
  692. `indent'.
  693. (html_printer::emit_raw): Use it.
  694. (html_printer::do_linelength): Ditto.
  695. (html_printer::do_pageoffset): Ditto.
  696. (html_printer::do_indentation): Ditto.
  697. (html_printer::do_tempindent): Ditto.
  698. (html_printer::do_break): Ditto.
  699. (html_printer::begin_page): Ditto.
  700. (html_printer::do_indentedparagraph): New function.
  701. (html_printer::troff_tag): Handle `.ip'.
  702. * src/devices/grohtml/html-text.cc (html_text::issue_table_begin):
  703. Add `<td width=...>' handling.
  704. (html_text::do_table): Add parameter.
  705. (html_text::do_indent): Updated.
  706. * src/devices/groohtml/html-text.h: Updated.
  707. 2001-03-16 Gaius Mulley <gaius@glam.ac.uk>
  708. Introduced simple html tables to implement indentation.
  709. * src/devices/grohtml/html.h (word, word_list): New structures.
  710. (simple_output): Use it.
  711. * src/devices/grohtml/post-html.cc: Add `INDENTATION'.
  712. (html_printer): Improve indentation handling.
  713. (html_printer::emit_raw): Set `in_table' element. Handle
  714. indentation if set.
  715. (html_printer::write_header): Move conditional downwards.
  716. Don't allow whitespace in tags.
  717. (html_printer::do_linelength): Handle line length and indentation
  718. conditionally.
  719. (html_printer::do_pageoffset): Handle indentation conditionally.
  720. (html_printer::do_indentation): Ditto.
  721. (html_printer::do_tempindent): New function member.
  722. (html_printer::do_fill): Take care of indentation.
  723. (html_printer::do_flush): Finish table.
  724. (html_printer::do_links): Ditto.
  725. (html_printer::do_break): New function for handling `.br' and `.ti'.
  726. (html_printer::troff_tag): Use it.
  727. Handle `.ti'.
  728. (html_printer::flush_globs): Fix.
  729. (html_printer::flush_page): Finish table.
  730. (html_printer::html_printer): Fix error message. Set up
  731. `linelength'.
  732. (html_printer::add_to_sbuf): Remove special handling of character
  733. code 255.
  734. (to_unicode): Remove `stop()'.
  735. (html_printer::write_title): Cleanup.
  736. (html_printer::begin_page): Use `put_string()'. Handle indentation.
  737. (html_printer::~html_printer): Flush text and end the line.
  738. Use `put_string()'.
  739. * src/devices/grohtml/html_text.h: Add more *_TAG enum values.
  740. * src/devices/grohtml/html_text.cc (html_text::end_tag): Fix
  741. emission of tags.
  742. (html_text::start_tag): Disable newlines.
  743. (html_text::table_is_void): New function.
  744. (html_text::issue_table_begin): Ditto.
  745. (html_text::issue_table_end): Ditto.
  746. (html_text::push_para): Better table handling.
  747. (html_text::do_indent): New function.
  748. (html_text::do_table): Ditto.
  749. (html_text::done_table): Ditto.
  750. (html_text::do_tt): Handle PRE_TAG.
  751. (html_text::is_in_table): New function.
  752. (html_text::check_emit_text): Handle tables.
  753. (html_text::do_emittext): Use `nl()'.
  754. (html_text::do_para): Handle table.
  755. (html_text::remove_def): New function.
  756. * src/devices/grohtml/output.cc (word, word_list): Implement
  757. methods.
  758. (simple_output::end_line): Flush last word.
  759. (simple_output::simple_comment): Ditto.
  760. (simple_output::begin_comment): Recoded.
  761. (simple_output::end_comment): Ditto.
  762. (simple_output::comment_arg): Removed.
  763. (simple_output::check_newline): Improve test and flush last word.
  764. (simple_output::space_or_newline): Improved.
  765. (simple_output::write_newline): Replaced with...
  766. (simple_output::nl): This.
  767. (simple_output::put_raw_char): Flush last word.
  768. (simple_output::check_space): Removed.
  769. (simple_output::put_translated_string): Ditto.
  770. (simple_output::put_string): Simplified.
  771. (simple_output::put_number): Updated.
  772. (simple_output::put_float): Ditto.
  773. (simple_output::put_symbol): Removed.
  774. (simple_output::enable_newlines): Add `check_newline()'.
  775. (simple_output::flush_last_word): New function.
  776. * src/roff/troff/enc.cc (no_fill): Remove call to add_html_tag().
  777. * src/roff/troff/div.cc (page_offset): Add call to add_html_tag().
  778. * tmac/s.tmac (@PP, @IP): Add html conditional code.
  779. * tmac/an-old.tmac (TP): Ditto.
  780. 2001-03-09 Ruslan Ermilov <ru@freebsd.org>
  781. * mdate.sh: Make it POSIX compliant.
  782. 2001-03-09 Werner LEMBERG <wl@gnu.org>
  783. Added the `return' request to end a macro immediately. It simply
  784. pops iterators from the input stack until a macro iterator is found.
  785. * src/roff/troff/input.cc (input_iterator::is_macro,
  786. macro_iterator::is_macro): New member.
  787. (input_return_boundary): New class to signal an immediate return
  788. to while_request().
  789. (input_stack::add_return_boundary, input_stack::is_return_boundary):
  790. New functions.
  791. (input_stack::clear): Use it.
  792. (input_stack::pop_macro): New function.
  793. (while_request): Use `is_return_boundary()'.
  794. (return_macro_request): New function.
  795. (init_input_requests): Use it.
  796. * src/roff/troff/TODO: Updated.
  797. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
  798. 2001-03-08 Werner LEMBERG <wl@gnu.org>
  799. * src/roff/troff/input.cc (input_iterator::is_boundary): Minor
  800. cleanup.
  801. 2001-03-07 Werner LEMBERG <wl@gnu.org>
  802. Make `\B' more rigid.
  803. * src/roff/troff/number.cc (parse_expr, parse_term): Add `rigid'
  804. parameter.
  805. (get_number_rigidly): New function.
  806. * src/roff/troff/input.cc (do_expr_test): Use it.
  807. * src/roff/troff/token.h: Updated.
  808. * src/roff/troff/request.h: Fix typo (init_html_request ->
  809. init_markup_request).
  810. 2001-03-04 Gaius Mulley <gaius@glam.ac.uk>
  811. Fixed grohtml handling of any named glyph for glyph indexes < 0x80.
  812. Cosmetic changes to `.html-begin', `.html-end', `.html-image' which
  813. are now `.begin', `.end', `.image'.
  814. * src/devices/grohtml/post-html.cc: Adding UNICODE_DESC_START.
  815. (html_printer::add_to_sbuf): Changing type of `code' parameter.
  816. Use add_char_to_sbuf().
  817. (to_unicode): New function.
  818. (char_translate_to_html): Changing type of `ch' parameter.
  819. Use `to_unicode()'.
  820. (html_printer::~html_printer): Comment out doctype string.
  821. * src/preproc/html/pre-html.cc (write_end_image): Use `.end'
  822. instead of `.html-end'.
  823. (write_start_image): Use `.begin' and `.image' instead of
  824. `.html-begin' and `.html-image'.
  825. * src/roff/troff/input.cc: Rename `html_level' to `begin_level'.
  826. (html_begin): Renamed to ...
  827. (begin): This.
  828. (html_end): Renamed to ...
  829. (end): This.
  830. (html_image): Renamed to ...
  831. (image): This.
  832. (init_html_requests): Renamed to ...
  833. (init_markup_requests): This.
  834. * tmac/www.tmac: Updated.
  835. 2001-02-28 Bram <bram@avontuur.org>
  836. * src/libs/libgroff/font.cc (font_widths_cache): Fixing syntax of
  837. constructor.
  838. 2001-02-26 David Leonard <david.leonard@csee.uq.edu.au>
  839. * doc/meref.me: Fixing some typos.
  840. 2001-02-16 Werner LEMBERG <wl@gnu.org>
  841. * src/roff/troff/node.cc (space_node::get_hyphenation_type): New
  842. method. Return `HYPHEN_MIDDLE' if it was `\:'.
  843. * src/roff/troff/node.h: Updated.
  844. 2001-02-17 Ruslan Ermilov <ru@FreeBSD.org>
  845. * tmac/groff_tmac.man: Fix typo.
  846. 2001-02-16 Werner LEMBERG <wl@gnu.org>
  847. Fixing a bug which prevented proper end-of-sentence recognition
  848. between an `unformatted' box and the following text. As a
  849. consequence, vertical line distances are no longer preserved in
  850. boxes after a call to `.unformat' -- because boxes aren't
  851. line-oriented (contrary to diversions), this doesn't make sense
  852. anyway.
  853. * src/roff/troff/node.cc (*node::set_unformat_flag): Add return
  854. value.
  855. (vertical_size_node::set_unformat_flag): New method.
  856. * src/roff/troff/node.hh: Updated.
  857. * src/roff/troff/input.cc (word_space_node::reread,
  858. hmotion_node::reread): Reset `unformat' flag after usage.
  859. (unformat_macro): Append only if `set_unformat_flag()' returns
  860. non-zero.
  861. * src/roff/troff/troff.man: Updated.
  862. 2001-02-15 Werner LEMBERG <wl@gnu.org>
  863. * src/roff/troff/troff.man, NEWS, man/groff.man: Improved
  864. documentation of `asciify' and `unformat' requests.
  865. 2001-02-13 Werner LEMBERG <wl@gnu.org>
  866. Redesigned the `unformat' request. It is no longer connected with
  867. `asciify' but rather uses new `reread()' methods if the `unformat'
  868. flag is set. Additionally, the handling of space characters after
  869. unformatting has been fixed so that they retain their width.
  870. * src/roff/troff/node.h (width_list): New structure to store
  871. original widths of spaces.
  872. (node): Added `unformat' member.
  873. Replaced `num_spaces' variable with `orig_width' list.
  874. * src/roff/troff/node.cc (*node::asciify,
  875. asciify_reverse_node_list): Removed `unformat_only' flag and related
  876. code.
  877. (word_space_node::asciify, word_space_node::word_space_node): Use
  878. `orig_width'.
  879. (word_space_node::~word_space_node): New destructor.
  880. (word_space_node::copy): Updated to handle `orig_width'.
  881. (hmotion_node::copy, unbreakable_space_node::copy): Updated.
  882. (*node::merge_space): Update `orig_width' list if necessary.
  883. (*node::set_unformat_flag): New methods to set the `unformat' flag.
  884. * src/roff/troff/enc.cc (environment::space_newline): Use
  885. `width_list'.
  886. (environment::space): Added method to handle space width and
  887. sentence space width as parameters. Use `width_list'.
  888. (environment::make_tab_node): Updated.
  889. * src/roff/troff/env.h: Updated.
  890. * src/roff/troff/input.cc (word_space_node::reread,
  891. unbreakable_space_node::reread, hmotion_node::reread): New methods
  892. to handle nodes specially if `unformat' flag is set.
  893. (do_asciify_macro): Renamed back to ...
  894. (asciify_macro): This.
  895. (unformat_macro): New implementation to simply set the `unformat'
  896. flag.
  897. * MORE.STUFF: Added more info about deroff.
  898. 2001-02-08 Werner LEMBERG <wl@gnu.org>
  899. * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
  900. space_char_hmotion_node, overstrike_node): Add `get_hyphen_list()'
  901. and `add_self()' methods to avoid hyphenation. For example, the
  902. hyphen list for `foo\0\0bar' was `foobar', causing insertion of a
  903. soft hyphen after `foo'. Now the hyphen list is correctly
  904. `foo<ignore><ignore>bar'.
  905. 2001-02-05 Yoshiteru Kageyama <yt-kage@cb3.so-net.ne.jp>
  906. * tmac/groff_tmac.man: Fix `BIR' macro.
  907. 2001-02-04 Werner LEMBERG <wl@gnu.org>
  908. A new escape sequence `\:', inserting a zero-width break point.
  909. * src/roff/troff/input.h: Adding `ESCAPE_COLON'.
  910. * src/roff/troff/input.cc (get_copy, token::next, asciify):
  911. Implement it.
  912. * src/roff/troff/node.h (node): Add `is_escape_colon()' virtual
  913. method.
  914. (space_node): Add `was_escape_colon' member. Add `is_escape_colon()'
  915. and `asciify()' methods.
  916. * src/roff/troff/node.cc (space_node::space_node): Updated.
  917. (space_node::asciify): Handle `was_escape_colon'.
  918. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
  919. Handle `\~' similar to other comparable requests.
  920. * src/roff/troff/input.cc (process_input_stack): Remove now obsolete
  921. label.
  922. (token::next): Move creation of an unbreakable_space_node to...
  923. (token::add_to_node_list): Here.
  924. Fix a bug which sometimes prevented hyphenation of words connected
  925. with `\~' or `\ ' (and other escape sequences handled as
  926. TOKEN_NODE). This also fixes a hyphenation problem with boxes
  927. (after a call to the `unformat' request).
  928. * src/roff/troff/env.h (environment::possibly_break_line,
  929. environment::hyphenate_line): Introducing `start_here' parameter.
  930. * src/roff/troff/env.cc (environment::space_newline,
  931. environment::space): Use it.
  932. (environment::possibly_break_line, environment::hyphenate_line):
  933. Implement it.
  934. * src/roff/troff/input.cc (process_input_stack): Use it.
  935. * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
  936. space_char_hmotion_node, overstrike_node): Add
  937. `get_hyphenation_type()' method.
  938. * src/roff/troff/node.cc (break_char_node::asciify): Don't asciify
  939. if `unformat_only' is active.
  940. 2001-01-30 Werner LEMBERG <wl@gnu.org>
  941. Implemented new read-only number register `.linetabs' which
  942. returns 1 if in line-tabs mode, 0 otherwise.
  943. * src/roff/troff/env.h (environment): Add get_line_tabs() member.
  944. * src/roff/troff/env.cc (get_line_tabs): New function.
  945. (init_env_requests): Use it.
  946. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
  947. * VERSION, REVISION: Changing to 1.17.0.
  948. 2001-01-28 Werner LEMBERG <wl@gnu.org>
  949. Fixed a bug which prevented hyphenation of words which are finished
  950. with `\)'.
  951. * src/roff/troff/token.h (token): Add enum type
  952. `TOKEN_TRANSPARENT_DUMMY' and method `transparent_dummy()'.
  953. * src/roff/troff/input.cc (token::next, token::description,
  954. get_line_arg, token::add_to_node_list, token::process): Use it.
  955. 2001-01-27 Werner LEMBERG <wl@gnu.org>
  956. * src/roff/troff/div.h (diversion): Add `saved_prev_line_interrupted'.
  957. * src/roff/troff/div.cc (do_divert): Use it.
  958. * src/roff/troff/input.cc (asciify): Add ESCAPE_RIGHT_PARENTHESIS.
  959. 2001-01-25 Werner LEMBERG <wl@gnu.org>
  960. Adding the `linetabs' request. If set, tab distances are not
  961. computed relative to the input line but relative to the output line.
  962. * src/roff/troff/env.h (environment): New member `line_tabs'.
  963. * src/roff/troff/env.cc (line_tabs_request): Implement request.
  964. (environment::environment, environment::copy): Updated.
  965. (environment::distance_to_next_tab): Use `line_tabs'.
  966. (init_env_requests): Register request.
  967. * src/roff/troff/troff.man, man/groff.man, NEWS: Document it. Other
  968. fixes.
  969. 2001-01-24 Werner LEMBERG <wl@gnu.org>
  970. Introducing a new read-only register `.int' which is set to a
  971. positive value if the last output line is interrupted (i.e., if it
  972. contains `\c').
  973. * src/roff/troff/env.cc (init_env_requests): Add it.
  974. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
  975. 2001-01-23 Gaius Mulley <gaius@glam.ac.uk>
  976. * tmac/mwww.tmac: Call `www.tmac', not `arkup.tmac'.
  977. * src/preproc/html/pre-html.cc (findPrefix): New function which
  978. generates the troff executable name via the system prefix.
  979. * src/preproc/eqn/main.cc: Modified warning message.
  980. 2001-01-23 Werner LEMBERG <wl@gnu.org>
  981. troff's `box' and `boxa' requests didn't preserve temporary
  982. indentation.
  983. * src/roff/troff/div.h (diversion): Add `saved_saved_indent' and
  984. `saved_target_text_length' members.
  985. * src/roff/troff/div.cc (do_divert): Use them.
  986. Tabs (but not yet leaders and fields) are now handled correctly by
  987. `asciify' request.
  988. * node.h (hmotion_node): Add field `was_tab'.
  989. * env.cc (environment::make_tab_node): Set it.
  990. * node.cc (hmotion_node::copy, hmotion_node::asciify): Use it.
  991. Added new request `unformat' which will, contrary to `asciify',
  992. preserve font information after unformatting (i.e., only nodes
  993. dealing with horizontal space are converted back to input
  994. characters).
  995. * input.cc (asciify_macro): Renamed to ...
  996. (do_asciify_macro): this, having a new parameter `unformat_only'.
  997. (asciify_macro, unformat_macro): New; using do_asciify_macro.
  998. (init_input_requests): Added `unformat'.
  999. * node.cc (*_node::asciify), asciify_reverse_node_list: Added
  1000. parameter to control asciification process.
  1001. * node.h (*_node::asciify): Ditto.
  1002. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
  1003. 2001-01-20 Werner LEMBERG <wl@gnu.org>
  1004. * doc/groff.texinfo: Minor improvement of `.in' documentation.
  1005. 2001-01-18 Werner LEMBERG <wl@gnu.org>
  1006. * tmac/ps.tmac: Remove call of psold.tmac.
  1007. * tmac/psold.tmac: Comment updated.
  1008. * tmac/psnew.tmac: Removed since no longer needed.
  1009. * tmac/Makefile.sub, NEWS, src/devices/grops/grops.man: Updated.
  1010. * font/devutf8/R.proto: Adding `shc' glyph.
  1011. * font/devutf8/NOTES: Updated.
  1012. * test-groff: Updated.
  1013. 2001-01-15 Gaius Mulley <gaius@glam.ac.uk>
  1014. First cut of the new html device driver. Changes to pre-html and
  1015. the new grohtml are too numerous to be documented here.
  1016. Stuff related to `html' has been renamed to `html-old' and `html2'
  1017. stuff has been renamed to `html' (including directories). The new
  1018. html device driver is therefore invoked as `-Thtml'.
  1019. Added new `\O' escape to suppress output (needed by html driver).
  1020. Added functions and code to pass info about input-level commands
  1021. (`.in', `.fl', etc.) to html driver.
  1022. Three new functions (.html-begin, .html-end, and .html-image) for
  1023. better html handling: `html-begin' will execute the remaining line
  1024. if at the outermost nesting level, increasing an internal counter.
  1025. `html-end' does the same but decreases the internal counter.
  1026. `html_image' puts its arguments into a special node (suppress_node)
  1027. to define an image region.
  1028. The `output' request has been removed.
  1029. * tmac/html-tags.tmac: Removed.
  1030. * tmac/arkup.tmac: Updated and renamed to ...
  1031. * tmac/www.tmac: New file.
  1032. * tmac/markup.tmac Updated and renamed to ...
  1033. * tmac/mwww.tmac: New file.
  1034. * tmac/Makefile.sub: Updated.
  1035. * tmac/an-old.tmac: Updated.
  1036. * tmac/eqnrc: Updated.
  1037. * tmac/groff_man.man
  1038. * tmac/groff_markup.man: Updated and renamed to ...
  1039. * tmac/groff_mwww.man: New file.
  1040. * tmac/groff_tmac.man: Updated.
  1041. * tmac/html-old.tmac: Updated and Renamed from html.tmac.
  1042. * tmac/html.tmac: Updated and renamed from html2.tmac.
  1043. * tmac/pspic.tmac: Updated html support.
  1044. * tmac/s.tmac: Added html output support.
  1045. * tmac/troffrc, tmac/troffrc-end: Updated.
  1046. * Makefile.in, doc/Makefile: Updated.
  1047. * doc/groff.texinfo: Added info about new `\O' escape.
  1048. * doc/homepage.ms: Use `MAILTO' macro.
  1049. * font/devhtml/DESC.proto: Add `C' font.
  1050. * font/devhtml/Makefile.sub: Updated.
  1051. * font/devhtml/R.proto: Minor fixes.
  1052. * font/devhtml-old/Makefile.sub: Updated.
  1053. * src/devices/grohtml-old/Makefile.sub: Updated.
  1054. * src/libs/libdriver/printer.cc (printer::get_font_from_index): New
  1055. method.
  1056. * src/libs/libgroff/htmlindicate.cc (html_begin_suppress,
  1057. graphic_start): Add `inline' parameter. Update.
  1058. (html_end_suppress, graphic_end): Update.
  1059. * src/include/html-strings.h: New file.
  1060. * src/include/htmlindicate.h: Comments updated.
  1061. * src/include/printer.h: Updated.
  1062. * src/preproc/eqn/main.cc (do_file, main): Updated.
  1063. * src/preproc/pic/troff.cc (troff_output::start_picture,
  1064. troff_output::finish_picture): Updated.
  1065. * src/preproc/tbl/main.cc (process_input_file): Updated.
  1066. * src/roff/groff/groff.cc (main): Updated.
  1067. Pass device arguments to predrivers also.
  1068. Use `ps' device for `eqn' preprocessor if `-Thtml' is given.
  1069. * src/roff/troff/env.h (environment): Updated.
  1070. New elements `need_eol' and `ignore_next_eol' (for html output).
  1071. * src/roff/troff/env.cc (environment::environment): Add initializers
  1072. for `need_eol' and `ignore_next_eol'.
  1073. (environment::add_html_tag_eol, environment::add_html_tag_tabs): New
  1074. functions.
  1075. (point_size, fill, no_fill, center, right_justify, line_length,
  1076. indent, temporary_indent, break_request, handle_tab): Use
  1077. `add_html_tag()'.
  1078. (set_tabs): Use `add_html_tag_tabs()'.
  1079. (environment::add_html_tag): Updated.
  1080. (environment::do_break): Updated.
  1081. * src/roff/troff/div.cc (space_request, flush_output): Use
  1082. `environment::add_html_tag()'.
  1083. * src/roff/troff/input.cc: Updated.
  1084. New variable `html_level' to indicate nested `html-begin' requests.
  1085. (file_iterator::fill): Use `environment::add_html_tag_eol()'.
  1086. (non_interpreted_char_node, token_node, non_interpreted_node): Add
  1087. `force_tprint()' method.
  1088. (token::next): Handle `\O'.
  1089. (do_suppress): Implement it.
  1090. (html_begin, html_end, html_image): New functions.
  1091. (init_output_requests): Renamed to ...
  1092. (init_html_requests): this.
  1093. (main): Use it.
  1094. (macro::append_str, macro::append_unsigned, macro::append_int): New
  1095. methods.
  1096. New variable `output_low_mark_miny' to limit minimal value of y.
  1097. (reset_output_registers): Use it.
  1098. (output_request): Removed.
  1099. (get_output_registers): New function.
  1100. * src/roff/troff/node.h (node): Make `force_tprint()' virtual.
  1101. (*_node): Added `force_tprint()' if necessary.
  1102. (special_node): New elements `tf' and `get_tfont()'.
  1103. (suppress_node): New class.
  1104. * src/roff/troff/node.cc:
  1105. New global variables `image_no' and `suppress_start_page'.
  1106. (real_output_file): New method `is_on()'.
  1107. (troff_output_file): New method `start_special(tfont)'.
  1108. (troff_output_file::really_print_line): Use `tprint' conditionally.
  1109. (real_output_file::print_line): Updated.
  1110. (real_output_file::on): Updated.
  1111. (*_node): Added `force_tprint()'.
  1112. (special_node::special_node): Initializer updated.
  1113. (special_node::same, special_node::copy, special_node::tprint_start):
  1114. Updated.
  1115. (get_reg_int, get_reg_str): New functions.
  1116. (suppress_node::*): New methods.
  1117. New global variables last_position, last_image_filename;
  1118. (min): New inline function.
  1119. * src/roff/troff/reg.h, src/roff/troff/request.h,
  1120. src/roff/troff/troff.h: Updated.
  1121. 2001-01-13 Werner LEMBERG <wl@gnu.org>
  1122. * NEWS, src/roff/troff/troff.man, doc/groff.texinfo: Fix
  1123. documentation of `asciify' request.
  1124. 2001-01-12 Werner LEMBERG <wl@gnu.org>
  1125. * src/roff/troff/input.cc: Move definition of special characters
  1126. like `ESCAPE_TILDE' to ...
  1127. * src/roff/troff/input.h: New file.
  1128. * src/roff/troff/Makefile.sub (HDRS): Add it.
  1129. Extending the .asciify request to `unformat' space characters also.
  1130. * src/roff/troff/node.h (word_space_node): Add `num_spaces' element
  1131. to count input space characters.
  1132. Update constructors to take care of it.
  1133. * src/roff/troff/node.cc (space_char_hmotion_node::asciify): Use
  1134. `ESCAPE_SPACE' instead of normal space.
  1135. (word_space_node::asciify): New method.
  1136. (unbreakable_space_node::asciify): New method.
  1137. (word_space_node::merge_space): New method.
  1138. * src/roff/troff/env.cc (environment::space_newline,
  1139. environment::space): Add code to initialize `num_spaces' (using the
  1140. constructor of `word_space_node').
  1141. * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
  1142. Document it.
  1143. 2001-01-09 Werner LEMBERG <wl@gnu.org>
  1144. * man/groff_char.man: Use table header traps only conditionally.
  1145. 2001-01-09 Bjarni Ingi Gíslason <bjarniig@hi.is>
  1146. * man/groff_char.man: Add `ý' and `Ý' to the `acute' group.
  1147. 2001-01-08 Werner LEMBERG <wl@gnu.org>
  1148. Introducing the `box' and `boxa' requests which are similar to
  1149. `di' resp. `da' but omitting a partially filled line (which is
  1150. restored after ending the diversion).
  1151. * src/roff/troff/div.h (diversion): Add elements to save partially
  1152. filled line.
  1153. * src/roff/troff/div.cc (do_divert): Add parameter `boxing' to save
  1154. partially filled line.
  1155. (divert, divert_append): Updated.
  1156. (box, box_append): New functions.
  1157. (init_div_requests): Use them.
  1158. * src/roff/troff/env.h (environment): do_divert() is now a friend.
  1159. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
  1160. * doc/groff.texinfo: Fix documentation of `lf' request.
  1161. 2000-12-25 Werner LEMBERG <wl@gnu.org>
  1162. * src/roff/troff/troff.man, NEWS: Document `writem' request.
  1163. 2000-12-21 Werner LEMBERG <wl@gnu.org>
  1164. Ignore `ss' request if in compatibility mode.
  1165. * src/roff/troff/input.cc: Make `compatible_flag' non-static.
  1166. * src/roff/troff/env.h: Added extern `compatible_flag' declaration.
  1167. * src/roff/troff/env.cc (space_size): Use it.
  1168. * doc/groff.texinfo, src/roff/troff/troff.man: Fix documentation of
  1169. `ss' request in nroff mode.
  1170. * tmac/an-old.tmac: Fixed some serious bugs introduced with latest
  1171. changes.
  1172. 2000-12-15 Ruslan Ermilov <ru@FreeBSD.org>
  1173. * tmac/troffrc, tmac/troffrc-end: Convert tmac.* to *.tmac.
  1174. 2000-12-13 Werner LEMBERG <wl@gnu.org>
  1175. * src/preproc/eqn/Makefile.sub (MAN1): Added neqn.man.
  1176. * src/preproc/eqn/neqn.man: Small fixes and additions.
  1177. 2000-12-13 Ruslan Ermilov <ru@FreeBSD.org>
  1178. * src/utils/addftinfo/addftinfo.man, src/devices/grops/grops.man:
  1179. Fixing typo.
  1180. * src/preproc/eqn/neqn.man: New file.
  1181. * src/preproc/tbl/table.cc (table::print): Fix `indent cannot be
  1182. negative' warning.
  1183. * tmac/e.tmac: Add `T&' macro.
  1184. Fix `indent cannot be negative' warning.
  1185. * tmac/s.tmac: Fix `indent cannot be negative' warning.
  1186. 2000-12-07 Werner LEMBERG <wl@gnu.org>
  1187. * src/include/lib.h: Replaced __ALPHA with __alpha symbol.
  1188. 2000-12-06 Werner LEMBERG <wl@gnu.org>
  1189. * PROBLEMS: Added info about adding -lPW on HP-UX to satisfy the
  1190. `alloca' symbol .
  1191. * MORE.STUFF: Added info about deroff for djgpp.
  1192. * tmac/an-old.tmac, tmac/groff_man.man, doc/groff.texinfo, NEWS: Fix
  1193. documentation of -rcR switch.
  1194. 2000-12-03 Werner LEMBERG <wl@gnu.org>
  1195. * tmac/an-old.tmac: Implementing the -rcR switch (similar to mdoc);
  1196. if -rcR=1 (which is now the default in nroff mode), a single, very
  1197. long page is created instead of multiple pages: All `ne' and `wh'
  1198. requests are put into conditionals; a new macro `an-end' is added to
  1199. be called with `em'.
  1200. Some other minor cleanups.
  1201. * NEWS, tmac/groff_man.man, doc/groff.texinfo: Updated.
  1202. 2000-12-02 Werner LEMBERG <wl@gnu.org>
  1203. Fixing a bug which prevented hyphenation in words followed
  1204. immediately by a TOKEN_NODE (e.g. `\ ', `\~', etc.).
  1205. * src/roff/troff/input.cc (process_input_stack <token::TOKEN_NODE>):
  1206. Adding possibly_break_line().
  1207. * src/roff/troff/env.h (environment): Make possibly_break_line()
  1208. public.
  1209. Make `\~' usable in .tr request.
  1210. * src/roff/troff/token.h (token_type): Add TOKEN_STRETCHABLE_SPACE.
  1211. (token): Add stretchable_space().
  1212. * src/roff/troff/input.cc (token::next, token::delimiter,
  1213. token::description, process_input_stack, do_translate,
  1214. add_to_node_list, token::process): Use it.
  1215. * src/roff/troff/node.h (node): Add fourth parameter to add_char()
  1216. for adjusting the space.
  1217. * src/roff/troff/node.cc (node::add_char): Implement it. Add code
  1218. for stretchable space.
  1219. * src/roff/troff/input.cc (token::add_to_node_list): Use it.
  1220. (make_node): Add code for stretchable space.
  1221. * src/roff/troff/env.cc (environment::add_char): Use it.
  1222. * src/roff/troff/input.cc: Add ESCAPE_TILDE special character.
  1223. (get_copy, token::next, transparent_translate, asciify): Use it.
  1224. * NEWS, src/roff/troff/troff.man, src/roff/troff/TODO,
  1225. doc/groff.texinfo: Updated.
  1226. * man/groff.man: Small reorderings.
  1227. 2000-11-23 Werner LEMBERG <wl@gnu.org>
  1228. * NEWS: Fixes.
  1229. * src/preproc/eqn/main.cc (main): Use `config_macro_path' for -M
  1230. option.
  1231. * src/roff/troff/input.cc (main): Add `config_macro_path' and
  1232. `safer_macro_path' to -M option.
  1233. * src/roff/troff/troff.man: Fixes.
  1234. 2000-11-22 Werner LEMBERG <wl@gnu.org>
  1235. Use safer path (except for config files) if -U isn't specified. Add
  1236. a special macro path (without home and current directory) for config
  1237. files. Add home directory to unsafe path for consistency. Don't
  1238. include the home directory in the font path.
  1239. * src/libs/libgroff/macropath.cc: Add `config_macro_path', change
  1240. `macro_path'.
  1241. * src/include/macropath.h: Add `config_macrp_path'.
  1242. * src/libs/libgroff/fontfile.cc: Fix font path.
  1243. * src/roff/troff/input.cc (process_startup_file): Use
  1244. `config_macro_path'.
  1245. (main): Select unsafe path if -U is given.
  1246. * src/preproc/eqn/main.cc (main): Fixing search path for
  1247. configuration file.
  1248. * src/preproc/eqn/eqn.man: Updated.
  1249. * src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man:
  1250. Updated.
  1251. * src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man,
  1252. src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man,
  1253. src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
  1254. src/devices/grotty/grotty.man: Updated.
  1255. * Makefile.in: Fix comments.
  1256. 2000-11-17 Werner LEMBERG <wl@gnu.org>
  1257. * tmac/safer.tmac: Empty file added (again) for compatibility
  1258. reasons.
  1259. * tmac/Makefile.sub: Updated.
  1260. 2000-11-16 Werner LEMBERG <wl@gnu.org>
  1261. * src/devices/grodvi/dvi.cc (main),
  1262. src/devices/grohtml2/post-html.cc (main),
  1263. src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
  1264. (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
  1265. (main), src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
  1266. (main), src/preproc/html2/pre-html.cc (main),
  1267. src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
  1268. src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
  1269. (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
  1270. (main), src/utils/hpftodit/hpftodit.cc (main),
  1271. src/utils/indxbib/indxbib.cc (main), src/utils/lkbib/lkbib.cc
  1272. (main), src/utils/lookbib/lookbib.cc (main),
  1273. src/utils/pfbtops/pfbtops.c (main), src/utils/tfmtodit/tfmtodit.cc
  1274. (main): Use stdout for -v.
  1275. * src/roff/groff/groff.cc (run_commands),
  1276. src/roff/groff/pipeline.c (run_pipeline): New parameter `no_pipe'
  1277. to make direct printing to stdout possible.
  1278. * src/roff/groff/pipeline.h: Updated.
  1279. * src/utils/afmtodit/afmtodit.pl: Add -v switch.
  1280. * src/utils/afmtodit/Makefile.sub (afmtodit): Use @VERSION@.
  1281. * src/utils/afmtodit/afmtodit.man: Updated.
  1282. * src/utils/addftinfo/addftinfo.cc (main): Add -v switch.
  1283. (version): New function.
  1284. (usage): Updated.
  1285. * src/utils/addftinfo/addftinfo.man: Updated.
  1286. * src/devices/*/*, src/preproc/*/*, src/roff/*/*, src/utils/*/*:
  1287. Fixing copyright dates.
  1288. * src/preproc/eqn/neqn.sh: Adding GROFF_BIN_PATH to path instead of
  1289. replacing it.
  1290. * src/devices/grolbp/lbp.cc (main): Use Version_string instead of
  1291. version_string.
  1292. * src/roff/nroff/Makefile.sub (nroff): Fix use of @VERSION@.
  1293. 2000-11-15 Werner LEMBERG <wl@gnu.org>
  1294. In all programs, make -v return immediately with exit status 0 to
  1295. be compliant with the GNU standard.
  1296. * src/devices/grodvi/dvi.cc (main),
  1297. src/devices/grohtml2/post-html.cc (main),
  1298. src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
  1299. (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
  1300. (main) src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
  1301. (main), src/preproc/html2/pre-html.cc (main),
  1302. src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
  1303. src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
  1304. (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
  1305. (main): Implement it.
  1306. * NEWS: Updated.
  1307. * src/roff/groff/groff.cc (main): Add copyright notice. Add refer
  1308. and postprocessors to the -v option.
  1309. * src/roff/grog/grog.pl: Implement -v.
  1310. * src/roff/grog/Makefile.sub (grog): Use @VERSION@.
  1311. * src/roff/grog/grog.man, doc/groff.texinfo: Updated.
  1312. * src/roff/nroff/nroff.sh: Implement -v.
  1313. * src/roff/nroff/Makefile.sub (nroff): Use @VERSION@.
  1314. * src/roff/nroff/nroff.man: Updated.
  1315. * src/preproc/eqn/main.cc (main): Fix comment typo.
  1316. * MORE.STUFF: Added info about djgpp port of grap.
  1317. 2000-11-14 Werner LEMBERG <wl@gnu.org>
  1318. * src/roff/grog/grog.{pl,sh}: Implemented -C switch for compatibility
  1319. mode (or rather, implemented non-compatibility mode).
  1320. * NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
  1321. * src/roff/groff/groff.cc (main): Add BIN_PATH to PATH instead of
  1322. replacing it -- we don't find gxditview otherwise.
  1323. * NEWS, src/roff/groff/groff.man, doc/groff.texinfo: Updated.
  1324. * src/preproc/pic/depend: Removed. Unnecessary.
  1325. Implemented dummy keyword `solid' in pic for compatibility with
  1326. AT&T pic.
  1327. * lex.cc (lookup_keyword): Added `solid'.
  1328. * pic.y: Added SOLID with dummy rule.
  1329. * pic.cc, pic_tab.h: Regenerated.
  1330. * doc/pic.ms: Updated.
  1331. 2000-11-13 Werner LEMBERG <wl@gnu.org>
  1332. For security reasons, don't use the current directory but the home
  1333. directory while searching and scanning troffrc and troffrc-end.
  1334. Similarly, replace the current directory with the home directory
  1335. in the font path.
  1336. * Makefile.in (fontpath, tmacpath): Remove current directory.
  1337. * src/libs/libgroff/searchpath.cc (search_path::search_path): Add
  1338. two parameters `add_home' and `add_current'.
  1339. (search_path::~search_path, search_path::command_line_dir,
  1340. search_path::open_file): Remove tests for `dirs' being zero.
  1341. * src/include/searchpath.h: Adjust.
  1342. * src/libs/libgroff/macropath.cc, src/include/macropath.h: Add
  1343. `safer_macro_path'.
  1344. * src/libs/libgroff/fontfile.cc: Adjust `font_path'.
  1345. * src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'.
  1346. * src/roff/troff/input.cc: Use `mac_path', initialized with
  1347. `macro_path'.
  1348. (process_startup_file): Set `mac_path' to `safer_macro_path'.
  1349. * src/roff/troff/env.cc: Use `mac_path'.
  1350. * src/preproc/eqn/main.cc (main): Use `safer_macro_path'.
  1351. * NEWS, man/roff.man, src/roff/troff/troff.man,
  1352. src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
  1353. Updated.
  1354. 2000-11-12 Werner LEMBERG <wl@gnu.org>
  1355. * src/include/lib.h: Don't include groff-getopt.h for OSF/1.
  1356. * aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++.
  1357. * configure.in: Fix typo in comment.
  1358. * configure: Regenerated.
  1359. * src/libs/libgroff/*, src/include/*, src/roff/troff/*: Fixing
  1360. copyright dates.
  1361. 2000-11-08 Werner LEMBERG <wl@gnu.org>
  1362. Add system tmac directory (/usr/local/lib/groff/site-tmac).
  1363. * Makefile.in: Add $(libdir), $(libprogramdir), and $(systemtmacdir).
  1364. (uninstall_dirs): Add $(libdir), $(libprogramdir), and
  1365. $(systemtmacdir).
  1366. Use @libdir@.
  1367. * Makefile.comm (.man.n): Add @SYSTEMMACRODIR@.
  1368. * tmac/Makefile.sub (install_data): Create
  1369. $(systemtmacdir) and $(localtmacdir).
  1370. (uninstall_sub): Use $(systemtmacdir) for wrapper macros.
  1371. * man/roff.man, src/roff/troff/troff.man, src/roff/groff/groff.man,
  1372. NEWS, doc/groff.texinfo: Updated and minor fixes.
  1373. * Makefile.comm, Makefile.in: Added tmac_{s,an}_prefix stuff again.
  1374. * tmac/Makefile.sub: Added `wrap' stuff again, but installing into
  1375. $(systemtmacdir) since the wrapper files are platform-dependent.
  1376. 2000-11-01 Werner LEMBERG <wl@gnu.org>
  1377. * doc/groff.texinfo: Fix typo.
  1378. 2000-10-26 Werner LEMBERG <wl@gnu.org>
  1379. Convert macros `tmac.XXX' to `XXX.tmac'. Special cases:
  1380. tmac.doc.old -> doc-old.tmac
  1381. tmac.an.old -> an-old.tmac
  1382. * tmac/tmac.*: Moved to ...
  1383. * tmac/*.tmac: this.
  1384. * tmac/man.local: Fix comment.
  1385. * tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man,
  1386. tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated.
  1387. Added some `FILES' sections. More use of @...@ directives. Other
  1388. minor updates.
  1389. * arch/djgpp/README, font/devutf8/NOTES: Updated.
  1390. * doc/homepage.ms, doc/groff.texinfo: Updated.
  1391. * man/groff.man, man/roff.man: Updated.
  1392. * src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man,
  1393. src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
  1394. src/devices/grotty/grotty.man: Updated.
  1395. * src/preproc/pic/pic.man: Updated.
  1396. * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old
  1397. instead of -mdoc.old.
  1398. * src/roff/grog/grog.man: Document -mdoc and -mdoc-old.
  1399. * src/roff/nroff/nroff.man: Updated.
  1400. * NEWS: Updated.
  1401. * tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment.
  1402. * tmac/mm.diff: Removed -- it has no use now since the mm package
  1403. is part of groff.
  1404. * tmac/*: Removed trailing spaces.
  1405. * arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in
  1406. the tmac subdirectory also).
  1407. * Makefile.comm, Makefile.in: Remove tmac_{s,an}_prefix stuff.
  1408. * tmac/Makefile.sub: Adapted to new macro names; removed `wrap'
  1409. stuff since it is no longer needed.
  1410. * README, PROBLEMS: Updated.
  1411. 2000-10-25 Werner LEMBERG <wl@gnu.org>
  1412. Invert current behaviour: Search first FOOBAR.tmac, then
  1413. tmac.FOOBAR.
  1414. * src/roff/troff/input.cc: Introduce MACRO_POSTFIX.
  1415. (open_mac_file, macro_source): Implement it.
  1416. * src/roff/troff/troff.man, tmac/groff_tmac.man, man/roff.man,
  1417. doc/groff.texinfo, NEWS: Document it.
  1418. * src/roff/nroff/nroff.man, src/roff/groff/groff.man, man/groff.man:
  1419. Small documentation improvements.
  1420. * test-groff: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac
  1421. subdirectory also).
  1422. * font/devps/Makefile.sub: Fix rules for dingbats.*map.
  1423. 2000-10-24 Werner LEMBERG <wl@gnu.org>
  1424. Add local tmac directory (groff/site-tmac).
  1425. * Makefile.in: Add $(localtmacdir).
  1426. (uninstall_dirs): Add $(localtmacdir).
  1427. * Makefile.comm (.man.n): Add @LOCALMACRODIR@.
  1428. * tmac/Makefile.sub (install_data, uninstall_sub): Handle man.local
  1429. in $(localtmacdir). Create $(localtmacdir).
  1430. * man/roff.man, src/roff/troff/troff.man, NEWS, doc/groff.texinfo:
  1431. Updated and minor fixes.
  1432. Rename font/devps/generate/dingbats[r]map to dingbats.[r]map.
  1433. * font/devps/generate/Makefile.sub, arch/djgpp/README: Adjust.
  1434. 2000-10-23 Werner LEMBERG <wl@gnu.org>
  1435. Move hyphen.us to tmac directory.
  1436. * src/roff/troff/hyphen.us: Removed.
  1437. * src/tmac/hyphen.us: Added.
  1438. * src/roff/troff/Makefile.sub, tmac/Makefile.sub: Updated.
  1439. Change installation structure for data files from .../groff/... to
  1440. .../groff/<version><revision>/... to be conform with other GNU
  1441. programs.
  1442. * Makefile.in, Makefile.comm, src/utils/indxbib/Makefile.sub,
  1443. doc/Makefile: Implement it.
  1444. * aclocal.m4 (GROFF_PAGE): Add test for new directory structure.
  1445. * configure: Updated.
  1446. * arch/djgpp/README, font/devutf8/NOTES: Use it.
  1447. * NEWS: Document it.
  1448. * man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and
  1449. @MACRODIR@ instead of hard-coded directories.
  1450. 2000-10-22 Werner LEMBERG <wl@gnu.org>
  1451. Implement $GROFF_BIN_PATH environment variable (which defaults to
  1452. $bindir) used for child programs of groff and similar wrappers.
  1453. * gendefs.sh: Improve documentation.
  1454. * Makefile.comm (,man.n), src/include/Makefile.sub (defs.h),
  1455. src/preproc/eqn/Makefile.sub (neqn),
  1456. src/roff/nroff/Makefile.sub (nroff): Add $(bindir).
  1457. * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Implement
  1458. $GROFF_BIN_PATH.
  1459. * src/roff/groff/groff.cc (main): Implement $GROFF_BIN_PATH and
  1460. $GROFF_PATH__ (the latter for communication with troff).
  1461. * src/roff/troff/input.cc (main): Use $GROFF_PATH__ for $PATH if
  1462. set.
  1463. * NEWS, src/roff/nroff/nroff.man, src/roff/groff/groff.man,
  1464. doc/groff.texinfo: Document it.
  1465. * doc/groff.texinfo: Improve documentation of troff's -a option.
  1466. 2000-10-17 Gaius Mulley <gaius@glam.ac.uk>
  1467. * src/roff/troff/node.cc: Fixed calculation of opminx and fixed
  1468. non-intrusive eol marker.
  1469. (troff_output_file::determine_line_limits): New function.
  1470. (troff_output_file::draw): Use it.
  1471. * src/roff/troff/env.cc (environment::add_html_tag): Use output() +
  1472. output_pending_lines() instead of output_line().
  1473. * src/preproc/eqn/main.cc (do_file): Fix graphic_end().
  1474. * src/preproc/html2/pre-html.cc (char_buffer::write_file_troff,
  1475. createImage): Small fixes.
  1476. 2000-10-14 Werner LEMBERG <wl@gnu.org>
  1477. Replace tmac.safer with a real secure solution.
  1478. * src/roff/troff/input.cc (open_request, opena_request, pipe_source,
  1479. system_request, pipe_output): Disable requests if in safer mode.
  1480. * src/roff/groff/groff.cc (main): Remove reference to tmac.safer.
  1481. * tmac/tmac.safer, tmac/groff_msafer.man: Removed.
  1482. * tmac/Makefile.sub, NEWS, man/roff.man, tmac/groff_tmac.man,
  1483. doc/groff.texinfo, src/roff/groff/groff.man,
  1484. src/roff/troff/troff.man, arch/djgpp/README: Updated.
  1485. * src/devices/grops/ps.cc (main), src/devices/grops/psrm.cc
  1486. (resource_manager::output_prolog): Replace setenv() with putenv().
  1487. 2000-10-09 Werner LEMBERG <wl@gnu.org>
  1488. * src/libs/libbib/map.c, src/libs/libgroff/getcwd.c,
  1489. src/libs/libgroff/strtol.c, src/preproc/html2/image.cc,
  1490. src/preproc/html2/pre-html.cc, src/preproc/html2/pushbackbuffer.cc,
  1491. src/roff/groff/pipeline.c: Removing `#ifndef errno' to avoid
  1492. compilation errors with some compilers. It seems that this code
  1493. is no longer necessary -- if yes, it is easy to add some #ifdef's
  1494. for that particular old-fashioned compiler.
  1495. * MORE.STUFF: Added info about Meta-tbl.
  1496. * doc/groff.texinfo: Added more info about `.if "..."..."'.
  1497. 2000-10-07 Werner LEMBERG <wl@gnu.org>
  1498. Adding a new escape sequence \B'...': If the string between
  1499. the delimiters is a valid numeric expression, return the character
  1500. `1', and `0' otherwise. This is an analogon to \A.
  1501. * src/roff/troff/input.cc (do_expr_test): Implement it.
  1502. (token::next): Use it.
  1503. * src/roff/troff/troff.man, NEWS, man/groff.man: Document it.
  1504. * tmac/tmac.trace: Made independent from escape character.
  1505. 2000-10-06 Werner LEMBERG <wl@gnu.org>
  1506. Adding a new request .dei: define indirect. The first and second
  1507. parameter of .dei are taken from string registers instead directly;
  1508. this very special request is needed to make tmac.trace independent
  1509. from the escape character (which might even be disabled).
  1510. * src/roff/troff/input.cc (do_define_macro): Implement it.
  1511. (define_macro_indirect): New function.
  1512. (init_input_requests): Use it.
  1513. Adding two requests .ecs and .ecr: Save and restore the escape
  1514. character. These two requests are needed to make tmac.trace
  1515. independent from the escape character (which might even be
  1516. disabled).
  1517. * src/roff/troff/input.cc (save_escape_char, restore_escape_char):
  1518. Implement it.
  1519. (init_input_requests): Use it.
  1520. * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
  1521. 2000-09-22 Ricardo Soares Guimarăes <ricardo@conectiva.com.br>
  1522. Adding a new option -P and new environment variable GROPS_PROLOGUE
  1523. to grops, selecting a different prologue file (minor modifications
  1524. by WL).
  1525. * src/devices/grops/psrm.cc (resource_manager::output_prolog),
  1526. src/devices/grops/ps.cc (main): Implement it.
  1527. * src/devices/grops/grops.man, NEWS: Document it.
  1528. 2000-09-22 Werner LEMBERG <wl@gnu.org>
  1529. * INSTALL: Add info about selecting paper format.
  1530. 2000-09-21 Werner LEMBERG <wl@gnu.org>
  1531. * src/roff/troff/input.cc (main): Fixing compiler warning.
  1532. * src/include/{driver.h, lib.h}: Move inclusion of string.h and
  1533. strings.h from the former to the latter.
  1534. * src/devices/grolbp/lpb.cc, src/include/lib.h: Move strncasecmp()
  1535. stuff from the former to the latter.
  1536. 2000-09-11 Werner LEMBERG <wl@gnu.org>
  1537. Implementing two new requests .tm1 and .tmc: The former is similar
  1538. to .tm but can output leading spaces; its syntax is similar to
  1539. defining a string, i.e., a `"' can be used to mark the beginning of
  1540. the string to be written to stderr: `.tm1 " test'. The latter is
  1541. similar to .tm1 but doesn't write out a final newline character.
  1542. * src/roff/troff/input.cc (terminal1, terminal_continue,
  1543. do_terminal): New functions.
  1544. (init_input_requests): Use them.
  1545. * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
  1546. 2000-09-09 Werner LEMBERG <wl@gnu.org>
  1547. * tmac/groff_mdoc.samples.man: Small fixes.
  1548. 2000-09-08 Werner LEMBERG <wl@gnu.org>
  1549. * tmac/groff_mdoc.man: Fixing typo.
  1550. 2000-09-02 Werner LEMBERG <wl@gnu.org>
  1551. Implementing a .nop request which does nothing.
  1552. * src/roff/troff/input.cc (nop_request): New function.
  1553. (init_input_requests): Use it.
  1554. * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
  1555. 2000-09-01 Werner LEMBERG <wl@gnu.org>
  1556. * doc/groff.texinfo: Added some comments.
  1557. 2000-08-30 Werner LEMBERG <wl@gnu.org>
  1558. * src/roff/troff/TODO: Updated.
  1559. 2000-08-25 Werner LEMBERG <wl@gnu.org>
  1560. * doc/groff.texinfo: Fix comment how to compile the DVI file.
  1561. 2000-08-25 Eli Zaretskii <eliz@is.elta.co.il>
  1562. * font/devps/generate/Makefile (SHELL): Define explicitly to
  1563. "/bin/sh", for non-Unix platforms.
  1564. (extraclean): Use a more portable "" quoting instead of a
  1565. backslash (which doesn't work on DOS/Windows).
  1566. * font/devlj4/generate/Makefile (extraclean): Ditto.
  1567. * font/devdvi/generate/Makefile (extraclean): Ditto.
  1568. 2000-08-25 Werner LEMBERG <wl@gnu.org>
  1569. * NEWS, doc/groff.texinfo, tmac/groff_tmac.man, man/roff.man,
  1570. src/roff/troff/troff.man: Document Eli's latest changes.
  1571. 2000-08-25 Eli Zaretskii <eliz@is.elta.co.il>
  1572. * src/roff/troff/input.cc (open_mac_file, macro_source): Support
  1573. macro file names of the form NAME.tmac as well as tmac.NAME.
  1574. 2000-08-25 Werner LEMBERG <wl@gnu.org>
  1575. * src/include/posix.h: Remove definition of FILENAME_MAX.
  1576. * src/preproc/html2/pre-html.h, pre-html.cc: Add return type to
  1577. `sys_fatal' and `stop' function().
  1578. * test-groff: Updated.
  1579. 2000-08-24 Gaius Mulley <gaius@glam.ac.uk>
  1580. Added the new troff command .output <arg> to suppress output (while
  1581. still obeying motion) and also the opminx, opminy, opmaxx, opmaxy
  1582. registers (for passing the output dimensions to the output device).
  1583. * src/roff/troff/div.cc (top_level_diversion::output): Use `width'
  1584. parameter.
  1585. * src/roff/troff/node.h, src/roff/troff/node.cc
  1586. (troff_output_file::really_print_line,
  1587. ascii_output_file::really_print_line,
  1588. supress_output_file::really_print_line): Use `width' parameter.
  1589. (troff_output_file::really_on, troff_output_file::really_off,
  1590. output_file::on, output_file::off, real_output_file::on,
  1591. real_output_file::off, real_output_file::really_on,
  1592. real_output_file::really_off): New functions.
  1593. (real_output_file:public output_file): New variable `output_on'.
  1594. (real_output_file::begin_page, real_output_file::copy_file,
  1595. real_output_file::transparent_char, real_output_file::print_line):
  1596. Use it.
  1597. (real_output_file::print_line): Use check_output_limits.
  1598. * src/roff/troff/reg.h, src/roff/troff/request.h,
  1599. src/roff/troff/input.cc (assign_registers): New function to remove
  1600. two `goto's.
  1601. (do_ps_file): Use it.
  1602. (check_output_limits, reset_output_registers, output_request,
  1603. init_output_requests): New functions.
  1604. (init_input_requests): Updated.
  1605. Added new grohtml2 device and html2 preprocessor (coding
  1606. not yet finished) which will eventually replace grohtml.
  1607. * Makefile.in, tmac/Makefile.sub, tmac/eqnrc, tmac/troffrc-end:
  1608. Updated.
  1609. * src/include/htmlindicate.h, src/include/htmlindicate
  1610. (html_begin_suppress, html_end_suppress): New functions.
  1611. * src/preproc/tbl/main.cc: Use it.
  1612. * src/roff/groff/groff.cc: Add support for html2 device (which will
  1613. automatically invoke the html2 preprocessor).
  1614. * src/roff/troff/input.cc (is_html2): New variable.
  1615. * src/roff/troff/troff.h, src/roff/troff/env.h,
  1616. src/roff/troff/env.cc (environment::add_html_tag): New function
  1617. (uses `is_html2').
  1618. (environment::do_break): Use it.
  1619. * font/devhtml2/*: New files.
  1620. * src/devices/grohtml2: New device.
  1621. * src/preproc/html2: New preprocessor.
  1622. * tmac/tmac.html-tags, tmac/tmac.html2: New files.
  1623. 2000-08-23 Werner LEMBERG <wl@gnu.org>
  1624. * src/devices/grolbp/lbp.cc: Same workaround for sinix as for AIX.
  1625. 2000-08-22 Werner LEMBERG <wl@gnu.org>
  1626. * src/include/lib.h: Provide a fix for IRIX to not include
  1627. groff-getopt.h.
  1628. 2000-08-18 Werner LEMBERG <wl@gnu.org>
  1629. * configure.in: Don't provide an empty value for SH_SCRIPT_SED_CMD
  1630. since some non-GNU sed programs can't handle null regexps.
  1631. * configure, src/preproc/eqn/Makefile.sub,
  1632. src/roff/grog/Makefile.sub, src/roff/nroff/Makefile.sub: Updated.
  1633. * src/devices/grolbp/lbp.cc: Add an AIX workaround for an autoconf
  1634. bug (string.h and strings.h are both needed according to latest
  1635. POSIX standard).
  1636. * MORE.STUFF: Added info about unroff and troffcvt.
  1637. 2000-08-08 Werner LEMBERG <wl@gnu.org>
  1638. * tmac/tmac.a4: Will now work with ms macros also; -ma4 should be
  1639. used before -ms.
  1640. * tmac/tmac.man.old: Remove unused number register.
  1641. * tmac.doc: Minor documentation fix.
  1642. 2000-08-07 Paul Eggert <eggert@twinsun.com>
  1643. * src/roff/groff/pipeline.c (is_system_shell):
  1644. Fix typo: "monocased_shell" no longer exists.
  1645. 2000-08-07 Paul Eggert <eggert@twinsun.com>
  1646. Remove FILENAME_MAX limits.
  1647. * src/roff/groff/pipeline.c (is_system_shell): Do not assume
  1648. that the argument length is less than FILENAME_MAX.
  1649. * src/libs/libgroff/tmpfile.cc (add_tmp_file): Likewise.
  1650. Use struct hack to allocate and free file name.
  1651. (struct xtmpfile_list): fname is now part of the structure,
  1652. not a pointer to another string.
  1653. 2000-08-07 Tom Schmidt <tschmidt@micron.com>
  1654. * src/include/posix.h: Add a default value for FILENAME_MAX.
  1655. 2000-08-06 Paul Eggert <eggert@twinsun.com>
  1656. Add support for new BSD-style man pages (with ".Dd" instead of
  1657. ".TH"), so that "groff -man" understands both styles, even
  1658. when running "groff -man" on a host whose system man page
  1659. macros don't support ".Dd".
  1660. * tmac/Makefile.sub (NORMALFILES): Add tmac.an.old.
  1661. (stamp-wrap): Source tmac.andoc first when wrapping man macros,
  1662. in case the system man macros don't define Dd or TH.
  1663. * tmac/tmac.an.old: Renamed from tmac/tmac.an.
  1664. * tmac/tmac.an: New one-line file.
  1665. * tmac/tmac.andoc (TH): Adjust to the tmac.an.old file renaming.
  1666. 2000-08-06 Werner LEMBERG <wl@gnu.org>
  1667. * src/roff/troff/troff.man: Fixing typos.
  1668. Local Variables:
  1669. version-control: never
  1670. coding: latin-1
  1671. End: