OSDN Git Service

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