OSDN Git Service

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