OSDN Git Service

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