summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * src/utils/indxbib/indxbib.cc (main): Change type of `name_max'groff-1_17_2wlemb2001-07-072-28/+29
| | | | to size_t.
* * tmac/doc.tmac (Rv): Make `Rv' really not parseable.wlemb2001-07-073-17/+15
| | | | | Fix synopsis. * tmac/groff_mdoc.man: Fix synopsis.
* * tmac/doc.tmac (doc-inset-list, doc-hang-list, doc-ohang-list):wlemb2001-07-052-1/+18
| | | | Restore `doc-Pa-font'.
* *** empty log message ***wlemb2001-07-042-49/+67
|
* * src/utils/indxbib/dirnamemax.c: Moved to ...wlemb2001-07-048-42/+96
| | | | | | | | | | | | | | | | | | | | | | | | * src/libs/libgroff/maxfilename.cc: Here. s/dir_name_max/file_name_max/. Add copyright. * src/include/lib.h: Add file_name_max. * src/utils/indxbib/indxbib.cc: Updated. * src/utils/indxbib/Makefile.sub, src/libs/libgroff/Makefile.sub: Updated. * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX) [__MSDOS__]: Define as empty. (xtmpfile) [_MSC_VER]: Removed -- MSVC has mktemp(). * src/preproc/html/pre-html.cc (PAGE_TEMPLATE, PS_TEMPLATE, REGION_TEMPLATE): New macros. (createAllPages, makeTempFiles): Use them. Include `nonposix.h'. (html_system): New function. (createAllPages, createImage): Use it. Use EXE_EXT. * tmac/www.tmac: Fix typos.
* * tmac/www.tmac: Disable hyphenation in normal text only if outputwlemb2001-07-034-20/+62
| | | | | | | | | | device is html. (URL, FTP, MAILTO): Disable hyphenation of actual URL with `%'. * tmac/groff_mwww.man, NEWS: Updated. * tmac/www.tmac (.IMAGE): Add fourth parameter to specify vertical image location.
* * tmac/doc-common, tmac/doc.tmac (doc-display-ft-stack,wlemb2001-07-033-5/+37
| | | | | doc-display-ps-stack): Implement font and font size stack for displays.
* * REVISION: Increased to 2.wlemb2001-07-026-23/+72
| | | | | | | | * src/roff/troff/input.cc (read_size): Fix special case `s[0]'. * src/groff/grog/grog.pl (process): Handle `Oo' and `Oc' not at the beginning of a line. * src/groff/grog/grog.sh: Ditto.
* * src/preproc/eqn/neqn.sh: Put `export' keyword in a new line towlemb2001-06-292-1/+7
| | | | make it portable.
* Fix problems with preprocessor string for `man' program.wlemb2001-06-2739-65/+236
| | | | | | | * *.man: Don't use `s' in preprocessor string -- it doesn't exist. Updated/added copyright. Moved Emacs's local variable to identify nroff mode to the end of the file; add local variable if missing.
* * aclocal.m4: Replace AC_LANG_SAVE + AC_LANG_CPLUSPLUS withwlemb2001-06-263-243/+232
| | | | | AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++). * configure: Regenerated.
* * aclocal.m4 (GROFF_PAGE): Fix page detection code.wlemb2001-06-263-21/+24
| | | | * configure: Regenerated.
* * doc/homepage.ms: Don't include arkup.tmac (which no longer exists)wlemb2001-06-243-5/+14
| | | | | but www.tmac. * doc/pic.ms: Fix typos.
* formattingwlemb2001-06-231-10/+10
|
* * aclocal.m4 (GROFF_NEED_DECLARATION): Fix inclusion of strings.h.groff-1_17_1wlemb2001-06-213-201/+200
| | | | * configure: Updated.
* * src/roff/preproc/html/pre-html.cc (make_message): Fix incorrectwlemb2001-06-213-5/+12
| | | | | image names. * src/roff/troff/dic.cc (blank_line): Add html tag.
* * src/roff/troff/input.cc (do_suppress): Fix typo.wlemb2001-06-192-1/+5
|
* Added two new options (-D and -I) to specify image names and awlemb2001-06-187-77/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subdirectory to place the images in. Change syntax from \Ox to \O[x]. * src/devices/grohtml/post-html.cc (main): Add options. (usage): Updated. * src/preproc/html/pre-html.cc: Include `stdarg.h'. Use `NULL' instead of `0' for null string pointers. (MAX_RETRIES): New macro. (lengthOfintToStr, intToStr, make_message): New functions. (makeFileName): Make function static. Implement -D and -I options. (checkImageDir): New function. (write_end_image, write_start_image): Use new syntax of O. (createAllPages, removeAllPages): Implement -D and -I options. Use make_message(). (createImage): Use make_message(). (addps4html): Add guard for malloc(). (usage, scanArguments): Updated. (makeTempFiles): Use mkstemp(). (removeTempFiles): Use unlink(). (findPrefix): Add guard for malloc(). (main): Updated. * src/roff/troff/input.cc (get_delim_file_name): New function to parse O. (do_suppress): Updated to parse new syntax. * src/devices/grohtml/grohtml.man: Updated. * tmac/www.tmac: Updated to new syntax. * NEWS: Updated.
* * src/roff/grog/Makefile.sub: Remove NAMEPREFIX.wlemb2001-06-153-2/+10
| | | | * src/devices/grohtml/grohtml.man: Minor improvements.
* * src/preproc/html/Makefile.sub: Remove NAMEPREFIX.wlemb2001-06-142-1/+4
|
* * man/roff.man, mann/groff.man: Use '" instead of ." in the firstwlemb2001-06-114-5/+13
| | | | | | line to specify preprocessor options -- mandb 2.3.1 only recognizes the former. * src/preproc/grn/grn.man: Add proper '" string.
* * test-groff: Don't use PATH but GROFF_BIN_PATH.wlemb2001-06-112-4/+7
|
* Updated to autoconf 2.50.wlemb2001-06-084-1784/+3623
| | | | | | | | * configure.in: Renamed to... * configure.ac: This. * aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed. (GROFF_OS390): Updated. * configure: Regenerated.
* * src/roff/troff/env.c, src/roff/troff/env.h,wlemb2001-05-185-5/+9
| | | | | src/roff/troff/input.cc, src/roff/troff/troff.man: Undo `ss' change from 2000-12-21.
* * src/roff/troff/input.cc (read_size): Fix special case `s0'.wlemb2001-05-172-0/+9
|
* * contrib/mm/m.tmac (TH): Fix incorrect error message.wlemb2001-05-165-6/+20
| | | | | | * src/roff/troff/input.cc (read_size): Emit warning if value becomes less than or equal zero; set it to 1 then. * src/roff/troff/node.h (node::node): Initialize `last'.
* fix compatibility issues with man and mdocwlemb2001-05-083-6/+18
|
* The .ns and .rs requests are now honoured not only in the top-levelwlemb2001-05-077-55/+64
| | | | | | | | | | | | | | | | | | | but in all diversions (similar to UNIX troff). This change is based on a patch from Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>. * src/roff/troff/div.h (diversion): Add `no_space_mode' member. (top_level_diversion): Remove `no_space_mode' member. * src/roff/troff/div.cc (diversion::diversion, top_level_diversion::top_level_diversion): Updated. (macro_diversion::output): Reset `no_space_mode'. (no_space, restore_spacing): Use `curdiv' unconditionally. (space_request, blank_line): Check `curdiv->no_space_mode'. (no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use `curdiv' unconditionally. * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo: Updated.
* Added two new requests `de1' and `am1' which are similar to `de' andwlemb2001-05-068-40/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `am' with the difference that compatibility mode is saved on entry, switched off during macro execution, and restored on exit. * src/roff/troff/input.h: Added two new special characters (COMPATIBLE_SAVE, COMPATIBLE_RESTORE). * src/roff/troff/input.cc (input_iterator): Added two member functions `save_compatible_flag' and `get_compatible_flag'. (input_stack): Ditto. (string_iterator): Ditto. Also add private member `saved_compatible_flag'. (token::next): Use COMPATIBLE_SAVE and COMPATIBLE_RESTORE. (calling_mode): New enumeration. (do_define_macro): Use it. Insert COMPATIBLE_SAVE and COMPATIBLE_RESTORE at the beginning and end of macro, respectively. (define_macro, define_indirect_macro, append_macro, ignore): Use `calling_mode'. (define_nocomp_macro, append_nocomp_macro): New functions. (init_input_requests): Updated. (do_request): Rename local variable `saved_compatible_flag' to `old_compatible_flag'. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it. * tmac/an-old.tmac: Use `de1' instead of `de' request for all public and trap-invoked macros. As a consequence, the man macros work in compatibility mode also. * Makefile.in: Use $(mandir).
* * src/utils/afmtodit/afmtodit.pl: Fix serious typo.wlemb2001-05-053-20/+24
|
* Rename register .q to .nswlemb2001-05-056-15/+15
|
* Added `.q' number register: Returns 1 if in no-space mode (if inwlemb2001-05-056-2/+51
| | | | | | | | | top-level diversion), 0 otherwise. * src/roff/troff/div.cc (no_space_mode_reg): New class. (init_div_requests): Updated. * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo: Document it.
* * src/roff/nroff/nroff.man: Improved documentation (especiallywlemb2001-05-042-17/+40
| | | | locales).
* * REVISION: Increased to 1.wlemb2001-05-024-6/+7
| | | | * win32-diffs: Updated.
* Added `brp' request: This is p as a request.wlemb2001-05-029-28/+79
| | | | | | | | | | | | | | | | | * src/roff/troff/env.cc (environment::do_break): Add parameter `spread'. (do_break_request): New function (was `break_request'). (break_request): Calls `do_break_request'. (break_spread_request): New; calls `do_break_request'. (init_env_requests): Updated. * src/roff/troff/env.h: Updated. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it. * VERSION: Increased to 1.17.1. * tmac/an-old.tmac: Fix minor compatibility mode issue. * tmac/troffrc-end: Make it really work in compatibility mode.
* * src/utils/lkbib/lkbib.cc: Switch inclusion order of stdio.h andwlemb2001-04-273-17/+44
| | | | | | | | stdlib.h. * MORE.STUFF: Updated, using a patch from Kees Zeelenberg <c.zeelenberg@hccnet.nl>.
* * src/libs/libgroff/getopt.c, src/include/getopt.h: Updating towlemb2001-04-223-9/+32
| | | | latest versions from glibc CVS archive.
* * src/devices/grohtml/html-chars.h: Removed. It isn't used.wlemb2001-04-214-29/+4
| | | | | * src/devices/grohtml/Makefile.sub, src/devices/grohtml/post-html.cc: Updated.
* *** empty log message ***wlemb2001-04-201-0/+4
|
* * configure.in: Move check for mkstemp() to...wlemb2001-04-2010-47/+159
| | | | | | | | | | | | | | | | * aclocal.m4 (GROFF_MKSTEMP): This new function. * configure: Regenerated. * src/include/groff-getopt.h: Don't use variable names in declarations. * configure.in: Add special check for mkstemp(). * src/libs/libgroff/tmpfile.cc: Use it. * src/utils/indxbib/indxbib.cc: Ditto. * src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style. * src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use `const'.
* `Version_string' as C++ object was not visible to linker from Cwlemb2001-04-2028-34/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object files. Add `const' to `Version_string'. * src/utils/pfbtops/pfbtops.c (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc (main), src/preproc/tbl/main.cc (main), src/preproc/pic/main.cc (main), src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc (main), src/preproc/html/pre-html.cc (scanArguments), src/preproc/refer/refer.cc (main), src/preproc/soelim/soelim.cc (main), src/devices/grotty/tty.cc (main), src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc (main), src/devices/grohtml/post-html.cc (main), src/devices/grolbp/lbp.cc (main), src/utils/tfmtodit/tfmtodit.cc (main), src/utils/hpftodit/hpftodit.cc (main), src/utils/lookbib/lookbib.cc (main), src/utils/indxbib/indxbib.cc (main), src/utils/lkbib/lkbib.cc (main), src/utils/addftinfo/addftinfo.cc (main): Implement it. * src/roff/groff/pipeline.c: Add _UWIN. * src/include/nonposix.h: Ditto. * src/include/lib.h: Use HAVE_STRERROR. * src/roff/groff/pipeline.c: Ditto. * src/preproc/html/pre-html.cc: Remove declaration of `strerror'. * src/libs/libgroff/Makefile.sub (version.cc): Add `extern "C"'. * src/utils/pfbtops/pfbtops.c: Add copyright notice. * win32-diffs: Updated. * src/utils/hpftodit/hpftodit.cc (read_map): Fix compiler warning.
* * src/preproc/html/pre-html.cc (scanArguments): Use `troff_command'wlemb2001-04-1934-110/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of hardwired `"troff"'. (char_buffer::read_file): Remove unused variables. (char_buffer::write_file_troff): Ditto. (char_buffer::write_file_html): Ditto. (generateImages): Ditto. (abs): Removed. * src/utils/addftinfo/addftinfo.cc (main): Fix compilation problem. * src/include/lib.h: Don't include `groff-getopt.h' for UWIN. * src/libs/libgroff/font.cc (font::load_desc): Fix compiler warning. * src/libs/libbib/index.cc (index_search_item_iterator::get_tag, index_search_item::search1): Ditto. * src/roff/troff/node.h (width_list): Reorder members. * src/roff/troff/input.cc (do_define_macro): Fix compiler warning. (lookup_warning): Ditto. (prepend_string): Commented out. * src/roff/troff/dictionary.cc (is_good_size): Fix compiler warning. * src/roff/troff/reg.cc (number_value_to_ascii): Ditto. * src/preproc/tbl/main.cc (process_format): Ditto. * src/preproc/pic/pic.y (define_variable, reset, reset_all): Fix compiler warnings. * src/preproc/pic/pic.cc: Updated. * src/preproc/eqn/lex.cc (init_table): Fix compiler warnings. * src/preproc/eqn/over.cc (over_box::compute_metrics): Ditto. * src/preproc/refer/command.cc (execute_command): Ditto. * src/preproc/refer/ref.cc (sortify_title, find_month): Ditto. * src/preproc/refer/token.cc (lookup_token): Ditto. * src/preproc/soelim/soelim.cc: Ditto. * src/preproc/html/pushbackbuffer.cc (ERROR): Ditto. (isHexDigit): Commented out. (pushBackBuffer::isString): Remove unused variable. * src/devices/grops/ps.cc (ps_printer::special): Fix compiler warning. * src/devices/grops/psrm.cc (resource_manager::lookup_font, resource_manager::read_resource_arg, read_one_of, parse_extensions): Ditto. * src/devices/grodvi/dvi.cc (dvi_printer::draw): Ditto. * src/devices/grolj4/lj4.cc (lj4_font::handle_unknown_font_command, lookup_paper_size): Ditto. * src/devices/grohtml/post-html.cc (is_subsection): Commented out. (text_glob, element_list): Reorder members. * src/devices/grohtml/html-text.cc (html_text::do_pre): Remove compiler warning. * src/devices/grohtml/html-text.h (html_text::emit_space): Change return value to `void'. * src/devices/grohtml/output.cc (word_list::word_list): Fix order of initializers. * src/devices/grohtml/html.h (simple_output::check_newline, simple_output::space_or_newline, simple_output::enable_newlines): Add return value. * src/devices/grolbp/lbp.cc (wp54charset, set_papersize): Remove compiler warnings. * src/utils/tfmtodit/tfmtodit.cc (tfm::load, gf::load, main): Ditto. * src/utils/hpftodit/hpftodit.cc (File::seek, read_symbol_sets, output_ligatures, output_charset, read_map): Ditto. * src/utils/lookbib/lookbib.cc (main): Ditto. * src/utils/indxbib/indxbib.cc (main, fwrite_or_die): Ditto. (do_file): Fix typo (`=' -> `=='). * src/utils/lkbib/lkbib.cc (main): Remove compiler warning. * src/utils/addftinfo/addftinfo.cc (main): Ditto.
* * src/roff/nroff/nroff.sh: Adding -p (pic) and -t (tbl) options.wlemb2001-04-184-17/+36
| | | | | | | | | Fix usage of GROFF_BIN_PATH. * src/roff/nroff/nroff.man: Updated. * NEWS: Fixing typos. Updated.
* *** empty log message ***groff-1_17awlemb2001-04-171-0/+8
|
* minor installation fixwlemb2001-04-171-1/+1
|
* * doc/groff.texinfo: More info on conditionals.groff-1_17wlemb2001-04-162-579/+703
|
* * src/roff/troff/node.cc (make_glyph_node): Emit warning messagewlemb2001-04-152-1/+4
| | | | about missing special character only if the name is non-null.
* * doc/groff.texinfo: Added some info about groff internals.wlemb2001-04-152-65/+261
|
* Removing the grohtml-old device driver which is now obsolete.wlemb2001-04-1449-13336/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/devices/grohtml-old/*: Removed. * font/devhtml-old/*: Removed. * src/libgroff/htmlindicate.cc (graphic_start, graphic_end): Remove comments. * Makefile.in (CCPROGDIRS, DEVDIRS): Updated. * test-groff (PATH): Updated. * tmac/Makefile.sub (NORMALFILES): Updated. * tmac/an-old.tmac: Remove special code for html-old device. Replace `html-or-html-old' register with `an-html'. * tmac/eqnrc: Updated. * tmac/html-old.tmac: Removed. * tmac/troffrc, tmac/troffrc-end: Updated. * tmac/www.tmac: Remove special code for html-old device. Replace `html-or-html-old' register with `www-html'. * src/libgroff/tmpfile.cc (remove_tmp_files), src/libgroff/htmlindicate.cc (graphic_end), include/htmlindicate.h, src/preproc/grn/*.cc, src/roff/groff/env.{cc,h}: Remove `void' parameter if used as a single argument for consistency with rest of source code. * aclocal.m4, tmac/an-old.tmac: Fix copyright. * src/roff/troff/troff.man: Fixing typos.
* * doc/pic.ms: Fixing many font switches.wlemb2001-04-134-76/+122
| | | | | * doc/groff.texinfo: Fixes, additions. * MORE.STUFF: Updated.