OSDN Git Service

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