1 2003-03-30 Joseph S. Myers <jsm@polyomino.org.uk>
3 * fastjar.texi: Remove @ at start of file.
5 2003-03-10 Mohan Embar <gnustuff@thisiscool.com>
7 * dostime.c: add #include <stddef.h> for definition of NULL
9 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
11 * fastjar.texi: Update to GFDL 1.2.
13 2003-01-31 Daiki Ueno <ueno@unixuser.org>
15 * jartool.c (extract_jar): Don't lseek to skip extra fields.
16 (consume): If the stream is seekable, do lseek.
18 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
20 * jargrep.c: Include xregex.h from libiberty instead of
21 system regex.h for better portability.
23 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
25 * jartool.c (list_jar): Terminate the 'ascii_date' buffer
26 with a '\0' to guard against the case where the formatted
27 time string is more than the size allowed by the buffer.
29 2003-01-14 Tom Tromey <tromey@redhat.com>
31 * config.h.in: Rebuilt.
33 2002-12-30 DJ Delorie <dj@redhat.com>
35 * Makefile.am (jar.1, grepjar.1): Protect against
36 texi2pod/pod2man failing.
37 * Makefile.in: Regenerated.
39 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
41 * fastjar.texi: Include Cover Texts in man page.
43 2002-12-04 Jakub Jelinek <jakub@redhat.com>
45 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
47 2002-11-23 H.J. Lu <hjl@gnu.org>
49 * acinclude.m4: Include ../config/accross.m4.
50 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
51 (gcc_AC_EXAMINE_OBJECT): Removed.
52 (gcc_AC_C_COMPILE_ENDIAN): Removed.
53 * aclocal.m4; Rebuild.
55 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
56 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
57 * configure: Likewise.
59 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
61 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
62 "creat" to create extracted files.
64 2002-11-11 Tom Tromey <tromey@redhat.com>
66 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
68 (unix2dostime): Handle years before 1980. Correctly compute month
71 2002-11-10 Jakub Jelinek <jakub@redhat.com>
73 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
76 * configure.in (AC_CHECK_HEADERS): Add limits.h.
77 * configure, config.h.in: Rebuilt.
79 2002-11-07 Tom Tromey <tromey@redhat.com>
81 * dostime.c: Rewrote from scratch.
82 * dostime.h (dostime): Removed.
84 2002-10-20 Tom Tromey <tromey@redhat.com>
86 * jartool.c: Use mode 0666 when opening new file.
88 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
90 * jargrep.c (chk_wrd): Remove unused variable(s).
91 * jartool.c (main, create_central_header, list_jar): Likewise.
93 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
95 * configure, config.h.in: Rebuilt.
96 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
98 2002-09-11 Tom Tromey <tromey@redhat.com>
100 * Makefile.in: Rebuilt.
101 * Makefile.am (TEXINFO_TEX): New macro.
102 (info_TEXINFOS): Likewise.
103 (fastjar_TEXINFOS): Likewise.
104 (man_MANS): Likewise.
105 (EXTRA_DIST): Likewise.
106 (my_makei_flags): Likewise.
107 (fastjar.info): New rule.
108 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
109 (TEXINFO_TEX): Likewise.
110 (AUTOMAKE_OPTIONS): Added `cygnus'.
112 2002-09-11 Matthias Klose <doko@debian.org>
114 * Makefile.am: Revert the previous patch.
115 * Makefile.in: Regenerated.
117 2002-09-10 Matthias Klose <doko@debian.org>
120 * Makefile.am: Support building info docs and manpages.
121 * Makefile.in: Regenerated.
122 * configure.in: Set gcc_version.
123 * configure: Regenerated.
124 * jargrep.c: Update usage and help strings.
126 2002-09-09 Tom Tromey <tromey@redhat.com>
128 * jartool.c (mkdir): Define.
129 * config.h.in: Rebuilt.
130 * aclocal.m4, configure: Rebuilt.
131 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
132 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
135 2002-09-04 Tom Tromey <tromey@redhat.com>
137 From greenrd@hotmail.com:
138 * jartool.c (list_jar): Correctly determine when new `filename'
139 buffer must be allocated. Fixes PR java/7830.
141 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
143 * configure.in: Support cross-compiling.
144 * configure: Regenerate.
145 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
146 (gcc_AC_EXAMINE_OBJECT): New.
147 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
149 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
151 * jartool.c (expand_options): Handle tar-style argument list with a
154 2002-02-23 Anthony Green <green@redhat.com>
156 * jartool.c (main): Fix handling of -C.
158 2002-01-30 Tom Tromey <tromey@redhat.com>
160 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
163 2002-01-11 Tom Tromey <tromey@redhat.com>
165 * Makefile.in: Rebuilt.
166 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
168 2002-01-09 Tom Tromey <tromey@redhat.com>
171 * jargrep.h: Removed RCS keywords.
173 * configure, Makefile.in, config.h.in: Rebuilt.
174 * configure.in: Added AM_MAINTAINER_MODE.
175 Don't look for getopt.h. Use `fastjar' as package name.
176 * Makefile.am (INCLUDES): Look in ../include.
177 (LIBIBERTY): New macro.
179 (jar_DEPENDENCIES): Likewise.
180 (grepjar_LDADD): Likewise.
181 (grepjar_DEPENDENCIES): Likewise.
182 * jargrep.c: Removed RCS keywords. Always include getopt.h.
183 (LONG_OPT): New macro.
184 (OPT_HELP): Likewise.
185 (main): Use getopt_long. Let getopt print invalid argument
186 message. Handle --help. Use version().
187 (version): New function.
188 (optarg, optind): Don't declare.
189 (option_vec): New global.
190 (help): New function.
191 (Usage): Updated to GNU standards.
192 * jartool.c: Removed RCS keywords. Include getopt.h.
193 (LONG_OPT): New macro.
194 (OPT_HELP): Likewise.
195 (options): New global.
196 (help): New function.
197 (usage): Print a single line.
198 (version): New function.
199 (expand_options): New function.
200 (main): Use getopt_long and expand_options. Fail if `-u'
201 specified. Changed handling of -f, -m, -V options.
202 (OPTION_STRING): New macro.
203 (version_string): Removed.
205 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
208 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
209 * Makefile.am: Move grepjar to bin_PROGRAMS.
210 * config.h.in: Regenerated.
211 * Makefile.in: Regenerated.
212 * aclocal.m4: Regenerated.
213 * stamp-h.in: Regenerated.
214 * jargrep.c: Eliminate some signed/unsigned and default
215 uninitialized warnings. Use HAVE_STDLIB_H instead of
217 * jartool.c: Likewise.
218 * compress.c: Likewise.
220 2001-09-17 Tom Tromey <tromey@redhat.com>
223 * aclocal.m4, configure, Makefile.in: Rebuilt.
224 * configure.in: Added AC_EXEEXT.
226 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
228 * jatool.c (extract_jar): Account for null termination when determining
229 whether to expand "filename".
231 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
233 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
236 2001-08-27 Tom Tromey <tromey@redhat.com>
238 * jartool.c (jarfile): Remove length limitation.
239 (main): Use jt_strdup when initializing jarfile.
241 2001-07-04 Tom Tromey <tromey@redhat.com>
243 Modified from patch by Julian Hall <jules@acris.co.uk>:
244 * jartool.c (errno): Conditionally declare.
245 (O_BINARY): Conditionally define.
246 (main): Use open, not creat. Use O_BINARY everywhere.
247 (make_manifest): Use O_BINARY.
248 (add_to_jar): Likewise.
250 2001-06-28 Tom Tromey <tromey@redhat.com>
252 * configure: Rebuilt.
253 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
255 2001-05-15 Per Bothner <per@bothner.com>
257 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
259 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
261 * jartool.c (jt_strdup): New function.
262 (get_next_arg): Use jt_strdup instead of strdup.
264 2001-01-21 Tom Tromey <tromey@redhat.com>
266 * Makefile.in: Rebuilt.
267 * Makefile.am (bin_PROGRAMS): Remove grepjar.
268 (EXTRA_PROGRAMS): New macro.
270 2000-12-28 Robert Lipe <robertl@sco.com>
272 * jartool.c (MAXPATHLEN): Provide if not defined.
274 2000-12-15 Tom Tromey <tromey@redhat.com>
275 Kelley Cook <kelleycook@home.com>
277 * jargrep.c: Include getopt.h if it exists.
279 * configure, config.h: Rebuilt.
280 * configure.in: Check for getopt.h.
282 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
284 * configure.in (fastjar_warn_cflags): Set when using gcc.
286 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
288 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
290 * compress.c: Include stdlib.h and compress.h.
292 (report_str_error): Make static.
293 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
294 (hrd_inflate_str): Likewise.
296 * compress.h (init_compression, end_compression, init_inflation,
297 end_inflation): Prototype void arguments.
299 * dostime.c (rcsid): Delete.
301 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
302 Make functions static. Cast ctype function argument to `unsigned
303 char'. Add parens in if-stmts. Constify.
304 (Usage): Change into a macro.
305 (jargrep): Remove unused parameter.
307 * jartool.c: Constify. Add parens in if-stmts. Align
308 signed/unsigned char pointers in functions calls using casts.
310 (list_jar): Fix printf format specifier.
311 (usage): Chop long string into bits. Reformat.
313 * pushback.c (rcsid): Delete.
315 2000-12-13 Tom Tromey <tromey@redhat.com>
317 * jartool.c (extract_jar): Use strchr, not index.
319 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
321 * install-defs.sh: Removed.
323 2000-12-10 Robert Lipe <robertlipe@usa.net>
325 * jargrep.c (jargrep): Added null statement after case.
327 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
330 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
332 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
334 * Makefile.am: New file.
335 * Makefile.in: Rebuilt.
336 * aclocal.m4: Likewise.
337 * stamp-h.in: Likewise.
338 * config.h.in: Likewise.
339 * configure.in (AM_INIT_AUTOMAKE): Added.
340 (AM_CONFIG_HEADER): Likewise.
341 (AC_CHECK_HEADERS): Check for sys/param.h
342 (AC_CHECK_LIB): Don't check for system's zlib.
343 (AC_CHECK_FUNC): Removed system's zlib function checks.
344 (ZDEPS. ZLIBS, ZINCS): Added.
345 * configure: Rebuilt.
346 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
347 (init_args, get_next_arg): New function.
348 (use_explicit_list_only, read_names_from_stdin): New global
349 (main): Parse new non standard options 'E' and '@', check and
350 report their usage if necessary. Use init_args and get_next_arg.
352 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
353 (usage): Added `-E' and `-@'.
354 * jartool.h (VERSION): Macro removed.
356 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
358 * fastjar imported from sourceforge.net/projects/fastjar with
359 Bryan Burns' permission. Check `CHANGES' for post import changes.
360 * ChangeLog: Created.
362 * mkinstalldirs: Likewise.