PageRenderTime 49ms CodeModel.GetById 12ms app.highlight 22ms RepoModel.GetById 2ms app.codeStats 1ms

/contrib/groff/ChangeLog.117

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 2190 lines | 1671 code | 519 blank | 0 comment | 0 complexity | 9913c0c722712863550cee0dc4c07d20 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1
   2Version 1.17.2 released
   3=======================
   4
   52001-07-07  Werner LEMBERG  <wl@gnu.org>
   6
   7	* src/utils/indxbib/indxbib.cc (main): Change type of `name_max'
   8	to size_t.
   9
  102001-07-06  Ruslan Ermilov  <ru@FreeBSD.org>
  11
  12	* tmac/doc.tmac (Rv): Make `Rv' really not parseable.
  13	Fix synopsis.
  14	* tmac/groff_mdoc.man: Fix synopsis.
  15
  162001-07-05  Ruslan Ermilov  <ru@FreeBSD.org>
  17
  18	* tmac/doc.tmac (doc-inset-list, doc-hang-list, doc-ohang-list):
  19	Restore `doc-Pa-font'.
  20
  212001-07-04  Werner LEMBERG  <wl@gnu.org>
  22
  23	* src/utils/indxbib/dirnamemax.c: Moved to ...
  24	* src/libs/libgroff/maxfilename.cc: Here.
  25	s/dir_name_max/file_name_max/.
  26	Add copyright.
  27	* src/include/lib.h: Add file_name_max.
  28	* src/utils/indxbib/indxbib.cc: Updated.
  29	* src/utils/indxbib/Makefile.sub, src/libs/libgroff/Makefile.sub:
  30	Updated.
  31
  32	* src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX) [__MSDOS__]: Define
  33	as empty.
  34	(xtmpfile) [_MSC_VER]: Removed -- MSVC has mktemp().
  35
  36	* src/preproc/html/pre-html.cc (PAGE_TEMPLATE, PS_TEMPLATE,
  37	REGION_TEMPLATE): New macros.
  38	(createAllPages, makeTempFiles): Use them.
  39	Include `nonposix.h'.
  40	(html_system): New function.
  41	(createAllPages, createImage): Use it.
  42	Use EXE_EXT.
  43
  44	* tmac/www.tmac: Fix typos.
  45
  462001-07-03  Werner LEMBERG  <wl@gnu.org>
  47
  48	* tmac/www.tmac: Disable hyphenation in normal text only if output
  49	device is html.
  50	(URL, FTP, MAILTO): Disable hyphenation of actual URL with `\%'.
  51	* tmac/groff_mwww.man, NEWS: Updated.
  52
  532001-07-03  Gaius Mulley  <gaius@glam.ac.uk>
  54
  55	* tmac/www.tmac (.IMAGE): Add fourth parameter to specify vertical
  56	image location.
  57
  582001-07-02  Ruslan Ermilov  <ru@FreeBSD.org>
  59
  60	* tmac/doc-common, tmac/doc.tmac (doc-display-ft-stack,
  61	doc-display-ps-stack): Implement font and font size stack for
  62	displays.
  63
  642001-07-02  Werner LEMBERG  <wl@gnu.org>
  65
  66	* REVISION: Increased to 2.
  67	* src/roff/troff/input.cc (read_size): Fix special case `\s[0]'.
  68
  69	* src/groff/grog/grog.pl (process): Handle `Oo' and `Oc' not at the
  70	beginning of a line.
  71	* src/groff/grog/grog.sh: Ditto.
  72
  732001-06-29  Peter Marquardt  <wwwutz@molgen.mpg.de>
  74
  75	* src/preproc/eqn/neqn.sh: Put `export' keyword in a new line to
  76	make it portable.
  77
  782001-06-27  Werner LEMBERG  <wl@gnu.org>
  79
  80	Fix problems with preprocessor string for `man' program.
  81
  82	* *.man: Don't use `s' in preprocessor string --  it doesn't exist.
  83	Updated/added copyright.
  84	Moved Emacs's local variable to identify nroff mode to the end of
  85	the file; add local variable if missing.
  86
  872001-06-26  Andras Salamon  <andras@cs.wits.ac.za>
  88
  89	* aclocal.m4: Replace AC_LANG_SAVE + AC_LANG_CPLUSPLUS with
  90	AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++).
  91	* configure: Regenerated.
  92
  932001-06-25  Andras Salamon  <andras@cs.wits.ac.za>
  94
  95	* aclocal.m4 (GROFF_PAGE): Fix page detection code.
  96	* configure: Regenerated.
  97
  982001-06-24  Werner LEMBERG  <wl@gnu.org>
  99
 100	* doc/homepage.ms: Don't include arkup.tmac (which no longer exists)
 101	but www.tmac.
 102	* doc/pic.ms: Fix typos.
 103
 104Version 1.17.1 released
 105=======================
 106
 1072001-06-21  Golubev I. N.  <gin@mo.msk.ru>
 108
 109	* aclocal.m4 (GROFF_NEED_DECLARATION): Fix inclusion of strings.h.
 110	* configure: Updated.
 111
 1122001-06-20  Gaius Mulley  <gaius@glam.ac.uk>
 113
 114	* src/roff/preproc/html/pre-html.cc (make_message): Fix incorrect
 115	image names.
 116	* src/roff/troff/dic.cc (blank_line): Add html tag.
 117
 1182001-06-19  Gaius Mulley  <gaius@glam.ac.uk>
 119
 120	* src/roff/troff/input.cc (do_suppress): Fix typo.
 121
 1222001-06-18  Gaius Mulley  <gaius@glam.ac.uk>
 123
 124	Added two new options (-D and -I) to specify image names and a
 125	subdirectory to place the images in.
 126
 127	Change syntax from \\Ox to \\O[x].
 128
 129	* src/devices/grohtml/post-html.cc (main): Add options.
 130	(usage): Updated.
 131	* src/preproc/html/pre-html.cc: Include `stdarg.h'.
 132	Use `NULL' instead of `0' for null string pointers.
 133	(MAX_RETRIES): New macro.
 134	(lengthOfintToStr, intToStr, make_message): New functions.
 135	(makeFileName): Make function static.
 136	Implement -D and -I options.
 137	(checkImageDir): New function.
 138	(write_end_image, write_start_image): Use new syntax of \O.
 139	(createAllPages, removeAllPages): Implement -D and -I options.  Use
 140	make_message().
 141	(createImage): Use make_message().
 142	(addps4html): Add guard for malloc().
 143	(usage, scanArguments): Updated.
 144	(makeTempFiles): Use mkstemp().
 145	(removeTempFiles): Use unlink().
 146	(findPrefix): Add guard for malloc().
 147	(main): Updated.
 148	* src/roff/troff/input.cc (get_delim_file_name): New function to
 149	parse \O.
 150	(do_suppress): Updated to parse new syntax.
 151	* src/devices/grohtml/grohtml.man: Updated.
 152	* tmac/www.tmac: Updated to new syntax.
 153
 154	* NEWS: Updated.
 155
 1562001-06-15  Werner LEMBERG  <wl@gnu.org>
 157
 158	* src/roff/grog/Makefile.sub: Remove NAMEPREFIX.
 159
 160	* src/devices/grohtml/grohtml.man: Minor improvements.
 161
 1622001-06-14  Werner LEMBERG  <wl@gnu.org>
 163
 164	* src/preproc/html/Makefile.sub: Remove NAMEPREFIX.
 165
 1662001-06-11  Werner LEMBERG  <wl@gnu.org>
 167
 168	* man/roff.man, mann/groff.man: Use '\" instead of .\" in the first
 169	line to specify preprocessor options -- mandb 2.3.1 only recognizes
 170	the former.
 171	* src/preproc/grn/grn.man: Add proper '\" string.
 172
 1732001-06-11  OKAZAKI Tetsurou  <okazaki@be.to>
 174
 175	* test-groff: Don't use PATH but GROFF_BIN_PATH.
 176
 1772001-06-08  Werner LEMBERG  <wl@gnu.org>
 178
 179	Updated to autoconf 2.50.
 180
 181	* configure.in: Renamed to...
 182	* configure.ac: This.
 183	* aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed.
 184	(GROFF_OS390): Updated.
 185	* configure: Regenerated.
 186
 1872001-05-18  Werner LEMBERG  <wl@gnu.org>
 188
 189	* src/roff/troff/env.c, src/roff/troff/env.h,
 190	src/roff/troff/input.cc, src/roff/troff/troff.man: Undo `ss' change
 191	from 2000-12-21.
 192
 1932001-05-17  Jeffrey Friedl  <jfriedl@yahoo-inc.com>
 194
 195	* src/roff/troff/input.cc (read_size): Fix special case `\s0'.
 196
 1972001-05-16  Werner LEMBERG  <wl@gnu.org>
 198
 199	* src/roff/troff/input.cc (read_size): Emit warning if value becomes
 200	less than or equal zero; set it to 1 then.
 201	* src/roff/troff/node.h (node::node): Initialize `last'.
 202
 2032001-05-08  Werner LEMBERG  <wl@gnu.org>
 204
 205	* tmac/an-old.tmac: Make predefined strings work in compatibility
 206	mode.
 207	Add troff version guard.
 208	* tmac/doc.tmac: Simplify version guard.
 209
 2102001-05-07  Werner LEMBERG  <wl@gnu.org>
 211
 212	The .ns and .rs requests are now honoured not only in the top-level
 213	but in all diversions (similar to UNIX troff).
 214
 215	This change is based on a patch from Tadziu Hoffmann
 216	<hoffmann@usm.uni-muenchen.de>.
 217
 218	* src/roff/troff/div.h (diversion): Add `no_space_mode' member.
 219	(top_level_diversion): Remove `no_space_mode' member.
 220	* src/roff/troff/div.cc (diversion::diversion,
 221	top_level_diversion::top_level_diversion): Updated.
 222	(macro_diversion::output): Reset `no_space_mode'.
 223	(no_space, restore_spacing): Use `curdiv' unconditionally.
 224	(space_request, blank_line): Check `curdiv->no_space_mode'.
 225	(no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use
 226	`curdiv' unconditionally.
 227	* NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
 228	Updated.
 229
 2302001-05-06  Werner LEMBERG  <wl@gnu.org>
 231
 232	Added two new requests `de1' and `am1' which are similar to `de' and
 233	`am' with the difference that compatibility mode is saved on entry,
 234	switched off during macro execution, and restored on exit.
 235
 236	* src/roff/troff/input.h: Added two new special characters
 237	(COMPATIBLE_SAVE, COMPATIBLE_RESTORE).
 238	* src/roff/troff/input.cc (input_iterator): Added two member
 239	functions `save_compatible_flag' and `get_compatible_flag'.
 240	(input_stack): Ditto.
 241	(string_iterator): Ditto.  Also add private member
 242	`saved_compatible_flag'.
 243	(token::next): Use COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
 244	(calling_mode): New enumeration.
 245	(do_define_macro): Use it.  Insert COMPATIBLE_SAVE and
 246	COMPATIBLE_RESTORE at the beginning and end of macro, respectively.
 247	(define_macro, define_indirect_macro, append_macro, ignore): Use
 248	`calling_mode'.
 249	(define_nocomp_macro, append_nocomp_macro): New functions.
 250	(init_input_requests): Updated.
 251	(do_request): Rename local variable `saved_compatible_flag' to
 252	`old_compatible_flag'.
 253	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
 254
 255	* tmac/an-old.tmac: Use `de1' instead of `de' request for all
 256	public and trap-invoked macros.  As a consequence, the man macros
 257	work in compatibility mode also.
 258
 2592001-05-06  Solar Designer  <solar@openwall.com>
 260
 261	* Makefile.in: Use $(mandir).
 262
 2632001-05-06  Alexios Zavras  <zvr@pobox.com>
 264
 265	* src/utils/afmtodit/afmtodit.pl: Fix serious typo.
 266
 2672001-05-05  Werner LEMBERG  <wl@gnu.org>
 268
 269	Added `.ns' number register: Returns 1 in no-space mode (if in
 270	top-level diversion), 0 otherwise.
 271
 272	* src/roff/troff/div.cc (no_space_mode_reg): New class.
 273	(init_div_requests): Updated.
 274	* NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
 275	Document it.
 276
 2772001-05-04  Werner LEMBERG  <wl@gnu.org>
 278
 279	* src/roff/nroff/nroff.man: Improved documentation (especially
 280	locales).
 281
 2822001-05-02  Werner LEMBERG  <wl@gnu.org>
 283
 284	Added `brp' request: This is \p as a request.
 285
 286	* src/roff/troff/env.cc (environment::do_break): Add parameter
 287	`spread'.
 288	(do_break_request): New function (was `break_request').
 289	(break_request): Calls `do_break_request'.
 290	(break_spread_request): New; calls `do_break_request'.
 291	(init_env_requests): Updated.
 292	* src/roff/troff/env.h: Updated.
 293	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
 294
 295	* REVISION: Increased to 1.
 296	* win32-diffs: Updated.
 297
 2982001-05-01  Werner LEMBERG  <wl@gnu.org>
 299
 300	* tmac/an-old.tmac: Fix minor compatibility mode issue.
 301	* tmac/troffrc-end: Make it really work in compatibility mode.
 302
 3032001-04-27  Werner LEMBERG  <wl@gnu.org>
 304
 305	* src/utils/lkbib/lkbib.cc: Switch inclusion order of stdio.h and
 306	stdlib.h.
 307
 3082001-04-22  Werner LEMBERG  <wl@gnu.org>
 309
 310	* src/libs/libgroff/getopt.c, src/include/getopt.h: Updating to
 311	latest versions from glibc CVS archive.
 312
 313	* MORE.STUFF: Updated, using a patch from Kees Zeelenberg
 314	<c.zeelenberg@hccnet.nl>.
 315
 3162001-04-21  Werner LEMBERG  <wl@gnu.org>
 317
 318	* configure.in: Move check for mkstemp() to...
 319	* aclocal.m4 (GROFF_MKSTEMP): This new function.
 320	* configure: Regenerated.
 321
 322	* src/include/groff-getopt.h: Don't use variable names in
 323	declarations.
 324
 325	* src/devices/grohtml/html-chars.h: Removed.  It isn't used.
 326	* src/devices/grohtml/Makefile.sub,
 327	src/devices/grohtml/post-html.cc: Updated.
 328
 3292001-04-21  Albert Chin-A-Young  <china@thewrittenword.com>
 330
 331	* configure.in: Add special check for mkstemp().
 332	* src/libs/libgroff/tmpfile.cc: Use it.
 333	* src/utils/indxbib/indxbib.cc: Ditto.
 334	* src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style.
 335	* src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use
 336	`const'.
 337
 3382001-04-20  Bruce Lilly  <blilly@erols.com>
 339
 340	`Version_string' as C++ object was not visible to linker from C
 341	object files.
 342	Add `const' to `Version_string'.
 343
 344	* src/utils/pfbtops/pfbtops.c (main), src/roff/groff/groff.cc
 345	(main), src/roff/troff/input.cc (main), src/preproc/tbl/main.cc
 346	(main), src/preproc/pic/main.cc (main), src/preproc/eqn/main.cc
 347	(main), src/preproc/grn/main.cc (main), src/preproc/html/pre-html.cc
 348	(scanArguments), src/preproc/refer/refer.cc (main),
 349	src/preproc/soelim/soelim.cc (main), src/devices/grotty/tty.cc
 350	(main), src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
 351	(main), src/devices/grohtml/post-html.cc (main),
 352	src/devices/grolbp/lbp.cc (main), src/utils/tfmtodit/tfmtodit.cc
 353	(main), src/utils/hpftodit/hpftodit.cc (main),
 354	src/utils/lookbib/lookbib.cc (main), src/utils/indxbib/indxbib.cc
 355	(main), src/utils/lkbib/lkbib.cc (main),
 356	src/utils/addftinfo/addftinfo.cc (main): Implement it.
 357
 358	* src/roff/groff/pipeline.c: Add _UWIN.
 359	* src/include/nonposix.h: Ditto.
 360
 3612001-04-20  Werner LEMBERG  <wl@gnu.org>
 362
 363	* src/include/lib.h: Use HAVE_STRERROR.
 364	* src/roff/groff/pipeline.c: Ditto.
 365	* src/preproc/html/pre-html.cc: Remove declaration of `strerror'.
 366	* src/libs/libgroff/Makefile.sub (version.cc): Add `extern "C"'.
 367	* src/utils/pfbtops/pfbtops.c: Add copyright notice.
 368	* win32-diffs: Updated.
 369	* src/utils/hpftodit/hpftodit.cc (read_map): Fix compiler warning.
 370
 3712001-04-19  Werner LEMBERG  <wl@gnu.org>
 372
 373	* src/preproc/html/pre-html.cc (scanArguments): Use `troff_command'
 374	instead of hardwired `"troff"'.
 375	(char_buffer::read_file): Remove unused variables.
 376	(char_buffer::write_file_troff): Ditto.
 377	(char_buffer::write_file_html): Ditto.
 378	(generateImages): Ditto.
 379	(abs): Removed.
 380	* src/utils/addftinfo/addftinfo.cc (main): Fix compilation problem.
 381
 382	* src/include/lib.h: Don't include `groff-getopt.h' for UWIN.
 383
 384	* src/libs/libgroff/font.cc (font::load_desc): Fix compiler warning.
 385	* src/libs/libbib/index.cc (index_search_item_iterator::get_tag,
 386	index_search_item::search1): Ditto.
 387	* src/roff/troff/node.h (width_list): Reorder members.
 388	* src/roff/troff/input.cc (do_define_macro): Fix compiler warning.
 389	(lookup_warning): Ditto.
 390	(prepend_string): Commented out.
 391	* src/roff/troff/dictionary.cc (is_good_size): Fix compiler warning.
 392	* src/roff/troff/reg.cc (number_value_to_ascii): Ditto.
 393	* src/preproc/tbl/main.cc (process_format): Ditto.
 394	* src/preproc/pic/pic.y (define_variable, reset, reset_all): Fix
 395	compiler warnings.
 396	* src/preproc/pic/pic.cc: Updated.
 397	* src/preproc/eqn/lex.cc (init_table): Fix compiler warnings.
 398	* src/preproc/eqn/over.cc (over_box::compute_metrics): Ditto.
 399	* src/preproc/refer/command.cc (execute_command): Ditto.
 400	* src/preproc/refer/ref.cc (sortify_title, find_month): Ditto.
 401	* src/preproc/refer/token.cc (lookup_token): Ditto.
 402	* src/preproc/soelim/soelim.cc: Ditto.
 403	* src/preproc/html/pushbackbuffer.cc (ERROR): Ditto.
 404	(isHexDigit): Commented out.
 405	(pushBackBuffer::isString): Remove unused variable.
 406	* src/devices/grops/ps.cc (ps_printer::special): Fix compiler
 407	warning.
 408	* src/devices/grops/psrm.cc (resource_manager::lookup_font,
 409	resource_manager::read_resource_arg, read_one_of, parse_extensions):
 410	Ditto.
 411	* src/devices/grodvi/dvi.cc (dvi_printer::draw): Ditto.
 412	* src/devices/grolj4/lj4.cc (lj4_font::handle_unknown_font_command,
 413	lookup_paper_size): Ditto.
 414	* src/devices/grohtml/post-html.cc (is_subsection): Commented out.
 415	(text_glob, element_list): Reorder members.
 416	* src/devices/grohtml/html-text.cc (html_text::do_pre): Remove
 417	compiler warning.
 418	* src/devices/grohtml/html-text.h (html_text::emit_space): Change
 419	return value to `void'.
 420	* src/devices/grohtml/output.cc (word_list::word_list): Fix order
 421	of initializers.
 422	* src/devices/grohtml/html.h (simple_output::check_newline,
 423	simple_output::space_or_newline, simple_output::enable_newlines):
 424	Add return value.
 425	* src/devices/grolbp/lbp.cc (wp54charset, set_papersize): Remove
 426	compiler warnings.
 427	* src/utils/tfmtodit/tfmtodit.cc (tfm::load, gf::load, main): Ditto.
 428	* src/utils/hpftodit/hpftodit.cc (File::seek, read_symbol_sets,
 429	output_ligatures, output_charset, read_map): Ditto.
 430	* src/utils/lookbib/lookbib.cc (main): Ditto.
 431	* src/utils/indxbib/indxbib.cc (main, fwrite_or_die): Ditto.
 432	(do_file): Fix typo (`=' -> `==').
 433	* src/utils/lkbib/lkbib.cc (main): Remove compiler warning.
 434	* src/utils/addftinfo/addftinfo.cc (main): Ditto.
 435
 4362001-04-18  Ruslan Ermilov  <ru@FreeBSD.org>
 437
 438	* src/roff/nroff/nroff.sh: Adding -p (pic) and -t (tbl) options.
 439	Fix usage of GROFF_BIN_PATH.
 440	* src/roff/nroff/nroff.man: Updated.
 441
 4422001-04-18  Werner LEMBERG  <wl@gnu.org>
 443
 444	* NEWS: Fixing typos.
 445	Updated.
 446
 447Version 1.17 released
 448=====================
 449
 4502001-04-17  Werner LEMBERG  <wl@gnu.org>
 451
 452	* tmac/Makefile.sub (install-data): mdoc.local-s is in current
 453	directory, not in $(srcdir).
 454
 4552001-04-16  Werner LEMBERG  <wl@gnu.org>
 456
 457	* doc/groff.texinfo: More info on conditionals.
 458
 4592001-04-15  Werner LEMBERG  <wl@gnu.org>
 460
 461	* doc/groff.texinfo: Added some info about groff internals.
 462
 463	* src/roff/troff/node.cc (make_glyph_node): Emit warning message
 464	about missing special character only if the name is non-null.
 465
 4662001-04-14  Werner LEMBERG  <wl@gnu.org>
 467
 468	Removing the grohtml-old device driver which is now obsolete.
 469
 470	* src/devices/grohtml-old/*: Removed.
 471	* font/devhtml-old/*: Removed.
 472	* src/libs/libgroff/htmlindicate.cc (graphic_start, graphic_end):
 473	Remove comments.
 474	* Makefile.in (CCPROGDIRS, DEVDIRS): Updated.
 475	* test-groff (PATH): Updated.
 476	* tmac/Makefile.sub (NORMALFILES): Updated.
 477	* tmac/an-old.tmac: Remove special code for html-old device.
 478	Replace `html-or-html-old' register with `an-html'.
 479	* tmac/eqnrc: Updated.
 480	* tmac/html-old.tmac: Removed.
 481	* tmac/troffrc, tmac/troffrc-end: Updated.
 482	* tmac/www.tmac: Remove special code for html-old device.
 483	Replace `html-or-html-old' register with `www-html'.
 484
 485	* src/libs/libgroff/tmpfile.cc (remove_tmp_files),
 486	src/libs/libgroff/htmlindicate.cc (graphic_end),
 487	include/htmlindicate.h, src/preproc/grn/*.cc,
 488	src/roff/groff/env.{cc,h}: Remove `void' parameter if used as a
 489	single argument for consistency with rest of source code.
 490
 491	* aclocal.m4, tmac/an-old.tmac: Fix copyright.
 492
 4932001-04-13  Ruslan Ermilov  <ru@FreeBSD.org>
 494
 495	* src/roff/troff/troff.man: Fixing typos.
 496
 4972001-04-13  Werner LEMBERG  <wl@gnu.org>
 498
 499	* doc/pic.ms: Fixing many font switches.
 500	* doc/groff.texinfo: Fixes, additions.
 501	* MORE.STUFF: Updated.
 502
 5032001-04-12  Gaius Mulley  <gaius@glam.ac.uk>
 504
 505	* src/devices/grohtml/grohtml.man: Updated manual page regarding
 506	simple anchor.
 507	* src/preproc/html/pre-html.cc (createImage): Fixed right hand
 508	cropping of images.
 509	(removeTempFiles): New function to tidy up temporary files.
 510	* src/preproc/html/pre-html.cc (main): Calls `removeTempFiles()'.
 511	Many fixes to do with the new inline suppress node and image regions
 512	are much tighter.
 513	* src/devices/grohtml/post-html.cc: New method `is_auto_img'.
 514	(generate_img_src): New function.
 515	(html_printer::do_auto_image): Utilizes it.
 516	(do_heading, do_title): Include inline images within their contents.
 517	(html_printer::begin_page): Tidied up comments that are issued to
 518	the html output file.
 519	(html_printer::do_fill): Fixed so that `.nf' works with fonts other
 520	than courier.
 521	(text_glob::is_br): New method used by do_heading.
 522	* tmac/s.tmac: If -Thtml then emit $1 in .IP rather than its
 523	equivalent diversion.
 524	* src/include/html-strings.h: Altered image tags to reflect the
 525	inline image node.
 526	* src/include/htmlindicate.h (html_end_suppress): Added `is_inline'
 527	parameter.
 528	* src/preproc/eqn/main.cc: Will suppress generation of image tags if
 529	it is already inside a pic image.  Only emit tags if the argument
 530	`-Tps:html' is present.
 531	* src/preproc/tbl/main.cc: Changes to reflect additional
 532	`html_end_suppress' parameter.
 533	* src/roff/troff/env.cc: Only emit eol tag if a node has been
 534	emitted since the last eol tag was written.
 535	* src/roff/troff/env.h: New boolean `emitted_node'.
 536	* src/roff/troff/input.cc (do_suppress): Handles extra suppress
 537	nodes \O3, \O4, \O5.  No longer use `output_low_mark_miny'.
 538	* src/roff/troff/node.cc (check_charinfo): New method.
 539	(troff_output_file::determine_line_limits): Alterations to limit
 540	checking.
 541	* tmac/www.tmac: Changes to reflect new suppress nodes.
 542
 5432001-04-12  Bruno Haible  <haible@clisp.cons.org>
 544
 545	* src/devices/grohtml/post-html.cc (html_printer::add_to_sbuf):
 546	Escape the html_glyph in the buffer.
 547	(str_translate_to_html): Output the unescaped escaped_char.
 548	* src/devices/grohtml/html-text.cc (issue_table_begin): Set
 549	`frame=void', not `frame=none'.  Add `border=0'.
 550
 5512001-04-12  Werner LEMBERG  <wl@gnu.org>
 552
 553	* PROBLEMS: Add some words on how to avoid wrapper macros.
 554
 5552001-04-11  Blake McBride  <blake@florida-software.com>
 556
 557	* src/include/nonposix.h (fileno) [_MSC_VER]: Removed.
 558
 5592001-04-11  Werner LEMBERG  <wl@gnu.org>
 560
 561	* font/devlbp/Makefile.sub (CLEANADD): Set it.
 562	* tmac/Makefile.sub (CLEANADD): Add tmac.local-s.
 563	* Makefile.in (dist): Don't remove src/xditview/Imakefile, but ...
 564	* Makefile.sub (DISTCLEANFILES): Here.
 565
 566	* libs/libgroff/new.cc: Include `nonposix.h'.
 567	* win32-diffs: Updated.
 568
 5692001-04-10  Ruslan Ermilov  <ru@FreeBSD.org>
 570
 571	Added skeleton macro for defunct macros.
 572
 573	Updated documentation.
 574
 575	When inside displays, an empty input line warning should be
 576	suppressed.  If another macro call is put inside a display,
 577	all subsequent empty lines found in that display caused a
 578	warning to be emitted.
 579
 580	* tmac/doc.tmac (doc-defunct-macro): New macro.
 581	(Db, Ds, Ex, Or, Sf): Reimplemented using this macro.
 582	(doc-restore-global-vars): Fixed typo.
 583	(doc-empty-line): Check the `doc-display-depth' register to
 584	determine whether we are inside display or not.
 585
 586	* tmac/doc-common: Removed `Or' and `Sf' registers.
 587	Moved obsolete `Ds' macro to doc.tmac.
 588
 589	* tmac/groff_mdoc.man: Bump document date.
 590	Document `.Vt' under ``Variable Types''.
 591	Removed documentation for obsolete `.Or' macro.
 592
 5932001-04-10  Werner LEMBERG  <wl@gnu.org>
 594
 595	* NEWS: Updated.
 596	* doc/groff.texinfo: Many fixes, additions, clarifications, etc.
 597
 5982001-04-10  Bruno Haible  <haible@clisp.cons.org>
 599
 600	* src/devices/grodvi/dvi.cc (main): Accept --help and --version.
 601	(usage): Add stream argument. Don't exit.
 602	* src/devices/grohtml/post-html.cc (main): Accept --help and --version.
 603	Write --version output to stdout, not stderr.
 604	(usage): Add stream argument. Don't exit.
 605	* src/devices/grohtml-old/html.cc (main): Accept --help and --version.
 606	(usage): Add stream argument. Don't exit.
 607	* src/devices/grolbp/lbp.cc (long_options): Use symbolic getopt.h
 608	constants.
 609	(usage): Add stream argument. Don't exit.
 610	(main): Write --help output to stdout, not stderr.
 611	* src/devices/grolj4/lj4.cc (main): Accept --help and --version.
 612	(usage): Add stream argument. Don't exit.
 613	* src/devices/grops/ps.cc (main): Accept --help and --version.
 614	(usage): Add stream argument. Don't exit.
 615	* src/devices/grotty/tty.cc (main): Accept --help and --version.
 616	(usage): Add stream argument. Don't exit.
 617	* src/preproc/eqn/main.cc (usage): Add stream argument. Don't exit.
 618	(main): Accept --help and --version.
 619	* src/preproc/grn/main.cc (usage): Add stream argument. Don't exit.
 620	(main): Accept --help and --version.
 621	* src/preproc/html/pre-html.cc (usage): Add stream argument.
 622	(scanArguments): Accept --help and --version.
 623	* src/preproc/pic/main.cc (usage): Add stream argument. Don't exit.
 624	(main): Accept --help and --version.
 625	* src/preproc/refer/refer.cc (main): Accept --help and --version.
 626	(usage): Add stream argument. Don't exit.
 627	* src/preproc/soelim/soelim.cc (usage): Add stream argument. Don't
 628	exit.
 629	(main): Accept --help and --version.
 630	* src/preproc/tbl/main.cc (usage): Add stream argument. Don't exit.
 631	(main): Accept --help and --version.
 632	* src/roff/groff/groff.cc (main): Accept --help and --version.
 633	(synopsis): Add stream argument.
 634	(help): Write --help output to stdout, not stderr.
 635	(usage): Add stream argument. Don't exit.
 636	* src/roff/grog/grog.pl: Accept --help and --version.
 637	(help): New sub.
 638	* src/roff/grog/grog.sh: Accept --help and --version.
 639	* src/roff/nroff/nroff.sh: Accept --help and --version.
 640	* src/roff/troff/input.cc (USAGE_EXIT_CODE): Remove macro.
 641	(usage): Add stream argument. Don't exit.
 642	(main): Accept --help and --version.
 643	* src/utils/addftinfo/addftinfo.cc (main): Accept --help and --version.
 644	(usage): New function with stream argument, doesn't exit.
 645	* src/utils/hpftodit/hpftodit.cc (main): Accept --help and --version.
 646	(usage): New function with stream argument, doesn't exit.
 647	* src/utils/indxbib/indxbib.cc (main): Accept --help and --version.
 648	(usage): Add stream argument. Don't exit.
 649	* src/utils/lkbib/lkbib.cc (usage): Add stream argument. Don't exit.
 650	(main): Accept --help and --version.
 651	* src/utils/lookbib/lookbib.cc (usage): Add stream argument. Don't
 652	exit.
 653	(main): Accept --help and --version.
 654	* src/utils/pfbtops/pfbtops.c (usage): Add stream argument. Don't exit.
 655	(main): Accept --help and --version.
 656	* src/utils/tfmtodit/tfmtodit.cc (main): Accept --help and --version.
 657	(usage): Add stream argument. Don't exit.
 658
 6592001-04-10  Ruslan Ermilov  <ru@freebsd.org>
 660
 661	Fix indentation in SYNOPSIS.
 662
 663	Updated to include changes of latest BSD mdoc version (basically,
 664	the only change is that `.Fn' and `.Fc' put a final semicolon after
 665	a function declaration in the SYNOPSIS section).
 666
 667	* tmac/doc.tmac (doc-in-synopsis-count): Replaced with ...
 668	(doc-in-synopsis-section): New variable.  Updated all related
 669	functions.
 670	(doc-indent-synopsis-active): New register.
 671	(Nd, Fn, Fo): Use it.
 672	(Cd): It requires manipulation of \n[doc-indent-synopsis] so that
 673	`.Cd' with long argument line produces indented wrapped lines.
 674	Also, the misplaced `.nop \*[doc-Nm-font]\c'' caused extra
 675	undesirable line break to be output.
 676	(doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to
 677	`.rs'.
 678	(Fn, Fc): Add final `;' to output.
 679	(doc-save-global-vars, doc-restore-global-vars): Updated.
 680	* tmac/doc-common: Remove `Ex' register.
 681	Updated.
 682	* tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated
 683	copyright.
 684
 6852001-04-06  Ruslan Ermilov  <ru@freebsd.org>
 686
 687	* tmac/doc.tmac (Cd): Simplify code.
 688	* tmac/groff_mdoc.man: Document some behaviour of `Cd' request.
 689
 6902001-04-06  Werner LEMBERG  <wl@gnu.org>
 691
 692	Implement continuous underlining for nroff mode.  To do that, a new
 693	request in the ditroff language has been added: `x u N' (N is 0
 694	or 1).
 695
 696	\X and \Y are now transparent to end-of-sentence recognition.
 697
 698	* src/include/printer.h (printer): Add `type' parameter to `special'
 699	method.
 700	* src/libs/libdriver/printer.cc (printer::special): Updated.
 701	* src/libs/libdriver/input.cc (do_file): Handle `x u N'.
 702
 703	* src/devices/dvi/dvi.cc (dvi_printer::special): Handle only
 704	specials of type `p'.
 705	* src/devices/grohtml/post-html.cc (html_printer::special): Ditto.
 706	* src/devices/grohtml-old/html.cc (html_printer::special): Ditto.
 707	* src/devices/grops/ps.cc (ps_printer::special): Ditto.
 708	* src/devices/grotty/tty.cc: Add new enum CU_MODE.
 709	(glyph::order): New method.
 710	(tty_printer::add_char): Use it.
 711	(tty_printer::special): New method.
 712	(tty_printer::end_page): Implement it.
 713
 714	* src/roff/troff/node.h (special_node): Add `no_init_string' member.
 715	* src/roff/troff/node.cc (special_node::special_node): Add parameter
 716	to set `no_init_string'.
 717	(special_node::tprint_start): Use it.
 718	(special_node::same, special_node::copy): Updated.
 719	(special_node::ends_sentence): New method.
 720	(troff_output_file::start_special): Add parameter to include
 721	inititialization of special conditionally.
 722
 723	* src/roff/troff/env.h (environment): New member `underline_spaces'.
 724	* src/roff/troff/env.cc (do_underline_special): New function.
 725	(environment::set_font): Use it.
 726	(do_underline): Use it.  This was `underline()'.
 727	(underline): Call `do_underline()'.
 728	(continuous_underline): New function which calls `do_underline()'.
 729	(environment::newline): Use `do_underline_special()'.
 730	(init_env_requests): Updated.
 731
 732	* NEWS, man/troff_out.man: Updated.
 733
 7342001-04-06  Bruno Haible  <haible@clisp.cons.org>
 735
 736	* font/devutf8/R.proto: Fix code of 'shc'.
 737
 7382001-04-06  Ruslan Ermilov  <ru@freebsd.org>
 739
 740	Many fixes.  Diag lists can now be nested also; additionally,
 741	`-compact' and `-offset' are supported.
 742
 743	* tmac/doc.tmac (doc-have-indent): Replaced with ...
 744	(doc-list-have-indent-stackXXX): A new register stack.
 745	(doc-have-diag-list): Removed.
 746	(Bl): Use `doc-list-have-indent-stackXXX'.
 747	(El): Updated.
 748	(doc-diag-list): Use `doc-compact-list-stackXXX'.
 749	(doc-tag-list): Use `doc-list-have-indent-stackXXX'.
 750	(doc-set-vertical-and-indent): Ditto.
 751	(doc-next-list-depth): Removed.
 752	(doc-increment-list-stack): Updated.
 753	(doc-decrement-list-stack): Use `doc-list-depth' instead of
 754	`doc-next-list-depth'.
 755	(doc-end-list, doc-end-column-list): Don't use
 756	`doc-increment-list-stack'.
 757	(doc-set-column-tab): Don't use `doc-list-offset-stackXXX'.
 758	(doc-save-global-vars, doc-restore-global-vars): Updated.
 759	* tmac/doc-common: Updated.
 760	* tmac/groff_mdoc.man: Updated.
 761	* NEWS: Fix typo.
 762
 7632001-04-02  Werner LEMBERG  <wl@gnu.org>
 764
 765	* src/devices/grotty/grotty.man: Fix grammatical error.
 766
 7672001-03-30  Ruslan Ermilov  <ru@freebsd.org>
 768
 769	Remove .Ld from mdoc package; replace it with special handling of
 770	`...'.
 771
 772	* tmac/doc-common: Remove `Ld' register.
 773	Uncomment `doc-volume-ds-*' strings.
 774	Remove `doc-operating-system-default'.
 775	(Os): Updated.
 776	* tmac/doc-syms (Ld): Removed.
 777	* tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle
 778	`...' specially.
 779	* NEWS: Updated.
 780
 781	* tmac/groff_mdoc.man: Many fixes and updates.
 782
 7832001-03-29  Werner LEMBERG  <wl@gnu.org>
 784
 785	* tmac/troffrc-end: Protect data with `.do'.  Reported by T. Kurt
 786	Bond <tkb@tkb.mpl.com>.
 787	* tmac/www.tmac: Save compatibility mode.
 788
 7892001-03-28  Ruslan Ermilov  <ru@freebsd.org>
 790
 791	* tmac/groff_mdoc.man: Many fixes.
 792
 7932001-03-28  Werner LEMBERG  <wl@gnu.org>
 794
 795	* src/preproc/soelim/soelim.man: Document that `.<whitespace>so'
 796	isn't recognized.
 797
 7982001-03-27  Werner LEMBERG  <wl@gnu.org>
 799
 800	* tmac/an-old.tmac (TP, an-do-tag): Reduce line length while in
 801	diversion.  This fixes overlong tags.
 802
 8032001-03-26  Werner LEMBERG  <wl@gnu.org>
 804
 805	* doc/groff.texinfo: Fixed and improved documentation of fonts.
 806	* tmac/doc-syms: Fix error messages.
 807	* tmac/an-old.tmac: Remove incorrect double backslashes.
 808
 8092001-03-24  Ruslan Ermilov  <ru@freebsd.org>
 810
 811	* tmac/Makefile.sub: Strip mdoc.local also
 812	* tmac/strip.sed: Fixed.
 813
 8142001-03-24  Werner LEMBERG  <wl@gnu.org>
 815
 816	* tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch for
 817	selecting the font size.
 818	* tmac/groff_mdoc.man, NEWS: Document it.
 819
 8202001-03-23  Werner LEMBERG  <wl@gnu.org>
 821
 822	* src/roff/troff/div.cc (save_vertical_space): Add default argument
 823	to `sv' request.
 824	* src/roff/troff/env.cc (family_change): Make `.fam' accept no
 825	argument to restore previous font family.
 826	* src/roff/troff/troff.man, man/groff.man, NEWS: Updated.
 827
 828	* doc/groff.texinfo: More fixes and additions (mainly for font
 829	manipulating commands).
 830
 831	* tmac/groff_mdoc.reference.man: Small updates and renamed to ...
 832	* tmac/groff_mdoc.man: This.  The quick reference has been removed.
 833	* tmac/Makefile.sub, NEWS: Updated.
 834
 8352001-03-23  Werner LEMBERG  <wl@gnu.org>
 836
 837	Replaced mdoc implementation.  The new version is `state of the
 838	art', using almost all new features of groff 1.17 -- it won't run
 839	with older versions.
 840
 841	* tmac/doc.tmac: Completely rewritten.
 842	* tmac/doc-common: Ditto.
 843	* tmac/doc-nroff: Ditto.
 844	* tmac/doc-ditroff: Ditto.
 845	* tmac/doc-syms: Ditto.
 846	* tmac/mdoc.local: New file.
 847	* tmac/groff_mdoc.samples.man: Replaced with ...
 848	* tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
 849	* tmac/strip.sed: Updated.
 850	* tmac/Makefile.sub: Updated.
 851	* INSTALL: Updated.
 852
 853	* tmac/groff_man.man: Add `man.local' to the FILES section.
 854
 8552001-03-22  Werner LEMBERG  <wl@gnu.org>
 856
 857	* doc/groff.texinfo: Added many @noindent.
 858	Replaced @end_Example -> @endExample.
 859	Added info whether registers are r/o.
 860	Many other additions and fixes.
 861
 8622001-03-21  Werner LEMBERG  <wl@gnu.org>
 863
 864	* doc/groff.texinfo: Added macro @Var (and some hacks due to bugs
 865	in makeinfo of texinfo 4.0) to be used in @Def* macros.
 866	Improved @Def* macros: Now the exact syntax of request, register,
 867	and escapes is shown.
 868	Added macros for parentheses and brackets to be used in @Def*.
 869	Many fixes and improvements of the documentation.
 870
 8712001-03-20  Werner LEMBERG  <wl@gnu.org>
 872
 873	* doc/groff.texinfo: Added new index: `st' (for strings).
 874	Added macros @Defstr(x).
 875	Added macro @Example (adding @group).
 876	Other minor improvements.
 877
 8782001-03-19  Werner LEMBERG  <wl@gnu.org>
 879
 880	* doc/groff.texinfo: Added two new indices: `es' (for escapes) and
 881	`rq' for requests.  `fn' is no longer used.
 882	Added macros @Defreq(x), @Defreg(x), and @Defesc(x).
 883	Removed @Deffn(x).
 884
 885	* tmac/an-old.tmac (an-p-footer): If `cR' is set, replace page
 886	number with name of man page.
 887
 8882001-03-19  Larry Kollar  <kollar@alltel.net>
 889
 890	* doc/groff.texinfo: Complete revision.  Added many @Deffn to gain
 891	consistency.
 892
 8932001-03-19  Werner LEMBERG  <wl@gnu.org>
 894
 895	* man/groff_font.man: Document `prepro', `postpro', and `print'.
 896	* src/roff/groff/groff.man: Improve documentation of `-l' and `-L'.
 897	* src/devices/grohtml/grohtml.man: Fixing typos.
 898
 8992001-03-19  Gaius Mulley  <gaius@glam.ac.uk>
 900
 901	* tmac/s.tmac (@IP): Pass `.ip' html tag.
 902	* tmac/groff_mwww.man: Remove .LINE macro
 903	* tmac/www.tmac (LINE): Add `.ti'.
 904
 905	* src/devices/grohtml/post-html.cc (html_printer): New member
 906	`indent'.
 907	(html_printer::emit_raw): Use it.
 908	(html_printer::do_linelength): Ditto.
 909	(html_printer::do_pageoffset): Ditto.
 910	(html_printer::do_indentation): Ditto.
 911	(html_printer::do_tempindent): Ditto.
 912	(html_printer::do_break): Ditto.
 913	(html_printer::begin_page): Ditto.
 914	(html_printer::do_indentedparagraph): New function.
 915	(html_printer::troff_tag): Handle `.ip'.
 916	* src/devices/grohtml/html-text.cc (html_text::issue_table_begin):
 917	Add `<td width=...>' handling.
 918	(html_text::do_table): Add parameter.
 919	(html_text::do_indent): Updated.
 920	* src/devices/groohtml/html-text.h: Updated.
 921
 9222001-03-16  Gaius Mulley  <gaius@glam.ac.uk>
 923
 924	Introduced simple html tables to implement indentation.
 925
 926	* src/devices/grohtml/html.h (word, word_list): New structures.
 927	(simple_output): Use it.
 928	* src/devices/grohtml/post-html.cc: Add `INDENTATION'.
 929	(html_printer): Improve indentation handling.
 930	(html_printer::emit_raw): Set `in_table' element.  Handle
 931	indentation if set.
 932	(html_printer::write_header): Move conditional downwards.
 933	Don't allow whitespace in tags.
 934	(html_printer::do_linelength): Handle line length and indentation
 935	conditionally.
 936	(html_printer::do_pageoffset): Handle indentation conditionally.
 937	(html_printer::do_indentation): Ditto.
 938	(html_printer::do_tempindent): New function member.
 939	(html_printer::do_fill): Take care of indentation.
 940	(html_printer::do_flush): Finish table.
 941	(html_printer::do_links): Ditto.
 942	(html_printer::do_break): New function for handling `.br' and `.ti'.
 943	(html_printer::troff_tag): Use it.
 944	Handle `.ti'.
 945	(html_printer::flush_globs): Fix.
 946	(html_printer::flush_page): Finish table.
 947	(html_printer::html_printer): Fix error message.  Set up
 948	`linelength'.
 949	(html_printer::add_to_sbuf): Remove special handling of character
 950	code 255.
 951	(to_unicode): Remove `stop()'.
 952	(html_printer::write_title): Cleanup.
 953	(html_printer::begin_page): Use `put_string()'.  Handle indentation.
 954	(html_printer::~html_printer): Flush text and end the line.
 955	Use `put_string()'.
 956	* src/devices/grohtml/html_text.h: Add more *_TAG enum values.
 957	* src/devices/grohtml/html_text.cc (html_text::end_tag): Fix
 958	emission of tags.
 959	(html_text::start_tag): Disable newlines.
 960	(html_text::table_is_void): New function.
 961	(html_text::issue_table_begin): Ditto.
 962	(html_text::issue_table_end): Ditto.
 963	(html_text::push_para): Better table handling.
 964	(html_text::do_indent): New function.
 965	(html_text::do_table): Ditto.
 966	(html_text::done_table): Ditto.
 967	(html_text::do_tt): Handle PRE_TAG.
 968	(html_text::is_in_table): New function.
 969	(html_text::check_emit_text): Handle tables.
 970	(html_text::do_emittext): Use `nl()'.
 971	(html_text::do_para): Handle table.
 972	(html_text::remove_def): New function.
 973	* src/devices/grohtml/output.cc (word, word_list): Implement
 974	methods.
 975	(simple_output::end_line): Flush last word.
 976	(simple_output::simple_comment): Ditto.
 977	(simple_output::begin_comment): Recoded.
 978	(simple_output::end_comment): Ditto.
 979	(simple_output::comment_arg): Removed.
 980	(simple_output::check_newline): Improve test and flush last word.
 981	(simple_output::space_or_newline): Improved.
 982	(simple_output::write_newline): Replaced with...
 983	(simple_output::nl): This.
 984	(simple_output::put_raw_char): Flush last word.
 985	(simple_output::check_space): Removed.
 986	(simple_output::put_translated_string): Ditto.
 987	(simple_output::put_string): Simplified.
 988	(simple_output::put_number): Updated.
 989	(simple_output::put_float): Ditto.
 990	(simple_output::put_symbol): Removed.
 991	(simple_output::enable_newlines): Add `check_newline()'.
 992	(simple_output::flush_last_word): New function.
 993
 994	* src/roff/troff/enc.cc (no_fill): Remove call to add_html_tag().
 995	* src/roff/troff/div.cc (page_offset): Add call to add_html_tag().
 996
 997	* tmac/s.tmac (@PP, @IP): Add html conditional code.
 998	* tmac/an-old.tmac (TP): Ditto.
 999
10002001-03-09  Ruslan Ermilov  <ru@freebsd.org>
1001
1002	* mdate.sh: Make it POSIX compliant.
1003
10042001-03-09  Werner LEMBERG  <wl@gnu.org>
1005
1006	Added the `return' request to end a macro immediately.  It simply
1007	pops iterators from the input stack until a macro iterator is found.
1008
1009	* src/roff/troff/input.cc (input_iterator::is_macro,
1010	macro_iterator::is_macro): New member.
1011	(input_return_boundary): New class to signal an immediate return
1012	to while_request().
1013	(input_stack::add_return_boundary, input_stack::is_return_boundary):
1014	New functions.
1015	(input_stack::clear): Use it.
1016	(input_stack::pop_macro): New function.
1017	(while_request): Use `is_return_boundary()'.
1018	(return_macro_request): New function.
1019	(init_input_requests): Use it.
1020
1021	* src/roff/troff/TODO: Updated.
1022	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
1023
10242001-03-08  Werner LEMBERG  <wl@gnu.org>
1025
1026	* src/roff/troff/input.cc (input_iterator::is_boundary): Minor
1027	cleanup.
1028
10292001-03-07  Werner LEMBERG  <wl@gnu.org>
1030
1031	Make `\B' more rigid.
1032
1033	* src/roff/troff/number.cc (parse_expr, parse_term): Add `rigid'
1034	parameter.
1035	(get_number_rigidly): New function.
1036	* src/roff/troff/input.cc (do_expr_test): Use it.
1037	* src/roff/troff/token.h: Updated.
1038
1039	* src/roff/troff/request.h: Fix typo (init_html_request ->
1040	init_markup_request).
1041
10422001-03-04  Gaius Mulley  <gaius@glam.ac.uk>
1043
1044	Fixed grohtml handling of any named glyph for glyph indexes < 0x80.
1045	Cosmetic changes to `.html-begin', `.html-end', `.html-image' which
1046	are now `.begin', `.end', `.image'.
1047
1048	* src/devices/grohtml/post-html.cc: Adding UNICODE_DESC_START.
1049	(html_printer::add_to_sbuf): Changing type of `code' parameter.
1050	Use add_char_to_sbuf().
1051	(to_unicode): New function.
1052	(char_translate_to_html): Changing type of `ch' parameter.
1053	Use `to_unicode()'.
1054	(html_printer::~html_printer): Comment out doctype string.
1055	* src/preproc/html/pre-html.cc (write_end_image): Use `.end'
1056	instead of `.html-end'.
1057	(write_start_image): Use `.begin' and `.image' instead of
1058	`.html-begin' and `.html-image'.
1059	* src/roff/troff/input.cc: Rename `html_level' to `begin_level'.
1060	(html_begin): Renamed to ...
1061	(begin): This.
1062	(html_end): Renamed to ...
1063	(end): This.
1064	(html_image): Renamed to ...
1065	(image): This.
1066	(init_html_requests): Renamed to ...
1067	(init_markup_requests): This.
1068	* tmac/www.tmac: Updated.
1069
10702001-02-28  Bram  <bram@avontuur.org>
1071
1072	* src/libs/libgroff/font.cc (font_widths_cache): Fixing syntax of
1073	constructor.
1074
10752001-02-26  David Leonard  <david.leonard@csee.uq.edu.au>
1076
1077	* doc/meref.me: Fixing some typos.
1078
10792001-02-16  Werner LEMBERG  <wl@gnu.org>
1080
1081	* src/roff/troff/node.cc (space_node::get_hyphenation_type): New
1082	method.  Return `HYPHEN_MIDDLE' if it was `\:'.
1083	* src/roff/troff/node.h: Updated.
1084
10852001-02-17  Ruslan Ermilov  <ru@FreeBSD.org>
1086
1087	* tmac/groff_tmac.man: Fix typo.
1088
10892001-02-16  Werner LEMBERG  <wl@gnu.org>
1090
1091	Fixing a bug which prevented proper end-of-sentence recognition
1092	between an `unformatted' box and the following text.  As a
1093	consequence, vertical line distances are no longer preserved in
1094	boxes after a call to `.unformat' -- because boxes aren't
1095	line-oriented (contrary to diversions), this doesn't make sense
1096	anyway.
1097
1098	* src/roff/troff/node.cc (*node::set_unformat_flag): Add return
1099	value.
1100	(vertical_size_node::set_unformat_flag): New method.
1101	* src/roff/troff/node.hh: Updated.
1102	* src/roff/troff/input.cc (word_space_node::reread,
1103	hmotion_node::reread): Reset `unformat' flag after usage.
1104	(unformat_macro): Append only if `set_unformat_flag()' returns
1105	non-zero.
1106	* src/roff/troff/troff.man: Updated.
1107
11082001-02-15  Werner LEMBERG  <wl@gnu.org>
1109
1110	* src/roff/troff/troff.man, NEWS, man/groff.man: Improved
1111	documentation of `asciify' and `unformat' requests.
1112
11132001-02-13  Werner LEMBERG  <wl@gnu.org>
1114
1115	Redesigned the `unformat' request.  It is no longer connected with
1116	`asciify' but rather uses new `reread()' methods if the `unformat'
1117	flag is set.  Additionally, the handling of space characters after
1118	unformatting has been fixed so that they retain their width.
1119
1120	* src/roff/troff/node.h (width_list): New structure to store
1121	original widths of spaces.
1122	(node): Added `unformat' member.
1123	Replaced `num_spaces' variable with `orig_width' list.
1124	* src/roff/troff/node.cc (*node::asciify,
1125	asciify_reverse_node_list): Removed `unformat_only' flag and related
1126	code.
1127	(word_space_node::asciify, word_space_node::word_space_node): Use
1128	`orig_width'.
1129	(word_space_node::~word_space_node): New destructor.
1130	(word_space_node::copy): Updated to handle `orig_width'.
1131	(hmotion_node::copy, unbreakable_space_node::copy): Updated.
1132	(*node::merge_space): Update `orig_width' list if necessary.
1133	(*node::set_unformat_flag): New methods to set the `unformat' flag.
1134	* src/roff/troff/enc.cc (environment::space_newline): Use
1135	`width_list'.
1136	(environment::space): Added method to handle space width and
1137	sentence space width as parameters.  Use `width_list'.
1138	(environment::make_tab_node): Updated.
1139	* src/roff/troff/env.h: Updated.
1140	* src/roff/troff/input.cc (word_space_node::reread,
1141	unbreakable_space_node::reread, hmotion_node::reread): New methods
1142	to handle nodes specially if `unformat' flag is set.
1143	(do_asciify_macro): Renamed back to ...
1144	(asciify_macro): This.
1145	(unformat_macro): New implementation to simply set the `unformat'
1146	flag.
1147
1148	* MORE.STUFF: Added more info about deroff.
1149
11502001-02-08  Werner LEMBERG  <wl@gnu.org>
1151
1152	* src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
1153	space_char_hmotion_node, overstrike_node): Add `get_hyphen_list()'
1154	and `add_self()' methods to avoid hyphenation.  For example, the
1155	hyphen list for `foo\0\0bar' was `foobar', causing insertion of a
1156	soft hyphen after `foo'.  Now the hyphen list is correctly
1157	`foo<ignore><ignore>bar'.
1158
11592001-02-05  Yoshiteru Kageyama  <yt-kage@cb3.so-net.ne.jp>
1160
1161	* tmac/groff_tmac.man: Fix `BIR' macro.
1162
11632001-02-04  Werner LEMBERG  <wl@gnu.org>
1164
1165	A new escape sequence `\:', inserting a zero-width break point.
1166
1167	* src/roff/troff/input.h: Adding `ESCAPE_COLON'.
1168	* src/roff/troff/input.cc (get_copy, token::next, asciify):
1169	Implement it.
1170	* src/roff/troff/node.h (node): Add `is_escape_colon()' virtual
1171	method.
1172	(space_node): Add `was_escape_colon' member.  Add `is_escape_colon()'
1173	and `asciify()' methods.
1174	* src/roff/troff/node.cc (space_node::space_node): Updated.
1175	(space_node::asciify): Handle `was_escape_colon'.
1176	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
1177
1178	Handle `\~' similar to other comparable requests.
1179
1180	* src/roff/troff/input.cc (process_input_stack): Remove now obsolete
1181	label.
1182	(token::next): Move creation of an unbreakable_space_node to...
1183	(token::add_to_node_list): Here.
1184
1185	Fix a bug which sometimes prevented hyphenation of words connected
1186	with `\~' or `\ ' (and other escape sequences handled as
1187	TOKEN_NODE).  This also fixes a hyphenation problem with boxes
1188	(after a call to the `unformat' request).
1189
1190	* src/roff/troff/env.h (environment::possibly_break_line,
1191	environment::hyphenate_line): Introducing `start_here' parameter.
1192	* src/roff/troff/env.cc (environment::space_newline,
1193	environment::space): Use it.
1194	(environment::possibly_break_line, environment::hyphenate_line):
1195	Implement it.
1196	* src/roff/troff/input.cc (process_input_stack): Use it.
1197	* src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
1198	space_char_hmotion_node, overstrike_node): Add
1199	`get_hyphenation_type()' method.
1200	* src/roff/troff/node.cc (break_char_node::asciify): Don't asciify
1201	if `unformat_only' is active.
1202
12032001-01-30  Werner LEMBERG  <wl@gnu.org>
1204
1205	Implemented new read-only number register `.linetabs' which
1206	returns 1 if in line-tabs mode, 0 otherwise.
1207
1208	* src/roff/troff/env.h (environment): Add get_line_tabs() member.
1209	* src/roff/troff/env.cc (get_line_tabs): New function.
1210	(init_env_requests): Use it.
1211	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
1212
1213	* VERSION, REVISION: Changing to 1.17.0.
1214
12152001-01-28  Werner LEMBERG  <wl@gnu.org>
1216
1217	Fixed a bug which prevented hyphenation of words which are finished
1218	with `\)'.
1219
1220	* src/roff/troff/token.h (token): Add enum type
1221	`TOKEN_TRANSPARENT_DUMMY' and method `transparent_dummy()'.
1222	* src/roff/troff/input.cc (token::next, token::description,
1223	get_line_arg, token::add_to_node_list, token::process): Use it.
1224
12252001-01-27  Werner LEMBERG  <wl@gnu.org>
1226
1227	* src/roff/troff/div.h (diversion): Add `saved_prev_line_interrupted'.
1228	* src/roff/troff/div.cc (do_divert): Use it.
1229
1230	* src/roff/troff/input.cc (asciify): Add ESCAPE_RIGHT_PARENTHESIS.
1231
12322001-01-25  Werner LEMBERG  <wl@gnu.org>
1233
1234	Adding the `linetabs' request.  If set, tab distances are not
1235	computed relative to the input line but relative to the output line.
1236
1237	* src/roff/troff/env.h (environment): New member `line_tabs'.
1238	* src/roff/troff/env.cc (line_tabs_request): Implement request.
1239	(environment::environment, environment::copy): Updated.
1240	(environment::distance_to_next_tab): Use `line_tabs'.
1241	(init_env_requests): Register request.
1242	* src/roff/troff/troff.man, man/groff.man, NEWS: Document it.  Other
1243	fixes.
1244
12452001-01-24  Werner LEMBERG  <wl@gnu.org>
1246
1247	Introducing a new read-only register `.int' which is set to a
1248	positive value if the last output line is interrupted (i.e., if it
1249	contains `\c').
1250
1251	* src/roff/troff/env.cc (init_env_requests): Add it.
1252	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
1253
12542001-01-23  Gaius Mulley  <gaius@glam.ac.uk>
1255
1256	* tmac/mwww.tmac: Call `www.tmac', not `arkup.tmac'.
1257	* src/preproc/html/pre-html.cc (findPrefix): New function which
1258	generates the troff executable name via the system prefix.
1259	* src/preproc/eqn/main.cc: Modified warning message.
1260
12612001-01-23  Werner LEMBERG  <wl@gnu.org>
1262
1263	troff's `box' and `boxa' requests didn't preserve temporary
1264	indentation.
1265
1266	* src/roff/troff/div.h (diversion): Add `saved_saved_indent' and
1267	`saved_target_text_length' members.
1268	* src/roff/troff/div.cc (do_divert): Use them.
1269
1270	Tabs (but not yet leaders and fields) are now handled correctly by
1271	`asciify' request.
1272
1273	* node.h (hmotion_node): Add field `was_tab'.
1274	* env.cc (environment::make_tab_node): Set it.
1275	* node.cc (hmotion_node::copy, hmotion_node::asciify): Use it.
1276
1277	Added new request `unformat' which will, contrary to `asciify',
1278	preserve font information after unformatting (i.e., only nodes
1279	dealing with horizontal space are converted back to input
1280	characters).
1281
1282	* input.cc (asciify_macro): Renamed to ...
1283	(do_asciify_macro): this, having a new parameter `unformat_only'.
1284	(asciify_macro, unformat_macro): New; using do_asciify_macro.
1285	(init_input_requests): Added `unformat'.
1286	* node.cc (*_node::asciify), asciify_reverse_node_list: Added
1287	parameter to control asciification process.
1288	* node.h (*_node::asciify): Ditto.
1289	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
1290
12912001-01-20  Werner LEMBERG  <wl@gnu.org>
1292
1293	* doc/groff.texinfo: Minor improvement of `.in' documentation.
1294
12952001-01-18  Werner LEMBERG  <wl@gnu.org>
1296
1297	* tmac/ps.tmac: Remove call of psold.tmac.
1298	* tmac/psold.tmac: Comment updated.
1299	* tmac/psnew.tmac: Removed since no longer needed.
1300	* tmac/Makefile.sub, NEWS, src/devices/grops/grops.man: Updated.
1301
1302	* font/devutf8/R.proto: Adding `shc' glyph.
1303	* font/devutf8/NOTES: Updated.
1304
1305	* test-groff: Updated.
1306
13072001-01-15  Gaius Mulley  <gaius@glam.ac.uk>
1308
1309	First cut of the new html device driver.  Changes to pre-html and
1310	the new grohtml are too numerous to be documented here.
1311
1312	Stuff related to `html' has been renamed to `html-old' and `html2'
1313	stuff has been renamed to `html' (including directories).  The new
1314	html device driver is therefore invoked as `-Thtml'.
1315
1316	Added new `\O' escape to suppress output (needed by html driver).
1317
1318	Added functions and code to pass info about input-level commands
1319	(`.in', `.fl', etc.) to html driver.
1320
1321	Three new functions (.html-begin, .html-end, and .html-image) for
1322	better html handling: `html-begin' will execute the remaining line
1323	if at the outermost nesting level, increasing an internal counter.
1324	`html-end' does the same but decreases the internal counter.
1325	`html_image' puts its arguments into a special node (suppress_node)
1326	to define an image region.
1327
1328	The `output' request has been removed.
1329
1330	* tmac/html-tags.tmac: Removed.
1331	* tmac/arkup.tmac: Updated and renamed to ...
1332	* tmac/www.tmac: New file.
1333	* tmac/markup.tmac Updated and renamed to ...
1334	* tmac/mwww.tmac: New file.
1335	* tmac/Makefile.sub: Updated.
1336	* tmac/an-old.tmac: Updated.
1337	* tmac/eqnrc: Updated.
1338	* tmac/groff_man.man
1339	* tmac/groff_markup.man: Updated and renamed to ...
1340	* tmac/groff_mwww.man: New file.
1341	* tmac/groff_tmac.man: Updated.
1342	* tmac/html-old.tmac: Updated and Renamed from html.tmac.
1343	* tmac/html.tmac: Updated and renamed from html2.tmac.
1344	* tmac/pspic.tmac: Updated html support.
1345	* tmac/s.tmac: Added html output support.
1346	* tmac/troffrc, tmac/troffrc-end: Updated.
1347
1348	* Makefile.in, doc/Makefile: Updated.
1349	* doc/groff.texinfo: Added info about new `\O' escape.
1350	* doc/homepage.ms: Use `MAILTO' macro.
1351
1352	* font/devhtml/DESC.proto: Add `C' font.
1353	* font/devhtml/Makefile.sub: Updated.
1354	* font/devhtml/R.proto: Minor fixes.
1355	* font/devhtml-old/Makefile.sub: Updated.
1356
1357	* src/devices/grohtml-old/Makefile.sub: Updated.
1358
1359	* src/libs/libdriver/printer.cc (printer::get_font_from_index): New
1360	method.
1361	* src/libs/libgroff/htmlindicate.cc (html_begin_suppress,
1362	graphic_start): Add `inline' parameter.  Update.
1363	(html_end_suppress, graphic_end): Update.
1364
1365	* src/include/html-strings.h: New file.
1366	* src/include/htmlindicate.h: Comments updated.
1367	* src/include/printer.h: Updated.
1368
1369	* src/preproc/eqn/main.cc (do_file, main): Updated.
1370	* src/preproc/pic/troff.cc (troff_output::start_picture,
1371	troff_output::finish_picture): Updated.
1372	* src/preproc/tbl/main.cc (process_input_file): Updated.
1373
1374	* src/roff/groff/groff.cc (main): Updated.
1375	Pass device arguments to predrivers also.
1376	Use `ps' device for `eqn' preprocessor if `-Thtml' is given.
1377	* src/roff/troff/env.h (environment): Updated.
1378	New elements `need_eol' and `ignore_next_eol' (for html output).
1379	* src/roff/troff/env.cc (environment::environment): Add initializers
1380	for `need_eol' and `ignore_next_eol'.
1381	(environment::add_html_tag_eol, en…

Large files files are truncated, but you can click here to view the full file