Bruno Haible
1862c6e57a
Add support for reproducible builds.
...
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.
2022-07-05 07:51:46 +02:00
Bruno Haible
6d53a2dbe0
Release gperf-3.2.
...
* 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.
2022-01-05 12:59:54 +01:00
Michael Drake
96ebd0b95d
Honor --readonly-tables when outputting table for --ignore-case.
...
* src/output.cc (output_upperlower_table): Add 'const' when suitable.
2021-06-06 11:23:17 +02:00
Bruno Haible
8cb07d4235
Fix warnings from Autoconf 2.69c.
...
* 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'.
2020-10-05 00:45:25 +02:00
Bruno Haible
4706572628
Update after gnulib changed.
...
* 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.
2020-08-30 02:06:20 +02:00
Bruno Haible
0a2ed64ff7
Rely entirely on the GNU Build System.
...
* 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.
2020-02-11 03:14:38 +01:00
Bruno Haible
9f4f11ab13
Update after gnulib changed.
2018-10-24 11:59:45 +02:00
Bruno Haible
b3c3566855
Prefer https URLs where possible.
2018-09-17 16:53:00 +02:00
Bruno Haible
50840436d5
Avoid "implicit fallthrough" warnings also from clang.
2018-09-09 01:14:20 +02:00
Bruno Haible
5f4cf73df2
Don't print uninitialized hash values in debug mode.
2018-09-08 16:37:56 +02:00
Bruno Haible
24f492fd8d
Improve the speed of the positions search.
2018-09-08 16:08:09 +02:00
Bruno Haible
947854520b
Really prefer more efficient hash functions over less efficient ones.
2018-09-08 15:56:21 +02:00
Bruno Haible
a720310c28
Correct width of columns when outputting the asso_values array.
...
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.
2018-09-08 15:36:36 +02:00
Bruno Haible
0d37a8763d
Avoid "implicit fallthrough" warnings in the generated code.
2018-07-26 02:00:39 +02:00
Bruno Haible
13c9383b10
Support input files with CR/LF line terminators.
2018-04-24 09:25:10 +02:00
Bruno Haible
283b51086a
Don't use an undocumented Autoconf macro.
2018-01-23 08:59:13 +01:00
Bruno Haible
a459641a53
Initialize the Keyword::_lineno field through the constructor.
2017-04-16 17:39:15 +02:00
Bruno Haible
825b077bf4
Fix copyright years.
2017-02-22 15:32:38 +01:00
Marcel Schaible
d551865672
Adjusted the version information for the release
2017-01-02 19:00:16 +01:00
Bruno Haible
a705809f3d
Drop the inline specifiers from the generated lookup function.
2016-11-26 18:42:05 +01:00
Bruno Haible
0414be8fff
Change mailing list address to <bug-gperf@gnu.org>.
2016-11-26 18:08:57 +01:00
Bruno Haible
d519d1a821
Change the 'len' parameter type to 'size_t'.
2016-11-26 17:54:33 +01:00
Bruno Haible
b468e3aae0
Avoid warning in output code on 64-bit native Windows platforms.
2016-11-26 02:54:25 +01:00
Bruno Haible
baf89d87f0
Don't use 'register' storage-class specifier in C++ output code.
2016-11-26 02:26:31 +01:00
Bruno Haible
658e826478
Avoid 'warning: use of old-style cast' in output code.
2016-11-26 02:25:50 +01:00
Bruno Haible
bbe4d732f3
Avoid 'warning: implicit conversion changes signedness' in output code.
2016-11-26 02:25:44 +01:00
Bruno Haible
b3356507ce
Avoid 'warning: implicit conversion changes signedness' in output code.
2016-11-26 01:05:14 +01:00
Bruno Haible
efd1fd8439
Fix g++ -Wall warnings.
2016-11-25 20:03:51 +01:00
Bruno Haible
0003342367
Fix "make clean" with MSVC.
2012-07-01 19:02:44 +02:00
Bruno Haible
064483191f
Fix compilation error with MSVC.
2012-07-01 18:07:20 +02:00
Bruno Haible
bf93ebd28e
Remove old infrastructure for building with MSVC.
2012-07-01 18:05:30 +02:00
Bruno Haible
238fa3bf09
Move build infrastructure files to build-aux/.
2012-07-01 16:44:26 +02:00
Bruno Haible
008922a2e9
Remove autotools generated files from version control.
2012-07-01 16:04:36 +02:00
Bruno Haible
9386cd6fc4
Create tarballs through an Automake-like "make dist" command.
2012-07-01 15:40:25 +02:00
Bruno Haible
b392998058
Regenerated with autoconf-2.69.
2012-04-28 20:58:26 +02:00
Bruno Haible
00e5f0c388
Bump copyright year.
2011-01-16 16:56:58 +01:00
Bruno Haible
5ac5f15a74
New option --constants-prefix.
2011-01-16 16:45:09 +01:00
Bruno Haible
61edba6dde
Regenerated with autoconf-2.68.
2011-01-16 11:06:15 +01:00
Bruno Haible
181d4eaa29
Regenerated with autoconf-2.67.
2010-07-31 19:05:15 +02:00
Bruno Haible
22f5f3d712
Regenerated with autoconf 2.66.
2010-07-03 13:01:28 +02:00
Bruno Haible
b4eb8c5c5e
Avoid g++ warnings.
2009-12-22 11:57:02 +01:00
Bruno Haible
ce9b2f4eb4
Support CPPFLAGS as mandated by GNU standards.
2009-12-22 11:41:37 +01:00
Bruno Haible
a343f95609
Change the default language to ANSI-C.
2009-12-20 11:17:09 +01:00
Bruno Haible
e2adb58258
Bump version.
2009-12-20 11:15:34 +01:00
Brendan Kehoe
2adc7253ae
regen configure scripts
2009-02-02 09:50:33 +00:00
Bruno Haible
de20e1a205
Bump copyright year.
2009-02-01 13:48:49 +00:00
Brendan Kehoe
fb59b79a62
* gperf-3.0.4 released.
...
* src/version.cc: Bump to 3.0.4.
* tests/*.exp: Bump to 3.0.4 in header.
* doc/gperf.1: Regenerate with gperf 3.0.4.
2009-02-01 12:08:19 +00:00
Bruno Haible
57745086ac
Don't include the length in the hash function if all keywords have the same
...
length.
2009-01-19 09:50:07 +00:00
Bruno Haible
7fac4aa2b6
More consistent m4 quoting.
2009-01-15 00:24:30 +00:00
Bruno Haible
f6c3e9a753
Change source code license to GPLv3+.
2008-08-23 18:52:48 +00:00