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