OSDN Git Service

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