1151497Sru2005-09-04 Werner LEMBERG <wl@gnu.org> 2151497Sru 3151497Sru * tmac/groff_ms.man, doc/groff.texinfo: Synchronize. 4151497Sru 5151497Sru * doc/webpage.ms: Updated. 6151497Sru 7151497Sru * install-sh, mkinstalldirs: New versions; taken from texinfo CVS. 8151497Sru 9151497Sru2005-09-04 J�rgen Grahn <jgrahn@algonet.se> 10151497Sru 11151497Sru * tmac/groff_ms.man: Document `PO' better. 12151497Sru 13151497Sru2005-09-03 Werner LEMBERG <wl@gnu.org> 14151497Sru 15151497Sru * NEWS: Document grotty changes. 16151497Sru 17151497Sru2005-09-01 Keith Marshall <keith.d.marshall@ntlworld.com> 18151497Sru 19151497Sru Backward compatibility support for `man' program. 20151497Sru 21151497Sru * tmac/an-old.tmac (LL): Initialize it to respect prior LL register 22151497Sru assignment, prior `.ll' request and then package defaults, in this 23151497Sru specified order of decreasing priority. 24151497Sru 25151497Sru * tmac/groff_man.man, doc/groff.texinfo: Document altered `LL' 26151497Sru register initialization priorities. 27151497Sru 28151497Sru2005-08-29 Gary W. Swearingen <garys@opusnet.com> 29151497Sru 30151497Sru * tmac/groff_mdoc.man: Go into more details how the `AUTHORS' 31151497Sru section should look like. 32151497Sru 33151497Sru2005-08-29 Werner LEMBERG <wl@gnu.org> 34151497Sru 35151497Sru * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't 36151497Sru be abbreviated. 37151497Sru 38151497Sru2005-08-27 Bernd Warken 39151497Sru 40151497Sru * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor 41151497Sru fixes. 42151497Sru 43151497Sru2005-08-11 Bernd Warken 44151497Sru 45151497Sru * tmac/www.tmac (URL, MTO): Handle empty \\$1 better. 46151497Sru 47151497Sru2005-08-09 Bernd Warken 48151497Sru 49151497Sru * tmac/www.tmac (URL, MTO): Use bold series if color support is 50151497Sru deactivated. 51151497Sru 52151497Sru2005-08-02 Bernd Warken 53151497Sru 54151497Sru * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete 55151497Sru as argument to $(INSTALL_INFO). The latter isn't portable. 56151497Sru Remove $(HTMLEXAMPLEFILES) too. 57151497Sru 58151497Sru * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and 59151497Sru $(datadir)/doc too. 60151497Sru Suppress warning messages and return always true. 61151497Sru 62151497Sru * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too. 63151497Sru 64151497Sru2005-07-02 Bernd Warken 65151497Sru 66151497Sru * src/devices/xditview/gxditview.man: Change many `.I' to `.B'. 67151497Sru * man/groff_out.man: More markup and minor improvements. 68151497Sru * src/roff/groff/groff.man: Minor improvements. 69151497Sru 70151497Sru2005-06-28 Werner LEMBERG <wl@gnu.org> 71151497Sru 72151497Sru * ChangeLog: Split off older entries into... 73151497Sru * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New 74151497Sru files. 75151497Sru 76151497Sru2005-06-26 Bernd Warken 77151497Sru 78151497Sru * src/devices/xditview/gxditview.man: More minor fixes. 79151497Sru 80151497Sru2005-06-24 Werner LEMBERG <wl@gnu.org> 81151497Sru 82151497Sru * src/preproc/pic/troff.cpp (troff_output::set_fill, 83151497Sru troff_output::set_color, troff_output::reset_color): Use .bcolor and 84151497Sru .fcolor instead of \m and \M, respectively. 85151497Sru 86151497Sru2005-06-23 Bernd Warken 87151497Sru 88151497Sru * src/devices/xditview/gxditview.man: More minor fixes. 89151497Sru * README: Formatting issues. 90151497Sru Mention some problems with Debian. 91151497Sru 92151497Sru2005-06-23 Bernd Warken 93151497Sru 94151497Sru * src/devices/xditview/gxditview.man: Revised and improved. 95151497Sru 96151497Sru2005-06-22 Werner LEMBERG <wl@gnu.org> 97151497Sru 98151497Sru Another round in fixing getopt problems. Hopefully the last one! 99151497Sru This time we use the getopt stuff from gnulib and define a prefix 100151497Sru unconditionally so that there are no collisions with any other 101151497Sru getopt implementations. This is a slight waste of space in case 102151497Sru we already use a GNU getopt implementation, but on 103151497Sru the other hand it really simplifies life. 104151497Sru 105151497Sru * src/include/getopt.h: Use gnulib version. 106151497Sru 107151497Sru * src/include/getopt_int.h: Use gnulib version. 108151497Sru 109151497Sru * src/include/groff-getopt.h: Removed. Obsolete now. 110151497Sru 111151497Sru * src/include/lib.h: Regarding getopt, don't handle any platform 112151497Sru specially; just include getopt.h. 113151497Sru (__GETOPT_PREFIX): Define (before getopt.h). 114151497Sru 115151497Sru * src/include/Makefile.sub (HDRS): Updated. 116151497Sru 117151497Sru * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use 118151497Sru gnulib version. 119151497Sru 120151497Sru * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set 121151497Sru __GETOPT_PREFIX. 122151497Sru 123151497Sru * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c 124151497Sru (__GETOPT_PREFIX): Define (before getopt.h). 125151497Sru 126151497Sru2005-06-21 Werner LEMBERG <wl@gnu.org> 127151497Sru 128151497Sru * src/include/lib.h: Provide a fix for Mac OS X to not include 129151497Sru groff-getopt.h. 130151497Sru 131151497Sru2005-06-20 Denis M. Wilson <dmw@oxytropis.plus.com> 132151497Sru 133151497Sru * font/devps/prologue.ps (EP): Dont' use `bind'. Reason: Using 134151497Sru `bind' to define a procedure which contains `showpage' means that an 135151497Sru invocation of `showpage' may execute wrongly (the exact effect 136151497Sru depending on the interpreter). Not usually a problem except under 137151497Sru transformations, such as combining pages. 138151497Sru (PEND): Don't call `clear'. Reason: Using `clear' in the definition 139151497Sru of /PEND means that stack underflow will occur if the stack is 140151497Sru deliberately non-empty before document inclusion. If included 141151497Sru files are found to be generally badly behaved, we could replace the 142151497Sru `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've 143151497Sru never found this necessary). 144151497Sru 145151497Sru2005-06-20 J�rgen Grahn <jgrahn@algonet.se> 146151497Sru 147151497Sru * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero 148151497Sru earlier to get correct error message. 149151497Sru 150151497Sru2005-06-16 Bernd Warken 151151497Sru * src/roff/nroff/nroff.sh: Add support for iso-8859-15. 152151497Sru 153151497Sru2005-06-15 Werner LEMBERG <wl@gnu.org> 154151497Sru 155151497Sru Another try to update getopt files. This time we add a dummy 156151497Sru gettext.h file to satisfy the dependency. 157151497Sru 158151497Sru * src/include/getopt.h, src/libs/libgroff/getopt.c, 159151497Sru src/libs/libgroff/getopt1.c: Updated from GNU libc CVS. 160151497Sru 161151497Sru * src/include/getopt_int.h: New file (from GNU libc CVS). 162151497Sru 163151497Sru * src/include/gettext.h: Dummy file which just defines a gettext() 164151497Sru macro. 165151497Sru 166151497Sru * src/include/groff-getopt.h: Updated. 167151497Sru 168151497Sru * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h. 169151497Sru 170151497Sru 171151497Sru * src/libs/libdriver/input.cpp (IntArray): Remove superfluous 172151497Sru `const' keywords in return value. 173151497Sru 174151497Sru * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer): 175151497Sru Remove redundant variable `old'. 176151497Sru (pushBackBuffer::skipToNewline): Remove redundant variable `ch'. 177151497Sru 178151497Sru * src/preproc/tbl/main.cpp (process_table): Remove redundant 179151497Sru variable `c'. 180151497Sru 181151497Sru 182151497Sru Fix more friend name injection problems since modern C++ compilers 183151497Sru fail otherwise. We simply provide (global) declarations for all 184151497Sru functions declared as friends. This is not really necessary but 185151497Sru doesn't harm. 186151497Sru 187151497Sru * src/preproc/eqn/lex.cpp: Provide declarations for get_char, 188151497Sru peek_char, and get_location. 189151497Sru 190151497Sru * src/preproc/refer/ref.h: Provide declarations for 191151497Sru compare_reference, same_reference, same_year, same_date, 192151497Sru same_author_last_name, and same_author_name. 193151497Sru 194151497Sru * src/roff/troff/div.h: Provide declarations for do_divert and 195151497Sru page_offset. 196151497Sru 197151497Sru * src/roff/troff/env.h: Provide declarations for title_length, 198151497Sru space_size, fill, no_fill, adjust, no_adjust, center, right_justify, 199151497Sru vertical_spacing, post_vertical_spacing, line_spacing, line_length, 200151497Sru indent, temporary_indent, do_underline, do_input_trap, set_tabs, 201151497Sru margin_character, no_number, number_lines, leader_character, 202151497Sru tab_character, hyphenate_request, no_hyphenate, 203151497Sru hyphen_line_max_request, hyphenation_space_request, 204151497Sru hyphenation_margin_request, line_width, tabs_save, tabs_restore, 205151497Sru line_tabs_request, widow_control_request, and do_divert. 206151497Sru 207151497Sru * src/roff/troff/input.cpp: Provide declaration for chop_macro. 208151497Sru 209151497Sru * src/roff/troff/node.cpp: Provide declarations for class 210151497Sru tfont_spec. 211151497Sru Provide declaration for make_tfont. 212151497Sru 213151497Sru2005-05-29 Werner LEMBERG <wl@gnu.org> 214151497Sru 215151497Sru * doc/fdl.texi: Updated to version 1.2. Reported by Bernd Warken. 216151497Sru 217151497Sru2005-05-28 Werner LEMBERG <wl@gnu.org> 218151497Sru 219151497Sru * contrib/pdfmark/Makefile.sub (.ms.pdf): Use `--stylesheet', not 220151497Sru `--style'. 221151497Sru 222151497Sru * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove 223151497Sru redundant semicolons. 224151497Sru 225151497Sru * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub, 226151497Sru src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub: 227151497Sru Define `MLIB'. Some compilers need this for linking with libgroff. 228151497Sru 229151497Sru2005-05-27 Werner LEMBERG <wl@gnu.org> 230151497Sru 231151497Sru * MANIFEST, README, doc/webpage.ms: Updated. 232151497Sru 233151497Sru2005-05-26 Werner LEMBERG <wl@gnu.org> 234151497Sru 235151497Sru * All affected files: Update postal address of FSF. 236151497Sru 237151497Sru2005-05-25 Keith Marshall <keith.d.marshall@ntlworld.com> 238151497Sru Bernd Warken 239151497Sru 240151497Sru * README: More fixes. 241151497Sru 242151497Sru * README.CVS: Removed. Its contents is now part of the README file. 243151497Sru 244151497Sru2005-05-21 Werner LEMBERG <wl@gnu.org> 245151497Sru 246151497Sru * README: Updated. Based on a patch from Bernd Warken. 247151497Sru 248151497Sru2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com> 249151497Sru 250151497Sru Miscellaneous script portability enhancements. 251151497Sru 252151497Sru * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for 253151497Sru generated conftest.sh script, conforming to portability 254151497Sru recommendation in autoconf docs. 255151497Sru * configure: Likewise, for code generated by GROFF_CSH_HACK. 256151497Sru * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming 257151497Sru to portability recommendation in autoconf docs. 258151497Sru * contrib/gdiffmk/gdiffmk.sh: Likewise. 259151497Sru * contrib/gdiffmk/tests/runtests.in: Likewise. 260151497Sru * contrib/grap2graph/grap2graph.sh: Likewise. 261151497Sru * contrib/groffer/groffer.sh: Likewise. 262151497Sru * contrib/mm/mmroff.pl: Likewise. 263151497Sru * contrib/mom/momdoc/appendices.html: Likewise. 264151497Sru * contrib/pic2graph/pic2graph.sh: Likewise. 265151497Sru * font/devps/generate/afmname: Likewise. 266151497Sru * src/devices/xditview/ad2c: Likewise. 267151497Sru * src/preproc/eqn/neqn.sh: Likewise. 268151497Sru * src/roff/grog/grog.pl: Likewise. 269151497Sru * src/roff/grog/grog.sh: Likewise. 270151497Sru * src/roff/nroff/nroff.sh: Likewise. 271151497Sru * PROBLEMS: Likewise, in embedded script examples. 272151497Sru 273151497Sru2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com> 274151497Sru 275151497Sru Improve portability of `pdfroff' shell script. 276151497Sru 277151497Sru * arch/misc/shdeps.sh: Add space in shebang, conforming to 278151497Sru portability guidelines in `autoconf' docs. 279151497Sru (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR 280151497Sru initialization code. Used by contrib/pdfmark/pdfroff.sh's 281151497Sru `searchpath' function. 282151497Sru 283151497Sru2005-05-14 Werner LEMBERG <wl@gnu.org> 284151497Sru 285151497Sru * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh, 286151497Sru contrib/eqn2graph.sh: Add option `-trim' to `convert' which is 287151497Sru needed for newer ImageMagick versions. 288151497Sru 289151497Sru2005-05-07 Werner LEMBERG <wl@gnu.org> 290151497Sru 291151497Sru * src/preproc/refer/refer.man: Many small typographic fixes. 292151497Sru 293151497Sru2005-05-06 Jeff Conrad <jeff_conrad@msn.com> 294151497Sru 295151497Sru * src/devices/grohtml/post-html.cpp (assert_state::~assert_state): 296151497Sru Use `char *' cast for a_delete. 297151497Sru 298151497Sru2005-05-03 Werner LEMBERG <wl@gnu.org> 299151497Sru 300151497Sru * src/libs/libgroff/maxpathname.cpp: Include stdlib.h. 301151497Sru src/libs/libgroff/relocate.cpp: Use path_name_max everywhere. 302151497Sru 303151497Sru2005-05-03 Jeff Conrad <jeff_conrad@msn.com> 304151497Sru 305151497Sru * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using 306151497Sru `a_delete' for `const char *'. 307151497Sru 308151497Sru2005-05-03 Werner LEMBERG <wl@gnu.org> 309151497Sru 310151497Sru * src/devices/grohtml/post-html.cpp, 311151497Sru src/devices/grohtml/html-table.cpp, 312151497Sru src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp: 313151497Sru Replace malloc/free with new/delete/a_delete. 314151497Sru 315151497Sru * src/devices/grolbp/lbp.h: Remove superfluous semicolons which 316151497Sru are prohibited with ANSI C++. 317151497Sru (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the 318151497Sru function has a variable number of arguments). 319151497Sru 320151497Sru * src/preproc/grn/main.cpp (doinput): Change return type to `int'. 321151497Sru Simplify function and update all callers. 322151497Sru 323151497Sru2005-05-02 Werner LEMBERG <wl@gnu.org> 324151497Sru 325151497Sru Undo getopt changes from 2005-04-30. We don't want a dependency 326151497Sru on gettext. 327151497Sru 328151497Sru * src/include/getopt_int.h: Removed. 329151497Sru 330151497Sru * src/include/getopt.h, src/include/groff-getopt.h, 331151497Sru src/include/Makefile.sub, src/libs/libgroff/getopt.c, 332151497Sru src/libs/libgroff/getopt1.c: Revert to previous version. 333151497Sru 334151497Sru 335151497Sru * src/include/nonposix.h (access) [_MSC_VER]: New macro. 336151497Sru 337151497Sru * src/include/posix.h (F_OK): Define conditionally. 338151497Sru 339151497Sru * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use 340151497Sru different variable name in second `for' loop to avoid MSVC compiler 341151497Sru problem. 342151497Sru 343151497Sru2005-04-30 Werner LEMBERG <wl@gnu.org> 344151497Sru 345151497Sru AC_TYPE_SIGNAL from current autoconf can fail if CC=g++. 346151497Sru 347151497Sru * aclocal.m4 (GROFF_TYPE_SIGNAL): New function. 348151497Sru * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL. 349151497Sru * configure, src/include/config.hin: Regenerated. 350151497Sru 351151497Sru * PROBLEMS: Updated. 352151497Sru 353151497Sru 354151497Sru Update getopt files. 355151497Sru 356151497Sru * src/include/getopt.h, src/libs/libgroff/getopt.c, 357151497Sru src/libs/libgroff/getopt1.c: Updated from GNU libc CVS. 358151497Sru 359151497Sru * src/include/getopt_int.h: New file (from GNU libc CVS). 360151497Sru 361151497Sru * src/include/groff-getopt.h: Updated. 362151497Sru 363151497Sru * src/include/Makefile.sub (HDRS): Add getopt_int.h. 364151497Sru 365151497Sru 366151497Sru * font/devutf8/NOTES: Updated. 367151497Sru 368151497Sru2005-04-28 Werner LEMBERG <wl@gnu.org> 369151497Sru 370151497Sru Bug fix for Win32 relocatable code. Based on a patch from Keith 371151497Sru Marshall. 372151497Sru 373151497Sru * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH' 374151497Sru also. 375151497Sru 376151497Sru * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally. 377151497Sru (searchpath) [_WIN32]: Use `_fullpath', not `realpath'. 378151497Sru 379151497Sru2005-04-28 Keith Marshall <keith.d.marshall@ntlworld.com> 380151497Sru 381151497Sru Correct `gnu.eps' handling for build from distribution tarball, with 382151497Sru separate source and build directories. 383151497Sru 384151497Sru * doc/Makefile.sub: (examples.stamp): New target; forces copy of 385151497Sru grnexmpl.g, groff.css and gnu.eps from source to build directory; 386151497Sru generate gnu.eps from gnu.xpm if required; touch examples.stamp. 387151497Sru (prepare_examples): Make it depend on examples.stamp. 388151497Sru (CLEANADD): Add examples.stamp. 389151497Sru 390151497Sru2005-04-27 Werner LEMBERG <wl@gnu.org> 391151497Sru 392151497Sru Implement the rule 393151497Sru 394151497Sru position: '(' position ')' 395151497Sru 396151497Sru in pic. 397151497Sru 398151497Sru * src/preproc/pic/pic.y (position, position_not_place): Handle 399151497Sru additional parentheses. 400151497Sru 401151497Sru * doc/pic.ms: Updated. 402151497Sru 403151497Sru2005-04-23 Larry Jones <lawrence.jones@ugs.com> 404151497Sru 405151497Sru * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration. 406151497Sru 407151497Sru2005-04-18 Werner LEMBERG <wl@gnu.org> 408151497Sru 409151497Sru * src/roff/groff/pipeline.c: Don't include ctype.h. 410151497Sru 411151497Sru2005-04-13 Werner LEMBERG <wl@gnu.org> 412151497Sru 413151497Sru * src/roff/nroff/nroff.man: Document option `-M'. 414151497Sru 415151497Sru2005-04-13 Bruce Lilly <blilly@erols.com> 416151497Sru 417151497Sru * src/roff/nroff/nroff.sh: Make the script accept option `-M'. 418151497Sru 419151497Sru2005-04-01 Kees Zeelenberg <kzlg@users.sourceforge.net> 420151497Sru Werner LEMBERG <wl@gnu.org> 421151497Sru 422151497Sru Add binary relocation support for Windows platforms. 423151497Sru 424151497Sru * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'. 425151497Sru 426151497Sru * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files. 427151497Sru 428151497Sru * src/libs/libgroff/searchpath.cpp: Handle `relocate'. 429151497Sru (search_path::search_path, search_path::open_file_cautious): Use 430151497Sru `relocate'. 431151497Sru 432151497Sru * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS), 433151497Sru src/include/Makefile.sub (HDRS): Updated. 434151497Sru 435151497Sru2005-04-01 Werner LEMBERG <wl@gnu.org> 436151497Sru 437151497Sru * src/devices/grohtml/post-html.cpp: Don't use strdup/free but 438151497Sru strsave/a_delete. 439151497Sru 440151497Sru * src/libs/libgroff/font.cpp: Replace strdup with strsave. 441151497Sru 442151497Sru * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since 443151497Sru lib.h already does it. 444151497Sru 445151497Sru * src/libs/libgroff/maxpathname.cpp: New file, defining 446151497Sru path_name_max. 447151497Sru 448151497Sru * src/include/lib.h: Add prototype for path_name_max. 449151497Sru 450151497Sru * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated. 451151497Sru 452151497Sru * src/include/nonposix.h (PATH_EXT): New macro. 453151497Sru 454151497Sru2005-03-28 Werner LEMBERG <wl@gnu.org> 455151497Sru 456151497Sru Add support for double- and zero-width characters in grotty. 457151497Sru 458151497Sru * src/devices/grotty/tty.cpp (glyph): Add width. 459151497Sru (tty_printer::make_underline, tty_printer::make_bold, 460151497Sru tty_printer::add_character): Add parameter to pass character width. 461151497Sru Update all callers. 462151497Sru (tty_printer::end_page): Increase hpos by actual character width. 463151497Sru 464151497Sru * font/devutf8/R.proto: Specify zero width for non-spacing 465151497Sru characters. 466151497Sru 467151497Sru * tmac/unicode.tmac: Remove definitions for non-spacing entities. 468151497Sru 469151497Sru * Makefile.comm (extraclean): Remove more junk files. 470151497Sru 471151497Sru2005-03-25 Werner LEMBERG <wl@gnu.org> 472151497Sru 473151497Sru * configure.ac: Undo change from 2005-03-24. 474151497Sru * configure: Regenerated. 475151497Sru 476151497Sru2005-03-24 Werner LEMBERG <wl@gnu.org> 477151497Sru 478151497Sru * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests. 479151497Sru (dist): Search Makefile while descending into $(EXTRADIRS). 480151497Sru 481151497Sru * doc/Makefile.in (.PHONY): Add. 482151497Sru (clean): Don't remove *.png and *.eps. 483151497Sru Don't handle *.gif. 484151497Sru (realclean): Remove *.png and *.eps. 485151497Sru (extraclean): Depend on distclean. 486151497Sru 487151497Sru * configure.ac: Add copyright. 488151497Sru Handle contrib/pdfmark/Makefile. 489151497Sru 490151497Sru * configure: Regenerated. 491151497Sru 492151497Sru2005-03-18 Larry Kollar <kollar@alltel.net> 493151497Sru 494151497Sru Add numbered and definition lists to www.tmac. 495151497Sru 496151497Sru * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3, 497151497Sru www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New 498151497Sru auxiliary string registers. 499151497Sru (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2, 500151497Sru www-ol-ctr3, www-dl-shift): New auxiliary number registers. 501151497Sru (www-level): Removed. 502151497Sru (www-level1, www-level2, www-level3): Initialize to empty. 503151497Sru (www-level0, www-level4, www-level5, www-level6, www-level7, 504151497Sru www-level8, www-level9): New string registers. 505151497Sru (www-push-li, www-pop-li): New macros. 506151497Sru (www-push-level, www-pop-level): Renamed to... 507151497Sru (www-push-ul-level, www-pop-ul-level): This. 508151497Sru Updated. 509151497Sru (www-push-ol-level, www-pop-ol-level): New macros. 510151497Sru (ULS, ULE): Updated. 511151497Sru (OLS, OLE, DLS, DLE): New user macros. 512151497Sru (LI): Removed. It is aliased to one of... 513151497Sru (www-li-ul, www-li-ol, www-li-dl): New macros. 514151497Sru 515151497Sru * tmac/groff_www.man: Document new macros. 516151497Sru 517151497Sru * NEWS: Updated. 518151497Sru 519151497Sru2005-03-18 Werner LEMBERG <wl@gnu.org> 520151497Sru 521151497Sru * tmac/doc-common (doc-operating-system-NetBSD-2.0.1, 522151497Sru doc-operating-system-NetBSD-2.0.2): New strings. 523151497Sru 524151497Sru * tmac/groff_mdoc.man: Updated. 525151497Sru 526151497Sru2005-03-17 Werner LEMBERG <wl@gnu.org> 527151497Sru 528151497Sru * doc/Makefile.sub (CLEANADD): Add `groff.html'. 529151497Sru 530151497Sru2005-03-17 Werner LEMBERG <wl@gnu.org> 531151497Sru 532151497Sru * src/libs/libgroff/hypot.c: Renamed to... 533151497Sru * src/libs/libgroff/hypot.cpp: This. Updated to C++. 534151497Sru 535151497Sru * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated. 536151497Sru 537151497Sru * src/include/lib.h: Updated. 538151497Sru 539151497Sru2005-03-16 Werner LEMBERG <wl@gnu.org> 540151497Sru 541151497Sru Add workaround for broken hypot() on Interix. 542151497Sru 543151497Sru * src/libs/libgroff/hypot.c: New wrapper file for `hypot'. 544151497Sru 545151497Sru * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'. 546151497Sru (CSRCS): Add `hypot.c'. 547151497Sru 548151497Sru * src/include/lib.h: Declare `groff_hypot'. 549151497Sru 550151497Sru * src/preproc/grn/hgraph.cpp: Don't declare `hypot'. 551151497Sru Use `groff_hypot'. 552151497Sru 553151497Sru * src/preproc/pic/pic.h: Don't declare `hypot'. 554151497Sru 555151497Sru * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'. 556151497Sru 557151497Sru2005-03-15 Gaius Mulley <gaius@glam.ac.uk> 558151497Sru 559151497Sru * src/devices/grohtml/post-html.cpp 560151497Sru (html_printer::lookahead_for_tables): End .ce properly to avoid a 561151497Sru segfault. 562151497Sru 563151497Sru2005-03-15 Werner LEMBERG <wl@gnu.org> 564151497Sru 565151497Sru makeinfo 4.8 doesn't produce good HTML output from groff.texinfo. 566151497Sru 567151497Sru * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output. 568151497Sru 569151497Sru * doc/Makefile.in (.texinfo.html): Call fixinfo.sh. 570151497Sru 571151497Sru2005-03-14 Werner LEMBERG <wl@gnu.org> 572151497Sru 573151497Sru Add Cyrillic support to devutf8 and devhtml. 574151497Sru 575151497Sru * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks. 576151497Sru 577151497Sru * tmac/unicode.tmac: New file. 578151497Sru 579151497Sru * tmac/tty.tmac: Include unicode.tmac if device is utf8. 580151497Sru 581151497Sru * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac. 582151497Sru 583151497Sru * NEWS: Updated. 584151497Sru 585151497Sru2005-03-02 Keith Marshall <keith.d.marshall@ntlworld.com> 586151497Sru 587151497Sru * src/libs/libdriver/printer.cpp (check_for_output_error): New 588151497Sru function. It has been introduced to catch peculiar error contexts 589151497Sru on MS-Windows platforms. 590151497Sru 591151497Sru2005-02-28 Werner LEMBERG <wl@gnu.org> 592151497Sru 593151497Sru * src/roff/troff/input.cpp (string_iterator::fill): Protect against 594151497Sru null pointer. 595151497Sru 596151497Sru * tmac/papersize.tmac: Convert `paper' string contents to lowercase. 597151497Sru 598151497Sru * configure: Regenerated. 599151497Sru 600151497Sru * NEWS: Updated. 601151497Sru 602151497Sru2005-02-28 Keith Marshall <keith.d.marshall@ntlworld.com> 603151497Sru 604151497Sru Integrate `pdfmark' into normal groff build system; 605151497Sru install macro `pdfmark' packages, build and install `pdfroff', 606151497Sru and PDF format documentation. 607151497Sru 608151497Sru * Makefile.comm: Add PDFDOCDIR. 609151497Sru 610151497Sru * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS, 611151497Sru pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables. 612151497Sru (unstall_dirs): Add pdfdocdir. 613151497Sru 614151497Sru * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support 615151497Sru `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS. 616151497Sru (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of 617151497Sru GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT. 618151497Sru (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up. 619151497Sru (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option, 620151497Sru set ALT_AWK_PROGS. 621151497Sru (GROFF_AWK_PATH): New function; support `--with-awk' option, force 622151497Sru use of GROFF_AWK_PREFS. 623151497Sru (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH 624151497Sru and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc. 625151497Sru 626151497Sru * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS. 627151497Sru Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and 628151497Sru also by modified GROFF_HTML_PROGRAMS). 629151497Sru 630151497Sru2005-02-27 Gaius Mulley <gaius@glam.ac.uk> 631151497Sru 632151497Sru * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve 633151497Sru paragraph spacing. 634151497Sru (html_text::done_para): Unset `start_space'. 635151497Sru (html_text::remove_para_align): Call `retrieve_para_space' for the 636151497Sru spacing. 637151497Sru 638151497Sru * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset 639151497Sru `seen_space'. 640151497Sru (html_printer::do_check_center): Emit vertical space if necessary. 641151497Sru 642151497Sru * src/roff/troff/env.cpp (environment_switch): Preserve 643151497Sru `seen_space', `seen_eol', and `suppress_next_eol' while switching 644151497Sru environments. 645151497Sru 646151497Sru * src/roff/troff/node.cpp (suppress_node::suppress_node): Set 647151497Sru `is_special'. 648151497Sru 649151497Sru2005-02-20 Werner LEMBERG <wl@gnu.org> 650151497Sru 651151497Sru * src/preproc/eqn/eqn.man, NEWS: Document various extensions of 652151497Sru eqn. 653151497Sru 654151497Sru2005-02-17 Werner LEMBERG <wl@gnu.org> 655151497Sru 656151497Sru * doc/pic.ms, man/groff.man: Fix typos. 657151497Sru 658151497Sru * doc/groff.texinfo: Fix typos. 659151497Sru (\LEmacro): Get proper mathematical spacing. 660151497Sru 661151497Sru2005-02-16 Werner LEMBERG <wl@gnu.org> 662151497Sru 663151497Sru * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message. 664151497Sru * configure: Regenerated with autoconf 2.59b. 665151497Sru 666151497Sru2005-02-16 Gaius Mulley <gaius@glam.ac.uk> 667151497Sru 668151497Sru * src/devices/grohtml/post-html.cpp (html_printer::is_line_start, 669151497Sru html_printer::start_font): Fix handling of preformatted text. 670151497Sru 671151497Sru2005-02-15 Gaius Mulley <gaius@glam.ac.uk> 672151497Sru 673151497Sru These patches modify the indentation implementation to use `<p 674151497Sru style=margin-left: n%>'. Many thanks to Peter and Larry for 675151497Sru suggesting this solution. Grohtml only uses tables for `.IP' and 676151497Sru related tags when the first operand has a short width. 677151497Sru 678151497Sru Similarly, they modify all vertical space code. By default, grohtml 679151497Sru sets up a style sheet which uses no vertical space between `table', 680151497Sru `pre', and `p' tags. It forces spaces when it needs them using 681151497Sru `style="margin-top: 1em"'. 682151497Sru 683151497Sru * src/devices/grohtml/html-table.cpp: Include `html-text.h'. 684151497Sru (html_table::emit_table_header, html_table::emit_new_row): 685151497Sru Rewritten. 686151497Sru (html_table::set_space): New function. 687151497Sru (html_indent::html_indent): Don't set `is_used'. 688151497Sru (html_indent::begin): Rewritten. 689151497Sru (html_indent::end): Remove code in function. 690151497Sru 691151497Sru * src/devices/grohtml/html-table.h: Updated. 692151497Sru (html_table): Make `out' public. 693151497Sru 694151497Sru * src/devices/grohtml/html-text.cpp (html_text::html_text): 695151497Sru Initialize `start_space' with FALSE. 696151497Sru (html_text::end_tag) <P_TAG, PRE_TAG>: Updated. 697151497Sru (html_text::issue_tag): Add argument to handle space style. 698151497Sru (html_text::start_tag) <P_TAG, PRE_TAG>: Updated. 699151497Sru (html_text::flush_text): Don't set `start_space'. 700151497Sru (html_text::push_para): Don't set `p->really_issued'. 701151497Sru (html_text::do_emittext): Updated. 702151497Sru (html_text::do_para): Add paremeter to handle space. 703151497Sru Update all callers. 704151497Sru (html_text::retrieve_para_space): New function. 705151497Sru 706151497Sru * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro. 707151497Sru (tag_definition): Remove `really_issued'. 708151497Sru (html_text): Updated. 709151497Sru 710151497Sru * src/devices/grohtml/post-html.cpp (html_printer): Add variables 711151497Sru `current_column' and `row_space'. 712151497Sru Update constructor. 713151497Sru (html_printer::emit_raw, html_printer::write_header, 714151497Sru html_printer::do_indent, html_printer::do_check_center, 715151497Sru html_printer::do_tab_ts): Handle vertical space. 716151497Sru (html_printer:do_tab_te, html_printer::do_end_para): Call 717151497Sru `remove_para_space'. 718151497Sru (html_printer::do_col): Rewritten. 719151497Sru (html_printer::flush_globs): Remove debugging code. 720151497Sru (html_printer::is_line_start): New function. 721151497Sru (html_printer::start_font): Use `is_line_start'. 722151497Sru (html_printer::writeHeadMetaStyle): New function. 723151497Sru (html_printer::do_file_components, html_printer::~html_printer): 724151497Sru Call `writeHeadMetaStyle'. 725151497Sru 726151497Sru * tmac/www.tmac (www-handle-percent): New macro. 727151497Sru (MPIMG): Handle percent values for width and height parameters. 728151497Sru (DC): Updated. 729151497Sru 730151497Sru * tmac/groff_www.man: Updated. 731151497Sru 732151497Sru2005-02-14 Werner LEMBERG <wl@gnu.org> 733151497Sru 734151497Sru * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from 735151497Sru $psname and $italic_angle. 736151497Sru Immediately restart file input loops if `split' returns an empty 737151497Sru array. 738151497Sru 739151497Sru2005-02-13 Michail Vidiassov <master@iaas.msu.ru> 740151497Sru Werner LEMBERG <wl@gnu.org> 741151497Sru 742151497Sru Update afmtodit to better support Unicode (Michail). 743151497Sru Update afmtodit to use Perl 5 syntax (Werner). 744151497Sru 745151497Sru * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but 746151497Sru `Getopts::Std'. 747151497Sru Decorate variables with `my' where necessary. 748151497Sru Use `defined' where necessary to avoid warnings. 749151497Sru Don't use `do' for subroutine calls. 750151497Sru Other minor syntax updates. 751151497Sru Check for both `uXXXX[X[X]]' and `uniXXXX'. 752151497Sru Handle glyph variants properly. 753151497Sru (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in 754151497Sru strings. 755151497Sru 756151497Sru * src/utils/afmtodit/afmtodit.man: Updated. 757151497Sru 758151497Sru2005-02-13 Werner LEMBERG <wl@gnu.org> 759151497Sru 760151497Sru Make groff.texinfo work with texinfo 4.8. 761151497Sru 762151497Sru * doc/groff.texinfo (@Var): Use @r and @slanted. 763151497Sru (@defdummy, @Def*): Use @c to avoid empty lines. 764151497Sru (\angles): Replaced with... 765151497Sru (\Langlemacro, \Ranglemacro): New TeX macros. 766151497Sru (@Langlemacro, @Ranglemacro): New variables defined with @set. 767151497Sru (@angles): Use @Langlemacro and @Ranglemacro. 768151497Sru (\LE): Replaced with... 769151497Sru (\LEmacro): New TeX macro. 770151497Sru (@LEmacro): New variable defined with @set. 771151497Sru (@LE): Use @LEmacro. 772151497Sru (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New 773151497Sru variables defined with @set. 774151497Sru (@lparen, @rparen, @lbrack, @rbrack): Replaced with... 775151497Sru (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros. 776151497Sru Update all callers. 777151497Sru 778151497Sru Other minor updates. 779151497Sru 780151497Sru * doc/texinfo.tex: Update to texinfo version 4.8. 781151497Sru 782151497Sru * README.CVS: Updated. 783151497Sru 784151497Sru2005-02-09 Alejandro L�pez-Valencia <palopez@etb.net.co> (tiny change) 785151497Sru 786151497Sru * doc/groff.texinfo (ms Document Control Registers): Document `HY' 787151497Sru and `FAM' registers. 788151497Sru 789151497Sru2005-02-05 Werner LEMBERG <wl@gnu.org> 790151497Sru 791151497Sru * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff, 792151497Sru tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac: 793151497Sru Update BSD license. 794151497Sru 795151497Sru2005-02-01 Werner LEMBERG <wl@gnu.org> 796151497Sru 797151497Sru * src/roff/groff/groff.man: Add information about paper size. 798151497Sru 799151497Sru2005-01-25 Werner LEMBERG <wl@gnu.org> 800151497Sru 801151497Sru * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale. From 802151497Sru NetBSD bin/29114. 803151497Sru 804151497Sru2005-01-22 Ruslan Ermilov <ru@FreeBSD.org> 805151497Sru 806151497Sru * tmac/doc.tmac (Sm): Improved. It didn't work properly in many 807151497Sru cases. 808151497Sru (Re): Emit a warning if called without `.Rs'. 809151497Sru (doc-finish-reference): Use parameter for decreasing 810151497Sru `doc-reference-count'. 811151497Sru (doc-print-reference): Pass specific count parameters to 812151497Sru `doc-finish-reference'. 813151497Sru 814151497Sru2005-01-21 Werner LEMBERG <wl@gnu.org> 815151497Sru 816151497Sru * src/libs/libdriver/input.cpp (delete_current_env, do_file): 817151497Sru Reset pointers to zero after deallocation. This fixes a crash 818151497Sru if a driver is called with multiple input files. Reported by 819151497Sru Ken Chilton <ken@chiltonfamily.org>. 820151497Sru 821151497Sru * src/devices/grops/grops.man: Add more info on DSC. 822151497Sru 823151497Sru2005-01-17 Ruslan Ermilov <ru@FreeBSD.org> 824151497Sru 825151497Sru * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header): 826151497Sru Remove dead code. 827151497Sru 828151497Sru2005-01-17 Werner LEMBERG <wl@gnu.org> 829151497Sru 830151497Sru * src/roff/troff/div.cpp (top_level_diversion::space): Protect 831151497Sru against division by zero. 832151497Sru 833151497Sru2005-01-13 Ruslan Ermilov <ru@FreeBSD.org> 834151497Sru 835151497Sru * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size. 836151497Sru 837151497Sru2004-12-19 Werner LEMBERG <wl@gnu.org> 838151497Sru 839151497Sru * install-sh: New version; taken from texinfo CVS. 840151497Sru 841151497Sru2004-12-17 Werner LEMBERG <wl@gnu.org> 842151497Sru 843151497Sru * tmac/devtag.tmac: Protect against loading twice. 844151497Sru Protect agains compatibility mode. 845151497Sru * tmac/www.tmac: Protect against loading twice. 846151497Sru Load `devtag.tmac' before switching off compatibility mode. 847151497Sru * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'. 848151497Sru 849151497Sru2004-12-16 Mike Bianchi <mbianchi@Foveal.com> 850151497Sru 851151497Sru * configure.ac: Produce `contrib/gdiffmk/tests/runtests'. 852151497Sru * configure: Updated. 853151497Sru 854151497Sru2004-12-15 Thomas Klausner <wiz@netbsd.org> 855151497Sru 856151497Sru * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library. 857151497Sru 858151497Sru2004-12-15 Werner LEMBERG <wl@gnu.org> 859151497Sru 860151497Sru Make `test-groff' work again -- previously, wrong paths have been 861151497Sru used. Additionally, it can now be called from anywhere. 862151497Sru 863151497Sru * test-groff.in: Don't test for groff binary. This is no longer 864151497Sru necessary since the proper paths are determined by `configure'. 865151497Sru (EXEEXT): Removed. No longer used. 866151497Sru (srcdir, builddir): Use values provided by the configure script. 867151497Sru (XENVIRONMENT): Updated. 868151497Sru 869151497Sru * INSTALL: Updated. 870151497Sru 871151497Sru2004-12-14 Gaius Mulley <gaius@glam.ac.uk> 872151497Sru 873151497Sru Make .tag and .taga work for all devices (but only grohtml actually 874151497Sru handles them). 875151497Sru 876151497Sru * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/. 877151497Sru (text_glob::is_br, page::add_tag, html_printer::troff_tag, 878151497Sru html_printer::handle_assertion): Don't use hard-coded string 879151497Sru lengths. 880151497Sru (html_printer::lookahead_for_table): Reset `tbl' properly if 881151497Sru necessary. 882151497Sru (html_printer::devtag): New function, handling `devtag'. 883151497Sru (html_printer::special): Don't handle `html-tag'. 884151497Sru 885151497Sru * src/include/printer.h, src/libs/libdriver/printer.cpp 886151497Sru (printer::devtag): New virtual function. 887151497Sru 888151497Sru * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle 889151497Sru `devtag'. 890151497Sru 891151497Sru * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp, 892151497Sru src/roff/troff/node.cpp: s/html-tag/devtag/. 893151497Sru 894151497Sru * src/roff/troff/input.cpp (tag, taga): Always call 895151497Sru curenv->add_node. 896151497Sru 897151497Sru * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG* 898151497Sru macros instead of HTML-TAG*. 899151497Sru 900151497Sru * tmac/devtag.tmac: New file, defining the DEVTAG-* macros. 901151497Sru 902151497Sru * tmac/www.tmac: Load devtag.tmac. 903151497Sru Replace HTML-TAG* macros with DEVTAG* macros. 904151497Sru (HTML, HTML-NS): Changed definitions. 905151497Sru (URL): Use HTML-NS. 906151497Sru (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed. 907151497Sru 908151497Sru * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac. 909151497Sru 910151497Sru2004-12-10 Werner LEMBERG <wl@gnu.org> 911151497Sru 912151497Sru Import Mike's `gdiffmk' package. 913151497Sru 914151497Sru * contrib/gdiffmk/*: New files. 915151497Sru * Makefile.in (OTHERDIRS): Add contrib/gdiffmk. 916151497Sru * NEWS: Updated. 917151497Sru 918151497Sru2004-12-08 Werner LEMBERG <wl@gnu.org> 919151497Sru 920151497Sru Import Keith's `pdfmark' package. Integration is very preliminary. 921151497Sru 922151497Sru * contrib/pdfmark/*: New files. 923151497Sru * Makefile.in (OTHERDIRS): Add contrib/pdfmark. 924151497Sru * NEWS: Updated. 925151497Sru 926151497Sru2004-12-07 Gaius Mulley <gaius@glam.ac.uk> 927151497Sru 928151497Sru Fix a bug with title handling in HTML. 929151497Sru 930151497Sru * src/devices/grohtml/post-html.cpp (text_glob::is_nf, 931151497Sru text_glob::is_fi, text_glob::is_ce): Use strlen to compute string 932151497Sru length. 933151497Sru (html_printer::handle_tag_within_title): New function. 934151497Sru (html_printer::do_title): Use it. 935151497Sru 936151497Sru * tmac/s.tmac (TL): Don't set `need_eo_tl'. 937151497Sru (cov*tl-au-print): Emit `.eo.tl' tag. 938151497Sru 939151497Sru2004-12-05 Alejandro L�pez-Valencia <dradul@etb.net.co> 940151497Sru 941151497Sru * man/groff_char.man: Minor imrovements. 942151497Sru 943151497Sru2004-12-04 Werner LEMBERG <wl@gnu.org> 944151497Sru 945151497Sru * src/preproc/eqn/eqn.man: Revised. 946151497Sru 947151497Sru2004-11-25 Werner LEMBERG <wl@gnu.org> 948151497Sru 949151497Sru * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other 950151497Sru groff source files. 951151497Sru Include config.h. 952151497Sru Include limits.h. 953151497Sru Remove X_NOT_STDC_ENV conditional. 954151497Sru (Version_string, program_name): New global variables. 955151497Sru (groff_flag): Removed. 956151497Sru (MapFont): Updated. 957151497Sru (usage): Take a stream as argument. 958151497Sru Use `program_name'. 959151497Sru Update all callers. 960151497Sru (main): Add `long_options' array for `--help' and `--version'. 961151497Sru Make `-g' a dummy option. 962151497Sru Handle `-v' and unknown options. 963151497Sru Remove unused `position' variable. 964151497Sru 965151497Sru * src/utils/xtotroff/Makefile.sub (MAN1): Define. 966151497Sru (XLIBS): Add LIBGROFF. 967151497Sru 968151497Sru * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in: 969151497Sru New files. 970151497Sru 971151497Sru * src/devices/xditview/Dvi.c (default_font_map): Split into three 972151497Sru parts to avoid compiler warning. 973151497Sru (resources): Don't initialize with `default_font_map'. 974151497Sru (ClassInitialize): Initialize first element of `resources'. 975151497Sru 976151497Sru * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts): 977151497Sru Removed. 978151497Sru 979151497Sru * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man, 980151497Sru src/utils/pfbtops/pfbtops.man: Revised, updated. 981151497Sru 982151497Sru * configure.ac: Generate src/utils/xtotroff/Makefile. 983151497Sru * configure: Regenerated. 984151497Sru 985151497Sru2004-11-24 Werner LEMBERG <wl@gnu.org> 986151497Sru 987151497Sru First fixes to get produce HTML. 988151497Sru 989151497Sru * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt' 990151497Sru attribute. 991151497Sru 992151497Sru * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute. 993151497Sru (HR, LI): Use `HTML</p>', not `HTML'. 994151497Sru 995151497Sru * doc/webpage.ms: Minor updates. 996151497Sru 997151497Sru2004-11-23 Larry Kollar <kollar@alltel.net> 998151497Sru 999151497Sru Add option -S grohtml to determine the file split level. 1000151497Sru 1001151497Sru * src/devices/grohtml/post-html.cpp (split_level): New global 1002151497Sru variable. 1003151497Sru (html_header::determine_header_level): Use split_level. 1004151497Sru (main): Handle `-S' command line option. 1005151497Sru Sort options. 1006151497Sru 1007151497Sru * src/preproc/html/pre-html.cpp (scanArguments): Updated. 1008151497Sru 1009151497Sru * src/devices/grohtml/grohtml.man: Document it. 1010151497Sru Sort options. 1011151497Sru 1012151497Sru * NEWS: Document it. 1013151497Sru 1014151497Sru2004-11-23 Y T <doarhop@hotmail.com> 1015151497Sru 1016151497Sru * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling 1017151497Sru the volume and number refer entries. 1018151497Sru 1019151497Sru2004-11-22 Werner LEMBERG <wl@gnu.org> 1020151497Sru 1021151497Sru * src/devices/grohtml/html-table.cpp 1022151497Sru (html_table::emit_table_header): Don't emit `cols' attribute which 1023151497Sru doesn't exist in HTML 4.0 and is thus invalid. 1024151497Sru 1025151497Sru * NEWS: More minor fixes and updates. 1026151497Sru 1027151497Sru2004-11-18 Werner LEMBERG <wl@gnu.org> 1028151497Sru 1029151497Sru * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified. 1030151497Sru (HTML</p>): Minor clean-up. 1031151497Sru 1032151497Sru * tmac/groff_www.man: Updated. 1033151497Sru 1034151497Sru * src/devices/grohtml/grohtml.man: Revised and updated. 1035151497Sru 1036151497Sru * NEWS: Updated. 1037151497Sru 1038151497Sru2004-11-18 Gaius Mulley <gaius@glam.ac.uk> 1039151497Sru 1040151497Sru * src/devices/grohtml/post-html.cpp (html_printer::do_heading): 1041151497Sru Fix space insertion. 1042151497Sru (html_printer::do_links): Fix rules generation around automatic 1043151497Sru heading links. 1044151497Sru 1045151497Sru * tmac/www.tmac (LK): Use HTML-TAG-NS. 1046151497Sru (HR): Simplify. 1047151497Sru No longer emit empty line for non-HTML devices. 1048151497Sru 1049151497Sru2004-11-17 Werner LEMBERG <wl@gnu.org> 1050151497Sru 1051151497Sru * doc/Makefile.in (prepare_examples, webpage.html): Handle 1052151497Sru `groff.css'. 1053151497Sru 1054151497Sru * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD, 1055151497Sru prepare_examples, webpage.html): Handle `groff.css'. 1056151497Sru 1057151497Sru2004-11-15 Werner LEMBERG <wl@gnu.org> 1058151497Sru 1059151497Sru * NEWS, README, doc/webpage.ms: Updated. 1060151497Sru 1061151497Sru * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups. 1062151497Sru 1063151497Sru2004-10-30 Gaius Mulley <gaius@glam.ac.uk> 1064151497Sru 1065151497Sru * src/include/printer.h (printer): Remove virtual function 1066151497Sru `round_width'. 1067151497Sru Update all source files. 1068151497Sru 1069151497Sru * src/devices/grohtml/post-html.cpp (html_printer): New member 1070151497Sru function `round_width'. 1071151497Sru 1072151497Sru2004-10-20 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de> 1073151497Sru 1074151497Sru * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d' 1075151497Sru column key letter suffix. 1076151497Sru 1077151497Sru2004-10-14 Werner LEMBERG <wl@gnu.org> 1078151497Sru 1079151497Sru * Makefile.in (check): Depend on `site.exp' and `docheck'. 1080151497Sru (docheck): Run dejagnu's `runtest' if it exists. 1081151497Sru (site.exp): Create dejagnu configuration file. 1082151497Sru 1083151497Sru * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu. 1084151497Sru 1085151497Sru2004-10-13 Werner LEMBERG <wl@gnu.org> 1086151497Sru 1087151497Sru * src/devices/grohtml/html-text.cpp (html_text_get_alignment), 1088151497Sru src/devices/grohtml/post-html.cpp (make_val, 1089151497Sru html_printer::handle_state_assertion): Fix compiler warnings. 1090151497Sru 1091151497Sru * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'. 1092151497Sru (diversion::diversion): Fix order of initializers. 1093151497Sru 1094151497Sru * src/roff/troff/div.h: Don't include `mtsm.h'. 1095151497Sru 1096151497Sru * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'. 1097151497Sru (environment::environment): Fix order of initializers. 1098151497Sru (environment::make_tag, environment::construct_format_state): Fix 1099151497Sru compiler warnings. 1100151497Sru 1101151497Sru * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'. 1102151497Sru (input_iterator::input_iterator, macro::macro): Fix order of 1103151497Sru initializers. 1104151497Sru 1105151497Sru * src/roff/troff/mtsm.cpp: Include only necessary header files. 1106151497Sru (state_set::add, state_set::val): Fix compiler warnings. 1107151497Sru 1108151497Sru * src/roff/troff/mtsm.h: Don't include `stringclass.h'. 1109151497Sru (bool_value_state, int_value_state, units_value_state, 1110151497Sru string_value_state): Remove comma after last element which causes 1111151497Sru an error with g++ 3.3.3. 1112151497Sru 1113151497Sru * src/roff/troff/node.cpp: Include `stringclass.h'. 1114151497Sru (hline_node::hline_node, vline_node::vline_node, 1115151497Sru space_char_hmotion_node, left_italic_corrected_node): Fix compiler 1116151497Sru warnings. 1117151497Sru (zero_width_node::zero_width_node): Fix order of initializers. 1118151497Sru 1119151497Sru * src/roff/troff/node.h: Don't include `mtsm.h'. 1120151497Sru (hmotion_node): Fix compiler warnings. 1121151497Sru 1122151497Sru * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'. 1123151497Sru 1124151497Sru2004-10-12 Gaius Mulley <gaius@glam.ac.uk> 1125151497Sru 1126151497Sru * doc/groff.css: New file. 1127151497Sru 1128151497Sru * doc/webpage.ms: Use `groff.css'. 1129151497Sru Other small fixes. 1130151497Sru 1131151497Sru * tmac/an-old.tmac (need_eo_h): New number register. 1132151497Sru (TH): Emit `.eo.tl' tag after title. 1133151497Sru (SH): Set `need_eo_h'. 1134151497Sru (an-trap): Handle `need_eo_h'. 1135151497Sru (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/. 1136151497Sru 1137151497Sru * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers. 1138151497Sru (TL): Always start diversion. 1139151497Sru Updated. 1140151497Sru (@AI): Always call `par@reset'. 1141151497Sru (@AB): Update code for -Thtml. 1142151497Sru (cov*tl-au-print): Handle -Thtml. 1143151497Sru (par@reset): Handle `need_eo_tl', `need_eo_h'. 1144151497Sru (@IP): Simplified. 1145151497Sru (@IT-html): Removed. 1146151497Sru (@SH): Set `need_eo_h' for -Thtml. 1147151497Sru (par@TL): s/HTML-TAG/HTMl-TAG-NS/. 1148151497Sru Set `need_eo_tl'. 1149151497Sru (@NH): s/HTML-TAG/HTMl-TAG-NS/. 1150151497Sru Set `need_eo_h' for -Thtml. 1151151497Sru (@EQ, @EN): Don't handle -Thtml specially. 1152151497Sru (par@load-init): Don't handle -Thtml specially. 1153151497Sru 1154151497Sru * tmac/www.tmac (www:paraspace): New macro. 1155151497Sru (HTML-NS, HTML-TAG-NS): Use new `tag' request. 1156151497Sru (HTML</p>, HTML-TAG-NEXT): New macros. 1157151497Sru (HnE): Emit tag `.eo.h' instead of break. 1158151497Sru (HR): s/HTML-NS/HTML/. 1159151497Sru (www-end-nowhere): End diversion only if `www-html' not set. 1160151497Sru Emit `.eo.tl' tag. 1161151497Sru (ULS, ULE): s|HTML|HTML</p>|. 1162151497Sru (LI): Call `www:paraspace'. 1163151497Sru (HEAD): New macro. 1164151497Sru 1165151497Sru2004-10-11 Gaius Mulley <gaius@glam.ac.uk> 1166151497Sru 1167151497Sru * src/roff/troff/request.h (macro): Make `p' public. 1168151497Sru New variable `is_a_diversion'. 1169151497Sru New member function `is_diversion'. 1170151497Sru 1171151497Sru 1172151497Sru * src/devices/grohtml/html.h (simple_output): New member function 1173151497Sru `force_nl'. 1174151497Sru 1175151497Sru * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix 1176151497Sru computation of `total'. 1177151497Sru (tabs::check_init): New function. 1178151497Sru (html_table::emit_table_header): Emit style data. 1179151497Sru (html_table::insert_column): Improved. 1180151497Sru 1181151497Sru * src/devices/grohtml/html-table.h: Updated. 1182151497Sru 1183151497Sru * src/devices/grohtml/html-text.cpp (html_text::html_text): 1184151497Sru Initialize `start_space' with TRUE. 1185151497Sru (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG' 1186151497Sru cases. 1187151497Sru (html_text::flush_text): Set `start_space' flag. 1188151497Sru (html_text::uses_indent, html_text::remove_para_space, 1189151497Sru html_text::get_alignment): New functions. 1190151497Sru (html_text::push_para): Updated. 1191151497Sru (html_text::do_para): Check for empty argument. 1192151497Sru Don't set `space_emitted'. 1193151497Sru (html_text::do_space, html_text::emit_space): Updated. 1194151497Sru 1195151497Sru * src/devices/grohtml/html-text.h (tag_definition): New variable 1196151497Sru `really_issued'. 1197151497Sru (html_text): New member function `uses_indent', `remove_para_space', 1198151497Sru `get_alignment'. 1199151497Sru 1200151497Sru * src/devices/grohtml/output.cpp (simple_output::force_nl): New 1201151497Sru function. 1202151497Sru (simple_output:nl): Always emit `\n'. 1203151497Sru 1204151497Sru * src/devices/grohtml/post-html.cpp: Include `string.h'. 1205151497Sru (BASE_POINT_SIZE): Removed. 1206151497Sru (base_point_size, head_info): New global variables. 1207151497Sru (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl', 1208151497Sru `is_eo_h'. 1209151497Sru (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1' 1210151497Sru tags, respectively. 1211151497Sru (page::add_and_encode): Pass additional parameter for tag flag. 1212151497Sru (assert_pos): New structure. 1213151497Sru (assert_state): New class. 1214151497Sru (html_printer): Remove `indentation', `prev_indent'. 1215151497Sru Add variables `troff_indent', `device_indent', `temp_indent'. 1216151497Sru Add variables `seen_indent', `next_indent', `seen_pageoffset', 1217151497Sru `next_pageoffset', `seen_linelenght', `next_linelength', 1218151497Sru `seen_center', `next_center', `seen_space', `seen_break', `as'. 1219151497Sru Add member functions `do_check_center', `do_space', `do_head', 1220151497Sru `get_troff_indent', `restore_troff_indent', `handle_assertion', 1221151497Sru `handle_state_assertion', `do_end_para', `set_char_and_width'. 1222151497Sru Change argument to `do_fill' to `char *'. 1223151497Sru Update constructor. 1224151497Sru (html_printer::emit_raw): Call `shutdown_table'. 1225151497Sru Use new functions. 1226151497Sru (html_printer::do_center): Simplified. 1227151497Sru (html_printer::do_title): Improved. 1228151497Sru (html_printer::write_header): Emit one more newline. 1229151497Sru Use new functions. 1230151497Sru (html_printer::do_heading, html_printer::do_indent, 1231151497Sru html_printer::do_eol, html_printer::do_tab_ts, 1232151497Sru html_printer::do_tab, html_printer::do_tab0, 1233151497Sru html_printer::calc_po_in, html_printer::next_horiz_pos, 1234151497Sru html_printer::remove_courier_tabs, 1235151497Sru html_printer::insert_tab0_foreach_tab, html_printer::begin_page): 1236151497Sru Updated. 1237151497Sru (html_printer::do_linelength, html_printer::do_pageoffset, 1238151497Sru html_printer::do_indentation, html_printer::do_tempindent, 1239151497Sru html_printer::do_tab_te): Simplified. 1240151497Sru (html_printer::do_pointsize): Check whether point size is really 1241151497Sru associated a `.tl' tag. 1242151497Sru (html_printer::do_break): Rewritten. 1243151497Sru (html_printer::troff_tag): Improved. 1244151497Sru (html_printer::flush_globs): Updated. 1245151497Sru (html_printer::lookahead_for_tables): Handle `is_br'. 1246151497Sru Use new functions. 1247151497Sru (html_printer::set_char): Check `sbuf_style.f'. 1248151497Sru (html_printer::write_navigation): Use string comparison. 1249151497Sru (html_printer::~html_printer): Emit `head_info'. 1250151497Sru (html_printer::special): Rewritten. 1251151497Sru (get_str, make_val): New functions. 1252151497Sru (main): New option `s' to set the base point size. 1253151497Sru 1254151497Sru * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'. 1255151497Sru 1256151497Sru2004-10-10 Gaius Mulley <gaius@glam.ac.uk> 1257151497Sru 1258151497Sru * src/roff/troff/node.cpp: New extern `debug_state'. 1259151497Sru Include `stringclass.h' and `mtsm.h'. 1260151497Sru Implement new classes and class members from `node.h'. 1261151497Sru (real_output_file): Make `fp' public. 1262151497Sru (troff_output_file): New variables `cur_div_level' and `tag_list'. 1263151497Sru Update constructors. 1264151497Sru (troff_output_file::really_print_line): Check whether we should push 1265151497Sru the current troff state and use the state at the start of the 1266151497Sru invocation of this diversion. 1267151497Sru (troff_output_file::add_to_tag_list): New member function. 1268151497Sru (node::add_char): Handle `glyph_comp_np'. 1269151497Sru 1270151497Sru * src/roff/troff/node.h: Include `mtsm.h'. 1271151497Sru (node): New variables `state', `push_state', `div_nest_level', 1272151497Sru `is_special'. Update constructors, all descendants. 1273151497Sru Pass additional argument to `add_char' member function. 1274151497Sru New virtual member functions `is_tag', `debug_node', 1275151497Sru `debug_node_list'. Update all descendants. 1276151497Sru (tag_node): New class for handling tags. 1277151497Sru (output_file): Add variable `state'. 1278151497Sru 1279151497Sru2004-10-09 Gaius Mulley <gaius@glam.ac.uk> 1280151497Sru 1281151497Sru * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files, 1282151497Sru providing a minimal troff state machine to emit meta tags for the 1283151497Sru post-grohtml device driver. 1284151497Sru 1285151497Sru * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new 1286151497Sru files. 1287151497Sru 1288151497Sru2004-10-09 Werner LEMBERG <wl@gnu.org> 1289151497Sru 1290151497Sru * tmac/trace.tmac: Fix handling of `am' and `am1' calls. 1291151497Sru 1292151497Sru2004-10-06 Gaius Mulley <gaius@glam.ac.uk> 1293151497Sru 1294151497Sru * src/roff/troff/column.cpp (vjustify_node::copy): Updated. 1295151497Sru 1296151497Sru * src/roff/troff/div.h: Include `mtsm.h'. 1297151497Sru (diversion): New variables `any_chars_added', `needs_push', 1298151497Sru `saved_seen_break', `saved_seen_space', `saved_seen_eol', 1299151497Sru `saved_suppress_next_eol', `modified_tag'. 1300151497Sru New virtual member function `is_diversion'. Update all descendants. 1301151497Sru 1302151497Sru * src/roff/troff/div.cpp (diversion::diversion, 1303151497Sru macro_diversion::macro_diversion): Updated. 1304151497Sru (do_divert): Handle `seen_break', `seen_space', `seen_eol', 1305151497Sru `suppress_next_eol'. 1306151497Sru (top_level_diversion::space): Handle `curenv->seen_space'. 1307151497Sru (page_offset): Update tag handling. 1308151497Sru (space_request, blank_line, flush_output): Don't call `add_html_tag'. 1309151497Sru 1310151497Sru * src/roff/troff/env.h (environment): Make `tabs' public. 1311151497Sru Remove `ignore_next_eol', `emitted_node'. 1312151497Sru Update `output_line', `output'. 1313151497Sru New variables `seen_space', `seen_eol', `suppress_next_eol', 1314151497Sru `seen_break'. 1315151497Sru New member functions `construct_state', `make_tag', 1316151497Sru `construct_format_state, `construct_new_line_state, 1317151497Sru `dump_troff_state'. 1318151497Sru Remove `add_html_tag', `make_html_tag'. 1319151497Sru 1320151497Sru * src/roff/troff/env.cpp: New externs `suppress_push', 1321151497Sru `get_diversion_state', `global_diverted_space'. 1322151497Sru (pending_output_line): New variable `was_centered'. 1323151497Sru Update constructor and all callers. 1324151497Sru (pending_output_line::output): Call `curenv->construct_format_state'. 1325151497Sru (environment::environment, environment::copy): Updated. 1326151497Sru (environment::output): Handle `was_centered'. 1327151497Sru (environment::add_char): Handle construct and diversion state. 1328151497Sru (environment::add_node): Handle construct state. 1329151497Sru (environment::newline): Handle `was_centered'. 1330151497Sru (environment::output_line): Updated. 1331151497Sru (environment::possibly_break_line): Updated. 1332151497Sru Update tag handling. 1333151497Sru (environment::add_html_tag): Replaced with... 1334151497Sru (environment::make_tag): New function. 1335151497Sru (environment::add_html_tag_tabs, environment::make_html_tag): Removed. 1336151497Sru (environment::dump_troff_state): New debugging function. 1337151497Sru (environment::construct_state, environment::construct_format_state, 1338151497Sru environment::construct_new_line_state): New functions. 1339151497Sru (environment::do_break): Updated. 1340151497Sru Handle `global_diverted_space'. 1341151497Sru (environment::handle_tag): Update tag handling. 1342151497Sru (point_size, fill, do_break_request): Don't call `add_html_tag'. 1343151497Sru (no_fill): Don't call `add_html_tag'. 1344151497Sru Set `suppress_next_eol'. 1345151497Sru (center, right_justify, line_length, indent, temporary_indent, 1346151497Sru set_tabs): 1347151497Sru Update tag handling. 1348151497Sru 1349151497Sru * src/roff/troff/input.cpp: Don't include `stringclass.h'. 1350151497Sru (input_iterator): New variables `is_diversion', `diversion_state'. 1351151497Sru Update constructors. 1352151497Sru (input_stack): New member functions `get_div_level', 1353151497Sru `get_diversion_state', `check_end_diversion'. 1354151497Sru New variables `div_level', `diversion_state'. Initialize them. 1355151497Sru (suppress_push, global_diverted_space): New global variables. 1356151497Sru (input_stack::finish_get, input_stack::finish_peek, 1357151497Sru input_stack::remove_boundary, input_stack::end_file, 1358151497Sru input_stack::clear, input_stack::pop_macro): Call 1359151497Sru `check_end_diversion'. 1360151497Sru (input_stack::push): Handle `div_level' and `diversion_state'. 1361151497Sru (get_diversion_state): New function. 1362151497Sru (diverted_space_node::reread): Handle `global_diverted_space'. 1363151497Sru (macro::macro): Update constructors. 1364151497Sru (macro::is_diversion): New function. 1365151497Sru (macro::operator=): Set `is_a_diversion'. 1366151497Sru (string_iterator): New member function `is_diversion'. 1367151497Sru (string_iterator::string_iterator): Update constructors. 1368151497Sru (string_iterator::fill): Set `div_nest_level'. 1369151497Sru (macro_iterator): New member function `is_diversion'. 1370151497Sru (do_if_request): Handle `suppress_push'. 1371151497Sru (tag, taga): New functions. 1372151497Sru (init_input_requests): Add `tag' and `taga' requests. 1373151497Sru 1374151497Sru2004-10-05 Gaius Mulley <gaius@glam.ac.uk> 1375151497Sru 1376151497Sru * src/include/font.h (font): New member function 1377151497Sru `get_image_generator'. 1378151497Sru New variables `unscaled_charwidths' and `image_generator'. 1379151497Sru 1380151497Sru * src/libs/libgroff/font.cpp (font::get_width): Always return the 1381151497Sru character's unscaled width if `font::unscaled_charwidths' is set. 1382151497Sru (font::get_image_generator): New function. 1383151497Sru (font::load_desc): Check the `unscaled_charwidths' and 1384151497Sru `image_generator' keywords. 1385151497Sru 1386151497Sru * src/libs/libgroff/fontfile.cpp: Initialize 1387151497Sru `font::unscaled_charwidths' and `font::image_generator'. 1388151497Sru 1389151497Sru * font/devhtml/DESC.proto: s/html/unscaled_charwidths/. 1390151497Sru 1391151497Sru * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword. 1392151497Sru 1393151497Sru * man/groff_font.man: Document `unscaled_charwidths' and 1394151497Sru `image_generator'. 1395151497Sru 1396151497Sru * src/preproc/html/pre-html.cpp: Include `device.h'. 1397151497Sru (image_gen): New global variable. 1398151497Sru (imageList::createPage): Use `image_gen'. 1399151497Sru (main): Use `image_generator' keyword. 1400151497Sru 1401151497Sru2004-10-04 Gaius Mulley <gaius@glam.ac.uk> 1402151497Sru 1403151497Sru * tmac/html.tmac: Handle \[sqrtex]. 1404151497Sru 1405151497Sru2004-10-04 Gaius Mulley <gaius@glam.ac.uk> 1406151497Sru 1407151497Sru * src/include/printer.h (printer): New virtual method `round_width'. 1408151497Sru 1409151497Sru * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp, 1410151497Sru src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp, 1411151497Sru src/devices/grotty/tty.cpp (printer::round_width): New function 1412151497Sru member. 1413151497Sru 1414151497Sru * src/devices/grohtml/post-html.cpp (printer::round_width): New 1415151497Sru function member. 1416151497Sru (html_printer::set_numbered_char): Use it. 1417151497Sru 1418151497Sru2004-10-03 Gaius Mulley <gaius@glam.ac.uk> 1419151497Sru 1420151497Sru * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro. 1421151497Sru 1422151497Sru * configure.ac: Call GROFF_GHOSTSCRIPT_PATH. 1423151497Sru 1424151497Sru * configure: Regenerated. 1425151497Sru 1426151497Sru * Makefile.in (GHOSTSCRIPT): New variable. 1427151497Sru (MDEFINES): Add GHOSTSCRIPT. 1428151497Sru 1429151497Sru2004-10-03 Werner LEMBERG <wl@gnu.org> 1430151497Sru 1431151497Sru * INSTALL.gen: Updated (taken from texinfo CVS). 1432151497Sru 1433151497Sru2004-09-28 Werner LEMBERG <wl@gnu.org> 1434151497Sru 1435151497Sru * NEWS: Updated. 1436151497Sru 1437151497Sru2004-09-28 Heinz-J�rgen Oertel <hj.oertel@surfeu.de> 1438151497Sru 1439151497Sru * tmac/groff_www.man: Revised and updated. 1440151497Sru 1441151497Sru2004-09-26 Werner LEMBERG <wl@gnu.org> 1442151497Sru 1443151497Sru Fix \$@ and \$* to handle any number of arguments. 1444151497Sru 1445151497Sru * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special 1446151497Sru characters. 1447151497Sru 1448151497Sru * src/roff/troff/input.cpp (input_iterator::internal_level): 1449151497Sru Removed. 1450151497Sru (input_stack): New member functions `increase_level' and 1451151497Sru `decrease_level'. 1452151497Sru (input_stack::get_level): Don't use `internal_level'. 1453151497Sru (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE. 1454151497Sru (end_quote_iterator): Completely removed. 1455151497Sru (interpolate_arg): Build string for \$@ and \$* which is then 1456151497Sru pushed onto the input stack. 1457151497Sru 1458151497Sru2004-09-23 Keith Marshall <keith.d.marshall@ntlworld.com> 1459151497Sru 1460151497Sru * tmac/groff_ms.man, doc/groff.texinfo: Document changes from 1461151497Sru 2004-09-19. 1462151497Sru 1463151497Sru2004-09-23 Werner LEMBERG <wl@gnu.org> 1464151497Sru 1465151497Sru * tmac/an-old.tmac (ne): Using default scaling operator. 1466151497Sru 1467151497Sru2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com> 1468151497Sru 1469151497Sru This change implements the following features: 1470151497Sru 1471151497Sru PORPHANS 1472151497Sru New numeric register: Defines number of lines following LP, PP, 1473151497Sru QP, IP or XP, which must be kept together, before any automatic 1474151497Sru page break. If insufficient space remains on the current page, a 1475151497Sru page break is forced before the new paragraph begins. 1476151497Sru 1477151497Sru HORPHANS 1478151497Sru New numeric register: Sets number of lines of following paragraph 1479151497Sru which must be kept with a heading, defined by NH or SH, before any 1480151497Sru automatic page break. If insufficient space remains on the 1481151497Sru current page, a page break is forced before the heading. 1482151497Sru 1483151497Sru GROWPS 1484151497Sru (Thanks to Joerg van den Hoff, for this idea). 1485151497Sru 1486151497Sru New numeric register: Sets the first level of heading (set with 1487151497Sru NH), which will keep the same point size as body text; e.g. if 1488151497Sru GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the 1489151497Sru point size specified by \n[PS], but .NH 2 and .NH 1 will have 1490151497Sru progressively larger point sizes, determined by \n[PSINCR] (see 1491151497Sru below). 1492151497Sru 1493151497Sru PSINCR 1494151497Sru New numeric register: Sets the point size increment for each level 1495151497Sru of heading, (set with NH), below the threshold level set by 1496151497Sru GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p, 1497151497Sru then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt, 1498151497Sru and all other levels will remain at 10pt, (because \n[PS] = 10). 1499151497Sru 1500151497Sru SH 1501151497Sru Existing macro now accepts a numeric argument, to make heading 1502151497Sru size match that of NH with same argument value, when the 1503151497Sru GROWPS/PSINCR feature is enabled. 1504151497Sru 1505151497Sru SN-DOT 1506151497Sru New string, set by NH macro, replaces the existing (undocumented) 1507151497Sru use of SN, to represent the assigned section number. 1508151497Sru 1509151497Sru SN-NO-DOT 1510151497Sru New string, set by NH macro, represents the assigned section 1511151497Sru number, but omits the terminal period (periods at intermediate 1512151497Sru levels are retained). 1513151497Sru 1514151497Sru SN 1515151497Sru String set by NH macro, originally undocumented, now implemented 1516151497Sru as an alias for SN-DOT (which reproduces original behaviour). 1517151497Sru 1518151497Sru * tmac/s.tmac (PORPHANS): New register. 1519151497Sru (par*start): Use it. 1520151497Sru (HORPHANS, GROWPS, PSINCR): New registers. 1521151497Sru (SH-NO-TAG, @SH): Use them. 1522151497Sru (@NH): Improved. 1523151497Sru 1524151497Sru2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com> 1525151497Sru 1526151497Sru * NEWS, doc/groff.texinfo, tmac/groff_ms.man: Document the deletion 1527151497Sru of `Ds' and `De' macros. 1528151497Sru 1529151497Sru2004-09-10 Werner LEMBERG <wl@gnu.org> 1530151497Sru 1531151497Sru In tbl, handle \a as an interpreted leader character if in 1532151497Sru compatibility mode. 1533151497Sru 1534151497Sru * src/preproc/tbl/table.h (PREFIX, PREFIX_CHAR, LEADER, 1535151497Sru LEADER_CHAR): New macros. 1536151497Sru (compatible_flag): New declaration. 1537151497Sru 1538151497Sru * src/preproc/tbl/main.cpp (table_input): Add LEADER_1, LEADER_2, 1539151497Sru LEADER_3, and LEADER_4 to `state'. 1540151497Sru (table_input::get): Handle `\a'. 1541151497Sru 1542151497Sru * src/preproc/tbl/table.cpp (PREFIX): Removed. 1543151497Sru (LEADER_REG): New macro. 1544151497Sru (table::init_output): Define LEADER_REG string register if in 1545151497Sru compatibility mode. 1546151497Sru 1547151497Sru * src/preproc/tbl/tbl.man: Document it. 1548151497Sru 1549151497Sru2004-08-18 Werner LEMBERG <wl@gnu.org> 1550151497Sru 1551151497Sru * tmac/doc.tmac (An): Fix error message. 1552151497Sru 1553151497Sru2004-08-06 Werner LEMBERG <wl@gnu.org> 1554151497Sru 1555151497Sru * src/preproc/tbl/main.cpp (main): Call `fatal' not `error' if a 1556151497Sru file can't be opened. UNIX tbl has the same behaviour. 1557151497Sru 1558151497Sru2004-08-05 Y T <doarhop@hotmail.com> 1559151497Sru 1560151497Sru * src/preproc/grn/hdb.cpp (compatibility_flag): Add declaration. 1561151497Sru (DBRead): If in compatibility mode, take into account the text 1562151497Sru when computing figure boundaries. 1563151497Sru 1564151497Sru2004-08-05 Werner LEMBERG <wl@gnu.org> 1565151497Sru 1566151497Sru * src/preproc/soelim/soelim.man: Improved. Based on suggestions 1567151497Sru from Tadziu Hoffmann. 1568151497Sru 1569151497Sru2004-08-03 Werner LEMBERG <wl@gnu.org> 1570151497Sru 1571151497Sru * doc/meref.me: Document `_M' register. 1572151497Sru 1573151497Sru2004-08-03 Martin Husemann <martin@duskware.de> 1574151497Sru 1575151497Sru Make hpftodit work correctly on big-endian systems. 1576151497Sru 1577151497Sru * src/utils/hpftodit/hpftodit.cpp (File): New method 1578151497Sru `get_uint32(char *)'. 1579151497Sru (entry): New member `orig_value'. 1580151497Sru (read_tags): Use new method. 1581151497Sru (output_font_name, read_and_output_pcltypeface, dump_ascii): 1582151497Sru Updated. 1583151497Sru 1584151497Sru2004-08-01 Werner LEMBERG <wl@gnu.org> 1585151497Sru 1586151497Sru * tmac/s.tmac: Undo change 2003-06-29. The proper macro definitions 1587151497Sru are already in X11's `macros.t' file. 1588151497Sru 1589151497Sru2004-08-01 Jeff Conrad <jeff_conrad@msn.com> 1590151497Sru 1591151497Sru * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii): 1592151497Sru Fix casting bug. 1593151497Sru (read_and_output_pcltypeface): Handle strings with length <= 4. 1594151497Sru 1595151497Sru2004-07-27 Egil Kvaleberg <egil@kvaleberg.no> 1596151497Sru 1597151497Sru * tmac/s.tmac (pg@top): Don't save `PO' register. 1598151497Sru (pg*end-col, pg*end-page): Directly use `PO' register. 1599151497Sru 1600151497Sru2004-07-27 Werner LEMBERG <wl@gnu.org> 1601151497Sru 1602151497Sru * man/groff_tmac.man: Mention `trace' and `pic' macro packages. 1603151497Sru 1604151497Sru * src/preproc/refer/refer.cpp (output_references): Check for 1605151497Sru empty hash table. 1606151497Sru * src/preproc/refer/refer.man: Improve documentation of 1607151497Sru `bibliography' command. 1608151497Sru 1609151497Sru2004-07-26 Werner LEMBERG <wl@gnu.org> 1610151497Sru 1611151497Sru Add requests `fcolor' and `gcolor'. 1612151497Sru 1613151497Sru * src/roff/troff/env.cpp (fill_color_change, glyph_color_change): 1614151497Sru New functions. 1615151497Sru (init_env_requests): Add `fcolor' and `gcolor'. 1616151497Sru 1617151497Sru * src/roff/troff/input.h: Export do_glyph_color and do_fill_color. 1618151497Sru 1619151497Sru * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: 1620151497Sru Document new requests. 1621151497Sru 1622151497Sru2004-07-24 Werner LEMBERG <wl@gnu.org> 1623151497Sru 1624151497Sru Add support for fractional point sizes in ms macros. A value for 1625151497Sru PS, VS, FPS, and FVS greater than or equal to 1000 is always divided 1626151497Sru by 1000. For example, `.nr PS 10250' sets the font size to 10.25p. 1627151497Sru 1628151497Sru * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL, 1629151497Sru PX): Handle fractional point sizes for PS, VS, FPS, and FVS. 1630151497Sru 1631151497Sru * tmac/groff_ms.man, docs/groff.texinfo, NEWS: Document it. 1632151497Sru 1633151497Sru2004-07-19 Werner LEMBERG <wl@gnu.org> 1634151497Sru 1635151497Sru * src/preproc/pic/lex.cpp (for_input): Add member `from'. 1636151497Sru Update constructor. 1637151497Sru (do_for, for_input::get, for_input::peek): Handle negative `by'. 1638151497Sru * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it. 1639151497Sru 1640151497Sru2004-07-08 Thomas Klausner <wiz@netbsd.org> 1641151497Sru 1642151497Sru * tmac/doc-syms (doc-str-St--p1003.1-2004): New string. 1643151497Sru * tmac/groff_mdoc.man: Updated. 1644151497Sru 1645151497Sru2004-07-05 Werner LEMBERG <wl@gnu.org> 1646151497Sru 1647151497Sru * doc/groff.texinfo: Further improve documentation of `hcode'. 1648151497Sru 1649151497Sru2004-07-04 Sang Dae Yu <sdyu@bh.knu.ac.kr> 1650151497Sru 1651151497Sru Improve appearance of arrows in pic. 1652151497Sru 1653151497Sru * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled 1654151497Sru arrow head thin. 1655151497Sru Use two line segments for drawing non-filled arrow head. 1656151497Sru (line_object::print, spline_object::print): Shorten line length to 1657151497Sru avoid arrow sticking. 1658151497Sru (arc_object::print): Take arrow direction into account. 1659151497Sru 1660151497Sru2004-07-03 Heinz-J�rgen Oertel <hj.oertel@surfeu.de> 1661151497Sru 1662151497Sru * tmac/groff_www.man: Update documentation of .MPIMG. 1663151497Sru 1664151497Sru2004-07-03 Werner LEMBERG <wl@gnu.org> 1665151497Sru 1666151497Sru * tmac/an-old.tmac (RI): Always start with font `R'. 1667151497Sru (RI, IR): Properly end with font `R'. 1668151497Sru 1669151497Sru2004-07-02 Paul Eggert <eggert@cs.ucla.edu> 1670151497Sru 1671151497Sru * man/ditroff.man, man/groff_font.man, man/groff_out.man, 1672151497Sru src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man, 1673151497Sru src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man: 1674151497Sru Don't pass more than six arguments to .R, .I, .B, etc., for 1675151497Sru compatibility with traditional troff macros. 1676151497Sru 1677151497Sru2004-07-02 Werner LEMBERG <wl@gnu.org> 1678151497Sru 1679151497Sru * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/. 1680151497Sru s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/. 1681151497Sru Update all users. 1682151497Sru (PUSH_COMP_MODE): New internal character constant. 1683151497Sru Update all users. 1684151497Sru 1685151497Sru * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE, 1686151497Sru PUSH_COMP_MODE, and POP_GROFFCOMP_MODE. 1687151497Sru (token::next, macro::append): Handle PUSH_COMP_MODE. 1688151497Sru (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and 1689151497Sru POP_GROFFCOMP after each of the decoded arguments to make them 1690151497Sru independent from the compatibility mode status. 1691151497Sru (comp_mode): Add `COMP_ENABLE'. 1692151497Sru (do_define_string, do_define_macro): Handle COMP_ENABLE. 1693151497Sru (define_string, append_string, define_macro, define_indirect_macro, 1694151497Sru append_macro, append_indirect_macro): Handle `compatible_flag'. 1695151497Sru (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE. 1696151497Sru 1697151497Sru * man/groff_diff.man, doc/groff.texinfo: Updated. 1698151497Sru 1699151497Sru2004-07-01 Werner LEMBERG <wl@gnu.org> 1700151497Sru 1701151497Sru * doc/groff.texinfo: Improve documentation of `hcode'. 1702151497Sru Use @documentencoding and convert document to latin-1; to do that 1703151497Sru make latin characters active and assign proper macros (within a 1704151497Sru @tex...@end tex environment). 1705151497Sru * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding. 1706151497Sru * doc/Makefile.sub (groff): Ditto. 1707151497Sru 1708151497Sru2004-06-29 Werner LEMBERG <wl@gnu.org> 1709151497Sru 1710151497Sru Implement two new conditional operators `F <name>' and `S <name>' 1711151497Sru which check whether <name> is a valid font or style, respectively. 1712151497Sru 1713151497Sru * src/libs/libgroff/font.cpp (text_file): Add `silent' member. 1714151497Sru (text_file::text_file): Updated. 1715151497Sru (text_file::error): Don't emit message if `silent' is set. 1716151497Sru (font::load_font): Add optional third argument (which is directly 1717151497Sru passed to `load'. 1718151497Sru (font::load): Add optional second argument to check the header of 1719151497Sru a font only, without emitting warning or error messages. 1720151497Sru * src/include/font.h (font): Updated. 1721151497Sru 1722151497Sru * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F' 1723151497Sru conditionals. 1724151497Sru * src/roff/troff/node.cpp (mount_font_no_translate): Add optional 1725151497Sru fourth argument to check a font without mounting. 1726151497Sru (check_font, check_style): New functions. 1727151497Sru * src/roff/troff/node.h: Updated. 1728151497Sru 1729151497Sru * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo: 1730151497Sru Updated. 1731151497Sru 1732151497Sru2004-06-27 Werner LEMBERG <wl@gnu.org> 1733151497Sru 1734151497Sru Implement new string-valued register `.sty' to return the current 1735151497Sru style name. 1736151497Sru 1737151497Sru * env.cpp (environment::get_style_name_string): New function. 1738151497Sru (init_env_requests): Add `.sty' register. 1739151497Sru * env.h (environment): Updated. 1740151497Sru * node.cpp (font_info): Make `get_style_name' a friend. 1741151497Sru (get_style_name): New function. 1742151497Sru * node.h: Updated. 1743151497Sru 1744151497Sru * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo: 1745151497Sru Updated. 1746151497Sru 1747151497Sru2004-06-15 Werner LEMBERG <wl@gnu.org> 1748151497Sru 1749151497Sru * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle 1750151497Sru `nospaces' option. 1751151497Sru 1752151497Sru2004-06-10 Colin Percival <colin.percival@wadham.ox.ac.uk> 1753151497Sru 1754151497Sru * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo], 1755151497Sru and \n[mo] to avoid dependency on current date. 1756151497Sru 1757151497Sru2004-06-08 Werner LEMBERG <wl@gnu.org> 1758151497Sru 1759151497Sru * Makefile.sub (install_data): New target. 1760151497Sru 1761151497Sru2004-06-04 Werner LEMBERG <wl@gnu.org> 1762151497Sru 1763151497Sru * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define. 1764151497Sru 1765151497Sru2004-06-03 Werner LEMBERG <wl@gnu.org> 1766151497Sru 1767151497Sru * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and 1768151497Sru order of libraries. 1769151497Sru (install_data): Add $(srcdir). 1770151497Sru 1771151497Sru * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of 1772151497Sru libraries. 1773151497Sru 1774151497Sru2004-06-02 Werner LEMBERG <wl@gnu.org> 1775151497Sru 1776151497Sru * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/. 1777151497Sru Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily. 1778151497Sru Add test for Xmu library. 1779151497Sru (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK, 1780151497Sru GROFF_APPRESDIR_DEFAULT): New macros. 1781151497Sru 1782151497Sru * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK, 1783151497Sru and GROFF_APPRESDIR_DEFAULT. 1784151497Sru 1785151497Sru * configure: Regenerated. 1786151497Sru 1787151497Sru * Makefile.in (appresdir): New variable. 1788151497Sru (MDEFINES): Add appresdir. 1789151497Sru 1790151497Sru * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and 1791151497Sru -Xt. 1792151497Sru (install_data, uninstall_sub): New targets to handle GXditview.ad. 1793151497Sru 1794151497Sru * src/utils/indxbib/Makefiles.ub (install_data): Depend on 1795151497Sru `$(srcdir)/eign', not `eign'. 1796151497Sru 1797151497Sru * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated. 1798151497Sru 1799151497Sru * man/groff_out.man, man/roff.man, src/devices/grops/grops.man, 1800151497Sru src/devices/xditview/gxditview.man, src/roff/groff/groff.man: 1801151497Sru Protect (g)xditview with `\%' to avoid hyphenation. 1802151497Sru Other minor formatting. 1803151497Sru 1804151497Sru2004-06-01 Werner LEMBERG <wl@gnu.org> 1805151497Sru 1806151497Sru Integrate gxditview into groff's standard directory hierarchy. 1807151497Sru 1808151497Sru * src/xditview/*: Moved to ... 1809151497Sru * src/devices/xditview/*: Here. 1810151497Sru Moved DviChar.h and XFontName.h to src/include. 1811151497Sru Moved DviChar.c and XFontName.c to new directory src/libs/libxutil. 1812151497Sru Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c. 1813151497Sru Moved xtotroff.c to new directory src/utils/xtotroff. 1814151497Sru Provide proper Makefile.sub files (reusing the stuff from 1815151497Sru Imakefile.in). 1816151497Sru DESC renamed to DESC.in. 1817151497Sru Removed GXDitview-ad.h, INSTALL, Imakefile.in. 1818151497Sru Converted everything from K&R to ANSI C. 1819151497Sru Decorated with const where appropriate. 1820151497Sru Cast string constants with `String' and `char *' where appropriate. 1821151497Sru Made it compile with C++ (used as a C compiler). 1822151497Sru Removed other minor compiler warnings. 1823151497Sru 1824151497Sru * src/devices/xditview/device.c: Include config.h, string.h, and 1825151497Sru defs.h. 1826151497Sru Don't declare `exit', `strtok', `strchr', and `getenv'. 1827151497Sru (FONTPATH): Remove. 1828151497Sru 1829151497Sru * src/devices/xditview/font.c: Don't declare `XParseFontName' and 1830151497Sru `XFormatFontName'. 1831151497Sru 1832151497Sru * src/devices/xditview/xditview.c: Include config.h. 1833151497Sru Include stdio.h earlier. 1834151497Sru Protect declaration of `popen' and `pclose' with 1835151497Sru NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE. 1836151497Sru Replace `caddr_t' with `XtPointer'. 1837151497Sru (MakePromptFunc): New typedef. 1838151497Sru (DoPrint): Use RETSIGTYPE. 1839151497Sru (promptfunction): Change type to MakePromptFunc. 1840151497Sru (MakePrompt): Use MakePromptFunc for third argument. 1841151497Sru (xmalloc): Removed. 1842151497Sru 1843151497Sru * src/devices/xditview/ad2c: Add casts to `String'. 1844151497Sru 1845151497Sru * src/include/XFontName.h (XFontNameString): Don't use array 1846151497Sru notation. 1847151497Sru Add prototypes for `XParseFontName', `XFormatFontName', 1848151497Sru `XCompareFontName', and `XCopyFontName'. 1849151497Sru 1850151497Sru * src/include/Makefile.sub (HDRS): Add `DviChar.h' and 1851151497Sru `XFontName.h'. 1852151497Sru 1853151497Sru * src/utils/xtotroff/xtotroff.c: Include getopt.h. 1854151497Sru Don't declare `XParseFontName' and `XFormatFontName'. 1855151497Sru (xmalloc): Removed. 1856151497Sru (main): Remove `optind' and `optarg'. 1857151497Sru 1858151497Sru * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables 1859151497Sru (to select programs which need X). 1860151497Sru Make XDEVIDIRS depend on `FORCE'. 1861151497Sru (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for 1862151497Sru X support). 1863151497Sru (MDEFINES): Updated. 1864151497Sru (LIBDIRS): Use XLIBDIRS. 1865151497Sru (CPROGDIRS): Use XPROGDIRS. 1866151497Sru (DEVDIRS): Remove font directories for gxditview. 1867151497Sru (ALLDIRS, DISTDIRS): Add XDEVDIRS. 1868151497Sru (EXTRADIRS): Remove src/xditview. 1869151497Sru 1870151497Sru * Makefile.sub (DISCLEANFILES): Updated. 1871151497Sru 1872151497Sru * Makefile.comm (LIBXUTIL): New variable. 1873151497Sru (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS. 1874151497Sru (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS. 1875151497Sru 1876151497Sru * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS. 1877151497Sru 1878151497Sru * aclocal.m4 (GROFF_X11): New function. 1879151497Sru 1880151497Sru * configure.ac: Call GROFF_X11. 1881151497Sru Don't create src/xditview/Imakefile. 1882151497Sru Don't emit notice how to build gxditview. 1883151497Sru 1884151497Sru * configure: Regenerated. 1885151497Sru 1886151497Sru * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated. 1887151497Sru 1888151497Sru2004-05-28 Akihiro Sagawa <sagawa@sohgoh.net> 1889151497Sru 1890151497Sru * Makefile.in (CPPFLAGS): Define. 1891151497Sru (MDEFINES): Add CPPFLAGS. 1892151497Sru 1893151497Sru2004-05-27 Werner LEMBERG <wl@gnu.org> 1894151497Sru 1895151497Sru * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir). 1896151497Sru 1897151497Sru2004-05-26 Niklas Edmundsson <nikke@acc.umu.se> 1898151497Sru 1899151497Sru Fix problems with `friend name injections'. 1900151497Sru 1901151497Sru * src/preproc/eqn/box.h (make_mark_box, make_lineup_box, 1902151497Sru make_script_box), src/roff/troff/div.h (end_diversions), 1903151497Sru src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo 1904151497Sru change 2004-04-08. 1905151497Sru 1906151497Sru2004-05-25 Bernd Warken <bwarken@mayn.de> 1907151497Sru 1908151497Sru * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'. 1909151497Sru 1910151497Sru2004-05-25 Werner LEMBERG <wl@gnu.org> 1911151497Sru 1912151497Sru * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp, 1913151497Sru src/libs/libgroff/color.cpp: Include lib.h. 1914151497Sru 1915151497Sru2004-05-25 Paul Eggert <eggert@cs.ucla.edu> 1916151497Sru 1917151497Sru * PROBLEMS: Update documentation for problems with Sun C++ 5.0 1918151497Sru through Forte 6u1, and for how to get GNU make on Solaris. 1919151497Sru 1920151497Sru2004-05-24 Werner LEMBERG <wl@gnu.org> 1921151497Sru 1922151497Sru * PROBLEMS: Document problems with gcc 3.4.0 on Sun. Reported 1923151497Sru by Paul Eggert. 1924151497Sru 1925151497Sru2004-05-15 Keith Marshall <keith.d.marshall@ntlworld.com> 1926151497Sru 1927151497Sru * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit 1928151497Sru rule. 1929151497Sru 1930151497Sru2004-05-14 Werner LEMBERG <wl@gnu.org> 1931151497Sru 1932151497Sru * REVISION: Set to 2. 1933151497Sru 1934151497Sru * aclocal.m4 (GROFF_STDINT_H): Removed. 1935151497Sru (GROFF_INTTYPES_H): Define HAVE_CC_INTTYPES_H. 1936151497Sru 1937151497Sru * configure.ac: Updated. 1938151497Sru * configure, src/include/config.hin: Regenerated. 1939151497Sru 1940151497Sru * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but 1941151497Sru inttypes.h conditionally. 1942151497Sru 1943151497Sru2004-05-13 Werner LEMBERG <wl@gnu.org> 1944151497Sru 1945151497SruVersion 1.19.1 released 1946151497Sru======================= 1947151497Sru 1948151497Sru2004-05-10 Stephen Gildea <http://www.gildea.com/stephen> 1949151497Sru 1950151497Sru * src/preproc/refer/label.y (same_author_last_name, 1951151497Sru same_author_name): Handle empty sort keys. 1952151497Sru 1953151497Sru2004-05-10 Werner LEMBERG <wl@gnu.org> 1954151497Sru 1955151497Sru * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms, 1956151497Sru tmac/TODO: Updated. 1957151497Sru 1958151497Sru * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread, 1959151497Sru doc-str-Lb-librt): Reset font. 1960151497Sru (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'. 1961151497Sru Provide `doc-str-Lb' to reset font. 1962151497Sru * tmac/groff_mdoc.man: Updated. 1963151497Sru 1964151497Sru2004-05-08 Jan Schaumann <jschauma@netmeister.org> 1965151497Sru 1966151497Sru * src/preproc/html/pre-html.cpp (make_message): Make it work for 1967151497Sru snprintf versions which don't conform to ANSI C 99 (this is, 1968151497Sru counting the string's trailing null byte in the return value). 1969151497Sru 1970151497Sru2004-05-07 Keith Marshall <keith.d.marshall@ntlworld.com> 1971151497Sru 1972151497Sru * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect 1973151497Sru that all implementations of sprintf handle null pointers correctly. 1974151497Sru 1975151497Sru2004-05-04 Werner LEMBERG <wl@gnu.org> 1976151497Sru 1977151497Sru * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: 1978151497Sru Document `.U' register. 1979151497Sru 1980151497Sru * src/roff/troff/env.cpp (environment::mark_last_line) 1981151497Sru [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers. 1982151497Sru 1983151497Sru2004-05-04 Larry Kollar <kollar@alltel.net> 1984151497Sru 1985151497Sru New read-only register `.U'; it returns 1 in safer mode and 0 1986151497Sru otherwise. 1987151497Sru 1988151497Sru * src/roff/troff/input.cpp (init_input_requests): Implement `.U' 1989151497Sru register. 1990151497Sru 1991151497Sru2004-05-03 Werner LEMBERG <wl@gnu.org> 1992151497Sru 1993151497Sru * install-sh, mkinstalldirs: New versions; taken from texinfo CVS. 1994151497Sru 1995151497Sru2004-04-17 Werner LEMBERG <wl@gnu.org> 1996151497Sru 1997151497Sru * src/include/font.h (font): Use `int' for ch_index. 1998151497Sru * src/libs/libgroff/font.cpp (font::alloc_ch_index, 1999151497Sru font::compact): Updated. 2000151497Sru 2001151497Sru * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler 2002151497Sru warnings. 2003151497Sru 2004151497Sru * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp 2005151497Sru (hyphen_word): Fix compiler warnings. 2006151497Sru * src/roff/troff/input.cpp (get_char_for_escape_name): Return 2007151497Sru `char'. 2008151497Sru Update all callers. 2009151497Sru (get_delim_number, get_line_arg): Change second argument type to 2010151497Sru `unsigned char'. 2011151497Sru (macro_header::copy, token::next, do_define_string, 2012151497Sru do_define_character, substring_request, asciify_macro, 2013151497Sru unformat_macro, read_size, non_interpreted_node::interpret, 2014151497Sru while_request, main: Fix compiler warnings. 2015151497Sru (read_color_draw_node): Initialize `col'. 2016151497Sru 2017151497Sru * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make 2018151497Sru `start_col' and `end_col' of type `int'. 2019151497Sru (vertical_rule): Make `col' of type `int'. 2020151497Sru 2021151497Sru * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check 2022151497Sru for EOF. 2023151497Sru 2024151497Sru * src/preproc/refer/label.y (uppercase_array, lowercase_array): 2025151497Sru New arrays. 2026151497Sru (format_serial): Use them to remove dependency on ASCII. 2027151497Sru 2028151497Sru * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix 2029151497Sru compiler warning. 2030151497Sru * src/devices/grops/psrm.cpp (resource_manager::supply_resource): 2031151497Sru Ditto. 2032151497Sru 2033151497Sru * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix 2034151497Sru compiler warnings. 2035151497Sru (glyph): Change type of `hpos' to `int'. 2036151497Sru 2037151497Sru * src/devices/lbp/lbp.cpp (strsep): Removed. Unused. 2038151497Sru * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings. 2039151497Sru 2040151497Sru * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings. 2041151497Sru 2042151497Sru * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning. 2043151497Sru 2044151497Sru2004-04-16 Werner LEMBERG <wl@gnu.org> 2045151497Sru 2046151497Sru * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h, 2047151497Sru src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp, 2048151497Sru src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use 2049151497Sru `double' instead of `float' everywhere. 2050151497Sru * src/preproc/grn/main.cpp: Use `double' instead of `float' 2051151497Sru everywhere. 2052151497Sru (main): Add return value. 2053151497Sru * src/preproc/grn/hdb.cpp: Use `double' instead of `float' 2054151497Sru everywhere. 2055151497Sru Update all user functions. 2056151497Sru 2057151497Sru * src/include/search.h, src/include/ptable.h, src/include/printer.h, 2058151497Sru src/preproc/eqn/box.h, src/preproc/pic/object.h, 2059151497Sru src/preproc/refer/refer.h, src/preproc/tbl/table.h, 2060151497Sru src/preproc/tbl/table.cpp, src/roff/troff/env.h, 2061151497Sru src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h, 2062151497Sru src/roff/troff/input.cpp, src/roff/troff/request.h, 2063151497Sru src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward 2064151497Sru declarations. 2065151497Sru 2066151497Sru * src/utils/indxbib/signal.c: Include stdlib.h. 2067151497Sru 2068151497Sru2004-04-14 Keith Marshall <keith.d.marshall@ntlworld.com> 2069151497Sru 2070151497Sru * tmac/s.tmac (@init, RP): Allow initialization of the PO register 2071151497Sru before the first page. 2072151497Sru 2073151497Sru2004-04-14 Thomas Klausner <wiz@netbsd.org> 2074151497Sru 2075151497Sru * tmac/doc-common (doc-volume-as-*): Use lowercase names. 2076151497Sru (doc-operating-system-*): Updated. 2077151497Sru * tmac/doc-syms (doc-str-St-*): Various small fixes. 2078151497Sru (doc-str-Lb-*): Add more library names. 2079151497Sru 2080151497Sru2004-04-10 Art Haas <ahaas@airmail.net> 2081151497Sru 2082151497Sru * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't 2083151497Sru use anonymous type. 2084151497Sru 2085151497Sru2004-04-09 Art Haas <ahaas@airmail.net> 2086151497Sru 2087151497Sru * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type. 2088151497Sru 2089151497Sru2004-04-09 Keith Marshall <keith.d.marshall@ntlworld.com> 2090151497Sru 2091151497Sru * arch/misc/shdeps.sh: Generate better comment for sed script. 2092151497Sru 2093151497Sru2004-04-08 Art Haas <ahaas@airmail.net> 2094151497Sru 2095151497Sru * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list), 2096151497Sru src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list), 2097151497Sru src/libs/libgroff/uniuni.cpp (unicode_decompose_list), 2098151497Sru src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp 2099151497Sru (polyfill), src/preproc/grn/main.cpp (polyfill), 2100151497Sru src/preproc/refer/command.cpp (command_table), 2101151497Sru src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which 2102151497Sru gcc 3.5 doesn't like). 2103151497Sru 2104151497Sru2004-04-08 Werner LEMBERG <wl@gnu.org> 2105151497Sru 2106151497Sru Removing many compiler warnings. groff should now compile with 2107151497Sru a C++ compiler used for C files also. [Simple variable renamings 2108151497Sru to avoid shadowing aren't logged in detail.] 2109151497Sru 2110151497Sru * src/devices/grodvi/dvi.cpp: Some local variable renamings. 2111151497Sru (draw_dvi_printer::draw) ['c']: Enclose in block. 2112151497Sru 2113151497Sru * src/devices/grohtml/post-html.cpp: Some local variable renamings. 2114151497Sru (page::add_line): Fix typos. 2115151497Sru * src/devices/grohtml/html-text.cpp: Some local variable renamings. 2116151497Sru 2117151497Sru * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE. 2118151497Sru Some local variable renamings. 2119151497Sru * src/devices/grolbp/lbp.h: Some local variable renamings. 2120151497Sru 2121151497Sru * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local 2122151497Sru variable renamings. 2123151497Sru 2124151497Sru * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag): 2125151497Sru Remove redundant local variable declaration. 2126151497Sru * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style. 2127151497Sru Don't use `caddr_t' but `void *'. 2128151497Sru Enclose functions with `extern "C"' for C++. 2129151497Sru 2130151497Sru * src/libs/libdriver/input.cpp (remember_filename, 2131151497Sru remember_source_filename): Use cast for string constant. 2132151497Sru 2133151497Sru * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp, 2134151497Sru src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp, 2135151497Sru src/libs/libgroff/geometry.cpp: Some local variable renamings. 2136151497Sru * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R 2137151497Sru style. 2138151497Sru Enclose functions with `extern "C"' for C++. 2139151497Sru * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros. 2140151497Sru (needs_quoting): Return `int'. 2141151497Sru (quote_arg): Add proper casts to malloc and realloc. 2142151497Sru * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and 2143151497Sru various MS Windows environments. 2144151497Sru (spawnvp_wrapper): Add proper cast to malloc. 2145151497Sru 2146151497Sru * src/preproc/eqn/box.h: Remove redundant declarations of 2147151497Sru `make_script_box', `make_mark_box' and `make_lineup_box'. 2148151497Sru * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'. 2149151497Sru * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local 2150151497Sru variable renamings. 2151151497Sru 2152151497Sru * src/preproc/grn/hpoint.cpp: Some local variable renamings. 2153151497Sru * src/preproc/grn/hgraph.cpp: Some local variable renamings. 2154151497Sru (dx, dy): Renamed functions to... 2155151497Sru (deltax, deltay): This. 2156151497Sru * src/preproc/grn/main.cpp: Some local variable renamings. 2157151497Sru (deffont): Add `const'. 2158151497Sru (initpic, conv): Use cast for string constant. 2159151497Sru 2160151497Sru * src/preproc/html/pre-html.cpp: Some local variable renamings. 2161151497Sru (makeFileName, alterDeviceTo, addZ): Use cast for string constant. 2162151497Sru (char_buffer::run_output_filter): Second argument is unused. 2163151497Sru * src/preproc/html/pushback.cpp: Some local variable renamings. 2164151497Sru 2165151497Sru * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'. 2166151497Sru * src/preproc/pic/object.cpp: Some local variable renamings. 2167151497Sru 2168151497Sru * src/preproc/refer/label.y (lookup_label): Remove redundant 2169151497Sru declaration of local variable. 2170151497Sru 2171151497Sru * src/preproc/soelim.cpp: Remove redundant declaration of 2172151497Sru `interpret_lf_args'. 2173151497Sru 2174151497Sru * src/preproc/tbl/main.cpp: Some local variable renamings. 2175151497Sru 2176151497Sru * src/roff/groff/groff.cpp (main): Use cast for string constant. 2177151497Sru * src/roff/groff/pipeline.c: Enclose declarations of `error', 2178151497Sru `c_fatal', and `i_to_a' with `extern "C"' for C++. 2179151497Sru Don't use C++-style comments. 2180151497Sru 2181151497Sru * src/roff/troff/env.h: Remove redundant declaration of `title'. 2182151497Sru * src/roff/troff/node.h, src/roff/troff/env.cpp, 2183151497Sru src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable 2184151497Sru renamings. 2185151497Sru * src/roff/troff/div.h: Remove redundant declaration of 2186151497Sru `end_diversions'. 2187151497Sru * src/roff/troff/troff.h: Remove redundant declaration of 2188151497Sru `cleanup_and_exit' 2189151497Sru * src/roff/troff/input.cpp: Remove redundant declaration of 2190151497Sru `handle_first_page_transition' and `process_input_stack'. 2191151497Sru 2192151497Sru * src/utils/hpftodit.cpp: Some local variable renamings. 2193151497Sru 2194151497Sru * src/utils/indxbib/signal.c: Enclose functions with `extern "C"' 2195151497Sru for C++. 2196151497Sru Don't define RETSIGTYPE. 2197151497Sru * src/utils/indxbib/indxbib.cpp: Some local variable renamings. 2198151497Sru 2199151497Sru * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style. 2200151497Sru (error): Use `const' in argument. 2201151497Sru (main): Remove redundant declaration of `optind'. 2202151497Sru Move declaration of `Version_string' to top-level. 2203151497Sru 2204151497Sru * PROBLEMS: Document difficulties compiling signal.c if a C++ 2205151497Sru compiler is used for C. 2206151497Sru 2207151497Sru2004-04-07 Werner LEMBERG <wl@gnu.org> 2208151497Sru 2209151497Sru * Makefile.sub (DISTCLEANFILES): Add `test-groff'. 2210151497Sru 2211151497Sru2004-04-06 Keith Marshall <keith.d.marshall@ntlworld.com> 2212151497Sru 2213151497Sru Make scripts like nroff.sh and neqn.sh portable across various 2214151497Sru (Unix-like) shell implementations from Cygwin, MSYS, etc., which use 2215151497Sru non-POSIX path separators. The idea is to extend those scripts to 2216151497Sru decide at run-time (of the script) which path separator to use. 2217151497Sru 2218151497Sru * arch/misc/Makefile.sub: New file. 2219151497Sru * arch/misc/shdeps.sh: New file, generating OS dependency fixups. 2220151497Sru This script handles @GROFF_BIN_PATH_SETUP@, replacing it with 2221151497Sru a proper definition of the variable `GROFF_RUNTIME'. 2222151497Sru 2223151497Sru * Makefile.in (SH_DEPS_SED_SCRIPT): New variable. 2224151497Sru (MDEFINES): Add SH_DEPS_SED_SCRIPT. 2225151497Sru (PROGDEPDIRS): New variable. 2226151497Sru `FORCE' it. 2227151497Sru (PROGDIRS): Add PROGDEPDIRS. 2228151497Sru 2229151497Sru * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT. 2230151497Sru Don't substitute @SEP@ and @BINDIR@. 2231151497Sru * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@. 2232151497Sru (PATH): Use GROFF_RUNTIME. 2233151497Sru 2234151497Sru * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT. 2235151497Sru Don't substitute @SEP@ and @BINDIR@. 2236151497Sru * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@. 2237151497Sru (PATH): Use GROFF_RUNTIME. 2238151497Sru 2239151497Sru2004-04-05 Keith Marshall <keith.d.marshall@ntlworld.com> 2240151497Sru 2241151497Sru * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from 2242151497Sru Cygwin which doesn't handle stderr correctly. 2243151497Sru 2244151497Sru2004-03-08 Werner LEMBERG <wl@gnu.org> 2245151497Sru 2246151497Sru * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops 2247151497Sru against empty argument. Problem reported by <cgd@broadcom.com>. 2248151497Sru 2249151497Sru2004-03-05 Keith Marshall <keith.d.marshall@ntlworld.com> 2250151497Sru 2251151497Sru * Makefile.in (SEP): Replaced with... 2252151497Sru (RT_SEP, SH_SEP): Separators for the target platform's native path 2253151497Sru separator and the build environment, respectively. 2254151497Sru (fontpath, tmacpath): Use RT_SEP. 2255151497Sru (MDEFINES): Updated. 2256151497Sru 2257151497Sru * contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP. 2258151497Sru * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP. 2259151497Sru * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP. 2260151497Sru * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP. 2261151497Sru 2262151497Sru2004-03-05 Werner LEMBERG <wl@gnu.org> 2263151497Sru 2264151497Sru * fonts/devlj4/Makefile.sub (LJ4RES): Set to 1200. This helps to 2265151497Sru reduce alignment problems with newer printers which use built-in 2266151497Sru TrueType fonts (instead of the older Intellifonts). The ideal 2267151497Sru solution is to provide a second set of groff metric files, but this 2268151497Sru is extremely time-consuming to produce, given that HP's metric 2269151497Sru files are very rudimentary. 2270151497Sru 2271151497Sru2004-03-01 Werner LEMBERG <wl@gnu.org> 2272151497Sru 2273151497Sru * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long. 2274151497Sru s/operand/argument/ in error message. 2275151497Sru 2276151497Sru2004-03-01 Keith Marshall <keith.d.marshall@ntlworld.com> 2277151497Sru 2278151497Sru * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml 2279151497Sru is in use. 2280151497Sru 2281151497Sru2004-03-01 Antti Kantee <pooka@netbsd.org> 2282151497Sru 2283151497Sru * tmac/s.tmac (XE): Fix error message. 2284151497Sru 2285151497Sru2004-02-27 Jeff Conrad <jeff_conrad@msn.com> 2286151497Sru 2287151497Sru * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]: 2288151497Sru New macros. 2289151497Sru 2290151497Sru * src/roff/groff/pipeline.c: Declare strcasecmp. 2291151497Sru (run_pipeline) [_WIN32]: Use function name variants which don't 2292151497Sru start with `_'. 2293151497Sru Fix stream handling. 2294151497Sru 2295151497Sru2004-02-27 Keith Marshall <keith.d.marshall@ntlworld.com> 2296151497Sru 2297151497Sru * src/include/nonposix.h: Fix declaration of `system_shell_name'. 2298151497Sru Declare `spawnvp_wrapper' and macro definitions of spawnvp only 2299151497Sru for platforms which use the native Win32 runtime libraries. 2300151497Sru (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version. 2301151497Sru 2302151497Sru * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR, 2303151497Sru QUOTE_ARG_REALLOC_ERROR): Fix string. 2304151497Sru 2305151497Sru * src/preproc/html/pre-html.cpp: Remove declaration of 2306151497Sru `spawnvp_wrapper'. 2307151497Sru Don't use __MINGW32__. 2308151497Sru s/DEBUG_FILE/DEBUG_FILE_DIR/. 2309151497Sru (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros. 2310151497Sru (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros. 2311151497Sru (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix 2312151497Sru calls to `set_redirection' and `WAIT'. 2313151497Sru [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'. 2314151497Sru Fix calls to `set_redirection' and `save_and_redirect'. 2315151497Sru (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls 2316151497Sru to `set_redirection' and `save_and_redirect'. 2317151497Sru (usage): Fix message. 2318151497Sru (makeTempFiles, main): Use `DEBUG_FILE'. 2319151497Sru 2320151497Sru2004-02-21 Werner LEMBERG <wl@gnu.org> 2321151497Sru 2322151497Sru * src/roff/troff/troff.h (WARN_TOTAL): Fix value. 2323151497Sru 2324151497Sru2004-02-21 Keith Marshall <keith.d.marshall@ntlworld.com> 2325151497Sru 2326151497Sru * src/libs/libgroff/quotearg.c: New file, providing proper argument 2327151497Sru quoting for MSVC's spawn* and exec* functions. 2328151497Sru * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around 2329151497Sru spawnvp with proper quoting for MSVC. 2330151497Sru 2331151497Sru * src/libs/libgroff/assert.cpp (program_name), 2332151497Sru src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'. 2333151497Sru * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated. 2334151497Sru 2335151497Sru * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'. 2336151497Sru 2337151497Sru * src/include/error.h (program_name): Declare as `extern "C"'. 2338151497Sru * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp. 2339151497Sru 2340151497Sru2004-02-21 Jeff Conrad <jeff_conrad@msn.com> 2341151497Sru 2342151497Sru * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare 2343151497Sru spawnvp_wrapper. 2344151497Sru [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j. 2345151497Sru 2346151497Sru2004-02-20 Jeff Conrad <jeff_conrad@msn.com> 2347151497Sru 2348151497Sru * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global 2349151497Sru variable. 2350151497Sru (sbasename) [__MSDOS__ || ...]: New function. 2351151497Sru (system_shell_name) [__MSDOS__ || ...]: Use a different, more 2352151497Sru generic algorithm. 2353151497Sru (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated. 2354151497Sru (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead 2355151497Sru of XXX. 2356151497Sru Use STDOUT_FILENO instead of hardcoded file handle. 2357151497Sru (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section. 2358151497Sru 2359151497Sru2004-02-19 Werner LEMBERG <wl@gnu.org> 2360151497Sru 2361151497Sru * src/roff/troff/div.cpp: Include nonposix.h after troff.h to 2362151497Sru avoid warnings w.r.t. redefinition of P_tmpdir for some compilers. 2363151497Sru 2364151497Sru2004-02-18 Werner LEMBERG <wl@gnu.org> 2365151497Sru 2366151497Sru * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all 2367151497Sru new font and mapping files. 2368151497Sru 2369151497Sru2004-02-18 Jeff Conrad <jeff_conrad@msn.com> 2370151497Sru Keith Marshall <keith.d.marshall@ntlworld.com> 2371151497Sru 2372151497Sru * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty 2373151497Sru an input pipe. This is needed for the MSVC compiler to make troff's 2374151497Sru `-o' option work. 2375151497Sru 2376151497Sru * src/roff/troff/div.cpp: Include nonposix.h. 2377151497Sru (cleanup_and_exit): Call FLUSH_INPUT_PIPE. 2378151497Sru 2379151497Sru2004-02-17 Werner LEMBERG <wl@gnu.org> 2380151497Sru 2381151497Sru * font/devlj4/generate/special.awk: New script. 2382151497Sru * font/devlj4/generate/Makefile (S): Use special.awk. 2383151497Sru * font/devlj4/*: Regenerated, including the following new files: 2384151497Sru Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI), 2385151497Sru MS Symbol (SYMBOL), Wingdings (WINGDINGS). 2386151497Sru * NEWS: Document new lj4 fonts and revised hpftodit. 2387151497Sru 2388151497Sru2004-02-17 Paco Andr�s Verd� <pandres@dragonet.es> 2389151497Sru 2390151497Sru * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string. 2391151497Sru 2392151497Sru2004-01-25 Werner LEMBERG <wl@gnu.org> 2393151497Sru 2394151497Sru * src/libs/libgroff/progname.cpp: Replaced with... 2395151497Sru * src/libs/libgroff/progname.c: New file. 2396151497Sru * src/libs/libgroff/Makefile.sub: Updated accordingly. 2397151497Sru 2398151497Sru2004-01-17 Werner LEMBERG <wl@gnu.org> 2399151497Sru 2400151497Sru * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm. 2401151497Sru 2402151497Sru2004-01-16 Jeff Conrad <jeff_conrad@msn.com> 2403151497Sru 2404151497Sru * font/devlj4/generate/wingdings.map, 2405151497Sru font/devlj4/generate/symbol.map: Include unnamed glyphs. 2406151497Sru Use groff glyph names where possible. 2407151497Sru * src/devices/grolj4/lj4_font.man: Minor updates. 2408151497Sru 2409151497Sru2004-01-13 Werner LEMBERG <wl@gnu.org> 2410151497Sru 2411151497Sru * tmac/www.tmac (DC): Handle TTY devices. 2412151497Sru 2413151497Sru * doc/webpage.ms: Document viewCVS from ffii.org. 2414151497Sru * NEWS, README: Updated. 2415151497Sru 2416151497Sru * src/roff/groff/groff.man: Mention lj4_font man page. 2417151497Sru 2418151497Sru * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New 2419151497Sru variables. 2420151497Sru (FONTS): Add SYMBOL and WINGDINGS. 2421151497Sru (SYMBOL, WINGDINGS): New targets. 2422151497Sru 2423151497Sru2004-01-13 Jeff Conrad <jeff_conrad@msn.com> 2424151497Sru 2425151497Sru * src/devices/grolj4/lj4_font.man: New man page. 2426151497Sru * src/devices/grolj4/Makefile.sub (MAN5): New variable. 2427151497Sru * src/devices/grolj4.man: Mention lj4_font man page. 2428151497Sru 2429151497Sru * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments. 2430151497Sru * src/utils/hpftodit/hpftodit.man: Document it. 2431151497Sru (CW): New macro. 2432151497Sru Remove details about fonts (which are now in lj4_font.man). 2433151497Sru 2434151497Sru * font/devlj4/generate/symbol.map, 2435151497Sru font/devlj4/generate/wingdings.map: New files. 2436151497Sru 2437151497Sru2004-01-12 Werner LEMBERG <wl@gnu.org> 2438151497Sru 2439151497Sru * README: Mention ffii's viewcvs access. 2440151497Sru 2441151497Sru2004-01-09 Werner LEMBERG <wl@gnu.org> 2442151497Sru 2443151497Sru * font/devlj4/generate/special.map: Map MSL 228 to U+221F. 2444151497Sru 2445151497Sru2004-01-09 Jeff Conrad <jeff_conrad@msn.com> 2446151497Sru 2447151497Sru Revert most of the change from 2004-01-03 to better control used 2448151497Sru symbol sets. 2449151497Sru 2450151497Sru * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure. 2451151497Sru (text_symbol_sets, special_symbol_sets): New arrays. 2452151497Sru (symbol_set_table): New global variable. 2453151497Sru (read_symbol_sets): Use search order given in the text_symbol_sets 2454151497Sru and special_symbol_sets arrays. If command line flag -a is not 2455151497Sru given, search both arrays. 2456151497Sru (output_charset): Require x_height_tag only for command line flag -i. 2457151497Sru 2458151497Sru2004-01-06 Werner LEMBERG <wl@gnu.org> 2459151497Sru 2460151497Sru Implement string-valued registers \n[.m] and \n[.M] to return the 2461151497Sru name of the current drawing and background color, respectively. 2462151497Sru 2463151497Sru * src/roff/troff/symbol.h: Moved to... 2464151497Sru * src/include/symbol.h: Here. 2465151497Sru Small fixes to make it work outside of the `troff' directory. 2466151497Sru * src/roff/troff/symbol.cpp: Moved to... 2467151497Sru * src/libs/libgroff/symbol.cpp: Here. 2468151497Sru Small fixes to make it work outside of the `troff' directory. 2469151497Sru 2470151497Sru * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub 2471151497Sru (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): 2472151497Sru Updated. 2473151497Sru 2474151497Sru * src/include/color.h: Include symbol.h. 2475151497Sru (color): Add new field `nm'. 2476151497Sru * src/libs/libgroff/color.cpp (color::color): Updated. 2477151497Sru 2478151497Sru * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp, 2479151497Sru src/roff/troff/node.cpp, src/roff/troff/number.cpp, 2480151497Sru src/roff/troff/reg.cpp: Don't include symbol.h. 2481151497Sru 2482151497Sru * src/roff/troff/env.cpp: Don't include symbol.h. 2483151497Sru (environment::get_glyph_color_string, 2484151497Sru environment_get_fill_color_string): New member functions. 2485151497Sru (init_env_requests): Handle `.m' and `.M' registers. 2486151497Sru * src/roff/troff/input.cpp: Don't include symbol.h. 2487151497Sru (default_symbol): Moved to symbol.cpp/symbol.h. 2488151497Sru (do_glyph_color, do_fill_color, define_color): Pass symbol name 2489151497Sru to color constructor. 2490151497Sru * src/roff/troff/env.h: Updated. 2491151497Sru 2492151497Sru * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: 2493151497Sru Document new registers. 2494151497Sru 2495151497Sru2004-01-05 Werner LEMBERG <wl@gnu.org> 2496151497Sru 2497151497Sru * src/roff/troff/node.cpp (space_node::get_breakpoints, 2498151497Sru space_node::nbreaks): Protect against zero `next' field. 2499151497Sru 2500151497Sru2004-01-03 Jeff Conrad <jeff_conrad@msn.com> 2501151497Sru 2502151497Sru In hpftodit, use the symbol sets offered in the TFM. 2503151497Sru 2504151497Sru * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant. 2505151497Sru (symbol_set, text_symbol_sets, special_symbol_sets, 2506151497Sru symbol_set_table): Removed. 2507151497Sru (get_printcode): Removed. 2508151497Sru (read_symbol_sets): Initialize `symbol_set' field with 2509151497Sru `NO_SYMBOL_SET'. 2510151497Sru Simplify code to just use the `kind' value. 2511151497Sru (output_charset): Improve output formatting. 2512151497Sru (dump_symbols): Simplified. 2513151497Sru 2514151497Sru2004-01-02 Werner LEMBERG <wl@gnu.org> 2515151497Sru 2516151497Sru * font/devlj4/generate/text.map: Add more MSL numbers. 2517151497Sru 2518151497Sru2004-01-02 Jeff Conrad <jeff_conrad@msn.com> 2519151497Sru 2520151497Sru * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro. 2521151497Sru (text_symbol_sets): Add more symbol sets. 2522151497Sru (debug_flag): New static variable (moved from `main'). 2523151497Sru (get_printcode, show_symset): New functions. 2524151497Sru (main): Remove `debug_flag'. 2525151497Sru (output_charset): Use `show_symset'. 2526151497Sru (dump_symbols): Use `show_symset'. 2527151497Sru Print symsets for all glyphs. 2528151497Sru (read_map): Actually call `unicode_to_ucode_make' but this time 2529151497Sru correctly. 2530151497Sru 2531151497Sru2004-01-01 Werner LEMBERG <wl@gnu.org> 2532151497Sru 2533151497Sru * font/devlj4/generate/text.map, font/devlj4/generate/special.map: 2534151497Sru Fix placement of comments. 2535151497Sru 2536151497Sru2004-01-01 Jeff Conrad <jeff_conrad@msn.com> 2537151497Sru 2538151497Sru * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if 2539151497Sru option `-d' is given. 2540151497Sru (output_charset): Improve warning messages to give more information. 2541151497Sru (dump_symbols): Make information more precise. 2542151497Sru (usage): Updated. 2543151497Sru (read_map): Don't call unicode_to_ucode_name; the glyph names must 2544151497Sru appear as-is and shouldn't be decomposed. 2545151497Sru 2546151497Sru2003-12-31 Werner LEMBERG <wl@gnu.org> 2547151497Sru 2548151497Sru * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag. 2549151497Sru * font/devlj4/generate/Makefile (IFLAG): Updated to new units. 2550151497Sru (FONTS): Add TrueType font families Arial and Times New Roman. 2551151497Sru (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets. 2552151497Sru * font/devlj4/generate/text.map: Fix Unicode values of `fi' and 2553151497Sru `fl'. 2554151497Sru 2555151497Sru2003-12-31 Jeff Conrad <jeff_conrad@msn.com> 2556151497Sru 2557151497Sru * test-groff.in (SEP): Quote value. 2558151497Sru * src/roff/troff/node.cpp (suppress_node::tprint): Change type of 2559151497Sru `tem' to `char*' to avoid deallocation of a pointer to a constant 2560151497Sru object which some compilers don't like. 2561151497Sru 2562151497Sru2003-12-31 Werner LEMBERG <wl@gnu.org> 2563151497Sru 2564151497Sru * font/devlj4/generate (text.map, special.map): Rewritten to work 2565151497Sru with the new hpftodit version. 2566151497Sru 2567151497Sru2003-12-30 Jeff Conrad <jeff_conrad@msn.com> 2568151497Sru 2569151497Sru * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol 2570151497Sru set and 8bit character code for all glyphs also. 2571151497Sru 2572151497Sru2003-12-30 Werner LEMBERG <wl@gnu.org> 2573151497Sru 2574151497Sru * src/libs/libgroff/strcasecmp.c: Updated from gnulib. 2575151497Sru 2576151497Sru2003-12-29 Werner LEMBERG <wl@gnu.org> 2577151497Sru 2578151497Sru More fixes for MSVC compiler. 2579151497Sru 2580151497Sru * doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use 2581151497Sru $(SEP). 2582151497Sru 2583151497Sru * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO, 2584151497Sru STDERR_FILENO) [_MSC_VER]: Define conditionally. 2585151497Sru (getpid) [_MSC_VER]: Remove. 2586151497Sru Include direct.h and process.h conditionally. 2587151497Sru 2588151497Sru * src/roff/troff/node.cpp (suppress_node::tprint): Don't use 2589151497Sru parentheses for a_delete. 2590151497Sru 2591151497Sru * src/utils/lookbib/lookbib.cpp: Include nonposix.h. 2592151497Sru 2593151497Sru * test-groff: Replaced with... 2594151497Sru * test-groff.in: This new template to handle path separator 2595151497Sru properly. 2596151497Sru 2597151497Sru * configure.ac: Check for direct.h and process.h. 2598151497Sru Generate test-groff script. 2599151497Sru * configure, src/include/config.hin: Regenerated. 2600151497Sru 2601151497Sru2003-12-28 Werner LEMBERG <wl@gnu.org> 2602151497Sru 2603151497Sru Add integral extension glyph. 2604151497Sru Add new option `-x' to afmtodit to suppress use of built-in AGL. 2605151497Sru 2606151497Sru * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'. 2607151497Sru 2608151497Sru * font/devps/generate/textmap: Provide entry for `integralex' to 2609151497Sru override (old) PUA value of the AGL. 2610151497Sru * font/devps/generate/Makefile (SS): Add afmtodit option `-x'. 2611151497Sru * font/devps/*: Regenerated. 2612151497Sru 2613151497Sru * src/utils/afmtodit/afmtodit.pl: Add option `-x'. 2614151497Sru * src/utils/afmtodit/afmtodit.man, NEWS: Updated. 2615151497Sru 2616151497Sru2003-12-27 Werner LEMBERG <wl@gnu.org> 2617151497Sru 2618151497Sru Add forgotten `coproduct' symbol (already available for DVI). 2619151497Sru 2620151497Sru * font/devhtml/R.proto, font/devps/generate/textmap, 2621151497Sru font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man, 2622151497Sru src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add 2623151497Sru U+2210 (\[coproduct]). 2624151497Sru 2625151497Sru2003-12-26 Jeff Conrad <jeff_conrad@msn.com> 2626151497Sru 2627151497Sru hpftodit has been extended to handle TrueType metric files and 2628151497Sru more glyphs. See hpftodit.man for more details. 2629151497Sru 2630151497Sru * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h, 2631151497Sru ctype.h, and unicode.h. 2632151497Sru s/msl/charcode/ everywhere since we now handle Unicode values also. 2633151497Sru (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros. 2634151497Sru Use it where appropriate. 2635151497Sru (MULTIPLIER): Replaced with... 2636151497Sru (multiplier): New global static variable. 2637151497Sru (scale): Updated. 2638151497Sru (tag_type): Add more TFM tags. 2639151497Sru (tag_name): New array. 2640151497Sru (ENUM_TYPE, FLOAT_TYPE): Removed. 2641151497Sru (BYTE_TYPE): New value assigned. 2642151497Sru (ASCII_TYPE, RATIONAL_TYPE): New enumeration values. 2643151497Sru (text_symbol_sets, special_symbol_sets): Extended to cover more 2644151497Sru sets. 2645151497Sru (check_type): Add return value. 2646151497Sru (check_units): Add parameters to get ppi and upem values. 2647151497Sru Handle TrueType TFM data. 2648151497Sru (output_font_name): New function. 2649151497Sru (output_charset): Add parameter to handle TFM type. 2650151497Sru Handle TrueType TFMs also. 2651151497Sru (em_fract): New macro. 2652151497Sru (dump_tags): Be much more verbose and handle more tags. 2653151497Sru (dump_ascii, dump_symbol_sets, dump_symbols): New functions. 2654151497Sru (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New 2655151497Sru functions. 2656151497Sru (read_map): Add parameter to handle TFM type. 2657151497Sru Handle both MSL and Unicode mappings. 2658151497Sru (main): Add two new command line options `-a' and `-q'. 2659151497Sru Updated to make use of new functions. 2660151497Sru (usage): Updated. 2661151497Sru 2662151497Sru * src/utils/hpftodit/hpuni.cpp: New file. 2663151497Sru 2664151497Sru * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man: 2665151497Sru Updated. 2666151497Sru 2667151497Sru2003-12-25 Werner LEMBERG <wl@gnu.org> 2668151497Sru 2669151497Sru * src/include/nonposix.h (read) [_MSC_VER]: Define. 2670151497Sru 2671151497Sru2003-12-24 Werner LEMBERG <wl@gnu.org> 2672151497Sru 2673151497Sru * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested 2674151497Sru by Michail Vidiassov <master@iaas.msu.ru>. 2675151497Sru 2676151497Sru2003-12-20 Werner LEMBERG <wl@gnu.org> 2677151497Sru 2678151497Sru * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327, 2679151497Sru and u0049_0307. 2680151497Sru Add missing latin-2 glyphs. 2681151497Sru * font/devutf8/R.proto: Add missing latin-2 glyphs. 2682151497Sru 2683151497Sru * tmac/troffrc: Load `composite.tmac' earlier. 2684151497Sru 2685151497Sru * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306, 2686151497Sru u00{53,73}_0327, and u0049_0307. 2687151497Sru * tmac/X.tmac: Add u00{47,67}_0306. 2688151497Sru * tmac/tty-char.tmac: Use composite glyph names for readability. 2689151497Sru 2690151497Sru * NEWS: Updated. 2691151497Sru 2692151497Sru * src/include/unicode.h: Remove `extern' keywords. 2693151497Sru 2694151497Sru2003-12-20 Nilg�n Belma Bug�ner <nilgun@superonline.com> 2695151497Sru 2696151497Sru * tmac/latin5.tmac: New file. 2697151497Sru 2698151497Sru2003-12-19 Werner LEMBERG <wl@gnu.org> 2699151497Sru 2700151497Sru Add some glyphs needed for Turkish. 2701151497Sru 2702151497Sru * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327, 2703151497Sru and u0049_0307. 2704151497Sru 2705151497Sru * tmac/composite.tmac: Add `,' as a synonym for `ac' accent. 2706151497Sru * tmac/tty-char.tmac: Add representations for u00{47,67}_0306, 2707151497Sru u00{53,73}_0327, and u0049_0307. 2708151497Sru 2709151497Sru2003-12-18 Werner LEMBERG <wl@gnu.org> 2710151497Sru 2711151497Sru * src/devices/grops/ps.cc (ps_output::put_float): Revert change 2712151497Sru from 2001-10-04. 2713151497Sru Remove trailing zeros. 2714151497Sru 2715151497Sru2003-12-17 Werner LEMBERG <wl@gnu.org> 2716151497Sru 2717151497Sru Make \? transparent to end-of-sentence recognition. 2718151497Sru 2719151497Sru * src/roff/troff/input.cc (non_interpreted_node): Add 2720151497Sru `ends_sentence' member function. 2721151497Sru 2722151497Sru2003-12-16 Werner LEMBERG <wl@gnu.org> 2723151497Sru 2724151497Sru * doc/groff.texinfo: Document `dt' request correctly. 2725151497Sru Other minor typographical improvements. 2726151497Sru 2727151497Sru2003-12-10 Michail Vidiassov <master@iaas.msu.ru> 2728151497Sru 2729151497Sru * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo. 2730151497Sru 2731151497Sru2003-12-10 Richard Stallman <rms@gnu.org> 2732151497Sru 2733151497Sru * LICENSE: Better wording. 2734151497Sru 2735151497Sru2003-12-09 Werner LEMBERG <wl@gnu.org> 2736151497Sru 2737151497Sru * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0. 2738151497Sru * configure, NEWS: Updated. 2739151497Sru 2740151497Sru2003-12-08 Werner LEMBERG <wl@gnu.org> 2741151497Sru 2742151497Sru * FDL: Updated to version 1.2 (from www.gnu.org/copyleft). 2743151497Sru 2744151497Sru2003-12-07 Bernd Warken <bwarken@mayn.de> 2745151497Sru 2746151497Sru * LICENSE: Updated. 2747151497Sru 2748151497Sru2003-12-07 Werner LEMBERG <wl@gnu.org> 2749151497Sru 2750151497Sru * INSTALL: Improved. 2751151497Sru 2752151497Sru2003-12-05 Keith Marshall <keith.d.marshall@ntlworld.com> 2753151497Sru 2754151497Sru Use path separator character of target platform for compiled-in 2755151497Sru default paths. 2756151497Sru 2757151497Sru * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro. 2758151497Sru * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR. 2759151497Sru * configure: Regenerated. 2760151497Sru * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR. 2761151497Sru 2762151497Sru2003-12-05 Werner LEMBERG <wl@gnu.org> 2763151497Sru 2764151497Sru * src/include/nonposix.h (PATH_SEP_CHAR): New definition. 2765151497Sru Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere. 2766151497Sru 2767151497Sru2003-12-04 Bernd Warken <bwarken@mayn.de> 2768151497Sru 2769151497Sru * LICENSE: New file. 2770151497Sru 2771151497Sru2003-12-03 Werner LEMBERG <wl@gnu.org> 2772151497Sru 2773151497Sru * src/utils/afmtodit/afmtodit.pl: Comment out code which handles 2774151497Sru ligatures present in AFM files since groff currently only 2775151497Sru understands some standard ligatures and nothing else. 2776151497Sru 2777151497Sru2003-12-03 Jeff Conrad <jeff_conrad@msn.com> 2778151497Sru 2779151497Sru * src/roff/groff/groff.cpp (main): Don't run the spooler if 2780151497Sru option -v is given. 2781151497Sru 2782151497Sru * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error 2783151497Sru messages. 2784151497Sru Close stdout copy. 2785151497Sru Don't use Unix wait flags. 2786151497Sru 2787151497Sru2003-12-02 Werner LEMBERG <wl@gnu.org> 2788151497Sru 2789151497Sru * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp, 2790151497Sru src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp, 2791151497Sru src/roff/troff/uniuni.cpp: Moved to... 2792151497Sru * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp, 2793151497Sru src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp, 2794151497Sru src/libs/libgroff/uniuni.cpp: Here. 2795151497Sru 2796151497Sru * src/include/Makefile.sub.old (HDRS), 2797151497Sru src/libs/libgroff/Makefile.sub (OBJS, CCSRCS), 2798151497Sru src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated. 2799151497Sru 2800151497Sru2003-12-01 Keith Marshall <keith.d.marshall@ntlworld.com> 2801151497Sru 2802151497Sru * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to 2803151497Sru `DEBUG_FILE'. 2804151497Sru Updated all users. 2805151497Sru 2806151497Sru2003-12-01 Werner LEMBERG <wl@gnu.org> 2807151497Sru 2808151497Sru * groff.texinfo: Document special behaviour of `.vs 0'. 2809151497Sru Improve documentation of `cflags' request. 2810151497Sru * NEWS: Updated. 2811151497Sru 2812151497Sru2003-11-29 Werner LEMBERG <wl@gnu.org> 2813151497Sru 2814151497Sru * font/devlj4/generate/Makefile (CORONET): Use correct TFM. 2815151497Sru * font/devlj4/CORONET: Regenerated. 2816151497Sru 2817151497Sru2003-11-24 Werner LEMBERG <wl@gnu.org> 2818151497Sru 2819151497Sru * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop 2820151497Sru if processing hyphenation patterns in traditional mode. 2821151497Sru Improve error messages. 2822151497Sru 2823151497Sru2003-11-20 Werner LEMBERG <wl@gnu.org> 2824151497Sru 2825151497Sru * src/roff/troff/node.cpp (troff_output_file::put_char_width, 2826151497Sru troff_output_file::put_char): Fix type of local variable `c'. 2827151497Sru 2828151497Sru2003-11-19 Werner LEMBERG <wl@gnu.org> 2829151497Sru 2830151497Sru * src/roff/groff/pipeline.c (P): Removed. Updated all function 2831151497Sru declarations. 2832151497Sru (i_to_a): Removed. libgroff already provides this function. 2833151497Sru (run_pipeline) [_WIN32]: Don't use itoa but i_to_a. 2834151497Sru 2835151497Sru2003-11-18 Keith Marshall <keith.d.marshall@ntlworld.com> 2836151497Sru 2837151497Sru * src/roff/groff/pipeline.c (xstrsignal): Fix usage of 2838151497Sru HAVE_DECL_SYS_LIST. 2839151497Sru 2840151497Sru2003-11-17 Werner LEMBERG <wl@gnu.org> 2841151497Sru 2842151497Sru * COPYING: Use correct version. 2843151497Sru 2844151497Sru2003-11-11 Werner LEMBERG <wl@gnu.org> 2845151497Sru 2846151497Sru LynxOS 4.0.0 doesn't declare vfprintf. 2847151497Sru 2848151497Sru * configure.ac: Check for vfprintf. 2849151497Sru * configure: Regenerated. 2850151497Sru * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'. 2851151497Sru * src/include/config.hin: Regenerated. 2852151497Sru 2853151497Sru2003-11-10 Werner LEMBERG <wl@gnu.org> 2854151497Sru 2855151497Sru LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf. 2856151497Sru 2857151497Sru * configure.ac: Check for vsnprintf. 2858151497Sru * configure: Regenerated. 2859151497Sru * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and 2860151497Sru `HAVE_VSNPRINTF'. 2861151497Sru * src/include/config.hin: Regenerated. 2862151497Sru 2863151497Sru2003-11-09 Werner LEMBERG <wl@gnu.org> 2864151497Sru 2865151497Sru * aclocal.m4: Updated syntax to autoconf 2.59. 2866151497Sru (GROFF_HTML_PROGRAMS): Use AC_FOREACH. 2867151497Sru Don't check for gsos2. 2868151497Sru (GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides 2869151497Sru working abs_top_srcdir and abs_top_builddir. 2870151497Sru 2871151497Sru * configure.ac: Updated syntax to autoconf 2.59. 2872151497Sru Don't call GROFF_SRCDIR and GROFF_BUILDDIR. 2873151497Sru Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS. 2874151497Sru * configure: Regenerated. 2875151497Sru 2876151497Sru * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/, 2877151497Sru s/@groff_top_builddir@/@abs_top_builddir@/. 2878151497Sru 2879151497Sru * src/roff/groff/pipeline.c (xstrsignal): 2880151497Sru s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/. 2881151497Sru 2882151497Sru2003-11-07 Werner LEMBERG <wl@gnu.org> 2883151497Sru 2884151497Sru * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always 2885151497Sru make start angle smaller than end angle to circumvent a bug in tpic 2886151497Sru handling of some versions of dvipdfm (and dvipdfmx). 2887151497Sru 2888151497Sru2003-10-30 Werner LEMBERG <wl@gnu.org> 2889151497Sru 2890151497Sru * src/devices/grops/grops.man: Improve section on creating EPS. 2891151497Sru 2892151497Sru2003-10-29 Werner LEMBERG <wl@gnu.org> 2893151497Sru 2894151497Sru * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter -> 2895151497Sru -P-pletter). 2896151497Sru 2897151497Sru2003-10-28 Werner LEMBERG <wl@gnu.org> 2898151497Sru 2899151497Sru * doc/groff.texinfo: Fix documentation of `.if'. 2900151497Sru 2901151497Sru2003-10-27 Michail Vidiassov <master@iaas.msu.ru> 2902151497Sru 2903151497Sru * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of 2904151497Sru the form `uniXXXX' also. 2905151497Sru 2906151497Sru2003-10-27 Werner LEMBERG <wl@gnu.org> 2907151497Sru 2908151497Sru * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh, 2909151497Sru contrib/pic2graph/pic2graph.sh: Implement secure management of 2910151497Sru temporary files. 2911151497Sru Pass `-P-pletter' to groff to avoid data outside of the converted 2912151497Sru area -- some versions of `convert' (for example 5.3.8) don't check 2913151497Sru the bounding box of the image but always use a fixed image size 2914151497Sru (letter paper format). 2915151497Sru * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man, 2916151497Sru contrib/pic2graph/pic2graph.man: Updated. 2917151497Sru 2918151497Sru * src/roff/groff/groff.man: Document $TMP and $TEMP. 2919151497Sru 2920151497Sru2003-10-26 Werner LEMBERG <wl@gnu.org> 2921151497Sru 2922151497Sru * src/preproc/pic/troff.cpp (troff_output::simple_circle, 2923151497Sru troff_output::simple_ellipse, troff_output::simple_arc, 2924151497Sru troff_output::simple_line, troff_output::simple_spline, 2925151497Sru troff_output::simple_polygon): Insert a space before arguments. 2926151497Sru (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the 2927151497Sru latter doesn't produce a node, so the following `.sp -1' would do 2928151497Sru the wrong thing. 2929151497Sru Don't emit `.sp -1' after \M. This also doesn't produce a token 2930151497Sru (and we don't have to care about compatibility mode). 2931151497Sru (troff_output::set_color, troff_output::reset_color): Don't emit 2932151497Sru `.sp -1' after \M and \m. 2933151497Sru 2934151497Sru * src/roff/troff/input.cpp (old_have_input): New global variable. 2935151497Sru (input_stack::get): Handle `old_have_input'. 2936151497Sru (process_input_stack) <token::TOKEN_NEWLINE>: Call 2937151497Sru `trapping_blank_line' depending on `old_have_input', not 2938151497Sru `have_input'. 2939151497Sru 2940151497Sru2003-10-20 Keith Marshall <keith.d.marshall@ntlworld.com> 2941151497Sru 2942151497Sru * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32] 2943151497Sru (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing 2944151497Sru default directory names for temporary files. 2945151497Sru [__MSDOS__, _Win32] (temp_init::temp_init): Use them. 2946151497Sru 2947151497Sru * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h. 2948151497Sru [__MSDOS__] (run_pipeline): Honour environment variables. 2949151497Sru Don't use `tmpnam' but `tempnam' to work around messy 2950151497Sru implementation. 2951151497Sru 2952151497Sru * README.MinGW: New file. 2953151497Sru 2954151497Sru2003-10-16 Werner LEMBERG <wl@gnu.org> 2955151497Sru 2956151497Sru * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use 2957151497Sru `(*t)->next' without testing validity of `*t'. 2958151497Sru (usage): Make it more readable. 2959151497Sru 2960151497Sru2003-10-16 Keith Marshall <keith.d.marshall@ntlworld.com> 2961151497Sru 2962151497Sru Make html device run under both MS-DOS and Win32. 2963151497Sru 2964151497Sru * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS, 2965151497Sru MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether 2966151497Sru spawn or fork+exec has to be used, and whether parent must sleep 2967151497Sru until the child process terminates. Used in 2968151497Sru `char_buffer::run_output_filter'. 2969151497Sru (copyofstdoutfd): Removed. 2970151497Sru (char_buffer): Replace `write_file_html' and `write_file_troff' 2971151497Sru member functions with `emit_troff_output' and `run_output_filter'. 2972151497Sru (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New 2973151497Sru macros. 2974151497Sru (replaceFd): Replaced with... 2975151497Sru (set_redirection): New auxiliary function. 2976151497Sru (waitForChild): Replaced with... 2977151497Sru (save_and_redirect): New auxiliary function for. 2978151497Sru 2979151497Sru (char_buffer::do_html, char_buffer::do_image): Simplified, using new 2980151497Sru functions. 2981151497Sru 2982151497Sru2003-10-14 Keith Marshall <keith.d.marshall@ntlworld.com> 2983151497Sru 2984151497Sru * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also. 2985151497Sru (GROFF_LIBC): New function. 2986151497Sru * configure.ac: Call GROFF_LIBC. 2987151497Sru Check for `kill'. 2988151497Sru * configure: Regenerated. 2989151497Sru 2990151497Sru * src/include/lib.h: Handle __MINGW32__. 2991151497Sru * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__. 2992151497Sru Add macro for `pipe'. 2993151497Sru Define P_tmpdir. 2994151497Sru 2995151497Sru * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe' 2996151497Sru correctly. 2997151497Sru 2998151497Sru * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]: 2999151497Sru Implement. 3000151497Sru 3001151497Sru2003-10-13 Werner LEMBERG <wl@gnu.org> 3002151497Sru 3003151497Sru Finally fix change 2003-08-26, based on ideas from Chuck Silvers 3004151497Sru <chuq@chuq.com>. 3005151497Sru 3006151497Sru * contrib/mom/Makefile.sub: Use a stamp file in the `examples' 3007151497Sru directory. 3008151497Sru 3009151497Sru2003-10-12 Werner LEMBERG <wl@gnu.org> 3010151497Sru 3011151497Sru * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage), 3012151497Sru src/roff/troff/input.cc (usage): Updated. 3013151497Sru 3014151497Sru * NEWS, doc/groff.texinfo: Updated. 3015151497Sru 3016151497Sru2003-10-12 Peter Miller <millerp@canb.auug.org.au> 3017151497Sru 3018151497Sru * src/libs/libgroff/searchpath.cpp 3019151497Sru (search_path::open_file_cautious): New function which also handles 3020151497Sru `-' as stdin and stdout depending on the access mode. 3021151497Sru * src/include/searchpath.h (search_path): Updated. 3022151497Sru 3023151497Sru * src/devices/grops/ps.cpp (main): Handle new `-I' switch. 3024151497Sru * src/devices/grops/ps.h: Include `searchpath.h'. 3025151497Sru * src/devices/grops/psrm.cpp (resource_manager::supply_resource): 3026151497Sru Open resource file with `include_search_path.open_file_cautious'. 3027151497Sru * src/devices/grops/grops.man: Document new `-I' switch. 3028151497Sru 3029151497Sru * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp 3030151497Sru (main), src/devices/grolj4/lj4.cpp (main), 3031151497Sru src/devices/grotty/tty.cpp (main): Ignore new `-I' switch. 3032151497Sru 3033151497Sru * src/preproc/soelim/soelim.cpp (include_list_length, include_list): 3034151497Sru Replaced with... 3035151497Sru (include_search_path): New global variable. 3036151497Sru (include_path_append): Removed. 3037151497Sru (main): Use `include_search_path.command_line_dir' to handle `-I'. 3038151497Sru (do_file): Simplify, using new 3039151497Sru `include_search_path.open_file_cautious'. 3040151497Sru 3041151497Sru * src/roff/groff/groff.cpp (print_commands): Accept file handle as 3042151497Sru parameter. 3043151497Sru (main): Pass arguments to `-I' to both troff and devices. 3044151497Sru Improve handling of `-V'. 3045151497Sru * src/roff/groff/groff.man: Document changes to -I and -V. 3046151497Sru 3047151497Sru * src/roff/troff/input.cpp (include_search_path): New global 3048151497Sru variable. 3049151497Sru (next_file, source, ps_bbox_request, transparent_file, 3050151497Sru process_input_file): Use new 3051151497Sru `include_search_path.open_file_cautious'. 3052151497Sru (main) Handle `-I' switch. 3053151497Sru * src/roff/troff/node.cpp (troff_output_file::really_copy_file): 3054151497Sru Use new `include_search_path.open_file_cautious'. 3055151497Sru * src/roff/troff/node.h: New extern symbol `include_search_path'. 3056151497Sru * src/roff/troff/troff.man: Document new `-I' switch. 3057151497Sru 3058151497Sru2003-09-15 Ruslan Ermilov <ru@FreeBSD.org> 3059151497Sru 3060151497Sru Support multiple calls of .Lb in LIBRARY section. 3061151497Sru 3062151497Sru * tmac/doc-common (doc-in-library-section): New register. 3063151497Sru (doc-section-library): New string. 3064151497Sru (Sh): Set `doc-in-library-section'. 3065151497Sru (Rd): Updated. 3066151497Sru * tmac/doc-syms (Lb): Insert breaks before and after arguments 3067151497Sru if in LIBRARY section. 3068151497Sru * tmac/doc.tmac (doc-save-global-vars): Updated. 3069151497Sru * NEWS, tmac/groff_mdoc.man: Updated. 3070151497Sru 3071151497Sru2003-09-14 Ruslan Ermilov <ru@FreeBSD.org> 3072151497Sru 3073151497Sru * tmac/doc-common (doc-default-operating-system): New variable. 3074151497Sru (Os): Use it. 3075151497Sru 3076151497Sru2003-09-08 Werner LEMBERG <wl@gnu.org> 3077151497Sru 3078151497Sru * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also. 3079151497Sru 3080151497Sru2003-08-31 Werner LEMBERG <wl@gnu.org> 3081151497Sru 3082151497Sru * contrib/mom/Makefile.sub: Fix last change to make it really work. 3083151497Sru * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'. 3084151497Sru (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and 3085151497Sru $(DEVFILES) are not empty. 3086151497Sru * Makefile.in: Use `test ... ||' in favor of `if test ...; then'. 3087151497Sru 3088151497Sru2003-08-26 Chuck Silvers <chuq@chuq.com> 3089151497Sru 3090151497Sru * contrib/mom/Makefile.sub (prepare_make_examples): Make it work 3091151497Sru with parallel runs of `make'. 3092151497Sru 3093151497Sru2003-08-23 Stephen Gildea <http://www.gildea.com/stephen> 3094151497Sru 3095151497Sru * src/preproc/ref/ref.cpp (reference::compute_sort_key): Always 3096151497Sru insert SORT_SEP. With certain combinations of sort specifications, 3097151497Sru refer sorted entries in the wrong order. In particular, entries 3098151497Sru with a missing field should be be sorted before all entries that 3099151497Sru have that field, before refer looks to the next field. 3100151497Sru 3101151497Sru2003-08-23 Werner LEMBERG <wl@gnu.org> 3102151497Sru 3103151497Sru * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the 3104151497Sru g++ linker is used. Reported by Mark J. Reed 3105151497Sru <mark.reed@turner.com>. 3106151497Sru 3107151497Sru2003-08-16 Heinz-J�rgen Oertel <hj.oertel@surfeu.de> 3108151497Sru 3109151497Sru Add key character `x' to tbl which makes tbl call a user-defined 3110151497Sru macro on a table cell. 3111151497Sru 3112151497Sru * src/preproc/tbl/table.h (entry_modifier): Add `macro'. 3113151497Sru * src/preproc/tbl/table.cpp (block_entry::do_divert): Call 3114151497Sru `set_modifier' after printing the compatibility request. 3115151497Sru (set_modifier): Print call to `m->macro' if not empty. 3116151497Sru * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle 3117151497Sru `macro'. 3118151497Sru (process_format): Implement cases `x' and `X'. 3119151497Sru * src/preproc/tbl/tbl.man, NEWS: Updated. 3120151497Sru 3121151497Sru2003-08-15 Werner LEMBERG <wl@gnu.org> 3122151497Sru 3123151497Sru * doc/groff.texinfo: Minor fixes. 3124151497Sru 3125151497Sru2003-08-09 Werner LEMBERG <wl@gnu.org> 3126151497Sru 3127151497Sru * tmac/an-old.tmac [cR]: Fix redefinition of `bp'. 3128151497Sru 3129151497Sru2003-08-07 Werner LEMBERG <wl@gnu.org> 3130151497Sru 3131151497Sru * doc/Makefile.sub: Not all shells expand wildcards in the `for' 3132151497Sru argument list to nothing if there is no file to match. Use `ls' as 3133151497Sru a protection, similar to autoconf. 3134151497Sru 3135151497Sru * Makefile.comm (install_dev, uninstall_dev): Protect `for' against 3136151497Sru empty argument lists. 3137151497Sru 3138151497Sru * doc/groff.texinfo: Improve documentation how vertical spacing 3139151497Sru and line breaks interact. 3140151497Sru Other minor fixes. 3141151497Sru 3142151497Sru * tmac/www.tmac: Initialize `www-htmlimage-gap'. 3143151497Sru 3144151497Sru2003-08-03 Werner LEMBERG <wl@gnu.org> 3145151497Sru 3146151497Sru * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce 3147151497Sru EPS (using eps2eps or similar programs to compute the bounding box). 3148151497Sru 3149151497Sru2003-07-24 Werner LEMBERG <wl@gnu.org> 3150151497Sru 3151151497Sru * doc/groff.texinfo: Use the new @/ command to avoid overlong lines. 3152151497Sru * doc/texinfo.tex: Updated from texinfo 4.6. 3153151497Sru * README.CVS: From now on we need texinfo 4.6. 3154151497Sru 3155151497Sru2003-07-23 Werner LEMBERG <wl@gnu.org> 3156151497Sru 3157151497Sru Add requests `dei1' and `ami1' for completeness. 3158151497Sru 3159151497Sru * src/roff/troff/input.cc (calling_mode): Remove 3160151497Sru CALLING_DISABLE_COMP. 3161151497Sru (comp_mode): New enumeration. 3162151497Sru (do_define_string, define_string, define_nocomp_string, 3163151497Sru append_string, append_nocomp_string): Updated. 3164151497Sru (do_define_macro): Add third parameter. 3165151497Sru (define_macro, define_nocomp_macro, define_indirect_macro, 3166151497Sru append_macro, append_nocomp_macro, append_indirect_macro): Updated. 3167151497Sru (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New 3168151497Sru functions. 3169151497Sru (ignore): Updated. 3170151497Sru (init_input_requests): Add `dei1' and `ami1'. 3171151497Sru 3172151497Sru * tmac/trace.tmac: Handle de1 and am1. 3173151497Sru (de): Improve tracing message. 3174151497Sru (am): Add missing `do'. 3175151497Sru (return): Use de1. 3176151497Sru 3177151497Sru * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: 3178151497Sru Document new requests. 3179151497Sru 3180151497Sru2003-07-22 Heinz-J�rgen Oertel <hj.oertel@surfeu.de> 3181151497Sru 3182151497Sru Add option -G to .MPIMG to insert a gap between text and the image. 3183151497Sru 3184151497Sru * tmac/www.tmac (www-finish-left-po, www-finish-right-ll, 3185151497Sru www-finish-left-ll): Updated. 3186151497Sru (www-image-just, www-image-gap, www-htmlimage-gap): New variables. 3187151497Sru (MPIMG): Make option -L and -R optional. 3188151497Sru Implement option -G. 3189151497Sru 3190151497Sru2003-07-22 Gaius Mulley <gaius@glam.ac.uk> 3191151497Sru 3192151497Sru * src/devices/grohtml/post-html.cpp 3193151497Sru (html_printer::do_file_components): Don't use `stdout' as lvalue 3194151497Sru since it can be a macro. 3195151497Sru 3196151497Sru2003-07-22 Werner LEMBERG <wl@gnu.org> 3197151497Sru 3198151497Sru * src/libs/libgroff/strerror.c: Include errno.h to be in sync with 3199151497Sru the corresponding test in aclocal.m4. 3200151497Sru 3201151497Sru2003-07-21 Werner LEMBERG <wl@gnu.org> 3202151497Sru 3203151497Sru * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour 3204151497Sru names but RGB values directly. Otherwise pnmtopng depends on 3205151497Sru an external file `rgb.txt' which maps colour names to values. 3206151497Sru 3207151497Sru2003-07-20 Werner LEMBERG <wl@gnu.org> 3208151497Sru 3209151497Sru * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW. 3210151497Sru * configure, src/include/config.hin: Regenerated. 3211151497Sru 3212151497Sru * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW. 3213151497Sru 3214151497Sru2003-07-19 Werner LEMBERG <wl@gnu.org> 3215151497Sru 3216151497Sru * PROBLEMS: Add solution for UTF-8 problem with hyphens. 3217151497Sru 3218151497Sru2003-07-18 Werner LEMBERG <wl@gnu.org> 3219151497Sru 3220151497Sru * *.man: Switch to non-compatibility mode temporarily if GNU 3221151497Sru syntax extensions are used in the particular man page. 3222151497Sru 3223151497Sru * PROBLEMS: Add solutions for SGR problems. 3224151497Sru 3225151497Sru2003-07-17 Werner LEMBERG <wl@gnu.org> 3226151497Sru 3227151497Sru Don't ignore grotty's command line options if \X'tty: sgr ...' is 3228151497Sru used to change the drawing scheme. 3229151497Sru 3230151497Sru * src/devives/grotty/tty.cpp (bold_flag_option, 3231151497Sru underline_flag_option, italic_flag_option, reverse_flag_option, 3232151497Sru bold_underline_mode_option): New global variables. 3233151497Sru (update_options): New function. 3234151497Sru (tty_printer::special): Call update_options. 3235151497Sru (main): Don't set xxx_flag but xxx_flag_option, then call 3236151497Sru update_options. 3237151497Sru 3238151497Sru2003-07-14 Werner LEMBERG <wl@gnu.org> 3239151497Sru 3240151497Sru Make grotty emit proper Unicode box drawing characters for -Tutf8. 3241151497Sru 3242151497Sru * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum 3243151497Sru values. 3244151497Sru (hline_char, vline_char): New global variables. 3245151497Sru (tty_printer::tty_printer): Initialize them. 3246151497Sru (tty_printer::draw): Emit START_LINE and END_LINE flags for both 3247151497Sru horizontal and vertical lines. 3248151497Sru (crossings): New global array. 3249151497Sru (tty_printer::end_page): Use it to determine the proper crossing 3250151497Sru character for -Tutf8. 3251151497Sru 3252151497Sru2003-07-12 Werner LEMBERG <wl@gnu.org> 3253151497Sru 3254151497Sru * doc/Makefilesub (HTMLDOCFILESALL): New macro. 3255151497Sru (HTMLDOCFILES): Revert to `pic.html'. 3256151497Sru (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL. 3257151497Sru 3258151497Sru2003-07-11 Werner LEMBERG <wl@gnu.org> 3259151497Sru 3260151497Sru * doc/pic.ms: Improve documentation of absolute coordinates. 3261151497Sru Document absolute positioning of pictures. 3262151497Sru 3263151497Sru * NEWS: Add new pic capability. 3264151497Sru 3265151497Sru2003-07-09 Hartmut Henkel <hartmut_henkel@gmx.de> 3266151497Sru 3267151497Sru * src/libs/libgroff/geometry.cpp (check_output_arc_limits): 3268151497Sru Rewritten. 3269151497Sru 3270151497Sru2003-07-07 Werner LEMBERG <wl@gnu.org> 3271151497Sru 3272151497Sru Implement support for dashed and dotted ellipses in pic. Based on 3273151497Sru a patch from Hartmut Henkel <hartmut_henkel@gmx.de>. 3274151497Sru 3275151497Sru * src/preproc/pic/common.cpp (common_output::ellipse_arc, 3276151497Sru common_output::dashed_ellipse, common_output::dotted_ellipse): New 3277151497Sru functions. Ellipse arcs are approximated with circle arcs. 3278151497Sru * src/preproc/pic/common.h (common_output): Updated. 3279151497Sru * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse 3280151497Sru functions. 3281151497Sru * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto. 3282151497Sru 3283151497Sru * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated. 3284151497Sru 3285151497Sru2003-07-06 Werner LEMBERG <wl@gnu.org> 3286151497Sru 3287151497Sru Make grotty work on platforms which have unsigned char as the 3288151497Sru default for char. Based on a patch by Thomas Klausner 3289151497Sru <wiz@netbsd.org>. 3290151497Sru 3291151497Sru * src/devices/grotty/tty.cpp (schar): New typedef. 3292151497Sru Updated calls to declare_ptable and implement_ptable. 3293151497Sru (glyph): Use schar for back_color_idx and fore_color_idx. 3294151497Sru (tty_printer): Use schar for curr_fore_idx and curr_back_idx. 3295151497Sru (tty_printer::tty_color, tty_printer::tty_printer, 3296151497Sru tty_printer::color_to_idx, tty_printer::put_color): Updated. 3297151497Sru 3298151497Sru2003-07-06 Ruslan Ermilov <ru@FreeBSD.org> 3299151497Sru 3300151497Sru * src/roff/nroff/nroff.sh: Add option -d for completeness. 3301151497Sru * src/roff/nroff/nroff.man: Updated. 3302151497Sru 3303151497Sru2003-07-05 Werner LEMBERG <wl@gnu.org> 3304151497Sru 3305151497Sru * NEWS, tmac/groff_www.man: Updated. 3306151497Sru * doc/Makefile.sub: Updated. 3307151497Sru 3308151497Sru2003-07-05 Gaius Mulley <gaius@glam.ac.uk> 3309151497Sru 3310151497Sru Implement support for multiple HTML output files. 3311151497Sru 3312151497Sru * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for 3313151497Sru -j command line option. 3314151497Sru 3315151497Sru * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New 3316151497Sru global variables. 3317151497Sru (file): New fields `new_output_file', `require_links', 3318151497Sru `output_file_name'. 3319151497Sru (file::file): Updated. 3320151497Sru (files::set_file_name, files::set_links_required, 3321151497Sru files::are_links_required, files::is_new_output_file, 3322151497Sru files::file_name, files::next_file_name): New functions. 3323151497Sru (header_desc): New fields `no_of_level_one_headings', 3324151497Sru `header_filename'. 3325151497Sru (header_desc::header_desc): Updated. 3326151497Sru (header_desc::write_headings): Handle multiple files. 3327151497Sru (html_printer::write_header): Save file name in which header occurs. 3328151497Sru (html_printer::determine_header_level): Possibly split files on 3329151497Sru level one headings. 3330151497Sru (html_printer::do_links, html_printer::troff_tag): Updated. 3331151497Sru (html_printer::insert_split_file, html_printer::do_job_name, 3332151497Sru html_printer::emit_link, html_printer::write_navigation, 3333151497Sru html_printer::do_file_components): New functions. 3334151497Sru (html_printer::~html_printer): Handle multiple files. 3335151497Sru (main): Handle command line option `-j'. 3336151497Sru 3337151497Sru * src/devices/grohtml/grohtml.man: Updated. 3338151497Sru 3339151497Sru * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule 3340151497Sru which splits file. 3341151497Sru 3342151497Sru * tmac/www.tmac (JOBNAME): New macro. 3343151497Sru * tmac/s.tmac (SH-NO-TAG): New macro. 3344151497Sru (@SH): Call SH-NO-TAG. 3345151497Sru (@NH): Updated. 3346151497Sru 3347151497Sru2003-07-05 Ruslan Ermilov <ru@FreeBSD.org> 3348151497Sru 3349151497Sru * tmac/groff_mdoc.man: Improve documentation of punctuation 3350151497Sru characters. 3351151497Sru 3352151497Sru2003-07-04 Ruslan Ermilov <ru@FreeBSD.org> 3353151497Sru 3354151497Sru * tmac/doc.tmac (Bd): Change to doc-Li-font later. 3355151497Sru 3356151497Sru2003-07-03 Werner LEMBERG <wl@gnu.org> 3357151497Sru 3358151497Sru * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines. 3359151497Sru 3360151497Sru2003-07-01 Ruslan Ermilov <ru@FreeBSD.org> 3361151497Sru 3362151497Sru * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma 3363151497Sru after `/*' and `*/'. 3364151497Sru Fix spacing. 3365151497Sru (Fn, Fo): Reduce indentation in synopsis. 3366151497Sru 3367151497Sru * tmac/doc-common (doc-check-depth): New macro. 3368151497Sru (doc-end-macro, Sh, Ss): Use it. 3369151497Sru (Cd): Fix behaviour in synopsis. 3370151497Sru (In): Make it parsed and callable. 3371151497Sru If not in the synopsis, represent the C header file enclosed in 3372151497Sru angle brackets. 3373151497Sru (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0): 3374151497Sru Use minus, not hyphen. 3375151497Sru 3376151497Sru * tmc/groff_mdoc.man: Updated. 3377151497Sru 3378151497Sru2003-07-01 Werner LEMBERG <wl@gnu.org> 3379151497Sru 3380151497Sru Integrated grap2graph, contributed by Eric S. Raymond. 3381151497Sru 3382151497Sru * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}: 3383151497Sru New files. 3384151497Sru * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man, 3385151497Sru contrib/pic2graph.man, src/roff/groff/groff.man: Updated. 3386151497Sru 3387151497Sru2003-07-01 Colin Watson <cjwatson@debian.org> 3388151497Sru 3389151497Sru * src/xditview/*.c: Add prototypes, fix return types, add includes. 3390151497Sru Based on work by Fumitoshi UKAI <ukai@debian.or.jp>. 3391151497Sru 3392151497Sru2003-06-31 Ruslan Ermilov <ru@FreeBSD.org> 3393151497Sru 3394151497Sru * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'. 3395151497Sru 3396151497Sru2003-06-31 Werner LEMBERG <wl@gnu.org> 3397151497Sru 3398151497Sru * doc/Makefile.sub (CLEANADD): Remove all files created by 3399151497Sru running `make groff.{pdf,dvi}'. 3400151497Sru 3401151497Sru * Makefile.sub (DISTCLEANFILES): Remove all non-source files from 3402151497Sru src/xditview also. 3403151497Sru 3404151497Sru2003-06-30 Werner LEMBERG <wl@gnu.org> 3405151497Sru 3406151497Sru * Makefile.in (SHELL): Define as @SHELL@. 3407151497Sru (mkinstalldirs): Use $(SHELL). 3408151497Sru (MDEFINES): Add $(SHELL). 3409151497Sru * Makefile.comm (SHELL): Removed. 3410151497Sru 3411151497Sru2003-06-29 Werner LEMBERG <wl@gnu.org> 3412151497Sru 3413151497Sru * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively. 3414151497Sru The X11 documentation files use them. 3415151497Sru * tmac/groff_ms.man, doc/groff.texinfo: Document them. 3416151497Sru 3417151497Sru2003-06-15 Robert Goulding <goulding@Princeton.EDU> 3418151497Sru 3419151497Sru * tmac/e.tmac (@C): Handle .ad also. 3420151497Sru 3421151497Sru2003-06-12 Werner LEMBERG <wl@gnu.org> 3422151497Sru 3423151497Sru * src/preproc/tbl/tbl.man: Document formatting of text blocks. 3424151497Sru 3425151497Sru * src/roff/troff/input.cc (token::next) <handle_escape_char>: 3426151497Sru Assign `n' even here. It is possible to construct a node 3427151497Sru immediately following an escape character: 3428151497Sru 3429151497Sru .di xx 3430151497Sru \?\\\?a 3431151497Sru .br 3432151497Sru .di 3433151497Sru .xx 3434151497Sru 3435151497Sru2003-06-10 Werner LEMBERG <wl@gnu.org> 3436151497Sru 3437151497Sru * README.WIN32: Removed. 3438151497Sru * MANIFEST: Updated. 3439151497Sru 3440151497Sru2003-06-07 Werner LEMBERG <wl@gnu.org> 3441151497Sru 3442151497Sru * src/roff/nroff/nroff.sh: Don't emit SGR for option -u. 3443151497Sru 3444151497Sru2003-06-05 Werner LEMBERG <wl@gnu.org> 3445151497Sru 3446151497Sru * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug 3447151497Sru in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885). 3448151497Sru 3449151497Sru2003-06-03 Werner LEMBERG <wl@gnu.org> 3450151497Sru 3451151497Sru * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this 3452151497Sru is done by the calling function. 3453151497Sru 3454151497Sru2003-05-22 Ruslan Ermilov <ru@FreeBSD.org> 3455151497Sru 3456151497Sru * tmac/X.tmac: Fix definition of `em'. 3457151497Sru 3458151497Sru2003-05-22 Werner LEMBERG <wl@gnu.org> 3459151497Sru 3460151497Sru * src/roff/troff/input.cc (return_macro_request): Fix detection of 3461151497Sru argument. 3462151497Sru 3463151497Sru2003-05-18 Werner LEMBERG <wl@gnu.org> 3464151497Sru 3465151497Sru * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag 3466151497Sru to make items work which consist only of a tag. 3467151497Sru 3468151497Sru2003-05-17 Werner LEMBERG <wl@gnu.org> 3469151497Sru 3470151497Sru * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces 3471151497Sru aren't stretched in a tag (this can fail with unformatted boxes). 3472151497Sru Instead, insert a break and go back one line. 3473151497Sru 3474151497Sru2003-05-16 Werner LEMBERG <wl@gnu.org> 3475151497Sru 3476151497Sru * src/roff/troff/input.cc (return_macro_request): If called with 3477151497Sru argument pop macro twice. We need this to trace `return'. 3478151497Sru 3479151497Sru * tmac/trace.tmac: Handle `return'. 3480151497Sru Fix typos. 3481151497Sru 3482151497Sru * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: 3483151497Sru Document. 3484151497Sru 3485151497Sru2003-05-15 Larry Kollar <kollar@alltel.net> 3486151497Sru 3487151497Sru * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of 3488151497Sru registers `FPS', `FVS', and `FPD'. 3489151497Sru 3490151497Sru2003-05-15 Werner LEMBERG <wl@gnu.org> 3491151497Sru 3492151497Sru * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter 3493151497Sru correctly. 3494151497Sru 3495151497Sru2003-05-03 Ruslan Ermilov <ru@FreeBSD.org> 3496151497Sru 3497151497Sru * tmac/groff_mdoc.man: Slight improvements. 3498151497Sru 3499151497Sru2003-05-03 Werner LEMBERG <wl@gnu.org> 3500151497Sru 3501151497Sru * tmac/doc-common (doc-header): Emit vertical space of 1v instead of 3502151497Sru `doc-header-space' after header line if register `cR' is set. 3503151497Sru 3504151497Sru2003-05-02 Werner LEMBERG <wl@gnu.org> 3505151497Sru 3506151497Sru * TODO: Updated. 3507151497Sru 3508151497Sru2003-05-01 Ruslan Ermilov <ru@FreeBSD.org> 3509151497Sru 3510151497Sru * tmac/doc-common (Nd): Use \[em]. 3511151497Sru 3512151497Sru2003-05-01 Werner LEMBERG <wl@gnu.org> 3513151497Sru 3514151497Sru * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space, 3515151497Sru doc-footer-space): Initialize to 0.5i. 3516151497Sru (doc-setup-page-layout): Don't set doc-header-space and 3517151497Sru doc-footer-space. 3518151497Sru 3519151497Sru2003-04-30 Werner LEMBERG <wl@gnu.org> 3520151497Sru 3521151497Sru * REVISION: Set to 1. 3522151497Sru 3523151497Sru * doc/pic.ms: Document possible problems with `figname'. 3524151497Sru 3525114402Sru2003-04-29 Werner LEMBERG <wl@gnu.org> 3526114402Sru 3527151497SruVersion 1.19 released 3528151497Sru===================== 3529151497Sru 3530114402Sru * VERSION: Set to 1.19. 3531114402Sru * REVISION: Set to 0. 3532114402Sru * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated. 3533114402Sru 3534114402Sru * src/devices/grohtml/post-html.cpp (html_printer::~html_printer): 3535114402Sru Define charset as `US-ASCII' in html output. 3536114402Sru 3537114402Sru * tmac/www.tmac (ULE): Add missing scaling indicator. 3538114402Sru 3539114402Sru * win32-diffs: Removed. 3540114402Sru 3541114402Sru2003-04-28 Werner LEMBERG <wl@gnu.org> 3542114402Sru 3543114402Sru * doc/groff.texinfo: Document `dn' and `dl' registers if used with 3544114402Sru `.da' and `.boxa'. 3545114402Sru Document how to insert discardable whitespace with `.ss'. 3546114402Sru 3547114402Sru2003-04-27 Werner LEMBERG <wl@gnu.org> 3548114402Sru 3549114402Sru * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code 3550114402Sru work with plain TeX also. 3551114402Sru 3552114402Sru * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example. 3553114402Sru 3554114402Sru2003-04-25 Gaius Mulley <gaius@glam.ac.uk> 3555114402Sru 3556114402Sru * src/devices/grohtml/post-html.cpp (html_printer::~html_printer): 3557114402Sru Use a loose DTD. 3558114402Sru 3559114402Sru2003-04-24 Werner LEMBERG <wl@gnu.org> 3560114402Sru 3561114402Sru * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a 3562114402Sru vbox with positive height and zero depth if in TeX mode. 3563114402Sru 3564114402Sru * NEWS: Document glyph name changes for grodvi and grolj4. 3565114402Sru 3566114402Sru2003-04-23 Werner LEMBERG <wl@gnu.org> 3567114402Sru 3568114402Sru * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code. 3569114402Sru * doc/pic.ms: Fixed. 3570114402Sru 3571114402Sru2003-04-21 Werner LEMBERG <wl@gnu.org> 3572114402Sru 3573114402Sru HP-UX 10.20 has `snprintf' but it isn't declared. 3574114402Sru 3575114402Sru * configure.ac: Add declaration test for snprintf. 3576114402Sru * configure: Regenerated. 3577114402Sru * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'. 3578114402Sru * src/include/config.hin: Regenerated. 3579114402Sru 3580114402Sru2003-04-19 Werner LEMBERG <wl@gnu.org> 3581114402Sru 3582114402Sru Add keyword `figname' to pic, specifying the name of the picture 3583114402Sru box in TeX mode. Based on a patch from William J Poser 3584114402Sru <wjposer@unagi.cis.upenn.edu>. 3585114402Sru 3586114402Sru * src/preproc/pic/pic.y: New token `FIGNAME'. 3587114402Sru (macro_name): New rule of type <str>. 3588114402Sru (placeless_element): Handle `FIGNAME'. 3589114402Sru * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'. 3590114402Sru * src/preproc/pic/main.cpp (graphname): New global variable. 3591114402Sru (do_picture): Initialize `graphname'. 3592114402Sru * src/preproc/pic/pic.h: Updated. 3593114402Sru * src/preproc/pic/tex.cpp (tex_output::start_picture): Use 3594114402Sru `graphname'. 3595114402Sru Simplify TeX code. 3596114402Sru (tex_output::text): Beautify output. 3597114402Sru * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate 3598114402Sru `shaded' and `outlined' unconditionally. 3599114402Sru * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated. 3600114402Sru Minor improvements. 3601114402Sru 3602114402Sru * PROBLEMS, README.CVS: Mention that bison version 1.875b or 3603114402Sru greater is necessary. 3604114402Sru 3605114402Sru2003-04-17 Hartmut Henkel <hartmut_henkel@gmx.de> 3606114402Sru 3607114402Sru Add option -r to soelim to avoid emission of `.lf' lines. 3608114402Sru Add option -t to produces TeX comment lines instead of `.lf' lines. 3609114402Sru 3610114402Sru * src/preproc/soelim/soelim.cpp: New global variables `raw_flag' 3611114402Sru and `tex_flag'. 3612114402Sru (usage): Updated. 3613114402Sru (main): Handle `-r' and `-t'. 3614114402Sru (set_location): Handle `raw_flag' and `tex_flag'. 3615114402Sru * src/preproc/soelim/soelim.man, NEWS: Updated. 3616114402Sru 3617114402Sru2003-04-17 Werner LEMBERG <wl@gnu.org> 3618114402Sru 3619114402Sru * tmac/hyphenex.sh: Replaced with... 3620114402Sru * tmac/hyphenex.pl: This perl script to avoid sed compatibility 3621114402Sru nightmares. 3622114402Sru 3623114402Sru * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message 3624114402Sru if --quiet is used for the configure script. 3625114402Sru * configure: Regenerated. 3626114402Sru 3627114402Sru2003-04-16 Werner LEMBERG <wl@gnu.org> 3628114402Sru 3629114402Sru * src/devices/grohtml/post-html.cpp (text_glob::text_glob): 3630114402Sru Add `const' to second argument. 3631114402Sru (html_printer::add_table_end): Add `const' to argument. 3632114402Sru * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add 3633114402Sru `const' to arguments. 3634114402Sru * src/devices/grohtml/html-text.h: Updated. 3635114402Sru 3636114402Sru * src/devices/grolbp/charset.h (symset): Use `unsigned char'. 3637114402Sru * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for 3638114402Sru argument. 3639114402Sru 3640114402Sru * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use 3641114402Sru cast for integer constant. 3642114402Sru 3643114402Sru * src/preproc/html/pre-html.cpp (image_device): Use `const'. 3644114402Sru (writeNbytes): Add `const' to first argument. 3645114402Sru (writeString): Add `const' to argument. 3646114402Sru (char_buffer::can_see): Add `const' to third argument. 3647114402Sru * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add 3648114402Sru `const' to argument. 3649114402Sru * src/preproc/html/pushback.h: Updated. 3650114402Sru 3651114402Sru * src/preproc/soelim/soelim.cpp (include_list): Add `const'. 3652114402Sru (include_path_append): Add `const' to argument. 3653114402Sru (do_file): Updated. 3654114402Sru 3655114402Sru * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const' 3656114402Sru for `value'. 3657114402Sru (unicode_to_glyph_init::unicode_to_glyph_init): Updated. 3658114402Sru * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const' 3659114402Sru for `value'. 3660114402Sru (unicode_decompose_init::unicode_decompose_init): Updated. 3661114402Sru * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const' 3662114402Sru for `value'. 3663114402Sru (glyph_to_unicode_init::glyph_to_unicode_init): Updated. 3664114402Sru * src/roff/troff/input.cc (process_startup_file): Add `const' to 3665114402Sru argument. 3666114402Sru 3667114402Sru * tmac/hyphenex.sh: Make script more portable by using a here 3668114402Sru document. 3669114402Sru 3670114402Sru2003-04-15 Werner LEMBERG <wl@gnu.org> 3671114402Sru 3672114402Sru Renamed all `*.cc' files to `*.cpp'. 3673114402Sru Updated all configuration files, makefiles, and documentation. 3674114402Sru 3675114402Sru2003-04-14 Werner LEMBERG <wl@gnu.org> 3676114402Sru 3677114402Sru * tmac/hyphenex.sh: Slight improvements. 3678114402Sru 3679114402Sru2003-04-13 Werner LEMBERG <wl@gnu.org> 3680114402Sru 3681114402Sru * font/devascii/R.proto, font/devcp1037/R.proto, 3682114402Sru font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining 3683114402Sru character slots with unnamed glyphs. 3684114402Sru 3685114402Sru * tmac/an-old.tmac: Fix hyphenation value if `cR' is active. 3686114402Sru (an-first): New global variable. 3687114402Sru (an-header): Emit vertical space between multiple man pages. 3688114402Sru 3689114402Sru2003-04-11 Werner LEMBERG <wl@gnu.org> 3690114402Sru 3691114402Sru * doc/groff.texinfo, man/groff_out.man: \S only accepts integer 3692114402Sru values. 3693114402Sru 3694114402Sru2003-04-10 Werner LEMBERG <wl@gnu.org> 3695114402Sru 3696114402Sru * PROBLEMS: Revised. 3697114402Sru 3698114402Sru2003-04-10 Bernd Warken <bwarken@mayn.de> 3699114402Sru 3700114402Sru * doc/webpage.ms: Improved. 3701114402Sru 3702114402Sru2003-04-09 Werner LEMBERG <wl@gnu.org> 3703114402Sru 3704114402Sru Add register \n[.height] which returns the value of \H. 3705114402Sru Add register \n[.slant] which returns the value of \S. 3706114402Sru 3707114402Sru * src/roff/troff/env.cc (init_env_requests): Implement. 3708114402Sru * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: 3709114402Sru Document. 3710114402Sru 3711114402Sru2003-04-08 Werner LEMBERG <wl@gnu.org> 3712114402Sru 3713114402Sru * tmac/html.tmac: Move some of the data into html-end.tmac. 3714114402Sru Remove most of the character translations for eqn since html fonts 3715114402Sru now cover those characters. 3716114402Sru Load www.tmac. 3717114402Sru * tmac/html-end.tmac: New file. 3718114402Sru * tmac/troffrc: Load html.tmac not www.tmac for -Thtml. 3719114402Sru * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml. 3720114402Sru * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac. 3721114402Sru 3722114402Sru2003-04-07 Werner LEMBERG <wl@gnu.org> 3723114402Sru 3724114402Sru * man/groff_out.man: Document negative values of `N' if -Thtml is 3725114402Sru used. 3726114402Sru 3727114402Sru2003-04-06 Werner LEMBERG <wl@gnu.org> 3728114402Sru 3729114402Sru * Makefile.comm (depend.temp): Check location of YTABC. 3730114402Sru 3731114402Sru2003-04-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 3732114402Sru 3733114402Sru * contrib/mom/Makefile.sub (GROFFBIN): New variable for groff 3734114402Sru binary path. 3735114402Sru (groff_bin_path): Rename to GROFF_BIN_PATH. 3736114402Sru (GROFF): Use GROFFBIN and GROFF_BIN_PATH. 3737114402Sru * doc/Makefile.in (TROFFBIN): New variable for troff 3738114402Sru binary path. 3739114402Sru (GROFFBIN): New variable for groff binary path. 3740114402Sru (groff_bin_path): Rename to GROFF_BIN_PATH. 3741114402Sru (TROFF): Use TROFFBIN. 3742114402Sru (GROFF): Use GROFFBIN and GROFF_BIN_PATH. 3743114402Sru * doc/Makefile.sub (GROFFBIN): New variable for groff 3744114402Sru binary path. 3745114402Sru (groff_bin_path): Rename to GROFF_BIN_PATH. 3746114402Sru (GROFF): Use GROFFBIN and GROFF_BIN_PATH. 3747114402Sru 3748114402Sru * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS 3749114402Sru with INSTALL_SCRIPT. 3750114402Sru (uninstall_dev): Uninstall scripts from DEVSCRIPTS. 3751114402Sru * Makefile.dev (all): Depend on DEVSCRIPTS. 3752114402Sru (install_dev): Likewise. 3753114402Sru * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold 3754114402Sru scripts. 3755114402Sru * font/devps/Makefile.sub (DEVSCRIPTS): Likewise. 3756114402Sru (DEVGENSCRIPTS): New variable to hold generated scripts. 3757114402Sru 3758114402Sru2003-04-05 Werner LEMBERG <wl@gnu.org> 3759114402Sru 3760114402Sru * src/libs/libdriver/input.cc (IntArray::operator[], 3761114402Sru IntArray::get_data): Remove meaningless `const' in return value. 3762114402Sru 3763114402Sru * README.CVS: New file. 3764114402Sru 3765114402Sru2003-04-04 Werner LEMBERG <wl@gnu.org> 3766114402Sru 3767114402Sru Check for stdint.h in C++, not in C. 3768114402Sru 3769114402Sru * aclocal.m4 (GROFF_STDINT_H): New function, 3770114402Sru * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of 3771114402Sru AC_CHECK_HEADERS. 3772114402Sru * configure, src/include/config.hin: Regenerated. 3773114402Sru * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H. 3774114402Sru 3775114402Sru 3776114402Sru Fix handling of in grohtml. To do this, troff emits `N' 3777114402Sru with a negative value, representing the width of the unbreakable 3778114402Sru space (only for -Thtml). grohtml then converts this back to 3779114402Sru and uses the value of N as its width. 3780114402Sru 3781114402Sru * src/roff/troff/node.cc (space_char_hmotion_node::tprint, 3782114402Sru unbreakable_space_node::tprint): Emit `N-<width>'. 3783114402Sru * src/include/printer.h (printer::set_numbered_char): Make it 3784114402Sru virtual. 3785114402Sru Make members `font_table' and `nfonts' protected instead of private. 3786114402Sru * src/devices/grohtml/post-html.cc 3787114402Sru (html_printer::set_numbered_char): New member function. 3788114402Sru 3789114402Sru 3790114402Sru * src/libs/libgroff/maxfilename.cc: 3791114402Sru s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/. 3792114402Sru 3793114402Sru * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't 3794114402Sru emit word marker. 3795114402Sru 3796114402Sru2003-04-03 Sergey A. Osokin <osa@freebsd.org.ru> 3797114402Sru 3798114402Sru * man/roff.man: Small fixes. 3799114402Sru 3800114402Sru2003-04-03 Werner LEMBERG <wl@gnu.org> 3801114402Sru 3802114402Sru Make groff independent from locale's numeric settings. 3803114402Sru 3804114402Sru * configure.ac: Check for `setlocale'. 3805114402Sru * configure, src/include/config.hin: Regenerated. 3806114402Sru 3807114402Sru * src/include/lib.h: Handle HAVE_SETLOCALE. 3808114402Sru 3809114402Sru * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc 3810114402Sru (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc 3811114402Sru (main), src/preproc/pic/main.cc (main): Call `setlocale'. 3812114402Sru 3813114402Sru 3814114402Sru * doc/groff.texinfo: Change dir category to `Typesetting'. 3815114402Sru (Man font macros): Mention that there is no space between arguments 3816114402Sru of .BI and friends. 3817114402Sru 3818114402Sru * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc 3819114402Sru (*printer::change_color, *printer::change_fill_color): Add missing 3820114402Sru `const'. 3821114402Sru 3822114402Sru2003-04-02 Werner LEMBERG <wl@gnu.org> 3823114402Sru 3824114402Sru * src/devices/grohtml/html-table.cc (html_table::emit_col, 3825114402Sru html_table::is_gap): Compute table widths after converting border 3826114402Sru positions to avoid rounding errors. 3827114402Sru 3828114402Sru2003-04-01 Werner LEMBERG <wl@gnu.org> 3829114402Sru 3830114402Sru * src/devices/grohtml/html-text.cc (html_text::do_space): Handle 3831114402Sru `space_emitted' properly. 3832114402Sru 3833114402Sru2003-03-31 Werner LEMBERG <wl@gnu.org> 3834114402Sru 3835114402Sru * src/devices/grohtml/html-table.cc: Fix column width calculation. 3836114402Sru (html_table::set_linelength): Don't add 1. 3837114402Sru (html_table::add_indent): Don't subtract 1. 3838114402Sru 3839114402Sru * tmac/html.tmac: Set default page offset to zero. 3840114402Sru 3841114402Sru2003-03-30 Werner LEMBERG <wl@gnu.org> 3842114402Sru 3843114402Sru Make groff emit ` ' for `\ ' and `\~' if `-Thtml' is used. 3844114402Sru 3845114402Sru * src/roff/troff/node.cc (space_char_hmotion_node::tprint, 3846114402Sru unbreakable_space_node::tprint): New functions. 3847114402Sru (troff_output_file): Make space_char_hmotion_mode::tprint and 3848114402Sru unbreakable_space_node::tprint to friends. 3849114402Sru * src/roff/troff/node.h: Updated. 3850114402Sru 3851114402Sru * font/devhtml/R.proto: Add ` ' at position 0xA0 (as defined 3852114402Sru in the HTML standard). 3853114402Sru 3854114402Sru2003-03-29 Werner LEMBERG <wl@gnu.org> 3855114402Sru 3856114402Sru * src/roff/troff/env.cc (point_size): Fix emission of html tag. 3857114402Sru Otherwise, the following code 3858114402Sru 3859114402Sru .di xxx 3860114402Sru .ps 10 3861114402Sru a 3862114402Sru .br 3863114402Sru .di 3864114402Sru x\*[xxx] 3865114402Sru 3866114402Sru produces `x a' instead of `xa'. This is a temporary fix, disabling 3867114402Sru font changes in diversions for -Thtml. 3868114402Sru 3869114402Sru * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of 3870114402Sru `HTML-TAG'. 3871114402Sru (an-do-tag-html): Merge with ... 3872114402Sru (an-do-tag): This macro. 3873114402Sru Change code slightly to circumvent grohtml bug. 3874114402Sru * tmac/troffrc-end: Define dummy for HTML-TAG-NS. 3875114402Sru 3876114402Sru * src/devices/grohtml/html-table.cc (html_table::emit_col, 3877114402Sru html_table::is_gap): Round `width' properly. 3878114402Sru 3879114402Sru * tmac/html.tmac: Provide some default layout parameters for 3880114402Sru grohtml. 3881114402Sru 3882114402Sru * font/devhtml/DESC.proto: Don't use discrete values for `sizes' 3883114402Sru command. 3884114402Sru 3885114402Sru2003-03-28 Werner LEMBERG <wl@gnu.org> 3886114402Sru 3887114402Sru src/devices/grops/ps.cc (ps_printer::do_import): Fix error message. 3888114402Sru 3889114402Sru2003-03-27 Werner LEMBERG <wl@gnu.org> 3890114402Sru 3891114402Sru * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is 3892114402Sru defined. 3893114402Sru 3894114402Sru2003-03-20 Werner LEMBERG <wl@gnu.org> 3895114402Sru 3896114402Sru * src/roff/troff/env.cc (vertical_spacing): Allow zero value for 3897114402Sru `.vs'. 3898114402Sru * doc/groff.texinfo: Updated. 3899114402Sru 3900114402Sru2003-03-19 Werner LEMBERG <wl@gnu.org> 3901114402Sru 3902114402Sru * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP, 3903114402Sru TOKEN_END_TRAP>: Reset `have_input'. 3904114402Sru 3905114402Sru2003-03-18 Werner LEMBERG <wl@gnu.org> 3906114402Sru 3907114402Sru * src/roff/groff/groff.man: Mention groff_trace man page. 3908114402Sru 3909114402Sru2003-03-16 Werner LEMBERG <wl@gnu.org> 3910114402Sru 3911114402Sru * Makefile.in (LIBEXT): New variable to indicate the file extension 3912114402Sru of library files. Computed heuristically from $(OBJEXT). 3913114402Sru (MDEFINES): Add $(LIBEXT). 3914114402Sru * Makefile.lib, Makefile.comm: Use it. 3915114402Sru 3916114402Sru * src/utils/pfbtops/pfbtops.c (get_text): New function. Split 3917114402Sru overlong lines into smaller chunks. 3918114402Sru (get_binary): New function. 3919114402Sru (main): Use them. 3920114402Sru * src/utils/pfbtops/pfbtops.man: Updated. 3921114402Sru 3922114402Sru2003-03-15 Colin Watson <cjwatson@debian.org> 3923114402Sru 3924114402Sru * src/roff/groff/groff.man: Minor syntax fix. 3925114402Sru 3926114402Sru2003-03-14 Egil Kvaleberg <egil@kvaleberg.no> 3927114402Sru 3928114402Sru * src/devices/grops/ps.cc (ps_printer::media_set, 3929114402Sru ps_printer::~ps_printer): Handle zero paper width and length. 3930114402Sru 3931114402Sru2003-03-13 Werner LEMBERG <wl@gnu.org> 3932114402Sru 3933114402Sru Add options -p and -l to grodvi. 3934114402Sru 3935114402Sru * src/devices/grodvi/dvi.cc: Include paper.h. 3936114402Sru (landscape_flag, user_paper_length, user_paper_width): New global 3937114402Sru variables. 3938114402Sru (dvi_printer::begin_page): Emit `papersize' special. 3939114402Sru Set color after initialization of `cur_h' and `cur_v'. 3940114402Sru (main): Add options `-l' and `-p'. 3941114402Sru * font/devdvi/Makefile.sub (DESC): Set `papersize'. 3942114402Sru * src/devices/grodvi/grodvi.man, NEWS: Updated. 3943114402Sru 3944114402Sru * src/devices/grops/psrm.cc (valid_input_table): Fixed. 3945114402Sru 3946114402Sru2003-03-12 Werner LEMBERG <wl@gnu.org> 3947114402Sru 3948114402Sru * src/devices/grops/grops.man: Move documentation of .PSPIC to... 3949114402Sru * man/groff_tmac.man: This man page. 3950114402Sru * man/groff_font.man: Declare `paperwidth' and `paperlength' as 3951114402Sru deprecated. 3952114402Sru 3953114402Sru * tmac/X.tmac: Don't load pspic.tmac. 3954114402Sru 3955114402Sru2003-03-11 Werner LEMBERG <wl@gnu.org> 3956114402Sru 3957114402Sru Make variable `pr' local to libdriver/input.cc. Based on a patch 3958114402Sru by Bernd Warken <bwarken@mayn.de>. 3959114402Sru 3960114402Sru * src/include/driver.h (pr): Removed. 3961114402Sru 3962114402Sru * src/libs/libdriver/input.cc (pr): New global variable. 3963114402Sru (do_file): Deallocate `pr'. 3964114402Sru * src/libs/libdriver/printer.cc (pr): Removed. 3965114402Sru 3966114402Sru * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc 3967114402Sru (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc 3968114402Sru (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc 3969114402Sru (main): Don't delete `pr'. 3970114402Sru 3971114402Sru2003-03-10 Werner LEMBERG <wl@gnu.org> 3972114402Sru 3973114402Sru * tmac/a4.tmac, tmac/composite.tmac: Use `.do'. 3974114402Sru * tmac/papersize.tmac: New file. 3975114402Sru * tmac/troffrc: Include `papersize.tmac'. 3976114402Sru * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'. 3977114402Sru * tmac/an-old.tmac: Set LT to LL by default. 3978114402Sru 3979114402Sru * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man, 3980114402Sru doc/groff.texinfo: Updated. 3981114402Sru 3982114402Sru * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing 3983114402Sru bug which caused all odd iso papers to have wrong dimensions. 3984114402Sru 3985114402Sru * src/devices/grops/ps.cc (user_paper_width): New global variable. 3986114402Sru (main) <'p'>: Set `user_paper_width' also. 3987114402Sru (ps_printer::media_width, ps_printer::media_height): Use values 3988114402Sru given with option `-p'. 3989114402Sru 3990114402Sru2003-03-09 Werner LEMBERG <wl@gnu.org> 3991114402Sru 3992114402Sru * src/include/nonposix.h: Provide default for SET_BINARY. 3993114402Sru 3994114402Sru * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc, 3995114402Sru src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY 3996114402Sru unconditionally. 3997114402Sru 3998114402Sru * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally. 3999114402Sru (main): Treat \r\n as \n. 4000114402Sru 4001114402Sru2003-03-08 Werner LEMBERG <wl@gnu.org> 4002114402Sru 4003114402Sru * tmac/an-old.tmac: Use register `HY' to control hyphenation. 4004114402Sru * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it. 4005114402Sru 4006114402Sru2003-03-07 Werner LEMBERG <wl@gnu.org> 4007114402Sru 4008114402Sru Added support to access more than 256 glyphs in Type 1 fonts. 4009114402Sru 4010114402Sru * src/devices/grops/ps.cc (subencoding): New structure. 4011114402Sru (style): Add `sub' field. 4012114402Sru Updated all users. 4013114402Sru (ps_printer): Add `subencodings' and `next_subencoding_index' fields. 4014114402Sru Add `set_subencoding', `get_subfont' and `encode_subfont' member 4015114402Sru functions. 4016114402Sru Updated all users. 4017114402Sru (ps_printer::set_char): Use `set_subencoding'. 4018114402Sru (make_subencoding_name): New function. 4019114402Sru (ps_printer::set_style): Handle case where `sty.sub' is not zero. 4020114402Sru (ps_printer::~ps_printer): Emit subencoding definitions. 4021114402Sru 4022114402Sru * src/devices/grops/psrm.cc (valid_input_table): New array to 4023114402Sru properly support EBCDIC. 4024114402Sru (white_space): Add `\f'. 4025114402Sru (ps_get_line): Change first argument to be of type `string &'. 4026114402Sru Updated all callers. 4027114402Sru This allows to get lines of arbitrary length. 4028114402Sru Use `valid_input_table'. 4029114402Sru Remove warning about non-conforming PS line length. This seems 4030114402Sru not to be of great importance -- for example, dvips don't emit 4031114402Sru a warning either. 4032114402Sru (PS_LINE_MAX): Removed. 4033114402Sru (matches_comment): Change first argument to be of type `string &'. 4034114402Sru 4035114402Sru * src/devices/grops/grops.man, src/devices/grops/TODO: Updated. 4036114402Sru 4037114402Sru * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed, 4038114402Sru %AGL_to_unicode, %default_ligatures): New hash tables. 4039114402Sru Read all map entries. 4040114402Sru Add unencoded characters. 4041114402Sru Check for default ligatures if there are no `L' entries. 4042114402Sru Print all kern entries. 4043114402Sru Print all characters in charset. 4044114402Sru * src/utils/afmtodit/afmtodit.man: Updated. 4045114402Sru 4046114402Sru * font/devps/*: Regerated all fonts. 4047114402Sru 4048114402Sru * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence 4049114402Sru of characters, just use `.trin'. Otherwise the mapping depends 4050114402Sru on the font encoding. 4051114402Sru * tmac/ps.tmac: Add `fi' and `fl'. 4052114402Sru Improve `Fi' and `Fl'. 4053114402Sru * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'. 4054114402Sru * tmac/Xps.tmac: Fix `em'. 4055114402Sru 4056114402Sru * NEWS: Updated. 4057114402Sru 4058114402Sru2003-03-04 Werner LEMBERG <wl@gnu.org> 4059114402Sru 4060114402Sru * src/roff/troff/input.cc (charinfo_to_node_list): Reset 4061114402Sru `have_input'. 4062114402Sru 4063114402Sru2003-03-03 Werner LEMBERG <wl@gnu.org> 4064114402Sru 4065114402Sru * Makefile.sub (DISTCLEANFILES): Add gxditview._man. 4066114402Sru 4067114402Sru * font/devps/generate/textmap: Remove entry `similarequal'. 4068114402Sru * font/devps/symbolmap: Updated. 4069114402Sru 4070114402Sru2003-03-02 Werner LEMBERG <wl@gnu.org> 4071114402Sru 4072114402Sru * src/libs/libgroff/font.cc (font::load): Fix error message for 4073114402Sru bad character type. 4074114402Sru 4075114402Sru * src/devices/grops/grops.man: Improve documentation of the -b 4076114402Sru flag. 4077114402Sru 4078114402Sru * tmac/tty.tmac: Load latin1.tmac for all TTY devices except 4079114402Sru `ascii' and `cp1047'. 4080114402Sru 4081114402Sru2003-03-01 Werner LEMBERG <wl@gnu.org> 4082114402Sru 4083114402Sru Document composite glyphs and the `composite' request. 4084114402Sru 4085114402Sru * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it. 4086114402Sru 4087114402Sru2003-02-28 Werner LEMBERG <wl@gnu.org> 4088114402Sru 4089114402Sru * font/devdvi/generate/ec.map: Add some more Unicode entities. 4090114402Sru * font/devdvi/*EC: Updated. 4091114402Sru 4092114402Sru * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files. 4093114402Sru * tmac/latin1 (latin1-tr): Undo any previous mapping. 4094114402Sru * tmac/troffrc: Load `composite.tmac'. 4095114402Sru * tmac/Makefile.sub (NORMALFILES): Updated. 4096114402Sru 4097114402Sru * doc/groff.texinfo (Input Encodings): New section. 4098114402Sru * NEWS: Updated. 4099114402Sru 4100114402Sru2003-02-27 Werner LEMBERG <wl@gnu.org> 4101114402Sru 4102114402Sru * doc/texinfo.tex: New version 2003-02-11.06. 4103114402Sru 4104114402Sru * tmac/doc-common (Dt): Don't emit warning for unknown section. 4105114402Sru * tmac/groff_mdoc.man: Fix description of `Dt'. 4106114402Sru 4107114402Sru2003-02-26 Egil Kvaleberg <egil@kvaleberg.no> 4108114402Sru 4109114402Sru * font/devps/prologue.ps: Fix for included Postscript that does 4110114402Sru a setpagedevice -- which is now safely ignored. 4111114402Sru 4112114402Sru * NEWS: Updated. 4113114402Sru 4114114402Sru * src/devices/grops/ps.cc: Now sets the page size in the generated 4115114402Sru document. This is done in two ways: Via a %%-comment for gv and 4116114402Sru the like, and via a PageSize and setpagedevice for programs that 4117114402Sru understands Postscript proper, like ps2pdf. 4118114402Sru 4119114402Sru * src/devices/grops/ps.h: New broken-flag to avoid page size 4120114402Sru definition, if required. 4121114402Sru 4122114402Sru * src/devices/grops/grops.man: New broken-flag 16 mentioned. 4123114402Sru 4124114402Sru * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@). 4125114402Sru Not really necessary due to the fix in prologue.ps, but cleaner: 4126114402Sru Such information does not belong in an .eps file. 4127114402Sru 4128114402Sru * doc/Makefile.sub: See doc/Makefile.in. 4129114402Sru 4130114402Sru2003-02-26 Ralph Corderoy <ralph@inputplus.co.uk> 4131114402Sru 4132114402Sru * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing 4133114402Sru instead of P1 since the latter is broken in some versions of netpbm. 4134114402Sru * configure: Updated. 4135114402Sru 4136114402Sru2003-02-26 Larry Kollar <kollar@alltel.net> 4137114402Sru 4138114402Sru Make man pages more customizable. 4139114402Sru 4140114402Sru * tmac/an-old.tmac (FT): New register holding footer distance from 4141114402Sru bottom. 4142114402Sru (HF): New string holding the default heading font. 4143114402Sru (TH): Handle registers `IN' and `SN' set on the command line. 4144114402Sru Use `FT'. 4145114402Sru (PT, BT): New strings to customize header and footer lines. 4146114402Sru (an-header, an-footer): Use them. 4147114402Sru (SH, SS): Use `HF'. 4148114402Sru * tmac/groff_man.man: Document changes. 4149114402Sru 4150114402Sru * doc/groff.texinfo: Document man changes. 4151114402Sru Document Ultrix extensions of man. 4152114402Sru 4153114402Sru2003-02-26 Werner LEMBERG <wl@gnu.org> 4154114402Sru 4155114402Sru * src/roff/troff/input.cc (do_width, do_if_request): Reset 4156114402Sru `have_input' after changing back to old environment. 4157114402Sru 4158114402Sru * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move 4159114402Sru function up to be defined before first call. This is necessary to 4160114402Sru avoid a compilation problem with Sun's WorkShop 6 C++ compiler. 4161114402Sru 4162114402Sru * src/utils/afmtodit/afmtodit.pl: Make script search for files in 4163114402Sru the default font directory also. Based on a patch from James 4164114402Sru J. Ramsey <jjramsey_6x9eq42@yahoo.com>. 4165114402Sru * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@. 4166114402Sru * src/utils/afmtodit/afmtodit.man: Document it. 4167114402Sru 4168114402Sru * NEWS: Updated. 4169114402Sru 4170114402Sru * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes. 4171114402Sru 4172114402Sru2003-02-25 Gaius Mulley <gaius@glam.ac.uk> 4173114402Sru 4174114402Sru * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops. 4175114402Sru (GROFF_PNMTOPS_NOSETPAGE): New macro. 4176114402Sru * configure.ac: Use it. 4177114402Sru * configure: Regenerated. 4178114402Sru * Makefile.in: Updated. 4179114402Sru 4180114402Sru * tmac/Makefile.sub (NORMALFILES): Remove www.tmac. 4181114402Sru (CLEANADD): Add www.tmac-sed. 4182114402Sru (pnmtops_nosetpage): Define default. 4183114402Sru (install_data): Handle www.tmac-sed and substitute 4184114402Sru @PNMTOPS_NOSETPAGE@. 4185114402Sru (stamp-sed): Add www.tmac. 4186114402Sru * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken. 4187114402Sru It now breaks URLs at suitable places. 4188114402Sru (www:substring_ok): New register set by... 4189114402Sru (www:@test_substring): New macro. 4190114402Sru (www:error): New alias to www-error. 4191114402Sru (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted): 4192114402Sru New macros. 4193114402Sru (URL): Use www:url_breaks. 4194114402Sru (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@. 4195114402Sru (CDS, CDE): New macros. 4196114402Sru 4197114402Sru2003-02-25 Werner LEMBERG <wl@gnu.org> 4198114402Sru 4199114402Sru * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid 4200114402Sru buffer overflow. 4201114402Sru 4202114402Sru2003-02-24 Werner LEMBERG <wl@gnu.org> 4203114402Sru 4204114402Sru Contrary to the PCL5 Developer's Guide, the ascenders in TFM files 4205114402Sru can be negative also. 4206114402Sru 4207114402Sru * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be 4208114402Sru `int16'. 4209114402Sru (read_char_table): Avoid negative ascenders. 4210114402Sru (output_charset): Add cast. 4211114402Sru * font/devlj4/*: Regenerated. 4212114402Sru 4213114402Sru Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where 4214114402Sru possible. 4215114402Sru 4216114402Sru * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it. 4217114402Sru * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead 4218114402Sru of `<>'. 4219114402Sru * font/devdvi/*: Regenerated. 4220114402Sru 4221114402Sru Map `la' and `ra' to U+27E8 and U+27E9. These two characters have 4222114402Sru normal width, while the previously used characters (U+2329 and 4223114402Sru U+232A) are classified as wide due to canonical equivalence with the 4224114402Sru CJK punctuation characters U+3008 and U+3009. 4225114402Sru 4226114402Sru * font/devutf8/R.proto: Updated. 4227114402Sru * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto. 4228114402Sru 4229114402Sru * man/groff_char.man: Simplify handling of table traps by 4230114402Sru introducing `start block' and `end block' macros. 4231114402Sru (Ns, Ne, 2s, 2e, Ds, De): New macros. 4232114402Sru (DL): Make it work with Unix troff also. 4233114402Sru Fix code values of `la' and `ra'. 4234114402Sru 4235114402Sru * tmac/dvi.tmac: Define `<>' for CW and CWI. 4236114402Sru 4237114402Sru2003-02-23 Gaius Mulley <gaius@glam.ac.uk> 4238114402Sru 4239114402Sru * src/devices/grohtml/post-html.cc (element_list::~element_list): 4240114402Sru New destructor, fixing a major memory leak. 4241114402Sru 4242114402Sru2003-02-22 Werner LEMBERG <wl@gnu.org> 4243114402Sru 4244114402Sru * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f' 4245114402Sru to be in conformance with Unicode 3.0 and newer. 4246114402Sru 4247114402Sru * font/devlj4/generate/text.map: Add `Eu'. 4248114402Sru * font/devlj4/generate/special.map: Flip `*e' and `+e'. 4249114402Sru * font/devlj4/S: Regenerated. 4250114402Sru 4251114402Sru * man/groff_char.man: Completely rewritten. 4252114402Sru 4253114402Sru * doc/groff.texinfo: Fix description of request and macro arguments. 4254114402Sru 4255114402Sru2003-02-20 Gaius Mulley <gaius@glam.ac.uk> 4256114402Sru 4257114402Sru Valgrind fixes. 4258114402Sru 4259114402Sru * src/devices/grohtml/html-table.cc (html_table::~html_table): 4260114402Sru Deallocate `columns' list. 4261114402Sru * src/devices/grohtml/post-html.cc (char_block::~char_block): 4262114402Sru New destructor. 4263114402Sru (text_glob::text_glob_html, text_glob::text_glob_special, 4264114402Sru text_glob::text_glob_line, text_glob::text_glob_auto_image, 4265114402Sru text_glob::text_glob_tag): Avoid memory leaks. 4266114402Sru (text_glob::remember_table): Free memory before reassigning. 4267114402Sru 4268114402Sru2003-02-19 Werner LEMBERG <wl@gnu.org> 4269114402Sru 4270114402Sru Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the 4271114402Sru alias `hbar'), the Planck constant over two pi. 4272114402Sru 4273114402Sru * font/devdvi/generate/texmi.map: Use `*e' for position 15 and 4274114402Sru `+e' for position 34. 4275114402Sru * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with 4276114402Sru `u2662' and `u2661'. 4277114402Sru * font/devdvi/{MI,S}: Regenerated. 4278114402Sru * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'. 4279114402Sru * font/devlbp/*: Add `hbar' alias. 4280114402Sru * font/devlj4/generate/special.map: Ditto. 4281114402Sru * font/devlj4/S: Regenerated. 4282114402Sru * font/devps/generate/symbolchars: Add `+e'. 4283114402Sru * font/devps/generate/textmap: Fix PS name for `-h'. 4284114402Sru Add `hbar' alias. 4285114402Sru * font/devps/symbolmap: Regenerated. 4286114402Sru 4287114402Sru * src/devices/grops/ps.cc (transform_fill): Removed since unused. 4288114402Sru 4289114402Sru * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e', 4290114402Sru `-h', `hbar'. 4291114402Sru * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e', 4292114402Sru `-h'. 4293114402Sru 4294114402Sru * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and 4295114402Sru `hbar'. 4296114402Sru * tmac/tty-char.tmac: Add `+e'. 4297114402Sru 4298114402Sru2003-02-17 Werner LEMBERG <wl@gnu.org> 4299114402Sru 4300114402Sru Another round trying to really fix problems with `have_input'. 4301114402Sru 4302114402Sru * src/roff/troff/input.cc (input_stack::get): Handle `have_input'. 4303114402Sru (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'. 4304114402Sru 4305114402Sru * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color 4306114402Sru handling if both foreground and background colors are default. 4307114402Sru 4308114402Sru * doc/groff.texinfo (Debugging): Document .lf differences to 4309114402Sru AT&T troff. 4310114402Sru 4311114402Sru2003-02-16 Werner LEMBERG <wl@gnu.org> 4312114402Sru 4313114402Sru * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid 4314114402Sru null-bytes in created string. 4315114402Sru 4316114402Sru * src/roff/troff/input.cc (lookup_color, interpolate_macro, 4317114402Sru alias_macro, lookup_request): Improve warning messages. 4318114402Sru 4319114402Sru * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave', 4320114402Sru not `strdup'. 4321114402Sru Free `last_image_filename'. 4322114402Sru 4323114402Sru * src/preproc/html/pre-html.cc (char_block::char_block): Initialize 4324114402Sru `buffer'. 4325114402Sru (imageList::createPage, imageList::createImage): Use `free', not 4326114402Sru `a_delete'. 4327114402Sru (imageItem::~imageItem): Free `imageName'. 4328114402Sru (addRegDef): Use `strsave', not `strdup'. 4329114402Sru (get_resolution): Free `pathp'. 4330114402Sru 4331114402Sru2003-02-15 Werner LEMBERG <wl@gnu.org> 4332114402Sru 4333114402Sru * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer 4334114402Sru to `dummy'. 4335114402Sru 4336114402Sru2003-02-14 Werner LEMBERG <wl@gnu.org> 4337114402Sru 4338114402Sru Add memory management for colors to deallocate unnamed colors 4339114402Sru properly. 4340114402Sru 4341114402Sru * src/include/color.h (color): New members `free_list' and `next'. 4342114402Sru New member functions `new' and `delete'. 4343114402Sru Add destructor. 4344114402Sru * src/libs/libgroff/color.cc: Implement it. 4345114402Sru 4346114402Sru * src/libs/libgroff/font.cc (font::add_kern): Use integer cast 4347114402Sru for array size of new operator. 4348114402Sru 4349114402Sru * src/libs/libdriver/input.cc (IntArray::operator[]): Remove 4350114402Sru redundant comparison. 4351114402Sru 4352114402Sru * src/roff/troff/input.cc (word_space_node::reread, 4353114402Sru hmotion_node::reread): Avoid warning about unused parameter. 4354114402Sru (reset_output_registers): Remove redundant parameter. 4355114402Sru (define_color): Undo change 2003-02-12. 4356114402Sru 4357114402Sru * src/roff/troff/reg.h: Updated. 4358114402Sru 4359114402Sru * src/roff/troff/node.cc (troff_output_file::really_print_line, 4360114402Sru output_file::put_filename, real_output_file::really_put_filename, 4361114402Sru ascii_output_file::really_print_line, 4362114402Sru break_char_node::get_hyphen_list): Avoid warning about unused 4363114402Sru parameter. 4364114402Sru (suppress_node::tprint): Updated. 4365114402Sru 4366114402Sru * configure.ac: Check declaration for rand() and srand(). 4367114402Sru * configure: Regenerated. 4368114402Sru 4369114402Sru * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand() 4370114402Sru conditionally. 4371114402Sru * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(), 4372114402Sru and srand(). 4373114402Sru 4374114402Sru * src/preproc/eqn/delim.cc (delim_table): Add missing initializers 4375114402Sru to avoid compiler warnings. 4376114402Sru 4377114402Sru * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is 4378114402Sru unused. 4379114402Sru 4380114402Sru * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter 4381114402Sru is unused. 4382114402Sru * src/devices/grops/psrm.cc (skip_possible_newline): Remove first 4383114402Sru (unused) parameter. 4384114402Sru Updated all callers. 4385114402Sru 4386114402Sru * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter 4387114402Sru is unused. 4388114402Sru * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto. 4389114402Sru * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto. 4390114402Sru 4391114402Sru * src/devices/grohtml/post-html.cc (html_printer::emit_line): 4392114402Sru Parameter is unused. 4393114402Sru (html_printer::add_table_end): Define parameter conditionally. 4394114402Sru * src/devices/grohtml/output.cc (simple_output::special): Parameter 4395114402Sru is unused. 4396114402Sru 4397114402Sru * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally. 4398114402Sru (lbp_printer::set_char): Last parameter is unused. 4399114402Sru 4400114402Sru * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison. 4401114402Sru 4402114402Sru2003-02-13 Werner LEMBERG <wl@gnu.org> 4403114402Sru 4404114402Sru New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality. 4405114402Sru Make \D'f ...' move horizontally again for backwards compatibility. 4406114402Sru Replace it with \D'Fg ...' where appropriate to avoid dependency 4407114402Sru on horizontal resolution. 4408114402Sru 4409114402Sru * src/roff/troff/input.cc (do_get_long_name): New function. 4410114402Sru (get_long_name): Call it. 4411114402Sru 4412114402Sru (read_draw_node): Handle `\D'Fx ...' by calling ... 4413114402Sru (read_color_draw_node): New function. 4414114402Sru 4415114402Sru (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument 4416114402Sru `end'. 4417114402Sru Pass it to `do_get_long_name' which is used instead of 4418114402Sru `get_long_name'. 4419114402Sru 4420114402Sru * src/libs/libdriver/input.cc (color_from_Df_command): Remove 4421114402Sru unnecessary value guard. 4422114402Sru (parse_D_command) <'f'>: Add horizontal shift. 4423114402Sru 4424114402Sru * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'. 4425114402Sru * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto. 4426114402Sru (FILL_MAX): Removed. 4427114402Sru 4428114402Sru * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: 4429114402Sru Updated. 4430114402Sru 4431114402Sru2003-02-12 Werner LEMBERG <wl@gnu.org> 4432114402Sru 4433114402Sru * src/roff/troff/input.cc (do_name_test, do_expr_test, 4434114402Sru do_zero_width): Push `\n' if closing delimiter is missing. 4435114402Sru 4436114402Sru (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'. 4437114402Sru <'F'>: Make \F non-transparent at the beginning of line. 4438114402Sru (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE, 4439114402Sru token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle 4440114402Sru `have_input'. 4441114402Sru 4442114402Sru (define_color): Free color in case of reassignment. 4443114402Sru 4444114402Sru * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem, 4445114402Sru @DefescListEnd): Use @Var, not @var. 4446114402Sru Fix all calls. 4447114402Sru 4448114402Sru * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo. 4449114402Sru 4450114402Sru * src/preproc/pic/object.cc (object_spec::~object_spec): Free 4451114402Sru `shaded' and `outlined' arrays. 4452114402Sru (object_spec::object_spec): Initialize `shaded' and `outlined'. 4453114402Sru (graphic_object::set_fill_color, graphic_object::set_outline_color): 4454114402Sru Use strsave. 4455114402Sru (closed_object::set_fill_color): Ditto. 4456114402Sru * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave 4457114402Sru instead of strdup. 4458114402Sru (troff_output::reset_color): Use a_delete instead of free. 4459114402Sru * src/preproc/pic/main.cc (do_file): Free `out' in case of error. 4460114402Sru 4461114402Sru2003-02-11 Werner LEMBERG <wl@gnu.org> 4462114402Sru 4463114402Sru * doc/groff.texinfo: Improve documentation of `ad'. 4464114402Sru Document that \D'f...' is dependent on the horizontal resolution. 4465114402Sru * man/groff_diff.man: Improve documentation of \D'f...'. 4466114402Sru 4467114402Sru * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit 4468114402Sru compensating \h'...' for \D'f ...' since the latter no longer moves 4469114402Sru current position. 4470114402Sru * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto. 4471114402Sru 4472114402Sru2003-02-10 Werner LEMBERG <wl@gnu.org> 4473114402Sru 4474114402Sru Improve error messages for `x F' (and `F') commands. 4475114402Sru 4476114402Sru * src/include/error.h: Add declaration for 4477114402Sru `current_source_filename'. 4478114402Sru * src/libs/libgroff/filename.cc: Add `current_source_filename'. 4479114402Sru * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add 4480114402Sru parameter for source file string. 4481114402Sru Updated all callers. 4482114402Sru 4483114402Sru * src/libs/libdriver/input.cc: Add `current_source_filename'. 4484114402Sru (remember_source_filename): New function. 4485114402Sru (parse_x_command <'F'>, do_file <'F'>): Use it. 4486114402Sru 4487114402Sru2003-02-09 Werner LEMBERG <wl@gnu.org> 4488114402Sru 4489114402Sru Make grotty not emit warnings about unknown colors more than 4490114402Sru necessary. 4491114402Sru 4492114402Sru * src/devices/grotty/tty.cc: Include `ptable.h'. 4493114402Sru (TTY_MAX_COLORS): Removed. 4494114402Sru (DEFAULT_COLOR_IDX): Defined to -1. 4495114402Sru (glyph): Change `back_color_idx' and `fore_color_idx' to `char'. 4496114402Sru (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'. 4497114402Sru Change `tty_colors' to be a ptable. 4498114402Sru First arg of `put_color' is now `char'. 4499114402Sru New functions `make_rgb_string' and `tty_color'. 4500114402Sru (tty_printer::tty_printer): Use `tty_color'. 4501114402Sru (tty_printer::color_to_idx): Return value is now `char'. 4502114402Sru Use `tty_color'. 4503114402Sru 4504114402Sru * src/include/color.h (color): Add `print_color' member function. 4505114402Sru * src/libs/libgroff/color.cc (color::print_color): Implement it. 4506114402Sru 4507114402Sru2003-02-08 Werner LEMBERG <wl@gnu.org> 4508114402Sru 4509114402Sru Valgrind fixes. 4510114402Sru 4511114402Sru * src/devices/grops/ps.cc (ps_printer::define_encoding): Close 4512114402Sru encoding file. 4513114402Sru 4514114402Sru * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always 4515114402Sru assume that value has been allocated with `new[]', thus use 4516114402Sru `a_delete' for deallocation. 4517114402Sru 4518114402Sru * src/libs/libdriver/input.cc (get_integer_arg, 4519114402Sru get_possibly_int_args, parse_x_command, do_file): Use `a_delete' 4520114402Sru where appropriate. 4521114402Sru 4522114402Sru * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define. 4523114402Sru * src/libs/libgroff/nametoindex.cc 4524114402Sru (character_indexer::named_char_index): Use `new <type>[1]'. 4525114402Sru 4526114402Sru * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new 4527114402Sru <type>[1]'. 4528114402Sru * src/preproc/eqn/text.cc (set_special_char_type): Ditto. 4529114402Sru (split_text): Use `a_delete'. 4530114402Sru 4531114402Sru * src/preproc/pic/pic.y (define_label, define_variable): Use `new 4532114402Sru <type>[1]'. 4533114402Sru 4534114402Sru * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid 4535114402Sru harmless memory leak. 4536114402Sru (hyphen_trie::read_patterns_file): Initialize `buf'. 4537114402Sru * src/roff/troff/node.cc (troff_output_file::troff_output_file): 4538114402Sru Initialize `current_fill_color'and `current_glyph_color'. 4539114402Sru * src/roff/troff/glyphuni.cc 4540114402Sru (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'. 4541114402Sru * src/roff/troff/uniuni.cc 4542114402Sru (unicode_decompose_init::unicode_decompose_init): Ditto. 4543114402Sru * src/roff/troff/uniglyph.cc 4544114402Sru (unicode_to_glyph_init::unicode_to_glyph_init): Ditto. 4545114402Sru 4546114402Sru2003-01-26 Werner LEMBERG <wl@gnu.org> 4547114402Sru 4548114402Sru * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with 4549114402Sru `access' before calling `unlink'. 4550114402Sru (do_file): Handle __EMX__. 4551114402Sru 4552114402Sru * src/include/nonposix.h: Handle __EMX__. 4553114402Sru 4554114402Sru * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@. 4555114402Sru (fontpath,tmacpath): Use it. 4556114402Sru (MDEFINES): Add it. 4557114402Sru Sorted alphabetically. 4558114402Sru 4559114402Sru * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use 4560114402Sru @SEP@. 4561114402Sru * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle 4562114402Sru @SEP@. 4563114402Sru 4564114402Sru2003-01-27 Werner LEMBERG <wl@gnu.org> 4565114402Sru 4566114402Sru * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c: 4567114402Sru New files, copied from gnulib. 4568114402Sru * src/libs/libgroff/Makefile.sub (CSRCS): Add them. 4569114402Sru * configure.ac: Updated. 4570114402Sru * configure: Regenerated. 4571114402Sru 4572114402Sru * src/include/config.hin: Regenerated. 4573114402Sru * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'. 4574114402Sru Don't define `strcasecmp' as `strcmp'. 4575114402Sru [!HAVE_STRNCASECMP]: Declare `strncasecmp'. 4576114402Sru Dont define `strncasecmp' as `strncmp'. 4577114402Sru 4578114402Sru * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]: 4579114402Sru Removed. 4580114402Sru 4581114402Sru2003-01-26 Werner LEMBERG <wl@gnu.org> 4582114402Sru 4583114402Sru * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo: 4584114402Sru s/unline/unlink/. 4585114402Sru 4586114402Sru2003-01-25 Werner LEMBERG <wl@gnu.org> 4587114402Sru 4588114402Sru * doc/groff.texinfo (Ligatures and Kerning): Mention limitations. 4589114402Sru 4590114402Sru2003-01-24 Werner LEMBERG <wl@gnu.org> 4591114402Sru 4592114402Sru Add US-english hyphenation exceptions (converted from Barbara 4593114402Sru Beeton's hyphenation exception log reports which appear irregularly 4594114402Sru in TUGBoat). 4595114402Sru 4596114402Sru * tmac/hyphen.us: Updated to latest version. 4597114402Sru * tmac/README: Updated. 4598114402Sru * tmac/hyphenex.us, tmac/hyphenex.sh: New files. 4599114402Sru * tmac/troffrc: Load `hyphenex.us'. 4600114402Sru * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'. 4601114402Sru * doc/groff.texinfo: Updated. 4602114402Sru 4603114402Sru2003-01-23 Werner LEMBERG <wl@gnu.org> 4604114402Sru 4605114402Sru Improve hyphenation slightly. This is a first step in redesigning 4606114402Sru the hyphenation algorithm to make it more flexible (e.g. allowing 4607114402Sru kerns and ligatures between the hyphenation character and the 4608114402Sru following character -- while not used normally in English, other 4609114402Sru languages like German would benefit). 4610114402Sru 4611114402Sru * src/roff/troff/env.cc (environment::hyphenate_line): Use 4612114402Sru assertion instead of if-clause. 4613114402Sru Let `get_hyphen_list' return the number of involved characters in 4614114402Sru the hyphenation pattern instead of computing it directly (which 4615114402Sru often yields too small values). 4616114402Sru * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter. 4617114402Sru * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second 4618114402Sru parameter. 4619114402Sru 4620114402Sru2003-01-22 Werner LEMBERG <wl@gnu.org> 4621114402Sru 4622114402Sru Fixing a bug which caused groff to hang if the hyphenation exception 4623114402Sru dictionary tried to grow. 4624114402Sru 4625114402Sru * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation, 4626114402Sru hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use 4627114402Sru pointer to dictionary. 4628114402Sru 4629114402Sru2003-01-20 Werner LEMBERG <wl@gnu.org> 4630114402Sru 4631114402Sru * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress 4632114402Sru negative left italic correction. 4633114402Sru * src/utils/afmtodit/afmtodit.man: Document it. 4634114402Sru 4635114402Sru * font/devps/generate/Makefile (RFLAG): Add `-m'. 4636114402Sru * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR, 4637114402Sru S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'. 4638114402Sru 4639114402Sru * NEWS: Updated. 4640114402Sru 4641114402Sru2003-01-16 Werner LEMBERG <wl@gnu.org> 4642114402Sru 4643114402Sru * NEWS: Updated. 4644114402Sru 4645114402Sru2003-01-16 J�rgen Grahn <jgrahn@algonet.se> 4646114402Sru 4647114402Sru * src/preproc/refer/refer.man: Mention REFER environment variable. 4648114402Sru 4649114402Sru2003-01-05 Werner LEMBERG <wl@gnu.org> 4650114402Sru 4651114402Sru Similar to \[is], the square root glyph (\[sr]) and the square root 4652114402Sru extension glyph (\[radicalex]) are now text symbols. The new 4653114402Sru mathematical versions are called \[sqrt] and \[sqrtex], 4654114402Sru respectively. 4655114402Sru 4656114402Sru * font/devX*/S: Regenerated. 4657114402Sru * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'. 4658114402Sru * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'. 4659114402Sru * font/devdvi/EX, font/devdvi/S: Regenerated. 4660114402Sru * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'. 4661114402Sru * font/devlj4/generate/special.map: Add `sqrt'. 4662114402Sru * font/devlj4/S: Regenerated. 4663114402Sru * font/devps/generate/textmap: Add `sqrt'. 4664114402Sru * font/devps/S, font/devps/symbolmap: Regenerated. 4665114402Sru 4666114402Sru * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR, 4667114402Sru SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'. 4668114402Sru * src/roff/troff/input.cc (init_charset_table): Make `sqrtex' 4669114402Sru overlap horizontally. 4670114402Sru 4671114402Sru * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'. 4672114402Sru * tmac/dvi.tmac: Add `sr', and `sqrtex'. 4673114402Sru Fix `radicalex'. 4674114402Sru 4675114402Sru * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex' 4676114402Sru and `sqrtex' are overlapping glyphs. 4677114402Sru 4678114402Sru2003-01-04 Werner LEMBERG <wl@gnu.org> 4679114402Sru 4680114402Sru * font/devdvi/generate/texsy.map: Add `is'. 4681114402Sru * font/devps/symbolmap: Regenerated. 4682114402Sru * font/devdvi/*TC, MI, S: Regenerated. 4683114402Sru 4684114402Sru * tmac/dvi.tmac: Remove `is'. 4685114402Sru 4686114402Sru2003-01-03 Werner LEMBERG <wl@gnu.org> 4687114402Sru 4688114402Sru `is' is now a text symbol (only relevant for dvi). The math variant 4689114402Sru can be accessed with `integral'. 4690114402Sru 4691114402Sru * font/devX*/S: Regenerated. 4692114402Sru * font/devdvi/generate/texex.map: Remove `is'. 4693114402Sru * font/devdvi/EX: Updated. 4694114402Sru * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'. 4695114402Sru * font/devlj4/generate/special.map: Ditto. 4696114402Sru * font/devlj4/S: Regenerated. 4697114402Sru * font/devps/generate/textmap: Add `integral'. 4698114402Sru * font/devps/S: Regenerated. 4699114402Sru 4700114402Sru * tmac/dvi.tmac: Define `is'. 4701114402Sru 4702114402Sru * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'. 4703114402Sru 4704114402Sru * src/preproc/tbl/main.cc (process_format): Fix error message. 4705114402Sru 4706114402Sru2003-01-02 Werner LEMBERG <wl@gnu.org> 4707114402Sru 4708114402Sru * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'. 4709114402Sru * font/devps/textmap: Fix entries for `ne' and `nc'. 4710114402Sru * font/devps/symbolmap: Regenerated. 4711114402Sru 4712114402Sru * src/roff/troff/glyphuni.cc (glyph_to_unicode_list), 4713114402Sru src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18', 4714114402Sru `38', `58', `78', `-+', `|=', `nc', `ne'. 4715114402Sru 4716114402Sru * tmac/dvi.tmac: Add `nm', `ne', `nc'. 4717114402Sru Use `schar' for `aq'. 4718114402Sru * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'. 4719114402Sru * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'. 4720114402Sru * tmac/tty.tmac: Add `ne'. 4721114402Sru 4722114402Sru * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro' 4723114402Sru for fallback glyphs. 4724114402Sru 4725114402Sru2002-12-29 Werner LEMBERG <wl@gnu.org> 4726114402Sru 4727114402Sru Add glyph `|='. 4728114402Sru 4729114402Sru * font/devX*/*: Regenerated. 4730114402Sru * font/devdvi/generate/ec.map: Remove `eq'. 4731114402Sru * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'. 4732114402Sru Assign `|=' to position 39. 4733114402Sru * font/devdvi/*EC, S: Regenerated. 4734114402Sru * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='. 4735114402Sru * font/devlj4/generate/special.map: Make `~=' the same as `~~'. 4736114402Sru Assign `|=' to position 549. 4737114402Sru * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove 4738114402Sru `equalmath'. 4739114402Sru Add `uni2243' for `|='. 4740114402Sru 4741114402Sru * tmac/ec.tmac: Add `eq'. 4742114402Sru * tmac/dvi.tmac: Add `=~'. 4743114402Sru * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add 4744114402Sru `|='. 4745114402Sru 4746114402Sru2002-12-21 Werner LEMBERG <wl@gnu.org> 4747114402Sru 4748114402Sru * font/devdvi/generate/tc.map: Remove `**'. 4749114402Sru * font/devdvi/*TC: Regenerated. 4750114402Sru * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58', 4751114402Sru `78', `<<', `>>'. 4752114402Sru * font/devutf8/NOTES: Updated. 4753114402Sru 4754114402Sru * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function. 4755114402Sru Don't give default parameter to `set_macro'. 4756114402Sru * src/roff/troff/input.cc (do_define_character): Use `setx_macro' 4757114402Sru instead of `set_macro'. 4758114402Sru (charinfo::setx_macro): Implement it. 4759114402Sru (charinfo::set_macro): Don't change `mode'. 4760114402Sru 4761114402Sru * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'. 4762114402Sru * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'. 4763114402Sru * tmac/dvi.tmac: Define `!=' with `.schar'. 4764114402Sru 4765114402Sru2002-12-20 Werner LEMBERG <wl@gnu.org> 4766114402Sru 4767114402Sru * font/devX*/S: Regenerated. 4768114402Sru * font/devdvi/generate/ec.map: Remove `pl'. 4769114402Sru * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'. 4770114402Sru * font/devdvi/*{TC,EC}: Regenerated. 4771114402Sru * font/devhtml/R.proto: Add `-+'. 4772114402Sru Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'. 4773114402Sru * font/devlbp/*: Remove `or'. 4774114402Sru * font/devlj4/generate/special.map: Remove `or'. 4775114402Sru * font/devlj4/S: Regenerated. 4776114402Sru * font/devps/generate/textmap: Add `fiveeighths', `oneeighth', 4777114402Sru `seveneighths', `threeeighths'. 4778114402Sru Remove `plusmath'. 4779114402Sru Replace `minusplus' with `uni2213'. 4780114402Sru * font/devps/symbolmap: Regenerated. 4781114402Sru * font/devutf8/R.proto: Replace `shc' with unnamed glyph. 4782114402Sru Add `-+'. 4783114402Sru 4784114402Sru * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline 4785114402Sru function. 4786114402Sru * src/roff/troff/node.cc (troff_output_file::put_char_width): 4787114402Sru Call glyph_color and fill_color even if tcommand_flag isn't set. 4788114402Sru (make_node, node::add_char): Check not ci->is_fallback but 4789114402Sru ci->is_normal. 4790114402Sru 4791114402Sru * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'. 4792114402Sru * tmac/ec.tmac: Add .rchar entry for `f/'. 4793114402Sru Don't remove `12', `14', `34'. 4794114402Sru Define `pl' to be always roman. 4795114402Sru * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros. 4796114402Sru Define `18', `38', `58', `78'. 4797114402Sru * tmac/tty.tmac: Add `-+'. 4798114402Sru * tmac/dvi.tmac: Define `f/'. 4799114402Sru (dvi-frac): Use `f/'. 4800114402Sru * tmac/X.tmac (X-frac, X-frac-mono): New macros. 4801114402Sru Define `18', `38', `58', `78'. 4802114402Sru 4803114402Sru2002-12-15 Colin Watson <cjwatson@debian.org> 4804114402Sru 4805114402Sru * contrib/pic2graph/pic2graph.sh: Add missing `;;'. 4806114402Sru 4807114402Sru2002-12-10 Werner LEMBERG <wl@gnu.org> 4808114402Sru 4809114402Sru Add glyph `tno', a textual variant of `no'. 4810114402Sru 4811114402Sru * font/devX*/*: Regenerated. 4812114402Sru * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'. 4813114402Sru * font/devdvi/generate/{tc.map: Replace `no' with `tno'. 4814114402Sru * font/devdvi/generated/{texsy,textex}.map: Add `tno'. 4815114402Sru * font/devdvi/*: Regenerated. 4816114402Sru * font/devlbp/*: Add `tno'. 4817114402Sru * font/devlj4/generate/tex.map: Replace `no' with `tno'. 4818114402Sru * font/devlj4/*: Regenerated. 4819114402Sru * font/devps/generate/textmap: Replace `no' with `tno'. 4820114402Sru * font/devps/generate/symbolchars: Add `no'. 4821114402Sru * font/devps/*: Regenerated. 4822114402Sru 4823114402Sru * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'. 4824114402Sru 4825114402Sru * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'. 4826114402Sru * tmac/tty-char.tmac: Add entry for `tno' and `3d'. 4827114402Sru 4828114402Sru * NEWS: Updated. 4829114402Sru 4830114402Sru * tmac/dvi.tmac: Replace most `\\' with `\E'. 4831114402Sru Add definition for `sd'. 4832114402Sru * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'. 4833114402Sru 4834114402Sru * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph. 4835114402Sru 4836114402Sru2002-12-08 Werner LEMBERG <wl@gnu.org> 4837114402Sru 4838114402Sru * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff 4839114402Sru mode to avoid rounding errors. 4840114402Sru (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'. 4841114402Sru 4842114402Sru * src/roff/groff/groff.man, src/roff/nroff/nroff.man, 4843114402Sru src/roff/troff/troff.man: Improve documentation of -T. 4844114402Sru 4845114402Sru2002-12-07 Jeff Conrad <jeff_conrad@msn.com> 4846114402Sru 4847114402Sru * src/roff/groff/pipeline.c: Don't define `const' for _WIN32. 4848114402Sru (run_pipeline) [_WIN32]: Provide working function without `fork'. 4849114402Sru 4850114402Sru2002-12-06 Werner LEMBERG <wl@gnu.org> 4851114402Sru 4852114402Sru * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol 4853114402Sru glyphs compatible to Adobe's Euro fonts (scaling them down a bit). 4854114402Sru Scaling Euro.sansserif glyphs down to have the same height as 4855114402Sru digits. 4856114402Sru Removed unnecessary points; added some extrema. 4857114402Sru 4858114402Sru * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa: 4859114402Sru Regenerated. 4860114402Sru 4861114402Sru2002-12-04 Werner LEMBERG <wl@gnu.org> 4862114402Sru 4863114402Sru * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted' 4864114402Sru and `Euro.symbol.bold.slanted'. 4865114402Sru Improve some glyph offsets and widths. 4866114402Sru * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa: 4867114402Sru Regenerated. 4868114402Sru * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix 4869114402Sru typo. 4870114402Sru * font/devps/generate/sfdtopfa.pe: Generate PFA in current 4871114402Sru direcory. 4872114402Sru 4873114402Sru * tmac/europs.tmac: Updated to new glyph indices. 4874114402Sru Use Euro.symbol for font familiy `A'. 4875114402Sru 4876114402Sru * doc/groff.texinfo: Minor improvements. 4877114402Sru 4878114402Sru2002-12-02 Werner LEMBERG <wl@gnu.org> 4879114402Sru 4880114402Sru * font/devdvi/generate.tc.map: s/%O/%0/. 4881114402Sru * font/devdvi/*TC: Regenerated. 4882114402Sru 4883114402Sru * src/roff/troff/div.cc (init_div_requests): Sorted. 4884114402Sru 4885114402Sru * tmac/dvi.tmac: Remove `Ye'. 4886114402Sru * tmac/ec.tmac: Remove `Ye'. 4887114402Sru Add .rchar entry for `de'. 4888114402Sru 4889114402Sru * man/groff.man, man/groff_diff.man: Document register `.pe'. 4890114402Sru * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'. 4891114402Sru * NEWS: Updated. 4892114402Sru 4893114402Sru2002-11-30 Werner LEMBERG <wl@gnu.org> 4894114402Sru 4895114402Sru Add PS font for various Euro glyphs. 4896114402Sru 4897114402Sru * font/devps/generate/freeeuro.sfd: New master font file for 4898114402Sru pfaedit. 4899114402Sru * font/devps/generate/sfdtopfa.pe: New conversion script for 4900114402Sru pfaedit. 4901114402Sru * font/devps/generate/Makefile (FONTS): Add `EURO'. 4902114402Sru (EURO, freeeuro.afm, freeeuro.pfa): New rules. 4903114402Sru * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from 4904114402Sru `freeeuro.sfd'. 4905114402Sru * font/devps/EURO: Generated from `freeeuro.afm'. 4906114402Sru * font/devps/download: Add `freeuro.pfa'. 4907114402Sru * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and 4908114402Sru `freeeuro.pfa'. 4909114402Sru 4910114402Sru * tmac/europs.tmac: New file. 4911114402Sru * tmac/ps.tmac: Include `europs.tmac'. 4912114402Sru * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'. 4913114402Sru 4914114402Sru2002-11-29 Werner LEMBERG <wl@gnu.org> 4915114402Sru 4916114402Sru * font/devdvi/generate/texsy.map: Remove `lh' and `rh'. 4917114402Sru * font/devdvi/S: Regenerated. 4918114402Sru * font/devhtml/R.proto: Fix `CR' and `ci'. 4919114402Sru Add `OK'. 4920114402Sru * font/devps/generate/textmap: Fix `lh', `rh', and `sq'. 4921114402Sru Remove `bs'. 4922114402Sru * font/devps/symbolmap: Regenerated. 4923114402Sru * font/devutf8/R.proto: Fix `CR' and `ci'. 4924114402Sru Add `OK'. 4925114402Sru * font/devutf8/NOTES: Updated. 4926114402Sru 4927114402Sru * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and 4928114402Sru `ci'. 4929114402Sru Add `OK'. 4930114402Sru * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto. 4931114402Sru 4932114402Sru * tmac/dvi.tmac: Add `lh' and `rh'. 4933114402Sru * tmac/Xps.tmac: Fix `lh' and `rh'. 4934114402Sru * tmac/X.tmac: Add `OK'. 4935114402Sru * tmac/lj4.tmac: Ditto. 4936114402Sru 4937114402Sru2002-11-24 Werner LEMBERG <wl@gnu.org> 4938114402Sru 4939114402Sru * font/devX*/S: Regenerated. 4940114402Sru * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb', 4941114402Sru `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'. 4942114402Sru * font/devdvi/generate/texsy.map: Remove `or' glyph. 4943114402Sru * font/devdvi/S: Regenerated. 4944114402Sru * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs 4945114402Sru `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp', 4946114402Sru `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex', 4947114402Sru `bracketleftbt', `bracketrighttp', `bracketrightex', 4948114402Sru `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt', 4949114402Sru `braceex', `braceleftex', `bracerightex', `bracerighttp', 4950114402Sru `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk', 4951114402Sru `rb', and `bv'. 4952114402Sru * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto. 4953114402Sru * font/devutf8/NOTES: Updated. 4954114402Sru * font/devlj4/generate/special.map: Add glyph `braceex'. 4955114402Sru * font/devlj4/S: Regenerated. 4956114402Sru 4957114402Sru * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'. 4958114402Sru 4959114402Sru2002-11-14 Werner LEMBERG <wl@gnu.org> 4960114402Sru 4961114402Sru * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va' 4962114402Sru and `vA'. 4963114402Sru Fix code for `an'. 4964114402Sru * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto. 4965114402Sru 4966114402Sru * doc/texinfo.tex: New version from texinfo 4.3. 4967114402Sru * doc/groff.texinfo: Updated for texinfo 4.3. 4968114402Sru Use @tie{} where appropriate. 4969114402Sru * font/devdvi/generate/ec.map: Don't include `or' and `bv'. 4970114402Sru * font/devdvi/generate/tc.map: Remove `rn'. 4971114402Sru * font/devdvi/*TC, font/devdvi/*EC: Regenerated. 4972114402Sru * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'. 4973114402Sru Fix code for `an'. 4974114402Sru * font/devX100/*, font/devX100-12/*, font/devX75/*, 4975114402Sru font/devX75-12/*: Regenerated. 4976114402Sru 4977114402Sru * tmac/dvi.tmac: Add special fonts `SA' and `SB'. 4978114402Sru Use .char (again) for `br', `ul', `rn', `or', and `ru'. 4979114402Sru Improve definition of `an'. 4980114402Sru * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and 4981114402Sru `ru'. 4982114402Sru * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'. 4983114402Sru * tmac/X.tmac: Add definition for `or'. 4984114402Sru * tmac/Xps.tmac: Undo change 2002-11-05. 4985114402Sru * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'. 4986114402Sru 4987114402Sru2002-11-11 Werner LEMBERG <wl@gnu.org> 4988114402Sru 4989114402Sru * src/roff/troff/node.cc (troff_output_file::put_char): Always 4990114402Sru call flush_tbuf. 4991114402Sru 4992114402Sru2002-11-10 Werner LEMBERG <wl@gnu.org> 4993114402Sru 4994114402Sru Added three new requests `schar', `fschar', and `rfschar'. `schar' 4995114402Sru defines a glyph which is searched after the check for fonts declared 4996114402Sru with `.special' (and before the check for all mounted special 4997114402Sru fonts). `fschar' defines a glyph for a particular font which is 4998114402Sru searched after the check for fonts declared with `.fspecial' (and 4999114402Sru before the check for fonts declared with `.special'). `rfschar' 5000114402Sru removes glyphs defined with `fschar'. 5001114402Sru 5002114402Sru * src/roff/troff/token.h (char_mode): New enum. 5003114402Sru Declare do_define_character. 5004114402Sru * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with 5005114402Sru `mode'. 5006114402Sru (charinfo::is_fallback): Updated. 5007114402Sru (charinfo::is_special): New method. 5008114402Sru * src/roff/troff/input.cc (do_define_character): Add and use 5009114402Sru optional second parameter used as a prefix for font-specific glyph 5010114402Sru names. 5011114402Sru (define_character, define_fallback_character): Updated. 5012114402Sru (define_special_character): New function. 5013114402Sru (init_input_requests): Add `schar'. 5014114402Sru (charinfo::charinfo, charinfo::set_macro): Updated. 5015114402Sru * src/roff/troff/node.cc: Include `stringclass.h'. 5016114402Sru (make_glyph_node): Handle special glyphs defined with `.schar' and 5017114402Sru `.fschar'. 5018114402Sru (define_font_special_character, remove_font_special_character): New 5019114402Sru functions. 5020114402Sru (init_node_requests): Sorted. 5021114402Sru Add `fschar' and `rfschar'. 5022114402Sru * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: 5023114402Sru Document new requests. 5024114402Sru 5025114402Sru * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'. 5026114402Sru * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar'). 5027114402Sru 5028114402Sru2002-11-08 Werner LEMBERG <wl@gnu.org> 5029114402Sru 5030114402Sru Added new font `SC' (cmtex10) to devdvi. 5031114402Sru 5032114402Sru * devdvi/generate/Makefile (FONTS): Add `SC'. 5033114402Sru (SC): New rule. 5034114402Sru * devdvi/generate/textex.map: New map file for cmtex. 5035114402Sru * devdvi/SC: New. 5036114402Sru * devdvi/Makefile.sub (DEVFILES): Updated. 5037114402Sru * tmac/dvi.tmac: Add fspecial entries for SC. 5038114402Sru Add `MI', `S' and `CW' to the `special' call. Otherwise, `SC' is 5039114402Sru found before `S' since the font position of `SC' is lower due to the 5040114402Sru gaps in DESC's `font' line. 5041114402Sru * tmac/ec.tmac: Add a `special' call. 5042114402Sru * NEWS: Updated. 5043114402Sru 5044114402Sru * font/devhtml/R.proto: Remove double entry for `ti'. 5045114402Sru * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'. 5046114402Sru * tmac/tty-char.tmac: Remove entry for `bq'. 5047114402Sru * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'. 5048114402Sru * tmac/ec.tmac: Don't remove `aq' glyph. 5049114402Sru * tmac/X.tmac: Fix entry for `em'. 5050114402Sru Add entries for `fo' and `fc'. 5051114402Sru * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'. 5052114402Sru 5053114402Sru * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix 5054114402Sru documentation of `special' and `fspecial' requests. 5055114402Sru 5056114402Sru2002-11-05 Werner LEMBERG <wl@gnu.org> 5057114402Sru 5058114402Sru * font/devascii/R.proto, font/devcp1047/R.proto, 5059114402Sru font/devlatin1/R.proto: Remove entry for `.i'. 5060114402Sru * font/devdvi/generate/textt.map: Add entry for `ad'. 5061114402Sru * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map, 5062114402Sru font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'. 5063114402Sru We need this for getting kerning values to compose `/l' and `/L'. 5064114402Sru * font/devdvi: Regenerated font definition files for CM fonts. 5065114402Sru * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'. 5066114402Sru * font/devutf8/R.proto: Ditto. 5067114402Sru Remove double entry for `ti'. 5068114402Sru 5069114402Sru * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries 5070114402Sru for (groff) ligatures, `la', and `ra'. 5071114402Sru Add "'C", "'c", `IJ', and `ij'. 5072114402Sru Remove double entry for `ti'. 5073114402Sru * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all 5074114402Sru double entries. 5075114402Sru Add "'C", "'c", `IJ', and `ij'. 5076114402Sru Fix entries for (groff) ligatures, `la', and `ra'. 5077114402Sru 5078114402Sru * tmac/ps.tmac (ps-achar): New macro. 5079114402Sru Define "'c" and "'C". 5080114402Sru * tmac/tty.tmac: Add entry for `.i'. 5081114402Sru * tmac/X.tmac (X-achar): New macro. 5082114402Sru Define "'c", "'C", and `:Y'. 5083114402Sru Add entries for `IJ' and `ij'. 5084114402Sru * tmac/Xps.tmac (Xps-achar): New macro. 5085114402Sru Define "'c" and "'C". 5086114402Sru Add entries for `IJ' and `ij'. 5087114402Sru * tmac/lbp.tmac (lbp-achar): New macro. 5088114402Sru Add fallback characters for all groff ligatures and many other 5089114402Sru glyphs. 5090114402Sru * tmac/dvi.tmac: Fix definitions of `_' and `ul'. 5091114402Sru Add entries for `/l' and `/L'. 5092114402Sru Define "'c" and "'C". 5093114402Sru Add entries for `IJ' and `ij'. 5094114402Sru 5095114402Sru2002-11-02 Larry Kollar <kollar@alltel.net> 5096114402Sru 5097114402Sru * PROBLEMS: Document how to solve Mac OS X compilation problems. 5098114402Sru 5099114402Sru2002-11-02 Werner LEMBERG <wl@gnu.org> 5100114402Sru 5101114402Sru Adding support for composite glyphs: \[xxx yyy ...] and the 5102114402Sru `composite' request. 5103114402Sru 5104114402Sru * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names 5105114402Sru to Unicode-based glyph names. 5106114402Sru * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based 5107114402Sru glyph names to groff glyph names. 5108114402Sru * src/roff/troff/uniuni.cc: New file for canonically decomposing 5109114402Sru Unicode-based glyph names. 5110114402Sru * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files 5111114402Sru for handling Unicode glyph names. 5112114402Sru * src/roff/troff/input.cc: Include unicode.h. 5113114402Sru (composite_glyph_name): New function. 5114114402Sru (token::next) <'['>: Handle Unicode glyph names and composite 5115114402Sru glyphs. 5116114402Sru (composite_dictionary): New dictionary for the `composite' request. 5117114402Sru (composite_request): Implement `composite' request. 5118114402Sru (init_input_requests): Add `composite'. 5119114402Sru Alphabetically sorted. 5120114402Sru * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already 5121114402Sru commented out). 5122114402Sru (init_env_requests): Alphabetically sorted. 5123114402Sru Removed `tas' and `tar' (already commented out). 5124114402Sru * src/roff/troff/Makefile.sub: Updated. 5125114402Sru 5126114402Sru2002-10-31 Ruslan Ermilov <ru@FreeBSD.org> 5127114402Sru 5128114402Sru * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description 5129114402Sru of options. 5130114402Sru 5131114402Sru2002-10-29 Werner LEMBERG <wl@gnu.org> 5132114402Sru 5133114402Sru Fix computation of .trunc register. Additionally, its value (and 5134114402Sru the value of the .ne register) is now always set before entering the 5135114402Sru trap. 5136114402Sru 5137114402Sru * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and 5138114402Sru `needed_space' before calling `space'. 5139114402Sru (top_level_diversion::space): Remove special code for 'sp before the 5140114402Sru first page. 5141114402Sru Call `begin_page' with the discarded space as a parameter. 5142114402Sru (top_level_diversion::begin_page): Add optional parameter to set 5143114402Sru `truncated_space'. 5144114402Sru * src/roff/troff/div.h: Updated. 5145114402Sru 5146114402Sru * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and 5147114402Sru \n[.ne]. 5148114402Sru 5149114402Sru * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26. 5150114402Sru (LP): Remove superfluous call to `br'. 5151114402Sru * tmac/doc-common (doc-paragraph): Undo change 2002-10-26. 5152114402Sru * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto. 5153114402Sru 5154114402Sru2002-10-26 Werner LEMBERG <wl@gnu.org> 5155114402Sru 5156114402Sru * tmac/doc-ditroff: Remove useless switch/variable -rC. 5157114402Sru (doc-setup-header): Don't set page register `%'. 5158114402Sru * tmac/doc-nroff: Remove variable `C'. 5159114402Sru (doc-setup-page-layout): Set doc-header-space to .5i unconditionally. 5160114402Sru (doc-setup-header): Don't set page register `%'. 5161114402Sru Don't call `bp'. 5162114402Sru * tmac/doc-common (doc-header): Call `ns'. 5163114402Sru (doc-paragraph): Protect .sp with .br so that it survives traps 5164114402Sru possibly set by the user. 5165114402Sru * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto. 5166114402Sru 5167114402Sru * tmac/doc*: Replace ' with . for consistency if no effect. 5168114402Sru 5169114402Sru2002-10-26 Werner LEMBERG <wl@gnu.org> 5170114402Sru 5171114402Sru * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br 5172114402Sru so that it survives traps possibly set by the user. 5173114402Sru 5174114402Sru * src/roff/troff/node.cc: Fix the changes from 2002-10-23. 5175114402Sru (troff_output_file::set_font): Call flush_tbuf if necessary. 5176114402Sru (troff_output_file::fill_color, troff_output_file::glyph_color): Call 5177114402Sru flush_tbuf and do_motion only if necessary. 5178114402Sru (troff_output_file::start_special, 5179114402Sru troff_output_file::put_char_width, troff_output_file::put_char, 5180114402Sru troff_output_file::draw): Updated. 5181114402Sru (word_space_node::tprint, space_node::tprint, hmotion_node::tprint, 5182114402Sru vmotion_node::tprint): Undo change 2002-10-23. 5183114402Sru 5184114402Sru2002-10-25 Werner LEMBERG <wl@gnu.org> 5185114402Sru 5186114402Sru * tmac/www.tmac (DC): Fix case of overlapping images. 5187114402Sru 5188114402Sru2002-10-23 Werner LEMBERG <wl@gnu.org> 5189114402Sru 5190114402Sru * src/roff/troff/node.cc (troff_output_file::fill_color, 5191114402Sru troff_output_file::glyph_color): Set current color before testing 5192114402Sru color_flag. 5193114402Sru (troff_output_file::put_char_width, troff_output_file::put_char, 5194114402Sru troff_output_file::draw): Don't call flush_tbuf and/or do_motion 5195114402Sru before glyph_color. 5196114402Sru (troff_output_file::file_color, troff_output_file::glyph_color): 5197114402Sru Call do_motion. 5198114402Sru (word_space_node::tprint, space_node::tprint, hmotion_node::tprint, 5199114402Sru vmotion_node::tprint): Move first, then call fill_color. 5200114402Sru 5201114402Sru2002-10-20 Werner LEMBERG <wl@gnu.org> 5202114402Sru 5203114402Sru * doc/groff.texinfo, man/groff_tmac.man: Document that it is not 5204114402Sru possible to use multiple main macro packages. 5205114402Sru 5206114402Sru2002-10-19 Werner LEMBERG <wl@gnu.org> 5207114402Sru 5208114402Sru * src/devices/grops/ps.cc (cmyk_flag): New global variable. 5209114402Sru (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors. 5210114402Sru (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag' 5211114402Sru is set. 5212114402Sru * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a 5213114402Sru `where' construction since `cmyksetcolor' is a PS Level 2 operator. 5214114402Sru 5215114402Sru2002-10-16 Werner LEMBERG <wl@gnu.org> 5216114402Sru 5217114402Sru * NEWS, doc/webpage.ms: Updated. 5218114402Sru 5219114402Sru2002-10-14 Werner LEMBERG <wl@gnu.org> 5220114402Sru 5221114402Sru * src/roff/troff/node.cc (troff_output_file::put_char_width, 5222114402Sru troff_output_file::put_char, troff_output_file::fill_color, 5223114402Sru troff_output_file::glyph_color): Handle case where color pointer 5224114402Sru is null. 5225114402Sru 5226114402Sru2002-10-13 Ruslan Ermilov <ru@FreeBSD.org> 5227114402Sru 5228114402Sru Add the new -r option to grotty. It is similar to the -i option 5229114402Sru except it tells grotty(1) to use the "reverse video" attribute to 5230114402Sru render italic fonts. 5231114402Sru 5232114402Sru * src/devices/grotty/tty.cc (reverse_flag): New global variable. 5233114402Sru (SGR_REVERSE, SGR_NO_REVERSE): New macros. 5234114402Sru (tty_printer::make_underline, tty_printer::put_color, 5235114402Sru tty_printer::end_page): Use it. 5236114402Sru (main): Add -r switch. 5237114402Sru (usage): Updated. 5238114402Sru * src/devices/grotty/grotty.man: Document it. 5239114402Sru 5240114402Sru2002-10-11 Ruslan Ermilov <ru@FreeBSD.org> 5241114402Sru 5242114402Sru * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add 5243114402Sru cast to `unsigned char' to properly read patterns with 8bit 5244114402Sru characters. 5245114402Sru 5246104862Sru2002-10-08 Werner LEMBERG <wl@gnu.org> 5247104862Sru 5248114402Sru * REVISION: Increased to 2. 5249114402Sru 525018099SpstLocal Variables: 525118099Spstversion-control: never 525275584Srucoding: latin-1 525318099SpstEnd: 5254