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