1 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
3 * fastjar.texi: Include Cover Texts in man page.
5 2002-12-04 Jakub Jelinek <jakub@redhat.com>
7 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
9 2002-11-23 H.J. Lu <hjl@gnu.org>
11 * acinclude.m4: Include ../config/accross.m4.
12 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
13 (gcc_AC_EXAMINE_OBJECT): Removed.
14 (gcc_AC_C_COMPILE_ENDIAN): Removed.
15 * aclocal.m4; Rebuild.
17 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
18 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
19 * configure: Likewise.
21 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
23 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
24 "creat" to create extracted files.
26 2002-11-11 Tom Tromey <tromey@redhat.com>
28 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
30 (unix2dostime): Handle years before 1980. Correctly compute month
33 2002-11-10 Jakub Jelinek <jakub@redhat.com>
35 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
38 * configure.in (AC_CHECK_HEADERS): Add limits.h.
39 * configure, config.h.in: Rebuilt.
41 2002-11-07 Tom Tromey <tromey@redhat.com>
43 * dostime.c: Rewrote from scratch.
44 * dostime.h (dostime): Removed.
46 2002-10-20 Tom Tromey <tromey@redhat.com>
48 * jartool.c: Use mode 0666 when opening new file.
50 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
52 * jargrep.c (chk_wrd): Remove unused variable(s).
53 * jartool.c (main, create_central_header, list_jar): Likewise.
55 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
57 * configure, config.h.in: Rebuilt.
58 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
60 2002-09-11 Tom Tromey <tromey@redhat.com>
62 * Makefile.in: Rebuilt.
63 * Makefile.am (TEXINFO_TEX): New macro.
64 (info_TEXINFOS): Likewise.
65 (fastjar_TEXINFOS): Likewise.
67 (EXTRA_DIST): Likewise.
68 (my_makei_flags): Likewise.
69 (fastjar.info): New rule.
70 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
71 (TEXINFO_TEX): Likewise.
72 (AUTOMAKE_OPTIONS): Added `cygnus'.
74 2002-09-11 Matthias Klose <doko@debian.org>
76 * Makefile.am: Revert the previous patch.
77 * Makefile.in: Regenerated.
79 2002-09-10 Matthias Klose <doko@debian.org>
82 * Makefile.am: Support building info docs and manpages.
83 * Makefile.in: Regenerated.
84 * configure.in: Set gcc_version.
85 * configure: Regenerated.
86 * jargrep.c: Update usage and help strings.
88 2002-09-09 Tom Tromey <tromey@redhat.com>
90 * jartool.c (mkdir): Define.
91 * config.h.in: Rebuilt.
92 * aclocal.m4, configure: Rebuilt.
93 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
94 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
97 2002-09-04 Tom Tromey <tromey@redhat.com>
99 From greenrd@hotmail.com:
100 * jartool.c (list_jar): Correctly determine when new `filename'
101 buffer must be allocated. Fixes PR java/7830.
103 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
105 * configure.in: Support cross-compiling.
106 * configure: Regenerate.
107 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
108 (gcc_AC_EXAMINE_OBJECT): New.
109 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
111 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
113 * jartool.c (expand_options): Handle tar-style argument list with a
116 2002-02-23 Anthony Green <green@redhat.com>
118 * jartool.c (main): Fix handling of -C.
120 2002-01-30 Tom Tromey <tromey@redhat.com>
122 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
125 2002-01-11 Tom Tromey <tromey@redhat.com>
127 * Makefile.in: Rebuilt.
128 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
130 2002-01-09 Tom Tromey <tromey@redhat.com>
133 * jargrep.h: Removed RCS keywords.
135 * configure, Makefile.in, config.h.in: Rebuilt.
136 * configure.in: Added AM_MAINTAINER_MODE.
137 Don't look for getopt.h. Use `fastjar' as package name.
138 * Makefile.am (INCLUDES): Look in ../include.
139 (LIBIBERTY): New macro.
141 (jar_DEPENDENCIES): Likewise.
142 (grepjar_LDADD): Likewise.
143 (grepjar_DEPENDENCIES): Likewise.
144 * jargrep.c: Removed RCS keywords. Always include getopt.h.
145 (LONG_OPT): New macro.
146 (OPT_HELP): Likewise.
147 (main): Use getopt_long. Let getopt print invalid argument
148 message. Handle --help. Use version().
149 (version): New function.
150 (optarg, optind): Don't declare.
151 (option_vec): New global.
152 (help): New function.
153 (Usage): Updated to GNU standards.
154 * jartool.c: Removed RCS keywords. Include getopt.h.
155 (LONG_OPT): New macro.
156 (OPT_HELP): Likewise.
157 (options): New global.
158 (help): New function.
159 (usage): Print a single line.
160 (version): New function.
161 (expand_options): New function.
162 (main): Use getopt_long and expand_options. Fail if `-u'
163 specified. Changed handling of -f, -m, -V options.
164 (OPTION_STRING): New macro.
165 (version_string): Removed.
167 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
170 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
171 * Makefile.am: Move grepjar to bin_PROGRAMS.
172 * config.h.in: Regenerated.
173 * Makefile.in: Regenerated.
174 * aclocal.m4: Regenerated.
175 * stamp-h.in: Regenerated.
176 * jargrep.c: Eliminate some signed/unsigned and default
177 uninitialized warnings. Use HAVE_STDLIB_H instead of
179 * jartool.c: Likewise.
180 * compress.c: Likewise.
182 2001-09-17 Tom Tromey <tromey@redhat.com>
185 * aclocal.m4, configure, Makefile.in: Rebuilt.
186 * configure.in: Added AC_EXEEXT.
188 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
190 * jatool.c (extract_jar): Account for null termination when determining
191 whether to expand "filename".
193 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
195 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
198 2001-08-27 Tom Tromey <tromey@redhat.com>
200 * jartool.c (jarfile): Remove length limitation.
201 (main): Use jt_strdup when initializing jarfile.
203 2001-07-04 Tom Tromey <tromey@redhat.com>
205 Modified from patch by Julian Hall <jules@acris.co.uk>:
206 * jartool.c (errno): Conditionally declare.
207 (O_BINARY): Conditionally define.
208 (main): Use open, not creat. Use O_BINARY everywhere.
209 (make_manifest): Use O_BINARY.
210 (add_to_jar): Likewise.
212 2001-06-28 Tom Tromey <tromey@redhat.com>
214 * configure: Rebuilt.
215 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
217 2001-05-15 Per Bothner <per@bothner.com>
219 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
221 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
223 * jartool.c (jt_strdup): New function.
224 (get_next_arg): Use jt_strdup instead of strdup.
226 2001-01-21 Tom Tromey <tromey@redhat.com>
228 * Makefile.in: Rebuilt.
229 * Makefile.am (bin_PROGRAMS): Remove grepjar.
230 (EXTRA_PROGRAMS): New macro.
232 2000-12-28 Robert Lipe <robertl@sco.com>
234 * jartool.c (MAXPATHLEN): Provide if not defined.
236 2000-12-15 Tom Tromey <tromey@redhat.com>
237 Kelley Cook <kelleycook@home.com>
239 * jargrep.c: Include getopt.h if it exists.
241 * configure, config.h: Rebuilt.
242 * configure.in: Check for getopt.h.
244 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
246 * configure.in (fastjar_warn_cflags): Set when using gcc.
248 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
250 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
252 * compress.c: Include stdlib.h and compress.h.
254 (report_str_error): Make static.
255 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
256 (hrd_inflate_str): Likewise.
258 * compress.h (init_compression, end_compression, init_inflation,
259 end_inflation): Prototype void arguments.
261 * dostime.c (rcsid): Delete.
263 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
264 Make functions static. Cast ctype function argument to `unsigned
265 char'. Add parens in if-stmts. Constify.
266 (Usage): Change into a macro.
267 (jargrep): Remove unused parameter.
269 * jartool.c: Constify. Add parens in if-stmts. Align
270 signed/unsigned char pointers in functions calls using casts.
272 (list_jar): Fix printf format specifier.
273 (usage): Chop long string into bits. Reformat.
275 * pushback.c (rcsid): Delete.
277 2000-12-13 Tom Tromey <tromey@redhat.com>
279 * jartool.c (extract_jar): Use strchr, not index.
281 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
283 * install-defs.sh: Removed.
285 2000-12-10 Robert Lipe <robertlipe@usa.net>
287 * jargrep.c (jargrep): Added null statement after case.
289 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
292 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
294 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
296 * Makefile.am: New file.
297 * Makefile.in: Rebuilt.
298 * aclocal.m4: Likewise.
299 * stamp-h.in: Likewise.
300 * config.h.in: Likewise.
301 * configure.in (AM_INIT_AUTOMAKE): Added.
302 (AM_CONFIG_HEADER): Likewise.
303 (AC_CHECK_HEADERS): Check for sys/param.h
304 (AC_CHECK_LIB): Don't check for system's zlib.
305 (AC_CHECK_FUNC): Removed system's zlib function checks.
306 (ZDEPS. ZLIBS, ZINCS): Added.
307 * configure: Rebuilt.
308 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
309 (init_args, get_next_arg): New function.
310 (use_explicit_list_only, read_names_from_stdin): New global
311 (main): Parse new non standard options 'E' and '@', check and
312 report their usage if necessary. Use init_args and get_next_arg.
314 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
315 (usage): Added `-E' and `-@'.
316 * jartool.h (VERSION): Macro removed.
318 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
320 * fastjar imported from sourceforge.net/projects/fastjar with
321 Bryan Burns' permission. Check `CHANGES' for post import changes.
322 * ChangeLog: Created.
324 * mkinstalldirs: Likewise.