From 4f61ef03a2f9559d93ce43d5a5a5db86cbf33cd5 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 28 Jul 2015 20:00:26 -0700 Subject: Centered fields in format. * stream.c (enum align): New enum. (vformat_align_pre, vformat_align_post): New static functions. (vformat_num, vformat_str): Argument left renamed to align, and changed to enum align. vformat_align_pre and vformat_align_post are called to generate the correct padding for left, center and right alignment. (vformat): Two-valued local variable left turned into three-valued align. The ^ prefix on the width field is recognized. * txr.1: Documented ^ width prefix. --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 75601567..bea91235 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2015-07-28 Kaz Kylheku + + Centered fields in format. + + * stream.c (enum align): New enum. + (vformat_align_pre, vformat_align_post): New static functions. + (vformat_num, vformat_str): Argument left renamed to align, and changed + to enum align. vformat_align_pre and vformat_align_post are called to + generate the correct padding for left, center and right alignment. + (vformat): Two-valued local variable left turned into three-valued + align. The ^ prefix on the width field is recognized. + + * txr.1: Documented ^ width prefix. + 2015-07-28 Kaz Kylheku * share/txr/stdlib/txr-case.tl (txr-case-impl): Bugfix, -- cgit v1.2.3