OLD | NEW |
(Empty) | |
| 1 New in 3.0.1: |
| 2 |
| 3 * Bug fix. |
| 4 |
| 5 New in 3.0: |
| 6 |
| 7 * Added option --output that allows to specify the output file name. |
| 8 * Some options have been renamed: |
| 9 --hash-fn-name=NAME --> --hash-function-name=NAME |
| 10 --lookup-fn-name=NAME --> --lookup-function-name=NAME |
| 11 --compare-strlen --> --compare-lengths |
| 12 --global --> --global-table |
| 13 The older variants are still supported for backward compatibility. |
| 14 * The following options can now be specified inside the input file: |
| 15 %delimiters=DELIMITER-LIST |
| 16 %struct-type |
| 17 %ignore-case |
| 18 %language=LANGUAGE-NAME |
| 19 %define slot-name NAME |
| 20 %define initializer-suffix INITIALIZERS |
| 21 %define hash-function-name NAME |
| 22 %define lookup-function-name NAME |
| 23 %define class-name NAME |
| 24 %7bit |
| 25 %compare-lengths |
| 26 %compare-strncmp |
| 27 %readonly-tables |
| 28 %enum |
| 29 %includes |
| 30 %global-table |
| 31 %pic |
| 32 %define string-pool-name NAME |
| 33 %null-strings |
| 34 %define word-array-name NAME |
| 35 %switch=COUNT |
| 36 %omit-struct-type |
| 37 * When the option -k is not given, the default key positions are now |
| 38 computed depending on the set of keywords. |
| 39 * If the input file is given by name, the output file will now contain |
| 40 #line directives referring to the input file. |
| 41 * Some keyword sets containing permutations, like { "xy", "yx", "xz", "zx" } |
| 42 or { "abc", "acb", "bca", "cab" }, are now handled by gperf without |
| 43 requiring the option -D. |
| 44 * The generated table is usually much smaller than it was with earlier |
| 45 versions of gperf. |
| 46 * Added option -m/--multiple-iterations that allows to further reduce the |
| 47 size of the generated table. |
| 48 * When the search for a good hash function is not immediately successful, |
| 49 the table's size will grow as needed. Earlier versions of gperf bailed |
| 50 out with an "Internal error, duplicate hash code value". |
| 51 * The options -f/--fast and -o/--occurrence-sort have no effect any more. |
| 52 * Added options -P/--pic and --null-strings that optimize the generated code |
| 53 for use in shared libraries. -P/--pic does a perfect optimization but may |
| 54 require some small code changes (see the documentation for details), whereas |
| 55 --null-strings does only a half-hearted optimization but works without |
| 56 needing any change to surrounding code. |
| 57 * Added option --ignore-case that produces a case independent lookup function. |
| 58 * Bug fixes. |
| 59 |
| 60 New in 2.7.2: |
| 61 |
| 62 * Keywords may now be enclosed in double quotes; this permits the use of |
| 63 '#', ',', space or NUL inside keywords. |
| 64 * Bug fixes. |
| 65 |
| 66 New in 2.7.1: |
| 67 |
| 68 * Added option "-F" for gcc. |
| 69 |
| 70 New in 2.7: |
| 71 |
| 72 * gperf is now a stand-alone package, untied from libg++. |
| 73 * Autoconfiguring. |
| 74 * Removed the "-a" and "-g" options, extended the "-L" option instead. |
| 75 * Removed the "-p" option, it is the default. |
| 76 * Added long options ("--help", "--version" etc.). |
| 77 * 8-bit cleanliness is now the default; use "-7" to get the old behaviour. |
| 78 * Compiles with any C++ compiler. |
| 79 * Numerous small improvements. |
| 80 |
OLD | NEW |