12015-09-11 Daiki Ueno <ueno@gnu.org> 2 3 * gettext 0.19.6 released. 4 52015-07-10 Daiki Ueno <ueno@gnu.org> 6 7 * gettext 0.19.5 released. 8 92014-12-24 Daiki Ueno <ueno@gnu.org> 10 11 * gettext 0.19.4 released. 12 132014-10-15 Daiki Ueno <ueno@gnu.org> 14 15 * gettext 0.19.3 released. 16 172014-07-14 Daiki Ueno <ueno@gnu.org> 18 19 * gettext 0.19.2 released. 20 212014-06-10 Daiki Ueno <ueno@gnu.org> 22 23 * gettext 0.19.1 released. 24 252014-06-02 Daiki Ueno <ueno@gnu.org> 26 27 * gettext 0.19 released. 28 292014-04-22 Roumen Petrov <bugtrack@roumenpetrov.info> (tiny change) 30 31 build: Use Automake 'subdir-objects' option 32 * Makefile.am (AUTOMAKE_OPTIONS): Add 'subdir-objects'. 33 342013-12-05 Ivailo <xakepa10@gmail.com> (tiny change) 35 36 libgrep: Fix issues detected by gcc -Wformat-security 37 * m-fgrep.c (Fcompile): Supply FORMAT argument of error. 38 * m-regex.c (compile): Likewise. 39 402012-12-25 Daiki Ueno <ueno@gnu.org> 41 42 * gettext-0.18.2 released. 43 442012-06-03 Jim Meyering <jim@meyering.net> 45 46 * kwset.c: Spelling fixes. 47 482010-06-04 Bruno Haible <bruno@clisp.org> 49 50 * gettext-0.18.1 released. 51 522010-05-24 Bruno Haible <bruno@clisp.org> 53 54 Use the newest regex module from gnulib. 55 * regex.h: Remove file. 56 * regex.c: Remove file. 57 * memchr.c: Remove file. 58 * Makefile.am: Include Makefile.gnulib. 59 (BUILT_SOURCES, MOSTLYCLEANFILES, MOSTLYCLEANDIRS, CLEANFILES, 60 DISTCLEANFILES, MAINTAINERCLEANFILES): New variables. 61 (noinst_LIBRARIES): Initialize empty. 62 (libgrep_a_SOURCES): Augment instead of initializing. 63 (LIBADD_SOURCE, libgrep_a_LIBADD, libgrep_a_DEPENDENCIES): Remove 64 variables. 65 * gnulib-lib/Makefile.am: New file. 66 672010-05-24 Bruno Haible <bruno@clisp.org> 68 69 Code cleanup. 70 * m-regex.c (EGexecute): Write logic in a similar way as 71 m-fgrep.c:Fexecute. 72 732010-05-24 Bruno Haible <bruno@clisp.org> 74 75 Fix bug: Avoid out-of-bounds access. 76 * m-regex.c (EGexecute): Fix test before second call to 77 IS_WORD_CONSTITUENT. 78 792010-05-24 Bruno Haible <bruno@clisp.org> 80 81 Cleanup syntax. 82 * m-regex.c (compile, EGexecute): Remove useless parentheses. 83 842010-05-24 Bruno Haible <bruno@clisp.org> 85 86 Tiny optimization. 87 * m-fgrep.c (Fexecute): New local variable buflim. 88 892010-05-24 Bruno Haible <bruno@clisp.org> 90 91 * m-fgrep.c (Fcompile, Fexecute): Reduce scope of local variables. 92 * m-regex.c (compile, EGexecute): Likewise. 93 * kwset.c (kwsincr, treefails, kwsprep, bmexec, cwexec): Likewise. 94 (kwsexec): Remove useless cast. 95 962010-05-23 Bruno Haible <bruno@clisp.org> 97 98 * kwset.c: Use GNU coding style. 99 (kwsalloc): Write NULL, not 0. Remove useless cast. 100 1012010-05-23 Bruno Haible <bruno@clisp.org> 102 103 msggrep: Fix interpretation of '$' in regular expressions. 104 * m-regex.c (EGexecute): When searching up to the end of a string that 105 does not end in a newline, set not_eol to 0. 106 Reported by Sean Flanigan <sflaniga@redhat.com>. 107 1082010-05-24 Bruno Haible <bruno@clisp.org> 109 110 * m-fgrep.c: Untabify. 111 * m-regex.c: Likewise. 112 * kwset.h: Likewise. 113 * kwset.c: Likewise. 114 1152010-05-23 Bruno Haible <bruno@clisp.org> 116 117 Fix bug: A regex was not regonized when it matched the end of the last 118 line and that last line was not terminated with a newline. 119 * m-regex.c (EGexecute): Don't ignore the last byte of the buffer if it 120 is not a newline. 121 * m-fgrep.c (Fexecute): Don't assume that the buffer contains a 122 newline. 123 1242010-05-23 Bruno Haible <bruno@clisp.org> 125 126 Do regex matching purely with regex, not regex + dfa + kwset. 127 * dfa.h: Remove file. 128 * dfa.c: Remove file. 129 * hard-locale.h: Remove file. 130 * hard-locale.c: Remove file. 131 * m-common.h: Remove file. 132 * m-common.c: Remove file. 133 * m-fgrep.c: Include <limits.h>, <stdbool.h>, not m-common.h. 134 (MBS_SUPPORT): Moved here from m-common.h. 135 Include kwset.h, gettext.h. 136 (_, ISUPPER, TOLOWER): Moved here from m-common.c. 137 (IS_WORD_CONSTITUENT, NCHAR, compiled_kwset): Moved here from 138 m-common.h. 139 (kwsinit, check_multibyte_string): Moved here from m-common.c. 140 * m-regex.c: Include <stdbool.h>, <regex.h>, not m-common.h. 141 (IS_WORD_CONSTITUENT): Moved here from m-common.h. 142 (struct compiled_regex): Remove fields dfa, ckwset, 143 kwset_exact_matches. 144 (dfaerror, kwsmusts): Remove functions. 145 (compile): Simplify accordingly. 146 (Gcompile): Likewise. Invoke compile. 147 (EGexecute): Simplify accordingly. 148 * Makefile.am (libgrep_a_SOURCES): Update. 149 1502010-05-09 Bruno Haible <bruno@clisp.org> 151 152 * gettext-0.18 released. 153 1542009-12-12 Bruno Haible <bruno@clisp.org> 155 156 * libgrep.h: Untabify. 157 * hard-locale.c: Untabify. 158 * memchr.c: Untabify. 159 1602009-08-15 Bruno Haible <bruno@clisp.org> 161 162 Stop using gnulib module 'strdup'. 163 * strdup.c: Remove file. 164 * Makefile.am (LIBADD_SOURCE): Remove strdup.c. 165 1662008-04-28 Eric Blake <ebb9@byu.net> 167 168 * memchr.c (__memchr): Hand-inline the TYPE_MAXIMUM check. 169 1702008-04-27 Bruno Haible <bruno@clisp.org> 171 172 * memchr.c (__memchr): Change type of 'i'. 173 1742008-04-26 Eric Blake <ebb9@byu.net> 175 Bruno Haible <bruno@clisp.org> 176 177 * memchr.c: Include intprops.h. 178 (__memchr): Optimize parallel detection of matching bytes. Rename local 179 variables. Add explanatory comments. 180 1812008-04-26 Bruno Haible <bruno@clisp.org> 182 183 Fix module 'memchr', broken since 2000-10-28. 184 * memchr.c: Outside glibc, define memchr, not __memchr. 185 1862007-11-07 Bruno Haible <bruno@clisp.org> 187 188 * gettext-0.17 released. 189 1902007-01-26 Bruno Haible <bruno@clisp.org> 191 192 * Makefile.am (LIBADD_SOURCE): Remove strdup.h. 193 1942007-01-26 Paul Eggert <eggert@cs.ucla.edu> 195 196 * strdup.h: Remove file. 197 * strdup.c: Don't include no-longer-existent include files. Rely on 198 <string.h> instead. 199 * hard-locale.c: Likewise. 200 2012006-11-03 Bruno Haible <bruno@clisp.org> 202 203 Simplify xmalloc expressions. Add overflow check in xmalloc arguments. 204 * m-common.c (kwsinit): Use XNMALLOC instead of xmalloc. 205 * m-fgrep.c (Fcompile): Use XMALLOC instead of xmalloc. 206 * m-regex.c (Gcompile, compile): Use XMALLOC, XNMALLOC instead of 207 xmalloc. 208 2092006-11-01 Bruno Haible <bruno@clisp.org> 210 211 * dfa.c (delete_pos): Renamed from remove. 212 (epsclosure): Update. 213 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>. 214 2152006-10-29 Bruno Haible <bruno@clisp.org> 216 217 Make it compile in C++ mode. 218 * dfa.h (token): Typedef as int. 219 * dfa.c (remove): Renamed from delete. 220 (epsclosure): Update. 221 (match_mb_charset): Cast strncpy argument. 222 (dfaexec): Add cast. 223 (dfacomp): Cast malloc result. 224 (icatalloc): Rename argument names to 'stem', 'suffix'. 225 (enlist): Rename 'new' argument to 'suffix'. 226 (addlists): Rename 'new' argument to 'suffixes'. 227 (dfamust): Cast malloc results. Rename local variable 'new' to 'common'. 228 * kwset.c (kwsprep): Cast obstack_alloc result. 229 (bmexec): Cast memchr result. 230 * m-fgrep.c (Fexecute): Rename local variable 'try' to 'curr'. Cast 231 memchr result. 232 * m-regex.c (struct patterns): Move out of the scope of struct 233 compiled_regex. 234 (Gcompile, compile, EGexecute): Cast memchr results. 235 * regex.c (EXTEND_BUFFER): Cast REALLOC result. 236 (byte_re_match_2_internal): Limit the scope of same_str_p variable. 237 Rename local variable 'not' to 'invert'. 238 (regcomp): Cast malloc results. 239 2402006-11-27 Bruno Haible <bruno@clisp.org> 241 242 * gettext-0.16.1 released. 243 2442006-10-26 Bruno Haible <bruno@clisp.org> 245 246 * gettext-0.16 released. 247 2482006-10-10 Bruno Haible <bruno@clisp.org> 249 250 Make it possible to #define stpcpy, strdup to aliases. 251 * strdup.c (strdup) [!_LIBC]: Don't undefine. 252 2532006-09-13 Paul Eggert <eggert@cs.ucla.edu> 254 255 * memchr.c: Include <config.h> unconditionally. 256 * strdup.c: Likewise. 257 2582006-07-30 Bruno Haible <bruno@clisp.org> 259 260 * Makefile.am (AM_CPPFLAGS): Replace ../lib with ../gnulib-lib. 261 2622006-07-25 Bruno Haible <bruno@clisp.org> 263 264 * Makefile.msvc: Remove file. 265 * Makefile.am (EXTRA_DIST): Remove Makefile.msvc. 266 2672006-07-25 Bruno Haible <bruno@clisp.org> 268 269 * Makefile.vms: Remove file. 270 * Makefile.am (EXTRA_DIST): Remove Makefile.vms. 271 2722006-07-21 Bruno Haible <bruno@clisp.org> 273 274 * gettext-0.15 released. 275 2762006-05-16 Bruno Haible <bruno@clisp.org> 277 278 * regex.c (mempcpy) [_LIBC]: New macro. 279 (regerror): Use it instead of __mempcpy. 280 2812005-10-06 Bruno Haible <bruno@clisp.org> 282 283 * hard-locale.c: Test HAVE_CONFIG_H using #ifdef. 284 * m-common.c: Likewise. 285 * m-fgrep.c: Likewise. 286 * m-regex.c: Likewise. 287 Reported by Ralf Wildenhues on bug-gnulib. 288 2892005-04-18 Bruno Haible <bruno@clisp.org> 290 291 * dfa.c (update_mb_len_index): Change argument type to 'const char *'. 292 Avoids gcc-4.0 warnings. 293 2942006-06-21 Bruno Haible <bruno@clisp.org> 295 296 * gettext-0.14.6 released. 297 2982005-05-23 Bruno Haible <bruno@clisp.org> 299 300 * gettext-0.14.5 released. 301 3022005-04-11 Bruno Haible <bruno@clisp.org> 303 304 * gettext-0.14.4 released. 305 3062005-03-14 Bruno Haible <bruno@clisp.org> 307 308 * gettext-0.14.3 released. 309 3102005-02-24 Bruno Haible <bruno@clisp.org> 311 312 * gettext-0.14.2 released. 313 3142005-02-12 Bruno Haible <bruno@clisp.org> 315 316 * Makefile.msvc (INCLUDES): Add -I., needed for <regex.h>, and 317 -I..\intl, needed for <libintl.h>. 318 3192005-02-12 Bruno Haible <bruno@clisp.org> 320 321 * libgrep.h: Add extern "C" for C++. 322 3232003-07-08 David Kaelbling <drk@sgi.com> 324 325 * dfa.c (lex): Remove non-constant initializers. 326 3272005-02-08 Bruno Haible <bruno@clisp.org> 328 329 * kwset.h (kwsincr, kwsprep): Change return type to 'const char *'. 330 * kwset.c (kwsincr, kwsprep): Likewise. 331 3322005-02-03 Bruno Haible <bruno@clisp.org> 333 334 * dfa.c (dfaexec): Avoid continuing the loop past the end of the 335 string. 336 3372005-01-27 Bruno Haible <bruno@clisp.org> 338 339 * dfa.c (parse_bracket_exp_mb): Don't confuse wctype_t with wchar_t. 340 3412005-01-27 Bruno Haible <bruno@clisp.org> 342 343 * Makefile.am (libgrep_a_DEPENDENCIES): New variable. 344 (AM_CPPFLAGS): Add -I../intl, so that libintl.h is found before gettext 345 is installed. 346 3472005-01-14 Bruno Haible <bruno@clisp.org> 348 349 * Makefile.am (EXTRA_DIST): Add $(LIBADD_SOURCE). 350 3512005-01-08 Bruno Haible <bruno@clisp.org> 352 353 * libgrep.h: New file. 354 * kwset.h: From grep-2.5.1 with modifications. 355 * kwset.c: From grep-2.5.1 with modifications. 356 * dfa.h: From grep-2.5.1 with modifications. 357 * dfa.c: From grep-2.5.1 with modifications. 358 * m-common.h: New file. 359 * m-common.c: New file, with code from grep-2.5.1/src/search.c. 360 * m-fgrep.c: New file, with code from grep-2.5.1/src/search.c. 361 * m-regex.c: New file, with code from grep-2.5.1/src/search.c. 362 * hard-locale.h: New file, from gnulib. 363 * hard-locale.c: New file, from gnulib. 364 * memchr.c: New file, from gnulib. 365 * regex.h: New file, from gnulib. 366 * regex.c: New file, from gnulib. 367 * strdup.h: New file, from gnulib. 368 * strdup.c: New file, from gnulib. 369 * Makefile.am: New file. 370 * Makefile.msvc: New file. 371 * Makefile.vms: New file. 372 373