PageRenderTime 65ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/contrib/groff/ChangeLog

https://bitbucket.org/freebsd/freebsd-head/
#! | 5253 lines | 3763 code | 1490 blank | 0 comment | 0 complexity | ae2fa7f9f0bc4256c543a88a085551af 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. 2005-09-04 Werner LEMBERG <wl@gnu.org>
  2. * tmac/groff_ms.man, doc/groff.texinfo: Synchronize.
  3. * doc/webpage.ms: Updated.
  4. * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
  5. 2005-09-04 Jörgen Grahn <jgrahn@algonet.se>
  6. * tmac/groff_ms.man: Document `PO' better.
  7. 2005-09-03 Werner LEMBERG <wl@gnu.org>
  8. * NEWS: Document grotty changes.
  9. 2005-09-01 Keith Marshall <keith.d.marshall@ntlworld.com>
  10. Backward compatibility support for `man' program.
  11. * tmac/an-old.tmac (LL): Initialize it to respect prior LL register
  12. assignment, prior `.ll' request and then package defaults, in this
  13. specified order of decreasing priority.
  14. * tmac/groff_man.man, doc/groff.texinfo: Document altered `LL'
  15. register initialization priorities.
  16. 2005-08-29 Gary W. Swearingen <garys@opusnet.com>
  17. * tmac/groff_mdoc.man: Go into more details how the `AUTHORS'
  18. section should look like.
  19. 2005-08-29 Werner LEMBERG <wl@gnu.org>
  20. * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't
  21. be abbreviated.
  22. 2005-08-27 Bernd Warken
  23. * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor
  24. fixes.
  25. 2005-08-11 Bernd Warken
  26. * tmac/www.tmac (URL, MTO): Handle empty \\$1 better.
  27. 2005-08-09 Bernd Warken
  28. * tmac/www.tmac (URL, MTO): Use bold series if color support is
  29. deactivated.
  30. 2005-08-02 Bernd Warken
  31. * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete
  32. as argument to $(INSTALL_INFO). The latter isn't portable.
  33. Remove $(HTMLEXAMPLEFILES) too.
  34. * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and
  35. $(datadir)/doc too.
  36. Suppress warning messages and return always true.
  37. * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too.
  38. 2005-07-02 Bernd Warken
  39. * src/devices/xditview/gxditview.man: Change many `.I' to `.B'.
  40. * man/groff_out.man: More markup and minor improvements.
  41. * src/roff/groff/groff.man: Minor improvements.
  42. 2005-06-28 Werner LEMBERG <wl@gnu.org>
  43. * ChangeLog: Split off older entries into...
  44. * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New
  45. files.
  46. 2005-06-26 Bernd Warken
  47. * src/devices/xditview/gxditview.man: More minor fixes.
  48. 2005-06-24 Werner LEMBERG <wl@gnu.org>
  49. * src/preproc/pic/troff.cpp (troff_output::set_fill,
  50. troff_output::set_color, troff_output::reset_color): Use .bcolor and
  51. .fcolor instead of \m and \M, respectively.
  52. 2005-06-23 Bernd Warken
  53. * src/devices/xditview/gxditview.man: More minor fixes.
  54. * README: Formatting issues.
  55. Mention some problems with Debian.
  56. 2005-06-23 Bernd Warken
  57. * src/devices/xditview/gxditview.man: Revised and improved.
  58. 2005-06-22 Werner LEMBERG <wl@gnu.org>
  59. Another round in fixing getopt problems. Hopefully the last one!
  60. This time we use the getopt stuff from gnulib and define a prefix
  61. unconditionally so that there are no collisions with any other
  62. getopt implementations. This is a slight waste of space in case
  63. we already use a GNU getopt implementation, but on
  64. the other hand it really simplifies life.
  65. * src/include/getopt.h: Use gnulib version.
  66. * src/include/getopt_int.h: Use gnulib version.
  67. * src/include/groff-getopt.h: Removed. Obsolete now.
  68. * src/include/lib.h: Regarding getopt, don't handle any platform
  69. specially; just include getopt.h.
  70. (__GETOPT_PREFIX): Define (before getopt.h).
  71. * src/include/Makefile.sub (HDRS): Updated.
  72. * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use
  73. gnulib version.
  74. * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set
  75. __GETOPT_PREFIX.
  76. * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c
  77. (__GETOPT_PREFIX): Define (before getopt.h).
  78. 2005-06-21 Werner LEMBERG <wl@gnu.org>
  79. * src/include/lib.h: Provide a fix for Mac OS X to not include
  80. groff-getopt.h.
  81. 2005-06-20 Denis M. Wilson <dmw@oxytropis.plus.com>
  82. * font/devps/prologue.ps (EP): Dont' use `bind'. Reason: Using
  83. `bind' to define a procedure which contains `showpage' means that an
  84. invocation of `showpage' may execute wrongly (the exact effect
  85. depending on the interpreter). Not usually a problem except under
  86. transformations, such as combining pages.
  87. (PEND): Don't call `clear'. Reason: Using `clear' in the definition
  88. of /PEND means that stack underflow will occur if the stack is
  89. deliberately non-empty before document inclusion. If included
  90. files are found to be generally badly behaved, we could replace the
  91. `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've
  92. never found this necessary).
  93. 2005-06-20 Jörgen Grahn <jgrahn@algonet.se>
  94. * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero
  95. earlier to get correct error message.
  96. 2005-06-16 Bernd Warken
  97. * src/roff/nroff/nroff.sh: Add support for iso-8859-15.
  98. 2005-06-15 Werner LEMBERG <wl@gnu.org>
  99. Another try to update getopt files. This time we add a dummy
  100. gettext.h file to satisfy the dependency.
  101. * src/include/getopt.h, src/libs/libgroff/getopt.c,
  102. src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
  103. * src/include/getopt_int.h: New file (from GNU libc CVS).
  104. * src/include/gettext.h: Dummy file which just defines a gettext()
  105. macro.
  106. * src/include/groff-getopt.h: Updated.
  107. * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h.
  108. * src/libs/libdriver/input.cpp (IntArray): Remove superfluous
  109. `const' keywords in return value.
  110. * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer):
  111. Remove redundant variable `old'.
  112. (pushBackBuffer::skipToNewline): Remove redundant variable `ch'.
  113. * src/preproc/tbl/main.cpp (process_table): Remove redundant
  114. variable `c'.
  115. Fix more friend name injection problems since modern C++ compilers
  116. fail otherwise. We simply provide (global) declarations for all
  117. functions declared as friends. This is not really necessary but
  118. doesn't harm.
  119. * src/preproc/eqn/lex.cpp: Provide declarations for get_char,
  120. peek_char, and get_location.
  121. * src/preproc/refer/ref.h: Provide declarations for
  122. compare_reference, same_reference, same_year, same_date,
  123. same_author_last_name, and same_author_name.
  124. * src/roff/troff/div.h: Provide declarations for do_divert and
  125. page_offset.
  126. * src/roff/troff/env.h: Provide declarations for title_length,
  127. space_size, fill, no_fill, adjust, no_adjust, center, right_justify,
  128. vertical_spacing, post_vertical_spacing, line_spacing, line_length,
  129. indent, temporary_indent, do_underline, do_input_trap, set_tabs,
  130. margin_character, no_number, number_lines, leader_character,
  131. tab_character, hyphenate_request, no_hyphenate,
  132. hyphen_line_max_request, hyphenation_space_request,
  133. hyphenation_margin_request, line_width, tabs_save, tabs_restore,
  134. line_tabs_request, widow_control_request, and do_divert.
  135. * src/roff/troff/input.cpp: Provide declaration for chop_macro.
  136. * src/roff/troff/node.cpp: Provide declarations for class
  137. tfont_spec.
  138. Provide declaration for make_tfont.
  139. 2005-05-29 Werner LEMBERG <wl@gnu.org>
  140. * doc/fdl.texi: Updated to version 1.2. Reported by Bernd Warken.
  141. 2005-05-28 Werner LEMBERG <wl@gnu.org>
  142. * contrib/pdfmark/Makefile.sub (.ms.pdf): Use `--stylesheet', not
  143. `--style'.
  144. * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove
  145. redundant semicolons.
  146. * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub,
  147. src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub:
  148. Define `MLIB'. Some compilers need this for linking with libgroff.
  149. 2005-05-27 Werner LEMBERG <wl@gnu.org>
  150. * MANIFEST, README, doc/webpage.ms: Updated.
  151. 2005-05-26 Werner LEMBERG <wl@gnu.org>
  152. * All affected files: Update postal address of FSF.
  153. 2005-05-25 Keith Marshall <keith.d.marshall@ntlworld.com>
  154. Bernd Warken
  155. * README: More fixes.
  156. * README.CVS: Removed. Its contents is now part of the README file.
  157. 2005-05-21 Werner LEMBERG <wl@gnu.org>
  158. * README: Updated. Based on a patch from Bernd Warken.
  159. 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
  160. Miscellaneous script portability enhancements.
  161. * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
  162. generated conftest.sh script, conforming to portability
  163. recommendation in autoconf docs.
  164. * configure: Likewise, for code generated by GROFF_CSH_HACK.
  165. * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
  166. to portability recommendation in autoconf docs.
  167. * contrib/gdiffmk/gdiffmk.sh: Likewise.
  168. * contrib/gdiffmk/tests/runtests.in: Likewise.
  169. * contrib/grap2graph/grap2graph.sh: Likewise.
  170. * contrib/groffer/groffer.sh: Likewise.
  171. * contrib/mm/mmroff.pl: Likewise.
  172. * contrib/mom/momdoc/appendices.html: Likewise.
  173. * contrib/pic2graph/pic2graph.sh: Likewise.
  174. * font/devps/generate/afmname: Likewise.
  175. * src/devices/xditview/ad2c: Likewise.
  176. * src/preproc/eqn/neqn.sh: Likewise.
  177. * src/roff/grog/grog.pl: Likewise.
  178. * src/roff/grog/grog.sh: Likewise.
  179. * src/roff/nroff/nroff.sh: Likewise.
  180. * PROBLEMS: Likewise, in embedded script examples.
  181. 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
  182. Improve portability of `pdfroff' shell script.
  183. * arch/misc/shdeps.sh: Add space in shebang, conforming to
  184. portability guidelines in `autoconf' docs.
  185. (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
  186. initialization code. Used by contrib/pdfmark/pdfroff.sh's
  187. `searchpath' function.
  188. 2005-05-14 Werner LEMBERG <wl@gnu.org>
  189. * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
  190. contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
  191. needed for newer ImageMagick versions.
  192. 2005-05-07 Werner LEMBERG <wl@gnu.org>
  193. * src/preproc/refer/refer.man: Many small typographic fixes.
  194. 2005-05-06 Jeff Conrad <jeff_conrad@msn.com>
  195. * src/devices/grohtml/post-html.cpp (assert_state::~assert_state):
  196. Use `char *' cast for a_delete.
  197. 2005-05-03 Werner LEMBERG <wl@gnu.org>
  198. * src/libs/libgroff/maxpathname.cpp: Include stdlib.h.
  199. src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
  200. 2005-05-03 Jeff Conrad <jeff_conrad@msn.com>
  201. * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using
  202. `a_delete' for `const char *'.
  203. 2005-05-03 Werner LEMBERG <wl@gnu.org>
  204. * src/devices/grohtml/post-html.cpp,
  205. src/devices/grohtml/html-table.cpp,
  206. src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp:
  207. Replace malloc/free with new/delete/a_delete.
  208. * src/devices/grolbp/lbp.h: Remove superfluous semicolons which
  209. are prohibited with ANSI C++.
  210. (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the
  211. function has a variable number of arguments).
  212. * src/preproc/grn/main.cpp (doinput): Change return type to `int'.
  213. Simplify function and update all callers.
  214. 2005-05-02 Werner LEMBERG <wl@gnu.org>
  215. Undo getopt changes from 2005-04-30. We don't want a dependency
  216. on gettext.
  217. * src/include/getopt_int.h: Removed.
  218. * src/include/getopt.h, src/include/groff-getopt.h,
  219. src/include/Makefile.sub, src/libs/libgroff/getopt.c,
  220. src/libs/libgroff/getopt1.c: Revert to previous version.
  221. * src/include/nonposix.h (access) [_MSC_VER]: New macro.
  222. * src/include/posix.h (F_OK): Define conditionally.
  223. * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
  224. different variable name in second `for' loop to avoid MSVC compiler
  225. problem.
  226. 2005-04-30 Werner LEMBERG <wl@gnu.org>
  227. AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
  228. * aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
  229. * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
  230. * configure, src/include/config.hin: Regenerated.
  231. * PROBLEMS: Updated.
  232. Update getopt files.
  233. * src/include/getopt.h, src/libs/libgroff/getopt.c,
  234. src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
  235. * src/include/getopt_int.h: New file (from GNU libc CVS).
  236. * src/include/groff-getopt.h: Updated.
  237. * src/include/Makefile.sub (HDRS): Add getopt_int.h.
  238. * font/devutf8/NOTES: Updated.
  239. 2005-04-28 Werner LEMBERG <wl@gnu.org>
  240. Bug fix for Win32 relocatable code. Based on a patch from Keith
  241. Marshall.
  242. * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
  243. also.
  244. * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
  245. (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
  246. 2005-04-28 Keith Marshall <keith.d.marshall@ntlworld.com>
  247. Correct `gnu.eps' handling for build from distribution tarball, with
  248. separate source and build directories.
  249. * doc/Makefile.sub: (examples.stamp): New target; forces copy of
  250. grnexmpl.g, groff.css and gnu.eps from source to build directory;
  251. generate gnu.eps from gnu.xpm if required; touch examples.stamp.
  252. (prepare_examples): Make it depend on examples.stamp.
  253. (CLEANADD): Add examples.stamp.
  254. 2005-04-27 Werner LEMBERG <wl@gnu.org>
  255. Implement the rule
  256. position: '(' position ')'
  257. in pic.
  258. * src/preproc/pic/pic.y (position, position_not_place): Handle
  259. additional parentheses.
  260. * doc/pic.ms: Updated.
  261. 2005-04-23 Larry Jones <lawrence.jones@ugs.com>
  262. * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
  263. 2005-04-18 Werner LEMBERG <wl@gnu.org>
  264. * src/roff/groff/pipeline.c: Don't include ctype.h.
  265. 2005-04-13 Werner LEMBERG <wl@gnu.org>
  266. * src/roff/nroff/nroff.man: Document option `-M'.
  267. 2005-04-13 Bruce Lilly <blilly@erols.com>
  268. * src/roff/nroff/nroff.sh: Make the script accept option `-M'.
  269. 2005-04-01 Kees Zeelenberg <kzlg@users.sourceforge.net>
  270. Werner LEMBERG <wl@gnu.org>
  271. Add binary relocation support for Windows platforms.
  272. * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'.
  273. * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files.
  274. * src/libs/libgroff/searchpath.cpp: Handle `relocate'.
  275. (search_path::search_path, search_path::open_file_cautious): Use
  276. `relocate'.
  277. * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
  278. src/include/Makefile.sub (HDRS): Updated.
  279. 2005-04-01 Werner LEMBERG <wl@gnu.org>
  280. * src/devices/grohtml/post-html.cpp: Don't use strdup/free but
  281. strsave/a_delete.
  282. * src/libs/libgroff/font.cpp: Replace strdup with strsave.
  283. * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since
  284. lib.h already does it.
  285. * src/libs/libgroff/maxpathname.cpp: New file, defining
  286. path_name_max.
  287. * src/include/lib.h: Add prototype for path_name_max.
  288. * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated.
  289. * src/include/nonposix.h (PATH_EXT): New macro.
  290. 2005-03-28 Werner LEMBERG <wl@gnu.org>
  291. Add support for double- and zero-width characters in grotty.
  292. * src/devices/grotty/tty.cpp (glyph): Add width.
  293. (tty_printer::make_underline, tty_printer::make_bold,
  294. tty_printer::add_character): Add parameter to pass character width.
  295. Update all callers.
  296. (tty_printer::end_page): Increase hpos by actual character width.
  297. * font/devutf8/R.proto: Specify zero width for non-spacing
  298. characters.
  299. * tmac/unicode.tmac: Remove definitions for non-spacing entities.
  300. * Makefile.comm (extraclean): Remove more junk files.
  301. 2005-03-25 Werner LEMBERG <wl@gnu.org>
  302. * configure.ac: Undo change from 2005-03-24.
  303. * configure: Regenerated.
  304. 2005-03-24 Werner LEMBERG <wl@gnu.org>
  305. * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests.
  306. (dist): Search Makefile while descending into $(EXTRADIRS).
  307. * doc/Makefile.in (.PHONY): Add.
  308. (clean): Don't remove *.png and *.eps.
  309. Don't handle *.gif.
  310. (realclean): Remove *.png and *.eps.
  311. (extraclean): Depend on distclean.
  312. * configure.ac: Add copyright.
  313. Handle contrib/pdfmark/Makefile.
  314. * configure: Regenerated.
  315. 2005-03-18 Larry Kollar <kollar@alltel.net>
  316. Add numbered and definition lists to www.tmac.
  317. * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
  318. www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
  319. auxiliary string registers.
  320. (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
  321. www-ol-ctr3, www-dl-shift): New auxiliary number registers.
  322. (www-level): Removed.
  323. (www-level1, www-level2, www-level3): Initialize to empty.
  324. (www-level0, www-level4, www-level5, www-level6, www-level7,
  325. www-level8, www-level9): New string registers.
  326. (www-push-li, www-pop-li): New macros.
  327. (www-push-level, www-pop-level): Renamed to...
  328. (www-push-ul-level, www-pop-ul-level): This.
  329. Updated.
  330. (www-push-ol-level, www-pop-ol-level): New macros.
  331. (ULS, ULE): Updated.
  332. (OLS, OLE, DLS, DLE): New user macros.
  333. (LI): Removed. It is aliased to one of...
  334. (www-li-ul, www-li-ol, www-li-dl): New macros.
  335. * tmac/groff_www.man: Document new macros.
  336. * NEWS: Updated.
  337. 2005-03-18 Werner LEMBERG <wl@gnu.org>
  338. * tmac/doc-common (doc-operating-system-NetBSD-2.0.1,
  339. doc-operating-system-NetBSD-2.0.2): New strings.
  340. * tmac/groff_mdoc.man: Updated.
  341. 2005-03-17 Werner LEMBERG <wl@gnu.org>
  342. * doc/Makefile.sub (CLEANADD): Add `groff.html'.
  343. 2005-03-17 Werner LEMBERG <wl@gnu.org>
  344. * src/libs/libgroff/hypot.c: Renamed to...
  345. * src/libs/libgroff/hypot.cpp: This. Updated to C++.
  346. * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
  347. * src/include/lib.h: Updated.
  348. 2005-03-16 Werner LEMBERG <wl@gnu.org>
  349. Add workaround for broken hypot() on Interix.
  350. * src/libs/libgroff/hypot.c: New wrapper file for `hypot'.
  351. * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'.
  352. (CSRCS): Add `hypot.c'.
  353. * src/include/lib.h: Declare `groff_hypot'.
  354. * src/preproc/grn/hgraph.cpp: Don't declare `hypot'.
  355. Use `groff_hypot'.
  356. * src/preproc/pic/pic.h: Don't declare `hypot'.
  357. * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'.
  358. 2005-03-15 Gaius Mulley <gaius@glam.ac.uk>
  359. * src/devices/grohtml/post-html.cpp
  360. (html_printer::lookahead_for_tables): End .ce properly to avoid a
  361. segfault.
  362. 2005-03-15 Werner LEMBERG <wl@gnu.org>
  363. makeinfo 4.8 doesn't produce good HTML output from groff.texinfo.
  364. * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output.
  365. * doc/Makefile.in (.texinfo.html): Call fixinfo.sh.
  366. 2005-03-14 Werner LEMBERG <wl@gnu.org>
  367. Add Cyrillic support to devutf8 and devhtml.
  368. * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks.
  369. * tmac/unicode.tmac: New file.
  370. * tmac/tty.tmac: Include unicode.tmac if device is utf8.
  371. * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac.
  372. * NEWS: Updated.
  373. 2005-03-02 Keith Marshall <keith.d.marshall@ntlworld.com>
  374. * src/libs/libdriver/printer.cpp (check_for_output_error): New
  375. function. It has been introduced to catch peculiar error contexts
  376. on MS-Windows platforms.
  377. 2005-02-28 Werner LEMBERG <wl@gnu.org>
  378. * src/roff/troff/input.cpp (string_iterator::fill): Protect against
  379. null pointer.
  380. * tmac/papersize.tmac: Convert `paper' string contents to lowercase.
  381. * configure: Regenerated.
  382. * NEWS: Updated.
  383. 2005-02-28 Keith Marshall <keith.d.marshall@ntlworld.com>
  384. Integrate `pdfmark' into normal groff build system;
  385. install macro `pdfmark' packages, build and install `pdfroff',
  386. and PDF format documentation.
  387. * Makefile.comm: Add PDFDOCDIR.
  388. * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
  389. pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
  390. (unstall_dirs): Add pdfdocdir.
  391. * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support
  392. `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS.
  393. (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
  394. GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
  395. (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
  396. (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
  397. set ALT_AWK_PROGS.
  398. (GROFF_AWK_PATH): New function; support `--with-awk' option, force
  399. use of GROFF_AWK_PREFS.
  400. (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
  401. and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
  402. * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS.
  403. Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
  404. also by modified GROFF_HTML_PROGRAMS).
  405. 2005-02-27 Gaius Mulley <gaius@glam.ac.uk>
  406. * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve
  407. paragraph spacing.
  408. (html_text::done_para): Unset `start_space'.
  409. (html_text::remove_para_align): Call `retrieve_para_space' for the
  410. spacing.
  411. * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset
  412. `seen_space'.
  413. (html_printer::do_check_center): Emit vertical space if necessary.
  414. * src/roff/troff/env.cpp (environment_switch): Preserve
  415. `seen_space', `seen_eol', and `suppress_next_eol' while switching
  416. environments.
  417. * src/roff/troff/node.cpp (suppress_node::suppress_node): Set
  418. `is_special'.
  419. 2005-02-20 Werner LEMBERG <wl@gnu.org>
  420. * src/preproc/eqn/eqn.man, NEWS: Document various extensions of
  421. eqn.
  422. 2005-02-17 Werner LEMBERG <wl@gnu.org>
  423. * doc/pic.ms, man/groff.man: Fix typos.
  424. * doc/groff.texinfo: Fix typos.
  425. (\LEmacro): Get proper mathematical spacing.
  426. 2005-02-16 Werner LEMBERG <wl@gnu.org>
  427. * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
  428. * configure: Regenerated with autoconf 2.59b.
  429. 2005-02-16 Gaius Mulley <gaius@glam.ac.uk>
  430. * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
  431. html_printer::start_font): Fix handling of preformatted text.
  432. 2005-02-15 Gaius Mulley <gaius@glam.ac.uk>
  433. These patches modify the indentation implementation to use `<p
  434. style=margin-left: n%>'. Many thanks to Peter and Larry for
  435. suggesting this solution. Grohtml only uses tables for `.IP' and
  436. related tags when the first operand has a short width.
  437. Similarly, they modify all vertical space code. By default, grohtml
  438. sets up a style sheet which uses no vertical space between `table',
  439. `pre', and `p' tags. It forces spaces when it needs them using
  440. `style="margin-top: 1em"'.
  441. * src/devices/grohtml/html-table.cpp: Include `html-text.h'.
  442. (html_table::emit_table_header, html_table::emit_new_row):
  443. Rewritten.
  444. (html_table::set_space): New function.
  445. (html_indent::html_indent): Don't set `is_used'.
  446. (html_indent::begin): Rewritten.
  447. (html_indent::end): Remove code in function.
  448. * src/devices/grohtml/html-table.h: Updated.
  449. (html_table): Make `out' public.
  450. * src/devices/grohtml/html-text.cpp (html_text::html_text):
  451. Initialize `start_space' with FALSE.
  452. (html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
  453. (html_text::issue_tag): Add argument to handle space style.
  454. (html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
  455. (html_text::flush_text): Don't set `start_space'.
  456. (html_text::push_para): Don't set `p->really_issued'.
  457. (html_text::do_emittext): Updated.
  458. (html_text::do_para): Add paremeter to handle space.
  459. Update all callers.
  460. (html_text::retrieve_para_space): New function.
  461. * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
  462. (tag_definition): Remove `really_issued'.
  463. (html_text): Updated.
  464. * src/devices/grohtml/post-html.cpp (html_printer): Add variables
  465. `current_column' and `row_space'.
  466. Update constructor.
  467. (html_printer::emit_raw, html_printer::write_header,
  468. html_printer::do_indent, html_printer::do_check_center,
  469. html_printer::do_tab_ts): Handle vertical space.
  470. (html_printer:do_tab_te, html_printer::do_end_para): Call
  471. `remove_para_space'.
  472. (html_printer::do_col): Rewritten.
  473. (html_printer::flush_globs): Remove debugging code.
  474. (html_printer::is_line_start): New function.
  475. (html_printer::start_font): Use `is_line_start'.
  476. (html_printer::writeHeadMetaStyle): New function.
  477. (html_printer::do_file_components, html_printer::~html_printer):
  478. Call `writeHeadMetaStyle'.
  479. * tmac/www.tmac (www-handle-percent): New macro.
  480. (MPIMG): Handle percent values for width and height parameters.
  481. (DC): Updated.
  482. * tmac/groff_www.man: Updated.
  483. 2005-02-14 Werner LEMBERG <wl@gnu.org>
  484. * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
  485. $psname and $italic_angle.
  486. Immediately restart file input loops if `split' returns an empty
  487. array.
  488. 2005-02-13 Michail Vidiassov <master@iaas.msu.ru>
  489. Werner LEMBERG <wl@gnu.org>
  490. Update afmtodit to better support Unicode (Michail).
  491. Update afmtodit to use Perl 5 syntax (Werner).
  492. * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
  493. `Getopts::Std'.
  494. Decorate variables with `my' where necessary.
  495. Use `defined' where necessary to avoid warnings.
  496. Don't use `do' for subroutine calls.
  497. Other minor syntax updates.
  498. Check for both `uXXXX[X[X]]' and `uniXXXX'.
  499. Handle glyph variants properly.
  500. (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
  501. strings.
  502. * src/utils/afmtodit/afmtodit.man: Updated.
  503. 2005-02-13 Werner LEMBERG <wl@gnu.org>
  504. Make groff.texinfo work with texinfo 4.8.
  505. * doc/groff.texinfo (@Var): Use @r and @slanted.
  506. (@defdummy, @Def*): Use @c to avoid empty lines.
  507. (\angles): Replaced with...
  508. (\Langlemacro, \Ranglemacro): New TeX macros.
  509. (@Langlemacro, @Ranglemacro): New variables defined with @set.
  510. (@angles): Use @Langlemacro and @Ranglemacro.
  511. (\LE): Replaced with...
  512. (\LEmacro): New TeX macro.
  513. (@LEmacro): New variable defined with @set.
  514. (@LE): Use @LEmacro.
  515. (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
  516. variables defined with @set.
  517. (@lparen, @rparen, @lbrack, @rbrack): Replaced with...
  518. (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
  519. Update all callers.
  520. Other minor updates.
  521. * doc/texinfo.tex: Update to texinfo version 4.8.
  522. * README.CVS: Updated.
  523. 2005-02-09 Alejandro López-Valencia <palopez@etb.net.co> (tiny change)
  524. * doc/groff.texinfo (ms Document Control Registers): Document `HY'
  525. and `FAM' registers.
  526. 2005-02-05 Werner LEMBERG <wl@gnu.org>
  527. * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
  528. tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
  529. Update BSD license.
  530. 2005-02-01 Werner LEMBERG <wl@gnu.org>
  531. * src/roff/groff/groff.man: Add information about paper size.
  532. 2005-01-25 Werner LEMBERG <wl@gnu.org>
  533. * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale. From
  534. NetBSD bin/29114.
  535. 2005-01-22 Ruslan Ermilov <ru@FreeBSD.org>
  536. * tmac/doc.tmac (Sm): Improved. It didn't work properly in many
  537. cases.
  538. (Re): Emit a warning if called without `.Rs'.
  539. (doc-finish-reference): Use parameter for decreasing
  540. `doc-reference-count'.
  541. (doc-print-reference): Pass specific count parameters to
  542. `doc-finish-reference'.
  543. 2005-01-21 Werner LEMBERG <wl@gnu.org>
  544. * src/libs/libdriver/input.cpp (delete_current_env, do_file):
  545. Reset pointers to zero after deallocation. This fixes a crash
  546. if a driver is called with multiple input files. Reported by
  547. Ken Chilton <ken@chiltonfamily.org>.
  548. * src/devices/grops/grops.man: Add more info on DSC.
  549. 2005-01-17 Ruslan Ermilov <ru@FreeBSD.org>
  550. * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
  551. Remove dead code.
  552. 2005-01-17 Werner LEMBERG <wl@gnu.org>
  553. * src/roff/troff/div.cpp (top_level_diversion::space): Protect
  554. against division by zero.
  555. 2005-01-13 Ruslan Ermilov <ru@FreeBSD.org>
  556. * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
  557. 2004-12-19 Werner LEMBERG <wl@gnu.org>
  558. * install-sh: New version; taken from texinfo CVS.
  559. 2004-12-17 Werner LEMBERG <wl@gnu.org>
  560. * tmac/devtag.tmac: Protect against loading twice.
  561. Protect agains compatibility mode.
  562. * tmac/www.tmac: Protect against loading twice.
  563. Load `devtag.tmac' before switching off compatibility mode.
  564. * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
  565. 2004-12-16 Mike Bianchi <mbianchi@Foveal.com>
  566. * configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
  567. * configure: Updated.
  568. 2004-12-15 Thomas Klausner <wiz@netbsd.org>
  569. * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
  570. 2004-12-15 Werner LEMBERG <wl@gnu.org>
  571. Make `test-groff' work again -- previously, wrong paths have been
  572. used. Additionally, it can now be called from anywhere.
  573. * test-groff.in: Don't test for groff binary. This is no longer
  574. necessary since the proper paths are determined by `configure'.
  575. (EXEEXT): Removed. No longer used.
  576. (srcdir, builddir): Use values provided by the configure script.
  577. (XENVIRONMENT): Updated.
  578. * INSTALL: Updated.
  579. 2004-12-14 Gaius Mulley <gaius@glam.ac.uk>
  580. Make .tag and .taga work for all devices (but only grohtml actually
  581. handles them).
  582. * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
  583. (text_glob::is_br, page::add_tag, html_printer::troff_tag,
  584. html_printer::handle_assertion): Don't use hard-coded string
  585. lengths.
  586. (html_printer::lookahead_for_table): Reset `tbl' properly if
  587. necessary.
  588. (html_printer::devtag): New function, handling `devtag'.
  589. (html_printer::special): Don't handle `html-tag'.
  590. * src/include/printer.h, src/libs/libdriver/printer.cpp
  591. (printer::devtag): New virtual function.
  592. * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
  593. `devtag'.
  594. * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
  595. src/roff/troff/node.cpp: s/html-tag/devtag/.
  596. * src/roff/troff/input.cpp (tag, taga): Always call
  597. curenv->add_node.
  598. * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
  599. macros instead of HTML-TAG*.
  600. * tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
  601. * tmac/www.tmac: Load devtag.tmac.
  602. Replace HTML-TAG* macros with DEVTAG* macros.
  603. (HTML, HTML-NS): Changed definitions.
  604. (URL): Use HTML-NS.
  605. (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
  606. * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
  607. 2004-12-10 Werner LEMBERG <wl@gnu.org>
  608. Import Mike's `gdiffmk' package.
  609. * contrib/gdiffmk/*: New files.
  610. * Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
  611. * NEWS: Updated.
  612. 2004-12-08 Werner LEMBERG <wl@gnu.org>
  613. Import Keith's `pdfmark' package. Integration is very preliminary.
  614. * contrib/pdfmark/*: New files.
  615. * Makefile.in (OTHERDIRS): Add contrib/pdfmark.
  616. * NEWS: Updated.
  617. 2004-12-07 Gaius Mulley <gaius@glam.ac.uk>
  618. Fix a bug with title handling in HTML.
  619. * src/devices/grohtml/post-html.cpp (text_glob::is_nf,
  620. text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
  621. length.
  622. (html_printer::handle_tag_within_title): New function.
  623. (html_printer::do_title): Use it.
  624. * tmac/s.tmac (TL): Don't set `need_eo_tl'.
  625. (cov*tl-au-print): Emit `.eo.tl' tag.
  626. 2004-12-05 Alejandro López-Valencia <dradul@etb.net.co>
  627. * man/groff_char.man: Minor imrovements.
  628. 2004-12-04 Werner LEMBERG <wl@gnu.org>
  629. * src/preproc/eqn/eqn.man: Revised.
  630. 2004-11-25 Werner LEMBERG <wl@gnu.org>
  631. * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
  632. groff source files.
  633. Include config.h.
  634. Include limits.h.
  635. Remove X_NOT_STDC_ENV conditional.
  636. (Version_string, program_name): New global variables.
  637. (groff_flag): Removed.
  638. (MapFont): Updated.
  639. (usage): Take a stream as argument.
  640. Use `program_name'.
  641. Update all callers.
  642. (main): Add `long_options' array for `--help' and `--version'.
  643. Make `-g' a dummy option.
  644. Handle `-v' and unknown options.
  645. Remove unused `position' variable.
  646. * src/utils/xtotroff/Makefile.sub (MAN1): Define.
  647. (XLIBS): Add LIBGROFF.
  648. * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
  649. New files.
  650. * src/devices/xditview/Dvi.c (default_font_map): Split into three
  651. parts to avoid compiler warning.
  652. (resources): Don't initialize with `default_font_map'.
  653. (ClassInitialize): Initialize first element of `resources'.
  654. * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
  655. Removed.
  656. * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
  657. src/utils/pfbtops/pfbtops.man: Revised, updated.
  658. * configure.ac: Generate src/utils/xtotroff/Makefile.
  659. * configure: Regenerated.
  660. 2004-11-24 Werner LEMBERG <wl@gnu.org>
  661. First fixes to get produce HTML.
  662. * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
  663. attribute.
  664. * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
  665. (HR, LI): Use `HTML</p>', not `HTML'.
  666. * doc/webpage.ms: Minor updates.
  667. 2004-11-23 Larry Kollar <kollar@alltel.net>
  668. Add option -S grohtml to determine the file split level.
  669. * src/devices/grohtml/post-html.cpp (split_level): New global
  670. variable.
  671. (html_header::determine_header_level): Use split_level.
  672. (main): Handle `-S' command line option.
  673. Sort options.
  674. * src/preproc/html/pre-html.cpp (scanArguments): Updated.
  675. * src/devices/grohtml/grohtml.man: Document it.
  676. Sort options.
  677. * NEWS: Document it.
  678. 2004-11-23 Y T <doarhop@hotmail.com>
  679. * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling
  680. the volume and number refer entries.
  681. 2004-11-22 Werner LEMBERG <wl@gnu.org>
  682. * src/devices/grohtml/html-table.cpp
  683. (html_table::emit_table_header): Don't emit `cols' attribute which
  684. doesn't exist in HTML 4.0 and is thus invalid.
  685. * NEWS: More minor fixes and updates.
  686. 2004-11-18 Werner LEMBERG <wl@gnu.org>
  687. * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
  688. (HTML</p>): Minor clean-up.
  689. * tmac/groff_www.man: Updated.
  690. * src/devices/grohtml/grohtml.man: Revised and updated.
  691. * NEWS: Updated.
  692. 2004-11-18 Gaius Mulley <gaius@glam.ac.uk>
  693. * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
  694. Fix space insertion.
  695. (html_printer::do_links): Fix rules generation around automatic
  696. heading links.
  697. * tmac/www.tmac (LK): Use HTML-TAG-NS.
  698. (HR): Simplify.
  699. No longer emit empty line for non-HTML devices.
  700. 2004-11-17 Werner LEMBERG <wl@gnu.org>
  701. * doc/Makefile.in (prepare_examples, webpage.html): Handle
  702. `groff.css'.
  703. * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD,
  704. prepare_examples, webpage.html): Handle `groff.css'.
  705. 2004-11-15 Werner LEMBERG <wl@gnu.org>
  706. * NEWS, README, doc/webpage.ms: Updated.
  707. * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
  708. 2004-10-30 Gaius Mulley <gaius@glam.ac.uk>
  709. * src/include/printer.h (printer): Remove virtual function
  710. `round_width'.
  711. Update all source files.
  712. * src/devices/grohtml/post-html.cpp (html_printer): New member
  713. function `round_width'.
  714. 2004-10-20 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
  715. * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
  716. column key letter suffix.
  717. 2004-10-14 Werner LEMBERG <wl@gnu.org>
  718. * Makefile.in (check): Depend on `site.exp' and `docheck'.
  719. (docheck): Run dejagnu's `runtest' if it exists.
  720. (site.exp): Create dejagnu configuration file.
  721. * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
  722. 2004-10-13 Werner LEMBERG <wl@gnu.org>
  723. * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
  724. src/devices/grohtml/post-html.cpp (make_val,
  725. html_printer::handle_state_assertion): Fix compiler warnings.
  726. * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'.
  727. (diversion::diversion): Fix order of initializers.
  728. * src/roff/troff/div.h: Don't include `mtsm.h'.
  729. * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'.
  730. (environment::environment): Fix order of initializers.
  731. (environment::make_tag, environment::construct_format_state): Fix
  732. compiler warnings.
  733. * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'.
  734. (input_iterator::input_iterator, macro::macro): Fix order of
  735. initializers.
  736. * src/roff/troff/mtsm.cpp: Include only necessary header files.
  737. (state_set::add, state_set::val): Fix compiler warnings.
  738. * src/roff/troff/mtsm.h: Don't include `stringclass.h'.
  739. (bool_value_state, int_value_state, units_value_state,
  740. string_value_state): Remove comma after last element which causes
  741. an error with g++ 3.3.3.
  742. * src/roff/troff/node.cpp: Include `stringclass.h'.
  743. (hline_node::hline_node, vline_node::vline_node,
  744. space_char_hmotion_node, left_italic_corrected_node): Fix compiler
  745. warnings.
  746. (zero_width_node::zero_width_node): Fix order of initializers.
  747. * src/roff/troff/node.h: Don't include `mtsm.h'.
  748. (hmotion_node): Fix compiler warnings.
  749. * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'.
  750. 2004-10-12 Gaius Mulley <gaius@glam.ac.uk>
  751. * doc/groff.css: New file.
  752. * doc/webpage.ms: Use `groff.css'.
  753. Other small fixes.
  754. * tmac/an-old.tmac (need_eo_h): New number register.
  755. (TH): Emit `.eo.tl' tag after title.
  756. (SH): Set `need_eo_h'.
  757. (an-trap): Handle `need_eo_h'.
  758. (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/.
  759. * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers.
  760. (TL): Always start diversion.
  761. Updated.
  762. (@AI): Always call `par@reset'.
  763. (@AB): Update code for -Thtml.
  764. (cov*tl-au-print): Handle -Thtml.
  765. (par@reset): Handle `need_eo_tl', `need_eo_h'.
  766. (@IP): Simplified.
  767. (@IT-html): Removed.
  768. (@SH): Set `need_eo_h' for -Thtml.
  769. (par@TL): s/HTML-TAG/HTMl-TAG-NS/.
  770. Set `need_eo_tl'.
  771. (@NH): s/HTML-TAG/HTMl-TAG-NS/.
  772. Set `need_eo_h' for -Thtml.
  773. (@EQ, @EN): Don't handle -Thtml specially.
  774. (par@load-init): Don't handle -Thtml specially.
  775. * tmac/www.tmac (www:paraspace): New macro.
  776. (HTML-NS, HTML-TAG-NS): Use new `tag' request.
  777. (HTML</p>, HTML-TAG-NEXT): New macros.
  778. (HnE): Emit tag `.eo.h' instead of break.
  779. (HR): s/HTML-NS/HTML/.
  780. (www-end-nowhere): End diversion only if `www-html' not set.
  781. Emit `.eo.tl' tag.
  782. (ULS, ULE): s|HTML|HTML</p>|.
  783. (LI): Call `www:paraspace'.
  784. (HEAD): New macro.
  785. 2004-10-11 Gaius Mulley <gaius@glam.ac.uk>
  786. * src/roff/troff/request.h (macro): Make `p' public.
  787. New variable `is_a_diversion'.
  788. New member function `is_diversion'.
  789. * src/devices/grohtml/html.h (simple_output): New member function
  790. `force_nl'.
  791. * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix
  792. computation of `total'.
  793. (tabs::check_init): New function.
  794. (html_table::emit_table_header): Emit style data.
  795. (html_table::insert_column): Improved.
  796. * src/devices/grohtml/html-table.h: Updated.
  797. * src/devices/grohtml/html-text.cpp (html_text::html_text):
  798. Initialize `start_space' with TRUE.
  799. (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG'
  800. cases.
  801. (html_text::flush_text): Set `start_space' flag.
  802. (html_text::uses_indent, html_text::remove_para_space,
  803. html_text::get_alignment): New functions.
  804. (html_text::push_para): Updated.
  805. (html_text::do_para): Check for empty argument.
  806. Don't set `space_emitted'.
  807. (html_text::do_space, html_text::emit_space): Updated.
  808. * src/devices/grohtml/html-text.h (tag_definition): New variable
  809. `really_issued'.
  810. (html_text): New member function `uses_indent', `remove_para_space',
  811. `get_alignment'.
  812. * src/devices/grohtml/output.cpp (simple_output::force_nl): New
  813. function.
  814. (simple_output:nl): Always emit `\n'.
  815. * src/devices/grohtml/post-html.cpp: Include `string.h'.
  816. (BASE_POINT_SIZE): Removed.
  817. (base_point_size, head_info): New global variables.
  818. (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl',
  819. `is_eo_h'.
  820. (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1'
  821. tags, respectively.
  822. (page::add_and_encode): Pass additional parameter for tag flag.
  823. (assert_pos): New structure.
  824. (assert_state): New class.
  825. (html_printer): Remove `indentation', `prev_indent'.
  826. Add variables `troff_indent', `device_indent', `temp_indent'.
  827. Add variables `seen_indent', `next_indent', `seen_pageoffset',
  828. `next_pageoffset', `seen_linelenght', `next_linelength',
  829. `seen_center', `next_center', `seen_space', `seen_break', `as'.
  830. Add member functions `do_check_center', `do_space', `do_head',
  831. `get_troff_indent', `restore_troff_indent', `handle_assertion',
  832. `handle_state_assertion', `do_end_para', `set_char_and_width'.
  833. Change argument to `do_fill' to `char *'.
  834. Update constructor.
  835. (html_printer::emit_raw): Call `shutdown_table'.
  836. Use new functions.
  837. (html_printer::do_center): Simplified.
  838. (html_printer::do_title): Improved.
  839. (html_printer::write_header): Emit one more newline.
  840. Use new functions.
  841. (html_printer::do_heading, html_printer::do_indent,
  842. html_printer::do_eol, html_printer::do_tab_ts,
  843. html_printer::do_tab, html_printer::do_tab0,
  844. html_printer::calc_po_in, html_printer::next_horiz_pos,
  845. html_printer::remove_courier_tabs,
  846. html_printer::insert_tab0_foreach_tab, html_printer::begin_page):
  847. Updated.
  848. (html_printer::do_linelength, html_printer::do_pageoffset,
  849. html_printer::do_indentation, html_printer::do_tempindent,
  850. html_printer::do_tab_te): Simplified.
  851. (html_printer::do_pointsize): Check whether point size is really
  852. associated a `.tl' tag.
  853. (html_printer::do_break): Rewritten.
  854. (html_printer::troff_tag): Improved.
  855. (html_printer::flush_globs): Updated.
  856. (html_printer::lookahead_for_tables): Handle `is_br'.
  857. Use new functions.
  858. (html_printer::set_char): Check `sbuf_style.f'.
  859. (html_printer::write_navigation): Use string comparison.
  860. (html_printer::~html_printer): Emit `head_info'.
  861. (html_printer::special): Rewritten.
  862. (get_str, make_val): New functions.
  863. (main): New option `s' to set the base point size.
  864. * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'.
  865. 2004-10-10 Gaius Mulley <gaius@glam.ac.uk>
  866. * src/roff/troff/node.cpp: New extern `debug_state'.
  867. Include `stringclass.h' and `mtsm.h'.
  868. Implement new classes and class members from `node.h'.
  869. (real_output_file): Make `fp' public.
  870. (troff_output_file): New variables `cur_div_level' and `tag_list'.
  871. Update constructors.
  872. (troff_output_file::really_print_line): Check whether we should push
  873. the current troff state and use the state at the start of the
  874. invocation of this diversion.
  875. (troff_output_file::add_to_tag_list): New member function.
  876. (node::add_char): Handle `glyph_comp_np'.
  877. * src/roff/troff/node.h: Include `mtsm.h'.
  878. (node): New variables `state', `push_state', `div_nest_level',
  879. `is_special'. Update constructors, all descendants.
  880. Pass additional argument to `add_char' member function.
  881. New virtual member functions `is_tag', `debug_node',
  882. `debug_node_list'. Update all descendants.
  883. (tag_node): New class for handling tags.
  884. (output_file): Add variable `state'.
  885. 2004-10-09 Gaius Mulley <gaius@glam.ac.uk>
  886. * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files,
  887. providing a minimal troff state machine to emit meta tags for the
  888. post-grohtml device driver.
  889. * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new
  890. files.
  891. 2004-10-09 Werner LEMBERG <wl@gnu.org>
  892. * tmac/trace.tmac: Fix handling of `am' and `am1' calls.
  893. 2004-10-06 Gaius Mulley <gaius@glam.ac.uk>
  894. * src/roff/troff/column.cpp (vjustify_node::copy): Updated.
  895. * src/roff/troff/div.h: Include `mtsm.h'.
  896. (diversion): New variables `any_chars_added', `needs_push',
  897. `saved_seen_break', `saved_seen_space', `saved_seen_eol',
  898. `saved_suppress_next_eol', `modified_tag'.
  899. New virtual member function `is_diversion'. Update all descendants.
  900. * src/roff/troff/div.cpp (diversion::diversion,
  901. macro_diversion::macro_diversion): Updated.
  902. (do_divert): Handle `seen_break', `seen_space', `seen_eol',
  903. `suppress_next_eol'.
  904. (top_level_diversion::space): Handle `curenv->seen_space'.
  905. (page_offset): Update tag handling.
  906. (space_request, blank_line, flush_output): Don't call `add_html_tag'.
  907. * src/roff/troff/env.h (environment): Make `tabs' public.
  908. Remove `ignore_next_eol', `emitted_node'.
  909. Update `output_line', `output'.
  910. New variables `seen_space', `seen_eol', `suppress_next_eol',
  911. `seen_break'.
  912. New member functions `construct_state', `make_tag',
  913. `construct_format_state, `construct_new_line_state,
  914. `dump_troff_state'.
  915. Remove `add_html_tag', `make_html_tag'.
  916. * src/roff/troff/env.cpp: New externs `suppress_push',
  917. `get_diversion_state', `global_diverted_space'.
  918. (pending_output_line): New variable `was_centered'.
  919. Update constructor and all callers.
  920. (pending_output_line::output): Call `curenv->construct_format_state'.
  921. (environment::environment, environment::copy): Updated.
  922. (environment::output): Handle `was_centered'.
  923. (environment::add_char): Handle construct and diversion state.
  924. (environment::add_node): Handle construct state.
  925. (environment::newline): Handle `was_centered'.
  926. (environment::output_line): Updated.
  927. (environment::possibly_break_line): Updated.
  928. Update tag handling.
  929. (environment::add_html_tag): Replaced with...
  930. (environment::make_tag): New function.
  931. (environment::add_html_tag_tabs, environment::make_html_tag): Removed.
  932. (environment::dump_troff_state): New debugging function.
  933. (environment::construct_state, environment::construct_format_state,
  934. environment::construct_new_line_state): New functions.
  935. (environment::do_break): Updated.
  936. Handle `global_diverted_space'.
  937. (environment::handle_tag): Update tag handling.
  938. (point_size, fill, do_break_request): Don't call `add_html_tag'.
  939. (no_fill): Don't call `add_html_tag'.
  940. Set `suppress_next_eol'.
  941. (center, right_justify, line_length, indent, temporary_indent,
  942. set_tabs):
  943. Update tag handling.
  944. * src/roff/troff/input.cpp: Don't include `stringclass.h'.
  945. (input_iterator): New variables `is_diversion', `diversion_state'.
  946. Update constructors.
  947. (input_stack): New member functions `get_div_level',
  948. `get_diversion_state', `check_end_diversion'.
  949. New variables `div_level', `diversion_state'. Initialize them.
  950. (suppress_push, global_diverted_space): New global variables.
  951. (input_stack::finish_get, input_stack::finish_peek,
  952. input_stack::remove_boundary, input_stack::end_file,
  953. input_stack::clear, input_stack::pop_macro): Call
  954. `check_end_diversion'.
  955. (input_stack::push): Handle `div_level' and `diversion_state'.
  956. (get_diversion_state): New function.
  957. (diverted_space_node::reread): Handle `global_diverted_space'.
  958. (macro::macro): Update constructors.
  959. (macro::is_diversion): New function.
  960. (macro::operator=): Set `is_a_diversion'.
  961. (string_iterator): New member function `is_diversion'.
  962. (string_iterator::string_iterator): Update constructors.
  963. (string_iterator::fill): Set `div_nest_level'.
  964. (macro_iterator): New member function `is_diversion'.
  965. (do_if_request): Handle `suppress_push'.
  966. (tag, taga): New functions.
  967. (init_input_requests): Add `tag' and `taga' requests.
  968. 2004-10-05 Gaius Mulley <gaius@glam.ac.uk>
  969. * src/include/font.h (font): New member function
  970. `get_image_generator'.
  971. New variables `unscaled_charwidths' and `image_generator'.
  972. * src/libs/libgroff/font.cpp (font::get_width): Always return the
  973. character's unscaled width if `font::unscaled_charwidths' is set.
  974. (font::get_image_generator): New function.
  975. (font::load_desc): Check the `unscaled_charwidths' and
  976. `image_generator' keywords.
  977. * src/libs/libgroff/fontfile.cpp: Initialize
  978. `font::unscaled_charwidths' and `font::image_generator'.
  979. * font/devhtml/DESC.proto: s/html/unscaled_charwidths/.
  980. * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword.
  981. * man/groff_font.man: Document `unscaled_charwidths' and
  982. `image_generator'.
  983. * src/preproc/html/pre-html.cpp: Include `device.h'.
  984. (image_gen): New global variable.
  985. (imageList::createPage): Use `image_gen'.
  986. (main): Use `image_generator' keyword.
  987. 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
  988. * tmac/html.tmac: Handle \[sqrtex].
  989. 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
  990. * src/include/printer.h (printer): New virtual method `round_width'.
  991. * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
  992. src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
  993. src/devices/grotty/tty.cpp (printer::round_width): New function
  994. member.
  995. * src/devices/grohtml/post-html.cpp (printer::round_width): New
  996. function member.
  997. (html_printer::set_numbered_char): Use it.
  998. 2004-10-03 Gaius Mulley <gaius@glam.ac.uk>
  999. * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
  1000. * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
  1001. * configure: Regenerated.
  1002. * Makefile.in (GHOSTSCRIPT): New variable.
  1003. (MDEFINES): Add GHOSTSCRIPT.
  1004. 2004-10-03 Werner LEMBERG <wl@gnu.org>
  1005. * INSTALL.gen: Updated (taken from texinfo CVS).
  1006. 2004-09-28 Werner LEMBERG <wl@gnu.org>
  1007. * NEWS: Updated.
  1008. 2004-09-28 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
  1009. * tmac/groff_www.man: Revised and updated.
  1010. 2004-09-26 Werner LEMBERG <wl@gnu.org>
  1011. Fix \$@ and \$* to handle any number of arguments.
  1012. * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
  1013. characters.
  1014. * src/roff/troff/input.cpp (input_iterator::internal_level):
  1015. Removed.
  1016. (input_stack): New member functions `increase_level' and
  1017. `decrease_level'.
  1018. (input_stack::get_level): Don't use `internal_level'.
  1019. (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
  1020. (end_quote_iterator): Completely removed.
  1021. (interpolate_arg): Build string for \$@ and \$* which is then
  1022. pushed onto the input stack.
  1023. 2004-09-23 Keith Marshall <keith.d.marshall@ntlworld.com>
  1024. * tmac/groff_ms.man, doc/groff.texinfo: Document changes from
  1025. 2004-09-19.
  1026. 2004-09-23 Werner LEMBERG <wl@gnu.org>
  1027. * tmac/an-old.tmac (ne): Using default scaling operator.
  1028. 2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com>
  1029. This change implements the following features:
  1030. PORPHANS
  1031. New numeric register: Defines number of lines following LP, PP,
  1032. QP, IP or XP, which must be kept together, before any automatic
  1033. page break. If insufficient space remains on the current page, a
  1034. page break is forced before the new paragraph begins.
  1035. HORPHANS
  1036. New numeric register: Sets number of lines of following paragraph
  1037. which must be kept with a heading, defined by NH or SH, before any
  1038. automatic page break. If insufficient space remains on the
  1039. current page, a page break is forced before the heading.
  1040. GROWPS
  1041. (Thanks to Joerg van den Hoff, for this idea).
  1042. New numeric register: Sets the first level of heading (set with
  1043. NH), which will keep the same point size as body text; e.g. if
  1044. GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
  1045. point size specified by \n[PS], but .NH 2 and .NH 1 will have
  1046. progressively larger point sizes, determined by \n[PSINCR] (see
  1047. below).
  1048. PSINCR
  1049. New numeric register: Sets the point size increment for each level
  1050. of heading, (set with NH), below the threshold level set by
  1051. GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
  1052. then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
  1053. and all other levels will remain at 10pt, (because \n[PS] = 10).
  1054. SH
  1055. Existing macro now accepts a numeric argument, to make heading
  1056. size match that of NH with same argument value, when the
  1057. GROWPS/PSINCR feature is enabled.
  1058. SN-DOT
  1059. New string, set by NH macro, replaces the existing (undocumented)
  1060. use of SN, to represent the assigned section number.
  1061. SN-NO-DOT
  1062. New string, set by NH macro, represents the assigned section
  1063. number, but omits the terminal period (periods at intermediate
  1064. levels are retained).
  1065. SN
  1066. String set by NH macro, originally undocumented, now implemented
  1067. as an alias for SN-DOT (which reproduces original behaviour).
  1068. * tmac/s.tmac (PORPHANS): New register.
  1069. (par*start): Use it.
  1070. (HORPHANS, GROWPS, PSINCR): New registers.
  1071. (SH-NO-TAG, @SH): Use them.
  1072. (@NH): Improved.
  1073. 2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com>
  1074. * NEWS, doc/groff.texinfo, tmac/groff_ms.man: Document the deletion
  1075. of `Ds' and `De' macros.
  1076. 2004-09-10 Werner LEMBERG <wl@gnu.org>
  1077. In tbl, handle \a as an interpreted leader character if in
  1078. compatibility mode.
  1079. * src/preproc/tbl/table.h (PREFIX, PREFIX_CHAR, LEADER,
  1080. LEADER_CHAR): New macros.
  1081. (compatible_flag): New declaration.
  1082. * src/preproc/tbl/main.cpp (table_input): Add LEADER_1, LEADER_2,
  1083. LEADER_3, and LEADER_4 to `state'.
  1084. (table_input::get): Handle `\a'.
  1085. * src/preproc/tbl/table.cpp (PREFIX): Removed.
  1086. (LEADER_REG): New macro.
  1087. (table::init_output): Define LEADER_REG string register if in
  1088. compatibility mode.
  1089. * src/preproc/tbl/tbl.man: Document it.
  1090. 2004-08-18 Werner LEMBERG <wl@gnu.org>
  1091. * tmac/doc.tmac (An): Fix error message.
  1092. 2004-08-06 Werner LEMBERG <wl@gnu.org>
  1093. * src/preproc/tbl/main.cpp (main): Call `fatal' not `error' if a
  1094. file can't be opened. UNIX tbl has the same behaviour.
  1095. 2004-08-05 Y T <doarhop@hotmail.com>
  1096. * src/preproc/grn/hdb.cpp (compatibility_flag): Add declaration.
  1097. (DBRead): If in compatibility mode, take into account the text
  1098. when computing figure boundaries.
  1099. 2004-08-05 Werner LEMBERG <wl@gnu.org>
  1100. * src/preproc/soelim/soelim.man: Improved. Based on suggestions
  1101. from Tadziu Hoffmann.
  1102. 2004-08-03 Werner LEMBERG <wl@gnu.org>
  1103. * doc/meref.me: Document `_M' register.
  1104. 2004-08-03 Martin Husemann <martin@duskware.de>
  1105. Make hpftodit work correctly on big-endian systems.
  1106. * src/utils/hpftodit/hpftodit.cpp (File): New method
  1107. `get_uint32(char *)'.
  1108. (entry): New member `orig_value'.
  1109. (read_tags): Use new method.
  1110. (output_font_name, read_and_output_pcltypeface, dump_ascii):
  1111. Updated.
  1112. 2004-08-01 Werner LEMBERG <wl@gnu.org>
  1113. * tmac/s.tmac: Undo change 2003-06-29. The proper macro definitions
  1114. are already in X11's `macros.t' file.
  1115. 2004-08-01 Jeff Conrad <jeff_conrad@msn.com>
  1116. * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii):
  1117. Fix casting bug.
  1118. (read_and_output_pcltypeface): Handle strings with length <= 4.
  1119. 2004-07-27 Egil Kvaleberg <egil@kvaleberg.no>
  1120. * tmac/s.tmac (pg@top): Don't save `PO' register.
  1121. (pg*end-col, pg*end-page): Directly use `PO' register.
  1122. 2004-07-27 Werner LEMBERG <wl@gnu.org>
  1123. * man/groff_tmac.man: Mention `trace' and `pic' macro packages.
  1124. * src/preproc/refer/refer.cpp (output_references): Check for
  1125. empty hash table.
  1126. * src/preproc/refer/refer.man: Improve documentation of
  1127. `bibliography' command.
  1128. 2004-07-26 Werner LEMBERG <wl@gnu.org>
  1129. Add requests `fcolor' and `gcolor'.
  1130. * src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
  1131. New functions.
  1132. (init_env_requests): Add `fcolor' and `gcolor'.
  1133. * src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
  1134. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
  1135. Document new requests.
  1136. 2004-07-24 Werner LEMBERG <wl@gnu.org>
  1137. Add support for fractional point sizes in ms macros. A value for
  1138. PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
  1139. by 1000. For example, `.nr PS 10250' sets the font size to 10.25p.
  1140. * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
  1141. PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
  1142. * tmac/groff_ms.man, docs/groff.texinfo, NEWS: Document it.
  1143. 2004-07-19 Werner LEMBERG <wl@gnu.org>
  1144. * src/preproc/pic/lex.cpp (for_input): Add member `from'.
  1145. Update constructor.
  1146. (do_for, for_input::get, for_input::peek): Handle negative `by'.
  1147. * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
  1148. 2004-07-08 Thomas Klausner <wiz@netbsd.org>
  1149. * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
  1150. * tmac/groff_mdoc.man: Updated.
  1151. 2004-07-05 Werner LEMBERG <wl@gnu.org>
  1152. * doc/groff.texinfo: Further improve documentation of `hcode'.
  1153. 2004-07-04 Sang Dae Yu <sdyu@bh.knu.ac.kr>
  1154. Improve appearance of arrows in pic.
  1155. * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
  1156. arrow head thin.
  1157. Use two line segments for drawing non-filled arrow head.
  1158. (line_object::print, spline_object::print): Shorten line length to
  1159. avoid arrow sticking.
  1160. (arc_object::print): Take arrow direction into account.
  1161. 2004-07-03 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
  1162. * tmac/groff_www.man: Update documentation of .MPIMG.
  1163. 2004-07-03 Werner LEMBERG <wl@gnu.org>
  1164. * tmac/an-old.tmac (RI): Always start with font `R'.
  1165. (RI, IR): Properly end with font `R'.
  1166. 2004-07-02 Paul Eggert <eggert@cs.ucla.edu>
  1167. * man/ditroff.man, man/groff_font.man, man/groff_out.man,
  1168. src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
  1169. src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
  1170. Don't pass more than six arguments to .R, .I, .B, etc., for
  1171. compatibility with traditional troff macros.
  1172. 2004-07-02 Werner LEMBERG <wl@gnu.org>
  1173. * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
  1174. s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
  1175. Update all users.
  1176. (PUSH_COMP_MODE): New internal character constant.
  1177. Update all users.
  1178. * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
  1179. PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
  1180. (token::next, macro::append): Handle PUSH_COMP_MODE.
  1181. (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
  1182. POP_GROFFCOMP after each of the decoded arguments to make them
  1183. independent from the compatibility mode status.
  1184. (comp_mode): Add `COMP_ENABLE'.
  1185. (do_define_string, do_define_macro): Handle COMP_ENABLE.
  1186. (define_string, append_string, define_macro, define_indirect_macro,
  1187. append_macro, append_indirect_macro): Handle `compatible_flag'.
  1188. (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
  1189. * man/groff_diff.man, doc/groff.texinfo: Updated.
  1190. 2004-07-01 Werner LEMBERG <wl@gnu.org>
  1191. * doc/groff.texinfo: Improve documentation of `hcode'.
  1192. Use @documentencoding and convert document to latin-1; to do that
  1193. make latin characters active and assign proper macros (within a
  1194. @tex...@end tex environment).
  1195. * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
  1196. * doc/Makefile.sub (groff): Ditto.
  1197. 2004-06-29 Werner LEMBERG <wl@gnu.org>
  1198. Implement two new conditional operators `F <name>' and `S <name>'
  1199. which check whether <name> is a valid font or style, respectively.
  1200. * src/libs/libgroff/font.cpp (text_file): Add `silent' member.
  1201. (text_file::text_file): Updated.
  1202. (text_file::error): Don't emit message if `silent' is set.
  1203. (font::load_font): Add optional third argument (which is directly
  1204. passed to `load'.
  1205. (font::load): Add optional second argument to check the header of
  1206. a font only, without emitting warning or error messages.
  1207. * src/include/font.h (font): Updated.
  1208. * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
  1209. conditionals.
  1210. * src/roff/troff/node.cpp (mount_font_no_translate): Add optional
  1211. fourth argument to check a font without mounting.
  1212. (check_font, check_style): New functions.
  1213. * src/roff/troff/node.h: Updated.
  1214. * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
  1215. Updated.
  1216. 2004-06-27 Werner LEMBERG <wl@gnu.org>
  1217. Implement new string-valued register `.sty' to return the current
  1218. style name.
  1219. * env.cpp (environment::get_style_name_string): New function.
  1220. (init_env_requests): Add `.sty' register.
  1221. * env.h (environment): Updated.
  1222. * node.cpp (font_info): Make `get_style_name' a friend.
  1223. (get_style_name): New function.
  1224. * node.h: Updated.
  1225. * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
  1226. Updated.
  1227. 2004-06-15 Werner LEMBERG <wl@gnu.org>
  1228. * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle
  1229. `nospaces' option.
  1230. 2004-06-10 Colin Percival <colin.percival@wadham.ox.ac.uk>
  1231. * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
  1232. and \n[mo] to avoid dependency on current date.
  1233. 2004-06-08 Werner LEMBERG <wl@gnu.org>
  1234. * Makefile.sub (install_data): New target.
  1235. 2004-06-04 Werner LEMBERG <wl@gnu.org>
  1236. * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define.
  1237. 2004-06-03 Werner LEMBERG <wl@gnu.org>
  1238. * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and
  1239. order of libraries.
  1240. (install_data): Add $(srcdir).
  1241. * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of
  1242. libraries.
  1243. 2004-06-02 Werner LEMBERG <wl@gnu.org>
  1244. * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
  1245. Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
  1246. Add test for Xmu library.
  1247. (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
  1248. GROFF_APPRESDIR_DEFAULT): New macros.
  1249. * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
  1250. and GROFF_APPRESDIR_DEFAULT.
  1251. * configure: Regenerated.
  1252. * Makefile.in (appresdir): New variable.
  1253. (MDEFINES): Add appresdir.
  1254. * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
  1255. -Xt.
  1256. (install_data, uninstall_sub): New targets to handle GXditview.ad.
  1257. * src/utils/indxbib/Makefiles.ub (install_data): Depend on
  1258. `$(srcdir)/eign', not `eign'.
  1259. * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
  1260. * man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
  1261. src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
  1262. Protect (g)xditview with `\%' to avoid hyphenation.
  1263. Other minor formatting.
  1264. 2004-06-01 Werner LEMBERG <wl@gnu.org>
  1265. Integrate gxditview into groff's standard directory hierarchy.
  1266. * src/xditview/*: Moved to ...
  1267. * src/devices/xditview/*: Here.
  1268. Moved DviChar.h and XFontName.h to src/include.
  1269. Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
  1270. Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
  1271. Moved xtotroff.c to new directory src/utils/xtotroff.
  1272. Provide proper Makefile.sub files (reusing the stuff from
  1273. Imakefile.in).
  1274. DESC renamed to DESC.in.
  1275. Removed GXDitview-ad.h, INSTALL, Imakefile.in.
  1276. Converted everything from K&R to ANSI C.
  1277. Decorated with const where appropriate.
  1278. Cast string constants with `String' and `char *' where appropriate.
  1279. Made it compile with C++ (used as a C compiler).
  1280. Removed other minor compiler warnings.
  1281. * src/devices/xditview/device.c: Include config.h, string.h, and
  1282. defs.h.
  1283. Don't declare `exit', `strtok', `strchr', and `getenv'.
  1284. (FONTPATH): Remove.
  1285. * src/devices/xditview/font.c: Don't declare `XParseFontName' and
  1286. `XFormatFontName'.
  1287. * src/devices/xditview/xditview.c: Include config.h.
  1288. Include stdio.h earlier.
  1289. Protect declaration of `popen' and `pclose' with
  1290. NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
  1291. Replace `caddr_t' with `XtPointer'.
  1292. (MakePromptFunc): New typedef.
  1293. (DoPrint): Use RETSIGTYPE.
  1294. (promptfunction): Change type to MakePromptFunc.
  1295. (MakePrompt): Use MakePromptFunc for third argument.
  1296. (xmalloc): Removed.
  1297. * src/devices/xditview/ad2c: Add casts to `String'.
  1298. * src/include/XFontName.h (XFontNameString): Don't use array
  1299. notation.
  1300. Add prototypes for `XParseFontName', `XFormatFontName',
  1301. `XCompareFontName', and `XCopyFontName'.
  1302. * src/include/Makefile.sub (HDRS): Add `DviChar.h' and
  1303. `XFontName.h'.
  1304. * src/utils/xtotroff/xtotroff.c: Include getopt.h.
  1305. Don't declare `XParseFontName' and `XFormatFontName'.
  1306. (xmalloc): Removed.
  1307. (main): Remove `optind' and `optarg'.
  1308. * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
  1309. (to select programs which need X).
  1310. Make XDEVIDIRS depend on `FORCE'.
  1311. (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
  1312. X support).
  1313. (MDEFINES): Updated.
  1314. (LIBDIRS): Use XLIBDIRS.
  1315. (CPROGDIRS): Use XPROGDIRS.
  1316. (DEVDIRS): Remove font directories for gxditview.
  1317. (ALLDIRS, DISTDIRS): Add XDEVDIRS.
  1318. (EXTRADIRS): Remove src/xditview.
  1319. * Makefile.sub (DISCLEANFILES): Updated.
  1320. * Makefile.comm (LIBXUTIL): New variable.
  1321. (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
  1322. (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
  1323. * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
  1324. * aclocal.m4 (GROFF_X11): New function.
  1325. * configure.ac: Call GROFF_X11.
  1326. Don't create src/xditview/Imakefile.
  1327. Don't emit notice how to build gxditview.
  1328. * configure: Regenerated.
  1329. * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
  1330. 2004-05-28 Akihiro Sagawa <sagawa@sohgoh.net>
  1331. * Makefile.in (CPPFLAGS): Define.
  1332. (MDEFINES): Add CPPFLAGS.
  1333. 2004-05-27 Werner LEMBERG <wl@gnu.org>
  1334. * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
  1335. 2004-05-26 Niklas Edmundsson <nikke@acc.umu.se>
  1336. Fix problems with `friend name injections'.
  1337. * src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
  1338. make_script_box), src/roff/troff/div.h (end_diversions),
  1339. src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
  1340. change 2004-04-08.
  1341. 2004-05-25 Bernd Warken <bwarken@mayn.de>
  1342. * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
  1343. 2004-05-25 Werner LEMBERG <wl@gnu.org>
  1344. * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
  1345. src/libs/libgroff/color.cpp: Include lib.h.
  1346. 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
  1347. * PROBLEMS: Update documentation for problems with Sun C++ 5.0
  1348. through Forte 6u1, and for how to get GNU make on Solaris.
  1349. 2004-05-24 Werner LEMBERG <wl@gnu.org>
  1350. * PROBLEMS: Document problems with gcc 3.4.0 on Sun. Reported
  1351. by Paul Eggert.
  1352. 2004-05-15 Keith Marshall <keith.d.marshall@ntlworld.com>
  1353. * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit
  1354. rule.
  1355. 2004-05-14 Werner LEMBERG <wl@gnu.org>
  1356. * REVISION: Set to 2.
  1357. * aclocal.m4 (GROFF_STDINT_H): Removed.
  1358. (GROFF_INTTYPES_H): Define HAVE_CC_INTTYPES_H.
  1359. * configure.ac: Updated.
  1360. * configure, src/include/config.hin: Regenerated.
  1361. * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
  1362. inttypes.h conditionally.
  1363. 2004-05-13 Werner LEMBERG <wl@gnu.org>
  1364. Version 1.19.1 released
  1365. =======================
  1366. 2004-05-10 Stephen Gildea <http://www.gildea.com/stephen>
  1367. * src/preproc/refer/label.y (same_author_last_name,
  1368. same_author_name): Handle empty sort keys.
  1369. 2004-05-10 Werner LEMBERG <wl@gnu.org>
  1370. * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
  1371. tmac/TODO: Updated.
  1372. * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
  1373. doc-str-Lb-librt): Reset font.
  1374. (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
  1375. Provide `doc-str-Lb' to reset font.
  1376. * tmac/groff_mdoc.man: Updated.
  1377. 2004-05-08 Jan Schaumann <jschauma@netmeister.org>
  1378. * src/preproc/html/pre-html.cpp (make_message): Make it work for
  1379. snprintf versions which don't conform to ANSI C 99 (this is,
  1380. counting the string's trailing null byte in the return value).
  1381. 2004-05-07 Keith Marshall <keith.d.marshall@ntlworld.com>
  1382. * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect
  1383. that all implementations of sprintf handle null pointers correctly.
  1384. 2004-05-04 Werner LEMBERG <wl@gnu.org>
  1385. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
  1386. Document `.U' register.
  1387. * src/roff/troff/env.cpp (environment::mark_last_line)
  1388. [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.
  1389. 2004-05-04 Larry Kollar <kollar@alltel.net>
  1390. New read-only register `.U'; it returns 1 in safer mode and 0
  1391. otherwise.
  1392. * src/roff/troff/input.cpp (init_input_requests): Implement `.U'
  1393. register.
  1394. 2004-05-03 Werner LEMBERG <wl@gnu.org>
  1395. * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
  1396. 2004-04-17 Werner LEMBERG <wl@gnu.org>
  1397. * src/include/font.h (font): Use `int' for ch_index.
  1398. * src/libs/libgroff/font.cpp (font::alloc_ch_index,
  1399. font::compact): Updated.
  1400. * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
  1401. warnings.
  1402. * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
  1403. (hyphen_word): Fix compiler warnings.
  1404. * src/roff/troff/input.cpp (get_char_for_escape_name): Return
  1405. `char'.
  1406. Update all callers.
  1407. (get_delim_number, get_line_arg): Change second argument type to
  1408. `unsigned char'.
  1409. (macro_header::copy, token::next, do_define_string,
  1410. do_define_character, substring_request, asciify_macro,
  1411. unformat_macro, read_size, non_interpreted_node::interpret,
  1412. while_request, main: Fix compiler warnings.
  1413. (read_color_draw_node): Initialize `col'.
  1414. * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
  1415. `start_col' and `end_col' of type `int'.
  1416. (vertical_rule): Make `col' of type `int'.
  1417. * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
  1418. for EOF.
  1419. * src/preproc/refer/label.y (uppercase_array, lowercase_array):
  1420. New arrays.
  1421. (format_serial): Use them to remove dependency on ASCII.
  1422. * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
  1423. compiler warning.
  1424. * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
  1425. Ditto.
  1426. * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
  1427. compiler warnings.
  1428. (glyph): Change type of `hpos' to `int'.
  1429. * src/devices/lbp/lbp.cpp (strsep): Removed. Unused.
  1430. * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
  1431. * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
  1432. * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
  1433. 2004-04-16 Werner LEMBERG <wl@gnu.org>
  1434. * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
  1435. src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
  1436. src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
  1437. `double' instead of `float' everywhere.
  1438. * src/preproc/grn/main.cpp: Use `double' instead of `float'
  1439. everywhere.
  1440. (main): Add return value.
  1441. * src/preproc/grn/hdb.cpp: Use `double' instead of `float'
  1442. everywhere.
  1443. Update all user functions.
  1444. * src/include/search.h, src/include/ptable.h, src/include/printer.h,
  1445. src/preproc/eqn/box.h, src/preproc/pic/object.h,
  1446. src/preproc/refer/refer.h, src/preproc/tbl/table.h,
  1447. src/preproc/tbl/table.cpp, src/roff/troff/env.h,
  1448. src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
  1449. src/roff/troff/input.cpp, src/roff/troff/request.h,
  1450. src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
  1451. declarations.
  1452. * src/utils/indxbib/signal.c: Include stdlib.h.
  1453. 2004-04-14 Keith Marshall <keith.d.marshall@ntlworld.com>
  1454. * tmac/s.tmac (@init, RP): Allow initialization of the PO register
  1455. before the first page.
  1456. 2004-04-14 Thomas Klausner <wiz@netbsd.org>
  1457. * tmac/doc-common (doc-volume-as-*): Use lowercase names.
  1458. (doc-operating-system-*): Updated.
  1459. * tmac/doc-syms (doc-str-St-*): Various small fixes.
  1460. (doc-str-Lb-*): Add more library names.
  1461. 2004-04-10 Art Haas <ahaas@airmail.net>
  1462. * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't
  1463. use anonymous type.
  1464. 2004-04-09 Art Haas <ahaas@airmail.net>
  1465. * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.
  1466. 2004-04-09 Keith Marshall <keith.d.marshall@ntlworld.com>
  1467. * arch/misc/shdeps.sh: Generate better comment for sed script.
  1468. 2004-04-08 Art Haas <ahaas@airmail.net>
  1469. * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
  1470. src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
  1471. src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
  1472. src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
  1473. (polyfill), src/preproc/grn/main.cpp (polyfill),
  1474. src/preproc/refer/command.cpp (command_table),
  1475. src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
  1476. gcc 3.5 doesn't like).
  1477. 2004-04-08 Werner LEMBERG <wl@gnu.org>
  1478. Removing many compiler warnings. groff should now compile with
  1479. a C++ compiler used for C files also. [Simple variable renamings
  1480. to avoid shadowing aren't logged in detail.]
  1481. * src/devices/grodvi/dvi.cpp: Some local variable renamings.
  1482. (draw_dvi_printer::draw) ['c']: Enclose in block.
  1483. * src/devices/grohtml/post-html.cpp: Some local variable renamings.
  1484. (page::add_line): Fix typos.
  1485. * src/devices/grohtml/html-text.cpp: Some local variable renamings.
  1486. * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
  1487. Some local variable renamings.
  1488. * src/devices/grolbp/lbp.h: Some local variable renamings.
  1489. * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
  1490. variable renamings.
  1491. * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
  1492. Remove redundant local variable declaration.
  1493. * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
  1494. Don't use `caddr_t' but `void *'.
  1495. Enclose functions with `extern "C"' for C++.
  1496. * src/libs/libdriver/input.cpp (remember_filename,
  1497. remember_source_filename): Use cast for string constant.
  1498. * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
  1499. src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
  1500. src/libs/libgroff/geometry.cpp: Some local variable renamings.
  1501. * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
  1502. style.
  1503. Enclose functions with `extern "C"' for C++.
  1504. * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
  1505. (needs_quoting): Return `int'.
  1506. (quote_arg): Add proper casts to malloc and realloc.
  1507. * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
  1508. various MS Windows environments.
  1509. (spawnvp_wrapper): Add proper cast to malloc.
  1510. * src/preproc/eqn/box.h: Remove redundant declarations of
  1511. `make_script_box', `make_mark_box' and `make_lineup_box'.
  1512. * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
  1513. * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
  1514. variable renamings.
  1515. * src/preproc/grn/hpoint.cpp: Some local variable renamings.
  1516. * src/preproc/grn/hgraph.cpp: Some local variable renamings.
  1517. (dx, dy): Renamed functions to...
  1518. (deltax, deltay): This.
  1519. * src/preproc/grn/main.cpp: Some local variable renamings.
  1520. (deffont): Add `const'.
  1521. (initpic, conv): Use cast for string constant.
  1522. * src/preproc/html/pre-html.cpp: Some local variable renamings.
  1523. (makeFileName, alterDeviceTo, addZ): Use cast for string constant.
  1524. (char_buffer::run_output_filter): Second argument is unused.
  1525. * src/preproc/html/pushback.cpp: Some local variable renamings.
  1526. * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
  1527. * src/preproc/pic/object.cpp: Some local variable renamings.
  1528. * src/preproc/refer/label.y (lookup_label): Remove redundant
  1529. declaration of local variable.
  1530. * src/preproc/soelim.cpp: Remove redundant declaration of
  1531. `interpret_lf_args'.
  1532. * src/preproc/tbl/main.cpp: Some local variable renamings.
  1533. * src/roff/groff/groff.cpp (main): Use cast for string constant.
  1534. * src/roff/groff/pipeline.c: Enclose declarations of `error',
  1535. `c_fatal', and `i_to_a' with `extern "C"' for C++.
  1536. Don't use C++-style comments.
  1537. * src/roff/troff/env.h: Remove redundant declaration of `title'.
  1538. * src/roff/troff/node.h, src/roff/troff/env.cpp,
  1539. src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
  1540. renamings.
  1541. * src/roff/troff/div.h: Remove redundant declaration of
  1542. `end_diversions'.
  1543. * src/roff/troff/troff.h: Remove redundant declaration of
  1544. `cleanup_and_exit'
  1545. * src/roff/troff/input.cpp: Remove redundant declaration of
  1546. `handle_first_page_transition' and `process_input_stack'.
  1547. * src/utils/hpftodit.cpp: Some local variable renamings.
  1548. * src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
  1549. for C++.
  1550. Don't define RETSIGTYPE.
  1551. * src/utils/indxbib/indxbib.cpp: Some local variable renamings.
  1552. * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
  1553. (error): Use `const' in argument.
  1554. (main): Remove redundant declaration of `optind'.
  1555. Move declaration of `Version_string' to top-level.
  1556. * PROBLEMS: Document difficulties compiling signal.c if a C++
  1557. compiler is used for C.
  1558. 2004-04-07 Werner LEMBERG <wl@gnu.org>
  1559. * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
  1560. 2004-04-06 Keith Marshall <keith.d.marshall@ntlworld.com>
  1561. Make scripts like nroff.sh and neqn.sh portable across various
  1562. (Unix-like) shell implementations from Cygwin, MSYS, etc., which use
  1563. non-POSIX path separators. The idea is to extend those scripts to
  1564. decide at run-time (of the script) which path separator to use.
  1565. * arch/misc/Makefile.sub: New file.
  1566. * arch/misc/shdeps.sh: New file, generating OS dependency fixups.
  1567. This script handles @GROFF_BIN_PATH_SETUP@, replacing it with
  1568. a proper definition of the variable `GROFF_RUNTIME'.
  1569. * Makefile.in (SH_DEPS_SED_SCRIPT): New variable.
  1570. (MDEFINES): Add SH_DEPS_SED_SCRIPT.
  1571. (PROGDEPDIRS): New variable.
  1572. `FORCE' it.
  1573. (PROGDIRS): Add PROGDEPDIRS.
  1574. * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT.
  1575. Don't substitute @SEP@ and @BINDIR@.
  1576. * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@.
  1577. (PATH): Use GROFF_RUNTIME.
  1578. * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT.
  1579. Don't substitute @SEP@ and @BINDIR@.
  1580. * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@.
  1581. (PATH): Use GROFF_RUNTIME.
  1582. 2004-04-05 Keith Marshall <keith.d.marshall@ntlworld.com>
  1583. * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from
  1584. Cygwin which doesn't handle stderr correctly.
  1585. 2004-03-08 Werner LEMBERG <wl@gnu.org>
  1586. * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops
  1587. against empty argument. Problem reported by <cgd@broadcom.com>.
  1588. 2004-03-05 Keith Marshall <keith.d.marshall@ntlworld.com>
  1589. * Makefile.in (SEP): Replaced with...
  1590. (RT_SEP, SH_SEP): Separators for the target platform's native path
  1591. separator and the build environment, respectively.
  1592. (fontpath, tmacpath): Use RT_SEP.
  1593. (MDEFINES): Updated.
  1594. * contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
  1595. * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
  1596. * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
  1597. * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
  1598. 2004-03-05 Werner LEMBERG <wl@gnu.org>
  1599. * fonts/devlj4/Makefile.sub (LJ4RES): Set to 1200. This helps to
  1600. reduce alignment problems with newer printers which use built-in
  1601. TrueType fonts (instead of the older Intellifonts). The ideal
  1602. solution is to provide a second set of groff metric files, but this
  1603. is extremely time-consuming to produce, given that HP's metric
  1604. files are very rudimentary.
  1605. 2004-03-01 Werner LEMBERG <wl@gnu.org>
  1606. * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.
  1607. s/operand/argument/ in error message.
  1608. 2004-03-01 Keith Marshall <keith.d.marshall@ntlworld.com>
  1609. * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
  1610. is in use.
  1611. 2004-03-01 Antti Kantee <pooka@netbsd.org>
  1612. * tmac/s.tmac (XE): Fix error message.
  1613. 2004-02-27 Jeff Conrad <jeff_conrad@msn.com>
  1614. * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:
  1615. New macros.
  1616. * src/roff/groff/pipeline.c: Declare strcasecmp.
  1617. (run_pipeline) [_WIN32]: Use function name variants which don't
  1618. start with `_'.
  1619. Fix stream handling.
  1620. 2004-02-27 Keith Marshall <keith.d.marshall@ntlworld.com>
  1621. * src/include/nonposix.h: Fix declaration of `system_shell_name'.
  1622. Declare `spawnvp_wrapper' and macro definitions of spawnvp only
  1623. for platforms which use the native Win32 runtime libraries.
  1624. (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
  1625. * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
  1626. QUOTE_ARG_REALLOC_ERROR): Fix string.
  1627. * src/preproc/html/pre-html.cpp: Remove declaration of
  1628. `spawnvp_wrapper'.
  1629. Don't use __MINGW32__.
  1630. s/DEBUG_FILE/DEBUG_FILE_DIR/.
  1631. (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
  1632. (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
  1633. (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
  1634. calls to `set_redirection' and `WAIT'.
  1635. [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
  1636. Fix calls to `set_redirection' and `save_and_redirect'.
  1637. (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
  1638. to `set_redirection' and `save_and_redirect'.
  1639. (usage): Fix message.
  1640. (makeTempFiles, main): Use `DEBUG_FILE'.
  1641. 2004-02-21 Werner LEMBERG <wl@gnu.org>
  1642. * src/roff/troff/troff.h (WARN_TOTAL): Fix value.
  1643. 2004-02-21 Keith Marshall <keith.d.marshall@ntlworld.com>
  1644. * src/libs/libgroff/quotearg.c: New file, providing proper argument
  1645. quoting for MSVC's spawn* and exec* functions.
  1646. * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
  1647. spawnvp with proper quoting for MSVC.
  1648. * src/libs/libgroff/assert.cpp (program_name),
  1649. src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
  1650. * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
  1651. * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
  1652. * src/include/error.h (program_name): Declare as `extern "C"'.
  1653. * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
  1654. 2004-02-21 Jeff Conrad <jeff_conrad@msn.com>
  1655. * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
  1656. spawnvp_wrapper.
  1657. [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
  1658. 2004-02-20 Jeff Conrad <jeff_conrad@msn.com>
  1659. * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global
  1660. variable.
  1661. (sbasename) [__MSDOS__ || ...]: New function.
  1662. (system_shell_name) [__MSDOS__ || ...]: Use a different, more
  1663. generic algorithm.
  1664. (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
  1665. (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
  1666. of XXX.
  1667. Use STDOUT_FILENO instead of hardcoded file handle.
  1668. (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
  1669. 2004-02-19 Werner LEMBERG <wl@gnu.org>
  1670. * src/roff/troff/div.cpp: Include nonposix.h after troff.h to
  1671. avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
  1672. 2004-02-18 Werner LEMBERG <wl@gnu.org>
  1673. * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
  1674. new font and mapping files.
  1675. 2004-02-18 Jeff Conrad <jeff_conrad@msn.com>
  1676. Keith Marshall <keith.d.marshall@ntlworld.com>
  1677. * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
  1678. an input pipe. This is needed for the MSVC compiler to make troff's
  1679. `-o' option work.
  1680. * src/roff/troff/div.cpp: Include nonposix.h.
  1681. (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
  1682. 2004-02-17 Werner LEMBERG <wl@gnu.org>
  1683. * font/devlj4/generate/special.awk: New script.
  1684. * font/devlj4/generate/Makefile (S): Use special.awk.
  1685. * font/devlj4/*: Regenerated, including the following new files:
  1686. Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
  1687. MS Symbol (SYMBOL), Wingdings (WINGDINGS).
  1688. * NEWS: Document new lj4 fonts and revised hpftodit.
  1689. 2004-02-17 Paco Andrés Verdú <pandres@dragonet.es>
  1690. * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.
  1691. 2004-01-25 Werner LEMBERG <wl@gnu.org>
  1692. * src/libs/libgroff/progname.cpp: Replaced with...
  1693. * src/libs/libgroff/progname.c: New file.
  1694. * src/libs/libgroff/Makefile.sub: Updated accordingly.
  1695. 2004-01-17 Werner LEMBERG <wl@gnu.org>
  1696. * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.
  1697. 2004-01-16 Jeff Conrad <jeff_conrad@msn.com>
  1698. * font/devlj4/generate/wingdings.map,
  1699. font/devlj4/generate/symbol.map: Include unnamed glyphs.
  1700. Use groff glyph names where possible.
  1701. * src/devices/grolj4/lj4_font.man: Minor updates.
  1702. 2004-01-13 Werner LEMBERG <wl@gnu.org>
  1703. * tmac/www.tmac (DC): Handle TTY devices.
  1704. * doc/webpage.ms: Document viewCVS from ffii.org.
  1705. * NEWS, README: Updated.
  1706. * src/roff/groff/groff.man: Mention lj4_font man page.
  1707. * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
  1708. variables.
  1709. (FONTS): Add SYMBOL and WINGDINGS.
  1710. (SYMBOL, WINGDINGS): New targets.
  1711. 2004-01-13 Jeff Conrad <jeff_conrad@msn.com>
  1712. * src/devices/grolj4/lj4_font.man: New man page.
  1713. * src/devices/grolj4/Makefile.sub (MAN5): New variable.
  1714. * src/devices/grolj4.man: Mention lj4_font man page.
  1715. * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
  1716. * src/utils/hpftodit/hpftodit.man: Document it.
  1717. (CW): New macro.
  1718. Remove details about fonts (which are now in lj4_font.man).
  1719. * font/devlj4/generate/symbol.map,
  1720. font/devlj4/generate/wingdings.map: New files.
  1721. 2004-01-12 Werner LEMBERG <wl@gnu.org>
  1722. * README: Mention ffii's viewcvs access.
  1723. 2004-01-09 Werner LEMBERG <wl@gnu.org>
  1724. * font/devlj4/generate/special.map: Map MSL 228 to U+221F.
  1725. 2004-01-09 Jeff Conrad <jeff_conrad@msn.com>
  1726. Revert most of the change from 2004-01-03 to better control used
  1727. symbol sets.
  1728. * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
  1729. (text_symbol_sets, special_symbol_sets): New arrays.
  1730. (symbol_set_table): New global variable.
  1731. (read_symbol_sets): Use search order given in the text_symbol_sets
  1732. and special_symbol_sets arrays. If command line flag -a is not
  1733. given, search both arrays.
  1734. (output_charset): Require x_height_tag only for command line flag -i.
  1735. 2004-01-06 Werner LEMBERG <wl@gnu.org>
  1736. Implement string-valued registers \n[.m] and \n[.M] to return the
  1737. name of the current drawing and background color, respectively.
  1738. * src/roff/troff/symbol.h: Moved to...
  1739. * src/include/symbol.h: Here.
  1740. Small fixes to make it work outside of the `troff' directory.
  1741. * src/roff/troff/symbol.cpp: Moved to...
  1742. * src/libs/libgroff/symbol.cpp: Here.
  1743. Small fixes to make it work outside of the `troff' directory.
  1744. * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
  1745. (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
  1746. Updated.
  1747. * src/include/color.h: Include symbol.h.
  1748. (color): Add new field `nm'.
  1749. * src/libs/libgroff/color.cpp (color::color): Updated.
  1750. * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
  1751. src/roff/troff/node.cpp, src/roff/troff/number.cpp,
  1752. src/roff/troff/reg.cpp: Don't include symbol.h.
  1753. * src/roff/troff/env.cpp: Don't include symbol.h.
  1754. (environment::get_glyph_color_string,
  1755. environment_get_fill_color_string): New member functions.
  1756. (init_env_requests): Handle `.m' and `.M' registers.
  1757. * src/roff/troff/input.cpp: Don't include symbol.h.
  1758. (default_symbol): Moved to symbol.cpp/symbol.h.
  1759. (do_glyph_color, do_fill_color, define_color): Pass symbol name
  1760. to color constructor.
  1761. * src/roff/troff/env.h: Updated.
  1762. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
  1763. Document new registers.
  1764. 2004-01-05 Werner LEMBERG <wl@gnu.org>
  1765. * src/roff/troff/node.cpp (space_node::get_breakpoints,
  1766. space_node::nbreaks): Protect against zero `next' field.
  1767. 2004-01-03 Jeff Conrad <jeff_conrad@msn.com>
  1768. In hpftodit, use the symbol sets offered in the TFM.
  1769. * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
  1770. (symbol_set, text_symbol_sets, special_symbol_sets,
  1771. symbol_set_table): Removed.
  1772. (get_printcode): Removed.
  1773. (read_symbol_sets): Initialize `symbol_set' field with
  1774. `NO_SYMBOL_SET'.
  1775. Simplify code to just use the `kind' value.
  1776. (output_charset): Improve output formatting.
  1777. (dump_symbols): Simplified.
  1778. 2004-01-02 Werner LEMBERG <wl@gnu.org>
  1779. * font/devlj4/generate/text.map: Add more MSL numbers.
  1780. 2004-01-02 Jeff Conrad <jeff_conrad@msn.com>
  1781. * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
  1782. (text_symbol_sets): Add more symbol sets.
  1783. (debug_flag): New static variable (moved from `main').
  1784. (get_printcode, show_symset): New functions.
  1785. (main): Remove `debug_flag'.
  1786. (output_charset): Use `show_symset'.
  1787. (dump_symbols): Use `show_symset'.
  1788. Print symsets for all glyphs.
  1789. (read_map): Actually call `unicode_to_ucode_make' but this time
  1790. correctly.
  1791. 2004-01-01 Werner LEMBERG <wl@gnu.org>
  1792. * font/devlj4/generate/text.map, font/devlj4/generate/special.map:
  1793. Fix placement of comments.
  1794. 2004-01-01 Jeff Conrad <jeff_conrad@msn.com>
  1795. * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
  1796. option `-d' is given.
  1797. (output_charset): Improve warning messages to give more information.
  1798. (dump_symbols): Make information more precise.
  1799. (usage): Updated.
  1800. (read_map): Don't call unicode_to_ucode_name; the glyph names must
  1801. appear as-is and shouldn't be decomposed.
  1802. 2003-12-31 Werner LEMBERG <wl@gnu.org>
  1803. * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.
  1804. * font/devlj4/generate/Makefile (IFLAG): Updated to new units.
  1805. (FONTS): Add TrueType font families Arial and Times New Roman.
  1806. (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
  1807. * font/devlj4/generate/text.map: Fix Unicode values of `fi' and
  1808. `fl'.
  1809. 2003-12-31 Jeff Conrad <jeff_conrad@msn.com>
  1810. * test-groff.in (SEP): Quote value.
  1811. * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
  1812. `tem' to `char*' to avoid deallocation of a pointer to a constant
  1813. object which some compilers don't like.
  1814. 2003-12-31 Werner LEMBERG <wl@gnu.org>
  1815. * font/devlj4/generate (text.map, special.map): Rewritten to work
  1816. with the new hpftodit version.
  1817. 2003-12-30 Jeff Conrad <jeff_conrad@msn.com>
  1818. * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
  1819. set and 8bit character code for all glyphs also.
  1820. 2003-12-30 Werner LEMBERG <wl@gnu.org>
  1821. * src/libs/libgroff/strcasecmp.c: Updated from gnulib.
  1822. 2003-12-29 Werner LEMBERG <wl@gnu.org>
  1823. More fixes for MSVC compiler.
  1824. * doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use
  1825. $(SEP).
  1826. * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
  1827. STDERR_FILENO) [_MSC_VER]: Define conditionally.
  1828. (getpid) [_MSC_VER]: Remove.
  1829. Include direct.h and process.h conditionally.
  1830. * src/roff/troff/node.cpp (suppress_node::tprint): Don't use
  1831. parentheses for a_delete.
  1832. * src/utils/lookbib/lookbib.cpp: Include nonposix.h.
  1833. * test-groff: Replaced with...
  1834. * test-groff.in: This new template to handle path separator
  1835. properly.
  1836. * configure.ac: Check for direct.h and process.h.
  1837. Generate test-groff script.
  1838. * configure, src/include/config.hin: Regenerated.
  1839. 2003-12-28 Werner LEMBERG <wl@gnu.org>
  1840. Add integral extension glyph.
  1841. Add new option `-x' to afmtodit to suppress use of built-in AGL.
  1842. * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
  1843. * font/devps/generate/textmap: Provide entry for `integralex' to
  1844. override (old) PUA value of the AGL.
  1845. * font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
  1846. * font/devps/*: Regenerated.
  1847. * src/utils/afmtodit/afmtodit.pl: Add option `-x'.
  1848. * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
  1849. 2003-12-27 Werner LEMBERG <wl@gnu.org>
  1850. Add forgotten `coproduct' symbol (already available for DVI).
  1851. * font/devhtml/R.proto, font/devps/generate/textmap,
  1852. font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
  1853. src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
  1854. U+2210 (\[coproduct]).
  1855. 2003-12-26 Jeff Conrad <jeff_conrad@msn.com>
  1856. hpftodit has been extended to handle TrueType metric files and
  1857. more glyphs. See hpftodit.man for more details.
  1858. * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h,
  1859. ctype.h, and unicode.h.
  1860. s/msl/charcode/ everywhere since we now handle Unicode values also.
  1861. (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
  1862. Use it where appropriate.
  1863. (MULTIPLIER): Replaced with...
  1864. (multiplier): New global static variable.
  1865. (scale): Updated.
  1866. (tag_type): Add more TFM tags.
  1867. (tag_name): New array.
  1868. (ENUM_TYPE, FLOAT_TYPE): Removed.
  1869. (BYTE_TYPE): New value assigned.
  1870. (ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
  1871. (text_symbol_sets, special_symbol_sets): Extended to cover more
  1872. sets.
  1873. (check_type): Add return value.
  1874. (check_units): Add parameters to get ppi and upem values.
  1875. Handle TrueType TFM data.
  1876. (output_font_name): New function.
  1877. (output_charset): Add parameter to handle TFM type.
  1878. Handle TrueType TFMs also.
  1879. (em_fract): New macro.
  1880. (dump_tags): Be much more verbose and handle more tags.
  1881. (dump_ascii, dump_symbol_sets, dump_symbols): New functions.
  1882. (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
  1883. functions.
  1884. (read_map): Add parameter to handle TFM type.
  1885. Handle both MSL and Unicode mappings.
  1886. (main): Add two new command line options `-a' and `-q'.
  1887. Updated to make use of new functions.
  1888. (usage): Updated.
  1889. * src/utils/hpftodit/hpuni.cpp: New file.
  1890. * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
  1891. Updated.
  1892. 2003-12-25 Werner LEMBERG <wl@gnu.org>
  1893. * src/include/nonposix.h (read) [_MSC_VER]: Define.
  1894. 2003-12-24 Werner LEMBERG <wl@gnu.org>
  1895. * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested
  1896. by Michail Vidiassov <master@iaas.msu.ru>.
  1897. 2003-12-20 Werner LEMBERG <wl@gnu.org>
  1898. * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
  1899. and u0049_0307.
  1900. Add missing latin-2 glyphs.
  1901. * font/devutf8/R.proto: Add missing latin-2 glyphs.
  1902. * tmac/troffrc: Load `composite.tmac' earlier.
  1903. * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
  1904. u00{53,73}_0327, and u0049_0307.
  1905. * tmac/X.tmac: Add u00{47,67}_0306.
  1906. * tmac/tty-char.tmac: Use composite glyph names for readability.
  1907. * NEWS: Updated.
  1908. * src/include/unicode.h: Remove `extern' keywords.
  1909. 2003-12-20 Nilgün Belma Bugüner <nilgun@superonline.com>
  1910. * tmac/latin5.tmac: New file.
  1911. 2003-12-19 Werner LEMBERG <wl@gnu.org>
  1912. Add some glyphs needed for Turkish.
  1913. * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
  1914. and u0049_0307.
  1915. * tmac/composite.tmac: Add `,' as a synonym for `ac' accent.
  1916. * tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
  1917. u00{53,73}_0327, and u0049_0307.
  1918. 2003-12-18 Werner LEMBERG <wl@gnu.org>
  1919. * src/devices/grops/ps.cc (ps_output::put_float): Revert change
  1920. from 2001-10-04.
  1921. Remove trailing zeros.
  1922. 2003-12-17 Werner LEMBERG <wl@gnu.org>
  1923. Make \? transparent to end-of-sentence recognition.
  1924. * src/roff/troff/input.cc (non_interpreted_node): Add
  1925. `ends_sentence' member function.
  1926. 2003-12-16 Werner LEMBERG <wl@gnu.org>
  1927. * doc/groff.texinfo: Document `dt' request correctly.
  1928. Other minor typographical improvements.
  1929. 2003-12-10 Michail Vidiassov <master@iaas.msu.ru>
  1930. * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
  1931. 2003-12-10 Richard Stallman <rms@gnu.org>
  1932. * LICENSE: Better wording.
  1933. 2003-12-09 Werner LEMBERG <wl@gnu.org>
  1934. * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
  1935. * configure, NEWS: Updated.
  1936. 2003-12-08 Werner LEMBERG <wl@gnu.org>
  1937. * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).
  1938. 2003-12-07 Bernd Warken <bwarken@mayn.de>
  1939. * LICENSE: Updated.
  1940. 2003-12-07 Werner LEMBERG <wl@gnu.org>
  1941. * INSTALL: Improved.
  1942. 2003-12-05 Keith Marshall <keith.d.marshall@ntlworld.com>
  1943. Use path separator character of target platform for compiled-in
  1944. default paths.
  1945. * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
  1946. * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
  1947. * configure: Regenerated.
  1948. * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
  1949. 2003-12-05 Werner LEMBERG <wl@gnu.org>
  1950. * src/include/nonposix.h (PATH_SEP_CHAR): New definition.
  1951. Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
  1952. 2003-12-04 Bernd Warken <bwarken@mayn.de>
  1953. * LICENSE: New file.
  1954. 2003-12-03 Werner LEMBERG <wl@gnu.org>
  1955. * src/utils/afmtodit/afmtodit.pl: Comment out code which handles
  1956. ligatures present in AFM files since groff currently only
  1957. understands some standard ligatures and nothing else.
  1958. 2003-12-03 Jeff Conrad <jeff_conrad@msn.com>
  1959. * src/roff/groff/groff.cpp (main): Don't run the spooler if
  1960. option -v is given.
  1961. * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
  1962. messages.
  1963. Close stdout copy.
  1964. Don't use Unix wait flags.
  1965. 2003-12-02 Werner LEMBERG <wl@gnu.org>
  1966. * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
  1967. src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
  1968. src/roff/troff/uniuni.cpp: Moved to...
  1969. * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
  1970. src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
  1971. src/libs/libgroff/uniuni.cpp: Here.
  1972. * src/include/Makefile.sub.old (HDRS),
  1973. src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
  1974. src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
  1975. 2003-12-01 Keith Marshall <keith.d.marshall@ntlworld.com>
  1976. * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to
  1977. `DEBUG_FILE'.
  1978. Updated all users.
  1979. 2003-12-01 Werner LEMBERG <wl@gnu.org>
  1980. * groff.texinfo: Document special behaviour of `.vs 0'.
  1981. Improve documentation of `cflags' request.
  1982. * NEWS: Updated.
  1983. 2003-11-29 Werner LEMBERG <wl@gnu.org>
  1984. * font/devlj4/generate/Makefile (CORONET): Use correct TFM.
  1985. * font/devlj4/CORONET: Regenerated.
  1986. 2003-11-24 Werner LEMBERG <wl@gnu.org>
  1987. * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
  1988. if processing hyphenation patterns in traditional mode.
  1989. Improve error messages.
  1990. 2003-11-20 Werner LEMBERG <wl@gnu.org>
  1991. * src/roff/troff/node.cpp (troff_output_file::put_char_width,
  1992. troff_output_file::put_char): Fix type of local variable `c'.
  1993. 2003-11-19 Werner LEMBERG <wl@gnu.org>
  1994. * src/roff/groff/pipeline.c (P): Removed. Updated all function
  1995. declarations.
  1996. (i_to_a): Removed. libgroff already provides this function.
  1997. (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
  1998. 2003-11-18 Keith Marshall <keith.d.marshall@ntlworld.com>
  1999. * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
  2000. HAVE_DECL_SYS_LIST.
  2001. 2003-11-17 Werner LEMBERG <wl@gnu.org>
  2002. * COPYING: Use correct version.
  2003. 2003-11-11 Werner LEMBERG <wl@gnu.org>
  2004. LynxOS 4.0.0 doesn't declare vfprintf.
  2005. * configure.ac: Check for vfprintf.
  2006. * configure: Regenerated.
  2007. * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
  2008. * src/include/config.hin: Regenerated.
  2009. 2003-11-10 Werner LEMBERG <wl@gnu.org>
  2010. LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.
  2011. * configure.ac: Check for vsnprintf.
  2012. * configure: Regenerated.
  2013. * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
  2014. `HAVE_VSNPRINTF'.
  2015. * src/include/config.hin: Regenerated.
  2016. 2003-11-09 Werner LEMBERG <wl@gnu.org>
  2017. * aclocal.m4: Updated syntax to autoconf 2.59.
  2018. (GROFF_HTML_PROGRAMS): Use AC_FOREACH.
  2019. Don't check for gsos2.
  2020. (GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides
  2021. working abs_top_srcdir and abs_top_builddir.
  2022. * configure.ac: Updated syntax to autoconf 2.59.
  2023. Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
  2024. Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
  2025. * configure: Regenerated.
  2026. * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
  2027. s/@groff_top_builddir@/@abs_top_builddir@/.
  2028. * src/roff/groff/pipeline.c (xstrsignal):
  2029. s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
  2030. 2003-11-07 Werner LEMBERG <wl@gnu.org>
  2031. * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
  2032. make start angle smaller than end angle to circumvent a bug in tpic
  2033. handling of some versions of dvipdfm (and dvipdfmx).
  2034. 2003-10-30 Werner LEMBERG <wl@gnu.org>
  2035. * src/devices/grops/grops.man: Improve section on creating EPS.
  2036. 2003-10-29 Werner LEMBERG <wl@gnu.org>
  2037. * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
  2038. -P-pletter).
  2039. 2003-10-28 Werner LEMBERG <wl@gnu.org>
  2040. * doc/groff.texinfo: Fix documentation of `.if'.
  2041. 2003-10-27 Michail Vidiassov <master@iaas.msu.ru>
  2042. * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of
  2043. the form `uniXXXX' also.
  2044. 2003-10-27 Werner LEMBERG <wl@gnu.org>
  2045. * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,
  2046. contrib/pic2graph/pic2graph.sh: Implement secure management of
  2047. temporary files.
  2048. Pass `-P-pletter' to groff to avoid data outside of the converted
  2049. area -- some versions of `convert' (for example 5.3.8) don't check
  2050. the bounding box of the image but always use a fixed image size
  2051. (letter paper format).
  2052. * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man,
  2053. contrib/pic2graph/pic2graph.man: Updated.
  2054. * src/roff/groff/groff.man: Document $TMP and $TEMP.
  2055. 2003-10-26 Werner LEMBERG <wl@gnu.org>
  2056. * src/preproc/pic/troff.cpp (troff_output::simple_circle,
  2057. troff_output::simple_ellipse, troff_output::simple_arc,
  2058. troff_output::simple_line, troff_output::simple_spline,
  2059. troff_output::simple_polygon): Insert a space before arguments.
  2060. (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the
  2061. latter doesn't produce a node, so the following `.sp -1' would do
  2062. the wrong thing.
  2063. Don't emit `.sp -1' after \M. This also doesn't produce a token
  2064. (and we don't have to care about compatibility mode).
  2065. (troff_output::set_color, troff_output::reset_color): Don't emit
  2066. `.sp -1' after \M and \m.
  2067. * src/roff/troff/input.cpp (old_have_input): New global variable.
  2068. (input_stack::get): Handle `old_have_input'.
  2069. (process_input_stack) <token::TOKEN_NEWLINE>: Call
  2070. `trapping_blank_line' depending on `old_have_input', not
  2071. `have_input'.
  2072. 2003-10-20 Keith Marshall <keith.d.marshall@ntlworld.com>
  2073. * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32]
  2074. (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing
  2075. default directory names for temporary files.
  2076. [__MSDOS__, _Win32] (temp_init::temp_init): Use them.
  2077. * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h.
  2078. [__MSDOS__] (run_pipeline): Honour environment variables.
  2079. Don't use `tmpnam' but `tempnam' to work around messy
  2080. implementation.
  2081. * README.MinGW: New file.
  2082. 2003-10-16 Werner LEMBERG <wl@gnu.org>
  2083. * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
  2084. `(*t)->next' without testing validity of `*t'.
  2085. (usage): Make it more readable.
  2086. 2003-10-16 Keith Marshall <keith.d.marshall@ntlworld.com>
  2087. Make html device run under both MS-DOS and Win32.
  2088. * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS,
  2089. MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether
  2090. spawn or fork+exec has to be used, and whether parent must sleep
  2091. until the child process terminates. Used in
  2092. `char_buffer::run_output_filter'.
  2093. (copyofstdoutfd): Removed.
  2094. (char_buffer): Replace `write_file_html' and `write_file_troff'
  2095. member functions with `emit_troff_output' and `run_output_filter'.
  2096. (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New
  2097. macros.
  2098. (replaceFd): Replaced with...
  2099. (set_redirection): New auxiliary function.
  2100. (waitForChild): Replaced with...
  2101. (save_and_redirect): New auxiliary function for.
  2102. (char_buffer::do_html, char_buffer::do_image): Simplified, using new
  2103. functions.
  2104. 2003-10-14 Keith Marshall <keith.d.marshall@ntlworld.com>
  2105. * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
  2106. (GROFF_LIBC): New function.
  2107. * configure.ac: Call GROFF_LIBC.
  2108. Check for `kill'.
  2109. * configure: Regenerated.
  2110. * src/include/lib.h: Handle __MINGW32__.
  2111. * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
  2112. Add macro for `pipe'.
  2113. Define P_tmpdir.
  2114. * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
  2115. correctly.
  2116. * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
  2117. Implement.
  2118. 2003-10-13 Werner LEMBERG <wl@gnu.org>
  2119. Finally fix change 2003-08-26, based on ideas from Chuck Silvers
  2120. <chuq@chuq.com>.
  2121. * contrib/mom/Makefile.sub: Use a stamp file in the `examples'
  2122. directory.
  2123. 2003-10-12 Werner LEMBERG <wl@gnu.org>
  2124. * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
  2125. src/roff/troff/input.cc (usage): Updated.
  2126. * NEWS, doc/groff.texinfo: Updated.
  2127. 2003-10-12 Peter Miller <millerp@canb.auug.org.au>
  2128. * src/libs/libgroff/searchpath.cpp
  2129. (search_path::open_file_cautious): New function which also handles
  2130. `-' as stdin and stdout depending on the access mode.
  2131. * src/include/searchpath.h (search_path): Updated.
  2132. * src/devices/grops/ps.cpp (main): Handle new `-I' switch.
  2133. * src/devices/grops/ps.h: Include `searchpath.h'.
  2134. * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
  2135. Open resource file with `include_search_path.open_file_cautious'.
  2136. * src/devices/grops/grops.man: Document new `-I' switch.
  2137. * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
  2138. (main), src/devices/grolj4/lj4.cpp (main),
  2139. src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
  2140. * src/preproc/soelim/soelim.cpp (include_list_length, include_list):
  2141. Replaced with...
  2142. (include_search_path): New global variable.
  2143. (include_path_append): Removed.
  2144. (main): Use `include_search_path.command_line_dir' to handle `-I'.
  2145. (do_file): Simplify, using new
  2146. `include_search_path.open_file_cautious'.
  2147. * src/roff/groff/groff.cpp (print_commands): Accept file handle as
  2148. parameter.
  2149. (main): Pass arguments to `-I' to both troff and devices.
  2150. Improve handling of `-V'.
  2151. * src/roff/groff/groff.man: Document changes to -I and -V.
  2152. * src/roff/troff/input.cpp (include_search_path): New global
  2153. variable.
  2154. (next_file, source, ps_bbox_request, transparent_file,
  2155. process_input_file): Use new
  2156. `include_search_path.open_file_cautious'.
  2157. (main) Handle `-I' switch.
  2158. * src/roff/troff/node.cpp (troff_output_file::really_copy_file):
  2159. Use new `include_search_path.open_file_cautious'.
  2160. * src/roff/troff/node.h: New extern symbol `include_search_path'.
  2161. * src/roff/troff/troff.man: Document new `-I' switch.
  2162. 2003-09-15 Ruslan Ermilov <ru@FreeBSD.org>
  2163. Support multiple calls of .Lb in LIBRARY section.
  2164. * tmac/doc-common (doc-in-library-section): New register.
  2165. (doc-section-library): New string.
  2166. (Sh): Set `doc-in-library-section'.
  2167. (Rd): Updated.
  2168. * tmac/doc-syms (Lb): Insert breaks before and after arguments
  2169. if in LIBRARY section.
  2170. * tmac/doc.tmac (doc-save-global-vars): Updated.
  2171. * NEWS, tmac/groff_mdoc.man: Updated.
  2172. 2003-09-14 Ruslan Ermilov <ru@FreeBSD.org>
  2173. * tmac/doc-common (doc-default-operating-system): New variable.
  2174. (Os): Use it.
  2175. 2003-09-08 Werner LEMBERG <wl@gnu.org>
  2176. * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also.
  2177. 2003-08-31 Werner LEMBERG <wl@gnu.org>
  2178. * contrib/mom/Makefile.sub: Fix last change to make it really work.
  2179. * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
  2180. (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
  2181. $(DEVFILES) are not empty.
  2182. * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
  2183. 2003-08-26 Chuck Silvers <chuq@chuq.com>
  2184. * contrib/mom/Makefile.sub (prepare_make_examples): Make it work
  2185. with parallel runs of `make'.
  2186. 2003-08-23 Stephen Gildea <http://www.gildea.com/stephen>
  2187. * src/preproc/ref/ref.cpp (reference::compute_sort_key): Always
  2188. insert SORT_SEP. With certain combinations of sort specifications,
  2189. refer sorted entries in the wrong order. In particular, entries
  2190. with a missing field should be be sorted before all entries that
  2191. have that field, before refer looks to the next field.
  2192. 2003-08-23 Werner LEMBERG <wl@gnu.org>
  2193. * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the
  2194. g++ linker is used. Reported by Mark J. Reed
  2195. <mark.reed@turner.com>.
  2196. 2003-08-16 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
  2197. Add key character `x' to tbl which makes tbl call a user-defined
  2198. macro on a table cell.
  2199. * src/preproc/tbl/table.h (entry_modifier): Add `macro'.
  2200. * src/preproc/tbl/table.cpp (block_entry::do_divert): Call
  2201. `set_modifier' after printing the compatibility request.
  2202. (set_modifier): Print call to `m->macro' if not empty.
  2203. * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
  2204. `macro'.
  2205. (process_format): Implement cases `x' and `X'.
  2206. * src/preproc/tbl/tbl.man, NEWS: Updated.
  2207. 2003-08-15 Werner LEMBERG <wl@gnu.org>
  2208. * doc/groff.texinfo: Minor fixes.
  2209. 2003-08-09 Werner LEMBERG <wl@gnu.org>
  2210. * tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
  2211. 2003-08-07 Werner LEMBERG <wl@gnu.org>
  2212. * doc/Makefile.sub: Not all shells expand wildcards in the `for'
  2213. argument list to nothing if there is no file to match. Use `ls' as
  2214. a protection, similar to autoconf.
  2215. * Makefile.comm (install_dev, uninstall_dev): Protect `for' against
  2216. empty argument lists.
  2217. * doc/groff.texinfo: Improve documentation how vertical spacing
  2218. and line breaks interact.
  2219. Other minor fixes.
  2220. * tmac/www.tmac: Initialize `www-htmlimage-gap'.
  2221. 2003-08-03 Werner LEMBERG <wl@gnu.org>
  2222. * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
  2223. EPS (using eps2eps or similar programs to compute the bounding box).
  2224. 2003-07-24 Werner LEMBERG <wl@gnu.org>
  2225. * doc/groff.texinfo: Use the new @/ command to avoid overlong lines.
  2226. * doc/texinfo.tex: Updated from texinfo 4.6.
  2227. * README.CVS: From now on we need texinfo 4.6.
  2228. 2003-07-23 Werner LEMBERG <wl@gnu.org>
  2229. Add requests `dei1' and `ami1' for completeness.
  2230. * src/roff/troff/input.cc (calling_mode): Remove
  2231. CALLING_DISABLE_COMP.
  2232. (comp_mode): New enumeration.
  2233. (do_define_string, define_string, define_nocomp_string,
  2234. append_string, append_nocomp_string): Updated.
  2235. (do_define_macro): Add third parameter.
  2236. (define_macro, define_nocomp_macro, define_indirect_macro,
  2237. append_macro, append_nocomp_macro, append_indirect_macro): Updated.
  2238. (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
  2239. functions.
  2240. (ignore): Updated.
  2241. (init_input_requests): Add `dei1' and `ami1'.
  2242. * tmac/trace.tmac: Handle de1 and am1.
  2243. (de): Improve tracing message.
  2244. (am): Add missing `do'.
  2245. (return): Use de1.
  2246. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
  2247. Document new requests.
  2248. 2003-07-22 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
  2249. Add option -G to .MPIMG to insert a gap between text and the image.
  2250. * tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
  2251. www-finish-left-ll): Updated.
  2252. (www-image-just, www-image-gap, www-htmlimage-gap): New variables.
  2253. (MPIMG): Make option -L and -R optional.
  2254. Implement option -G.
  2255. 2003-07-22 Gaius Mulley <gaius@glam.ac.uk>
  2256. * src/devices/grohtml/post-html.cpp
  2257. (html_printer::do_file_components): Don't use `stdout' as lvalue
  2258. since it can be a macro.
  2259. 2003-07-22 Werner LEMBERG <wl@gnu.org>
  2260. * src/libs/libgroff/strerror.c: Include errno.h to be in sync with
  2261. the corresponding test in aclocal.m4.
  2262. 2003-07-21 Werner LEMBERG <wl@gnu.org>
  2263. * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour
  2264. names but RGB values directly. Otherwise pnmtopng depends on
  2265. an external file `rgb.txt' which maps colour names to values.
  2266. 2003-07-20 Werner LEMBERG <wl@gnu.org>
  2267. * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
  2268. * configure, src/include/config.hin: Regenerated.
  2269. * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
  2270. 2003-07-19 Werner LEMBERG <wl@gnu.org>
  2271. * PROBLEMS: Add solution for UTF-8 problem with hyphens.
  2272. 2003-07-18 Werner LEMBERG <wl@gnu.org>
  2273. * *.man: Switch to non-compatibility mode temporarily if GNU
  2274. syntax extensions are used in the particular man page.
  2275. * PROBLEMS: Add solutions for SGR problems.
  2276. 2003-07-17 Werner LEMBERG <wl@gnu.org>
  2277. Don't ignore grotty's command line options if \X'tty: sgr ...' is
  2278. used to change the drawing scheme.
  2279. * src/devives/grotty/tty.cpp (bold_flag_option,
  2280. underline_flag_option, italic_flag_option, reverse_flag_option,
  2281. bold_underline_mode_option): New global variables.
  2282. (update_options): New function.
  2283. (tty_printer::special): Call update_options.
  2284. (main): Don't set xxx_flag but xxx_flag_option, then call
  2285. update_options.
  2286. 2003-07-14 Werner LEMBERG <wl@gnu.org>
  2287. Make grotty emit proper Unicode box drawing characters for -Tutf8.
  2288. * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum
  2289. values.
  2290. (hline_char, vline_char): New global variables.
  2291. (tty_printer::tty_printer): Initialize them.
  2292. (tty_printer::draw): Emit START_LINE and END_LINE flags for both
  2293. horizontal and vertical lines.
  2294. (crossings): New global array.
  2295. (tty_printer::end_page): Use it to determine the proper crossing
  2296. character for -Tutf8.
  2297. 2003-07-12 Werner LEMBERG <wl@gnu.org>
  2298. * doc/Makefilesub (HTMLDOCFILESALL): New macro.
  2299. (HTMLDOCFILES): Revert to `pic.html'.
  2300. (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
  2301. 2003-07-11 Werner LEMBERG <wl@gnu.org>
  2302. * doc/pic.ms: Improve documentation of absolute coordinates.
  2303. Document absolute positioning of pictures.
  2304. * NEWS: Add new pic capability.
  2305. 2003-07-09 Hartmut Henkel <hartmut_henkel@gmx.de>
  2306. * src/libs/libgroff/geometry.cpp (check_output_arc_limits):
  2307. Rewritten.
  2308. 2003-07-07 Werner LEMBERG <wl@gnu.org>
  2309. Implement support for dashed and dotted ellipses in pic. Based on
  2310. a patch from Hartmut Henkel <hartmut_henkel@gmx.de>.
  2311. * src/preproc/pic/common.cpp (common_output::ellipse_arc,
  2312. common_output::dashed_ellipse, common_output::dotted_ellipse): New
  2313. functions. Ellipse arcs are approximated with circle arcs.
  2314. * src/preproc/pic/common.h (common_output): Updated.
  2315. * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse
  2316. functions.
  2317. * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto.
  2318. * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated.
  2319. 2003-07-06 Werner LEMBERG <wl@gnu.org>
  2320. Make grotty work on platforms which have unsigned char as the
  2321. default for char. Based on a patch by Thomas Klausner
  2322. <wiz@netbsd.org>.
  2323. * src/devices/grotty/tty.cpp (schar): New typedef.
  2324. Updated calls to declare_ptable and implement_ptable.
  2325. (glyph): Use schar for back_color_idx and fore_color_idx.
  2326. (tty_printer): Use schar for curr_fore_idx and curr_back_idx.
  2327. (tty_printer::tty_color, tty_printer::tty_printer,
  2328. tty_printer::color_to_idx, tty_printer::put_color): Updated.
  2329. 2003-07-06 Ruslan Ermilov <ru@FreeBSD.org>
  2330. * src/roff/nroff/nroff.sh: Add option -d for completeness.
  2331. * src/roff/nroff/nroff.man: Updated.
  2332. 2003-07-05 Werner LEMBERG <wl@gnu.org>
  2333. * NEWS, tmac/groff_www.man: Updated.
  2334. * doc/Makefile.sub: Updated.
  2335. 2003-07-05 Gaius Mulley <gaius@glam.ac.uk>
  2336. Implement support for multiple HTML output files.
  2337. * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
  2338. -j command line option.
  2339. * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
  2340. global variables.
  2341. (file): New fields `new_output_file', `require_links',
  2342. `output_file_name'.
  2343. (file::file): Updated.
  2344. (files::set_file_name, files::set_links_required,
  2345. files::are_links_required, files::is_new_output_file,
  2346. files::file_name, files::next_file_name): New functions.
  2347. (header_desc): New fields `no_of_level_one_headings',
  2348. `header_filename'.
  2349. (header_desc::header_desc): Updated.
  2350. (header_desc::write_headings): Handle multiple files.
  2351. (html_printer::write_header): Save file name in which header occurs.
  2352. (html_printer::determine_header_level): Possibly split files on
  2353. level one headings.
  2354. (html_printer::do_links, html_printer::troff_tag): Updated.
  2355. (html_printer::insert_split_file, html_printer::do_job_name,
  2356. html_printer::emit_link, html_printer::write_navigation,
  2357. html_printer::do_file_components): New functions.
  2358. (html_printer::~html_printer): Handle multiple files.
  2359. (main): Handle command line option `-j'.
  2360. * src/devices/grohtml/grohtml.man: Updated.
  2361. * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
  2362. which splits file.
  2363. * tmac/www.tmac (JOBNAME): New macro.
  2364. * tmac/s.tmac (SH-NO-TAG): New macro.
  2365. (@SH): Call SH-NO-TAG.
  2366. (@NH): Updated.
  2367. 2003-07-05 Ruslan Ermilov <ru@FreeBSD.org>
  2368. * tmac/groff_mdoc.man: Improve documentation of punctuation
  2369. characters.
  2370. 2003-07-04 Ruslan Ermilov <ru@FreeBSD.org>
  2371. * tmac/doc.tmac (Bd): Change to doc-Li-font later.
  2372. 2003-07-03 Werner LEMBERG <wl@gnu.org>
  2373. * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
  2374. 2003-07-01 Ruslan Ermilov <ru@FreeBSD.org>
  2375. * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
  2376. after `/*' and `*/'.
  2377. Fix spacing.
  2378. (Fn, Fo): Reduce indentation in synopsis.
  2379. * tmac/doc-common (doc-check-depth): New macro.
  2380. (doc-end-macro, Sh, Ss): Use it.
  2381. (Cd): Fix behaviour in synopsis.
  2382. (In): Make it parsed and callable.
  2383. If not in the synopsis, represent the C header file enclosed in
  2384. angle brackets.
  2385. (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
  2386. Use minus, not hyphen.
  2387. * tmc/groff_mdoc.man: Updated.
  2388. 2003-07-01 Werner LEMBERG <wl@gnu.org>
  2389. Integrated grap2graph, contributed by Eric S. Raymond.
  2390. * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
  2391. New files.
  2392. * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
  2393. contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
  2394. 2003-07-01 Colin Watson <cjwatson@debian.org>
  2395. * src/xditview/*.c: Add prototypes, fix return types, add includes.
  2396. Based on work by Fumitoshi UKAI <ukai@debian.or.jp>.
  2397. 2003-06-31 Ruslan Ermilov <ru@FreeBSD.org>
  2398. * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.
  2399. 2003-06-31 Werner LEMBERG <wl@gnu.org>
  2400. * doc/Makefile.sub (CLEANADD): Remove all files created by
  2401. running `make groff.{pdf,dvi}'.
  2402. * Makefile.sub (DISTCLEANFILES): Remove all non-source files from
  2403. src/xditview also.
  2404. 2003-06-30 Werner LEMBERG <wl@gnu.org>
  2405. * Makefile.in (SHELL): Define as @SHELL@.
  2406. (mkinstalldirs): Use $(SHELL).
  2407. (MDEFINES): Add $(SHELL).
  2408. * Makefile.comm (SHELL): Removed.
  2409. 2003-06-29 Werner LEMBERG <wl@gnu.org>
  2410. * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively.
  2411. The X11 documentation files use them.
  2412. * tmac/groff_ms.man, doc/groff.texinfo: Document them.
  2413. 2003-06-15 Robert Goulding <goulding@Princeton.EDU>
  2414. * tmac/e.tmac (@C): Handle .ad also.
  2415. 2003-06-12 Werner LEMBERG <wl@gnu.org>
  2416. * src/preproc/tbl/tbl.man: Document formatting of text blocks.
  2417. * src/roff/troff/input.cc (token::next) <handle_escape_char>:
  2418. Assign `n' even here. It is possible to construct a node
  2419. immediately following an escape character:
  2420. .di xx
  2421. \?\\\?a
  2422. .br
  2423. .di
  2424. .xx
  2425. 2003-06-10 Werner LEMBERG <wl@gnu.org>
  2426. * README.WIN32: Removed.
  2427. * MANIFEST: Updated.
  2428. 2003-06-07 Werner LEMBERG <wl@gnu.org>
  2429. * src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
  2430. 2003-06-05 Werner LEMBERG <wl@gnu.org>
  2431. * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug
  2432. in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885).
  2433. 2003-06-03 Werner LEMBERG <wl@gnu.org>
  2434. * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
  2435. is done by the calling function.
  2436. 2003-05-22 Ruslan Ermilov <ru@FreeBSD.org>
  2437. * tmac/X.tmac: Fix definition of `em'.
  2438. 2003-05-22 Werner LEMBERG <wl@gnu.org>
  2439. * src/roff/troff/input.cc (return_macro_request): Fix detection of
  2440. argument.
  2441. 2003-05-18 Werner LEMBERG <wl@gnu.org>
  2442. * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
  2443. to make items work which consist only of a tag.
  2444. 2003-05-17 Werner LEMBERG <wl@gnu.org>
  2445. * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
  2446. aren't stretched in a tag (this can fail with unformatted boxes).
  2447. Instead, insert a break and go back one line.
  2448. 2003-05-16 Werner LEMBERG <wl@gnu.org>
  2449. * src/roff/troff/input.cc (return_macro_request): If called with
  2450. argument pop macro twice. We need this to trace `return'.
  2451. * tmac/trace.tmac: Handle `return'.
  2452. Fix typos.
  2453. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
  2454. Document.
  2455. 2003-05-15 Larry Kollar <kollar@alltel.net>
  2456. * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
  2457. registers `FPS', `FVS', and `FPD'.
  2458. 2003-05-15 Werner LEMBERG <wl@gnu.org>
  2459. * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter
  2460. correctly.
  2461. 2003-05-03 Ruslan Ermilov <ru@FreeBSD.org>
  2462. * tmac/groff_mdoc.man: Slight improvements.
  2463. 2003-05-03 Werner LEMBERG <wl@gnu.org>
  2464. * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
  2465. `doc-header-space' after header line if register `cR' is set.
  2466. 2003-05-02 Werner LEMBERG <wl@gnu.org>
  2467. * TODO: Updated.
  2468. 2003-05-01 Ruslan Ermilov <ru@FreeBSD.org>
  2469. * tmac/doc-common (Nd): Use \[em].
  2470. 2003-05-01 Werner LEMBERG <wl@gnu.org>
  2471. * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
  2472. doc-footer-space): Initialize to 0.5i.
  2473. (doc-setup-page-layout): Don't set doc-header-space and
  2474. doc-footer-space.
  2475. 2003-04-30 Werner LEMBERG <wl@gnu.org>
  2476. * REVISION: Set to 1.
  2477. * doc/pic.ms: Document possible problems with `figname'.
  2478. 2003-04-29 Werner LEMBERG <wl@gnu.org>
  2479. Version 1.19 released
  2480. =====================
  2481. * VERSION: Set to 1.19.
  2482. * REVISION: Set to 0.
  2483. * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
  2484. * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
  2485. Define charset as `US-ASCII' in html output.
  2486. * tmac/www.tmac (ULE): Add missing scaling indicator.
  2487. * win32-diffs: Removed.
  2488. 2003-04-28 Werner LEMBERG <wl@gnu.org>
  2489. * doc/groff.texinfo: Document `dn' and `dl' registers if used with
  2490. `.da' and `.boxa'.
  2491. Document how to insert discardable whitespace with `.ss'.
  2492. 2003-04-27 Werner LEMBERG <wl@gnu.org>
  2493. * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code
  2494. work with plain TeX also.
  2495. * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
  2496. 2003-04-25 Gaius Mulley <gaius@glam.ac.uk>
  2497. * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
  2498. Use a loose DTD.
  2499. 2003-04-24 Werner LEMBERG <wl@gnu.org>
  2500. * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
  2501. vbox with positive height and zero depth if in TeX mode.
  2502. * NEWS: Document glyph name changes for grodvi and grolj4.
  2503. 2003-04-23 Werner LEMBERG <wl@gnu.org>
  2504. * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code.
  2505. * doc/pic.ms: Fixed.
  2506. 2003-04-21 Werner LEMBERG <wl@gnu.org>
  2507. HP-UX 10.20 has `snprintf' but it isn't declared.
  2508. * configure.ac: Add declaration test for snprintf.
  2509. * configure: Regenerated.
  2510. * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
  2511. * src/include/config.hin: Regenerated.
  2512. 2003-04-19 Werner LEMBERG <wl@gnu.org>
  2513. Add keyword `figname' to pic, specifying the name of the picture
  2514. box in TeX mode. Based on a patch from William J Poser
  2515. <wjposer@unagi.cis.upenn.edu>.
  2516. * src/preproc/pic/pic.y: New token `FIGNAME'.
  2517. (macro_name): New rule of type <str>.
  2518. (placeless_element): Handle `FIGNAME'.
  2519. * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
  2520. * src/preproc/pic/main.cpp (graphname): New global variable.
  2521. (do_picture): Initialize `graphname'.
  2522. * src/preproc/pic/pic.h: Updated.
  2523. * src/preproc/pic/tex.cpp (tex_output::start_picture): Use
  2524. `graphname'.
  2525. Simplify TeX code.
  2526. (tex_output::text): Beautify output.
  2527. * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
  2528. `shaded' and `outlined' unconditionally.
  2529. * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
  2530. Minor improvements.
  2531. * PROBLEMS, README.CVS: Mention that bison version 1.875b or
  2532. greater is necessary.
  2533. 2003-04-17 Hartmut Henkel <hartmut_henkel@gmx.de>
  2534. Add option -r to soelim to avoid emission of `.lf' lines.
  2535. Add option -t to produces TeX comment lines instead of `.lf' lines.
  2536. * src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
  2537. and `tex_flag'.
  2538. (usage): Updated.
  2539. (main): Handle `-r' and `-t'.
  2540. (set_location): Handle `raw_flag' and `tex_flag'.
  2541. * src/preproc/soelim/soelim.man, NEWS: Updated.
  2542. 2003-04-17 Werner LEMBERG <wl@gnu.org>
  2543. * tmac/hyphenex.sh: Replaced with...
  2544. * tmac/hyphenex.pl: This perl script to avoid sed compatibility
  2545. nightmares.
  2546. * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
  2547. if --quiet is used for the configure script.
  2548. * configure: Regenerated.
  2549. 2003-04-16 Werner LEMBERG <wl@gnu.org>
  2550. * src/devices/grohtml/post-html.cpp (text_glob::text_glob):
  2551. Add `const' to second argument.
  2552. (html_printer::add_table_end): Add `const' to argument.
  2553. * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
  2554. `const' to arguments.
  2555. * src/devices/grohtml/html-text.h: Updated.
  2556. * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
  2557. * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
  2558. argument.
  2559. * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
  2560. cast for integer constant.
  2561. * src/preproc/html/pre-html.cpp (image_device): Use `const'.
  2562. (writeNbytes): Add `const' to first argument.
  2563. (writeString): Add `const' to argument.
  2564. (char_buffer::can_see): Add `const' to third argument.
  2565. * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
  2566. `const' to argument.
  2567. * src/preproc/html/pushback.h: Updated.
  2568. * src/preproc/soelim/soelim.cpp (include_list): Add `const'.
  2569. (include_path_append): Add `const' to argument.
  2570. (do_file): Updated.
  2571. * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
  2572. for `value'.
  2573. (unicode_to_glyph_init::unicode_to_glyph_init): Updated.
  2574. * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
  2575. for `value'.
  2576. (unicode_decompose_init::unicode_decompose_init): Updated.
  2577. * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
  2578. for `value'.
  2579. (glyph_to_unicode_init::glyph_to_unicode_init): Updated.
  2580. * src/roff/troff/input.cc (process_startup_file): Add `const' to
  2581. argument.
  2582. * tmac/hyphenex.sh: Make script more portable by using a here
  2583. document.
  2584. 2003-04-15 Werner LEMBERG <wl@gnu.org>
  2585. Renamed all `*.cc' files to `*.cpp'.
  2586. Updated all configuration files, makefiles, and documentation.
  2587. 2003-04-14 Werner LEMBERG <wl@gnu.org>
  2588. * tmac/hyphenex.sh: Slight improvements.
  2589. 2003-04-13 Werner LEMBERG <wl@gnu.org>
  2590. * font/devascii/R.proto, font/devcp1037/R.proto,
  2591. font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
  2592. character slots with unnamed glyphs.
  2593. * tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
  2594. (an-first): New global variable.
  2595. (an-header): Emit vertical space between multiple man pages.
  2596. 2003-04-11 Werner LEMBERG <wl@gnu.org>
  2597. * doc/groff.texinfo, man/groff_out.man: \S only accepts integer
  2598. values.
  2599. 2003-04-10 Werner LEMBERG <wl@gnu.org>
  2600. * PROBLEMS: Revised.
  2601. 2003-04-10 Bernd Warken <bwarken@mayn.de>
  2602. * doc/webpage.ms: Improved.
  2603. 2003-04-09 Werner LEMBERG <wl@gnu.org>
  2604. Add register \n[.height] which returns the value of \H.
  2605. Add register \n[.slant] which returns the value of \S.
  2606. * src/roff/troff/env.cc (init_env_requests): Implement.
  2607. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
  2608. Document.
  2609. 2003-04-08 Werner LEMBERG <wl@gnu.org>
  2610. * tmac/html.tmac: Move some of the data into html-end.tmac.
  2611. Remove most of the character translations for eqn since html fonts
  2612. now cover those characters.
  2613. Load www.tmac.
  2614. * tmac/html-end.tmac: New file.
  2615. * tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
  2616. * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
  2617. * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
  2618. 2003-04-07 Werner LEMBERG <wl@gnu.org>
  2619. * man/groff_out.man: Document negative values of `N' if -Thtml is
  2620. used.
  2621. 2003-04-06 Werner LEMBERG <wl@gnu.org>
  2622. * Makefile.comm (depend.temp): Check location of YTABC.
  2623. 2003-04-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  2624. * contrib/mom/Makefile.sub (GROFFBIN): New variable for groff
  2625. binary path.
  2626. (groff_bin_path): Rename to GROFF_BIN_PATH.
  2627. (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
  2628. * doc/Makefile.in (TROFFBIN): New variable for troff
  2629. binary path.
  2630. (GROFFBIN): New variable for groff binary path.
  2631. (groff_bin_path): Rename to GROFF_BIN_PATH.
  2632. (TROFF): Use TROFFBIN.
  2633. (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
  2634. * doc/Makefile.sub (GROFFBIN): New variable for groff
  2635. binary path.
  2636. (groff_bin_path): Rename to GROFF_BIN_PATH.
  2637. (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
  2638. * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
  2639. with INSTALL_SCRIPT.
  2640. (uninstall_dev): Uninstall scripts from DEVSCRIPTS.
  2641. * Makefile.dev (all): Depend on DEVSCRIPTS.
  2642. (install_dev): Likewise.
  2643. * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
  2644. scripts.
  2645. * font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
  2646. (DEVGENSCRIPTS): New variable to hold generated scripts.
  2647. 2003-04-05 Werner LEMBERG <wl@gnu.org>
  2648. * src/libs/libdriver/input.cc (IntArray::operator[],
  2649. IntArray::get_data): Remove meaningless `const' in return value.
  2650. * README.CVS: New file.
  2651. 2003-04-04 Werner LEMBERG <wl@gnu.org>
  2652. Check for stdint.h in C++, not in C.
  2653. * aclocal.m4 (GROFF_STDINT_H): New function,
  2654. * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
  2655. AC_CHECK_HEADERS.
  2656. * configure, src/include/config.hin: Regenerated.
  2657. * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
  2658. Fix handling of &nbsp; in grohtml. To do this, troff emits `N'
  2659. with a negative value, representing the width of the unbreakable
  2660. space (only for -Thtml). grohtml then converts this back to
  2661. &nbsp; and uses the value of N as its width.
  2662. * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
  2663. unbreakable_space_node::tprint): Emit `N-<width>'.
  2664. * src/include/printer.h (printer::set_numbered_char): Make it
  2665. virtual.
  2666. Make members `font_table' and `nfonts' protected instead of private.
  2667. * src/devices/grohtml/post-html.cc
  2668. (html_printer::set_numbered_char): New member function.
  2669. * src/libs/libgroff/maxfilename.cc:
  2670. s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
  2671. * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
  2672. emit word marker.
  2673. 2003-04-03 Sergey A. Osokin <osa@freebsd.org.ru>
  2674. * man/roff.man: Small fixes.
  2675. 2003-04-03 Werner LEMBERG <wl@gnu.org>
  2676. Make groff independent from locale's numeric settings.
  2677. * configure.ac: Check for `setlocale'.
  2678. * configure, src/include/config.hin: Regenerated.
  2679. * src/include/lib.h: Handle HAVE_SETLOCALE.
  2680. * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
  2681. (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
  2682. (main), src/preproc/pic/main.cc (main): Call `setlocale'.
  2683. * doc/groff.texinfo: Change dir category to `Typesetting'.
  2684. (Man font macros): Mention that there is no space between arguments
  2685. of .BI and friends.
  2686. * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
  2687. (*printer::change_color, *printer::change_fill_color): Add missing
  2688. `const'.
  2689. 2003-04-02 Werner LEMBERG <wl@gnu.org>
  2690. * src/devices/grohtml/html-table.cc (html_table::emit_col,
  2691. html_table::is_gap): Compute table widths after converting border
  2692. positions to avoid rounding errors.
  2693. 2003-04-01 Werner LEMBERG <wl@gnu.org>
  2694. * src/devices/grohtml/html-text.cc (html_text::do_space): Handle
  2695. `space_emitted' properly.
  2696. 2003-03-31 Werner LEMBERG <wl@gnu.org>
  2697. * src/devices/grohtml/html-table.cc: Fix column width calculation.
  2698. (html_table::set_linelength): Don't add 1.
  2699. (html_table::add_indent): Don't subtract 1.
  2700. * tmac/html.tmac: Set default page offset to zero.
  2701. 2003-03-30 Werner LEMBERG <wl@gnu.org>
  2702. Make groff emit `&nbsp;' for `\ ' and `\~' if `-Thtml' is used.
  2703. * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
  2704. unbreakable_space_node::tprint): New functions.
  2705. (troff_output_file): Make space_char_hmotion_mode::tprint and
  2706. unbreakable_space_node::tprint to friends.
  2707. * src/roff/troff/node.h: Updated.
  2708. * font/devhtml/R.proto: Add `&nbsp' at position 0xA0 (as defined
  2709. in the HTML standard).
  2710. 2003-03-29 Werner LEMBERG <wl@gnu.org>
  2711. * src/roff/troff/env.cc (point_size): Fix emission of html tag.
  2712. Otherwise, the following code
  2713. .di xxx
  2714. .ps 10
  2715. a
  2716. .br
  2717. .di
  2718. x\*[xxx]
  2719. produces `x a' instead of `xa'. This is a temporary fix, disabling
  2720. font changes in diversions for -Thtml.
  2721. * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
  2722. `HTML-TAG'.
  2723. (an-do-tag-html): Merge with ...
  2724. (an-do-tag): This macro.
  2725. Change code slightly to circumvent grohtml bug.
  2726. * tmac/troffrc-end: Define dummy for HTML-TAG-NS.
  2727. * src/devices/grohtml/html-table.cc (html_table::emit_col,
  2728. html_table::is_gap): Round `width' properly.
  2729. * tmac/html.tmac: Provide some default layout parameters for
  2730. grohtml.
  2731. * font/devhtml/DESC.proto: Don't use discrete values for `sizes'
  2732. command.
  2733. 2003-03-28 Werner LEMBERG <wl@gnu.org>
  2734. src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
  2735. 2003-03-27 Werner LEMBERG <wl@gnu.org>
  2736. * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
  2737. defined.
  2738. 2003-03-20 Werner LEMBERG <wl@gnu.org>
  2739. * src/roff/troff/env.cc (vertical_spacing): Allow zero value for
  2740. `.vs'.
  2741. * doc/groff.texinfo: Updated.
  2742. 2003-03-19 Werner LEMBERG <wl@gnu.org>
  2743. * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
  2744. TOKEN_END_TRAP>: Reset `have_input'.
  2745. 2003-03-18 Werner LEMBERG <wl@gnu.org>
  2746. * src/roff/groff/groff.man: Mention groff_trace man page.
  2747. 2003-03-16 Werner LEMBERG <wl@gnu.org>
  2748. * Makefile.in (LIBEXT): New variable to indicate the file extension
  2749. of library files. Computed heuristically from $(OBJEXT).
  2750. (MDEFINES): Add $(LIBEXT).
  2751. * Makefile.lib, Makefile.comm: Use it.
  2752. * src/utils/pfbtops/pfbtops.c (get_text): New function. Split
  2753. overlong lines into smaller chunks.
  2754. (get_binary): New function.
  2755. (main): Use them.
  2756. * src/utils/pfbtops/pfbtops.man: Updated.
  2757. 2003-03-15 Colin Watson <cjwatson@debian.org>
  2758. * src/roff/groff/groff.man: Minor syntax fix.
  2759. 2003-03-14 Egil Kvaleberg <egil@kvaleberg.no>
  2760. * src/devices/grops/ps.cc (ps_printer::media_set,
  2761. ps_printer::~ps_printer): Handle zero paper width and length.
  2762. 2003-03-13 Werner LEMBERG <wl@gnu.org>
  2763. Add options -p and -l to grodvi.
  2764. * src/devices/grodvi/dvi.cc: Include paper.h.
  2765. (landscape_flag, user_paper_length, user_paper_width): New global
  2766. variables.
  2767. (dvi_printer::begin_page): Emit `papersize' special.
  2768. Set color after initialization of `cur_h' and `cur_v'.
  2769. (main): Add options `-l' and `-p'.
  2770. * font/devdvi/Makefile.sub (DESC): Set `papersize'.
  2771. * src/devices/grodvi/grodvi.man, NEWS: Updated.
  2772. * src/devices/grops/psrm.cc (valid_input_table): Fixed.
  2773. 2003-03-12 Werner LEMBERG <wl@gnu.org>
  2774. * src/devices/grops/grops.man: Move documentation of .PSPIC to...
  2775. * man/groff_tmac.man: This man page.
  2776. * man/groff_font.man: Declare `paperwidth' and `paperlength' as
  2777. deprecated.
  2778. * tmac/X.tmac: Don't load pspic.tmac.
  2779. 2003-03-11 Werner LEMBERG <wl@gnu.org>
  2780. Make variable `pr' local to libdriver/input.cc. Based on a patch
  2781. by Bernd Warken <bwarken@mayn.de>.
  2782. * src/include/driver.h (pr): Removed.
  2783. * src/libs/libdriver/input.cc (pr): New global variable.
  2784. (do_file): Deallocate `pr'.
  2785. * src/libs/libdriver/printer.cc (pr): Removed.
  2786. * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
  2787. (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
  2788. (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
  2789. (main): Don't delete `pr'.
  2790. 2003-03-10 Werner LEMBERG <wl@gnu.org>
  2791. * tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
  2792. * tmac/papersize.tmac: New file.
  2793. * tmac/troffrc: Include `papersize.tmac'.
  2794. * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
  2795. * tmac/an-old.tmac: Set LT to LL by default.
  2796. * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
  2797. doc/groff.texinfo: Updated.
  2798. * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
  2799. bug which caused all odd iso papers to have wrong dimensions.
  2800. * src/devices/grops/ps.cc (user_paper_width): New global variable.
  2801. (main) <'p'>: Set `user_paper_width' also.
  2802. (ps_printer::media_width, ps_printer::media_height): Use values
  2803. given with option `-p'.
  2804. 2003-03-09 Werner LEMBERG <wl@gnu.org>
  2805. * src/include/nonposix.h: Provide default for SET_BINARY.
  2806. * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc,
  2807. src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY
  2808. unconditionally.
  2809. * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally.
  2810. (main): Treat \r\n as \n.
  2811. 2003-03-08 Werner LEMBERG <wl@gnu.org>
  2812. * tmac/an-old.tmac: Use register `HY' to control hyphenation.
  2813. * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
  2814. 2003-03-07 Werner LEMBERG <wl@gnu.org>
  2815. Added support to access more than 256 glyphs in Type 1 fonts.
  2816. * src/devices/grops/ps.cc (subencoding): New structure.
  2817. (style): Add `sub' field.
  2818. Updated all users.
  2819. (ps_printer): Add `subencodings' and `next_subencoding_index' fields.
  2820. Add `set_subencoding', `get_subfont' and `encode_subfont' member
  2821. functions.
  2822. Updated all users.
  2823. (ps_printer::set_char): Use `set_subencoding'.
  2824. (make_subencoding_name): New function.
  2825. (ps_printer::set_style): Handle case where `sty.sub' is not zero.
  2826. (ps_printer::~ps_printer): Emit subencoding definitions.
  2827. * src/devices/grops/psrm.cc (valid_input_table): New array to
  2828. properly support EBCDIC.
  2829. (white_space): Add `\f'.
  2830. (ps_get_line): Change first argument to be of type `string &'.
  2831. Updated all callers.
  2832. This allows to get lines of arbitrary length.
  2833. Use `valid_input_table'.
  2834. Remove warning about non-conforming PS line length. This seems
  2835. not to be of great importance -- for example, dvips don't emit
  2836. a warning either.
  2837. (PS_LINE_MAX): Removed.
  2838. (matches_comment): Change first argument to be of type `string &'.
  2839. * src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
  2840. * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
  2841. %AGL_to_unicode, %default_ligatures): New hash tables.
  2842. Read all map entries.
  2843. Add unencoded characters.
  2844. Check for default ligatures if there are no `L' entries.
  2845. Print all kern entries.
  2846. Print all characters in charset.
  2847. * src/utils/afmtodit/afmtodit.man: Updated.
  2848. * font/devps/*: Regerated all fonts.
  2849. * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
  2850. of characters, just use `.trin'. Otherwise the mapping depends
  2851. on the font encoding.
  2852. * tmac/ps.tmac: Add `fi' and `fl'.
  2853. Improve `Fi' and `Fl'.
  2854. * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
  2855. * tmac/Xps.tmac: Fix `em'.
  2856. * NEWS: Updated.
  2857. 2003-03-04 Werner LEMBERG <wl@gnu.org>
  2858. * src/roff/troff/input.cc (charinfo_to_node_list): Reset
  2859. `have_input'.
  2860. 2003-03-03 Werner LEMBERG <wl@gnu.org>
  2861. * Makefile.sub (DISTCLEANFILES): Add gxditview._man.
  2862. * font/devps/generate/textmap: Remove entry `similarequal'.
  2863. * font/devps/symbolmap: Updated.
  2864. 2003-03-02 Werner LEMBERG <wl@gnu.org>
  2865. * src/libs/libgroff/font.cc (font::load): Fix error message for
  2866. bad character type.
  2867. * src/devices/grops/grops.man: Improve documentation of the -b
  2868. flag.
  2869. * tmac/tty.tmac: Load latin1.tmac for all TTY devices except
  2870. `ascii' and `cp1047'.
  2871. 2003-03-01 Werner LEMBERG <wl@gnu.org>
  2872. Document composite glyphs and the `composite' request.
  2873. * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
  2874. 2003-02-28 Werner LEMBERG <wl@gnu.org>
  2875. * font/devdvi/generate/ec.map: Add some more Unicode entities.
  2876. * font/devdvi/*EC: Updated.
  2877. * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
  2878. * tmac/latin1 (latin1-tr): Undo any previous mapping.
  2879. * tmac/troffrc: Load `composite.tmac'.
  2880. * tmac/Makefile.sub (NORMALFILES): Updated.
  2881. * doc/groff.texinfo (Input Encodings): New section.
  2882. * NEWS: Updated.
  2883. 2003-02-27 Werner LEMBERG <wl@gnu.org>
  2884. * doc/texinfo.tex: New version 2003-02-11.06.
  2885. * tmac/doc-common (Dt): Don't emit warning for unknown section.
  2886. * tmac/groff_mdoc.man: Fix description of `Dt'.
  2887. 2003-02-26 Egil Kvaleberg <egil@kvaleberg.no>
  2888. * font/devps/prologue.ps: Fix for included Postscript that does
  2889. a setpagedevice -- which is now safely ignored.
  2890. * NEWS: Updated.
  2891. * src/devices/grops/ps.cc: Now sets the page size in the generated
  2892. document. This is done in two ways: Via a %%-comment for gv and
  2893. the like, and via a PageSize and setpagedevice for programs that
  2894. understands Postscript proper, like ps2pdf.
  2895. * src/devices/grops/ps.h: New broken-flag to avoid page size
  2896. definition, if required.
  2897. * src/devices/grops/grops.man: New broken-flag 16 mentioned.
  2898. * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
  2899. Not really necessary due to the fix in prologue.ps, but cleaner:
  2900. Such information does not belong in an .eps file.
  2901. * doc/Makefile.sub: See doc/Makefile.in.
  2902. 2003-02-26 Ralph Corderoy <ralph@inputplus.co.uk>
  2903. * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
  2904. instead of P1 since the latter is broken in some versions of netpbm.
  2905. * configure: Updated.
  2906. 2003-02-26 Larry Kollar <kollar@alltel.net>
  2907. Make man pages more customizable.
  2908. * tmac/an-old.tmac (FT): New register holding footer distance from
  2909. bottom.
  2910. (HF): New string holding the default heading font.
  2911. (TH): Handle registers `IN' and `SN' set on the command line.
  2912. Use `FT'.
  2913. (PT, BT): New strings to customize header and footer lines.
  2914. (an-header, an-footer): Use them.
  2915. (SH, SS): Use `HF'.
  2916. * tmac/groff_man.man: Document changes.
  2917. * doc/groff.texinfo: Document man changes.
  2918. Document Ultrix extensions of man.
  2919. 2003-02-26 Werner LEMBERG <wl@gnu.org>
  2920. * src/roff/troff/input.cc (do_width, do_if_request): Reset
  2921. `have_input' after changing back to old environment.
  2922. * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
  2923. function up to be defined before first call. This is necessary to
  2924. avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
  2925. * src/utils/afmtodit/afmtodit.pl: Make script search for files in
  2926. the default font directory also. Based on a patch from James
  2927. J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
  2928. * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
  2929. * src/utils/afmtodit/afmtodit.man: Document it.
  2930. * NEWS: Updated.
  2931. * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
  2932. 2003-02-25 Gaius Mulley <gaius@glam.ac.uk>
  2933. * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
  2934. (GROFF_PNMTOPS_NOSETPAGE): New macro.
  2935. * configure.ac: Use it.
  2936. * configure: Regenerated.
  2937. * Makefile.in: Updated.
  2938. * tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
  2939. (CLEANADD): Add www.tmac-sed.
  2940. (pnmtops_nosetpage): Define default.
  2941. (install_data): Handle www.tmac-sed and substitute
  2942. @PNMTOPS_NOSETPAGE@.
  2943. (stamp-sed): Add www.tmac.
  2944. * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
  2945. It now breaks URLs at suitable places.
  2946. (www:substring_ok): New register set by...
  2947. (www:@test_substring): New macro.
  2948. (www:error): New alias to www-error.
  2949. (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
  2950. New macros.
  2951. (URL): Use www:url_breaks.
  2952. (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
  2953. (CDS, CDE): New macros.
  2954. 2003-02-25 Werner LEMBERG <wl@gnu.org>
  2955. * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
  2956. buffer overflow.
  2957. 2003-02-24 Werner LEMBERG <wl@gnu.org>
  2958. Contrary to the PCL5 Developer's Guide, the ascenders in TFM files
  2959. can be negative also.
  2960. * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be
  2961. `int16'.
  2962. (read_char_table): Avoid negative ascenders.
  2963. (output_charset): Add cast.
  2964. * font/devlj4/*: Regenerated.
  2965. Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where
  2966. possible.
  2967. * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it.
  2968. * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead
  2969. of `<>'.
  2970. * font/devdvi/*: Regenerated.
  2971. Map `la' and `ra' to U+27E8 and U+27E9. These two characters have
  2972. normal width, while the previously used characters (U+2329 and
  2973. U+232A) are classified as wide due to canonical equivalence with the
  2974. CJK punctuation characters U+3008 and U+3009.
  2975. * font/devutf8/R.proto: Updated.
  2976. * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto.
  2977. * man/groff_char.man: Simplify handling of table traps by
  2978. introducing `start block' and `end block' macros.
  2979. (Ns, Ne, 2s, 2e, Ds, De): New macros.
  2980. (DL): Make it work with Unix troff also.
  2981. Fix code values of `la' and `ra'.
  2982. * tmac/dvi.tmac: Define `<>' for CW and CWI.
  2983. 2003-02-23 Gaius Mulley <gaius@glam.ac.uk>
  2984. * src/devices/grohtml/post-html.cc (element_list::~element_list):
  2985. New destructor, fixing a major memory leak.
  2986. 2003-02-22 Werner LEMBERG <wl@gnu.org>
  2987. * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'
  2988. to be in conformance with Unicode 3.0 and newer.
  2989. * font/devlj4/generate/text.map: Add `Eu'.
  2990. * font/devlj4/generate/special.map: Flip `*e' and `+e'.
  2991. * font/devlj4/S: Regenerated.
  2992. * man/groff_char.man: Completely rewritten.
  2993. * doc/groff.texinfo: Fix description of request and macro arguments.
  2994. 2003-02-20 Gaius Mulley <gaius@glam.ac.uk>
  2995. Valgrind fixes.
  2996. * src/devices/grohtml/html-table.cc (html_table::~html_table):
  2997. Deallocate `columns' list.
  2998. * src/devices/grohtml/post-html.cc (char_block::~char_block):
  2999. New destructor.
  3000. (text_glob::text_glob_html, text_glob::text_glob_special,
  3001. text_glob::text_glob_line, text_glob::text_glob_auto_image,
  3002. text_glob::text_glob_tag): Avoid memory leaks.
  3003. (text_glob::remember_table): Free memory before reassigning.
  3004. 2003-02-19 Werner LEMBERG <wl@gnu.org>
  3005. Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
  3006. alias `hbar'), the Planck constant over two pi.
  3007. * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
  3008. `+e' for position 34.
  3009. * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
  3010. `u2662' and `u2661'.
  3011. * font/devdvi/{MI,S}: Regenerated.
  3012. * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
  3013. * font/devlbp/*: Add `hbar' alias.
  3014. * font/devlj4/generate/special.map: Ditto.
  3015. * font/devlj4/S: Regenerated.
  3016. * font/devps/generate/symbolchars: Add `+e'.
  3017. * font/devps/generate/textmap: Fix PS name for `-h'.
  3018. Add `hbar' alias.
  3019. * font/devps/symbolmap: Regenerated.
  3020. * src/devices/grops/ps.cc (transform_fill): Removed since unused.
  3021. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
  3022. `-h', `hbar'.
  3023. * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
  3024. `-h'.
  3025. * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
  3026. `hbar'.
  3027. * tmac/tty-char.tmac: Add `+e'.
  3028. 2003-02-17 Werner LEMBERG <wl@gnu.org>
  3029. Another round trying to really fix problems with `have_input'.
  3030. * src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
  3031. (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
  3032. * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
  3033. handling if both foreground and background colors are default.
  3034. * doc/groff.texinfo (Debugging): Document .lf differences to
  3035. AT&T troff.
  3036. 2003-02-16 Werner LEMBERG <wl@gnu.org>
  3037. * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid
  3038. null-bytes in created string.
  3039. * src/roff/troff/input.cc (lookup_color, interpolate_macro,
  3040. alias_macro, lookup_request): Improve warning messages.
  3041. * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave',
  3042. not `strdup'.
  3043. Free `last_image_filename'.
  3044. * src/preproc/html/pre-html.cc (char_block::char_block): Initialize
  3045. `buffer'.
  3046. (imageList::createPage, imageList::createImage): Use `free', not
  3047. `a_delete'.
  3048. (imageItem::~imageItem): Free `imageName'.
  3049. (addRegDef): Use `strsave', not `strdup'.
  3050. (get_resolution): Free `pathp'.
  3051. 2003-02-15 Werner LEMBERG <wl@gnu.org>
  3052. * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer
  3053. to `dummy'.
  3054. 2003-02-14 Werner LEMBERG <wl@gnu.org>
  3055. Add memory management for colors to deallocate unnamed colors
  3056. properly.
  3057. * src/include/color.h (color): New members `free_list' and `next'.
  3058. New member functions `new' and `delete'.
  3059. Add destructor.
  3060. * src/libs/libgroff/color.cc: Implement it.
  3061. * src/libs/libgroff/font.cc (font::add_kern): Use integer cast
  3062. for array size of new operator.
  3063. * src/libs/libdriver/input.cc (IntArray::operator[]): Remove
  3064. redundant comparison.
  3065. * src/roff/troff/input.cc (word_space_node::reread,
  3066. hmotion_node::reread): Avoid warning about unused parameter.
  3067. (reset_output_registers): Remove redundant parameter.
  3068. (define_color): Undo change 2003-02-12.
  3069. * src/roff/troff/reg.h: Updated.
  3070. * src/roff/troff/node.cc (troff_output_file::really_print_line,
  3071. output_file::put_filename, real_output_file::really_put_filename,
  3072. ascii_output_file::really_print_line,
  3073. break_char_node::get_hyphen_list): Avoid warning about unused
  3074. parameter.
  3075. (suppress_node::tprint): Updated.
  3076. * configure.ac: Check declaration for rand() and srand().
  3077. * configure: Regenerated.
  3078. * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
  3079. conditionally.
  3080. * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
  3081. and srand().
  3082. * src/preproc/eqn/delim.cc (delim_table): Add missing initializers
  3083. to avoid compiler warnings.
  3084. * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
  3085. unused.
  3086. * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
  3087. is unused.
  3088. * src/devices/grops/psrm.cc (skip_possible_newline): Remove first
  3089. (unused) parameter.
  3090. Updated all callers.
  3091. * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
  3092. is unused.
  3093. * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
  3094. * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
  3095. * src/devices/grohtml/post-html.cc (html_printer::emit_line):
  3096. Parameter is unused.
  3097. (html_printer::add_table_end): Define parameter conditionally.
  3098. * src/devices/grohtml/output.cc (simple_output::special): Parameter
  3099. is unused.
  3100. * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
  3101. (lbp_printer::set_char): Last parameter is unused.
  3102. * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
  3103. 2003-02-13 Werner LEMBERG <wl@gnu.org>
  3104. New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
  3105. Make \D'f ...' move horizontally again for backwards compatibility.
  3106. Replace it with \D'Fg ...' where appropriate to avoid dependency
  3107. on horizontal resolution.
  3108. * src/roff/troff/input.cc (do_get_long_name): New function.
  3109. (get_long_name): Call it.
  3110. (read_draw_node): Handle `\D'Fx ...' by calling ...
  3111. (read_color_draw_node): New function.
  3112. (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
  3113. `end'.
  3114. Pass it to `do_get_long_name' which is used instead of
  3115. `get_long_name'.
  3116. * src/libs/libdriver/input.cc (color_from_Df_command): Remove
  3117. unnecessary value guard.
  3118. (parse_D_command) <'f'>: Add horizontal shift.
  3119. * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
  3120. * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
  3121. (FILL_MAX): Removed.
  3122. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
  3123. Updated.
  3124. 2003-02-12 Werner LEMBERG <wl@gnu.org>
  3125. * src/roff/troff/input.cc (do_name_test, do_expr_test,
  3126. do_zero_width): Push `\n' if closing delimiter is missing.
  3127. (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'.
  3128. <'F'>: Make \F non-transparent at the beginning of line.
  3129. (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
  3130. token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
  3131. `have_input'.
  3132. (define_color): Free color in case of reassignment.
  3133. * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
  3134. @DefescListEnd): Use @Var, not @var.
  3135. Fix all calls.
  3136. * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
  3137. * src/preproc/pic/object.cc (object_spec::~object_spec): Free
  3138. `shaded' and `outlined' arrays.
  3139. (object_spec::object_spec): Initialize `shaded' and `outlined'.
  3140. (graphic_object::set_fill_color, graphic_object::set_outline_color):
  3141. Use strsave.
  3142. (closed_object::set_fill_color): Ditto.
  3143. * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
  3144. instead of strdup.
  3145. (troff_output::reset_color): Use a_delete instead of free.
  3146. * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
  3147. 2003-02-11 Werner LEMBERG <wl@gnu.org>
  3148. * doc/groff.texinfo: Improve documentation of `ad'.
  3149. Document that \D'f...' is dependent on the horizontal resolution.
  3150. * man/groff_diff.man: Improve documentation of \D'f...'.
  3151. * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
  3152. compensating \h'...' for \D'f ...' since the latter no longer moves
  3153. current position.
  3154. * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
  3155. 2003-02-10 Werner LEMBERG <wl@gnu.org>
  3156. Improve error messages for `x F' (and `F') commands.
  3157. * src/include/error.h: Add declaration for
  3158. `current_source_filename'.
  3159. * src/libs/libgroff/filename.cc: Add `current_source_filename'.
  3160. * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add
  3161. parameter for source file string.
  3162. Updated all callers.
  3163. * src/libs/libdriver/input.cc: Add `current_source_filename'.
  3164. (remember_source_filename): New function.
  3165. (parse_x_command <'F'>, do_file <'F'>): Use it.
  3166. 2003-02-09 Werner LEMBERG <wl@gnu.org>
  3167. Make grotty not emit warnings about unknown colors more than
  3168. necessary.
  3169. * src/devices/grotty/tty.cc: Include `ptable.h'.
  3170. (TTY_MAX_COLORS): Removed.
  3171. (DEFAULT_COLOR_IDX): Defined to -1.
  3172. (glyph): Change `back_color_idx' and `fore_color_idx' to `char'.
  3173. (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'.
  3174. Change `tty_colors' to be a ptable.
  3175. First arg of `put_color' is now `char'.
  3176. New functions `make_rgb_string' and `tty_color'.
  3177. (tty_printer::tty_printer): Use `tty_color'.
  3178. (tty_printer::color_to_idx): Return value is now `char'.
  3179. Use `tty_color'.
  3180. * src/include/color.h (color): Add `print_color' member function.
  3181. * src/libs/libgroff/color.cc (color::print_color): Implement it.
  3182. 2003-02-08 Werner LEMBERG <wl@gnu.org>
  3183. Valgrind fixes.
  3184. * src/devices/grops/ps.cc (ps_printer::define_encoding): Close
  3185. encoding file.
  3186. * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always
  3187. assume that value has been allocated with `new[]', thus use
  3188. `a_delete' for deallocation.
  3189. * src/libs/libdriver/input.cc (get_integer_arg,
  3190. get_possibly_int_args, parse_x_command, do_file): Use `a_delete'
  3191. where appropriate.
  3192. * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define.
  3193. * src/libs/libgroff/nametoindex.cc
  3194. (character_indexer::named_char_index): Use `new <type>[1]'.
  3195. * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new
  3196. <type>[1]'.
  3197. * src/preproc/eqn/text.cc (set_special_char_type): Ditto.
  3198. (split_text): Use `a_delete'.
  3199. * src/preproc/pic/pic.y (define_label, define_variable): Use `new
  3200. <type>[1]'.
  3201. * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid
  3202. harmless memory leak.
  3203. (hyphen_trie::read_patterns_file): Initialize `buf'.
  3204. * src/roff/troff/node.cc (troff_output_file::troff_output_file):
  3205. Initialize `current_fill_color'and `current_glyph_color'.
  3206. * src/roff/troff/glyphuni.cc
  3207. (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'.
  3208. * src/roff/troff/uniuni.cc
  3209. (unicode_decompose_init::unicode_decompose_init): Ditto.
  3210. * src/roff/troff/uniglyph.cc
  3211. (unicode_to_glyph_init::unicode_to_glyph_init): Ditto.
  3212. 2003-01-26 Werner LEMBERG <wl@gnu.org>
  3213. * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with
  3214. `access' before calling `unlink'.
  3215. (do_file): Handle __EMX__.
  3216. * src/include/nonposix.h: Handle __EMX__.
  3217. * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
  3218. (fontpath,tmacpath): Use it.
  3219. (MDEFINES): Add it.
  3220. Sorted alphabetically.
  3221. * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
  3222. @SEP@.
  3223. * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle
  3224. @SEP@.
  3225. 2003-01-27 Werner LEMBERG <wl@gnu.org>
  3226. * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
  3227. New files, copied from gnulib.
  3228. * src/libs/libgroff/Makefile.sub (CSRCS): Add them.
  3229. * configure.ac: Updated.
  3230. * configure: Regenerated.
  3231. * src/include/config.hin: Regenerated.
  3232. * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'.
  3233. Don't define `strcasecmp' as `strcmp'.
  3234. [!HAVE_STRNCASECMP]: Declare `strncasecmp'.
  3235. Dont define `strncasecmp' as `strncmp'.
  3236. * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
  3237. Removed.
  3238. 2003-01-26 Werner LEMBERG <wl@gnu.org>
  3239. * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo:
  3240. s/unline/unlink/.
  3241. 2003-01-25 Werner LEMBERG <wl@gnu.org>
  3242. * doc/groff.texinfo (Ligatures and Kerning): Mention limitations.
  3243. 2003-01-24 Werner LEMBERG <wl@gnu.org>
  3244. Add US-english hyphenation exceptions (converted from Barbara
  3245. Beeton's hyphenation exception log reports which appear irregularly
  3246. in TUGBoat).
  3247. * tmac/hyphen.us: Updated to latest version.
  3248. * tmac/README: Updated.
  3249. * tmac/hyphenex.us, tmac/hyphenex.sh: New files.
  3250. * tmac/troffrc: Load `hyphenex.us'.
  3251. * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
  3252. * doc/groff.texinfo: Updated.
  3253. 2003-01-23 Werner LEMBERG <wl@gnu.org>
  3254. Improve hyphenation slightly. This is a first step in redesigning
  3255. the hyphenation algorithm to make it more flexible (e.g. allowing
  3256. kerns and ligatures between the hyphenation character and the
  3257. following character -- while not used normally in English, other
  3258. languages like German would benefit).
  3259. * src/roff/troff/env.cc (environment::hyphenate_line): Use
  3260. assertion instead of if-clause.
  3261. Let `get_hyphen_list' return the number of involved characters in
  3262. the hyphenation pattern instead of computing it directly (which
  3263. often yields too small values).
  3264. * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
  3265. * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
  3266. parameter.
  3267. 2003-01-22 Werner LEMBERG <wl@gnu.org>
  3268. Fixing a bug which caused groff to hang if the hyphenation exception
  3269. dictionary tried to grow.
  3270. * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
  3271. hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
  3272. pointer to dictionary.
  3273. 2003-01-20 Werner LEMBERG <wl@gnu.org>
  3274. * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress
  3275. negative left italic correction.
  3276. * src/utils/afmtodit/afmtodit.man: Document it.
  3277. * font/devps/generate/Makefile (RFLAG): Add `-m'.
  3278. * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR,
  3279. S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'.
  3280. * NEWS: Updated.
  3281. 2003-01-16 Werner LEMBERG <wl@gnu.org>
  3282. * NEWS: Updated.
  3283. 2003-01-16 Jörgen Grahn <jgrahn@algonet.se>
  3284. * src/preproc/refer/refer.man: Mention REFER environment variable.
  3285. 2003-01-05 Werner LEMBERG <wl@gnu.org>
  3286. Similar to \[is], the square root glyph (\[sr]) and the square root
  3287. extension glyph (\[radicalex]) are now text symbols. The new
  3288. mathematical versions are called \[sqrt] and \[sqrtex],
  3289. respectively.
  3290. * font/devX*/S: Regenerated.
  3291. * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
  3292. * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
  3293. * font/devdvi/EX, font/devdvi/S: Regenerated.
  3294. * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
  3295. * font/devlj4/generate/special.map: Add `sqrt'.
  3296. * font/devlj4/S: Regenerated.
  3297. * font/devps/generate/textmap: Add `sqrt'.
  3298. * font/devps/S, font/devps/symbolmap: Regenerated.
  3299. * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
  3300. SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
  3301. * src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
  3302. overlap horizontally.
  3303. * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
  3304. * tmac/dvi.tmac: Add `sr', and `sqrtex'.
  3305. Fix `radicalex'.
  3306. * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
  3307. and `sqrtex' are overlapping glyphs.
  3308. 2003-01-04 Werner LEMBERG <wl@gnu.org>
  3309. * font/devdvi/generate/texsy.map: Add `is'.
  3310. * font/devps/symbolmap: Regenerated.
  3311. * font/devdvi/*TC, MI, S: Regenerated.
  3312. * tmac/dvi.tmac: Remove `is'.
  3313. 2003-01-03 Werner LEMBERG <wl@gnu.org>
  3314. `is' is now a text symbol (only relevant for dvi). The math variant
  3315. can be accessed with `integral'.
  3316. * font/devX*/S: Regenerated.
  3317. * font/devdvi/generate/texex.map: Remove `is'.
  3318. * font/devdvi/EX: Updated.
  3319. * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'.
  3320. * font/devlj4/generate/special.map: Ditto.
  3321. * font/devlj4/S: Regenerated.
  3322. * font/devps/generate/textmap: Add `integral'.
  3323. * font/devps/S: Regenerated.
  3324. * tmac/dvi.tmac: Define `is'.
  3325. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'.
  3326. * src/preproc/tbl/main.cc (process_format): Fix error message.
  3327. 2003-01-02 Werner LEMBERG <wl@gnu.org>
  3328. * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
  3329. * font/devps/textmap: Fix entries for `ne' and `nc'.
  3330. * font/devps/symbolmap: Regenerated.
  3331. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list),
  3332. src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18',
  3333. `38', `58', `78', `-+', `|=', `nc', `ne'.
  3334. * tmac/dvi.tmac: Add `nm', `ne', `nc'.
  3335. Use `schar' for `aq'.
  3336. * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'.
  3337. * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'.
  3338. * tmac/tty.tmac: Add `ne'.
  3339. * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro'
  3340. for fallback glyphs.
  3341. 2002-12-29 Werner LEMBERG <wl@gnu.org>
  3342. Add glyph `|='.
  3343. * font/devX*/*: Regenerated.
  3344. * font/devdvi/generate/ec.map: Remove `eq'.
  3345. * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'.
  3346. Assign `|=' to position 39.
  3347. * font/devdvi/*EC, S: Regenerated.
  3348. * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='.
  3349. * font/devlj4/generate/special.map: Make `~=' the same as `~~'.
  3350. Assign `|=' to position 549.
  3351. * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove
  3352. `equalmath'.
  3353. Add `uni2243' for `|='.
  3354. * tmac/ec.tmac: Add `eq'.
  3355. * tmac/dvi.tmac: Add `=~'.
  3356. * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add
  3357. `|='.
  3358. 2002-12-21 Werner LEMBERG <wl@gnu.org>
  3359. * font/devdvi/generate/tc.map: Remove `**'.
  3360. * font/devdvi/*TC: Regenerated.
  3361. * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58',
  3362. `78', `<<', `>>'.
  3363. * font/devutf8/NOTES: Updated.
  3364. * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function.
  3365. Don't give default parameter to `set_macro'.
  3366. * src/roff/troff/input.cc (do_define_character): Use `setx_macro'
  3367. instead of `set_macro'.
  3368. (charinfo::setx_macro): Implement it.
  3369. (charinfo::set_macro): Don't change `mode'.
  3370. * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'.
  3371. * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'.
  3372. * tmac/dvi.tmac: Define `!=' with `.schar'.
  3373. 2002-12-20 Werner LEMBERG <wl@gnu.org>
  3374. * font/devX*/S: Regenerated.
  3375. * font/devdvi/generate/ec.map: Remove `pl'.
  3376. * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'.
  3377. * font/devdvi/*{TC,EC}: Regenerated.
  3378. * font/devhtml/R.proto: Add `-+'.
  3379. Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'.
  3380. * font/devlbp/*: Remove `or'.
  3381. * font/devlj4/generate/special.map: Remove `or'.
  3382. * font/devlj4/S: Regenerated.
  3383. * font/devps/generate/textmap: Add `fiveeighths', `oneeighth',
  3384. `seveneighths', `threeeighths'.
  3385. Remove `plusmath'.
  3386. Replace `minusplus' with `uni2213'.
  3387. * font/devps/symbolmap: Regenerated.
  3388. * font/devutf8/R.proto: Replace `shc' with unnamed glyph.
  3389. Add `-+'.
  3390. * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline
  3391. function.
  3392. * src/roff/troff/node.cc (troff_output_file::put_char_width):
  3393. Call glyph_color and fill_color even if tcommand_flag isn't set.
  3394. (make_node, node::add_char): Check not ci->is_fallback but
  3395. ci->is_normal.
  3396. * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'.
  3397. * tmac/ec.tmac: Add .rchar entry for `f/'.
  3398. Don't remove `12', `14', `34'.
  3399. Define `pl' to be always roman.
  3400. * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros.
  3401. Define `18', `38', `58', `78'.
  3402. * tmac/tty.tmac: Add `-+'.
  3403. * tmac/dvi.tmac: Define `f/'.
  3404. (dvi-frac): Use `f/'.
  3405. * tmac/X.tmac (X-frac, X-frac-mono): New macros.
  3406. Define `18', `38', `58', `78'.
  3407. 2002-12-15 Colin Watson <cjwatson@debian.org>
  3408. * contrib/pic2graph/pic2graph.sh: Add missing `;;'.
  3409. 2002-12-10 Werner LEMBERG <wl@gnu.org>
  3410. Add glyph `tno', a textual variant of `no'.
  3411. * font/devX*/*: Regenerated.
  3412. * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
  3413. * font/devdvi/generate/{tc.map: Replace `no' with `tno'.
  3414. * font/devdvi/generated/{texsy,textex}.map: Add `tno'.
  3415. * font/devdvi/*: Regenerated.
  3416. * font/devlbp/*: Add `tno'.
  3417. * font/devlj4/generate/tex.map: Replace `no' with `tno'.
  3418. * font/devlj4/*: Regenerated.
  3419. * font/devps/generate/textmap: Replace `no' with `tno'.
  3420. * font/devps/generate/symbolchars: Add `no'.
  3421. * font/devps/*: Regenerated.
  3422. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
  3423. * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
  3424. * tmac/tty-char.tmac: Add entry for `tno' and `3d'.
  3425. * NEWS: Updated.
  3426. * tmac/dvi.tmac: Replace most `\\' with `\E'.
  3427. Add definition for `sd'.
  3428. * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
  3429. * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
  3430. 2002-12-08 Werner LEMBERG <wl@gnu.org>
  3431. * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
  3432. mode to avoid rounding errors.
  3433. (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
  3434. * src/roff/groff/groff.man, src/roff/nroff/nroff.man,
  3435. src/roff/troff/troff.man: Improve documentation of -T.
  3436. 2002-12-07 Jeff Conrad <jeff_conrad@msn.com>
  3437. * src/roff/groff/pipeline.c: Don't define `const' for _WIN32.
  3438. (run_pipeline) [_WIN32]: Provide working function without `fork'.
  3439. 2002-12-06 Werner LEMBERG <wl@gnu.org>
  3440. * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol
  3441. glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
  3442. Scaling Euro.sansserif glyphs down to have the same height as
  3443. digits.
  3444. Removed unnecessary points; added some extrema.
  3445. * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
  3446. Regenerated.
  3447. 2002-12-04 Werner LEMBERG <wl@gnu.org>
  3448. * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted'
  3449. and `Euro.symbol.bold.slanted'.
  3450. Improve some glyph offsets and widths.
  3451. * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
  3452. Regenerated.
  3453. * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
  3454. typo.
  3455. * font/devps/generate/sfdtopfa.pe: Generate PFA in current
  3456. direcory.
  3457. * tmac/europs.tmac: Updated to new glyph indices.
  3458. Use Euro.symbol for font familiy `A'.
  3459. * doc/groff.texinfo: Minor improvements.
  3460. 2002-12-02 Werner LEMBERG <wl@gnu.org>
  3461. * font/devdvi/generate.tc.map: s/%O/%0/.
  3462. * font/devdvi/*TC: Regenerated.
  3463. * src/roff/troff/div.cc (init_div_requests): Sorted.
  3464. * tmac/dvi.tmac: Remove `Ye'.
  3465. * tmac/ec.tmac: Remove `Ye'.
  3466. Add .rchar entry for `de'.
  3467. * man/groff.man, man/groff_diff.man: Document register `.pe'.
  3468. * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
  3469. * NEWS: Updated.
  3470. 2002-11-30 Werner LEMBERG <wl@gnu.org>
  3471. Add PS font for various Euro glyphs.
  3472. * font/devps/generate/freeeuro.sfd: New master font file for
  3473. pfaedit.
  3474. * font/devps/generate/sfdtopfa.pe: New conversion script for
  3475. pfaedit.
  3476. * font/devps/generate/Makefile (FONTS): Add `EURO'.
  3477. (EURO, freeeuro.afm, freeeuro.pfa): New rules.
  3478. * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
  3479. `freeeuro.sfd'.
  3480. * font/devps/EURO: Generated from `freeeuro.afm'.
  3481. * font/devps/download: Add `freeuro.pfa'.
  3482. * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
  3483. `freeeuro.pfa'.
  3484. * tmac/europs.tmac: New file.
  3485. * tmac/ps.tmac: Include `europs.tmac'.
  3486. * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
  3487. 2002-11-29 Werner LEMBERG <wl@gnu.org>
  3488. * font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
  3489. * font/devdvi/S: Regenerated.
  3490. * font/devhtml/R.proto: Fix `CR' and `ci'.
  3491. Add `OK'.
  3492. * font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
  3493. Remove `bs'.
  3494. * font/devps/symbolmap: Regenerated.
  3495. * font/devutf8/R.proto: Fix `CR' and `ci'.
  3496. Add `OK'.
  3497. * font/devutf8/NOTES: Updated.
  3498. * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
  3499. `ci'.
  3500. Add `OK'.
  3501. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
  3502. * tmac/dvi.tmac: Add `lh' and `rh'.
  3503. * tmac/Xps.tmac: Fix `lh' and `rh'.
  3504. * tmac/X.tmac: Add `OK'.
  3505. * tmac/lj4.tmac: Ditto.
  3506. 2002-11-24 Werner LEMBERG <wl@gnu.org>
  3507. * font/devX*/S: Regenerated.
  3508. * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
  3509. `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
  3510. * font/devdvi/generate/texsy.map: Remove `or' glyph.
  3511. * font/devdvi/S: Regenerated.
  3512. * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
  3513. `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
  3514. `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
  3515. `bracketleftbt', `bracketrighttp', `bracketrightex',
  3516. `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
  3517. `braceex', `braceleftex', `bracerightex', `bracerighttp',
  3518. `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
  3519. `rb', and `bv'.
  3520. * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
  3521. * font/devutf8/NOTES: Updated.
  3522. * font/devlj4/generate/special.map: Add glyph `braceex'.
  3523. * font/devlj4/S: Regenerated.
  3524. * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
  3525. 2002-11-14 Werner LEMBERG <wl@gnu.org>
  3526. * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'
  3527. and `vA'.
  3528. Fix code for `an'.
  3529. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
  3530. * doc/texinfo.tex: New version from texinfo 4.3.
  3531. * doc/groff.texinfo: Updated for texinfo 4.3.
  3532. Use @tie{} where appropriate.
  3533. * font/devdvi/generate/ec.map: Don't include `or' and `bv'.
  3534. * font/devdvi/generate/tc.map: Remove `rn'.
  3535. * font/devdvi/*TC, font/devdvi/*EC: Regenerated.
  3536. * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
  3537. Fix code for `an'.
  3538. * font/devX100/*, font/devX100-12/*, font/devX75/*,
  3539. font/devX75-12/*: Regenerated.
  3540. * tmac/dvi.tmac: Add special fonts `SA' and `SB'.
  3541. Use .char (again) for `br', `ul', `rn', `or', and `ru'.
  3542. Improve definition of `an'.
  3543. * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
  3544. `ru'.
  3545. * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
  3546. * tmac/X.tmac: Add definition for `or'.
  3547. * tmac/Xps.tmac: Undo change 2002-11-05.
  3548. * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
  3549. 2002-11-11 Werner LEMBERG <wl@gnu.org>
  3550. * src/roff/troff/node.cc (troff_output_file::put_char): Always
  3551. call flush_tbuf.
  3552. 2002-11-10 Werner LEMBERG <wl@gnu.org>
  3553. Added three new requests `schar', `fschar', and `rfschar'. `schar'
  3554. defines a glyph which is searched after the check for fonts declared
  3555. with `.special' (and before the check for all mounted special
  3556. fonts). `fschar' defines a glyph for a particular font which is
  3557. searched after the check for fonts declared with `.fspecial' (and
  3558. before the check for fonts declared with `.special'). `rfschar'
  3559. removes glyphs defined with `fschar'.
  3560. * src/roff/troff/token.h (char_mode): New enum.
  3561. Declare do_define_character.
  3562. * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
  3563. `mode'.
  3564. (charinfo::is_fallback): Updated.
  3565. (charinfo::is_special): New method.
  3566. * src/roff/troff/input.cc (do_define_character): Add and use
  3567. optional second parameter used as a prefix for font-specific glyph
  3568. names.
  3569. (define_character, define_fallback_character): Updated.
  3570. (define_special_character): New function.
  3571. (init_input_requests): Add `schar'.
  3572. (charinfo::charinfo, charinfo::set_macro): Updated.
  3573. * src/roff/troff/node.cc: Include `stringclass.h'.
  3574. (make_glyph_node): Handle special glyphs defined with `.schar' and
  3575. `.fschar'.
  3576. (define_font_special_character, remove_font_special_character): New
  3577. functions.
  3578. (init_node_requests): Sorted.
  3579. Add `fschar' and `rfschar'.
  3580. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
  3581. Document new requests.
  3582. * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
  3583. * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
  3584. 2002-11-08 Werner LEMBERG <wl@gnu.org>
  3585. Added new font `SC' (cmtex10) to devdvi.
  3586. * devdvi/generate/Makefile (FONTS): Add `SC'.
  3587. (SC): New rule.
  3588. * devdvi/generate/textex.map: New map file for cmtex.
  3589. * devdvi/SC: New.
  3590. * devdvi/Makefile.sub (DEVFILES): Updated.
  3591. * tmac/dvi.tmac: Add fspecial entries for SC.
  3592. Add `MI', `S' and `CW' to the `special' call. Otherwise, `SC' is
  3593. found before `S' since the font position of `SC' is lower due to the
  3594. gaps in DESC's `font' line.
  3595. * tmac/ec.tmac: Add a `special' call.
  3596. * NEWS: Updated.
  3597. * font/devhtml/R.proto: Remove double entry for `ti'.
  3598. * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
  3599. * tmac/tty-char.tmac: Remove entry for `bq'.
  3600. * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
  3601. * tmac/ec.tmac: Don't remove `aq' glyph.
  3602. * tmac/X.tmac: Fix entry for `em'.
  3603. Add entries for `fo' and `fc'.
  3604. * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
  3605. * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
  3606. documentation of `special' and `fspecial' requests.
  3607. 2002-11-05 Werner LEMBERG <wl@gnu.org>
  3608. * font/devascii/R.proto, font/devcp1047/R.proto,
  3609. font/devlatin1/R.proto: Remove entry for `.i'.
  3610. * font/devdvi/generate/textt.map: Add entry for `ad'.
  3611. * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
  3612. font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
  3613. We need this for getting kerning values to compose `/l' and `/L'.
  3614. * font/devdvi: Regenerated font definition files for CM fonts.
  3615. * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
  3616. * font/devutf8/R.proto: Ditto.
  3617. Remove double entry for `ti'.
  3618. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
  3619. for (groff) ligatures, `la', and `ra'.
  3620. Add "'C", "'c", `IJ', and `ij'.
  3621. Remove double entry for `ti'.
  3622. * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
  3623. double entries.
  3624. Add "'C", "'c", `IJ', and `ij'.
  3625. Fix entries for (groff) ligatures, `la', and `ra'.
  3626. * tmac/ps.tmac (ps-achar): New macro.
  3627. Define "'c" and "'C".
  3628. * tmac/tty.tmac: Add entry for `.i'.
  3629. * tmac/X.tmac (X-achar): New macro.
  3630. Define "'c", "'C", and `:Y'.
  3631. Add entries for `IJ' and `ij'.
  3632. * tmac/Xps.tmac (Xps-achar): New macro.
  3633. Define "'c" and "'C".
  3634. Add entries for `IJ' and `ij'.
  3635. * tmac/lbp.tmac (lbp-achar): New macro.
  3636. Add fallback characters for all groff ligatures and many other
  3637. glyphs.
  3638. * tmac/dvi.tmac: Fix definitions of `_' and `ul'.
  3639. Add entries for `/l' and `/L'.
  3640. Define "'c" and "'C".
  3641. Add entries for `IJ' and `ij'.
  3642. 2002-11-02 Larry Kollar <kollar@alltel.net>
  3643. * PROBLEMS: Document how to solve Mac OS X compilation problems.
  3644. 2002-11-02 Werner LEMBERG <wl@gnu.org>
  3645. Adding support for composite glyphs: \[xxx yyy ...] and the
  3646. `composite' request.
  3647. * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
  3648. to Unicode-based glyph names.
  3649. * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
  3650. glyph names to groff glyph names.
  3651. * src/roff/troff/uniuni.cc: New file for canonically decomposing
  3652. Unicode-based glyph names.
  3653. * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
  3654. for handling Unicode glyph names.
  3655. * src/roff/troff/input.cc: Include unicode.h.
  3656. (composite_glyph_name): New function.
  3657. (token::next) <'['>: Handle Unicode glyph names and composite
  3658. glyphs.
  3659. (composite_dictionary): New dictionary for the `composite' request.
  3660. (composite_request): Implement `composite' request.
  3661. (init_input_requests): Add `composite'.
  3662. Alphabetically sorted.
  3663. * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
  3664. commented out).
  3665. (init_env_requests): Alphabetically sorted.
  3666. Removed `tas' and `tar' (already commented out).
  3667. * src/roff/troff/Makefile.sub: Updated.
  3668. 2002-10-31 Ruslan Ermilov <ru@FreeBSD.org>
  3669. * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description
  3670. of options.
  3671. 2002-10-29 Werner LEMBERG <wl@gnu.org>
  3672. Fix computation of .trunc register. Additionally, its value (and
  3673. the value of the .ne register) is now always set before entering the
  3674. trap.
  3675. * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
  3676. `needed_space' before calling `space'.
  3677. (top_level_diversion::space): Remove special code for 'sp before the
  3678. first page.
  3679. Call `begin_page' with the discarded space as a parameter.
  3680. (top_level_diversion::begin_page): Add optional parameter to set
  3681. `truncated_space'.
  3682. * src/roff/troff/div.h: Updated.
  3683. * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
  3684. \n[.ne].
  3685. * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
  3686. (LP): Remove superfluous call to `br'.
  3687. * tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
  3688. * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
  3689. 2002-10-26 Werner LEMBERG <wl@gnu.org>
  3690. * tmac/doc-ditroff: Remove useless switch/variable -rC.
  3691. (doc-setup-header): Don't set page register `%'.
  3692. * tmac/doc-nroff: Remove variable `C'.
  3693. (doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
  3694. (doc-setup-header): Don't set page register `%'.
  3695. Don't call `bp'.
  3696. * tmac/doc-common (doc-header): Call `ns'.
  3697. (doc-paragraph): Protect .sp with .br so that it survives traps
  3698. possibly set by the user.
  3699. * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
  3700. * tmac/doc*: Replace ' with . for consistency if no effect.
  3701. 2002-10-26 Werner LEMBERG <wl@gnu.org>
  3702. * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
  3703. so that it survives traps possibly set by the user.
  3704. * src/roff/troff/node.cc: Fix the changes from 2002-10-23.
  3705. (troff_output_file::set_font): Call flush_tbuf if necessary.
  3706. (troff_output_file::fill_color, troff_output_file::glyph_color): Call
  3707. flush_tbuf and do_motion only if necessary.
  3708. (troff_output_file::start_special,
  3709. troff_output_file::put_char_width, troff_output_file::put_char,
  3710. troff_output_file::draw): Updated.
  3711. (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
  3712. vmotion_node::tprint): Undo change 2002-10-23.
  3713. 2002-10-25 Werner LEMBERG <wl@gnu.org>
  3714. * tmac/www.tmac (DC): Fix case of overlapping images.
  3715. 2002-10-23 Werner LEMBERG <wl@gnu.org>
  3716. * src/roff/troff/node.cc (troff_output_file::fill_color,
  3717. troff_output_file::glyph_color): Set current color before testing
  3718. color_flag.
  3719. (troff_output_file::put_char_width, troff_output_file::put_char,
  3720. troff_output_file::draw): Don't call flush_tbuf and/or do_motion
  3721. before glyph_color.
  3722. (troff_output_file::file_color, troff_output_file::glyph_color):
  3723. Call do_motion.
  3724. (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
  3725. vmotion_node::tprint): Move first, then call fill_color.
  3726. 2002-10-20 Werner LEMBERG <wl@gnu.org>
  3727. * doc/groff.texinfo, man/groff_tmac.man: Document that it is not
  3728. possible to use multiple main macro packages.
  3729. 2002-10-19 Werner LEMBERG <wl@gnu.org>
  3730. * src/devices/grops/ps.cc (cmyk_flag): New global variable.
  3731. (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
  3732. (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
  3733. is set.
  3734. * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
  3735. `where' construction since `cmyksetcolor' is a PS Level 2 operator.
  3736. 2002-10-16 Werner LEMBERG <wl@gnu.org>
  3737. * NEWS, doc/webpage.ms: Updated.
  3738. 2002-10-14 Werner LEMBERG <wl@gnu.org>
  3739. * src/roff/troff/node.cc (troff_output_file::put_char_width,
  3740. troff_output_file::put_char, troff_output_file::fill_color,
  3741. troff_output_file::glyph_color): Handle case where color pointer
  3742. is null.
  3743. 2002-10-13 Ruslan Ermilov <ru@FreeBSD.org>
  3744. Add the new -r option to grotty. It is similar to the -i option
  3745. except it tells grotty(1) to use the "reverse video" attribute to
  3746. render italic fonts.
  3747. * src/devices/grotty/tty.cc (reverse_flag): New global variable.
  3748. (SGR_REVERSE, SGR_NO_REVERSE): New macros.
  3749. (tty_printer::make_underline, tty_printer::put_color,
  3750. tty_printer::end_page): Use it.
  3751. (main): Add -r switch.
  3752. (usage): Updated.
  3753. * src/devices/grotty/grotty.man: Document it.
  3754. 2002-10-11 Ruslan Ermilov <ru@FreeBSD.org>
  3755. * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
  3756. cast to `unsigned char' to properly read patterns with 8bit
  3757. characters.
  3758. 2002-10-08 Werner LEMBERG <wl@gnu.org>
  3759. * REVISION: Increased to 2.
  3760. Local Variables:
  3761. version-control: never
  3762. coding: latin-1
  3763. End: