1 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
3 * jartool.c (expand_options): Handle tar-style argument list with a
6 2002-02-23 Anthony Green <green@redhat.com>
8 * jartool.c (main): Fix handling of -C.
10 2002-01-30 Tom Tromey <tromey@redhat.com>
12 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
15 2002-01-11 Tom Tromey <tromey@redhat.com>
17 * Makefile.in: Rebuilt.
18 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
20 2002-01-09 Tom Tromey <tromey@redhat.com>
23 * jargrep.h: Removed RCS keywords.
25 * configure, Makefile.in, config.h.in: Rebuilt.
26 * configure.in: Added AM_MAINTAINER_MODE.
27 Don't look for getopt.h. Use `fastjar' as package name.
28 * Makefile.am (INCLUDES): Look in ../include.
29 (LIBIBERTY): New macro.
31 (jar_DEPENDENCIES): Likewise.
32 (grepjar_LDADD): Likewise.
33 (grepjar_DEPENDENCIES): Likewise.
34 * jargrep.c: Removed RCS keywords. Always include getopt.h.
35 (LONG_OPT): New macro.
37 (main): Use getopt_long. Let getopt print invalid argument
38 message. Handle --help. Use version().
39 (version): New function.
40 (optarg, optind): Don't declare.
41 (option_vec): New global.
43 (Usage): Updated to GNU standards.
44 * jartool.c: Removed RCS keywords. Include getopt.h.
45 (LONG_OPT): New macro.
47 (options): New global.
49 (usage): Print a single line.
50 (version): New function.
51 (expand_options): New function.
52 (main): Use getopt_long and expand_options. Fail if `-u'
53 specified. Changed handling of -f, -m, -V options.
54 (OPTION_STRING): New macro.
55 (version_string): Removed.
57 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
60 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
61 * Makefile.am: Move grepjar to bin_PROGRAMS.
62 * config.h.in: Regenerated.
63 * Makefile.in: Regenerated.
64 * aclocal.m4: Regenerated.
65 * stamp-h.in: Regenerated.
66 * jargrep.c: Eliminate some signed/unsigned and default
67 uninitialized warnings. Use HAVE_STDLIB_H instead of
69 * jartool.c: Likewise.
70 * compress.c: Likewise.
72 2001-09-17 Tom Tromey <tromey@redhat.com>
75 * aclocal.m4, configure, Makefile.in: Rebuilt.
76 * configure.in: Added AC_EXEEXT.
78 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
80 * jatool.c (extract_jar): Account for null termination when determining
81 whether to expand "filename".
83 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
85 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
88 2001-08-27 Tom Tromey <tromey@redhat.com>
90 * jartool.c (jarfile): Remove length limitation.
91 (main): Use jt_strdup when initializing jarfile.
93 2001-07-04 Tom Tromey <tromey@redhat.com>
95 Modified from patch by Julian Hall <jules@acris.co.uk>:
96 * jartool.c (errno): Conditionally declare.
97 (O_BINARY): Conditionally define.
98 (main): Use open, not creat. Use O_BINARY everywhere.
99 (make_manifest): Use O_BINARY.
100 (add_to_jar): Likewise.
102 2001-06-28 Tom Tromey <tromey@redhat.com>
104 * configure: Rebuilt.
105 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
107 2001-05-15 Per Bothner <per@bothner.com>
109 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
111 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
113 * jartool.c (jt_strdup): New function.
114 (get_next_arg): Use jt_strdup instead of strdup.
116 2001-01-21 Tom Tromey <tromey@redhat.com>
118 * Makefile.in: Rebuilt.
119 * Makefile.am (bin_PROGRAMS): Remove grepjar.
120 (EXTRA_PROGRAMS): New macro.
122 2000-12-28 Robert Lipe <robertl@sco.com>
124 * jartool.c (MAXPATHLEN): Provide if not defined.
126 2000-12-15 Tom Tromey <tromey@redhat.com>
127 Kelley Cook <kelleycook@home.com>
129 * jargrep.c: Include getopt.h if it exists.
131 * configure, config.h: Rebuilt.
132 * configure.in: Check for getopt.h.
134 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
136 * configure.in (fastjar_warn_cflags): Set when using gcc.
138 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
140 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
142 * compress.c: Include stdlib.h and compress.h.
144 (report_str_error): Make static.
145 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
146 (hrd_inflate_str): Likewise.
148 * compress.h (init_compression, end_compression, init_inflation,
149 end_inflation): Prototype void arguments.
151 * dostime.c (rcsid): Delete.
153 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
154 Make functions static. Cast ctype function argument to `unsigned
155 char'. Add parens in if-stmts. Constify.
156 (Usage): Change into a macro.
157 (jargrep): Remove unused parameter.
159 * jartool.c: Constify. Add parens in if-stmts. Align
160 signed/unsigned char pointers in functions calls using casts.
162 (list_jar): Fix printf format specifier.
163 (usage): Chop long string into bits. Reformat.
165 * pushback.c (rcsid): Delete.
167 2000-12-13 Tom Tromey <tromey@redhat.com>
169 * jartool.c (extract_jar): Use strchr, not index.
171 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
173 * install-defs.sh: Removed.
175 2000-12-10 Robert Lipe <robertlipe@usa.net>
177 * jargrep.c (jargrep): Added null statement after case.
179 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
182 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
184 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
186 * Makefile.am: New file.
187 * Makefile.in: Rebuilt.
188 * aclocal.m4: Likewise.
189 * stamp-h.in: Likewise.
190 * config.h.in: Likewise.
191 * configure.in (AM_INIT_AUTOMAKE): Added.
192 (AM_CONFIG_HEADER): Likewise.
193 (AC_CHECK_HEADERS): Check for sys/param.h
194 (AC_CHECK_LIB): Don't check for system's zlib.
195 (AC_CHECK_FUNC): Removed system's zlib function checks.
196 (ZDEPS. ZLIBS, ZINCS): Added.
197 * configure: Rebuilt.
198 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
199 (init_args, get_next_arg): New function.
200 (use_explicit_list_only, read_names_from_stdin): New global
201 (main): Parse new non standard options 'E' and '@', check and
202 report their usage if necessary. Use init_args and get_next_arg.
204 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
205 (usage): Added `-E' and `-@'.
206 * jartool.h (VERSION): Macro removed.
208 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
210 * fastjar imported from sourceforge.net/projects/fastjar with
211 Bryan Burns' permission. Check `CHANGES' for post import changes.
212 * ChangeLog: Created.
214 * mkinstalldirs: Likewise.