1 2003-08-13 Matthias Klose <doko@debian.org>
3 * fastjar.texi: License manual under the GPL.
4 * Makefile.am: Remove reference to fdl.texi
5 * Makefile.in: Regenerate
7 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
9 * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
11 2003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13 * README: Note that FastJar is not part of GCC.
15 2003-07-02 Nathanael Nerode <neroden@gcc.gnu.org>
18 * jartool.c (add_to_jar): Return 1 on failure to open file.
20 * jartool.c (add_to_jar_with_dir): New function.
22 2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org>
25 * jartool.c (main) Give proper error messages with -C, and
26 check for missing arguments properly. Send error messages
28 * jartool.c (add_to_jar): Make getcwd() call portable,
29 and check for error return.
31 2003-03-30 Joseph S. Myers <jsm@polyomino.org.uk>
33 * fastjar.texi: Remove @ at start of file.
35 2003-03-10 Mohan Embar <gnustuff@thisiscool.com>
37 * dostime.c: add #include <stddef.h> for definition of NULL
39 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
41 * fastjar.texi: Update to GFDL 1.2.
43 2003-01-31 Daiki Ueno <ueno@unixuser.org>
45 * jartool.c (extract_jar): Don't lseek to skip extra fields.
46 (consume): If the stream is seekable, do lseek.
48 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
50 * jargrep.c: Include xregex.h from libiberty instead of
51 system regex.h for better portability.
53 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
55 * jartool.c (list_jar): Terminate the 'ascii_date' buffer
56 with a '\0' to guard against the case where the formatted
57 time string is more than the size allowed by the buffer.
59 2003-01-14 Tom Tromey <tromey@redhat.com>
61 * config.h.in: Rebuilt.
63 2002-12-30 DJ Delorie <dj@redhat.com>
65 * Makefile.am (jar.1, grepjar.1): Protect against
66 texi2pod/pod2man failing.
67 * Makefile.in: Regenerated.
69 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
71 * fastjar.texi: Include Cover Texts in man page.
73 2002-12-04 Jakub Jelinek <jakub@redhat.com>
75 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
77 2002-11-23 H.J. Lu <hjl@gnu.org>
79 * acinclude.m4: Include ../config/accross.m4.
80 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
81 (gcc_AC_EXAMINE_OBJECT): Removed.
82 (gcc_AC_C_COMPILE_ENDIAN): Removed.
83 * aclocal.m4; Rebuild.
85 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
86 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
87 * configure: Likewise.
89 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
91 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
92 "creat" to create extracted files.
94 2002-11-11 Tom Tromey <tromey@redhat.com>
96 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
98 (unix2dostime): Handle years before 1980. Correctly compute month
101 2002-11-10 Jakub Jelinek <jakub@redhat.com>
103 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
106 * configure.in (AC_CHECK_HEADERS): Add limits.h.
107 * configure, config.h.in: Rebuilt.
109 2002-11-07 Tom Tromey <tromey@redhat.com>
111 * dostime.c: Rewrote from scratch.
112 * dostime.h (dostime): Removed.
114 2002-10-20 Tom Tromey <tromey@redhat.com>
116 * jartool.c: Use mode 0666 when opening new file.
118 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
120 * jargrep.c (chk_wrd): Remove unused variable(s).
121 * jartool.c (main, create_central_header, list_jar): Likewise.
123 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
125 * configure, config.h.in: Rebuilt.
126 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
128 2002-09-11 Tom Tromey <tromey@redhat.com>
130 * Makefile.in: Rebuilt.
131 * Makefile.am (TEXINFO_TEX): New macro.
132 (info_TEXINFOS): Likewise.
133 (fastjar_TEXINFOS): Likewise.
134 (man_MANS): Likewise.
135 (EXTRA_DIST): Likewise.
136 (my_makei_flags): Likewise.
137 (fastjar.info): New rule.
138 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
139 (TEXINFO_TEX): Likewise.
140 (AUTOMAKE_OPTIONS): Added `cygnus'.
142 2002-09-11 Matthias Klose <doko@debian.org>
144 * Makefile.am: Revert the previous patch.
145 * Makefile.in: Regenerated.
147 2002-09-10 Matthias Klose <doko@debian.org>
150 * Makefile.am: Support building info docs and manpages.
151 * Makefile.in: Regenerated.
152 * configure.in: Set gcc_version.
153 * configure: Regenerated.
154 * jargrep.c: Update usage and help strings.
156 2002-09-09 Tom Tromey <tromey@redhat.com>
158 * jartool.c (mkdir): Define.
159 * config.h.in: Rebuilt.
160 * aclocal.m4, configure: Rebuilt.
161 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
162 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
165 2002-09-04 Tom Tromey <tromey@redhat.com>
167 From greenrd@hotmail.com:
168 * jartool.c (list_jar): Correctly determine when new `filename'
169 buffer must be allocated. Fixes PR java/7830.
171 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
173 * configure.in: Support cross-compiling.
174 * configure: Regenerate.
175 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
176 (gcc_AC_EXAMINE_OBJECT): New.
177 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
179 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
181 * jartool.c (expand_options): Handle tar-style argument list with a
184 2002-02-23 Anthony Green <green@redhat.com>
186 * jartool.c (main): Fix handling of -C.
188 2002-01-30 Tom Tromey <tromey@redhat.com>
190 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
193 2002-01-11 Tom Tromey <tromey@redhat.com>
195 * Makefile.in: Rebuilt.
196 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
198 2002-01-09 Tom Tromey <tromey@redhat.com>
201 * jargrep.h: Removed RCS keywords.
203 * configure, Makefile.in, config.h.in: Rebuilt.
204 * configure.in: Added AM_MAINTAINER_MODE.
205 Don't look for getopt.h. Use `fastjar' as package name.
206 * Makefile.am (INCLUDES): Look in ../include.
207 (LIBIBERTY): New macro.
209 (jar_DEPENDENCIES): Likewise.
210 (grepjar_LDADD): Likewise.
211 (grepjar_DEPENDENCIES): Likewise.
212 * jargrep.c: Removed RCS keywords. Always include getopt.h.
213 (LONG_OPT): New macro.
214 (OPT_HELP): Likewise.
215 (main): Use getopt_long. Let getopt print invalid argument
216 message. Handle --help. Use version().
217 (version): New function.
218 (optarg, optind): Don't declare.
219 (option_vec): New global.
220 (help): New function.
221 (Usage): Updated to GNU standards.
222 * jartool.c: Removed RCS keywords. Include getopt.h.
223 (LONG_OPT): New macro.
224 (OPT_HELP): Likewise.
225 (options): New global.
226 (help): New function.
227 (usage): Print a single line.
228 (version): New function.
229 (expand_options): New function.
230 (main): Use getopt_long and expand_options. Fail if `-u'
231 specified. Changed handling of -f, -m, -V options.
232 (OPTION_STRING): New macro.
233 (version_string): Removed.
235 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
238 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
239 * Makefile.am: Move grepjar to bin_PROGRAMS.
240 * config.h.in: Regenerated.
241 * Makefile.in: Regenerated.
242 * aclocal.m4: Regenerated.
243 * stamp-h.in: Regenerated.
244 * jargrep.c: Eliminate some signed/unsigned and default
245 uninitialized warnings. Use HAVE_STDLIB_H instead of
247 * jartool.c: Likewise.
248 * compress.c: Likewise.
250 2001-09-17 Tom Tromey <tromey@redhat.com>
253 * aclocal.m4, configure, Makefile.in: Rebuilt.
254 * configure.in: Added AC_EXEEXT.
256 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
258 * jatool.c (extract_jar): Account for null termination when determining
259 whether to expand "filename".
261 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
263 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
266 2001-08-27 Tom Tromey <tromey@redhat.com>
268 * jartool.c (jarfile): Remove length limitation.
269 (main): Use jt_strdup when initializing jarfile.
271 2001-07-04 Tom Tromey <tromey@redhat.com>
273 Modified from patch by Julian Hall <jules@acris.co.uk>:
274 * jartool.c (errno): Conditionally declare.
275 (O_BINARY): Conditionally define.
276 (main): Use open, not creat. Use O_BINARY everywhere.
277 (make_manifest): Use O_BINARY.
278 (add_to_jar): Likewise.
280 2001-06-28 Tom Tromey <tromey@redhat.com>
282 * configure: Rebuilt.
283 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
285 2001-05-15 Per Bothner <per@bothner.com>
287 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
289 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
291 * jartool.c (jt_strdup): New function.
292 (get_next_arg): Use jt_strdup instead of strdup.
294 2001-01-21 Tom Tromey <tromey@redhat.com>
296 * Makefile.in: Rebuilt.
297 * Makefile.am (bin_PROGRAMS): Remove grepjar.
298 (EXTRA_PROGRAMS): New macro.
300 2000-12-28 Robert Lipe <robertl@sco.com>
302 * jartool.c (MAXPATHLEN): Provide if not defined.
304 2000-12-15 Tom Tromey <tromey@redhat.com>
305 Kelley Cook <kelleycook@home.com>
307 * jargrep.c: Include getopt.h if it exists.
309 * configure, config.h: Rebuilt.
310 * configure.in: Check for getopt.h.
312 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
314 * configure.in (fastjar_warn_cflags): Set when using gcc.
316 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
318 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
320 * compress.c: Include stdlib.h and compress.h.
322 (report_str_error): Make static.
323 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
324 (hrd_inflate_str): Likewise.
326 * compress.h (init_compression, end_compression, init_inflation,
327 end_inflation): Prototype void arguments.
329 * dostime.c (rcsid): Delete.
331 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
332 Make functions static. Cast ctype function argument to `unsigned
333 char'. Add parens in if-stmts. Constify.
334 (Usage): Change into a macro.
335 (jargrep): Remove unused parameter.
337 * jartool.c: Constify. Add parens in if-stmts. Align
338 signed/unsigned char pointers in functions calls using casts.
340 (list_jar): Fix printf format specifier.
341 (usage): Chop long string into bits. Reformat.
343 * pushback.c (rcsid): Delete.
345 2000-12-13 Tom Tromey <tromey@redhat.com>
347 * jartool.c (extract_jar): Use strchr, not index.
349 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
351 * install-defs.sh: Removed.
353 2000-12-10 Robert Lipe <robertlipe@usa.net>
355 * jargrep.c (jargrep): Added null statement after case.
357 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
360 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
362 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
364 * Makefile.am: New file.
365 * Makefile.in: Rebuilt.
366 * aclocal.m4: Likewise.
367 * stamp-h.in: Likewise.
368 * config.h.in: Likewise.
369 * configure.in (AM_INIT_AUTOMAKE): Added.
370 (AM_CONFIG_HEADER): Likewise.
371 (AC_CHECK_HEADERS): Check for sys/param.h
372 (AC_CHECK_LIB): Don't check for system's zlib.
373 (AC_CHECK_FUNC): Removed system's zlib function checks.
374 (ZDEPS. ZLIBS, ZINCS): Added.
375 * configure: Rebuilt.
376 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
377 (init_args, get_next_arg): New function.
378 (use_explicit_list_only, read_names_from_stdin): New global
379 (main): Parse new non standard options 'E' and '@', check and
380 report their usage if necessary. Use init_args and get_next_arg.
382 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
383 (usage): Added `-E' and `-@'.
384 * jartool.h (VERSION): Macro removed.
386 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
388 * fastjar imported from sourceforge.net/projects/fastjar with
389 Bryan Burns' permission. Check `CHANGES' for post import changes.
390 * ChangeLog: Created.
392 * mkinstalldirs: Likewise.