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