OSDN Git Service

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