FYI: Reply from HP-UX
[git/dscho.git] / flex-2.5.33 / NEWS
blob17b9c45316d5826df9f3e54e7e9b3d772b445f21
1 This is the file NEWS for the flex package. It records user -visible
2 changes between releases of flex.
4 See the file COPYING for copying conditions.
6 * version 2.5.33 released 2006-2-20
8 ** all flex resources are now to be found from the website at
9    http://flex.sourceforge.net/
11 ** there was no release 2.5.32 published
13 ** numerous bug and security fixes
15 ** new nl, vi, sv, ro, po, ga, ca, fr, tr translations from the translation project
17 ** upgrade to use gettext 0.12 (this now makes the "pdf" and "ps"
18    targets in the build system able to be run successfully)
20 * version 2.5.31 released 2003-4-1
22 ** remove --enable-maintainer-mode configure option; none of the
23    Makefiles were using it and it can be unduely confusing
25 * version 2.5.30 released 2003-4-1
27 ** yylineno is per-buffer in reentrant scanners
29 ** added %top directive for placing code at the top of the generated
30    scanner; see manual for details
32 ** flex now uses m4 to generate scanners; while this means that
33    scanners are more readable, it means that flex requires m4 to be
34    installed; see manual for details
36 * version 2.5.29 released 2003-3-5
38 ** Automatic stack management for multiple input buffers in C and C++ scanners
40 ** moved the flex documentation to a new doc/ subdirectory
42 ** cleanups to the yy namespace
44 * version 2.5.28 released 2003-2-12
46 ** flex is now hosted at sourceforge
48 ** Fixed trailing slash bug in YY_INPUT macro def
50 ** Flex now warns if always-interactive is specified with fast or full
52 * version 2.5.27 released 2003-1-21
54 ** flex now works with recent bison versions
56 ** new pt_br translation from the translation project
58 * version 2.5.26 released 2003-1-14
60 ** Fixed table deserialization bug on big-endian archs. Patch sent from Bryce Nichols <bryce@bnichols.org>
62 ** yyleng has proper declarations now; this caused flex to generate
63    unusable scanners for some programs
65 ** the flex distribution now includes a spec file suitable for use
66    with rpm
68 ** some more c++ fixes
70 ** new es translation from the translation project
72 ** slight tweeks to the flex_int*_t types
74 ** flex now warns about pattern ranges that might be ambiguous when
75    generating a case-insensitive scanner
78 * version 2.5.25 released 2002-12-2
80 ** flex now uses flex_int*_t types. For C99 systems, they are just the
81    int*_t types; for non-C99 systems, we just make some typedefs
83 ** new pt_br translation from the translation project
85 * version 2.5.24 released 2002-11-25
87 * more portability fixes
89 ** the manual continues to be updated and edited, but it's still got a
90    ways to go
92 ** it is possible to have multiple c++ scanners in the same program again
94 ** new turkish translation from the translation project
96 * version 2.5.23 released 2002-10-21
98 ** more portability fixes
100 ** the manual includes a title page and a table-of-contents when printed
102 ** the test suite can be run with "make check" from the top-level
103    directory
105 ** configure now accepts the --enable-maintainer-mode option
107 ** gettext functionality is now only available externally
109 ** the constant FLEX_BETA is defined if flex is a beta release
111 ** the script create-test was not included in the distribution and it
112    should have been
114 * version 2.5.22 released 2002-10-10
116 ** more portability fixes around how we get ahold of the integral
117    types; there is a constant FLEX_NEED_INTEGRAL_TYPE_DEFINITIONS
118    which you should define if you don't have the <inttypes.h> header
119    file (after you complain to your C vendor for not providing a
120    reasonable C environment)
122 ** more test suite cleanups; in particular, the test suite should run
123    correctly when build from a different directory
125 ** upgraded automake to 1.7 and consequently autoconf to 2.54; this
126    means, among other things, that there is some support for
127 formatting the manual in postscript and pdf in the distributed
128    Makefile.in (and therefore in the Makefile built by configure)
130 ** the flex.1 manpage is generated by help2man; (this has been true
131    for quite a while but was not listed here)
133 ** flex now includes three defined constants to indicate which version
134   of flex generated a scanner (YY_FLEX_{MAJOR,MINOR,SUBMINOR}_VERSION)
136 ** flex tries its best to output only the relevant portions of the
137    skeleton when generating a scanner, thus avoiding as much
138    conditional compilation as possible
140 * version 2.5.21 released 2002-9-17
142 ** one of the tests in the test suite broke the dist target
144 * version 2.5.20 released 2002-9-16
146 ** A flex scanner has the ability to save the DFA tables to a file,
147    and load them at runtime when needed; see the manual for details
149 ** Added %option bison-bridge (--bison-bridge)
151 ** Removed %option reentrant-bison/--reentrant-bison/-Rb
153 ** yylineno is present in all scanners; Modified nasty performance
154    penalty warning with yylineno in documentation
156 ** test-table-opts is now run last in the test suite because it's so fat
158 ** flex can, to some extent, diagnose where internal problems occur
160 ** new translations from the translation project: fr, ca, de, ru, sv
162 **Flex generates C99 defs now; see YY_TRADITIONAL_FUNC_DEFS in the
163   manual if that's not a good thing for you
165 * version 2.5.19 released 2002-9-5
167 ** prevent segfault on input lines which are longer than the allocated
168    space (problem report from Manoj Srivastava
169    <srivasta@golden-gryphon.com>)
171 ** Changed option 'header' to 'header-file'
173 * version 2.5.18 released 2002-9-4
175 ** portability fixes for integer constants and in the way the test
176    suite reports its results
178 ** the test for bison was reporting bison missing when it was, in
179    fact, found
181 ** if we don't find GNU indent, we're more careful when we're not
182    finding it
184 * version 2.5.17 released 2002-8-29
186 ** more portability fixes
188 ** updated config.sub and config.guess
190 ** flex is indented by GNU indent (this was done earlier but not
191    explicitly documented)
193 * version 2.5.16 released 2002-8-28
195 ** c++ scanners compile again
197 ** there is now an indent target in the top-level Makefile; configure
198    checks for GNU indent which is required for proper operation of the
199    indent target
201 ** some more portability fixes were made
203 ** %options and invocation sections of manual merged
205 ** a c++ test was added to the test suite
207 ** we're trying to clean up more files in the test suite's make clean
208    targets
210 * version 2.5.15 released 2002-8-21
212 ** reject-state buffer is now dynamically allocated and REJECT buffer
213    variables are reentrant-safe
215 ** manual now discusses memory usage
217 ** skeleton now processed by m4 before mkskel.sh; (this only matters
218    if you want to change the skeleton or if you're doing flex development)
220 ** zh_cn translation added from translation project
222 ** a bug that caused a segfault has now been fixed
224 ** the test suite now respects the usual CFLAGS, etc. variables
226 ** removed some warnings which some tests trigggered with the -s option
228 ** the flex-generated header file now tries to be smarter about
229    conditionally including start conditions
231 ** tables code omitted from generated scanner when not used
233 * version 2.5.14 released 2002-8-15
235 ** the tests using the reentrant c scanner as c++ were reworked
236    slightly to be sure that the c++ was enforced
238 ** de translation now included in the distribution
240 ** various portability fixes regarding nls support, c++ include
241    headers, etc.
243 * version 2.5.13 released 2002-8-15
245 ** the header file output with %option header is now much smaller
247 ** Fixed type mismatch in printf in scanner skeleton
249 ** yylex_init now reports errors
251 * version 2.5.12 released 2002-8-8
253 ** updated gettext support to 0.11.5
255 ** new fr translation from the translation project
257 ** bison is no longer needed to build flex; If you are building flex
258    from a release (i.e., not from a cvs snapshot), then you don't need
259    to have a pre-built lex around either (unless you modify scan.l, of
260    course); (This has been true for some time, but was not mentioned
261    here.)
263 * version 2.5.11 released 2002-7-31
265 ** Fixed bug where yyless did not consider yylineno
267 ** the yylineno performance hit is now gone
269 ** fixed some typos in the manual and we now include texinfo.tex in
270    the distribution
272 ** traditional prototypes output for C scanners, controlled by a
273    preprocessor symbol; see documentation for details
275 * version 2.5.10 released 2002-7-24
277 ** yy_globals renamed to yyscanner and yy_globals_t renamed to
278    yy_guts_t
280 ** added dist-bzip2 option to Makefile.am so we now produce a bzip2'd
281    archive in addition to the standard gzip archive
283 *  version 2.5.9
285 ** new tests in test suite: test-mem-{nr,r}, test-posix,
286    test-posixly-correct, test-debug-{nr,r}
288 ** made changes to work with gcc-3.2 development code
290 ** ability to choose which memory functions are used in flex
292 ** new yylex_destroy() function for the non-reentrant scanner
294 ** new handling of POSIXLY_CORRECT environment variable
296 ** the test suite now has its copyrights explicitly described
298 ** new ca, de, fr, ru, sv, tr translations
300 * version 2.5.8
302 ** a new --posix option generates scanners with posix-style abc{1,3}
303    compatible parsing, see manual for the screwy details
305 * version 2.5.7
307 ** configure.in now includes a call to AC_PREREQ to enforce the
308    requirement for autoconf at least 2.50 (This only effects you if
309    you're doing flex development.)
311 ** configure now uses autoconf's versioning information and configure
312    --help reports the bug-reporting address for flex
314 ** test suite now only reports success versus failure; reporting
315    skipped is problematic under the current setup
317 ** compilation with --disable-nls now works
319 ** flex can now be built in a separate directory
321 * version 2.5.6
323 ** gettext support added (from gettext 0.11)
325 *** translations for ca, da, de, es, fr, ko, ru, sv, tr included
327 ** distribution now built under automake 1.6 and autoconf 2.53
329 ** command-line option parsing happens differently now:
331 *** Added long option parsing
333 *** Options -n and -c, previously deprecated, now simply do nothing
335 *** Options are now parsed left to right
337 ** added a number of new options
339 *** All positive %options are now accessible from the command line
341 *** Added option -D, to define a preprocessor symbol
343 *** Added option --header=FILE to specify a C .h file to generate
345 *** added option --yywrap to call yywrap on EOF
347 *** added option --yylineno to track line count in yylineno
349 *** --yyclass=NAME name of C++ class when generating c++ scanners
351 *** for long option names which are associated with existing short
352 options, see accompanying documentation
354 *** new %option nounistd or command-line --nounistd added to prevent
355     flex from generating #include <unistd.h> on systems that don't
356     have that include file
358 ** Support for reentrant C scanners has been added
360 *** Updated the manual with the new reentrant API
362 *** Two new options %option reentrant (-R) and 
363 %option reentrant-bison (-Rb)
365 *** All globals optionally placed into struct yyglobals_t
367 *** All access to globals replaced by macro invocations
369 *** All functions optionally take one additional
370 argument, yy_globals
372 *** New style for invoking reentrant scanner:
373 yylex_init(void** scanner );
374 yylex( scanner );
375 yylex_destroy( scanner );
377 *** Added get/set functions for members of struct yy_globals_t
378 e.g.,  yyget_text, yyget_leng, etc
380 *** Prefix substitution added for new functions
382 *** Macro shortcuts to the lengthy get/set functions
383 provided for use in actions, e.g.,  yytext, yyleng, etc
385 *** Arbitrary, user-defined data, "yyextra", may be added to scanner
387 ** %option nomain no longer implies %option yywrap
388 But the inverse is still true
390 ** Developer test suite added
392 *** TESTS/ directory has been added. Users can 
393 'make test' in the TESTS directory to execute the test suite
395 ** Support for bison variables yylval and yylloc added
397 ** automake support for the build process
399 ** manual is now in texinfo/info format
401 *** flex.1 removed from distribution
403 ** flex no longer generates C-language scanners with C++-style
404    comments
406 ** flex now generates scanners in c++ which are compatible with
407    recent c++ compilers
409 ** flex input scanner now recognizes '\r' as an EOL character
411 See the file ONEWS for changes in earlier releases.
413 Local Variables:
414 mode: text
415 mode: outline-minor
416 end: