summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-03-05 01:31:46 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-03-05 01:43:17 -0800
commitb6b7464882986fc24d7e3e6f37b694593d1097a1 (patch)
tree023d4ae7cb67b099c882526f9952e089dde92dcc /ChangeLog
parent67ac7a217bdfd6e4a813cc6caa68a75fb754e28b (diff)
downloadtxr-b6b7464882986fc24d7e3e6f37b694593d1097a1.tar.gz
txr-b6b7464882986fc24d7e3e6f37b694593d1097a1.tar.bz2
txr-b6b7464882986fc24d7e3e6f37b694593d1097a1.zip
* stream.c (vformat): Fix broken parsing of parameteric width and
precision (i.e. given by *). The simplest way to do this is to add a state vf_star which is similar to vf_digits, and reuses much of the logic via a goto. Fixing forgotten --fmt (push back char) when moving from vf_precision to vf_spec state due to unhandled character. Also, allowing a leading zero before a precision given as * so that computed precisions can be combined with zero padding. * txr.1: Documented leading zero better so it is clear it combines with *. Restructured documentation.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d14ecdc..112fffd0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
2014-03-05 Kaz Kylheku <kaz@kylheku.com>
+ * stream.c (vformat): Fix broken parsing of parameteric width and
+ precision (i.e. given by *). The simplest way to do this is to add a
+ state vf_star which is similar to vf_digits, and reuses much of the
+ logic via a goto. Fixing forgotten --fmt (push back char) when moving
+ from vf_precision to vf_spec state due to unhandled character.
+ Also, allowing a leading zero before a precision given as *
+ so that computed precisions can be combined with zero padding.
+
+ * txr.1: Documented leading zero better so it is clear it
+ combines with *. Restructured documentation.
+
+2014-03-05 Kaz Kylheku <kaz@kylheku.com>
+
* stream.c (put_line): Default string argument to empty string.
(stream_init): Change how put_line is registered to take advantage of
new optional parameter.