1 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
3 * all files: Update FSF address.
5 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
7 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
8 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
9 * Makefile.am: Remove ACLOCAL_AMFLAGS.
10 * aclocal.m4, Makefile.in, configure, config.h.in: Regenerate.
12 2005-03-28 Marcin Dalecki <martin@dalecki.de>
14 * jartool.c (main): Indentation fixlet.
15 (add_entry): Likewise.
16 (init_args): Don't use K&R style.
17 (jt_strdup): Likewise.
18 (get_next_arg): Add explicit '(void)'.
19 (init_headers): Likewise.
22 2005-03-15 Zack Weinberg <zack@codesourcery.com>
24 * Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
25 (BASEVER, DEVPHASE): New variables.
26 (POD2MAN): Adjust setting of --release option.
27 (fastjar.1, grepjar.1, gcc-vers.texi): New rules.
28 * Makefile.in: Regenerate.
29 * configure.ac: Do not invoke TL_AC_GCC_VERSION.
30 * aclocal.m4, configure: Regenerate.
32 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
34 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
35 * configure, aclocal.m4, Makefile.in: Regenerate.
37 2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
39 * Makefile.am: Remove -no-dependencies.
40 * Makefile.in: Regenerate.
42 2004-11-13 Kelley Cook <kcook@gcc.gnu.org>
44 * Makefile.am: Define ACLOCAL_AMFLAGS.
45 * acinclude.m4: Remove unnecessary sinclude.
46 * aclocal.m4, Makefile.in, configure: Regenerate (autoreconf 1.9.3).
48 2004-09-23 Tom Tromey <tromey@redhat.com>
50 * jartool.c (extract_jar): Unconditionally read extra data in the
51 entry header; don't read it after the file contents.
53 2004-08-11 Kelley Cook <kcook@gcc.gnu.org>
56 * Makefile.am: Force fastjar.info to be built in build directory.
57 * Makefile.in: Regenerate.
59 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
61 * Makefile.am: Rename jar binary to fastjar.
62 * Makefile.in: Regenerate.
63 * fastjar.texi: Rename references to jar binary with fastjar.
65 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
67 * jartool.c (main): Ensure that only one of ftruncate and _chsize
70 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
73 * configure.ac: Check for ftruncate() and _chsize().
74 * jartool.c (main): Use _chsize if ftruncate not available.
75 * configure, config.h.in: Rebuilt.
77 2004-07-09 Richard Sandiford <rsandifo@redhat.com>
79 * jartool.c (find_entry, looks_like_dir): Remove inline spec.
81 2004-07-07 Matthias Klose <doko@debian.org>
83 * Makefile.am (jar_CPPFLAGS): Add AM_CPPFLAGS.
84 * Makefile.in: Regenerate.
86 2004-07-06 Matthias Klose <doko@debian.org>
88 * Makefile.in: Regenerate.
89 * fastjar.texi: Update for '-u'.
91 2004-07-06 Casey Marshall <csm@gnu.org>
95 (jar_SOURCES): added shift.c, shift.h.
96 (jar_CPPFLAGS): define WITH_SHIFT_DOWN.
100 (write_data): new function.
101 (compress_file): call write_data.
104 Updated copyright year.
105 (progname): new variable.
106 (end_of_entries): new variable.
107 (main): open and read file when updating.
108 (find_entry): new function.
109 (looks_like_dir): new function.
110 (read_entries): new function.
111 (make_manifest): added parameter `updating'.
112 Call `add_file_to_jar' with `updating'.
113 (add_to_jar_with_dir): added parameter `updating'.
114 Call `add_to_jar' with `updating'.
115 (add_to_jar): added parameter `updating'.
116 Call `add_file_to_jar' with `updating'.
117 Don't add directories if they already exist.
118 (add_file_to_jar): added parameter `updating'.
119 Update entries if they already exist.
122 Added #ifndef __FASTJAR_JARTOOL_H__.
123 (struct zipentry): added `flags'.
130 (CEN_FLAGS): new constant.
132 2004-07-05 Kelley Cook <kcook@gcc.gnu.org>
134 * Makefile.am: Silence two automake warnings.
135 * Makefile.in: Regenerate.
137 2004-06-25 Kelley Cook <kcook@gcc.gnu.org>
140 * configure.ac: Add check for long long.
141 * jartool.h: Check for long long before using it.
142 * configure: Regenerate
143 * config.h.in: Regenerate.
145 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
147 * acinclude.m4: Quote first argument of AC_DEFUNs.
148 * aclocal.m4: Regenerate with automake 1.8.
149 * Makefile.in: Likewise.
150 * configure: Regenerate.
151 * .cvsignore: New file.
153 2004-04-12 Kelley Cook <kcook@gcc.gnu.org>
156 * configure.ac: Parse --enable-generated-files-in-srcdir.
157 * Makefile.am: Copy man and info files to srcdir if requested.
158 * configure: Regenerate.
159 * Makefile.in Regenerate.
161 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
163 * configure.ac: Bump AC_PREREQ to 2.59.
164 * configure: Regenerate.
166 2004-03-09 Hans-Peter Nilsson <hp@axis.com>
168 * configure: Regenerate for config/accross.m4 correction.
170 2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
172 * configure.in: Rename file to ...
173 * configure.ac: ... this. Add in AC_PREREQ(2.57)
174 * config.h.in: Regenerate.
175 * aclocal.m4: Regenerate.
176 * Makefile.in: Regenerate.
178 2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
180 * jartool.c (make_manifest): Fix off-by-one bug when creating
181 an empty MANIFEST.MF.
183 2003-12-01 Kelley Cook <kcook@gcc.gnu.org>
185 * Makefile.am: Define AM_MAKINFOFLAGS. Remove Automake 1.4 hack.
186 * Makefile.in: Regenerate with automake 1.7.6 & autoconf 2.57 tools.
187 * aclocal.m4, config.h.in, configure: Likewise.
188 * install-sh, missing, mkinstalldirs, stamp-h.in: Remove.
190 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
192 * .cvsignore: Delete.
194 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
196 * Makefile.am (my_make_i_flags): Add $(srcdir) and update comment
198 (fastjar.info): Update target to write to build directory.
199 (%.1): New implicit rule from a .pod file.
202 (jar.pod): New intermediate rule.
203 (grepjar.pod): Likewise.
204 * Makefile.in: Regenerate.
206 2003-08-13 Matthias Klose <doko@debian.org>
208 * fastjar.texi: License manual under the GPL.
209 * Makefile.am: Remove reference to fdl.texi
210 * Makefile.in: Regenerate
212 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
214 * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
216 2003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
218 * README: Note that FastJar is not part of GCC.
220 2003-07-02 Nathanael Nerode <neroden@gcc.gnu.org>
223 * jartool.c (add_to_jar): Return 1 on failure to open file.
224 Split out -C case to:
225 * jartool.c (add_to_jar_with_dir): New function.
227 2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org>
230 * jartool.c (main) Give proper error messages with -C, and
231 check for missing arguments properly. Send error messages
233 * jartool.c (add_to_jar): Make getcwd() call portable,
234 and check for error return.
236 2003-03-30 Joseph S. Myers <jsm@polyomino.org.uk>
238 * fastjar.texi: Remove @ at start of file.
240 2003-03-10 Mohan Embar <gnustuff@thisiscool.com>
242 * dostime.c: add #include <stddef.h> for definition of NULL
244 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
246 * fastjar.texi: Update to GFDL 1.2.
248 2003-01-31 Daiki Ueno <ueno@unixuser.org>
250 * jartool.c (extract_jar): Don't lseek to skip extra fields.
251 (consume): If the stream is seekable, do lseek.
253 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
255 * jargrep.c: Include xregex.h from libiberty instead of
256 system regex.h for better portability.
258 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
260 * jartool.c (list_jar): Terminate the 'ascii_date' buffer
261 with a '\0' to guard against the case where the formatted
262 time string is more than the size allowed by the buffer.
264 2003-01-14 Tom Tromey <tromey@redhat.com>
266 * config.h.in: Rebuilt.
268 2002-12-30 DJ Delorie <dj@redhat.com>
270 * Makefile.am (jar.1, grepjar.1): Protect against
271 texi2pod/pod2man failing.
272 * Makefile.in: Regenerated.
274 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
276 * fastjar.texi: Include Cover Texts in man page.
278 2002-12-04 Jakub Jelinek <jakub@redhat.com>
280 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
282 2002-11-23 H.J. Lu <hjl@gnu.org>
284 * acinclude.m4: Include ../config/accross.m4.
285 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
286 (gcc_AC_EXAMINE_OBJECT): Removed.
287 (gcc_AC_C_COMPILE_ENDIAN): Removed.
288 * aclocal.m4; Rebuild.
290 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
291 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
292 * configure: Likewise.
294 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
296 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
297 "creat" to create extracted files.
299 2002-11-11 Tom Tromey <tromey@redhat.com>
301 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
303 (unix2dostime): Handle years before 1980. Correctly compute month
306 2002-11-10 Jakub Jelinek <jakub@redhat.com>
308 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
311 * configure.in (AC_CHECK_HEADERS): Add limits.h.
312 * configure, config.h.in: Rebuilt.
314 2002-11-07 Tom Tromey <tromey@redhat.com>
316 * dostime.c: Rewrote from scratch.
317 * dostime.h (dostime): Removed.
319 2002-10-20 Tom Tromey <tromey@redhat.com>
321 * jartool.c: Use mode 0666 when opening new file.
323 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
325 * jargrep.c (chk_wrd): Remove unused variable(s).
326 * jartool.c (main, create_central_header, list_jar): Likewise.
328 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
330 * configure, config.h.in: Rebuilt.
331 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
333 2002-09-11 Tom Tromey <tromey@redhat.com>
335 * Makefile.in: Rebuilt.
336 * Makefile.am (TEXINFO_TEX): New macro.
337 (info_TEXINFOS): Likewise.
338 (fastjar_TEXINFOS): Likewise.
339 (man_MANS): Likewise.
340 (EXTRA_DIST): Likewise.
341 (my_makei_flags): Likewise.
342 (fastjar.info): New rule.
343 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
344 (TEXINFO_TEX): Likewise.
345 (AUTOMAKE_OPTIONS): Added `cygnus'.
347 2002-09-11 Matthias Klose <doko@debian.org>
349 * Makefile.am: Revert the previous patch.
350 * Makefile.in: Regenerated.
352 2002-09-10 Matthias Klose <doko@debian.org>
355 * Makefile.am: Support building info docs and manpages.
356 * Makefile.in: Regenerated.
357 * configure.in: Set gcc_version.
358 * configure: Regenerated.
359 * jargrep.c: Update usage and help strings.
361 2002-09-09 Tom Tromey <tromey@redhat.com>
363 * jartool.c (mkdir): Define.
364 * config.h.in: Rebuilt.
365 * aclocal.m4, configure: Rebuilt.
366 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
367 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
370 2002-09-04 Tom Tromey <tromey@redhat.com>
372 From greenrd@hotmail.com:
373 * jartool.c (list_jar): Correctly determine when new `filename'
374 buffer must be allocated. Fixes PR java/7830.
376 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
378 * configure.in: Support cross-compiling.
379 * configure: Regenerate.
380 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
381 (gcc_AC_EXAMINE_OBJECT): New.
382 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
384 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
386 * jartool.c (expand_options): Handle tar-style argument list with a
389 2002-02-23 Anthony Green <green@redhat.com>
391 * jartool.c (main): Fix handling of -C.
393 2002-01-30 Tom Tromey <tromey@redhat.com>
395 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
398 2002-01-11 Tom Tromey <tromey@redhat.com>
400 * Makefile.in: Rebuilt.
401 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
403 2002-01-09 Tom Tromey <tromey@redhat.com>
406 * jargrep.h: Removed RCS keywords.
408 * configure, Makefile.in, config.h.in: Rebuilt.
409 * configure.in: Added AM_MAINTAINER_MODE.
410 Don't look for getopt.h. Use `fastjar' as package name.
411 * Makefile.am (INCLUDES): Look in ../include.
412 (LIBIBERTY): New macro.
414 (jar_DEPENDENCIES): Likewise.
415 (grepjar_LDADD): Likewise.
416 (grepjar_DEPENDENCIES): Likewise.
417 * jargrep.c: Removed RCS keywords. Always include getopt.h.
418 (LONG_OPT): New macro.
419 (OPT_HELP): Likewise.
420 (main): Use getopt_long. Let getopt print invalid argument
421 message. Handle --help. Use version().
422 (version): New function.
423 (optarg, optind): Don't declare.
424 (option_vec): New global.
425 (help): New function.
426 (Usage): Updated to GNU standards.
427 * jartool.c: Removed RCS keywords. Include getopt.h.
428 (LONG_OPT): New macro.
429 (OPT_HELP): Likewise.
430 (options): New global.
431 (help): New function.
432 (usage): Print a single line.
433 (version): New function.
434 (expand_options): New function.
435 (main): Use getopt_long and expand_options. Fail if `-u'
436 specified. Changed handling of -f, -m, -V options.
437 (OPTION_STRING): New macro.
438 (version_string): Removed.
440 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
443 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
444 * Makefile.am: Move grepjar to bin_PROGRAMS.
445 * config.h.in: Regenerated.
446 * Makefile.in: Regenerated.
447 * aclocal.m4: Regenerated.
448 * stamp-h.in: Regenerated.
449 * jargrep.c: Eliminate some signed/unsigned and default
450 uninitialized warnings. Use HAVE_STDLIB_H instead of
452 * jartool.c: Likewise.
453 * compress.c: Likewise.
455 2001-09-17 Tom Tromey <tromey@redhat.com>
458 * aclocal.m4, configure, Makefile.in: Rebuilt.
459 * configure.in: Added AC_EXEEXT.
461 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
463 * jatool.c (extract_jar): Account for null termination when determining
464 whether to expand "filename".
466 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
468 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
471 2001-08-27 Tom Tromey <tromey@redhat.com>
473 * jartool.c (jarfile): Remove length limitation.
474 (main): Use jt_strdup when initializing jarfile.
476 2001-07-04 Tom Tromey <tromey@redhat.com>
478 Modified from patch by Julian Hall <jules@acris.co.uk>:
479 * jartool.c (errno): Conditionally declare.
480 (O_BINARY): Conditionally define.
481 (main): Use open, not creat. Use O_BINARY everywhere.
482 (make_manifest): Use O_BINARY.
483 (add_to_jar): Likewise.
485 2001-06-28 Tom Tromey <tromey@redhat.com>
487 * configure: Rebuilt.
488 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
490 2001-05-15 Per Bothner <per@bothner.com>
492 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
494 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
496 * jartool.c (jt_strdup): New function.
497 (get_next_arg): Use jt_strdup instead of strdup.
499 2001-01-21 Tom Tromey <tromey@redhat.com>
501 * Makefile.in: Rebuilt.
502 * Makefile.am (bin_PROGRAMS): Remove grepjar.
503 (EXTRA_PROGRAMS): New macro.
505 2000-12-28 Robert Lipe <robertl@sco.com>
507 * jartool.c (MAXPATHLEN): Provide if not defined.
509 2000-12-15 Tom Tromey <tromey@redhat.com>
510 Kelley Cook <kelleycook@home.com>
512 * jargrep.c: Include getopt.h if it exists.
514 * configure, config.h: Rebuilt.
515 * configure.in: Check for getopt.h.
517 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
519 * configure.in (fastjar_warn_cflags): Set when using gcc.
521 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
523 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
525 * compress.c: Include stdlib.h and compress.h.
527 (report_str_error): Make static.
528 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
529 (hrd_inflate_str): Likewise.
531 * compress.h (init_compression, end_compression, init_inflation,
532 end_inflation): Prototype void arguments.
534 * dostime.c (rcsid): Delete.
536 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
537 Make functions static. Cast ctype function argument to `unsigned
538 char'. Add parens in if-stmts. Constify.
539 (Usage): Change into a macro.
540 (jargrep): Remove unused parameter.
542 * jartool.c: Constify. Add parens in if-stmts. Align
543 signed/unsigned char pointers in functions calls using casts.
545 (list_jar): Fix printf format specifier.
546 (usage): Chop long string into bits. Reformat.
548 * pushback.c (rcsid): Delete.
550 2000-12-13 Tom Tromey <tromey@redhat.com>
552 * jartool.c (extract_jar): Use strchr, not index.
554 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
556 * install-defs.sh: Removed.
558 2000-12-10 Robert Lipe <robertlipe@usa.net>
560 * jargrep.c (jargrep): Added null statement after case.
562 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
565 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
567 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
569 * Makefile.am: New file.
570 * Makefile.in: Rebuilt.
571 * aclocal.m4: Likewise.
572 * stamp-h.in: Likewise.
573 * config.h.in: Likewise.
574 * configure.in (AM_INIT_AUTOMAKE): Added.
575 (AM_CONFIG_HEADER): Likewise.
576 (AC_CHECK_HEADERS): Check for sys/param.h
577 (AC_CHECK_LIB): Don't check for system's zlib.
578 (AC_CHECK_FUNC): Removed system's zlib function checks.
579 (ZDEPS. ZLIBS, ZINCS): Added.
580 * configure: Rebuilt.
581 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
582 (init_args, get_next_arg): New function.
583 (use_explicit_list_only, read_names_from_stdin): New global
584 (main): Parse new non standard options 'E' and '@', check and
585 report their usage if necessary. Use init_args and get_next_arg.
587 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
588 (usage): Added `-E' and `-@'.
589 * jartool.h (VERSION): Macro removed.
591 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
593 * fastjar imported from sourceforge.net/projects/fastjar with
594 Bryan Burns' permission. Check `CHANGES' for post import changes.
595 * ChangeLog: Created.
597 * mkinstalldirs: Likewise.