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