OSDN Git Service

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