WHATSNEW revision 1.4 1 1.4 jtc New in alpha3.4: The complex bug alluded to below has been fixed (in a
2 1.4 jtc slightly kludgey temporary way that may hurt efficiency a bit; this is
3 1.4 jtc another "get it out the door for 4.4" release). The tests at the end of
4 1.4 jtc the tests file have accordingly been uncommented. The primary sign of
5 1.4 jtc the bug was that something like a?b matching ab matched b rather than ab.
6 1.4 jtc (The bug was essentially specific to this exact situation, else it would
7 1.4 jtc have shown up earlier.)
8 1.4 jtc
9 1.3 jtc New in alpha3.3: The definition of word boundaries has been altered
10 1.3 jtc slightly, to more closely match the usual programming notion that "_"
11 1.3 jtc is an alphabetic. Stuff used for pre-ANSI systems is now in a subdir,
12 1.3 jtc and the makefile no longer alludes to it in mysterious ways. The
13 1.3 jtc makefile has generally been cleaned up some. Fixes have been made
14 1.3 jtc (again!) so that the regression test will run without -DREDEBUG, at
15 1.3 jtc the cost of weaker checking. A workaround for a bug in some folks'
16 1.3 jtc <assert.h> has been added. And some more things have been added to
17 1.3 jtc tests, including a couple right at the end which are commented out
18 1.3 jtc because the code currently flunks them (complex bug; fix coming).
19 1.3 jtc Plus the usual minor cleanup.
20 1.3 jtc
21 1.2 jtc New in alpha3.2: Assorted bits of cleanup and portability improvement
22 1.2 jtc (the development base is now a BSDI system using GCC instead of an ancient
23 1.2 jtc Sun system, and the newer compiler exposed some glitches). Fix for a
24 1.2 jtc serious bug that affected REs using many [] (including REG_ICASE REs
25 1.2 jtc because of the way they are implemented), *sometimes*, depending on
26 1.2 jtc memory-allocation patterns. The header-file prototypes no longer name
27 1.2 jtc the parameters, avoiding possible name conflicts. The possibility that
28 1.2 jtc some clot has defined CHAR_MIN as (say) `-128' instead of `(-128)' is
29 1.2 jtc now handled gracefully. "uchar" is no longer used as an internal type
30 1.2 jtc name (too many people have the same idea). Still the same old lousy
31 1.2 jtc performance, alas.
32 1.2 jtc
33 1.1 jtc New in alpha3.1: Basically nothing, this release is just a bookkeeping
34 1.1 jtc convenience. Stay tuned.
35 1.1 jtc
36 1.1 jtc New in alpha3.0: Performance is no better, alas, but some fixes have been
37 1.1 jtc made and some functionality has been added. (This is basically the "get
38 1.1 jtc it out the door in time for 4.4" release.) One bug fix: regfree() didn't
39 1.1 jtc free the main internal structure (how embarrassing). It is now possible
40 1.1 jtc to put NULs in either the RE or the target string, using (resp.) a new
41 1.1 jtc REG_PEND flag and the old REG_STARTEND flag. The REG_NOSPEC flag to
42 1.1 jtc regcomp() makes all characters ordinary, so you can match a literal
43 1.1 jtc string easily (this will become more useful when performance improves!).
44 1.1 jtc There are now primitives to match beginnings and ends of words, although
45 1.1 jtc the syntax is disgusting and so is the implementation. The REG_ATOI
46 1.1 jtc debugging interface has changed a bit. And there has been considerable
47 1.1 jtc internal cleanup of various kinds.
48 1.1 jtc
49 1.1 jtc New in alpha2.3: Split change list out of README, and moved flags notes
50 1.1 jtc into Makefile. Macro-ized the name of regex(7) in regex(3), since it has
51 1.1 jtc to change for 4.4BSD. Cleanup work in engine.c, and some new regression
52 1.1 jtc tests to catch tricky cases thereof.
53 1.1 jtc
54 1.1 jtc New in alpha2.2: Out-of-date manpages updated. Regerror() acquires two
55 1.1 jtc small extensions -- REG_ITOA and REG_ATOI -- which avoid debugging kludges
56 1.1 jtc in my own test program and might be useful to others for similar purposes.
57 1.1 jtc The regression test will now compile (and run) without REDEBUG. The
58 1.1 jtc BRE \$ bug is fixed. Most uses of "uchar" are gone; it's all chars now.
59 1.1 jtc Char/uchar parameters are now written int/unsigned, to avoid possible
60 1.1 jtc portability problems with unpromoted parameters. Some unsigned casts have
61 1.1 jtc been introduced to minimize portability problems with shifting into sign
62 1.1 jtc bits.
63 1.1 jtc
64 1.1 jtc New in alpha2.1: Lots of little stuff, cleanup and fixes. The one big
65 1.1 jtc thing is that regex.h is now generated, using mkh, rather than being
66 1.1 jtc supplied in the distribution; due to circularities in dependencies,
67 1.1 jtc you have to build regex.h explicitly by "make h". The two known bugs
68 1.1 jtc have been fixed (and the regression test now checks for them), as has a
69 1.1 jtc problem with assertions not being suppressed in the absence of REDEBUG.
70 1.1 jtc No performance work yet.
71 1.1 jtc
72 1.1 jtc New in alpha2: Backslash-anything is an ordinary character, not an
73 1.1 jtc error (except, of course, for the handful of backslashed metacharacters
74 1.1 jtc in BREs), which should reduce script breakage. The regression test
75 1.1 jtc checks *where* null strings are supposed to match, and has generally
76 1.1 jtc been tightened up somewhat. Small bug fixes in parameter passing (not
77 1.1 jtc harmful, but technically errors) and some other areas. Debugging
78 1.1 jtc invoked by defining REDEBUG rather than not defining NDEBUG.
79 1.1 jtc
80 1.1 jtc New in alpha+3: full prototyping for internal routines, using a little
81 1.1 jtc helper program, mkh, which extracts prototypes given in stylized comments.
82 1.1 jtc More minor cleanup. Buglet fix: it's CHAR_BIT, not CHAR_BITS. Simple
83 1.1 jtc pre-screening of input when a literal string is known to be part of the
84 1.1 jtc RE; this does wonders for performance.
85 1.1 jtc
86 1.1 jtc New in alpha+2: minor bits of cleanup. Notably, the number "32" for the
87 1.1 jtc word width isn't hardwired into regexec.c any more, the public header
88 1.1 jtc file prototypes the functions if __STDC__ is defined, and some small typos
89 1.1 jtc in the manpages have been fixed.
90 1.1 jtc
91 1.1 jtc New in alpha+1: improvements to the manual pages, and an important
92 1.1 jtc extension, the REG_STARTEND option to regexec().
93