• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1New in 3.9.0 (Gary Houston): Conversion to cmake build system,
2contributed by Stephen Just. Simplify version labelling. Simplify
3build system by not generating headers. Adjust types and add casts to
4avoid compiler warnings. Remove unused and undocumented REG_DUMP
5flag. Make regerror more robust.
6
7New in alpha3.8.g7 (Gary Houston): Configuration scripts updated. Make sure
8symlinks aren't created by libtool. 26 Nov 2015.
9
10New in alpha3.8.g6 (Gary Houston): Bug fix for integer overflow in regcomp
11for excessively long pattern strings. CERT Vulnerability Note VU#695940.
12Found by Guido Vranken. Configuration scripts updated. 25 Feb 2015.
13
14New in alpha3.8.g5 (Gary Houston): Configuration scripts updated. Fixed
15"make check". Deleted unused "fake" C library headers.
16
17New in alpha3.8.g4 (Gary Houston): Makefile.am: account for $(DESTDIR)
18in install-data-local, thanks to  Aleksey Cheusov. Configuration scripts
19updated.
20
21New in alpha3.8.g3 (Gary Houston): configuration scripts updated.
22
23New in alpha3.8.g2 (Gary Houston): configure.in, Makefile.am: updated
24for newer versions of autoconf/automake/libtool, with miscellaneous
25changes.  mkh: don't set PATH, in case utilities are in non-standard
26locations (i.e., cygwin).
27
28New in alpha3.8.g1 (Gary Houston): Use autoconf/automake/libtool to
29build, test and install the library.  Renamed the installed files to
30avoid conflicts with other regex libraries.
31
32New in alpha3.8:  Bug fix for signed/unsigned mixup, found and fixed
33by the FreeBSD folks.
34
35New in alpha3.7:  A bit of cleanup aimed at maximizing portability,
36possibly at slight cost in efficiency.  "ul" suffixes and "unsigned long"
37no longer appear, in particular.
38
39New in alpha3.6:  A couple more portability glitches fixed.
40
41New in alpha3.5:  Active development of this code has been stopped --
42I'm working on a complete reimplementation -- but folks have found some
43minor portability glitches and the like, hence this release to fix them.
44One penalty:  slightly reduced compatibility with old compilers, because
45the ANSI C `unsigned long' type and `ul' constant suffix are used in a
46few places (I could avoid this but it would be considerably more work).
47
48New in alpha3.4:  The complex bug alluded to below has been fixed (in a
49slightly kludgey temporary way that may hurt efficiency a bit; this is
50another "get it out the door for 4.4" release).  The tests at the end of
51the tests file have accordingly been uncommented.  The primary sign of
52the bug was that something like a?b matching ab matched b rather than ab.
53(The bug was essentially specific to this exact situation, else it would
54have shown up earlier.)
55
56New in alpha3.3:  The definition of word boundaries has been altered
57slightly, to more closely match the usual programming notion that "_"
58is an alphabetic.  Stuff used for pre-ANSI systems is now in a subdir,
59and the makefile no longer alludes to it in mysterious ways.  The
60makefile has generally been cleaned up some.  Fixes have been made
61(again!) so that the regression test will run without -DREDEBUG, at
62the cost of weaker checking.  A workaround for a bug in some folks'
63<assert.h> has been added.  And some more things have been added to
64tests, including a couple right at the end which are commented out
65because the code currently flunks them (complex bug; fix coming).
66Plus the usual minor cleanup.
67
68New in alpha3.2:  Assorted bits of cleanup and portability improvement
69(the development base is now a BSDI system using GCC instead of an ancient
70Sun system, and the newer compiler exposed some glitches).  Fix for a
71serious bug that affected REs using many [] (including REG_ICASE REs
72because of the way they are implemented), *sometimes*, depending on
73memory-allocation patterns.  The header-file prototypes no longer name
74the parameters, avoiding possible name conflicts.  The possibility that
75some clot has defined CHAR_MIN as (say) `-128' instead of `(-128)' is
76now handled gracefully.  "uchar" is no longer used as an internal type
77name (too many people have the same idea).  Still the same old lousy
78performance, alas.
79
80New in alpha3.1:  Basically nothing, this release is just a bookkeeping
81convenience.  Stay tuned.
82
83New in alpha3.0:  Performance is no better, alas, but some fixes have been
84made and some functionality has been added.  (This is basically the "get
85it out the door in time for 4.4" release.)  One bug fix:  regfree() didn't
86free the main internal structure (how embarrassing).  It is now possible
87to put NULs in either the RE or the target string, using (resp.) a new
88REG_PEND flag and the old REG_STARTEND flag.  The REG_NOSPEC flag to
89regcomp() makes all characters ordinary, so you can match a literal
90string easily (this will become more useful when performance improves!).
91There are now primitives to match beginnings and ends of words, although
92the syntax is disgusting and so is the implementation.  The REG_ATOI
93debugging interface has changed a bit.  And there has been considerable
94internal cleanup of various kinds.
95
96New in alpha2.3:  Split change list out of README, and moved flags notes
97into Makefile.  Macro-ized the name of regex(7) in regex(3), since it has
98to change for 4.4BSD.  Cleanup work in engine.c, and some new regression
99tests to catch tricky cases thereof.
100
101New in alpha2.2:  Out-of-date manpages updated.  Regerror() acquires two
102small extensions -- REG_ITOA and REG_ATOI -- which avoid debugging kludges
103in my own test program and might be useful to others for similar purposes.
104The regression test will now compile (and run) without REDEBUG.  The
105BRE \$ bug is fixed.  Most uses of "uchar" are gone; it's all chars now.
106Char/uchar parameters are now written int/unsigned, to avoid possible
107portability problems with unpromoted parameters.  Some unsigned casts have
108been introduced to minimize portability problems with shifting into sign
109bits.
110
111New in alpha2.1:  Lots of little stuff, cleanup and fixes.  The one big
112thing is that regex.h is now generated, using mkh, rather than being
113supplied in the distribution; due to circularities in dependencies,
114you have to build regex.h explicitly by "make h".  The two known bugs
115have been fixed (and the regression test now checks for them), as has a
116problem with assertions not being suppressed in the absence of REDEBUG.
117No performance work yet.
118
119New in alpha2:  Backslash-anything is an ordinary character, not an
120error (except, of course, for the handful of backslashed metacharacters
121in BREs), which should reduce script breakage.  The regression test
122checks *where* null strings are supposed to match, and has generally
123been tightened up somewhat.  Small bug fixes in parameter passing (not
124harmful, but technically errors) and some other areas.  Debugging
125invoked by defining REDEBUG rather than not defining NDEBUG.
126
127New in alpha+3:  full prototyping for internal routines, using a little
128helper program, mkh, which extracts prototypes given in stylized comments.
129More minor cleanup.  Buglet fix:  it's CHAR_BIT, not CHAR_BITS.  Simple
130pre-screening of input when a literal string is known to be part of the
131RE; this does wonders for performance.
132
133New in alpha+2:  minor bits of cleanup.  Notably, the number "32" for the
134word width isn't hardwired into regexec.c any more, the public header
135file prototypes the functions if __STDC__ is defined, and some small typos
136in the manpages have been fixed.
137
138New in alpha+1:  improvements to the manual pages, and an important
139extension, the REG_STARTEND option to regexec().
140