1 2002-02-23 Anthony Green <green@redhat.com>
3 * jartool.c (main): Fix handling of -C.
5 2002-01-30 Tom Tromey <tromey@redhat.com>
7 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
10 2002-01-11 Tom Tromey <tromey@redhat.com>
12 * Makefile.in: Rebuilt.
13 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
15 2002-01-09 Tom Tromey <tromey@redhat.com>
18 * jargrep.h: Removed RCS keywords.
20 * configure, Makefile.in, config.h.in: Rebuilt.
21 * configure.in: Added AM_MAINTAINER_MODE.
22 Don't look for getopt.h. Use `fastjar' as package name.
23 * Makefile.am (INCLUDES): Look in ../include.
24 (LIBIBERTY): New macro.
26 (jar_DEPENDENCIES): Likewise.
27 (grepjar_LDADD): Likewise.
28 (grepjar_DEPENDENCIES): Likewise.
29 * jargrep.c: Removed RCS keywords. Always include getopt.h.
30 (LONG_OPT): New macro.
32 (main): Use getopt_long. Let getopt print invalid argument
33 message. Handle --help. Use version().
34 (version): New function.
35 (optarg, optind): Don't declare.
36 (option_vec): New global.
38 (Usage): Updated to GNU standards.
39 * jartool.c: Removed RCS keywords. Include getopt.h.
40 (LONG_OPT): New macro.
42 (options): New global.
44 (usage): Print a single line.
45 (version): New function.
46 (expand_options): New function.
47 (main): Use getopt_long and expand_options. Fail if `-u'
48 specified. Changed handling of -f, -m, -V options.
49 (OPTION_STRING): New macro.
50 (version_string): Removed.
52 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
55 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
56 * Makefile.am: Move grepjar to bin_PROGRAMS.
57 * config.h.in: Regenerated.
58 * Makefile.in: Regenerated.
59 * aclocal.m4: Regenerated.
60 * stamp-h.in: Regenerated.
61 * jargrep.c: Eliminate some signed/unsigned and default
62 uninitialized warnings. Use HAVE_STDLIB_H instead of
64 * jartool.c: Likewise.
65 * compress.c: Likewise.
67 2001-09-17 Tom Tromey <tromey@redhat.com>
70 * aclocal.m4, configure, Makefile.in: Rebuilt.
71 * configure.in: Added AC_EXEEXT.
73 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
75 * jatool.c (extract_jar): Account for null termination when determining
76 whether to expand "filename".
78 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
80 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
83 2001-08-27 Tom Tromey <tromey@redhat.com>
85 * jartool.c (jarfile): Remove length limitation.
86 (main): Use jt_strdup when initializing jarfile.
88 2001-07-04 Tom Tromey <tromey@redhat.com>
90 Modified from patch by Julian Hall <jules@acris.co.uk>:
91 * jartool.c (errno): Conditionally declare.
92 (O_BINARY): Conditionally define.
93 (main): Use open, not creat. Use O_BINARY everywhere.
94 (make_manifest): Use O_BINARY.
95 (add_to_jar): Likewise.
97 2001-06-28 Tom Tromey <tromey@redhat.com>
100 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
102 2001-05-15 Per Bothner <per@bothner.com>
104 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
106 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
108 * jartool.c (jt_strdup): New function.
109 (get_next_arg): Use jt_strdup instead of strdup.
111 2001-01-21 Tom Tromey <tromey@redhat.com>
113 * Makefile.in: Rebuilt.
114 * Makefile.am (bin_PROGRAMS): Remove grepjar.
115 (EXTRA_PROGRAMS): New macro.
117 2000-12-28 Robert Lipe <robertl@sco.com>
119 * jartool.c (MAXPATHLEN): Provide if not defined.
121 2000-12-15 Tom Tromey <tromey@redhat.com>
122 Kelley Cook <kelleycook@home.com>
124 * jargrep.c: Include getopt.h if it exists.
126 * configure, config.h: Rebuilt.
127 * configure.in: Check for getopt.h.
129 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
131 * configure.in (fastjar_warn_cflags): Set when using gcc.
133 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
135 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
137 * compress.c: Include stdlib.h and compress.h.
139 (report_str_error): Make static.
140 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
141 (hrd_inflate_str): Likewise.
143 * compress.h (init_compression, end_compression, init_inflation,
144 end_inflation): Prototype void arguments.
146 * dostime.c (rcsid): Delete.
148 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
149 Make functions static. Cast ctype function argument to `unsigned
150 char'. Add parens in if-stmts. Constify.
151 (Usage): Change into a macro.
152 (jargrep): Remove unused parameter.
154 * jartool.c: Constify. Add parens in if-stmts. Align
155 signed/unsigned char pointers in functions calls using casts.
157 (list_jar): Fix printf format specifier.
158 (usage): Chop long string into bits. Reformat.
160 * pushback.c (rcsid): Delete.
162 2000-12-13 Tom Tromey <tromey@redhat.com>
164 * jartool.c (extract_jar): Use strchr, not index.
166 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
168 * install-defs.sh: Removed.
170 2000-12-10 Robert Lipe <robertlipe@usa.net>
172 * jargrep.c (jargrep): Added null statement after case.
174 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
177 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
179 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
181 * Makefile.am: New file.
182 * Makefile.in: Rebuilt.
183 * aclocal.m4: Likewise.
184 * stamp-h.in: Likewise.
185 * config.h.in: Likewise.
186 * configure.in (AM_INIT_AUTOMAKE): Added.
187 (AM_CONFIG_HEADER): Likewise.
188 (AC_CHECK_HEADERS): Check for sys/param.h
189 (AC_CHECK_LIB): Don't check for system's zlib.
190 (AC_CHECK_FUNC): Removed system's zlib function checks.
191 (ZDEPS. ZLIBS, ZINCS): Added.
192 * configure: Rebuilt.
193 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
194 (init_args, get_next_arg): New function.
195 (use_explicit_list_only, read_names_from_stdin): New global
196 (main): Parse new non standard options 'E' and '@', check and
197 report their usage if necessary. Use init_args and get_next_arg.
199 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
200 (usage): Added `-E' and `-@'.
201 * jartool.h (VERSION): Macro removed.
203 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
205 * fastjar imported from sourceforge.net/projects/fastjar with
206 Bryan Burns' permission. Check `CHANGES' for post import changes.
207 * ChangeLog: Created.
209 * mkinstalldirs: Likewise.