1
2007-02-13 Matthias Klose <doko@ubuntu.com>
3
* Makefile.am: Build the fastjar library as a convenience library.
4
* Makefile.in: Regenerate.
6
2007-02-12 Dalibor Topic <robilad@kaffe.org>
8
* jartool.c (get_next_arg, add_to_jar_with_dir): Use
11
2007-02-12 Dalibor Topic <robilad@kaffe.org>
13
* Makefile.am (EXTRA_DIST): Removed fastjar.texi.
14
* Makefile.in: Regenerated.
16
2007-02-12 Alfred M. Szmidt <ams@gnu.org>
18
* jartool.c (MAXPATHLEN) [!MAXPATHLEN]: Removed macro.
19
(get_next_arg): Allocate memory dynamiclly for S.
20
(add_to_jar_with_dir): Allocate memory dynamiclly for OLD_DIR.
22
2007-02-12 Matthias Klose <doko@ubuntu.com>
24
* fastjar.texi: Set version to 0.95.
26
2007-02-12 Matthias Klose <doko@ubuntu.com>
28
* fdl.texi, COPYING.DOC: Remove, all documentation is licensed
30
* fastjar.texi: Don't include fdl.texi.
31
* AUTHORS: Add myself as documentation author.
33
2007-02-09 Dalibor Topic <robilad@kaffe.org>
37
2007-02-09 Dalibor Topic <robilad@kaffe.org>
39
* Makefile.am (pscan, flawfinder, rats, splint): Added new targets
40
which invoke source code scanners.
42
* configure.ac (AC_CHECK_PATH): Check for pscan, flawfinder, rats and
45
* Makefile.in, lib/Makefile.in, configure: Regenerated.
47
2007-02-08 Dalibor Topic <robilad@kaffe.org>
49
* configure.ac (AC_MSG_ERROR): Stop configure if neither ftruncate
52
* configure: Regenerated.
54
* jartool.c (main): Simplified ftruncate and _chsize handling by moving
55
the check into the configure script.
57
2007-02-08 Dalibor Topic <robilad@kaffe.org>
59
* pushback.h: Include jartool.h to declare the types used in struct
62
2007-02-08 Dalibor Topic <robilad@kaffe.org>
64
* compress.h: Include zlib.h, jartool.h and pushback.h to declare the
65
types used in parameters.
67
2007-02-08 Dalibor Topic <robilad@kaffe.org>
69
* jartool.c (add_file_to_jar, add_array_to_jar): Made file_name_length
72
2007-02-08 Dalibor Topic <robilad@kaffe.org>
74
* jartool.c (make_manifest): Turned mf_len into a size_t.
76
2007-02-08 Dalibor Topic <robilad@kaffe.org>
78
* jartool.c (make_manifest, add_to_jar): Turned nlen into a size_t.
80
2007-02-08 Dalibor Topic <robilad@kaffe.org>
82
* jartool.c (add_array_to_jar): Check if writing succeeded before
83
checking if the number of written bytes matches. New local variable
86
2007-02-08 Dalibor Topic <robilad@kaffe.org>
88
* jartool.c (add_array_to_jar): Turn content_length into a size_t.
90
2007-02-08 Dalibor Topic <robilad@kaffe.org>
92
* jartool.c (build_index): Turn index_content_length into a
95
2007-02-07 Dalibor Topic <robilad@kaffe.org>
97
* jargrep.c (help, version): Made static.
99
* jartool.c (add_array_to_jar, add_entry,
100
add_file_to_jar, add_list_entry, add_to_jar
101
add_to_jar_with_dir, build_index, consume
102
create_central_header, extract_jar,
103
get_index_entry, help, init_headers,
104
list_jar, make_manifest, read_entries, usage
105
version): Made static.
107
2007-02-07 Dalibor Topic <robilad@kaffe.org>
109
* jartool.c (data_descriptor, do_compress, file_header,
110
jarfile, number_of_entries, read_names_from_stdin, seekable,
111
use_explicit_list_only, verbose, ziplist, ziplisthead,
112
ziplisttail, ziptail): Made static.
114
2007-02-07 Dalibor Topic <robilad@kaffe.org>
116
* compress.c (write_data): Made static.
118
2007-02-07 Dalibor Topic <robilad@kaffe.org>
120
* configure.ac (AC_PROG_STDC_CC): Use C99 if possible.
122
* configure: Regenerated.
124
2007-02-07 Dalibor Topic <robilad@kaffe.org>
126
* Makefile.am (POD2MAN): Use VERSION variable.
128
* Makefile.in: Regenerated.
130
2007-02-07 Dalibor Topic <robilad@kaffe.org>
132
* install-defs.sh.in: Removed.
134
* configure.ac (AC_CONFIG_FILES): Removed install-defs.sh.
136
* Makefile.in, configure: Regenerated.
138
2007-02-07 Dalibor Topic <robilad@kaffe.org>
140
* configure.ac (ZINCS, ZDEPS): Removed redundant variables.
142
* Makefile.am (DEPENDENCIES): Removed.
143
(AM_CPPFLAGS) Removed redundant ZINCS variable.
145
* Makefile.in, configure, lib/Makefile.in: Regenerated.
147
2007-02-07 Dalibor Topic <robilad@kaffe.org>
149
* configure.ac (AC_ARG_ENABLE): Removed redundant option.
151
* configure: Regenerated.
153
2007-02-07 Dalibor Topic <robilad@kaffe.org>
155
* configure.ac (AC_ARG_WITH): Removed redundant option.
157
* configure: Regenerated.
159
2007-02-07 Dalibor Topic <robilad@kaffe.org>
161
* configure.ac (AC_STRUCT_TM): Removed redundant check.
163
* configure: Regenerated.
165
2007-02-07 Dalibor Topic <robilad@kaffe.org>
167
* configure.ac (AC_PATH_PROG): Don't look for cp, strip
170
* Makefile.in, configure, lib/Makefile.in: Regenerated.
172
2007-02-07 Dalibor Topic <robilad@kaffe.org>
174
* configure.ac (AC_PATH_PROG): Don't look for rm.
176
* Makefile.in, configure, lib/Makefile.in: Regenerated.
178
2007-02-07 Dalibor Topic <robilad@kaffe.org>
180
* TODO: Removed Sun CC task.
182
2007-02-07 Dalibor Topic <robilad@kaffe.org>
186
* lib/stdbool_.h, m4/stdbool.m4: New files from
187
gnulib to support stdbool.h on platforms without it.
189
* Makefile.in, aclocal.m4, config.h.in, configure,
190
lib/Makefile.am, lib/Makefile.in, m4/gnulib-cache.m4,
191
m4/gnulib-comp.m4: Regenerated.
193
2007-02-07 Dalibor Topic <robilad@kaffe.org>
195
* TODO: Removed gnulib items.
197
2007-02-07 Dalibor Topic <robilad@kaffe.org>
201
* lib/getopt.c, lib/getopt1.c, lib/getopt_.h,
202
lib/getopt_int.h, lib/unistd_.h, m4/getopt.m4,
203
m4/unistd_h.m4: New files from gnulib to support
204
platforms without a GNU getopt implementation.
206
* jargrep.c: Moved inclusion of getopt.h before
207
inclusion of regex.h.
209
* jartool.c: Include regex.h, as recommended by
210
gnulib-tool for the gnulib getopt functionality.
212
* Makefile.in, aclocal.m4, config.h.in, configure,
213
lib/Makefile.am, lib/Makefile.in, m4/gnulib-cache.m4,
214
m4/gnulib-comp.m4: Regenerated.
216
2007-02-07 Dalibor Topic <robilad@kaffe.org>
218
* README: Added a 'platforms' section, and documented
219
flags for the MingW32 build on Cygwin.
221
2007-02-07 Dalibor Topic <robilad@kaffe.org>
223
* NEWS : Added merging status information for
224
Bryan's 0.94 release on SourceForge. Updated version number
227
* README, configure.ac: Updated version number to 0.95-pre.
229
* configure: Regenerated.
231
2007-02-07 Dalibor Topic <robilad@kaffe.org>
235
* Makefile.am (SUBDIRS, ACLOCAL_AMFLAGS): Added to support
236
using gnulib's functionality.
237
(AM_CPPFLAGS) Added lib directory for regex.h.
238
(LDADD) Added libgnu.la.
240
* configure.ac (gl_EARLY, gl_INIT): Added suppor for gnulib.
241
(AC_CONFIG_FILES) Added lib/Makefile.
243
* Makefile.in, aclocal.m4, config.h.in, configure:
246
* lib/Makefile.am, lib/Makefile.in,
247
lib/alloca.c, lib/alloca_.h, lib/dummy.c,
248
lib/gettext.h, lib/malloc.c, lib/regcomp.c,
249
lib/regex.c, lib/regex.h,
250
lib/regex_internal.c, lib/regex_internal.h,
251
lib/regexec.c, lib/stdint_.h,
252
lib/strcasecmp.c, lib/string_.h,
253
lib/strncasecmp.c, lib/wchar_.h, lib/wctype_.h,
254
m4/absolute-header.m4, m4/alloca.m4, m4/codeset.m4,
255
m4/extensions.m4, m4/gnulib-cache.m4,
256
m4/gnulib-common.m4, m4/gnulib-comp.m4,
257
m4/gnulib-tool.m4, m4/longlong.m4, m4/regex.m4,
258
m4/ssize_t.m4, m4/stdint.m4, m4/strcase.m4,
259
m4/string_h.m4, m4/ulonglong.m4, m4/wchar.m4,
260
m4/wctype.m4, m4/wint_t.m4: New files from gnulib
261
to support regex on platforms without a GNU regex
264
2007-02-07 Dalibor Topic <robilad@kaffe.org>
266
* TODO: Removed libfastjar item.
268
* NEWS: Added libfastjar information.
270
2007-02-07 Dalibor Topic <robilad@kaffe.org>
272
* Makefile.am (AM_LDFLAGS, LDADD, DEPENDECIES,
273
libfastjar_la_LIBADD, libfastjar_la_LIBADD): Added
274
to support building with a shared library with no
276
(fastjar_LDADD, fastjar_DEPENDENCIES, grepjar_LDADD,
277
grepjar_DEPENDENCIES) Removed, replaced by LDADD and
280
* Makefile.in: Regenerated.
282
2007-02-07 Dalibor Topic <robilad@kaffe.org>
284
* autogen.sh: Removed -Wall since libtool & automake
285
macros are not up to date with autoconf 2.61 and create
286
too much warning noise.
288
2007-02-06 Dalibor Topic <robilad@kaffe.org>
290
* Makefile.am (AM_CFLAGS): Shuffled upwards in the file.
291
(fastjar_SOURCES, grepjar_SOURCES) Removed dostime.c,
292
compress.c, pushback.c, shift.c, jartool.h, zipfile.h,
293
dostime.h, compress.h, pushback.h and shift.h.
294
(fastjar_LDADD, grepjar_LDADD) Added libfastjar.la.
295
(lib_LTLIBRARIES, libfastjar_la_SOURCES) New primitives.
296
(libtool) New target.
298
* configure.ac (AC_DISABLE_STATIC, AC_LIBTOOL_WIN32_DLL,
299
AC_PROG_LIBTOOL, AC_SUBST(LIBTOOL_DEPS)): Added support
300
for native libraries for libfastjar.
302
* Makefile.in, aclocal.m4, config.h.in, configure:
305
* config.guess, config.sub, ltmain.sh: New files,
306
generated by autogen.sh.
308
2007-02-06 Dalibor Topic <robilad@kaffe.org>
312
2007-02-06 Dalibor Topic <robilad@kaffe.org>
314
* compress.c (init_compression, write_data,
315
compress_file, end_compression, init_inflation,
316
inflate_file, report_str_error, ez_inflate_str,
317
hrd_inflate_str): Use EXIT_FAILURE.
319
* jargrep.c (create_regexp, read_string,
320
extract_line, check_crc, fnd_match, main,
321
version): Use EXIT_FAILURE and EXIT_SUCCESS.
323
* jartool.c (main, make_manifest, add_to_jar,
324
add_file_to_jar, extract_jar, list_jar,
325
consume, version, help, add_array_to_jar,
326
get_index_entry): Use EXIT_FAILURE and EXIT_SUCCESS.
328
2007-02-06 Dalibor Topic <robilad@kaffe.org>
330
* dostime.c: Updated copyright information.
332
2007-02-06 Dalibor Topic <robilad@kaffe.org>
334
* compress.c, dostime.c, jargrep.c, jartool.c
335
(HAVE_CONFIG_H): Added guards for include.
337
2007-02-06 Dalibor Topic <robilad@kaffe.org>
339
* shift.c, jartool.h, jargrep.c, compress.c:
340
Updated copyright information.
342
2007-02-06 Dalibor Topic <robilad@kaffe.org>
344
* compress.h: Updated copyright information.
346
2007-02-06 Dalibor Topic <robilad@kaffe.org>
349
Added #ifndef __FASTJAR_ZIPFILE_H__.
350
Updated copyright information.
352
2007-02-06 Dalibor Topic <robilad@kaffe.org>
355
Added #ifndef __FASTJAR_PUSHBACK_H__.
356
Updated copyright information.
358
2007-02-06 Dalibor Topic <robilad@kaffe.org>
361
Added #ifndef __FASTJAR_JARGREP_H__.
362
Updated copyright information.
364
2007-02-06 Dalibor Topic <robilad@kaffe.org>
367
Added #ifndef __FASTJAR_DOSTIME_H__.
368
Updated copyright information.
370
2007-02-06 Dalibor Topic <robilad@kaffe.org>
373
Added #ifndef __FASTJAR_COMPRESS_H__.
375
2007-02-06 Dalibor Topic <robilad@kaffe.org>
377
* dostime.c (unix2dostime): Renamed parameter to
380
2007-02-06 Dalibor Topic <robilad@kaffe.org>
382
* jartool.c (list_jar, extract_jar, init_args,
383
get_next_arg): Added const qualifier to char **
384
parameter and return types.
385
(main) Added const qualifier to type of new_argv.
386
Modified malloc cast accordingly. Fixed cast of
387
const char * to char *.
388
(args_g) Added const qualifier to type.
390
2007-02-06 Dalibor Topic <robilad@kaffe.org>
392
* jartool.c (main): Replaced unreachable exit call
393
after version call with a break statement.
395
2007-02-06 Dalibor Topic <robilad@kaffe.org>
397
* compress.c (init_compression, end_compression,
398
init_inflation): Added missing 'void' parameter type.
400
* jargrep.c (version): Added missing 'void' parameter
403
2007-02-06 Dalibor Topic <robilad@kaffe.org>
405
* jartool.h (__attribute__): Remove define.
407
2007-02-06 Dalibor Topic <robilad@kaffe.org>
409
* Makefile.am (fastjar_CPPFLAGS): Removed.
410
(grepjar_SOURCES) Added shift.c and shift.h.
412
* compress.c (seekable, end_of_entries): Removed.
413
(write_data) Removed __attribute__((unused)).
414
Removed WITH_SHIFT_DOWN.
416
* configure.ac (AM_PROG_CC_C_O): Removed.
418
* jartool.c (end_of_entries): Moved field to ...
420
* shift.c (end_of_entries): ... here. New field.
421
(shift_up, shift_down) Removed declarations of
424
* shift.h (end_of_entries): Added field to
425
exported header as it is used in jartool.c.
427
* Makefile.in, aclocal.m4, config.h.in,
428
configure: Regenerated.
430
2007-02-06 Wil Mahan <wmahan@users.sourceforge.net>
432
* jartool.c (list_jar): Fall back on
433
the method used for non-seekable files when
434
reading the central-header-end section does
435
not work, i.e. in archives with a zipfile
438
Patch taken from fastjar.sourceforge.net
441
2007-02-05 Dalibor Topic <robilad@kaffe.org>
443
* configure.ac (AC_INIT): Changed version
446
2007-02-05 Dalibor Topic <robilad@kaffe.org>
448
* NEWS: Updated with some of the information
451
2007-02-05 Dalibor Topic <robilad@kaffe.org>
453
* fastjar.texi: -i works now.
455
2007-02-04 Dalibor Topic <robilad@kaffe.org>
457
* jartool.c (build_index): Added comment
458
for previous patch. Added check to ensure
459
that the META-INF directory is not being
462
2007-02-04 Dalibor Topic <robilad@kaffe.org>
464
* jartool.c (build_index): Replace '\0'
465
character with '\n' before adding the
466
index to the jar file to avoid having
467
a zero byte at the end of the index file.
469
2007-02-04 Dalibor Topic <robilad@kaffe.org>
471
* jartool.c: Added 2007 to copyright years,
472
and claimed my changes.
473
(OPTION_STRING) -i takes an argument.
474
(main) Set jarfile to the argument when option
475
-i is parsed. Modified help string when no
476
action is given to include -i.
478
2007-02-04 Dalibor Topic <robilad@kaffe.org>
480
* jartool.c (build_index): Initialize
481
a ziplistentry's next_element with NULL
482
before passing it to add_list_entry to
483
fix a crash. Don't re-assign filename
484
of a zip entry with the index name, as
485
that turns directories into files, and
486
breaks the zip files.
488
2007-02-04 Olivier Jolly <olivier.jolly@pcedev.com>
490
* jartool.c: Enable fastjar to update an
491
existing .jar with an META-INF/INDEX.LIST
492
aka -i support. Still, it doesn't process
493
the MANIFEST.MF to index files coming from
496
2007-02-04 Dalibor Topic <robilad@kaffe.org>
498
* jartool.h (__attribute__): Explicitely
499
define it as a macro with one parameter.
500
That allows splint to be used for checking
503
2007-02-03 Dalibor Topic <robilad@kaffe.org>
505
* configure: Regenerated.
507
* configure.ac: Updated AC_INIT and
508
AM_INIT_AUTOMAKE to use the modern form.
511
2007-02-03 Dalibor Topic <robilad@kaffe.org>
513
* compress.c, compress.h, jargrep.c,
514
jartool.c, jartool.h, pushback.c,
515
zipfile.h: Removed Id and Log CVS tags.
517
2007-02-03 Dalibor Topic <robilad@kaffe.org>
519
* config.h.in, configure: Regenerated.
521
* configure.ac: Removed checks for type-widths.
522
Added checks for fixed size types.
524
* jartool.h: Use fixed size types to define u1,
525
u2 and u4. Include inttypes.h and stdint.h if
526
necessary. Guard the config.h include. Don't
529
2007-02-03 Dalibor Topic <robilad@kaffe.org>
531
* configure.ac: Use AC_CHECK_HEADERS_ONCE instead
532
of AC_CHECK_HEADERS. Use AC_CHECK_FUNCS_ONCE instead
535
* configure: Regenerated.
537
2007-02-03 Dalibor Topic <robilad@kaffe.org>
539
* compile, texinfo.tex: Added new generated files.
541
* INSTALL, Makefile.in, aclocal.m4, config.h.in,
542
configure, depcomp, install-sh, missing: Regenerated.
544
* acinclude.m4, configure.ac: Autoupdated with
547
* autogen.sh: Use autoreconf.
549
2007-02-03 Dalibor Topic <robilad@kaffe.org>
551
* .cvsignore: Added new file.
553
2007-02-03 Dalibor Topic <robilad@kaffe.org>
555
* README: Updated e-mail addresses, home pages,
556
added section headers, and a history section, and
559
2007-02-03 Dalibor Topic <robilad@kaffe.org>
561
* jartool.h [__GNUC__]: Only define __attribute__
562
if it is not already defined. That fixes the build
565
2007-02-03 Dalibor Topic <robilad@kaffe.org>
567
* jartool.c (list_jar): Added missing casts to fix
568
compiler warnings on Debian Sarge.
570
2006-08-07 Richard Guenther <rguenther@suse.de>
572
* jartool.c (extract_jar): Fix directory traversal fix,
573
handle "." path components.
575
2006-07-12 Richard Guenther <rguenther@suse.de>
577
* jartool.c (extract_jar): Do not allow directory traversal
578
to parents of the extraction root.
580
2006-05-27 Richard Guenther <rguenther@suse.de>
582
* fastjar.texi: Don't use gcc-vers.texi.
583
* Makefile.am: Don't generate it.
584
* Makefile.in: Re-generate.
586
2006-05-27 Richard Guenther <rguenther@suse.de>
588
* fastjar.texi: Pull in the only macro we need from
591
2006-05-27 Richard Guenther <rguenther@suse.de>
593
* texi2pod.pl: Copy from gcc/contrib.
595
2006-05-27 Richard Guenther <rguenther@suse.de>
597
* configure.ac: Change version to 0.92 from 0.92-gcc.
598
Remove configury for using in-tree zlib, instead always
599
require an installed zlib for build.
600
* Makefile.am: Remove gcc specific parts.
601
* configure: Re-generated.
602
* Makefile.in: Likewise.
603
* aclocal.m4: Likewise.
605
2006-05-27 Richard Guenther <rguenther@suse.de>
607
* jargrep.c: Include regex.h instead of xregex.h. Removes
608
dependency on internal libiberty includes.
610
2006-05-27 Richard Guenther <rguenther@suse.de>
612
* fastjar.texi: Correct menu entry for the now GFDL license.
614
2006-02-08 Thomas Fitzsimmons <fitzsim@redhat.com>
616
* jartool.h (ACTION_INDEX): New macro.
617
* jartool.c (main): Handle -i option.
618
* fastjar.texi (Invoking fastjar): Add description of -i option.
620
2006-01-31 Tom Tromey <tromey@redhat.com>
622
* jartool.c (version): Use 2006.
623
* jargrep.c (version): Use 2006.
625
2005-11-29 Tom Tromey <tromey@redhat.com>
627
* compress.c (write_data): Mark 'ze' as unused.
628
* jartool.h (__attribute__): New define.
629
* shift.c (shift_up): Added cast.
630
(shift_down): Likewise.
631
* jartool.c (help): Split string constant.
633
2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
635
* all files: Update FSF address.
637
2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
639
* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
640
Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
641
* Makefile.am: Remove ACLOCAL_AMFLAGS.
642
* aclocal.m4, Makefile.in, configure, config.h.in: Regenerate.
644
2005-03-28 Marcin Dalecki <martin@dalecki.de>
646
* jartool.c (main): Indentation fixlet.
647
(add_entry): Likewise.
648
(init_args): Don't use K&R style.
649
(jt_strdup): Likewise.
650
(get_next_arg): Add explicit '(void)'.
651
(init_headers): Likewise.
654
2005-03-15 Zack Weinberg <zack@codesourcery.com>
656
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
657
(BASEVER, DEVPHASE): New variables.
658
(POD2MAN): Adjust setting of --release option.
659
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
660
* Makefile.in: Regenerate.
661
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
662
* aclocal.m4, configure: Regenerate.
664
2004-12-02 Richard Sandiford <rsandifo@redhat.com>
666
* configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
667
* configure, aclocal.m4, Makefile.in: Regenerate.
669
2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
671
* Makefile.am: Remove -no-dependencies.
672
* Makefile.in: Regenerate.
674
2004-11-13 Kelley Cook <kcook@gcc.gnu.org>
676
* Makefile.am: Define ACLOCAL_AMFLAGS.
677
* acinclude.m4: Remove unnecessary sinclude.
678
* aclocal.m4, Makefile.in, configure: Regenerate (autoreconf 1.9.3).
680
2004-09-23 Tom Tromey <tromey@redhat.com>
682
* jartool.c (extract_jar): Unconditionally read extra data in the
683
entry header; don't read it after the file contents.
685
2004-08-11 Kelley Cook <kcook@gcc.gnu.org>
688
* Makefile.am: Force fastjar.info to be built in build directory.
689
* Makefile.in: Regenerate.
691
2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
693
* Makefile.am: Rename jar binary to fastjar.
694
* Makefile.in: Regenerate.
695
* fastjar.texi: Rename references to jar binary with fastjar.
697
2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
699
* jartool.c (main): Ensure that only one of ftruncate and _chsize
702
2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
705
* configure.ac: Check for ftruncate() and _chsize().
706
* jartool.c (main): Use _chsize if ftruncate not available.
707
* configure, config.h.in: Rebuilt.
709
2004-07-09 Richard Sandiford <rsandifo@redhat.com>
711
* jartool.c (find_entry, looks_like_dir): Remove inline spec.
713
2004-07-07 Matthias Klose <doko@debian.org>
715
* Makefile.am (jar_CPPFLAGS): Add AM_CPPFLAGS.
716
* Makefile.in: Regenerate.
718
2004-07-06 Matthias Klose <doko@debian.org>
720
* Makefile.in: Regenerate.
721
* fastjar.texi: Update for '-u'.
723
2004-07-06 Casey Marshall <csm@gnu.org>
727
(jar_SOURCES): added shift.c, shift.h.
728
(jar_CPPFLAGS): define WITH_SHIFT_DOWN.
732
(write_data): new function.
733
(compress_file): call write_data.
736
Updated copyright year.
737
(progname): new variable.
738
(end_of_entries): new variable.
739
(main): open and read file when updating.
740
(find_entry): new function.
741
(looks_like_dir): new function.
742
(read_entries): new function.
743
(make_manifest): added parameter `updating'.
744
Call `add_file_to_jar' with `updating'.
745
(add_to_jar_with_dir): added parameter `updating'.
746
Call `add_to_jar' with `updating'.
747
(add_to_jar): added parameter `updating'.
748
Call `add_file_to_jar' with `updating'.
749
Don't add directories if they already exist.
750
(add_file_to_jar): added parameter `updating'.
751
Update entries if they already exist.
754
Added #ifndef __FASTJAR_JARTOOL_H__.
755
(struct zipentry): added `flags'.
762
(CEN_FLAGS): new constant.
764
2004-07-05 Kelley Cook <kcook@gcc.gnu.org>
766
* Makefile.am: Silence two automake warnings.
767
* Makefile.in: Regenerate.
769
2004-06-25 Kelley Cook <kcook@gcc.gnu.org>
772
* configure.ac: Add check for long long.
773
* jartool.h: Check for long long before using it.
774
* configure: Regenerate
775
* config.h.in: Regenerate.
777
2004-06-15 Paolo Bonzini <bonzini@gnu.org>
779
* acinclude.m4: Quote first argument of AC_DEFUNs.
780
* aclocal.m4: Regenerate with automake 1.8.
781
* Makefile.in: Likewise.
782
* configure: Regenerate.
783
* .cvsignore: New file.
785
2004-04-12 Kelley Cook <kcook@gcc.gnu.org>
788
* configure.ac: Parse --enable-generated-files-in-srcdir.
789
* Makefile.am: Copy man and info files to srcdir if requested.
790
* configure: Regenerate.
791
* Makefile.in Regenerate.
793
2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
795
* configure.ac: Bump AC_PREREQ to 2.59.
796
* configure: Regenerate.
798
2004-03-09 Hans-Peter Nilsson <hp@axis.com>
800
* configure: Regenerate for config/accross.m4 correction.
802
2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
804
* configure.in: Rename file to ...
805
* configure.ac: ... this. Add in AC_PREREQ(2.57)
806
* config.h.in: Regenerate.
807
* aclocal.m4: Regenerate.
808
* Makefile.in: Regenerate.
810
2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
812
* jartool.c (make_manifest): Fix off-by-one bug when creating
813
an empty MANIFEST.MF.
815
2003-12-01 Kelley Cook <kcook@gcc.gnu.org>
817
* Makefile.am: Define AM_MAKINFOFLAGS. Remove Automake 1.4 hack.
818
* Makefile.in: Regenerate with automake 1.7.6 & autoconf 2.57 tools.
819
* aclocal.m4, config.h.in, configure: Likewise.
820
* install-sh, missing, mkinstalldirs, stamp-h.in: Remove.
822
2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
824
* .cvsignore: Delete.
826
2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
828
* Makefile.am (my_make_i_flags): Add $(srcdir) and update comment
830
(fastjar.info): Update target to write to build directory.
831
(%.1): New implicit rule from a .pod file.
834
(jar.pod): New intermediate rule.
835
(grepjar.pod): Likewise.
836
* Makefile.in: Regenerate.
838
2003-08-13 Matthias Klose <doko@debian.org>
840
* fastjar.texi: License manual under the GPL.
841
* Makefile.am: Remove reference to fdl.texi
842
* Makefile.in: Regenerate
844
2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
846
* mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
848
2003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
850
* README: Note that FastJar is not part of GCC.
852
2003-07-02 Nathanael Nerode <neroden@gcc.gnu.org>
855
* jartool.c (add_to_jar): Return 1 on failure to open file.
856
Split out -C case to:
857
* jartool.c (add_to_jar_with_dir): New function.
859
2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org>
862
* jartool.c (main) Give proper error messages with -C, and
863
check for missing arguments properly. Send error messages
865
* jartool.c (add_to_jar): Make getcwd() call portable,
866
and check for error return.
868
2003-03-30 Joseph S. Myers <jsm@polyomino.org.uk>
870
* fastjar.texi: Remove @ at start of file.
872
2003-03-10 Mohan Embar <gnustuff@thisiscool.com>
874
* dostime.c: add #include <stddef.h> for definition of NULL
876
2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
878
* fastjar.texi: Update to GFDL 1.2.
880
2003-01-31 Daiki Ueno <ueno@unixuser.org>
882
* jartool.c (extract_jar): Don't lseek to skip extra fields.
883
(consume): If the stream is seekable, do lseek.
885
2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
887
* jargrep.c: Include xregex.h from libiberty instead of
888
system regex.h for better portability.
890
2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
892
* jartool.c (list_jar): Terminate the 'ascii_date' buffer
893
with a '\0' to guard against the case where the formatted
894
time string is more than the size allowed by the buffer.
896
2003-01-14 Tom Tromey <tromey@redhat.com>
898
* config.h.in: Rebuilt.
900
2002-12-30 DJ Delorie <dj@redhat.com>
902
* Makefile.am (jar.1, grepjar.1): Protect against
903
texi2pod/pod2man failing.
904
* Makefile.in: Regenerated.
906
2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
908
* fastjar.texi: Include Cover Texts in man page.
910
2002-12-04 Jakub Jelinek <jakub@redhat.com>
912
* fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
914
2002-11-23 H.J. Lu <hjl@gnu.org>
916
* acinclude.m4: Include ../config/accross.m4.
917
(gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
918
(gcc_AC_EXAMINE_OBJECT): Removed.
919
(gcc_AC_C_COMPILE_ENDIAN): Removed.
920
* aclocal.m4; Rebuild.
922
* configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
923
Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
924
* configure: Likewise.
926
2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
928
* jartool.c (extract_jar): Use "open" with O_BINARY instead of
929
"creat" to create extracted files.
931
2002-11-11 Tom Tromey <tromey@redhat.com>
933
* dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
935
(unix2dostime): Handle years before 1980. Correctly compute month
938
2002-11-10 Jakub Jelinek <jakub@redhat.com>
940
* jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
943
* configure.in (AC_CHECK_HEADERS): Add limits.h.
944
* configure, config.h.in: Rebuilt.
946
2002-11-07 Tom Tromey <tromey@redhat.com>
948
* dostime.c: Rewrote from scratch.
949
* dostime.h (dostime): Removed.
951
2002-10-20 Tom Tromey <tromey@redhat.com>
953
* jartool.c: Use mode 0666 when opening new file.
955
2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
957
* jargrep.c (chk_wrd): Remove unused variable(s).
958
* jartool.c (main, create_central_header, list_jar): Likewise.
960
2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
962
* configure, config.h.in: Rebuilt.
963
* configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
965
2002-09-11 Tom Tromey <tromey@redhat.com>
967
* Makefile.in: Rebuilt.
968
* Makefile.am (TEXINFO_TEX): New macro.
969
(info_TEXINFOS): Likewise.
970
(fastjar_TEXINFOS): Likewise.
971
(man_MANS): Likewise.
972
(EXTRA_DIST): Likewise.
973
(my_makei_flags): Likewise.
974
(fastjar.info): New rule.
975
(fastjar_TEXINFOS): Don't mention `$(srcdir)'.
976
(TEXINFO_TEX): Likewise.
977
(AUTOMAKE_OPTIONS): Added `cygnus'.
979
2002-09-11 Matthias Klose <doko@debian.org>
981
* Makefile.am: Revert the previous patch.
982
* Makefile.in: Regenerated.
984
2002-09-10 Matthias Klose <doko@debian.org>
987
* Makefile.am: Support building info docs and manpages.
988
* Makefile.in: Regenerated.
989
* configure.in: Set gcc_version.
990
* configure: Regenerated.
991
* jargrep.c: Update usage and help strings.
993
2002-09-09 Tom Tromey <tromey@redhat.com>
995
* jartool.c (mkdir): Define.
996
* config.h.in: Rebuilt.
997
* aclocal.m4, configure: Rebuilt.
998
* acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
999
gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
1002
2002-09-04 Tom Tromey <tromey@redhat.com>
1004
From greenrd@hotmail.com:
1005
* jartool.c (list_jar): Correctly determine when new `filename'
1006
buffer must be allocated. Fixes PR java/7830.
1008
2002-06-03 Geoffrey Keating <geoffk@redhat.com>
1010
* configure.in: Support cross-compiling.
1011
* configure: Regenerate.
1012
* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
1013
(gcc_AC_EXAMINE_OBJECT): New.
1014
(fastjar_AC_COMPILE_C_BIGENDIAN): New.
1016
2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1018
* jartool.c (expand_options): Handle tar-style argument list with a
1021
2002-02-23 Anthony Green <green@redhat.com>
1023
* jartool.c (main): Fix handling of -C.
1025
2002-01-30 Tom Tromey <tromey@redhat.com>
1027
* jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
1030
2002-01-11 Tom Tromey <tromey@redhat.com>
1032
* Makefile.in: Rebuilt.
1033
* Makefile.am (AUTOMAKE_OPTIONS): New macro.
1035
2002-01-09 Tom Tromey <tromey@redhat.com>
1038
* jargrep.h: Removed RCS keywords.
1039
(GVERSION): Removed.
1040
* configure, Makefile.in, config.h.in: Rebuilt.
1041
* configure.in: Added AM_MAINTAINER_MODE.
1042
Don't look for getopt.h. Use `fastjar' as package name.
1043
* Makefile.am (INCLUDES): Look in ../include.
1044
(LIBIBERTY): New macro.
1045
(jar_LDADD): Use it.
1046
(jar_DEPENDENCIES): Likewise.
1047
(grepjar_LDADD): Likewise.
1048
(grepjar_DEPENDENCIES): Likewise.
1049
* jargrep.c: Removed RCS keywords. Always include getopt.h.
1050
(LONG_OPT): New macro.
1051
(OPT_HELP): Likewise.
1052
(main): Use getopt_long. Let getopt print invalid argument
1053
message. Handle --help. Use version().
1054
(version): New function.
1055
(optarg, optind): Don't declare.
1056
(option_vec): New global.
1057
(help): New function.
1058
(Usage): Updated to GNU standards.
1059
* jartool.c: Removed RCS keywords. Include getopt.h.
1060
(LONG_OPT): New macro.
1061
(OPT_HELP): Likewise.
1062
(options): New global.
1063
(help): New function.
1064
(usage): Print a single line.
1065
(version): New function.
1066
(expand_options): New function.
1067
(main): Use getopt_long and expand_options. Fail if `-u'
1068
specified. Changed handling of -f, -m, -V options.
1069
(OPTION_STRING): New macro.
1070
(version_string): Removed.
1072
2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
1075
* configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
1076
* Makefile.am: Move grepjar to bin_PROGRAMS.
1077
* config.h.in: Regenerated.
1078
* Makefile.in: Regenerated.
1079
* aclocal.m4: Regenerated.
1080
* stamp-h.in: Regenerated.
1081
* jargrep.c: Eliminate some signed/unsigned and default
1082
uninitialized warnings. Use HAVE_STDLIB_H instead of
1084
* jartool.c: Likewise.
1085
* compress.c: Likewise.
1087
2001-09-17 Tom Tromey <tromey@redhat.com>
1090
* aclocal.m4, configure, Makefile.in: Rebuilt.
1091
* configure.in: Added AC_EXEEXT.
1093
2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1095
* jatool.c (extract_jar): Account for null termination when determining
1096
whether to expand "filename".
1098
2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
1100
* jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
1103
2001-08-27 Tom Tromey <tromey@redhat.com>
1105
* jartool.c (jarfile): Remove length limitation.
1106
(main): Use jt_strdup when initializing jarfile.
1108
2001-07-04 Tom Tromey <tromey@redhat.com>
1110
Modified from patch by Julian Hall <jules@acris.co.uk>:
1111
* jartool.c (errno): Conditionally declare.
1112
(O_BINARY): Conditionally define.
1113
(main): Use open, not creat. Use O_BINARY everywhere.
1114
(make_manifest): Use O_BINARY.
1115
(add_to_jar): Likewise.
1117
2001-06-28 Tom Tromey <tromey@redhat.com>
1119
* configure: Rebuilt.
1120
* configure.in: Accept --with-system-zlib. Fixes PR java/3441.
1122
2001-05-15 Per Bothner <per@bothner.com>
1124
* Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
1126
2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
1128
* jartool.c (jt_strdup): New function.
1129
(get_next_arg): Use jt_strdup instead of strdup.
1131
2001-01-21 Tom Tromey <tromey@redhat.com>
1133
* Makefile.in: Rebuilt.
1134
* Makefile.am (bin_PROGRAMS): Remove grepjar.
1135
(EXTRA_PROGRAMS): New macro.
1137
2000-12-28 Robert Lipe <robertl@sco.com>
1139
* jartool.c (MAXPATHLEN): Provide if not defined.
1141
2000-12-15 Tom Tromey <tromey@redhat.com>
1142
Kelley Cook <kelleycook@home.com>
1144
* jargrep.c: Include getopt.h if it exists.
1146
* configure, config.h: Rebuilt.
1147
* configure.in: Check for getopt.h.
1149
2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1151
* configure.in (fastjar_warn_cflags): Set when using gcc.
1153
* Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
1155
2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1157
* compress.c: Include stdlib.h and compress.h.
1159
(report_str_error): Make static.
1160
(ez_inflate_str): Delete unused variable. Add parens in if-stmt.
1161
(hrd_inflate_str): Likewise.
1163
* compress.h (init_compression, end_compression, init_inflation,
1164
end_inflation): Prototype void arguments.
1166
* dostime.c (rcsid): Delete.
1168
* jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
1169
Make functions static. Cast ctype function argument to `unsigned
1170
char'. Add parens in if-stmts. Constify.
1171
(Usage): Change into a macro.
1172
(jargrep): Remove unused parameter.
1174
* jartool.c: Constify. Add parens in if-stmts. Align
1175
signed/unsigned char pointers in functions calls using casts.
1177
(list_jar): Fix printf format specifier.
1178
(usage): Chop long string into bits. Reformat.
1180
* pushback.c (rcsid): Delete.
1182
2000-12-13 Tom Tromey <tromey@redhat.com>
1184
* jartool.c (extract_jar): Use strchr, not index.
1186
2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
1188
* install-defs.sh: Removed.
1190
2000-12-10 Robert Lipe <robertlipe@usa.net>
1192
* jargrep.c (jargrep): Added null statement after case.
1194
2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
1196
* Makefile: Removed.
1197
* Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
1199
Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
1201
* Makefile.am: New file.
1202
* Makefile.in: Rebuilt.
1203
* aclocal.m4: Likewise.
1204
* stamp-h.in: Likewise.
1205
* config.h.in: Likewise.
1206
* configure.in (AM_INIT_AUTOMAKE): Added.
1207
(AM_CONFIG_HEADER): Likewise.
1208
(AC_CHECK_HEADERS): Check for sys/param.h
1209
(AC_CHECK_LIB): Don't check for system's zlib.
1210
(AC_CHECK_FUNC): Removed system's zlib function checks.
1211
(ZDEPS. ZLIBS, ZINCS): Added.
1212
* configure: Rebuilt.
1213
* jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
1214
(init_args, get_next_arg): New function.
1215
(use_explicit_list_only, read_names_from_stdin): New global
1216
(main): Parse new non standard options 'E' and '@', check and
1217
report their usage if necessary. Use init_args and get_next_arg.
1219
(add_to_jar): Don't read directory content if `use_explicit_list_only'.
1220
(usage): Added `-E' and `-@'.
1221
* jartool.h (VERSION): Macro removed.
1223
Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
1225
* fastjar imported from sourceforge.net/projects/fastjar with
1226
Bryan Burns' permission. Check `CHANGES' for post import changes.
1227
* ChangeLog: Created.
1229
* mkinstalldirs: Likewise.
1230
* COPYING: Likewise.
1231
* AUTHORS: Likewise.