1 2003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3 * README: Note that FastJar is not part of GCC.
5 2003-07-02 Nathanael Nerode <neroden@gcc.gnu.org>
8 * jartool.c (add_to_jar): Return 1 on failure to open file.
10 * jartool.c (add_to_jar_with_dir): New function.
12 2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org>
15 * jartool.c (main) Give proper error messages with -C, and
16 check for missing arguments properly. Send error messages
18 * jartool.c (add_to_jar): Make getcwd() call portable,
19 and check for error return.
21 2003-03-30 Joseph S. Myers <jsm@polyomino.org.uk>
23 * fastjar.texi: Remove @ at start of file.
25 2003-03-10 Mohan Embar <gnustuff@thisiscool.com>
27 * dostime.c: add #include <stddef.h> for definition of NULL
29 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
31 * fastjar.texi: Update to GFDL 1.2.
33 2003-01-31 Daiki Ueno <ueno@unixuser.org>
35 * jartool.c (extract_jar): Don't lseek to skip extra fields.
36 (consume): If the stream is seekable, do lseek.
38 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
40 * jargrep.c: Include xregex.h from libiberty instead of
41 system regex.h for better portability.
43 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
45 * jartool.c (list_jar): Terminate the 'ascii_date' buffer
46 with a '\0' to guard against the case where the formatted
47 time string is more than the size allowed by the buffer.
49 2003-01-14 Tom Tromey <tromey@redhat.com>
51 * config.h.in: Rebuilt.
53 2002-12-30 DJ Delorie <dj@redhat.com>
55 * Makefile.am (jar.1, grepjar.1): Protect against
56 texi2pod/pod2man failing.
57 * Makefile.in: Regenerated.
59 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
61 * fastjar.texi: Include Cover Texts in man page.
63 2002-12-04 Jakub Jelinek <jakub@redhat.com>
65 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
67 2002-11-23 H.J. Lu <hjl@gnu.org>
69 * acinclude.m4: Include ../config/accross.m4.
70 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
71 (gcc_AC_EXAMINE_OBJECT): Removed.
72 (gcc_AC_C_COMPILE_ENDIAN): Removed.
73 * aclocal.m4; Rebuild.
75 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
76 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
77 * configure: Likewise.
79 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
81 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
82 "creat" to create extracted files.
84 2002-11-11 Tom Tromey <tromey@redhat.com>
86 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
88 (unix2dostime): Handle years before 1980. Correctly compute month
91 2002-11-10 Jakub Jelinek <jakub@redhat.com>
93 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
96 * configure.in (AC_CHECK_HEADERS): Add limits.h.
97 * configure, config.h.in: Rebuilt.
99 2002-11-07 Tom Tromey <tromey@redhat.com>
101 * dostime.c: Rewrote from scratch.
102 * dostime.h (dostime): Removed.
104 2002-10-20 Tom Tromey <tromey@redhat.com>
106 * jartool.c: Use mode 0666 when opening new file.
108 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
110 * jargrep.c (chk_wrd): Remove unused variable(s).
111 * jartool.c (main, create_central_header, list_jar): Likewise.
113 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
115 * configure, config.h.in: Rebuilt.
116 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
118 2002-09-11 Tom Tromey <tromey@redhat.com>
120 * Makefile.in: Rebuilt.
121 * Makefile.am (TEXINFO_TEX): New macro.
122 (info_TEXINFOS): Likewise.
123 (fastjar_TEXINFOS): Likewise.
124 (man_MANS): Likewise.
125 (EXTRA_DIST): Likewise.
126 (my_makei_flags): Likewise.
127 (fastjar.info): New rule.
128 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
129 (TEXINFO_TEX): Likewise.
130 (AUTOMAKE_OPTIONS): Added `cygnus'.
132 2002-09-11 Matthias Klose <doko@debian.org>
134 * Makefile.am: Revert the previous patch.
135 * Makefile.in: Regenerated.
137 2002-09-10 Matthias Klose <doko@debian.org>
140 * Makefile.am: Support building info docs and manpages.
141 * Makefile.in: Regenerated.
142 * configure.in: Set gcc_version.
143 * configure: Regenerated.
144 * jargrep.c: Update usage and help strings.
146 2002-09-09 Tom Tromey <tromey@redhat.com>
148 * jartool.c (mkdir): Define.
149 * config.h.in: Rebuilt.
150 * aclocal.m4, configure: Rebuilt.
151 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
152 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
155 2002-09-04 Tom Tromey <tromey@redhat.com>
157 From greenrd@hotmail.com:
158 * jartool.c (list_jar): Correctly determine when new `filename'
159 buffer must be allocated. Fixes PR java/7830.
161 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
163 * configure.in: Support cross-compiling.
164 * configure: Regenerate.
165 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
166 (gcc_AC_EXAMINE_OBJECT): New.
167 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
169 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
171 * jartool.c (expand_options): Handle tar-style argument list with a
174 2002-02-23 Anthony Green <green@redhat.com>
176 * jartool.c (main): Fix handling of -C.
178 2002-01-30 Tom Tromey <tromey@redhat.com>
180 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
183 2002-01-11 Tom Tromey <tromey@redhat.com>
185 * Makefile.in: Rebuilt.
186 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
188 2002-01-09 Tom Tromey <tromey@redhat.com>
191 * jargrep.h: Removed RCS keywords.
193 * configure, Makefile.in, config.h.in: Rebuilt.
194 * configure.in: Added AM_MAINTAINER_MODE.
195 Don't look for getopt.h. Use `fastjar' as package name.
196 * Makefile.am (INCLUDES): Look in ../include.
197 (LIBIBERTY): New macro.
199 (jar_DEPENDENCIES): Likewise.
200 (grepjar_LDADD): Likewise.
201 (grepjar_DEPENDENCIES): Likewise.
202 * jargrep.c: Removed RCS keywords. Always include getopt.h.
203 (LONG_OPT): New macro.
204 (OPT_HELP): Likewise.
205 (main): Use getopt_long. Let getopt print invalid argument
206 message. Handle --help. Use version().
207 (version): New function.
208 (optarg, optind): Don't declare.
209 (option_vec): New global.
210 (help): New function.
211 (Usage): Updated to GNU standards.
212 * jartool.c: Removed RCS keywords. Include getopt.h.
213 (LONG_OPT): New macro.
214 (OPT_HELP): Likewise.
215 (options): New global.
216 (help): New function.
217 (usage): Print a single line.
218 (version): New function.
219 (expand_options): New function.
220 (main): Use getopt_long and expand_options. Fail if `-u'
221 specified. Changed handling of -f, -m, -V options.
222 (OPTION_STRING): New macro.
223 (version_string): Removed.
225 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
228 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
229 * Makefile.am: Move grepjar to bin_PROGRAMS.
230 * config.h.in: Regenerated.
231 * Makefile.in: Regenerated.
232 * aclocal.m4: Regenerated.
233 * stamp-h.in: Regenerated.
234 * jargrep.c: Eliminate some signed/unsigned and default
235 uninitialized warnings. Use HAVE_STDLIB_H instead of
237 * jartool.c: Likewise.
238 * compress.c: Likewise.
240 2001-09-17 Tom Tromey <tromey@redhat.com>
243 * aclocal.m4, configure, Makefile.in: Rebuilt.
244 * configure.in: Added AC_EXEEXT.
246 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
248 * jatool.c (extract_jar): Account for null termination when determining
249 whether to expand "filename".
251 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
253 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
256 2001-08-27 Tom Tromey <tromey@redhat.com>
258 * jartool.c (jarfile): Remove length limitation.
259 (main): Use jt_strdup when initializing jarfile.
261 2001-07-04 Tom Tromey <tromey@redhat.com>
263 Modified from patch by Julian Hall <jules@acris.co.uk>:
264 * jartool.c (errno): Conditionally declare.
265 (O_BINARY): Conditionally define.
266 (main): Use open, not creat. Use O_BINARY everywhere.
267 (make_manifest): Use O_BINARY.
268 (add_to_jar): Likewise.
270 2001-06-28 Tom Tromey <tromey@redhat.com>
272 * configure: Rebuilt.
273 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
275 2001-05-15 Per Bothner <per@bothner.com>
277 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
279 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
281 * jartool.c (jt_strdup): New function.
282 (get_next_arg): Use jt_strdup instead of strdup.
284 2001-01-21 Tom Tromey <tromey@redhat.com>
286 * Makefile.in: Rebuilt.
287 * Makefile.am (bin_PROGRAMS): Remove grepjar.
288 (EXTRA_PROGRAMS): New macro.
290 2000-12-28 Robert Lipe <robertl@sco.com>
292 * jartool.c (MAXPATHLEN): Provide if not defined.
294 2000-12-15 Tom Tromey <tromey@redhat.com>
295 Kelley Cook <kelleycook@home.com>
297 * jargrep.c: Include getopt.h if it exists.
299 * configure, config.h: Rebuilt.
300 * configure.in: Check for getopt.h.
302 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
304 * configure.in (fastjar_warn_cflags): Set when using gcc.
306 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
308 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
310 * compress.c: Include stdlib.h and compress.h.
312 (report_str_error): Make static.
313 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
314 (hrd_inflate_str): Likewise.
316 * compress.h (init_compression, end_compression, init_inflation,
317 end_inflation): Prototype void arguments.
319 * dostime.c (rcsid): Delete.
321 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
322 Make functions static. Cast ctype function argument to `unsigned
323 char'. Add parens in if-stmts. Constify.
324 (Usage): Change into a macro.
325 (jargrep): Remove unused parameter.
327 * jartool.c: Constify. Add parens in if-stmts. Align
328 signed/unsigned char pointers in functions calls using casts.
330 (list_jar): Fix printf format specifier.
331 (usage): Chop long string into bits. Reformat.
333 * pushback.c (rcsid): Delete.
335 2000-12-13 Tom Tromey <tromey@redhat.com>
337 * jartool.c (extract_jar): Use strchr, not index.
339 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
341 * install-defs.sh: Removed.
343 2000-12-10 Robert Lipe <robertlipe@usa.net>
345 * jargrep.c (jargrep): Added null statement after case.
347 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
350 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
352 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
354 * Makefile.am: New file.
355 * Makefile.in: Rebuilt.
356 * aclocal.m4: Likewise.
357 * stamp-h.in: Likewise.
358 * config.h.in: Likewise.
359 * configure.in (AM_INIT_AUTOMAKE): Added.
360 (AM_CONFIG_HEADER): Likewise.
361 (AC_CHECK_HEADERS): Check for sys/param.h
362 (AC_CHECK_LIB): Don't check for system's zlib.
363 (AC_CHECK_FUNC): Removed system's zlib function checks.
364 (ZDEPS. ZLIBS, ZINCS): Added.
365 * configure: Rebuilt.
366 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
367 (init_args, get_next_arg): New function.
368 (use_explicit_list_only, read_names_from_stdin): New global
369 (main): Parse new non standard options 'E' and '@', check and
370 report their usage if necessary. Use init_args and get_next_arg.
372 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
373 (usage): Added `-E' and `-@'.
374 * jartool.h (VERSION): Macro removed.
376 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
378 * fastjar imported from sourceforge.net/projects/fastjar with
379 Bryan Burns' permission. Check `CHANGES' for post import changes.
380 * ChangeLog: Created.
382 * mkinstalldirs: Likewise.