1 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
3 * acinclude.m4: Quote first argument of AC_DEFUNs.
4 * aclocal.m4: Regenerate with automake 1.8.
5 * Makefile.in: Likewise.
6 * configure: Regenerate.
7 * .cvsignore: New file.
9 2004-04-12 Kelley Cook <kcook@gcc.gnu.org>
12 * configure.ac: Parse --enable-generated-files-in-srcdir.
13 * Makefile.am: Copy man and info files to srcdir if requested.
14 * configure: Regenerate.
15 * Makefile.in Regenerate.
17 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
19 * configure.ac: Bump AC_PREREQ to 2.59.
20 * configure: Regenerate.
22 2004-03-09 Hans-Peter Nilsson <hp@axis.com>
24 * configure: Regenerate for config/accross.m4 correction.
26 2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
28 * configure.in: Rename file to ...
29 * configure.ac: ... this. Add in AC_PREREQ(2.57)
30 * config.h.in: Regenerate.
31 * aclocal.m4: Regenerate.
32 * Makefile.in: Regenerate.
34 2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
36 * jartool.c (make_manifest): Fix off-by-one bug when creating
39 2003-12-01 Kelley Cook <kcook@gcc.gnu.org>
41 * Makefile.am: Define AM_MAKINFOFLAGS. Remove Automake 1.4 hack.
42 * Makefile.in: Regenerate with automake 1.7.6 & autoconf 2.57 tools.
43 * aclocal.m4, config.h.in, configure: Likewise.
44 * install-sh, missing, mkinstalldirs, stamp-h.in: Remove.
46 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
50 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
52 * Makefile.am (my_make_i_flags): Add $(srcdir) and update comment
54 (fastjar.info): Update target to write to build directory.
55 (%.1): New implicit rule from a .pod file.
58 (jar.pod): New intermediate rule.
59 (grepjar.pod): Likewise.
60 * Makefile.in: Regenerate.
62 2003-08-13 Matthias Klose <doko@debian.org>
64 * fastjar.texi: License manual under the GPL.
65 * Makefile.am: Remove reference to fdl.texi
66 * Makefile.in: Regenerate
68 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
70 * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
72 2003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
74 * README: Note that FastJar is not part of GCC.
76 2003-07-02 Nathanael Nerode <neroden@gcc.gnu.org>
79 * jartool.c (add_to_jar): Return 1 on failure to open file.
81 * jartool.c (add_to_jar_with_dir): New function.
83 2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org>
86 * jartool.c (main) Give proper error messages with -C, and
87 check for missing arguments properly. Send error messages
89 * jartool.c (add_to_jar): Make getcwd() call portable,
90 and check for error return.
92 2003-03-30 Joseph S. Myers <jsm@polyomino.org.uk>
94 * fastjar.texi: Remove @ at start of file.
96 2003-03-10 Mohan Embar <gnustuff@thisiscool.com>
98 * dostime.c: add #include <stddef.h> for definition of NULL
100 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
102 * fastjar.texi: Update to GFDL 1.2.
104 2003-01-31 Daiki Ueno <ueno@unixuser.org>
106 * jartool.c (extract_jar): Don't lseek to skip extra fields.
107 (consume): If the stream is seekable, do lseek.
109 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
111 * jargrep.c: Include xregex.h from libiberty instead of
112 system regex.h for better portability.
114 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
116 * jartool.c (list_jar): Terminate the 'ascii_date' buffer
117 with a '\0' to guard against the case where the formatted
118 time string is more than the size allowed by the buffer.
120 2003-01-14 Tom Tromey <tromey@redhat.com>
122 * config.h.in: Rebuilt.
124 2002-12-30 DJ Delorie <dj@redhat.com>
126 * Makefile.am (jar.1, grepjar.1): Protect against
127 texi2pod/pod2man failing.
128 * Makefile.in: Regenerated.
130 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
132 * fastjar.texi: Include Cover Texts in man page.
134 2002-12-04 Jakub Jelinek <jakub@redhat.com>
136 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
138 2002-11-23 H.J. Lu <hjl@gnu.org>
140 * acinclude.m4: Include ../config/accross.m4.
141 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
142 (gcc_AC_EXAMINE_OBJECT): Removed.
143 (gcc_AC_C_COMPILE_ENDIAN): Removed.
144 * aclocal.m4; Rebuild.
146 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
147 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
148 * configure: Likewise.
150 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
152 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
153 "creat" to create extracted files.
155 2002-11-11 Tom Tromey <tromey@redhat.com>
157 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
159 (unix2dostime): Handle years before 1980. Correctly compute month
162 2002-11-10 Jakub Jelinek <jakub@redhat.com>
164 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
167 * configure.in (AC_CHECK_HEADERS): Add limits.h.
168 * configure, config.h.in: Rebuilt.
170 2002-11-07 Tom Tromey <tromey@redhat.com>
172 * dostime.c: Rewrote from scratch.
173 * dostime.h (dostime): Removed.
175 2002-10-20 Tom Tromey <tromey@redhat.com>
177 * jartool.c: Use mode 0666 when opening new file.
179 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
181 * jargrep.c (chk_wrd): Remove unused variable(s).
182 * jartool.c (main, create_central_header, list_jar): Likewise.
184 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
186 * configure, config.h.in: Rebuilt.
187 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
189 2002-09-11 Tom Tromey <tromey@redhat.com>
191 * Makefile.in: Rebuilt.
192 * Makefile.am (TEXINFO_TEX): New macro.
193 (info_TEXINFOS): Likewise.
194 (fastjar_TEXINFOS): Likewise.
195 (man_MANS): Likewise.
196 (EXTRA_DIST): Likewise.
197 (my_makei_flags): Likewise.
198 (fastjar.info): New rule.
199 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
200 (TEXINFO_TEX): Likewise.
201 (AUTOMAKE_OPTIONS): Added `cygnus'.
203 2002-09-11 Matthias Klose <doko@debian.org>
205 * Makefile.am: Revert the previous patch.
206 * Makefile.in: Regenerated.
208 2002-09-10 Matthias Klose <doko@debian.org>
211 * Makefile.am: Support building info docs and manpages.
212 * Makefile.in: Regenerated.
213 * configure.in: Set gcc_version.
214 * configure: Regenerated.
215 * jargrep.c: Update usage and help strings.
217 2002-09-09 Tom Tromey <tromey@redhat.com>
219 * jartool.c (mkdir): Define.
220 * config.h.in: Rebuilt.
221 * aclocal.m4, configure: Rebuilt.
222 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
223 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
226 2002-09-04 Tom Tromey <tromey@redhat.com>
228 From greenrd@hotmail.com:
229 * jartool.c (list_jar): Correctly determine when new `filename'
230 buffer must be allocated. Fixes PR java/7830.
232 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
234 * configure.in: Support cross-compiling.
235 * configure: Regenerate.
236 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
237 (gcc_AC_EXAMINE_OBJECT): New.
238 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
240 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
242 * jartool.c (expand_options): Handle tar-style argument list with a
245 2002-02-23 Anthony Green <green@redhat.com>
247 * jartool.c (main): Fix handling of -C.
249 2002-01-30 Tom Tromey <tromey@redhat.com>
251 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
254 2002-01-11 Tom Tromey <tromey@redhat.com>
256 * Makefile.in: Rebuilt.
257 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
259 2002-01-09 Tom Tromey <tromey@redhat.com>
262 * jargrep.h: Removed RCS keywords.
264 * configure, Makefile.in, config.h.in: Rebuilt.
265 * configure.in: Added AM_MAINTAINER_MODE.
266 Don't look for getopt.h. Use `fastjar' as package name.
267 * Makefile.am (INCLUDES): Look in ../include.
268 (LIBIBERTY): New macro.
270 (jar_DEPENDENCIES): Likewise.
271 (grepjar_LDADD): Likewise.
272 (grepjar_DEPENDENCIES): Likewise.
273 * jargrep.c: Removed RCS keywords. Always include getopt.h.
274 (LONG_OPT): New macro.
275 (OPT_HELP): Likewise.
276 (main): Use getopt_long. Let getopt print invalid argument
277 message. Handle --help. Use version().
278 (version): New function.
279 (optarg, optind): Don't declare.
280 (option_vec): New global.
281 (help): New function.
282 (Usage): Updated to GNU standards.
283 * jartool.c: Removed RCS keywords. Include getopt.h.
284 (LONG_OPT): New macro.
285 (OPT_HELP): Likewise.
286 (options): New global.
287 (help): New function.
288 (usage): Print a single line.
289 (version): New function.
290 (expand_options): New function.
291 (main): Use getopt_long and expand_options. Fail if `-u'
292 specified. Changed handling of -f, -m, -V options.
293 (OPTION_STRING): New macro.
294 (version_string): Removed.
296 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
299 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
300 * Makefile.am: Move grepjar to bin_PROGRAMS.
301 * config.h.in: Regenerated.
302 * Makefile.in: Regenerated.
303 * aclocal.m4: Regenerated.
304 * stamp-h.in: Regenerated.
305 * jargrep.c: Eliminate some signed/unsigned and default
306 uninitialized warnings. Use HAVE_STDLIB_H instead of
308 * jartool.c: Likewise.
309 * compress.c: Likewise.
311 2001-09-17 Tom Tromey <tromey@redhat.com>
314 * aclocal.m4, configure, Makefile.in: Rebuilt.
315 * configure.in: Added AC_EXEEXT.
317 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
319 * jatool.c (extract_jar): Account for null termination when determining
320 whether to expand "filename".
322 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
324 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
327 2001-08-27 Tom Tromey <tromey@redhat.com>
329 * jartool.c (jarfile): Remove length limitation.
330 (main): Use jt_strdup when initializing jarfile.
332 2001-07-04 Tom Tromey <tromey@redhat.com>
334 Modified from patch by Julian Hall <jules@acris.co.uk>:
335 * jartool.c (errno): Conditionally declare.
336 (O_BINARY): Conditionally define.
337 (main): Use open, not creat. Use O_BINARY everywhere.
338 (make_manifest): Use O_BINARY.
339 (add_to_jar): Likewise.
341 2001-06-28 Tom Tromey <tromey@redhat.com>
343 * configure: Rebuilt.
344 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
346 2001-05-15 Per Bothner <per@bothner.com>
348 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
350 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
352 * jartool.c (jt_strdup): New function.
353 (get_next_arg): Use jt_strdup instead of strdup.
355 2001-01-21 Tom Tromey <tromey@redhat.com>
357 * Makefile.in: Rebuilt.
358 * Makefile.am (bin_PROGRAMS): Remove grepjar.
359 (EXTRA_PROGRAMS): New macro.
361 2000-12-28 Robert Lipe <robertl@sco.com>
363 * jartool.c (MAXPATHLEN): Provide if not defined.
365 2000-12-15 Tom Tromey <tromey@redhat.com>
366 Kelley Cook <kelleycook@home.com>
368 * jargrep.c: Include getopt.h if it exists.
370 * configure, config.h: Rebuilt.
371 * configure.in: Check for getopt.h.
373 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
375 * configure.in (fastjar_warn_cflags): Set when using gcc.
377 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
379 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
381 * compress.c: Include stdlib.h and compress.h.
383 (report_str_error): Make static.
384 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
385 (hrd_inflate_str): Likewise.
387 * compress.h (init_compression, end_compression, init_inflation,
388 end_inflation): Prototype void arguments.
390 * dostime.c (rcsid): Delete.
392 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
393 Make functions static. Cast ctype function argument to `unsigned
394 char'. Add parens in if-stmts. Constify.
395 (Usage): Change into a macro.
396 (jargrep): Remove unused parameter.
398 * jartool.c: Constify. Add parens in if-stmts. Align
399 signed/unsigned char pointers in functions calls using casts.
401 (list_jar): Fix printf format specifier.
402 (usage): Chop long string into bits. Reformat.
404 * pushback.c (rcsid): Delete.
406 2000-12-13 Tom Tromey <tromey@redhat.com>
408 * jartool.c (extract_jar): Use strchr, not index.
410 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
412 * install-defs.sh: Removed.
414 2000-12-10 Robert Lipe <robertlipe@usa.net>
416 * jargrep.c (jargrep): Added null statement after case.
418 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
421 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
423 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
425 * Makefile.am: New file.
426 * Makefile.in: Rebuilt.
427 * aclocal.m4: Likewise.
428 * stamp-h.in: Likewise.
429 * config.h.in: Likewise.
430 * configure.in (AM_INIT_AUTOMAKE): Added.
431 (AM_CONFIG_HEADER): Likewise.
432 (AC_CHECK_HEADERS): Check for sys/param.h
433 (AC_CHECK_LIB): Don't check for system's zlib.
434 (AC_CHECK_FUNC): Removed system's zlib function checks.
435 (ZDEPS. ZLIBS, ZINCS): Added.
436 * configure: Rebuilt.
437 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
438 (init_args, get_next_arg): New function.
439 (use_explicit_list_only, read_names_from_stdin): New global
440 (main): Parse new non standard options 'E' and '@', check and
441 report their usage if necessary. Use init_args and get_next_arg.
443 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
444 (usage): Added `-E' and `-@'.
445 * jartool.h (VERSION): Macro removed.
447 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
449 * fastjar imported from sourceforge.net/projects/fastjar with
450 Bryan Burns' permission. Check `CHANGES' for post import changes.
451 * ChangeLog: Created.
453 * mkinstalldirs: Likewise.