1 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
3 * jargrep.c: Include xregex.h from libiberty instead of
4 system regex.h for better portability.
6 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
8 * jartool.c (list_jar): Terminate the 'ascii_date' buffer
9 with a '\0' to guard against the case where the formatted
10 time string is more than the size allowed by the buffer.
12 2003-01-14 Tom Tromey <tromey@redhat.com>
14 * config.h.in: Rebuilt.
16 2002-12-30 DJ Delorie <dj@redhat.com>
18 * Makefile.am (jar.1, grepjar.1): Protect against
19 texi2pod/pod2man failing.
20 * Makefile.in: Regenerated.
22 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
24 * fastjar.texi: Include Cover Texts in man page.
26 2002-12-04 Jakub Jelinek <jakub@redhat.com>
28 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
30 2002-11-23 H.J. Lu <hjl@gnu.org>
32 * acinclude.m4: Include ../config/accross.m4.
33 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
34 (gcc_AC_EXAMINE_OBJECT): Removed.
35 (gcc_AC_C_COMPILE_ENDIAN): Removed.
36 * aclocal.m4; Rebuild.
38 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
39 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
40 * configure: Likewise.
42 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
44 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
45 "creat" to create extracted files.
47 2002-11-11 Tom Tromey <tromey@redhat.com>
49 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
51 (unix2dostime): Handle years before 1980. Correctly compute month
54 2002-11-10 Jakub Jelinek <jakub@redhat.com>
56 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
59 * configure.in (AC_CHECK_HEADERS): Add limits.h.
60 * configure, config.h.in: Rebuilt.
62 2002-11-07 Tom Tromey <tromey@redhat.com>
64 * dostime.c: Rewrote from scratch.
65 * dostime.h (dostime): Removed.
67 2002-10-20 Tom Tromey <tromey@redhat.com>
69 * jartool.c: Use mode 0666 when opening new file.
71 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
73 * jargrep.c (chk_wrd): Remove unused variable(s).
74 * jartool.c (main, create_central_header, list_jar): Likewise.
76 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
78 * configure, config.h.in: Rebuilt.
79 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
81 2002-09-11 Tom Tromey <tromey@redhat.com>
83 * Makefile.in: Rebuilt.
84 * Makefile.am (TEXINFO_TEX): New macro.
85 (info_TEXINFOS): Likewise.
86 (fastjar_TEXINFOS): Likewise.
88 (EXTRA_DIST): Likewise.
89 (my_makei_flags): Likewise.
90 (fastjar.info): New rule.
91 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
92 (TEXINFO_TEX): Likewise.
93 (AUTOMAKE_OPTIONS): Added `cygnus'.
95 2002-09-11 Matthias Klose <doko@debian.org>
97 * Makefile.am: Revert the previous patch.
98 * Makefile.in: Regenerated.
100 2002-09-10 Matthias Klose <doko@debian.org>
103 * Makefile.am: Support building info docs and manpages.
104 * Makefile.in: Regenerated.
105 * configure.in: Set gcc_version.
106 * configure: Regenerated.
107 * jargrep.c: Update usage and help strings.
109 2002-09-09 Tom Tromey <tromey@redhat.com>
111 * jartool.c (mkdir): Define.
112 * config.h.in: Rebuilt.
113 * aclocal.m4, configure: Rebuilt.
114 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
115 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
118 2002-09-04 Tom Tromey <tromey@redhat.com>
120 From greenrd@hotmail.com:
121 * jartool.c (list_jar): Correctly determine when new `filename'
122 buffer must be allocated. Fixes PR java/7830.
124 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
126 * configure.in: Support cross-compiling.
127 * configure: Regenerate.
128 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
129 (gcc_AC_EXAMINE_OBJECT): New.
130 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
132 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
134 * jartool.c (expand_options): Handle tar-style argument list with a
137 2002-02-23 Anthony Green <green@redhat.com>
139 * jartool.c (main): Fix handling of -C.
141 2002-01-30 Tom Tromey <tromey@redhat.com>
143 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
146 2002-01-11 Tom Tromey <tromey@redhat.com>
148 * Makefile.in: Rebuilt.
149 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
151 2002-01-09 Tom Tromey <tromey@redhat.com>
154 * jargrep.h: Removed RCS keywords.
156 * configure, Makefile.in, config.h.in: Rebuilt.
157 * configure.in: Added AM_MAINTAINER_MODE.
158 Don't look for getopt.h. Use `fastjar' as package name.
159 * Makefile.am (INCLUDES): Look in ../include.
160 (LIBIBERTY): New macro.
162 (jar_DEPENDENCIES): Likewise.
163 (grepjar_LDADD): Likewise.
164 (grepjar_DEPENDENCIES): Likewise.
165 * jargrep.c: Removed RCS keywords. Always include getopt.h.
166 (LONG_OPT): New macro.
167 (OPT_HELP): Likewise.
168 (main): Use getopt_long. Let getopt print invalid argument
169 message. Handle --help. Use version().
170 (version): New function.
171 (optarg, optind): Don't declare.
172 (option_vec): New global.
173 (help): New function.
174 (Usage): Updated to GNU standards.
175 * jartool.c: Removed RCS keywords. Include getopt.h.
176 (LONG_OPT): New macro.
177 (OPT_HELP): Likewise.
178 (options): New global.
179 (help): New function.
180 (usage): Print a single line.
181 (version): New function.
182 (expand_options): New function.
183 (main): Use getopt_long and expand_options. Fail if `-u'
184 specified. Changed handling of -f, -m, -V options.
185 (OPTION_STRING): New macro.
186 (version_string): Removed.
188 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
191 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
192 * Makefile.am: Move grepjar to bin_PROGRAMS.
193 * config.h.in: Regenerated.
194 * Makefile.in: Regenerated.
195 * aclocal.m4: Regenerated.
196 * stamp-h.in: Regenerated.
197 * jargrep.c: Eliminate some signed/unsigned and default
198 uninitialized warnings. Use HAVE_STDLIB_H instead of
200 * jartool.c: Likewise.
201 * compress.c: Likewise.
203 2001-09-17 Tom Tromey <tromey@redhat.com>
206 * aclocal.m4, configure, Makefile.in: Rebuilt.
207 * configure.in: Added AC_EXEEXT.
209 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
211 * jatool.c (extract_jar): Account for null termination when determining
212 whether to expand "filename".
214 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
216 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
219 2001-08-27 Tom Tromey <tromey@redhat.com>
221 * jartool.c (jarfile): Remove length limitation.
222 (main): Use jt_strdup when initializing jarfile.
224 2001-07-04 Tom Tromey <tromey@redhat.com>
226 Modified from patch by Julian Hall <jules@acris.co.uk>:
227 * jartool.c (errno): Conditionally declare.
228 (O_BINARY): Conditionally define.
229 (main): Use open, not creat. Use O_BINARY everywhere.
230 (make_manifest): Use O_BINARY.
231 (add_to_jar): Likewise.
233 2001-06-28 Tom Tromey <tromey@redhat.com>
235 * configure: Rebuilt.
236 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
238 2001-05-15 Per Bothner <per@bothner.com>
240 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
242 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
244 * jartool.c (jt_strdup): New function.
245 (get_next_arg): Use jt_strdup instead of strdup.
247 2001-01-21 Tom Tromey <tromey@redhat.com>
249 * Makefile.in: Rebuilt.
250 * Makefile.am (bin_PROGRAMS): Remove grepjar.
251 (EXTRA_PROGRAMS): New macro.
253 2000-12-28 Robert Lipe <robertl@sco.com>
255 * jartool.c (MAXPATHLEN): Provide if not defined.
257 2000-12-15 Tom Tromey <tromey@redhat.com>
258 Kelley Cook <kelleycook@home.com>
260 * jargrep.c: Include getopt.h if it exists.
262 * configure, config.h: Rebuilt.
263 * configure.in: Check for getopt.h.
265 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
267 * configure.in (fastjar_warn_cflags): Set when using gcc.
269 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
271 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
273 * compress.c: Include stdlib.h and compress.h.
275 (report_str_error): Make static.
276 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
277 (hrd_inflate_str): Likewise.
279 * compress.h (init_compression, end_compression, init_inflation,
280 end_inflation): Prototype void arguments.
282 * dostime.c (rcsid): Delete.
284 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
285 Make functions static. Cast ctype function argument to `unsigned
286 char'. Add parens in if-stmts. Constify.
287 (Usage): Change into a macro.
288 (jargrep): Remove unused parameter.
290 * jartool.c: Constify. Add parens in if-stmts. Align
291 signed/unsigned char pointers in functions calls using casts.
293 (list_jar): Fix printf format specifier.
294 (usage): Chop long string into bits. Reformat.
296 * pushback.c (rcsid): Delete.
298 2000-12-13 Tom Tromey <tromey@redhat.com>
300 * jartool.c (extract_jar): Use strchr, not index.
302 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
304 * install-defs.sh: Removed.
306 2000-12-10 Robert Lipe <robertlipe@usa.net>
308 * jargrep.c (jargrep): Added null statement after case.
310 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
313 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
315 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
317 * Makefile.am: New file.
318 * Makefile.in: Rebuilt.
319 * aclocal.m4: Likewise.
320 * stamp-h.in: Likewise.
321 * config.h.in: Likewise.
322 * configure.in (AM_INIT_AUTOMAKE): Added.
323 (AM_CONFIG_HEADER): Likewise.
324 (AC_CHECK_HEADERS): Check for sys/param.h
325 (AC_CHECK_LIB): Don't check for system's zlib.
326 (AC_CHECK_FUNC): Removed system's zlib function checks.
327 (ZDEPS. ZLIBS, ZINCS): Added.
328 * configure: Rebuilt.
329 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
330 (init_args, get_next_arg): New function.
331 (use_explicit_list_only, read_names_from_stdin): New global
332 (main): Parse new non standard options 'E' and '@', check and
333 report their usage if necessary. Use init_args and get_next_arg.
335 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
336 (usage): Added `-E' and `-@'.
337 * jartool.h (VERSION): Macro removed.
339 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
341 * fastjar imported from sourceforge.net/projects/fastjar with
342 Bryan Burns' permission. Check `CHANGES' for post import changes.
343 * ChangeLog: Created.
345 * mkinstalldirs: Likewise.