summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.in (SEP): Replaced with...wlemb2004-03-051-0/+22
| | | | | | | | | | | | | | | | | | | | (RT_SEP, SH_SEP): Separators for the target platform's native path separator and the build environment, respectively. (fontpath, tmacpath): Use RT_SEP. (MDEFINES): Updated. * contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP. * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP. * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP. * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP. * fonts/devlj4/Makefile.sub (LJ4RES): Set to 1200. This helps to reduce alignment problems with newer printers which use built-in TrueType fonts (instead of the older Intellifonts). The ideal solution is to provide a second set of groff metric files, but this is extremely time-consuming to produce, given that HP's metric files are very rudimentary.
* * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.wlemb2004-03-011-0/+14
| | | | | | | | | | | s/operand/argument/ in error message. * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml is in use. * tmac/s.tmac (XE): Fix error message.
* * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:wlemb2004-02-291-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New macros. * src/roff/groff/pipeline.c: Declare strcasecmp. (run_pipeline) [_WIN32]: Use function name variants which don't start with `_'. Fix stream handling. * src/include/nonposix.h: Fix declaration of `system_shell_name'. Declare `spawnvp_wrapper' and macro definitions of spawnvp only for platforms which use the native Win32 runtime libraries. (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version. * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR, QUOTE_ARG_REALLOC_ERROR): Fix string. * src/preproc/html/pre-html.cpp: Remove declaration of `spawnvp_wrapper'. Don't use __MINGW32__. s/DEBUG_FILE/DEBUG_FILE_DIR/. (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros. (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros. (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix calls to `set_redirection' and `WAIT'. [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'. Fix calls to `set_redirection' and `save_and_redirect'. (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls to `set_redirection' and `save_and_redirect'. (usage): Fix message. (makeTempFiles, main): Use `DEBUG_FILE'.
* * src/roff/troff/troff.h (WARN_TOTAL): Fix value.wlemb2004-02-231-0/+4
|
* * src/libs/libgroff/quotearg.c: New file, providing proper argumentwlemb2004-02-221-0/+22
| | | | | | | | | | | | | | | | | | | quoting for MSVC's spawn* and exec* functions. * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around spawnvp with proper quoting for MSVC. * src/libs/libgroff/assert.cpp (program_name), src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'. * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated. * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'. * src/include/error.h (program_name): Declare as `extern "C"'. * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp. * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare spawnvp_wrapper. [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
* * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New globalwlemb2004-02-211-0/+13
| | | | | | | | | | | | variable. (sbasename) [__MSDOS__ || ...]: New function. (system_shell_name) [__MSDOS__ || ...]: Use a different, more generic algorithm. (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated. (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead of XXX. Use STDOUT_FILENO instead of hardcoded file handle. (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
* * src/roff/troff/div.cpp: Include nonposix.h after troff.h towlemb2004-02-201-0/+5
| | | | avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
* * font/devlj4/Makefile.sub (DEVFILES): Updated to contain allwlemb2004-02-191-0/+15
| | | | | | | | | | | new font and mapping files. * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty an input pipe. This is needed for the MSVC compiler to make troff's `-o' option work. * src/roff/troff/div.cpp: Include nonposix.h. (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
* * font/devlj4/generate/special.awk: New script.wlemb2004-02-181-0/+9
| | | | | | | | * font/devlj4/generate/Makefile (S): Use special.awk. * font/devlj4/*: Regenerated, including the following new files: Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI), MS Symbol (SYMBOL), Wingdings (WINGDINGS). * NEWS: Document new lj4 fonts and revised hpftodit.
* * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.wlemb2004-02-181-1/+5
|
* * src/libs/libgroff/progname.cpp: Replaced with...wlemb2004-01-261-0/+6
| | | | | * src/libs/libgroff/progname.c: New file. * src/libs/libgroff/Makefile.sub: Updated accordingly.
* * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.wlemb2004-01-181-0/+11
| | | | | | | * font/devlj4/generate/wingdings.map, font/devlj4/generate/symbol.map: Include unnamed glyphs. Use groff glyph names where possible. * src/devices/lj4_font.man: Minor updates.
* * tmac/www.tmac (DC): Handle TTY devices.wlemb2004-01-151-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | * doc/webpage.ms: Document viewCVS from ffii.org. * NEWS, README: Updated. * src/roff/groff/groff.man: Mention lj4_font man page. * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New variables. (FONTS): Add SYMBOL and WINGDINGS. (SYMBOL, WINGDINGS): New targets. * src/devices/grolj4/lj4_font.man: New man page. * src/devices/grolj4/Makefile.sub (MAN5): New variable. * src/devices/grolj4.man: Mention lj4_font man page. * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments. * src/utils/hpftodit/hpftodit.man: Document it. (CW): New macro. Remove details about fonts (which are now in lj4_font.man). * font/devlj4/generate/symbol.map, font/devlj4/generate/wingdings.map: New files.
* * font/devlj4/generate/special.map: Map MSL 228 to U+221F.wlemb2004-01-111-0/+17
| | | | | | | | | | | | | Revert most of the change from 2004-01-03 to better control used symbol sets. * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure. (text_symbol_sets, special_symbol_sets): New arrays. (symbol_set_table): New global variable. (read_symbol_sets): Use search order given in the text_symbol_sets and special_symbol_sets arrays. If command line flag -a is not given, search both arrays. (output_charset): Require x_height_tag only for command line flag -i.
* Implement string-valued registers \n[.m] and \n[.M] to return thewlemb2004-01-071-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name of the current drawing and background color, respectively. * src/roff/troff/symbol.h: Moved to... * src/include/symbol.h: Here. Small fixes to make it work outside of the `troff' directory. * src/roff/troff/symbol.cpp: Moved to... * src/libs/libgroff/symbol.cpp: Here. Small fixes to make it work outside of the `troff' directory. * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Updated. * src/include/color.h: Include symbol.h. (color): Add new field `nm'. * src/libs/libgroff/color.cpp (color::color): Updated. * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp, src/roff/troff/node.cpp, src/roff/troff/number.cpp, src/roff/troff/reg.cpp: Don't include symbol.h. * src/roff/troff/env.cpp: Don't include symbol.h. (environment::get_glyph_color_string, environment_get_fill_color_string): New member functions. (init_env_requests): Handle `.m' and `.M' registers. * src/roff/troff/input.cpp: Don't include symbol.h. (default_symbol): Moved to symbol.cpp/symbol.h. (do_glyph_color, do_fill_color, define_color): Pass symbol name to color constructor. * src/roff/troff/env.h: Updated. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: Document new registers.
* * src/roff/troff/nroff.cpp (space_node::get_breakpoints,wlemb2004-01-051-0/+5
| | | | | | space_node::nbreaks): Protect against zero `next' field. Update copyright years.
* In hpftodit, use the symbol sets offered in the TFM.wlemb2004-01-031-0/+14
| | | | | | | | | | | | | | * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant. (symbol_set, text_symbol_sets, special_symbol_sets, symbol_set_table): Removed. (get_printcode): Removed. (read_symbol_sets): Initialize `symbol_set' field with `NO_SYMBOL_SET'. Simplify code to just use the `kind' value. (output_charset): Improve output formatting. (dump_symbols): Simplified. font/devlj4/generate/text.map: Fix typos.
* * font/devlj4/generate/text.map: Add more MSL numbers.wlemb2004-01-031-0/+17
| | | | | | | | | | | | | * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro. (text_symbol_sets): Add more symbol sets. (debug_flag): New static variable (moved from `main'). (get_printcode, show_symset): New functions. (main): Remove `debug_flag'. (output_charset): Use `show_symset'. (dump_symbols): Use `show_symset'. Print symsets for all glyphs. (read_map): Actually call `unicode_to_ucode_make' but this time correctly.
* * font/devlj4/generate/text.map, font/devlj4/generate/special.map:wlemb2004-01-011-0/+15
| | | | | | | | | | | | Fix placement of comments. * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if option `-d' is given. (output_charset): Improve warning messages to give more information. (dump_symbols): Make information more precise. (usage): Updated. (read_map): Don't call unicode_to_ucode_name; the glyph names must appear as-is and shouldn't be decomposed.
* * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.wlemb2003-12-311-0/+9
| | | | | | | | * font/devlj4/generate/Makefile (IFLAG): Updated to new units. (FONTS): Add TrueType font families Arial and Times New Roman. (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets. * font/devlj4/generate/text.map: Fix Unicode values of `fi' and `fl'.
* * test-groff.in (SEP): Quote value.wlemb2003-12-311-0/+7
| | | | | | * src/roff/troff/node.cpp (suppress_node::tprint): Change type of `tem' to `char*' to avoid deallocation of a pointer to a constant object which some compilers don't like.
* * font/devlj4/generate (text.map, special.map): Rewritten to workwlemb2003-12-311-0/+10
| | | | | | | with the new hpftodit version. * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol set and 8bit character code for all glyphs also.
* * src/libs/libgroff/strcasecmp.c: Updated from gnulib.wlemb2003-12-301-0/+4
|
* More fixes for MSVC compiler.wlemb2003-12-301-0/+25
| | | | | | | | | | | | | | | | | | | | | | | * doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use $(SEP). * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO) [_MSC_VER]: Define conditionally. (getpid) [_MSC_VER]: Remove. Include direct.h and process.h conditionally. * src/roff/troff/node.cpp (suppress_node::tprint): Don't use parentheses for a_delete. * src/utils/lookbib/lookbib.cpp: Include nonposix.h. * test-groff: Replaced with... * test-groff.in: This new template to handle path separator properly. * configure.ac: Check for direct.h and process.h. Generate test-groff script. * configure, src/include/config.hin: Regenerated.
* Add integral extension glyph.wlemb2003-12-281-0/+15
| | | | | | | | | | | | | | Add new option `-x' to afmtodit to suppress use of built-in AGL. * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'. * font/devps/generate/textmap: Provide entry for `integralex' to override (old) PUA value of the AGL. * font/devps/generate/Makefile (SS): Add afmtodit option `-x'. * font/devps/*: Regenerated. * src/utils/afmtodit/afmtodit.pl: Add option `-x'. * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
* Add forgotten `coproduct' symbol (already available for DVI).wlemb2003-12-281-0/+9
| | | | | | | * font/devhtml/R.proto, font/devps/generate/textmap, font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man, src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add U+2210 (\[coproduct]).
* hpftodit has been extended to handle TrueType metric files andwlemb2003-12-271-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more glyphs. See hpftodit.man for more details. * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h, ctype.h, and unicode.h. s/msl/charcode/ everywhere since we now handle Unicode values also. (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros. Use it where appropriate. (MULTIPLIER): Replaced with... (multiplier): New global static variable. (scale): Updated. (tag_type): Add more TFM tags. (tag_name): New array. (ENUM_TYPE, FLOAT_TYPE): Removed. (BYTE_TYPE): New value assigned. (ASCII_TYPE, RATIONAL_TYPE): New enumeration values. (text_symbol_sets, special_symbol_sets): Extended to cover more sets. (check_type): Add return value. (check_units): Add parameters to get ppi and upem values. Handle TrueType TFM data. (output_font_name): New function. (output_charset): Add parameter to handle TFM type. Handle TrueType TFMs also. (em_fract): New macro. (dump_tags): Be much more verbose and handle more tags. (dump_ascii, dump_symbol_sets, dump_symbols): New functions. (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New functions. (read_map): Add parameter to handle TFM type. Handle both MSL and Unicode mappings. (main): Add two new command line options `-a' and `-q'. Updated to make use of new functions. (usage): Updated. * src/utils/hpftodit/hpuni.cpp: New file. * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man: Updated. * src/include/nonposix.h (read) [_MSC_VER]: Define.
* * src/utils/afmtodit/afmtodit.man: Some reformulations as suggestedwlemb2003-12-251-0/+5
| | | | by Michail Vidiassov <master@iaas.msu.ru>.
* * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,wlemb2003-12-221-0/+22
| | | | | | | | | | | | | | | | | and u0049_0307. Add missing latin-2 glyphs. * font/devutf8/R.proto: Add missing latin-2 glyphs. * tmac/troffrc: Load `composite.tmac' earlier. * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306, u00{53,73}_0327, and u0049_0307. * tmac/X.tmac: Add u00{47,67}_0306. * tmac/tty-char.tmac: Use composite glyph names for readability. * NEWS: Updated. * src/include/unicode.h: Remove `extern' keywords.
* Add some glyphs needed for Turkish.wlemb2003-12-191-0/+11
| | | | | | | | | * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327, and u0049_0307. * tmac/composite.tmac: Add `,' as a synonym for `ac' accent. * tmac/tty-char.tmac: Add representations for u00{47,67}_0306, u00{53,73}_0327, and u0049_0307.
* * src/devices/grops/ps.cc (ps_output::put_float): Revert changewlemb2003-12-181-0/+6
| | | | | from 2001-10-04. Remove trailing zeros.
* Make \? transparent to end-of-sentence recognition.wlemb2003-12-171-0/+7
| | | | | * src/roff/troff/input.cc (non_interpreted_node): Add `ends_sentence' member function.
* * doc/groff.texinfo: Document `dt' request correctly.wlemb2003-12-161-0/+5
| | | | Other minor typographical improvements.
* * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.wlemb2003-12-121-0/+4
|
* * LICENSE: Better wording.wlemb2003-12-111-0/+4
|
* * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.wlemb2003-12-091-0/+5
| | | | * configure, NEWS: Updated.
* * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).wlemb2003-12-081-0/+4
|
* * LICENSE: Updated.wlemb2003-12-081-0/+8
| | | | * INSTALL: Improved.
* Use path separator character of target platform for compiled-inwlemb2003-12-061-1/+15
| | | | | | | | | | | | default paths. * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro. * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR. * configure: Regenerated. * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR. * src/include/nonposix.h (PATH_SEP_CHAR): New definition. Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
* * LICENSE: New file.wlemb2003-12-051-0/+10
|
* * src/roff/groff/groff.cpp (main): Don't run the spooler ifwlemb2003-12-031-0/+10
| | | | | | | | | option -v is given. * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error messages. Close stdout copy. Don't use Unix wait flags.
* * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,wlemb2003-12-021-1/+20
| | | | | | | | | | | | src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp, src/roff/troff/uniuni.cpp: Moved to... * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp, src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp, src/libs/libgroff/uniuni.cpp: Here. * src/include/Makefile.sub.old (HDRS), src/libs/libgroff/Makefile.sub (OBJS, CCSRCS), src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
* * groff.texinfo: Document special behaviour of `.vs 0'.wlemb2003-12-021-0/+6
| | | | | Improve documentation of `cflags' request. * NEWS: Updated.
* * font/devlj4/generate/Makefile (CORONET): Use correct TFM.wlemb2003-11-301-0/+5
| | | | * font/devlj4/CORONET: Regenerated.
* * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loopwlemb2003-11-251-0/+11
| | | | | | | | if processing hyphenation patterns in traditional mode. Improve error messages. * src/roff/troff/node.cpp (troff_output_file::put_char_width, troff_output_file::put_char): Fix type of local variable `c'.
* * src/roff/groff/pipeline.c (P): Removed. Updated all functionwlemb2003-11-201-0/+7
| | | | | | declarations. (i_to_a): Removed. libgroff already provides this function. (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
* * src/roff/groff/pipeline.c (xstrsignal): Fix usage ofwlemb2003-11-191-0/+5
| | | | HAVE_DECL_SYS_LIST.
* * COPYING: Use correct version.wlemb2003-11-191-0/+4
|
* LynxOS 4.0.0 doesn't declare vfprintf.wlemb2003-11-131-0/+10
| | | | | | | * configure.ac: Check for vfprintf. * configure: Regenerated. * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'. * src/include/config.hin: Regenerated.
* LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.wlemb2003-11-121-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for vsnprintf. * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and `HAVE_VSNPRINTF'. * src/include/config.hin: Regenerated. * aclocal.m4: Updated syntax to autoconf 2.59. (GROFF_HTML_PROGRAMS): Use AC_FOREACH. Don't check for gsos2. (GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides working abs_top_srcdir and abs_top_builddir. * configure.ac: Updated syntax to autoconf 2.59. Don't call GROFF_SRCDIR and GROFF_BUILDDIR. Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS. * configure: Regenerated. * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/, s/@groff_top_builddir@/@abs_top_builddir@/. * src/roff/groff/pipeline.c (xstrsignal): s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/. * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always make start angle smaller than end angle to circumvent a bug in tpic handling of some versions of dvipdfm (and dvipdfmx).