1 2003-01-14 Tom Tromey <tromey@redhat.com>
3 * config.h.in: Rebuilt.
5 2002-12-30 DJ Delorie <dj@redhat.com>
7 * Makefile.am (jar.1, grepjar.1): Protect against
8 texi2pod/pod2man failing.
9 * Makefile.in: Regenerated.
11 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
13 * fastjar.texi: Include Cover Texts in man page.
15 2002-12-04 Jakub Jelinek <jakub@redhat.com>
17 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
19 2002-11-23 H.J. Lu <hjl@gnu.org>
21 * acinclude.m4: Include ../config/accross.m4.
22 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
23 (gcc_AC_EXAMINE_OBJECT): Removed.
24 (gcc_AC_C_COMPILE_ENDIAN): Removed.
25 * aclocal.m4; Rebuild.
27 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
28 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
29 * configure: Likewise.
31 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
33 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
34 "creat" to create extracted files.
36 2002-11-11 Tom Tromey <tromey@redhat.com>
38 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
40 (unix2dostime): Handle years before 1980. Correctly compute month
43 2002-11-10 Jakub Jelinek <jakub@redhat.com>
45 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
48 * configure.in (AC_CHECK_HEADERS): Add limits.h.
49 * configure, config.h.in: Rebuilt.
51 2002-11-07 Tom Tromey <tromey@redhat.com>
53 * dostime.c: Rewrote from scratch.
54 * dostime.h (dostime): Removed.
56 2002-10-20 Tom Tromey <tromey@redhat.com>
58 * jartool.c: Use mode 0666 when opening new file.
60 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
62 * jargrep.c (chk_wrd): Remove unused variable(s).
63 * jartool.c (main, create_central_header, list_jar): Likewise.
65 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
67 * configure, config.h.in: Rebuilt.
68 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
70 2002-09-11 Tom Tromey <tromey@redhat.com>
72 * Makefile.in: Rebuilt.
73 * Makefile.am (TEXINFO_TEX): New macro.
74 (info_TEXINFOS): Likewise.
75 (fastjar_TEXINFOS): Likewise.
77 (EXTRA_DIST): Likewise.
78 (my_makei_flags): Likewise.
79 (fastjar.info): New rule.
80 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
81 (TEXINFO_TEX): Likewise.
82 (AUTOMAKE_OPTIONS): Added `cygnus'.
84 2002-09-11 Matthias Klose <doko@debian.org>
86 * Makefile.am: Revert the previous patch.
87 * Makefile.in: Regenerated.
89 2002-09-10 Matthias Klose <doko@debian.org>
92 * Makefile.am: Support building info docs and manpages.
93 * Makefile.in: Regenerated.
94 * configure.in: Set gcc_version.
95 * configure: Regenerated.
96 * jargrep.c: Update usage and help strings.
98 2002-09-09 Tom Tromey <tromey@redhat.com>
100 * jartool.c (mkdir): Define.
101 * config.h.in: Rebuilt.
102 * aclocal.m4, configure: Rebuilt.
103 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
104 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
107 2002-09-04 Tom Tromey <tromey@redhat.com>
109 From greenrd@hotmail.com:
110 * jartool.c (list_jar): Correctly determine when new `filename'
111 buffer must be allocated. Fixes PR java/7830.
113 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
115 * configure.in: Support cross-compiling.
116 * configure: Regenerate.
117 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
118 (gcc_AC_EXAMINE_OBJECT): New.
119 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
121 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
123 * jartool.c (expand_options): Handle tar-style argument list with a
126 2002-02-23 Anthony Green <green@redhat.com>
128 * jartool.c (main): Fix handling of -C.
130 2002-01-30 Tom Tromey <tromey@redhat.com>
132 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
135 2002-01-11 Tom Tromey <tromey@redhat.com>
137 * Makefile.in: Rebuilt.
138 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
140 2002-01-09 Tom Tromey <tromey@redhat.com>
143 * jargrep.h: Removed RCS keywords.
145 * configure, Makefile.in, config.h.in: Rebuilt.
146 * configure.in: Added AM_MAINTAINER_MODE.
147 Don't look for getopt.h. Use `fastjar' as package name.
148 * Makefile.am (INCLUDES): Look in ../include.
149 (LIBIBERTY): New macro.
151 (jar_DEPENDENCIES): Likewise.
152 (grepjar_LDADD): Likewise.
153 (grepjar_DEPENDENCIES): Likewise.
154 * jargrep.c: Removed RCS keywords. Always include getopt.h.
155 (LONG_OPT): New macro.
156 (OPT_HELP): Likewise.
157 (main): Use getopt_long. Let getopt print invalid argument
158 message. Handle --help. Use version().
159 (version): New function.
160 (optarg, optind): Don't declare.
161 (option_vec): New global.
162 (help): New function.
163 (Usage): Updated to GNU standards.
164 * jartool.c: Removed RCS keywords. Include getopt.h.
165 (LONG_OPT): New macro.
166 (OPT_HELP): Likewise.
167 (options): New global.
168 (help): New function.
169 (usage): Print a single line.
170 (version): New function.
171 (expand_options): New function.
172 (main): Use getopt_long and expand_options. Fail if `-u'
173 specified. Changed handling of -f, -m, -V options.
174 (OPTION_STRING): New macro.
175 (version_string): Removed.
177 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
180 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
181 * Makefile.am: Move grepjar to bin_PROGRAMS.
182 * config.h.in: Regenerated.
183 * Makefile.in: Regenerated.
184 * aclocal.m4: Regenerated.
185 * stamp-h.in: Regenerated.
186 * jargrep.c: Eliminate some signed/unsigned and default
187 uninitialized warnings. Use HAVE_STDLIB_H instead of
189 * jartool.c: Likewise.
190 * compress.c: Likewise.
192 2001-09-17 Tom Tromey <tromey@redhat.com>
195 * aclocal.m4, configure, Makefile.in: Rebuilt.
196 * configure.in: Added AC_EXEEXT.
198 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
200 * jatool.c (extract_jar): Account for null termination when determining
201 whether to expand "filename".
203 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
205 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
208 2001-08-27 Tom Tromey <tromey@redhat.com>
210 * jartool.c (jarfile): Remove length limitation.
211 (main): Use jt_strdup when initializing jarfile.
213 2001-07-04 Tom Tromey <tromey@redhat.com>
215 Modified from patch by Julian Hall <jules@acris.co.uk>:
216 * jartool.c (errno): Conditionally declare.
217 (O_BINARY): Conditionally define.
218 (main): Use open, not creat. Use O_BINARY everywhere.
219 (make_manifest): Use O_BINARY.
220 (add_to_jar): Likewise.
222 2001-06-28 Tom Tromey <tromey@redhat.com>
224 * configure: Rebuilt.
225 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
227 2001-05-15 Per Bothner <per@bothner.com>
229 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
231 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
233 * jartool.c (jt_strdup): New function.
234 (get_next_arg): Use jt_strdup instead of strdup.
236 2001-01-21 Tom Tromey <tromey@redhat.com>
238 * Makefile.in: Rebuilt.
239 * Makefile.am (bin_PROGRAMS): Remove grepjar.
240 (EXTRA_PROGRAMS): New macro.
242 2000-12-28 Robert Lipe <robertl@sco.com>
244 * jartool.c (MAXPATHLEN): Provide if not defined.
246 2000-12-15 Tom Tromey <tromey@redhat.com>
247 Kelley Cook <kelleycook@home.com>
249 * jargrep.c: Include getopt.h if it exists.
251 * configure, config.h: Rebuilt.
252 * configure.in: Check for getopt.h.
254 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
256 * configure.in (fastjar_warn_cflags): Set when using gcc.
258 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
260 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
262 * compress.c: Include stdlib.h and compress.h.
264 (report_str_error): Make static.
265 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
266 (hrd_inflate_str): Likewise.
268 * compress.h (init_compression, end_compression, init_inflation,
269 end_inflation): Prototype void arguments.
271 * dostime.c (rcsid): Delete.
273 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
274 Make functions static. Cast ctype function argument to `unsigned
275 char'. Add parens in if-stmts. Constify.
276 (Usage): Change into a macro.
277 (jargrep): Remove unused parameter.
279 * jartool.c: Constify. Add parens in if-stmts. Align
280 signed/unsigned char pointers in functions calls using casts.
282 (list_jar): Fix printf format specifier.
283 (usage): Chop long string into bits. Reformat.
285 * pushback.c (rcsid): Delete.
287 2000-12-13 Tom Tromey <tromey@redhat.com>
289 * jartool.c (extract_jar): Use strchr, not index.
291 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
293 * install-defs.sh: Removed.
295 2000-12-10 Robert Lipe <robertlipe@usa.net>
297 * jargrep.c (jargrep): Added null statement after case.
299 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
302 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
304 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
306 * Makefile.am: New file.
307 * Makefile.in: Rebuilt.
308 * aclocal.m4: Likewise.
309 * stamp-h.in: Likewise.
310 * config.h.in: Likewise.
311 * configure.in (AM_INIT_AUTOMAKE): Added.
312 (AM_CONFIG_HEADER): Likewise.
313 (AC_CHECK_HEADERS): Check for sys/param.h
314 (AC_CHECK_LIB): Don't check for system's zlib.
315 (AC_CHECK_FUNC): Removed system's zlib function checks.
316 (ZDEPS. ZLIBS, ZINCS): Added.
317 * configure: Rebuilt.
318 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
319 (init_args, get_next_arg): New function.
320 (use_explicit_list_only, read_names_from_stdin): New global
321 (main): Parse new non standard options 'E' and '@', check and
322 report their usage if necessary. Use init_args and get_next_arg.
324 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
325 (usage): Added `-E' and `-@'.
326 * jartool.h (VERSION): Macro removed.
328 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
330 * fastjar imported from sourceforge.net/projects/fastjar with
331 Bryan Burns' permission. Check `CHANGES' for post import changes.
332 * ChangeLog: Created.
334 * mkinstalldirs: Likewise.