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