📄 changelog
字号:
Mon Apr 19 09:55:57 1993 James Clark (jjc at jclark) * Version 1.08 released. * Makefile.in (dist): Insert || true after ln -s commands that might fail. * mm: Update to mm 1.16. * acgroff.m4 (GROFF_CSH_HACK): New macro. * configure.in: Call GROFF_CSH_HACK. Substitute for SH_SCRIPT_SED_CMD. * Makefile.in (SH_SCRIPT_SED_CMD): New variable. Include in MDEFINES. * nroff/Makefile.sub (nroff): New target. (install_data): Install nroff. * eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD. * grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.Sat Apr 17 08:24:28 1993 James Clark (jjc at jclark) * eqn/Makefile.sub (neqn): Add chmod +x. * grog/Makefile.sub (grog): Remove spurious semi-colon.Fri Apr 16 22:41:57 1993 James Clark (jjc at jclark) * troff/input.cc (string_iterator::string_iterator()): Initialize lineno and count.Tue Apr 13 10:22:28 1993 James Clark (jjc at jclark) * troff/div.cc (macro_diversion::space, top_level_diversion::space): Don't set high_water_mark. (macro_diversion::output, top_level_diversion::output): Don't include post line space in high water mark.Wed Apr 7 12:48:18 1993 James Clark (jjc at jclark) * eqn/eqn.y: Don't define YYDEBUG. * pic/pic.y: Likewise.Mon Apr 5 10:15:15 1993 James Clark (jjc at jclark) * tmac/tmac.e ([3): Add space after comma following editors. Change double spaces to single spaces. ([4): Change double spaces to single spaces. * grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags. * grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0 bit is set in broken_flags, use 2.0 rather than 3.0 as the version after %!PS-Adobe- (for Newsprint). * troff/div.cc (top_level_diversion::begin_page): When before_first_page is 1, set page_number to 1.Sun Apr 4 14:28:53 1993 James Clark (jjc at jclark) * eqn/box.cc (box::top_level): Protect equation with \&.Sat Apr 3 23:27:25 1993 James Clark (jjc at jclark) * groff/groff.cc (possible_command::set_name): Delete old name. * groff/groff.cc (possible_command::~possible_command): Use a_delete. * troff/node.cc (troff_output_file::begun_page): New member. (troff_output_file::troff_output_file): Initialize it. (troff_output_file::really_begin_page): Only output V command if a page has been begun. * pic/pic.y (placeless_element): Delete argument to PRINT after use.Fri Apr 2 11:31:02 1993 James Clark (jjc at jclark) * Make wrapman work. * troff/div.h (class top_level_diversion): Replace first_page_begun by before_first_page (with opposite sense). * Change first_page_begun to before_first_page inverting sense. * troff/div.cc (class nl_reg): New class. (init_div_requests): Use class nl_reg for \n(nl. (top_level_diversion::begin_page): Don't call output_file::begin_page if before_first_page is 2; reset before_first_page afterwards. If have_next_page_number is false, then always increment page_number. * tmac/tmac.an: Set traps within TH rather than at the top-level. Restore compatibility mode after loading, and then disable compatibility mode in TH.Thu Apr 1 11:09:34 1993 James Clark (jjc at jclark) * grotty/tty.cc (tty_printer::end_page): Don't discard characters past last line. * troff/node.h (output_file::trailer): Declare. * troff/div.cc (cleanup_and_exit): Call output_file::trailer(). * troff/node.cc (output_file::trailer): New function. (troff_output_file::~troff_output_file): Move most code into... (troff_output_file::trailer): New function. (class troff_output_file): Delete page_length member. Declare trailer(). (troff_output_file::really_begin_page): Use current page length for final V command. * tbl/main.cc (struct options): New decimal_point_char member. (options::options): Initialize this. (process_options): Implement decimalpoint option. (process_data): Pass decimal_point_char option to table::table. * tbl/table.h (class table): New decimal_point_char member. (table::table): Add additional argument. * tbl/table.cc (find_dot): Rename to find_decimal_point. Add second argument specifying decimal point character. Use this instead of '.'. (table::table): Initialize decimal_point_char. (table::add_entry): Change call to find_dot. * troff/input.cc (get_copy, token::next): Implement \V. (interpolate_environment_variable): New function.Tue Mar 30 14:41:39 1993 James Clark (jjc at jclark) * pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX. * pic/pic.y: Likewise. * grotty/tty.cc (tty_printer::add_char, tty_printer::end_page): Add casts to int. * refer/ref.cc (reference::insert_field, reference::delete_field): Likewise. * troff/number.cc (parse_term): Likewise. * acgroff.m4 (GROFF_PROG_YACC): New macro. * configure.in: Use GROFF_PROG_YACC. * acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc and g++. * Makefile.in (OPTIMIZE): New define. (DEBUG): Empty by default. (CCFLAGS, CFLAGS): Include $(OPTIMIZE). * acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program. (GROFF_ARRAY_DELETE): Likewise. (GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3. * troff/env.cc (trie::~trie): Make virtual to shut up g++. * devps/psstrip.sed: Use different delimiter on last line (so that it works with BSD 4.4 sed.)Mon Mar 29 17:07:14 1993 James Clark (jjc at jclark) * devps/psstrip.sed: Delete comments. * acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares optind, opterr, optarg. * lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind, opterr, optarg.Sun Mar 28 17:44:25 1993 James Clark (jjc at jclark) * Makefile.in (check): Dummy target.Wed Mar 3 04:53:38 1993 James Clark (jjc at jclark) * Version 1.07 released. * Integrate mm 1.11. * tbl/table.cc (alphabetic_block_entry::print): start_row was used where start_col was meant.Thu Feb 25 07:55:36 1993 James Clark (jjc at jclark) * grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.Wed Feb 24 10:15:34 1993 James Clark (jjc at jclark) * troff/input.cc (token::next): Make \z\o'...' and similar things work. * env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New constants. (environment): Add margin_character_flags member. * env.cc (environment::environment(symbol), environment::environment(const environment *): Initialize margin_character_flags. (margin_character): Rewrite. (environment::output_line): Add a margin character if margin_character_flags is non-zero. Turn off the MARGIN_CHARACTER_NEXT bit. If that makes margin_character_flags zero, use margin_character_node without copying and then set margin_character_node to 0. * devps/DESC.in: Change minimum size to 1000.Tue Feb 23 14:57:49 1993 James Clark (jjc at jclark) * troff/symbol.h (symbol::hash): Change return type to unsigned long. * troff/dictionary.cc (dictionary::lookup, dictionary::remove): Add casts to int. * test-groff: Use -r rather than -x. * grops/psfig.diff: Include in distribution again.Mon Feb 22 09:10:44 1993 James Clark (jjc at jclark) * Makefile.in (dist): Use gzip.Sun Feb 21 11:12:53 1993 James Clark (jjc at jclark) * acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in unistd.h as well as in stdlib.h. * include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is defined; otherwise include <sys/types.h> and <unistd.h> if UNISTD_H_DECLARES_GETOPT is defined. * configure.in: use builtin(include, ... rather than include(... * configure: Regenerate with autoconf 1.3. * libdriver/print.cc (printer::adjust_arc_center): Use new algorithm suggested by Andy Fyfe. * libdriver/printer.cc (printer::adjust_arc_center): New function. * include/printer.h: Declare this. * grops/ps.cc (ps_printer::draw): Use it. * grodvi/dvi.cc (dvi_printer::draw): Use it.Fri Feb 19 23:13:51 1993 James Clark (jjc at jclark) * Makefile.comm (.man.n): Replace macrodir by tmacdir.Thu Feb 11 16:46:59 1993 James Clark (jjc at jclark) * eqn/main.cc (main): Handle "eqn -".Mon Jan 4 20:29:56 1993 James Clark (jjc at jclark) * tmac/tmac.e (++): Install fix from comp.bugs.4sd. * mm: Integrate version 1.08. * pic/troff.cc (troff_output::finish_picture): Set EQN_NO_EXTRA_SPACE reg to 0 rather than removing it. * eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0 if it's not defined. Check whether the register is non-zero rather than whether it's not defined. * tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero. * indxbib/indxbib.cc: Move all signal handling into... * indxbib/signal.c: New file. * configure.in: Call AC_RETSIGTYPE. * acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro. * configure.in: Call GROFF_STRUCT_EXCEPTION. * libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION. * troff/input.cc (token::token, token::operator=): Work round SGI C++ bug. * pic/object.cc (position::position): Likewise.Mon Dec 28 21:50:21 1992 James Clark (jjc at jclark) * pic/pic.h: Move declaration of hypot().Wed Dec 16 12:28:29 1992 James Clark (jjc at jclark) * pic/pic.h: Declare hypot(). * pic/pic.h: Define M_PI if necessary.Thu Dec 10 12:03:29 1992 James Clark (jjc at jclark) * tmac/tmac.e (re): Add alternative version that doesn't use groff `.ta T' feature. * devps/prologue.ps (RE): Handle the possibility that the old font doesn't have a FontName entry.Wed Dec 2 10:25:29 1992 James Clark (jjc at jclark) * tmac/tmac.e (fam): Redefine to set family in environment 2. (@C): Use @fam not fam.Thu Nov 26 16:01:25 1992 James Clark (jjc at jclark) * lookbib/lookbib.cc (main): Change type of start to const char *. * lkbib/lkbib.cc (main): Likewise. * eqn/lex.cc (definition::definition): Don't use member initializer syntax for members of anonymous unions. * troff/input.cc (input_stack::backtrace): Change type of to const char *.Wed Nov 25 13:43:09 1992 James Clark (jjc at jclark) * include/stringclass.h (class string): Declare inline friend functions as inline in class declaration. * troff/hvunits.h (class hunits, class vunits): Likewise. * include/refid.h (class reference_id): Likewise * troff/troff.h (points_to_units(units), scale(units, double)): Delete declarations. * libdriver/input.cc (get_char): Delete declaration. * include/lib.h: Change 2nd argument of getopt from const char ** to char **. * troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const char **' before assigning to a `const char **'. * tbl/table.cc: Delete extra declarations of prints().Tue Nov 24 14:33:13 1992 James Clark (jjc at jclark) * libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const char **' before assigning to a `const char **'. * libgroff/errarg.cc (errarg::errarg): Don't use member initializer syntax for members of anonymous unions.Sat Nov 21 05:02:23 1992 James Clark (jjc at jclark) * mm: Integrate version 1.07.Tue Nov 17 16:44:27 1992 James Clark (jjc at jclark) * troff/input.c (translate2): Rename to (translate_no_transparent). (init_input_requests): Rename tr2 to trnt.Mon Nov 16 09:49:32 1992 James Clark (jjc at jclark) * troff/charinfo.h (class charinfo): Add transparent_translate field. (charinfo::set_translation, charinfo::set_special_translation): Add second argument that specifies value for transparent_translate. (charinfo::get_translation, charinfo::get_special_translation): Add optional second argument that specifies whether translation is being used for transparent throughput. * troff/input.cc (charinfo::set_translation, charinfo::set_special_translation): Handle second argument. (charinfo::charinfo): Initialize transparent_translate. (translate): Split main part off into (do_translate): New function. Pass argument saying whether translation applies to transparent throughput. (translate2): New request. (init_input_requests): Bind translate2 to `tr2'.Wed Nov 11 11:43:20 1992 James Clark (jjc at jclark) * tbl/table.h (class table): Add `nokeep' flag. * tbl/main.cc (process_options): Handle `nokeep' option. * tbl/table.cc (table::init_output, table::do_row, table::do_top, table::do_bottom): Don't output keep/release macro definitions or calls when `nokeep' option has been specified.Sat Nov 7 01:28:33 1992 James Clark (jjc at jclark) * tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.Wed Nov 4 16:29:04 1992 James Clark (jjc at jclark) * tbl/table.cc (table_entry::divert, block_entry::do_divert, block_entry::divert, alphabetic_block_entry::divert): Add extra argument giving column separation. (table::compute_widths): Pass column separation to table_entry::divert(). (block_entry::do_divert): If an entry spans multiple columns and a minimumum width has been specified for each column, then set the line length to the sum of the widths (plus possibly the column separations). * troff/input.cc (set_escape_char): Don't set the escape_char until after calling has_arg().Tue Nov 3 11:23:27 1992 James Clark (jjc at jclark) * tbl/table.cc (table::do_top): Add missing \s0 for double box case. * tbl/table.cc (table::print_double_hline): Avoid extra new line in case where r > nrows - 1. * tbl/table.cc (BODY_HEIGHT): Deleted. (LINE_SEP): New definition. (table::print_single_hline, table::print_double_hline,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -