1 2015-09-11 Daiki Ueno <ueno@gnu.org>
3 * gettext 0.19.6 released.
5 2015-07-10 Daiki Ueno <ueno@gnu.org>
7 * gettext 0.19.5 released.
9 2014-12-24 Daiki Ueno <ueno@gnu.org>
11 * gettext 0.19.4 released.
13 2014-10-15 Daiki Ueno <ueno@gnu.org>
15 * gettext 0.19.3 released.
17 2014-07-14 Daiki Ueno <ueno@gnu.org>
19 * gettext 0.19.2 released.
21 2014-06-10 Daiki Ueno <ueno@gnu.org>
23 * gettext 0.19.1 released.
25 2014-06-02 Daiki Ueno <ueno@gnu.org>
27 * gettext 0.19 released.
29 2014-04-22 Roumen Petrov <bugtrack@roumenpetrov.info> (tiny change)
31 build: Use Automake 'subdir-objects' option
32 * Makefile.am (AUTOMAKE_OPTIONS): Add 'subdir-objects'.
34 2013-12-05 Ivailo <xakepa10@gmail.com> (tiny change)
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.
40 2012-12-25 Daiki Ueno <ueno@gnu.org>
42 * gettext-0.18.2 released.
44 2012-06-03 Jim Meyering <jim@meyering.net>
46 * kwset.c: Spelling fixes.
48 2010-06-04 Bruno Haible <bruno@clisp.org>
50 * gettext-0.18.1 released.
52 2010-05-24 Bruno Haible <bruno@clisp.org>
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
65 * gnulib-lib/Makefile.am: New file.
67 2010-05-24 Bruno Haible <bruno@clisp.org>
70 * m-regex.c (EGexecute): Write logic in a similar way as
73 2010-05-24 Bruno Haible <bruno@clisp.org>
75 Fix bug: Avoid out-of-bounds access.
76 * m-regex.c (EGexecute): Fix test before second call to
79 2010-05-24 Bruno Haible <bruno@clisp.org>
82 * m-regex.c (compile, EGexecute): Remove useless parentheses.
84 2010-05-24 Bruno Haible <bruno@clisp.org>
87 * m-fgrep.c (Fexecute): New local variable buflim.
89 2010-05-24 Bruno Haible <bruno@clisp.org>
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.
96 2010-05-23 Bruno Haible <bruno@clisp.org>
98 * kwset.c: Use GNU coding style.
99 (kwsalloc): Write NULL, not 0. Remove useless cast.
101 2010-05-23 Bruno Haible <bruno@clisp.org>
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>.
108 2010-05-24 Bruno Haible <bruno@clisp.org>
110 * m-fgrep.c: Untabify.
111 * m-regex.c: Likewise.
115 2010-05-23 Bruno Haible <bruno@clisp.org>
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
121 * m-fgrep.c (Fexecute): Don't assume that the buffer contains a
124 2010-05-23 Bruno Haible <bruno@clisp.org>
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
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,
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.
150 2010-05-09 Bruno Haible <bruno@clisp.org>
152 * gettext-0.18 released.
154 2009-12-12 Bruno Haible <bruno@clisp.org>
156 * libgrep.h: Untabify.
157 * hard-locale.c: Untabify.
158 * memchr.c: Untabify.
160 2009-08-15 Bruno Haible <bruno@clisp.org>
162 Stop using gnulib module 'strdup'.
163 * strdup.c: Remove file.
164 * Makefile.am (LIBADD_SOURCE): Remove strdup.c.
166 2008-04-28 Eric Blake <ebb9@byu.net>
168 * memchr.c (__memchr): Hand-inline the TYPE_MAXIMUM check.
170 2008-04-27 Bruno Haible <bruno@clisp.org>
172 * memchr.c (__memchr): Change type of 'i'.
174 2008-04-26 Eric Blake <ebb9@byu.net>
175 Bruno Haible <bruno@clisp.org>
177 * memchr.c: Include intprops.h.
178 (__memchr): Optimize parallel detection of matching bytes. Rename local
179 variables. Add explanatory comments.
181 2008-04-26 Bruno Haible <bruno@clisp.org>
183 Fix module 'memchr', broken since 2000-10-28.
184 * memchr.c: Outside glibc, define memchr, not __memchr.
186 2007-11-07 Bruno Haible <bruno@clisp.org>
188 * gettext-0.17 released.
190 2007-01-26 Bruno Haible <bruno@clisp.org>
192 * Makefile.am (LIBADD_SOURCE): Remove strdup.h.
194 2007-01-26 Paul Eggert <eggert@cs.ucla.edu>
196 * strdup.h: Remove file.
197 * strdup.c: Don't include no-longer-existent include files. Rely on
199 * hard-locale.c: Likewise.
201 2006-11-03 Bruno Haible <bruno@clisp.org>
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
209 2006-11-01 Bruno Haible <bruno@clisp.org>
211 * dfa.c (delete_pos): Renamed from remove.
212 (epsclosure): Update.
213 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
215 2006-10-29 Bruno Haible <bruno@clisp.org>
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.
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
232 * m-regex.c (struct patterns): Move out of the scope of struct
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.
240 2006-11-27 Bruno Haible <bruno@clisp.org>
242 * gettext-0.16.1 released.
244 2006-10-26 Bruno Haible <bruno@clisp.org>
246 * gettext-0.16 released.
248 2006-10-10 Bruno Haible <bruno@clisp.org>
250 Make it possible to #define stpcpy, strdup to aliases.
251 * strdup.c (strdup) [!_LIBC]: Don't undefine.
253 2006-09-13 Paul Eggert <eggert@cs.ucla.edu>
255 * memchr.c: Include <config.h> unconditionally.
256 * strdup.c: Likewise.
258 2006-07-30 Bruno Haible <bruno@clisp.org>
260 * Makefile.am (AM_CPPFLAGS): Replace ../lib with ../gnulib-lib.
262 2006-07-25 Bruno Haible <bruno@clisp.org>
264 * Makefile.msvc: Remove file.
265 * Makefile.am (EXTRA_DIST): Remove Makefile.msvc.
267 2006-07-25 Bruno Haible <bruno@clisp.org>
269 * Makefile.vms: Remove file.
270 * Makefile.am (EXTRA_DIST): Remove Makefile.vms.
272 2006-07-21 Bruno Haible <bruno@clisp.org>
274 * gettext-0.15 released.
276 2006-05-16 Bruno Haible <bruno@clisp.org>
278 * regex.c (mempcpy) [_LIBC]: New macro.
279 (regerror): Use it instead of __mempcpy.
281 2005-10-06 Bruno Haible <bruno@clisp.org>
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.
289 2005-04-18 Bruno Haible <bruno@clisp.org>
291 * dfa.c (update_mb_len_index): Change argument type to 'const char *'.
292 Avoids gcc-4.0 warnings.
294 2006-06-21 Bruno Haible <bruno@clisp.org>
296 * gettext-0.14.6 released.
298 2005-05-23 Bruno Haible <bruno@clisp.org>
300 * gettext-0.14.5 released.
302 2005-04-11 Bruno Haible <bruno@clisp.org>
304 * gettext-0.14.4 released.
306 2005-03-14 Bruno Haible <bruno@clisp.org>
308 * gettext-0.14.3 released.
310 2005-02-24 Bruno Haible <bruno@clisp.org>
312 * gettext-0.14.2 released.
314 2005-02-12 Bruno Haible <bruno@clisp.org>
316 * Makefile.msvc (INCLUDES): Add -I., needed for <regex.h>, and
317 -I..\intl, needed for <libintl.h>.
319 2005-02-12 Bruno Haible <bruno@clisp.org>
321 * libgrep.h: Add extern "C" for C++.
323 2003-07-08 David Kaelbling <drk@sgi.com>
325 * dfa.c (lex): Remove non-constant initializers.
327 2005-02-08 Bruno Haible <bruno@clisp.org>
329 * kwset.h (kwsincr, kwsprep): Change return type to 'const char *'.
330 * kwset.c (kwsincr, kwsprep): Likewise.
332 2005-02-03 Bruno Haible <bruno@clisp.org>
334 * dfa.c (dfaexec): Avoid continuing the loop past the end of the
337 2005-01-27 Bruno Haible <bruno@clisp.org>
339 * dfa.c (parse_bracket_exp_mb): Don't confuse wctype_t with wchar_t.
341 2005-01-27 Bruno Haible <bruno@clisp.org>
343 * Makefile.am (libgrep_a_DEPENDENCIES): New variable.
344 (AM_CPPFLAGS): Add -I../intl, so that libintl.h is found before gettext
347 2005-01-14 Bruno Haible <bruno@clisp.org>
349 * Makefile.am (EXTRA_DIST): Add $(LIBADD_SOURCE).
351 2005-01-08 Bruno Haible <bruno@clisp.org>
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.