1 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
3 * Makefile.am (my_make_i_flags): Add $(srcdir) and update comment
5 (fastjar.info): Update target to write to build directory.
6 (%.1): New implicit rule from a .pod file.
9 (jar.pod): New intermediate rule.
10 (grepjar.pod): Likewise.
11 * Makefile.in: Regenerate.
13 2003-08-13 Matthias Klose <doko@debian.org>
15 * fastjar.texi: License manual under the GPL.
16 * Makefile.am: Remove reference to fdl.texi
17 * Makefile.in: Regenerate
19 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
21 * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
23 2003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
25 * README: Note that FastJar is not part of GCC.
27 2003-07-02 Nathanael Nerode <neroden@gcc.gnu.org>
30 * jartool.c (add_to_jar): Return 1 on failure to open file.
32 * jartool.c (add_to_jar_with_dir): New function.
34 2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org>
37 * jartool.c (main) Give proper error messages with -C, and
38 check for missing arguments properly. Send error messages
40 * jartool.c (add_to_jar): Make getcwd() call portable,
41 and check for error return.
43 2003-03-30 Joseph S. Myers <jsm@polyomino.org.uk>
45 * fastjar.texi: Remove @ at start of file.
47 2003-03-10 Mohan Embar <gnustuff@thisiscool.com>
49 * dostime.c: add #include <stddef.h> for definition of NULL
51 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
53 * fastjar.texi: Update to GFDL 1.2.
55 2003-01-31 Daiki Ueno <ueno@unixuser.org>
57 * jartool.c (extract_jar): Don't lseek to skip extra fields.
58 (consume): If the stream is seekable, do lseek.
60 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
62 * jargrep.c: Include xregex.h from libiberty instead of
63 system regex.h for better portability.
65 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
67 * jartool.c (list_jar): Terminate the 'ascii_date' buffer
68 with a '\0' to guard against the case where the formatted
69 time string is more than the size allowed by the buffer.
71 2003-01-14 Tom Tromey <tromey@redhat.com>
73 * config.h.in: Rebuilt.
75 2002-12-30 DJ Delorie <dj@redhat.com>
77 * Makefile.am (jar.1, grepjar.1): Protect against
78 texi2pod/pod2man failing.
79 * Makefile.in: Regenerated.
81 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
83 * fastjar.texi: Include Cover Texts in man page.
85 2002-12-04 Jakub Jelinek <jakub@redhat.com>
87 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
89 2002-11-23 H.J. Lu <hjl@gnu.org>
91 * acinclude.m4: Include ../config/accross.m4.
92 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
93 (gcc_AC_EXAMINE_OBJECT): Removed.
94 (gcc_AC_C_COMPILE_ENDIAN): Removed.
95 * aclocal.m4; Rebuild.
97 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
98 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
99 * configure: Likewise.
101 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
103 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
104 "creat" to create extracted files.
106 2002-11-11 Tom Tromey <tromey@redhat.com>
108 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
110 (unix2dostime): Handle years before 1980. Correctly compute month
113 2002-11-10 Jakub Jelinek <jakub@redhat.com>
115 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
118 * configure.in (AC_CHECK_HEADERS): Add limits.h.
119 * configure, config.h.in: Rebuilt.
121 2002-11-07 Tom Tromey <tromey@redhat.com>
123 * dostime.c: Rewrote from scratch.
124 * dostime.h (dostime): Removed.
126 2002-10-20 Tom Tromey <tromey@redhat.com>
128 * jartool.c: Use mode 0666 when opening new file.
130 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
132 * jargrep.c (chk_wrd): Remove unused variable(s).
133 * jartool.c (main, create_central_header, list_jar): Likewise.
135 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
137 * configure, config.h.in: Rebuilt.
138 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
140 2002-09-11 Tom Tromey <tromey@redhat.com>
142 * Makefile.in: Rebuilt.
143 * Makefile.am (TEXINFO_TEX): New macro.
144 (info_TEXINFOS): Likewise.
145 (fastjar_TEXINFOS): Likewise.
146 (man_MANS): Likewise.
147 (EXTRA_DIST): Likewise.
148 (my_makei_flags): Likewise.
149 (fastjar.info): New rule.
150 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
151 (TEXINFO_TEX): Likewise.
152 (AUTOMAKE_OPTIONS): Added `cygnus'.
154 2002-09-11 Matthias Klose <doko@debian.org>
156 * Makefile.am: Revert the previous patch.
157 * Makefile.in: Regenerated.
159 2002-09-10 Matthias Klose <doko@debian.org>
162 * Makefile.am: Support building info docs and manpages.
163 * Makefile.in: Regenerated.
164 * configure.in: Set gcc_version.
165 * configure: Regenerated.
166 * jargrep.c: Update usage and help strings.
168 2002-09-09 Tom Tromey <tromey@redhat.com>
170 * jartool.c (mkdir): Define.
171 * config.h.in: Rebuilt.
172 * aclocal.m4, configure: Rebuilt.
173 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
174 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
177 2002-09-04 Tom Tromey <tromey@redhat.com>
179 From greenrd@hotmail.com:
180 * jartool.c (list_jar): Correctly determine when new `filename'
181 buffer must be allocated. Fixes PR java/7830.
183 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
185 * configure.in: Support cross-compiling.
186 * configure: Regenerate.
187 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
188 (gcc_AC_EXAMINE_OBJECT): New.
189 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
191 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
193 * jartool.c (expand_options): Handle tar-style argument list with a
196 2002-02-23 Anthony Green <green@redhat.com>
198 * jartool.c (main): Fix handling of -C.
200 2002-01-30 Tom Tromey <tromey@redhat.com>
202 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
205 2002-01-11 Tom Tromey <tromey@redhat.com>
207 * Makefile.in: Rebuilt.
208 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
210 2002-01-09 Tom Tromey <tromey@redhat.com>
213 * jargrep.h: Removed RCS keywords.
215 * configure, Makefile.in, config.h.in: Rebuilt.
216 * configure.in: Added AM_MAINTAINER_MODE.
217 Don't look for getopt.h. Use `fastjar' as package name.
218 * Makefile.am (INCLUDES): Look in ../include.
219 (LIBIBERTY): New macro.
221 (jar_DEPENDENCIES): Likewise.
222 (grepjar_LDADD): Likewise.
223 (grepjar_DEPENDENCIES): Likewise.
224 * jargrep.c: Removed RCS keywords. Always include getopt.h.
225 (LONG_OPT): New macro.
226 (OPT_HELP): Likewise.
227 (main): Use getopt_long. Let getopt print invalid argument
228 message. Handle --help. Use version().
229 (version): New function.
230 (optarg, optind): Don't declare.
231 (option_vec): New global.
232 (help): New function.
233 (Usage): Updated to GNU standards.
234 * jartool.c: Removed RCS keywords. Include getopt.h.
235 (LONG_OPT): New macro.
236 (OPT_HELP): Likewise.
237 (options): New global.
238 (help): New function.
239 (usage): Print a single line.
240 (version): New function.
241 (expand_options): New function.
242 (main): Use getopt_long and expand_options. Fail if `-u'
243 specified. Changed handling of -f, -m, -V options.
244 (OPTION_STRING): New macro.
245 (version_string): Removed.
247 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
250 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
251 * Makefile.am: Move grepjar to bin_PROGRAMS.
252 * config.h.in: Regenerated.
253 * Makefile.in: Regenerated.
254 * aclocal.m4: Regenerated.
255 * stamp-h.in: Regenerated.
256 * jargrep.c: Eliminate some signed/unsigned and default
257 uninitialized warnings. Use HAVE_STDLIB_H instead of
259 * jartool.c: Likewise.
260 * compress.c: Likewise.
262 2001-09-17 Tom Tromey <tromey@redhat.com>
265 * aclocal.m4, configure, Makefile.in: Rebuilt.
266 * configure.in: Added AC_EXEEXT.
268 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
270 * jatool.c (extract_jar): Account for null termination when determining
271 whether to expand "filename".
273 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
275 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
278 2001-08-27 Tom Tromey <tromey@redhat.com>
280 * jartool.c (jarfile): Remove length limitation.
281 (main): Use jt_strdup when initializing jarfile.
283 2001-07-04 Tom Tromey <tromey@redhat.com>
285 Modified from patch by Julian Hall <jules@acris.co.uk>:
286 * jartool.c (errno): Conditionally declare.
287 (O_BINARY): Conditionally define.
288 (main): Use open, not creat. Use O_BINARY everywhere.
289 (make_manifest): Use O_BINARY.
290 (add_to_jar): Likewise.
292 2001-06-28 Tom Tromey <tromey@redhat.com>
294 * configure: Rebuilt.
295 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
297 2001-05-15 Per Bothner <per@bothner.com>
299 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
301 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
303 * jartool.c (jt_strdup): New function.
304 (get_next_arg): Use jt_strdup instead of strdup.
306 2001-01-21 Tom Tromey <tromey@redhat.com>
308 * Makefile.in: Rebuilt.
309 * Makefile.am (bin_PROGRAMS): Remove grepjar.
310 (EXTRA_PROGRAMS): New macro.
312 2000-12-28 Robert Lipe <robertl@sco.com>
314 * jartool.c (MAXPATHLEN): Provide if not defined.
316 2000-12-15 Tom Tromey <tromey@redhat.com>
317 Kelley Cook <kelleycook@home.com>
319 * jargrep.c: Include getopt.h if it exists.
321 * configure, config.h: Rebuilt.
322 * configure.in: Check for getopt.h.
324 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
326 * configure.in (fastjar_warn_cflags): Set when using gcc.
328 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
330 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
332 * compress.c: Include stdlib.h and compress.h.
334 (report_str_error): Make static.
335 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
336 (hrd_inflate_str): Likewise.
338 * compress.h (init_compression, end_compression, init_inflation,
339 end_inflation): Prototype void arguments.
341 * dostime.c (rcsid): Delete.
343 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
344 Make functions static. Cast ctype function argument to `unsigned
345 char'. Add parens in if-stmts. Constify.
346 (Usage): Change into a macro.
347 (jargrep): Remove unused parameter.
349 * jartool.c: Constify. Add parens in if-stmts. Align
350 signed/unsigned char pointers in functions calls using casts.
352 (list_jar): Fix printf format specifier.
353 (usage): Chop long string into bits. Reformat.
355 * pushback.c (rcsid): Delete.
357 2000-12-13 Tom Tromey <tromey@redhat.com>
359 * jartool.c (extract_jar): Use strchr, not index.
361 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
363 * install-defs.sh: Removed.
365 2000-12-10 Robert Lipe <robertlipe@usa.net>
367 * jargrep.c (jargrep): Added null statement after case.
369 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
372 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
374 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
376 * Makefile.am: New file.
377 * Makefile.in: Rebuilt.
378 * aclocal.m4: Likewise.
379 * stamp-h.in: Likewise.
380 * config.h.in: Likewise.
381 * configure.in (AM_INIT_AUTOMAKE): Added.
382 (AM_CONFIG_HEADER): Likewise.
383 (AC_CHECK_HEADERS): Check for sys/param.h
384 (AC_CHECK_LIB): Don't check for system's zlib.
385 (AC_CHECK_FUNC): Removed system's zlib function checks.
386 (ZDEPS. ZLIBS, ZINCS): Added.
387 * configure: Rebuilt.
388 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
389 (init_args, get_next_arg): New function.
390 (use_explicit_list_only, read_names_from_stdin): New global
391 (main): Parse new non standard options 'E' and '@', check and
392 report their usage if necessary. Use init_args and get_next_arg.
394 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
395 (usage): Added `-E' and `-@'.
396 * jartool.h (VERSION): Macro removed.
398 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
400 * fastjar imported from sourceforge.net/projects/fastjar with
401 Bryan Burns' permission. Check `CHANGES' for post import changes.
402 * ChangeLog: Created.
404 * mkinstalldirs: Likewise.