OSDN Git Service

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