1 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
3 * configure.ac: Bump AC_PREREQ to 2.59.
4 * configure: Regenerate.
6 2004-03-09 Hans-Peter Nilsson <hp@axis.com>
8 * configure: Regenerate for config/accross.m4 correction.
10 2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
12 * configure.in: Rename file to ...
13 * configure.ac: ... this. Add in AC_PREREQ(2.57)
14 * config.h.in: Regenerate.
15 * aclocal.m4: Regenerate.
16 * Makefile.in: Regenerate.
18 2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
20 * jartool.c (make_manifest): Fix off-by-one bug when creating
23 2003-12-01 Kelley Cook <kcook@gcc.gnu.org>
25 * Makefile.am: Define AM_MAKINFOFLAGS. Remove Automake 1.4 hack.
26 * Makefile.in: Regenerate with automake 1.7.6 & autoconf 2.57 tools.
27 * aclocal.m4, config.h.in, configure: Likewise.
28 * install-sh, missing, mkinstalldirs, stamp-h.in: Remove.
30 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
34 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
36 * Makefile.am (my_make_i_flags): Add $(srcdir) and update comment
38 (fastjar.info): Update target to write to build directory.
39 (%.1): New implicit rule from a .pod file.
42 (jar.pod): New intermediate rule.
43 (grepjar.pod): Likewise.
44 * Makefile.in: Regenerate.
46 2003-08-13 Matthias Klose <doko@debian.org>
48 * fastjar.texi: License manual under the GPL.
49 * Makefile.am: Remove reference to fdl.texi
50 * Makefile.in: Regenerate
52 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
54 * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
56 2003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
58 * README: Note that FastJar is not part of GCC.
60 2003-07-02 Nathanael Nerode <neroden@gcc.gnu.org>
63 * jartool.c (add_to_jar): Return 1 on failure to open file.
65 * jartool.c (add_to_jar_with_dir): New function.
67 2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org>
70 * jartool.c (main) Give proper error messages with -C, and
71 check for missing arguments properly. Send error messages
73 * jartool.c (add_to_jar): Make getcwd() call portable,
74 and check for error return.
76 2003-03-30 Joseph S. Myers <jsm@polyomino.org.uk>
78 * fastjar.texi: Remove @ at start of file.
80 2003-03-10 Mohan Embar <gnustuff@thisiscool.com>
82 * dostime.c: add #include <stddef.h> for definition of NULL
84 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
86 * fastjar.texi: Update to GFDL 1.2.
88 2003-01-31 Daiki Ueno <ueno@unixuser.org>
90 * jartool.c (extract_jar): Don't lseek to skip extra fields.
91 (consume): If the stream is seekable, do lseek.
93 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
95 * jargrep.c: Include xregex.h from libiberty instead of
96 system regex.h for better portability.
98 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
100 * jartool.c (list_jar): Terminate the 'ascii_date' buffer
101 with a '\0' to guard against the case where the formatted
102 time string is more than the size allowed by the buffer.
104 2003-01-14 Tom Tromey <tromey@redhat.com>
106 * config.h.in: Rebuilt.
108 2002-12-30 DJ Delorie <dj@redhat.com>
110 * Makefile.am (jar.1, grepjar.1): Protect against
111 texi2pod/pod2man failing.
112 * Makefile.in: Regenerated.
114 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
116 * fastjar.texi: Include Cover Texts in man page.
118 2002-12-04 Jakub Jelinek <jakub@redhat.com>
120 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
122 2002-11-23 H.J. Lu <hjl@gnu.org>
124 * acinclude.m4: Include ../config/accross.m4.
125 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
126 (gcc_AC_EXAMINE_OBJECT): Removed.
127 (gcc_AC_C_COMPILE_ENDIAN): Removed.
128 * aclocal.m4; Rebuild.
130 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
131 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
132 * configure: Likewise.
134 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
136 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
137 "creat" to create extracted files.
139 2002-11-11 Tom Tromey <tromey@redhat.com>
141 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
143 (unix2dostime): Handle years before 1980. Correctly compute month
146 2002-11-10 Jakub Jelinek <jakub@redhat.com>
148 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
151 * configure.in (AC_CHECK_HEADERS): Add limits.h.
152 * configure, config.h.in: Rebuilt.
154 2002-11-07 Tom Tromey <tromey@redhat.com>
156 * dostime.c: Rewrote from scratch.
157 * dostime.h (dostime): Removed.
159 2002-10-20 Tom Tromey <tromey@redhat.com>
161 * jartool.c: Use mode 0666 when opening new file.
163 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
165 * jargrep.c (chk_wrd): Remove unused variable(s).
166 * jartool.c (main, create_central_header, list_jar): Likewise.
168 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
170 * configure, config.h.in: Rebuilt.
171 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
173 2002-09-11 Tom Tromey <tromey@redhat.com>
175 * Makefile.in: Rebuilt.
176 * Makefile.am (TEXINFO_TEX): New macro.
177 (info_TEXINFOS): Likewise.
178 (fastjar_TEXINFOS): Likewise.
179 (man_MANS): Likewise.
180 (EXTRA_DIST): Likewise.
181 (my_makei_flags): Likewise.
182 (fastjar.info): New rule.
183 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
184 (TEXINFO_TEX): Likewise.
185 (AUTOMAKE_OPTIONS): Added `cygnus'.
187 2002-09-11 Matthias Klose <doko@debian.org>
189 * Makefile.am: Revert the previous patch.
190 * Makefile.in: Regenerated.
192 2002-09-10 Matthias Klose <doko@debian.org>
195 * Makefile.am: Support building info docs and manpages.
196 * Makefile.in: Regenerated.
197 * configure.in: Set gcc_version.
198 * configure: Regenerated.
199 * jargrep.c: Update usage and help strings.
201 2002-09-09 Tom Tromey <tromey@redhat.com>
203 * jartool.c (mkdir): Define.
204 * config.h.in: Rebuilt.
205 * aclocal.m4, configure: Rebuilt.
206 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
207 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
210 2002-09-04 Tom Tromey <tromey@redhat.com>
212 From greenrd@hotmail.com:
213 * jartool.c (list_jar): Correctly determine when new `filename'
214 buffer must be allocated. Fixes PR java/7830.
216 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
218 * configure.in: Support cross-compiling.
219 * configure: Regenerate.
220 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
221 (gcc_AC_EXAMINE_OBJECT): New.
222 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
224 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
226 * jartool.c (expand_options): Handle tar-style argument list with a
229 2002-02-23 Anthony Green <green@redhat.com>
231 * jartool.c (main): Fix handling of -C.
233 2002-01-30 Tom Tromey <tromey@redhat.com>
235 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
238 2002-01-11 Tom Tromey <tromey@redhat.com>
240 * Makefile.in: Rebuilt.
241 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
243 2002-01-09 Tom Tromey <tromey@redhat.com>
246 * jargrep.h: Removed RCS keywords.
248 * configure, Makefile.in, config.h.in: Rebuilt.
249 * configure.in: Added AM_MAINTAINER_MODE.
250 Don't look for getopt.h. Use `fastjar' as package name.
251 * Makefile.am (INCLUDES): Look in ../include.
252 (LIBIBERTY): New macro.
254 (jar_DEPENDENCIES): Likewise.
255 (grepjar_LDADD): Likewise.
256 (grepjar_DEPENDENCIES): Likewise.
257 * jargrep.c: Removed RCS keywords. Always include getopt.h.
258 (LONG_OPT): New macro.
259 (OPT_HELP): Likewise.
260 (main): Use getopt_long. Let getopt print invalid argument
261 message. Handle --help. Use version().
262 (version): New function.
263 (optarg, optind): Don't declare.
264 (option_vec): New global.
265 (help): New function.
266 (Usage): Updated to GNU standards.
267 * jartool.c: Removed RCS keywords. Include getopt.h.
268 (LONG_OPT): New macro.
269 (OPT_HELP): Likewise.
270 (options): New global.
271 (help): New function.
272 (usage): Print a single line.
273 (version): New function.
274 (expand_options): New function.
275 (main): Use getopt_long and expand_options. Fail if `-u'
276 specified. Changed handling of -f, -m, -V options.
277 (OPTION_STRING): New macro.
278 (version_string): Removed.
280 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
283 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
284 * Makefile.am: Move grepjar to bin_PROGRAMS.
285 * config.h.in: Regenerated.
286 * Makefile.in: Regenerated.
287 * aclocal.m4: Regenerated.
288 * stamp-h.in: Regenerated.
289 * jargrep.c: Eliminate some signed/unsigned and default
290 uninitialized warnings. Use HAVE_STDLIB_H instead of
292 * jartool.c: Likewise.
293 * compress.c: Likewise.
295 2001-09-17 Tom Tromey <tromey@redhat.com>
298 * aclocal.m4, configure, Makefile.in: Rebuilt.
299 * configure.in: Added AC_EXEEXT.
301 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
303 * jatool.c (extract_jar): Account for null termination when determining
304 whether to expand "filename".
306 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
308 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
311 2001-08-27 Tom Tromey <tromey@redhat.com>
313 * jartool.c (jarfile): Remove length limitation.
314 (main): Use jt_strdup when initializing jarfile.
316 2001-07-04 Tom Tromey <tromey@redhat.com>
318 Modified from patch by Julian Hall <jules@acris.co.uk>:
319 * jartool.c (errno): Conditionally declare.
320 (O_BINARY): Conditionally define.
321 (main): Use open, not creat. Use O_BINARY everywhere.
322 (make_manifest): Use O_BINARY.
323 (add_to_jar): Likewise.
325 2001-06-28 Tom Tromey <tromey@redhat.com>
327 * configure: Rebuilt.
328 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
330 2001-05-15 Per Bothner <per@bothner.com>
332 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
334 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
336 * jartool.c (jt_strdup): New function.
337 (get_next_arg): Use jt_strdup instead of strdup.
339 2001-01-21 Tom Tromey <tromey@redhat.com>
341 * Makefile.in: Rebuilt.
342 * Makefile.am (bin_PROGRAMS): Remove grepjar.
343 (EXTRA_PROGRAMS): New macro.
345 2000-12-28 Robert Lipe <robertl@sco.com>
347 * jartool.c (MAXPATHLEN): Provide if not defined.
349 2000-12-15 Tom Tromey <tromey@redhat.com>
350 Kelley Cook <kelleycook@home.com>
352 * jargrep.c: Include getopt.h if it exists.
354 * configure, config.h: Rebuilt.
355 * configure.in: Check for getopt.h.
357 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
359 * configure.in (fastjar_warn_cflags): Set when using gcc.
361 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
363 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
365 * compress.c: Include stdlib.h and compress.h.
367 (report_str_error): Make static.
368 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
369 (hrd_inflate_str): Likewise.
371 * compress.h (init_compression, end_compression, init_inflation,
372 end_inflation): Prototype void arguments.
374 * dostime.c (rcsid): Delete.
376 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
377 Make functions static. Cast ctype function argument to `unsigned
378 char'. Add parens in if-stmts. Constify.
379 (Usage): Change into a macro.
380 (jargrep): Remove unused parameter.
382 * jartool.c: Constify. Add parens in if-stmts. Align
383 signed/unsigned char pointers in functions calls using casts.
385 (list_jar): Fix printf format specifier.
386 (usage): Chop long string into bits. Reformat.
388 * pushback.c (rcsid): Delete.
390 2000-12-13 Tom Tromey <tromey@redhat.com>
392 * jartool.c (extract_jar): Use strchr, not index.
394 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
396 * install-defs.sh: Removed.
398 2000-12-10 Robert Lipe <robertlipe@usa.net>
400 * jargrep.c (jargrep): Added null statement after case.
402 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
405 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
407 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
409 * Makefile.am: New file.
410 * Makefile.in: Rebuilt.
411 * aclocal.m4: Likewise.
412 * stamp-h.in: Likewise.
413 * config.h.in: Likewise.
414 * configure.in (AM_INIT_AUTOMAKE): Added.
415 (AM_CONFIG_HEADER): Likewise.
416 (AC_CHECK_HEADERS): Check for sys/param.h
417 (AC_CHECK_LIB): Don't check for system's zlib.
418 (AC_CHECK_FUNC): Removed system's zlib function checks.
419 (ZDEPS. ZLIBS, ZINCS): Added.
420 * configure: Rebuilt.
421 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
422 (init_args, get_next_arg): New function.
423 (use_explicit_list_only, read_names_from_stdin): New global
424 (main): Parse new non standard options 'E' and '@', check and
425 report their usage if necessary. Use init_args and get_next_arg.
427 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
428 (usage): Added `-E' and `-@'.
429 * jartool.h (VERSION): Macro removed.
431 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
433 * fastjar imported from sourceforge.net/projects/fastjar with
434 Bryan Burns' permission. Check `CHANGES' for post import changes.
435 * ChangeLog: Created.
437 * mkinstalldirs: Likewise.