11.6Scgd#	$NetBSD: WHATSNEW,v 1.6 1995/02/27 13:28:25 cgd Exp $
21.5Scgd# @(#)WHATSNEW	8.3 (Berkeley) 3/18/94
31.5Scgd
41.4SjtcNew in alpha3.4:  The complex bug alluded to below has been fixed (in a
51.4Sjtcslightly kludgey temporary way that may hurt efficiency a bit; this is
61.4Sjtcanother "get it out the door for 4.4" release).  The tests at the end of
71.4Sjtcthe tests file have accordingly been uncommented.  The primary sign of
81.4Sjtcthe bug was that something like a?b matching ab matched b rather than ab.
91.4Sjtc(The bug was essentially specific to this exact situation, else it would
101.4Sjtchave shown up earlier.)
111.4Sjtc
121.3SjtcNew in alpha3.3:  The definition of word boundaries has been altered
131.3Sjtcslightly, to more closely match the usual programming notion that "_"
141.3Sjtcis an alphabetic.  Stuff used for pre-ANSI systems is now in a subdir,
151.3Sjtcand the makefile no longer alludes to it in mysterious ways.  The
161.3Sjtcmakefile has generally been cleaned up some.  Fixes have been made
171.3Sjtc(again!) so that the regression test will run without -DREDEBUG, at
181.3Sjtcthe cost of weaker checking.  A workaround for a bug in some folks'
191.3Sjtc<assert.h> has been added.  And some more things have been added to
201.3Sjtctests, including a couple right at the end which are commented out
211.3Sjtcbecause the code currently flunks them (complex bug; fix coming).
221.3SjtcPlus the usual minor cleanup.
231.3Sjtc
241.2SjtcNew in alpha3.2:  Assorted bits of cleanup and portability improvement
251.2Sjtc(the development base is now a BSDI system using GCC instead of an ancient
261.2SjtcSun system, and the newer compiler exposed some glitches).  Fix for a
271.2Sjtcserious bug that affected REs using many [] (including REG_ICASE REs
281.2Sjtcbecause of the way they are implemented), *sometimes*, depending on
291.2Sjtcmemory-allocation patterns.  The header-file prototypes no longer name
301.2Sjtcthe parameters, avoiding possible name conflicts.  The possibility that
311.2Sjtcsome clot has defined CHAR_MIN as (say) `-128' instead of `(-128)' is
321.2Sjtcnow handled gracefully.  "uchar" is no longer used as an internal type
331.2Sjtcname (too many people have the same idea).  Still the same old lousy
341.2Sjtcperformance, alas.
351.2Sjtc
361.1SjtcNew in alpha3.1:  Basically nothing, this release is just a bookkeeping
371.1Sjtcconvenience.  Stay tuned.
381.1Sjtc
391.1SjtcNew in alpha3.0:  Performance is no better, alas, but some fixes have been
401.1Sjtcmade and some functionality has been added.  (This is basically the "get
411.1Sjtcit out the door in time for 4.4" release.)  One bug fix:  regfree() didn't
421.1Sjtcfree the main internal structure (how embarrassing).  It is now possible
431.1Sjtcto put NULs in either the RE or the target string, using (resp.) a new
441.1SjtcREG_PEND flag and the old REG_STARTEND flag.  The REG_NOSPEC flag to
451.1Sjtcregcomp() makes all characters ordinary, so you can match a literal
461.1Sjtcstring easily (this will become more useful when performance improves!).
471.1SjtcThere are now primitives to match beginnings and ends of words, although
481.1Sjtcthe syntax is disgusting and so is the implementation.  The REG_ATOI
491.1Sjtcdebugging interface has changed a bit.  And there has been considerable
501.1Sjtcinternal cleanup of various kinds.
511.1Sjtc
521.1SjtcNew in alpha2.3:  Split change list out of README, and moved flags notes
531.1Sjtcinto Makefile.  Macro-ized the name of regex(7) in regex(3), since it has
541.1Sjtcto change for 4.4BSD.  Cleanup work in engine.c, and some new regression
551.1Sjtctests to catch tricky cases thereof.
561.1Sjtc
571.1SjtcNew in alpha2.2:  Out-of-date manpages updated.  Regerror() acquires two
581.1Sjtcsmall extensions -- REG_ITOA and REG_ATOI -- which avoid debugging kludges
591.1Sjtcin my own test program and might be useful to others for similar purposes.
601.1SjtcThe regression test will now compile (and run) without REDEBUG.  The
611.1SjtcBRE \$ bug is fixed.  Most uses of "uchar" are gone; it's all chars now.
621.1SjtcChar/uchar parameters are now written int/unsigned, to avoid possible
631.1Sjtcportability problems with unpromoted parameters.  Some unsigned casts have
641.1Sjtcbeen introduced to minimize portability problems with shifting into sign
651.1Sjtcbits.
661.1Sjtc
671.1SjtcNew in alpha2.1:  Lots of little stuff, cleanup and fixes.  The one big
681.1Sjtcthing is that regex.h is now generated, using mkh, rather than being
691.1Sjtcsupplied in the distribution; due to circularities in dependencies,
701.1Sjtcyou have to build regex.h explicitly by "make h".  The two known bugs
711.1Sjtchave been fixed (and the regression test now checks for them), as has a
721.1Sjtcproblem with assertions not being suppressed in the absence of REDEBUG.
731.1SjtcNo performance work yet.
741.1Sjtc
751.1SjtcNew in alpha2:  Backslash-anything is an ordinary character, not an
761.1Sjtcerror (except, of course, for the handful of backslashed metacharacters
771.1Sjtcin BREs), which should reduce script breakage.  The regression test
781.1Sjtcchecks *where* null strings are supposed to match, and has generally
791.1Sjtcbeen tightened up somewhat.  Small bug fixes in parameter passing (not
801.1Sjtcharmful, but technically errors) and some other areas.  Debugging
811.1Sjtcinvoked by defining REDEBUG rather than not defining NDEBUG.
821.1Sjtc
831.1SjtcNew in alpha+3:  full prototyping for internal routines, using a little
841.1Sjtchelper program, mkh, which extracts prototypes given in stylized comments.
851.1SjtcMore minor cleanup.  Buglet fix:  it's CHAR_BIT, not CHAR_BITS.  Simple
861.1Sjtcpre-screening of input when a literal string is known to be part of the
871.1SjtcRE; this does wonders for performance.
881.1Sjtc
891.1SjtcNew in alpha+2:  minor bits of cleanup.  Notably, the number "32" for the
901.1Sjtcword width isn't hardwired into regexec.c any more, the public header
911.1Sjtcfile prototypes the functions if __STDC__ is defined, and some small typos
921.1Sjtcin the manpages have been fixed.
931.1Sjtc
941.1SjtcNew in alpha+1:  improvements to the manual pages, and an important
951.1Sjtcextension, the REG_STARTEND option to regexec().
96