1 2002-11-10 Jakub Jelinek <jakub@redhat.com>
3 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
6 * configure.in (AC_CHECK_HEADERS): Add limits.h.
7 * configure, config.h.in: Rebuilt.
9 2002-11-07 Tom Tromey <tromey@redhat.com>
11 * dostime.c: Rewrote from scratch.
12 * dostime.h (dostime): Removed.
14 2002-10-20 Tom Tromey <tromey@redhat.com>
16 * jartool.c: Use mode 0666 when opening new file.
18 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
20 * configure, config.h.in: Rebuilt.
21 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
23 2002-09-11 Tom Tromey <tromey@redhat.com>
25 * Makefile.in: Rebuilt.
26 * Makefile.am (TEXINFO_TEX): New macro.
27 (info_TEXINFOS): Likewise.
28 (fastjar_TEXINFOS): Likewise.
30 (EXTRA_DIST): Likewise.
31 (my_makei_flags): Likewise.
32 (fastjar.info): New rule.
33 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
34 (TEXINFO_TEX): Likewise.
35 (AUTOMAKE_OPTIONS): Added `cygnus'.
37 2002-09-11 Matthias Klose <doko@debian.org>
39 * Makefile.am: Revert the previous patch.
40 * Makefile.in: Regenerated.
42 2002-09-10 Matthias Klose <doko@debian.org>
45 * Makefile.am: Support building info docs and manpages.
46 * Makefile.in: Regenerated.
47 * configure.in: Set gcc_version.
48 * configure: Regenerated.
49 * jargrep.c: Update usage and help strings.
51 2002-09-09 Tom Tromey <tromey@redhat.com>
53 * jartool.c (mkdir): Define.
54 * config.h.in: Rebuilt.
55 * aclocal.m4, configure: Rebuilt.
56 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
57 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
60 2002-09-04 Tom Tromey <tromey@redhat.com>
62 From greenrd@hotmail.com:
63 * jartool.c (list_jar): Correctly determine when new `filename'
64 buffer must be allocated. Fixes PR java/7830.
66 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
68 * configure.in: Support cross-compiling.
69 * configure: Regenerate.
70 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
71 (gcc_AC_EXAMINE_OBJECT): New.
72 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
74 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
76 * jartool.c (expand_options): Handle tar-style argument list with a
79 2002-02-23 Anthony Green <green@redhat.com>
81 * jartool.c (main): Fix handling of -C.
83 2002-01-30 Tom Tromey <tromey@redhat.com>
85 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
88 2002-01-11 Tom Tromey <tromey@redhat.com>
90 * Makefile.in: Rebuilt.
91 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
93 2002-01-09 Tom Tromey <tromey@redhat.com>
96 * jargrep.h: Removed RCS keywords.
98 * configure, Makefile.in, config.h.in: Rebuilt.
99 * configure.in: Added AM_MAINTAINER_MODE.
100 Don't look for getopt.h. Use `fastjar' as package name.
101 * Makefile.am (INCLUDES): Look in ../include.
102 (LIBIBERTY): New macro.
104 (jar_DEPENDENCIES): Likewise.
105 (grepjar_LDADD): Likewise.
106 (grepjar_DEPENDENCIES): Likewise.
107 * jargrep.c: Removed RCS keywords. Always include getopt.h.
108 (LONG_OPT): New macro.
109 (OPT_HELP): Likewise.
110 (main): Use getopt_long. Let getopt print invalid argument
111 message. Handle --help. Use version().
112 (version): New function.
113 (optarg, optind): Don't declare.
114 (option_vec): New global.
115 (help): New function.
116 (Usage): Updated to GNU standards.
117 * jartool.c: Removed RCS keywords. Include getopt.h.
118 (LONG_OPT): New macro.
119 (OPT_HELP): Likewise.
120 (options): New global.
121 (help): New function.
122 (usage): Print a single line.
123 (version): New function.
124 (expand_options): New function.
125 (main): Use getopt_long and expand_options. Fail if `-u'
126 specified. Changed handling of -f, -m, -V options.
127 (OPTION_STRING): New macro.
128 (version_string): Removed.
130 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
133 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
134 * Makefile.am: Move grepjar to bin_PROGRAMS.
135 * config.h.in: Regenerated.
136 * Makefile.in: Regenerated.
137 * aclocal.m4: Regenerated.
138 * stamp-h.in: Regenerated.
139 * jargrep.c: Eliminate some signed/unsigned and default
140 uninitialized warnings. Use HAVE_STDLIB_H instead of
142 * jartool.c: Likewise.
143 * compress.c: Likewise.
145 2001-09-17 Tom Tromey <tromey@redhat.com>
148 * aclocal.m4, configure, Makefile.in: Rebuilt.
149 * configure.in: Added AC_EXEEXT.
151 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
153 * jatool.c (extract_jar): Account for null termination when determining
154 whether to expand "filename".
156 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
158 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
161 2001-08-27 Tom Tromey <tromey@redhat.com>
163 * jartool.c (jarfile): Remove length limitation.
164 (main): Use jt_strdup when initializing jarfile.
166 2001-07-04 Tom Tromey <tromey@redhat.com>
168 Modified from patch by Julian Hall <jules@acris.co.uk>:
169 * jartool.c (errno): Conditionally declare.
170 (O_BINARY): Conditionally define.
171 (main): Use open, not creat. Use O_BINARY everywhere.
172 (make_manifest): Use O_BINARY.
173 (add_to_jar): Likewise.
175 2001-06-28 Tom Tromey <tromey@redhat.com>
177 * configure: Rebuilt.
178 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
180 2001-05-15 Per Bothner <per@bothner.com>
182 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
184 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
186 * jartool.c (jt_strdup): New function.
187 (get_next_arg): Use jt_strdup instead of strdup.
189 2001-01-21 Tom Tromey <tromey@redhat.com>
191 * Makefile.in: Rebuilt.
192 * Makefile.am (bin_PROGRAMS): Remove grepjar.
193 (EXTRA_PROGRAMS): New macro.
195 2000-12-28 Robert Lipe <robertl@sco.com>
197 * jartool.c (MAXPATHLEN): Provide if not defined.
199 2000-12-15 Tom Tromey <tromey@redhat.com>
200 Kelley Cook <kelleycook@home.com>
202 * jargrep.c: Include getopt.h if it exists.
204 * configure, config.h: Rebuilt.
205 * configure.in: Check for getopt.h.
207 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
209 * configure.in (fastjar_warn_cflags): Set when using gcc.
211 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
213 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
215 * compress.c: Include stdlib.h and compress.h.
217 (report_str_error): Make static.
218 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
219 (hrd_inflate_str): Likewise.
221 * compress.h (init_compression, end_compression, init_inflation,
222 end_inflation): Prototype void arguments.
224 * dostime.c (rcsid): Delete.
226 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
227 Make functions static. Cast ctype function argument to `unsigned
228 char'. Add parens in if-stmts. Constify.
229 (Usage): Change into a macro.
230 (jargrep): Remove unused parameter.
232 * jartool.c: Constify. Add parens in if-stmts. Align
233 signed/unsigned char pointers in functions calls using casts.
235 (list_jar): Fix printf format specifier.
236 (usage): Chop long string into bits. Reformat.
238 * pushback.c (rcsid): Delete.
240 2000-12-13 Tom Tromey <tromey@redhat.com>
242 * jartool.c (extract_jar): Use strchr, not index.
244 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
246 * install-defs.sh: Removed.
248 2000-12-10 Robert Lipe <robertlipe@usa.net>
250 * jargrep.c (jargrep): Added null statement after case.
252 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
255 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
257 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
259 * Makefile.am: New file.
260 * Makefile.in: Rebuilt.
261 * aclocal.m4: Likewise.
262 * stamp-h.in: Likewise.
263 * config.h.in: Likewise.
264 * configure.in (AM_INIT_AUTOMAKE): Added.
265 (AM_CONFIG_HEADER): Likewise.
266 (AC_CHECK_HEADERS): Check for sys/param.h
267 (AC_CHECK_LIB): Don't check for system's zlib.
268 (AC_CHECK_FUNC): Removed system's zlib function checks.
269 (ZDEPS. ZLIBS, ZINCS): Added.
270 * configure: Rebuilt.
271 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
272 (init_args, get_next_arg): New function.
273 (use_explicit_list_only, read_names_from_stdin): New global
274 (main): Parse new non standard options 'E' and '@', check and
275 report their usage if necessary. Use init_args and get_next_arg.
277 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
278 (usage): Added `-E' and `-@'.
279 * jartool.h (VERSION): Macro removed.
281 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
283 * fastjar imported from sourceforge.net/projects/fastjar with
284 Bryan Burns' permission. Check `CHANGES' for post import changes.
285 * ChangeLog: Created.
287 * mkinstalldirs: Likewise.