1 2002-12-30 DJ Delorie <dj@redhat.com>
3 * Makefile.am (jar.1, grepjar.1): Protect against
4 texi2pod/pod2man failing.
5 * Makefile.in: Regenerated
7 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
9 * fastjar.texi: Include Cover Texts in man page.
11 2002-12-04 Jakub Jelinek <jakub@redhat.com>
13 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
15 2002-11-23 H.J. Lu <hjl@gnu.org>
17 * acinclude.m4: Include ../config/accross.m4.
18 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
19 (gcc_AC_EXAMINE_OBJECT): Removed.
20 (gcc_AC_C_COMPILE_ENDIAN): Removed.
21 * aclocal.m4; Rebuild.
23 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
24 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
25 * configure: Likewise.
27 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
29 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
30 "creat" to create extracted files.
32 2002-11-11 Tom Tromey <tromey@redhat.com>
34 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
36 (unix2dostime): Handle years before 1980. Correctly compute month
39 2002-11-10 Jakub Jelinek <jakub@redhat.com>
41 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
44 * configure.in (AC_CHECK_HEADERS): Add limits.h.
45 * configure, config.h.in: Rebuilt.
47 2002-11-07 Tom Tromey <tromey@redhat.com>
49 * dostime.c: Rewrote from scratch.
50 * dostime.h (dostime): Removed.
52 2002-10-20 Tom Tromey <tromey@redhat.com>
54 * jartool.c: Use mode 0666 when opening new file.
56 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
58 * jargrep.c (chk_wrd): Remove unused variable(s).
59 * jartool.c (main, create_central_header, list_jar): Likewise.
61 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
63 * configure, config.h.in: Rebuilt.
64 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
66 2002-09-11 Tom Tromey <tromey@redhat.com>
68 * Makefile.in: Rebuilt.
69 * Makefile.am (TEXINFO_TEX): New macro.
70 (info_TEXINFOS): Likewise.
71 (fastjar_TEXINFOS): Likewise.
73 (EXTRA_DIST): Likewise.
74 (my_makei_flags): Likewise.
75 (fastjar.info): New rule.
76 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
77 (TEXINFO_TEX): Likewise.
78 (AUTOMAKE_OPTIONS): Added `cygnus'.
80 2002-09-11 Matthias Klose <doko@debian.org>
82 * Makefile.am: Revert the previous patch.
83 * Makefile.in: Regenerated.
85 2002-09-10 Matthias Klose <doko@debian.org>
88 * Makefile.am: Support building info docs and manpages.
89 * Makefile.in: Regenerated.
90 * configure.in: Set gcc_version.
91 * configure: Regenerated.
92 * jargrep.c: Update usage and help strings.
94 2002-09-09 Tom Tromey <tromey@redhat.com>
96 * jartool.c (mkdir): Define.
97 * config.h.in: Rebuilt.
98 * aclocal.m4, configure: Rebuilt.
99 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
100 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
103 2002-09-04 Tom Tromey <tromey@redhat.com>
105 From greenrd@hotmail.com:
106 * jartool.c (list_jar): Correctly determine when new `filename'
107 buffer must be allocated. Fixes PR java/7830.
109 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
111 * configure.in: Support cross-compiling.
112 * configure: Regenerate.
113 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
114 (gcc_AC_EXAMINE_OBJECT): New.
115 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
117 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
119 * jartool.c (expand_options): Handle tar-style argument list with a
122 2002-02-23 Anthony Green <green@redhat.com>
124 * jartool.c (main): Fix handling of -C.
126 2002-01-30 Tom Tromey <tromey@redhat.com>
128 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
131 2002-01-11 Tom Tromey <tromey@redhat.com>
133 * Makefile.in: Rebuilt.
134 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
136 2002-01-09 Tom Tromey <tromey@redhat.com>
139 * jargrep.h: Removed RCS keywords.
141 * configure, Makefile.in, config.h.in: Rebuilt.
142 * configure.in: Added AM_MAINTAINER_MODE.
143 Don't look for getopt.h. Use `fastjar' as package name.
144 * Makefile.am (INCLUDES): Look in ../include.
145 (LIBIBERTY): New macro.
147 (jar_DEPENDENCIES): Likewise.
148 (grepjar_LDADD): Likewise.
149 (grepjar_DEPENDENCIES): Likewise.
150 * jargrep.c: Removed RCS keywords. Always include getopt.h.
151 (LONG_OPT): New macro.
152 (OPT_HELP): Likewise.
153 (main): Use getopt_long. Let getopt print invalid argument
154 message. Handle --help. Use version().
155 (version): New function.
156 (optarg, optind): Don't declare.
157 (option_vec): New global.
158 (help): New function.
159 (Usage): Updated to GNU standards.
160 * jartool.c: Removed RCS keywords. Include getopt.h.
161 (LONG_OPT): New macro.
162 (OPT_HELP): Likewise.
163 (options): New global.
164 (help): New function.
165 (usage): Print a single line.
166 (version): New function.
167 (expand_options): New function.
168 (main): Use getopt_long and expand_options. Fail if `-u'
169 specified. Changed handling of -f, -m, -V options.
170 (OPTION_STRING): New macro.
171 (version_string): Removed.
173 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
176 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
177 * Makefile.am: Move grepjar to bin_PROGRAMS.
178 * config.h.in: Regenerated.
179 * Makefile.in: Regenerated.
180 * aclocal.m4: Regenerated.
181 * stamp-h.in: Regenerated.
182 * jargrep.c: Eliminate some signed/unsigned and default
183 uninitialized warnings. Use HAVE_STDLIB_H instead of
185 * jartool.c: Likewise.
186 * compress.c: Likewise.
188 2001-09-17 Tom Tromey <tromey@redhat.com>
191 * aclocal.m4, configure, Makefile.in: Rebuilt.
192 * configure.in: Added AC_EXEEXT.
194 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
196 * jatool.c (extract_jar): Account for null termination when determining
197 whether to expand "filename".
199 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
201 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
204 2001-08-27 Tom Tromey <tromey@redhat.com>
206 * jartool.c (jarfile): Remove length limitation.
207 (main): Use jt_strdup when initializing jarfile.
209 2001-07-04 Tom Tromey <tromey@redhat.com>
211 Modified from patch by Julian Hall <jules@acris.co.uk>:
212 * jartool.c (errno): Conditionally declare.
213 (O_BINARY): Conditionally define.
214 (main): Use open, not creat. Use O_BINARY everywhere.
215 (make_manifest): Use O_BINARY.
216 (add_to_jar): Likewise.
218 2001-06-28 Tom Tromey <tromey@redhat.com>
220 * configure: Rebuilt.
221 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
223 2001-05-15 Per Bothner <per@bothner.com>
225 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
227 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
229 * jartool.c (jt_strdup): New function.
230 (get_next_arg): Use jt_strdup instead of strdup.
232 2001-01-21 Tom Tromey <tromey@redhat.com>
234 * Makefile.in: Rebuilt.
235 * Makefile.am (bin_PROGRAMS): Remove grepjar.
236 (EXTRA_PROGRAMS): New macro.
238 2000-12-28 Robert Lipe <robertl@sco.com>
240 * jartool.c (MAXPATHLEN): Provide if not defined.
242 2000-12-15 Tom Tromey <tromey@redhat.com>
243 Kelley Cook <kelleycook@home.com>
245 * jargrep.c: Include getopt.h if it exists.
247 * configure, config.h: Rebuilt.
248 * configure.in: Check for getopt.h.
250 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
252 * configure.in (fastjar_warn_cflags): Set when using gcc.
254 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
256 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
258 * compress.c: Include stdlib.h and compress.h.
260 (report_str_error): Make static.
261 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
262 (hrd_inflate_str): Likewise.
264 * compress.h (init_compression, end_compression, init_inflation,
265 end_inflation): Prototype void arguments.
267 * dostime.c (rcsid): Delete.
269 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
270 Make functions static. Cast ctype function argument to `unsigned
271 char'. Add parens in if-stmts. Constify.
272 (Usage): Change into a macro.
273 (jargrep): Remove unused parameter.
275 * jartool.c: Constify. Add parens in if-stmts. Align
276 signed/unsigned char pointers in functions calls using casts.
278 (list_jar): Fix printf format specifier.
279 (usage): Chop long string into bits. Reformat.
281 * pushback.c (rcsid): Delete.
283 2000-12-13 Tom Tromey <tromey@redhat.com>
285 * jartool.c (extract_jar): Use strchr, not index.
287 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
289 * install-defs.sh: Removed.
291 2000-12-10 Robert Lipe <robertlipe@usa.net>
293 * jargrep.c (jargrep): Added null statement after case.
295 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
298 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
300 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
302 * Makefile.am: New file.
303 * Makefile.in: Rebuilt.
304 * aclocal.m4: Likewise.
305 * stamp-h.in: Likewise.
306 * config.h.in: Likewise.
307 * configure.in (AM_INIT_AUTOMAKE): Added.
308 (AM_CONFIG_HEADER): Likewise.
309 (AC_CHECK_HEADERS): Check for sys/param.h
310 (AC_CHECK_LIB): Don't check for system's zlib.
311 (AC_CHECK_FUNC): Removed system's zlib function checks.
312 (ZDEPS. ZLIBS, ZINCS): Added.
313 * configure: Rebuilt.
314 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
315 (init_args, get_next_arg): New function.
316 (use_explicit_list_only, read_names_from_stdin): New global
317 (main): Parse new non standard options 'E' and '@', check and
318 report their usage if necessary. Use init_args and get_next_arg.
320 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
321 (usage): Added `-E' and `-@'.
322 * jartool.h (VERSION): Macro removed.
324 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
326 * fastjar imported from sourceforge.net/projects/fastjar with
327 Bryan Burns' permission. Check `CHANGES' for post import changes.
328 * ChangeLog: Created.
330 * mkinstalldirs: Likewise.