diff options
Diffstat (limited to 'gnuwin32/contrib')
32 files changed, 0 insertions, 9196 deletions
diff --git a/gnuwin32/contrib/gperf/3.0.1/depends-GnuWin32.lst b/gnuwin32/contrib/gperf/3.0.1/depends-GnuWin32.lst deleted file mode 100644 index 972dbc1b..00000000 --- a/gnuwin32/contrib/gperf/3.0.1/depends-GnuWin32.lst +++ /dev/null @@ -1,3 +0,0 @@ -kernel32.dll -msvcrt.dll -ntdll.dll diff --git a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-GnuWin32.README b/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-GnuWin32.README deleted file mode 100644 index 56531d85..00000000 --- a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-GnuWin32.README +++ /dev/null @@ -1,54 +0,0 @@ -* Gperf-3.0.1 for Windows * -=========================== - -What is it? ------------ -Gperf: generate a perfect hash function from a key set - -Description ------------ -GNU gperf is a perfect hash function generator. For a given list of -strings, it produces a hash function and hash table in the form of -C or C++ code, for looking up a value depending on the input string. -The hash function is perfect,' which means that the hash table has -no collisions, and the hash table lookup needs a single string -comparison only. GNU gperf is highly customizable. There are options -for generating C and C++ code, for emitting 'switch' statements or -nested 'ifs' instead of a hash table, and for tuning the algorithm -that gperf uses. - -Homepage --------- -http://www.gnu.org/software/gperf/gperf.html - -System ------- -- MS-Windows 95 / 98 / ME / NT / 2000 / XP with msvcrt.dll -- if msvcrt.dll is not in your Windows/System folder, get it from - Microsoft <http://support.microsoft.com/default.aspx?scid=kb;en-us;259403"> - or by installing Internet Explorer 4.0 or higher - <http://www.microsoft.com/windows/ie> - -Notes ------ -- Bugs and questions on this MS-Windows port: gnuwin32@users.sourceforge.net - -Package Availability --------------------- -- in: http://gnuwin32.sourceforge.net - -Sources -------- -- gperf-3.0.1-src.zip - -Compilation ------------ -The package has been compiled with GNU auto-tools, GNU make, and Mingw -(GCC for MS-Windows). Any differences from the original sources are given -in gperf-3.0.1-GnuWin32.diffs in gperf-3.0.1-src.zip. Libraries needed -for compilation can be found at the lines starting with 'LIBS = ' in the -Makefiles. Usually, these are standard libraries provided with Mingw, or -libraries from the package itself; 'gw32c' refers to the libgw32c package, -which provides MS-Windows substitutes or stubs for functions normally found in -Unix. For more information, see: http://gnuwin32.sourceforge.net/compile.html -and http://gnuwin32.sourceforge.net/packages/libgw32c.htm. diff --git a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/AUTHORS b/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/AUTHORS deleted file mode 100644 index 184c7ce6..00000000 --- a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/AUTHORS +++ /dev/null @@ -1,2 +0,0 @@ -Douglas C. Schmidt <schmidt@ics.uci.edu> -Bruno Haible <bruno@clisp.org> diff --git a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/COPYING b/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/COPYING deleted file mode 100644 index bab08afa..00000000 --- a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/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 - - Appendix: 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/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/ChangeLog b/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/ChangeLog deleted file mode 100644 index 1af586c4..00000000 --- a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/ChangeLog +++ /dev/null @@ -1,3185 +0,0 @@ -2003-06-12 Bruno Haible <bruno@clisp.org> - - * gperf-3.0.1 released. - - * src/version.cc: Bump version number to 3.0.1. - * doc/gperf.texi: Likewise. - * tests/c-parse.exp, tests/charsets.exp, tests/chill.exp, - tests/cplusplus.exp, tests/gpc.exp, tests/incomplete.exp, - tests/java.exp, tests/languages.exp, tests/modula2.exp, - tests/objc.exp, tests/permut2.exp, tests/permut3.exp, - tests/permutc2.exp, tests/test-4.exp: Update. - -2003-05-31 Bruno Haible <bruno@clisp.org> - - * doc/gperf.texi (User-supplied Struct): Mention the possibility of an - abbreviated struct declaration. - * src/input.cc (Input::read_input): Support struct declarations of the - form "struct foo;". - * tests/incomplete.gperf: New file. - * tests/incomplete.exp: New file. - * tests/Makefile.in (check-test): Check incomplete.gperf too. - Reported by Rob Leslie <rob@mars.org>. - -2003-05-20 Bruno Haible <bruno@clisp.org> - - * doc/Makefile.in (gperf.ps): Don't use $< in a target rule. - -2003-05-27 Bruno Haible <bruno@clisp.org> - - * Makefile.vms (CC): Correct value. - (getopt.obj, getopt1.obj, getline.obj, hash.obj): Don't set - HAVE_CONFIG_H. - -2003-05-17 Bruno Haible <bruno@clisp.org> - - * Makefile.msvc (DEBUGFLAGS): New variable. - (gperf.exe): Use it, and MFLAGS too. - -2003-05-08 Bruno Haible <bruno@clisp.org> - - * gperf-3.0 released. - -2003-05-07 Bruno Haible <bruno@clisp.org> - - * src/version.cc: Bump version number to 3.0. - * doc/gperf.texi: Likewise. - * tests/c-parse.exp, tests/charsets.exp, tests/chill.exp, - tests/cplusplus.exp, tests/gpc.exp, tests/java.exp, - tests/languages.exp, tests/modula2.exp, tests/objc.exp, - tests/permut2.exp, tests/permut3.exp, tests/permutc2.exp, - tests/test-4.exp: Update. - - * src/configure.in: Fix AC_INIT argument. - - * Makefile.devel (configure, lib/configure, src/configure, - tests/configure, doc/configure): Use the newest autoconf. - (src/config.h.in): Use the newest autoheader. - -2003-05-03 Bruno Haible <bruno@clisp.org> - - * doc/gperf.texi: Use two spaces as sentence separator, as recommended - by the texinfo manual. - -2003-04-12 Bruno Haible <bruno@clisp.org> - - * doc/configure.in (mandir): Change default value. - * doc/Makefile.in (docdir): Use datadir instead of prefix. - * Makefile.msvc (datadir): New variable. - (mandir, docdir): Use it instead of prefix. - (install, installdirs): Update. - * Makefile.vms (datadir): New variable. - (mandir, docdir): Use it instead of prefix. - (install, installdirs): Update. - -2003-04-12 Bruno Haible <bruno@clisp.org> - - * README.vms: New file. - * Makefile.vms: New file. - * Makefile.devel (src/config.h_vms): New rule. - (all): Depend on it. - -2003-03-19 Bruno Haible <bruno@clisp.org> - - * src/input.cc (Input::read_input): Ignore comments at the beginning - of the declarations section. - * doc/gperf.texi (Controls for GNU indent): New section. - Reported by Bruce Lilly <blilly@erols.com>. - -2003-03-19 Bruno Haible <bruno@clisp.org> - - * src/output.cc (Output::output_hash_function): Avoid lint warning if - not all arguments of the hash function are used. Avoid lint warning - for fallthrough in switch. - * tests/c-parse.exp, tests/charsets.exp, tests/chill.exp, - tests/cplusplus.exp, tests/java.exp, tests/languages.exp, - tests/modula2.exp, tests/objc.exp: All /*FALLTHROUGH*/ to expected - output. - Reported by Bruce Lilly <blilly@erols.com>. - -2003-03-01 Bruno Haible <bruno@clisp.org> - - * src/options.h (Options::set_initializer_suffix): New declaration. - * src/options.cc (Options::set_initializer_suffix): New method. - * src/input.cc (Input::read_input): Recognize %define - initializer-suffix. - * doc/gperf.texi (Gperf Declarations): Document %define - initializer-suffix. - * NEWS: Update. - -2003-02-26 Bruno Haible <bruno@clisp.org> - - * Makefile.msvc: New file. - * README.woe32: New file. - * Makefile.devel (all): Depend on src/config.h.msvc. - (src/config.h.msvc): New rule. - -2003-01-07 Bruno Haible <bruno@clisp.org> - - * src/input.h (Input::_charset_dependent): New field. - * src/input.cc (Input::read_input): Also set _charset_dependent. - * src/main.cc (main): Pass _charset_dependent from Input to Output. - * src/output.h (Output::Output): Add charset_dependent argument. - (Output::_charset_dependent): New field. - * src/output.cc (Output::Output): Add charset_dependent argument. - (Output::output): Provoke a compilation error if the execution - character set doesn't match the expectations. - * tests/c-parse.exp, tests/charsets.exp, tests/chill.exp, - tests/cplusplus.exp, tests/gpc.exp, tests/java.exp, - tests/languages.exp, tests/modula2.exp, tests/objc.exp, - tests/permut2.exp, tests/permut3.exp, tests/permutc2.exp, - tests/test-4.exp: Update. - - * src/options.cc (Options::long_usage): Change bug report address to - <bug-gnu-gperf@gnu.org>. - * tests/test-6.exp: Update. - - * src/output.cc (USE_DOWNCASE_TABLE): New macro. - (output_upperlower_table): New function. - (output_upperlower_strcmp, output_upperlower_strncmp, - output_upperlower_memcmp): Emit gperf_downcase array accesses. - (Output::output): Call output_upperlower_table. - * tests/permutc2.exp: Update. - - * src/keyword-list.icc (KeywordExt_List::rest): Use a portable cast. - (Only in GCC a cast of an lvalue is an lvalue.) - -2003-01-01 Bruno Haible <bruno@clisp.org> - - * src/options.cc (Options::parse_options): Update copyright year. - - * doc/gperf.texi (@author): Add me. - - * src/options.h (NULLSTRINGS): New enum value. - (Options::get_stringpool_name, Options::set_stringpool_name): New - method declarations. - (Options::_stringpool_name): New field. - * src/options.icc (Options::get_stringpool_name): New method. - * src/options.cc (DEFAULT_STRINGPOOL_NAME): New variable. - (Options::long_usage): Document -Q and --null-strings. - (Options::Options): Initialize _stringpool_name. - (Options::~Options): Output _stringpool_name, NULLSTRINGS values too. - (Options::set_stringpool_name): New method. - (long_options): Add options --string-pool-name, --null-strings. - (Options::parse_options): Implement options -P, -Q and --null-strings. - * src/input.cc (Input::read_input): Recognize declarations %pic, - %define string-pool-name, %null-strings. - * src/output.h (Output::output_string_pool, - Output::output_lookup_pools): New method declarations. - (Output::_wordlist_eltype): New field. - * src/output.cc (Output::output_keylength_table): Trivial - simplification. - (Output::output_string_pool): New method. - (output_keyword_entry): Add stringpool_index argument. For SHAREDLIB, - use struct offsets. - (output_keyword_blank_entries): For SHAREDLIB, use -1 instead of "". - (Output::output_keyword_table): Use _wordlist_eltype instead of - _struct_tag. Compute stringpool_index for output_keyword_entry. - (Output::output_lookup_pools): New method. - (Output::output_lookup_function_body): Use _wordlist_eltype instead of - _struct_tag. For SHAREDLIB, use "+ stringpool" to convert offsets to - strings. Use "o >= 0" to test for nonempty table entry. - (Output::output_lookup_function): Call output_lookup_pools. - (Output::output): Initialize _wordlist_eltype. Call - output_lookup_pools. - * tests/jstest4.gperf: New file. - * tests/test-6.exp: Update. - * tests/Makefile.in (check-lang-syntax): Drop test of -p. Add tests of - -P and -Q. - * doc/gperf.texi (User-supplied Struct): Mention that first field has - to be of type 'int' if -P is given. - (Gperf Declarations): Document %pic, %define string-pool-name, - %null-strings. - (Output Details): Update description of option -P. Document options -Q - and --null-strings. - - * tests/Makefile.in (check-link-c, check-ada, check-pascal, - check-test): Omit option -p. - * tests/c-parse.exp: Regenerated. - * tests/chill.exp: Regenerated. - * tests/cplusplus.exp: Regenerated. - * tests/gpc.exp: Regenerated. - * tests/java.exp: Regenerated. - * tests/objc.exp: Regenerated. - * tests/test-4.exp: Regenerated. - - * src/output.cc (Output::output_lookup_function_body): Omit the - multicompare code section and its variables when it is not used. - * tests/chill.exp: Regenerated. - - * src/output.c (Output_Compare::output_firstchar_comparison): New - method. - (Output_Compare_Strcmp::output_comparison, - Output_Compare_Strncmp::output_comparison, - Output_Compare_Memcmp::output_comparison): Use it. - * tests/permutc2.exp: Update. - - * tests/smtp.gperf: New file, based on a contribution by Bruce Lilly. - * tests/Makefile.in (check-smtp): New rule. - (check): Depend on it. - (clean): Update. - -2002-12-12 Bruno Haible <bruno@clisp.org> - - * src/search.h (Search::init_selchars_tuple, - Search::count_duplicates_tuple): Add alpha_unify argument. - (Search::count_duplicates_tuple): New method declaration. - * src/search.cc (Search::init_selchars_tuple, - Search::count_duplicates_tuple): Add alpha_unify argument. - (Search::find_positions): Update. - (Search::count_duplicates_tuple): New method. - (Search::count_duplicates_multiset): Free temp alpha_unify vector. - (Search::find_alpha_inc): Call count_duplicates_tuple. - - * src/configure.in: Add test for stack-allocated variable-size arrays. - * src/config.h.in: Regenerated. - * src/search.cc: Include config.h. - (DYNAMIC_ARRAY, FREE_DYNAMIC_ARRAY): New macros. - (Search::find_alpha_inc, Search::count_possible_collisions, - Search::find_asso_values): Use them. - * src/Makefile.in (search.o): Depend on config.h. - - * src/search.h (Search::keyword_list_length, Search::max_key_length, - Search::get_max_keysig_size, Search::prepare): Remove declarations. - (Search::prepare): Renamed from Search::preprepare. - (Search::_max_selchars_length): New field. - * src/search.cc (Search::prepare): Renamed from Search::preprepare. - (Search::prepare_asso_values): Merged with old Search::prepare. - Initialize _max_selchars_length. - (Search::keyword_list_length): Remove function. Use _list_len instead. - (Search::max_key_length): Remove function. Use _max_key_len instead. - (Search::get_max_keysig_size): Remove function. Use - _max_selchars_length instead. - (Search::count_possible_collisions, Search::find_asso_values): Update. - (Search::find_good_asso_values): Call just prepare_asso_values. - (Search::~Search): Update. - - * src/output.h (Output::output_asso_values_ref): New declaration. - * src/output.cc (char_to_index): Remove variable. - (Output::output_asso_values_ref): New function. - (Output::output_hash_function): Use it. - (Output::output): Update. - - * src/positions.h (Positions::is_useall, Positions::set_useall, - Positions::iterator, Positions::reviterator): New method declarations. - (Positions::_useall): New field. - (PositionIterator): Make constructor private. Add a constructor and a - copy constructor. - (PositionIterator::remaining): New declaration. - (PositionReverseIterator): Make constructor private. Add a constructor - and a copy constructor. - (PositionReverseIterator::remaining): New declaration. - (PositionReverseIterator::_minindex): New field. - * src/positions.icc (Positions::Positions): Initialize _useall. - (Positions::operator=): Likewise. - (Positions::is_useall, Positions::set_useall): New methods. - (Positions::sort): Do nothing if _useall is set. - (Positions::iterator, Positions::reviterator): New methods. - (PositionIterator::PositionIterator): New constructor. - (PositionIterator::remaining): New method. - (PositionReverseIterator::PositionReverseIterator): New constructor. - (PositionReverseIterator::next): Use _minindex as bound. - (PositionReverseIterator::remaining): New method. - * src/positions.cc (Positions::add, Positions::remove): Reset the - useall flag. - (Positions::print): Handle the useall case. - * src/options.h (ALLCHARS): Remove. - * src/options.cc (Options::~Options): Update. - (Options::parse_options): Use Positions::set_useall(). - * src/keyword.h (KeywordExt::init_selchars_tuple, - KeywordExt::init_selchars_multiset, KeywordExt::init_selchars_low): - Remove use_all_chars argument. - * src/keyword.cc (KeywordExt::init_selchars_low): Remove use_all_chars - argument. Tell the position iterator to stop at _allchars_length. - Remove special case code for -k'*'. - (KeywordExt::init_selchars_tuple, KeywordExt::init_selchars_multiset): - Remove use_all_chars argument. - * src/search.h (Search::init_selchars_tuple): Remove use_all_chars - argument. - (Search::init_selchars_multiset): Likewise. - * src/search.cc (Search::init_selchars_tuple): Remove use_all_chars - argument. - (Search::count_duplicates_tuple, Search::find_positions): Update. - (Search::compute_alpha_unify): Remove special case code for -k'*'. - (Search::init_selchars_multiset): Remove use_all_chars argument. - (Search::count_duplicates_multiset): Update. - (Search::find_alpha_inc): Remove special case code for -k'*'. - (Search::prepare): Update. - (Search::get_max_keysig_size): Update. - * src/output.cc (Output::output_hash_function): Remove special case - code for -k'*'. - * tests/chill.exp: Regenerated. - -2002-12-11 Bruno Haible <bruno@clisp.org> - - Change the positions to be 0-based, instead of 1-based. - * src/positions.h (Positions::LASTCHAR): Set to -1. - (Positions::MAX_SIZE): New constant. - (Positions::pointer): Change return type. - (Positions::_positions): Change element type. - (PositionIterator::EOS, PositionReverseIterator::EOS): Set to -2. - * src/positions.icc (Positions::pointer): Change return type. - (Positions::sort): Update. - * src/positions.cc (Positions::contains, Positions::add, - Positions::remove): Update. - (Positions::print): Update. Fix off-by-one bug. - * src/options.cc (Options::~Options): Update. - (Options::parse_options): Set BAD_VALUE to -3. Update. - * src/keyword.cc (KeywordExt::init_selchars_low): Update. - * src/search.cc (Search::find_positions, Search::compute_alpha_unify, - Search::find_alpha_inc): Update. - * src/output.cc (Output::output_hash_function): Update. Don't emit - a 'case' statement right after 'default:'. - * tests/c-parse.exp: Regenerated. - * tests/charsets.exp: Regenerated. - * tests/cplusplus.exp: Regenerated. - * tests/java.exp: Regenerated. - * tests/languages.exp: Regenerated. - * tests/modula2.exp: Regenerated. - * tests/objc.exp: Regenerated. - -2002-12-10 Bruno Haible <bruno@clisp.org> - - * src/options.h: Reorder enum values. - (Options::short_usage, Options::long_usage): Make static. - * src/options.cc (Options::short_usage); No longer print a monster - usage line. - (Options::print_options): Improve output of options like - --key-positions=1,2,$. - (Options::~Options): Update. - - * src/options.h (UPPERLOWER): New enum value. - * src/options.cc (Options::long_usage): Document option --ignore-case. - (Options::~Options): Update. - (long_options): Add option --ignore-case. - (Options::parse_options): Handle option --ignore-case. - * src/input.cc (Input::read_input): Recognize option %ignore-case. - * src/keyword.h (KeywordExt::init_selchars_tuple, - KeywordExt::init_selchars_multiset, KeywordExt::init_selchars_low): - Add alpha_unify argument. - * src/keyword.cc (KeywordExt::init_selchars_low): Add alpha_unify - argument. - (KeywordExt::init_selchars_tuple): Add alpha_unify argument. - (KeywordExt::init_selchars_multiset): Add alpha_unify argument. - * src/search.h (Search::compute_alpha_size, - Search::compute_alpha_unify): New declarations. - (Search::init_selchars_multiset): Add alpha_unify argument. - (Search::_alpha_unify): New field. - * src/search.cc (Search::compute_alpha_size, - Search::compute_alpha_unify): New functions. - (Search::init_selchars_tuple): Update. - (Search::find_positions): Temporarily set _alpha_unify. Perform a - case insensitive comparison if needed. - (Search::init_selchars_multiset): Add alpha_unify argument. - (Search::count_duplicates_multiset): Call compute_alpha_unify. - (Search::find_alpha_inc): Temporarily set _alpha_unify. At the end, - set _alpha_size and _alpha_unify. - (Search::prepare): Update. Don't compute _alpga_size here. - (Search::optimize): Propagate unified asso_values. - (Search::~Search) Delete _alpha_unify. - * src/output.cc (output_upperlower_strcmp, output_upperlower_strncmp, - output_upperlower_memcmp): New functions. - (Output_Compare_Strcmp::output_comparison, - Output_Compare_Strncmp::output_comparison, - Output_Compare_Memcmp::output_comparison): Use the case-insensitive - comparison function if --ignore-case was given. - (Output::output): Emit the auxiliary case-insensitive comparison - function if needed. - * tests/permutc2.gperf, tests/permutc2.exp: New files. - * tests/Makefile.in (check-test): Also check permutc2.gperf. - * tests/test-6.exp: Update. - * doc/gperf.texi (Gperf Declarations): Document %ignore-case. - (Input Details): Document option --ignore-case. - * NEWS: Update. - - * src/search.cc (Search::optimize): Fill unused asso_values[] entries - with a large value. - * src/output.h (Output::Output): Remove occurrences argument. - (Output::_occurrences): Remove field. - * src/output.cc (Output::Output): Remove occurrences argument. - (Output::output_hash_function): Ignore _occurrences. - * src/main.cc (main): Don't pass the _occurrences to Output. - - * src/search.cc (Search::preprepare): Exit if keywords contain - out-of-range characters. - - * src/search.cc (for): Define so as to avoid errors with old compilers. - - * src/options.h (SHAREDLIB): New enum value. - * src/options.cc (Options::short_usage): Mention option -P. - (Options::long_usage): Document option -P. - (long_options): Add option --pic. - (Options::parse_options): Handle option -P/--pic. - * src/output.cc (output_keyword_blank_entries): When SHAREDLIB is - specified, emit NULL pointers instead of "". - (Output::output_lookup_function_body): When SHAREDLIB is specified - and SWITCH and DUP and not specified, test the table entry against - NULL before the string comparison. - * tests/test-6.exp: Update. - * doc/gperf.texi (Output Details): Document option -P. - * NEWS: Update. - Suggested by Ulrich Drepper. - -2002-12-08 Bruno Haible <bruno@clisp.org> - - * tests/permut2.gperf, tests/permut2.exp: New files. - * tests/permut3.gperf, tests/permut3.exp: New files. - * tests/charsets.gperf: New file, from Bruce Lilly. - * tests/charsets.exp: New file. - * tests/languages.gperf: New file, from Bruce Lilly. - * tests/languages.exp: New file. - * Makefile.in (check-test): Test them all. - - Completely new asso_values search algorithm. - * src/search.h (Search::compute_occurrence, Search::clear_determined, - Search::set_determined, Search::already_determined, Search::reorder): - Remove functions. - (Search::init_asso_values, Search::sort_by_occurrence, - Search::compute_occurrence, Search::sort_by_occurrence, - Search::has_collisions, Search::collision_prior_to): Remove functions. - (Search::compute_partition, Search::count_possible_collisions, - Search::unchanged_partition): New method declarations. - (Search::_determined): Remove field. - * src/search.cc (Search::prepare): Don't initialize _determined. - (Search::compute_occurrence, greater_by_occurrence, - Search::clear_determined, Search::set_determined, - Search::already_determined, Search::reorder): Remove functions. - (Search::init_asso_values, compute_disjoint_union, - Search::sort_by_occurrence, Search::compute_occurrence, - Search::sort_by_occurrence, Search::has_collisions, - Search::collision_prior_to): Remove functions. - (StackEntry): Remove class. - (EquivalenceClass, Step): New classes. - (equals, Search::compute_partition, delete_partition, - Search::count_possible_collisions, Search::unchanged_partition): New - functions. - (Search::find_asso_values): Completely rewritten. - (Search::find_good_asso_values): Don't call reorder(). - (Search::~Search): Don't free _determined. - * src/keyword.h (KeywordExt::_occurrence): Remove field. - * src/options.h (ORDER, FAST, OPT_CHOICE): Remove enum values. - (Options::_iterations): Remove field. - * src/options.icc (Options::get_iterations): Remove method. - * src/options.cc (Options::long_usage): Remove mention of -f and -o. - (Options::Options): Don't initialize _iterations. - (Options::~Options): Update. - (Options::parse_options): Do nothing for options -f, -o, -O. - * doc/gperf.texi: (Contributors): Update. - (Algorithmic Details): Remove options -f and -o. Update description - of option -s. - * tests/c-parse.exp, tests/chill.exp, tests/cplusplus.exp, - tests/gpc.exp, tests/java.exp, tests/modula2.exp, tests/objc.exp, - tests/test-4.exp): Regenerated, smaller than before. - * tests/test-6.exp: Update. - * NEWS: Update. - -2002-12-08 Bruno Haible <bruno@clisp.org> - - * src/search.h (Search::_alpha_size): Change type to 'unsigned int'. - (Search::_asso_value_max): Likewise. - * src/search.cc (Search::prepare_asso_values): Update. - (Search::init_asso_values): Update. - (Search::~Search): Update. - * src/output.h (Output::Output): Change alpha_size type to - 'unsigned int'. - (Output::_alpha_size): Change type to 'unsigned int'. - * src/output.cc (Output::Output): Change alpha_size type to - 'unsigned int'. - (Output::output_hash_function): Update. - -2002-12-07 Bruno Haible <bruno@clisp.org> - - * src/options.h (OPT_CHOICE): New enum value. - * src/options.cc (Options::~Options): Update. - (long_options): New option --optimized-collision-resolution. - (Options::parse_options): Accept option -O. - * src/search.h (Search::sort_by_occurrence): Change argument to - 'unsigned int'. - (Search::compute_occurrence, Search::sort_by_occurrence): New method - declarations. - * src/search.cc (Search::sort_by_occurrence): Change argument to - 'unsigned int'. - (Search::compute_occurrence, Search::sort_by_occurrence): New methods. - (Search::find_asso_values): Implement OPT_CHOICE. More debugging - output. - - * src/search.cc (Search::prepare_asso_values) [DEBUG]: Also print - the keyword list in order. - (Search::find_asso_values) [DEBUG]: Upon failure, print the union_set. - - * src/options.h (Options::get_size_multiple): Change return type to - float. - (Options::_size_multiple): Change type to float. - * src/options.icc (Options::get_size_multiple): Change return type to - float. - * src/options.cc (Options::long_usage): Update description of option - -s. - (Options::~Options): Update. - (Options::parse_options): For option -s, accept a fraction. - * src/search.cc (Search::prepare_asso_values): Use get_size_multiple - as it is. - * tests/test-6.exp: Update. - * doc/gperf.texi (Algorithmic Details): Update description of option - -s. - -2002-12-04 Bruno Haible <bruno@clisp.org> - - Improve debugging output. - * src/hash-table.h (Hash_Table::dump): New method. - * src/hash-table.cc (Hash_Table::dump): New method, extracted from - destructor. - (Hash_Table::~Hash_Table): No longer print the contents. - * src/positions.h (PositionReverseIterator): New class. - * src/positions.icc (PositionReverseIterator::PositionReverseIterator, - PositionReverseIterator::next): New methods. - * src/search.cc (Search::find_positions): If debugging, print the - result. - (Search::find_alpha_inc): If debugging, print the result. - (Search::prepare): Explicitly dump the hash table's contents here. - - Portability fixes. - * src/positions.h (Positions::LASTCHAR, Positions::MAX_KEY_POS, - PositionIterator::EOS): Define as compile-time constants using enum. - * src/bool-array.cc (Bool_Array::~Bool_Array): Remove const qualifier - of pointer to be deleted. - * src/input.cc (Input::~Input): Likewise. - * src/keyword.cc (KeywordExt::delete_selchars): Likewise. - * src/main.cc (main): Likewise. - * src/hash-table.cc (Hash_Table::~Hash_Table): Limit scope of 'for' - variables. - * src/search.cc (Search::prepare_asso_values): Use a static_cast to - convert from time_t to long. This is possible because ISO C 99 says - time_t is a numeric type. - -2002-11-20 Bruno Haible <bruno@clisp.org> - - * src/search.cc (Search::find_asso_values): Avoid gcc warnings about - uninitialized variables. - - Implement backtracking. - * src/search.h (Search::has_collisions): Renamed from - Search::less_collisions. Return a boolean. - * src/search.cc (Search::has_collisions): Renamed from - Search::less_collisions. Return a boolean. - (StackEntry): Remove field _collisions_so_far. - (Search::find_asso_values): Backtrack when encountering an unresolved - collision. Assume collisions_so_far is always zero. - (Search::optimize): Exit if there are accidental duplicates at the end. - * src/output.cc (Output::num_hash_values): Simply return the list - length. - (Output::output_keylength_table): Remove handling of accidental - duplicates. - (Output::output_keyword_table, Output::output_lookup_array): Likewise. - (output_switch_case, output_switches): Likewise. - * doc/gperf.texi (Algorithmic Details): Adjust description of options - -D, -f, -o, -r. - (Bugs): Remove note about missing backtracking. - (Projects): Likewise. - -2002-11-19 Bruno Haible <bruno@clisp.org> - - Prepare for backtracking. - * src/search.h (Search::try_asso_value, Search::change_some_asso_value): - Remove declarations. - (Search::less_collisions, Search::collision_prior_to): New declarations. - (Search::_fewest_collisions, Search::_union_set, Search::_num_done): - Remove fields. - * src/search.cc (Search::prepare_asso_values): Don't initialize - _union_set. - (Search::try_asso_value, Search::change_some_asso_value): Remove - methods. - (Search::less_collisions, Search::collision_prior_to): New methods. - (StackEntry): New class. - (Search::find_asso_values): Reorganized to use pseudo-recursion. - (Search::~Search): Don't free _union_set. - - * src/search.h (Search::find_good_asso_values): New declaration. - * src/search.cc: Add comments about the basic structure of the - algorithm. - (Search::find_positions): Move the option[POSITIONS] test to here. - (Search::find_good_asso_values): New method, extracted from - Search::optimize. - (Search::optimize): Remove option[POSITIONS] test. Call - find_good_asso_values. - -2002-11-17 Bruno Haible <bruno@clisp.org> - - * src/options.cc (Options::parse_options): Include copyright notice - and authors in --version output. - - Avoid artificial duplicates. - * src/keyword.h (KeywordExt::init_selchars_tuple): New declaration. - (KeywordExt::init_selchars_multiset): Renamed from - KeywordExt::init_selchars. - (KeywordExt::init_selchars_low): New declaration. - * src/keyword.cc (KeywordExt::init_selchars_low): Renamed from - KeywordExt::init_selchars. Add alpha_inc argument. Remove sorting. - (KeywordExt::init_selchars_tuple): New method. - (KeywordExt::init_selchars_multiset): New method, replaces - KeywordExt::init_selchars. - * src/search.h (Search::init_selchars_tuple): Renamed from - Search::init_selchars. - (Search::count_duplicates_tuple): Renamed from Search::count_duplicates. - (Search::init_selchars_multiset, Search::count_duplicates_multiset, - Search::find_alpha_inc): New declarations. - (Search::_alpha_inc): New field. - (Search::_alpha_size, Search::_occurrences, Search::_asso_values, - Search::_determined): Make non-const. - * src/search.cc (Search::Search): Don't initialize _key_positions, - _alpha_size, _occurrences, _asso_values, _determined here. - (Search::init_selchars_tuple): Renamed from Search::init_selchars. - (Search::count_duplicates_tuple): Renamed from Search::count_duplicates. - (Search::find_positions): Update. - (Search::init_selchars_multiset, Search::count_duplicates_multiset, - Search::find_alpha_inc): New methods. - (Search::prepare): Move preprepare, find_positions calls away. - Initialize _alpha_size, _occurrences, _asso_values, _determined here. - (Search::optimize): Call preprepare, find_positions here. Initialize - _key_positions here. - (Search::~Search): Deallocate _alpha_inc. - * src/output.cc (Output::Output): Add alpha_inc argument. - (Output::output_hash_function): Use _alpha_inc. - * src/output.h (Output::Output): Add alpha_inc argument. - (Output::_alpha_inc): New field. - * src/main.cc (main): Pass _alpha_inc from Search to Output. - * tests/chill.exp: Update. - * doc/gperf.texi (Algorithmic Details): Remove description of - artificial duplicates. - - * src/keyword.h (KeywordExt::_selchars): Change type to - 'const unsigned int *'. - * src/keyword.cc (sort_char_set): Change argument type to - 'unsigned int *'. - (KeywordExt::init_selchars): Update. - * src/search.h (Search::sort_by_occurrence): Change argument type to - 'unsigned int *'. - (Search::try_asso_value): Change argument type to 'unsigned int'. - (Search::_union_set): Change type to 'unsigned int *'. - * src/search.cc (Search::prepare, Search::compute_occurrence, - Search::set_determined, Search::already_determined, - Search::prepare_asso_values, Search::compute_hash): Update. - (compute_disjoint_union): Change argument types to 'unsigned int *'. - (Search::sort_by_occurrence): Likewise. - (Search::try_asso_value): Change argument type to 'unsigned int'. - (Search::change_some_asso_value, Search::~Search): Update. - * src/hash-table.cc (Hash_Table::~Hash_Table, Hash_Table::equal, - Hash_Table::insert): Update. - - * src/positions.h: New file, extracted from options.h. - * src/positions.icc: New file, extracted from options.icc. - * src/positions.cc: New file, extracted from options.cc. - * src/options.h: Include positions.h. Move classes Positions and - PositionsIterator away. - * src/options.icc: Move classes Positions and PositionsIterator away. - * src/options.cc: Move class Positions away. - * src/keyword.cc: Include positions.h instead of options.h. - * src/output.h: Include positions.h instead of options.h. - * src/search.h: Include positions.h instead of options.h. - * src/Makefile.in (OBJECTS): Add positions.o. - (POSITIONS_H): New variable. - (OPTIONS_H, SEARCH_H, OUTPUT_H, keyword.o): Use it. - (positions.o): New rule. - - * src/options.h (POSITIONS): New enum value. - (Positions::Positions): New copy constructor. - (Positions::operator=, Positions::contains, Position::add, - Positions::remove, Positions::print): New method declaration. - (Options::get_max_keysig_size): Remove method. - * src/options.icc (Positions::Positions): New copy constructor. - (Positions::operator=): New method. - (Options::get_max_keysig_size): Remove method. - * src/options.cc (Options::Options): Initialize _key_positions - trivially. - (Options::parse_options): Option -k sets POSITIONS. - (Positions::contains, Positions::add, Positions::remove, - Positions::print): New methods. - * src/hash-table.cc (Hash_Table::~Hash_Table): Compute the field - width explicitly, instead of using Options::get_max_keysig_size. - * src/keyword.h (KeywordExt::init_selchars): Add arguments - use_all_chars, positions. - (KeywordExt::delete_selchars): New declaration. - * src/keyword.cc (KeywordExt::init_selchars): Add arguments - use_all_chars, positions. Remove error message if there are no key - positions. - (KeywordExt::delete_selchars): New method. - * src/search.h: Include options.h. - (Search::preprepare, Search::init_selchars, Search::delete_selchars, - Search::count_duplicates, Search::find_positions): New declarations. - (Search::_key_positions): New field. - * src/search.cc (Search::Search): Initialize _key_positions. - (Search::preprepare, Search::init_selchars, Search::delete_selchars, - Search::count_duplicates, Search::find_positions): New functions. - (Search::prepare): Call preprepare and find_positions. Tweak error - message. - (Search::get_max_keysig_size): Use _key_positions instead of - option.get_key_positions(). - (Search::optimize): Tweak error message. - * src/output.h: Include options.h. - (Output::Output): Add Positions argument. - (Output::_key_positions): New field. - * src/output.cc (Output::Output): Add Positions argument. - (Output::output_hash_function): Omit the table if there are no - positions at all. Use _key_positions instead of - option.get_key_positions(). - (Output::output): Output the computed positions as a comment. - * src/main.cc (main): Pass the Positions from Searcher to Output. - * src/Makefile.in (SEARCH_H, OUTPUT_H): Include OPTIONS_H. - * tests/Makefile.in (check-test): Pass key positions explicitly. - * tests/gpc.exp: Update. - * tests/test-4.exp: Update. - * doc/gperf.texi (Algorithmic Details): Mention that -k is not needed - usually. - -2002-11-16 Bruno Haible <bruno@clisp.org> - - * src/options.h (Options::get_slot_name): Renamed from - Options::get_key_name. - (Options::set, Options::set_language, Options::set_total_switches, - Options::set_function_name, Options::set_slot_name, - Options::set_class_name, Options::set_hash_name, - Options::set_wordlist_name, Options::set_delimiters): New method - declarations. - (Options::_language): New field. - (Options::_slot_name): Renamed from Options::_key_name. - * src/options.icc (Options::set): New method. - (Options::get_slot_name): Renamed from Options::get_key_name. - * src/options.cc (DEFAULT_FUNCTION_NAME): Renamed from DEFAULT_NAME. - (DEFAULT_SLOT_NAME): Renamed from DEFAULT_NAME. - (Options::Options): Initialize _language. Update. - (Options::~Options): Update. - (Options::set_language, Options::set_total_switches, - Options::set_function_name, Options::set_slot_name, - Options::set_class_name, Options::set_hash_name, - Options::set_wordlist_name, Options::set_delimiters): New methods. - (Options::parse_options): Call set_language. Update. - * src/input.cc (is_declaration, is_declaration_with_arg, - is_define_declaration): New functions. - (Input::read_input): Accept %DECL declarations. - * src/output.cc (Output::output_lookup_function_body): Update. - * doc/gperf.texi (Declarations): Add new subnodes. - (User-supplied Struct, Gperf Declarations, C Code Inclusion): New - nodes. - (Keywords, Output Format, Binary Strings, Options): Mention % - declarations as being equivalent to the command line options. - - * src/options.cc (Options::long_usage): Rename options -H, -N, -l, -G. - (long_options): Add --hash-function-name, --lookup-function-name, - --compare-lengths. - * doc/gperf.texi (Output Details): Rename options -H, -N, -l, -G. - * tests/test-6.exp: Update. - - * src/options.cc (DEFAULT_DELIMITERS): Remove newline. - * src/options.cc (Options::long_usage): Change default --delimiters. - * doc/gperf.texi (Input Details): Likewise. - * tests/test-6.exp: Update. - - * doc/gperf.texi: Move description of option -l from section - Algorithmic Details to section Output Details. - * src/options.cc (Options::long_usage): Likewise. - * tests/test-6.exp: Update. - -2002-11-12 Bruno Haible <bruno@clisp.org> - - * src/options.h (Output::get_output_file_name): New method. - (Output::_output_file_name): New field. - * src/options.icc (Options::get_output_file_name): New method. - * src/options.cc (Options::long_usage): Document option --output-file. - (Options::Options): Initialize _output_file_name. - (long_options): Add --output-file. - (Options::parse_options): Handle it. - * src/main.cc (main): Open the output file if given by name. - * doc/gperf.texi (Output File): New section. - * tests/test-6.exp: Update. - -2002-11-10 Bruno Haible <bruno@clisp.org> - - * src/input.cc (pretty_input_file_name): New function. - (read_input): Use it in all error and warning messages. - - * src/keyword.h (Keyword::_lineno): New field. - * src/input.h (Input::_struct_decl_lineno): New field. - * src/input.cc (Input::read_input): Set _struct_decl_lineno. Fill - each keyword's _lineno field. - * src/main.cc (main): Pass _struct_decl_lineno from Input to Output. - * src/output.h (Output::Output) Add struct_decl_lineno argument. - (Output::_struct_decl_lineno): New field. - * src/output.cc (Output::Output) Add struct_decl_lineno argument. - (output_keyword_entry): Emit #line directive before table entry. - (Output::output): Emit #line directive before _struct_decl. - - Fix memory leaks. - * src/keyword.h (empty_string): New declaration. - * src/keyword.cc (empty_string): New variable. - * src/input.h (Input::_input): Make public. - (Input::_input_end): New field. - * src/input.cc (read_input): When removing leading whitespace from - struct_decl, reallocate it. For rest, use empty_string instead of "". - Set _input_end. - (Input::~Input): Delete _struct_decl, _struct_tag, _return_type. - * src/search.cc (Search::prepare): When removing an element from - the keyword list, delete the list node. - (Search::~Search): Delete _occurrences, _asso_values. - * src/main.cc (main): Between Search::~Search and Input::~Input, - destroy the keyword list. - - Rewrite the input routines. - * src/input.h: Don't include read-line.h. - (Input): Don't inherit from class Read_Line. - (Input::read_keys, Input::strcspn, Input::set_output_types, - Input::get_array_type, Input::save_include_src, - Input::get_special_input): Remove declarations. - (Input::read_input): New declaration. - (Input::_struct_decl): Renamed from Input::_array_type. - (Input::_verbatim_declarations): Renamed from Input::_include_src. - (Input::_verbatim_code): Replaces Input::_additional_code. - * src/input.cc: Completely rewritten. - * src/output.h (Output::Output): Update the verbatim_* arguments. - (Output::_struct_decl): Renamed from Output::_array_type. - (Output::_verbatim_declarations): Renamed from Output::_include_src. - (Output::_verbatim_code): Replaces Output::_additional_code. - * src/output.cc (Output::Output): Update the verbatim_* arguments. - (Output::output): Output the verbatim_* code pieces with #line. - * src/main.cc (main): Call Input::read_input instead of - Input::read_keys. Update Output::Output arguments. - * src/read-line.h: Remove file. - * src/read-line.cc, src/read-line.icc: Remove files. - * src/Makefile.in (OBJECTS): Remove read-line.o. - (READ_LINE_H): Remove variable. - (INPUT_H): Update. - (read-line.o): Remove rule. - * doc/gperf.texi (Declarations): Correct the example. - (Keywords): Mention that lines starting with % are forbidden here. - * tests/c-parse.exp: Update. - * tests/cplusplus.exp: Update. - * tests/gpc.exp: Update. - * tests/java.exp: Update. - * tests/objc.exp: Update. - * tests/test-4.exp: Update. - - * src/options.h (Options::get_input_file_name): New declaration. - (Options::_input_file_name): New field. - * src/options.icc (Options::get_input_file_name): New method. - * src/options.cc (Options::Options): Initialize _input_file_name. - (Options::parse_options): Don't open input file, only store it in - _input_file_name. - * src/main.cc (main): Open input file here. - Print an error message upon write error on the output file. - - Upgrade to autoconf-2.52. - * configure.in: Use AC_CONFIG_SUBDIRS instead of AC_OUTPUT_SUBDIRS. - * Makefile.devel (configure, lib/configure, src/configure, - tests/configure, doc/configure): Use autoconf-2.52. - -2002-11-09 Bruno Haible <bruno@clisp.org> - - * doc/gperf.texi: Talk about "bytes" instead of "characters". Talk - about "keywords", not "keys". Talk about "input file", not "keyfile". - (@menu): Fix a menu entry. - (Contributors): Don't mention cperf. - (Motivation): Fix an off-by-one error in the definition of "minimal". - Mention GNU Java. Recommend http URL instead of anonymous ftp. - (Search Structures): Mention GNU Java. - (Output Format): Drop reference to node 'Implementation'. - (Output Details): Talk about "slot-name" instead of "key name". - (Algorithmic Details): Talk about "selected byte positons", not - "key positions". Upper limit is now 255. Explain a third reason - why duplicates can occur. Describe negative effects of - --occurrence-sort. - (Implementation): Remove chapter. - -2002-11-07 Bruno Haible <bruno@clisp.org> - - * src/bool-array.cc (Bool_Array::~Bool_Array): Free _storage_array. - * src/search.cc (Search::~Search): Free _union_set, _determined. - - * tests/Makefile.in (check-test): Don't redirect stderr. - -2002-11-05 Bruno Haible <bruno@clisp.org> - - * src/keyword-list.h (mergesort_list): New declarations. - * src/keyword-list.cc (Keyword_Comparison): New type. - (merge, mergesort_list): New functions, moved here from search.cc. - * src/search.h (Search::merge, Search::merge_sort): Remove methods. - (Search::_occurrence_sort, Search::_hash_sort): Remove fields. - * src/search.cc (Search::merge, Search::merge_sort): Remove methods. - (greater_by_occurrence, less_by_hash_value): New functions. - (Search::reorder, Search::sort): Use mergesort_list. - -2002-11-04 Bruno Haible <bruno@clisp.org> - - * src/options.h (Options::_asso_iterations): New field. - (Options::get_asso_iterations): New method declaration. - * src/options.icc (Options::get_asso_iterations): New method. - * src/options.cc (Options::short_usage): Mention j<jump> and m<num>. - (Options::long_usage): Document option -m. - (Options::Options): Initialize _asso_iterations. - (Options::~Options): Print _asso_iterations too. - (long_options): Add --multiple-iterations. - (Options::parse_options): Handle option -m. - * src/keyword-list.h (copy_list, delete_list): New declarations. - * src/keyword-list.cc (copy_list, delete_list): New functions. - * src/search.h (Search::_initial_asso_value, Search::_jump): New fields. - * src/search.cc (Search::prepare_asso_values): Initialize - _initial_asso_value and _jump here. - (Search::init_asso_values): Use _initial_asso_value. - (Search::try_asso_value): Use _jump. - (Search::optimize): If option -m was given, iterate over different - values for _initial_asso_value and _jump. - * doc/gperf.texi (Algorithmic Details): Document option -m. - * tests/test-6.exp: Update. - -2002-11-03 Bruno Haible <bruno@clisp.org> - - Bug fix: When option -j 0 was used without option -r, the output was - not random. - * src/search.h (Search::prepare_asso_values): New method declaration. - * src/search.cc (Search::prepare_asso_values): New method, extracted - from Search::init_asso_values. Call srand also when "-j 0" was given. - (Search::optimize): Call prepare_asso_values(). - - * src/hash-table.h (Hash_Table::_ignore_length, Hash_Table::equal): - Declare as const. - * src/hash-table.cc (Hash_Table::equal): Declare as const. - * src/input.h (Input::_factory): Declare as const. - * src/keyword-list.h (Keyword_List::first, KeywordExt_List::first): - Declare as const. - * src/keyword-list.icc (Keyword_List::first, KeywordExt_List::first): - Declare as const. - * src/output.h (Output::num_hash_values, Output::output_constants, - Output::output_hash_function, Output::output_keylength_table, - Output::output_keyword_table, Output::output_lookup_array, - Output::output_lookup_tables, Output::output_lookup_function_body, - Output::output_lookup_function, Output::_array_type, - Output::_additional_code, Output::_include_src, Output::_total_keys, - Output::_total_duplicates, Output::_max_key_len, Output::_min_key_len): - Declare as const. - * src/output.cc (Output::num_hash_values, Output::output_constants, - Output::output_hash_function, Output::output_keylength_table, - Output::output_keyword_table, Output::output_lookup_array, - Output::output_lookup_tables, Output::output_lookup_function_body, - Output::output_lookup_function): Declare as const. - * src/search.h (Search::merge, Search::merge_sort, - Search::compute_occurrence, Search::already_determined, - Search::keyword_list_length, Search::max_key_length, - Search::get_max_keysig_size, Search::compute_hash, - Search::sort_by_occurrence): Declare as const. - * src/search.cc (Search::merge, Search::merge_sort, - Search::compute_occurrence, Search::already_determined, - Search::keyword_list_length, Search::max_key_length, - Search::get_max_keysig_size, Search::compute_hash, - Search::sort_by_occurrence): Declare as const. - - * src/output.cc (Output::output): Set char_to_index to a cast in all - cases. Avoids gcc warnings on the generated code. - - * src/output.cc (Output_Enum): Prepend an underscore to field names. - (Output_Expr1): Likewise. - (Output::output_hash_function): Simplify the special case for "-k 1,$". - - * src/search.h (Search::init_asso_values, Search::find_asso_values): - New declarations. - (Search::try_asso_value): Renamed from Search::affects_prev. - (Search::change_some_asso_value): Renamed from Search::change. - (Search::set_asso_max, Search::get_asso_max): Remove methods. - (Search::_union_set): New field. - * src/search.cc (Search::init_asso_values): New method, extracted - from Search::optimize. - (Search::try_asso_value): Renamed from Search::affects_prev. Take the - iteration count as argument. - (Search::change_some_asso_value): Renamed from Search::change. Don't - make union_set static. Don't increment _fewest_collisions here. - (Search::find_asso_values): New method, extracted from - Search::optimize. - (Search::optimize); Update. - - * src/search.h (Search::compute_hash): Renamed from Search::hash. - (Search::compute_disjoint_union): Remove declaration. - (Search::sort_by_occurrence): Renamed from Search::sort_set. - * src/search.cc (Search::compute_hash): Renamed from Search::hash. - (compute_disjoint_union): Renamed from Search::compute_disjoint_union. - (Search::sort_by_occurrence): Renamed from Search::sort_set. - (Search::change): Simplify loop. - - * src/search.h (Search::clear_determined): New declaration. - * src/search.cc (Search::clear_determined): New method. - (Search::already_determined): Optimize. - (Search::reorder): Even when the next keyword after the current one - is completely determined, move all determined keywords after the - current one. - - Compute the occurrences after removal of duplicates, not before. - * src/keyword.h (KeywordExt::init_selchars): Remove occurrences - argument. - * src/keyword.cc (KeywordExt::init_selchars): Likewise. - * src/search.cc (Search::prepare): Reorder the code. Compute the - occurrences after removal of duplicates. - (Search::merge_sort): Optimize the loop. - (Search::compute_occurrence): Renamed from Search::get_occurrence. - * src/search.h (Search::compute_occurrence): Renamed from - Search::get_occurrence. - * tests/chill.exp: Regenerated. - - Bug fix: The hash table could fail to detect duplicates, between - keywords of different length, when option -n (option[NOLENGTH]) was - given. - * src/hash-table.h (Hash_Table::Hash_Table): Pass table size, not - vector and vector size as arguments. - (Hash_Table::_log_size): New field. - (Hash_Table::equal): New declaration. - * src/hash-table.cc (size_factor): New variable. - (Hash_Table::Hash_Table): Pass table size, not vector and vector size - as arguments. Allocate the vector here. - (Hash_Table::~Hash_Table): Deallocate the vector here. - (Hash_Table::equal): New function. - (Hash_Table::insert): Use it. Don't use item->_allchars_length for the - increment if _ignore_length is true. - * src/search.cc (TABLE_MULTIPLE): Remove variable. - (Search::prepare): Update. - -2002-11-02 Bruno Haible <bruno@clisp.org> - - Provide documentation also in PDF format. - * doc/Makefile.in (pdfdir, TEXI2PDF): New variables. - (all): Depend on pdf. - (pdf, gperf.pdf): New rules. - (maintainer-clean): Remove the PDF file. - - * src/keyword-list.icc: New file, extracted from keyword-list.h. - * src/keyword-list.h: Include keyword-list.icc. Move inline methods - to there. - * src/keyword-list.cc: Include keyword-list.icc. - * src/Makefile.in (KEYWORD_LIST_H): Add keyword-list.icc. - - * lib/hashpjw.h (hashpjw): Change argument type to 'unsigned char *'. - * lib/hash.cc (hashpjw): Likewise. - * src/keyword.icc: New file. - * src/keyword.h: Include keyword.icc. - (KeywordExt::_selchars): Change type to 'unsigned char *'. - * src/keyword.cc: Include keyword.icc. - (Keyword::Keyword, KeywordExt::KeywordExt): Move to keyword.icc. - (sort_char_set): Change argument type to 'unsigned char *'. - (KeywordExt::init_selchars): Update. - * src/search.h (Search::compute_disjoint_union): Change argument types - to 'unsigned char *'. - (Search::sort_set): Likewise. - (Search::affects_prev): Change argument type to 'unsigned char'. - * src/search.cc (Search::prepare): Initialize _duplicate_link here. - (Search::get_occurrence, Search::set_determined, - Search::already_determined, Search::hash): Update. - (Search::compute_disjoint_union): Change argument types to - 'unsigned char *'. - (Search::sort_set): Likewise. - (Search::affects_prev): Change argument type to 'unsigned char'. - (Search::change): Update. - * src/Makefile.in (KEYWORD_H): Add keyword.icc. - - * src/options.cc (Options::parse_options): Fix error message. - - * src/read-line.h (Read_Line::Read_Line): Make FILE* argument - mandatory. Move body to read-line.icc. - * src/read-line.icc (Read_Line::Read_Line): New constructor. - * src/input.h (Input::Input): Add FILE* argument. - * src/input.cc (Input::Input): Likewise. - * src/main.cc (main): Pass stdin to Input constructor. - - * src/options.h (DEFAULTCHARS): Remove. - (Positions::MAX_KEY_POS): Set to 255. - (Positions::_positions): Increase array size. - (PositionIterator::EOS): Set to -1. - (PositionIterator::_index): Change type to 'unsigned int'. - * src/options.icc (Positions::Positions): Don't store - PositionIterator::EOS. - (PositionIterator::next): Produce PositionIterator::EOS here. - * src/options.cc (Options::long_usage): Use MAX_KEY_POS, not - MAX_KEY_POS-1. - (PositionStringParser): Rename field _size to _in_range. Rename - field _curr_value to _range_curr_value. Rename field _upper_bound - to _range_upper_bound. - (PositionStringParser::nextPosition): Comments. - (Options::Options): Update. - (Options::~Options): Update. - (long_options): Use NULL, not 0. - (Options::parse_options): Set BAD_VALUE to -2; -1 is now EOS. Bug fix: - Check against array overflow when more than MAX_KEY_POS positions are - given. Don't store PositionIterator::EOS. - Check against extra arguments before opening the input file. - * src/output.cc (Output::output_hash_function): Change test which - was for option[DEFAULTCHARS]. - * tests/test-6.exp: Update. - - * src/options.h (Options::get_delimiters): Renamed from - Options::get_delimiter. - * src/options.icc (Options::get_delimiters): Renamed from - Options::get_delimiter. - * src/input.cc (Input::read_keys): Update. - - Bug fix. - * src/options.cc (Options::print_options): Escape backquote inside - double-quoted strings. - - Bug fix. - * src/keyword.cc (KeywordExt::init_selchars): Avoid comparison with - uninitialized member variable. Found with 'valgrind'. - - * src/version.cc: Include version.h. - * src/Makefile.in (OBJECTS): Reorder. - (KEYWORD_H, KEYWORD_LIST_H, INPUT_H, SEARCH_H, OUTPUT_H): New - variables. - (HASH_TABLE_H): Update. - (options.o, read-line.o, keyword.o, keyword-list.o, input.o, search.o, - output.o, main.o): Update dependencies. - - * src/vectors.h: Remove file. - * src/vectors.cc: Remove file. - * src/search.h: Don't include vectors.h. - (Search): Don't inherit from Vectors. New fields _alpha_size, - _occurrences, _asso_values. - (Search::_determined, Search::get_occurrence, Search::set_determined, - Search::already_determined, Search::hash, Search::sort_set): Make - nonstatic. - * src/search.cc (Search::Search): Initialize _alpha_size, _occurrences, - _asso_values, _determined. - (Search::optimize, Search::~Search): Update. - * src/output.h: Don't include vectors.h. - (Output): Remove field _v. New fields _alpha_size, _occurrences, - _asso_values. - (Output::Output): Replace Vectors* argument with alpha_size, - occurrences, asso_values. - * src/output.cc (Output::Output): Replace Vectors* argument with - alpha_size, occurrences, asso_values. - (Output::output_hash_function): Update. - * src/main.cc (main): Don't set Vectors::ALPHA_SIZE. - Pass _alpha_size, _occurrences, _asso_values from Search to Output. - * src/keyword.h: Don't include vectors.h. - * src/Makefile.in (OBJECTS): Remove vectors.o. - (VECTORS_H): Remove variable. - (vectors.o): Remove rule. - - * src/search.h: New file, combines src/key-list.h, src/gen-perf.h. - * src/search,cc: New file, combines src/key-list.cc, src/gen-perf.cc. - * src/key-list.h: Remove file. - * src/key-list.cc: Remove file. - * src/gen-perf.h: Remove file. - * src/gen-perf.cc: Remove file. - * src/main.cc (KeywordExt_Factory): Moved here from gen-perf.cc. - (main): Inline some code from gen-perf.cc. - * src/keyword.h (KeywordExt::init_selchars): Take the occurrences - vector as argument. - * src/keyword.cc (KeywordExt::init_selchars): Take the occurrences - vector as argument. - * src/input.cc (Input::set_output_types): Initialize _array_type, - _return_type, _struct_tag. - (Input::read_keys): Initialize _additional_code. - * src/Makefile.in (OBJECTS): Add search.o. - Remove key-list.o, gen-perf.o. - (KEY_LIST_H, GEN_PERF_H): Remove variables. - (gen-perf.o, key-list.o): Remove rules. - (search.o): New rule. - - * *, */*: Update copyright notice to GPL version 2. - - * src/keyword-list.h (Keyword_List): New class. - (KeywordExt_List): Inherit from it. - * src/keyword-list.cc (Keyword_List::Keyword_List): New constructor. - (KeywordExt_List::KeywordExt_List): Update. - * src/input.h (Input::Input): Add Keyword_Factory argument. - (Input::_factory): New field. - (Input::_head): Change type to Keyword_List*. - (Input::parse_line): New declaration. - * src/input.cc (Input::Input): New constructor. - (Input::parse_line): Renamed from parse_line. Use the _factory. - (Input::read_keys): Update. - * src/key-list.cc (KeywordExt_Factory): New class. - (Key_List::read_keys): Pass a KeywordExt_Factory as Input constructor - argument. - - Avoid g++ -Wold-style-cast warnings. - * src/bool-array.icc: Use new-style casts. - * src/gen-perf.cc: Likewise. - * src/input.cc: Likewise. - * src/key-list.cc: Likewise. - * src/keyword.cc: Likewise. - * src/options.cc: Likewise. - * src/output.cc: Likewise. - * src/hash-table.cc: Likewise. Remove (char *) cast in memset argument. - - * src/keyword-list.h (KeywordExt_List): Don't inherit from KeywordExt. - (KeywordExt_List::KeywordExt_List): Take a KeywordExt* as argument. - (KeywordExt_List::_car): New field. - (KeywordExt_List::first): Use it. - * src/keyword-list.cc (KeywordExt_List::KeywordExt_List): Take a - KeywordExt* as argument. - * src/input.cc (parse_line): Create the KeywordExt separately. - - Start using bool. - * src/bool-array.h (Bool_Array::set_bit): Change return type to bool. - * src/bool-array.icc (Bool_Array::set_bit): Likewise. - * src/gen-perf.h (Gen_Perf::affects_prev): Likewise. - * src/gen-perf.cc (Gen_Perf::affects_prev): Likewise. - * src/hash-table.h (Hash_Table::_ignore_length): Change type to bool. - (Hash_Table::Hash_Table): Change 3rd argument type to bool. - * src/hash-table.cc (Hash_Table::Hash_Table): Likewise. - * src/input.h (Input::_additional_code): Change type to bool. - * src/input.cc (Input::read_keys): Update. - * src/key-list.h (Key_List::_occurrence_sort, Key_List::_hash_sort, - Key_List::_additional_code): Change type to bool. - (Key_List::_determined): Change element type to bool. - (Key_List::already_determined): Change return type to bool. - * src/key-list.cc (Key_List::_determined): Change element type to bool. - (Key_List::set_determined): Update. - (Key_List::already_determined): Change return type to bool. - (Key_List::reorder, Key_List::sort, Key_List::Key_List): Update. - * src/options.h (Positions::sort): Change return type to bool. - (Options::operator[]): Likewise. - * src/options.icc (Positions::sort): Change return type to bool. - (Options::operator[]): Likewise. - * src/output.h (Output::Output): Change 5th argument type to bool. - (Output::_additional_code): Change type to bool. - * src/output.cc (Output::Output): Change 5th argument type to bool. - -2002-10-16 Bruno Haible <bruno@clisp.org> - - * src/*.h: Align all member names at column 24. - -2002-10-15 Bruno Haible <bruno@clisp.org> - - * src/input.h: New file. - * src/input.cc: New file, extracted from key-list.cc. - * src/key-list.h (Key_List): Don't inherit from Read_Line. - (Key_List::get_special_input, - Key_List::save_include_src, Key_List::get_array_type, - Key_List::strcspn, Key_List::set_output_types): Remove methods. - * src/key-list.cc (Key_List::get_special_input, - Key_List::save_include_src, Key_List::get_array_type, - Key_List::strcspn, Key_List::set_output_types, parse_line): Move to - src/input.cc. - (Key_List::read_keys): Use Input::read_keys. - (Key_List::Key_List): Update. - * src/gen-perf.cc: Update. - * src/Makefile.in (OBJECTS): Add input.o. - (input.o): New rule. - -2002-10-14 Bruno Haible <bruno@clisp.org> - - * src/options.cc: Don't include "vector.h". - (Options::parse_options): Don't initialize Vectors::ALPHA_SIZE here. - * src/vectors.cc (Vectors::ALPHA_SIZE): Don't initialize here. - * src/gen-perf.cc (Gen_Perf::Gen_Perf): Initialize Vectors::ALPHA_SIZE. - - * src/options.h (Positions): New class. - (PositionIterator): New class. - (Options::parse_options): Renamed from Options::operator(). - (Options::get_asso_max, Options::set_asso_max): Move to class Key_List. - (Options::reset, Options::get): Remove, replaced by class - PositionIterator. - (Options::get_initial_asso_value): Renamed from Options::initial_value. - (Options::key_sort): Remove, replaced by Positions::sort. - (Options): Make all fields and methods non-static. - * src/options.icc (Positions::Positions, Positions::operator[], - Positions::get_size, Positions::pointer, Positions::set_size, - Positions::sort, PositionIterator::PositionIterator, - PositionIterator::next): New methods. - (Options::get_initial_asso_value): Renamed from Options::initial_value. - (Options::get_size_multiple): New method. - (Options::get_key_positions): New method. - (Options::get_max_keysig_size): Implement using _key_positions. - * src/options.cc (Options::long_usage): Split big string into small - pieces. - (PositionStringParser): Prefix field names with _. - (Options::Options): Update. - (Options::~Options): Fix explanation of of _size_multiple. Don't print - _key_positions if it is effectively ignored. - (Options::parse_options): Renamed from Options::operator(). Update. - * src/key-list.h (Key_List): New field _size. New methods get_asso_max, - set_asso_max, get_max_keysig_size. - * src/key-list.cc (Key_List::read_keys): Don't make side effects on - options. - (Key_List::dump): Use Key_List::get_max_keysig_size() instead of - Options::get_max_keysig_size(). - (Key_List::get_max_keysig_size): New function. - * src/hash-table.cc (Hash_Table::~Hash_Table): Compute the field - width on the fly if option[ALLCHARS]. - * src/gen-perf.cc (Gen_Perf::Gen_Perf): Update, - Use Options::get_size_multiple() instead of Options::get_asso_max(). - Use Key_List::get_asso_max() instead of Options::get_asso_max(). Use - Key_List::get_max_keysig_size() instead of - Options::get_max_keysig_size(). - (Gen_Perf::affects_prev): Likewise. - (Gen_Perf::change): Likewise. - * src/keyword.cc: Update. - * src/main.cc: Update. - * src/output.cc: Update. - * tests/test-6.exp: Update. - -2002-10-13 Bruno Haible <bruno@clisp.org> - - * src/bool-array.*: Some polishing. - - * src/options.h (Options::operator=, Options::operator!=): Remove - unused methods. - * src/options.icc (Options::operator=, Options::operator!=): Remove. - - * src/*.h: Prefix all field names with _. - * src/*.cc, src/*.icc: Update. - - * src/*: Simplify declarations of functions without arguments. - -2002-10-04 Bruno Haible <bruno@clisp.org> - - * src/output.h: New file, extracted from key-list.h. - * src/output.cc: New file, extracted from key-list.cc. - * src/key-list.h (Key_List): Make some fields protected. Move output - routines to src/output.h. - * src/key-list.cc: Move output routines to src/output.cc. - * src/gen-perf.cc (Gen_Perf::doit_all): Use class Output. - * src/Makefile.in (OBJECTS): Add output.o. - (output.o): New rule. - -2002-10-03 Bruno Haible <bruno@clisp.org> - - * src/iterator.h: Remove file. - * src/iterator.cc: Remove file. - * src/options.cc: (PositionStringParser): New class, taken from old - iterator.cc. - * src/Makefile.in (OBJECTS): Remove iterator.o. - (ITERATOR_H): Remove variable. - (iterator.o): Remove rule. - - * src/keyword-list.h: New file. - * src/keyword-list.cc: New file. - * src/list-node.h: Remove file. - * src/list-node.cc: Remove file. - * src/keyword.h (KeywordExt::init_selchars): New declaration. - * src/keyword.cc (sort_char_set, KeywordExt::init_selchars): New, from - old list-node.cc. - * src/gen-perf.cc: Replace List_Node by KeywordExt or KeywordExt_List, - as appropriate. - * src/hash-table.h: Likewise. - * src/key-list.h: Likewise. - * src/key-list.cc: Likewise. - * src/Makefile.in (OBJECTS): Remove list-node.o, add keyword-list.o. - (LIST_NODE_H): Remove macro. - (list-node.o): Remove rule. - (keyword-list.o): New rule. - - * src/keyword.h (KeywordExt): New class. - * src/keyword.cc (KeywordExt): New constructor. - * src/list-node.h (List_Node): Inherit from KeywordExt. - * src/list-node.cc: Update. - * src/gen-perf.cc: Update. - * src/hash-table.cc: Update. - * src/key-list.cc: Update. - (output_keyword_entry): Change argument type to KeywordExt*. - - * src/keyword.h: New file. - * src/keyword.cc: New file. - * src/list-node.h (List_Node): Extend Keyword. - * src/list-node.cc: Update. - * src/gen-perf.cc: Update. - * src/hash-table.cc: Update. - * src/key-list.cc: Update. - * src/Makefile.in (OBJECTS): Add keyword.o. - (keyword.o): New rule. - - * src/key-list.cc (Key_List::read_keys): Allocate the memory for the - hash table using 'new'. - (Key_List::output_lookup_array): Allocate the memory for the duplicates - array using 'new'. - * src/options.h (LARGE_STACK_ARRAYS): Remove definition. - * src/main.cc (main): Remove setrlimit call. - * src/configure.in: Don't test for unistd.h, sys/time.h, - sys/resource.h, getrlimit, setrlimit. - - * src/bool-array.h (Bool_Array): Make all members non-static. - Add an argument to the constructor. Remove init(), rename reset() to - clear(), rename find() to set_bit(). - * src/bool-array.icc: Move init() code into the constructor. - Rename reset() to clear(), rename find() to set_bit(). - * src/gen-perf.h (Gen_Perf): Add collision_detector member. - * src/gen-perf.cc: Update. - - * src/gen-perf.h (Gen_Perf::doit_all): Renamed from - Gen_Perf::operator (). - * src/gen-perf.cc (Gen_Perf::doit_all): Renamed from - Gen_Perf::operator (). - * src/main.cc: Update. - - * src/read-line.h (Read_Line::read_next_line): Renamed from - Read_Line::get_line. - * src/read-line.icc: Likewise. - * src/read-line.cc: Update. - * src/key-list.cc: Update. - - * lib/getline.h: New file. - * lib/getline.cc: New file. - * lib/Makefile.in (OBJECTS): Add getline.o. - (getline.o): New rule. - * src/read-line.h (Read_Line::readln_aux): Remove declaration. - * src/read-line.cc (Read_Line::readln_aux): Remove function. - * src/read-line.icc (Read_Line::get_line): Use ::get_line. - * src/options.h (LARGE_STACK): Remove macro. - - * src/bool-array.h (STORAGE_TYPE): Remove type. - Use 'unsigned int' instead of STORAGE_TYPE. - * src/bool-array.cc: Likewise. - * src/bool-array.icc: Likewise. - * src/gen-perf.cc: Likewise. - - * src/new.cc: Remove file. - * src/Makefile.in (OBJECTS): Remove new.o. - (new.o): Remove rule. - * src/configure.in: Remove test for HAVE_THROW_DECL. - * acconfig.h: Remove file. - - * src/trace.h: Remove file. - * src/trace.cc: Remove file. - * src/Makefile.in (OBJECTS): Remove trace.o. - (TRACE_H): Remove variable. - (trace.o): Remove rule. - Update all dependencies. - * src/bool-array.h, src/bool-array.cc, src/bool-array.icc: Don't use T. - * src/gen-perf.cc: Likewise. - * src/hash-table.cc: Likewise. - * src/iterator.cc: Likewise. - * src/key-list.cc: Likewise. - * src/list-node.cc: Likewise. - * src/main.cc: Likewise. - * src/new.cc: Likewise. - * src/options.h, src/options.cc, src/options.icc: Likewise. - * src/read-line.h, src/read-line.cc, src/read-line.icc: Likewise. - - * tests/Makefile.in: Use gperf option -I, to avoid gcc-3.x warnings. - * tests/test.c: Don't use gets(), to avoid warnings. - -2001-08-02 Bruno Haible <bruno@linuix.math.u-bordeaux.fr> - - * doc/gperf.texi: Change bug report address to <bug-gnu-gperf@gnu.org>. - * README: Updated. - -2000-12-18 Bruno Haible <bruno@linuix.math.u-bordeaux.fr> - - * src/configure.in: Add check for rand() in libm. Needed for BeOS. - * src/Makefile.in (LIBS): Use @GPERF_LIBM@ instead of hardwiring -lm. - -2000-11-20 Bruno Haible <bruno@linuix.math.u-bordeaux.fr> - - * doc/help2man: Update to version 1.23. - -2000-09-26 Bruno Haible <bruno@linuix.math.u-bordeaux.fr> - - * gperf-2.7.2 released. - - * doc/gperf.texi: Add a second bug report address - <gperf-bugs@lists.sourceforge.net>. - * README: Updated. - -2000-08-28 Bruno Haible <bruno@linuix.math.u-bordeaux.fr> - - * lib/getopt.h (struct option): Use "const" also when compiling in - C++ mode. Avoids warnings from Sun CC and HP-UX aCC. - - * doc/Makefile.in (docdir): Change from $(datadir)/doc/@PACKAGE@ to - $(prefix)/doc/@PACKAGE@, following the newest GNU standards. - -2000-08-20 Bruno Haible <bruno@linuix.math.u-bordeaux.fr> - - * src/version.cc: Bump version number to 2.7.2. - * doc/gperf.texi: Likewise. - - * doc/texinfo.tex: Update to post-texinfo-4.0 version. @code in the - title page now chooses a larger font. The overall layout of the - text is denser. - - * AUTHORS: New file. - - * tests/Makefile.in (all): Add check-lang-utf8 and check-lang-ucs2. - (check-lang-utf8, check-lang-ucs2): New targets. - (clean): Remove lu8out and lu2out. - * tests/lang-utf8.gperf, tests/lang-utf8.exp: New files. - * tests/lang-ucs2.gperf, tests/test2.c, tests/lang-ucs2.in, - tests/lang-ucs2.exp: New files. - - Allow the use of embedded NULs in keys. - * lib/hash.h (hashpjw): Add a length argument. - * lib/hash.cc (hashpjw): Likewise. Don't stop when encountering a NUL - character. - * src/hash-table.h (Hash_Table constructor): Add ignore_len argument. - (Hash_Table::ignore_length): New field. - (Hash_Table::insert): Renamed from Hash_Table::operator(). Remove - ignore_length argument. - * src/hash-table.cc (NIL): Remove macro. - (Hash_Table constructor): Add ignore_len argument. Use it to - initialize ignore_length. - (Hash_Table destructor): Specify explicit length of char_set and - key. - (Hash_Table::insert): Renamed from Hash_Table::operator(). Remove - ignore_length argument. Pass explicit length to hashpjw. Compare - char_set using memcmp, not strcmp. - * src/list-node.h (List_Node): Rename field length to key_length. - New field char_set_length. - (List_Node constructor): Accept key and rest, not the entire line. - * src/list-node.cc (List_Node constructor): Accept key and rest, not - the entire line. Don't NUL terminate key and char_set. Specify - explicit length of key. Initialize char_set_length field. - * src/key-list.cc: Include <ctype.h>. - (parse_line): New function. - (Key_List::read_keys): Call parse_line instead of new List_Node. - Pass option[NOLENGTH] to Hash_Table constructor, not - Hash_Table::insert. Specify explicit length of key and char_set. - (Key_List::get_occurrence): Use explicit length of char_set. - (Key_List::set_determined): Likewise. - (Key_List::already_determined): Likewise. - (output_string): Add length argument. Output unprintable characters - using octal escape sequence. - (output_keyword_entry): Use explicit length of key. - (Key_List::output_lookup_array): Specify explicit length of key. - (output_switch_case): Likewise. - (Key_List::dump): Likewise. - * src/gen-perf.h (Gen_Perf::compute_disjoint_union): Add two length - arguments. - * src/gen-perf.cc (Gen_Perf::compute_disjoint_union): Likewise. Don't - stop when encountering NUL characters. Don't NUL terminate the - result. - (Gen_Perf::hash): Use explicit length of char_set. - (Gen_Perf::change): Specify explicit length of key. - * doc/gperf.texi: Document it. - - * doc/help2man: New file, help2man version 1.022. - * Makefile.devel (all): Add doc/gperf.1. - (doc/gperf.1): New target. - * doc/gperf.1: Automatically generated. - - * mkinstalldirs: New file, from automake-1.4, grep-2.4.1, guile-1.4, - libtool-1.3.3, make-3.79.1, tar-1.13. - * src/Makefile.in (MKINSTALLDIRS): New variable. - (install, installdirs): Use it instead of mkdir. - * doc/Makefile.in (MKINSTALLDIRS): New variable. - (install, installdirs): Use it instead of mkdir. - - * INSTALL: Update. - -2000-08-19 Bruno Haible <bruno@linuix.math.u-bordeaux.fr> - - * src/key-list.cc (Output_Compare_Memcmp): New class. - (Key_List::output_lookup_function): When option -l is given, use - memcmp instead of strcmp or strncmp. - - * doc/gperf.texi: The bug report address is <bug-gnu-utils@gnu.org>. - The download address is ftp.gnu.org. Remove mention of -a and -g - options (now nops). Explain effect of -c option. - - * doc/configure.in (PACKAGE): New variable. - * doc/Makefile.in (datadir, docdir): New variables. - (dvidir, htmldir): Change values. - (install, installdirs): Update. - - * src/configure.in: Rename cache variable gp_cxx_throw_decl to - gp_cv_cxx_throw_decl. - - * src/key-list.cc (Key_List::output_hash_function): When outputting - __inline, take advantage of C++ compilers which have inline. - - * src/key-list.cc (Output_Compare_Strncmp::output_comparison): - After the call to strncmp, verify that expr2 is not longer than - `len'. - Reported by Carlo Wood <carlo@runaway.xs4all.nl>. - - * src/key-list.cc (Key_List::output_lookup_function_body): Avoid - emitting the loop for dealing with duplicates if - total_duplicates == 0. - - * src/key-list.cc (Key_List::read_keys): Don't accept an empty key. - - * src/Makefile.in (install, installdirs, uninstall): Respect - $(DESTDIR). - * doc/Makefile.in (install, installdirs, uninstall): Likewise. - - * src/options.cc (Options::print_options): Escape the arguments which - contain special characters. - - * tests/c-parse.gperf: Updated from gcc-2.95.2/gcc/c-parse.gperf. - * tests/objc.gperf: New file, from gcc-2.95.2/gcc/objc/objc.gperf. - * tests/chill.gperf: New file, from gcc-2.95.2/gcc/ch/gperf. - * tests/cplusplus.gperf: New file, from gcc-2.95.2/gcc/cp/gxx.gperf. - * tests/gplus.gperf: Remove file. - * tests/java.gperf: New file, from gcc-2.95.2/gcc/java/keyword.gperf. - * tests/Makefile: Check them all. - * tests/c-parse.exp: Renamed from tests/test-1.exp. - * tests/modula2.exp: Renamed from tests/test-2.exp. - * tests/cplusplus.exp: Renamed from tests/test-3.exp. - * tests/gpc.exp: Renamed from tests/test-5.exp. - - * src/key-list.cc (output_switch_case): Add trailing semicolon to - lengthptr assignment line. Fixes bug with -D and -S. - From Reini Urban <rurban@sbox.tu-graz.ac.at>. Also reported by - David Hunter. - * tests/Makefile.in (check-lang-syntax): Perform each test with -D - once without and once with duplicates. - - * src/key-list.cc (output_keyword_entry): Avoid outputting a struct - initializer of the form {"key",}. - - * src/iterator.cc: Don't include <stream.h>. - From Michael Deutschmann <ldeutsch@mail.netshop.net>. - - * tests/Makefile.in (VALIDATE, check-lang-syntax): Use $(srcdir) where - appropriate. - Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>. - - * tests/validate: Don't run -traditional tests by default. - - * src/main.cc (main): Check for write error on stdout before returning. - - * src/Makefile.in (LDFLAGS): New definition, to catch the value given - at configure time. - - Make the structure initializers customizable. Based on a patch by - Kaveh R. Ghazi <ghazi@caip.rutgers.edu>. - * src/options.h (Options::get_initializer_suffix, - Options::initializer_suffix): New declarations. - * src/options.icc (Options::get_initializer_suffix): New function. - * src/options.cc (DEFAULT_INITIALIZER_SUFFIX): New constant. - (Options::initializer_suffix): New variable. - (Options::short_usage): Document option "-F". - (Options::long_usage): Document option "-F". - (Options constructor): Initialize initializer_suffix. - (Options destructor): Dump initializer_suffix. - (long_options): Add option "-F". - (Options::operator()): Accept option "-F". Sets initializer_suffix. - * src/key-list.cc (output_keyword_blank_entries): Output - initializer_suffix. - * doc/gperf.texi: Document option "-F". - - * COPYING: Replace with GPL version 2 (with new FSF address and Y2K - safe year format). - - * doc/gpl.texinfo: New file. - * doc/gperf.texi: Document it. - * doc/Makefile.in (gperf.info, gperf.dvi, gperf.html, gperf_toc.html): - Update dependencies. - - * doc/Makefile.in (MAKEINFO): Unset LANG while running makeinfo. - -1998-05-20 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> - - * doc/Makefile.in (gperf.dvi, clean): Remove gperf.cps. - (install, installdirs, uninstall): Don't install gperf.dvi. The - info and HTML documentations are sufficient for on-line use, and - users who wish to print the documentation (in PS or DVI format) - can do this directly off the source distribution. - (DVIPS): Use "-D600" instead of "-Pljfour", for portability. - -1998-05-20 Akim Demaille <demaille@inf.enst.fr> - - * doc/gperf.texi: Many modifications: - (Output Format): Declare `hash' and `in_word_set' as functions. - (Concept Index): New section. - (Title page): Use standard presentation. - (Top): Use @top instead of @unnumbered so that automatic master - update works. - (Motivation): Avoid spaces in @var. - (Options): Use the standard name ``Invoking ...''. - (Options): Declare also the long form of the options. - (Options): Remove redundant @itemize when @table is used. - -1998-05-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * aclocal.m4 (CL_PROG_INSTALL): Set cl_cv_path_install, not - ac_cv_path_install. - -Sat May 2 13:20:54 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> - - * gperf-2.7 released. - -Sat May 2 12:31:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> - - * src/version.cc (version_string): Remove the "(C++ version)" suffix. - It's redundant: the early C versions of gperf are called cperf. - Reported by Karl Berry. - * src/option.cc (Options::operator()): Trim the output of "gperf -v". - -Thu Apr 16 13:22:16 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> - - * lib/Makefile.in, src/Makefile.in: Don't use $(TARGET_ARCH). - Solaris "make" sets it to a value not understood by "cc". - -Wed Apr 15 23:52:14 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> - - * lib/Makefile.in, src/Makefile.in: Don't use implicit rules. Don't - use $<. AIX "make" and OSF/1 "make" have problems with both. - * src/gen-perf.cc, src/key-list.cc: Cast free() argument to char*, - otherwise it doesn't compile on SunOS 4. - * src/key-list.h: Declare structs outside of other declarations, - needed for OSF/1 cxx 5.5. - * lib/getopt.h: Use prototypes if __STDC__ || __cplusplus. - Don't give a prototype for getopt(), to avoid error on SunOS 4. - * lib/getopt.c: Declare strncmp, to avoid warnings. - -Tue Apr 14 23:24:07 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> - - * lib/GetOpt.{h,cc}: Remove files. - * lib/getopt.{h,c}, lib/getopt1.c: New files, from GNU libc. - * lib/configure.in (AC_INIT): Search for hash.cc, not GetOpt.cc. - * lib/Makefile.in (OBJECTS): Remove GetOpt.o, add getopt.o, getopt1.o. - (getopt.o, getopt1.o, hash.o): Use explicit building rules. Some - "make"s don't support to have both implicit rules for "%.o : %.c" - and "%.o : %.cc" in the same Makefile. - * lib/hash.{h,cc}: Remove #pragma; there are no templates here. - * src/option.h (Options::usage): Remove. - (Options::short_usage, Options::long_usage): Declare. - * src/option.cc (Options::usage): Remove. - (Options::short_usage, Options::long_usage): New functions. - (long_options): New array. - (Options::operator()): Use getopt_long instead of GetOpt::operator(), - change all references to GetOpt members. - - * src/std-err.{h,cc}: Remove files. - * src/gen-perf.cc, src/key-list.cc, list-node.cc, new.cc, options.cc: - Call fprintf(stderr) instead of Std_Err::report_error(). - * src/key-list.h, src/list-node.h, src/options.h: Don't use class - Std_Err any more. - * src/option.cc (program_name): New variable. - * src/Makefile.in: Remove STD_ERR_H. - (OBJECTS): Remove std-err.o. - -Mon Mar 23 01:03:35 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> - - * aclocal.m4, {lib,src,tests}/configure.in: Remove CL_CC_WORKS and - CL_CXX_WORKS, already contained in autoconf 2.12. - - * src/gen-perf.cc, src/key-list.cc: Move some code from - Gen_Perf::Gen_Perf() to Key_List::output(). - * src/Makefile.in: Update dependencies. - - * src/options.{h,cc}: Remove option "-p". - * src/key-list.cc (Key_List::set_output_types): Rewrite. - (default_array_type, default_return_type): Remove. - * src/key-list.cc: Adjust "const" handling. - + With option "-t" [TYPE], don't emit wrong code if there is no - space before the struct's opening brace. - -Sun Mar 22 16:59:15 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> - - * src/key-list.{h,cc}: Completely reorganized the output routines. - Rewrote from scratch the output_switch() function. Use classes - (Output_Constants, Output_Expr, Output_Compare) for abstraction. - In particular: - + Don't emit trailing whitespace and spurious blank lines. - + Adjust indentation of the arrays. - + Don't emit commas at the end of array initializers and - struct initializers. - + With option "-l" [LENTABLE], compare the length before - fetching the word from memory. - + With option "-S" [SWITCH], emit the comparison code just once, - not once in every switch statement. - + With option "-S" [SWITCH], choose the right switch statement - through a binary search, not a linear search. - + With option "-S" [SWITCH], emit straightforward comparisons - instead of switch statements with just one "case" label. - + With options "-S -p -t" [SWITCH, POINTER, TYPE], don't emit - spurious empty elements at the beginning of the wordlist array. - + With option "-D" [DUP] and not option "-S" [SWITCH], if there - is no more room for duplicate entries in the lookup array, - don't call `assert (i != 0)'. Instead, make the array larger :-) - + With option "-D" [DUP], if there are no duplicates, don't - automatically fall back to the non-"-D" algorithm. If the user - wants the non-"-D" algorithm, he can just not specify "-D". - + With option "-D" [DUP] and either options "-p -t" [POINTER, TYPE] - or not option "-S" [SWITCH], don't emit spurious empty elements - at the beginning of the wordlist array. - + With option "-D" [DUP], simplify the detection and processing - of duplicate entries in the lookup array. - + With options "-D -l" [DUP, LENTABLE] and not option "-S" [SWITCH], - don't forget to emit the lengthtable array. - + With options "-D -l -S" [DUP, LENTABLE, SWITCH], don't forget to - compare the lengths before comparing the strings. - - * src/gen-perf.cc: No need to include <assert.h>. - * src/options.cc: Likewise. - - * src/options.cc: Don't use `errno' after freopen failed. - * src/std-err.cc: `report_error' doesn't call strerror(errno) any - more. No need to include <string.h> and <errno.h>. - - * tests/Makefile.in (check-*): Any difference between .exp and .out - is a failure. Don't ignore whitespace differences. - - * tests/Makefile.in (check-lang-syntax): Add some more checks. - -Fri Mar 20 00:54:54 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> - - * tests/jscript.gperf: Renamed from tests/javascript.gperf, because - of Minix and SVR2 14-character filename limit. - * src/key-list.cc (output_string): New function. - (Key_List::output_switch, Key_List::output_keyword_table): Call it. - - * src/options.{h,icc,cc} (get_wordlist_name): New function. Add - option -W. - * src/key-list.cc (Key_List::output_switch, - Key_List::output_keyword_table, Key_List::output_lookup_function): - Use it. - Patch from William Bader <wbader@CSEE.Lehigh.Edu>. - - * src/version.cc: Bump version number directly from 2.5 to 2.7, - because Schmidt's last release from 1991 carries version number 2.6. - -Tue Jul 30 00:02:39 1991 Douglas C. Schmidt (schmidt at net4.ics.uci.edu) - - * Fixed a small bug in the Key_List::output_keyword_table routine - that caused an extra newline to be printed if there where no - leading blank entries... (who cares, right?!) - -Mon Jul 29 22:05:40 1991 Douglas C. Schmidt (schmidt at net4.ics.uci.edu) - - * Modified the handling of the -E (emit enums rather than - #defines) option in conjunction with the -G option. Now, if -G - and -E are given the enums are generated outside the lookup - function, rather than within it! - -Mon Apr 8 18:17:04 1991 Doug Schmidt (schmidt at net4.ics.uci.edu) - - * Yucko, there was a bug in the handling of -c (and of course the - new -I command in key-list.cc). Apparently when I added the - super-duper hack that provided support for duplicate keys I - forgot to update the strcmp output... - -Mon Mar 9 02:19:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> - - * Moved the documentation to doc/, put the stuff borrowed from - libg++ into lib/. - * Rewrote all Makefile.in's for better compliance with GNU standards. - * Autoconf based configuration. Rewrote all configure.in's. Added - aclocal.m4, with macros from CLISP and CLN. Added Makefile.devel. - * src/depend: Removed. Dependencies are now in src/Makefile.in. - - * src/bool-array.icc: New file, contains inline functions, from both - src/bool-array.h and src/bool-array.cc. - * src/options.icc: New file, contains inline functions, from both - src/options.h and src/options.cc. - * src/read-line.icc: New file, contains inline functions, from both - src/read-line.h and src/read-line.cc. - - * src/bool-array.h: Don't include <std.h>. - * src/bool-array.cc: Include <string.h>. - * src/gen-perf.cc: No need to include <ctype.h>. Don't include - <_G_config.h>. - * src/hash-table.cc: Don't include <std.h> and <builtin.h>. Include - <string.h> and lib/hash.h instead. - * src/iterator.cc: Don't include <std.h>. - * src/key-list.cc: Don't include <builtin.h>. Include <string.h> and - <stdlib.h> instead. - * src/list-node.cc: Don't include <std.h>. Include <stdlib.h> instead. - Remove `index' hack. - * src/main.cc: Don't include <_G_config.h>. - * src/new.cc: Don't include <std.h>. Include <stdlib.h> instead. - * src/options.cc: Don't include <builtin.h>. Include <string.h> and - <stdlib.h> instead. - * src/read-line.cc: Don't include <builtin.h>. Include <stdlib.h> - instead. - * src/std-err.cc: Don't include <std.h>. Include <string.h> (for Irix). - * src/vectors.h: No need to include <stdio.h>. - * src/version.cc: No need to include <stdio.h>. - - * src/bool-array.h: Change `STORAGE_TYPE' from int to unsigned int. - * src/bool-array.{h,cc}: Change type of `Bool_Array::size' from int - to unsigned int. - * src/bool-array.{h,cc}: Change type of `Bool_Array::init' argument - from STORAGE_TYPE to unsigned int. - * src/gen-perf.{h,cc}: Change two `Gen_Perf::compute_disjoint_union' - argument types from `char *' to `const char *'. - * src/iterator.h: Change type of `Iterator::str' and argument of - `Iterator::Iterator' from `char *' to `const char *'. - * src/iterator.cc: Cast to `unsigned char' before calling `isdigit'. - * src/key-list.{h,cc}: Change type of `Key_List::array_type', - `Key_List::return_type', `Key_List::struct_tag', - `Key_List::include_src', `default_array_type', `default_return_type' - and return type of `Key_List::get_array_type', - `Key_List::get_special_input', `Key_List::save_include_src' from - `char *' to `const char *'. - * src/key-list.cc: Change "pretty gross" assignment. - * src/key-list.cc: Don't use `alloca', HP-UX CC lacks it. - * lib/GetOpt.cc: Likewise. - * src/key-list.cc (merge): Use iteration instead of recursion. - * src/list-node.{h,cc}: Change type of `List_Node::key', - `List_Node::rest', `List_Node::char_set' from `char *' to - `const char *'. - * src/new.cc: Don't use BUFSIZ. Conditionalize the throw() declaration. - * src/read-line.h: Don't use BUFSIZ. - * src/read-line.cc: Make CHUNK_SIZE a constant, and use allocate the - buffers on the stack by default. Use memcpy for copying buffers. - Include <string.h>. - * src/read-line.icc (get_line): Use iteration instead of tail recursion. - Don't call ungetc(EOF,stdin). - * src/std-err.{h,cc}: Change type of `Std_Err::program_name' and of - argument `Std_Err::report_error' from `char *' to `const char *'. - * src/std-err.cc: `report_error' doesn't call `exit' any more. All - callers changed to do that themselves. - * src/trace.h: Make constructor/destructor calls non-inline. - - * src/key-list.cc (output_hash_function): If option[CPLUSPLUS], - always make the hash function inline. - (output): Declare the hash function inline, with the right name. - * src/options.{h,cc}, src/gen-perf.cc, src/key-list.cc: Remove - options -g, making it on by default. Remove option -a. Instead, - introduce "-L KR-C", "-L C", "-L ANSI-C", "-L C++". - * src/options.{h,cc}, src/key-list.cc: Add option -I. - * src/key-list.cc: Don't emit "const" if compiling in mode "-L KR-C". - * src/key-list.cc: Don't emit a comma at the end of an enum list. - * src/main.cc: Remove COUNT_TIME code. - * src/vectors.h, src/key-list.cc, src/options.cc, src/list-node.cc: - ALPHA_SIZE defaults to 256 now. Add option -7. - - * tests/javascript.gperf: New file. - * tests/jstest*.gperf, tests/validate: New tests. - -Sat Jan 31 01:38:11 1998 Alexandre Oliva <oliva@dcc.unicamp.br> - - * src/Makefile.in ($(TARGETPROG)): Add $(CFLAGS). - -Wed Jan 28 01:56:00 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * configure.in (package_makefile_rules_frag): New and - redirect stderr from ${srcdir}/config.shared to - ${package_makefile_rules_frag}. - * src/configure.in: Ditto. - * tests/configure.in: Ditto. - -Fri Jan 23 08:00:41 1998 H.J. Lu (hjl@gnu.org) - - * gperf.texi (@ichapter): Changed to @chapter. - -Wed Jan 14 09:16:48 1998 H.J. Lu (hjl@gnu.org) - - * src/key-list.cc, src/key-list.h (Key_List::strcspn): Don't - define if strcspn is defined. - -Fri Jan 24 13:23:47 1997 Mike Stump <mrs@cygnus.com> - - * src/new.cc (operator delete): Add the exception specification. - -Mon Feb 5 19:29:16 1996 Per Bothner <bothner@kalessin.cygnus.com> - - * src/read-line.cc (Read_Line::readln_aux): Handle EOF if last line - has a length which is an exact multiple of CHUNK_SIZE. (Used to throw - away the line's contents.) From Bruno Haible <haible@ilog.ilog.fr>. - * src/Makefile.in ($(TARGETPROG)): Add -lm to link line. - -Tue Jun 11 13:43:50 1996 Brendan Kehoe <brendan@lisa.cygnus.com> - - * src/list-node.cc (List_Node): Reorder init of nodes to - match declaration order. - * src/hash-table.cc (Hash_Table): Likewise. - -Tue Oct 10 16:37:28 1995 Mike Stump <mrs@cygnus.com> - - * src/new.cc: Since malloc/delete are not paired, we cannot call - free. - -Wed Jan 4 12:40:14 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * src/Makefile.in ($(TARGETPROG)): Link with $(LDFLAGS). - Patch from John Interrante <interran@uluru.stanford.edu>. - -Sat Nov 5 19:12:48 1994 Jason Merrill (jason@phydeaux.cygnus.com) - - * src/Makefile.in (LIBS): Remove. - -Tue Oct 18 17:51:14 1994 Per Bothner <bothner@kalessin.cygnus.com> - - * src/std-err.cc: Use stderror, instead of the non-standard - sys_nerr and sys_errlist. - -Sat Sep 17 22:02:13 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * src/key-list.cc (output_hash_function): - Patch from William Bader <wbader@CSEE.Lehigh.Edu>. - -Fri Jul 15 09:38:11 1994 Per Bothner (bothner@cygnus.com) - - * src/std-err.cc: #include <errno.h>, and only declare - extern int errno if errno is not a macro. - -Mon May 30 17:29:34 1994 Per Bothner (bothner@kalessin.cygnus.com) - - * Makefile.in (src_all, install): Make sure to add '/' after - `pwd` in $rootme, as expected by FLAGS_TO_PASS. - -Wed May 11 00:47:22 1994 Jason Merrill (jason@deneb.cygnus.com) - - Make libg++ build with gcc -ansi -pedantic-errors - * src/options.h: Lose commas at end of enumerator lists. - -Sun Dec 5 19:16:40 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * src/hash-table.cc (Hash_Table::~Hash_Table): Don't pass an - argument to fprintf, since it's not expecting one. - -Fri Nov 26 19:03:18 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * src/list-node.cc: #undef index, for the sake of broken NeXT, - -Thu Nov 4 11:16:03 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * Makefile.in (install): Use INSTALL_DATA for gperf.1. - -Mon Oct 25 18:40:51 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * src/key-list.cc (Key_List::read_keys): Use POW macro - to increase hash table size to power of 2. - - * options.h (LARGE_STACK_ARRAYS): New flag. Defaults to zero. - * gen-perf.cc, key-list.cc, read-line.cc: - Only stack-allocate large arrays if LARGE_STACK_ARRAYS is set. - * main.cc (main): Only call setrlimit (RLIMIT_STACK, ...) - if LARGE_STACK_ARRAYS. - -Mon Oct 4 17:45:08 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * src/gen-perf.cc: Always use ANSI rand/srand instead of BSDisms. - -Wed Aug 18 12:19:53 1993 Per Bothner (bothner@kalessin.cygnus.com) - - * Makefile.in (src_all): Make less verbose output. - -Fri May 28 14:01:18 1993 Per Bothner (bothner@rtl.cygnus.com) - - * src/gen-perf.cc (Gen_Perf::change): Don't use gcc-specific - 2-operand conditional expression. - * src/key-list.cc (Key_List::output_lookup_array): - Don't use variable-size stack arrays, unless compiled by g++. - -Tue May 4 14:08:44 1993 Per Bothner (bothner@cygnus.com) - - Changes (mostly from Peter Schauer) to permit compilation - using cfront 3.0 and otherwise be ARM-conforming. - * src/key-list.h: class Key_List must use public derivation - of base class Std_Err (because Gen_Perf::operator() in gen-perf.cc - calls Std_Err::report_error). - * src/gen-perf.cc (Gen_Perf::affects_prev), src/hash-table.cc - (Hash_Table::operator()): Don't use gcc-specific 2-operand - conditional expression. - * src/iterator.cc (Iterator::operator()): Don't use gcc-specific - range construct in case label. - * key-list.cc (Key_List::output_lookup_array, Key_List::read_keys), - src/gen-perf.cc (Gen_Perf::operator(), src/read-line.cc - (Read_Line::readln_aux): If not gcc, don't allocate - variable-sized arrays on stack. - * src/new.cc (operator new): Argument type should be size_t. - * key-list.cc (Key_List::output_lookup_array, Key_List::read_keys), - new/cc (::operator new): Don't use non-standard >?= operator. - -Tue Apr 27 20:11:30 1993 Per Bothner (bothner@cygnus.com) - - * src/Makefile.in: Define TARGETPROG, and use it. - -Mon Apr 19 00:29:18 1993 Per Bothner (bothner@cygnus.com) - - * Makefile.in, configure.in: Re-vamped configure scheme. - * gperf.texinfo: Renamed to gperf.texi. - * src/bool-array.{h,cc}: ANSIfy bzero->memset. - -Sat Jan 30 20:21:28 1993 Brendan Kehoe (brendan@lisa.cygnus.com) - - * tests/Makefile.in (mostlyclean): Also delete aout, cout, m3out, - pout, and preout. - -Tue Dec 29 08:58:17 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: pass $(FLAGS_TO_PASS) to all calls to make. - (FLAGS_TO_PASS): added INSTALL, INSTALL_DATA, INSTALL_PROGRAM. - -Mon Dec 21 18:46:46 1992 Per Bothner (bothner@rtl.cygnus.com) - - * tests/expected.* renamed to *.exp to fit in 14 chars. - * tests/Makefile.in: Update accordingly. - Also rename output.* to *.out. - * src/Makefile.in (clean): Remove gperf program. - -Wed Dec 9 14:33:34 1992 Per Bothner (bothner@cygnus.com) - - * src/hash-table.cc, src/bool-array.h: ANSIfy bzero->memset. - -Thu Dec 3 19:34:12 1992 Per Bothner (bothner@cygnus.com) - - * Makefile.in (distclean, realclean): Don't delete - Makefile before recursing. - -Fri Nov 6 13:41:49 1992 Per Bothner (bothner@rtl.cygnus.com) - - * key-list.{h,cc}: Remove MAX_INT (and similar) constant - fields from Key_List class, and use INT_MAX (etc) from limits.h. - * key-list.{h,cc}, options.{h,cc}, vectors.h: Removed all - uses of initialized const fields, as they are non-standard - - and their use was easy to do away with. Mostly, just - made the constants static non-fields in the .cc file. - -Mon Nov 2 13:10:11 1992 Per Bothner (bothner@cygnus.com) - - * tests/Makefile.in: When generating cinset.c, don't pass -C, - since -C assumes an ANSI compiler. Add the -C flag (with -a) - when generating test.out.3 instead. - * tests/expected.out.3: Update accordingly. - -Wed Aug 12 11:47:54 1992 Per Bothner (bothner@cygnus.com) - - * Makefile.in: Factor out common flags into $(FLAGS_TO_PASS). - * Makefile.in: 'install-info' depends on gperf.info. - -Mon Aug 10 11:39:52 1992 Ian Lance Taylor (ian@dumbest.cygnus.com) - - * Makefile.in, src/Makefile.in: always create installation - directories. - -Mon Jul 20 15:33:21 1992 Mike Stump (mrs@cygnus.com) - - * src/new.cc (operator new): Add cast from void * to char *, - since it is not a standard conversion. - -Wed Jun 17 16:25:30 1992 Per Bothner (bothner@rtl.cygnus.com) - - * src/gen-perf.cc: #include <_G_config.h> for _G_SYSV. - * src/key-list.cc: alloca() hair. - * src/main.cc (main): Only call getrlimit if _G_HAVE_SYS_RESOURCE. - * Makefile,in, {src,test}/Makefile.in: Fix *clean rules. - -Fri May 29 13:21:13 1992 Per Bothner (bothner@rtl.cygnus.com) - - * src/gen-perf.cc: Replace USG -> _G_SYSV. - -Thu May 14 13:58:36 1992 Per Bothner (bothner@rtl.cygnus.com) - - * src/Makefile.in: Don't pass obsolete flag -DUNLIMIT_STACK. - * tests/Makefile.in (clean): Fix. - -Sat Mar 7 00:03:56 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * gperf.texinfo: added menu item hook. - -Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in, configure.in: removed traces of namesubdir, - -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced - copyrights to '92, changed some from Cygnus to FSF. - -Sun Jan 26 19:21:58 1992 Per Bothner (bothner at cygnus.com) - - * tests/Makefile.in: Use re-directed stdin instead of file - name in argv. This allows us to remove the filename - from the output, the expected output, and hence the diffs. - (Note that the input file is in $(srcdir), which we cannot - place in the expected out files.) - * tests/expected.out.[1235]: Edit out input filename, - to match new output. - -Thu Jun 28 16:17:27 1990 Doug Schmidt (schmidt at brilliant) - - * Wow, first fix on the new job! There was a dumb error - in Key_List::output_lookup_function, where I printed the - string "&wordlist[key]" instead of the correct "&wordlist[index]". - - * Added a couple of #ifdefs for USG support. - -Sun Jun 3 17:16:36 1990 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Updated the version number to 2.5 and sent to Doug Lea for release - with the latest GNU libg++. - - * Changed the error handling when a keyword file cannot be opened - (now calls perror). - -Wed May 30 14:49:40 1990 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Instrumented the source code with trace statements automagically - inserted using my new automated trace instrumentation tool! - -Wed May 9 11:47:41 1990 Doug Schmidt (schmidt at siam.ics.uci.edu) - - * Really fixed the previous bug. Turns out that a small amount - of logic had to be duplicated to handle static links that occur - as part of dynamic link chains. What a pain!!! - -Tue May 8 23:11:44 1990 Doug Schmidt (schmidt at siam.ics.uci.edu) - - * Fixed a stupid bug in Key_List::output_lookup_array that was - causing incorrect counts to be generated when there were both - static and dynamic links occurring for the same hash value. - Also simplified the code that performs the logic in this routine. - -Mon Apr 30 17:37:24 1990 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Fixed stupid bug in Key_List::output_lookup_array that was - making the generated lookup[] array contain `chars' even - when the values stored in the chars are greater than 127! - - * Changed the behavior of the -G (global table) option so that it - will output the `length[]' array in the global scope along with - the `word_list[]' array. - - * Fixed a stupid bug in Key_List::output_lookup_function that - would always output the complicated `duplicate-handling' lookup - logic, even when there were no duplicates in the input! - - * Yikes, had to modify a bunch of stuff in key-list.cc to correctly - handle duplicate entries. Changed the generated code so that - the MIN_HASH_VALUE is no longer subtracted off when calculating - the hash value for a keyword. This required changing some other - code by substituting MAX_HASH_VALUE for TOTAL_KEYS in several places. - Finally, this means that the generated tables may contain leading - null entries, but I suppose it is better to trade-off space to get - faster performance... - -Mon Mar 26 13:08:43 1990 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Updated version number to 2.4 to reflect the latest changes. - - * Changed the main program so that it always prints out gperf's - execution timings to the generated output file. - -Sun Mar 25 12:39:30 1990 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Added the -Z option so that users can specify the name of the - generated class explicitly. Updated documentation to reflect - this change. - - * Modified the generated C++ class interface so that the functions - are declared static (to remove the overhead of passing the `this' - pointer). This means that operator()() can no longer be used, - since it only works on non-static member functions. - Also changed things so that there is no constructor (why waste - the extra call, when it doesn't do anything, eh?) - - * Modified the behavior of Key_List::output when the -L C++ option - is enabled. Previously the code generated use const data members - to record MIN_WORD_LENGTH, MIN_HASH_VALUE, etc. However, as - pointed out by James Clark this may result in suboptimal behavior - on the part of C++ compilers that can't inline these values. - Therefore, the new behavior is identical to what happens with - -L C, i.e., either #defines or function-specific enums are used. - Why sacrifice speed for some abstract notion of `code purity?' ;-) - -Tue Mar 6 18:17:42 1990 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Added the -E option that defines constant values using an enum - local to the lookup function rather than with #defines. This - also means that different lookup functions can reside in the - same file. Thanks to James Clark (jjc@ai.mit.edu). - -Sat Mar 3 20:19:00 1990 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Added a special case to key_list::output_switch that doesn't - generate extra comparisons when the `-S' is given an argument - of 1 (the normal case). This should speed up the generated - code output a tad... - -Fri Feb 23 14:21:28 1990 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Renamed all instances of member function get_keysig_size - to get_max_keysig_size, since this is more precise... - - * Changed all occurrences of charset to keysig (stands for ``key - signature'') to reflect the new naming convention used in the - USENIX paper. - -Thu Feb 22 11:28:36 1990 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Changed the name of the generated associated values table from - asso_value to asso_values to reflect conventions in the USENIX - C++ paper. - -Thu Feb 15 23:29:03 1990 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Updated the gperf.texinfo file to fix some formatting problems - that had crept in since last time. - -Wed Feb 14 23:27:24 1990 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Fixed stupid bug in key-list.cc (get_special_input), wher - gperf replaced each '%' with the succeeding character. - - * Added support for multiple target language generation. Currently - handled languages are C and C++, with C as the default. Updated - documentation and option handler to reflect the changes. - - * Added a global destructor to new.cc and removed the #ifdef, since - the bloody thing now works with libg++. - -Mon Feb 14 13:00:00 1990 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Found out that my gperf paper was accepted at the upcoming - USENIX C++ Conference in San Francisco. Yow! - -Tue Jan 30 09:00:29 1990 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * #ifdef'd out the new.cc memory allocator, since there are - problems with this and the libg++ stuff. - - * Changed key-list.h so that class Vectors is a public (rather - than private) base class for class Key_List. The previous - form was illegal C++, but wasn't being caught by the old - g++ compiler. Should work now... ;-) - -Sun Dec 10 14:08:23 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Added several changes from rfg@ics.uci.edu. These changes - help to automate the build process. - -Wed Nov 15 15:49:33 1989 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Removed conditional compilation for GATHER_STATISTICS. There's - really no good reason to avoid collecting this info at run-time, - since that section of code is *hardly* the bottleneck... ;-) - - * Simplified the C output routines in Key_List::set_output_types - and Key_List::output_keyword_table a bit in order to - speed-up and clean up the code generation. - - * Modified function Key_List::get_special_input so that it does - not try to `delete' a buffer that turned out to be too short. - This is important since the new memory management scheme - does not handle deletions. However, adding a small amount of - garbage won't hurt anything, since we generally don't do this - operation more than a couple times *at most*! - - * Created a new file (new.cc) which includes my own overloaded - operator new. This function should dramatically reduce the - number of calls to malloc since it grabs large chunks and - doles them out in small pieces. As a result of this change - the class-specific `operator new' was removed from class List_Node. - -Tue Nov 14 21:45:30 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Continued to refine the great hack. The latest trick is to - try and replace most uses of dynamic memory (i.e., calls to - new) with uses of gcc dynamic arrays (i.e., an alloca solution). - This makes life much easier for the overall process-size, since - it reduces the amount of overhead for memory management. As a - side-effect from this change there is no reason to have the - Bool_Array::dispose member function, so it's outta here! - - * Fixed a stupid bug that was an disaster waiting to happen... - Instead of making the boolean array large enough to index - max_hash_value it was only large enough to index max_hash_value - - 1. Once again, an off-by-one mistake in C/C++!!!! - -Mon Nov 13 19:38:27 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Added the final great hack! This allows us to generate hash tables - for near-perfect hash functions that contain duplicates, *without* - having to use switch statements! Since many compilers die on large - switch statements this feature is essential. Furthermore, it appears - that the generated code is often *smaller* than that put out by - compilers, even though a large, sparse array must be created. - Here's the general idea: - - a. Generate the wordlist as a contiguous block of keywords, - just as before when using a switch statement. This - wordlist *must* be sorted by hash value. - - b. Generate the lookup array, which is an array of signed - {chars,shorts,ints}, (which ever allows full coverage of - the wordlist dimensions). If the value v, where v = - lookup[hash(str,len)], is >= 0 and < TOTAL_KEYWORDS, then we - simply use this result as a direct access into the wordlist - array to snag the keyword for comparison. - - c. Otherwise, if v is < -TOTAL_KEYWORDS or > TOTAL_KEYWORDS - this is an indication that we'll need to search through - some number of duplicates hash values. Using a hash - linking scheme we'd then index into a different part of - the hash table that provides the starting index and total - length of the duplicate entries to find via linear search! - -Sun Nov 12 13:48:10 1989 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Simplified Key_List::output_min_max considerably by recognizing - that since the keyword list was already sorted by hash value finding - the min and max values is trivial! - - * Improved the debugging diagnostics considerably in classes Key_List, - Hash_Table, and Gen_Perf. - - * Modified the `-s' option so that a negative argument is now - interpreted to mean `allow the maximum associated value to be - about x times *smaller* than the number of input keys.' This - should help prevent massive explosion of generated hash table - size for large keysets. - -Sat Nov 11 11:31:13 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Added a field in class Key_List that counts the total number - of duplicate keywords, both static and dynamic. - - * Added a new member function Bool_Array that deletes the dynamic - memory allocated to Bool_Array::storage_array. This space may - be needed for subsequent options, so it made sense to free it as - soon as possible... - - * Renamed file/class Alpha_Vectors to Vectors, to avoid problems - with 14 character length filenames on SYSV. Also changed file - adapredefined.gperf to adadefs.gperf in the ./tests directory. - - * Modified class Options by changing the member function - Options::total_positions to Options::get_charset_size and - Options::set_charset_size. These two routines now either return - the total charset size *or* the length of the largest keyword - if the user specifies the -k'*' (ALLCHARS) option. This change - cleans up client code. - - * Merged all the cperf changes into gperf. - - * Made sure to explicitly initialize perfect.fewest_collisions to - 0. - - * Cleaned up some loose ends noticed by Nels Olson. - 1. Removed `if (collisions <= perfect.fewest_collisions)' - from Gen_Perf::affects_prev since it was superfluous. - 2. Removed the fields best_char_value and best_asso_value - from Gen_Perf. There were also unnecessary. - 3. Fixed a braino in the Bool_Array::bool_array_reset - function. Since iteration numbers can never be zero - the `if (bool_array.iteration_number++ == 0)' must be - `if (++bool_array.iteration_number == 0).' - 4. Modified Std_Err::report_error so that it correctly handles - "%%". - - * It is important to note that -D no longer enables -S. - There is a good reason for this change, which will become - manifested in the next release... (suspense!). - - * Made some subtle changes to Key_List::print_switch so that if finally - seems to work correctly. Needs more stress testing, however... - - * Made a major change to the Key_List::print_switch function. - The user can now specify the number of switch statements to generate - via an argument to the -S option, i.e., -S1 means `generate 1 - switch statement with all keywords in it,' -S2 means generate - 2 switch statements with 1/2 the elements in each one, etc. - Hopefully this will fix the problem with C compilers not being - able to generate code for giant switch statements (but don't - hold your breath!) - - * Changed Key_List::length function to Key_List::keyword_list_length. - - * Added a feature to main.c that prints out the starting wall-clock - time before the program begins and prints out the ending wall-clock - time when the program is finished. - - * Added the GATHER_STATISTICS code in hash-table.c so we can - keep track of how well double hashing is doing. Eventually, - GATHER_STATISTICS will be added so that all instrumentation - code can be conditionally compiled in. - - * Fixed a stupid bug in Key_List::print_switch routine. This - was necessary to make sure the generated switch statement worked - correctly when *both* `natural,' i.e., static links and dynamic - links, i.e., unresolved duplicates, hash to the same value. - - * Modified Bool_Array::~Bool_Array destructor so that - it now frees the bool_array.storage_array when it is no longer - needed. Since this array is generally very large it makes sense - to return the memory to the freelist when it is no longer in use. - - * Changed the interface to constructor Hash_Table::Hash_Table. This - constructor now passed a pointer to a power-of-two sized buffer that - serve as storage for the hash table. Although this weakens information - hiding a little bit it greatly reduces dynamic memory fragmentation, - since we can now obtain the memory via a call to alloca, rather - than malloc. This change modified Key_List::read_keys calling - interface. - - * Since alloca is now being used more aggressively a conditional - compilation section was added in main.c. Taken from GNU GCC, - this code gets rid of any avoidable limit on stack size so that - alloca does not fail. It is only used if the -DRLIMIT_STACK - symbol is defined when gperf is compiled. - - * Added warnings in option.c so that user's would be informed - that -r superceeds -i on the command-line. - - * Rewrote Gen_Perf::affects_prev. First, the code structure - was cleaned up considerably (removing the need for a dreaded - goto!). Secondly, a major change occurred so that Gen_Perf::affects_prev - returns FALSE (success) when fewest_hits gets down to whatever - it was after inserting the previous key (instead of waiting for - it to reach 0). In other words, it stops trying if it can - resolve the new collisions added by a key, even if there are - still other old, unresolved collisions. This modification was - suggested by Nels Olson and seems to *greatly* increase the - speed of gperf for large keyfiles. Thanks Nels! - - * In a similar vein, inside the Gen_Perf::change routine - the variable `perfect.fewest_collisions is no longer initialized - with the length of the keyword list. Instead it starts out at - 0 and is incremented by 1 every time change () is called. - The rationale for this behavior is that there are times when a - collision causes the number of duplicates (collisions) to - increase by a large amount when it would presumably just have - gone up by 1 if none of the asso_values were changed. That is, - at the beginning of change(), you could initialize fewest_hits - to 1+(previous value of fewest_hits) instead of to the number of - keys. Thanks again, Nels. - - * Replaced alloca with new in the Gen_Perf::change function. - This should eliminate some overhead at the expense of a little - extra memory that is never reclaimed. - - * Renamed Gen_Perf::merge_sets to Gen_Perf::compute_disjoint_union - to reflect the change in behavior. - - * Added the -e option so users can supply a string containing - the characters used to separate keywords from their attributes. - The default behavior is ",\n". - - * Removed the char *uniq_set field from LIST_NODE and modified - uses of uniq_set in perfect.c and keylist.c. Due to changes - to Gen_Perf::compute_disjoint_sets this field was no longer - necessary, and its removal makes the program smaller and - potentially faster. - - * Added lots of changes/fixes suggested by Nels Olson - (umls.UUCP!olson@mis.ucsf.edu). In particular: - 1. Changed Bool_Array so that it would dynamically create - an array of unsigned shorts rather than ints if the - LO_CAL symbol was defined during program compilation. - This cuts the amount of dynamic memory usage in half, - which is important for large keyfile input. - 2. Added some additional debugging statements that print extra - info to stderr when the -d option is enabled. - 3. Fixed a really stupid bug in Key_List::print_switch - A right paren was placed at the wrong location, which broke - strlen (). - 4. Fixed a subtle problem with printing case values when keylinks - appear. The logic failed to account for the fact that there - can be keylinks *and* regular node info also! - 5. Changed the behavior of Key_List::read_keys so that it would - honor -D unequivocally, i.e., it doesn't try to turn off dup - handling if the user requests it, even if there are no - immediate links in the keyfile input. - 6. Modified the -j option so that -j 0 means `try random values - when searching for a way to resolve collisions.' - 7. Added a field `num_done' to the Gen_Perf struct. This is used - to report information collected when trying to resolve - hash collisions. - 8. Modified the merge_sets algorithm to perform a disjoint - union of two multisets. This ensures that subsequent - processing in Gen_Perf::affect_prev doesn't - waste time trying to change an associated value that is - shared between two conflicting keywords. - 9. Modified Gen_Perf::affects_prev so that it doesn't try - random jump values unless the -j 0 option is enabled. - 10. Fixed a silly bug in Gen_Perf::change. This problem caused - gperf to seg fault when the -k* option was given and the - keyfile file had long keywords. - -Sun Oct 29 00:18:55 1989 Doug Schmidt (schmidt at siam.ics.uci.edu) - - * Modified class-specific new operations for Read_Line and - List_Node so they don't fail if SIZE is larger than twice - the previous buffer size. Note we double buffer size - everytime the previous buffer runs out, as a heuristic - to reduce future calls to malloc. - -Sun Oct 22 13:49:43 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Updated gperf version number to 2.0. Send to Doug Lea for - incorporation into the long-awaited `official' libg++ 1.36 - release! - - * Thanks to Nels Olson a silly bug in Gen_Perf::change () - was fixed. This problem caused gperf to seg fault when - the -k* option was given and the keyfile file had long - keywords. - - * Modified Key_List::print_hash_function so that it output - max_hash_value + 1 (rather than just max_hash_value) for - any associated value entries that don't correspond to - keyword charset characters. This should speed up rejection - of non-keyword strings a little in some cases. - -Sat Oct 21 19:28:36 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Fixed Key_List::print_hash_function so that it no longer output - things like `return 0 + ...' Although this probably gets - optimized away by even the worst C compilers there isn't any - point tempting fate... ;-) - - * Fixed class List_Node's constructor so that it wouldn't a priori - refuse to consider trying to hash keys whose length is less - than the smallest user-specified key position. It turns out - this is not a problem unless the user also specifies the -n - (NOLENGTH) option, in which case such keys most likely - don't have a prayer of being hashed correctly! - - * Changed the name of the generated lookup table from `Hash_Table' - to `asso_value' to be consistent with the gperf paper. - -Tue Oct 17 14:19:48 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Added a flag GATHER_STATISTICS in the Makefile. If defined - during compilation this turns on certain collection facilities - that track the performance of gperf during its execution. In - particular, I want to see how many collisions occur for the - double hashing Hash_Table. - - * Added a safety check so that we don't screw up if the total - number of `resets' of the Bool_Array exceeds MAX_INT. Since - this number is around 2^31 it is unlikely that this would ever - occur for most input, but why take the risk? - - * Changed the behavior for the -a (ANSI) option so that the - generated prototypes use int rather than size_t for the LEN - parameter. It was too ugly having to #include <stddef.h> all - over the place... - -Mon Oct 16 11:00:35 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Continued to work on the gperf paper for the USENIX C++ - conference. At some point this will be merged back into - the gperf documentation... - -Sat Oct 14 20:29:43 1989 Doug Schmidt (schmidt at siam.ics.uci.edu) - - * Added a majorly neat hack to Bool_Array, suggested by rfg. - The basic idea was to throw away the Ullman array technique. - The Ullman array was used to remove the need to reinitialize all - the Bool_Array elements to zero everytime we needed to determine - whether there were duplicate hash values in the keyword list. - The current trick uses an `iteration number' scheme, which takes - about 1/3 the space and reduces the overall program running a - time by about 20 percent for large input! The hack works as - follows: - - 1. Dynamically allocation 1 boolean array of size k. - 2. Initialize the boolean array to zeros, and consider the first - iteration to be iteration 1. - 2. Then on all subsequent iterations we `reset' the bool array by - kicking the iteration count by 1. - 3. When it comes time to check whether a hash value is currently - in the boolean array we simply check its index location. If - the value stored there is *not* equal to the current iteration - number then the item is clearly *not* in the set. In that - case we assign the iteration number to that array's index - location for future reference. Otherwise, if the item at - the index location *is* equal to the iteration number we've - found a duplicate. No muss, no fuss! - -Mon Oct 2 12:30:54 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Changed some consts in options.h to enumerals, since g++ - doesn't seem to like them at the moment! - -Sat Sep 30 12:55:24 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Fixed a stupid bug in Key_List::print_hash_function that manifested - itself if the `-k$' option was given (i.e., only use the key[length] - character in the hash function). - - * Added support for the -C option. This makes the contents of - all generated tables `readonly'. - - * Changed the handling of generated switches so that there is - only one call to str[n]?cmp. This *greatly* reduces the size of - the generated assembly code on all compilers I've seen. - - * Fixed a subtle bug that occurred when the -l and -S option - was given. Code produced looked something like: - - if (len != key_len || !strcmp (s1, resword->name)) return resword; - - which doesn't make any sense. Clearly, this should be: - - if (len == key_len && !strcmp (s1, resword->name)) return resword; - -Tue Sep 26 10:36:50 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Changed class Read_Line's definition so that it no longer - needs to know about the buffering scheme used to speed up - dynamic memory allocation of input keywords and their - associated attributes. This means that operator new is no longer - a friend of Read_Line. - -Mon Sep 25 23:17:10 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Decided that Obstacks had too much overhead, so they were - removed in favor of super-efficient, low-overhead buffered - storage allocation hacks in Read_Line and List_Node. - - * No longer try to inline functions that g++ complains about - (Key_List::Merge and Key_List::Merge_Sort). - -Sun Sep 24 13:11:24 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Changed classes Read_Line and List_Node to use Obstacks in order - to cache memory allocation for keyword strings and List_Nodes. - - * Continued to experiment with inheritance schemes. - - * Added a new file `alpha.h', that declares static data shared - (i.e., inherited) between classes List_Node and Key_List. - -Tue Sep 12 16:14:41 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Made numerous changes to incorporate multiple inheritance in - gperf. - -Wed Aug 16 23:04:08 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Added the -DCOMPILER_FIXED flag to the ./src/Makefile. This - implies that people trying to compile gperf need to have a - working version of the new g++ compiler (1.36.0). - - * Removed some extra spaces that were being added in the generated - C code. - -Mon Jul 24 17:09:46 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Fixed PRINT_HASH_FUNCTION and PRINT_LOOKUP_FUNCTION in keylist.c - so that the generated functions take an unsigned int length argument. - If -a is enabled the prototype is (const char *str, size_t len). - -Fri Jul 21 13:06:15 1989 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Fixed a typo in PRINT_KEYWORD_TABLE in keylist.cc that prevented - the indentation from working correctly. - - * Fixed a horrible typo in PRINT_KEYWORD_TABLE in keylist.cc - that prevented links from being printed correctly. - -Tue Jul 18 16:04:31 1989 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Fixed up readline.cc and readline.h so that they work OK - with g++ compilers that aren't completely up-to-date. - If symbol COMPILER_FIXED is defined then the behavior - that works on my more recent version of g++ is enabled. - -Sun Jul 9 17:53:28 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Changed the ./tests subdirectory Makefile so that it - uses $(CC) instead of gcc. - -Sun Jul 2 21:52:15 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Fixed a number of subtle bugs that occurred when -S was - combined with various and sundry options. - - * Added the -G option, that makes the generated keyword table - a global static variable, rather than hiding it inside - the lookup function. This allows other functions to directly - access the contents in this table. - - * Added the "#" feature, that allows comments inside the keyword - list from the input file. Comment handling takes place in readline.c. - This simplifies the code and reduces the number of malloc calls. - - * Also added the -H option (user can give the name of the hash - function) and the -T option (prevents the transfer of the type decl - to the output file, which is useful if the type is already defined - elsewhere). - -Thu Jun 22 20:39:39 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Modified many classes so that they would inherit Std_Err as - a base class. This makes things more abstract... - -Fri Jun 16 14:23:00 1989 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Modified the -f (FAST) option. This now takes an argument. - The argument corresponds to the number of iterations used - to resolve collisions. -f 0 uses the length of the - keyword list (which is what -f did before). This makes - life much easier when dealing with large keyword files. - -Tue Jun 6 17:53:27 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Added the -c (comparison) option. Enabling this - will use the strncmp function for string comparisons. - The default is to use strcmp. - - * Fixed a typo in key_list.cc (PRINT_SWITCH). This caused - faulty C code to be generated when the -D, -p, and -t - options were all enabled. - -Thu May 25 14:07:21 1989 Doug Schmidt (schmidt at siam.ics.uci.edu) - - * Once again, changed class Read_Line to overload global operator - new. Hopefully, this will work...! - -Sun May 21 01:51:45 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Modified Key_List::print_hash_function () so that it properly - formats the associated values in the hash table according to - the maximum number of digits required to represent the largest - value. - - * Removed the named return value from class Hash_Table's - operator (), since this causes a seg fault when -O is enabled. - No sense tripping subtle g++ bugs if we don't have to.... ;-) - - * Removed the operator new hack from Read_Line, since this seemed - to create horrible bus error problems. - - * Changed many class member functions and data members to be `static', - if they don't manipulate this! - -Fri May 12 23:06:56 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Changed class Std_Err to use static member functions, a la - Ada or Modula 2. This eliminates the need for an explicit - error-handler class object. - - * Added the ``named return value'' feature to Hash_Table::operator () - and Bool_Array::operator [], just for the heck of it.... ;-) - - * Changed the previous hack in Read_Line so that we now use - the overloaded global `new' instead of NEW_STRING! - -Wed May 3 17:36:55 1989 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Updated to version 1.7. This reflects the recent major changes - and the new C port. - - * Modified the GNU getopt.cc routine to have a class-based interface. - - * Fixed a typo in Perfect.cc ~Perfect that prevented the actual maximum - hash table size from being printed (maybe the stream classes - weren't so bad after all.... ;-). - - * Added support for the -f option. This generates the perfect - hash function ``fast.'' It reduces the execution time of - gperf, at the cost of minimizing the range of hash values. - -Tue May 2 16:23:29 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Added an efficiency hack to Read_Line. Instead of making - a call to operator NEW (a.k.a. malloc) for each input string - a new member function NEW_STRING stores a large buffer from - which new strings are carved out, growing the buffer if - necessary. It might be useful to add this throughout the - program.... - - * Removed all unnecessary calls to DELETE. If the program is about - to exit it is silly to waste time freeing memory. - - * Added the GNU getopt program to the distribution. This makes - GPERF portable to systems that don't include getopt in libc. - - * Added a strcspn member to class Key_List. This also increases - portability. - - * Added the get_include_src function from keylist.c as a member - function in class Key_List. Hopefully every function is - now associated with a class. This aids abstraction and - modularity. - - * Ported gperf to C. From now on both K&R C and GNU G++ versions - will be supported. There will be two ChangeLog files, one - for each version of the program. - -Mon May 1 16:41:45 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Fixed a bug with -k'*'. This now prints out *all* the cases - up to the length of the longest word in the keyword set. - -Sun Apr 30 12:15:25 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Removed all use of the stream classes. Too ugly, slow, and - not handled by the c++-mode formatter.... - - * Modified the handling of links (i.e., keywords that have - identical hash values as other keywords). This should - speed up hash function generation for keyword sets with - many duplicate entries. The trick is to treat duplicate - values as equivalence classes, so that each set of duplicate - values is represented only once in the main list processing. - - * Fixed some capitialization typos and indentations mistakes in - Key_List::print_hash_function. - -Sat Apr 29 12:04:03 1989 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Fixed a typo/logico in Key_List::print_switch that prevented - the last keyword in the keyword list to be print out. This - requires further examination..... - - * Fixed a stupid bug in List_Node::List_node. If the -k'*' option - was enabled the KEY_SET string wasn't getting terminated with - '\0'! - -Fri Apr 28 12:38:35 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Renamed strexp.h and strexp.cc to iterator.h and iterator.cc. - Also changed the strexp class to iterator. Continued to work - on style... - - * Updated the version number to 1.6. This reflects all the - recent changes. - -Thu Apr 27 00:14:51 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Added the -D option that properly handles keyword sets that - contain duplicate hash values. - - * Continued the stylistic changes. Added the #pragma once - directive to all the *.h files. Removed all #defines and - replaced them with static consts. Also moved the key_sort - routine from options.cc into the options class as a - member function. - -Mon Apr 3 13:26:55 1989 Doug Schmidt (schmidt at zola.ics.uci.edu) - - * Made massive stylistic changes to bring source code into - conformance with GNU style guidelines. - -Thu Mar 30 23:28:45 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Fixed up the output routines so that they generate code - corresponding to the GNU style guidelines. - -Sat Mar 11 13:12:37 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Fixed Stderr constructors so that they wouldn't try to - use the base class initializer syntax for the static - class variable Program_Name. G++ 1.34 is stricter in - enforcing the rules! - -Fri Mar 10 11:24:14 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Removed -v and ``| more'' from the Makefile to keep rfg happy... - -Thu Mar 2 12:37:30 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Sent latest GNU gperf version 1.5 to Doug Lea for inclusion - into libg++ 1.34. Note that there is a small bug with - the new %{ ... %} source inclusion facility, since it doesn't - understand comments and will barf if %{ or %} appear nested - inside the outermost delimiters. This is too trivial of - a defect to fix at the moment... - -Tue Feb 28 11:19:58 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Added the -K option, which allows the user to provide a - alternative name for the keyword structure component. - The default is still ``name.'' - - * Added the LEX and YACC-like ability to include arbitrary - text at the beginning of the generated C source code output. - This required two new functions Get_Special_Input, - Key_List::Save_Include_Src; - - * Fixed memory allocation bug in Key_List::Set_Types. - Variable Return_Type needs 1 additional location - to store the "*" if the -p option is used. - - * Added code to NULL terminate both Struct_Tag and Return_Type, - *after* the strncpy (stupid mistake). - -Mon Feb 27 14:39:51 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Added a new option -N. This allows the user to specify the - name to be used for the generated lookup function. The - default name is still ``in_word_set.'' This makes it - possible to completely automate the perfect hash function - generation process! - -Mon Feb 20 23:33:14 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Corrected the Hash_Table::operator () function so that - *it* is responsible for deciding when a new key has the - same signature as a previously seen key. The key length - information is now used internally to this function to - decide whether to add to the hash table those keys with - the same key sets, but different lengths. Before, this - was handled by the Key_List::Read_Keys function. However, - this failed to work for certain duplicate keys, since - they weren't being entered into the hash table properly. - -Sun Feb 19 16:02:51 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Modified class Options by moving the enum Option_Type out - of the class. This is to satisfy the new enumeration - scope rules in C++. - -Sun Jan 15 15:12:09 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Incremented the version number upto 1.4 to reflect the new - options that affect the generated code. Send the new - distribution off to Michael for use with g++ 1.33. - - * Added a fix to Key_List::Read_Keys so that it checks for links - properly when the -n option is used. Previously, it didn't - catch obvious links, which caused it to spend large amount - of time searching for a solution that could never occur! - - * Modified the Key_List data structure to record *both* the - minimum and the maximum key lengths. This information - is now computed in Key_List::Read_Keys, and thus - Key_List::Print_Min_Max doesn't need to bother. - - * Modifed the key position iterator scheme in options.cc to - eliminate the need for member function Options::Advance. - Now, the Options::Get function performs the advancement - automatically, obviating the need for an extra function call. - - * Added the new function Options::Print_Options, to print out - the user-specified command line options to generated C - output file. - - * Added a new function, Key_List::Print_Keylength_Table, - which creates a table of lengths for use in speeding - up the keyword search. This also meant that a new - option, -l (LENTABLE) is recognized. It controls - whether the length table is printed and the comparison - made in the generated function ``in_word_set.'' - - * Added a comment at the top of the generated C code - output file that tells what version of gperf was used. - Next, I'll also dump out the command line options - as a comment too. Thanks to Michael Tiemann for the - feedback on this. - - * Fixed the -n option to make it work correctly with - other parts of the program (most notably the Perfect::Hash - function and the computation of minimum and maximum lengths. - -Fri Jan 13 21:25:27 1989 Doug Schmidt (schmidt at siam.ics.uci.edu) - - * Realized the the need to add a test that will enable - optimziation of the generated C code in the ``hash'' function - by checking whether all the requested key positions are - guaranteed to exist due to the comparison in `in_word_set.'' - I'll put this in soon.... - -Thu Jan 12 20:09:21 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Added pascal, modula3, and modula2 tests inputs to the - Makefile - - * Recognised that there is a bug with the -n option. However - I'm too busy to fix it properly, right now. The problem - is that the generated #define end up being 0, since that's - my hack to make -n work. This needs complete rethinking! - -Tue Jan 10 00:08:16 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Added a new option, -n, that instructs gperf to not use the - length of an identifier when computing the hash functions. - I'm not sure how useful this is! - - * Retransmitted the distribution to rocky.oswego.edu. Hopefully, - this will work! - - * Began fixing the indentation and capitalization to conform - to the GNU coding guidelines. - -Mon Jan 9 22:23:18 1989 Doug Schmidt (schmidt at pompe.ics.uci.edu) - - * Fixed horrible bug in Read_Line::Readln_Aux. This was - a subtle and pernicous off-by-1 error, that overwrote - past the last character of the input string buffer. I - think this fault was killing the vax! - - * Yow, fixed an oversight in List_Node::List_Node, where the - pointer field Next was uninitialized. Luckily, the new routine - seems to return 0 filled objects the first time through! - -Sun Jan 8 13:43:14 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Modified the ``key linked'' diagnostic in Key_List::Read_Keys - to be more helpful and easy to read. - - * Fixed the List_Node::List_Node so that it would ignore trailing - fields if the -t option was not enabled. - - * Moved the List_Node declarations out of keylist.h and - into a file of its own, called listnode.cc and listnode.h - Made Set_Sort a member function of class List_Node. - - * Massively updated the documentation in the gperf.texinfo file. - - * Polished off the major revision to the print functions, - added a few new tests in the Makefile to check for the - validity of the program and ftp'ed the entire distribution - off to Doug Lea for libg++. ( changed it to - 1.3 to reflect the major changes with the generated - C code ). - - * Fixed Key_List::Print_Switch to deal with the -p and -t options. - This meant that the ``still-born'' function Key_List:: - Print_Type_Switch was superflous, so I removed it. - Also, removed the restriction in Option that the -p and - -t options couldn't be used simultaneously. - - * Modified List_Node::List_Node, to perform only 1 call to - ``new'' when dynamically allocating memory for the Key_Set - and the Uniq_Set. - -Sat Jan 7 14:10:51 1989 Doug Schmidt (schmidt at glacier.ics.uci.edu) - - * Fixed a big bug with the new policy of nesting the - wordlist inside of generated function ``in_word_set.'' - I'd forgotten to declare the wordlist array as static! - ( arrgh ). - - * Added a new function Key_List::Set_Types, that figures out - the return type for generated function ``in_word_set,'' - the user-defined ``struct tag,'' if one is used, and also - formates the array type for the static local array. - - * Changed the print routines to take advantage of the - new -p option. - - * Began adding the hooks to allow the return of a pointer - to a user defined struct location from the generated - ``in_word_set'' function instead of the current 0 or 1 - return value. Created function Key_List::Print_Type_Switch - and added option -p to class Option, allowing the user to - request generation of the aforementioned pointers returned - instead of booleans. - - * Put in checks in class Option to make sure that -S and -t - options are not used simultaneously. This restriction - will be removed in subsequent releases, once I decide on - a clean way to implement it. - - * Sent version 1.2 to Doug Lea for possible inclusion into - the libg++ distribution. - - * Moved the static word_list array inside the generated function - in_word_set. This supports better data hiding. - - * Added a texinfo file, gperf.texinfo - - * Revised the Makefile to cleanup the droppings from texinfo - and changed the name of gperf.cc and gperf.h to perfect.cc - and perfect.h. - -Fri Jan 6 13:04:45 1989 Doug Schmidt (schmidt at crimee.ics.uci.edu) - - * Implemented the switch statement output format. Much better - for large datasets in terms of space used. - - * Added new functions to break up the Key_List::Output function. - Functions added were Key_List::Print_Switch, Key_List::Print_Min_Max, - Key_List::Print_Keyword_Table, Key_List::Print_Hash_Function, - and Key_List::Print_Lookup_Function. This simplifies the - big mess in Key_List::Output considerably! - - * Added switch statement option to Options, which potentially - trades time for space in the generated lookup code. - -Thu Jan 5 22:46:34 1989 Doug Schmidt (schmidt at siam.ics.uci.edu) - - * Released version 1.1 - - * Fixed a bug with Gperf::Merge_Set, it was skipping letters shared - between the Set_1 and Set_2. - - * Added the optimal min/max algorithm in Key_List::Output. This - runs in O ( 3n/2 ), rather than O ( 2n ) time. - - * Changed Gperf::Sort_Set to use insertion sort, rather than - bubble sort. - - * Added a check in Key_List::Output for the special case where - the keys used are 1,$. It is possible to generate more - efficient C code in this case. diff --git a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/INSTALL b/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/INSTALL deleted file mode 100644 index 350b32f5..00000000 --- a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/INSTALL +++ /dev/null @@ -1,183 +0,0 @@ -Basic Installation -================== - - These are generic installation instructions. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, a file -`config.cache' that saves the results of its tests to speed up -reconfiguring, and a file `config.log' containing compiler output -(useful mainly for debugging `configure'). - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If at some point `config.cache' -contains results you don't want to keep, you may remove or edit it. - - The file `configure.in' is used to create `configure' by a program -called `autoconf'. You only need `configure.in' if you want to change -it or regenerate `configure' using a newer version of `autoconf'. - -The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. If you're - using `csh' on an old version of System V, you might need to type - `sh ./configure' instead to prevent `csh' from trying to execute - `configure' itself. - - Running `configure' takes a while. While running, it prints some - messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package. - - 4. Type `make install' to install the programs and any data files and - documentation. - - 5. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - -Compilers and Options -===================== - - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. You can give `configure' -initial values for variables by setting them in the environment. Using -a Bourne-compatible shell, you can do that on the command line like -this: - CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure - -Or on systems that have the `env' program, you can do it like this: - env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure - -Compiling For Multiple Architectures -==================================== - - You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you must use a version of `make' that -supports the `VPATH' variable, such as GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. - - If you have to use a `make' that does not supports the `VPATH' -variable, you have to compile the package for one architecture at a time -in the source code directory. After you have installed the package for -one architecture, use `make distclean' before reconfiguring for another -architecture. - -Installation Names -================== - - By default, `make install' will install the package's files in -`/usr/local/bin', `/usr/local/man', etc. You can specify an -installation prefix other than `/usr/local' by giving `configure' the -option `--prefix=PATH'. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -give `configure' the option `--exec-prefix=PATH', the package will use -PATH as the prefix for installing programs and libraries. -Documentation and other data files will still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=PATH' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - -Optional Features -================= - - Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - -Specifying the System Type -========================== - - There may be some features `configure' can not figure out -automatically, but needs to determine by the type of host the package -will run on. Usually `configure' can figure that out, but if it prints -a message saying it can not guess the host type, give it the -`--host=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name with three fields: - CPU-COMPANY-SYSTEM - -See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the host type. - - If you are building compiler tools for cross-compiling, you can also -use the `--target=TYPE' option to select the type of system they will -produce code for and the `--build=TYPE' option to select the type of -system on which you are compiling the package. - -Sharing Defaults -================ - - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Operation Controls -================== - - `configure' recognizes the following options to control how it -operates. - -`--cache-file=FILE' - Use and save the results of the tests in FILE instead of - `./config.cache'. Set FILE to `/dev/null' to disable caching, for - debugging `configure'. - -`--help' - Print a summary of the options to `configure', and exit. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`--version' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`configure' also accepts some other, not widely useful, options. - diff --git a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/NEWS b/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/NEWS deleted file mode 100644 index efa3ca0c..00000000 --- a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/NEWS +++ /dev/null @@ -1,80 +0,0 @@ -New in 3.0.1: - -* Bug fix. - -New in 3.0: - -* Added option --output that allows to specify the output file name. -* Some options have been renamed: - --hash-fn-name=NAME --> --hash-function-name=NAME - --lookup-fn-name=NAME --> --lookup-function-name=NAME - --compare-strlen --> --compare-lengths - --global --> --global-table - The older variants are still supported for backward compatibility. -* The following options can now be specified inside the input file: - %delimiters=DELIMITER-LIST - %struct-type - %ignore-case - %language=LANGUAGE-NAME - %define slot-name NAME - %define initializer-suffix INITIALIZERS - %define hash-function-name NAME - %define lookup-function-name NAME - %define class-name NAME - %7bit - %compare-lengths - %compare-strncmp - %readonly-tables - %enum - %includes - %global-table - %pic - %define string-pool-name NAME - %null-strings - %define word-array-name NAME - %switch=COUNT - %omit-struct-type -* When the option -k is not given, the default key positions are now - computed depending on the set of keywords. -* If the input file is given by name, the output file will now contain - #line directives referring to the input file. -* Some keyword sets containing permutations, like { "xy", "yx", "xz", "zx" } - or { "abc", "acb", "bca", "cab" }, are now handled by gperf without - requiring the option -D. -* The generated table is usually much smaller than it was with earlier - versions of gperf. -* Added option -m/--multiple-iterations that allows to further reduce the - size of the generated table. -* When the search for a good hash function is not immediately successful, - the table's size will grow as needed. Earlier versions of gperf bailed - out with an "Internal error, duplicate hash code value". -* The options -f/--fast and -o/--occurrence-sort have no effect any more. -* Added options -P/--pic and --null-strings that optimize the generated code - for use in shared libraries. -P/--pic does a perfect optimization but may - require some small code changes (see the documentation for details), whereas - --null-strings does only a half-hearted optimization but works without - needing any change to surrounding code. -* Added option --ignore-case that produces a case independent lookup function. -* Bug fixes. - -New in 2.7.2: - -* Keywords may now be enclosed in double quotes; this permits the use of - '#', ',', space or NUL inside keywords. -* Bug fixes. - -New in 2.7.1: - -* Added option "-F" for gcc. - -New in 2.7: - -* gperf is now a stand-alone package, untied from libg++. -* Autoconfiguring. -* Removed the "-a" and "-g" options, extended the "-L" option instead. -* Removed the "-p" option, it is the default. -* Added long options ("--help", "--version" etc.). -* 8-bit cleanliness is now the default; use "-7" to get the old behaviour. -* Compiles with any C++ compiler. -* Numerous small improvements. - diff --git a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/README b/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/README deleted file mode 100644 index 26173bfc..00000000 --- a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1-src/README +++ /dev/null @@ -1,28 +0,0 @@ -This is GNU gperf. It is a program that generates perfect hash -functions for sets of key words. A perfect hash function is: - - A hash function and a data structure that allows - recognition of a key word in a set of words using - exactly 1 probe into the data structure. - -The doc/gperf.html file explains how the program works, the form of -the input, what options are available, and hints on choosing the best -options for particular key words set. - -See the file NEWS for a list of major changes in the current release. - -See the file INSTALL for compilation and installation instructions. - -Output from the GPERF program is used to recognize reserved words in -the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU -indent program. - -For general documentation on the coding and usage standards -this distribution follows, see the GNU standards document -ftp://ftp.gnu.org/pub/gnu/standards.*, especially the 'Makefile -Conventions', 'Configuration', and 'User Interfaces' sections. - -Mail suggestions and bug reports to <bug-gnu-gperf@gnu.org>. When -reporting bugs, please include in the subject line the package name -and version (output of 'gperf --version') for which you found a problem. - diff --git a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1/check.log b/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1/check.log deleted file mode 100644 index 1e16f46d..00000000 --- a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1/check.log +++ /dev/null @@ -1,156 +0,0 @@ -cd lib; make check -make[1]: Entering directory `/cygdrive/k/Devel/gperf/3.0.1/gperf-3.0.1/lib' -make[1]: Niets te doen voor `check'. -make[1]: Leaving directory `/cygdrive/k/Devel/gperf/3.0.1/gperf-3.0.1/lib' -cd src; make check -make[1]: Entering directory `/cygdrive/k/Devel/gperf/3.0.1/gperf-3.0.1/src' -make[1]: Niets te doen voor `check'. -make[1]: Leaving directory `/cygdrive/k/Devel/gperf/3.0.1/gperf-3.0.1/src' -cd tests; make check -make[1]: Entering directory `/cygdrive/k/Devel/gperf/3.0.1/gperf-3.0.1/tests' -performing some tests of the perfect hash generator -gcc -c -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 ../../gperf-3.0.1-src/tests/test.c -../src/gperf -c -l -S1 -I -o ../../gperf-3.0.1-src/tests/c.gperf > cinset.c -gcc -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -o cout cinset.c test.o -testing ANSI C reserved words, all items should be found in the set -./cout -v < ../../gperf-3.0.1-src/tests/c.gperf > c.out -diff ../../gperf-3.0.1-src/tests/c.exp c.out -../src/gperf -k1,4,'$' -I ../../gperf-3.0.1-src/tests/ada.gperf > adainset.c -gcc -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -o aout adainset.c test.o -testing Ada reserved words, all items should be found in the set -./aout -v < ../../gperf-3.0.1-src/tests/ada.gperf > ada-res.out -diff ../../gperf-3.0.1-src/tests/ada-res.exp ada-res.out -../src/gperf -D -k1,'$' -s 2 -I -o ../../gperf-3.0.1-src/tests/adadefs.gperf > preinset.c -gcc -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -o preout preinset.c test.o -testing Ada predefined words, all items should be found in the set -./preout -v < ../../gperf-3.0.1-src/tests/adadefs.gperf > ada-pred.out -diff ../../gperf-3.0.1-src/tests/ada-pred.exp ada-pred.out -../src/gperf -k1,2,'$' -I -o ../../gperf-3.0.1-src/tests/modula3.gperf > m3inset.c -gcc -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -o m3out m3inset.c test.o -testing Modula3 reserved words, all items should be found in the set -./m3out -v < ../../gperf-3.0.1-src/tests/modula3.gperf > modula.out -diff ../../gperf-3.0.1-src/tests/modula.exp modula.out -../src/gperf -o -S2 -I < ../../gperf-3.0.1-src/tests/pascal.gperf > pinset.c -gcc -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -o pout pinset.c test.o -testing Pascal reserved words, all items should be found in the set -./pout -v < ../../gperf-3.0.1-src/tests/pascal.gperf > pascal.out -diff ../../gperf-3.0.1-src/tests/pascal.exp pascal.out -../src/gperf -k1 -t -I -K foreign_name < ../../gperf-3.0.1-src/tests/lang-utf8.gperf > lu8inset.c -gcc -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -o lu8out lu8inset.c test.o -testing UTF-8 encoded languages, all items should be found in the set -sed -e '1,6d' -e 's/,.*//' < ../../gperf-3.0.1-src/tests/lang-utf8.gperf | ./lu8out -v > lang-utf8.out -diff ../../gperf-3.0.1-src/tests/lang-utf8.exp lang-utf8.out -gcc -c -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 ../../gperf-3.0.1-src/tests/test2.c -../src/gperf -k4 -t -l -I -K foreign_name < ../../gperf-3.0.1-src/tests/lang-ucs2.gperf > lu2inset.c -gcc -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -o lu2out lu2inset.c test2.o -testing UCS-2 encoded languages, all items should be found in the set -./lu2out -v < ../../gperf-3.0.1-src/tests/lang-ucs2.in > lang-ucs2.out -diff ../../gperf-3.0.1-src/tests/lang-ucs2.exp lang-ucs2.out -testing SMTP keywords, case-insensitive -../src/gperf --struct-type --readonly-table --enum --global -K field_name -N header_entry --ignore-case ../../gperf-3.0.1-src/tests/smtp.gperf > smtp.c -gcc -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -o smtp smtp.c -./smtp -../src/gperf --struct-type --readonly-table --enum --global -K field_name -N header_entry --ignore-case --compare-strncmp ../../gperf-3.0.1-src/tests/smtp.gperf > smtp.c -gcc -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -o smtp smtp.c -./smtp -../src/gperf --struct-type --readonly-table --enum --global -K field_name -N header_entry --ignore-case --compare-lengths ../../gperf-3.0.1-src/tests/smtp.gperf > smtp.c -gcc -Wall -O3 -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686 -o smtp smtp.c -./smtp -../src/gperf -L C -F ', 0, 0' -j1 -i 1 -g -o -t -G -N is_reserved_word -k1,3,'$' < ../../gperf-3.0.1-src/tests/c-parse.gperf > c-parse.out -diff ../../gperf-3.0.1-src/tests/c-parse.exp c-parse.out -2c2 -< /* Command-line: ../src/gperf -L C -F ', 0, 0' -j1 -i 1 -g -o -t -G -N is_reserved_word -k'1,3,$' */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -L C -F ', 0, 0' -j1 -i 1 -g -o -t -G -N is_reserved_word -k'1,3,$' */ -../src/gperf -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,'$' < ../../gperf-3.0.1-src/tests/objc.gperf > objc.out -diff ../../gperf-3.0.1-src/tests/objc.exp objc.out -2c2 -< /* Command-line: ../src/gperf -j1 -i 1 -g -o -t -N is_reserved_word -k'1,3,$' */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -j1 -i 1 -g -o -t -N is_reserved_word -k'1,3,$' */ -../src/gperf -L C -F ', 0, 0, 0' -D -E -S1 -j1 -i 1 -g -o -t -k'*' < ../../gperf-3.0.1-src/tests/chill.gperf > chill.out -diff ../../gperf-3.0.1-src/tests/chill.exp chill.out -2c2 -< /* Command-line: ../src/gperf -L C -F ', 0, 0, 0' -D -E -S1 -j1 -i 1 -g -o -t -k'*' */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -L C -F ', 0, 0, 0' -D -E -S1 -j1 -i 1 -g -o -t -k'*' */ -../src/gperf -L C -F ', 0, 0' -j1 -g -o -t -N is_reserved_word -k1,4,7,'$' < ../../gperf-3.0.1-src/tests/cplusplus.gperf > cplusplus.out -diff ../../gperf-3.0.1-src/tests/cplusplus.exp cplusplus.out -2c2 -< /* Command-line: ../src/gperf -L C -F ', 0, 0' -j1 -g -o -t -N is_reserved_word -k'1,4,7,$' */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -L C -F ', 0, 0' -j1 -g -o -t -N is_reserved_word -k'1,4,7,$' */ -../src/gperf -L C -F ', 0' -t -j1 -i 1 -g -o -N java_keyword -k1,3,'$' < ../../gperf-3.0.1-src/tests/java.gperf > java.out -diff ../../gperf-3.0.1-src/tests/java.exp java.out -2c2 -< /* Command-line: ../src/gperf -L C -F ', 0' -t -j1 -i 1 -g -o -N java_keyword -k'1,3,$' */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -L C -F ', 0' -t -j1 -i 1 -g -o -N java_keyword -k'1,3,$' */ -../src/gperf -n -k1-8 -l < ../../gperf-3.0.1-src/tests/modula2.gperf > modula2.out -diff ../../gperf-3.0.1-src/tests/modula2.exp modula2.out -2c2 -< /* Command-line: ../src/gperf -n -k1-8 -l */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -n -k1-8 -l */ -../src/gperf -D -t -k1,'$' < ../../gperf-3.0.1-src/tests/c-parse.gperf > test-4.out -diff ../../gperf-3.0.1-src/tests/test-4.exp test-4.out -2c2 -< /* Command-line: ../src/gperf -D -t -k'1,$' */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -D -t -k'1,$' */ -../src/gperf -g -o -j1 -t -N is_reserved_word < ../../gperf-3.0.1-src/tests/gpc.gperf > gpc.out -diff ../../gperf-3.0.1-src/tests/gpc.exp gpc.out -2c2 -< /* Command-line: ../src/gperf -g -o -j1 -t -N is_reserved_word */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -g -o -j1 -t -N is_reserved_word */ -../src/gperf -m5 < ../../gperf-3.0.1-src/tests/permut2.gperf > permut2.out -diff ../../gperf-3.0.1-src/tests/permut2.exp permut2.out -2c2 -< /* Command-line: ../src/gperf -m5 */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -m5 */ -../src/gperf -m5 < ../../gperf-3.0.1-src/tests/permut3.gperf > permut3.out -diff ../../gperf-3.0.1-src/tests/permut3.exp permut3.out -2c2 -< /* Command-line: ../src/gperf -m5 */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -m5 */ -../src/gperf -m5 --ignore-case < ../../gperf-3.0.1-src/tests/permutc2.gperf > permutc2.out -diff ../../gperf-3.0.1-src/tests/permutc2.exp permutc2.out -2c2 -< /* Command-line: ../src/gperf -m5 --ignore-case */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -m5 --ignore-case */ -../src/gperf -C -E -G -I -t < ../../gperf-3.0.1-src/tests/charsets.gperf > charsets.out -diff ../../gperf-3.0.1-src/tests/charsets.exp charsets.out -2c2 -< /* Command-line: ../src/gperf -C -E -G -I -t */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -C -E -G -I -t */ -../src/gperf -C -E -G -I -t < ../../gperf-3.0.1-src/tests/languages.gperf > languages.out -diff ../../gperf-3.0.1-src/tests/languages.exp languages.out -2c2 -< /* Command-line: ../src/gperf -C -E -G -I -t */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -C -E -G -I -t */ -../src/gperf -t < ../../gperf-3.0.1-src/tests/incomplete.gperf > incomplete.out -diff ../../gperf-3.0.1-src/tests/incomplete.exp incomplete.out -2c2 -< /* Command-line: ../src/gperf -t */ ---- -> /* Command-line: 'k:\\Devel\\gperf\\3.0.1\\gperf-3.0.1\\src\\gperf.exe' -t */ -../src/gperf -h > test-6.out -diff ../../gperf-3.0.1-src/tests/test-6.exp test-6.out -3c3 -< Usage: ../src/gperf [OPTION]... [INPUT-FILE] ---- -> Usage: k:\Devel\gperf\3.0.1\gperf-3.0.1\src\gperf.exe [OPTION]... [INPUT-FILE] -only if, do, for, case, goto, else, while, and return should be found -./aout -v < ../../gperf-3.0.1-src/tests/c.gperf > test-7.out -diff ../../gperf-3.0.1-src/tests/test-7.exp test-7.out -make[1]: Leaving directory `/cygdrive/k/Devel/gperf/3.0.1/gperf-3.0.1/tests' -cd doc; make check -make[1]: Entering directory `/cygdrive/k/Devel/gperf/3.0.1/gperf-3.0.1/doc' -make[1]: Niets te doen voor `check'. -make[1]: Leaving directory `/cygdrive/k/Devel/gperf/3.0.1/gperf-3.0.1/doc' diff --git a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1/check_err.log b/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1/check_err.log deleted file mode 100644 index 8263f49c..00000000 --- a/gnuwin32/contrib/gperf/3.0.1/gperf-3.0.1/check_err.log +++ /dev/null @@ -1,21 +0,0 @@ -../../gperf-3.0.1-src/tests/test.c: In function `main': -../../gperf-3.0.1-src/tests/test.c:25: warning: implicit declaration of function `in_word_set' -1 input keys have identical hash values, examine output carefully... -../../gperf-3.0.1-src/tests/test2.c: In function `main': -../../gperf-3.0.1-src/tests/test2.c:52: warning: implicit declaration of function `in_word_set' -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -8 input keys have identical hash values, examine output carefully... -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) -make[1]: [check-test] Fout 1 (genegeerd) diff --git a/gnuwin32/contrib/libiconv/1.9.2/depends-GnuWin32.lst b/gnuwin32/contrib/libiconv/1.9.2/depends-GnuWin32.lst deleted file mode 100644 index 0c9a4ac3..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/depends-GnuWin32.lst +++ /dev/null @@ -1,9 +0,0 @@ -advapi32.dll -gdi32.dll -kernel32.dll -libintl3.dll -msvcrt.dll -ntdll.dll -ole32.dll -rpcrt4.dll -user32.dll diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-1-GnuWin32.README b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-1-GnuWin32.README deleted file mode 100644 index fc6b8ae0..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-1-GnuWin32.README +++ /dev/null @@ -1,54 +0,0 @@ -* LibIconv-1.9.2 for Windows * -============================== - -What is it? ------------ -LibIconv: convert between character encodings - -Description ------------ -LibIconv converts from one character encoding to another through Unicode -conversion (see Web page for full list of supported encodings). It has -also limited support for transliteration, i.e. when a character cannot be -represented in the target character set, it is approximated through one -or several similar looking characters. It is useful if your application -needs to support multiple character encodings, but that support lacks from -your system. - -- Libiconv-1 is in Libiconv-1.7 - -Homepage --------- -http://www.gnu.org/software/libiconv - -System ------- -- MS-Windows 95 / 98 / ME / NT / 2000 / XP with msvcrt.dll -- if msvcrt.dll is not in your Windows/System folder, get it from - Microsoft <http://support.microsoft.com/default.aspx?scid=kb;en-us;259403"> - or by installing Internet Explorer 4.0 or higher - <http://www.microsoft.com/windows/ie>- libgw32c <http://gnuwin32.sourceforge.net/packages/libgw32c.htm> (for developing with LibIconv library) - -Notes ------ -- Bugs and questions on this MS-Windows port: gnuwin32@users.sourceforge.net - -Package Availability --------------------- -- in: http://gnuwin32.sourceforge.net - -Sources -------- -- libiconv-1.9.2-1-src.zip - -Compilation ------------ -The package has been compiled with GNU auto-tools, GNU make, and Mingw -(GCC for MS-Windows). Any differences from the original sources are given -in libiconv-1.9.2-1-GnuWin32.diffs in libiconv-1.9.2-1-src.zip. Libraries needed -for compilation can be found at the lines starting with 'LIBS = ' in the -Makefiles. Usually, these are standard libraries provided with Mingw, or -libraries from the package itself; 'gw32c' refers to the libgw32c package, -which provides MS-Windows substitutes or stubs for functions normally found in -Unix. For more information, see: http://gnuwin32.sourceforge.net/compile.html -and http://gnuwin32.sourceforge.net/packages/libgw32c.htm. diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/ABOUT-NLS b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/ABOUT-NLS deleted file mode 100644 index d79798cc..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/ABOUT-NLS +++ /dev/null @@ -1,477 +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@li.org', 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@iro.umontreal.ca' 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 February -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 az be bg ca cs da de el en en_GB eo es et fa fi - +-------------------------------------------------+ - a2ps | [] [] [] [] [] | - aegis | () | - anubis | | - ap-utils | | - bash | [] [] [] | - batchelor | | - bfd | [] [] | - binutils | [] [] | - bison | [] [] [] [] | - clisp | [] [] [] | - clisp | | - coreutils | [] [] [] [] | - cpio | [] [] [] | - darkstat | () [] | - diffutils | [] [] [] [] [] [] [] | - enscript | [] [] [] | - error | [] [] [] [] | - fetchmail | [] () [] [] [] | - fileutils | [] [] [] [] | - findutils | [] [] [] [] [] [] [] | - flex | [] [] [] [] | - gas | [] | - gawk | [] [] [] | - gcal | [] | - gcc | [] [] | - gettext | [] [] [] [] [] | - gimp-print | | - gliv | | - gnucash | [] () | - gnucash-glossary| [] () [] | - gnupg | [] [] [] [] [] [] [] | - 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 | [] [] [] [] [] | - sed | [] [] [] [] [] [] | - sh-utils | [] [] [] [] | - sharutils | [] [] [] [] [] [] [] | - sketch | [] () [] | - soundtracker | [] [] [] | - sp | [] | - tar | [] [] [] [] [] [] | - texinfo | [] [] [] [] | - textutils | [] [] [] [] | - tin | () () [] | - util-linux | [] [] [] [] [] [] [] | - vorbis-tools | [] [] | - wastesedge | () | - wdiff | [] [] [] [] [] | - wget | [] [] [] [] [] [] [] [] [] | - xchat | | - xpad | | - +-------------------------------------------------+ - az be bg ca cs da de el en en_GB eo es et fa fi - 0 1 2 26 9 49 46 9 1 1 11 52 19 1 15 - - fr gl he hr hu id it ja ko lg lv ms nb nl - +-------------------------------------------+ - a2ps | [] () () [] [] | - aegis | () | - anubis | [] [] | - ap-utils | [] | - bash | [] [] | - batchelor | | - bfd | [] [] | - binutils | [] [] | - bison | [] [] [] [] | - clisp | [] [] | - clisp | | - coreutils | [] [] [] | - cpio | [] [] [] [] [] | - darkstat | () [] [] [] | - diffutils | [] [] [] [] [] [] | - enscript | [] [] [] | - error | [] [] [] | - fetchmail | [] | - fileutils | [] [] [] [] | - findutils | [] [] [] [] [] [] [] [] [] | - flex | [] [] | - gas | [] | - gawk | [] [] | - gcal | [] | - gcc | [] | - gettext | [] [] [] | - gimp-print | | - gliv | () | - gnucash | [] [] [] | - gnucash-glossary| [] [] | - gnupg | [] [] [] [] [] | - 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 | [] [] [] [] [] | - sed | [] [] [] [] [] | - sh-utils | [] [] [] [] [] | - sharutils | [] [] [] [] [] | - sketch | [] | - soundtracker | [] [] [] | - sp | [] () | - tar | [] [] [] [] [] [] [] [] [] | - texinfo | [] [] [] [] | - textutils | [] [] [] [] [] [] | - tin | | - util-linux | [] [] () [] [] | - vorbis-tools | [] | - wastesedge | () | - wdiff | [] [] [] [] [] | - wget | [] [] [] [] [] [] [] | - xchat | | - xpad | | - +-------------------------------------------+ - fr gl he hr hu id it ja ko lg lv ms nb nl - 59 23 8 10 26 20 18 26 8 0 1 8 7 24 - - nn no pl pt pt_BR ro ru sk sl sv tr uk zh_CN zh_TW - +----------------------------------------------------+ - a2ps | () () () [] [] [] [] [] [] | 14 - aegis | () | 0 - anubis | [] [] | 4 - ap-utils | () () | 1 - bash | [] [] | 7 - batchelor | | 0 - bfd | [] [] | 6 - binutils | [] [] | 6 - bison | [] [] [] | 11 - clisp | | 5 - clisp | | 0 - coreutils | [] [] [] [] [] | 12 - cpio | [] [] [] [] [] | 13 - darkstat | [] [] () () | 6 - diffutils | [] [] [] [] [] [] | 19 - enscript | [] [] [] [] | 10 - error | [] [] [] [] | 11 - fetchmail | () () [] | 6 - fileutils | [] [] [] [] [] [] | 14 - findutils | [] [] [] [] [] [] [] [] | 24 - flex | [] [] [] [] | 10 - gas | [] | 3 - gawk | [] [] | 7 - gcal | [] [] | 4 - gcc | [] | 4 - gettext | [] [] [] [] [] [] | 14 - gimp-print | | 0 - gliv | [] | 1 - gnucash | [] [] [] [] [] | 9 - gnucash-glossary| [] [] [] [] | 8 - gnupg | [] [] [] [] | 16 - gpe-todo | | 0 - gphoto2 | [] [] | 7 - gprof | [] [] [] | 7 - gpsdrive | [] [] | 3 - grep | [] [] [] [] [] | 20 - gretl | | 2 - hello | [] [] [] [] [] [] [] [] [] | 31 - id-utils | [] [] [] [] | 9 - indent | [] [] [] [] [] | 17 - jpilot | () [] [] [] [] | 8 - jwhois | [] () () [] [] | 8 - kbd | [] [] | 6 - ld | [] [] | 5 - libc | [] [] [] [] [] [] [] | 20 - libgpewidget | | 0 - libiconv | [] [] [] [] [] [] | 18 - lifelines | [] | 2 - lilypond | [] | 4 - lingoteach | [] [] | 4 - lingoteach_lessons| () | 0 - lynx | [] [] [] [] | 13 - m4 | [] [] [] [] | 13 - mailutils | | 2 - make | [] [] [] [] [] | 15 - man-db | [] | 4 - mysecretdiary | [] [] [] | 8 - nano | [] [] [] | 13 - nano_1_0 | [] [] [] [] [] | 15 - opcodes | [] [] [] | 8 - parted | [] [] [] [] [] | 12 - ptx | [] [] [] [] [] [] [] | 20 - python | | 0 - radius | | 0 - recode | [] [] [] [] [] [] | 16 - sed | [] [] [] [] [] | 16 - sh-utils | [] [] [] | 12 - sharutils | [] [] [] [] | 16 - sketch | [] [] | 5 - soundtracker | [] | 7 - sp | [] | 3 - tar | [] [] [] [] [] [] [] [] [] | 24 - texinfo | [] [] [] [] | 12 - textutils | [] [] [] [] [] | 15 - tin | | 1 - util-linux | [] [] [] | 14 - vorbis-tools | [] | 4 - wastesedge | | 0 - wdiff | [] [] [] [] [] | 15 - wget | [] [] [] [] [] [] [] [] | 24 - xchat | | 0 - xpad | | 0 - +----------------------------------------------------+ - 43 teams nn no pl pt pt_BR ro ru sk sl sv tr uk zh_CN zh_TW - 82 domains 3 4 14 4 34 1 29 14 13 53 46 6 9 13 723 - - 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 February 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@iro.umontreal.ca' to make the `.pot' files available to -the translation teams. - diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/AUTHORS b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/AUTHORS deleted file mode 100644 index 8bedd794..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/AUTHORS +++ /dev/null @@ -1 +0,0 @@ -Bruno Haible <bruno@clisp.org> diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/ChangeLog b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/ChangeLog deleted file mode 100644 index 93322059..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/ChangeLog +++ /dev/null @@ -1,2633 +0,0 @@ -2004-01-23 Bruno Haible <bruno@clisp.org> - - * tests/table-from.c: Include binary-io.h. - (main): Switch stdout to binary mode. - * tests/table-to.c: Include binary-io.h. - (main): Switch stdout to binary mode. - * tests/genutf8.c: Include binary-io.h. - (main): Switch stdout to binary mode. - * tests/Makefile.in (INCLUDES): Also look in srclib. - (check): Pass INCLUDES when compiling genutf8.c. - * tests/Makefile.os2 (INCLUDES): Also look in srclib. - (genutf8.exe): Pass INCLUDES when compiling genutf8.c. - * tests/Makefile.msvc (INCLUDES): Also look in srclib. - (check): Pass INCLUDES when compiling genutf8.c. - -2004-01-21 Bruno Haible <bruno@clisp.org> - - * src/iconv.c (force_binary): Remove variable. - (usage): Don't document --binary any more. - (convert, main): Always switch to binary mode. - * tests/check-stateful.bat: Remove --binary option. - * tests/check-translit.bat: Likewise. - * tests/check-stateful.cmd: Likewise. - * tests/check-translit.cmd: Likewise. - * djgpp/stateful-check.sed: Remove MODE variable. - * djgpp/translit-check.sed: Likewise. - -2004-01-21 Bruno Haible <bruno@clisp.org> - - * man/iconv.3: Fix description of return value in case of error. - Reported by Jonathan Wakely <redi@users.sf.net>. - -2003-09-12 Paul Eggert <eggert@twinsun.com> - - * srclib/progreloc.c (get_full_program_name): Define via prototype. - -2003-08-15 Bruno Haible <bruno@clisp.org> - - * Makefile.devel (lib/translit.h): Add ulimit command so that the - gentranslit program gets the stack it needs. Many Linux distributions - allow only 8 MB of stack by default. - -2003-08-01 Bruno Haible <bruno@clisp.org> - - * lib/relocatable.c (find_shared_library_fullname): Disable the code on - Linux/libc5. - * srclib/relocatable.c (find_shared_library_fullname): Likewise. - Reported by Alain Guibert <derogaton+bgli@oreka.com>. - -2003-07-02 Bruno Haible <bruno@clisp.org> - - * m4/lib-ld.m4: Update from GNU gettext. - * m4/lib-prefix.m4: Update from GNU gettext. - * m4/gettext.m4: Update from GNU gettext. - * m4/intmax.m4: New file, from GNU gettext. - * m4/longdouble.m4: New file, from GNU gettext. - * m4/longlong.m4: New file, from GNU gettext. - * m4/printf-posix.m4: New file, from GNU gettext. - * m4/signed.m4: New file, from GNU gettext. - * m4/wchar_t.m4: New file, from GNU gettext. - * m4/wint_t.m4: New file, from GNU gettext. - * m4/pathmax.m4: Update from GNU gettext and gnulib. - * m4/ssize_t.m4: Update from GNU gettext and gnulib. - * m4/xreadlink.m4: Update from GNU gettext and gnulib. - * m4/readlink.m4: New file, from gnulib. - * autoconf/install-reloc: Update from GNU gettext. - * srclib/stdbool_.h: Renamed from srclib/stdbool.h.in. - * srclib/readlink.c: New file, from GNU gettext and gnulib. - * srclib/Makefile.am (LIBADD_SOURCE): Add readlink.c. - (EXTRA_DIST, stdbool.h): Use stdbool_.h instead of stdbool.h.in. - * configure.in: Invoke gl_FUNC_READLINK. - -2003-06-22 Bruno Haible <bruno@clisp.org> - - * src/Makefile.in (install): Link with the already installed library. - This fixes a link error on Solaris. - Reported by Paul Eggert. - -2003-06-08 Bruno Haible <bruno@clisp.org> - - * srclib/canonicalize.c (__getcwd) [VMS]: Pass 3 arguments to getcwd. - -2003-05-02 Bruno Haible <bruno@clisp.org> - - Support for libtool-1.5. - * srclib/progname.c (set_program_name): Remove a leading - "<dirname>/.libs/lt-" or "<dirname>/.libs/", not only "lt-". - -2003-06-23 Bruno Haible <bruno@clisp.org> - - Avoid compilation units that are empty after preprocessing. - * srclib/canonicalize.c: Add dummy declaration. - * srclib/strerror.c: Likewise. - * srclib/error.c: Include <stdio.h> even if there's nothing to be - compiled. - -2003-06-22 Bruno Haible <bruno@clisp.org> - - Portability to mingw32. - * m4/ssize_t.m4: New file, from GNU gettext. - * m4/xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T. - Reported by Jeff Bonggren <jbon@cfl.rr.com>. - -2003-06-22 Bruno Haible <bruno@clisp.org> - - Portability to mingw32. - * lib/relocatable.c [WIN32]: Include <windows.h>. - * srclib/relocatable.c: Likewise. - Reported by Jeff Bonggren <jbon@cfl.rr.com>. - -2003-06-22 Bruno Haible <bruno@clisp.org> - - * lib/relocatable.c (compute_curr_prefix): Comment out this function in - the case when it is not used. - * srclib/relocatable.c (compute_curr_prefix): Likewise. - Reported by Pavel Roskin <proski@gnu.org>. - -2003-06-18 Bruno Haible <bruno@clisp.org> - - * config/install-sh: Update from automake-1.7.5. - -2003-06-16 Bruno Haible <bruno@clisp.org> - - * lib/encodings.def (ISO-8859-15): Add alias LATIN-9. - (ISO-8859-16): Add aliases ISO_8859-16:2001, LATIN10, L10. Remove alias - ISO_8859-16:2000. - (GBK): Add aliases MS936, WINDOWS-936. - Reported by Guido Flohr <guido@imperia.net>. - -2003-05-09 Bruno Haible <bruno@clisp.org> - - * srclib/canonicalize.c: Add #ifdef around versioned_symbol. Avoids an - "extraneous semicolon" warning from Tru64 cc. - -2003-06-07 Bruno Haible <bruno@clisp.org> - - * Makefile.devel (config.h_vms): Don't define HAVE_ENVIRON_DECL. - * Makefile.vms (config.h): New rule. - (all, install): Depend on it. - (all, install, installdirs, uninstall, check): Fix typo. - (mostlyclean, clean, distclean, maintainer-clean): Likewise. Remove - config.h. - * lib/Makefile.vms (DEFS): Fix value of INSTALLDIR. - (OBJECTS): Use libiconv.obj instead of iconv.obj. - (libiconv.obj): Renamed from iconv.obj. - * srclib/Makefile.vms (INCLUDES): Add parent directory. - (OBJECTS): Remove strtoul.obj, setenv.obj, unsetenv.obj. - (strtoul.obj, setenv.obj, unsetenv.obj): Remove rules. - (alloca.h): New rule. - (canonicalize.obj): Depend on it. - (clean): Remove alloca.h. - * src/Makefile.vms (datadir, localedir): New variables. - (DEFS): Also define LOCALEDIR. - (iconv.obj): Add flags for relocatability, - (iconv.exe): Link with libicrt. Use link_options. - * vms/link_options.opt: New file. - Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>. - -2003-06-07 Bruno Haible <bruno@clisp.org> - - Support for relocatable data files even on Woe32. - * lib/Makefile.msvc (PICFLAGS): Also define PIC. - -2003-05-22 Bruno Haible <bruno@clisp.org> - - * Version 1.9.1 released. - -2003-05-22 Bruno Haible <bruno@clisp.org> - - * lib/genaliases.c (main): Emit %pic instead of %null-strings. - Change type of 'name' field to 'int'. - * lib/genaliases2.c (emit_encoding): Add a 'tag' argument. Emit an - invocation of macro S(), including the tag and a counter. - (main): Use the command-line argument as tag. - * Makefile.devel (lib/aliases_aix.h, lib/aliases_osf1.h, - lib/aliases_dos.h, lib/aliases_extra.h): Pass a tag to the program. - * lib/iconv.c (stringpool2_t): New type. - (stringpool2_contents): New data table. - (stringpool2): New macro. - (sysdep_aliases): Make position-independent. Move #includes out to - aliases2.h. - (aliases2_lookup): Update. - (nalias): New type. - (compare_by_index): Use 'struct nalias' instead of 'struct alias'. - (iconvlist): Convert 'struct alias' to 'struct nalias' while copying. - * lib/aliases2.h: New file, extracted from lib/iconv.c. - -2003-05-20 Bruno Haible <bruno@clisp.org> - - * lib/iconv.c (iconvlist): Test p->name against NULL, not against "". - Reported by Muraoka Taro <koron@tka.att.ne.jp>. - -2003-05-19 Bruno Haible <bruno@clisp.org> - - * windows/iconv.rc: Include <winver.h>. - Reported by Perry Rapp. - -2003-05-18 Bruno Haible <bruno@clisp.org> - - * Version 1.9 released. - -2003-05-18 Bruno Haible <bruno@clisp.org> - - * lib/Makefile.in (libiconv_plug_osf.so): Avoid using LIBTOOL_LINK. - -2003-05-18 Bruno Haible <bruno@clisp.org> - - * lib/Makefile.msvc (DEBUGFLAGS): New variable. - (iconv.lib): Use it. - * src/Makefile.msvc (DEBUGFLAGS): New variable. - * tests/Makefile.msvc (DEBUGFLAGS): New variable. - -2003-05-17 Bruno Haible <bruno@clisp.org> - - * src/Makefile.msvc (libdir, datadir, localedir): New variables. - (IIlibdir, IIdatadir, IIlocaledir): New variables. - (CFLAGS): Define LOCALEDIR. - (iconv_no_i18n.exe): New rule. - (all): Depend on it. - * tests/check-stateful.bat: Invoke iconv_no_i18n instead of iconv. - * tests/check-translit.bat: Likewise. - -2003-05-16 Bruno Haible <bruno@clisp.org> - - * lib/genaliases.c (main): Emit declarations for gperf-3.0. - * Makefile.devel (lib/aliases.h): Remove gperf command line options; - add new option "-m 10" for gperf-3.0. - -2003-05-12 Bruno Haible <bruno@clisp.org> - - * m4/error.m4: Update from gettext. - -2003-05-12 Bruno Haible <bruno@clisp.org> - - * configure.in: Invoke AC_GNU_SOURCE and jm_FUNC_GLIBC_UNLOCKED_IO. - -2003-05-12 Bruno Haible <bruno@clisp.org> - - * lib/Makefile.msvc (PICFLAGS, CFLAGS): Move BUILDING_* macros from - CFLAGS to PICFLAGS. - -2003-05-09 Bruno Haible <bruno@clisp.org> - - * srclib/error.c: Update from gnulib with modifications. - * srclib/unlocked-io.h: New file, from gnulib. - * m4/strerror_r.m4: New file, from gnulib. - * m4/unlocked-io.m4: New file, from gnulib. - * Makefile.devel (aclocal.m4): Depend on them. - -2003-05-08 Bruno Haible <bruno@clisp.org> - - * Makefile.msvc (IIPREFIX): New variable. - * srclib/Makefile.msvc (INCLUDES): Add -I..\windows. - * src/Makefile.msvc (IIPREFIX, IIprefix, IIexec_prefix, IIbindir, - IIincludedir): New variables. - (INCLUDES): Add -I..\windows. - (iconv.exe): Define INSTALLPREFIX and INSTALLDIR. Link with - ../srclib/icrt.lib. - Patches by Perry Rapp. - -2003-05-07 Bruno Haible <bruno@clisp.org> - - * README.woe32: Fix instructions for step 1. - * srclib/Makefile.msvc (OBJECTS): Remove strtoul.obj. - (strtoul.obj): Remove rule. - Reported by Perry Rapp. - -2003-05-07 Bruno Haible <bruno@clisp.org> - - * Makefile.vms: New file. - * lib/Makefile.vms: New file. - * srclib/Makefile.vms: New file. - * src/Makefile.vms: New file. - * man/Makefile.vms: New file. - * tests/Makefile.vms: New file. - * Makefile.devel (config.h_vms, lib/config.h_vms, include/iconv.h_vms): - New rules. - (all): Depend on them. - -2003-05-07 Bruno Haible <bruno@clisp.org> - - * srclib/Makefile.msvc (OBJECTS): Remove findprog.obj. - (findprog.obj): Remove rule. - * src/Makefile.msvc (includedir): New variable. - -2003-05-06 Bruno Haible <bruno@clisp.org> - - * lib/translit.def: Upgrade to Unicode 4.0. - -2003-05-06 Bruno Haible <bruno@clisp.org> - - * srclib/Makefile.am (DEFS): Fix spelling of DEPENDS_ON_LIBICONV. - * srclib/Makefile.msvc (CFLAGS): Likewise. - - * srclib/Makefile.msvc (INCLUDES): Add -I.. . - Reported by Perry Rapp. - - * Makefile.msvc (config.h): New rule. - (all): Depend on it. - (mostlyclean, clean, distclean, maintainer-clean): Erase config.h. - Reported by Perry Rapp. - -2003-05-06 Bruno Haible <bruno@clisp.org> - - * autoconf/config.guess: Update to GNU version 2003-02-22. - * autoconf/config.sub: Likewise. - -2003-05-06 Bruno Haible <bruno@clisp.org> - - * m4/lib-link.m4: Update from GNU gettext. - * autoconf/config.rpath: Update from GNU gettext. - - * m4/libtool.m4: Update from GNU gettext, based on libtool-1.5. - * autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5. - - * m4/gettext.m4: Update from GNU gettext. - * m4/nls.m4: Update from GNU gettext. - * m4/po.m4: Update from GNU gettext. - * Makefile.devel (aclocal.m4): Depend on m4/nls.m4 and m4/po.m4. - -2003-04-12 Bruno Haible <bruno@clisp.org> - - Support for OpenVMS 7.3. - * lib/iconv.c (USE_OSF1): Define also on VMS. - -2003-04-12 Bruno Haible <bruno@clisp.org> - - Better support for FreeBSD. - * lib/encodings.def (ISO8859-{1,2,3,4,5,6,7,8,9,10,13,14,15,16): New - aliases, for compatibility with earlier FreeBSD iconv implementation - by Konstantin Chuguev. - * lib/iconv.c (iconv_open, iconv, iconv_close) [FreeBSD]: Define as - aliases. - * src/Makefile.in (install) [FreeBSD]: Avoid installation problem. - -2003-04-12 Bruno Haible <bruno@clisp.org> - - * configure.in (mandir): Change default value. - * Makefile.in (datadir): New variable. - (install, installdirs, uninstall): Pass datadir to po and man - directories. - * Makefile.os2 (datadir): New variable. - (mandir): Use it instead of prefix. - (install, uninstall): Pass datadir to man directory. - * Makefile.msvc (mandir, docdir): Use datadir instead of prefix. - * man/Makefile.in (datadir): New variable. - (docdir): Use it instead of prefix. - (install, installdirs): Update. - * man/Makefile.os2 (datadir): New variable. - (mandir): Use it instead of prefix. - * man/Makefile.msvc (datadir): New variable. - (mandir, docdir): Use it instead of prefix. - (install, installdirs): Update. - -2003-04-06 Bruno Haible <bruno@clisp.org> - - Make it possible to build with or without libintl support on Woe32. - * Makefile.devel (config.h.msvc): Remove ENABLE_NLS. - * Makefile.msvc (NO_NLS): New variable. - * srclib/Makefile.msvc (NO_NLS): New variable. - (CFLAGS, INCLUDES): Use them. - * src/Makefile.msvc (NO_NLS): New variable. - (NLSFLAGS, INCINTL, LIBINTL): New variables. - (CFLAGS, INCLUDES, iconv.exe): Use them. - -2003-04-12 Bruno Haible <bruno@clisp.org> - - * lib/loop_unicode.h (unicode_transliterate): When the Hangul or - variants transliteration failed with RET_ILUNI, don't return - RET_TOOSMALL. - Reported by the FreeBSD porters. - -2003-04-06 Bruno Haible <bruno@clisp.org> - - * srclib/binary-io.h: New file, from GNU gettext. - * src/iconv.c: Include it. - (O_BINARY, O_TEXT, SET_BINARY): Remove definitions. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - Support for relocatable installation. - * m4/alloca.m4: New file, from GNU gettext. - * m4/canonicalize.m4: New file, from GNU gettext. - * m4/error.m4: New file, from GNU gettext. - * m4/onceonly.m4: New file, from GNU gettext. - * m4/pathmax.m4: New file, from GNU gettext. - * m4/relocatable.m4: New file, from GNU gettext. - * m4/setenv.m4: New file, from GNU gettext. - * m4/stdbool.m4: New file, from GNU gettext. - * m4/strerror.m4: New file, from GNU gettext. - * m4/xreadlink.m4: New file, from GNU gettext. - * autoconf/config.libpath: New file, from GNU gettext. - * autoconf/install-reloc: New file, from GNU gettext. - * autoconf/reloc-ldflags: New file, from GNU gettext. - * autoconf/missing: New file, from GNU automake 1.7.3. - * lib/relocatable.h: New file, from GNU gettext. - * lib/relocatable.c: New file, from GNU gettext. - * srclib/alloca.c: New file, from GNU gettext. - * srclib/alloca_.h: New file, from GNU gettext. - * srclib/canonicalize.c: New file, from GNU gettext. - * srclib/canonicalize.h: New file, from GNU gettext. - * srclib/error.c: New file, from GNU gettext. - * srclib/error.h: New file, from GNU gettext. - * srclib/exit.h: New file, from GNU gettext. - * srclib/gettext.h: New file, from GNU gettext. - * srclib/memmove.c: New file, from GNU gettext. - * srclib/pathmax.h: New file, from GNU gettext. - * srclib/progname.c: New file, from GNU gettext. - * srclib/progname.h: New file, from GNU gettext. - * srclib/progreloc.c: New file, from GNU gettext. - * srclib/relocatable.c: New file, from GNU gettext. - * srclib/relocatable.h: New file, from GNU gettext. - * srclib/relocwrapper.c: New file, from GNU gettext. - * srclib/setenv.c: New file, from GNU gettext. - * srclib/setenv.h: New file, from GNU gettext. - * srclib/stdbool.h.in: New file, from GNU gettext. - * srclib/strerror.c: New file, from GNU gettext. - * srclib/unsetenv.c: New file, from GNU gettext. - * srclib/xmalloc.c: New file, from GNU gettext. - * srclib/xmalloc.h: New file, from GNU gettext. - * srclib/xreadlink.c: New file, from GNU gettext. - * srclib/xreadlink.h: New file, from GNU gettext. - * srclib/xstrdup.c: New file, from GNU gettext. - * srclib/Makefile.am: New file. - * srclib/Makefile.msvc: New file. - * windows/alloca.h: New file, from GNU gettext. - * windows/stdbool.h: New file, from GNU gettext. - * configure.in (AC_CONFIG_HEADERS): Replace src/config.h with config.h. - Add AC_RELOCATABLE, AC_HEADER_STDC, AC_CHECK_HEADERS(stddef.h stdlib.h - string.h), AC_CHECK_FUNCS(getc_unlocked), AC_REPLACE_FUNCS(memmove), - AM_LANGINFO_CODESET, gl_FUNC_ALLOCA, gl_CANONICALIZE, - gt_FUNC_ERROR_AT_LINE, gl_PATHMAX, gt_FUNC_SETENV, gt_STDBOOL_H, - gl_FUNC_STRERROR, gl_XREADLINK, AC_OUTPUT(srclib/Makefile). - * lib/config.h.in: Add HAVE_GETC_UNLOCKED, HAVE_LANGINFO_CODESET, - HAVE_SETLOCALE, HAVE_STDDEF_H, HAVE_STDLIB_H, HAVE_STRING_H, for - localcharset.c. Add ENABLE_RELOCATABLE, INSTALLPREFIX, for - relocatable.c. - * lib/Makefile.in (DEFS): New variable. - (SOURCES): Add localcharset.c and relocatable.c. - (OBJECTS): Add localcharset.lo and relocatable.lo. - (LIBCHARSET_OBJECTS): Remove variable. - (libiconv_plug_linux.so, libiconv_plug_solaris.so, - libiconv_plug_osf.so): Use $(DEFS). Don't use $(LIBCHARSET_OBJECTS). - (iconv.lo): Use $(DEFS). - (localcharset.lo, relocatable.lo): New rules. - * lib/Makefile.msvc (CFLAGS): Define HAVE_CONFIG_H, BUILDING_DLL, - ENABLE_RELOCATABLE, IN_LIBRARY, INSTALLDIR, NO_XMALLOC, - set_relocation_prefix, relocate. Remove $(PICFLAGS). - (INCLUDES): Simplify. - (SOURCES): Remove variable. - (OBJECTS): Add localcharset.obj and relocatable.obj. - (LIBCHARSET_OBJECTS): Remove variable. - (iconv.obj): Add $(PICFLAGS). - (localcharset.obj, relocatable.obj): New rules. - (iconv.lib): Drop $(LIBCHARSET_OBJECTS). - * include/iconv.h.in (libiconv_set_relocation_prefix): New declaration. - * src/gettext.h: Remove file. - * src/iconv.c: Include progname.h and relocatable.h. - (ICONV_CONST): Define to const if the system has no iconv. - (main): Invoke set_program_name. Relocate LOCALEDIR. - * src/Makefile.in (top_srcdir): New variable. - (INCLUDES): Add .. and ../srclib. - (iconv_no_i18n, iconv): Link with ../srclib/libicrt.a. - (iconv_no_i18n.@OBJEXT@, iconv.@OBJEXT@): Define INSTALLDIR. - (RELOCATABLE_LIBRARY_PATH, RELOCATABLE_SRC_DIR, RELOCATABLE_BUILD_DIR, - RELOCATABLE_CONFIG_H_DIR, @SET_RELOCATABLE@, iconv_LDFLAGS): New - variables. - (iconv): Use $(iconv_LDFLAGS). - (install): Use $(INSTALL_PROGRAM_ENV). - (distclean): Drop removing config.h. - * src/Makefile.msvc (INCLUDES): Add .., simplify. - * tests/Makefile.msvc (INCLUDES): Simplify. - * Makefile.devel (AUTOHEADER, AUTOMAKE): New variables. - (config.h.in, srclib/Makefile.in, config.h.msvc): New rules. - (all): Depend on them. - (aclocal.m4) Depend also on m4/alloca.m4, m4/canonicalize.m4, - m4/error.m4, m4/onceonly.m4, m4/pathmax.m4, m4/relocatable.m4, - m4/setenv.m4, m4/stdbool.m4, m4/strerror.m4, m4/xreadlink.m4. - (lib/config.h.msvc): Additional processing. - * Makefile.in (all, install, installdirs, uninstall, check): Recurse - into srclib. - (mostlyclean, clean, distclean, maintainerclean): Likewise. Remove - lib/localcharset.h. - (distclean, maintainerclean): Remove also config.h and some stamps. - * Makefile.msvc (all, install, installdirs, uninstall, check, - mostlyclean, clean, distclean, maintainerclean): Recurse into srclib. - * INSTALL.generic: Document --enable-relocatable and - --with-libintl-prefix. Remove the recommendation to set CPPFLAGS and - LDFLAGS. The lib-link.m4 macros make this unnecessary. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - * configure.in: Bump version number to 1.9. - * include/iconv.h.in (_LIBICONV_VERSION): Bump. - * windows/iconv.rc: Bump version number. - * lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 4:0:2. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - * Makefile.msvc (PREFIX): New variable. - (prefix): Use it. - (distclean, maintainer-clean): Drop Unix specific removals. - * lib/Makefile.msvc (PREFIX, IIPREFIX): New variables. - (prefix): Use it. - (IIprefix, IIexec_prefix, IIbindir, IIlibdir): New variables. - (clean): Drop Unix specific removal. - * src/Makefile.msvc (PREFIX): New variable. - (prefix): Use it. - (clean): Drop Unix specific removal. - (distclean): Likewise. - * tests/Makefile.msvc (clean): Drop Unix specific removal. - (distclean): Likewise. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - * m4/endian.m4 (CL_WORDS_LITTLEENDIAN): Use 3-argument AC_DEFINE. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - * m4/general.m4 (CL_CONFIG_SUBDIRS, CL_CANONICAL_HOST, - CL_CANONICAL_HOST_CPU, CL_CANONICAL_HOST_CPU_FOR_FFCALL): Remove - macros. - * m4/gettext.m4: Update from GNU gettext. - * m4/iconv.m4: Update from GNU gettext. - * m4/lcmessage.m4: Update from GNU gettext. - * m4/progtest.m4: Update from GNU gettext. - * m4/libtool.m4: Update from GNU gettext. - 2003-02-16 Bruno Haible <bruno@clisp.org> - Workaround autoconf >= 2.52 breakage. - * libtool.m4 (AC_LIBTOOL_ARG_WITH): New macro. - (_LT_AC_LTCONFIG_HACK, AC_PROG_LD): Use it. - * autoconf/ltmain.sh: Update from GNU gettext. - 2003-02-18 Bruno Haible <bruno@clisp.org> - Fix the 2002-09-16 fix. - * ltmain.sh (install): If "ln -s -f" fails (this is the case - with /usr/bin/ln on Solaris 2.7), fall back to "rm && ln -s". - -2003-04-05 Bruno Haible <bruno@clisp.org> - - Start using automake. - * configure.in: Add AM_INIT_AUTOMAKE invocation. - (PACKAGE, VERSION): Remove. - Use AC_CANONICAL_HOST instead of CL_CANONICAL_HOST. - Use AC_PROG_LN_S instead of CL_PROG_LN_S. - Use AC_PROG_RANLIB instead of CL_PROG_RANLIB. - Reorder so that AC_CANONICAL_HOST comes early but still after - AC_PROG_CC. - * m4/ranlib.m4: Remove file. - * m4/libtool.m4: Undo AC_ -> CL_ substitutions. - * Makefile.devel (CLISP_DIR): Comment out. - (AUTOCONF_FILES): Change to aclocal.m4. - (aclocal.m4): Renamed from autoconf/aclocal.m4. Update dependencies. - (configure.in): Drop --include option. - -2003-03-17 Bruno Haible <bruno@clisp.org> - - Improved MSVC support. - * Makefile.msvc (prefix): Use less Unixy value. - (local_prefix): Remove variable. - (libdir, includedir, mandir): Use backslashes. - (bindir, datadir, localedir, docdir): New variables. - (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): New variables. - (all): Recurse into po/ and man/. - (install, installdirs, uninstall): Rewritten. - (check, mostlyclean, clean, distclean, maintainer-clean): Recurse - into po/ and man/. - * lib/Makefile.msvc (prefix): Use less Unixy value. - (local_prefix): Remove variable. - (libdir): Use backslashes. - (bindir): New variable. - (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Set to real values. - (RESOURCES): Enable iconv.res. - (install, installdirs, uninstall): New rules. - (clean): Remove config.h. - (distclean): Don't remove config.h here. - * src/Makefile.msvc (prefix, exec_prefix, bindir): New variables. - (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): New variables. - (install, installdirs, uninstall): New rules. - * man/Makefile.msvc: New file. - * tests/Makefile.msvc (install, installdirs, uninstall): New rules. - * Makefile.devel (all): Depend on po/Makefile.msvc. - (po/Makefile.msvc): New rule. - * windows/iconv.rc: Update. - * README.woe32: Mention automatic installation command. - - Rename libcharset.h to localcharset.h. - * lib/iconv.c: Include localcharset.h, not libcharset.h. - * Makefile.in (lib/localcharset.h): Renamed from lib/libcharset.h. - (all, install): Update dependencies. - (all): Create lib/localcharset.h, not lib/libcharset.h. - (mostlyclean, clean, distclean, maintainer-clean): Remove - lib/localcharset.h, not lib/libcharset.h. - * djgpp/README.in, djgpp/README: Update. - * djgpp/config.bat: Update. - * djgpp/config.sed: Update. - * djgpp/fnchange.in, djgpp/fnchange.lst: Update. - -2003-01-31 Bruno Haible <bruno@clisp.org> - - * src/Makefile.in (all): Don't do the chmod if it has already been - done. - -2003-01-31 Bruno Haible <bruno@clisp.org> - - * lib/loop_unicode.h (unicode_transliterate): Enable recursive - transliteration. Idea from Perry Rapp. - * lib/gentranslit.c (main): Change bound from 0x10000 to 0x110000. - Change element type of translit_data to 'unsigned int'. - * lib/translit.def: Many new transliterations, mostly taken from glibc. - * lib/translit.h: Regenerated. - * tests/Translit1.ISO-8859-1, tests/Translit1.ASCII: New files. - * tests/Makefile.in (check): Add Translit1 check. - * tests/Makefile.msvc (check): Likewise. - * tests/Makefile.os2 (check): Likewise. - * tests/TranslitFail1.ISO-8859-1: Choose a sentence which the new - improved transliteration cannot do. - -2003-02-14 Bruno Haible <bruno@clisp.org> - - * Makefile.devel (AUTOCONF): Switch to autoconf-2.57. - (configure): Update rule. - -2003-01-03 Albert Chin <libtool@thewrittenword.com> - - * autoconf/ltmain.sh: Don't pass -R flags found in a .la's - dependency_libs variable directly down to the linker. - Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>. - -2003-01-01 Bruno Haible <bruno@clisp.org> - - * src/Makefile.in (install): Use libiconv.la in ../lib, not in - $(libdir), so that installing with DESTDIR works. - Reported by Michael Adams <michael@michaeladams.org>. - -2003-01-01 Bruno Haible <bruno@clisp.org> - - * Makefile.in (mkinstalldirs): New variable. - (install-lib, install, installdirs): Use it instead of mkdir. - * lib/Makefile.in (mkinstalldirs): New variable. - (install-lib, install, installdirs): Use it instead of mkdir. - * man/Makefile.in (mkinstalldirs): New variable. - (install, installdirs): Use it instead of mkdir. - * src/Makefile.in (mkinstalldirs): New variable. - (install, installdirs): Use it instead of mkdir. - -2002-09-27 Bruno Haible <bruno@clisp.org> - - * autoconf/mkinstalldirs: Upgrade to automake-1.7.2 version. - -2002-11-07 Bruno Haible <bruno@clisp.org> - - * m4/libtool.m4: Upgrade to libtool-1.4.3. - * autoconf/ltmain.sh: Upgrade to libtool-1.4.3. - -2002-07-14 Bruno Haible <bruno@clisp.org> - - * m4/libtool.m4 (_LT_AC_LTCONFIG_HACK): Add support for GNU/FreeBSD. - -2002-06-12 Bruno Haible <bruno@clisp.org> - - * configure.in: Use new AC_* names of libtool macros. Invoke - AC_LIBTOOL_WIN32_DLL. - -2002-12-19 Bruno Haible <bruno@clisp.org> - - * lib/Makefile.in (libiconv_plug_solaris.so): Change rule if using gcc. - Reported by Henry Nelson <henry@irm.nara.kindai.ac.jp>. - -2002-11-07 Bruno Haible <bruno@clisp.org> - - Make "make install" without prior "make" work. - * Makefile.in (lib/libcharset.h): New rule. - (all, install): Depend on it. - Reported by Martin Mokrejš <mmokrejs@natur.cuni.cz>. - -2002-10-28 Bruno Haible <bruno@clisp.org> - - * man/Makefile.in (install): Change directory back to the working - directory, so that install-sh (which may be a relative pathname) is - found in the right place. - -2002-09-16 Bruno Haible <bruno@clisp.org> - - * autoconf/ltmain.sh (install): Use "ln -s -f" instead of - "rm -f && ln -s" to make a symlink for a shared library. - Reported by Nelson H. F. Beebe <beebe@math.utah.edu>. - -2002-09-02 Bruno Haible <bruno@clisp.org> - - * src/iconv.c (main): Don't call bindtextdomain if !ENABLE_NLS. - -2002-08-16 Bruno Haible <bruno@clisp.org> - - * src/iconv.c (main): Perform fflush before testing ferror(stdout). - -2002-05-29 Bruno Haible <bruno@clisp.org> - - * Version 1.8 released. - -2002-05-26 Bruno Haible <bruno@clisp.org> - - * lib/c99.h: New file. - * lib/converters.h: Include it. - * lib/encodings.def (C99): New encoding. - * README, man/iconv_open.3: Document C99 encoding. - -2002-05-26 Bruno Haible <bruno@clisp.org> - - * lib/java.h (java_mbtowc): Accept 12-byte sequences for non-BMP - characters. - (java_wctomb): Produce 12-byte sequences for non-BMP characters. - -2002-05-29 Bruno Haible <bruno@clisp.org> - - Fix installation of iconv program when linked with a libintl that was - built against an earlier libiconv. - * src/iconv.c: Conditionally disable NLS. - * src/iconv_no_i18n.c: New file. - * src/Makefile.in (libdir): New variable. - (all): Depend on iconv_no_i18n, iconv.@OBJEXT@ but not iconv. Make - directory writable, so iconv executable can be created during "make - install". - (iconv): Remove rule. - (iconv_no_i18n, iconv_no_i18n.@OBJEXT@): New rules. - (install): Link iconv now, after the new libiconv.so is installed. - (clean): Also remove iconv_no_i18n. - * tests/Makefile.in: (check, check-extra-yes): Depend on iconv_no_i18n, - not iconv. - * tests/check-stateful: Use iconv_no_i18n, not iconv. - * tests/check-translit: LIkewise. - * tests/check-translitfailure: Likewise. - -2002-05-29 Bruno Haible <bruno@clisp.org> - - * configure.in: Call AC_PROG_INSTALL instead of CL_PROG_INSTALL. - * m4/install.m4: Remove file. - * Makefile.devel (autoconf/aclocal.m4): Don't depend on m4/install.m4. - -2002-05-24 Bruno Haible <bruno@clisp.org> - - * lib/jisx0213.h: Use 'inline' only conditionally. - -2002-05-18 Bruno Haible <bruno@clisp.org> - - * configure.in (AC_INIT), include/iconv.h.in (_LIBICONV_VERSION), - README, windows/iconv.rc, djgpp/README, djgpp/fnchange.lst: - Bump version number. - * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 3:0:1. - -2002-02-06 Bruno Haible <bruno@clisp.org> - - * autoconf/ltmain.sh: Upgrade from libtool-1.4 to libtool-1.4.2. - -2002-02-02 Bruno Haible <bruno@clisp.org> - - * autoconf/ltmain.sh: Add DESTDIR support on ELF systems. - -2001-11-03 Bruno Haible <haible@clisp.cons.org> - - * autoconf/ltmain.sh: chmod 777 the .libs directory, so that - "make install" succeeds. - -2002-05-18 Bruno Haible <bruno@clisp.org> - - * src/Makefile.in (iconv): Remove the -liconv dependency of -lintl - from the command line. Needed to ensure that the new libiconv version - is used on FreeBSD. - -2002-05-14 Bruno Haible <bruno@clisp.org> - - Implement and document CP853, TDS565, RISCOS-LATIN1. - * tools/Makefile (ALL): Add cp853.h, tds565.h, riscos1.h. - (cp853.h, tds565.h, riscos1.h): New rules. - * lib/cp853.h: New file. - * lib/tds565.h: New file. - * lib/riscos1.h: New file. - * lib/converters.h: Include them. - * lib/encodings_dos.def (CP853): New encoding. - * lib/encodings_extra.def (TDS565, RISCOS-LATIN1): New encodings. - * README, man/iconv_open.3: Add CP853, TDS565, RISCOS-LATIN1. - * tests/Makefile.in (check-extra-yes): Check CP853, TDS565, - RISCOS-LATIN1. - * tests/Makefile.msvc (check): Check CP853. - * tests/CP853.TXT: New file. - * tests/TDS565.TXT: New file. - * tests/RISCOS-LATIN1.TXT: New file. - - * lib/cp860.h (cp860_wctomb): Optimize. - -2002-05-12 Bruno Haible <bruno@clisp.org> - - * tools/Makefile (ksc5601.h): Add two extra characters. - * lib/ksc5601.h: Regenerated. - * tests/EUC-KR.TXT: Add EURO SIGN and REGISTERED SIGN. - * tests/CP949.TXT: Likewise. - * tests/JOHAB.TXT: Likewise. - -2002-05-12 Bruno Haible <bruno@clisp.org> - - * README: Mention extra encodings. - * man/iconv_open.3: Likewise. Improve formatting in text and html - output formats. - -2002-05-12 Bruno Haible <bruno@clisp.org> - - * tests/SHIFT_JIS.TXT: Renamed from tests/SHIFT-JIS.TXT. - -2002-05-12 Bruno Haible <bruno@clisp.org> - - * Makefile.devel (AUTOCONF): New variable. - (AUTOCONF_FILES): Remove autoconf/autoconf.m4f. - (configure): Use the AUTOCONF variable. - * autoconf/autoconf: Remove file. - * autoconf/autoconf.m4: Remove file. - * autoconf/autoconf.m4f: Remove file. - -2002-05-12 Bruno Haible <bruno@clisp.org> - - * tools/JISX0213.TXT: New file. - * tools/cjk_tab_to_h.c (do_jisx0213): New function. - (main): Accept "jisx0213". - * tools/Makefile (all): Add jisx0213.h. - (jisx0213.h): New rule. - * lib/jisx0213.h: New file, generated by cjk_tab_to_h. - * lib/euc_jisx0213.h: New file. - * lib/shift_jisx0213.h: New file. - * lib/iso2022_jp3.h: New file. - * lib/converters.h: Include them. - * lib/encodings_extra.def (EUC-JISX0213, SHIFT_JISX0213, - ISO-2022-JP-3): New encodings. - * tests/EUC-JISX0213.TXT: New file. - * tests/SHIFT_JISX0213.TXT: New file. - * tests/ISO-2022-JP-3-snippet: New file. - * tests/ISO-2022-JP-3-snippet.UTF-8: New file. - * tests/Makefile.in (check-extra): Also check EUC-JISX0213, - SHIFT_JISX0213, ISO-2022-JP-3. - * tests/check-stateless: Add support for encodings which contain - precomposed Unicode characters, by eliminating precomposed characters - before the comparison. - * tests/table-from.c (main): Fix usage message. - * tests/table-to.c (main): Make it work for encodings for which the - "to" direction is stateful. - -2002-05-09 Bruno Haible <bruno@clisp.org> - - New configure option --enable-extra-encodings. - * lib/encodings_extra.def: New file. - * lib/converters.h: Handle USE_EXTRA. - * lib/genaliases2.c (main): Handle USE_EXTRA. - * lib/genflags.c: Define USE_EXTRA. - (main): Include encodings_extra.def. - * lib/iconv.c: Handle ENABLE_EXTRA, conditionally set USE_EXTRA. - Handle USE_EXTRA. - * lib/config.h.in (ENABLE_EXTRA): New macro. - * configure.in: Accept option --enable-extra-encodings. - * Makefile.devel (all): Depend on lib/aliases_extra.h. - (lib/aliases_extra.h): New rule. - (lib/flags.h): Depend on lib/encodings_extra.def. - * tests/Makefile.in (check-extra, check-extra-no, check-extra-yes): - New rules. - (check): Invoke check-extra. - * tests/Makefile.msvc (check): Also check the DOS encodings. - - Support for testing the AIX encodings. - * tests/CP856.TXT: New file. - * tests/CP922.TXT: New file. - * tests/CP1046.TXT: New file. - * tests/CP1124.TXT: New file. - * tests/CP1129.TXT: New file. - * tests/CP1161.TXT, tests/CP1161.IRREVERSIBLE.TXT: New files. - * tests/CP1162.TXT: New file. - * tests/CP1163.TXT, tests/CP1163.IRREVERSIBLE.TXT: New files. - - Support for testing the OSF/1 encodings. - * tests/DEC-KANJI.TXT: New file. - * tests/DEC-HANYU.TXT, tests/DEC-HANYU.IRREVERSIBLE.TXT: New files. - - Support for testing the DOS encodings. - * tests/CP437.TXT: New file. - * tests/CP737.TXT: New file. - * tests/CP775.TXT: New file. - * tests/CP852.TXT: New file. - * tests/CP855.TXT: New file. - * tests/CP857.TXT: New file. - * tests/CP858.TXT: New file. - * tests/CP860.TXT: New file. - * tests/CP861.TXT: New file. - * tests/CP863.TXT: New file. - * tests/CP864.TXT: New file. - * tests/CP865.TXT: New file. - * tests/CP869.TXT: New file. - * tests/CP1125.TXT: New file. - -2002-05-09 Bruno Haible <bruno@clisp.org> - - Implement more ASCII compatible DOS encodings. - * tools/Makefile (ALL): Add cp737.h, cp858.h, cp860.h, cp863.h. - (cp737.h, cp858.h, cp860.h, cp863.h): New rules. - * lib/cp737.h: New file. - * lib/cp858.h: New file. - * lib/cp860.h: New file. - * lib/cp863.h: New file. - * lib/converters.h: Include them. - * lib/encodings_dos.def (CP737, CP858, CP860, CP863): New encodings. - -2002-05-09 Bruno Haible <bruno@clisp.org> - - Implement new ASCII compatible encodings from IBM. - * tools/Makefile (ALL): Add cp1161.h, cp1162.h, cp1163.h. - (cp1161.h, cp1162.h, cp1163.h): New rules. - * lib/cp1161.h: New file. - * lib/cp1162.h: New file. - * lib/cp1163.h: New file. - * lib/converters.h: Include them. - * lib/encodings_aix.def (CP1161, CP1162, CP1163): New encodings. - -2002-05-09 Bruno Haible <bruno@clisp.org> - - Implement and document KOI8-T. - * tools/Makefile (ALL): Add koi8_t.h. - (koi8_t.h): New rule. - * lib/koi8_t.h: New file. - * lib/converters.h: Include it. - * lib/encodings.def (KOI8-T): New encoding. - * README, man/iconv_open.3: Add KOI8-T. - * tests/Makefile.in (tests): Check KOI8-T. - * tests/Makefile.os2 (tests): Likewise. - * tests/Makefile.msvc (tests): Likewise. - * tests/KOI8-T.TXT: New file. - -2002-05-09 Bruno Haible <bruno@clisp.org> - - * tools/8bit_tab_to_h.c (main): Update copyright year. - * tools/cjk_variants.c (main): Likewise. - -2002-05-08 Bruno Haible <bruno@clisp.org> - - * README.woe32: Renamed from README.win32. - -2002-05-08 Bruno Haible <bruno@clisp.org> - - * lib/iconv.c: Enable DOS encodings also when compiling for Woe32, - because the Woe32 consoles use them. - -2002-05-04 Bruno Haible <bruno@clisp.org> - - * lib/loop_unicode.h (unicode_loop_convert): When quitting the loop - without writing an output character, restore cd->istate to its value - before the xxx_mbtowc call. Otherwise we lose some characters during - CP1255/CP1258/TCVN to Unicode conversion. - (unicode_loop_reset): Likewise for the xxx_flushwc call. - * tests/CP1255-snippet, tests/CP1255-snippet.UTF-8: Make the test - files large enough to test against the bug. - * tests/CP1258-snippet, tests/CP1258-snippet.UTF-8: Likewise. - * tests/TCVN-snippet, tests/TCVN-snippet.UTF-8: Likewise. - -2002-04-28 Bruno Haible <bruno@clisp.org> - - * tools/Makefile (armscii_8.h): Use table from glibc-2.2.90. - * tests/ARMSCII-8.TXT: Update to glibc-2.2.90 version. - * tests/ARMSCII-8.IRREVERSIBLE.TXT: Remove 0x0027. - * lib/armscii_8.h: Regenerated. - -2002-04-28 Bruno Haible <bruno@clisp.org> - - * src/iconv.c: Include gettext.h. - (_): New macro. - (usage, print_version, convert, main): Internationalize. - (main): Call setlocale, bindtextdomain, textdomain. - * src/gettext.h: New file, from GNU gettext 0.11.2. - * src/config.h.in: New file, needed for ENABLE_NLS. - * src/Makefile.in (datadir, localedir): New variables. - (iconv): Link with @LTLIBINTL@. - (iconv.@OBJEXT@): Define LOCALEDIR. - (distclean): Remove config.h. - * po: New directory. - * Makefile.in (all, install, installdirs, uninstall, check, - mostlyclean, clean, distclean, maintainer-clean): Recurse into the po - directory. - * autoconf/mkinstalldirs: New file, from automake-1.5. - * ABOUT-NLS: New file, from GNU gettext 0.11.2. - * m4/codeset.m4: New file, from GNU gettext 0.11.2. - * m4/gettext.m4: New file, from GNU gettext 0.11.2. - * m4/glibc21.m4: New file, from GNU gettext 0.11.2. - * m4/isc-posix.m4: New file, from GNU gettext 0.11.2. - * m4/lcmessage.m4: New file, from GNU gettext 0.11.2. - * m4/progtest.m4: New file, from GNU gettext 0.11.2. - * configure.in: Require autoconf-2.52, needed for multiple config.h.in - files. Use new form of AC_INIT. Invoke AM_GNU_GETTEXT. - (PACKAGE, VERSION): Define, needed for po/Makefile.in.in. - * lib/config.h.in (HAVE_LOCALE_H, HAVE_SETLOCALE): Remove. - -2002-04-28 gettextize <bug-gnu-gettext@gnu.org> - - * configure.in (AC_OUTPUT): Add po/Makefile.in. - -2002-04-28 Bruno Haible <bruno@clisp.org> - - * m4/eilseq.m4: Renamed from autoconf/eilseq.m4. - * m4/mbstate_t.m4: Renamed from autoconf/mbstate_t.m4. - * m4/general.m4: New file, from GNU clisp. - * m4/proto.m4: New file, from GNU clisp. - * m4/ranlib.m4: New file, from GNU clisp. - * m4/install.m4: New file, from GNU clisp. - * m4/cp.m4: New file, from GNU clisp. - * m4/ln.m4: New file, from GNU clisp. - * m4/endian.m4: New file, from GNU clisp. - * m4/iconv.m4: New file, from GNU gettext 0.11.2. - * m4/lib-ld.m4: New file, from GNU gettext 0.11.2. - * m4/lib-link.m4: New file, from GNU gettext 0.11.2. - * m4/lib-prefix.m4: New file, from GNU gettext 0.11.2. - * autoconf/config.rpath: New file, from GNU gettext 0.11.2. - * m4/libtool.m4: New file, based on libtool-1.4.2. - * Makefile.devel (ACLOCAL): Remove variable. - (ACSELECT): Remove variable. - (OTHERMACROS): Remove variable. - (m4/*.m4): New rules. - (autoconf/aclocal.m4): Construct using aclocal instead of acselect. - * configure.in: Invoke AM_ICONV instead of CL_ICONV. - -2002-04-06 Bruno Haible <bruno@clisp.org> - - Upgrade to Unicode 3.2. - * tools/cjk_tab_to_h.c (output_title): Bump copyright year. - (compact_large_charset2uni): Add an argument. Determine optimal shift. - Copy modified enc->charset2uni table. - (output_charset2uni): Deal with shift other than 8. Copy encoding, so - as to not disturb subsequent output_uni2charset[_sparse] call. - * lib/hkscs.h: Regenerated. - * tests/BIG5-HKSCS.TXT: Update. - * tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Update. - -2002-04-06 Bruno Haible <bruno@clisp.org> - - Upgrade to Unicode 3.2. - * tools/Makefile (cns11643_1.h, cns11643_2.h, cns11643_3.h, - cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h, - cns11643_7.h, cns11643_15.h, cns11643_inv.h): Use - CNS11643-Unicode32.TXT instead of CNS11643-Unicode31.TXT. - * lib/cns11643_3.h: Regenerated. - * lib/cns11643_4a.h: Regenerated. - * lib/cns11643_4b.h: Regenerated. - * lib/cns11643_5.h: Regenerated. - * lib/cns11643_6.h: Regenerated. - * lib/cns11643_7.h: Regenerated. - * lib/cns11643_15.h: Regenerated. - * lib/cns11643_inv.h: Regenerated. - * tests/EUC-TW.TXT: Update. - -2002-01-17 Bruno Haible <bruno@clisp.org> - - * lib/tcvn.h (tcvn_2uni_1): Make it smaller. - (tcvn_mbtowc): Small optimization. - -2002-01-13 Bruno Haible <bruno@clisp.org> - - New options -l, -c, -s. - * src/iconv.c (discard_unconvertible, silent): New variables. - (usage): Document options -l, -c, -s. - (print_one): New function. - (convert): If silent is true, don't print error messages about the - conversion to stderr. If discard_unconvertible is true, set the - iconv descriptor to DISCARD_ILSEQ the first time, but make sure to - return the same return code as when discard_unconvertible is false. - (main): Accept options -l, -c, -s. Implement option -l. - * man/iconv.1: Document options -l, -c, -s. - -2002-01-13 Bruno Haible <bruno@clisp.org> - - Support for "iconv -c". - * include/iconv.h.in (ICONV_GET_DISCARD_ILSEQ): New macro. - (ICONV_SET_DISCARD_ILSEQ): Likewise. - * lib/converters.h (struct conv_struct): New field discard_ilseq. - * lib/iconv.c (iconv_open): Set discard_ilseq to true if tocode - has an "//IGNORE" suffix, and to false otherwise. - (iconvctl): Implement ICONV_GET_DISCARD_ILSEQ, ICONV_SET_DISCARD_ILSEQ. - * lib/loop_unicode.h (unicode_loop_convert): If discard_ilseq is - true, skip one input character instead of returning EILSEQ. - (unicode_loop_reset): Likewise. - * lib/loop_wchar.h (wchar_from_loop_convert): Likewise. - (wchar_to_loop_convert): Likewise. - -2002-01-13 Bruno Haible <bruno@clisp.org> - - Support for "iconv -l". - * include/iconv.h.in (iconvlist): New declaration. - * Makefile.devel (lib/aliases.h): Change gperf options. - * lib/iconv.c (compare_by_index, compare_by_name, iconvlist): New - functions. - -2002-01-06 Bruno Haible <bruno@clisp.org> - - * lib/loop_unicode.h (unicode_transliterate): If the transliteration - fails due to limited output encoding, return RET_ILUNI, not - RET_TOOSMALL. Reported by Nelson H. F. Beebe <beebe@math.utah.edu>. - * tests/check-translitfailure: New file. - * tests/TranslitFail1.ISO-8859-1: New file. - * tests/Makefile.in (check): Call check-translitfailure. - -2001-12-15 Bruno Haible <bruno@clisp.org> - - * lib/euc_jp.h (euc_jp_wctomb): Add irreversible mappings for - Shift_JIS characters 0x5C and 0x7E. - * tests/EUC-JP.IRREVERSIBLE.TXT: New file. - -2001-12-05 Bruno Haible <bruno@clisp.org> - - * lib/iconv.c (iconv_open): Recognize the empty encoding name. Avoid - endless loop if locale_charset() returns the empty string. - * README, man/iconv_open.3: Add the empty encoding name. - -2001-11-10 Bruno Haible <haible@clisp.cons.org> - - * lib/Makefile.in (libiconv_plug_linux.so): Allow building it with a - non-gcc compiler. - -2001-10-23 Bruno Haible <haible@clisp.cons.org> - - * tools/Makefile (cp1125.h): New target. - (ALL): Add it. - * lib/cp1125.h: New file. - * lib/converters.h: Include it. - * lib/encodings_dos.def (CP1125): New encoding. - -2001-09-08 Bruno Haible <haible@clisp.cons.org> - - * autoconf/eilseq.m4: New file. - * Makefile.devel (OTHERMACROS): Add it. - * configure.in: Call AC_EILSEQ. - * include/iconv.h.in (EILSEQ): Define to the autoconf determined value. - -2001-08-25 Bruno Haible <haible@clisp.cons.org> - - Upgrade to autoconf-2.52. - * autoconf/autoconf: Upgrade to autoconf-2.52. - * autoconf/acgeneral.m4: Remove file. - * autoconf/acspecific.m4: Remove file. - * autoconf/autoconf.m4f: New file, from autoconf-2.52. - * autoconf/aclocal.m4: Require autoconf-2.52. - (CL_CANONICAL_HOST): Call AC_CANONICAL_HOST. Don't cache the result, - AC_CANONICAL_HOST does it itself. Add $SHELL in front of - $ac_config_guess and $ac_config_sub. - * Makefile.devel (AUTOCONF_FILES): Remove acgeneral.m4, acspecific.m4. - Add autoconf.m4f. - (configure): Use autoconf options -A, -l instead of -m. - * configure.in: Use AC_CONFIG_SUBDIRS, not AC_OUTPUT_SUBDIRS. - -2001-08-05 Bruno Haible <haible@clisp.cons.org> - - * autoconf/acgeneral.m4 (AC_MSG_RESULTPROTO): Remove macro. - (AC_LANG_EXTERN): Move to aclocal.m4. - * autoconf/aclocal.m4 (AC_LANG_EXTERN): Moved here from acgeneral.m4. - (CL_PROTO): Use AC_MSG_RESULT directly, instead of AC_MSG_RESULTPROTO. - (CL_SILENT): No need to pushdef AC_MSG_RESULTPROTO. - -2001-08-05 Bruno Haible <haible@clisp.cons.org> - - Make it possible to build libiconv with CC=gcc CFLAGS="-x c++". - * lib/loop_wchar.h (wchar_to_loop_convert): Rename local variable - 'try' to 'incount'. - * lib/Makefile.in (libiconv_plug_linux.so): Add "-x none" option - between sources and libs. - (libiconv_plug_solaris.so) [GCC]: Likewise. - (libiconv_plug_osf.so) [GCC]: Likewise. - * src/Makefile.in (iconv.@OBJEXT@): New rule. - (iconv): Depend on it. - (clean): Erase *.@OBJEXT@, not *.o. - * tests/Makefile.in (table-from.@OBJEXT@): New rule. - (table-from): Depend on it. - (table-to.@OBJEXT@): New rule. - (table-to): Depend on it. - (clean): Erase *.@OBJEXT@, not *.o. - -2001-07-28 Bruno Haible <haible@clisp.cons.org> - - * tools/Makefile (iso8859_16.h): Generate from the unicode.org table. - * lib/iso8859_16.h: Regenerated. - * tests/ISO-8859-16.TXT: Swap the values of 0xA5 and 0xAB. - -2001-07-17 Bruno Haible <haible@clisp.cons.org> - - * configure.in (VERSION): Define. Needed by djgpp/Makefile.maint. - -2001-07-03 Bruno Haible <haible@clisp.cons.org> - - * configure.in: Also check for mbsinit. - * lib/loop_wchar.h (mbsinit): Define to 1 if not defined. - Needed for SCO 3.2v5.0.2. - -2001-06-27 Bruno Haible <haible@clisp.cons.org> - - * Version 1.7 released. - -2001-06-27 Bruno Haible <haible@clisp.cons.org> - - * INSTALL.generic (Particular Systems): Generalize section about - /usr/local to "most systems". - - * lib/Makefile.in (all): Build @PLUGLIB@ before libiconv.la, because - Solaris cc destroys iconv.o and iconv.lo while building - libiconv_plug_solaris.so. - (clean): Remove so_locations, left there by the OSF/1 linker. - - * lib/cp1255.h (cp1255_decomp): Use 'signed int' instead of 'int'. - - * lib/vietcomb.h (viet_decomp): Use 'unsigned int' instead of - 'unsigned short'. - - * tests/table-from.c: Include string.h. - * tests/table-to.c: Likewise. - -2001-06-26 Bruno Haible <haible@clisp.cons.org> - - * tools/Makefile (jisx0208.h): Replace U+005C with U+FF3C. - (jisx0212.h): Replace U+007E with U+FF5E. - * lib/jisx0208.h: Regenerated. - * lib/jisx0212.h: Regenerated. - * tests/EUC-JP.TXT: Map 0xA1C0 to U+FF3C. Map 0x8FA2B7 to U+FF5E. - * tests/EUC-JP.IRREVERSIBLE.TXT: Remove file. - * tests/SHIFT-JIS.TXT: Map 0x815F to U+FF3C. - * tests/CP932.TXT: Likewise. - * tests/CP932.IRREVERSIBLE.TXT: 0x815F mapping is now reversible. - -2001-06-25 Bruno Haible <haible@clisp.cons.org> - - * src/Makefile.in (iconv): Mention $(INCLUDES) before $(CFLAGS) and - $(CPPFLAGS). - * src/Makefile.msvc (iconv.exe): Likewise. - * src/Makefile.os2 (iconv.exe): Likewise. - * lib/Makefile.in (libiconv_plug_linux.so): Likewise. - (libiconv_plug_solaris.so): Likewise. - (libiconv_plug_osf.so): Likewise. - (iconv.lo): Likewise. - * lib/Makefile.msvc (iconv.obj): Likewise. - * lib/Makefile.os2 (iconv.obj): Likewise. - * tests/Makefile.in (table-from, table-to): Likewise. - * tests/Makefile.msvc (table-from.exe, table-to.exe): Likewise. - * tests/Makefile.os2 (table-from.exe, table-to.exe): Likewise. - (genutf8.exe): Don't use $(INCLUDES). - -2001-06-25 Bruno Haible <haible@clisp.cons.org> - - * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc: - Bump version number. - * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:4:0. - -2001-06-25 Bruno Haible <haible@clisp.cons.org> - - * Makefile.devel (OTHERMACROS): Use libtool.m4 in libcharset subdir. - -2001-06-25 Bruno Haible <haible@clisp.cons.org> - - * lib/encodings.def: Make SHIFT_JIS the primary name of SJIS. - -2001-06-08 Bruno Haible <haible@clisp.cons.org> - - * autoconf/ltmain.sh: Upgrade to libtool-1.4. - * autoconf/ltconfig: Remove file. - -2001-06-08 Bruno Haible <haible@clisp.cons.org> - - * autoconf/config.guess: Update to GNU version 2001-05-11. - * autoconf/config.sub: Likewise. - -2001-06-03 Bruno Haible <haible@clisp.cons.org> - - * lib/loop_unicode.h (unicode_loop_convert): Ignore Unicode 3.1 tag - characters if they cannot be converted. - (unicode_loop_reset): Likewise. - * lib/iso2022_jp2.h (STATE_TAG_NONE, STATE_TAG_LANGUAGE, - STATE_TAG_LANGUAGE_j, STATE_TAG_LANGUAGE_ja, STATE_TAG_LANGUAGE_k, - STATE_TAG_LANGUAGE_ko, STATE_TAG_LANGUAGE_z, STATE_TAG_LANGUAGE_zh): - New macros. - (SPLIT_STATE, COMBINE_STATE): Different differently for wctomb - direction. - (iso2022_jp2_wctomb): Keep track of Unicode 3.1 language tag. - If "ja", prefer conversion to Japanese character sets. If "zh", - prefer conversion to GB2312. If "ko", prefer conversion to KSC5601. - - * lib/converters.h (RET_ILUNI): Change value from 0 to -1. - (RET_TOOSMALL): Change value from -1 to -2. - * lib/loop_unicode.h (unicode_transliterate): Allow xxx_wctomb to - return 0 written bytes. - -2001-06-06 Bruno Haible <haible@clisp.cons.org> - - * lib/encodings.def: Align with IANA character-set registry. - (US-ASCII): Add alias "ANSI_X3.4-1986". - (ISO-8859-14): Add alias "ISO-CELTIC". - (JIS_X0208): Add alias "JIS_C6226-1983". - (BIG5HKSCS): Add alias "BIG5-HKSCS". - * README, man/iconv_open.3: Rename BIG5HKSCS to BIG5-HKSCS. - * tests/Makefile.in (check): Likewise. - * tests/Makefile.os2 (check): Likewise. - * tests/Makefile.msvc (check): Likewise. - * tests/BIG5-HKSCS.TXT: Renamed from BIG5HKSCS.TXT. - * tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Renamed from - BIG5HKSCS.IRREVERSIBLE.TXT. - -2001-06-02 Bruno Haible <haible@clisp.cons.org> - - * tools/cjk_tab_to_h.c (Encoding): Add fffd field. - (is_charset2uni_large, compact_large_charset2uni): New functions. - (find_charset2uni_pages): Use enc->fffd instead of 0xfffd. - (output_charset2uni): If mapping to more than the Unicode BMP, - use an extra indirection to keep each value in 16 bits. - (invert): Bump limit from U+10000 to U+30000. - (output_uni2charset_dense): Likewise. - (output_uni2charset_sparse): Likewise. If mapping to more than one - CJK plane, use three bytes per value instead of two bytes. - (byte_row_cns11643): Allow more than 3 CJK planes. - (do_cns11643_only_uni2charset): Increase number of rows, to include - plane 15. Remove plane bits hack. - (main): Accept names cns11643_4a,4b,5,6,7,15 as well. - * tools/Makefile (ALL): Add cns11643_4a.h, cns11643_4b.h, cns11643_5.h, - cns11643_6.h, cns11643_7.h, cns11643_15.h. - (cns11643_1.h, cns11643_2.h, cns11643_3.h): Use new Unicode 3.1 - derived table. - (cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h, - cns11643_7.h, cns11643_15.h): New rules. - (cns11643_inv.h): Change title. - * lib/cns11643_1.h: Regenerated from Unicode 3.1 derived table. - * lib/cns11643_3.h: Likewise. - * lib/cns11643_4a.h: New file. - * lib/cns11643_4b.h: New file. - * lib/cns11643_4.h: New file. - * lib/cns11643_5.h: New file. - * lib/cns11643_6.h: New file. - * lib/cns11643_7.h: New file. - * lib/cns11643_15.h: New file. - * lib/cns11643_inv.h: Regenerated from Unicode 3.1 derived table. - (cns11643_inv_wctomb): Return 3 bytes now. - * lib/cns11643.h: Include cns11643_4.h, cns11643_5.h, cns11643_6.h, - cns11643_7.h, cns11643_15.h. - (cns11643_wctomb): Now a simple alias to cns11643_inv_wctomb. Return - plane number starting at 1, not 0. - * lib/dec_hanyu.h (dec_hanyu_wctomb): Update for cns11643_wctomb - change. - * lib/euc_tw.h (euc_tw_mbtowc): Accept CNS11643 planes 4,5,6,7,15 as - well. - (euc_tw_wctomb): Update for cns11643_wctomb change. - * lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise. - * lib/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Accept CNS11643 planes - 4,5,6,7 as well. - (iso2022_cn_ext_wctomb): Update for cns11643_wctomb change. - Try CNS11643 planes 4,5,6,7 as well. - * tests/EUC-TW.TXT: Many additions, mostly in planes 3,4,5,6,7,15. - * tests/EUC-TW.IRREVERSIBLE.TXT: Reflect additions to CNS11643 plane 1. - Add U+5344. - -2001-06-01 Bruno Haible <haible@clisp.cons.org> - - * tests/table-from.c (bmp_only): New variable. - (ucs4_decode): If bmp_only, don't return characters outside Unicode - plane 0. - (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print - a conversion line if ucs4_decode returns NULL. - * tests/table-to.c (main): When testing encodings other than UTF-8 and - GB18030, loop upto U+30000 instead of U+10000. - -2001-05-24 Bruno Haible <haible@clisp.cons.org> - - * lib/converters.h (mbtowc_funcs): Add flushwc member function. - * lib/flushwc.h: New file. - * lib/cp1255.h: Include flushwc.h. - (cp1255_comp_table_data, cp1255_comp_table): New arrays. - (cp1255_mbtowc): Compose base and combining characters. - (cp1255_flushwc): New macro. - * lib/vietcomb.h (viet_comp_table_data, viet_comp_table): New arrays. - * lib/cp1258.h: Include flushwc.h. - (cp1258_mbtowc): Compose base and combining characters. - (cp1258_flushwc): New macro. - * lib/tcvn.h: Include flushwc.h. - (tcvn_mbtowc): Compose base and combining characters. - (tcvn_flushwc): New macro. - * lib/loop_unicode.h: (unicode_transliterate): New function, extracted - from unicode_loop_convert. - (unicode_loop_convert): Use unicode_transliterate. - (unicode_loop_reset): Call xxx_flushwc and output the resulting - character. - * lib/encodings.def: Add xxx_flushwc member. - * lib/encodings_aix.def: Likewise. - * lib/encodings_dos.def: Likewise. - * lib/encodings_local.def: Likewise. - * lib/encodings_osf1.def: Likewise. - * lib/genaliases.c: Add an argument to the DEFENCODING macro. - * lib/genaliases2.c: Likewise. - * lib/genflags.c: Likewise. - * lib/iconv.c: Likewise. - * tests/table-from.c (try): Reset the iconv descriptor before the main - call, and flush it afterwards. - (ucs4_decode): New function. - (main): Allow up to 3 Unicode characters output. Call ucs4_decode. - * tests/CP1255-snippet: New file. - * tests/CP1255-snippet.UTF-8: New file. - * tests/CP1258-snippet: New file. - * tests/CP1258-snippet.UTF-8: New file. - * tests/TCVN-snippet: New file. - * tests/TCVN-snippet.UTF-8: New file. - * tests/Makefile.in (check): Check combining behaviour of CP1255, - CP1258, TCVN. - * tests/Makefile.msvc (check): Likewise. - * tests/Makefile.os2 (check): Likewise. - -2001-05-22 Bruno Haible <haible@clisp.cons.org> - - * lib/converters.h (RET_ILUNI): New macro. - (RET_ILSEQ): Change value to -1. - (RET_TOOFEW): Change value. - * lib/loop_unicode.h (unicode_loop_convert): Write RET_ILUNI instead - of 0. Update handling of xxx_mbtowc return value. - * lib/genflags.c (emit_encoding): Likewise. - * lib/ascii.h (ascii_wctomb): Use RET_ILUNI instead of RET_ILSEQ. - * lib/armscii_8.h (armscii_8_wctomb): Likewise. - * lib/big5.h (big5_wctomb): Likewise. - * lib/big5hkscs.h (big5hkscs_wctomb): Likewise. - * lib/ces_big5.h (ces_big5_wctomb): Likewise. - * lib/ces_gbk.h (ces_gbk_wctomb): Likewise. - * lib/cns11643.h (cns11643_wctomb): Likewise. - * lib/cns11643_inv.h (cns11643_inv_wctomb): Likewise. - * lib/cp437.h (cp437_wctomb): Likewise. - * lib/cp775.h (cp775_wctomb): Likewise. - * lib/cp850.h (cp850_wctomb): Likewise. - * lib/cp852.h (cp852_wctomb): Likewise. - * lib/cp855.h (cp855_wctomb): Likewise. - * lib/cp856.h (cp856_wctomb): Likewise. - * lib/cp857.h (cp857_wctomb): Likewise. - * lib/cp861.h (cp861_wctomb): Likewise. - * lib/cp862.h (cp862_wctomb): Likewise. - * lib/cp864.h (cp864_wctomb): Likewise. - * lib/cp865.h (cp865_wctomb): Likewise. - * lib/cp866.h (cp866_wctomb): Likewise. - * lib/cp869.h (cp869_wctomb): Likewise. - * lib/cp874.h (cp874_wctomb): Likewise. - * lib/cp922.h (cp922_wctomb): Likewise. - * lib/cp932ext.h (cp932ext_wctomb): Likewise. - * lib/cp932.h (cp932_wctomb): Likewise. - * lib/cp936ext.h (cp936ext_wctomb): Likewise. - * lib/cp949.h (cp949_wctomb): Likewise. - * lib/cp950ext.h (cp950ext_wctomb): Likewise. - * lib/cp950.h (cp950_wctomb): Likewise. - * lib/cp1046.h (cp1046_wctomb): Likewise. - * lib/cp1124.h (cp1124_wctomb): Likewise. - * lib/cp1129.h (cp1129_wctomb): Likewise. - * lib/cp1133.h (cp1133_wctomb): Likewise. - * lib/cp1250.h (cp1250_wctomb): Likewise. - * lib/cp1251.h (cp1251_wctomb): Likewise. - * lib/cp1252.h (cp1252_wctomb): Likewise. - * lib/cp1253.h (cp1253_wctomb): Likewise. - * lib/cp1254.h (cp1254_wctomb): Likewise. - * lib/cp1255.h (cp1255_wctomb): Likewise. - * lib/cp1256.h (cp1256_wctomb): Likewise. - * lib/cp1257.h (cp1257_wctomb): Likewise. - * lib/cp1258.h (cp1258_wctomb): Likewise. - * lib/dec_hanyu.h (dec_hanyu_wctomb): Likewise. - * lib/dec_kanji.h (dec_kanji_wctomb): Likewise. - * lib/euc_cn.h (euc_cn_wctomb): Likewise. - * lib/euc_jp.h (euc_jp_wctomb): Likewise. - * lib/euc_kr.h (euc_kr_wctomb): Likewise. - * lib/euc_tw.h (euc_tw_wctomb): Likewise. - * lib/gb12345ext.h (gb12345ext_wctomb): Likewise. - * lib/gb12345.h (gb12345_wctomb): Likewise. - * lib/gb18030ext.h (gb18030ext_wctomb): Likewise. - * lib/gb18030.h (gb18030_wctomb): Likewise. - * lib/gb18030uni.h (gb18030uni_wctomb): Likewise. - * lib/gb2312.h (gb2312_wctomb): Likewise. - * lib/gbkext_inv.h (gbkext_inv_wctomb): Likewise. - * lib/gbk.h (gbk_wctomb): Likewise. - * lib/georgian_academy.h (georgian_academy_wctomb): Likewise. - * lib/georgian_ps.h (georgian_ps_wctomb): Likewise. - * lib/hkscs.h (hkscs_wctomb): Likewise. - * lib/hp_roman8.h (hp_roman8_wctomb): Likewise. - * lib/hz.h (hz_wctomb): Likewise. - * lib/iso2022_cnext.h (iso2022_cn_ext_wctomb): Likewise. - * lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise. - * lib/iso2022_jp1.h (iso2022_jp1_wctomb): Likewise. - * lib/iso2022_jp2.h (iso2022_jp2_wctomb): Likewise. - * lib/iso2022_jp.h (iso2022_jp_wctomb): Likewise. - * lib/iso2022_kr.h (iso2022_kr_wctomb): Likewise. - * lib/iso646_cn.h (iso646_cn_wctomb): Likewise. - * lib/iso646_jp.h (iso646_jp_wctomb): Likewise. - * lib/iso8859_1.h (iso8859_1_wctomb): Likewise. - * lib/iso8859_2.h (iso8859_2_wctomb): Likewise. - * lib/iso8859_3.h (iso8859_3_wctomb): Likewise. - * lib/iso8859_4.h (iso8859_4_wctomb): Likewise. - * lib/iso8859_5.h (iso8859_5_wctomb): Likewise. - * lib/iso8859_6.h (iso8859_6_wctomb): Likewise. - * lib/iso8859_7.h (iso8859_7_wctomb): Likewise. - * lib/iso8859_8.h (iso8859_8_wctomb): Likewise. - * lib/iso8859_9.h (iso8859_9_wctomb): Likewise. - * lib/iso8859_10.h (iso8859_10_wctomb): Likewise. - * lib/iso8859_13.h (iso8859_13_wctomb): Likewise. - * lib/iso8859_14.h (iso8859_14_wctomb): Likewise. - * lib/iso8859_15.h (iso8859_15_wctomb): Likewise. - * lib/iso8859_16.h (iso8859_16_wctomb): Likewise. - * lib/isoir165ext.h (isoir165ext_wctomb): Likewise. - * lib/isoir165.h (isoir165_wctomb): Likewise. - * lib/jisx0201.h (jisx0201_wctomb): Likewise. - * lib/jisx0208.h (jisx0208_wctomb): Likewise. - * lib/jisx0212.h (jisx0212_wctomb): Likewise. - * lib/johab.h (johab_wctomb): Likewise. - * lib/johab_hangul.h (johab_hangul_wctomb, johab_hangul_decompose): - Likewise. - * lib/koi8_r.h (koi8_r_wctomb): Likewise. - * lib/koi8_ru.h (koi8_ru_wctomb): Likewise. - * lib/koi8_u.h (koi8_u_wctomb): Likewise. - * lib/ksc5601.h (ksc5601_wctomb): Likewise. - * lib/mac_arabic.h (mac_arabic_wctomb): Likewise. - * lib/mac_centraleurope.h (mac_centraleurope_wctomb): Likewise. - * lib/mac_croatian.h (mac_croatian_wctomb): Likewise. - * lib/mac_cyrillic.h (mac_cyrillic_wctomb): Likewise. - * lib/mac_greek.h (mac_greek_wctomb): Likewise. - * lib/mac_hebrew.h (mac_hebrew_wctomb): Likewise. - * lib/mac_iceland.h (mac_iceland_wctomb): Likewise. - * lib/mac_roman.h (mac_roman_wctomb): Likewise. - * lib/mac_romania.h (mac_romania_wctomb): Likewise. - * lib/mac_thai.h (mac_thai_wctomb): Likewise. - * lib/mac_turkish.h (mac_turkish_wctomb): Likewise. - * lib/mac_ukraine.h (mac_ukraine_wctomb): Likewise. - * lib/mulelao.h (mulelao_wctomb): Likewise. - * lib/nextstep.h (nextstep_wctomb): Likewise. - * lib/sjis.h (sjis_wctomb): Likewise. - * lib/tcvn.h (tcvn_wctomb): Likewise. - * lib/tis620.h (tis620_wctomb): Likewise. - * lib/ucs2be.h (ucs2be_wctomb): Likewise. - * lib/ucs2.h (ucs2_wctomb): Likewise. - * lib/ucs2internal.h (ucs2internal_wctomb): Likewise. - * lib/ucs2le.h (ucs2le_wctomb): Likewise. - * lib/ucs2swapped.h (ucs2swapped_wctomb): Likewise. - * lib/ucs4.h (ucs4_wctomb): Likewise. - * lib/uhc_1.h (uhc_1_wctomb): Likewise. - * lib/uhc_2.h (uhc_2_wctomb): Likewise. - * lib/utf16be.h (utf16be_wctomb): Likewise. - * lib/utf16.h (utf16_wctomb): Likewise. - * lib/utf16le.h (utf16le_wctomb): Likewise. - * lib/utf32be.h (utf32be_wctomb): Likewise. - * lib/utf32.h (utf32_wctomb): Likewise. - * lib/utf32le.h (utf32le_wctomb): Likewise. - * lib/utf7.h (utf7_wctomb): Likewise. - * lib/utf8.h (utf8_wctomb): Likewise. - * lib/viscii.h (viscii_wctomb): Likewise. - * tools/8bit_tab_to_h.c (main): Likewise. - * tools/cjk_tab_to_h.c (output_uni2charset_dense, - output_uni2charset_sparse, do_gb18030uni): Likewise. - -2001-05-19 Bruno Haible <haible@clisp.cons.org> - - * Makefile.devel (all): Add man/{iconv.1,iconv*.3}.html. - (man/%.html): New rule. - * man/Makefile.in (docdir, htmldir): New variables. - (install, installdirs): Install the HTML formatted man pages in - $(htmldir). - (uninstall): Uninstall them. - -2001-05-20 Bruno Haible <haible@clisp.cons.org> - - * lib/cp1255.h (cp1255_decomp_table): New array. - (cp1255_comb_table): New array. - (cp1255_wctomb): Decompose Unicode characters. - * tests/CP1255.IRREVERSIBLE.TXT: New file. - -2001-05-13 Bruno Haible <haible@clisp.cons.org> - - * lib/vietcomb.h: New file. - * lib/cp1258.h: Include it. - (cp1258_comb_table): New array. - (cp1258_wctomb): Decompose Unicode characters. - * lib/tcvn.h: Include it. - (tcvn_comb_table): New array. - (tcvn_wctomb): Decompose Unicode characters. - * tests/CP1258.IRREVERSIBLE.TXT: New file. - * tests/TCVN.IRREVERSIBLE.TXT: New file. - -2001-05-06 Bruno Haible <haible@clisp.cons.org> - - * lib/Makefile.msvc (config.h): Allow the 'del' command to fail. - (iconv.lib): Likewise. - -2001-05-06 Bruno Haible <haible@clisp.cons.org> - - * lib/Makefile.in (CPPFLAGS, LDFLAGS): New variables. - (CPP): Remove variable. - (libiconv.la, libiconv_plug_linux.so, libiconv_plug_solaris.so, - libiconv_plug_osf.so): Use LDFLAGS. - (libiconv_plug_linux.so, libiconv_plug_solaris.so, - libiconv_plug_osf.so, iconv.lo): Use CPPFLAGS. - * lib/Makefile.msvc (CPP): Remove variable. - * src/Makefile.in (CPPFLAGS, LDFLAGS): New variables. - (CPP): Remove variable. - (iconv): Use CPPFLAGS and LDFLAGS. - * src/Makefile.msvc (CPP): Remove variable. - * tests/Makefile.in (CPPFLAGS, LDFLAGS): New variables. - (check, table-from, table-to): Use CPPFLAGS and LDFLAGS. - * tests/Makefile.msvc (CPP): Remove variable. - -2001-05-06 Bruno Haible <haible@clisp.cons.org> - - * lib/Makefile.in (libiconv_plug_solaris.so): Change rule if not using - gcc. Reported by Paananen Mikko <mikkopa@cs.tut.fi>. - -2001-04-11 Bruno Haible <haible@clisp.cons.org> - - Implement and document UTF-32, UTF-32BE, UTF-32LE. - * src/utf32.h, src/utf32be.h, src/utf32le.h: New files. - * src/converters.h: Include them. - * src/encodings.def (UTF-32, UTF-32BE, UTF32LE): New encodings. - * README, man/iconv_open.3: Add UTF-32, UTF-32BE, UTF32LE. - * tests/Makefile.in (check): Check UTF-32, UTF-32BE, UTF32LE. - * tests/Makefile.os2 (check): Likewise. - * tests/Makefile.msvc (check): Likewise. - * tests/UTF-32*snippet*: New files. - - * lib/ucs4.h (ucs4_mbtowc): Fix value of other-endian byte order. - (ucs4_wctomb): Allow any 31-bit codepoint. - -2001-04-11 Bruno Haible <haible@clisp.cons.org> - - * tests/GB18030.TXT: Add mappings for all of U+0000..U+FFFF, including - unassigned code points. - * tests/table-from.c (main); When dumping GB18030, don't print code - points larger than U+FFFF. - -2001-03-30 Bruno Haible <haible@clisp.cons.org> - - * tools/Makefile (GB18030uni.TXT): Use a table source which includes - the unassigned Unicode code points. - * lib/gb18030uni.h: Update. - (gb18030uni_ranges): Remove bitmap_offset field. - (gb18030uni_bitmap): Remove array. - (gb18030uni_mbtowc): Omit gb18030uni_bitmap access. - (gb18030uni_wctomb): Likewise. - * lib/gb18030.h (gb18030_mbtowc): Handle Unicode characters >= 0x10000. - (gb18030_wctomb): Likewise. - -2001-03-21 Bruno Haible <haible@clisp.cons.org> - - * INSTALL.generic (Particular Systems): Add recommendations for AIX 3. - -2001-03-21 Bruno Haible <haible@clisp.cons.org> - - * src/iconv.c (print_version): Now called GNU libiconv. - -2001-03-20 Bruno Haible <haible@clisp.cons.org> - - * README: This package is now called GNU libiconv. - - * tools/8bit_tab_to_h.c (main): Emit copyright notice to the output - file. - * tools/cjk_tab_to_h.c (output_title): Likewise. - * tools/cjk_variants.c (main): Likewise. - * lib/gentranslit.c (main): Likewise. - -2001-03-19 Bruno Haible <haible@clisp.cons.org> - - * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Always define - ac_config_guess and ac_config_sub. Then ignore requests for - AC_CONFIG_AUX_DIR_DEFAULT or AC_CANONICAL_HOST. - -2001-03-10 Bruno Haible <haible@clisp.cons.org> - - * INSTALL.generic: New section "Particular Systems". - -2001-03-10 Bruno Haible <haible@clisp.cons.org> - - * lib/Makefile.in (libiconv.la): Pass flag -no-undefined. Needed on - platforms like BeOS. - - * lib/loop_wchar.h (mbstate_t): Don't typedef if already #defined in - config.h. - -2001-03-06 Bruno Haible <haible@clisp.cons.org> - - * Version 1.6 released. - * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc: - Bump version number. - * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:3:0. - -2001-03-05 Bruno Haible <haible@clisp.cons.org> - - Provide all encodings used by OSF/1 5.1 locales. - * lib/dec_kanji.h: New file. - * lib/dec_hanyu.h: New file. - * lib/converters.h: Include them if USE_OSF1 is defined. - * lib/encodings_osf1.def: New file. - * lib/genflags.c (main): Include it. Define USE_OSF1. - * lib/genaliases2.c (main): Include it conditionally. - * lib/iconv.c: Define USE_OSF1 on OSF/1. - Include encodings_osf1.def and aliases_osf1.h. - * lib/Makefile.in (iconv.lo): Depend on encodings_osf1.def and - aliases_osf1.h. - * Makefile.devel (lib/aliases_osf1.h): New target. - (all): Depend on lib/aliases_osf1.h. - (lib/flags.h): Depend on lib/encodings_osf1.def. - -2001-03-01 Bruno Haible <haible@clisp.cons.org> - - * tools/Makefile (cp775.h): New target. - (ALL): Add it. - * lib/cp775.h: New file. - * lib/converters.h: Include it. - * lib/encodings_dos.def (CP775): New encoding. - -2001-02-25 Bruno Haible <haible@clisp.cons.org> - - * lib/iconv.c (iconv_open): locale_charset() doesn't return NULL any - more. - -2001-02-24 Bruno Haible <haible@clisp.cons.org> - - * src/iconv.c (convert): Use ICONV_CONST. - * tests/table-from.c: Include config.h. - (try): Use ICONV_CONST. - * tests/table-to.c: Include config.h. - (main): Use ICONV_CONST. - * tests/Makefile.in (INCLUDES): Add -I../lib. - * tests/Makefile.os2 (INCLUDES): Likewise. - * tests/Makefile.msvc (INCLUDES): Add -I..\lib. - -2001-02-24 Bruno Haible <haible@clisp.cons.org> - - Provide all encodings used by DOS locales. - * tools/Makefile (cp437.h, cp852.h, cp855.h, cp857.h, cp861.h, - cp864.h, cp865.h, cp869.h): New targets. - (ALL): Add them. - * lib/cp437.h: New file. - * lib/cp852.h: New file. - * lib/cp855.h: New file. - * lib/cp857.h: New file. - * lib/cp861.h: New file. - * lib/cp864.h: New file. - * lib/cp865.h: New file. - * lib/cp869.h: New file. - * lib/converters.h: Include them if USE_DOS is defined. - * lib/encodings_dos.def: New file. - * lib/genflags.c (main): Include it. Define USE_DOS. - * lib/genaliases2.c (main): Include it conditionally. - * lib/iconv.c: Define USE_DOS on DJGPP. - Include encodings_dos.def and aliases_dos.h. - * lib/Makefile.in (iconv.lo): Depend on encodings_dos.def and - aliases_dos.h. - * Makefile.devel (lib/aliases_dos.h): New target. - (all): Depend on lib/aliases_dos.h. - (lib/flags.h): Depend on lib/encodings_dos.def. - -2001-02-23 Bruno Haible <haible@clisp.cons.org> - - * src/iconv.c [DJGPP]: Include <io.h> and <unistd.h>. - (SET_BINARY) [O_BINARY]: New macro. - (usage): Mention --binary if available. - (convert): Use SET_BINARY instead of setmode. - (main): Likewise. - Reported by Juan Manuel Guerrero <st001906@hrz1.hrz.tu-darmstadt.de>. - -2001-02-25 Bruno Haible <haible@clisp.cons.org> - - * autoconf/ltconfig: - sed -e 's/reload object files/produce relocatable object files/'. - -2001-02-20 Bruno Haible <haible@clisp.cons.org> - - * src/iconv.c (usage, main): Make -f and -t options optional. - * man/iconv.1: Mark them as optional. - -2001-02-20 Bruno Haible <haible@clisp.cons.org> - - * tools/Makefile (GB18030ext.TXT, GB18030uni.TXT): Generate from - glibc-2.2.2 table. - * lib/gb18030uni.h, lib/gb18030ext.h: Add mapping 0xA989 -> U+303E, - 0xFE5E -> U+2E97. Shift the entire four-byte range. - * tests/GB18030.TXT: Regenerated. - -2001-02-20 Bruno Haible <haible@clisp.cons.org> - - Better support for DOS/Windows platforms. - * autoconf/ltconfig: Upgrade to libtool-1.3.5. - * autoconf/ltmain.sh: Likewise. - * autoconf/aclocal.m4: Likewise. - * autoconf/install-sh: New file. - * configure.in: Call AC_OBJEXT and AC_EXEEXT. Call AC_CONFIG_AUX_DIR. - -2001-02-20 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (libdir, includedir, mandir): Use the autoconf - determined value, in order to respect the configure arguments. - * lib/Makefile.in (libdir): Likewise. - * src/Makefile.in (bindir): Likewise. - * man/Makefile.in (mandir): Likewise. - -2001-02-04 Bruno Haible <haible@clisp.cons.org> - - * lib/translit.def: Add all the neutral transliterations from glibc. - * lib/gentranslit.c (main): Allow UTF-8 replacements which are in - UCS-2 but not in ISO-8859-1. Generate a table of 'unsigned short'. - Avoid accessing data[-1]. - * lib/loop_unicode.h (unicode_loop_convert): Change type of pointer - into translit_data. - -2001-01-05 Bruno Haible <haible@clisp.cons.org> - - Implement and document CP862. - * tools/Makefile (ALL): Add cp862.h. - (cp862.h): New target. - * lib/cp862.h: New file. - * lib/converters.h: Include it. - * lib/encodings.def (CP862): New encoding. - * README, man/iconv_open.3: Add CP862. - * tests/Makefile.in (check): Check CP862. - * tests/Makefile.msvc (check): Likewise. - * tests/Makefile.os2 (check): Likewise. - * tests/CP862.TXT: New file. - -2000-12-18 Bruno Haible <haible@clisp.cons.org> - - * autoconf/mbstate_t.m4: New file, from textutils-2.0.10. - * Makefile.devel (OTHERMACROS): Add it. - * configure.in: Call AC_MBSTATE_T. - * lib/config.h.in (mbstate_t): New definition. - * lib/loop_wchar.h (mbrtowc): For BeOS, declare and define fallback. - -2000-12-12 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in: Use $(MAKE) instead of $(MAKE) -r. Needed with Solaris - "make", which doesn't set MAKE as expected by @SET_MAKE@ if -r is - given. Reported by Toshimitsu Fujiwara. - -2000-12-08 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (exec_prefix): Use configure's --exec-prefix argument. - * lib/Makefile.in (exec_prefix): Likewise. - * src/Makefile.in (exec_prefix): Likewise. - * man/Makefile.in (exec_prefix): Likewise. - -2000-12-02 Bruno Haible <haible@clisp.cons.org> - - * Version 1.5 released. - * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc: - Bump version number. - * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:2:0. - -2000-12-02 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (mostlyclean, clean, distclean, maintainer-clean): - Remove files installed in lib by libcharset. - * Makefile.msvc (mostlyclean): Likewise. - - * Makefile.in (check): Depend on target 'all'. - * Makefile.os2 (check): Likewise. - * Makefile.msvc (check): Depend on target 'force' as well. - - * src/iconv.c (usage): Take an exitcode argument. - (print_version): New function. - (main): Recognize --help and --version command line options. - -2000-12-02 Bruno Haible <haible@clisp.cons.org> - - * Makefile.msvc: Replace STATIC with its opposite flag, DLL. - * lib/Makefile.msvc: Likewise. - * src/Makefile.msvc: Likewise. - * tests/Makefile.msvc: Likewise. - -2000-12-01 Bruno Haible <haible@clisp.cons.org> - - * src/iconv.c: Include <fcntl.h>. Define fallbacks for setmode, fileno. - (force_binary): New variable. - (convert): If requested, set the input O_BINARY. - (main): Accept --binary option. If requested, set the output O_BINARY. - * tests/check-stateful.bat: Pass --binary to iconv. - * tests/check-stateful.cmd: Likewise. - * tests/check-translit.bat: Likewise. - * tests/check-translit.cmd: Likewise. - -2000-12-01 Bruno Haible <haible@clisp.cons.org> - - * include/iconv.h.in (_libiconv_version): New declaration. - * lib/iconv.c (_libiconv_version): New variable. - -2000-11-30 Bruno Haible <haible@clisp.cons.org> - - * Makefile.msvc (all): File now named lib/libcharset.h. - (clean, distclean, maintainer-clean): Likewise. - -2000-11-23 Bruno Haible <haible@clisp.cons.org> - - * lib/*: Move here all files from src/*. - * src/*: Move all files to lib. - * lib/Makefile.in (distclean): No need to remove config.status, - config.log, config.cache. - * configure.in: Require lib/iconv.c, not src/iconv.c. Create - lib/config.h, not src/config.h. Also create lib/Makefile. - * Makefile.in (all): Install libcharset into lib, not src. Recurse - into lib and src. - (install-lib): Recurse into lib, not src. - (install): Recurse into libcharset, lib and src. - (installdirs, uninstall): Likewise. - (check, mostlyclean, clean, distclean, maintainer-clean): Likewise. - * Makefile.msvc (all): Recurse into lib and src. - (install): Recurse into libcharset, lib and src. - (installdirs, uninstall): Likewise. - (check, mostlyclean, clean, distclean, maintainer-clean): Likewise. - * Makefile.os2 (all): Recurse into lib and src. - (install-lib): Recurse into lib, not src. - (install, uninstall): Recurse into lib and src. - (check, mostlyclean, clean, distclean, maintainer-clean): Likewise. - * Makefile.devel (lib/config.h.msvc): Renamed from src/config.h.msvc. - (lib/aliases.h): Renamed from src/aliases.h. - (lib/aliases.gperf): Renamed from src/aliases.gperf. - (lib/aliases_aix.h): Renamed from src/aliases_aix.h. - (lib/flags.h): Renamed from src/flags.h. - (lib/translit.h): Renamed from src/translit.h. - * src/iconv.c: Moved here from tests/iconv.c. - * src/Makefile.in: New file. - * src/Makefile.msvc: New file. - * src/Makefile.os2: New file. - * tests/Makefile.in (iconv): Remove target. - (../lib/libiconv.la): Renamed from ../src/libiconv.la. - (clean): No need to remove iconv. - * tests/Makefile.msvc (iconv.exe): Remove target. - * tests/Makefile.os2 (iconv.exe): Likewise. - * tests/check-stateful: iconv is in ../src. - * tests/check-stateful.bat: Likewise. - * tests/check-stateful.cmd: Likewise. - * tests/check-translit: iconv is in ../src. - * tests/check-translit.bat: Likewise. - * tests/check-translit.cmd: Likewise. - * man/iconv.1: New file. - * man/Makefile.in (install, installdirs, uninstall): Also install *.1 - man pages. - * man/Makefile.os2 (MAN3): Renamed from MAN. - (MAN1): New variable. - (install, uninstall): Also install *.1 man pages. - -2000-11-21 Bruno Haible <haible@clisp.cons.org> - - * Makefile.msvc (all, check, mostlyclean, clean, distclean, - maintainer-clean): Recurse into libcharset. - (clean, distclean, maintainer-clean): Remove src\libcharset.h. - * src/Makefile.msvc (LIBCHARSET_OBJECTS): New variable. - (iconv.lib): Link with $(LIBCHARSET_OBJECTS). - -2000-11-18 Bruno Haible <haible@clisp.cons.org> - - * src/cp950.h (cp950_mbtowc, cp950_wctomb): Change implementation - so that it agrees with Microsoft's definition of CP950. - * tests/CP950.TXT: Likewise. - * tests/CP950.IRREVERSIBLE.TXT: Add 0xA244, 0xA2CC, 0xA2CE. - -2000-11-18 Bruno Haible <haible@clisp.cons.org> - - Add support for locale dependent "char" and "wchar_t" encodings. - * libcharset: New subdirectory. - * src/loop_unicode.h: New file, extracted from src/iconv.c. - * src/loop_wchar.h: New file. - * src/loops.h: New file. Include loop_unicode.h and loop_wchar.h. - * src/encodings_local.def: New file. - * src/genaliases.c: Also create aliases for encodings_local.def. - * src/converters.h (conv_struct): Add lfuncs field. - * src/genflags.c: Add dummy definitions of struct loop_funcs. - * src/iconv.c: Include libcharset.h. - (loop_funcs): New structure. - Treat encodings_local.def like encodings.def. - Include loops.h. - (iconv_open): Move the bulk of the code to loop_unicode.h. - (iconv): Likewise. - (iconvctl): Extend determination of TRIVIALP to wchar_t conversion - descriptors. - * src/Makefile.in (PLUG_SOURCES): Remove variable. - (LIBCHARSET_OBJECTS): New variable. - (libiconv.la): Link in the LIBCHARSET_OBJECTS. - (libiconv_plug_linux.so, libiconv_plug_solaris.so, - libiconv_plug_osf.so): Link in the LIBCHARSET_OBJECTS, using - LIBTOOL_LINK. - (iconv.lo): Depend on encodings_local.def. - * src/Makefile.msvc (iconv.obj): Depend on encodings_local.def. - * src/Makefile.os2 (iconv.obj): Likewise. - * configure.in: Add tests for locale.h, mbrtowc, wcrtomb, setlocale. - Recurse into libcharset. - * src/config.h.in (HAVE_LOCALE_H, HAVE_MBRTOWC, HAVE_WCRTOMB, - HAVE_SETLOCALE): New macros. - * tests/iconv.c: Include config.h and locale.h. - (main): Call setlocale. - * tests/Makefile.in (iconv): Search for config.h in ../src. - * tests/Makefile.os2 (iconv.exe): Likewise. - * tests/Makefile.msvc (iconv.exe): Likewise. - * README, man/iconv_open.3: Document "char" and "wchar_t" encodings. - * Makefile.in: After "cd", use "&&" not ";". - (all, check, mostlyclean, clean, distclean, maintainer-clean): - Recurse into libcharset. - * Makefile.devel (all): Recurse into libcharset. - (src/aliases.gperf): Depend on src/encodings_local.def. - -2000-11-18 Bruno Haible <haible@clisp.cons.org> - - * src/converters.h (ucs4_t): New type. - (wchar_t): Remove locally defined override. - (mbtowc_funcs, wctomb_funcs): Use ucs4_t instead of wchar_t. - * src/iconv.c (iconv): Likewise. - * src/genflags.c (emit_encoding): Use ucs4_t instead of wchar_t. - * tools/8bit_tab_to_h.c: Use "ucs4_t" instead of "wchar_t". - * tools/cjk_tab_to_h.c: Likewise. - * src/armscii_8.h: Use ucs4_t instead of wchar_t. - * src/ascii.h: Likewise. - * src/big5.h: Likewise. - * src/big5hkscs.h: Likewise. - * src/ces_big5.h: Likewise. - * src/ces_gbk.h: Likewise. - * src/cns11643.h: Likewise. - * src/cns11643_1.h: Likewise. - * src/cns11643_2.h: Likewise. - * src/cns11643_3.h: Likewise. - * src/cns11643_inv.h: Likewise. - * src/cp1046.h: Likewise. - * src/cp1124.h: Likewise. - * src/cp1129.h: Likewise. - * src/cp1133.h: Likewise. - * src/cp1250.h: Likewise. - * src/cp1251.h: Likewise. - * src/cp1252.h: Likewise. - * src/cp1253.h: Likewise. - * src/cp1254.h: Likewise. - * src/cp1255.h: Likewise. - * src/cp1256.h: Likewise. - * src/cp1257.h: Likewise. - * src/cp1258.h: Likewise. - * src/cp850.h: Likewise. - * src/cp856.h: Likewise. - * src/cp866.h: Likewise. - * src/cp874.h: Likewise. - * src/cp922.h: Likewise. - * src/cp932.h: Likewise. - * src/cp932ext.h: Likewise. - * src/cp936ext.h: Likewise. - * src/cp949.h: Likewise. - * src/cp950.h: Likewise. - * src/cp950ext.h: Likewise. - * src/euc_cn.h: Likewise. - * src/euc_jp.h: Likewise. - * src/euc_kr.h: Likewise. - * src/euc_tw.h: Likewise. - * src/gb12345.h: Likewise. - * src/gb12345ext.h: Likewise. - * src/gb18030.h: Likewise. - * src/gb18030ext.h: Likewise. - * src/gb18030uni.h: Likewise. - * src/gb2312.h: Likewise. - * src/gbk.h: Likewise. - * src/gbkext1.h: Likewise. - * src/gbkext2.h: Likewise. - * src/gbkext_inv.h: Likewise. - * src/georgian_academy.h: Likewise. - * src/georgian_ps.h: Likewise. - * src/hkscs.h: Likewise. - * src/hp_roman8.h: Likewise. - * src/hz.h: Likewise. - * src/iso2022_cn.h: Likewise. - * src/iso2022_cnext.h: Likewise. - * src/iso2022_jp.h: Likewise. - * src/iso2022_jp1.h: Likewise. - * src/iso2022_jp2.h: Likewise. - * src/iso2022_kr.h: Likewise. - * src/iso646_cn.h: Likewise. - * src/iso646_jp.h: Likewise. - * src/iso8859_1.h: Likewise. - * src/iso8859_10.h: Likewise. - * src/iso8859_13.h: Likewise. - * src/iso8859_14.h: Likewise. - * src/iso8859_15.h: Likewise. - * src/iso8859_16.h: Likewise. - * src/iso8859_2.h: Likewise. - * src/iso8859_3.h: Likewise. - * src/iso8859_4.h: Likewise. - * src/iso8859_5.h: Likewise. - * src/iso8859_6.h: Likewise. - * src/iso8859_7.h: Likewise. - * src/iso8859_8.h: Likewise. - * src/iso8859_9.h: Likewise. - * src/isoir165.h: Likewise. - * src/isoir165ext.h: Likewise. - * src/java.h: Likewise. - * src/jisx0201.h: Likewise. - * src/jisx0208.h: Likewise. - * src/jisx0212.h: Likewise. - * src/johab.h: Likewise. - * src/johab_hangul.h: Likewise. - * src/koi8_r.h: Likewise. - * src/koi8_ru.h: Likewise. - * src/koi8_u.h: Likewise. - * src/ksc5601.h: Likewise. - * src/mac_arabic.h: Likewise. - * src/mac_centraleurope.h: Likewise. - * src/mac_croatian.h: Likewise. - * src/mac_cyrillic.h: Likewise. - * src/mac_greek.h: Likewise. - * src/mac_hebrew.h: Likewise. - * src/mac_iceland.h: Likewise. - * src/mac_roman.h: Likewise. - * src/mac_romania.h: Likewise. - * src/mac_thai.h: Likewise. - * src/mac_turkish.h: Likewise. - * src/mac_ukraine.h: Likewise. - * src/mulelao.h: Likewise. - * src/nextstep.h: Likewise. - * src/sjis.h: Likewise. - * src/tcvn.h: Likewise. - * src/tis620.h: Likewise. - * src/ucs2.h: Likewise. - * src/ucs2be.h: Likewise. - * src/ucs2internal.h: Likewise. - * src/ucs2le.h: Likewise. - * src/ucs2swapped.h: Likewise. - * src/ucs4.h: Likewise. - * src/ucs4be.h: Likewise. - * src/ucs4internal.h: Likewise. - * src/ucs4le.h: Likewise. - * src/ucs4swapped.h: Likewise. - * src/uhc_1.h: Likewise. - * src/uhc_2.h: Likewise. - * src/utf16.h: Likewise. - * src/utf16be.h: Likewise. - * src/utf16le.h: Likewise. - * src/utf7.h: Likewise. - * src/utf8.h: Likewise. - * src/viscii.h: Likewise. - -2000-11-18 Bruno Haible <haible@clisp.cons.org> - - Make transliteration optional. - * src/iconv.c (iconv_open): Strip off //TRANSLIT suffix from names. - Set transliteration on if and only if tocode ends in //TRANSLIT. - * README, man/iconv_open.3: Document how to enable transliteration. - * tests/check-translit: Add //TRANSLIT to iconv's 't' argument. - * tests/check-translit.bat: Likewise. - * tests/check-translit.cmd: Likewise. - -2000-11-18 Bruno Haible <haible@clisp.cons.org> - - * man/iconv.3: Fix typo. - -2000-10-31 Bruno Haible <haible@clisp.cons.org> - - * README, man/iconv_open.3: Document JOHAB again. - -2000-11-15 Bruno Haible <haible@clisp.cons.org> - - * Makefile.msvc: Add support for MFLAGS and DEBUG parameters. - (STATIC): Change default from 0 to 1. - * src/Makefile.msvc: Likewise. - * tests/Makefile.msvc: Likewise. - * tests/check-stateless.bat: Call 'sort' with no arguments. - -2000-11-12 Bruno Haible <haible@clisp.cons.org> - - * autoconf/config.guess, autoconf/config.sub: Upgrade to newest - version from GNU CVS. - -2000-10-24 Bruno Haible <haible@clisp.cons.org> - - * Version 1.4 released. - * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc: - Bump version number. - * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:1:0. - -2000-10-23 Bruno Haible <haible@clisp.cons.org> - - Implement and document GB18030 and BIG5HKSCS. - * tools/cjk_tab_to_h.c (row_byte_hkscs, byte_row_hkscs, do_hkscs): New - functions. - (do_gb18030uni): New function. - (main): Accept gb18030ext, gb18030uni, hkscs. - * tools/Makefile (ALL): Add gb18030ext.h, gb18030uni.h, hkscs.h. - (gb18030ext.h, GB18030ext.TXT, gb18030uni.h, GB18030uni.TXT, - hkscs.h): New targets. - * src/gb18030ext.h, src/gb18030uni.h, src/gb18030.h: New files. - * src/hkscs.h, src/big5hkscs.h: New files. - * src/converters.h: Include gb18030.h and big5hkscs.h. - * src/encodings.def (GB18030, BIG5HKSCS): New encodings. - * README, man/iconv_open.3: Add GB18030, BIG5HKSCS. - * tests/Makefile.in (check): Check GB18030, BIG5HKSCS. - * tests/Makefile.msvc (check): Likewise. - * tests/Makefile.os2 (check): Likewise. - * tests/GB18030.TXT: New file. - * tests/BIG5HKSCS.TXT, tests/BIG5HKSCS.IRREVERSIBLE.TXT: New files. - -2000-10-23 Bruno Haible <haible@clisp.cons.org> - - * tests/table-from.c (try, main): Use UCS-4-INTERNAL instead of - UCS-2-INTERNAL, to avoid problems with UCS-2 surrogate handling. - * tests/table-to.c (main): Likewise. - -2000-10-22 Bruno Haible <haible@clisp.cons.org> - - * src/gentranslit.c (main): Read the input in UTF-8 encoding. - -2000-10-09 Bruno Haible <haible@clisp.cons.org> - - CPU recognition on OpenBSD. - * autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __m68k__, - __mc68020__, __MIPSEB__, __MIPSEL__, __m88k__ as CPU indicators. - -2000-10-03 Bruno Haible <haible@clisp.cons.org> - - * src/gentranslit.c (main): Don't output non-ASCII ISO-8859-1 - character literals, use the numeric value instead. - Reported by Shin-Hsien Yeh <shyeh@alcatel.com.tw>. - -2000-09-29 Bruno Haible <haible@clisp.cons.org> - - * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Fix bug in 2000-05-23 - change. - -2000-09-25 Bruno Haible <haible@clisp.cons.org> - - * autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __i386__ - as equivalent to __i386. For OpenBSD. - -2000-09-21 Bruno Haible <haible@clisp.cons.org> - - * src/utf16.h (utf16_wctomb): Reject single surrogates. - * src/utf16be.h (utf16be_wctomb): Likewise. - * src/utf16le.h (utf16le_wctomb): Likewise. - * src/ucs2.h (ucs2_mbtowc, ucs2_wctomb): Likewise. - * src/ucs2be.h (ucs2be_mbtowc, ucs2be_wctomb): Likewise. - * src/ucs2le.h (ucs2le_mbtowc, ucs2le_wctomb): Likewise. - * src/ucs2internal.h (ucs2internal_mbtowc, ucs2internal_wctomb): - Likewise. - * src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb): - Likewise. - -2000-09-15 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (install, installdirs, uninstall): Support DESTDIR. - * src/Makefile.in (install, installdirs, uninstall): Likewise. - * man/Makefile.in (install, installdirs, uninstall): Likewise. - -2000-09-11 Bruno Haible <haible@clisp.cons.org> - - * src/utf7.h (utf7_mbtowc): Fix combining of UTF-16 surrogates. - -2000-08-26 Bruno Haible <haible@clisp.cons.org> - - * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default - value, not parens. - -2000-07-04 Akira Hatakeyama <akira@sra.co.jp> - Bruno Haible <haible@clisp.cons.org> - - * os2/iconv.def, README.os2, Makefile.os2, src/Makefile.os2, - tests/Makefile.os2, man/Makefile.os2, tests/check-stateful.cmd, - tests/check-stateless.cmd, tests/check-translit.cmd: New files. - -2000-06-28 Bruno Haible <haible@clisp.cons.org> - - * src/ucs2internal.h (ucs2internal_mbtowc): Avoid gcc warning about - cast. - * src/ucs4internal.h (ucs4internal_mbtowc): Likewise. - * src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb): Verify - sizeof(unsigned short). - * src/ucs4swapped.h (ucs4swapped_mbtowc, ucs4swapped_mbtowc): Verify - sizeof(unsigned int). - Reported by François Pinard <pinard@iro.umontreal.ca>. - -2000-05-29 Bruno Haible <haible@clisp.cons.org> - - * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo. - Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>. - -2000-05-23 Bruno Haible <haible@clisp.cons.org> - - * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu, - host_vendor, host_os correctly if $host has more than two hyphens. - -2000-04-15 Bruno Haible <haible@clisp.cons.org> - - * Version 1.3 released. - * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc: - Bump version number. - * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:0:0. - -2000-04-15 Bruno Haible <haible@clisp.cons.org> - - * THANKS: New file. - * INSTALL.generic: New file. - - Implement and document UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE. - * src/ucs2be.h, src/ucs2le.h, src/ucs4be.h, src/ucs4le.h: New files. - * src/converters.h: Include them. - * src/ucs2swapped.h: Remove #defines for UCS-2-BE, UCS-2-LE. - * src/ucs4swapped.h: Remove #defines for UCS-4-BE, UCS-4-LE. - * src/encodings.def (UCS-2BE): Renamed from UCS-2-BE. - (UCS-2LE): Renamed from UCS-2-LE. - (UCS-4BE): Renamed from UCS-4-BE. - (UCS-4LE): Renamed from UCS-4-LE. - * Makefile.devel (src/aliases.h): Pass option "-i 1" to gperf. - * README, man/iconv_open.3: Add UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE. - * tests/Makefile.in (check): Check UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE. - * tests/Makefile.msvc (check): Likewise. - * tests/UCS-*snippet*: New files. - - Allow building as a shared library on Windows. - Allow running the tests on Windows. - * Makefile.devel (include/iconv.h.msvc): Remove rule. - (include/iconv.h.msvc-static, include/iconv.h.msvc-shared): New - rules. - (all): Update. - * windows/dllexport.h: New file. - * include/iconv.h.msvc: Remove file. - * include/iconv.h.msvc-static, include/iconv.h.msvc-shared: New - autogenerated files. - * Makefile.msvc (STATIC, DEBUG): Default to 0. - (all): Choose either include\iconv.h.msvc-static or - include\iconv.h.msvc-shared. - (check): Depend on all. - (all, check, mostlyclean, clean, distclean, maintainer-clean): - Recurse into tests directory. - * src/Makefile.msvc (STATIC, DEBUG): Default to 0. - (WARN_CFLAGS, PICFLAGS, OPTIMFLAGS): New variables. - (CFLAGS): Use them. Add -MD and -DBUILDING_LIBICONV. - (RESOURCES): New variable. - (iconv.lib): Change rule when building DLL. - (clean, distclean): One filename per line. - * tests/Makefile.msvc: New file. - * tests/check-stateful.bat, tests/check-stateless.bat, - tests/check-translit.bat: New files. - * tests/uniq-u.c: New file, taken from GNU textutils. - * README.win32: Update. - Based on patches by Taro Muraoka <koron@tka.att.ne.jp>. - -2000-04-14 Bruno Haible <haible@clisp.cons.org> - - Fix an OSF/1 problem. - * configure.in: Define GCC variable for substitution. - * src/Makefile.in (libiconv_plug_osf.so): Change rule if not using - gcc. - -2000-04-13 Bruno Haible <haible@clisp.cons.org> - - Fix a SunOS 4 problem. - * include/iconv.h.in: If EILSEQ is not defined by the system, define - it to ENOENT, not EINVAL. - -2000-04-02 Bruno Haible <haible@clisp.cons.org> - - Allow building on filesystems lacking symlinks and hard links. - * Makefile.devel (autoconf/aclocal.m4): Replace AC_PROG_LN_S with - CL_PROG_LN_S. - * configure.in: Add CL_PROG_LN, CL_PROG_LN_S. - * src/Makefile.in (LN): Use autoconfigured value @LN@. - (LN_S): Use autoconfigured value @LN_S@. - -2000-03-15 Bruno Haible <haible@clisp.cons.org> - - * Version 1.2 released. - * include/iconv.h.in (_LIBICONV_VERSION): Bump version number. - * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 1:1:1. - -2000-03-14 Bruno Haible <haible@clisp.cons.org> - - Implement and document UTF-16BE and UTF16LE. - * src/utf16be.h, src/utf16le.h: New files. - * src/converters.h: Include them. - * src/encodings.def (UTF-16BE, UTF16LE): New encodings. - * README, man/iconv_open.3: Add UTF-16BE, UTF16LE. - * tests/Makefile.in (check): Check UTF-16, UTF-16BE, UTF16LE. - * tests/UTF-16*snippet*: New files. - - * src/utf16.h (utf16_wctomb): Output a byte order mark. - -2000-03-13 Bruno Haible <haible@clisp.cons.org> - - Provide all encodings used by AIX locales. - * tools/Makefile (all): Add cp856.h, cp922.h, cp1046.h, cp1124.h, - cp1129.h. - (cp856.h, cp922.h, cp1046.h, cp1124.h, cp1129.h): New targets. - * src/cp856.h, src/cp922.h, src/cp943.h, src/cp1046.h, src/cp1124.h, - src/cp1129.h: New files. - * src/converters.h: Include them if USE_AIX is defined. - * src/encodings_aix.def: New file, with CP856, CP922, CP943, CP1046, - CP1124, CP1129. - * src/genflags.c: Define USE_AIX. Include encodings_aix.def. - * src/genaliases2.c: New file. - * src/iconv.c: Define USE_AIX on AIX. - Include encodings_aix.def and aliases_aix.h. - (aliases2_lookup): New function. - (iconv_open): Call aliases2_lookup. - * src/Makefile.in (iconv.lo): Depend on encodings_aix.def and - aliases_aix.h. - * Makefile.devel (all): Add src/aliases_aix.h. - (src/aliases_aix.h): New rule. - (src/flags.h): Depend on src/encodings_aix.def. - -2000-02-24 Bruno Haible <haible@clisp.cons.org> - - * src/iconv.c (iconv): Don't write beyond the end of the output buffer. - Reported by Edmund Grimley Evans <edmundo@rano.org>. - -2000-02-22 Bruno Haible <haible@clisp.cons.org> - - * src/utf7.h (direct_tab, xdirect_tab): Treat tab like space. - -2000-02-15 Bruno Haible <haible@clisp.cons.org> - - * src/iconv.c (iconv): Add cast in xxx_reset call. - -2000-02-05 Bruno Haible <haible@clisp.cons.org> - - * src/tis620.h: Simplify. - -2000-01-27 Bruno Haible <haible@clisp.cons.org> - - * Makefile.devel (CLISP_DIR): Change to "..". - -2000-01-24 Bruno Haible <haible@clisp.cons.org> - - * Version 1.1 released. - * include/iconv.h.in (_LIBICONV_VERSION): Bump version number. - * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 1:0:1. - -2000-01-23 Bruno Haible <haible@clisp.cons.org> - - * src/utf7.h (utf7_wctomb): If base64 encoding is not active, encode - '+' as "+-". - -2000-01-22 Bruno Haible <haible@clisp.cons.org> - - * include/iconv.h.in (iconvctl): New declaration. - (ICONV_TRIVIALP, ICONV_GET_TRANSLITERATE, ICONV_SET_TRANSLITERATE): - New macros. - * src/iconv.c (iconvctl): New function. - - * tests/Makefile.in: Add a rule for ../src/libiconv.la. Define $(MAKE). - - Solve a build problem. - * include/iconv.h.in: Renamed from include/libiconv.h.in. - * Makefile.devel: libiconv.h -> iconv.h. - * Makefile.in: Likewise. - * configure.in: Likewise. Remove check for <iconv.h>. - * src/iconv.c: Include iconv.h instead of libiconv.h. - * tests/iconv.c, tests/table-from.c, tests/table-to.c: Likewise. - - * README, man/iconv_open.3: Don't document JOHAB any more. - - * man/iconv.3: Clarify return value again. - -2000-01-16 Bruno Haible <haible@clisp.cons.org> - - Add aliases. - * src/encodings.def (ISO-8859-14): Add alias ISO-IR-199. - (ISO-8859-15): Add alias ISO-IR-203. - (EUC-CN): Add alias CN-GB, from RFC 1922. - (BIG5): Add alias CN-BIG5, from RFC 1922. - * Makefile.devel (src/aliases.h): Add 8th character to key set. - - Drop X11 aliases. - * src/encodings.def (JIS_X0201): Drop JISX0201.1976-0 alias. - (JIS_X0208): Drop JIS_X0208.1983-0, JIS_X0208.1983-1 aliases. - (KSC_5601): Drop KSC5601.1987-0 alias. - - Improve GB/T 12345 (not used yet). - * tools/Makefile (gb12345ext.h): Use GB12345-more.TXT. - * src/gb12345ext.h: Regenerated. - - Improve and document CP949. - * tools/Makefile (all): Add uhc_1.h and uhc_2.h. - (uhc_1.h, uhc_2.h): New rules. - * tools/cjk_tab_to_h.c (output_charset2uni_noholes_monotonic): New - function. - (output_uni2charset_sparse): Take an additional boolean argument. - All callers changed. - (*_uhc_1, *_uhc_2): New functions. - (main): Treat uhc_1 and uhc_2. - * src/uhc_1.h, src/uhc_2.h: New files. - * src/cp949.h: New file, include them. - * src/converters.h: Include it. - * src/encodings.def (KSC_5601): Remove alias CP949. - (CP949): New encoding. - * README, man/iconv_open.3: Add CP949. - * tests/Makefile.in (check): Check CP949. - * tests/CP949.TXT: New file. - - Document CP932. - * README, man/iconv_open.3: Add CP932. - * tests/Makefile.in (check): Check CP932. - * tests/CP932.TXT, tests/CP932.IRREVERSIBLE.TXT: New files. - - * Makefile.devel (src/flags.h): Depend on src/converters.h. - - * tests/Makefile.in (check): Check JIS_X0201. - * tests/JIS_X0201.TXT: New file. - - * src/euc_kr.h (euc_kr_wctomb): Shrink size of buf. - * src/iso2022_kr.h (iso2022_kr_wctomb): Likewise. - - * src/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Use isoir165_mbtowc. - (iso2022_cn_ext_wctomb): Use isoir165_wctomb. - - Add ISO-IR-165 (undocumented). - * tools/Makefile (all): Add isoir165ext.h. - (isoir165ext.h): New rule. - * tools/cjk_tab_to_h.c (main): Treat isoir165ext like gb2312. - * src/isoir165.h, src/isoir165ext.h: New files. - * src/converters.h: Include it. - * src/encodings.def: Add ISO-IR-165. - * tests/Makefile.in (check): Check ISO-IR-165. - * tests/ISO-IR-165.TXT, tests/ISO-IR-165.IRREVERSIBLE.TXT: New files. - - Add ISO646-CN (undocumented). - * src/iso646_cn.h: New file. - * src/converters.h: Include it. - * src/encodings.def: Add ISO646-CN. - * tests/Makefile.in (check): Check ISO646-CN. - * tests/ISO646-CN.TXT: New file. - - Add ISO646-JP (undocumented). - * src/iso646_jp.h: New file. - * src/converters.h: Include it. - * src/encodings.def: Add ISO646-JP. - * tests/Makefile.in (check): Check ISO646-JP. - * tests/ISO646-JP.TXT: New file. - -2000-01-05 Bruno Haible <haible@clisp.cons.org> - - Add ISO-8859-16. - * tools/Makefile (all): Add iso8859_16.h. - (iso8859_16.h): New rule. - * src/iso8859_16.h: New file. - * src/converters.h: Include it. - * src/encodings.def: Add ISO-8859-16. - * README, man/iconv_open.3: Add ISO-8859-16. - * tests/Makefile.in (check): Check ISO-8859-16. - * tests/ISO-8859-16.TXT: New file. - - * man/iconv.3: Clarify what happens *inbuf in case 3. - - * src/iso8859_8.h: Update using newest table from ftp.unicode.org. - * tests/ISO-8859-8.TXT: Likewise. - -2000-01-04 Bruno Haible <haible@clisp.cons.org> - - * Version 1.0 released. - * include/libiconv.h.in (_LIBICONV_VERSION): Bump version number. - * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 0:1:0. - (libiconv.la): Use LIBICONV_VERSION_INFO. - -2000-01-03 Bruno Haible <haible@clisp.cons.org> - - * tests/Makefile.in: New file. - tests/check-stateless, tests/table-from.c, tests/table-to.c, - tests/*.TXT, tests/genutf8.c: New files, checks for stateless - encodings. - tests/check-stateful, tests/iconv.c, tests/*-snippet*: New files, - checks for stateful encodings. - * Makefile.in (all, check, mostlyclean, clean, distclean, - maintainer-clean): Descend into tests directory. - * configure.in: Add tests/Makefile to AC_OUTPUT duties. - - * src/gentranslit.c: New file. - * Makefile.devel (src/translit.h): New rule. - * src/translit.def, src/translit.h: New files. - * src/iconv.c: Include it. - (iconv): Transliterate using translit.h table. - - * src/genflags.c: New file. - * Makefile.devel (src/flags.h): New rule. - * src/flags.h: New file. - * src/iconv.c: Include it. - (encoding): Add field 'oflags'. - (all_encodings): Initialize the field 'oflags'. - (iconv_open): Copy field 'oflags'. - (iconv): Transliterate quotation marks U+2018, U+2019, U+201A. - * src/Makefile.in (iconv.lo): Update dependencies. - - * src/converters.h: New file, extracted from src/iconv.c. - * src/iconv.c: Include it. - * src/Makefile.in (iconv.lo): Update dependencies. - - * tools/cjk_variants.c: New file. - * tools/Makefile (ALL): Add cjk_variants.h. - (cjk_variants.h, cjk_variants): New rules. - * src/cjk_variants.h: New file. - * src/iconv.c: Include it. - (iconv): Use cjk_variants for transliteration. - - * man/iconv.3: Fix description of return value. - * euc_kr.h (euc_kr_wctomb): Remove Hangul transliteration. - * iso2022_kr.h (iso2022kr_wctomb): Likewise. - * src/iconv.c (iconv): Do Hangul transliteration here and increment - result once for every transliterated character. - * src/johab_hangul.h (johab_hangul_decompose): Change result array - from 'unsigned char*' to 'wchar_t*'. - - * src/cp1258.h (cp1258_mbtowc): Return RET_ILSEQ instead of storing - 0xfffd. - - * src/georgian_ps.h (georgian_ps_wctomb): Accept 0x00e6. - - * src/euc_jp.h (euc_jp_wctomb): Don't treat U+005C and U+007E like - Katakana. - - * src/euc_tw.h (euc_tw_mbtowc): Fix typo. - - * src/cp950.h (cp950_mbtowc, cp950_wctomb): Exclude the range - 0xC6A1..0xC7FE. - - * tools/cjk_tab_to_h.c (read_table_ksc5601): Some Hangul range was - not being excluded. Fix that. - * src/ksc5601.h: Regenerated. - * src/johab.h (johab_mbtowc): Don't accept 0xDA{A1..D3} - this is - valid in KSC5601/KSX1001 but not in JOHAB. - - * src/iconv.c (conv_struct): Add fields iindex, oindex. - (iconv_open): Fill in iindex, oindex. - - * src/encodings.def (UCS-2-BE): Add aliases "UNICODE-1-1" and - "csUnicode11", from IANA charset list. - (MacRoman): Add aliases "MAC" and "csMacintosh" for "MACINTOSH", - from IANA charset list. - (JIS_X0208): Add aliases "X0208", "ISO-IR-87", "csISO87JISX0208", - from IANA charset list. - (GB_2312-80): New encoding, from IANA charset list. - - * README, man/iconv_open.3: Add MacIceland and MacUkraine. - - * Makefile.devel: Add rules for src/aliases.h and src/aliases.gperf. - (all): Depend on src/aliases.h. - * src/Makefile.in: Remove rules for $(srcdir)/aliases.h and - $(srcdir)/aliases.gperf. - (clean): Clean up. - - * src/Makefile.in (libiconv_plug_linux.so): Remove unneeded "-ldl". - -1999-12-31 Bruno Haible <haible@clisp.cons.org> - - * Version 0.3 released. - diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/DESIGN b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/DESIGN deleted file mode 100644 index 9ff2ad3a..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/DESIGN +++ /dev/null @@ -1,64 +0,0 @@ -While some other iconv(3) implementations - like FreeBSD iconv(3) - choose -the "many small shared libraries" and dlopen(3) approach, this implementation -packs everything into a single shared library. Here is a comparison of the -two designs. - -* Run-time efficiency - 1. A dlopen() based approach needs a cache of loaded shared libraries. - Otherwise, every iconv_open() call will result in a call to dlopen() - and thus to file system related system calls - which is prohibitive - because some applications use the iconv_open/iconv/iconv_close sequence - for every single filename, string, or piece of text. - 2. In terms of virtual memory use, both approaches are on par. Being shared - libraries, the tables are shared between any processes that use them. - And because of the demand loading used by Unix systems (and because libiconv - does not have initialization functions), only those parts of the tables - which are needed (typically very few kilobytes) will be read from disk and - paged into main memory. - 3. Even with a cache of loaded shared libraries, the dlopen() based approach - makes more system calls, because it has to load one or two shared libraries - for every encoding in use. - -* Total size - In the dlopen(3) approach, every shared library has a symbol table and - relocation offset. All together, FreeBSD iconv installs more than 200 shared - libraries with a total size of 2.3 MB. Whereas libiconv installs 0.45 MB. - -* Extensibility - The dlopen(3) approach is good for guaranteeing extensibility if the iconv - implementation is distributed without source. (Or when, as in glibc, you - cannot rebuild iconv without rebuilding your libc, thus possibly - destabilizing your system.) - The libiconv package achieves extensibility through the LGPL license: - Every user has access to the source of the package and can extend and - replace just libiconv.so. - The places which have to be modified when a new encoding is added are as - follows: add an #include statement in iconv.c, add an entry in the table in - iconv.c, and of course, update the README and iconv_open.3 manual page. - -* Use within other packages - If you want to incorporate an iconv implementation into another package - (such as a mail user agent or web browser), the single library approach - is easier, because: - 1. In the shared library approach you have to provide the right directory - prefix which will be used at run time. - 2. Incorporating iconv as a static library into the executable is easy - - it won't need dynamic loading. (This assumes that your package is under - the LGPL or GPL license.) - - -All conversions go through Unicode. This is possible because most of the -world's characters have already been allocated in the Unicode standard. -Therefore we have for each encoding two functions: -- For conversion from the encoding to Unicode, a function called xxx_mbtowc. -- For conversion from Unicode to the encoding, a function called xxx_wctomb, - and for stateful encodings, a function called xxx_reset which returns to - the initial shift state. - - -All our functions operate on a single Unicode character at a time. This is -obviously less efficient than operating on an entire buffer of characters at -a time, but it makes the coding considerably easier and less bug-prone. Those -who wish best performance should install the Real Thing (TM): GNU libc 2.1 -or newer. - diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/NEWS b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/NEWS deleted file mode 100644 index 1248c5a8..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/NEWS +++ /dev/null @@ -1,119 +0,0 @@ -New in 1.9: -* Many more transliterations. -* New configuration option --enable-relocatable. See the INSTALL.generic file - for details. - -New in 1.8: -* The iconv program has new options -l, -c, -s. -* The iconv program is internationalized. -* Added C99 converter. -* Added KOI8-T converter. -* New configuration option --enable-extra-encodings that enables a bunch of - additional encodings; see the README for details. -* Updated the ISO-8859-16 converter. -* Upgraded BIG5-HKSCS, EUC-TW, ISO-2022-CN, ISO-2022-CN-EXT converters to - Unicode 3.2. -* Upgraded EUC-KR, CP949, JOHAB converters to include the Euro sign. -* Changed the ARMSCII-8 converter. -* Extended the EUC-JP encoder so that YEN SIGN characters don't cause failures - in Shift_JIS to EUC-JP conversion. -* The JAVA converter now handles characters outside the Unicode BMP correctly. -* Fixed a bug in the CP1255, CP1258, TCVN decoders: The base characters of - combining characters could be dropped at the end of the conversion buffer. -* Fixed a bug in the transliteration that could lead to excessive memory - allocations in libintl when transliteration was needed. -* Portability to BSD/OS and SCO 3.2.5. - -New in 1.7: -* Added UTF-32, UTF-32BE, UTF-32LE converters. -* Changed CP1255, CP1258 and TCVN converters to handle combining characters. -* Changed EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP, ISO-2022-JP-2, ISO-2022-JP-1 - converters to use fullwidth Yen sign instead of halfwidth Yen sign, and - fullwidth tilde instead of halfwidth tilde. -* Upgraded EUC-TW, ISO-2022-CN, ISO-2022-CN-EXT converters to Unicode 3.1. -* Changed the GB18030 converter to not reject unassigned and private-use - Unicode characters. -* Fixed a bug in the byte order mark treatment of the UCS-4 decoder. -* The manual pages are now distributed also in HTML format. - -New in 1.6: -* The iconv program's -f and -t options are now optional. -* Many more transliterations. -* Added CP862 converter. -* Changed the GB18030 converter. -* Portability to DOS with DJGPP. - -New in 1.5: -* Added an iconv(1) program. -* New locale dependent encodings "char", "wchar_t". -* Transliteration is now off by default. Use a //TRANSLIT suffix to enable it. -* The JOHAB encoding is documented again. -* Changed a few mappings in the CP950 converter. - -New in 1.4: -* Added GB18030, BIG5HKSCS converters. -* Portability to OS/2 with emx+gcc. - -New in 1.3: -* Added UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE converters. -* Fixed the definition of EILSEQ on SunOS4. -* Fixed a build problem on OSF/1. -* Support for building as a shared library on Woe32. - -New in 1.2: -* Added UTF-16BE and UTF-16LE converters. -* Changed the UTF-16 encoder. -* Fixed the treatment of tab characters in the UTF-7 converter. -* Fixed an internal error when output buffer was not large enough. - -New in 1.1: -* Added ISO-8859-16 converter. -* Added CP932 converter, a variant of SHIFT_JIS. -* Added CP949 converter, a variant of EUC-KR. -* Improved the ISO-2022-CN-EXT converter: It now covers the ISO-IR-165 range. -* Updated the ISO-8859-8 conversion table. -* The JOHAB encoding is deprecated and not documented any more. -* Fixed two build problems: 1. "make -n check" failed. 2. When libiconv was - already installed, "make" failed. - -New in 1.0: -* Added transliteration facilities. -* Added a test suite. -* Fixed the iconv(3) manual page and function: the return value was not - described correctly. -* Fixed a bug in the CP1258 decoder: invalid bytes now yield EILSEQ instead of - U+FFFD. -* Fixed a bug in the Georgian-PS encoder: accept U+00E6. -* Fixed a bug in the EUC-JP encoder: reject 0x8E5C and 0x8E7E. -* Fixed a bug in the KSC5601 and JOHAB converters: they recognized some Hangul - characters at some invalid code positions. -* Fixed a bug in the EUC-TW decoder; it was severely broken. -* Fixed a bug in the CP950 converter: it recognized a dubious BIG5 range. - -New in 0.3: -* Reduced the size of the tables needed for the JOHAB converter. -* Portability to Woe32. - -New in 0.2: -* Added KOI8-RU, CP850, CP866, CP874, CP950, ISO-2022-CN-EXT, GBK and - ISO-2022-JP-1 converters. -* Added MACINTOSH as an alias for MAC-ROMAN. -* Added ASMO-708 as an alias for ISO-8859-6. -* Added ELOT_928 as an alias for ISO-8859-7. -* Improved the EUC-TW converter: Treat CNS 11643 plane 3. -* Improved the ISO-2022-KR and EUC-KR converters: Hangul characters are - decomposed into Jamo when needed. -* Improved the CP932 converter. -* Updated the CP1133, MULELAO-1 and ARMSCII-8 mappings. -* The EUC-JP and SHIFT_JIS converters now cover the user-defined range. -* Fixed a possible buffer overrun in the JOHAB converter. -* Fixed a bug in the UTF-7, ISO-2022-*, HZ decoders: a shift sequence a the - end of the input no longer gives an error. -* The HZ encoder now always terminates its output in the ASCII state. -* Use a perfect hash table for looking up the aliases. - -New in 0.1: -* Portability to Linux/glibc-2.0.x, Linux/libc5, OSF/1, FreeBSD. -* Fixed a bug in the EUC-JP decoder. Extended the ISO-2022-JP-2 converter. -* Made TIS-620 mapping consistent with glibc-2.1. - diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/NOTES b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/NOTES deleted file mode 100644 index 8f630e23..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/NOTES +++ /dev/null @@ -1,392 +0,0 @@ -Q: Why does libiconv support encoding XXX? Why does libiconv not support - encoding ZZZ? - -A: libiconv, as an internationalization library, supports those character - sets and encodings which are in wide-spread use in at least one territory - of the world. - - Hint1: On http://www.w3c.org/International/O-charset-lang.html you find a - page "Languages, countries, and the charsets typically used for them". - From this table, we can conclude that the following are in active use: - - ISO-8859-1, CP1252 Afrikaans, Albanian, Basque, Catalan, Danish, Dutch, - English, Faroese, Finnish, French, Galician, German, - Icelandic, Irish, Italian, Norwegian, Portuguese, - Scottish, Spanish, Swedish - ISO-8859-2 Croatian, Czech, Hungarian, Polish, Romanian, Slovak, - Slovenian - ISO-8859-3 Esperanto, Maltese - ISO-8859-5 Bulgarian, Byelorussian, Macedonian, Russian, - Serbian, Ukrainian - ISO-8859-6 Arabic - ISO-8859-7 Greek - ISO-8859-8 Hebrew - ISO-8859-9, CP1254 Turkish - ISO-8859-10 Inuit, Lapp - ISO-8859-13 Latvian, Lithuanian - ISO-8859-15 Estonian - KOI8-R Russian - SHIFT_JIS Japanese - ISO-2022-JP Japanese - EUC-JP Japanese - - Ordered by frequency on the web (1997): - ISO-8859-1, CP1252 96% - SHIFT_JIS 1.6% - ISO-2022-JP 1.2% - EUC-JP 0.4% - CP1250 0.3% - CP1251 0.2% - CP850 0.1% - MACINTOSH 0.1% - ISO-8859-5 0.1% - ISO-8859-2 0.0% - - Hint2: The character sets mentioned in the XFree86 4.0 locale.alias file. - - ISO-8859-1 Afrikaans, Basque, Breton, Catalan, Danish, Dutch, - English, Estonian, Faroese, Finnish, French, - Galician, German, Greenlandic, Icelandic, - Indonesian, Irish, Italian, Lithuanian, Norwegian, - Occitan, Portuguese, Scottish, Spanish, Swedish, - Walloon, Welsh - ISO-8859-2 Albanian, Croatian, Czech, Hungarian, Polish, - Romanian, Serbian, Slovak, Slovenian - ISO-8859-3 Esperanto - ISO-8859-4 Estonian, Latvian, Lithuanian - ISO-8859-5 Bulgarian, Byelorussian, Macedonian, Russian, - Serbian, Ukrainian - ISO-8859-6 Arabic - ISO-8859-7 Greek - ISO-8859-8 Hebrew - ISO-8859-9 Turkish - ISO-8859-14 Breton, Irish, Scottish, Welsh - ISO-8859-15 Basque, Breton, Catalan, Danish, Dutch, Estonian, - Faroese, Finnish, French, Galician, German, - Greenlandic, Icelandic, Irish, Italian, Lithuanian, - Norwegian, Occitan, Portuguese, Scottish, Spanish, - Swedish, Walloon, Welsh - KOI8-R Russian - KOI8-U Russian, Ukrainian - EUC-JP (alias eucJP) Japanese - ISO-2022-JP (alias JIS7) Japanese - SHIFT_JIS (alias SJIS) Japanese - U90 Japanese - S90 Japanese - EUC-CN (alias eucCN) Chinese - EUC-TW (alias eucTW) Chinese - BIG5 Chinese - EUC-KR (alias eucKR) Korean - ARMSCII-8 Armenian - GEORGIAN-ACADEMY Georgian - GEORGIAN-PS Georgian - TIS-620 (alias TACTIS) Thai - MULELAO-1 Laothian - IBM-CP1133 Laothian - VISCII Vietnamese - TCVN Vietnamese - NUNACOM-8 Inuktitut - - Hint3: The character sets supported by Netscape Communicator 4. - - Where is this documented? For the complete picture, I had to use - "strings netscape" and then a lot of guesswork. For a quick take, - look at the "View - Character set" menu of Netscape Communicator 4.6: - - ISO-8859-{1,2,5,7,9,15} - WINDOWS-{1250,1251,1253} - KOI8-R Cyrillic - CP866 Cyrillic - Autodetect Japanese (EUC-JP, ISO-2022-JP, ISO-2022-JP-2, SJIS) - EUC-JP Japanese - SHIFT_JIS Japanese - GB2312 Chinese - BIG5 Chinese - EUC-TW Chinese - Autodetect Korean (EUC-KR, ISO-2022-KR, but not JOHAB) - - UTF-8 - UTF-7 - - Hint4: The character sets supported by Microsoft Internet Explorer 4. - - ISO-8859-{1,2,3,4,5,6,7,8,9} - WINDOWS-{1250,1251,1252,1253,1254,1255,1256,1257} - KOI8-R Cyrillic - KOI8-RU Ukrainian - ASMO-708 Arabic - EUC-JP Japanese - ISO-2022-JP Japanese - SHIFT_JIS Japanese - GB2312 Chinese - HZ-GB-2312 Chinese - BIG5 Chinese - EUC-KR Korean - ISO-2022-KR Korean - WINDOWS-874 Thai - WINDOWS-1258 Vietnamese - - UTF-8 - UTF-7 - UNICODE actually UNICODE-LITTLE - UNICODEFEFF actually UNICODE-BIG - - and various DOS character sets: DOS-720, DOS-862, IBM852, CP866. - - We take the union of all these four sets. The result is: - - European and Semitic languages - * ASCII. - We implement this because it is occasionally useful to know or to - check whether some text is entirely ASCII (i.e. if the conversion - ISO-8859-x -> UTF-8 is trivial). - * ISO-8859-{1,2,3,4,5,6,7,8,9,10} - We implement this because they are widely used. Except ISO-8859-4 - which appears to have been superseded by ISO-8859-13 in the baltic - countries. But it's an ISO standard anyway. - * ISO-8859-13 - We implement this because it's a standard in Lithuania and Latvia. - * ISO-8859-14 - We implement this because it's an ISO standard. - * ISO-8859-15 - We implement this because it's increasingly used in Europe, because - of the Euro symbol. - * ISO-8859-16 - We implement this because it's an ISO standard. - * KOI8-R, KOI8-U - We implement this because it appears to be the predominant encoding - on Unix in Russia and Ukraine, respectively. - * KOI8-RU - We implement this because MSIE4 supports it. - * KOI8-T - We implement this because it is the locale encoding in glibc's Tajik - locale. - * CP{1250,1251,1252,1253,1254,1255,1256,1257} - We implement these because they are the predominant Windows encodings - in Europe. - * CP850 - We implement this because it is mentioned as occurring in the web - in the aforementioned statistics. - * CP862 - We implement this because Ron Aaron says it is sometimes used in web - pages and emails. - * CP866 - We implement this because Netscape Communicator does. - * Mac{Roman,CentralEurope,Croatian,Romania,Cyrillic,Greek,Turkish} and - Mac{Hebrew,Arabic} - We implement these because the Sun JDK does, and because Mac users - don't deserve to be punished. - * Macintosh - We implement this because it is mentioned as occurring in the web - in the aforementioned statistics. - Japanese - * EUC-JP, SHIFT_JIS, ISO-2022-JP - We implement these because they are widely used. EUC-JP and SHIFT_JIS - are more used for files, whereas ISO-2022-JP is recommended for email. - * CP932 - We implement this because it is the Microsoft variant of SHIFT_JIS, - used on Windows. - * ISO-2022-JP-2 - We implement this because it's the common way to represent mails which - make use of JIS X 0212 characters. - * ISO-2022-JP-1 - We implement this because it's in the RFCs, but I don't think it is - really used. - * U90, S90 - We DON'T implement this because I have no informations about what it - is or who uses it. - Simplified Chinese - * EUC-CN = GB2312 - We implement this because it is the widely used representation - of simplified Chinese. - * GBK - We implement this because it appears to be used on Solaris and Windows. - * GB18030 - We implement this because it is an official requirement in the - People's Republic of China. - * ISO-2022-CN - We implement this because it is in the RFCs, but I have no idea - whether it is really used. - * ISO-2022-CN-EXT - We implement this because it's in the RFCs, but I don't think it is - really used. - * HZ = HZ-GB-2312 - We implement this because the RFCs recommend it for Usenet postings, - and because MSIE4 supports it. - Traditional Chinese - * EUC-TW - We implement it because it appears to be used on Unix. - * BIG5 - We implement it because it is the de-facto standard for traditional - Chinese. - * CP950 - We implement this because it is the Microsoft variant of BIG5, used - on Windows. - * BIG5+ - We DON'T implement this because it doesn't appear to be in wide use. - Only the CWEX fonts use this encoding. Furthermore, the conversion - tables in the big5p package are not coherent: If you convert directly, - you get different results than when you convert via GBK. - * BIG5-HKSCS - We implement it because it is the de-facto standard for traditional - Chinese in Hongkong. - Korean - * EUC-KR - We implement these because they appear to be the widely used - representations for Korean. - * CP949 - We implement this because it is the Microsoft variant of EUC-KR, used - on Windows. - * ISO-2022-KR - We implement it because it is in the RFCs and because MSIE4 supports - it, but I have no idea whether it's really used. - * JOHAB - We implement this because it is apparently used on Windows as a locale - encoding (codepage 1361). - * ISO-646-KR - We DON'T implement this because although an old ASCII variant, its - glyph for 0x7E is not clear: RFC 1345 and unicode.org's JOHAB.TXT - say it's a tilde, but Ken Lunde's "CJKV information processing" says - it's an overline. And it is not ISO-IR registered. - Armenian - * ARMSCII-8 - We implement it because XFree86 supports it. - Georgian - * Georgian-Academy, Georgian-PS - We implement these because they appear to be both used for Georgian; - Xfree86 supports them. - Thai - * TIS-620 - We implement this because it seems to be standard for Thai. - * CP874 - We implement this because MSIE4 supports it. - * MacThai - We implement this because the Sun JDK does, and because Mac users - don't deserve to be punished. - Laotian - * MuleLao-1, CP1133 - We implement these because XFree86 supports them. I have no idea which - one is used more widely. - Vietnamese - * VISCII, TCVN - We implement these because XFree86 supports them. - * CP1258 - We implement this because MSIE4 supports it. - Other languages - * NUNACOM-8 (Inuktitut) - We DON'T implement this because it isn't part of Unicode yet, and - therefore doesn't convert to anything except itself. - Platform specifics - * HP-ROMAN8, NEXTSTEP - We implement these because they were the native character set on HPs - and NeXTs for a long time, and libiconv is intended to be usable on - these old machines. - Full Unicode - * UTF-8, UCS-2, UCS-4 - We implement these. Obviously. - * UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE - We implement these because they are the preferred internal - representation of strings in Unicode aware applications. These are - non-ambiguous names, known to glibc. (glibc doesn't have - UCS-2-INTERNAL and UCS-4-INTERNAL.) - * UTF-16, UTF-16BE, UTF-16LE - We implement these, because UTF-16 is still the favourite encoding of - the president of the Unicode Consortium (for political reasons), and - because they appear in RFC 2781. - * UTF-32, UTF-32BE, UTF-32LE - We implement these because they are part of Unicode 3.1. - * UTF-7 - We implement this because it is essential functionality for mail - applications. - * C99 - We implement it because it's used for C and C++ programs and because - it's a nice encoding for debugging. - * JAVA - We implement it because it's used for Java programs and because it's - a nice encoding for debugging. - * UNICODE (big endian), UNICODEFEFF (little endian) - We DON'T implement these because they are stupid and not standardized. - Full Unicode, in terms of `uint16_t' or `uint32_t' - (with machine dependent endianness and alignment) - * UCS-2-INTERNAL, UCS-4-INTERNAL - We implement these because they are the preferred internal - representation of strings in Unicode aware applications. - -Q: Support encodings mentioned in RFC 1345 ? -A: No, they are not in use any more. Supporting ISO-646 variants is pointless - since ISO-8859-* have been adopted. - -Q: Support EBCDIC ? -A: No! - -Q: How do I add a new character set? -A: 1. Explain the "why" in this file, above. - 2. You need to have a conversion table from/to Unicode. Transform it into - the format used by the mapping tables found on ftp.unicode.org: each line - contains the character code, in hex, with 0x prefix, then whitespace, - then the Unicode code point, in hex, 4 hex digits, with 0x prefix. '#' - counts as a comment delimiter until end of line. - Please also send your table to Mark Leisher <mleisher@crl.nmsu.edu> so he - can include it in his collection. - 3. If it's an 8-bit character set, use the '8bit_tab_to_h' program in the - tools directory to generate the C code for the conversion. You may tweak - the resulting C code if you are not satisfied with its quality, but this - is rarely needed. - If it's a two-dimensional character set (with rows and columns), use the - 'cjk_tab_to_h' program in the tools directory to generate the C code for - the conversion. You will need to modify the main() function to recognize - the new character set name, with the proper dimensions, but that shouldn't - be too hard. This yields the CCS. The CES you have to write by hand. - 4. Store the resulting C code file in the lib directory. Add a #include - directive to converters.h, and add an entry to the encodings.def file. - 5. Compile the package, and test your new encoding using a program like - iconv(1) or clisp(1). - 6. Augment the testsuite: Add a line to each of tests/Makefile.in, - tests/Makefile.msvc and tests/Makefile.os2. For a stateless encoding, - create the complete table as a TXT file. For a stateful encoding, - provide a text snippet encoded using your new encoding and its UTF-8 - equivalent. - 7. Update the README and man/iconv_open.3, to mention the new encoding. - Add a note in the NEWS file. - -Q: What about bidirectional text? Should it be tagged or reversed when - converting from ISO-8859-8 or ISO-8859-6 to Unicode? Qt appears to do - this, see qt-2.0.1/src/tools/qrtlcodec.cpp. -A: After reading RFC 1556: I don't think so. Support for ISO-8859-8-I and - ISO-8859-E remains to be implemented. - On the other hand, a page on www.w3c.org says that ISO-8859-8 in *email* - is visually encoded, ISO-8859-8 in *HTML* is logically encoded, i.e. - the same as ISO-8859-8-I. I'm confused. - -Other character sets not implemented: -"MNEMONIC" = "csMnemonic" -"MNEM" = "csMnem" -"ISO-10646-UCS-Basic" = "csUnicodeASCII" -"ISO-10646-Unicode-Latin1" = "csUnicodeLatin1" = "ISO-10646" -"ISO-10646-J-1" -"UNICODE-1-1" = "csUnicode11" -"csWindows31Latin5" - -Other aliases not implemented (and not implemented in glibc-2.1 either): - From MSIE4: - ISO-8859-1: alias ISO8859-1 - ISO-8859-2: alias ISO8859-2 - KSC_5601: alias KS_C_5601 - UTF-8: aliases UNICODE-1-1-UTF-8 UNICODE-2-0-UTF-8 - - -Q: How can I integrate libiconv into my package? -A: Just copy the entire libiconv package into a subdirectory of your package. - At configuration time, call libiconv's configure script with the - appropriate --srcdir option and maybe --enable-static or --disable-shared. - Then "cd libiconv && make && make install-lib libdir=... includedir=...". - 'install-lib' is a special (not GNU standardized) target which installs - only the include file - in $(includedir) - and the library - in $(libdir) - - and does not use other directory variables. After "installing" libiconv - in your package's build directory, building of your package can proceed. - -Q: Why is the testsuite so big? -A: Because some of the tests are very comprehensive. - If you don't feel like using the testsuite, you can simply remove the - tests/ directory. - diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/PORTS b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/PORTS deleted file mode 100644 index 2c4cfa03..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/PORTS +++ /dev/null @@ -1,46 +0,0 @@ -* Linux with libc6 (glibc-2.1): - OK - -* Linux with libc6 (glibc-2.0.7): - OK - -* Linux with libc5: - OK - -* Solaris 2.7: - OK - -* Solaris 2.6: - OK - -* OSF/1 5.1: - OK - -* OSF/1 4.0d: - OK - -* Irix 6.5: - OK - -* HP-UX 10.20: - OK - -* AIX 4.2: - OK - -* SunOS 4: - OK when configured --enable-static --disable-shared - (gcc cannot create shared libraries without relocations) - -* FreeBSD 3.3: - OK - -* BeOS 5: - OK - -* Woe32 with MSVC 4.0: - OK - -* Woe32 with MSVC 5.0: - OK - diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/README b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/README deleted file mode 100644 index e07ba0f0..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/README +++ /dev/null @@ -1,149 +0,0 @@ - GNU LIBICONV - character set conversion library - -This library provides an iconv() implementation, for use on systems which -don't have one, or whose implementation cannot convert from/to Unicode. - -It provides support for the encodings: - - European languages - ASCII, ISO-8859-{1,2,3,4,5,7,9,10,13,14,15,16}, - KOI8-R, KOI8-U, KOI8-RU, - CP{1250,1251,1252,1253,1254,1257}, CP{850,866}, - Mac{Roman,CentralEurope,Iceland,Croatian,Romania}, - Mac{Cyrillic,Ukraine,Greek,Turkish}, - Macintosh - Semitic languages - ISO-8859-{6,8}, CP{1255,1256}, CP862, Mac{Hebrew,Arabic} - Japanese - EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP, ISO-2022-JP-2, ISO-2022-JP-1 - Chinese - EUC-CN, HZ, GBK, GB18030, EUC-TW, BIG5, CP950, BIG5-HKSCS, - ISO-2022-CN, ISO-2022-CN-EXT - Korean - EUC-KR, CP949, ISO-2022-KR, JOHAB - Armenian - ARMSCII-8 - Georgian - Georgian-Academy, Georgian-PS - Tajik - KOI8-T - Thai - TIS-620, CP874, MacThai - Laotian - MuleLao-1, CP1133 - Vietnamese - VISCII, TCVN, CP1258 - Platform specifics - HP-ROMAN8, NEXTSTEP - Full Unicode - UTF-8 - UCS-2, UCS-2BE, UCS-2LE - UCS-4, UCS-4BE, UCS-4LE - UTF-16, UTF-16BE, UTF-16LE - UTF-32, UTF-32BE, UTF-32LE - UTF-7 - C99, JAVA - Full Unicode, in terms of `uint16_t' or `uint32_t' - (with machine dependent endianness and alignment) - UCS-2-INTERNAL, UCS-4-INTERNAL - Locale dependent, in terms of `char' or `wchar_t' - (with machine dependent endianness and alignment, and with OS and - locale dependent semantics) - char, wchar_t - The empty encoding name "" is equivalent to "char": it denotes the - locale dependent character encoding. - -When configured with the option --enable-extra-encodings, it also provides -support for a few extra encodings: - - European languages - CP{437,737,775,852,853,855,857,858,860,861,863,865,869,1125} - Semitic languages - CP864 - Japanese - EUC-JISX0213, Shift_JISX0213, ISO-2022-JP-3 - Turkmen - TDS565 - Platform specifics - RISCOS-LATIN1 - -It can convert from any of these encodings to any other, through Unicode -conversion. - -It has also some limited support for transliteration, i.e. when a character -cannot be represented in the target character set, it can be approximated -through one or several similarly looking characters. Transliteration is -activated when "//TRANSLIT" is appended to the target encoding name. - -libiconv is for you if your application needs to support multiple character -encodings, but that support lacks from your system. - -Installation: - -As usual for GNU packages: - - $ ./configure --prefix=/usr/local - $ make - $ make install - -After installing GNU libiconv for the first time, it is recommended to -recompile and reinstall GNU gettext, so that it can take advantage of -libiconv. - -On systems other than GNU/Linux, the iconv program will be internationalized -only if GNU gettext has been built and installed before GNU libiconv. This -means that the first time GNU libiconv is installed, we have a circular -dependency between the GNU libiconv and GNU gettext packages, which can be -resolved by building and installing either - - first libiconv, then gettext, then libiconv again, -or (on systems supporting shared libraries, excluding AIX) - - first gettext, then libiconv, then gettext again. -Recall that before building a package for the second time, you need to erase -the traces of the first build by running "make distclean". - -This library can be built and installed in two variants: - - - The library mode. This works on all systems, and uses a library - `libiconv.so' and a header file `<iconv.h>'. (Both are installed - through "make install".) - - To use it, simply #include <iconv.h> and use the functions. - - To use it in an autoconfiguring package: - - If you don't use automake, append m4/iconv.m4 to your aclocal.m4 - file. - - If you do use automake, add m4/iconv.m4 to your m4 macro repository. - - Add to the link command line of libraries and executables that use - the functions the placeholder @LIBICONV@ (or, if using libtool for - the link, @LTLIBICONV@). If you use automake, the right place for - these additions are the *_LDADD variables. - Note that 'iconv.m4' is also part of the GNU gettext package, which - installs it in /usr/local/share/aclocal/iconv.m4. - - - The libc plug/override mode. This works on GNU/Linux, Solaris and OSF/1 - systems only. It is a way to get good iconv support without having - glibc-2.1. - It installs a library `libiconv_plug.so'. This library can be used with - LD_PRELOAD, to override the iconv* functions present in the C library. - - On GNU/Linux and Solaris: - $ export LD_PRELOAD=/usr/local/lib/libiconv_plug.so - - On OSF/1: - $ export _RLD_LIST=/usr/local/lib/libiconv_plug.so:DEFAULT - - A program's source need not be modified, the program need not even be - recompiled. Just set the LD_PRELOAD environment variable, that's it! - - -Distribution: - ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.9.2.tar.gz - -Homepage: - http://www.gnu.org/software/libiconv/ - -Bug reports to: - <bug-gnu-libiconv@gnu.org> - - -Bruno Haible <bruno@clisp.org> diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/THANKS b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/THANKS deleted file mode 100644 index 35fc2eab..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/THANKS +++ /dev/null @@ -1,13 +0,0 @@ - Thanks to for - -Edmund Grimley Evans <edmundo@rano.org> bug reports - -Taro Muraoka <koron@tka.att.ne.jp> Woe32 DLL support - -Akira Hatakeyama <akira@sra.co.jp> OS/2 support - -Juan Manuel Guerrero <st001906@hrz1.hrz.tu-darmstadt.de> - DOS/DJGPP support - -Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> advice on EUC-JP and JISX0213 - diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/djgpp/README b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/djgpp/README deleted file mode 100644 index dfcc894b..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/djgpp/README +++ /dev/null @@ -1,122 +0,0 @@ -This is a port of GNU Libiconv 1.8 to MSDOS/DJGPP. - -1.: DJGPP specific changes. - ======================= - There are no DJGPP specific changes. This package should - configure and compile out-of-the-box. - Please read the documentation to become familiar with this - product. - - -2.: Installing the binary package. - ============================== - -2.1.: Copy the binary distribution into the top DJGPP installation - directory and unzip the binary distribution running *ONE* of - the following commands: - unzip32 licv18b.zip or - djtarx licv18b.zip or - pkunzip -d licv18b.zip - - - -3.: Building the binaries from sources. - =================================== - -3.1.: To build the binaries you will need the following binary packages: - djdev203.zip, bsh204b.zip, gcc2952b.zip, - bnu210b.zip, mak3791b.zip, fil316b.zip, - shl112b.zip, txt20b.zip, txi40b.zip, - grep24b.zip and sed302b.zip - - - All this packages can be found in the v2gnu directory of any - Simtel.NET mirror. - You will need bsh204b.zip and *NOT* a prior version or the build will fail. - The same applies to djdev203.zip. You *MUST* use the updated versions of - fil316b.zip (date: 2000-05-30) and shl112b.zip (date: 2000-08-11). This - updated versions have been recompiled with djdev203.zip and know about - the "/dev/env" functionality introduced with djdev203.zip. All the other - packages are the ones I have used to build the binaries from this sources. - Previuos and/or later versions of this packages may do the job as well but - I have not tested this. - -3.2.: Create a temporary directory and copy the source package: licv18s.zip - into the temporary directory. If you download the source distribution - from one of the DJGPP archives, just unzip it preserving the directory - structure, runnig ONE of the following commands: - unzip32 licv18s.zip or - djtarx licv18s.zip or - pkunzip -d licv18s.zip - - Source distributions downloaded from one of the GNU FTP sites need - some more work to unpack. First, you MUST use the `djtar' program to - unzip the package. That's because some file names in the official - distributions need to be changed to avoid problems on the various - platforms supported by DJGPP. `djtar' can rename files on the fly - given a file with name mappings. The distribution includes a file - `djgpp/fnchange.lst' with the necessary mappings. So you need first - to retrieve that file, and then invoke `djtar' to unpack the - distribution. Here's how: - - djtar -x -p -o libiconv-1.7/djgpp/fnchange.lst libiconv-1.7.tar.gz > lst - djtar -x -n lst libiconv-1.7.tar.gz - - (The name of the distribution archive and the top-level directory will - be different for versions other than 1.7.) - -3.3.: The package is preconfigured for djdev203. To build the products you - should run the following command: - make - - After the compilation has finished, you can check the products - running the command: - make check - - To install the products run the command: - make install - - This will install the products (iconv.exe iconv.h localcharset.h libconv.a - libcharset.a iconv.1 iconv.3 iconv_open.3 iconv_close.3) into your DJGPP - installation tree. As usual, prefix is defined as "/dev/env/DJDIR". - If you prefer to install into same other directory run the command: - make install prefix=z:/some/other/dir - - Of course, you should replace "z:/some/other/dir" by an appropriate path - that will meet your requeriments. - -3.4.: If you need/want to reconfigure the package you will have to run the - following commands: - make distclean - djgpp\config - - Please note that you *MUST* use the "distclean" option or the config.cache - file will *NOT* be deleted. In this case you are *NOT* reconfiguring - because the configuration informations is read from the cache file instead - of being newly computed. - To build the programs in a directory other than where the sources are, - you must add the parameter that specifies the source directory, - e.g: - x:\src\gnu\libiconv.18\djgpp\config x:/src/gnu/libiconv.18 - - Lets assume you want to build the binaries in a directory placed on a - different drive (z:\build in this case) from where the sources are, - then you will run the following commands: - z: - md \build - cd \build - x:\src\gnu\libiconv.18\djgpp\config x:/src/gnu/libiconv.18 - - You *MUST* use forward slashes to specify the source directory. - After having configured the package run the folowing commands to create - the binaries and docs and install them: - make - make check - make install - - Send suggestions and bug reports concerning the DJGPP port to - comp.os.msdos.djgpp or djgpp@delorie.com. Libiconv specific bugs - must be reported to Bruno Haible <haible@clisp.cons.org>. - - - Guerrero, Juan Manuel <st001906@hrz1.hrz.tu-darmstadt.de> diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/extras/ChangeLog b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/extras/ChangeLog deleted file mode 100644 index e74835b0..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/extras/ChangeLog +++ /dev/null @@ -1,64 +0,0 @@ -2003-05-10 Bruno Haible <bruno@clisp.org> - - * iconv_string.c (iconv_string): Don't return -1 just because the - string is longer than 4 KB. - -2002-02-13 Bruno Haible <bruno@clisp.org> - - * iconv.m4: Remove file. Obsoleted by m4/iconv.m4. - -2000-06-16 Bruno Haible <haible@clisp.cons.org> - - * iconv.m4: Change prefix to AM. - -2001-05-23 Bruno Haible <haible@clisp.cons.org> - - * iconv.m4 (jm_ICONV): Accept --with-libiconv-prefix option. - -2001-03-23 Bruno Haible <haible@clisp.cons.org> - - * iconv.m4 (jm_ICONV): Tweak printing of prototype. - -2001-03-20 Bruno Haible <haible@clisp.cons.org> - - * iconv.m4 (jm_ICONV): Recommend GNU libiconv. - -2001-01-03 Bruno Haible <haible@clisp.cons.org> - - * iconv.m4 (jm_ICONV): Also check whether the iconv declaration - has const. - -2000-02-02 Bruno Haible <haible@clisp.cons.org> - - * iconv.m4: New file. - -2001-01-29 Bruno Haible <haible@clisp.cons.org> - - * locale_charset.c: Remove file. Obsoleted by libcharset. - -2000-10-22 Bruno Haible <haible@clisp.cons.org> - - * locale_charset.c (get_locale_charset): Accept french and spanish - names in both ISO-8859-1 and UTF-8. - -2000-08-24 Jim Blackson <blackson@ontrack-japan.com> - - * iconv_string.c (iconv_string): Fix return value for autodetect. - -2000-01-24 Bruno Haible <haible@clisp.cons.org> - - * iconv_string.c (iconv_string): Stop recognizing JOHAB. - Fix typo for EUC-JP. - -1999-12-18 Bruno Haible <haible@clisp.cons.org> - - * locale_charset.c (get_locale_charset): Recognize more language codes: - "af" (afrikaans), "ca" (catalan), "eu" (basque), "fo" (faeroese), - "ga" (irish), "gd" (scottish), "gl" (galician), "sq" (albanian), - "eo" (esperanto), "mt" (maltese), "be" (byelorussian), - "et" (estonian), "lt" (lithuanian), "lv" (latvian), "uk" (ukrainian). - Recognize more aliases: "english", "slovenian", "macedonian", - "serbian", "arabic". - Change default: KOI8-R for "ru" (russian) instead of ISO-8859-5, - ISO-8859-5 for "sr" instead of ISO-8859-2. - diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/AUTHORS b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/AUTHORS deleted file mode 100644 index 8bedd794..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/AUTHORS +++ /dev/null @@ -1 +0,0 @@ -Bruno Haible <bruno@clisp.org> diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/ChangeLog b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/ChangeLog deleted file mode 100644 index 1be73272..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/ChangeLog +++ /dev/null @@ -1,322 +0,0 @@ -2003-06-18 Bruno Haible <bruno@clisp.org> - - * config/install-sh: Update from automake-1.7.5. - -2003-06-07 Bruno Haible <bruno@clisp.org> - - * Makefile.devel (config.h_vms): Remove INSTALLPREFIX. - Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>. - -2003-05-19 Bruno Haible <bruno@clisp.org> - - * windows/charset.rc: Include <winver.h>. - Reported by Perry Rapp. - -2003-05-07 Bruno Haible <bruno@clisp.org> - - * Makefile.vms: New file. - * Makefile.devel (config.h_vms): New rule. - (all): Depend on it. - -2003-05-06 Bruno Haible <bruno@clisp.org> - - * m4/libtool.m4: Update from GNU gettext, based on libtool-1.5. - -2003-05-06 Bruno Haible <bruno@clisp.org> - - * autoconf/config.guess: Update to GNU version 2003-02-22. - * autoconf/config.sub: Likewise. - -2003-05-06 Bruno Haible <bruno@clisp.org> - - * autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5. - -2003-04-12 Bruno Haible <bruno@clisp.org> - - * configure.in (mandir): Change default value. - * Makefile.in (datadir): New variable. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - Support for relocatable installation. - * autoconf/config.libpath: New file, from GNU gettext. - * configure.in: Invoke AC_RELOCATABLE_LIBRARY. - * include/libcharset.h.in: New file. - * Makefile.devel (include/libcharset.h.msvc-shared): New rule. - (all): Depend on it. - (autoconf/aclocal.m4): Update aclocal invocation. - (config.h.msvc): Handle INSTALLPREFIX. - * Makefile.in (include/libcharset.h): New rule. - (all): Depend on it. - (install-lib, install): Also install libcharset.h. - (uninstall): Uninstall libcharset.h. - (distclean, maintainer-clean): Remove include/libcharset.h. - * Makefile.msvc (all): Create include/libcharset.h. - (install): Also install libcharset.h. - (uninstall): Uninstall libcharset.h. - (mostlyclean, clean, distclean, maintainer-clean): Remove - include/libcharset.h. - * INSTALL.generic: Document --enable-relocatable and - --with-libintl-prefix. Remove the recommendation to set CPPFLAGS and - LDFLAGS. The lib-link.m4 macros make this unnecessary. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - * Makefile.msvc (PREFIX): New variable. - (prefix): Use it. - (distclean, maintainer-clean): Drop Unix specific removals. - * man/Makefile.msvc (PREFIX): New variable. - (prefix): Use it. - (clean): Drop unnecessary removals. - (distclean): Drop Unix specific removal. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - * configure.in: Invoke AM_LANGINFO_CODESET, not jm_LANGINFO_CODESET. - * autoconf/ltmain.sh: Update from GNU gettext. - 2003-02-18 Bruno Haible <bruno@clisp.org> - Fix the 2002-09-16 fix. - * ltmain.sh (install): If "ln -s -f" fails (this is the case - with /usr/bin/ln on Solaris 2.7), fall back to "rm && ln -s". - -2003-03-17 Bruno Haible <bruno@clisp.org> - - Improved MSVC support. - * windows/charset.rc: New file. - * Makefile.msvc (prefix): Use less Unixy value. - (local_prefix): Remove variable. - (libdir, includedir): Use backslashes. - (bindir): New variable. - (mandir): Remove variable. - (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): New variables. - (mostlyclean, clean): Remove config.h and include/localcharset.h. - (install, installdirs, uninstall): Rewritten. - * README.woe32: Mention automatic installation command. - - Rename libcharset.h to localcharset.h. - * include/localcharset.h.in: Renamed from include/libcharset.h.in. - * tools/locale_charset.c: Include localcharset.h, not libcharset.h. - * Makefile.in (include/localcharset.h): Renamed from - include/libcharset.h. - (all): Update dependency. - (install-lib, install, uninstall, distclean, maintainer-clean): Update. - * Makefile.msvc (all): Create include/localcharset.h, not - include/libcharset.h. - * Makefile.devel (include/localcharset.h.msvc-shared): Renamed from - include/libcharset.h.msvc-shared. - (all): Update dependency. - (config.h.in): Touch the file when done; autoheader doesn't do it. - (config.h.msvc): Make rule more robust. - * INTEGRATE: Mention localcharset.h only once. - * djgpp/README.in, djgpp/README: Update. - * djgpp/config.bat: Update. - * djgpp/config.sed: Update. - * djgpp/fnchange.in, djgpp/fnchange.lst: Update. - * configure.in (VERSION): Bump to 1.2. - * NEWS: New file. - -2003-02-14 Bruno Haible <bruno@clisp.org> - - * Makefile.devel (AUTOCONF): Switch to autoconf-2.57. - (configure, config.h.in): Update rules. - -2003-01-03 Albert Chin <libtool@thewrittenword.com> - - * autoconf/ltmain.sh: Don't pass -R flags found in a .la's - dependency_libs variable directly down to the linker. - Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>. - -2003-01-12 Bruno Haible <bruno@clisp.org> - - * INTEGRATE: Mention localcharset.h. - -2003-01-01 Bruno Haible <bruno@clisp.org> - - * Makefile.in (mkinstalldirs): Renamed from MKINSTALLDIRS. - (install-lib, install, installdirs): Use it. - -2002-09-27 Bruno Haible <bruno@clisp.org> - - * autoconf/mkinstalldirs: Upgrade to automake-1.7.2 version. - -2002-11-07 Bruno Haible <bruno@clisp.org> - - * autoconf/ltmain.sh: Upgrade to libtool-1.4.3. - -2002-06-12 Bruno Haible <bruno@clisp.org> - - * configure.in: Use new AC_* names of libtool macros. Invoke - AC_LIBTOOL_WIN32_DLL. - -2002-11-07 Bruno Haible <bruno@clisp.org> - - Make "make install" without prior "make" work. - * Makefile.in (install): Depend on include/libcharset.h. - Reported by Martin Mokrejš <mmokrejs@natur.cuni.cz>. - -2002-05-12 Bruno Haible <bruno@clisp.org> - - * tools/all-charsets: Update for change of lib/config.charset. - -2002-05-12 Bruno Haible <bruno@clisp.org> - - * Makefile.devel (AUTOCONF): New variable. - (configure): Use the AUTOCONF variable. - -2002-05-08 Bruno Haible <bruno@clisp.org> - - * README.woe32: Renamed from README.win32. - -2002-02-06 Bruno Haible <bruno@clisp.org> - - * m4/libtool.m4: Upgrade to libtool-1.4.2. - * autoconf/ltmain.sh: Likewise. - -2002-02-02 Bruno Haible <bruno@clisp.org> - - * autoconf/ltmain.sh: Add DESTDIR support on ELF systems. - -2001-11-03 Bruno Haible <haible@clisp.cons.org> - - * autoconf/ltmain.sh: chmod 777 the .libs directory, so that - "make install" succeeds. - -2001-12-04 Bruno Haible <bruno@clisp.org> - - * INTEGRATE: Change the install rule to not create $(libdir) if - there is no file to install in it. - -2001-07-17 Bruno Haible <haible@clisp.cons.org> - - * configure.in (VERSION): Bump to 1.1. - -2001-06-08 Bruno Haible <haible@clisp.cons.org> - - * m4/libtool.m4: Upgrade to libtool-1.4. - * autoconf/ltmain.sh: Likewise. - * autoconf/ltconfig: Remove file. - -2001-06-08 Bruno Haible <haible@clisp.cons.org> - - * autoconf/config.guess: Update to GNU version 2001-05-11. - * autoconf/config.sub: Likewise. - -2001-05-21 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (include/libcharset.h): New target. - (all): Depend on it. - -2001-05-11 Bruno Haible <haible@clisp.cons.org> - - * INTEGRATE (Makefile.in): Fix syntax error. - -2001-05-06 Bruno Haible <haible@clisp.cons.org> - - * Makefile.msvc (config.h): Allow the 'del' command to fail. - -2001-03-21 Bruno Haible <haible@clisp.cons.org> - - * INSTALL.generic (Particular Systems): Add recommendations for AIX 3. - -2001-03-10 Bruno Haible <haible@clisp.cons.org> - - * INSTALL.generic: New section "Particular Systems". - -2001-03-05 Bruno Haible <haible@clisp.cons.org> - - * tools/all-charsets: Update for change of lib/config.charset. - -2001-03-01 Bruno Haible <haible@clisp.cons.org> - - * tools/all-charsets: Update for change of lib/config.charset. - -2001-02-25 Bruno Haible <haible@clisp.cons.org> - - * autoconf/ltconfig: - sed -e 's/reload object files/produce relocatable object files/'. - -2001-02-25 Bruno Haible <haible@clisp.cons.org> - - * include/libcharset.h.in (locale_charset): Return value is never - NULL any more. - -2001-02-22 Bruno Haible <haible@clisp.cons.org> - - * INTEGRATE (Makefile.am): Change $@-t to t-$@. For DJGPP. - Patch by Juan Manuel Guerrero <st001906@hrz1.hrz.tu-darmstadt.de>. - -2001-02-20 Bruno Haible <haible@clisp.cons.org> - - Better support for DOS/Windows platforms. - * autoconf/ltconfig: Upgrade to libtool-1.3.5. - * autoconf/ltmain.sh: Likewise. - * m4/libtool.m4: Likewise. - * autoconf/aclocal.m4: Likewise. - * configure.in: Call AC_OBJEXT and AC_EXEEXT. - -2001-02-20 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (libdir, includedir, mandir): Use the autoconf - determined value, in order to respect the configure arguments. - * lib/Makefile.in (libdir): Likewise. - -2000-12-13 Bruno Haible <haible@clisp.cons.org> - - * autoconf/install-sh: Update to a newer version from fileutils. - -2000-12-12 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in: Use $(MAKE) instead of $(MAKE) -r. Needed with Solaris - "make", which doesn't set MAKE as expected by @SET_MAKE@ if -r is - given. Reported by Toshimitsu Fujiwara. - -2000-12-08 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (exec_prefix): Use configure's --exec-prefix argument. - -2000-12-02 Bruno Haible <haible@clisp.cons.org> - - * Makefile.msvc (check): Depend on target 'force' as well. - (mostlyclean, clean, distclean, maintainer-clean): Fix dependency. - - * Makefile.msvc: Replace STATIC with its opposite flag, DLL. - -2000-11-24 Bruno Haible <haible@clisp.cons.org> - - * tools/all-charsets: Update for 2000-10-31 change of - lib/config.charset. - -2000-11-23 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (install-lib): Fix for builddir != srcdir. - -2000-11-22 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (all): Fix for builddir != srcdir. - -2000-11-21 Bruno Haible <haible@clisp.cons.org> - - * include/libcharset.h.in: Renamed from include/libcharset.h. - * windows/dllexport.h: New file. - * Makefile.devel (all): Add config.h.msvc, - include/libcharset.h.msvc-shared. - (config.h.msvc, include/libcharset.h.msvc-shared): New targets. - * Makefile.msvc (MFLAGS): New variable. - (all): Create include\libcharset.h. - (distclean, maintainer-clean): Remove include\libcharset.h. - * Makefile.in (CP): New variable. - (all): Create include/libcharset.h. - (distclean, maintainer-clean): Remove include/libcharset.h. - -2000-11-18 Bruno Haible <haible@clisp.cons.org> - - * Makefile.devel (config.h.in): Rename from config.h. - -2000-11-16 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in: After "cd", use "&&" not ";". - -2000-10-31 Bruno Haible <haible@clisp.cons.org> - - * Makefile.msvc: New file. - * README.win32: New file. diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/NEWS b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/NEWS deleted file mode 100644 index 7e82f6c1..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/NEWS +++ /dev/null @@ -1,2 +0,0 @@ -New in 1.2: -* The include file is renamed from "libcharset.h" to "localcharset.h". diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/README b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/README deleted file mode 100644 index 9f4cf7b4..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/README +++ /dev/null @@ -1,60 +0,0 @@ - LIBCHARSET - portable character set determination library - -This library provides a function which determines the character set / encoding -of text in the currently selected locale (the LC_CTYPE locale facet). - -It is useful for portable programs which need to process text in other -encodings and locales than the currently selected one. Possible uses: - - * Use of Unicode in POSIX compliant applications. - * Conversion of text between the current locale's encoding and UTF-8 (or - any other given encoding). - * Mail agents. - -In theory, this would be very simple: The Single Unix Specification (SUSV2) -provides the nl_langinfo function, in such a way that - - nl_langinfo (CODESET) - -returns the encoding name. But the nl_langinfo function still does not exist -on some systems, and on those where it exists it returns unstandardized -variations of the encoding names, like (on Solaris) "PCK" for "Shift_JIS". - -This library fixes these flaws and provides a function - - const char * locale_charset (void); - -It determines the current locale's character encoding, and canonicalizes it -into one of the canonical names listed in config.charset. The result must -not be freed; it is statically allocated. If the canonical name cannot be -determined, the result is a non-canonical name. - - -Installation: - -As usual for GNU packages: - - $ ./configure --prefix=/usr/local - $ make - $ make install - - -This library is used in - GNU sh-utils, fileutils, textutils - GNU gettext - GNU clisp - - -To integrate this library into your package: -See file INTEGRATE. - - -Distribution: - The libcharset directory of - ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz - -Homepage: - http://www.haible.de/bruno/packages-libcharset.html - - -Bruno Haible <bruno@clisp.org> diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/djgpp/README b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/djgpp/README deleted file mode 100644 index 27c44a27..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/djgpp/README +++ /dev/null @@ -1,123 +0,0 @@ -This is a port of GNU Libiconv 1.7 to MSDOS/DJGPP. - -1.: DJGPP specific changes. - ======================= - There are no DJGPP specific changes. This package should - configure and compile out-of-the-box. - Please read the documentation to become familiar with this - product. - - -2.: Installing the binary package. - ============================== - -2.1.: Copy the binary distribution into the top DJGPP installation - directory and unzip the binary distribution running *ONE* of - the following commands: - unzip32 licv16b.zip or - djtarx licv16b.zip or - pkunzip -d licv16b.zip - - - -3.: Building the binaries from sources. - =================================== - -3.1.: To build the binaries you will need the following binary packages: - djdev203.zip, bsh204b.zip, gcc2952b.zip, - bnu210b.zip, mak3791b.zip, fil316b.zip, - shl112b.zip, txt20b.zip, txi40b.zip, - grep24b.zip and sed302b.zip - - - All this packages can be found in the v2gnu directory of any - Simtel.NET mirror. - You will need bsh204b.zip and *NOT* a prior version or the build will fail. - The same applies to djdev203.zip. You *MUST* use the updated versions of - fil316b.zip (date: 2000-05-30) and shl112b.zip (date: 2000-08-11). This - updated versions have been recompiled with djdev203.zip and know about - the "/dev/env" functionality introduced with djdev203.zip. All the other - packages are the ones I have used to build the binaries from this sources. - Previuos and/or later versions of this packages may do the job as well but - I have not tested this. - -3.2.: Create a temporary directory and copy the source package: licv16s.zip - into the temporary directory. If you download the source distribution - from one of the DJGPP archives, just unzip it preserving the directory - structure, runnig ONE of the following commands: - unzip32 licv16s.zip or - djtarx licv16s.zip or - pkunzip -d licv16s.zip - - Source distributions downloaded from one of the GNU FTP sites need - some more work to unpack. First, you MUST use the `djtar' program to - unzip the package. That's because some file names in the official - distributions need to be changed to avoid problems on the various - platforms supported by DJGPP. `djtar' can rename files on the fly - given a file with name mappings. The distribution includes a file - `djgpp/fnchange.lst' with the necessary mappings. So you need first - to retrieve that file, and then invoke `djtar' to unpack the - distribution. Here's how: - - djtar -x -p -o libiconv-1.7/djgpp/fnchange.lst libiconv-1.7.tar.gz > lst - djtar -x -n lst libiconv-1.7.tar.gz - - (The name of the distribution archive and the top-level directory will - be different for versions other than 1.7.) - - -3.3.: The package is preconfigured for djdev203. To build the products you - should run the following command: - make - - After the compilation has finished, you can check the products - running the command: - make check - - To install the products run the command: - make install - - This will install the products (iconv.exe iconv.h localcharset.h libconv.a - libcharset.a iconv.1 iconv.3 iconv_open.3 iconv_close.3) into your DJGPP - installation tree. As usual, prefix is defined as "/dev/env/DJDIR". - If you prefer to install into same other directory run the command: - make install prefix=z:/some/other/dir - - Of course, you should replace "z:/some/other/dir" by an appropriate path - that will meet your requeriments. - -3.4.: If you need/want to reconfigure the package you will have to run the - following commands: - make distclean - djgpp\config - - Please note that you *MUST* use the "distclean" option or the config.cache - file will *NOT* be deleted. In this case you are *NOT* reconfiguring - because the configuration informations is read from the cache file instead - of being newly computed. - To build the programs in a directory other than where the sources are, - you must add the parameter that specifies the source directory, - e.g: - x:\src\gnu\libiconv.16\djgpp\config x:/src/gnu/libiconv.16 - - Lets assume you want to build the binaries in a directory placed on a - different drive (z:\build in this case) from where the sources are, - then you will run the following commands: - z: - md \build - cd \build - x:\src\gnu\libiconv.16\djgpp\config x:/src/gnu/libiconv.16 - - You *MUST* use forward slashes to specify the source directory. - After having configured the package run the folowing commands to create - the binaries and docs and install them: - make - make check - make install - - Send suggestions and bug reports concerning the DJGPP port to - comp.os.msdos.djgpp or djgpp@delorie.com. Libiconv specific bugs - must be reported to Bruno Haible <haible@clisp.cons.org>. - - - Guerrero, Juan Manuel <st001906@hrz1.hrz.tu-darmstadt.de> diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/lib/ChangeLog b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/lib/ChangeLog deleted file mode 100644 index 4cf95b4f..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/lib/ChangeLog +++ /dev/null @@ -1,302 +0,0 @@ -2004-01-21 Bruno Haible <bruno@clisp.org> - - Upgrade from gettext-0.14. - - 2004-01-21 Bruno Haible <bruno@clisp.org> - * config.charset: Add support for MacOS X (Darwin). - - 2003-12-02 Bruno Haible <bruno@clisp.org> - * config.charset: Treat the new country name CS like the old country - name YU. - - 2003-08-20 Bruno Haible <bruno@clisp.org> - * config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2. - Reported by Alain Guibert <derogaton+bgli@oreka.com>. - - 2003-08-14 Bruno Haible <bruno@clisp.org> - * config.charset: Add support for Linux libc5. Based on data from - Alain Guibert <derogaton+bgli@oreka.com>. - -2003-06-27 Bruno Haible <bruno@clisp.org> - - Avoid use of *_unlocked functions on Solaris 2.5.1. - * localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED. - Reported by Eric Botcazou <ebotcazou@libertysurf.fr>. - -2003-08-20 Bruno Haible <bruno@clisp.org> - - * config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2. - Reported by Alain Guibert <derogaton+bgli@oreka.com>. - -2003-08-14 Bruno Haible <bruno@clisp.org> - - * config.charset: Add support for Linux libc5. Based on data from - Alain Guibert <derogaton+bgli@oreka.com>. - -2003-08-01 Bruno Haible <bruno@clisp.org> - - * relocatable.c (find_shared_library_fullname): Disable the code on - Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>. - -2003-06-22 Bruno Haible <bruno@clisp.org> - - Portability to mingw32. - * relocatable.c [WIN32]: Include <windows.h>. - Reported by Jeff Bonggren <jbon@cfl.rr.com>. - -2003-06-22 Bruno Haible <bruno@clisp.org> - - * relocatable.c (compute_curr_prefix): Comment out this function in - the case when it is not used. - Reported by Pavel Roskin <proski@gnu.org>. - -2003-06-07 Bruno Haible <bruno@clisp.org> - - Support for relocatable data files even on VMS. - * Makefile.vms (bindir): New variable. - (DEFS): Add flags for relocatability. - Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>. - -2003-06-07 Bruno Haible <bruno@clisp.org> - - Support for relocatable data files even on Woe32. - * Makefile.msvc (IIPREFIX, IIprefix, IIexec_prefix, IIbindir, - IIlibdir): New variables. - (PICFLAGS): Also define PIC. Define BUILDING_* flags here. - (CFLAGS): ... not here. Add flags for relocatability. - -2003-05-18 Bruno Haible <bruno@clisp.org> - - * Makefile.msvc (DEBUGFLAGS): New variable. - (charset.lib): Use it. - -2003-05-07 Bruno Haible <bruno@clisp.org> - - * Makefile.vms: New file. - -2003-04-12 Bruno Haible <bruno@clisp.org> - - * lib/localcharset.c (get_charset_aliases): Add special case for VMS. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - Support for relocatable installation. - * relocatable.h: New file, from GNU gettext. - * relocatable.c: New file, from GNU gettext. - * localcharset.c: Update from GNU gettext. - 2003-02-28 Bruno Haible <bruno@clisp.org> - * localcharset.c: Include relocatable.h. - (get_charset_aliases): Relocate LIBDIR value. - * localcharset.c: Drop C linkage declaration. - * Makefile.in (DEFS): New variable. - (SOURCES): Add relocatable.c. - (OBJECTS): Add relocatable.lo. - (localcharset.lo): Use $(DEFS). - (relocatable.lo): New rule. - * Makefile.msvc (CFLAGS): Remove $(PICFLAGS). - (INCLUDES): Simplify. - (SOURCES): Remove variable. - (OBJECTS): Add relocatable.obj. - (localcharset.obj): Add $(PICFLAGS). - (relocatable.obj): New rule. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - * Makefile.msvc (PREFIX): New variable. - (prefix): Use it. - (clean): Drop Unix specific removal. - -2003-03-17 Bruno Haible <bruno@clisp.org> - - Improved MSVC support. - * Makefile.msvc (prefix): Use less Unixy value. - (local_prefix): Remove variable. - (libdir): Use backslashes. - (bindir): New variable. - (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Set to real values. - (RESOURCES): Enable charset.res. - (charset.lib): Set the target library name explicitly. - (charset.res): New rule. - (install, installdirs, uninstall): New rules. - - Rename libcharset.h to localcharset.h. - * localcharset.c: Include localcharset.h. - * localcharset.h: Remove file. - * Makefile.in (INCLUDES): Add -I../include. - * Makefile.msvc (INCLUDES): Add -I../include. - -2003-01-29 Bruno Haible <bruno@clisp.org> - - * config.charset: Add an alias for CP1251 on Solaris. - Reported by Hidetoshi Tajima <hidetoshi.tajima@sun.com>. - -2003-01-12 Bruno Haible <bruno@clisp.org> - - * localcharset.h: New file. - * localcharset.c: Include it. - -2003-01-01 Bruno Haible <bruno@clisp.org> - - * Makefile.in (mkinstalldirs): Renamed from MKINSTALLDIRS. - (install-lib, install, installdirs): Use it. - -2002-05-09 Bruno Haible <bruno@clisp.org> - - * config.charset: Update for newest glibc. Add canonical names - ISO-8859-14, KOI8-T, TCVN5712-1, GEORGIAN-PS. - -2002-05-09 Bruno Haible <bruno@clisp.org> - - * localcharset.c (get_charset_aliases): Add more Windows specific - aliases. - -2002-05-08 Owen Taylor <otaylor@redhat.com> - - * config.charset: A few additions for Solaris. - -2002-02-15 Bruno Haible <bruno@clisp.org> - - * config.charset [msdosdjgpp]: For Russian, use CP866. - -2002-02-11 Bruno Haible <bruno@clisp.org> - - * config.charset: Add support for NetBSD. - -2002-01-10 Andrew Zabolotny <zap@cobra.ru> - Bruno Haible <bruno@clisp.org> - - * localcharset.c: Rework OS/2 support. - * config.charset: Add OS/2 support. - -2001-12-21 Bruno Haible <bruno@clisp.org> - - * localcharset.c (ISSLASH): Provide definition for DOS-like systems. - -2001-12-15 Bruno Haible <bruno@clisp.org> - - * localcharset.c: Add OS/2 support. - -2001-12-05 Bruno Haible <bruno@clisp.org> - - * localcharset.c (locale_charset): Don't return an empty string. - -2001-10-23 Bruno Haible <haible@clisp.cons.org> - - * config.charset: msdos in uk_UA uses CP1125. - -2001-08-05 Bruno Haible <haible@clisp.cons.org> - - Make it possible to build libcharset with CC=gcc CFLAGS="-x c++". - * localcharset.c (locale_charset): Declare as extern "C". - (get_charset_aliases): Cast malloc and realloc results to 'char *'. - -2001-06-27 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (clean): Remove also *.o.lock, left there by libtool - on IRIX. - -2001-06-25 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (localcharset.lo): Mention $(INCLUDES) before $(CFLAGS) - and $(CPPFLAGS). - * Makefile.msvc (localcharset.obj): Likewise. - -2001-06-24 Bruno Haible <haible@clisp.cons.org> - - * config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS. - Change canonical name of SJIS to SHIFT_JIS. - -2001-05-06 Bruno Haible <haible@clisp.cons.org> - - * Makefile.msvc (charset.lib): Allow the 'del' command to fail. - -2001-05-06 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (CPPFLAGS, LDFLAGS): New variables. - (libcharset.la): Use LDFLAGS. - (localcharset.lo): Use CPPFLAGS. - -2001-04-30 Bruno Haible <haible@clisp.cons.org> - - Silence "gcc -Wall -Wwrite-strings" warnings. - * localcharset.c (charset_aliases): Change type to 'const char *'. - (get_charset_aliases): Change type of 'cp' to 'const char *'. - -2001-03-10 Bruno Haible <haible@clisp.cons.org> - - * localcharset.c (locale_charset): Allow wildcard syntax. Also resolve - alias if codeset is empty. - * config.charset (BeOS): Use wildcard syntax. - - * Makefile.in (libcharset.la): Pass flag -no-undefined. Needed on - platforms like BeOS. - - * Makefile.in (RM): New variable. - -2001-01-05 Bruno Haible <haible@clisp.cons.org> - - * localcharset.c (volatile): Define to empty if not using ANSI C. - -2001-03-05 Bruno Haible <haible@clisp.cons.org> - - * config.charset: Update for OSF/1 5.1. - -2001-03-01 Bruno Haible <haible@clisp.cons.org> - - * config.charset: For DOS/DJGPP, add CP775. - -2001-02-24 Bruno Haible <haible@clisp.cons.org> - - * config.charset: Add support for DOS/DJGPP. - -2001-02-25 Bruno Haible <haible@clisp.cons.org> - - * localcharset.c (locale_charset): Don't return NULL. - -2001-02-24 Bruno Haible <haible@clisp.cons.org> - - * localcharset.c (locale_charset): Don't use setlocale(LC_CTYPE,NULL). - -2001-01-30 Bruno Haible <haible@clisp.cons.org> - - * config.charset: Update for FreeBSD 4.2. - -2000-12-19 Jim Meyering <jim@meyering.net> - - * localcharset.c: Improve WIN32 macrology. - (locale_charset): Increase size of buffer. - -2000-12-18 Bruno Haible <haible@clisp.cons.org> - - * config.charset: Add support for BeOS. - -2000-12-12 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (ref-add.sed, ref-del.sed): Don't use $<, not understood - by Solaris "make". Reported by Toshimitsu Fujiwara. - -2000-12-08 Bruno Haible <haible@clisp.cons.org> - - * Makefile.in (exec_prefix): Use configure's --exec-prefix argument. - -2000-12-02 Bruno Haible <haible@clisp.cons.org> - - * Makefile.msvc: Replace STATIC with its opposite flag, DLL. - -2000-11-21 Bruno Haible <haible@clisp.cons.org> - - * Makefile.msvc (MFLAGS): New variable. - (CFLAGS, charset.lib): Use it. - (INCLUDES): Use "..", not "..\include". - -2000-10-31 Bruno Haible <haible@clisp.cons.org> - - * Makefile.msvc: New file. - -2000-10-31 Bruno Haible <haible@clisp.cons.org> - - * config.charset: Add ISO-8859-3, BIG5HKSCS, GB18030, JOHAB, VISCII, - CP874, CP949, CP950, CP1250, CP1253, CP1254, CP1255, CP1256, CP1257 - to the list of canonical encodings. Rename EUC-CN to GB2312. - * localcharset.c (locale_charset): Add support for Win32. - diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/m4/ChangeLog b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/m4/ChangeLog deleted file mode 100644 index 236923ff..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/m4/ChangeLog +++ /dev/null @@ -1,18 +0,0 @@ -2003-04-05 Bruno Haible <bruno@clisp.org> - - Support for relocatable installation. - * relocatable.m4: New file, from GNU gettext. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - * codeset.m4: Update from GNU gettext-0.10.40. - * glibc21.m4: Update from GNU gettext-0.10.40. - -2002-11-07 Bruno Haible <bruno@clisp.org> - - * libtool.m4: Upgrade to libtool-1.4.3. - -2002-07-14 Bruno Haible <bruno@clisp.org> - - * libtool.m4 (_LT_AC_LTCONFIG_HACK): Add support for GNU/FreeBSD. - diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/tools/README b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/tools/README deleted file mode 100644 index 7c5f7d73..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/libcharset/tools/README +++ /dev/null @@ -1,25 +0,0 @@ -This directory contains tools for maintaining the config.charset file. - -The main script is "all-charsets". Before using it, you must configure -this package. For all installed locales, it prints - - the result of the command "locale charmap", - - the result of "nl_langinfo (CODESET)", - - the result of "locale_charset ()". - -It uses the following auxiliary scripts and programs: - - all-locales - Prints all usable locales in the system, one per line. - - locale_charmap - Executes "locale charmap". - - locale_codeset.c - Prints nl_langinfo (CODESET). - - locale_charset.c - Prints locale_charset(). - -A second main script is "all-charsets-X11". It also prints the X11 -encoding name. Before using it, you must tweak the X11 paths needed -for compiling locale_x11encoding (a simple X11 program), and let your -DISPLAY environment variable point to a running X11 screen. - -The other files are test results from various operating systems. - diff --git a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/po/ChangeLog b/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/po/ChangeLog deleted file mode 100644 index daf35ca7..00000000 --- a/gnuwin32/contrib/libiconv/1.9.2/libiconv-1.9.2-src/po/ChangeLog +++ /dev/null @@ -1,148 +0,0 @@ -2003-11-13 Bruno Haible <bruno@clisp.org> - - * sr.po: New file, from Aleksandar Jelenak <jelenak@netlinkplus.net>. - * LINGUAS: Add sr. - -2003-10-14 Bruno Haible <bruno@clisp.org> - - * pl.po: New file, from Arkadiusz Lipiec <A.Lipiec@elka.pw.edu.pl>. - * LINGUAS: Add pl. - -2003-08-22 Bruno Haible <bruno@clisp.org> - - * wa.po: New file, from Pablo Saratxaga <pablo@walon.org>. - * LINGUAS: Add wa. - -2003-08-05 Bruno Haible <bruno@clisp.org> - - * nl.po: Update from Elros Cyriatan <cyriatan@fastmail.fm>. - -2003-07-31 Bruno Haible <bruno@clisp.org> - - * nl.po: New file, from Taco Witte <T.C.Witte@phys.uu.nl>. - * LINGUAS: Add nl. - -2003-06-11 Bruno Haible <bruno@clisp.org> - - * et.po: New file, from Toomas Soome <Toomas.Soome@microlink.ee>. - * ro.po: Update from Eugen Hoanca <eugenh@urban-grafx.ro>. - * ru.po: Update from Dmitry S. Sivachenko <mitya@cavia.pp.ru>. - * zh_CN.po: New file, from Wang Jian <lark@linux.net.cn>. - * LINGUAS: Add et and zh_CN. - -2003-05-07 Bruno Haible <bruno@clisp.org> - - * ga.po: Update from Kevin Patrick Scannell <scannell@slu.edu>. - -2003-05-06 Bruno Haible <bruno@clisp.org> - - * ga.po: New file, from Kevin Patrick Scannell <scannell@slu.edu>. - * LINGUAS: Add it. - -2003-04-22 Bruno Haible <bruno@clisp.org> - - * ro.po: New file, from Eugen Hoanca <eugenh@urban-grafx.ro>. - * LINGUAS: Add it. - -2003-04-05 Bruno Haible <bruno@clisp.org> - - * Makefile.msvc.sh (PREFIX): New variable. - (prefix): Use it. - (clean): Drop Unix specific removal. - -2003-04-09 Bruno Haible <bruno@clisp.org> - - * Makevars (MSGID_BUGS_ADDRESS): New variable. - -2003-04-09 gettextize <bug-gnu-gettext@gnu.org> - - * Makefile.in.in: Upgrade to gettext-0.12-pre3. - -2003-03-17 Bruno Haible <bruno@clisp.org> - - Improved MSVC support. - * Makefile.msvc.sh: New file. - * Rules-msvc: New file. - -2003-02-10 Bruno Haible <bruno@clisp.org> - - * uk.po: New file, from Volodymyr M. Lisivka <lvm@mystery.lviv.net>. - * LINGUAS: Add it. - -2002-12-05 Bruno Haible <bruno@clisp.org> - - * it.po: New file, from Marco Parrone <marc0@autistici.org>. - * LINGUAS: Add it. - -2002-11-12 Bruno Haible <bruno@clisp.org> - - * da.po: New file, from Keld Simonsen <keld@dkuug.dk>. - * LINGUAS: Add da. - -2002-10-29 Bruno Haible <bruno@clisp.org> - - * id.po: New file, from Tedi Heriyanto <tedi_h@gmx.net>. - * LINGUAS: Add id. - -2002-08-23 Bruno Haible <bruno@clisp.org> - - * fi.po: New file, from Matti Koskimies <matti@apulanta.fi>. - * fr.po: New file, from Michel Robitaille <robitail@iro.umontreal.ca>. - * pt_BR.po: Update from - Alexandre Folle de Menezes <afmenez@terra.com.br>. - * ru.po: New file, from Dmitry S. Sivachenko <mitya@cavia.pp.ru>. - * sl.po: New file, from - Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>. - * tr.po: New file, from Deniz Akkus Kanca <deniz@arayan.com>. - * LINGUAS: Add fi, fr, ru, sl, tr. - -2002-06-20 Bruno Haible <bruno@clisp.org> - - * es.po: New file, from Santiago Vila Doncel <sanvila@unex.es>. - * LINGUAS: Add es. - -2002-06-14 Bruno Haible <bruno@clisp.org> - - * hr.po: New file, from Denis Lackovic <delacko@fly.srk.fer.hr>. - * LINGUAS: Add hr. - -2002-06-14 Bruno Haible <bruno@clisp.org> - - * pt_BR.po: Update from - Alexandre Folle de Menezes <afmenez@terra.com.br>. - -2002-06-11 Bruno Haible <bruno@clisp.org> - - * sv.po: New file, from Christian Rose <menthos@menthos.com>. - * LINGUAS: Add sv. - -2002-06-05 Bruno Haible <bruno@clisp.org> - - * pt_BR.po: New file, from - Alexandre Folle de Menezes <afmenez@terra.com.br>. - * LINGUAS: Add pt_BR. - -2002-06-03 Bruno Haible <bruno@clisp.org> - - * gl.po: New file, from Jacobo Tarrio <jtarrio@trasno.net>. - * LINGUAS: Add gl. - -2002-05-31 Bruno Haible <bruno@clisp.org> - - * ca.po: New file, from Ivan Vilata i Balaguer <ivan@selidor.net>. - * eo.po: New file, from Edmund Grimley Evans <edmundo@rano.org>. - * hu.po: New file, from Emese Kovacs <emese@gnome.hu>. - * sk.po: New file, from Marcel Telka <marcel@telka.sk>. - * LINGUAS: Add ca, eo, hu, sk. - -2002-04-27 gettextize <bug-gnu-gettext@gnu.org> - - * Makefile.in.in: New file, from gettext-0.11.1. - * Rules-quot: New file, from gettext-0.11.1. - * boldquot.sed: New file, from gettext-0.11.1. - * en@boldquot.header: New file, from gettext-0.11.1. - * en@quot.header: New file, from gettext-0.11.1. - * insert-header.sin: New file, from gettext-0.11.1. - * quot.sed: New file, from gettext-0.11.1. - * remove-potcdate.sin: New file, from gettext-0.11.1. - |