diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-03-26 20:28:53 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-03-26 20:28:53 -0700 |
commit | 3a39417c79287b8231e70c4a2742fd8ebe3331ef (patch) | |
tree | de10b519a6e283115595dc661d64ae40c64df373 /ChangeLog | |
parent | a039c6a600ec6e1ad03fb0c5b1ada336ddf8fdb7 (diff) | |
download | txr-3a39417c79287b8231e70c4a2742fd8ebe3331ef.tar.gz txr-3a39417c79287b8231e70c4a2742fd8ebe3331ef.tar.bz2 txr-3a39417c79287b8231e70c4a2742fd8ebe3331ef.zip |
Filtering on lists and nested lists is hereby made to work.
For instance given @(bind a ("a" "b" "c")) it is now possible
to do @(filter :upcase a) whereby a promptly takes on the value
("A" "B" "C").
* filter.c (string_filter): Function renamed to string_tree_filter.
(compound_filter): Follows rename.
(filter_string): Function renamed to filter string tree.
Can filter tree of strings, or possibly other objects,
if the filter function allows.
(filter_equal): No special case test for objects that are strings.
Just put them through the filter.
* filter.h (filter_string): Declaration updated.
* match.c (format_field, subst_vars, v_filter): Follow rename.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,5 +1,24 @@ 2012-03-26 Kaz Kylheku <kaz@kylheku.com> + Filtering on lists and nested lists is hereby made to work. + For instance given @(bind a ("a" "b" "c")) it is now possible + to do @(filter :upcase a) whereby a promptly takes on the value + ("A" "B" "C"). + + * filter.c (string_filter): Function renamed to string_tree_filter. + (compound_filter): Follows rename. + (filter_string): Function renamed to filter string tree. + Can filter tree of strings, or possibly other objects, + if the filter function allows. + (filter_equal): No special case test for objects that are strings. + Just put them through the filter. + + * filter.h (filter_string): Declaration updated. + + * match.c (format_field, subst_vars, v_filter): Follow rename. + +2012-03-26 Kaz Kylheku <kaz@kylheku.com> + * match.c (v_output): Bugfix: we should flush the stream after each @(output) block. Otherwise if output blocks that go to standard output are interleaved with output blocks |