summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS208
1 files changed, 207 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 0106f7ce..421d2c76 100644
--- a/NEWS
+++ b/NEWS
@@ -1,9 +1,215 @@
- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
+
+Changes from 4.1.x to 4.2.0
+---------------------------
+
+1. If not in POSIX mode, changes to ENVIRON are reflected into
+ gawk's environment, affecting any programs run by system()
+ or for piped redirections. This can also affect built-in routines, such
+ as mktime(), which is typically influenced by the TZ environment variable.
+
+2. The series of numbers returned by rand() should now be "more
+ random" than previously. Gawk's rand() remains repeatable; you will
+ get the same series of numbers each time you call rand() repeatedly,
+ but this will be a different series than previously.
+
+3. The --pretty-print option no longer runs the program too.
+
+4. The igawk script and igawk.1 man page are no longer installed by
+ `make install'. They have been obsolete since gawk 4.0.0.
+
+5. Gawk now has a `div()' function to perform integer division; this is
+ primarily useful for the -M option to avoid MPFR division when all
+ values involved are integers.
+
+6. Gawk can now be built with CMake. This is an alternative build
+ system for those who may want it; gawk is not going to switch off
+ use of the autotools anytime soon, if ever.
+
+7. Gawk now processes a maximum of two hexadecimal digits in \x
+ escape sequences inside strings.
+
+8. MirBSD is no longer supported.
+
+9. Pretty printing now preserves comments and places them into the
+ pretty-printed file.
+
+10. `make install' now installs shell startup files
+ $sysconfdir/profile.d/gawk.{csh,sh} containing shell functions to
+ manipulate the AWKPATH and AWKLIBPATH environment variables. On a Fedora
+ system, these files belong in /etc/profile.d, but the appropriate location
+ may be different on other platforms.
+
+Changes from 4.1.1 to 4.1.2
+---------------------------
+
+1. The manual has been considerably improved.
+ - Thoroughly reviewed and updated.
+ - Out-of-date examples replaced.
+ - Chapter 15 on MPFR reworked.
+ - Summary sections added to all chapters.
+ - Exercises added in several chapters.
+
+2. The debugger's "restart" command now works again.
+
+3. Redirected getline is now allowed inside BEGINFILE/ENDFILE.
+
+4. A number of bugs have been fixed in the MPFR code.
+
+5. Indirect function calls now work for both built-in and
+ extension functions.
+
+6. Built-in functions are now included in FUNCTAB.
+
+7. In non-English locales, it was accidentally possible to use "letters"
+ beside those of the English alphabet in identifiers. This has
+ been fixed. (isalpha and isalnum are NOT our friends.)
+
+ If you feel that you must have this misfeature, use `configure --help'
+ to see what option to use when configuring gawk to reenable it.
+
+8. The "where" command has been added to the debugger as an alias
+ for "backtrace". This will make life easier for long-time GDB users.
+
+9. Gawk no longer explicitly checks the current directory after doing
+ a path search of AWKPATH. The default value continues to have "." at
+ the front, so most people should not be affected. If you have your own
+ AWKPATH setting, be sure to put "." in it somewhere. The documentation
+ has been updated and clarified.
+
+10. Infrastructure upgrades: Automake 1.14.1, Gettext 0.19.3, Libtool 2.4.3,
+ Bison 3.0.3.
+
+XX. A number of bugs have been fixed. See the ChangeLog.
+
+Changes from 4.1.0 to 4.1.1
+---------------------------
+
+1. The "stat" extension now includes a "devbsize" element which indicates
+ the units for the "nblocks" element.
+
+2. The extension facility now works on MinGW. Many of the extensions can be
+ built and used directly.
+
+3. A number of bugs in the pretty-printing / profiling code have been fixed.
+
+4. Sockets and two-way pipes now work under MinGW.
+
+5. The debugger now lists source code correctly under Cygwin.
+
+6. Configuration and building with the Mac OS X libreadline should work now.
+
+7. The -O option now works again.
+
+8. The --include option, documented since 4.0, now actually works.
+
+9. Infrastructure updated to automake 1.13.4, bison 3.0.2, and
+ libtool 2.4.2.418.
+
+10. The configure script now accepts a --disable-extensions option,
+ which disables checking for and building the extensions.
+
+11. The VMS port has been considerably improved. In particular config.h
+ is now generated by a DCL script. Also, the extension facility works
+ and several of the extensions can be built and used. Currently, the
+ extension facility only works on Alpha and Itanium.
+
+12. The API now provides functions pointers for malloc(), calloc(),
+ realloc() and free(), to insure that the same memory allocation
+ functions are always used. This bumps the minor version by one.
+
+13. The printf quote flag now works correctly in locales with a different
+ decimal point character but without a thousands separator character.
+ If the thousands separator is a string, it will be correctly added
+ to decimal numbers.
+
+14. The readfile extension now has an input parser that will read whole
+ files as a single record.
+
+15. A number of bugs have been fixed. See the ChangeLog.
+
+Changes from 4.0.2 to 4.1.0
+---------------------------
+
+1. The three executables gawk, pgawk, and dgawk, have been merged into
+ one, named just gawk. As a result:
+ * The -R option is gone
+ * Use -D to run the debugger. An optional file argument is a
+ list of commands to run first.
+ * Use -o to do pretty-printing only.
+ * Use -p to do profiling.
+ This considerably reduces gawk's "footprint" and eases the documentation
+ burden as well.
+
+2. Gawk now supports high precision arithmetic with MPFR. The default is
+ still double precision, but setting PREC changes things, or using
+ the -M / --bignum options. This support is not compiled in if the MPFR
+ library is not available.
+
+3. The new -i option (from xgawk) is used for loading awk library files.
+ This differs from -f in that the first non-option argument is treated
+ as a script.
+
+4. The new -l option (from xgawk) is used for loading dynamic extensions.
+
+5. The dynamic extension interface has been completely redone! There is
+ now a defined API for C extensions to use. A C extension acts like
+ a function written in awk, except that it cannot do everything that awk
+ code can. However, this allows interfacing to any facility that is
+ available from C. This is a major development, see the doc, which has
+ a nice shiny new chapter describing everything.
+
+ This support is not compiled in if dynamic loading of shared libraries
+ is not supported.
+
+ The old extension mechanism is still supported for compatiblity, but
+ it will most definitely be removed at the next major release.
+
+6. The "inplace" extension, built using the new facility, can be used to
+ simulate the GNU "sed -i" feature.
+
+7. The and(), or() and xor() functions now take any number of arguments,
+ with a minimum of two.
+
+8. New arrays: SYMTAB, FUNCTAB, and PROCINFO["identifiers"]. SYMTAB allows
+ indirect access to any defined variable or array; it is possible to
+ "walk" the symbol table, if that should be necessary.
+
+9. Support for building gawk with a cross compiler has been improved.
+
+10. Infrastructure upgrades: bison 2.7.1, gettext 0.18.2.1, automake 1.13.1,
+ libtool 2.4.2 for the extensions.
+
+Changes from 4.0.1 to 4.0.2
+---------------------------
+
+1. Infrastructure upgrades: Autoconf 2.69, Automake 1.12.6, bison 2.7.
+
+2. `fflush()', `nextfile', and `delete array' are all now part of POSIX.
+
+3. fflush() behavior changed to match BWK awk and for POSIX - now both
+ fflush() and fflush("") flush all open output redirections.
+
+4. Various minor bug fixes and documentation updates.
+Changes from 4.0.0 to 4.0.1
+---------------------------
+
+1. The default handling of backslash in sub() and gsub() has been reverted to
+ the behavior of 3.1. It was silly to think I could break compatibility that
+ way, even for standards compliance.
+
+2. Completed the implementation of Rational Range Interpretation.
+
+3. Failure to get the group set is no longer a fatal error.
+
+4. Lots of minor bugs fixed and portability clean-ups along the way. See
+ the ChangeLog for details.
+
Changes from 3.1.8 to 4.0.0
---------------------------