summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-05-06 23:29:20 +0000
committerwlemb <wlemb>2001-05-06 23:29:20 +0000
commit2cb0df330838a0f76209415679eae40517857968 (patch)
tree51957b3659d56e6b5868cb2ac44edc20155d54ff /ChangeLog
parent3fcb4709050e965ef5b6c9b9df63909f6192fc25 (diff)
downloadgroff-2cb0df330838a0f76209415679eae40517857968.tar.gz
Added two new requests `de1' and `am1' which are similar to `de' and
`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).
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog33
1 files changed, 33 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f3021271..60cebd2c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,36 @@
+2001-05-06 Werner LEMBERG <wl@gnu.org>
+
+ Added two new requests `de1' and `am1' which are similar to `de' and
+ `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.
+
+2001-05-06 Solar Designer <solar@openwall.com>
+
+ * Makefile.in: Use $(mandir).
+
2001-05-06 Alexios Zavras <zvr@pobox.com>
* src/utils/afmtodit/afmtodit.pl: Fix serious typo.