summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix a warning regarding strncmp.HEADmasterBruno Haible2022-09-082-2/+8
| | | | | | Reported by Sam James in <https://savannah.gnu.org/bugs/?63031>. * lib/getopt.c (strncmp): Declare with a prototype.
* Split autogen.sh into autopull.sh and autogen.sh.Bruno Haible2022-07-174-20/+51
| | | | | | * autopull.sh: New file, based on autogen.sh. * autogen.sh: Remove code that was moved to autopull.sh. * Makefile.in (SOURCE_FILES): Add autogen.sh.
* Add support for reproducible builds.Bruno Haible2022-07-0519-17/+44
| | | | | | | | | | | Suggested by Richard Purdie <richard.purdie@linuxfoundation.org> in <https://lists.gnu.org/archive/html/bug-gperf/2022-07/msg00000.html>. * autogen.sh: Import also lib/filename.h. * Makefile.in (IMPORTED_FILES): Add lib/filename.h. * src/options.cc: Include filename.h. (Options::print_options): Print only the base name of the program name. * tests/*.exp: Update.
* Add GNU Project notice.Bruno Haible2022-05-234-2/+31
| | | | | | | * JOIN-GNU: New file. Inspired by a suggestion from José E. Marchesi on the gnu-prog-discuss mailing list. * README: Refer to it. * Makefile.in (SOURCE_FILES): Add it.
* tests: Fix undefined behaviour.Bruno Haible2022-02-082-1/+6
| | | | * tests/test2.c (main): Cast bytes to unsigned before shifting left.
* Release gperf-3.2.Bruno Haible2022-01-0518-21/+29
| | | | | | | * src/version.cc (version_string): Bump to 3.2. * src/options.cc (Options::parse_options): Bump copyright year. * tests/*.exp: Update. * doc/gperf.texi: Bump date.
* Honor --readonly-tables when outputting table for --ignore-case.Michael Drake2021-06-062-3/+9
| | | | * src/output.cc (output_upperlower_table): Add 'const' when suitable.
* Mark Autoconf 2.71 as supported.Bruno Haible2021-01-302-2/+7
| | | | * autogen.sh: Update comment.
* Mark Autoconf 2.70 as supported.Bruno Haible2020-12-092-1/+6
| | | | * autogen.sh: Update comment.
* Fix warnings from Autoconf 2.69c.Bruno Haible2020-10-056-20/+44
| | | | | | | | | | | | * configure.ac: Invoke AC_INIT, AC_OUTPUT without arguments. * doc/configure.ac: Likewise. * lib/configure.ac: Likewise. * src/configure.ac: Invoke AC_INIT, AC_OUTPUT without arguments. Use AC_CACHE_CHECK, AC_LANG_PUSH/AC_LANG_POP, AC_COMPILE_IFELSE * tests/configure.ac: Invoke AC_INIT, AC_OUTPUT without arguments. Use ac_cv_c_compiler_gnu instead of ac_cv_prog_gcc, and ac_cv_cxx_compiler_gnu instead of ac_cv_prog_gxx. Don't use 'test' with option '-a'.
* Make the code C++17 compliant.Bruno Haible2020-08-302-2/+7
| | | | * lib/getline.cc (getstr): Don't use the 'register' keyword.
* Fix link error on native Windows with MSVC/clang.Bruno Haible2020-08-302-1/+11
| | | | | * tests/test2.c (SET_BINARY): On native Windows, use _setmode, not setmode.
* Update after gnulib changed.Bruno Haible2020-08-307-12/+22
| | | | | | | | | * configure.ac (AC_PREREQ): Require Autoconf >= 2.64. * doc/configure.ac (AC_PREREQ): Likewise. * lib/configure.ac (AC_PREREQ): Likewise. * src/configure.ac (AC_PREREQ): Likewise. * tests/configure.ac (AC_PREREQ): Likewise. * autogen.sh: Update comment.
* Rely entirely on the GNU Build System.Bruno Haible2020-02-114-10/+17
| | | | | | | | | * Makefile.vms: Remove file. * INSTALL.vms: Remove file. * Makefile.in (SOURCE_FILES): Remove them. * Makefile.devel (src/config.h_vms): Remove target. (totally-clean): Update. * src/Makefile.in (GENERATED_FILES): Remove config.h_vms.
* Rely entirely on the GNU Build System.Bruno Haible2020-02-112-186/+0
| | | | | | * Makefile.vms: Remove file. * INSTALL.vms: Remove file. * Makefile.in (SOURCE_FILES): Remove them.
* Update after gnulib changed.Bruno Haible2018-10-247-10/+20
|
* Prefer https URLs where possible.Bruno Haible2018-09-1751-64/+64
|
* Fix "Unescaped left brace in regex" warnings from Perl 5.26.Bruno Haible2018-09-172-3/+10
| | | | | | | Reported and patch by Jehan <jehan@girinstud.io> <jehan@zemarmot.net> at <https://savannah.gnu.org/bugs/?54088>. * doc/texi2html: Escape braces in regular expressions.
* doc: Assume texinfo 4.0 or newer.Bruno Haible2018-09-152-29/+34
|
* Avoid "implicit fallthrough" warnings also from clang.Bruno Haible2018-09-0910-56/+72
|
* Fix failure of "make check -j2".Bruno Haible2018-09-082-2/+9
|
* Don't print uninitialized hash values in debug mode.Bruno Haible2018-09-082-5/+19
|
* Improve the speed of the positions search.Bruno Haible2018-09-082-2/+11
|
* Really prefer more efficient hash functions over less efficient ones.Bruno Haible2018-09-082-2/+11
|
* Correct width of columns when outputting the asso_values array.Bruno Haible2018-09-082-2/+11
| | | | | | | Patch by Frank Wojcik <frankw@touristinresidence.com>. * src/output.cc (Output::output_hash_function): Increase the field_width by 1 if _max_hash_value+1 is a power of 10.
* Avoid "implicit fallthrough" warnings in the generated code.Bruno Haible2018-07-2611-3/+298
|
* Support input files with CR/LF line terminators.Bruno Haible2018-04-243-1/+37
|
* Rename some files.Bruno Haible2018-01-274-2/+9
|
* Don't use an undocumented Autoconf macro.Bruno Haible2018-01-232-2/+7
|
* Get rid of autom4te.cache directories (left over from autoconf).Bruno Haible2017-07-152-6/+12
|
* Initialize the Keyword::_lineno field through the constructor.Bruno Haible2017-04-165-15/+30
|
* Fix doc build error with perl 5.22.Bruno Haible2017-04-012-2/+7
| | | | * doc/texi2html (update_sec_num): Omit defined(...) for array.
* Fix copyright years.Bruno Haible2017-02-2223-24/+23
|
* Update some URL.Bruno Haible2017-01-102-2/+8
|
* Updated Changelogv3.1Marcel Schaible2017-01-021-0/+4
|
* Adjusted the version information for the releaseMarcel Schaible2017-01-021-1/+1
|
* Make autogen.sh more user-friendly.Bruno Haible2016-12-302-1/+8
|
* Make Makefile.devel more useful for the users of the released tarball.Bruno Haible2016-12-033-4/+12
|
* Fix build with mingw.Bruno Haible2016-11-272-2/+7
|
* Tweak last commit.Bruno Haible2016-11-272-2/+8
|
* Assume the available C compiler supports ANSI C. Remove K&R C cruft.Bruno Haible2016-11-2713-237/+51
|
* Drop the inline specifiers from the generated lookup function.Bruno Haible2016-11-2616-100/+21
|
* Change mailing list address to <bug-gperf@gnu.org>.Bruno Haible2016-11-2620-20/+32
|
* Change the 'len' parameter type to 'size_t'.Bruno Haible2016-11-2619-49/+66
|
* Use proper 'ar' program when cross-compiling or when AR is specified.Bruno Haible2016-11-263-2/+12
|
* Avoid warning in output code on 64-bit native Windows platforms.Bruno Haible2016-11-262-1/+23
|
* Don't use 'register' storage-class specifier in C++ output code.Bruno Haible2016-11-262-71/+104
|
* Avoid 'warning: use of old-style cast' in output code.Bruno Haible2016-11-263-7/+40
|
* Avoid 'warning: implicit conversion changes signedness' in output code.Bruno Haible2016-11-2616-32/+44
|
* Avoid 'warning: implicit conversion changes signedness' in output code.Bruno Haible2016-11-2610-10/+20
|