OSDN Git Service

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