Blame NEWS

Packit Service 973b1a
New in 3.1:
Packit Service 973b1a
* The generated C code is now in ANSI-C by default. If you want to support
Packit Service 973b1a
  pre-ANSI-C compilers, you need to provide the option --language=C on the
Packit Service 973b1a
  command line or %language=C in the source file.
Packit Service 973b1a
* The 'len' parameter of the hash function and of the lookup function is now
Packit Service 973b1a
  of type 'size_t' instead of 'unsigned int'. This makes it safe to call these
Packit Service 973b1a
  functions with strings of length > 4 GB, on 64-bit machines.
Packit Service 973b1a
* Added option --constants-prefix.
Packit Service 973b1a
* Added declaration %define constants-prefix.
Packit Service 973b1a
Packit Service 973b1a
New in 3.0.4:
Packit Service 973b1a
Packit Service 973b1a
* gperf is now licensed under the GPL version 3 or newer.
Packit Service 973b1a
* The generated C code gives less warnings with gcc-4.2.x in c99 or gnu99 mode.
Packit Service 973b1a
Packit Service 973b1a
New in 3.0.3:
Packit Service 973b1a
Packit Service 973b1a
* The generated C code is compatible with gcc-4.3.x in c99 or gnu99 mode.
Packit Service 973b1a
Packit Service 973b1a
New in 3.0.2:
Packit Service 973b1a
Packit Service 973b1a
* Compiles with g++-4.0.x.
Packit Service 973b1a
* Added option --length-table-name.
Packit Service 973b1a
* Added declaration %define length-table-name.
Packit Service 973b1a
* Fixed  #line directives for filenames containing backslashes.
Packit Service 973b1a
Packit Service 973b1a
New in 3.0.1:
Packit Service 973b1a
Packit Service 973b1a
* Bug fix.
Packit Service 973b1a
Packit Service 973b1a
New in 3.0:
Packit Service 973b1a
Packit Service 973b1a
* Added option --output that allows to specify the output file name.
Packit Service 973b1a
* Some options have been renamed:
Packit Service 973b1a
    --hash-fn-name=NAME     -->   --hash-function-name=NAME
Packit Service 973b1a
    --lookup-fn-name=NAME   -->   --lookup-function-name=NAME
Packit Service 973b1a
    --compare-strlen        -->   --compare-lengths
Packit Service 973b1a
    --global                -->   --global-table
Packit Service 973b1a
  The older variants are still supported for backward compatibility.
Packit Service 973b1a
* The following options can now be specified inside the input file:
Packit Service 973b1a
    %delimiters=DELIMITER-LIST
Packit Service 973b1a
    %struct-type
Packit Service 973b1a
    %ignore-case
Packit Service 973b1a
    %language=LANGUAGE-NAME
Packit Service 973b1a
    %define slot-name NAME
Packit Service 973b1a
    %define initializer-suffix INITIALIZERS
Packit Service 973b1a
    %define hash-function-name NAME
Packit Service 973b1a
    %define lookup-function-name NAME
Packit Service 973b1a
    %define class-name NAME
Packit Service 973b1a
    %7bit
Packit Service 973b1a
    %compare-lengths
Packit Service 973b1a
    %compare-strncmp
Packit Service 973b1a
    %readonly-tables
Packit Service 973b1a
    %enum
Packit Service 973b1a
    %includes
Packit Service 973b1a
    %global-table
Packit Service 973b1a
    %pic
Packit Service 973b1a
    %define string-pool-name NAME
Packit Service 973b1a
    %null-strings
Packit Service 973b1a
    %define word-array-name NAME
Packit Service 973b1a
    %switch=COUNT
Packit Service 973b1a
    %omit-struct-type
Packit Service 973b1a
* When the option -k is not given, the default key positions are now
Packit Service 973b1a
  computed depending on the set of keywords.
Packit Service 973b1a
* If the input file is given by name, the output file will now contain
Packit Service 973b1a
  #line directives referring to the input file.
Packit Service 973b1a
* Some keyword sets containing permutations, like { "xy", "yx", "xz", "zx" }
Packit Service 973b1a
  or { "abc", "acb", "bca", "cab" }, are now handled by gperf without
Packit Service 973b1a
  requiring the option -D.
Packit Service 973b1a
* The generated table is usually much smaller than it was with earlier
Packit Service 973b1a
  versions of gperf.
Packit Service 973b1a
* Added option -m/--multiple-iterations that allows to further reduce the
Packit Service 973b1a
  size of the generated table.
Packit Service 973b1a
* When the search for a good hash function is not immediately successful,
Packit Service 973b1a
  the table's size will grow as needed. Earlier versions of gperf bailed
Packit Service 973b1a
  out with an "Internal error, duplicate hash code value".
Packit Service 973b1a
* The options -f/--fast and -o/--occurrence-sort have no effect any more.
Packit Service 973b1a
* Added options -P/--pic and --null-strings that optimize the generated code
Packit Service 973b1a
  for use in shared libraries. -P/--pic does a perfect optimization but may
Packit Service 973b1a
  require some small code changes (see the documentation for details), whereas
Packit Service 973b1a
  --null-strings does only a half-hearted optimization but works without
Packit Service 973b1a
  needing any change to surrounding code.
Packit Service 973b1a
* Added option --ignore-case that produces a case independent lookup function.
Packit Service 973b1a
* Bug fixes.
Packit Service 973b1a
Packit Service 973b1a
New in 2.7.2:
Packit Service 973b1a
Packit Service 973b1a
* Keywords may now be enclosed in double quotes; this permits the use of
Packit Service 973b1a
  '#', ',', space or NUL inside keywords.
Packit Service 973b1a
* Bug fixes.
Packit Service 973b1a
Packit Service 973b1a
New in 2.7.1:
Packit Service 973b1a
Packit Service 973b1a
* Added option "-F" for gcc.
Packit Service 973b1a
Packit Service 973b1a
New in 2.7:
Packit Service 973b1a
Packit Service 973b1a
* gperf is now a stand-alone package, untied from libg++.
Packit Service 973b1a
* Autoconfiguring.
Packit Service 973b1a
* Removed the "-a" and "-g" options, extended the "-L" option instead.
Packit Service 973b1a
* Removed the "-p" option, it is the default.
Packit Service 973b1a
* Added long options ("--help", "--version" etc.).
Packit Service 973b1a
* 8-bit cleanliness is now the default; use "-7" to get the old behaviour.
Packit Service 973b1a
* Compiles with any C++ compiler.
Packit Service 973b1a
* Numerous small improvements.
Packit Service 973b1a