summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-10-05 18:39:10 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-10-05 22:36:59 -0700
commit347c06761a1a01fb1c8bda56bf636d05ffb34b3a (patch)
treecdee8c275ef5433c9ed8c6771fbc8a9e3048878a
parent60a8fb34e19fda1ca58b70267cb2ccbea29a036e (diff)
downloadtxr-347c06761a1a01fb1c8bda56bf636d05ffb34b3a.tar.gz
txr-347c06761a1a01fb1c8bda56bf636d05ffb34b3a.tar.bz2
txr-347c06761a1a01fb1c8bda56bf636d05ffb34b3a.zip
Version 99.txr-99
* RELNOTES: Updated. * configure, txr.1: Bumped version. * share/txr/stdlib/ver.txr: Likewise * Makefile: Improve binary packaging rules. * regex.c: #include <stdarg.h> added.
-rw-r--r--ChangeLog14
-rw-r--r--Makefile17
-rw-r--r--RELNOTES29
-rwxr-xr-xconfigure2
-rw-r--r--regex.c1
-rw-r--r--share/txr/stdlib/ver.txr2
-rw-r--r--txr.14
7 files changed, 54 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog
index 58ff762f..961af894 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2014-10-05 Kaz Kylheku <kaz@kylheku.com>
+
+ Version 99.
+
+ * RELNOTES: Updated.
+
+ * configure, txr.1: Bumped version.
+
+ * share/txr/stdlib/ver.txr: Likewise
+
+ * Makefile: Improve binary packaging rules.
+
+ * regex.c: #include <stdarg.h> added.
+
2014-10-04 Kaz Kylheku <kaz@kylheku.com>
Printing of regular expression objects implemented.
diff --git a/Makefile b/Makefile
index 7c3d5ff7..511ed9d5 100644
--- a/Makefile
+++ b/Makefile
@@ -171,18 +171,19 @@ install: $(PROG)
$(call INSTALL,0444,$(top_srcdir)/txr.1,$(DESTDIR)$(mandir)/man1)
$(call INSTALL,0444,$(top_srcdir)/share/txr/stdlib/*.txr,$(DESTDIR)$(datadir)/stdlib)
-.PHONY: unixtar tar zip
+.PHONY: unixtar gnutar zip
-pax tar zip: DESTDIR=pkg
-pax tar zip: prefix=
-pax tar zip: PREINSTALL=rm -rf pkg
+unixtar gnutar zip: DESTDIR=pkg
+zip: prefix=/txr
+unixtar gnutar zip: PREINSTALL=rm -rf pkg
-pax: install
- cd pkg; find . | pax -w -f ../txr-$(txr_ver)-bin.tar -x ustar .
+unixtar: install
+ cd pkg; pwd; find . | pax -M uidgid -w -f ../txr-$(txr_ver)-bin.tar -x ustar ; ls ../*.tar
+ pwd
compress txr-$(txr_ver)-bin.tar
-tar: install
- tar -C pkg -cZf txr-$(txr_ver)-bin.tar.Z .
+gnutar: install
+ tar --owner=0 --group=0 -C pkg -czf txr-$(txr_ver)-bin.tar.gz .
zip: install
cd pkg; zip -r ../txr-$(txr_ver)-bin.zip .
diff --git a/RELNOTES b/RELNOTES
index fdea8f12..298faa34 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -1,10 +1,33 @@
+ TXR 99
+ 2014-10-05
+
+
+ Features
+
+ - Variables in the pattern language can be bound to regexes, in
+ which case they perform regex matches when matched against
+ input.
+
+ - Representation for compiled regexes is streamlined.
+
+ - Regex objects now print in regex notation.
+
+ Bugs
+
+ - Fixed August 11 regression affecting 96 through 98: broken matching of
+ unbound variables followed by bound variables.
+
+ - Fixed one more problem with andf function: (andf) not returning t.
+
+
+
TXR 98
2014-09-26
Features
- - New numeric constants givin pi, e and various limits of floating point
+ - New numeric constants giving pi, e and various limits of floating point
representation.
- New syntax-error exception type; syntax errors in expressions passed
@@ -29,12 +52,12 @@
- Fixed bad memory performance when the program works with large
heaped objects, by making GC aware of this memory.
- - Fixed broken return value semantics of orf and and combinators.
+ - Fixed broken return value semantics of orf and andf combinators.
TXR 97
- 2014-08-14
+ 2014-08-29
Bugs
diff --git a/configure b/configure
index 26e8fd4a..2bab206d 100755
--- a/configure
+++ b/configure
@@ -408,7 +408,7 @@ fi
#
-txr_ver=98
+txr_ver=99
#
# The all important banner.
diff --git a/regex.c b/regex.c
index b267b52a..e4dfee4d 100644
--- a/regex.c
+++ b/regex.c
@@ -34,6 +34,7 @@
#include <dirent.h>
#include <limits.h>
#include <signal.h>
+#include <stdarg.h>
#include "config.h"
#include "lib.h"
#include "parser.h"
diff --git a/share/txr/stdlib/ver.txr b/share/txr/stdlib/ver.txr
index 16fd4692..78604a04 100644
--- a/share/txr/stdlib/ver.txr
+++ b/share/txr/stdlib/ver.txr
@@ -1 +1 @@
-@(do (defvar *lib-version* 98))
+@(do (defvar *lib-version* 99))
diff --git a/txr.1 b/txr.1
index a7462112..101f464d 100644
--- a/txr.1
+++ b/txr.1
@@ -343,9 +343,9 @@
.ds TX \f[B]TXR\f[]
.ds TL \f[B]TXR Lisp\f[]
.\" Start of man page:
-.TH TXR 1 2014-09-26 "Utility Commands" "TXR Data Processing Language" "Kaz Kylheku"
+.TH TXR 1 2014-10-05 "Utility Commands" "TXR Data Processing Language" "Kaz Kylheku"
.SH* NAME
-\*(TX \- text processing language (version 98)
+\*(TX \- text processing language (version 99)
.SH* SYNOPSIS
.cblk
.meti txr >> [ options ] < query-file < data-files ..