hrev48791 adds 2 changesets to branch 'master' old head: 63c5fe5e94d0721c9e9f6e9eff0cb663ab9f288f new head: 025509d71fc296739344531063062013efb7a979 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=025509d71fc2+%5E63c5fe5e94d0 ---------------------------------------------------------------------------- e611f1990742: gdb: outsource. I didn't add the gdb package to the bundled packages because AFAIK, most users / developers of Haiku use our built-in Debugger instead, because it's so much more awesome (thanks, Ingo & Rene!). If I'm somehow mistaken about that, please don't hesitate to speak up and I'll add it. 025509d71fc2: gdb & gawk: delete from tree. [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ] ---------------------------------------------------------------------------- 2487 files changed, 1780987 deletions(-) build/jam/images/definitions/regular | 1 - src/bin/Jamfile | 2 - src/bin/gawk/ABOUT-NLS | 625 - src/bin/gawk/AUTHORS | 9 - src/bin/gawk/COPYING | 340 - src/bin/gawk/ChangeLog | 4896 --- src/bin/gawk/FUTURES | 91 - src/bin/gawk/INSTALL | 229 - src/bin/gawk/Jamfile | 37 - src/bin/gawk/LIMITATIONS | 16 - src/bin/gawk/Makefile | 933 - src/bin/gawk/Makefile.am | 179 - src/bin/gawk/Makefile.in | 933 - src/bin/gawk/NEWS | 2289 -- src/bin/gawk/POSIX.STD | 119 - src/bin/gawk/PROBLEMS | 9 - src/bin/gawk/README | 103 - src/bin/gawk/acinclude.m4 | 6 - src/bin/gawk/aclocal.m4 | 3181 -- src/bin/gawk/ansi2knr.1 | 36 - src/bin/gawk/ansi2knr.c | 739 - src/bin/gawk/array.c | 1190 - src/bin/gawk/awk.h | 1144 - src/bin/gawk/awkgram.c | 5065 --- src/bin/gawk/awkgram.y | 3228 -- src/bin/gawk/bisonfix.sed | 3 - src/bin/gawk/builtin.c | 2924 -- src/bin/gawk/config.guess | 1391 - src/bin/gawk/config.h | 554 - src/bin/gawk/config.rpath | 548 - src/bin/gawk/config.sub | 1489 - src/bin/gawk/configh.in | 449 - src/bin/gawk/configure | 13374 ------- src/bin/gawk/configure.ac | 244 - src/bin/gawk/custom.h | 104 - src/bin/gawk/depcomp | 464 - src/bin/gawk/eval.c | 2250 -- src/bin/gawk/eval_p.c | 27 - src/bin/gawk/ext.c | 189 - src/bin/gawk/field.c | 1078 - src/bin/gawk/fixvers | 58 - src/bin/gawk/gawk.rdef | 11 - src/bin/gawk/gawkmisc.c | 74 - src/bin/gawk/getopt.c | 1277 - src/bin/gawk/getopt.h | 181 - src/bin/gawk/getopt1.c | 188 - src/bin/gawk/gettext.h | 75 - src/bin/gawk/install-sh | 276 - src/bin/gawk/intl/ChangeLog | 4 - src/bin/gawk/intl/Jamfile | 37 - src/bin/gawk/intl/Makefile | 479 - src/bin/gawk/intl/Makefile.in | 479 - src/bin/gawk/intl/VERSION | 1 - src/bin/gawk/intl/bindtextdom.c | 374 - src/bin/gawk/intl/config.charset | 467 - src/bin/gawk/intl/dcgettext.c | 59 - src/bin/gawk/intl/dcigettext.c | 1238 - src/bin/gawk/intl/dcngettext.c | 60 - src/bin/gawk/intl/dgettext.c | 59 - src/bin/gawk/intl/dngettext.c | 61 - src/bin/gawk/intl/eval-plural.h | 114 - src/bin/gawk/intl/explodename.c | 192 - src/bin/gawk/intl/finddomain.c | 195 - src/bin/gawk/intl/gettext.c | 64 - src/bin/gawk/intl/gettextP.h | 224 - src/bin/gawk/intl/gmo.h | 148 - src/bin/gawk/intl/hash-string.h | 59 - src/bin/gawk/intl/intl-compat.c | 151 - src/bin/gawk/intl/l10nflist.c | 453 - src/bin/gawk/intl/libgnuintl.h | 309 - src/bin/gawk/intl/libgnuintl.h.in | 309 - src/bin/gawk/intl/libintl.h | 309 - src/bin/gawk/intl/loadinfo.h | 156 - src/bin/gawk/intl/loadmsgcat.c | 1322 - src/bin/gawk/intl/localcharset.c | 398 - src/bin/gawk/intl/localcharset.h | 42 - src/bin/gawk/intl/locale.alias | 78 - src/bin/gawk/intl/localealias.c | 419 - src/bin/gawk/intl/localename.c | 772 - src/bin/gawk/intl/log.c | 104 - src/bin/gawk/intl/ngettext.c | 68 - src/bin/gawk/intl/os2compat.c | 98 - src/bin/gawk/intl/os2compat.h | 46 - src/bin/gawk/intl/osdep.c | 24 - src/bin/gawk/intl/plural-exp.c | 156 - src/bin/gawk/intl/plural-exp.h | 126 - src/bin/gawk/intl/plural.c | 1518 - src/bin/gawk/intl/plural.y | 409 - src/bin/gawk/intl/ref-add.sin | 31 - src/bin/gawk/intl/ref-del.sin | 26 - src/bin/gawk/intl/relocatable.c | 439 - src/bin/gawk/intl/relocatable.h | 67 - src/bin/gawk/intl/textdomain.c | 142 - src/bin/gawk/io.c | 3093 -- src/bin/gawk/main.c | 1108 - src/bin/gawk/missing | 336 - src/bin/gawk/missing_d/COPYING.LIB | 482 - src/bin/gawk/missing_d/ChangeLog | 40 - src/bin/gawk/missing_d/memcmp.c | 18 - [ *** stats truncated: 2388 lines dropped *** ] ############################################################################ Commit: e611f1990742b9c56928510dc6caf0c26b865273 URL: http://cgit.haiku-os.org/haiku/commit/?id=e611f1990742 Author: Augustin Cavalier <waddlesplash@xxxxxxxxx> Date: Wed Feb 11 20:33:47 2015 UTC gdb: outsource. I didn't add the gdb package to the bundled packages because AFAIK, most users / developers of Haiku use our built-in Debugger instead, because it's so much more awesome (thanks, Ingo & Rene!). If I'm somehow mistaken about that, please don't hesitate to speak up and I'll add it. ---------------------------------------------------------------------------- diff --git a/build/jam/images/definitions/regular b/build/jam/images/definitions/regular index 8c9d8b1..fe50de1 100644 --- a/build/jam/images/definitions/regular +++ b/build/jam/images/definitions/regular @@ -6,7 +6,6 @@ include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions minimum ] ; SYSTEM_BIN += [ FFilterByBuildFeatures clipboard CortexAddOnHost FirstBootPrompt fwcontrol@x86 - gdb@x86 installsound mail2mbox mbox2mail mkdos mount_nfs play playfile playsound playwav diff --git a/src/bin/Jamfile b/src/bin/Jamfile index 4f1938e..e5b4b79 100644 --- a/src/bin/Jamfile +++ b/src/bin/Jamfile @@ -265,8 +265,6 @@ SubInclude HAIKU_TOP src bin coreutils ; SubInclude HAIKU_TOP src bin desklink ; SubInclude HAIKU_TOP src bin diffutils ; SubInclude HAIKU_TOP src bin fwcontrol ; -SubInclude HAIKU_TOP src bin gawk ; # used only for libintl by gdb -SubInclude HAIKU_TOP src bin gdb ; SubInclude HAIKU_TOP src bin hid_decode ; SubInclude HAIKU_TOP src bin ideinfo ; SubInclude HAIKU_TOP src bin keymap ; diff --git a/src/data/package_infos/arm/haiku b/src/data/package_infos/arm/haiku index d4f9d2b..40018cb 100644 --- a/src/data/package_infos/arm/haiku +++ b/src/data/package_infos/arm/haiku @@ -32,7 +32,6 @@ provides { cmd:ftp cmd:ftpd cmd:funzip - cmd:gdb cmd:gunzip cmd:gzexe cmd:gzip diff --git a/src/data/package_infos/m68k/haiku b/src/data/package_infos/m68k/haiku index 6b991f2..fbf228f 100644 --- a/src/data/package_infos/m68k/haiku +++ b/src/data/package_infos/m68k/haiku @@ -32,7 +32,6 @@ provides { cmd:ftp cmd:ftpd cmd:funzip - cmd:gdb cmd:gunzip cmd:gzexe cmd:gzip diff --git a/src/data/package_infos/ppc/haiku b/src/data/package_infos/ppc/haiku index e647d42..2f8dbaf 100644 --- a/src/data/package_infos/ppc/haiku +++ b/src/data/package_infos/ppc/haiku @@ -32,7 +32,6 @@ provides { cmd:ftp cmd:ftpd cmd:funzip - cmd:gdb cmd:gunzip cmd:gzexe cmd:gzip diff --git a/src/data/package_infos/x86/haiku b/src/data/package_infos/x86/haiku index fc5efc6..fe1b5f5 100644 --- a/src/data/package_infos/x86/haiku +++ b/src/data/package_infos/x86/haiku @@ -32,7 +32,6 @@ provides { cmd:ftp cmd:ftpd cmd:funzip - cmd:gdb cmd:gunzip cmd:gzexe cmd:gzip diff --git a/src/data/package_infos/x86_64/haiku b/src/data/package_infos/x86_64/haiku index e3162f2..6ccf76a 100644 --- a/src/data/package_infos/x86_64/haiku +++ b/src/data/package_infos/x86_64/haiku @@ -31,7 +31,6 @@ provides { cmd:ftp cmd:ftpd cmd:funzip - cmd:gdb cmd:gunzip cmd:gzexe cmd:gzip diff --git a/src/data/package_infos/x86_gcc2/haiku b/src/data/package_infos/x86_gcc2/haiku index ece16ba..ef663c4 100644 --- a/src/data/package_infos/x86_gcc2/haiku +++ b/src/data/package_infos/x86_gcc2/haiku @@ -32,7 +32,6 @@ provides { cmd:ftp cmd:ftpd cmd:funzip - cmd:gdb cmd:gunzip cmd:gzexe cmd:gzip ############################################################################ Revision: hrev48791 Commit: 025509d71fc296739344531063062013efb7a979 URL: http://cgit.haiku-os.org/haiku/commit/?id=025509d71fc2 Author: Augustin Cavalier <waddlesplash@xxxxxxxxx> Date: Wed Feb 11 20:40:17 2015 UTC gdb & gawk: delete from tree. ---------------------------------------------------------------------------- diff --git a/src/bin/gawk/ABOUT-NLS b/src/bin/gawk/ABOUT-NLS deleted file mode 100644 index 47d5e39..0000000 --- a/src/bin/gawk/ABOUT-NLS +++ /dev/null @@ -1,625 +0,0 @@ -Notes on the Free Translation Project -************************************* - - Free software is going international! The Free Translation Project -is a way to get maintainers of free software, translators, and users all -together, so that will gradually become able to speak many languages. -A few packages already provide translations for their messages. - - If you found this `ABOUT-NLS' file inside a distribution, you may -assume that the distributed package does use GNU `gettext' internally, -itself available at your nearest GNU archive site. But you do _not_ -need to install GNU `gettext' prior to configuring, installing or using -this package with messages translated. - - Installers will find here some useful hints. These notes also -explain how users should proceed for getting the programs to use the -available translations. They tell how people wanting to contribute and -work at translations should contact the appropriate team. - - When reporting bugs in the `intl/' directory or bugs which may be -related to internationalization, you should tell about the version of -`gettext' which is used. The information can be found in the -`intl/VERSION' file, in internationalized packages. - -Quick configuration advice -========================== - - If you want to exploit the full power of internationalization, you -should configure it using - - ./configure --with-included-gettext - -to force usage of internationalizing routines provided within this -package, despite the existence of internationalizing capabilities in the -operating system where this package is being installed. So far, only -the `gettext' implementation in the GNU C library version 2 provides as -many features (such as locale alias, message inheritance, automatic -charset conversion or plural form handling) as the implementation here. -It is also not possible to offer this additional functionality on top -of a `catgets' implementation. Future versions of GNU `gettext' will -very likely convey even more functionality. So it might be a good idea -to change to GNU `gettext' as soon as possible. - - So you need _not_ provide this option if you are using GNU libc 2 or -you have installed a recent copy of the GNU gettext package with the -included `libintl'. - -INSTALL Matters -=============== - - Some packages are "localizable" when properly installed; the -programs they contain can be made to speak your own native language. -Most such packages use GNU `gettext'. Other packages have their own -ways to internationalization, predating GNU `gettext'. - - By default, this package will be installed to allow translation of -messages. It will automatically detect whether the system already -provides the GNU `gettext' functions. If not, the GNU `gettext' own -library will be used. This library is wholly contained within this -package, usually in the `intl/' subdirectory, so prior installation of -the GNU `gettext' package is _not_ required. Installers may use -special options at configuration time for changing the default -behaviour. The commands: - - ./configure --with-included-gettext - ./configure --disable-nls - -will respectively bypass any pre-existing `gettext' to use the -internationalizing routines provided within this package, or else, -_totally_ disable translation of messages. - - When you already have GNU `gettext' installed on your system and run -configure without an option for your new package, `configure' will -probably detect the previously built and installed `libintl.a' file and -will decide to use this. This might be not what is desirable. You -should use the more recent version of the GNU `gettext' library. I.e. -if the file `intl/VERSION' shows that the library which comes with this -package is more recent, you should use - - ./configure --with-included-gettext - -to prevent auto-detection. - - The configuration process will not test for the `catgets' function -and therefore it will not be used. The reason is that even an -emulation of `gettext' on top of `catgets' could not provide all the -extensions of the GNU `gettext' library. - - Internationalized packages have usually many `po/LL.po' files, where -LL gives an ISO 639 two-letter code identifying the language. Unless -translations have been forbidden at `configure' time by using the -`--disable-nls' switch, all available translations are installed -together with the package. However, the environment variable `LINGUAS' -may be set, prior to configuration, to limit the installed set. -`LINGUAS' should then contain a space separated list of two-letter -codes, stating which languages are allowed. - -Using This Package -================== - - As a user, if your language has been installed for this package, you -only have to set the `LANG' environment variable to the appropriate -`LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, -and `CC' is an ISO 3166 two-letter country code. For example, let's -suppose that you speak German and live in Germany. At the shell -prompt, merely execute `setenv LANG de_DE' (in `csh'), -`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). -This can be done from your `.login' or `.profile' file, once and for -all. - - You might think that the country code specification is redundant. -But in fact, some languages have dialects in different countries. For -example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The -country code serves to distinguish the dialects. - - The locale naming convention of `LL_CC', with `LL' denoting the -language and `CC' denoting the country, is the one use on systems based -on GNU libc. On other systems, some variations of this scheme are -used, such as `LL' or `LL_CC.ENCODING'. You can get the list of -locales supported by your system for your country by running the command -`locale -a | grep '^LL''. - - Not all programs have translations for all languages. By default, an -English message is shown in place of a nonexistent translation. If you -understand other languages, you can set up a priority list of languages. -This is done through a different environment variable, called -`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' -for the purpose of message handling, but you still need to have `LANG' -set to the primary language; this is required by other parts of the -system libraries. For example, some Swedish users who would rather -read translations in German than English for when Swedish is not -available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. - - In the `LANGUAGE' environment variable, but not in the `LANG' -environment variable, `LL_CC' combinations can be abbreviated as `LL' -to denote the language's main dialect. For example, `de' is equivalent -to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' -(Portuguese as spoken in Portugal) in this context. - -Translating Teams -================= - - For the Free Translation Project to be a success, we need interested -people who like their own language and write it well, and who are also -able to synergize with other translators speaking the same language. -Each translation team has its own mailing list. The up-to-date list of -teams can be found at the Free Translation Project's homepage, -`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" -area. - - If you'd like to volunteer to _work_ at translating messages, you -should become a member of the translating team for your own language. -The subscribing address is _not_ the same as the list itself, it has -`-request' appended. For example, speakers of Swedish can send a -message to `sv-request@xxxxxx', having this message body: - - subscribe - - Keep in mind that team members are expected to participate -_actively_ in translations, or at solving translational difficulties, -rather than merely lurking around. If your team does not exist yet and -you want to start one, or if you are unsure about what to do or how to -get started, please write to `translation@xxxxxxxxxxxxxxxx' to reach the -coordinator for all translator teams. - - The English team is special. It works at improving and uniformizing -the terminology in use. Proven linguistic skill are praised more than -programming skill, here. - -Available Packages -================== - - Languages are not equally supported in all packages. The following -matrix shows the current state of internationalization, as of May 2003. -The matrix shows, in regard of each package, for which languages PO -files have been submitted to translation coordination, with a -translation percentage of at least 50%. - - Ready PO files am az be bg ca cs da de el en en_GB eo es - +-------------------------------------------+ - a2ps | [] [] [] [] | - aegis | () | - anubis | | - ap-utils | | - bash | [] [] [] | - batchelor | | - bfd | [] [] | - binutils | [] [] | - bison | [] [] [] | - bluez-pin | [] [] | - clisp | | - clisp | [] [] [] | - coreutils | [] [] [] [] | - cpio | [] [] [] | - darkstat | () [] | - diffutils | [] [] [] [] [] [] [] | - e2fsprogs | [] [] | - enscript | [] [] [] [] | - error | [] [] [] [] [] | - fetchmail | [] () [] [] [] [] | - fileutils | [] [] [] | - findutils | [] [] [] [] [] [] | - flex | [] [] [] [] | - gas | [] | - gawk | [] [] [] [] | - gcal | [] | - gcc | [] [] | - gettext | [] [] [] [] [] | - gettext-runtime | [] [] [] [] [] | - gettext-tools | [] [] | - gimp-print | [] [] [] [] [] | - gliv | | - glunarclock | [] [] [] | - gnucash | () [] | - gnucash-glossary | [] () [] | - gnupg | [] () [] [] [] [] | - gpe-calendar | [] | - gpe-conf | [] | - gpe-contacts | [] | - gpe-edit | | - gpe-login | [] | - gpe-ownerinfo | [] | - gpe-sketchbook | [] | - gpe-timesheet | | - gpe-today | [] | - gpe-todo | [] | - gphoto2 | [] [] [] [] | - gprof | [] [] | - gpsdrive | () () () | - grep | [] [] [] [] [] | - gretl | [] | - hello | [] [] [] [] [] [] | - id-utils | [] [] | - indent | [] [] [] [] | - jpilot | [] [] [] [] | - jwhois | [] | - kbd | [] [] [] [] [] | - ld | [] [] | - libc | [] [] [] [] [] [] | - libgpewidget | [] | - libiconv | [] [] [] [] [] | - lifelines | [] () | - lilypond | [] | - lingoteach | | - lingoteach_lessons | () () | - lynx | [] [] [] [] | - m4 | [] [] [] [] | - mailutils | [] [] | - make | [] [] [] | - man-db | [] () [] [] () | - mysecretdiary | [] [] [] | - nano | [] () [] [] [] | - nano_1_0 | [] () [] [] [] | - opcodes | [] [] | - parted | [] [] [] [] [] | - ptx | [] [] [] [] [] | - python | | - radius | | - recode | [] [] [] [] [] [] | - screem | | - sed | [] [] [] [] [] | - sh-utils | [] [] [] | - sharutils | [] [] [] [] [] [] | - sketch | [] () [] | - soundtracker | [] [] [] | - sp | [] | - tar | [] [] [] [] | - texinfo | [] [] [] [] | - textutils | [] [] [] [] | - tin | () () | - util-linux | [] [] [] [] [] | - vorbis-tools | [] [] [] | - wastesedge | () | - wdiff | [] [] [] [] | - wget | [] [] [] [] [] [] [] | - xchat | [] [] [] | - xpad | | - +-------------------------------------------+ - am az be bg ca cs da de el en en_GB eo es - 0 1 4 2 31 17 54 60 14 1 4 12 56 - - et fa fi fr ga gl he hr hu id it ja ko - +----------------------------------------+ - a2ps | [] [] [] () () | - aegis | | - anubis | [] | - ap-utils | [] | - bash | [] [] | - batchelor | [] | - bfd | [] [] | - binutils | [] [] | - bison | [] [] [] [] | - bluez-pin | [] [] [] [] | - clisp | | - clisp | [] | - coreutils | [] [] [] [] | - cpio | [] [] [] [] | - darkstat | () [] [] [] | - diffutils | [] [] [] [] [] [] [] | - e2fsprogs | | - enscript | [] [] | - error | [] [] [] [] | - fetchmail | [] | - fileutils | [] [] [] [] [] | - findutils | [] [] [] [] [] [] [] [] [] [] [] | - flex | [] [] | - gas | [] | - gawk | [] [] | - gcal | [] | - gcc | [] | - gettext | [] [] [] | - gettext-runtime | [] [] [] [] | - gettext-tools | [] | - gimp-print | [] [] | - gliv | () | - glunarclock | [] [] [] [] | - gnucash | [] | - gnucash-glossary | [] | - gnupg | [] [] [] [] [] [] [] | - gpe-calendar | [] | - gpe-conf | | - gpe-contacts | [] | - gpe-edit | [] [] | - gpe-login | [] | - gpe-ownerinfo | [] [] [] | - gpe-sketchbook | [] | - gpe-timesheet | [] [] [] | - gpe-today | [] [] | - gpe-todo | [] [] | - gphoto2 | [] [] [] | - gprof | [] [] | - gpsdrive | () [] () () | - grep | [] [] [] [] [] [] [] [] [] [] [] | - gretl | [] | - hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | - id-utils | [] [] [] | - indent | [] [] [] [] [] [] [] [] | - jpilot | [] () | - jwhois | [] [] [] [] | - kbd | [] | - ld | [] | - libc | [] [] [] [] [] [] | - libgpewidget | [] [] [] | - libiconv | [] [] [] [] [] [] [] [] | - lifelines | () | - lilypond | [] | - lingoteach | [] [] | - lingoteach_lessons | | - lynx | [] [] [] [] | - m4 | [] [] [] [] | - mailutils | | - make | [] [] [] [] [] [] | - man-db | [] () () | - mysecretdiary | [] [] | - nano | [] [] [] [] | - nano_1_0 | [] [] [] [] | - opcodes | [] [] | - parted | [] [] [] | - ptx | [] [] [] [] [] [] [] | - python | | - radius | | - recode | [] [] [] [] [] [] | - screem | | - sed | [] [] [] [] [] [] [] [] | - sh-utils | [] [] [] [] [] [] | - sharutils | [] [] [] [] [] | - sketch | [] | - soundtracker | [] [] [] | - sp | [] () | - tar | [] [] [] [] [] [] [] [] [] | - texinfo | [] [] [] [] | - textutils | [] [] [] [] [] | - tin | [] () | - util-linux | [] [] [] [] () [] | - vorbis-tools | [] | - wastesedge | () | - wdiff | [] [] [] [] [] | - wget | [] [] [] [] [] [] [] [] | - xchat | [] [] [] | - xpad | | - +----------------------------------------+ - et fa fi fr ga gl he hr hu id it ja ko - 20 1 15 73 14 24 8 10 30 31 19 31 9 - - lg lt lv ms nb nl nn no pl pt pt_BR ro - +----------------------------------------+ - a2ps | [] [] () () () [] [] | - aegis | () | - anubis | [] [] | - ap-utils | () | - bash | [] | - batchelor | | - bfd | | - binutils | | - bison | [] [] [] [] | - bluez-pin | [] | - clisp | | - clisp | [] | - coreutils | [] | - cpio | [] [] [] | - darkstat | [] [] [] [] | - diffutils | [] [] [] | - e2fsprogs | | - enscript | [] [] | - error | [] [] | - fetchmail | () () | - fileutils | [] | - findutils | [] [] [] [] | - flex | [] | - gas | | - gawk | [] | - gcal | | - gcc | | - gettext | [] | - gettext-runtime | [] | - gettext-tools | | - gimp-print | [] | - gliv | [] | - glunarclock | [] | - gnucash | | - gnucash-glossary | [] [] | - gnupg | | - gpe-calendar | [] [] | - gpe-conf | [] [] | - gpe-contacts | [] | - gpe-edit | [] [] | - gpe-login | [] [] | - gpe-ownerinfo | [] [] | - gpe-sketchbook | [] [] | - gpe-timesheet | [] [] | - gpe-today | [] [] | - gpe-todo | [] [] | - gphoto2 | | - gprof | [] | - gpsdrive | () () () | - grep | [] [] [] [] | - gretl | | - hello | [] [] [] [] [] [] [] [] [] | - id-utils | [] [] [] | - indent | [] [] [] | - jpilot | () () | - jwhois | [] [] [] | - kbd | | - ld | | - libc | [] [] [] [] | - libgpewidget | [] [] | - libiconv | [] [] | - lifelines | | - lilypond | [] | - lingoteach | | - lingoteach_lessons | | - lynx | [] [] | - m4 | [] [] [] [] | - mailutils | | - make | [] [] | - man-db | [] | - mysecretdiary | [] | - nano | [] [] [] [] | - nano_1_0 | [] [] [] [] | - opcodes | [] [] [] | - parted | [] [] [] | - ptx | [] [] [] [] [] [] [] | - python | | - radius | | - recode | [] [] [] | - screem | | - sed | [] [] | - sh-utils | [] | - sharutils | [] | - sketch | [] | - soundtracker | | - sp | | - tar | [] [] [] [] [] [] | - texinfo | [] | - textutils | [] | - tin | | - util-linux | [] [] | - vorbis-tools | [] [] | - wastesedge | | - wdiff | [] [] [] [] | - wget | [] [] [] | - xchat | [] [] | - xpad | [] | - +----------------------------------------+ - lg lt lv ms nb nl nn no pl pt pt_BR ro - 0 0 2 11 7 26 3 4 18 15 34 34 - - ru sk sl sr sv ta tr uk vi wa zh_CN zh_TW - +-------------------------------------------+ - a2ps | [] [] [] [] [] | 16 - aegis | () | 0 - anubis | [] [] | 5 - ap-utils | () | 1 - bash | [] | 7 - batchelor | | 1 - bfd | [] [] [] | 7 - binutils | [] [] [] | 7 - bison | [] [] | 13 - bluez-pin | | 7 - clisp | | 0 - clisp | | 5 - coreutils | [] [] [] [] [] | 14 - cpio | [] [] [] | 13 - darkstat | [] () () | 9 - diffutils | [] [] [] [] | 21 - e2fsprogs | [] | 3 - enscript | [] [] [] | 11 - error | [] [] [] | 14 - fetchmail | [] | 7 - fileutils | [] [] [] [] [] [] | 15 - findutils | [] [] [] [] [] [] | 27 - flex | [] [] [] | 10 - gas | [] | 3 - gawk | [] [] | 9 - gcal | [] [] | 4 - gcc | [] | 4 - gettext | [] [] [] [] [] [] | 15 - gettext-runtime | [] [] [] [] [] [] | 16 - gettext-tools | [] [] | 5 - gimp-print | [] [] | 10 - gliv | | 1 - glunarclock | [] [] [] | 11 - gnucash | [] [] | 4 - gnucash-glossary | [] [] [] | 8 - gnupg | [] [] [] [] | 16 - gpe-calendar | [] | 5 - gpe-conf | | 3 - gpe-contacts | [] | 4 - gpe-edit | [] | 5 - gpe-login | [] | 5 - gpe-ownerinfo | [] | 7 - gpe-sketchbook | [] | 5 - gpe-timesheet | [] | 6 - gpe-today | [] | 6 - gpe-todo | [] | 6 - gphoto2 | [] [] | 9 - gprof | [] [] | 7 - gpsdrive | [] [] | 3 - grep | [] [] [] [] | 24 - gretl | | 2 - hello | [] [] [] [] [] | 33 - id-utils | [] [] [] | 11 - indent | [] [] [] [] | 19 - jpilot | [] [] [] [] [] | 10 - jwhois | () () [] [] | 10 - kbd | [] [] | 8 - ld | [] [] | 5 - libc | [] [] [] [] | 20 - libgpewidget | | 6 - libiconv | [] [] [] [] [] [] | 21 - lifelines | [] | 2 - lilypond | [] | 4 - lingoteach | | 2 - lingoteach_lessons | () | 0 - lynx | [] [] [] [] | 14 - m4 | [] [] [] | 15 - mailutils | | 2 - make | [] [] [] [] | 15 - man-db | [] | 6 - mysecretdiary | [] [] | 8 - nano | [] [] [] | 15 - nano_1_0 | [] [] [] | 15 - opcodes | [] [] | 9 - parted | [] [] | 13 - ptx | [] [] [] | 22 - python | | 0 - radius | | 0 - recode | [] [] [] [] | 19 - screem | [] | 1 - sed | [] [] [] [] [] | 20 - sh-utils | [] [] [] | 13 - sharutils | [] [] [] [] | 16 - sketch | [] | 5 - soundtracker | [] | 7 - sp | [] | 3 - tar | [] [] [] [] [] | 24 - texinfo | [] [] [] [] | 13 - textutils | [] [] [] [] [] | 15 - tin | | 1 - util-linux | [] [] | 14 - vorbis-tools | [] | 7 - wastesedge | | 0 - wdiff | [] [] [] [] | 17 - wget | [] [] [] [] [] [] [] | 25 - xchat | [] [] [] | 11 - xpad | | 1 - +-------------------------------------------+ - 50 teams ru sk sl sr sv ta tr uk vi wa zh_CN zh_TW - 97 domains 32 19 16 0 56 0 48 10 1 1 12 23 913 - - Some counters in the preceding matrix are higher than the number of -visible blocks let us expect. This is because a few extra PO files are -used for implementing regional variants of languages, or language -dialects. - - For a PO file in the matrix above to be effective, the package to -which it applies should also have been internationalized and -distributed as such by its maintainer. There might be an observable -lag between the mere existence a PO file and its wide availability in a -distribution. - - If May 2003 seems to be old, you may fetch a more recent copy of -this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date -matrix with full percentage details can be found at -`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. - -Using `gettext' in new packages -=============================== - - If you are writing a freely available program and want to -internationalize it you are welcome to use GNU `gettext' in your -package. Of course you have to respect the GNU Library General Public -License which covers the use of the GNU `gettext' library. This means -in particular that even non-free programs can use `libintl' as a shared -library, whereas only free software can use `libintl' as a static -library or use modified versions of `libintl'. - - Once the sources are changed appropriately and the setup can handle -the use of `gettext' the only thing missing are the translations. The -Free Translation Project is also available for packages which are not -developed inside the GNU project. Therefore the information given above -applies also for every other Free Software Project. Contact -`translation@xxxxxxxxxxxxxxxx' to make the `.pot' files available to -the translation teams. - diff --git a/src/bin/gawk/AUTHORS b/src/bin/gawk/AUTHORS deleted file mode 100644 index c6e2507..0000000 --- a/src/bin/gawk/AUTHORS +++ /dev/null @@ -1,9 +0,0 @@ -Wed Feb 16 10:06:17 IST 2000 - -Gawk was written by Paul Rubin, and finished by Paul Finlason and -Richard Stallman. - -David Trueman and Arnold Robbins took it over, with David doing most -of the work to make it compatible with new awk. - -Circa 1994, Arnold Robbins took over maintenance. diff --git a/src/bin/gawk/COPYING b/src/bin/gawk/COPYING deleted file mode 100644 index d60c31a..0000000 --- a/src/bin/gawk/COPYING +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - <signature of Ty Coon>, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/src/bin/gawk/ChangeLog b/src/bin/gawk/ChangeLog deleted file mode 100644 index 1477529..0000000 --- a/src/bin/gawk/ChangeLog +++ /dev/null @@ -1,4896 +0,0 @@ -Mon Jul 7 11:01:43 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * Release 3.1.3: Release tar file made. - -Mon Jul 7 09:55:49 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * main.c (copyleft, usage): Make sure to fflush output fp. Per Jim - Meyering, if error, exit non-zero. - * ext.c (get_argument): Fix array paramater handling. - -2003-07-06 Paul Eggert <eggert@xxxxxxxxxxx> - - * builtin.c (do_substr): Issue better diagnostics when - d_substr and d_length are NaN, or when 0 < d_length < 1. - Be careful when comparing double to SIZE_MAX, as - the comparison might return the "wrong" answer when - (double) SIZE_MAX is a number that is not equal to - SIZE_MAX. - (do_gensub): Watch out for HOW values that are out of range - or are NaN. - (do_dcngettext): dcngettext wants an argument of type - unsigned long, not long, so use a value of that type. - -Fri Jul 4 10:58:02 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * main.c (main): Make option letter 'D' fall through into default - unknown case if not debugging. Let's us have just one version of - `optlist'. - -Thu Jun 26 15:25:57 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * array.c (get_actual): Undo Stepan Kasal change of 2003-06-17. - See test/match2.awk. - -Wed Jun 25 15:26:08 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * builtin.c (do_rand): Change calculation so that result - obeys constraint: 0 <= N < 1. This is per history and POSIX. - Thanks to Nelson Beebe (beebe@xxxxxxxxxxxxx) for reporting - this issue. - -Mon Jun 23 15:13:39 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (rs1scan): Per advice from Bruno Haible, it's safe - to skip the multibyte checking code if RS is '\n'. See - the comment in the code. Big performance improvement for - multibyte locales. - -2003-06-20 Stepan Kasal <kasal@xxxxxx> - - * eval.c (comp_func): if memcmp returns 0, we have to compare - the lengths. - -2003-06-19 Stepan Kasal <kasal@xxxxxx> - - * eval.c (interpret) <Node_K_arrayfor>: use NULL, not 0, to - initialize the variable list. - (comp_func): array indices no longer are string values, - you have to use ahname_str, ahname_len. - -Tue Jun 17 11:53:46 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * array.c (get_actual): Make check for isparam - smarter: also check for FUNC flag. - -2003-06-17 Stepan Kasal <kasal@xxxxxx> - - * array.c (get_actual): even if canfatal is FALSE, don't - tolerate existence of things which can't happen. - -Mon Jun 16 16:21:44 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * configure.ac: Removed m4/Makefile. - * m4/Makefile.am: Removed. - -2003-06-16 gettextize <bug-gnu-gettext@xxxxxxx> - - * configure.ac (AC_OUTPUT): Add m4/Makefile. - (AM_GNU_GETTEXT_VERSION): Bump to 0.12.1. - -Sun Jun 15 20:45:43 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (get_a_record): Enhance logic to fill buffers to include - `|| no_data_left(iop)'. - (rs1scan): Fix logic for setting recm fields for multibyte - character case. - -2003-06-10 Stepan Kasal <kasal@xxxxxx> - - * awkgram.y (release_all_vars): do not try to release a value of - Node_var_new; after get_lhs, use the lhs directly, do not try - to do (*lhs)->var_value; the Node_var case doesn't need - special treatment. - * builtin.c (do_match): `get_param' is successful iff it returns - Node_var_array---if the variable was new, get_param has already - changed the type. - * field.c (do_split): likewise. - -Sun Jun 15 19:36:35 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * node.c (r_dupnode): Typo fix in hash tables: stptr -> ahname_str. - Thanks to mary1john8@xxxxxxxxxxxxx. - * array.c (get_actual): Add `if (canfatal)' before call to - `cant_happen'. - -Sun Jun 15 19:25:49 2003 Patrick T.J. McPhee <ptjm@xxxxxxxxxxxx> - - * awk.h (memcpy_ulong): Add ! WIN32 to ifdefs. - -Mon Jun 9 18:38:20 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * custom.h (hpux): Added stuff to (hopefully) get `tzset' - declared on HP/UX 10 and up. - -Mon Jun 9 17:12:24 2003 Patrick T.J. McPhee <ptjm@xxxxxxxxxxxx> - - * awk.h (ATTRIBUTE_EXPORTED): New macro for dynamic libs on Windows32. - * CONVMFTidx, stack_ptr, do_lint, lintfunc: Now have this attribute. - -Mon Jun 9 13:11:33 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Clean up of Stepan's patches. - - * array.c (get_actual): Renamed from r_get_array. Added second - param canfatal if routine should print fatal message when not an array. - (get_actual): Renamed 'prm' to `isparam'. - (array_vname): Add static msglen var; only realloc string if it grows. - Don't use `s += sprintf(...)'. No good on old systems where sprintf - returns char *. Minor formatting cleanups. - (do_adump): Restored separate `a' and `r' variables; helps for debugging. - - * awk.h (SCALAR, UNINITIALIZED): Removed entirely, renumbered other flags. - (get_array, get_param): New macros, calls get_actual. - (get_actual): Declaration changed from that of r_get_array. - - * awkgram.y (release_all_vars): Restored previous version of code; new - version isn't right for Node_xx variables. - (variable): Minor code cleanup for readability. - - * builtin.c (do_match): Use get_param and print our own message when - third parameter is not an array. - - * eval.c: Added a few comments here and there, removed some no longer - needed comments. - - * field.c (do_split): Use get_param and print our own message when - second parameter is not an array. - -Mon Jun 9 11:46:21 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * array.c (do_delete): Initialize hash1 and last to keep gcc -Wall happy. - * io.c (rsnullscan): Comment out label skip_leading for same reason. - -Wed May 28 08:31:23 CEST 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - * eval.c (forloops_active, in_function): Nuked. - (pop_all_forloops, pop_fcall_stack): are now inline. - -Wed May 28 07:58:35 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - * field.c, awk.h (Null_field): no longer static. - * field.c (init_fields): initial value of $0 can be Nnull_string, - no need to copy it. - * eval.c (r_get_lhs) <Node_field_spec>: test for uninitialized field, - which is Nnull_string for $0 and Null_field for $(>0). - * builtin.c (do_print_rec): test for uninitialized $0. - -Tue May 27 17:03:02 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - * awk.h (Node_var_new): New node type for variables which can be - either scalar or array. From now on, Node_var is always scalar. - (Node_gvar_ref): Nuked, its role can be taken by Node_array_ref. - (orig_var): removed, orig_array is enough. - (SCALAR, UNINITIALIZED): Flags nuked. - (var_uninitialized): new macro to distinguish uninitialized vars; - used in several other macros. - * array.c (r_get_array, array_vname, do_adump): adapt to the - above changes. - * awkgram.y, eval.c, field.c, main.c, node.c, profile.c: ditto. - -Tue May 27 14:27:50 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - * array.c (r_get_array): New function, which goes all the way - through Node_param_list to actual Node_var_array; if it encounters - non scalar Node_var, it changes it to Node_var_array. - (in_array, do_delete, do_delete_loop, do_adump, assoc_sort_inplace): - Use get_array. - (assoc_lookup): The parameter must be a Node_var_array. - * awk.h (get_array, r_get_array): Declare the new function and define - a macro to speed it up. - * builtin.c (do_match): Use get_array. - * eval.c (interpret) <Node_K_arrayfor>: ditto. - (r_get_lhs) <Node_K_arrayfor>: ditto. - * field.c (do_split): ditto. - -Tue May 27 08:23:51 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - Changed node->vname meaning for type Node_array_ref and Node_gvar_ref. - It contains only the reference name; one has to (recursively) follow - node->prev_array to find out the call history for the array. - - * array.c (array_vname): New function to print the array name. - (assoc_lookup, do_delete): Use array_vname. - * eval.c (interpret, r_tree_eval, r_get_lhs): Use array_vname. - (push_args, pop_fcall): Things have simplified. - * awk.h (array_vname): Declare. - (prev_array): Define. - -Sun Jun 8 11:25:36 2003 Stepan Kasal <kasal@xxxxxx> - - * awkgram.y (append_right): when using savetail, remember that it - is not necessarily the tail of the list---it's just a pointer to - the last chunk appended. - -Thu Jun 5 12:01:41 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * builtin.c (do_strtonum): Make `strtonum(13)' work. - -Wed Jun 4 17:07:06 2003 Corinna Vinschen <vinschen@xxxxxxxxxx> - - * io.c (binmode): Include function for __CYGWIN__ too. - -Tue Jun 3 12:40:50 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * eval.c (interpret): Node_K_switch. For regex case, don't - call `free_temp' on the result of `force_string' if it's equal to - switch_value. Thanks to John DuBois <spcecdt@xxxxxxxxxx> - for finding the problem. - -Sun Jun 1 13:08:22 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * builtin.c (format_tree): For %c, force precision to 1. - -Wed May 28 11:55:48 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awkgram.y (isnoeffect, isassignable): Add Node_TEXTDOMAIN to - switches in both functions. - -Wed May 28 11:38:59 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - * awkgram.y (switch_body): remove rule ``switch_body:/*empty/'' - as ``switch_body:case_statements'' covers it---this disambiguation - fixes a reduce/reduce conflict. - -Sun May 25 16:23:43 2003 Corinna Vinschen <vinschen@xxxxxxxxxx> - - * configure.ac: Remove linking against /usr/lib/automode.o. - * configure: Regenerate. - -Sun May 25 15:19:19 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - * awk.h (get_lhs): For an initialized Node_var, you may return - the address of var_value pointer, no matter whether reference - bit was set or not. We were silly slowing down most of the - assignements. - - * (get_a_record): after grow_iop_buffer, move recm.rt_start even - if recm.len == 0. - -Mon May 19 16:55:59 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Code for C-style switch statements. Initial version contributed by - Michael Benzinger <Michael.Benzinger@xxxxxxxxxxxxxxxxxx>. - - Disabled by default, use `configure --enable-switch' to turn it on. - - * configure.ac: New AC_ARG_ENABLE for switch statements. - * awk.h (NODETYPE): New types for switch, case, default keywords - and respective lists. - * awkgram.y: New productions for switch statement. Does checking to - avoid duplicate cases. - * eval.c (nodetypes): New entries for new NODETYPEs. - (interpret): New code to do switch execution. - * profile.c (pprint): New code to print switch statements. - -Mon May 19 15:05:43 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * configure.ac: Renamed from configure.in. - * fixvers: Now looks in configure.ac. - * Makefile.am: Now cites configure.ac. - - * Misc other: Updated to Automake 1.7.5. - -Sun May 18 12:03:56 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * array.c (do_delete_loop): Fix bracing of logic for - tests. - -Wed May 14 09:01:16 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - Misc patches: - - * builtin.c (do_match): if third parameter to `match' is supplied, - store all subexpressions which are applicable, even though there - are some unused between them. - - * awkgram.y (yylex): when returning from unterminated REGEXP - (which is /* kludge */), take care to fake a yylval, to - prevent ``internal error'' later. - -Sun May 11 15:51:00 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - * io.c (rsnullscan, get_a_record): Boundary condition bug fixes. - -Sun May 11 15:15:20 IDT 2003 Scott Deifik <scottd@xxxxxxxxx> - - * awk.h: Add decls for `memcpy_ulong', `memset_ulong', and - MSC defines. - * regex.c: Include <stdio.h> if MSC for size_t. - -Mon May 5 15:11:06 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (get_a_record): Only tweak RT's value in place if the current - RS scanner is the same as the last one. Bug report submitted by - John DuBois (<spcecdt@xxxxxxxxxx>). - -Fri May 2 14:39:48 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (get_a_record): Add logic at end to be smart about setting - RT. Saves considerable time, esp for default case where RS = "\n". - -Wed Apr 30 11:44:38 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * field.c (do_split): Add check and code for Node_gvar_ref. - * array.c (in_array, do_delete, asort_actual): Same. - * builtin.c (do_split): Same for 3rd arg array parameter. - * eval.c (interpret): Same for Node_K_array_for. - (push_args): Same for evaluating extra args. - -Tue Apr 29 15:54:28 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Record reading code redone/simplified considerably. - - * awk.h (IOBUF): Removed total field, no longer used. - * io.c (at_eof, has_data, no_data_left): New macros. - (RECVALUE, SCANSTATE): New enumerated types. - (rs1get_a_record, rsnull_get_a_record, rsre_get_a_record): Removed. - (get_a_record): Rewritten, again. Now contains just buffer and - record code; searching code moved into these functions: - (rs1scan, rsnullscan, rsrescan): New functions to scan a buffer - for record contents and terminator. Fill in values in: - (struct recmatch): Holds found record and terminator. - (spec_setup): Set iop->dataend to indicate data is already in buffer. - (nextfile, inrec): Use new macros instead of flag and pointer tests. - (set_RS): Set scanning function instead of record function. - - FWIW, it all passes `make test'. - -Sun Apr 27 21:02:39 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (do_close): At end, if do_posix return 0. See comment in code. - -Tue Apr 15 09:56:03 2003 Isamu Hasegawa <isamu@xxxxxxxxxxxxxx> - - * configure.in: Check existence of wcrtomb, and wcscoll. - * configh.in: Likewise. - * configure: Re-generate. - Thanks to Kimura Koichi <kimura.koichi@xxxxxxxxxxx> for reporting. - -Sun Apr 13 16:02:10 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * main.c (main): Add call to `setlocale' for LC_NUMERIC after program is - parsed. - (arg_assign): Switch back to "C" locale for LC_NUMERIC for command - line assignments; this is per POSIX that period is decimal point for - program and command line assignments and the locale's separator - applies for input, output, and string to number conversion. - -2003-03-26 Paul Eggert <eggert@xxxxxxxxxxx> - - * builtin.c [HAVE_INTTYPES_H]: Include <inttypes.h>. - [!HAVE_INTTYPES_H && HAVE_STDINT_H]: Include <stdint.h>. - (CHAR_BIT, INTMAX_MIN, UINTMAX_MAX): Define if the system does not. - (TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): New macros, taken from - coreutils and many other GNU utilities. - (format_tree): When formatting, use widest possible integers - rather than settling with 'long'. - (do_lshift, do_rshift, do_and, do_or, do_xor, do_compl): Likewise, - when doing bitwise operations. - * configure.in (jm_AC_TYPE_LONG_LONG, jm_AC_TYPE_UNSIGNED_LONG_LONG, - jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T): Add, since the mainline - code now needs this. - * doc/gawk.texi (Control Letters, Bitwise Functions): Document this. - * m4/intmax_t.m4: New file, taken from coreutils (but renamed to - avoid collision with our m4/inttypes.m4). - * m4/longlong.m4: New file, taken from coreutils. - * m4/uintmax_t.m4, m4/ulonglong.m4: Remove; superseded by the above - new m4 files. - - * builtin.c (BITS_PER_BYTE): Remove; use CHAR_BIT instead, since - it's the standard name. - (do_lshift, do_rshift): Complain if the shift width is exactly equal - to the word size, too. - -Thu Mar 27 10:44:11 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (rs1_get_a_record, rsnull_get_a_record, rsre_get_a_record): - Enhance check for no data left in file to be only if file has - non-zero size. Linux files such as /proc/filesystems stat as a - regular file of size 0, but actually have contents. Ugh. - Thanks to Martin Schlemmer <azarah@xxxxxxxxxx> for the bug report. - -Wed Mar 26 12:19:32 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * builtin.c (format_tree): Add a lint warning at label `out_of_range'. - -Tue Mar 25 12:24:38 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awkgram.y (variable): For array subscript, if NAME is in the - symbol table, but not a variable, array, or parameter, generate - a syntax error. - (isarray): New function, tests if a symbol can be an array. - - * custom.h: Add check for HP/UX, needed for GCC. - -Mon Mar 17 09:21:09 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Allow simultaneous manipulation of a global array directly - and when passed as a parameter. - - * awk.h (Node_gvar_ref): New nodetype. - [orig_var]: New macro. - * array.c (do_delete_loop, do_delete): Add logic to handle - seeing Node_gvar_ref. - * eval.c (nodetypes): Add Node_gvar_ref. - (r_tree_eval, r_get_lhs): Add Node_gvar_ref case. - -Wed Mar 19 14:10:31 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - This time for sure. - -- Bullwinkle - - * Release 3.1.2: Release tar file made. - -Wed Mar 19 14:08:11 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awkgram.y: Production `program --> program error'. Add a return so - that we don't produce an infinite stream of error messages. - Thanks to Michael Mauch <michael.mauch@xxxxxx> for pointing this out. - -Wed Mar 19 13:45:50 2003 Corinna Vinschen <vinschen@xxxxxxxxxx> - - * regex.c [RE_ENBABLE_I18N]: remove definition; the one in - regex_internal.h is better and makes things work with Cygwin. - -Tue Mar 11 11:54:20 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * regex_internal.h: Don't include <limits.h> after <regex.h> was - included in regex.c, since it could redefine RE_DUP_MAX to a lower - value. - (bitset_set, bitset_clear, bitset_contain): Use 1UL instead of 1 in - left shift operations. - * regex.c: Include <limits.h> before <regex.h> - * regcomp.c (re_compile_fastmap_iter, init_word_char, parse_expression): - Use 1UL instead of 1 in left shift operations. - -Mon Mar 10 15:45:37 2003 Corinna Vinschen <vinschen@xxxxxxxxxx> - - * configure.in: Update CYGWIN case to add /usr/lib/automode.o. - -Thu Mar 6 11:07:36 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Updated to automake 1.7.3. - - * config.guess, config.sub: Updated from prep. - * Makefile.am (AUTOMAKE_OPTIONS): Add dist-bzip2 to get .bz2 files. - -Tue Mar 4 10:40:46 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * version.in: Added goop for K&R compilers; forgot that I have to fix - this file which then is used to create version.c. - -Mon Mar 3 17:00:44 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * configure.in: New option --disable-lint. - * awk.h (do_lint, do_lint_old): Conditionally declare based on NO_LINT. - * eval.c (set_LINT): Ifdef out body if NO_LINT. - * main.c (do_lint, do_lint_old): Conditionally compile properly. - (main): Handle --lint argument code. - -Fri Feb 28 10:43:07 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * main.c (main): Add LC_TIME to the things that get set with - setlocale(). - * builtin.c (format_tree): Change test of `n0-- <= 0' to ==, avoids - VMS diagnostic. - -Thu Feb 27 17:48:29 2003 Pat Rankin <rankin@xxxxxxxxxxxxxxx> - - * regexec.c (proceed_next_node): Cast re_string_get_buffer to char *. - (get_subexp): Likewise. - -Tue Feb 25 12:33:41 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * regex_internal.h, regex_internal.c, regcomp.c, regexec.c: - Make MB_CUR_MAX into thread local variable re_mb_cur_max. - - Unrelated, from Scott Deifik: - - * io.c (grow_iop_buffer): Add checks for overflow of new buffer size. - -Mon Feb 24 13:30:59 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h (gawk_mb_cur_max): Declared: - * main.c (gawk_mb_cur_max): Defined, init to 1. - (main): Initialize gawk_mb_cur_max. - * awkgram.y, builtin.c, eval.c, field.c, io.c, re.c (mb_cur_max): - Replaces all instances of MB_CUR_MAX, which is a function call (!) - in glibc. Big speed up, especially for -Fx case, where x is a - single character. - - Unrelated: - - * awkgram.y (rule): For non-existent action, use a Node_K_print_rec - node. - -Sun Feb 23 15:45:20 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Speed up plain `print' and `print $0': - - * awk.h (Node_K_print_rec): New node type. - (do_print_rec): Declare function. - * awkgram.y (simple_stmt): Create humongous test for plain `print' - or `print $0', and if so, use a Node_K_print_rec for it. Modify - test for lint message. - * builtin.c (redirect_to_fp): New function for common code to get fp - and rp for do_print{,f,_rec} functions. - (do_print): Use redirect_to_fp(). - (do_printf): Use redirect_to_fp(). - (do_print_rec): New function to just print $0 from field_arr[0] - directly; will rebuild the record first if necessary. - * eval.c (nodetypes): Add Node_K_print_rec. - (interpret): Add Node_K_print_rec case. - * profile.c (pprint): Add Node_K_print_rec case. - (pp_print_stmt): If null lnode, print "$0" else print the lnode. - - Unrelated: - - * regex_internal.h: Add ENABLE_NLS to the condition for using - gettext so that --disable-nls really disables it. - -Sat Feb 23 22:46:00 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (rs1_get_a_record, rsnull_get_a_record, rsre_get_a_record): - Modify buffer-filling algorithm to always read one or more multiples - of the blocksize (iop->readsize). - (grow_iop_buffer): Make sure there's room for the current partially - read record and one disk block buffer. - -Thu Feb 20 22:02:00 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * re.c (research): Fix typo in cast of precision value to int. - * regex.h, regex.c, re_internal.h, re_internal.c, regcomp.c, regexec.c: - synced to GLIBC source, maintaining K&R portability changes, and bug - fixes, although losing ability to compile each file separately. - * Makefile.am (SOURCES): Moved placement of regex source files from here ... - (EXTRA_DIST): ... to here. - -Tue Feb 18 14:17:33 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * re.c (research): Cast precision value to int. - * builtin.c (format_tree): For toofew, cast field width value to int. - * io.c (rsre_get_a_record): Initialize restart and reend. Add a variable - to make sure they're set before used at end of function. - (iopflags2str): Removed decl at top and made not static so that GCC - stops complaining that it's defined but not used. Bleah. - -Mon Feb 17 11:02:34 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * config.guess, config.sub: Updated from prep. - -Sun Feb 16 15:47:15 2003 Scott Deifik <scottd@xxxxxxxxx> - - * awk.h (format_tree, make_str_node): Changed decls to match how - they are called. - * builtin.c (format_tree, sub_common): Same. - * node.c (make_str_node): Same. - -Wed Feb 5 14:18:01 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h: Removed duplicate decl of set_prof_file(). Removed - undef of const for non-ANSI C; config.h should handle it. - * msg.c (set_loc): Use srcfile and srcline in regular code to shut up - stupid SGI compiler. - -Tue Feb 4 14:28:06 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - All relevant files: Copyright year updated to 2003. - -Tue Feb 4 13:40:41 2003 Martin C. Brown <mc@xxxxxxxxxxx> - - * intl/libgnuintl.h: Preprocessor fixes for MacOS X. - * regex.h: Ditto. - -Tue Feb 4 13:39:37 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awkgram.y (builtin_func): New string for use in rationalizing - function parsing and installation code. - -Sun Feb 2 16:00:55 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Cache function body code pointer so that only have to find it the - first time a function is called. This potential for optimization - brought to my attention by Stepan Kasal. - - * awk.h [funcbody]: New macro. - * awkgram.y (FUNC_CALL): Set $$->funcbody to NULL. - * eval.c (func_call): Changed to take top-level Node_func_call as the - single parameter. Do the lookup and caching. - (r_tree_eval): Change how func_call() is called in switch. - * profile.c (pp_func_call): Similar changes. - (tree_eval): Ditto. - -Sun Feb 2 15:32:42 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - ADR: More grammar rationalization/repair from Stepan. - - * awkgram.y (common_exp, simp_exp): the rule from getline (without - pipe) has been moved from common_exp to simp_exp. - - The redirection of print statements reworked. The idea comes from - mawk-1.3.3; much thanks to Michael Brennan! - - * awkgram.y (IO_OUT, IO_IN): new tokens. - (APPEND_OP, TWOWAYIO): swallowed by the above ones. - (in_print, in_parens): new static variables, to trace whether - IO_OUT is expected. - (yylex): emit the new tokens, update in_parens on '(' and ')'. - (exp): the print command(s) reworked. - (oputput_redir): reworked. - (print_expression_list): new non-terminal. - (rexp, rexpression_list opt_rexpression_list): nuked. - (exp, simp_exp): ``cmd|getline'' rule changed to - ``cmd IO_IN getline'' and moved from exp to simp_exp. - - Unrelated: - - * awkgram.y (variable): Don't return Node_func, issue a fatal - error instead. - * eval.c (r_tree_eval, r_get_lhs): Omit special checks for Node_func, - nodes of this type cannot get into the program tree. - * profile.c (tree_eval, pp_lhs): Likewise. - -Thu Jan 30 17:42:05 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - ADR: Applied lots of patches from Stepan. - - * array.c (do_delete_loop): Call after_assign for the loop index. - * field.c (do_split): The third argument to split(), sep, has to be - evaluated and the result dupnoded before assoc_clear is called, - similarily as src. And we needn't to evaluate the third argument - if it's CONSTant regex and the first parameter is null string. - * awk.h (dupnode): Changed to macro, function renamed to r_dupnode. - * node.c (dupnode, r_dupnode): Rename. - * awkgram.y (parms_shadow): Return bool value, ... - (shadow_funcs): ... which will enable us to end the program if - lintfunc is fatal. - (program): Cleanup of the rules defining the ``program'' non-terminal. - (start, program, rule): no value associated, - expression_value is now treated similarily as begin_block and end_block. - (pattern, rule): bison actions for non-terminal `pattern' now - add a new rule to the appropriate Node_rule_list, action for - non-terminal `rule' now only adds the associated code block - to the rnode of Node_rule_node. - (io_allowed): renamed to !begin_or_end_rule. - (append_pattern): New function, adds new Node_rule_node to a rule_list. - (mkrangenode): Deleted, this tiny function was called only once. - (function_body): non-terminal replaced by `action'. - (statements, action, statement): `statements' can now be empty; - both callers had to accomodate to this. - (statements): Don't call isnoeffect($2->type) if - $2 happens to be NULL. - -Mon Jan 27 14:12:19 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (iop_close): Based on report by Stepan Kasal and because of - his changes, don't call reset_record() when saving a copy of contents - of $0. - * awkgram.y: Improved function parsing error messages for case where - user uses a builtin name as a function name. Based on error report - by Stepan Kasal. - * ext.c (make_builtin): Set FUNC flag for new function. Based on error - report by Stepan Kasal. - -Mon Jan 27 14:06:20 2003 Stepan Kasal <kasal@xxxxxxxxxxx> - - * field.c (reset_record): No longer call set_record(), the code is - moved to the function body. Do not set MAYBE_NUM. - (set_record): Call reset_record() to perform the common tasks. - The prototype has changed, change awk.h and all callers. - -Mon Jan 27 10:50:03 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h (NODE): `proc' renamed to `builtin,' to fix a conflict - on some systems. Replaced on all spots where it was used. - -Sun Jan 26 11:52:01 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h [NUMSUBPATS]: New macro. - * builtin.c (do_match): Use it in loop that fills in subpattern info. - * eval.c (r_tree_eval): for Node_assign, don't call free_temp(), - as assign_val() contains dupnode(), which would clear the TEMP - flag. From Stepan Kasal <kasal@xxxxxxxxxxx>. - * config.sub: Updated from prep. - -Sun Jan 19 22:34:01 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h (do_asorti): Add declaration. - * awkgram.y (tokentab): Add asorti() function to table. - * array.c (ASORT_TYPE): New enumerated type for VALUE or INDEX array - sorting. - (assoc_sort_inplace): New second arg of type ASORT_TYPE. Additional code - to rearrange array so rest of merge-sorting works; basically values are - tossed and index moved into value spot. - (asort_actual): Renamed from do_asort(). Takes new ASORT_TYPE argument. - (do_asort): Calls asort_actual(tree, VALUE). - (do_asorti): Calls asort_actual(tree, INDEX). - - * main.c (load_procinfo): Free groupset array when done with it. - -Thu Jan 16 18:30:50 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * builtin.c (do_match): Revised to provide start and length - indices in array 3rd parameter. - * config.guess, config.sub: Updated from prep. - -Thu Jan 2 11:09:12 2003 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Updated to bison 1.875. - -Tue Dec 31 17:14:45 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Updated things to automake 1.7.2 and autoconf 2.57. - -Tue Dec 31 16:54:44 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h [IOP_CLOSED]: New flag. - * io.c (iop_close): Set IOP_CLOSED flag. - (inrec): Check for IOP_CLOSED; if set return EOF. - (rs1_get_a_record, rsnull_get_a_record): Check for EOF before - refilling buffers. - (rsre_get_a_record): Ditto. Also, set RT before updating pointers in IOP. - * Makefile.am (efence): New target to compile with Electric Fence. - -2002-12-23 Kaveh R. Ghazi <ghazi@xxxxxxxxxxxxxxxx> - - * awk.h (catchsig): Delete prototype. - * main.c (catchsig): Make static and remove excess argument. - (main): Delete unnecessary casts. - * io.c (rs1_get_a_record, rsnull_get_a_record): Mark parameter - with ATTRIBUTE_UNUSED. - -Mon Dec 23 11:54:07 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * regex_internal.h, regex_internal.c, regcomp.c, regexec.c, version.c: - Fixed to compile, once again, under K&R compilers. - * io.c (grow_iop_buffer): Fix calculation of new size to - first subtract 2, double, then add 2 back in. - -Fri Dec 20 11:48:42 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - get_a_record split into three routines. - - * awk.h (IOBUF): Structure reworked for new code. - * io.c (get_a_record): Now a pointer to different functions. - (rs1_get_a_record, rsnull_get_a_record, rsre_get_a_record): New functions. - (iop_alloc, iop_close): Reworked for new structure. - (do_getline, inrec): Modifiend for new EOF condition. - (iopflags2str): New routine. - -Fri Dec 20 11:05:50 2002 Isamu Hasegawa <isamu@xxxxxxxxxxxxxx> - - * regex.c, regex_internal.c, regex_internal.h: Changes to allow separate - compilation of the reg*c files. - * regcomp.c: Fix bug in using translation tables with [[:upper:]] etc. - * Makefile.am: Move regex files into sources from EXTRA_DIST. (ADR) - -Mon Dec 9 14:20:42 2002 Stepan Kasal <kasal@xxxxxxxxxxx> - - * main.c (main): When processing option '-f' don't ignore spaces - if optarg points at the beginning of the current argument - (like ``gawk -f " " file''). - -2002-11-30 Kaveh R. Ghazi <ghazi@xxxxxxxxxxxxxxxx> - - * awkgram.y (stopme): Mark parameter with ATTRIBUTE_UNUSED. - (yyerror): Add ATTRIBUTE_PRINTF_1. - * builtin.c (do_systime, do_rand): Likewise. - * field.c (set_field, re_parse_field, def_parse_field, - posix_def_parse_field, null_parse_field, sc_parse_field, - fw_parse_field): Likewise. - * io.c (pidopen, useropen): Likewise. - * main.c (catchsig): Likewise. - * profile.c (init_profiling): Likewise. - * awk.h (err): Add ATTRIBUTE_PRINTF. - * msg.c (err): Delete redundant prototype. Fix format specifier. - -Wed Nov 27 06:04:20 2002 Pat Rankin <rankin@xxxxxxxxxxxxxxx> - - * ext.c [#if !DYNAMIC] (do_ext): Cast string value for error node. - -Sun Nov 24 18:23:29 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - From Paul Eggert, with some edits by me. - - * builtin.c (do_substr): Consistently use floating point - values for lint messages, so they should be printed pretty - much as the user saw them. Check for overflow before - converting floating point to integer. Do the right thing with - NaNs. - - Check for index out-of-range before checking for length - out-of-range, to avoid some nasty effects if address - arithmetic overflows (e.g., indx + length < index). - - Allow zero-length substrings when checking for lint if - do_lint == LINT_INVALID. - -Sun Nov 24 18:21:06 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h (LINT_ALL, LINT_INVALID): New constants. - * main.c (main): Allow --lint=invalid which restricts warning to - things that aren't valid. - * eval.c (set_LINT): Update setting logic. - -Wed Nov 20 13:14:58 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h (lintfunc): Improve ifdef for attribute to only - work for GCC 3.2 and later. - * io.c (PIPES_SIMULATED): Don't define if on AIX, which - does define TANDEM in one of its header files. Ugh. - -Tue Nov 19 15:33:55 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * builtin.c (do_substr): Use %lu in warnings instead of %d. - -Mon Nov 18 14:42:53 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * config.guess: Synced from ftp.gnu.org. - * config.sub: Ditto. - -Sun Nov 17 21:32:49 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Updated things to automake 1.7.1. - -Sun Nov 3 14:33:30 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * eval.c (r_get_lhs): For variables, always clear UNINITIALIZED, - since the variable is about to be assigned to. From Stepan Kasal. - -Fri Nov 1 11:19:01 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h (lintfunc): Can only supply attributes for a function - pointer if GCC >= 3. Added ifdefs. Bah, humbug. - -2002-10-30 Kaveh R. Ghazi <ghazi@xxxxxxxxxxxxxxxx> - - * array.c (array_init, concat_exp, assoc_find, do_delete): - Const-ify. - * awk.h (redirect, set_record, pp_func, pp_string_fp, format_val, - parse_escape, make_regexp, research, reisstring, remaybelong): - Likewise. - * awkgram.y (dumpintlstr, dumpintlstr2, func_use, dup_parms, - var_comp, finfo, fcompare, func_use, dumpintlstr, dumpintlstr2): - Likewise. - * builtin.c (stdfile, do_fflush, do_index, category_table): - Likewise. - * eval.c (push_forloop, push_args, PUSH_BINDING, RESTORE_BINDING, - cmp_nodes, op_assign, loop_info, fcall, fmt_ok, set_LINT, - comp_func): Likewise. - * ext.c (do_ext): Likewise. - * field.c (set_record): Likewise. - * io.c (gawk_popen, two_way_open, binmode, redirect, getredirect, - fatal): Likewise. - * node.c (values, format_val, make_str_node, parse_escape): Likewise. - * profile.c (pp_string, pp_match_op, pp_func, pp_string, - pp_string_fp): Likewise. - * re.c (make_regexp, research, reisstring, remaybelong): Likewise. - -2002-10-30 Kaveh R. Ghazi <ghazi@xxxxxxxxxxxxxxxx> - - * awk.h (__attribute__, ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, - ATTRIBUTE_PRINTF, ATTRIBUTE_PRINTF_1, __extension__): Define. - (emalloc, erealloc): Fix format specifier warnings. - (do_nextfile):Mark with ATTRIBUTE_NORETURN. - (getredirect): Const-ify. - (msg, error, warning, r_fatal, lintfunc): Mark with - ATTRIBUTE_PRINTF_1. - (r_fatal): Mark with ATTRIBUTE_NORETURN. - * builtin.c (format_tree): Fix format specifier warning. - * eval.c (interpret): Likewise. - * main.c (usage, copyleft, catchsig, nostalgia, version): Mark - with ATTRIBUTE_NORETURN. - * profile.c (dump_and_exit): Likewise. - -2002-10-29 Kaveh R. Ghazi <ghazi@xxxxxxxxxxxxxxxx> - - * array.c (array_init): Use ISDIGIT, not isdigit. - * awk.h (m_tree_eval, force_number, force_string): Use - __extension__ in statement expressions. - * main.c (lintfunc): Fix !__SDTC__ case. - * regex_internal.c (calc_state_hash): Fix inline declaration. - * regexec.c (proceed_next_node): Cast assignment to correct type. - -2002-10-29 Kaveh R. Ghazi <ghazi@xxxxxxxxxxxxxxxx> - - * awk.h (exp_node, Func_ptr): Add prototype arguments. - * awkgram.y (yystype, token, getfname, nextc, pushback, - allow_newline, yylex): Likewise. - * io.c (wait_any): Likewise. - * profile.c (indent_in, indent_out): Likewise. - * random.h (random): Likewise. - -2002-10-29 Kaveh R. Ghazi <ghazi@xxxxxxxxxxxxxxxx> - - * array.c (grow_table): Const-ify. - * awk.h (RE_TRANSLATE_TYPE): Define. - (flagtab, casetable): Const-ify. - (getfname, shadow_funcs, redflags2str): Prototype. - (flags2str, genflags2str, nodetype2str, redflags2str, set_loc, - msg, error, warning, r_fatal): Const-ify. - * awkgram.y (tokentab, snode): Likewise. - * builtin.c (format_tree, do_strftime, - localecategory_from_argument): Likewise. - * eval.c (casetable, nodetypes, nodetype2str, flags2str, - genflags2str): Likewise. - * io.c (redflags2str, socketopen): Likewise. - * main.c (varfile, version_string, lintfunc, optab, copyleft, - varinit, init_vars): Likewise. - * msg.c (srcfile, msg, warning, error, set_loc, r_fatal): - Likewise. - * profile.c (pp_op_assign, pp_match_op, pp_redir): Likewise. - * random.c (sccsid): Likewise. - * version.c, version.in (version_string): Likewise. - -Tue Oct 29 10:50:52 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * configure.in: Update version in AC_INIT and AM_INIT_AUTOMAKE - * fixvers: Make grep for pattern a little smarter. - -Mon Oct 28 16:35:39 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h (hash): Now a function pointer. - * array.c (gst_hash_string, scramble): New functions. - (awk_hash): Renamed from hash. - (hash): Now a function pointer. - (array_init): Change hash function based on environment for - experimentation. - -Mon Oct 28 13:21:20 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Applied lots of patches from Stepan Kasal, tweaked as needed - for current code base. - - * node.c (dupnode): When n->stref overfows, flag the node as PERM. - Same for n->ahname_ref. - (unref): Remove the check for n->stref == LONG_MAX and - n->ahname_ref == LONG_MAX. - * awk.h (make_string): The third argument to make_str_node changed - from FALSE to 0, it's not Boolean. - (free_temp): Evaluate the argument only once, so that we - can call free_temp(tree_eval(n)) for achieving side effects. - (load_environ, load_procinfo): Changed return type to NODE *. - * main.c (load_environ): The ENVIRON_node should be created with type - Node_var_array and lnode set to NULL. Return pointer to the created node - and create an empty hash even on TANDEM. - (load_procinfo): Same mods for PROCINFO_node. - (init_args): ARGV_node should also have lnode set to NULL. - * eval.c (r_tree_eval): case Node_assign moved just above the other - assignment cases. - (op_assign): ++ and -- cases merged with += and -=, respectively. - (push_args): Evaluate all args, even in cases where more args are - supplied then required. - (interpret): In case Node_K_forarray, flag the variable - num_elems also as volatile, so that it survives longjmp() and - can be trusted when linting code. - (r_get_lhs): Case Node_param_list was unreachable (unless - something breaks really badly), remove it; - (r_tree_eval): case Node_var_array removed from the last switch, - it was caught in the first switch above. - * profile.c (tree_eval): Again, case Node_var_array was caught above. - * awkgram.y (variable): Code simplified, making use of the above - changes. - * field.c (sc_parse_field): IGNORECASE only applies to regex based - field-splitting, so remove code that pays attention to it. - (do_split): Don't use parse_field if RS_is_null. - (set_FS): Beware of FS == "\\" even if RS_is_null. - - Code changes to make things work better: - * field.c (set_FS): Don't use cmp_nodes() to compare old and new - value of FS, that uses IGNORECASE, which is a bad idea. Improve - logic for choosing sc_parse_field. Ensure that when RS_is_null - but using a single character, that we do pay attention to - case when doing regex splitting. - * io.c (set_RS): Don't use cmp_nodes() to compare old and new - value of RS, that uses IGNORECASE, which is a bad idea. - -Mon Oct 28 09:43:14 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * recomp.c (parse_expression): Change return statement into - two so it'll compile for SGI cc. - - * awk.h (STR, CUR): Changed to STRCUR and NUMCUR respectively, - to avoid conflict with STR on some System V systems. Changed - in all source files. - -Thu Oct 24 16:14:34 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * array.c (AVG_CHAIN_MAX): Now a variable, to allow easy experimentation. - (array_init): Pulls a new value from env var AVG_CHAIN_MAX if it - exists and sets the variable. - * awk.h: Add declaration for array_init(). - * main.c (main): Call array_init(). - -Tue Oct 22 11:23:56 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * bisonfix.sed: Updated for current bison. Death to alloca! - -2002-10-21 Isamu Hasegawa <isamu@xxxxxxxxxxxxxx> - - * builtin.c (tolower, toupper): Add casts to char* to fix some - compiler warnings. - * eval.c (cmp_nodes): Ditto. - * regcomp.c (peek_token_bracket): Skip the byte already read. - -Wed Oct 16 15:02:09 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (set_RS): Make sure to always call set_FS(). - -2002-10-11 Isamu Hasegawa <isamu@xxxxxxxxxxxxxx> - - * regcomp.c (re_compile_fastmap_iter): Remove the handling - OP_CONTEXT_NODE. - (regfree): Likewise. - (create_initial_state): Likewise. - (analyze): Remove the substitutions which became useless. - (calc_first): Likewise. - (calc_epsdest): Use edests of OP_BACK_REF in case that it has - epsilon destination. - (duplicate_node_closure): New function. - (duplicate_node): Remove the handling OP_CONTEXT_NODE. - (calc_inveclosure): Likewise. - (calc_eclosure): Likewise. - (calc_eclosure_iter): Invoke duplicate_node_closure instead of - direct invocation of duplicate_node. - (parse): Don't use comma operator in the return to avoid compiler - warning. - (parse_reg_exp): Likewise. - (parse_branch): Likewise. - (parse_expression): Likewise. - (parse_sub_exp): Likewise. - (parse_dup_op): Likewise. - * regex_internal.c (re_dfa_add_node): Remove the substitutions - which became useless. - (create_ci_newstate): Remove the handling OP_CONTEXT_NODE. - (create_cd_newstate): Likewise. - * posix/regex_internal.h (re_token_type_t): Remove the obsolete type. - (re_token_t): Likewise. - (re_dfa_t): Likewise. - (re_node_set_remove): New macro. - * regexec.c (check_matching): Remove the handling - OP_CONTEXT_NODE. - (check_halt_node_context): Likewise. - (proceed_next_node): Likewise. - (pop_fail_stack): Fix the memory leak. - (set_regs): Likewise. - (free_fail_stack_return): New function. - (sift_states_backward): Fix the memory leak. Remove the handling - OP_CONTEXT_NODE. - (update_cur_sifted_state): Append some if clause to avoid redundant - call. - (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a - back reference. - (check_dst_limits): Remove the handling OP_CONTEXT_NODE. - (check_subexp_limits): Likewise. - (search_subexp): Likewise. - (sift_states_bkref): Likewise. - (transit_state_mb): Likewise. - (transit_state_bkref_loop): Likewise. - (transit_state_bkref_loop): Likewise. - (group_nodes_into_DFAstates): Likewise. - (check_node_accept): Likewise. - (sift_ctx_init): Add initializing. - -Tue Oct 15 14:18:53 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * eval.c (set_IGNORECASE): Call set_RS() instead of - set_FS_if_not_FIELDWIDTHS(). The former calls the latter - for us, and also makes IGNORECASE affect RS like it's supposed to. - * field.c (FS_re_yes_case, FS_re_no_case): New variables. - (set_FS): Smarten up routine to not recompile FS_regexp if all - that's changed is IGNORECASE or if switching back to FS from - FIELDWIDTHS. Significant speed-up for cases where IGNORECASE - is assigned to for every record. - * io.c (RS_re_yes_case, RS_re_no_case): New variables. - (set_RS): Similar changes as to set_FS(). In particular, - IGNORECASE changing now affects record splitting too. - * re.c (refree): Set rp->pat.tranaslate to NULL. It comes - from casetable and shouldn't be freed. (Strictly necessary - only for old regex, but a good idea anyway). - Also, call regfree(& rp->pat) instead of manually free()ing - things, since there's dynamically allocated stuff hiding in - the buffer. Avoids a memory leak. - -Mon Oct 14 12:02:39 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Major space reduction in array management. Overhead reduced - to two NODE's per element from three. - - * awk.h (ahash): Union is gone. - (hash.ref): new union member. - (ahnext): new definition into hash union. - (ahvalue): new definition into hash union. - (ahname_str): new member, points into hash union. - (ahname_len): new member, points into hash union. - (ahname_ref): new member, points into hash union. - * array.c: Replaces uses of ahname member with string and - length. Set the reference count correctly to 1 on new nodes. - * eval.c (interpret): Case for Node_K_arrayfor. dupnode() the - array indices, and set loop variable to new value made via - make_string(). - * node.c (unref, dupnode): Node_ahash nodes are now also - reference counted, a la strings. Similar code is used to - increment/decrement the counts, and/or copy nodes as - needed. - - Unrelated: - * awk.h (forsub): Removed. Not used. - -Sun Oct 13 16:58:27 2002 Stepan Kasal <kasal@xxxxxxxxxxx> - - * profile.c (pprint): #undef the temporary defines at the end - of the case. - * eval.c (interpret): Likewise. - (assign_val): we can unref() before doing dupnode(). - Also, move the check for NF < 0 from here ... - * field.c (set_NF): ... to here. - * main.c (varinit): no need to call set_NF(). - * awkgram.y (statements): don't be so generous when concatenating - `statements' with a `statement'. - - -2002-10-13 Isamu Hasegawa <isamu@xxxxxxxxxxxxxx> - - * regcomp.c: Synced with development sources. - * regex_internal.c: Synced with development sources. - * regex_internal.h: Synced with development sources. - * regexec.c: Synced with development sources. - -Sun Oct 13 21:35:35 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h (NODE): reflags is now unsigned long for: - (exec_count): defined to be sub.nodep.reflags. Using `number' - broke pgawk. - * profile.c (Node_K_delete_loop): print out as a for loop - with a comment that it's internally the same as `delete array'. - * eval.c (Node_K_delete_loop): Increment the exec_count. Ooops. - * configure.in (AM_GNU_GETTEXT_VERSION): New macro call. - * custom.h: Updated description of the file at the top. - -Thu Oct 10 16:39:51 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h (vname, exec_count): Now macros into different - parts of the NODE structure that can be safely used for them. - Saves 16 bytes per NODE. - * eval.c: Changed use of `vname' to `varname' to avoid new - macro. - * main.c (lintfunc): Made ifdefed decls match awk.h. - * eval.c (comp_func): Use memcmp instead of strcmp. - * configure.in (AC_CONFIG_HEADER): Physically append custom.h - to config.h to avoid subdir compiliation problems. - -Sun Oct 6 17:36:15 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Updated to automake 1.7 and bison 1.50. - - * INSTALL: Replaced with current version from automake 1.7. - * config.guess: Replaced with current version from automake 1.7. - * config.sub: Replaced with current version from automake 1.7. - * depcomp: Replaced with current version from automake 1.7. - * doc/texinfo.tex: Replaced with current version from automake 1.7. - * install-sh: Replaced with current version from automake 1.7. - * missing: Replaced with current version from automake 1.7. - * mkinstalldirs: Replaced with current version from automake 1.7. - * ylwrap: Replaced with current version from automake 1.7. - - * configure.in (DYNAMIC): Updated AC_DEFINE(DYNAMIC) to - three-argument form for autoheader. - * acinclude.m4: Removed includes of jm-mktime.m4 and - largefile.m4, which are now standard parts of Autoconf. - - * Makefile.in: Regenerated. - * aclocal.m4: Regenerated. - * awkgram.c: Regenerated. - * awklib/Makefile.in: Regenerated. - * configure: Regenerated. - * doc/Makefile.in: Regenerated. - * test/Makefile.in: Regenerated. - -Sun Sep 29 16:47:49 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * custom.h (__WIN32__): Added from gnuwin32 project, via - Stepan Kasal. - - * awkgram.y: For tawk compatibility, added `delete(array)'. - To remain undocumented, since it's WAY non-standard. - -Sun Sep 22 22:23:50 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awk.h (re_cnt): Removed, not needed since no dfa code. - * awkgram.y (regexp, a_regexp): Removed use of re_cnt. - * re.c (re_update): Ditto. - -Thu Sep 19 10:55:37 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (binmode): Create function if defined(WIN32) also. - - Updated to gettext 0.11.5, autoconf 2.54 and automake 1.6.3. - - * aclocal.m4: Regenerated. - * m4/codeset.m4: Updated. - * m4/gettext.m4: Updated. - * m4/glibc21.m4: Updated. - * m4/iconv.m4: Updated. - * m4/lcmessage.m4: Updated. - * m4/lib-ld.m4: Updated. - * m4/lib-link.m4: Updated. - * m4/lib-prefix.m4: Updated. - * m4/progtest.m4: Updated. - * po/Makefile.in.in: Updated. - * po/Rules-quot: Updated. - * po/boldquot.sed: Updated. - * po/en@boldquot.header: Updated. - * po/en@quot.header: Updated. - * po/insert-header.sin: Updated. - * po/quot.sed: Updated. - * po/remove-potcdate.sin: Updated. - -Tue Sep 17 23:46:01 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * configure.in: Moved override of INSTALL to just after - AC_INIT so that it takes effect. Necessary for Autoconf 2.5x. - -Mon Sep 16 16:40:57 2002 Stepan Kasal <kasal@xxxxxxxxxxx> - - * awkgram.y (want_assign): Removed. - (SLASH_BEFORE_EQUAL, ASSIGN): New terminals; ``/='' is now - formed from these two. - (a_slash): New non-terminal, representing either '/' or - SLASH_BEFORE_EQUAL. - (assign_operator): New non-terminal, replaces ASSIGNOP. - (REGEXP): yylex now eats the terminating '/' before - returning REGEXP token. - (exp): The check for C-like comments moved from here - (regexp): ... to here. - (common_exp): New non-terminal; contains common parts of exp - and rexp. (a_relop, relop_or_less): New non-terminals. - (rexp): some rules updated to be analogous to exp. - (output_redir): Can contain only common_exp, not exp in general. - -Mon Sep 16 22:51:51 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (two_way_open): Move label use_pipes outsidef of ifdef, - just in case. - -Thu Sep 12 15:11:28 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * awkgram.y (getfname): Return NULL if not found, remove - fatal error. Could be an extension function. - (dump_funcs): Walk symbol table counting functions before - mallocing table, since there could be extension functions, - func_count could be too small. - * profile.c (pp_builtin): Handle NULL return from getfname(). - Print it as "extension_function()" if so. - -Tue Sep 10 17:33:48 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Minor code simplification. - - * awk.h (in_array): Change return type to NODE*. - (assoc_exists): Remove declaration. - * array.c (in_array): Change return type to NODE *. - Return value is pointer to element value or NULL. - (assoc_exists): Removed function. - * eval.c (r_tree_eval): Case Node_in_array, change value - to test return of in_array() against NULL. - * io.c (pty_vs_pipes): Change test to make a tmp_string() - of the index and call in_array(). Add free_temp() of - subscript and free() of full_index (oops). - -2002-09-10 Isamu Hasegawa <isamu@xxxxxxxxxxxxxx> - - * posix/regcomp.c: Wrap #include wchar.h and wctype.h in #if. - (build_range_exp): Add castings to strlen invocations. - (build_collating_symbol): Restore the type of characters from "char" - to "unsigned char", and supplement castings. - (build_collating_symbol): Likewise. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - (seek_collating_symbol_entry): Likewise. - (parse_bracket_exp): Likewise. - (build_word_op): Supplement a casting. - * posix/regex_internal.c: Wrap #include wchar.h and wctype.h in #if. - (re_string_allocate): Fix castings. - (re_string_construct): Likewise. - (re_string_construct_common): Likewise. - (re_string_realloc_buffers): Likewise. - (build_wcs_buffer): Likewise. - (build_wcs_upper_buffer): Likewise. - (re_string_skip_chars): Likewise. - (re_string_reconstruct): Likewise. - * posix/regex_internal.h: Restore the type of characters in - re_string_t and bracket_elem_t from "char" to "unsigned char". - (re_string_elem_size_at): Fix castings. - * posix/regexec.c: Wrap #include wchar.h and wctype.h in #if. - (transit_state_bkref_loop): Restore the type of characters from - "char" to "unsigned char", and append a cast to "char*" pointer in - array subscript. - (check_node_accept_bytes): Likewise. - (find_collation_sequence_value): Likewise. - -Thu Sep 5 13:15:09 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * re.c (remaybelong): New routine. - (reisstring): Simplified the code a bit. - * awk.h (remaybelong): Declaration added. - * io.c (get_a_record): Change fourth grungy special case to - use remaybelong() instead of strchr() on last character. - -Wed Sep 4 13:20:26 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (do_input): Recode guts of main loop to be easier - to trace with a debugger. - (get_a_record): Fourth grungy special case for RE-based - record splitting added. See explanatory comments there - and test/rebuf.awk. - -2002-09-03 Isamu Hasegawa <isamu@xxxxxxxxxxxxxx> - - * posix/regcomp.c (regcomp): Append "__restrict" modifier to avoid - warnings of some compilers. - (build_collating_symbol): Change the type of characters from - "unsigned char" to "char", and append a cast to "char*" pointer in - array subscript. - (build_collating_symbol): Likewise. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - (re_compile_pattern): Remove incorrect cast. - (re_compile_fastmap_iter): Change the type of characters from - "unsigned char" to "char", and append a cast to "char*" pointer - in array subscript. - (parse_bracket_exp): Likewise. - * posix/regex_internal.c (re_string_construct_common): Likewise. - (re_string_allocate): Likewise. - (re_string_construct): Likewise. - (re_string_realloc_buffers): Likewise. - (build_wcs_buffer): Likewise. - (re_string_reconstruct): Likewise. - * posix/regex_internal.h: Change the type of characters in - re_string_t and bracket_elem_t from "unsigned char" to "char". - * posix/regexec.c (regexec): Append "__restrict" modifier to avoid - warnings of some compilers. - (transit_state_bkref_loop): Change the type of characters from - "unsigned char" to "char", and append a cast to "char*" pointer in - array subscript. - (check_node_accept_bytes): Likewise. - (find_collation_sequence_value): Likewise. - -Wed Aug 21 15:40:36 2002 Corinna Vinschen <vinschen@xxxxxxxxxx> - - * configure.in: Define --without-libintl-prefix and - --without-libiconv-prefix for Cygwin by default. - * Makefile.am: Call fixvers from $(srcdir). - * awk.h: Don't define O_BINARY on Cygwin. - -Wed Aug 21 15:31:57 2002 Andreas Buening <andreas.buening@xxxxxxxx> - - * configure.in (AC_OBJEXT, AC_EXEEXT): Added. Removed OS/2 goo. - * Makefile.am (check-local): Add $(EXEEXT) suffixes, remove OS/2 goo. - * regcomp.c, regex_internal.c, regexec.c: Conditionalize include of - <wchar.h> and <wctype.h> on RE_ENABLE_I18N. - -Wed Aug 21 14:43:57 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * gettext.h (ENABLE_NLS): Add include of locale.h so that things - compile even without optimization. Sheesh. - * io.c (two_way_open, pty_vs_pipes): Conditionalize pty code on - HAVE_TERMIOS_H. - -Thu Aug 8 22:16:10 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * main.c (main): Force LC_NUMERIC locale to "C", esp. for - M$ systems. Ugh. - -Wed Aug 7 13:42:01 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - * io.c (get_a_record): Improve test for newlines at beginning of - record but with nothing following it. See test/nulrsend. - -Mon Aug 5 10:12:39 2002 Arnold D. Robbins <arnold@xxxxxxxxxx> - - Add option to use ptys instead of pipes for |&. - Basic plumbing originally from Paolo Bonzini <bonzini@xxxxxxx>. - - * awk.h (RED_PTY): New flag. [ *** diff truncated: 1793402 lines dropped *** ]