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