diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-09-26 23:21:58 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-09-26 23:21:58 -0700 |
commit | 29b5d37a8577d83ae0c88b2e894287b990e6849e (patch) | |
tree | 71de03c6df0949cf41bde27e2ce5f42afaa40eb1 /ChangeLog | |
parent | d5fdbd469b38c5444d7d9995a87546a12a6638bf (diff) | |
download | txr-29b5d37a8577d83ae0c88b2e894287b990e6849e.tar.gz txr-29b5d37a8577d83ae0c88b2e894287b990e6849e.tar.bz2 txr-29b5d37a8577d83ae0c88b2e894287b990e6849e.zip |
Support &#xNNNN; hex escapes in html. Bugfix in field formatting.
chr function inlined.
* filter.c (trie_value_at, trie_lookup_feed_char): Handle function
case.
(build_filter): New parameter, compress_p.
(html_hex_continue, html_hex_handler): New functions.
(filter_init): Add a function-based node to the from_html trie.
* lib.c (chr): Function removed.
(functionp) New function.
* lib.h (chr): Declaration replaced with inline function.
(functionp): Declared.
* match.c (format_field): Bugfix: failed to apply filter
that came in as an argument.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 25 |
1 files changed, 22 insertions, 3 deletions
@@ -6,9 +6,8 @@ Obsolete forms of @(next) and @(output) syntax are gone. - New filtering feature for substitutions in output. - Filtering to and from HTML built in, plus user-defined - filtering with deffilter. + New filtering feature for substitutions in output. Filtering to and + from HTML built in, plus user-defined filtering with deffilter. Bugfixes: wrong error message in throw; lack of support for escaping backslashes in literals and regexes. @@ -21,6 +20,26 @@ 2011-09-26 Kaz Kylheku <kaz@kylheku.com> + Support &#xNNNN; hex escapes in html. Bugfix in field formatting. + chr function inlined. + + * filter.c (trie_value_at, trie_lookup_feed_char): Handle function + case. + (build_filter): New parameter, compress_p. + (html_hex_continue, html_hex_handler): New functions. + (filter_init): Add a function-based node to the from_html trie. + + * lib.c (chr): Function removed. + (functionp) New function. + + * lib.h (chr): Declaration replaced with inline function. + (functionp): Declared. + + * match.c (format_field): Bugfix: failed to apply filter + that came in as an argument. + +2011-09-26 Kaz Kylheku <kaz@kylheku.com> + Bugfixes: Consistent escaping in various literals. Double backslash codes for single backslash. Output clause can be empty. |