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