OSDN Git Service

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