OSDN Git Service

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