summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* first importstartericwlemb2003-07-024-0/+178
|
* from Eric S. Raymondwlemb2001-08-101-1/+1
|
* Initial revisionwlemb2001-08-103-0/+271
|
* * src/roff/troff/troff.man: Improve documentation of -E option.wlemb2001-08-062-1/+12
|
* * src/preproc/html/pushbackbuffer.cc (pushBackBuffer::readNumber):wlemb2001-07-282-11/+11
| | | | Simplified.
* * src/preproc/refer/refer.cc: Undo last change.wlemb2001-07-273-2/+5
| | | | * src/devices/grohtml/post-html.cc: Ditto.
* * src/preproc/refer/refer.cc: Include `lib.h'.wlemb2001-07-273-0/+5
| | | | * src/devices/grohtml/post-html.cc: Ditto.
* * contrib/mm/groff_mm.man: Start always a new line after end ofwlemb2001-07-263-191/+383
| | | | | | | sentence. Add some compatibility info to the HF variable. * contrib/mm/m.tmac: Fix initialization of Hps1 and Hps2.
* * aclocal.m4 (GROFF_PAGE): Add `AC_DEFINE(PAGEA4)'.wlemb2001-07-255-17/+40
| | | | | | | | | * src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET. * Makefile.in: Comment updated. * configure: Regenerated. * src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour name instead of number.
* * src/devices/grohtml/grohtml.man: Add information about validwlemb2001-07-252-0/+8
| | | | versions of pnmtopng.
* * src/preproc/pic/pic.cc: Removed.wlemb2001-07-259-6960/+31
| | | | | | | | | | | | | * src/preproc/pic/pic_tab.h: Removed. * src/preproc/refer/label.cc: Removed. * doc/Makefile (.ms.html): Don't use a file name extension in argument to grohtml's -I option. * Makefile.in (dist): Remove CVS directories. Call `distfiles' target. * doc/groff.texinfo: Minor fixes.
* * doc/Makefile (.ms.html): Put image files into a subdirectory.wlemb2001-07-203-2/+8
| | | | (clean): Updated.
* * src/libs/libgroff/tmpname.cc: New file, defining get_tempname().wlemb2001-07-2025-243/+551
| | | | | | | | | | | | | | | | | | | | | | | | * src/libs/libgroff/mkstemp.cc: New file. * src/libs/libgroff/mksdir.cc: New file. * src/libs/libgroff/tmpfile.cc [HAVE_MKSTEMP_PROTO]: Removed. (xtmpfile) [!HAVE_MKSTEMP]: Removed. * src/libs/libgroff/Makefile.sub: Updated. * src/include/lib.h: Add mksdir() prototype. * src/include/posix.h: Define S_IXUSR if not yet defined. * src/preproc/html/pre-html.cc (MAX_RETRIES): Removed. (createAllPages): Use mksdir() instead of current code. * src/utils/indxbib/indxbib.cc [HAVE_MKSTEMP_PROTO]: Removed. (main): [!HAVE_MKSTEMP]: Removed. * aclocal.m4 (GROFF_MKSTEMP): Updated to use new mkstemp.cc file. (GROFF_INTTYPES_H, GROFF_UNSIGNED_LONG_LONG, GROFF_UINTMAX_T): New macros. * configure.ac: Add tests for stdint.h, sys/time.h, and gettimeofday(). Call new GROFF_xxx macros. * configure: Regenerated. * Makefile.in: Comments updated.
* * src/preproc/html/pre-html.cc (scanArguments): Use getopt_long()wlemb2001-07-206-35/+94
| | | | | | | | | | instead of current code. * src/devices/grohtml/post-html.cc (main): Handle `-d' option. * src/roff/groff/groff.cc (possible_command::insert_args): New function. (main): Use it for predriver handling instead of insert_arg(). * src/include/posix.h: Define S_IWUSR if not yet defined.
* Added .cvsignore fileswlemb2001-07-1943-0/+146
|
* *** empty log message ***wlemb2001-07-191-0/+5
|
* * doc/Makefile: Added GROFF_BIN_PATH to make it work with uninstalledwlemb2001-07-191-1/+25
| | | | groff also.
* fix typowlemb2001-07-181-2/+2
|
* * NEWS: Updated.wlemb2001-07-184-53/+123
| | | | | | * tmac/groff_mdoc.man: Document new -width and -column syntax. Some other minor fixes. * tmac/an-old.tmac: Add `AT' and `UC' macros.
* Replace call to `troff' with `groff -Z' to make it aware ofwlemb2001-07-175-60/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | GROFF_BIN_PATH. * src/preproc/html/pre-html.cc (TROFF_COMMAND): New macro. (troff_command, command_prefix): Removed. (alterDeviceTo): Use groff. (addZ): New function. (char_buffer::do_html): Use it. (scanArguments): Use TROFF_COMMAND. (findPrefix): Removed. (main): Updated. * src/roff/groff/groff.cc (main): Handle zflag for preprocessors. * doc/pic.ms: Documentation fixes. Replace atexit() with global destructor. * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Add constructor. (xtmpfile_list_init): New global structure to deallocate xtmpfile_list on exit. Its destructor inherits most code from remove_tmp_files(). (remove_tmp_files): Deleted. (add_tmp_file): Simplified.
* comment updatedwlemb2001-07-162-1/+1
|
* Replace strdup() with strsave().wlemb2001-07-166-42/+37
| | | | | | | | | | | | | | * src/devices/grolbp/lbp.cc [!HAVE_STRDUP]: Removed. (set_papersize): Use strsave() and a_delete. (main): Use strsave(). * src/preproc/html/pre-html.cc (make_message, createAllPages, removeAllPages): Use strsave() and a_delete. * configure.ac: Remove test for strdup. * configure: Regenerated. * win32-diffs: Updated.
* * src/preproc/html/pre-html.cc (makeTempFiles): Activate new code,wlemb2001-07-144-22/+12
| | | | | | | | removing the old one. * src/utils/indxbib/indxbib.cc (main): Remove compiler warning. * src/libs/libgroff/tmpfile.cc (xtmpfile): Fix guard for `namep'.
* 2001-07-12 Ruslan Ermilov <ru@FreeBSD.org>wlemb2001-07-128-171/+313
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge -xwidth into -width. Add -xwidth functionality to -column also. * tmac/doc.tmac (Bl): Add dummy doc-typeXXX and doc-spaceXXX to avoid warning. (doc-do-Bl-args): Merge -xwidth code with -width. Test whether string immediately following a leading dot starts with a valid mdoc argument. Add similar code to the -column branch. (doc-Bl-usage): Updated. * groff_mdoc.man: s/-xwidth/-width/. 2001-07-12 Gaius Mulley <gaius@glam.ac.uk> * src/devices/grohtml/post-html.cc (text_glob::is_br): Stop titles running into centered or non-formatted text. 2001-07-11 Werner LEMBERG <wl@gnu.org> Introduce short and long prefixes to have the selection at run-time whether there is a 8+3 limit for names of temporary files. * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX): Replaced with... (TMPFILE_PREFIX_SHORT, TMPFILE_PREFIX_LONG): This. (tmpfile_prefix, tmpfile_prefix_len, use_short_prefix): New variables. (temp_init): New global structure to initialize above three variables. (xtmptemplate): Use two parameters for long and short prefix. Simplify code use above three variables. (xtmpfile): Use long and short prefixes as parameters. * src/include/lib.h: Updated. * src/preproc/html/pre-html.cc ({PAGE,PS,REGION}_TEMPLATE): Replace with ... ({PAGE,PS,REGION}_TEMPLATE_{SHORT,LONG}): This. (createAllPages, makeTempFiles): Updated. 2001-07-09 Werner LEMBERG <wl@gnu.org> * REVISION: Increased to 3.
* * 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'.