groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] Changes to //var/cvs/groff


From: wlemb
Subject: [Groff-commit] Changes to //var/cvs/groff
Date: Tue, 11 Jan 2000 00:30:32 +0100

Log from commit: 

Update of /var/cvs/groff/grops
In directory genba:/vol2/tmp/cvs-serv15294/grops

Modified Files:
        ps.cc psrm.cc 
Log Message:
* Makefile.comm, Makefile.in, doc/Makefile: More fixes for the
revision scheme.

Add a new read-only register, `.Y', which contains the groff
revision.

* troff/input.cc (init_input_requests): Define it.
* troff/Makefile.sub (majorminor.cc): Define `revision' string.
* doc/groff.texinfo, troff/troff.man: Document it.

* libgroff/Makefile.sub (version.cc): Add definition of
`Version_string[]', consisting of `<major>.<minor>.<revision>'
* eqn/main.cc, grodvi/dvi.cc, grolj4/lj4.cc, grops/ps.cc,
grotty/tty.cc, hpftodit/hpftodit.cc, indxbib/indxbib.cc, pic/main.cc,
refer/refer.cc, soelim/soelim.cc, tbl/main.cc, tfmtodit/tfmtodit.cc,
troff/input.cc, pfbtops/pfbtops.c: Use it.


Add a revision scheme to the groff package.

* REVISION: New file.
* libgroff/Makefile.sub (version.cc): Use it to define
`revision_string[]'.
* grops/psrm.cc: Use revision_string (converted to an unsigned
integer) in constructor of resource_manager.


* devutf8/Makefile.sub, devutf8/DESC.proto, devutf8/R.proto: New
files.
* Makefile.in (DEVDIRS): Add devutf8.
* grotty/tty.cc: Include device.h.
(glyph): Change type of `code' to `unsigned int'.
(tty_printer): New field is_utf8.  Constructor takes device argument.
(tty_printer::tty_printer): If device if `utf8', set is_utf8.
(tty_printer::add_char): Change type of first arg to `unsigned int'.
(tty_printer::put_char): New function.
(tty_printer::end_page): Use put_char() instead of ::putchar().
(make_printer): Pass device to tty_printer constructor.
* nroff.sh: Determine default device by calling 'locale'.  As a
fallback, look at all of $LC_ALL, $LC_CTYPE, $LANG, $LESSCHARSET.
Recognize UTF-8 locales.
* tmac/eqnrc: Recognize utf8 like latin1.
* tmac/troffrc: Device utf8 needs tmac.tty.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]