2002-06-19 Eric Christopher <echristo@redhat.com>
[official-gcc.git] / fastjar / ChangeLog
blob42cc98ab390492ff5931945bf297653ee4cd59c4
1 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
3         * configure.in: Support cross-compiling.
4         * configure: Regenerate.
5         * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
6         (gcc_AC_EXAMINE_OBJECT): New.
7         (fastjar_AC_COMPILE_C_BIGENDIAN): New.
9 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11         * jartool.c (expand_options): Handle tar-style argument list with a
12         leading "-".
14 2002-02-23  Anthony Green  <green@redhat.com>
16         * jartool.c (main): Fix handling of -C.
18 2002-01-30  Tom Tromey  <tromey@redhat.com>
20         * jartool.c (main): NULL-terminate new_argv.  Pass 0 as argument
21         to init_args.
23 2002-01-11  Tom Tromey  <tromey@redhat.com>
25         * Makefile.in: Rebuilt.
26         * Makefile.am (AUTOMAKE_OPTIONS): New macro.
28 2002-01-09  Tom Tromey  <tromey@redhat.com>
30         For PR libgcj/5303:
31         * jargrep.h: Removed RCS keywords.
32         (GVERSION): Removed.
33         * configure, Makefile.in, config.h.in: Rebuilt.
34         * configure.in: Added AM_MAINTAINER_MODE.
35         Don't look for getopt.h.  Use `fastjar' as package name.
36         * Makefile.am (INCLUDES): Look in ../include.
37         (LIBIBERTY): New macro.
38         (jar_LDADD): Use it.
39         (jar_DEPENDENCIES): Likewise.
40         (grepjar_LDADD): Likewise.
41         (grepjar_DEPENDENCIES): Likewise.
42         * jargrep.c: Removed RCS keywords.  Always include getopt.h.
43         (LONG_OPT): New macro.
44         (OPT_HELP): Likewise.
45         (main): Use getopt_long.  Let getopt print invalid argument
46         message.  Handle --help.  Use version().
47         (version): New function.
48         (optarg, optind): Don't declare.
49         (option_vec): New global.
50         (help): New function.
51         (Usage): Updated to GNU standards.
52         * jartool.c: Removed RCS keywords.  Include getopt.h.
53         (LONG_OPT): New macro.
54         (OPT_HELP): Likewise.
55         (options): New global.
56         (help): New function.
57         (usage): Print a single line.
58         (version): New function.
59         (expand_options): New function.
60         (main): Use getopt_long and expand_options.  Fail if `-u'
61         specified.  Changed handling of -f, -m, -V options.
62         (OPTION_STRING): New macro.
63         (version_string): Removed.
65 2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
67         PR bootstrap/5117
68         * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
69         * Makefile.am: Move grepjar to bin_PROGRAMS.
70         * config.h.in: Regenerated.
71         * Makefile.in: Regenerated.
72         * aclocal.m4: Regenerated.
73         * stamp-h.in: Regenerated.
74         * jargrep.c: Eliminate some signed/unsigned and default
75         uninitialized warnings. Use HAVE_STDLIB_H instead of 
76         STDC_HEADERS macro.
77         * jartool.c: Likewise.
78         * compress.c: Likewise.
80 2001-09-17  Tom Tromey  <tromey@redhat.com>
82         For PR java/4295:
83         * aclocal.m4, configure, Makefile.in: Rebuilt.
84         * configure.in: Added AC_EXEEXT.
86 2001-10-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
88         * jatool.c (extract_jar): Account for null termination when determining
89         whether to expand "filename".
91 2001-08-28  Alexandre Petit-Bianco  <apbianco@redhat.com>
93         * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
94         Fixes PR java/3949.
96 2001-08-27  Tom Tromey  <tromey@redhat.com>
98         * jartool.c (jarfile): Remove length limitation.
99         (main): Use jt_strdup when initializing jarfile.
101 2001-07-04  Tom Tromey  <tromey@redhat.com>
103         Modified from patch by Julian Hall <jules@acris.co.uk>:
104         * jartool.c (errno): Conditionally declare.
105         (O_BINARY): Conditionally define.
106         (main): Use open, not creat.  Use O_BINARY everywhere.
107         (make_manifest): Use O_BINARY.
108         (add_to_jar): Likewise.
110 2001-06-28  Tom Tromey  <tromey@redhat.com>
112         * configure: Rebuilt.
113         * configure.in: Accept --with-system-zlib.  Fixes PR java/3441.
115 2001-05-15  Per Bothner  <per@bothner.com>
117         * Makefile.am (bin_PROGRAMS):  Renamed from "fastjar" to "jar".
119 2001-05-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
121         * jartool.c (jt_strdup): New function.
122         (get_next_arg): Use jt_strdup instead of strdup.
124 2001-01-21  Tom Tromey  <tromey@redhat.com>
126         * Makefile.in: Rebuilt.
127         * Makefile.am (bin_PROGRAMS): Remove grepjar.
128         (EXTRA_PROGRAMS): New macro.
130 2000-12-28  Robert Lipe <robertl@sco.com>
132         * jartool.c (MAXPATHLEN): Provide if not defined.
134 2000-12-15  Tom Tromey  <tromey@redhat.com>
135             Kelley Cook <kelleycook@home.com>
137         * jargrep.c: Include getopt.h if it exists.
138         (optind): Declare.
139         * configure, config.h: Rebuilt.
140         * configure.in: Check for getopt.h.
142 2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
144         * configure.in (fastjar_warn_cflags): Set when using gcc.
146         * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
148 2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
150         * compress.c: Include stdlib.h and compress.h.
151         (rcsid): Delete.
152         (report_str_error): Make static.
153         (ez_inflate_str): Delete unused variable.  Add parens in if-stmt.
154         (hrd_inflate_str): Likewise.
156         * compress.h (init_compression, end_compression, init_inflation,
157         end_inflation): Prototype void arguments.
159         * dostime.c (rcsid): Delete.
161         * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
162         Make functions static.  Cast ctype function argument to `unsigned
163         char'.  Add parens in if-stmts.  Constify.
164         (Usage): Change into a macro.
165         (jargrep): Remove unused parameter.
167         * jartool.c: Constify.  Add parens in if-stmts.  Align
168         signed/unsigned char pointers in functions calls using casts.
169         (rcsid): Delete.
170         (list_jar): Fix printf format specifier.
171         (usage): Chop long string into bits.  Reformat.
173         * pushback.c (rcsid): Delete.
175 2000-12-13  Tom Tromey  <tromey@redhat.com>
177         * jartool.c (extract_jar): Use strchr, not index.
179 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
181         * install-defs.sh: Removed.
183 2000-12-10  Robert Lipe <robertlipe@usa.net>
185         * jargrep.c (jargrep): Added null statement after case.
187 2000-12-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
189         * Makefile: Removed.
190         * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
192 Tue Nov 16 15:11:36 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
194         * Makefile.am: New file.
195         * Makefile.in: Rebuilt.
196         * aclocal.m4: Likewise.
197         * stamp-h.in: Likewise.
198         * config.h.in: Likewise.
199         * configure.in (AM_INIT_AUTOMAKE): Added.
200         (AM_CONFIG_HEADER): Likewise.
201         (AC_CHECK_HEADERS): Check for sys/param.h
202         (AC_CHECK_LIB): Don't check for system's zlib.
203         (AC_CHECK_FUNC): Removed system's zlib function checks.
204         (ZDEPS. ZLIBS, ZINCS): Added.
205         * configure: Rebuilt.
206         * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
207         (init_args, get_next_arg): New function.
208         (use_explicit_list_only, read_names_from_stdin): New global
209         (main): Parse new non standard options 'E' and '@', check and
210         report their usage if necessary. Use init_args and get_next_arg.
211         Fixed indentation.
212         (add_to_jar): Don't read directory content if `use_explicit_list_only'.
213         (usage): Added `-E' and `-@'.
214         * jartool.h (VERSION): Macro removed.
216 Tue Nov 14 15:10:44 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
218         * fastjar imported from sourceforge.net/projects/fastjar with
219         Bryan Burns' permission. Check `CHANGES' for post import changes.
220         * ChangeLog: Created.
221         * NEWS: Likewise.
222         * mkinstalldirs: Likewise.
223         * COPYING: Likewise.
224         * AUTHORS: Likewise.