OSDN Git Service

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