OSDN Git Service

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