summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog45
-rwxr-xr-xconfigure2
-rw-r--r--txr.14
-rw-r--r--txr.c2
4 files changed, 49 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ae568ed..0400bd03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,50 @@
2011-10-30 Kaz Kylheku <kaz@kylheku.com>
+ Version 041
+
+ Bugfixes:
+
+ Runaway recursion in @(block) directive, introduced in 040.
+
+ Fixed bug in matching list variable against text, at the same
+ time clarifying semantics to longest-match.
+
+ Fixed potential excessive memory use caused by refactoring in 040.
+
+ Features:
+
+ New :append keyword in @(output) to append instead of overwriting.
+
+ Variable contents can be treated as input sources using :string
+ and :list keywords in @(next). Variables can be treated as output
+ destinations using :into keyword in @(output).
+
+ New @(set) directive for destructive assignment to a variable.
+
+ New filters: :upcase and :downcase.
+
+ @(bind) can now compare left and right objects through filters.
+
+ Filters can now be chained into compound filters.
+
+ Pattern matching functions can be used as filters.
+
+ Shorthand notation in @(deffilter) when multiple strings map to the
+ same replacement string.
+
+ @(cat) directive changes syntax.
+
+ Error handling improvements in parser: no more reams and reams of
+ errors.
+
+ * txr.c (version): Bumped.
+
+ * txr.1: Bumped version and set date.
+
+ * configure (txr_ver): Bumped.
+
+2011-10-30 Kaz Kylheku <kaz@kylheku.com>
+
We don't include headers in headers in this project.
* parser.h: Do not include <stdio.h>
diff --git a/configure b/configure
index fce59e28..ba37a922 100755
--- a/configure
+++ b/configure
@@ -343,7 +343,7 @@ fi
#
-txr_ver=040
+txr_ver=041
#
# The all important banner.
diff --git a/txr.1 b/txr.1
index c6a5cd5b..edf0bbd0 100644
--- a/txr.1
+++ b/txr.1
@@ -21,9 +21,9 @@
.\"IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\"WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-.TH "txr" 1 2011-10-20 "Utility Commands" "Txr Text Extractor" "Kaz Kylheku"
+.TH "txr" 1 2011-10-30 "Utility Commands" "Txr Text Extractor" "Kaz Kylheku"
.SH NAME
-txr \- text extractor (version 040)
+txr \- text extractor (version 041)
.SH SYNOPSIS
.B txr [ options ] query-file { data-file }*
.sp
diff --git a/txr.c b/txr.c
index 410339c5..33ef5003 100644
--- a/txr.c
+++ b/txr.c
@@ -43,7 +43,7 @@
#include "utf8.h"
#include "txr.h"
-const wchli_t *version = wli("040");
+const wchli_t *version = wli("041");
const wchar_t *progname = L"txr";
const wchar_t *spec_file = L"stdin";
val spec_file_str;