]> git.ipfire.org Git - thirdparty/gcc.git/blame - fastjar/ChangeLog
Merge basic-improvements-branch to trunk
[thirdparty/gcc.git] / fastjar / ChangeLog
CommitLineData
3a45705a
JJ
12002-12-04 Jakub Jelinek <jakub@redhat.com>
2
3 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
4
4977bab6
ZW
52002-11-23 H.J. Lu <hjl@gnu.org>
6
7 * acinclude.m4: Include ../config/accross.m4.
8 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
9 (gcc_AC_EXAMINE_OBJECT): Removed.
10 (gcc_AC_C_COMPILE_ENDIAN): Removed.
11 * aclocal.m4; Rebuild.
12
13 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
14 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
15 * configure: Likewise.
16
7fe75c03
RM
172002-11-21 Ranjit Mathew <rmathew@hotmail.com>
18
19 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
20 "creat" to create extracted files.
21
90e76e86
TT
222002-11-11 Tom Tromey <tromey@redhat.com>
23
24 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
25 compute month.
26 (unix2dostime): Handle years before 1980. Correctly compute month
27 and day of month.
28
99c49d11 292002-11-10 Jakub Jelinek <jakub@redhat.com>
9d8f417b
JJ
30
31 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
32 non-NULL.
33
34 * configure.in (AC_CHECK_HEADERS): Add limits.h.
35 * configure, config.h.in: Rebuilt.
36
eeff4ca3
TT
372002-11-07 Tom Tromey <tromey@redhat.com>
38
39 * dostime.c: Rewrote from scratch.
40 * dostime.h (dostime): Removed.
41
248cfd1c
TT
422002-10-20 Tom Tromey <tromey@redhat.com>
43
44 * jartool.c: Use mode 0666 when opening new file.
45
4977bab6
ZW
462002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
47
48 * jargrep.c (chk_wrd): Remove unused variable(s).
49 * jartool.c (main, create_central_header, list_jar): Likewise.
50
b4258f06
RM
512002-10-15 Ranjit Mathew <rmathew@hotmail.com>
52
53 * configure, config.h.in: Rebuilt.
54 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
55
09bfbc1c
TT
562002-09-11 Tom Tromey <tromey@redhat.com>
57
58 * Makefile.in: Rebuilt.
59 * Makefile.am (TEXINFO_TEX): New macro.
60 (info_TEXINFOS): Likewise.
61 (fastjar_TEXINFOS): Likewise.
62 (man_MANS): Likewise.
63 (EXTRA_DIST): Likewise.
64 (my_makei_flags): Likewise.
65 (fastjar.info): New rule.
66 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
67 (TEXINFO_TEX): Likewise.
68 (AUTOMAKE_OPTIONS): Added `cygnus'.
69
0fc76fb5
MK
702002-09-11 Matthias Klose <doko@debian.org>
71
72 * Makefile.am: Revert the previous patch.
73 * Makefile.in: Regenerated.
74
42ac7b6d
MK
752002-09-10 Matthias Klose <doko@debian.org>
76
77 * fastjar.texi: New.
78 * Makefile.am: Support building info docs and manpages.
79 * Makefile.in: Regenerated.
80 * configure.in: Set gcc_version.
81 * configure: Regenerated.
82 * jargrep.c: Update usage and help strings.
83
9251acb4
TT
842002-09-09 Tom Tromey <tromey@redhat.com>
85
86 * jartool.c (mkdir): Define.
87 * config.h.in: Rebuilt.
88 * aclocal.m4, configure: Rebuilt.
89 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
90 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
91 aclocal.m4.
92
a038cc83
TT
932002-09-04 Tom Tromey <tromey@redhat.com>
94
95 From greenrd@hotmail.com:
96 * jartool.c (list_jar): Correctly determine when new `filename'
97 buffer must be allocated. Fixes PR java/7830.
98
824030c6
GK
992002-06-03 Geoffrey Keating <geoffk@redhat.com>
100
101 * configure.in: Support cross-compiling.
102 * configure: Regenerate.
103 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
104 (gcc_AC_EXAMINE_OBJECT): New.
105 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
106
38cb4e84
BM
1072002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
108
109 * jartool.c (expand_options): Handle tar-style argument list with a
110 leading "-".
111
b9f8d427
AG
1122002-02-23 Anthony Green <green@redhat.com>
113
114 * jartool.c (main): Fix handling of -C.
115
250fce1d
TT
1162002-01-30 Tom Tromey <tromey@redhat.com>
117
118 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
119 to init_args.
120
4abedabd
TT
1212002-01-11 Tom Tromey <tromey@redhat.com>
122
123 * Makefile.in: Rebuilt.
124 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
125
7a93476d
TT
1262002-01-09 Tom Tromey <tromey@redhat.com>
127
128 For PR libgcj/5303:
129 * jargrep.h: Removed RCS keywords.
130 (GVERSION): Removed.
131 * configure, Makefile.in, config.h.in: Rebuilt.
132 * configure.in: Added AM_MAINTAINER_MODE.
133 Don't look for getopt.h. Use `fastjar' as package name.
134 * Makefile.am (INCLUDES): Look in ../include.
135 (LIBIBERTY): New macro.
136 (jar_LDADD): Use it.
137 (jar_DEPENDENCIES): Likewise.
138 (grepjar_LDADD): Likewise.
139 (grepjar_DEPENDENCIES): Likewise.
140 * jargrep.c: Removed RCS keywords. Always include getopt.h.
141 (LONG_OPT): New macro.
142 (OPT_HELP): Likewise.
143 (main): Use getopt_long. Let getopt print invalid argument
144 message. Handle --help. Use version().
145 (version): New function.
146 (optarg, optind): Don't declare.
147 (option_vec): New global.
148 (help): New function.
149 (Usage): Updated to GNU standards.
150 * jartool.c: Removed RCS keywords. Include getopt.h.
151 (LONG_OPT): New macro.
152 (OPT_HELP): Likewise.
153 (options): New global.
154 (help): New function.
155 (usage): Print a single line.
156 (version): New function.
157 (expand_options): New function.
158 (main): Use getopt_long and expand_options. Fail if `-u'
159 specified. Changed handling of -f, -m, -V options.
160 (OPTION_STRING): New macro.
161 (version_string): Removed.
162
79801091
CR
1632001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
164
165 PR bootstrap/5117
166 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
167 * Makefile.am: Move grepjar to bin_PROGRAMS.
168 * config.h.in: Regenerated.
169 * Makefile.in: Regenerated.
fa4723ba
CR
170 * aclocal.m4: Regenerated.
171 * stamp-h.in: Regenerated.
79801091 172 * jargrep.c: Eliminate some signed/unsigned and default
4977bab6 173 uninitialized warnings. Use HAVE_STDLIB_H instead of
79801091
CR
174 STDC_HEADERS macro.
175 * jartool.c: Likewise.
176 * compress.c: Likewise.
177
645ca343
TT
1782001-09-17 Tom Tromey <tromey@redhat.com>
179
180 For PR java/4295:
181 * aclocal.m4, configure, Makefile.in: Rebuilt.
182 * configure.in: Added AC_EXEEXT.
183
ac43be73
BM
1842001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
185
186 * jatool.c (extract_jar): Account for null termination when determining
187 whether to expand "filename".
188
51a25585
APB
1892001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
190
191 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
192 Fixes PR java/3949.
193
c5bb59c1
TT
1942001-08-27 Tom Tromey <tromey@redhat.com>
195
196 * jartool.c (jarfile): Remove length limitation.
197 (main): Use jt_strdup when initializing jarfile.
198
72ea889a
TT
1992001-07-04 Tom Tromey <tromey@redhat.com>
200
201 Modified from patch by Julian Hall <jules@acris.co.uk>:
202 * jartool.c (errno): Conditionally declare.
203 (O_BINARY): Conditionally define.
204 (main): Use open, not creat. Use O_BINARY everywhere.
205 (make_manifest): Use O_BINARY.
206 (add_to_jar): Likewise.
207
d475215a
TT
2082001-06-28 Tom Tromey <tromey@redhat.com>
209
210 * configure: Rebuilt.
211 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
212
7332066b
PB
2132001-05-15 Per Bothner <per@bothner.com>
214
4977bab6 215 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
7332066b 216
0ee6e0a9
JDA
2172001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
218
219 * jartool.c (jt_strdup): New function.
220 (get_next_arg): Use jt_strdup instead of strdup.
221
a09b9232
TT
2222001-01-21 Tom Tromey <tromey@redhat.com>
223
224 * Makefile.in: Rebuilt.
225 * Makefile.am (bin_PROGRAMS): Remove grepjar.
226 (EXTRA_PROGRAMS): New macro.
347d73aa
RL
227
2282000-12-28 Robert Lipe <robertl@sco.com>
229
230 * jartool.c (MAXPATHLEN): Provide if not defined.
231
6bd1914e 2322000-12-15 Tom Tromey <tromey@redhat.com>
4977bab6 233 Kelley Cook <kelleycook@home.com>
6bd1914e
TT
234
235 * jargrep.c: Include getopt.h if it exists.
236 (optind): Declare.
237 * configure, config.h: Rebuilt.
238 * configure.in: Check for getopt.h.
239
37729557
KG
2402000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
241
242 * configure.in (fastjar_warn_cflags): Set when using gcc.
243
244 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
245
990bee10
KG
2462000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
247
248 * compress.c: Include stdlib.h and compress.h.
249 (rcsid): Delete.
250 (report_str_error): Make static.
251 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
252 (hrd_inflate_str): Likewise.
253
254 * compress.h (init_compression, end_compression, init_inflation,
255 end_inflation): Prototype void arguments.
256
257 * dostime.c (rcsid): Delete.
258
259 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
260 Make functions static. Cast ctype function argument to `unsigned
261 char'. Add parens in if-stmts. Constify.
262 (Usage): Change into a macro.
263 (jargrep): Remove unused parameter.
264
265 * jartool.c: Constify. Add parens in if-stmts. Align
266 signed/unsigned char pointers in functions calls using casts.
267 (rcsid): Delete.
268 (list_jar): Fix printf format specifier.
269 (usage): Chop long string into bits. Reformat.
270
271 * pushback.c (rcsid): Delete.
272
b114d8ed
TT
2732000-12-13 Tom Tromey <tromey@redhat.com>
274
275 * jartool.c (extract_jar): Use strchr, not index.
276
fb72e395
APB
2772000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
278
279 * install-defs.sh: Removed.
280
a0932f7d
APB
2812000-12-10 Robert Lipe <robertlipe@usa.net>
282
283 * jargrep.c (jargrep): Added null statement after case.
284
2852000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
286
287 * Makefile: Removed.
288 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
289
bd8757b3
APB
290Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
291
292 * Makefile.am: New file.
293 * Makefile.in: Rebuilt.
294 * aclocal.m4: Likewise.
295 * stamp-h.in: Likewise.
296 * config.h.in: Likewise.
297 * configure.in (AM_INIT_AUTOMAKE): Added.
298 (AM_CONFIG_HEADER): Likewise.
299 (AC_CHECK_HEADERS): Check for sys/param.h
300 (AC_CHECK_LIB): Don't check for system's zlib.
301 (AC_CHECK_FUNC): Removed system's zlib function checks.
302 (ZDEPS. ZLIBS, ZINCS): Added.
303 * configure: Rebuilt.
304 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
305 (init_args, get_next_arg): New function.
306 (use_explicit_list_only, read_names_from_stdin): New global
307 (main): Parse new non standard options 'E' and '@', check and
308 report their usage if necessary. Use init_args and get_next_arg.
309 Fixed indentation.
310 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
311 (usage): Added `-E' and `-@'.
312 * jartool.h (VERSION): Macro removed.
313
314Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
315
316 * fastjar imported from sourceforge.net/projects/fastjar with
317 Bryan Burns' permission. Check `CHANGES' for post import changes.
318 * ChangeLog: Created.
319 * NEWS: Likewise.
320 * mkinstalldirs: Likewise.
321 * COPYING: Likewise.
322 * AUTHORS: Likewise.