CVSROOT: /cvsroot/groff
Module name: groff
Changes by: Werner LEMBERG <wl> 09/12/31 07:49:46
Modified files:
. : ChangeLog
doc : groff.texinfo
man : groff_diff.man
src/roff/troff : input.cpp
Log message:
Make patterns with uppercase letters work.
Problem reported by Bjarni Ingi Gislason <[email protected]>.
* src/roff/troff/input.cpp (init_hpf_code_table): Use `cmlower'.
* doc/groff.texinfo, man/groff_diff.man: Update documentation of
`hpfcode' request.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1216&r2=1.1217
http://cvs.savannah.gnu.org/viewcvs/groff/doc/groff.texinfo?cvsroot=groff&r1=1.286&r2=1.287
http://cvs.savannah.gnu.org/viewcvs/groff/man/groff_diff.man?cvsroot=groff&r1=1.72&r2=1.73
http://cvs.savannah.gnu.org/viewcvs/groff/src/roff/troff/input.cpp?cvsroot=groff&r1=1.61&r2=1.62
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1216
retrieving revision 1.1217
diff -u -b -r1.1216 -r1.1217
--- ChangeLog 24 Nov 2009 13:32:17 -0000 1.1216
+++ ChangeLog 31 Dec 2009 07:49:45 -0000 1.1217
@@ -1,3 +1,12 @@
+2009-12-31 Werner LEMBERG <[email protected]>
+
+ Make patterns with uppercase letters work.
+ Problem reported by Bjarni Ingi Gislason <[email protected]>.
+
+ * src/roff/troff/input.cpp (init_hpf_code_table): Use `cmlower'.
+ * doc/groff.texinfo, man/groff_diff.man: Update documentation of
+ `hpfcode' request.
+
2009-11-24 Maurice van der Pot <[email protected]>
Fix double frees and memory leaks.
Index: doc/groff.texinfo
===================================================================
RCS file: /cvsroot/groff/groff/doc/groff.texinfo,v
retrieving revision 1.286
retrieving revision 1.287
diff -u -b -r1.286 -r1.287
--- doc/groff.texinfo 22 Jul 2009 04:56:05 -0000 1.286
+++ doc/groff.texinfo 31 Dec 2009 07:49:45 -0000 1.287
@@ -6976,7 +6976,9 @@
integers from 0 t...@tie{}255. The request maps character
c...@tie{}@var{a} to c...@tie{}@var{b}, c...@tie{}@var{c} to
c...@tie{}@var{d}, and so on. You can use character codes which would
-be invalid otherwise.
+be invalid otherwise. By default, everything maps to itself except
+letters `A' to `Z' which map to `a' to `z'.
+
@pindex troffrc
@pindex troffrc-end
Index: man/groff_diff.man
===================================================================
RCS file: /cvsroot/groff/groff/man/groff_diff.man,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- man/groff_diff.man 21 Feb 2009 07:40:22 -0000 1.72
+++ man/groff_diff.man 31 Dec 2009 07:49:46 -0000 1.73
@@ -1599,6 +1599,10 @@
request to map the encoding used in hyphenation patterns files to
.BR groff 's
input encoding.
+.
+By default, everything maps to itself except letters `A' to `Z' which
+map to `a' to `z'.
+.
.IP
The set of hyphenation patterns is associated with the current language
set by the
Index: src/roff/troff/input.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/roff/troff/input.cpp,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- src/roff/troff/input.cpp 24 Nov 2009 13:32:18 -0000 1.61
+++ src/roff/troff/input.cpp 31 Dec 2009 07:49:46 -0000 1.62
@@ -6602,7 +6602,7 @@
static void init_hpf_code_table()
{
for (int i = 0; i < 256; i++)
- hpf_code_table[i] = i;
+ hpf_code_table[i] = cmlower(i);
}
static void do_translate(int translate_transparent, int translate_input)
_______________________________________________
Groff-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff-commit