* arm.c (arm_get_frame_size): A leaf function does not need its
[official-gcc.git] / fastjar / ChangeLog
blob5adc87d3db639cd8c504db5aeafd10dcea192e00
1 2002-11-11  Tom Tromey  <tromey@redhat.com>
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.
8 2002-11-10  Jakub Jelinek  <jakub@redhat.com>
10         * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
11         non-NULL.
13         * configure.in (AC_CHECK_HEADERS): Add limits.h.
14         * configure, config.h.in: Rebuilt.
16 2002-11-07  Tom Tromey  <tromey@redhat.com>
18         * dostime.c: Rewrote from scratch.
19         * dostime.h (dostime): Removed.
21 2002-10-20  Tom Tromey  <tromey@redhat.com>
23         * jartool.c: Use mode 0666 when opening new file.
25 2002-10-15  Ranjit Mathew  <rmathew@hotmail.com>
27         * configure, config.h.in: Rebuilt.
28         * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
30 2002-09-11  Tom Tromey  <tromey@redhat.com>
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'.
44 2002-09-11  Matthias Klose  <doko@debian.org>
46         * Makefile.am: Revert the previous patch.
47         * Makefile.in: Regenerated.
49 2002-09-10  Matthias Klose  <doko@debian.org>
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.
58 2002-09-09  Tom Tromey  <tromey@redhat.com>
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.
67 2002-09-04  Tom Tromey  <tromey@redhat.com>
69         From greenrd@hotmail.com:
70         * jartool.c (list_jar): Correctly determine when new `filename'
71         buffer must be allocated.  Fixes PR java/7830.
73 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
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.
81 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
83         * jartool.c (expand_options): Handle tar-style argument list with a
84         leading "-".
86 2002-02-23  Anthony Green  <green@redhat.com>
88         * jartool.c (main): Fix handling of -C.
90 2002-01-30  Tom Tromey  <tromey@redhat.com>
92         * jartool.c (main): NULL-terminate new_argv.  Pass 0 as argument
93         to init_args.
95 2002-01-11  Tom Tromey  <tromey@redhat.com>
97         * Makefile.in: Rebuilt.
98         * Makefile.am (AUTOMAKE_OPTIONS): New macro.
100 2002-01-09  Tom Tromey  <tromey@redhat.com>
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.
137 2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
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.
152 2001-09-17  Tom Tromey  <tromey@redhat.com>
154         For PR java/4295:
155         * aclocal.m4, configure, Makefile.in: Rebuilt.
156         * configure.in: Added AC_EXEEXT.
158 2001-10-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
160         * jatool.c (extract_jar): Account for null termination when determining
161         whether to expand "filename".
163 2001-08-28  Alexandre Petit-Bianco  <apbianco@redhat.com>
165         * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
166         Fixes PR java/3949.
168 2001-08-27  Tom Tromey  <tromey@redhat.com>
170         * jartool.c (jarfile): Remove length limitation.
171         (main): Use jt_strdup when initializing jarfile.
173 2001-07-04  Tom Tromey  <tromey@redhat.com>
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.
182 2001-06-28  Tom Tromey  <tromey@redhat.com>
184         * configure: Rebuilt.
185         * configure.in: Accept --with-system-zlib.  Fixes PR java/3441.
187 2001-05-15  Per Bothner  <per@bothner.com>
189         * Makefile.am (bin_PROGRAMS):  Renamed from "fastjar" to "jar".
191 2001-05-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
193         * jartool.c (jt_strdup): New function.
194         (get_next_arg): Use jt_strdup instead of strdup.
196 2001-01-21  Tom Tromey  <tromey@redhat.com>
198         * Makefile.in: Rebuilt.
199         * Makefile.am (bin_PROGRAMS): Remove grepjar.
200         (EXTRA_PROGRAMS): New macro.
202 2000-12-28  Robert Lipe <robertl@sco.com>
204         * jartool.c (MAXPATHLEN): Provide if not defined.
206 2000-12-15  Tom Tromey  <tromey@redhat.com>
207             Kelley Cook <kelleycook@home.com>
209         * jargrep.c: Include getopt.h if it exists.
210         (optind): Declare.
211         * configure, config.h: Rebuilt.
212         * configure.in: Check for getopt.h.
214 2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
216         * configure.in (fastjar_warn_cflags): Set when using gcc.
218         * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
220 2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
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.
228         * compress.h (init_compression, end_compression, init_inflation,
229         end_inflation): Prototype void arguments.
231         * dostime.c (rcsid): Delete.
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.
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.
245         * pushback.c (rcsid): Delete.
247 2000-12-13  Tom Tromey  <tromey@redhat.com>
249         * jartool.c (extract_jar): Use strchr, not index.
251 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
253         * install-defs.sh: Removed.
255 2000-12-10  Robert Lipe <robertlipe@usa.net>
257         * jargrep.c (jargrep): Added null statement after case.
259 2000-12-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
261         * Makefile: Removed.
262         * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
264 Tue Nov 16 15:11:36 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
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.
288 Tue Nov 14 15:10:44 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
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.