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