1.1.4
by Matthias Klose
Import upstream version 0.98 |
1 |
2009-09-06 Arthur Loiret <arthur.loiret@gmail.com> |
2 |
* jartool.c (make_manifest): Fix segfault. |
|
3 |
||
1.1.3
by Matthias Klose
Import upstream version 0.97 |
4 |
2008-10-16 Dalibor Topic <robilad@kaffe.org> |
5 |
||
6 |
* Makefile.am (pscan, flawfinder, rats, splint): Fixed to work when |
|
7 |
builddir != srcdir. |
|
8 |
||
9 |
2008-10-16 Dalibor Topic <robilad@kaffe.org> |
|
10 |
||
11 |
* m4/ax_cflags_gcc_option.m4, m4/ax_cflags_warn_all.m4: |
|
12 |
Added new files from autoconf-archive. |
|
13 |
* Makefile.am (AM_CFLAGS): Removed. |
|
14 |
* configure.ac (AX_CFLAGS_WARN_ALL, AX_CFLAGS_GCC_OPTION) Added. |
|
15 |
(fastjar_warn_cflags) Removed. |
|
16 |
||
17 |
2008-10-16 Dalibor Topic <robilad@kaffe.org> |
|
18 |
||
19 |
* jargrep.c, shift.c: Add guards for inclusion of unistd.h. |
|
20 |
shift.c: Include config.h. |
|
21 |
||
22 |
2008-10-12 Dalibor Topic <robilad@kaffe.org> |
|
23 |
||
24 |
* Makefile.am (AM_CPPFLAGS): Added generated headers from |
|
25 |
gnulib. Fix for fastjar bug #20061. |
|
26 |
||
27 |
2008-10-12 Dalibor Topic <robilad@kaffe.org> |
|
28 |
||
29 |
* jartool.c (exit_on_error): New function. |
|
30 |
(main, get_next_arg, looks_like_dir, make_manifest, |
|
31 |
add_to_jar_with_dir, add_to_jar, add_file_to_jar, |
|
32 |
create_central_header, extract_jar, list_jar, consume, |
|
33 |
add_array_to_jar, get_index_entry) Use exit_on_error, |
|
34 |
and handle ftrucate and write error conditions. |
|
35 |
||
36 |
2008-09-17 Dalibor Topic <robilad@kaffe.org> |
|
37 |
||
38 |
* jargrep.c (check_crc, check_sig): Use C99's uint32_t instead of ub4. |
|
39 |
||
40 |
2008-09-17 Dalibor Topic <robilad@kaffe.org> |
|
41 |
||
42 |
* jartool.c (extract_jar): Use C99's uint32_t instead of ub4. |
|
43 |
||
44 |
2008-09-17 Dalibor Topic <robilad@kaffe.org> |
|
45 |
||
46 |
* jartool.c (make_manifest): Initialize mod_time before use. |
|
47 |
||
48 |
2008-09-17 Xerxes RĂ„nby <xerxes@zafena.se> |
|
49 |
||
50 |
* jartool.c (extract_jar): Corrected size passed to realloc |
|
51 |
to prevent memory overwrite. Reported as Debian bug #499015. |
|
52 |
Fixed memory leak. |
|
53 |
||
54 |
2008-09-15 Dalibor Topic <robilad@kaffe.org> |
|
55 |
||
56 |
* jartool.c (make_manifest): Only create META-INF dir when a new |
|
57 |
manifest is created, not on updates. Reported as Debian bug #489418. |
|
58 |
||
59 |
2008-09-14 Dalibor Topic <robilad@kaffe.org> |
|
60 |
||
61 |
* configure.ac, fastjar.texi, README, NEWS: Bumped version up to 0.97. |
|
62 |
||
63 |
2008-09-14 Dalibor Topic <robilad@kaffe.org> |
|
64 |
||
65 |
* lib/snprintf.h, lib/string.h: Removed unused files. |
|
66 |
||
67 |
2008-09-14 Dalibor Topic <robilad@kaffe.org> |
|
68 |
||
69 |
* lib/alloca_.h, lib/getopt_.h, lib/stdbool_.h, lib/stdint_.h, |
|
70 |
lib/stdio_.h, lib/string_.h, lib/unistd_.h, lib/wchar_.h, |
|
71 |
lib/wctype_.h: Removed no longer used files. |
|
72 |
||
73 |
2008-09-14 Dalibor Topic <robilad@kaffe.org> |
|
74 |
||
75 |
* lib/wctype.in.h, lib/wchar.in.h, lib/unistd.in.h, lib/string.in.h, |
|
76 |
lib/stdlib.in.h, lib/stdio.in.h, lib/stdint.in.h, lib/stdbool.in.h, |
|
77 |
lib/getopt.in.h, lib/float.in.h, lib/float+.h, lib/alloca.in.h: |
|
78 |
Added missing files. |
|
79 |
||
80 |
2008-09-14 Dalibor Topic <robilad@kaffe.org> |
|
81 |
||
82 |
* lib/.cvsignore : Removed. |
|
83 |
||
84 |
2008-09-14 Dalibor Topic <robilad@kaffe.org> |
|
85 |
||
86 |
* Makefile.am (LDADD): Fixed build on cygwin. |
|
87 |
||
1.1.2
by Matthias Klose
Import upstream version 0.96 |
88 |
2008-08-14 Dalibor Topic <robilad@kaffe.org> |
89 |
||
90 |
* NEWS: Updated for Joshua Sumali's fix. |
|
91 |
||
92 |
2008-08-14 Joshua Sumali <jsumali@redhat.com> |
|
93 |
||
94 |
* jartool.c: Made it more compatible with OpenJDK. |
|
95 |
||
96 |
Originally, files underneath a directory were not extracted, so full path names |
|
97 |
had to be specified. Also directory names had to be specified as 'dirname/' to |
|
98 |
be extracted, which should be just 'dirname'. Fixed this behaviour. |
|
99 |
||
100 |
2008-08-06 Dalibor Topic <robilad@kaffe.org> |
|
101 |
||
102 |
* README: Updated the options and features list. |
|
103 |
||
104 |
2008-08-06 Dalibor Topic <robilad@kaffe.org> |
|
105 |
||
106 |
* configure.ac (AC_INIT), fastjar.texi, README, NEWS: |
|
107 |
Bumped version to 0.96. Autoupdated. |
|
108 |
||
109 |
* fastjar.texi: Added 2008 to copyright years. |
|
110 |
||
111 |
* .cvsignore, INSTALL, aclocal.m4, config.guess, config.h.in, |
|
112 |
config.sub, configure, depcomp, install-sh, ltmain.sh, |
|
113 |
texinfo.tex, lib/.cvsignore, lib/Makefile.am, lib/Makefile.in, |
|
114 |
lib/alloca.c, lib/asnprintf.c, lib/config.charset, lib/getopt.c, |
|
115 |
lib/getopt1.c, lib/getopt_int.h, lib/gettext.h, |
|
116 |
lib/localcharset.c, lib/localcharset.h, lib/malloc.c, |
|
117 |
lib/printf-args.c, lib/printf-args.h, lib/printf-parse.c, |
|
118 |
lib/printf-parse.h, lib/ref-add.sin, lib/ref-del.sin, |
|
119 |
lib/regcomp.c, lib/regex.c, lib/regex.h, lib/regex_internal.c, |
|
120 |
lib/regex_internal.h, lib/regexec.c, lib/size_max.h, |
|
121 |
lib/snprintf.c, lib/strdup.c, lib/vasnprintf.c, |
|
122 |
lib/vasnprintf.h, lib/xsize.h, m4/.cvsignore, |
|
123 |
m4/alloca.m4, m4/extensions.m4, m4/getopt.m4, |
|
124 |
m4/gnulib-cache.m4, m4/gnulib-common.m4, |
|
125 |
m4/gnulib-comp.m4, m4/gnulib-tool.m4, m4/intmax_t.m4, |
|
126 |
m4/libtool.m4, m4/longlong.m4, m4/ltoptions.m4, |
|
127 |
m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4, |
|
128 |
m4/regex.m4, m4/snprintf.m4, m4/stdint.m4, |
|
129 |
m4/stdio_h.m4, m4/string_h.m4, m4/unistd_h.m4 |
|
130 |
m4/vasnprintf.m4, m4/wchar.m4, m4/wctype.m4, |
|
131 |
m4/wint_t.m4: Regenerated. |
|
132 |
||
133 |
2008-08-06 Matthias Klose <doko@ubuntu.com> |
|
134 |
||
135 |
Implemented @file support. |
|
136 |
||
137 |
* Makefile.am (libfastjar_convenience_la_SOURCES): |
|
138 |
Added argv.c and argv.h. |
|
139 |
||
140 |
* Makefile.in: Regenerated. |
|
141 |
||
142 |
* jartool.c (OPTION_STRING) Added -J option. |
|
143 |
(main) Expand @file arguments in the argument list |
|
144 |
before processing the list. Ignore -J option. |
|
145 |
(help) Documented -J and @file options. |
|
146 |
||
147 |
* fastjar.texi: Documented -J and @file options. |
|
148 |
||
149 |
* argv.c, argv.h: New files. |
|
150 |
||
151 |
2007-03-31 Dalibor Topic <robilad@kaffe.org> |
|
152 |
||
153 |
* NEWS: Added news since 0.95. |
|
154 |
||
155 |
2007-03-31 Dalibor Topic <robilad@kaffe.org> |
|
156 |
||
157 |
* Makefile.in, |
|
158 |
config.h.in |
|
159 |
configure
|
|
160 |
lib/Makefile.am |
|
161 |
lib/Makefile.in |
|
162 |
lib/alloca_.h |
|
163 |
lib/getopt_.h |
|
164 |
lib/printf-parse.c |
|
165 |
lib/regexec.c |
|
166 |
lib/snprintf.c |
|
167 |
lib/stdbool_.h |
|
168 |
lib/stdint_.h |
|
169 |
lib/stdio_.h |
|
170 |
lib/string.h |
|
171 |
lib/string_.h |
|
172 |
lib/vasnprintf.c |
|
173 |
lib/vasnprintf.h |
|
174 |
m4/gnulib-comp.m4 |
|
175 |
m4/snprintf.m4 |
|
176 |
m4/stdio_h.m4 |
|
177 |
m4/vasnprintf.m4: |
|
178 |
Updated and regenerated. |
|
179 |
||
180 |
2007-03-18 Dalibor Topic <robilad@kaffe.org> |
|
181 |
||
182 |
* jargrep.c, jartool.c: Don't include snprintf.h any more. |
|
183 |
||
184 |
* lib/Makefile.am, |
|
185 |
lib/Makefile.in, |
|
186 |
lib/snprintf.c, |
|
187 |
lib/string.h, |
|
188 |
lib/string_.h, |
|
189 |
lib/unistd_.h, |
|
190 |
lib/vasnprintf.c, |
|
191 |
m4/gnulib-comp.m4, |
|
192 |
m4/regex.m4, |
|
193 |
m4/snprintf.m4, |
|
194 |
m4/string_h.m4, |
|
195 |
m4/unistd_h.m4: |
|
196 |
Updated. |
|
197 |
||
198 |
* aclocal.m4, |
|
199 |
config.h.in, |
|
200 |
configure, |
|
201 |
Makefile.in: Regenerated. |
|
202 |
||
203 |
2007-02-28 Dalibor Topic <robilad@kaffe.org> |
|
204 |
||
205 |
* Makefile.am (EXTRA_DIST): Added CHANGES. Reformatted. |
|
206 |
||
207 |
Reported by: Petteri RĂ€ty <betelgeuse@gentoo.org> |
|
208 |
||
209 |
2007-02-28 Dalibor Topic <robilad@kaffe.org> |
|
210 |
||
211 |
* jartool.c (extract_jar): Exit if write call fails. |
|
212 |
Added casts. |
|
213 |
(list_jar) Added casts. |
|
214 |
||
215 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
216 |
||
217 |
* jartool.c (list_jar): Cast usize to unsigned long before |
|
218 |
printing it. Changed its format modifier accordingly. |
|
219 |
||
220 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
221 |
||
222 |
* jartool.c (list_jar): Added local read_amt variable. |
|
223 |
Use read_amt to check if the read calls returned an error |
|
224 |
or didn't read the desired number of bytes. Exit if |
|
225 |
filename allocation fails. Added missing cast to ub1. |
|
226 |
||
227 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
228 |
||
229 |
* jartool.c (list_jar): Changed filename_len to ub2. |
|
230 |
||
231 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
232 |
||
233 |
* jartool.c (extract_jar): Changed filename_len to ub2. |
|
234 |
||
235 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
236 |
||
237 |
* jartool.c (list_jar): Exit if strftime call fails. |
|
238 |
||
239 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
240 |
||
241 |
* jartool.c (list_jar): Changed i to ub2. |
|
242 |
||
243 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
244 |
||
245 |
* TODO: Updated. |
|
246 |
||
247 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
248 |
||
249 |
* jartool.c (list_jar): Introduced local variable |
|
250 |
central_header_offset. |
|
251 |
||
252 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
253 |
||
254 |
* jartool.c (consume): Allocate buff dynamically, |
|
255 |
rather than on the stack. |
|
256 |
||
257 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
258 |
||
259 |
* jartool.c (consume): Documented function. |
|
260 |
||
261 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
262 |
||
263 |
* jartool.c (consume): Use tc to report consumed bytes |
|
264 |
in all cases. |
|
265 |
||
266 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
267 |
||
268 |
* jartool.c (extract_jar): Use consume instead of pb_read |
|
269 |
to consume unneeded bytes. |
|
270 |
||
271 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
272 |
||
273 |
* jartool.c (consume): Changed to return void. |
|
274 |
Removed unused return statement. |
|
275 |
||
276 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
277 |
||
278 |
* compress.c (inflate_file): Removed code handling |
|
279 |
negative return value from pb_read, since it is always |
|
280 |
non-negative. |
|
281 |
||
282 |
2007-02-18 Dalibor Topic <robilad@kaffe.org> |
|
283 |
||
284 |
* pushback.h (pb_read): Added documentation. |
|
285 |
* pushback.c: Added myself to authors. |
|
286 |
||
287 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
288 |
||
289 |
* pushback.c (pb_read): Exit if read fails. |
|
290 |
||
291 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
292 |
||
293 |
* jartool.c (consume): Exit if lseek fails. |
|
294 |
||
295 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
296 |
||
297 |
* jartool.c (consume): Changed amt and tc to size_t. |
|
298 |
||
299 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
300 |
||
301 |
* jartool.c (list_jar): Changed rdamt to size_t. |
|
302 |
(expand_options) Changed new_argc, args_to_expand to size_t. |
|
303 |
Added corresponding cast. |
|
304 |
||
305 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
306 |
||
307 |
* jartool.c (add_array_to_jar): Exit if write fails. |
|
308 |
||
309 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
310 |
||
311 |
* jartool.c (get_next_arg): Changed len and pos to size_t. |
|
312 |
||
313 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
314 |
||
315 |
* Makefile.am (SPLINT_FLAGS): Include headers in lib directory. |
|
316 |
* Makefile.in: Regenerated. |
|
317 |
||
318 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
319 |
||
320 |
* jargrep.c (main): Use strdup instead of strcpy. |
|
321 |
* jartool.c (make_manifest, add_to_jar, add_file_to_jar, |
|
322 |
add_array_to_jar): Use strdup and strncpy instead of strcpy. |
|
323 |
||
324 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
325 |
||
326 |
* lib/Makefile.am, lib/strdup.c, lib/string_.h |
|
327 |
m4/gnulib-cache.m4, m4/gnulib-comp.m4, m4/strdup.m4 |
|
328 |
m4/string_h.m4: Imported strdup module from gnulib. |
|
329 |
||
330 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
331 |
||
332 |
* jartool.c (jt_strdup): Removed. |
|
333 |
(get_next_arg, expand_options) Use strdup. |
|
334 |
||
335 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
336 |
||
337 |
* lib/dummy.c, lib/strcasecmp.c, lib/string_.h, lib/strncasecmp.c, |
|
338 |
m4/strcase.m4, m4/string_h.m4: Removed. |
|
339 |
||
340 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
341 |
||
342 |
* Makefile.in, aclocal.m4, config.h.in, configure, |
|
343 |
lib/Makefile.am, lib/Makefile.in, lib/asnprintf.c, |
|
344 |
lib/config.charset, lib/localcharset.c, lib/localcharset.h, |
|
345 |
lib/printf-args.c. lib/printf-args.h, lib/printf-parse.c, |
|
346 |
lib/printf-parse.h, lib/ref-add.sin, lib/ref-del.sin, |
|
347 |
lib/regcomp.c, lib/regex_internal.h, lib/size_max.h, |
|
348 |
lib/snprintf.c, lib/snprintf.h, lib/string.h, |
|
349 |
lib/vasnprintf.c, lib/vasnprintf.h, lib/xsize.h, |
|
350 |
m4/eoverflow.m4, m4/glibc21.m4, m4/gnulib-cache.m4, |
|
351 |
m4/gnulib-comp.m4, m4/intmax_t.m4, m4/inttypes_h.m4, |
|
352 |
m4/localcharset.m4, m4/longdouble.m4, m4/regex.m4, |
|
353 |
m4/size_max.m4, m4/snprintf.m4, m4/stdint_h.m4, |
|
354 |
m4/vasnprintf.m4, m4/wchar_t.m4, m4/xsize.m4: |
|
355 |
Import snprintf module from gnulib. |
|
356 |
||
357 |
* jargrep.c, jartool.c: Include "snprintf.h". |
|
358 |
||
359 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
360 |
||
361 |
* jargrep.c (extract_line): Use snprintf. |
|
362 |
* jartool.c (make_manifest, build_index): Use snprintf. |
|
363 |
||
364 |
2007-02-15 Dalibor Topic <robilad@kaffe.org> |
|
365 |
||
366 |
* compress.c (write_data): Return ssize_t. |
|
367 |
(init_compression) Init zs.zalloc and zs.zfree with NULL. |
|
368 |
(compress_file) Changed rdamt, wramt to size_t. Changed |
|
369 |
rtval to ssize_t. Added local variable num_written. |
|
370 |
Added missing casts. Added checks if num_written is -1. |
|
371 |
(init_inflation) Init zs.zalloc and zs.zfree with NULL. |
|
372 |
(inflate_file) Changed rdamt to size_t. Added local |
|
373 |
variable num_pushed. Added missing casts. Use new local |
|
374 |
vars num_written and num_to_write. Added checks if |
|
375 |
num_written is -1. Exit if pushback fails. |
|
376 |
(ez_inflate_str) Changed rdamt to size_t. Added missing |
|
377 |
casts. Changed fprintf format string to use unsigned longs, |
|
378 |
and added casts for parameters. |
|
379 |
(hrd_inflate_str) Changed rdamt and i to size_t. |
|
380 |
Added local variable num_pushed. Added missing casts. |
|
381 |
||
382 |
2007-02-14 Dalibor Topic <robilad@kaffe.org> |
|
383 |
||
384 |
* Makefile.am (fastjar_SOURCES): Moved jartool.h ... |
|
385 |
(libfastjar_convenience_la_SOURCES) ... to here. |
|
386 |
||
387 |
2007-02-14 Dalibor Topic <robilad@kaffe.org> |
|
388 |
||
389 |
* dostime.c (dos2unixtime): Added casts to int. |
|
390 |
(unix2dostime) Added casts to ub4. |
|
391 |
* dostime.h (dos2unixtime, unix2dostime): Changed |
|
392 |
prototypes to use ub4 instead of unsigned long. |
|
393 |
||
394 |
2007-02-14 Dalibor Topic <robilad@kaffe.org> |
|
395 |
||
396 |
* jartool.c (extract_jar): Changed rdamt to size_t. |
|
397 |
* pushback.c (pb_push): Changed in_amt, wrap to size_t. |
|
398 |
Added a size_t cast, and removed an int cast. |
|
399 |
(pb_read) Changed out_amt, wrap, tmp to size_t. |
|
400 |
Added a size_t cast, and removed an int cast. |
|
401 |
Added new variable num_read. |
|
402 |
* pushback.h (pb_push, pb_read): Changed prototypes |
|
403 |
to use size_t. |
|
404 |
||
405 |
2007-02-14 Dalibor Topic <robilad@kaffe.org> |
|
406 |
||
407 |
* shift.c (shift_down): Changed off to off_t. |
|
408 |
||
409 |
2007-02-14 Dalibor Topic <robilad@kaffe.org> |
|
410 |
||
411 |
* shift.c (shift_up, shift_down): Changed len to size_t. |
|
412 |
Use new variable num_read to count read bytes. |
|
413 |
||
414 |
2007-02-14 Dalibor Topic <robilad@kaffe.org> |
|
415 |
||
416 |
* configure.ac, README, NEWS: Bump version number to 0.96-pre. |
|
417 |
* Makefile.am (splint): Use libfastjar_convenience_la_SOURCES. |
|
418 |
* configure, Makefile.in: Regenerated. |
|
419 |
||
1.1.1
by Matthias Klose
Import upstream version 0.95 |
420 |
2007-02-13 Dalibor Topic <robilad@kaffe.org> |
421 |
||
422 |
* configure.ac, README, NEWS: Bump version number to 0.95. |
|
423 |
* configure: Regenerated. |
|
424 |
||
1
by Matthias Klose
Import upstream version 0.95~pre1 |
425 |
2007-02-13 Matthias Klose <doko@ubuntu.com> |
426 |
||
427 |
* Makefile.am: Build the fastjar library as a convenience library. |
|
428 |
* Makefile.in: Regenerate. |
|
429 |
||
430 |
2007-02-12 Dalibor Topic <robilad@kaffe.org> |
|
431 |
||
432 |
* jartool.c (get_next_arg, add_to_jar_with_dir): Use |
|
433 |
EXIT_FAILURE. |
|
434 |
||
435 |
2007-02-12 Dalibor Topic <robilad@kaffe.org> |
|
436 |
||
437 |
* Makefile.am (EXTRA_DIST): Removed fastjar.texi. |
|
438 |
* Makefile.in: Regenerated. |
|
439 |
||
440 |
2007-02-12 Alfred M. Szmidt <ams@gnu.org> |
|
441 |
||
442 |
* jartool.c (MAXPATHLEN) [!MAXPATHLEN]: Removed macro. |
|
443 |
(get_next_arg): Allocate memory dynamiclly for S. |
|
444 |
(add_to_jar_with_dir): Allocate memory dynamiclly for OLD_DIR. |
|
445 |
||
446 |
2007-02-12 Matthias Klose <doko@ubuntu.com> |
|
447 |
||
448 |
* fastjar.texi: Set version to 0.95. |
|
449 |
||
450 |
2007-02-12 Matthias Klose <doko@ubuntu.com> |
|
451 |
||
452 |
* fdl.texi, COPYING.DOC: Remove, all documentation is licensed |
|
453 |
under the GPL. |
|
454 |
* fastjar.texi: Don't include fdl.texi. |
|
455 |
* AUTHORS: Add myself as documentation author. |
|
456 |
||
457 |
2007-02-09 Dalibor Topic <robilad@kaffe.org> |
|
458 |
||
459 |
* TODO: Updated. |
|
460 |
||
461 |
2007-02-09 Dalibor Topic <robilad@kaffe.org> |
|
462 |
||
463 |
* Makefile.am (pscan, flawfinder, rats, splint): Added new targets |
|
464 |
which invoke source code scanners. |
|
465 |
||
466 |
* configure.ac (AC_CHECK_PATH): Check for pscan, flawfinder, rats and |
|
467 |
splint. |
|
468 |
||
469 |
* Makefile.in, lib/Makefile.in, configure: Regenerated. |
|
470 |
||
471 |
2007-02-08 Dalibor Topic <robilad@kaffe.org> |
|
472 |
||
473 |
* configure.ac (AC_MSG_ERROR): Stop configure if neither ftruncate |
|
474 |
or _chsize exists. |
|
475 |
||
476 |
* configure: Regenerated. |
|
477 |
||
478 |
* jartool.c (main): Simplified ftruncate and _chsize handling by moving |
|
479 |
the check into the configure script. |
|
480 |
||
481 |
2007-02-08 Dalibor Topic <robilad@kaffe.org> |
|
482 |
||
483 |
* pushback.h: Include jartool.h to declare the types used in struct |
|
484 |
definition. |
|
485 |
||
486 |
2007-02-08 Dalibor Topic <robilad@kaffe.org> |
|
487 |
||
488 |
* compress.h: Include zlib.h, jartool.h and pushback.h to declare the |
|
489 |
types used in parameters. |
|
490 |
||
491 |
2007-02-08 Dalibor Topic <robilad@kaffe.org> |
|
492 |
||
493 |
* jartool.c (add_file_to_jar, add_array_to_jar): Made file_name_length |
|
494 |
into a size_t. |
|
495 |
||
496 |
2007-02-08 Dalibor Topic <robilad@kaffe.org> |
|
497 |
||
498 |
* jartool.c (make_manifest): Turned mf_len into a size_t. |
|
499 |
||
500 |
2007-02-08 Dalibor Topic <robilad@kaffe.org> |
|
501 |
||
502 |
* jartool.c (make_manifest, add_to_jar): Turned nlen into a size_t. |
|
503 |
||
504 |
2007-02-08 Dalibor Topic <robilad@kaffe.org> |
|
505 |
||
506 |
* jartool.c (add_array_to_jar): Check if writing succeeded before |
|
507 |
checking if the number of written bytes matches. New local variable |
|
508 |
written. |
|
509 |
||
510 |
2007-02-08 Dalibor Topic <robilad@kaffe.org> |
|
511 |
||
512 |
* jartool.c (add_array_to_jar): Turn content_length into a size_t. |
|
513 |
||
514 |
2007-02-08 Dalibor Topic <robilad@kaffe.org> |
|
515 |
||
516 |
* jartool.c (build_index): Turn index_content_length into a |
|
517 |
size_t. |
|
518 |
||
519 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
520 |
||
521 |
* jargrep.c (help, version): Made static. |
|
522 |
||
523 |
* jartool.c (add_array_to_jar, add_entry, |
|
524 |
add_file_to_jar, add_list_entry, add_to_jar |
|
525 |
add_to_jar_with_dir, build_index, consume |
|
526 |
create_central_header, extract_jar, |
|
527 |
get_index_entry, help, init_headers, |
|
528 |
list_jar, make_manifest, read_entries, usage |
|
529 |
version): Made static. |
|
530 |
||
531 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
532 |
||
533 |
* jartool.c (data_descriptor, do_compress, file_header, |
|
534 |
jarfile, number_of_entries, read_names_from_stdin, seekable, |
|
535 |
use_explicit_list_only, verbose, ziplist, ziplisthead, |
|
536 |
ziplisttail, ziptail): Made static. |
|
537 |
||
538 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
539 |
||
540 |
* compress.c (write_data): Made static. |
|
541 |
||
542 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
543 |
||
544 |
* configure.ac (AC_PROG_STDC_CC): Use C99 if possible. |
|
545 |
||
546 |
* configure: Regenerated. |
|
547 |
||
548 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
549 |
||
550 |
* Makefile.am (POD2MAN): Use VERSION variable. |
|
551 |
||
552 |
* Makefile.in: Regenerated. |
|
553 |
||
554 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
555 |
||
556 |
* install-defs.sh.in: Removed. |
|
557 |
||
558 |
* configure.ac (AC_CONFIG_FILES): Removed install-defs.sh. |
|
559 |
||
560 |
* Makefile.in, configure: Regenerated. |
|
561 |
||
562 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
563 |
||
564 |
* configure.ac (ZINCS, ZDEPS): Removed redundant variables. |
|
565 |
||
566 |
* Makefile.am (DEPENDENCIES): Removed. |
|
567 |
(AM_CPPFLAGS) Removed redundant ZINCS variable. |
|
568 |
||
569 |
* Makefile.in, configure, lib/Makefile.in: Regenerated. |
|
570 |
||
571 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
572 |
||
573 |
* configure.ac (AC_ARG_ENABLE): Removed redundant option. |
|
574 |
||
575 |
* configure: Regenerated. |
|
576 |
||
577 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
578 |
||
579 |
* configure.ac (AC_ARG_WITH): Removed redundant option. |
|
580 |
||
581 |
* configure: Regenerated. |
|
582 |
||
583 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
584 |
||
585 |
* configure.ac (AC_STRUCT_TM): Removed redundant check. |
|
586 |
||
587 |
* configure: Regenerated. |
|
588 |
||
589 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
590 |
||
591 |
* configure.ac (AC_PATH_PROG): Don't look for cp, strip |
|
592 |
and chmod. |
|
593 |
||
594 |
* Makefile.in, configure, lib/Makefile.in: Regenerated. |
|
595 |
||
596 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
597 |
||
598 |
* configure.ac (AC_PATH_PROG): Don't look for rm. |
|
599 |
||
600 |
* Makefile.in, configure, lib/Makefile.in: Regenerated. |
|
601 |
||
602 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
603 |
||
604 |
* TODO: Removed Sun CC task. |
|
605 |
||
606 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
607 |
||
608 |
PR 18986 |
|
609 |
||
610 |
* lib/stdbool_.h, m4/stdbool.m4: New files from |
|
611 |
gnulib to support stdbool.h on platforms without it. |
|
612 |
||
613 |
* Makefile.in, aclocal.m4, config.h.in, configure, |
|
614 |
lib/Makefile.am, lib/Makefile.in, m4/gnulib-cache.m4, |
|
615 |
m4/gnulib-comp.m4: Regenerated. |
|
616 |
||
617 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
618 |
||
619 |
* TODO: Removed gnulib items. |
|
620 |
||
621 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
622 |
||
623 |
PR 18972 |
|
624 |
||
625 |
* lib/getopt.c, lib/getopt1.c, lib/getopt_.h, |
|
626 |
lib/getopt_int.h, lib/unistd_.h, m4/getopt.m4, |
|
627 |
m4/unistd_h.m4: New files from gnulib to support |
|
628 |
platforms without a GNU getopt implementation. |
|
629 |
||
630 |
* jargrep.c: Moved inclusion of getopt.h before |
|
631 |
inclusion of regex.h. |
|
632 |
||
633 |
* jartool.c: Include regex.h, as recommended by |
|
634 |
gnulib-tool for the gnulib getopt functionality. |
|
635 |
||
636 |
* Makefile.in, aclocal.m4, config.h.in, configure, |
|
637 |
lib/Makefile.am, lib/Makefile.in, m4/gnulib-cache.m4, |
|
638 |
m4/gnulib-comp.m4: Regenerated. |
|
639 |
||
640 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
641 |
||
642 |
* README: Added a 'platforms' section, and documented |
|
643 |
flags for the MingW32 build on Cygwin. |
|
644 |
||
645 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
646 |
||
647 |
* NEWS : Added merging status information for |
|
648 |
Bryan's 0.94 release on SourceForge. Updated version number |
|
649 |
to 0.95-pre. |
|
650 |
||
651 |
* README, configure.ac: Updated version number to 0.95-pre. |
|
652 |
||
653 |
* configure: Regenerated. |
|
654 |
||
655 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
656 |
||
657 |
PR 18973 |
|
658 |
||
659 |
* Makefile.am (SUBDIRS, ACLOCAL_AMFLAGS): Added to support |
|
660 |
using gnulib's functionality. |
|
661 |
(AM_CPPFLAGS) Added lib directory for regex.h. |
|
662 |
(LDADD) Added libgnu.la. |
|
663 |
||
664 |
* configure.ac (gl_EARLY, gl_INIT): Added suppor for gnulib. |
|
665 |
(AC_CONFIG_FILES) Added lib/Makefile. |
|
666 |
||
667 |
* Makefile.in, aclocal.m4, config.h.in, configure: |
|
668 |
Regenerated. |
|
669 |
||
670 |
* lib/Makefile.am, lib/Makefile.in, |
|
671 |
lib/alloca.c, lib/alloca_.h, lib/dummy.c, |
|
672 |
lib/gettext.h, lib/malloc.c, lib/regcomp.c, |
|
673 |
lib/regex.c, lib/regex.h, |
|
674 |
lib/regex_internal.c, lib/regex_internal.h, |
|
675 |
lib/regexec.c, lib/stdint_.h, |
|
676 |
lib/strcasecmp.c, lib/string_.h, |
|
677 |
lib/strncasecmp.c, lib/wchar_.h, lib/wctype_.h, |
|
678 |
m4/absolute-header.m4, m4/alloca.m4, m4/codeset.m4, |
|
679 |
m4/extensions.m4, m4/gnulib-cache.m4, |
|
680 |
m4/gnulib-common.m4, m4/gnulib-comp.m4, |
|
681 |
m4/gnulib-tool.m4, m4/longlong.m4, m4/regex.m4, |
|
682 |
m4/ssize_t.m4, m4/stdint.m4, m4/strcase.m4, |
|
683 |
m4/string_h.m4, m4/ulonglong.m4, m4/wchar.m4, |
|
684 |
m4/wctype.m4, m4/wint_t.m4: New files from gnulib |
|
685 |
to support regex on platforms without a GNU regex |
|
686 |
implementation. |
|
687 |
||
688 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
689 |
||
690 |
* TODO: Removed libfastjar item. |
|
691 |
||
692 |
* NEWS: Added libfastjar information. |
|
693 |
||
694 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
695 |
||
696 |
* Makefile.am (AM_LDFLAGS, LDADD, DEPENDECIES, |
|
697 |
libfastjar_la_LIBADD, libfastjar_la_LIBADD): Added |
|
698 |
to support building with a shared library with no |
|
699 |
undefined symbols. |
|
700 |
(fastjar_LDADD, fastjar_DEPENDENCIES, grepjar_LDADD, |
|
701 |
grepjar_DEPENDENCIES) Removed, replaced by LDADD and |
|
702 |
DEPENDENCIES. |
|
703 |
||
704 |
* Makefile.in: Regenerated. |
|
705 |
||
706 |
2007-02-07 Dalibor Topic <robilad@kaffe.org> |
|
707 |
||
708 |
* autogen.sh: Removed -Wall since libtool & automake |
|
709 |
macros are not up to date with autoconf 2.61 and create |
|
710 |
too much warning noise. |
|
711 |
||
712 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
713 |
||
714 |
* Makefile.am (AM_CFLAGS): Shuffled upwards in the file. |
|
715 |
(fastjar_SOURCES, grepjar_SOURCES) Removed dostime.c, |
|
716 |
compress.c, pushback.c, shift.c, jartool.h, zipfile.h, |
|
717 |
dostime.h, compress.h, pushback.h and shift.h. |
|
718 |
(fastjar_LDADD, grepjar_LDADD) Added libfastjar.la. |
|
719 |
(lib_LTLIBRARIES, libfastjar_la_SOURCES) New primitives. |
|
720 |
(libtool) New target. |
|
721 |
||
722 |
* configure.ac (AC_DISABLE_STATIC, AC_LIBTOOL_WIN32_DLL, |
|
723 |
AC_PROG_LIBTOOL, AC_SUBST(LIBTOOL_DEPS)): Added support |
|
724 |
for native libraries for libfastjar. |
|
725 |
||
726 |
* Makefile.in, aclocal.m4, config.h.in, configure: |
|
727 |
Regenerated. |
|
728 |
||
729 |
* config.guess, config.sub, ltmain.sh: New files, |
|
730 |
generated by autogen.sh. |
|
731 |
||
732 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
733 |
||
734 |
* TODO: New file. |
|
735 |
||
736 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
737 |
||
738 |
* compress.c (init_compression, write_data, |
|
739 |
compress_file, end_compression, init_inflation, |
|
740 |
inflate_file, report_str_error, ez_inflate_str, |
|
741 |
hrd_inflate_str): Use EXIT_FAILURE. |
|
742 |
||
743 |
* jargrep.c (create_regexp, read_string, |
|
744 |
extract_line, check_crc, fnd_match, main, |
|
745 |
version): Use EXIT_FAILURE and EXIT_SUCCESS. |
|
746 |
||
747 |
* jartool.c (main, make_manifest, add_to_jar, |
|
748 |
add_file_to_jar, extract_jar, list_jar, |
|
749 |
consume, version, help, add_array_to_jar, |
|
750 |
get_index_entry): Use EXIT_FAILURE and EXIT_SUCCESS. |
|
751 |
||
752 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
753 |
||
754 |
* dostime.c: Updated copyright information. |
|
755 |
||
756 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
757 |
||
758 |
* compress.c, dostime.c, jargrep.c, jartool.c |
|
759 |
(HAVE_CONFIG_H): Added guards for include. |
|
760 |
||
761 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
762 |
||
763 |
* shift.c, jartool.h, jargrep.c, compress.c: |
|
764 |
Updated copyright information. |
|
765 |
||
766 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
767 |
||
768 |
* compress.h: Updated copyright information. |
|
769 |
||
770 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
771 |
||
772 |
* zipfile.h: |
|
773 |
Added #ifndef __FASTJAR_ZIPFILE_H__. |
|
774 |
Updated copyright information. |
|
775 |
||
776 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
777 |
||
778 |
* pushback.h: |
|
779 |
Added #ifndef __FASTJAR_PUSHBACK_H__. |
|
780 |
Updated copyright information. |
|
781 |
||
782 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
783 |
||
784 |
* jargrep.h: |
|
785 |
Added #ifndef __FASTJAR_JARGREP_H__. |
|
786 |
Updated copyright information. |
|
787 |
||
788 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
789 |
||
790 |
* dostime.h: |
|
791 |
Added #ifndef __FASTJAR_DOSTIME_H__. |
|
792 |
Updated copyright information. |
|
793 |
||
794 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
795 |
||
796 |
* compress.h: |
|
797 |
Added #ifndef __FASTJAR_COMPRESS_H__. |
|
798 |
||
799 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
800 |
||
801 |
* dostime.c (unix2dostime): Renamed parameter to |
|
802 |
unix_time. |
|
803 |
||
804 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
805 |
||
806 |
* jartool.c (list_jar, extract_jar, init_args, |
|
807 |
get_next_arg): Added const qualifier to char ** |
|
808 |
parameter and return types. |
|
809 |
(main) Added const qualifier to type of new_argv. |
|
810 |
Modified malloc cast accordingly. Fixed cast of |
|
811 |
const char * to char *. |
|
812 |
(args_g) Added const qualifier to type. |
|
813 |
||
814 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
815 |
||
816 |
* jartool.c (main): Replaced unreachable exit call |
|
817 |
after version call with a break statement. |
|
818 |
||
819 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
820 |
||
821 |
* compress.c (init_compression, end_compression, |
|
822 |
init_inflation): Added missing 'void' parameter type. |
|
823 |
||
824 |
* jargrep.c (version): Added missing 'void' parameter |
|
825 |
type. |
|
826 |
||
827 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
828 |
||
829 |
* jartool.h (__attribute__): Remove define. |
|
830 |
||
831 |
2007-02-06 Dalibor Topic <robilad@kaffe.org> |
|
832 |
||
833 |
* Makefile.am (fastjar_CPPFLAGS): Removed. |
|
834 |
(grepjar_SOURCES) Added shift.c and shift.h. |
|
835 |
||
836 |
* compress.c (seekable, end_of_entries): Removed. |
|
837 |
(write_data) Removed __attribute__((unused)). |
|
838 |
Removed WITH_SHIFT_DOWN. |
|
839 |
||
840 |
* configure.ac (AM_PROG_CC_C_O): Removed. |
|
841 |
||
842 |
* jartool.c (end_of_entries): Moved field to ... |
|
843 |
||
844 |
* shift.c (end_of_entries): ... here. New field. |
|
845 |
(shift_up, shift_down) Removed declarations of |
|
846 |
end_of_entries. |
|
847 |
||
848 |
* shift.h (end_of_entries): Added field to |
|
849 |
exported header as it is used in jartool.c. |
|
850 |
||
851 |
* Makefile.in, aclocal.m4, config.h.in, |
|
852 |
configure: Regenerated. |
|
853 |
||
854 |
2007-02-06 Wil Mahan <wmahan@users.sourceforge.net> |
|
855 |
||
856 |
* jartool.c (list_jar): Fall back on |
|
857 |
the method used for non-seekable files when |
|
858 |
reading the central-header-end section does |
|
859 |
not work, i.e. in archives with a zipfile |
|
860 |
comment at the end. |
|
861 |
||
862 |
Patch taken from fastjar.sourceforge.net |
|
863 |
patch repository. |
|
864 |
||
865 |
2007-02-05 Dalibor Topic <robilad@kaffe.org> |
|
866 |
||
867 |
* configure.ac (AC_INIT): Changed version |
|
868 |
to 0.94-pre. |
|
869 |
||
870 |
2007-02-05 Dalibor Topic <robilad@kaffe.org> |
|
871 |
||
872 |
* NEWS: Updated with some of the information |
|
873 |
from the ChangeLog. |
|
874 |
||
875 |
2007-02-05 Dalibor Topic <robilad@kaffe.org> |
|
876 |
||
877 |
* fastjar.texi: -i works now. |
|
878 |
||
879 |
2007-02-04 Dalibor Topic <robilad@kaffe.org> |
|
880 |
||
881 |
* jartool.c (build_index): Added comment |
|
882 |
for previous patch. Added check to ensure |
|
883 |
that the META-INF directory is not being |
|
884 |
indexed. |
|
885 |
||
886 |
2007-02-04 Dalibor Topic <robilad@kaffe.org> |
|
887 |
||
888 |
* jartool.c (build_index): Replace '\0' |
|
889 |
character with '\n' before adding the |
|
890 |
index to the jar file to avoid having |
|
891 |
a zero byte at the end of the index file. |
|
892 |
||
893 |
2007-02-04 Dalibor Topic <robilad@kaffe.org> |
|
894 |
||
895 |
* jartool.c: Added 2007 to copyright years, |
|
896 |
and claimed my changes. |
|
897 |
(OPTION_STRING) -i takes an argument. |
|
898 |
(main) Set jarfile to the argument when option |
|
899 |
-i is parsed. Modified help string when no |
|
900 |
action is given to include -i. |
|
901 |
||
902 |
2007-02-04 Dalibor Topic <robilad@kaffe.org> |
|
903 |
||
904 |
* jartool.c (build_index): Initialize |
|
905 |
a ziplistentry's next_element with NULL |
|
906 |
before passing it to add_list_entry to |
|
907 |
fix a crash. Don't re-assign filename |
|
908 |
of a zip entry with the index name, as |
|
909 |
that turns directories into files, and |
|
910 |
breaks the zip files. |
|
911 |
||
912 |
2007-02-04 Olivier Jolly <olivier.jolly@pcedev.com> |
|
913 |
||
914 |
* jartool.c: Enable fastjar to update an |
|
915 |
existing .jar with an META-INF/INDEX.LIST |
|
916 |
aka -i support. Still, it doesn't process |
|
917 |
the MANIFEST.MF to index files coming from |
|
918 |
dependant archives. |
|
919 |
||
920 |
2007-02-04 Dalibor Topic <robilad@kaffe.org> |
|
921 |
||
922 |
* jartool.h (__attribute__): Explicitely |
|
923 |
define it as a macro with one parameter. |
|
924 |
That allows splint to be used for checking |
|
925 |
the code. |
|
926 |
||
927 |
2007-02-03 Dalibor Topic <robilad@kaffe.org> |
|
928 |
||
929 |
* configure: Regenerated. |
|
930 |
||
931 |
* configure.ac: Updated AC_INIT and |
|
932 |
AM_INIT_AUTOMAKE to use the modern form. |
|
933 |
||
934 |
||
935 |
2007-02-03 Dalibor Topic <robilad@kaffe.org> |
|
936 |
||
937 |
* compress.c, compress.h, jargrep.c, |
|
938 |
jartool.c, jartool.h, pushback.c, |
|
939 |
zipfile.h: Removed Id and Log CVS tags. |
|
940 |
||
941 |
2007-02-03 Dalibor Topic <robilad@kaffe.org> |
|
942 |
||
943 |
* config.h.in, configure: Regenerated. |
|
944 |
||
945 |
* configure.ac: Removed checks for type-widths. |
|
946 |
Added checks for fixed size types. |
|
947 |
||
948 |
* jartool.h: Use fixed size types to define u1, |
|
949 |
u2 and u4. Include inttypes.h and stdint.h if |
|
950 |
necessary. Guard the config.h include. Don't |
|
951 |
include sys/types.h. |
|
952 |
||
953 |
2007-02-03 Dalibor Topic <robilad@kaffe.org> |
|
954 |
||
955 |
* configure.ac: Use AC_CHECK_HEADERS_ONCE instead |
|
956 |
of AC_CHECK_HEADERS. Use AC_CHECK_FUNCS_ONCE instead |
|
957 |
of AC_CHECK_FUNCS. |
|
958 |
||
959 |
* configure: Regenerated. |
|
960 |
||
961 |
2007-02-03 Dalibor Topic <robilad@kaffe.org> |
|
962 |
||
963 |
* compile, texinfo.tex: Added new generated files. |
|
964 |
||
965 |
* INSTALL, Makefile.in, aclocal.m4, config.h.in, |
|
966 |
configure, depcomp, install-sh, missing: Regenerated. |
|
967 |
||
968 |
* acinclude.m4, configure.ac: Autoupdated with |
|
969 |
autoconf 2.61. |
|
970 |
||
971 |
* autogen.sh: Use autoreconf. |
|
972 |
||
973 |
2007-02-03 Dalibor Topic <robilad@kaffe.org> |
|
974 |
||
975 |
* .cvsignore: Added new file. |
|
976 |
||
977 |
2007-02-03 Dalibor Topic <robilad@kaffe.org> |
|
978 |
||
979 |
* README: Updated e-mail addresses, home pages, |
|
980 |
added section headers, and a history section, and |
|
981 |
cleaned up. |
|
982 |
||
983 |
2007-02-03 Dalibor Topic <robilad@kaffe.org> |
|
984 |
||
985 |
* jartool.h [__GNUC__]: Only define __attribute__ |
|
986 |
if it is not already defined. That fixes the build |
|
987 |
with tcc. |
|
988 |
||
989 |
2007-02-03 Dalibor Topic <robilad@kaffe.org> |
|
990 |
||
991 |
* jartool.c (list_jar): Added missing casts to fix |
|
992 |
compiler warnings on Debian Sarge. |
|
993 |
||
994 |
2006-08-07 Richard Guenther <rguenther@suse.de> |
|
995 |
||
996 |
* jartool.c (extract_jar): Fix directory traversal fix, |
|
997 |
handle "." path components. |
|
998 |
||
999 |
2006-07-12 Richard Guenther <rguenther@suse.de> |
|
1000 |
||
1001 |
* jartool.c (extract_jar): Do not allow directory traversal |
|
1002 |
to parents of the extraction root. |
|
1003 |
||
1004 |
2006-05-27 Richard Guenther <rguenther@suse.de> |
|
1005 |
||
1006 |
* fastjar.texi: Don't use gcc-vers.texi. |
|
1007 |
* Makefile.am: Don't generate it. |
|
1008 |
* Makefile.in: Re-generate. |
|
1009 |
||
1010 |
2006-05-27 Richard Guenther <rguenther@suse.de> |
|
1011 |
||
1012 |
* fastjar.texi: Pull in the only macro we need from |
|
1013 |
gcc-common.texi. |
|
1014 |
||
1015 |
2006-05-27 Richard Guenther <rguenther@suse.de> |
|
1016 |
||
1017 |
* texi2pod.pl: Copy from gcc/contrib. |
|
1018 |
||
1019 |
2006-05-27 Richard Guenther <rguenther@suse.de> |
|
1020 |
||
1021 |
* configure.ac: Change version to 0.92 from 0.92-gcc. |
|
1022 |
Remove configury for using in-tree zlib, instead always |
|
1023 |
require an installed zlib for build. |
|
1024 |
* Makefile.am: Remove gcc specific parts. |
|
1025 |
* configure: Re-generated. |
|
1026 |
* Makefile.in: Likewise. |
|
1027 |
* aclocal.m4: Likewise. |
|
1028 |
||
1029 |
2006-05-27 Richard Guenther <rguenther@suse.de> |
|
1030 |
||
1031 |
* jargrep.c: Include regex.h instead of xregex.h. Removes |
|
1032 |
dependency on internal libiberty includes. |
|
1033 |
||
1034 |
2006-05-27 Richard Guenther <rguenther@suse.de> |
|
1035 |
||
1036 |
* fastjar.texi: Correct menu entry for the now GFDL license. |
|
1037 |
||
1038 |
2006-02-08 Thomas Fitzsimmons <fitzsim@redhat.com> |
|
1039 |
||
1040 |
* jartool.h (ACTION_INDEX): New macro. |
|
1041 |
* jartool.c (main): Handle -i option. |
|
1042 |
* fastjar.texi (Invoking fastjar): Add description of -i option. |
|
1043 |
||
1044 |
2006-01-31 Tom Tromey <tromey@redhat.com> |
|
1045 |
||
1046 |
* jartool.c (version): Use 2006. |
|
1047 |
* jargrep.c (version): Use 2006. |
|
1048 |
||
1049 |
2005-11-29 Tom Tromey <tromey@redhat.com> |
|
1050 |
||
1051 |
* compress.c (write_data): Mark 'ze' as unused. |
|
1052 |
* jartool.h (__attribute__): New define. |
|
1053 |
* shift.c (shift_up): Added cast. |
|
1054 |
(shift_down): Likewise. |
|
1055 |
* jartool.c (help): Split string constant. |
|
1056 |
||
1057 |
2005-06-29 Kelley Cook <kcook@gcc.gnu.org> |
|
1058 |
||
1059 |
* all files: Update FSF address. |
|
1060 |
||
1061 |
2005-05-17 Kelley Cook <kcook@gcc.gnu.org> |
|
1062 |
||
1063 |
* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. |
|
1064 |
Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF. |
|
1065 |
* Makefile.am: Remove ACLOCAL_AMFLAGS. |
|
1066 |
* aclocal.m4, Makefile.in, configure, config.h.in: Regenerate. |
|
1067 |
||
1068 |
2005-03-28 Marcin Dalecki <martin@dalecki.de> |
|
1069 |
||
1070 |
* jartool.c (main): Indentation fixlet. |
|
1071 |
(add_entry): Likewise. |
|
1072 |
(init_args): Don't use K&R style. |
|
1073 |
(jt_strdup): Likewise. |
|
1074 |
(get_next_arg): Add explicit '(void)'. |
|
1075 |
(init_headers): Likewise. |
|
1076 |
(version): Likewise. |
|
1077 |
||
1078 |
2005-03-15 Zack Weinberg <zack@codesourcery.com> |
|
1079 |
||
1080 |
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi. |
|
1081 |
(BASEVER, DEVPHASE): New variables. |
|
1082 |
(POD2MAN): Adjust setting of --release option. |
|
1083 |
(fastjar.1, grepjar.1, gcc-vers.texi): New rules. |
|
1084 |
* Makefile.in: Regenerate. |
|
1085 |
* configure.ac: Do not invoke TL_AC_GCC_VERSION. |
|
1086 |
* aclocal.m4, configure: Regenerate. |
|
1087 |
||
1088 |
2004-12-02 Richard Sandiford <rsandifo@redhat.com> |
|
1089 |
||
1090 |
* configure.ac: Use TL_AC_GCC_VERSION to set gcc_version. |
|
1091 |
* configure, aclocal.m4, Makefile.in: Regenerate. |
|
1092 |
||
1093 |
2004-11-15 Kelley Cook <kcook@gcc.gnu.org> |
|
1094 |
||
1095 |
* Makefile.am: Remove -no-dependencies. |
|
1096 |
* Makefile.in: Regenerate. |
|
1097 |
||
1098 |
2004-11-13 Kelley Cook <kcook@gcc.gnu.org> |
|
1099 |
||
1100 |
* Makefile.am: Define ACLOCAL_AMFLAGS. |
|
1101 |
* acinclude.m4: Remove unnecessary sinclude. |
|
1102 |
* aclocal.m4, Makefile.in, configure: Regenerate (autoreconf 1.9.3). |
|
1103 |
||
1104 |
2004-09-23 Tom Tromey <tromey@redhat.com> |
|
1105 |
||
1106 |
* jartool.c (extract_jar): Unconditionally read extra data in the |
|
1107 |
entry header; don't read it after the file contents. |
|
1108 |
||
1109 |
2004-08-11 Kelley Cook <kcook@gcc.gnu.org> |
|
1110 |
||
1111 |
PR bootstrap/16164 |
|
1112 |
* Makefile.am: Force fastjar.info to be built in build directory. |
|
1113 |
* Makefile.in: Regenerate. |
|
1114 |
||
1115 |
2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com> |
|
1116 |
||
1117 |
* Makefile.am: Rename jar binary to fastjar. |
|
1118 |
* Makefile.in: Regenerate. |
|
1119 |
* fastjar.texi: Rename references to jar binary with fastjar. |
|
1120 |
||
1121 |
2004-07-19 Bryce McKinlay <mckinlay@redhat.com> |
|
1122 |
||
1123 |
* jartool.c (main): Ensure that only one of ftruncate and _chsize |
|
1124 |
is used. |
|
1125 |
||
1126 |
2004-07-11 Bryce McKinlay <mckinlay@redhat.com> |
|
1127 |
||
1128 |
PR 16472 |
|
1129 |
* configure.ac: Check for ftruncate() and _chsize(). |
|
1130 |
* jartool.c (main): Use _chsize if ftruncate not available. |
|
1131 |
* configure, config.h.in: Rebuilt. |
|
1132 |
||
1133 |
2004-07-09 Richard Sandiford <rsandifo@redhat.com> |
|
1134 |
||
1135 |
* jartool.c (find_entry, looks_like_dir): Remove inline spec. |
|
1136 |
||
1137 |
2004-07-07 Matthias Klose <doko@debian.org> |
|
1138 |
||
1139 |
* Makefile.am (jar_CPPFLAGS): Add AM_CPPFLAGS. |
|
1140 |
* Makefile.in: Regenerate. |
|
1141 |
||
1142 |
2004-07-06 Matthias Klose <doko@debian.org> |
|
1143 |
||
1144 |
* Makefile.in: Regenerate. |
|
1145 |
* fastjar.texi: Update for '-u'. |
|
1146 |
||
1147 |
2004-07-06 Casey Marshall <csm@gnu.org> |
|
1148 |
||
1149 |
PR 7854 |
|
1150 |
* Makefile.am |
|
1151 |
(jar_SOURCES): added shift.c, shift.h. |
|
1152 |
(jar_CPPFLAGS): define WITH_SHIFT_DOWN. |
|
1153 |
||
1154 |
* compress.c |
|
1155 |
Added FSF copyright. |
|
1156 |
(write_data): new function. |
|
1157 |
(compress_file): call write_data. |
|
1158 |
||
1159 |
* jartool.c |
|
1160 |
Updated copyright year. |
|
1161 |
(progname): new variable. |
|
1162 |
(end_of_entries): new variable. |
|
1163 |
(main): open and read file when updating. |
|
1164 |
(find_entry): new function. |
|
1165 |
(looks_like_dir): new function. |
|
1166 |
(read_entries): new function. |
|
1167 |
(make_manifest): added parameter `updating'. |
|
1168 |
Call `add_file_to_jar' with `updating'. |
|
1169 |
(add_to_jar_with_dir): added parameter `updating'. |
|
1170 |
Call `add_to_jar' with `updating'. |
|
1171 |
(add_to_jar): added parameter `updating'. |
|
1172 |
Call `add_file_to_jar' with `updating'. |
|
1173 |
Don't add directories if they already exist. |
|
1174 |
(add_file_to_jar): added parameter `updating'. |
|
1175 |
Update entries if they already exist. |
|
1176 |
||
1177 |
* jartool.h |
|
1178 |
Added #ifndef __FASTJAR_JARTOOL_H__. |
|
1179 |
(struct zipentry): added `flags'. |
|
1180 |
||
1181 |
* shift.c: new file. |
|
1182 |
||
1183 |
* shift.h: new file. |
|
1184 |
||
1185 |
* zipfile.h |
|
1186 |
(CEN_FLAGS): new constant. |
|
1187 |
||
1188 |
2004-07-05 Kelley Cook <kcook@gcc.gnu.org> |
|
1189 |
||
1190 |
* Makefile.am: Silence two automake warnings. |
|
1191 |
* Makefile.in: Regenerate. |
|
1192 |
||
1193 |
2004-06-25 Kelley Cook <kcook@gcc.gnu.org> |
|
1194 |
||
1195 |
PR other/15194 |
|
1196 |
* configure.ac: Add check for long long. |
|
1197 |
* jartool.h: Check for long long before using it. |
|
1198 |
* configure: Regenerate |
|
1199 |
* config.h.in: Regenerate. |
|
1200 |
||
1201 |
2004-06-15 Paolo Bonzini <bonzini@gnu.org> |
|
1202 |
||
1203 |
* acinclude.m4: Quote first argument of AC_DEFUNs. |
|
1204 |
* aclocal.m4: Regenerate with automake 1.8. |
|
1205 |
* Makefile.in: Likewise. |
|
1206 |
* configure: Regenerate. |
|
1207 |
* .cvsignore: New file. |
|
1208 |
||
1209 |
2004-04-12 Kelley Cook <kcook@gcc.gnu.org> |
|
1210 |
||
1211 |
PR bootstrap/14905 |
|
1212 |
* configure.ac: Parse --enable-generated-files-in-srcdir. |
|
1213 |
* Makefile.am: Copy man and info files to srcdir if requested. |
|
1214 |
* configure: Regenerate. |
|
1215 |
* Makefile.in Regenerate. |
|
1216 |
||
1217 |
2004-03-10 Kelley Cook <kcook@gcc.gnu.org> |
|
1218 |
||
1219 |
* configure.ac: Bump AC_PREREQ to 2.59. |
|
1220 |
* configure: Regenerate. |
|
1221 |
||
1222 |
2004-03-09 Hans-Peter Nilsson <hp@axis.com> |
|
1223 |
||
1224 |
* configure: Regenerate for config/accross.m4 correction. |
|
1225 |
||
1226 |
2004-01-09 Kelley Cook <kcook@gcc.gnu.org> |
|
1227 |
||
1228 |
* configure.in: Rename file to ... |
|
1229 |
* configure.ac: ... this. Add in AC_PREREQ(2.57) |
|
1230 |
* config.h.in: Regenerate. |
|
1231 |
* aclocal.m4: Regenerate. |
|
1232 |
* Makefile.in: Regenerate. |
|
1233 |
||
1234 |
2004-01-07 Andreas Tobler <a.tobler@schweiz.ch> |
|
1235 |
||
1236 |
* jartool.c (make_manifest): Fix off-by-one bug when creating |
|
1237 |
an empty MANIFEST.MF. |
|
1238 |
||
1239 |
2003-12-01 Kelley Cook <kcook@gcc.gnu.org> |
|
1240 |
||
1241 |
* Makefile.am: Define AM_MAKINFOFLAGS. Remove Automake 1.4 hack. |
|
1242 |
* Makefile.in: Regenerate with automake 1.7.6 & autoconf 2.57 tools. |
|
1243 |
* aclocal.m4, config.h.in, configure: Likewise. |
|
1244 |
* install-sh, missing, mkinstalldirs, stamp-h.in: Remove. |
|
1245 |
||
1246 |
2003-11-21 Kelley Cook <kcook@gcc.gnu.org> |
|
1247 |
||
1248 |
* .cvsignore: Delete. |
|
1249 |
||
1250 |
2003-10-30 Kelley Cook <kcook@gcc.gnu.org> |
|
1251 |
||
1252 |
* Makefile.am (my_make_i_flags): Add $(srcdir) and update comment |
|
1253 |
to match. |
|
1254 |
(fastjar.info): Update target to write to build directory. |
|
1255 |
(%.1): New implicit rule from a .pod file. |
|
1256 |
(jar.1): Delete. |
|
1257 |
(grepjar.1): Delete. |
|
1258 |
(jar.pod): New intermediate rule. |
|
1259 |
(grepjar.pod): Likewise. |
|
1260 |
* Makefile.in: Regenerate. |
|
1261 |
||
1262 |
2003-08-13 Matthias Klose <doko@debian.org> |
|
1263 |
||
1264 |
* fastjar.texi: License manual under the GPL. |
|
1265 |
* Makefile.am: Remove reference to fdl.texi |
|
1266 |
* Makefile.in: Regenerate |
|
1267 |
||
1268 |
2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org> |
|
1269 |
||
1270 |
* mkinstalldirs: Import autoconf 2.57 / automake 1.7 version. |
|
1271 |
||
1272 |
2003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
|
1273 |
||
1274 |
* README: Note that FastJar is not part of GCC. |
|
1275 |
||
1276 |
2003-07-02 Nathanael Nerode <neroden@gcc.gnu.org> |
|
1277 |
||
1278 |
PR java/9532 |
|
1279 |
* jartool.c (add_to_jar): Return 1 on failure to open file. |
|
1280 |
Split out -C case to: |
|
1281 |
* jartool.c (add_to_jar_with_dir): New function. |
|
1282 |
||
1283 |
2003-06-15 Nathanael Nerode <neroden@gcc.gnu.org> |
|
1284 |
||
1285 |
PR java/9532 |
|
1286 |
* jartool.c (main) Give proper error messages with -C, and |
|
1287 |
check for missing arguments properly. Send error messages |
|
1288 |
to stderr. |
|
1289 |
* jartool.c (add_to_jar): Make getcwd() call portable, |
|
1290 |
and check for error return. |
|
1291 |
||
1292 |
2003-03-30 Joseph S. Myers <jsm@polyomino.org.uk> |
|
1293 |
||
1294 |
* fastjar.texi: Remove @ at start of file. |
|
1295 |
||
1296 |
2003-03-10 Mohan Embar <gnustuff@thisiscool.com> |
|
1297 |
||
1298 |
* dostime.c: add #include <stddef.h> for definition of NULL |
|
1299 |
||
1300 |
2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk> |
|
1301 |
||
1302 |
* fastjar.texi: Update to GFDL 1.2. |
|
1303 |
||
1304 |
2003-01-31 Daiki Ueno <ueno@unixuser.org> |
|
1305 |
||
1306 |
* jartool.c (extract_jar): Don't lseek to skip extra fields. |
|
1307 |
(consume): If the stream is seekable, do lseek. |
|
1308 |
||
1309 |
2003-01-28 Ranjit Mathew <rmathew@hotmail.com> |
|
1310 |
||
1311 |
* jargrep.c: Include xregex.h from libiberty instead of |
|
1312 |
system regex.h for better portability. |
|
1313 |
||
1314 |
2003-01-21 Ranjit Mathew <rmathew@hotmail.com> |
|
1315 |
||
1316 |
* jartool.c (list_jar): Terminate the 'ascii_date' buffer |
|
1317 |
with a '\0' to guard against the case where the formatted |
|
1318 |
time string is more than the size allowed by the buffer. |
|
1319 |
||
1320 |
2003-01-14 Tom Tromey <tromey@redhat.com> |
|
1321 |
||
1322 |
* config.h.in: Rebuilt. |
|
1323 |
||
1324 |
2002-12-30 DJ Delorie <dj@redhat.com> |
|
1325 |
||
1326 |
* Makefile.am (jar.1, grepjar.1): Protect against |
|
1327 |
texi2pod/pod2man failing. |
|
1328 |
* Makefile.in: Regenerated. |
|
1329 |
||
1330 |
2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk> |
|
1331 |
||
1332 |
* fastjar.texi: Include Cover Texts in man page. |
|
1333 |
||
1334 |
2002-12-04 Jakub Jelinek <jakub@redhat.com> |
|
1335 |
||
1336 |
* fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar). |
|
1337 |
||
1338 |
2002-11-23 H.J. Lu <hjl@gnu.org> |
|
1339 |
||
1340 |
* acinclude.m4: Include ../config/accross.m4. |
|
1341 |
(gcc_AC_COMPILE_CHECK_SIZEOF): Removed. |
|
1342 |
(gcc_AC_EXAMINE_OBJECT): Removed. |
|
1343 |
(gcc_AC_C_COMPILE_ENDIAN): Removed. |
|
1344 |
* aclocal.m4; Rebuild. |
|
1345 |
||
1346 |
* configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS. |
|
1347 |
Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF. |
|
1348 |
* configure: Likewise. |
|
1349 |
||
1350 |
2002-11-21 Ranjit Mathew <rmathew@hotmail.com> |
|
1351 |
||
1352 |
* jartool.c (extract_jar): Use "open" with O_BINARY instead of |
|
1353 |
"creat" to create extracted files. |
|
1354 |
||
1355 |
2002-11-11 Tom Tromey <tromey@redhat.com> |
|
1356 |
||
1357 |
* dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly |
|
1358 |
compute month. |
|
1359 |
(unix2dostime): Handle years before 1980. Correctly compute month |
|
1360 |
and day of month. |
|
1361 |
||
1362 |
2002-11-10 Jakub Jelinek <jakub@redhat.com> |
|
1363 |
||
1364 |
* jartool.c (add_to_jar): Only compare file to jarfile if jarfile is |
|
1365 |
non-NULL. |
|
1366 |
||
1367 |
* configure.in (AC_CHECK_HEADERS): Add limits.h. |
|
1368 |
* configure, config.h.in: Rebuilt. |
|
1369 |
||
1370 |
2002-11-07 Tom Tromey <tromey@redhat.com> |
|
1371 |
||
1372 |
* dostime.c: Rewrote from scratch. |
|
1373 |
* dostime.h (dostime): Removed. |
|
1374 |
||
1375 |
2002-10-20 Tom Tromey <tromey@redhat.com> |
|
1376 |
||
1377 |
* jartool.c: Use mode 0666 when opening new file. |
|
1378 |
||
1379 |
2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
|
1380 |
||
1381 |
* jargrep.c (chk_wrd): Remove unused variable(s). |
|
1382 |
* jartool.c (main, create_central_header, list_jar): Likewise. |
|
1383 |
||
1384 |
2002-10-15 Ranjit Mathew <rmathew@hotmail.com> |
|
1385 |
||
1386 |
* configure, config.h.in: Rebuilt. |
|
1387 |
* configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG. |
|
1388 |
||
1389 |
2002-09-11 Tom Tromey <tromey@redhat.com> |
|
1390 |
||
1391 |
* Makefile.in: Rebuilt. |
|
1392 |
* Makefile.am (TEXINFO_TEX): New macro. |
|
1393 |
(info_TEXINFOS): Likewise. |
|
1394 |
(fastjar_TEXINFOS): Likewise. |
|
1395 |
(man_MANS): Likewise. |
|
1396 |
(EXTRA_DIST): Likewise. |
|
1397 |
(my_makei_flags): Likewise. |
|
1398 |
(fastjar.info): New rule. |
|
1399 |
(fastjar_TEXINFOS): Don't mention `$(srcdir)'. |
|
1400 |
(TEXINFO_TEX): Likewise. |
|
1401 |
(AUTOMAKE_OPTIONS): Added `cygnus'. |
|
1402 |
||
1403 |
2002-09-11 Matthias Klose <doko@debian.org> |
|
1404 |
||
1405 |
* Makefile.am: Revert the previous patch. |
|
1406 |
* Makefile.in: Regenerated. |
|
1407 |
||
1408 |
2002-09-10 Matthias Klose <doko@debian.org> |
|
1409 |
||
1410 |
* fastjar.texi: New. |
|
1411 |
* Makefile.am: Support building info docs and manpages. |
|
1412 |
* Makefile.in: Regenerated. |
|
1413 |
* configure.in: Set gcc_version. |
|
1414 |
* configure: Regenerated. |
|
1415 |
* jargrep.c: Update usage and help strings. |
|
1416 |
||
1417 |
2002-09-09 Tom Tromey <tromey@redhat.com> |
|
1418 |
||
1419 |
* jartool.c (mkdir): Define. |
|
1420 |
* config.h.in: Rebuilt. |
|
1421 |
* aclocal.m4, configure: Rebuilt. |
|
1422 |
* acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF, |
|
1423 |
gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from |
|
1424 |
aclocal.m4. |
|
1425 |
||
1426 |
2002-09-04 Tom Tromey <tromey@redhat.com> |
|
1427 |
||
1428 |
From greenrd@hotmail.com: |
|
1429 |
* jartool.c (list_jar): Correctly determine when new `filename' |
|
1430 |
buffer must be allocated. Fixes PR java/7830. |
|
1431 |
||
1432 |
2002-06-03 Geoffrey Keating <geoffk@redhat.com> |
|
1433 |
||
1434 |
* configure.in: Support cross-compiling. |
|
1435 |
* configure: Regenerate. |
|
1436 |
* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New. |
|
1437 |
(gcc_AC_EXAMINE_OBJECT): New. |
|
1438 |
(fastjar_AC_COMPILE_C_BIGENDIAN): New. |
|
1439 |
||
1440 |
2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
|
1441 |
||
1442 |
* jartool.c (expand_options): Handle tar-style argument list with a |
|
1443 |
leading "-". |
|
1444 |
||
1445 |
2002-02-23 Anthony Green <green@redhat.com> |
|
1446 |
||
1447 |
* jartool.c (main): Fix handling of -C. |
|
1448 |
||
1449 |
2002-01-30 Tom Tromey <tromey@redhat.com> |
|
1450 |
||
1451 |
* jartool.c (main): NULL-terminate new_argv. Pass 0 as argument |
|
1452 |
to init_args. |
|
1453 |
||
1454 |
2002-01-11 Tom Tromey <tromey@redhat.com> |
|
1455 |
||
1456 |
* Makefile.in: Rebuilt. |
|
1457 |
* Makefile.am (AUTOMAKE_OPTIONS): New macro. |
|
1458 |
||
1459 |
2002-01-09 Tom Tromey <tromey@redhat.com> |
|
1460 |
||
1461 |
For PR libgcj/5303: |
|
1462 |
* jargrep.h: Removed RCS keywords. |
|
1463 |
(GVERSION): Removed. |
|
1464 |
* configure, Makefile.in, config.h.in: Rebuilt. |
|
1465 |
* configure.in: Added AM_MAINTAINER_MODE. |
|
1466 |
Don't look for getopt.h. Use `fastjar' as package name. |
|
1467 |
* Makefile.am (INCLUDES): Look in ../include. |
|
1468 |
(LIBIBERTY): New macro. |
|
1469 |
(jar_LDADD): Use it. |
|
1470 |
(jar_DEPENDENCIES): Likewise. |
|
1471 |
(grepjar_LDADD): Likewise. |
|
1472 |
(grepjar_DEPENDENCIES): Likewise. |
|
1473 |
* jargrep.c: Removed RCS keywords. Always include getopt.h. |
|
1474 |
(LONG_OPT): New macro. |
|
1475 |
(OPT_HELP): Likewise. |
|
1476 |
(main): Use getopt_long. Let getopt print invalid argument |
|
1477 |
message. Handle --help. Use version(). |
|
1478 |
(version): New function. |
|
1479 |
(optarg, optind): Don't declare. |
|
1480 |
(option_vec): New global. |
|
1481 |
(help): New function. |
|
1482 |
(Usage): Updated to GNU standards. |
|
1483 |
* jartool.c: Removed RCS keywords. Include getopt.h. |
|
1484 |
(LONG_OPT): New macro. |
|
1485 |
(OPT_HELP): Likewise. |
|
1486 |
(options): New global. |
|
1487 |
(help): New function. |
|
1488 |
(usage): Print a single line. |
|
1489 |
(version): New function. |
|
1490 |
(expand_options): New function. |
|
1491 |
(main): Use getopt_long and expand_options. Fail if `-u' |
|
1492 |
specified. Changed handling of -f, -m, -V options. |
|
1493 |
(OPTION_STRING): New macro. |
|
1494 |
(version_string): Removed. |
|
1495 |
||
1496 |
2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> |
|
1497 |
||
1498 |
PR bootstrap/5117 |
|
1499 |
* configure.in (AC_CHECK_HEADERS): Check for stdlib.h. |
|
1500 |
* Makefile.am: Move grepjar to bin_PROGRAMS. |
|
1501 |
* config.h.in: Regenerated. |
|
1502 |
* Makefile.in: Regenerated. |
|
1503 |
* aclocal.m4: Regenerated. |
|
1504 |
* stamp-h.in: Regenerated. |
|
1505 |
* jargrep.c: Eliminate some signed/unsigned and default |
|
1506 |
uninitialized warnings. Use HAVE_STDLIB_H instead of |
|
1507 |
STDC_HEADERS macro. |
|
1508 |
* jartool.c: Likewise. |
|
1509 |
* compress.c: Likewise. |
|
1510 |
||
1511 |
2001-09-17 Tom Tromey <tromey@redhat.com> |
|
1512 |
||
1513 |
For PR java/4295: |
|
1514 |
* aclocal.m4, configure, Makefile.in: Rebuilt. |
|
1515 |
* configure.in: Added AC_EXEEXT. |
|
1516 |
||
1517 |
2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
|
1518 |
||
1519 |
* jatool.c (extract_jar): Account for null termination when determining |
|
1520 |
whether to expand "filename". |
|
1521 |
||
1522 |
2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com> |
|
1523 |
||
1524 |
* jartool.c (add_to_jar): Return 1 if `stat' initialy failed. |
|
1525 |
Fixes PR java/3949. |
|
1526 |
||
1527 |
2001-08-27 Tom Tromey <tromey@redhat.com> |
|
1528 |
||
1529 |
* jartool.c (jarfile): Remove length limitation. |
|
1530 |
(main): Use jt_strdup when initializing jarfile. |
|
1531 |
||
1532 |
2001-07-04 Tom Tromey <tromey@redhat.com> |
|
1533 |
||
1534 |
Modified from patch by Julian Hall <jules@acris.co.uk>: |
|
1535 |
* jartool.c (errno): Conditionally declare. |
|
1536 |
(O_BINARY): Conditionally define. |
|
1537 |
(main): Use open, not creat. Use O_BINARY everywhere. |
|
1538 |
(make_manifest): Use O_BINARY. |
|
1539 |
(add_to_jar): Likewise. |
|
1540 |
||
1541 |
2001-06-28 Tom Tromey <tromey@redhat.com> |
|
1542 |
||
1543 |
* configure: Rebuilt. |
|
1544 |
* configure.in: Accept --with-system-zlib. Fixes PR java/3441. |
|
1545 |
||
1546 |
2001-05-15 Per Bothner <per@bothner.com> |
|
1547 |
||
1548 |
* Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar". |
|
1549 |
||
1550 |
2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
|
1551 |
||
1552 |
* jartool.c (jt_strdup): New function. |
|
1553 |
(get_next_arg): Use jt_strdup instead of strdup. |
|
1554 |
||
1555 |
2001-01-21 Tom Tromey <tromey@redhat.com> |
|
1556 |
||
1557 |
* Makefile.in: Rebuilt. |
|
1558 |
* Makefile.am (bin_PROGRAMS): Remove grepjar. |
|
1559 |
(EXTRA_PROGRAMS): New macro. |
|
1560 |
||
1561 |
2000-12-28 Robert Lipe <robertl@sco.com> |
|
1562 |
||
1563 |
* jartool.c (MAXPATHLEN): Provide if not defined. |
|
1564 |
||
1565 |
2000-12-15 Tom Tromey <tromey@redhat.com> |
|
1566 |
Kelley Cook <kelleycook@home.com> |
|
1567 |
||
1568 |
* jargrep.c: Include getopt.h if it exists. |
|
1569 |
(optind): Declare. |
|
1570 |
* configure, config.h: Rebuilt. |
|
1571 |
* configure.in: Check for getopt.h. |
|
1572 |
||
1573 |
2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
|
1574 |
||
1575 |
* configure.in (fastjar_warn_cflags): Set when using gcc. |
|
1576 |
||
1577 |
* Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@. |
|
1578 |
||
1579 |
2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
|
1580 |
||
1581 |
* compress.c: Include stdlib.h and compress.h. |
|
1582 |
(rcsid): Delete. |
|
1583 |
(report_str_error): Make static. |
|
1584 |
(ez_inflate_str): Delete unused variable. Add parens in if-stmt. |
|
1585 |
(hrd_inflate_str): Likewise. |
|
1586 |
||
1587 |
* compress.h (init_compression, end_compression, init_inflation, |
|
1588 |
end_inflation): Prototype void arguments. |
|
1589 |
||
1590 |
* dostime.c (rcsid): Delete. |
|
1591 |
||
1592 |
* jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h. |
|
1593 |
Make functions static. Cast ctype function argument to `unsigned |
|
1594 |
char'. Add parens in if-stmts. Constify. |
|
1595 |
(Usage): Change into a macro. |
|
1596 |
(jargrep): Remove unused parameter. |
|
1597 |
||
1598 |
* jartool.c: Constify. Add parens in if-stmts. Align |
|
1599 |
signed/unsigned char pointers in functions calls using casts. |
|
1600 |
(rcsid): Delete. |
|
1601 |
(list_jar): Fix printf format specifier. |
|
1602 |
(usage): Chop long string into bits. Reformat. |
|
1603 |
||
1604 |
* pushback.c (rcsid): Delete. |
|
1605 |
||
1606 |
2000-12-13 Tom Tromey <tromey@redhat.com> |
|
1607 |
||
1608 |
* jartool.c (extract_jar): Use strchr, not index. |
|
1609 |
||
1610 |
2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com> |
|
1611 |
||
1612 |
* install-defs.sh: Removed. |
|
1613 |
||
1614 |
2000-12-10 Robert Lipe <robertlipe@usa.net> |
|
1615 |
||
1616 |
* jargrep.c (jargrep): Added null statement after case. |
|
1617 |
||
1618 |
2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com> |
|
1619 |
||
1620 |
* Makefile: Removed. |
|
1621 |
* Makefile.in: Rebuilt with `-i' and `--enable-foreign'. |
|
1622 |
||
1623 |
Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> |
|
1624 |
||
1625 |
* Makefile.am: New file. |
|
1626 |
* Makefile.in: Rebuilt. |
|
1627 |
* aclocal.m4: Likewise. |
|
1628 |
* stamp-h.in: Likewise. |
|
1629 |
* config.h.in: Likewise. |
|
1630 |
* configure.in (AM_INIT_AUTOMAKE): Added. |
|
1631 |
(AM_CONFIG_HEADER): Likewise. |
|
1632 |
(AC_CHECK_HEADERS): Check for sys/param.h |
|
1633 |
(AC_CHECK_LIB): Don't check for system's zlib. |
|
1634 |
(AC_CHECK_FUNC): Removed system's zlib function checks. |
|
1635 |
(ZDEPS. ZLIBS, ZINCS): Added. |
|
1636 |
* configure: Rebuilt. |
|
1637 |
* jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN. |
|
1638 |
(init_args, get_next_arg): New function. |
|
1639 |
(use_explicit_list_only, read_names_from_stdin): New global |
|
1640 |
(main): Parse new non standard options 'E' and '@', check and |
|
1641 |
report their usage if necessary. Use init_args and get_next_arg. |
|
1642 |
Fixed indentation. |
|
1643 |
(add_to_jar): Don't read directory content if `use_explicit_list_only'. |
|
1644 |
(usage): Added `-E' and `-@'. |
|
1645 |
* jartool.h (VERSION): Macro removed. |
|
1646 |
||
1647 |
Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> |
|
1648 |
||
1649 |
* fastjar imported from sourceforge.net/projects/fastjar with |
|
1650 |
Bryan Burns' permission. Check `CHANGES' for post import changes. |
|
1651 |
* ChangeLog: Created. |
|
1652 |
* NEWS: Likewise. |
|
1653 |
* mkinstalldirs: Likewise. |
|
1654 |
* COPYING: Likewise. |
|
1655 |
* AUTHORS: Likewise. |