| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* tmac/doc.tmac, tmac/doc-common: Do it.
* tmac/groff_mdoc.man: Updated.
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common: Add many architecture names used in NetBSD and
OpenBSD (and "arm" from FreeBSD) and remove the duplicate OS version
entry for Darwin-10.6.0.
* tmac/doc-syms: Add many library names used in NetBSD and FreeBSD.
* tmac/groff_mdoc.man: Document all supported architecture names, OS
versions, and library names.
|
|
|
|
|
| |
* tmac/doc-common: Add versions strings for NetBSD, OpenBSD,
FreeBSD, and DragonFly.
|
|
|
|
|
| |
* tmac/doc-common: Add strings for FreeBSD 8.2 and Darwin 9.7-11.0.
* tmac/doc-syms: Add strings -lbsm and -lSystem.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (doc-operating-system-NetBSD): Add versions 5.0,
5.0.1, and 5.0.2.
(doc-operating-system-OpenBSD-*): New strings.
(doc-operating-system-FreeBSD-*): Add version 8.1.
(doc-operating-system-DragonFly-*): Add versions 2.2, 2.4, 2.6, and
2.8.
(Os): Handle DragonFly and OpenBSD.
* tmac/groff_mdoc.man: Document OpenBSD releases.
Add DragonFly release 2.8.
|
|
|
|
|
|
| |
* tmac/doc-common: Add FreeBSD versions 7.2, 7.3, and 8.0
* tmac/doc-syms: Add Posix 2008
* tmac/groff_mdoc.man: Document it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (%U): New register.
(Rd): Handle `doc-url-count' and `doc-url-name'.
* tmac/doc.tmac (doc-url-count, doc-url-name): New registers.
(doc-save-global-vars, doc-restore-global-vars, doc-reset-reference,
doc-print-reference): Handle `doc-url-count' and `doc-url-name'.
(%U): New macro.
* NEWS, tmac/groff_mdoc.man: Document `%U' macro.
|
| |
|
|
|
|
|
|
|
|
|
| |
headers.
* tmac/andoc.tmac (reload-doc): Simplify due to change in
doc-common.
* NEWS: Document it.
|
|
|
|
| |
NetBSD 4.0.1.
|
| |
|
|
|
|
| |
`.Nm' work properly if next manual page is printed.
|
|
|
|
|
|
| |
FreeBSD 5.5 and 7.0.
* tmac/doc-syms: Give better names for System V releases.
|
|
|
|
|
|
|
|
|
|
|
| |
(doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
strings.
(doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
doc-operating-system-DragonFly-*): New operating system strings.
* tmac/groff_mdoc.man, NEWS: Document `Dx'.
|
|
|
|
|
| |
* tmac/doc-common (Os): Add more Darwin versions.
* tmac/groff_mdoc.man: Document them.
|
|
|
|
| |
* tmac/groff_mdoc.man: Updated.
|
|
|
|
| |
* tmac/groff_mdoc.man: Document them.
|
|
|
|
|
|
| |
doc-operating-system-NetBSD-2.0.2): New strings.
* tmac/groff_mdoc.man: Updated.
|
|
|
|
|
| |
tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
Update BSD license.
|
|
|
|
|
|
|
|
| |
Remove dead code.
* src/roff/troff/div.cpp (top_level_diversion::space): Protect
against division by zero.
|
|
|
|
|
|
| |
(doc-operating-system-*): Updated.
* tmac/doc-syms (doc-str-St-*): Various small fixes.
(doc-str-Lb-*): Add more library names.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
(polyfill), src/preproc/grn/main.cpp (polyfill),
src/preproc/refer/command.cpp (command_table),
src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
gcc 3.5 doesn't like).
Removing many compiler warnings. groff should now compile with
a C++ compiler used for C files also. [Simple variable renamings
to avoid shadowing aren't logged in detail.]
* src/devices/grodvi/dvi.cpp: Some local variable renamings.
(draw_dvi_printer::draw) ['c']: Enclose in block.
* src/devices/grohtml/post-html.cpp: Some local variable renamings.
(page::add_line): Fix typos.
* src/devices/grohtml/html-text.cpp: Some local variable renamings.
* src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
Some local variable renamings.
* src/devices/grolbp/lbp.h: Some local variable renamings.
* src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
variable renamings.
* src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
Remove redundant local variable declaration.
* src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
Don't use `caddr_t' but `void *'.
Enclose functions with `extern "C"' for C++.
* src/libs/libdriver/input.cpp (remember_filename,
remember_source_filename): Use cast for string constant.
* src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
src/libs/libgroff/geometry.cpp: Some local variable renamings.
* src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
style.
Enclose functions with `extern "C"' for C++.
* src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
(needs_quoting): Return `int'.
(quote_arg): Add proper casts to malloc and realloc.
* src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
various MS Windows environments.
(spawnvp_wrapper): Add proper cast to malloc.
* src/preproc/eqn/box.h: Remove redundant declarations of
`make_script_box', `make_mark_box' and `make_lineup_box'.
* src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
* src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
variable renamings.
* src/preproc/grn/hpoint.cpp: Some local variable renamings.
* src/preproc/grn/hgraph.cpp: Some local variable renamings.
(dx, dy): Renamed functions to...
(deltax, deltay): This.
* src/preproc/grn/main.cpp: Some local variable renamings.
(deffont): Add `const'.
(initpic, conv): Use cast for string constant.
* src/preproc/html/pre-html.cpp: Some local variable renamings.
(makeFileName, alterDeviceTo, addZ): Use cast for string constant.
(char_buffer::run_output_filter): Second argument is unused.
* src/preproc/html/pushback.cpp: Some local variable renamings.
* src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
* src/preproc/pic/object.cpp: Some local variable renamings.
* src/preproc/refer/label.y (lookup_label): Remove redundant
declaration of local variable.
* src/preproc/soelim.cpp: Remove redundant declaration of
`interpret_lf_args'.
* src/preproc/tbl/main.cpp: Some local variable renamings.
* src/roff/groff/groff.cpp (main): Use cast for string constant.
* src/roff/groff/pipeline.c: Enclose declarations of `error',
`c_fatal', and `i_to_a' with `extern "C"' for C++.
Don't use C++-style comments.
* src/roff/troff/env.h: Remove redundant declaration of `title'.
* src/roff/troff/node.h, src/roff/troff/env.cpp,
src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
renamings.
* src/roff/troff/div.h: Remove redundant declaration of
`end_diversions'.
* src/roff/troff/troff.h: Remove redundant declaration of
`cleanup_and_exit'
* src/roff/troff/input.cpp: Remove redundant declaration of
`handle_first_page_transition' and `process_input_stack'.
* src/utils/hpftodit.cpp: Some local variable renamings.
* src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
for C++.
Don't define RETSIGTYPE.
* src/utils/indxbib/indxbib.cpp: Some local variable renamings.
* src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
(error): Use `const' in argument.
(main): Remove redundant declaration of `optind'.
Move declaration of `Version_string' to top-level.
* PROBLEMS: Document difficulties compiling signal.c if a C++
compiler is used for C.
* Makefile.sub (DISTCLEANFILES): Add `test-groff'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (doc-in-library-section): New register.
(doc-section-library): New string.
(Sh): Set `doc-in-library-section'.
(Rd): Updated.
* tmac/doc-syms (Lb): Insert breaks before and after arguments
if in LIBRARY section.
* tmac/doc.tmac (doc-save-global-vars): Updated.
* NEWS, tmac/groff_mdoc.man: Updated.
* tmac/doc-common (doc-default-operating-system): New variable.
(Os): Use it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
after `/*' and `*/'.
Fix spacing.
(Fn, Fo): Reduce indentation in synopsis.
* tmac/doc-common (doc-check-depth): New macro.
(doc-end-macro, Sh, Ss): Use it.
(Cd): Fix behaviour in synopsis.
(In): Make it parsed and callable.
If not in the synopsis, represent the C header file enclosed in
angle brackets.
(doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
Use minus, not hyphen.
* tmc/groff_mdoc.man: Updated.
|
|
|
|
| |
`doc-header-space' after header line if register `cR' is set.
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
doc-footer-space): Initialize to 0.5i.
(doc-setup-page-layout): Don't set doc-header-space and
doc-footer-space.
* REVISION: Set to 1.
* doc/pic.ms: Document possible problems with `figname'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (Dt): Don't emit warning for unknown section.
* tmac/groff_mdoc.man: Fix description of `Dt'.
* font/devps/prologue.ps: Fix for included Postscript that does
a setpagedevice -- which is now safely ignored.
* NEWS: Updated.
* src/devices/grops/ps.cc: Now sets the page size in the generated
document. This is done in two ways: Via a %%-comment for gv and
the like, and via a PageSize and setpagedevice for programs that
understands Postscript proper, like ps2pdf.
* src/devices/grops/ps.h: New broken-flag to avoid page size
definition, if required.
* src/devices/grops/grops.man: New broken-flag 16 mentioned.
* doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
Not really necessary due to the fix in prologue.ps, but cleaner:
Such information does not belong in an .eps file.
* doc/Makefile.sub: See doc/Makefile.in.
* aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
instead of P1 since the latter is broken in some versions of netpbm.
* configure: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the value of the .ne register) is now always set before entering the
trap.
* src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
`needed_space' before calling `space'.
(top_level_diversion::space): Remove special code for 'sp before the
first page.
Call `begin_page' with the discarded space as a parameter.
(top_level_diversion::begin_page): Add optional parameter to set
`truncated_space'.
* src/roff/troff/div.h: Updated.
* doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
\n[.ne].
* tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
(LP): Remove superfluous call to `br'.
* tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
* tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(doc-setup-header): Don't set page register `%'.
* tmac/doc-nroff: Remove variable `C'.
(doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
(doc-setup-header): Don't set page register `%'.
Don't call `bp'.
* tmac/doc-common (doc-header): Call `ns'.
(doc-paragraph): Protect .sp with .br so that it survives the
implicit new-page trap.
* tmac/doc.tmac (Bp, Bl, doc-set-vertical-and-indent): Ditto.
* tmac/doc*:Replace ' with . for consistency in all mdoc-related
files if no effect.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
suppress additional whitespace after the header.
* tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync
with NetBSD.
* src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated.
* tmac/doc-common(doc-volume-operating-system-ateol): New flag.
(Dt): Use it to improve language localization (especially Russian
and French).
* src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros.
* src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier
drawing commands.
* src/preproc/grn/hgraph.cc (drawwig): Add parameter to control
curve type.
Call `picurve' for BSPLINE.
(HGPrintElt): Handle BSPLINE.
* src/preproc/grn/README: Document it.
|
|
|
|
|
|
| |
strings.
* src/roff/troff/node.cc (bracket_node::copy): Check `list' != 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
string manipulation functions in other programming languages:
Index 0 is now the first character in the string, and index -1
indicates the last character. Since this request didn't work
properly anyway in the last release, it doesn't harm too much to
change the syntax.
* src/roff/troff/input.cc (substring_macro): Use loops to get
the real string length (ignoring COMPATIBLE_SAVE and
COMPATIBLE_RESTORE) and offsets.
Implement change described above.
* man/groff_char.man, tmac/doc-common (doc-header), tmac/doc.tmac
(doc-do-Bd-args, doc-do-Bl-args: Changed accordingly.
* NEWS, doc/groff.texinfo, man/groff_diff.man: Updated.
Make .chop work with .de1 and friends. COMPATIBLE_SAVE and
COMPATIBLE_RESTORE are completely ignored.
* src/roff/troff/input.cc (char_list::set, char_list::get): New
functions.
(macro): `length' field renamed to `len'.
Added new field `empty_macro' (1 if macro is empty), to be used
instead of checking `len'.
Updated all callers.
(macro::empty): Updated.
(macro::length, macro::set, macro::get): New functions.
(macro::append): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
Set `empty_macro'.
(chop_macro): Check and remove trailing COMPATIBLE_SAVE/
COMPATIBLE_RESTORE pairs.
(asciify): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
* src/roff/troff/request.h: Updated.
* doc/groff.texinfo: Document .chop's behaviour better.
* doc/pic.ms: Fix documentation for the addition of positions.
* tmac/doc.tmac, tmac/an-old.tmac: Need groff version 1.18.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/input.cc (token::next): Handle \F.
* src/roff/troff/env.cc (environment::set_family): Handle
`interrupted' flag.
* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
Document it.
* tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of
spaces in tags.
* tmac/Xps.tmac: Remove some redundant code.
* tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac,
tmac/dvi.tmac, contrib/groffer/groffer.man, man/roff.man,
man/groff_out.man, man/groff.man, man/groff_diff.man,
src/roff/groff/groff.man: Replace \f[P] with \f[].
|
|
|
|
|
|
|
|
|
|
|
| |
internal .y.o rule took precendence over the .y.cc rule, compiling
the yacc files with gcc instead of g++.
* tmac/dvi.tmac: Add replacement font for `CB'.
* tmac/doc.tmac: s/request/macro/ in messages.
(doc-generic-macro): Improve error message.
* tmac/groff_mdoc.man: Minor improvements.
|
|
|
|
|
|
| |
avoid (harmless) warning.
* tmac/doc.tmac (Bd): There is no reason to enforce -compact
when in the SYNOPSIS section.
|
|
|
|
|
| |
Do some syntax cleanup.
* tmac/groff_mdoc.man: Updated.
|
|
|
|
|
|
|
|
|
|
| |
* tmac/an-old.tmac (an-p-footer): Set title length in environment 1.
* MANIFEST: New file.
* src/preproc/grn/grn.man: Updated.
* src/preproc/grn/hdb.cc (MAXSTRING_S): New macro.
(DBRead): Use it.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* man/Makefile.sub: Include groff_differences.man.
* VERSION: Set to 1.18.
* REVISION: Set to 0.
* src/roff/troff/input.cc (do_define_macro): Allow whitespace before
the second dot (or ending macro name) to end a macro.
* doc/groff.texinfo: Doc fix.
* tmac/doc-common (doc-header): Handle very long document titles
better.
* tmac/doc.tmac (doc-do-Bl-args): Fix .substring requests.
|
|
|
|
| |
* tmac/doc-common, tmac/groff_tmac.man: Updated.
|
|
|
|
|
| |
doc-display-ps-stack): Implement font and font size stack for
displays.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated documentation.
* tmac/doc.tmac (doc-defunct-macro): New macro.
(Db, Ds, Ex, Or, Sf): Reimplemented using this macro.
(doc-restore-global-vars): Fixed typo.
* tmac/doc-common: Removed `Or' and `Sf' registers.
Moved obsolete `Ds' macro to doc.tmac.
* tmac/groff_mdoc.man: Bump document date.
Document `.Vt' under ``Variable Types''.
Removed documentation for obsolete `.Or' macro.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated to include changes of latest BSD mdoc version (basically,
`.Fn' and `.Fc' put a final semicolon after a function declaration
in the SYNOPSIS section.
* tmac/doc.tmac (doc-in-synopsis-count): Replaced with ...
(doc-in-synopsis-section): New variable. Updated all related
functions.
(doc-indent-synopsis-active): New register.
(Nd, Fn, Fo): Use it.
(Cd): It requires manipulation of n[doc-indent-synopsis] so that
`.Cd' with long argument line produces indented wrapped lines.
Also, the misplaced `.nop *[doc-Nm-font]c'' caused extra
undesirable line break to be output.
(doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to
`.rs'.
(Fn, Fc): Add final `;' to output.
(doc-save-global-vars, doc-restore-global-vars): Updated.
* tmac/doc-common: Remove `Ex' register.
Updated.
* tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated
copyright.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`...'.
* tmac/doc-common: Remove `Ld' register.
Uncomment `doc-volume-ds-*' strings.
Remove `doc-operating-system-default'.
(Os): Updated.
* tmac/doc-syms (Ld): Removed.
* tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle
`...' specially.
* NEWS: Updated.
* tmac/groff_mdoc.man: Many fixes and updates.
* tmac/www.tmac: Save compatibility mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
art', using almost all new features of groff 1.17 -- it won't run
with older versions.
* tmac/doc.tmac: Completely rewritten.
* tmac/doc-common: Ditto.
* tmac/doc-nroff: Ditto.
* tmac/doc-ditroff: Ditto.
* tmac/doc-syms: Ditto.
* tmac/mdoc.local: New file.
* tmac/groff_mdoc.samples.man: Replaced with ...
* tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
* tmac/strip.sed: Updated.
* tmac/Makefile.sub: Updated.
* INSTALL: Updated.
* tmac/groff_man.man: Add `man.local' to the FILES section.
|
|
|