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