OSDN Git Service

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