1 2002-09-11 Matthias Klose <doko@debian.org>
3 * Makefile.am: Revert the previous patch.
4 * Makefile.in: Regenerated.
6 2002-09-10 Matthias Klose <doko@debian.org>
9 * Makefile.am: Support building info docs and manpages.
10 * Makefile.in: Regenerated.
11 * configure.in: Set gcc_version.
12 * configure: Regenerated.
13 * jargrep.c: Update usage and help strings.
15 2002-09-09 Tom Tromey <tromey@redhat.com>
17 * jartool.c (mkdir): Define.
18 * config.h.in: Rebuilt.
19 * aclocal.m4, configure: Rebuilt.
20 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
21 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
24 2002-09-04 Tom Tromey <tromey@redhat.com>
26 From greenrd@hotmail.com:
27 * jartool.c (list_jar): Correctly determine when new `filename'
28 buffer must be allocated. Fixes PR java/7830.
30 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
32 * configure.in: Support cross-compiling.
33 * configure: Regenerate.
34 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
35 (gcc_AC_EXAMINE_OBJECT): New.
36 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
38 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
40 * jartool.c (expand_options): Handle tar-style argument list with a
43 2002-02-23 Anthony Green <green@redhat.com>
45 * jartool.c (main): Fix handling of -C.
47 2002-01-30 Tom Tromey <tromey@redhat.com>
49 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
52 2002-01-11 Tom Tromey <tromey@redhat.com>
54 * Makefile.in: Rebuilt.
55 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
57 2002-01-09 Tom Tromey <tromey@redhat.com>
60 * jargrep.h: Removed RCS keywords.
62 * configure, Makefile.in, config.h.in: Rebuilt.
63 * configure.in: Added AM_MAINTAINER_MODE.
64 Don't look for getopt.h. Use `fastjar' as package name.
65 * Makefile.am (INCLUDES): Look in ../include.
66 (LIBIBERTY): New macro.
68 (jar_DEPENDENCIES): Likewise.
69 (grepjar_LDADD): Likewise.
70 (grepjar_DEPENDENCIES): Likewise.
71 * jargrep.c: Removed RCS keywords. Always include getopt.h.
72 (LONG_OPT): New macro.
74 (main): Use getopt_long. Let getopt print invalid argument
75 message. Handle --help. Use version().
76 (version): New function.
77 (optarg, optind): Don't declare.
78 (option_vec): New global.
80 (Usage): Updated to GNU standards.
81 * jartool.c: Removed RCS keywords. Include getopt.h.
82 (LONG_OPT): New macro.
84 (options): New global.
86 (usage): Print a single line.
87 (version): New function.
88 (expand_options): New function.
89 (main): Use getopt_long and expand_options. Fail if `-u'
90 specified. Changed handling of -f, -m, -V options.
91 (OPTION_STRING): New macro.
92 (version_string): Removed.
94 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
97 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
98 * Makefile.am: Move grepjar to bin_PROGRAMS.
99 * config.h.in: Regenerated.
100 * Makefile.in: Regenerated.
101 * aclocal.m4: Regenerated.
102 * stamp-h.in: Regenerated.
103 * jargrep.c: Eliminate some signed/unsigned and default
104 uninitialized warnings. Use HAVE_STDLIB_H instead of
106 * jartool.c: Likewise.
107 * compress.c: Likewise.
109 2001-09-17 Tom Tromey <tromey@redhat.com>
112 * aclocal.m4, configure, Makefile.in: Rebuilt.
113 * configure.in: Added AC_EXEEXT.
115 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
117 * jatool.c (extract_jar): Account for null termination when determining
118 whether to expand "filename".
120 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
122 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
125 2001-08-27 Tom Tromey <tromey@redhat.com>
127 * jartool.c (jarfile): Remove length limitation.
128 (main): Use jt_strdup when initializing jarfile.
130 2001-07-04 Tom Tromey <tromey@redhat.com>
132 Modified from patch by Julian Hall <jules@acris.co.uk>:
133 * jartool.c (errno): Conditionally declare.
134 (O_BINARY): Conditionally define.
135 (main): Use open, not creat. Use O_BINARY everywhere.
136 (make_manifest): Use O_BINARY.
137 (add_to_jar): Likewise.
139 2001-06-28 Tom Tromey <tromey@redhat.com>
141 * configure: Rebuilt.
142 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
144 2001-05-15 Per Bothner <per@bothner.com>
146 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
148 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
150 * jartool.c (jt_strdup): New function.
151 (get_next_arg): Use jt_strdup instead of strdup.
153 2001-01-21 Tom Tromey <tromey@redhat.com>
155 * Makefile.in: Rebuilt.
156 * Makefile.am (bin_PROGRAMS): Remove grepjar.
157 (EXTRA_PROGRAMS): New macro.
159 2000-12-28 Robert Lipe <robertl@sco.com>
161 * jartool.c (MAXPATHLEN): Provide if not defined.
163 2000-12-15 Tom Tromey <tromey@redhat.com>
164 Kelley Cook <kelleycook@home.com>
166 * jargrep.c: Include getopt.h if it exists.
168 * configure, config.h: Rebuilt.
169 * configure.in: Check for getopt.h.
171 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
173 * configure.in (fastjar_warn_cflags): Set when using gcc.
175 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
177 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
179 * compress.c: Include stdlib.h and compress.h.
181 (report_str_error): Make static.
182 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
183 (hrd_inflate_str): Likewise.
185 * compress.h (init_compression, end_compression, init_inflation,
186 end_inflation): Prototype void arguments.
188 * dostime.c (rcsid): Delete.
190 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
191 Make functions static. Cast ctype function argument to `unsigned
192 char'. Add parens in if-stmts. Constify.
193 (Usage): Change into a macro.
194 (jargrep): Remove unused parameter.
196 * jartool.c: Constify. Add parens in if-stmts. Align
197 signed/unsigned char pointers in functions calls using casts.
199 (list_jar): Fix printf format specifier.
200 (usage): Chop long string into bits. Reformat.
202 * pushback.c (rcsid): Delete.
204 2000-12-13 Tom Tromey <tromey@redhat.com>
206 * jartool.c (extract_jar): Use strchr, not index.
208 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
210 * install-defs.sh: Removed.
212 2000-12-10 Robert Lipe <robertlipe@usa.net>
214 * jargrep.c (jargrep): Added null statement after case.
216 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
219 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
221 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
223 * Makefile.am: New file.
224 * Makefile.in: Rebuilt.
225 * aclocal.m4: Likewise.
226 * stamp-h.in: Likewise.
227 * config.h.in: Likewise.
228 * configure.in (AM_INIT_AUTOMAKE): Added.
229 (AM_CONFIG_HEADER): Likewise.
230 (AC_CHECK_HEADERS): Check for sys/param.h
231 (AC_CHECK_LIB): Don't check for system's zlib.
232 (AC_CHECK_FUNC): Removed system's zlib function checks.
233 (ZDEPS. ZLIBS, ZINCS): Added.
234 * configure: Rebuilt.
235 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
236 (init_args, get_next_arg): New function.
237 (use_explicit_list_only, read_names_from_stdin): New global
238 (main): Parse new non standard options 'E' and '@', check and
239 report their usage if necessary. Use init_args and get_next_arg.
241 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
242 (usage): Added `-E' and `-@'.
243 * jartool.h (VERSION): Macro removed.
245 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
247 * fastjar imported from sourceforge.net/projects/fastjar with
248 Bryan Burns' permission. Check `CHANGES' for post import changes.
249 * ChangeLog: Created.
251 * mkinstalldirs: Likewise.