Jan Matèrne
|
13f6d98c9d
|
make it compile under Java5 (1.5.0_22-b03)
|
11 years ago |
Jan Matèrne
|
1b76f1b6da
|
checkstyle
|
11 years ago |
Jan Matèrne
|
bf6026a147
|
organize imports
|
11 years ago |
Stefan Bodewig
|
5fc48a4bf9
|
assorted spelling fixes by Lajos Veres - closes #4
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1572981 13f79535-47bb-0310-9956-ffa450edef68
|
11 years ago |
Stefan Bodewig
|
803f9c877e
|
explicitly set milliseconds to 0 when parsing ZipEntry's time field, it has two second granularity anyway
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1536171 13f79535-47bb-0310-9956-ffa450edef68
|
12 years ago |
Stefan Bodewig
|
d79bed61a5
|
PR 55271: obey to section 1.4.2 in http://www.pkware.com/documents/casestudies/APPNOTE.TXT
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1504158 13f79535-47bb-0310-9956-ffa450edef68
|
12 years ago |
Stefan Bodewig
|
362376d624
|
Merge handling of duplicate entries from Commons Compress' ZipFile - needed to fix PR 54967
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1489286 13f79535-47bb-0310-9956-ffa450edef68
|
12 years ago |
Stefan Bodewig
|
3fb0180530
|
merge zip64 fix from commons compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1486439 13f79535-47bb-0310-9956-ffa450edef68
|
12 years ago |
Stefan Bodewig
|
82641d77bb
|
don't search beyond the start of the archive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1439115 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
1a4946cfd6
|
improve performance when reading non zip64 zip files, merge from commons compress, based on patch by Robin Power
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1439044 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
98f306fa84
|
re-use a bunch of temporary arrays - merge from Compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1429370 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
73d3298e62
|
merge recent fixes from Compress' tar package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1426337 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
ca86f16776
|
Inspired by PR 54056 I looked for thread-safety issues with HashMap in our code - nothing major found
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1407856 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
2e5b53fa10
|
merge tar package from Compress, bringing some POSIX tar support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1350857 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
333b90446c
|
some stray @since tags from CC
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1346027 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Stefan Bodewig
|
dee95e3acc
|
merge Zip64 support from Commons Compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1346025 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Jacobus Martinus Kruithof
|
6b7bc9e535
|
Bug 53291 - Several spell checker findings in apache ant 1.8.3 documentation
-- api --
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342897 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Jesse N. Glick
|
fca4fe69ed
|
NS_DANGEROUS_NON_SHORT_CIRCUIT
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1297169 13f79535-47bb-0310-9956-ffa450edef68
|
14 years ago |
Stefan Bodewig
|
0e150acfd4
|
ZipFile doesn't work properly for archives using unicode extra fields. Port of fix for COMPRESS-164 by Volker Leidl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1210522 13f79535-47bb-0310-9956-ffa450edef68
|
14 years ago |
Stefan Bodewig
|
7d02a9f6cf
|
there is an off-by-one error in the loop that searches for the 'end of central directory record'
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1154107 13f79535-47bb-0310-9956-ffa450edef68
|
14 years ago |
Stefan Bodewig
|
d25f4c4021
|
finalize deflater instance in ZipOutputStream.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1153485 13f79535-47bb-0310-9956-ffa450edef68
|
14 years ago |
Stefan Bodewig
|
c4c9d2552b
|
clean up Inflater instance as some JDKs won't do it for us. PR 42696. Submitted by Mounir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1146020 13f79535-47bb-0310-9956-ffa450edef68
|
14 years ago |
Antoine Levy-Lambert
|
aae4e79e64
|
another change in order not to get any warnings during JavaDoc generation when preparing releases
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1049295 13f79535-47bb-0310-9956-ffa450edef68
|
15 years ago |
Antoine Levy-Lambert
|
b9db9faf83
|
fixing warnings in javadoc generation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1043505 13f79535-47bb-0310-9956-ffa450edef68
|
15 years ago |
Stefan Bodewig
|
a28f64f5cf
|
fix a bunch of warnings you get when building on Harmony which uses Eclipse's compiler. There are still lots (more than 100) of deprecation warnings and warnings about missing serialversionids that I have ignored.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1037691 13f79535-47bb-0310-9956-ffa450edef68
|
15 years ago |
Stefan Bodewig
|
d3e00e275a
|
EFS in APPNOTE.TXT stands for 'Early Feature Specification' so our usage of it as 'use the general purpose field to signal UTF8' is wrong.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911741 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Stefan Bodewig
|
c767541c7d
|
As Jesse points out, equalsIgnoreCase is not locale-sensitive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911324 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Stefan Bodewig
|
f665a4d335
|
accept a wider range of existing zip archives by being more lenient when parsing extra fields
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910537 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Antoine Levy-Lambert
|
77cba689ce
|
fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@909962 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Stefan Bodewig
|
49a001d9c9
|
make comparision locale insensitive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@909469 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Stefan Bodewig
|
272ec48fce
|
ensure the same encoding is used for name and comment in all places. Submitted by Wolfgang Glas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@750311 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
f21a51dfd3
|
even more encoding options for zips
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@750072 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
6cd0de1022
|
Parse central directory part of ZIP extra fields. PR 46637
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@749610 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
6c0ab4d9ac
|
typos and unused imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@749527 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
752d64fa43
|
improved zip-encoding support for JDK < 1.5, submitted by Wolfgang Glas, merge from commons-compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@749368 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
a8c2ab1868
|
provide options for enhanced encoding support in ZIP, document it. Many thanks to Wolfgang Glas who provided most of the test input as well as patches the new support is based on.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@748593 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
3b7986524b
|
fix self-assignment
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@748416 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
8a183a492d
|
optionally read/write InfoZIP unicode fields, merge from commons-compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@748147 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
545ff63ab7
|
use the desired encoding to decode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@747002 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
8264511a27
|
use nio for decoding of names - merge from commons-compress rev 746933
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@746934 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
fa57759633
|
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@745932 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
3cb22aa1c6
|
Support more modern encoding flag where archives signal filenames as UTF-8. Based on submissions by Wolfgang Glas to commons-compress and TAMURA Kent to Ant. PR 45548.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@745930 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
9416f208d9
|
allow extra fields to be added at the front
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@745537 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
25f451bd36
|
Add support for InfoZIP invented extra fields for Unicode file names and comments. Submitted by Wolfgang Glas. Merge from commons-compress revision 745528
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@745531 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
817fd31998
|
fix a bunch of findbugs reported problems in the zip, tar and bzip2 classes. PR 46661
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@741089 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
e73a7f649f
|
Ignore ZIP extra fields that don't contain the recommended header+length structure - this is what unzip does as well. PR 42940
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@739300 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
601cdf67ba
|
Make sure ZIP archive is closed even when a RuntimeExpection occurs. PR 46559
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@738853 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
8d48bc6799
|
Move the zip package into a Java 1.4 world
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@738844 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
9b4b922d2c
|
fail early if ZipFile is applied to a non-ZIP archive. PR 45463. Suggested by Alison Winters.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@683942 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
7d174c3426
|
Made up my mind on the fix for PR 35000. Empty != broken, so make it two separate use cases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677870 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |