prophecy 0.0.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/bin/epubcheck +7 -0
- data/bin/kindlegen +1 -2
- data/bin/kindlestrip.py +237 -0
- data/bin/zip.exe +0 -0
- data/docs/licenses/epubcheck/COPYING.txt +19 -0
- data/docs/licenses/epubcheck/README.txt +61 -0
- data/docs/licenses/epubcheck/jing_license.txt +12 -0
- data/docs/licenses/zip/Contents +36 -0
- data/docs/licenses/zip/LICENSE +60 -0
- data/docs/licenses/zip/README +234 -0
- data/docs/licenses/zip/README.CR +119 -0
- data/docs/licenses/zip/WHATSNEW +333 -0
- data/docs/licenses/zip/WHERE +266 -0
- data/docs/licenses/zip/zip.txt +2027 -0
- data/docs/licenses/zip/zip30.ann +95 -0
- data/epubcheck_dir/epubcheck.jar +0 -0
- data/epubcheck_dir/lib/jing.jar +0 -0
- data/epubcheck_dir/lib/saxon.jar +0 -0
- data/lib/prophecy/cli.rb +70 -9
- data/lib/prophecy/version.rb +1 -1
- metadata +21 -1
@@ -0,0 +1,234 @@
|
|
1
|
+
Zip 3.0 is the first Zip update adding large file support. For now Zip 2.3x
|
2
|
+
remains available and supported, but users should switch to this new release.
|
3
|
+
|
4
|
+
Testing for Zip 3.0 has focused mainly on Unix, VMS, Max OS X, and Win32,
|
5
|
+
and some other ports may not be fully supported yet. If you find your
|
6
|
+
favorite port is broke, send us the details or, better, send bug fixes. It's
|
7
|
+
possible that support for some older ports may be dropped in the future.
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
Copyright (c) 1990-2008 Info-ZIP. All rights reserved.
|
12
|
+
|
13
|
+
See the accompanying file LICENSE (the contents of which are also included
|
14
|
+
in unzip.h, zip.h and wiz.h) for terms of use. If, for some reason, all
|
15
|
+
of these files are missing, the Info-ZIP license also may be found at:
|
16
|
+
ftp://ftp.info-zip.org/pub/infozip/license.html and
|
17
|
+
http://www.info-zip.org/pub/infozip/license.html.
|
18
|
+
|
19
|
+
|
20
|
+
Zip 3.0 is a compression and file packaging utility. It is compatible with
|
21
|
+
PKZIP 2.04g (Phil Katz ZIP) for MSDOS systems. There is a companion to zip
|
22
|
+
called unzip (of course) which you should be able to find in the same place
|
23
|
+
you got zip. See the file 'WHERE' for details on ftp sites and mail
|
24
|
+
servers.
|
25
|
+
|
26
|
+
So far zip has been ported to a wide array of Unix and other mainframes,
|
27
|
+
minis, and micros including VMS, OS/2, Minix, MSDOS, Windows, Atari, Amiga,
|
28
|
+
BeOS and VM/CMS. Although highly compatible with PKware's PKZIP and PKUNZIP
|
29
|
+
utilities of MSDOS fame, our primary objective has been one of portability
|
30
|
+
and other-than-MSDOS functionality. Features not found in the PKWare version
|
31
|
+
include creation of zip files in a pipe or on a device; VMS, BeOS and OS/2
|
32
|
+
extended file attributes; conversion from Unix to MSDOS text file format; and,
|
33
|
+
of course, the ability to run on most of your favorite operating systems. And
|
34
|
+
it's free.
|
35
|
+
|
36
|
+
See the file zip30.ann for a summary of new features in Zip 3.0 and WhatsNew
|
37
|
+
for the detailed list of new features and changes since Zip 2.32. The file
|
38
|
+
CHANGES details all day-to-day changes during development.
|
39
|
+
|
40
|
+
Notes:
|
41
|
+
|
42
|
+
Multi-volume support. This version does not support multi-volume spanned
|
43
|
+
archives as in pkzip 2.04g, and there is no intention at this point to support
|
44
|
+
spanned archives, but Zip 3.0 supports split archives. A split archive is an
|
45
|
+
archive split into a set of files, each file a piece of the archive and each
|
46
|
+
file using an extension, such as .z02 as in the file name archive.z02, that
|
47
|
+
provides the order of the splits. In contrast, a spanned archive is the
|
48
|
+
original multi-floppy archive supported by pkzip 2.0g where the split order
|
49
|
+
is contained in the volume labels. The contents of split and spanned archives
|
50
|
+
are mostly identical and there is a simple procedure to convert between the
|
51
|
+
formats. Many current unzips now support split archives.
|
52
|
+
|
53
|
+
Zip64 support. This version supports Zip64 archives as described in the
|
54
|
+
PKWare AppNote. These archives use additional fields to support archives
|
55
|
+
greater than 2 GB and files in archives over the 2 GB previous limit (4 GB
|
56
|
+
on some ports). The Zip64 format also allows more than 64k entries in an
|
57
|
+
archive. Support by the OS for files larger than 4 GB is needed for Zip to
|
58
|
+
create and read large files and archives. On Unix, Win32, and some other
|
59
|
+
ports, large file and Zip64 support is automatically checked for and
|
60
|
+
compiled in if available. Use of Zip64 by Zip is automatic and to maximize
|
61
|
+
backward compatibility the Zip64 fields will only be used if needed. A
|
62
|
+
Zip64 archive requires a pkzip 4.5 compatible unzip, such as UnZip 6.0.
|
63
|
+
|
64
|
+
Unicode support. This version has initial Unicode support. This allows
|
65
|
+
paths and names of files in other character sets to be accurately recreated
|
66
|
+
on OS that have sufficient character set support. On Win32, if wide
|
67
|
+
character calls are supported (not Win 9x unless Unicode support has been
|
68
|
+
added) all files (including paths with illegal characters in the current
|
69
|
+
character set) should now be readable by zip. Unicode support is provided
|
70
|
+
using a new set of UTF-8 path and comment extra fields and a new UTF-8 bit
|
71
|
+
for flagging when the current character set is already UTF-8. Zip 3.0
|
72
|
+
maintains backward compatibility with older archives and is mostly compliant
|
73
|
+
with the new Unicode additions in the latest PKWare AppNote. The exception
|
74
|
+
is UTF-8 comments, which are not supported if UTF-8 is not the native
|
75
|
+
character set, but should be fully implemented in Zip 3.1.
|
76
|
+
|
77
|
+
16-bit OS support. Though Zip 3.0 is designed to support the latest zip
|
78
|
+
standards and modern OS, some effort has been made to maintain support
|
79
|
+
for older and smaller systems. If you find Zip 3.0 does not fit on or
|
80
|
+
otherwise does not work well on a particular OS, send in the details and
|
81
|
+
we might be able to help.
|
82
|
+
|
83
|
+
Compression methods. In addition to the standard store and deflate methods,
|
84
|
+
Zip now can use the bzip2 compression format using the bzip2 library. Though
|
85
|
+
bzip2 compression generally takes longer, in many cases using bzip2 results
|
86
|
+
in much better compression. However, many unzips may not yet support
|
87
|
+
bzip2 compressed entries in archives, so test your unzip first before using
|
88
|
+
bzip2 compression.
|
89
|
+
|
90
|
+
Installation. Please read the file INSTALL for information on how to compile
|
91
|
+
and install zip, zipsplit, zipcloak, and zipnote and please read the manual
|
92
|
+
pages ZIP.txt, ZIPSPLIT.txt, ZIPCLOAK.txt, and ZIPNOTE.txt for information on
|
93
|
+
how to use them. Also, if you are using MSDOS or Windows, note that text
|
94
|
+
files in the distribution are generally in Unix line end format (LF only)
|
95
|
+
and Windows and DOS users will need to either convert the files as needed to
|
96
|
+
DOS line ends (CR LF) or extract the distribution contents using unzip -a.
|
97
|
+
|
98
|
+
Utilities. At this point zipsplit, zipcloak, and zipnote should work with
|
99
|
+
large files, but they currently do not handle split archives. A work around
|
100
|
+
is to use zip to convert a split archive to a single file archive and then use
|
101
|
+
the utilities on that archive.
|
102
|
+
|
103
|
+
Encryption. This version supports standard zip encryption. Until recently
|
104
|
+
the encryption code was distributed separately because of the US export
|
105
|
+
regulations but now is part of the main distribution. See crypt.c for
|
106
|
+
details. Decryption can be made with unzip 5.0p1 or later, or with zipcloak.
|
107
|
+
|
108
|
+
Bug reports. All bug reports or patches should go to zip-bugs via the web
|
109
|
+
site contact form at http://www.info-zip.org/zip-bug.html (we have discontinued
|
110
|
+
the old email address zip-bugs@lists.wku.edu because of too much spam lately)
|
111
|
+
and suggestions for new features can be submitted there also (although we don't
|
112
|
+
promise to use all of them). We also are on SourceForge at
|
113
|
+
http://sourceforge.net/projects/infozip/ and now automatically get Bug Reports
|
114
|
+
and Feature Requests submitted there. In addition, a new Info-ZIP discussion
|
115
|
+
forum is available as well. See below. Though bug reports can be posted there,
|
116
|
+
we don't have automatic monitoring of all postings set up yet so you may want
|
117
|
+
to use the web form or SoureForge for a quicker response. A good approach may
|
118
|
+
be to post the details on the forum so others can benefit from the posting,
|
119
|
+
then use the web reply form to let us know you did that if you don't get a
|
120
|
+
reply in a reasonable time.
|
121
|
+
|
122
|
+
Ports. If you're considering a port, please check in with zip-bugs FIRST,
|
123
|
+
since the code is constantly being updated behind the scenes. We'll
|
124
|
+
arrange to give you access to the latest source.
|
125
|
+
|
126
|
+
Discussion group. If you'd like to keep up to date with our Zip (and companion
|
127
|
+
UnZip utility) development, join the ranks of BETA testers, add your own
|
128
|
+
thoughts and contributions, etc., check out the new discussion forum. This is
|
129
|
+
the latest offering, after the various Info-ZIP mailing-lists on
|
130
|
+
mxserver@lists.wku.edu (courtesy of Hunter Goatley) were no longer available
|
131
|
+
and the temporary QuickTopic discussion group for Info-ZIP issues at
|
132
|
+
http://www.quicktopic.com/27/H/V6ZQZ54uKNL died a horrible death due to large
|
133
|
+
amounts of spam. The new discussion forum is now available at
|
134
|
+
http://www.info-zip.org/board/board.pl (thanks again to Hunter Goatley) and
|
135
|
+
can be used to discuss issues, request features, and is one place new betas
|
136
|
+
and releases are announced. It also is a place to post bug reports, and
|
137
|
+
patches can be submitted as attachments. However, we don't yet get
|
138
|
+
automatic notification of all postings there so try one of the other methods
|
139
|
+
if you don't get a response. You can also post Bug Reports and Feature
|
140
|
+
Requests at Source Forge. However, the web site contact form remains
|
141
|
+
available if you would rather not post on the public forums.
|
142
|
+
|
143
|
+
Frequently asked questions on zip and unzip:
|
144
|
+
|
145
|
+
Q. When unzipping I get an error message about "compression method 8".
|
146
|
+
|
147
|
+
A. This is standard deflate, which has been around for awhile. Please
|
148
|
+
get a current version of unzip. See the file 'WHERE' for details.
|
149
|
+
|
150
|
+
|
151
|
+
Q. How about "compression method 12"?
|
152
|
+
|
153
|
+
A. Compression method 12 is bzip2 and requires a relatively modern unzip.
|
154
|
+
Please get the latest version of unzip.
|
155
|
+
|
156
|
+
|
157
|
+
Q. I can't extract this zip file that I just downloaded. I get
|
158
|
+
"zipfile is part of multi-disk archive" or some other message.
|
159
|
+
|
160
|
+
A. Please make sure that you made the transfer in binary mode. Check
|
161
|
+
in particular that your copy has exactly the same size as the original.
|
162
|
+
Note that the above message also may actually mean you have only part
|
163
|
+
of a multi-part archive. Also note that UnZip 5.x does not and UnZip 6.0
|
164
|
+
probably won't have multi-disk (split) archive support. A work around
|
165
|
+
is to use Zip 3.0 to convert the split archive to a single-file archive
|
166
|
+
then use UnZip on that archive. As a last result, if there's something
|
167
|
+
readable in what you have, zip -FF should be able to recover it.
|
168
|
+
|
169
|
+
|
170
|
+
Q. When running unzip, I get a message about "End-of-central-directory
|
171
|
+
signature not found".
|
172
|
+
|
173
|
+
A. This usually means that your zip archive is damaged, or that you
|
174
|
+
have an uncompressed file with the same name in the same directory.
|
175
|
+
In the first case, it makes more sense to contact the person you
|
176
|
+
obtained the zip file from rather than the Info-ZIP software
|
177
|
+
developers, and to make sure that your copy is strictly identical to
|
178
|
+
the original. In the second case, use "unzip zipfile.zip" instead
|
179
|
+
of "unzip zipfile", to let unzip know which file is the zip archive
|
180
|
+
you want to extract.
|
181
|
+
|
182
|
+
|
183
|
+
Q. Why doesn't zip do <something> just like PKZIP does?
|
184
|
+
|
185
|
+
A. Zip is not a PKZIP clone and is not intended to be one. In some
|
186
|
+
cases we feel PKZIP does not do the right thing (e.g., not
|
187
|
+
including pathnames by default); in some cases the operating system
|
188
|
+
itself is responsible (e.g., under Unix it is the shell which
|
189
|
+
expands wildcards, not zip). Info-ZIP's and PKWARE's zipfiles
|
190
|
+
are interchangeable, not the programs.
|
191
|
+
|
192
|
+
For example, if you are used to the following PKZIP command:
|
193
|
+
pkzip -rP foo *.c
|
194
|
+
you must use instead on Unix:
|
195
|
+
zip -R foo "*.c"
|
196
|
+
(the quotes are needed to let the shell know that it should
|
197
|
+
not expand the *.c argument but instead pass it on to the program,
|
198
|
+
but are not needed on ports that do not expand file paths like
|
199
|
+
MSDOS)
|
200
|
+
|
201
|
+
|
202
|
+
Q. Can I distribute zip and unzip sources and/or executables?
|
203
|
+
|
204
|
+
A. You may redistribute the latest official distributions without any
|
205
|
+
modification, without even asking us for permission. You can charge
|
206
|
+
for the cost of the media (CDROM, diskettes, etc...) and a small copying
|
207
|
+
fee. If you want to distribute modified versions please contact us at
|
208
|
+
www.Info-ZIP.org first. You must not distribute beta versions.
|
209
|
+
The latest official distributions are always on ftp.Info-ZIP.org in
|
210
|
+
directory /pub/infozip and subdirectories and at SourceForge.
|
211
|
+
|
212
|
+
|
213
|
+
Q. Can I use the executables of zip and unzip to distribute my software?
|
214
|
+
|
215
|
+
A. Yes, so long as it is made clear in the product documentation that
|
216
|
+
zip or unzip are not being sold, that the source code is freely
|
217
|
+
available, and that there are no extra or hidden charges resulting
|
218
|
+
from its use by or inclusion with the commercial product. See the
|
219
|
+
Info-ZIP license for more. Here is an example of a suitable notice:
|
220
|
+
|
221
|
+
NOTE: <Product> is packaged on this CD using Info-ZIP's compression
|
222
|
+
utility. The installation program uses UnZip to read zip files from
|
223
|
+
the CD. Info-ZIP's software (Zip, UnZip and related utilities) is
|
224
|
+
freely distributed under the Info-ZIP license and can be obtained as
|
225
|
+
source code or executables from various anonymous-ftp sites,
|
226
|
+
including ftp://ftp.info-zip.org/pub/infozip.
|
227
|
+
|
228
|
+
|
229
|
+
Q. Can I use the source code of zip and unzip in my commercial application?
|
230
|
+
|
231
|
+
A. Yes, as long as the conditions in the Info-ZIP license are met. We
|
232
|
+
recommend you include in your product documentation an acknowledgment
|
233
|
+
and note that the original compression sources are available at
|
234
|
+
www.Info-ZIP.org. If you have special requirements contact us.
|
@@ -0,0 +1,119 @@
|
|
1
|
+
_____________________________________________________________________________
|
2
|
+
|
3
|
+
This is Info-ZIP's README.CR for zcrypt29.zip, last updated 27 March 2008.
|
4
|
+
_____________________________________________________________________________
|
5
|
+
|
6
|
+
|
7
|
+
The files described below contain the encryption/decryption code for Zip 2.31,
|
8
|
+
UnZip 5.52, and WiZ 5.02 (and later). These files are included in the main
|
9
|
+
source distributions for all of these now, but the encryption patch is still
|
10
|
+
available for earlier versions of these. This file both describes the history
|
11
|
+
of the encryption package and notes the current conditions for use. Check
|
12
|
+
the comments at the top of crypt.c and crypt.h for additional information.
|
13
|
+
|
14
|
+
As of version 2.9, this encryption source code is copyrighted by Info-ZIP;
|
15
|
+
see the enclosed LICENSE file for details. Older versions remain in the pub-
|
16
|
+
lic domain. Zcrypt was originally written in Europe and, as of April 2000,
|
17
|
+
can be freely distributed from the US as well as other countries.
|
18
|
+
|
19
|
+
(The ability to export from the US is new and is due to a change in the Bureau
|
20
|
+
of Export Administration's regulations, as published in Volume 65, Number
|
21
|
+
10, of the Federal Register [14 January 2000]. Info-ZIP filed the required
|
22
|
+
notification via e-mail on 9 April 2000; see the USexport.msg file in this
|
23
|
+
archive. However, as of June 2002, it can now be freely distributed in both
|
24
|
+
source and object forms from any country, including the USA under License
|
25
|
+
Exception TSU of the U.S. Export Administration Regulations (section 740.13(e))
|
26
|
+
of 6 June 2002.)
|
27
|
+
|
28
|
+
LIKE ANYTHING ELSE THAT IS FREE, ZIP, UNZIP AND THEIR ASSOCIATED
|
29
|
+
UTILITIES ARE PROVIDED AS IS AND COME WITH NO WARRANTY OF ANY KIND,
|
30
|
+
EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL THE AUTHORS BE LIABLE
|
31
|
+
FOR ANY DAMAGES RESULTING FROM THE USE OF THIS SOFTWARE.
|
32
|
+
|
33
|
+
The encryption code is a direct transcription of the algorithm from
|
34
|
+
Roger Schlafly, described by Phil Katz in the file appnote.txt. This
|
35
|
+
file is distributed with the PKZIP program (even in the version without
|
36
|
+
encryption capabilities). Note that the encryption will probably resist
|
37
|
+
attacks by amateurs if the password is well chosen and long enough (at
|
38
|
+
least 8 characters) but it will probably not resist attacks by experts.
|
39
|
+
Paul Kocher has made available information concerning a known-plaintext
|
40
|
+
attack for the PKWARE encryption scheme; see http://www.cryptography.com/
|
41
|
+
for details.) Short passwords consisting of lowercase letters only can be
|
42
|
+
recovered in a few hours on any workstation. But for casual cryptography
|
43
|
+
designed to keep your mother from reading your mail, it's OK.
|
44
|
+
|
45
|
+
For more serious encryption, check into PGP (Pretty Good Privacy), a
|
46
|
+
public-key-based encryption system available from various Internet sites.
|
47
|
+
PGP has Zip and UnZip built into it. The most recent version at the time
|
48
|
+
this was originally written was 6.5, although older versions were still
|
49
|
+
widespread. At the time of this writing there are now GPG, PGP Universal
|
50
|
+
2.0, and various others based on OpenPGP.
|
51
|
+
|
52
|
+
We are looking at adding AES strong encryption to future versions of Zip and
|
53
|
+
UnZip.
|
54
|
+
|
55
|
+
Zip 2.3x and UnZip 5.5x and later are compatible with PKZIP 2.04g. (Thanks
|
56
|
+
to Phil Katz for accepting our suggested minor changes to the zipfile format.)
|
57
|
+
|
58
|
+
IMPORTANT NOTE:
|
59
|
+
|
60
|
+
Zip archives produced by Zip 2.0 or later must not be *updated* by
|
61
|
+
Zip 1.1 or PKZIP 1.10 or PKZIP 1.93a, if they contain encrypted members
|
62
|
+
or if they have been produced in a pipe or on a non-seekable device.
|
63
|
+
The old versions of Zip or PKZIP would destroy the zip structure. The
|
64
|
+
old versions can list the contents of the zipfile but cannot extract
|
65
|
+
it anyway (because of the new compression algorithm). If you do not
|
66
|
+
use encryption and compress regular disk files, you need not worry about
|
67
|
+
this problem.
|
68
|
+
|
69
|
+
|
70
|
+
Contents that were distributed and now are part of the main source files:
|
71
|
+
|
72
|
+
file what it is
|
73
|
+
---- ----------
|
74
|
+
README.CR this file
|
75
|
+
LICENSE Info-ZIP license (terms of reuse and redistribution)
|
76
|
+
USexport.msg export notice sent to US Bureau of Export Administration
|
77
|
+
WHERE where Zip/UnZip/WiZ and related utilities can be found
|
78
|
+
crypt.c code for encryption and decryption
|
79
|
+
crypt.h code for encryption and decryption
|
80
|
+
file_id.diz description file for some BBSes
|
81
|
+
|
82
|
+
Most all of the files are in Unix (LF only) format. On MSDOS systems, you
|
83
|
+
can use the -a option of UnZip to convert the source files to CRLF
|
84
|
+
format. This is only necessary if you wish to edit the files -- they
|
85
|
+
will compile as is with Microsoft C and Turbo/Borland C++ 1.0 or
|
86
|
+
later. However, you will have to convert the files (using "unzip -a")
|
87
|
+
to the CRLF format to compile with the older Turbo C 1.0 or 2.0. You
|
88
|
+
should be able to find Zip and UnZip in the same place you found this
|
89
|
+
(see ftp://ftp.info-zip.org/pub/infozip/Info-ZIP.html or the file
|
90
|
+
"WHERE" for details).
|
91
|
+
|
92
|
+
Current releases all have encryption built in. To update previous versions
|
93
|
+
using the zcrypt sources:
|
94
|
+
|
95
|
+
(1) Get the main sources (e.g., Zip 2.3) and unpack into a working
|
96
|
+
directory, as usual.
|
97
|
+
|
98
|
+
(2) Overwrite the dummy crypt.c and crypt.h from the main sources with
|
99
|
+
the versions from this package. If you want to overwrite directly
|
100
|
+
out of the zcrypt29 archive, do not use UnZip's freshen/updating
|
101
|
+
option; the dummy files may be newer than the real sources in
|
102
|
+
zcrypt29. ("unzip -o zcrypt29 -d /your/working/dir" will do the
|
103
|
+
Right Thing in most cases, although it may overwrite a newer WHERE
|
104
|
+
file under some circumstances.)
|
105
|
+
|
106
|
+
(3) Read the main INSTALL document and compile normally! No makefile
|
107
|
+
changes are necessary on account of the zcrypt sources. You can
|
108
|
+
check that the version you just compiled has encryption or decryption
|
109
|
+
support enabled by typing "zip -v" or "unzip -v" and verifying that
|
110
|
+
the last "special compilation option" says encryption or decryption
|
111
|
+
is included.
|
112
|
+
|
113
|
+
Encryption enables new "-e" and "-P password" options in Zip, and a new
|
114
|
+
"-P password" option in UnZip--see the normal Zip and UnZip documentation
|
115
|
+
for details. (Note that passing a plaintext password on the command line
|
116
|
+
is potentially much more insecure than being prompted for it interactively,
|
117
|
+
which is the default for UnZip and for Zip with "-e". Also note that the
|
118
|
+
interactive method allows UnZip to deal with archives that use different
|
119
|
+
passwords for different files.)
|
@@ -0,0 +1,333 @@
|
|
1
|
+
What's New
|
2
|
+
|
3
|
+
Last updated 1 July 2008
|
4
|
+
|
5
|
+
This file is the full list of new features and major changes for Zip 3.0
|
6
|
+
by beta release. See the announcement file zip30.ann for a quick summary
|
7
|
+
of all features and changes in Zip 3.0. Also see the file README for
|
8
|
+
release information, INSTALL for installation procedures, and the manual
|
9
|
+
pages zip.txt, zipsplit.txt, zipcloak.txt, and zipnote.txt for how to use
|
10
|
+
the new features. The file CHANGES has all the day-to-day changes made
|
11
|
+
during development.
|
12
|
+
|
13
|
+
|
14
|
+
Below are some of the more significant items on the list for Zip 3.1
|
15
|
+
(see ToDo for a more complete list):
|
16
|
+
|
17
|
+
- AES encryption.
|
18
|
+
- Extended attributes for Windows, Linux, and Mac OS X.
|
19
|
+
- Support -d@ for deleting list of files.
|
20
|
+
- Decide if -R, -i and -x should use external rather than internal patterns.
|
21
|
+
- Though Unicode paths have been implemented and tested, Unicode comments
|
22
|
+
are not yet supported (except for comments on UTF-8 native systems which
|
23
|
+
are supported).
|
24
|
+
- Verbose mode -v may still need work.
|
25
|
+
- When pattern is directory add end / automatically.
|
26
|
+
- Add C# example for Zip 3.0 (need to be converted to new DLLs) - original
|
27
|
+
C# example added with note.
|
28
|
+
- Path Prefix maybe, so entries added to an archive can have a directory
|
29
|
+
path string prepended to each path.
|
30
|
+
- UNC path support maybe.
|
31
|
+
- Support for other languages maybe.
|
32
|
+
- Send in your suggestions.
|
33
|
+
- ...
|
34
|
+
|
35
|
+
|
36
|
+
MAJOR CHANGES BY BETA VERSION
|
37
|
+
-----------------------------
|
38
|
+
|
39
|
+
New things in Zip 3.0 since Zip 3.0h:
|
40
|
+
|
41
|
+
- Unicode fixes.
|
42
|
+
- Test and fix various ports as needed.
|
43
|
+
- Update Win32 resource to support more Windows ports.
|
44
|
+
- Add djgpp 2.x makefile that includes bzip2.
|
45
|
+
- Add Win32 version resource to Win32 executable.
|
46
|
+
- Bug fixes.
|
47
|
+
- Documentation updates.
|
48
|
+
- Package for release.
|
49
|
+
|
50
|
+
|
51
|
+
New things in Zip 3.0h
|
52
|
+
|
53
|
+
- Allow -@ and -x to work together.
|
54
|
+
- Unicode code cleanup.
|
55
|
+
- Allow forcing use of UTF-8 storage in standard path and comment.
|
56
|
+
- Update symbolic link checks.
|
57
|
+
- Add support for storing 32-bit UIDs/GIDs using new extra field.
|
58
|
+
Backward compatible support for the old 16-bit UID/GID extra field
|
59
|
+
remains if Zip is compiled on an OS that has 16-bit UID/GID
|
60
|
+
storage.
|
61
|
+
- Update VMS notes.
|
62
|
+
- Directory scan using -AS (include only files with Windows archive
|
63
|
+
bit set) now ignores archive bit on directories to include all files
|
64
|
+
with archive bit set in all directories. Also, to avoid empty
|
65
|
+
directories being created, -AS now does not store directory
|
66
|
+
entries.
|
67
|
+
- Add Unix IBM support.
|
68
|
+
- Change -W to -ws to free -W for later use.
|
69
|
+
- Fix large file support for MinGW.
|
70
|
+
- Fix large file support for bzip2.
|
71
|
+
- Fix compile error in ZipCloak when UNICODE_SUPPORT is not enabled.
|
72
|
+
- Fix Unicode bug in ZipCloak involving Unicode paths.
|
73
|
+
- Long Unicode escapes changed from #Lxxxxxxxx to #Lxxxxxx to shorten
|
74
|
+
paths with escaped Unicode.
|
75
|
+
- Bug fixes.
|
76
|
+
|
77
|
+
|
78
|
+
New things in Zip 3.0g
|
79
|
+
|
80
|
+
- Add split support to VB project for Zip64.
|
81
|
+
- Disable reading of Unix FIFOs unless new -FI option used to avoid an
|
82
|
+
archiving operation stopping when it hits an active unfed FIFO.
|
83
|
+
- The "[list]" wildcard expression (regular expression matching of any
|
84
|
+
character or range of characters in list) is now disabled on DOS and
|
85
|
+
Windows as it has caused confusion when filenames have [ and ] in
|
86
|
+
them. The new -RE option reenables it.
|
87
|
+
- Add negation to many display options such as -dc and -db.
|
88
|
+
- Allow -FF to read and fix archives having local entries that appear
|
89
|
+
after central directory entries.
|
90
|
+
- Bug fixes.
|
91
|
+
|
92
|
+
|
93
|
+
New things in Zip 3.0f
|
94
|
+
|
95
|
+
- bzip2 - The bzip2 compression method looks supported for at least
|
96
|
+
Windows, Unix, and VMS using the bzip2 library. A new option, -Z cm,
|
97
|
+
selects the compression method.
|
98
|
+
|
99
|
+
- Split archives - Can now use -s to create a split archive. The
|
100
|
+
default is to update split files as the archive is being written,
|
101
|
+
which requires all splits to remain open until the archive is done.
|
102
|
+
This should be no problem when writing the archive to a hard drive,
|
103
|
+
for example, and this approach creates archives that should be
|
104
|
+
supported by all unzips that support splits. Adding the -sp option
|
105
|
+
enables split pause mode that instead writes splits that do not
|
106
|
+
need updating and pauses Zip after each split. This allows splits
|
107
|
+
to be written directly to removable media, however -sp archives
|
108
|
+
may not be as universally compatible.
|
109
|
+
|
110
|
+
- Unicode support - Zip now stores Unicode paths that should be more
|
111
|
+
portable across character sets and languages. The unzip must have
|
112
|
+
Unicode support enabled or the Unicode paths are ignored. If
|
113
|
+
reading an archive with Unicode paths, unsupported characters are
|
114
|
+
replaced by #Uxxxx and #Lxxxxxxxx escapes in the file name. Option
|
115
|
+
-UN controls how Unicode is handled. Also, on systems where the
|
116
|
+
current character set is UTF-8, preliminary support for the new
|
117
|
+
General Purpose Bit Flag, bit 11, UTF-8 flag, that indicates UTF-8
|
118
|
+
is stored in the path and comment fields is implemented for paths.
|
119
|
+
- Unicode on Win32 - On WIN32 systems that support the wide character
|
120
|
+
calls (mainly NT and later systems using NTFS), when UNICODE SUPPORT
|
121
|
+
is enabled Zip will now do directory scans using Unicode and convert
|
122
|
+
the Unicode paths to the local character set for storage in the standard
|
123
|
+
path field and store UTF-8 in the Unicode extra field. This allows
|
124
|
+
directory scans to complete successfully regardless of the character
|
125
|
+
set the path is in. On Win9x systems wide character scans are not
|
126
|
+
generally supported and Zip automatically uses a local character scan
|
127
|
+
instead.
|
128
|
+
|
129
|
+
- Keep extra fields option - The default operation has been, and continues
|
130
|
+
to be, to read then strip old extra fields when reading entries from an
|
131
|
+
existing archive and then recreate the extra fields that Zip knows about.
|
132
|
+
Extra fields specific to each operating system get added by default also.
|
133
|
+
The new option -X- (negated -X) keeps any old extra fields, copying
|
134
|
+
them to the updated archive unchanged (unless Zip has updated them).
|
135
|
+
The unnegated -X still strips most all extra fields except Zip64,
|
136
|
+
Unicode, and UT time.
|
137
|
+
|
138
|
+
- License - minor updates to the license.
|
139
|
+
|
140
|
+
- Windows OEM - When compiled with WIN32_OEM (the default for WIN32),
|
141
|
+
Zip on WIN32 now stores OEM paths, which should be more compatible
|
142
|
+
with other zips and should fix some character set problems.
|
143
|
+
- Windows Archive Bit support - On Windows can now use new -AS
|
144
|
+
(include if archive bit set) option to select files with the DOS
|
145
|
+
archive bit set and use new -AC (clear archive bits) option to clear
|
146
|
+
the archive bits on files after the archive has been created.
|
147
|
+
But -DF is probably better.
|
148
|
+
|
149
|
+
- Difference mode - A new option -DF (--dif) creates an output archive
|
150
|
+
that includes only files changed or new since the input archive was
|
151
|
+
created. Can use to create incremental backups.
|
152
|
+
- File Sync - The new option -FS enables File Sync, a new mode that
|
153
|
+
synchronizes the entries in an archive with the files on the file
|
154
|
+
system, adding updating, and deleting entries as needed. This
|
155
|
+
should create the same results as creating a new archive, but
|
156
|
+
since existing entries are copied, may be much faster.
|
157
|
+
|
158
|
+
- Copy Mode - A new --out option allows creating a new archive with a
|
159
|
+
different name than the input archive, leaving the input archive
|
160
|
+
unchanged. This allows updating split archives. It also allows
|
161
|
+
for a new copy mode to select entries in one archive and copy them
|
162
|
+
directly to a new archive.
|
163
|
+
- Empty archives - Now an empty archive is created when -i or -i@ is used
|
164
|
+
and the file patterns given do not match anything. This has been
|
165
|
+
requested to support scripts.
|
166
|
+
|
167
|
+
- Global dots - A new -dg option now displays progress dots as -dd does,
|
168
|
+
but instead of displaying them for each file, the dots track the total
|
169
|
+
bytes read for the archive. The -dg option also works when -q is used
|
170
|
+
to disable most output, which allows for something like zip -qdgds 100m
|
171
|
+
to be used to not display specific files but display a dot every 100 MB
|
172
|
+
as a global status.
|
173
|
+
- Date range - Can now use -t and -tt to set a date range
|
174
|
+
- Fix options - Option -F redone and can recover files from an archive
|
175
|
+
with a mostly complete central directory more reliably, but no longer
|
176
|
+
can handle truncated archives. Option -FF redone and now can salvage
|
177
|
+
files from slightly more damaged archives, including truncated archives.
|
178
|
+
In some ways -F is less powerful but more stable than it was and -FF will
|
179
|
+
be needed where -F in Zip 2.32 was enough. One big change is -F and -FF
|
180
|
+
both now support split archives.
|
181
|
+
- Console writing - Updates to how messages are written to the console have
|
182
|
+
been made including more consistent handling of line breaks.
|
183
|
+
- Show Files options - Option -sf lists the files that would be operated
|
184
|
+
on. This option can be used alone to list the files in an archive.
|
185
|
+
Also see options -su and -sU for showing Unicode paths.
|
186
|
+
- UnZip Check - Now check that UnZip 6.00 or later is being used for
|
187
|
+
unzip if testing a Zip64 archive. A new option -TT can be used to set
|
188
|
+
the unzip to use with the -T check. Currently UnZip does not support
|
189
|
+
split archives so split archives can't be tested by UnZip.
|
190
|
+
- Streaming - Directories are now handled better when streaming.
|
191
|
+
- Case matching - Normally all matching against archive entries is case
|
192
|
+
sensitive, so *.BAR will not match or find foo.bar in an archive
|
193
|
+
when deleting, copying, or freshening entries (deleting and copying
|
194
|
+
only on VMS). New option -ic (--ignore-case) enables case insensitive
|
195
|
+
matching. Currently -ic is only implemented on WIN32 and VMS.
|
196
|
+
|
197
|
+
- Delete date bug fixed - Bug when using -d to delete files while
|
198
|
+
using -t or -tt to select the files based on date is fixed
|
199
|
+
- Large file encryption bug fixed - Fix for bug that very rarely
|
200
|
+
results in bad data being stored when deflating and encrypting
|
201
|
+
uncompressable data and resulting in CRC errors when extracting,
|
202
|
+
but the chance of error increases with file size (thanks to
|
203
|
+
WinZip for finding this bug). See CHANGES for details.
|
204
|
+
|
205
|
+
|
206
|
+
New things in Zip 3.0e
|
207
|
+
|
208
|
+
- Bugs described in Debian patches 004 (unix configure script update) and
|
209
|
+
005 (large path bug) fixed
|
210
|
+
- Various fixes
|
211
|
+
- Add optional running stats and also end stats if not all files could
|
212
|
+
be read
|
213
|
+
- Options -l and -ll now do quick binary check on first buffer and skip
|
214
|
+
formatting if first buffer has binary - still check at end to note
|
215
|
+
if formatting was done on file that was later determined to be binary,
|
216
|
+
but now potential file corruption is generally avoided
|
217
|
+
- Main binary check now uses new algorithm that should also treat UTF-8 and
|
218
|
+
other similar encodings as text, allowing proper line end translation
|
219
|
+
for UTF-8 files
|
220
|
+
- When output is not updatable by seeking back and Zip64 is enabled, output
|
221
|
+
is forced to Zip64 to avoid possible later need for Zip64 when not enabled
|
222
|
+
- More work on splits, but still not usable
|
223
|
+
- Fixes for djgpp
|
224
|
+
- Add log file capability to save all errors and optionally messages
|
225
|
+
- Add code to test for a Zip64 archive when compiled without Zip64 support
|
226
|
+
- New VC6 projects for Win32 and WinDLL
|
227
|
+
- Updates to extended help
|
228
|
+
- Changes to force-zip64 option
|
229
|
+
- ZE_BIG error now given also for files too big to read or write
|
230
|
+
- Fix file delete bug
|
231
|
+
- Update license
|
232
|
+
- Update export documentation
|
233
|
+
- Add VMS extended filename support
|
234
|
+
- Add directory traversal improvements, some for Win32 ports and some for
|
235
|
+
all ports, that can result in a 10 times increase in speed in some cases
|
236
|
+
|
237
|
+
|
238
|
+
New things in Zip 3.0d
|
239
|
+
|
240
|
+
- Some large file crypt fixes
|
241
|
+
- Some updates to support WiZ
|
242
|
+
- On VMS, changed -V (/VMS) processing to truncate file at EOF, allowing
|
243
|
+
greater compatability with non-VMS systems. New -VV (/VMS=ALL) option
|
244
|
+
saves all allocated blocks in a file. (Previously, -V did neither.)
|
245
|
+
- On VMS, pushed 2GB file size limit with -V out to 4GB
|
246
|
+
- On VMS (recent, non-VAX), with SET PROCESS /PARSE = EXTEND,
|
247
|
+
command-line case is preserved. This obviates quoting upper-case
|
248
|
+
options, like -V, when enabled
|
249
|
+
- On VMS, fixed problems with mixed-case directory names. Also changed
|
250
|
+
to keep ODS5 extended file name escape characters ("^") out of the
|
251
|
+
archived names in simple cases
|
252
|
+
- Changes to the display dots
|
253
|
+
- Option -W should now force wildcard matching to not cross directory
|
254
|
+
separators. For example, a/b*r/d will match a/bar/d but not a/ba/r/d
|
255
|
+
- Option -nw should turn off all wildcard matching so foo[bar] is matched
|
256
|
+
literally and [bar] is not considered a regular expression
|
257
|
+
- Atheos port
|
258
|
+
- Debugging of Unix and VMS large file ports. Most features may work now
|
259
|
+
on these ports for large files. Still need to fix 2 GB to 4 GB when not
|
260
|
+
compiled with large file support
|
261
|
+
- On VMS, added an open callback function which (where supported) senses
|
262
|
+
the process RMS_DEFAULT values for file extend quantity (deq)
|
263
|
+
multi-block count (mbc), and multi-buffer count (mbf), and sets the
|
264
|
+
FAB/RAB parameters accordingly. The default deq is now much larger
|
265
|
+
than before (16384 blocks, was none), and the default mbc is now 127
|
266
|
+
(up from 64), speeding creation of a large archive file. The "-v"
|
267
|
+
option shows some of the activity. On old VMS versions, RMS_DEFAULT
|
268
|
+
sensing (GETJPI) fails (silently, without "-v"), and no changes will
|
269
|
+
be made. Even there, (DCL) SET RMS /EXTEND = <big> can help
|
270
|
+
performance. RMS_DEFAULT values override built-in default values.
|
271
|
+
|
272
|
+
|
273
|
+
New things in Zip 3.0c
|
274
|
+
|
275
|
+
- Converted to using 64-bit file environment instead of transitional functions
|
276
|
+
like fseeko64 for ports that support it
|
277
|
+
- Added "--" argument to read all following arguments as paths
|
278
|
+
- Second help page added
|
279
|
+
- Binary detection adjusted from 20% binary is binary to 2%
|
280
|
+
- When -R and -i used together now -i has precedence over -R
|
281
|
+
- Archive names with spaces can now be tested on MSDOS and Win32
|
282
|
+
|
283
|
+
|
284
|
+
New things in Zip 3.0b
|
285
|
+
|
286
|
+
- Fixed ifdefs so can test base code by compiling with NO_LARGE_FILE_SUPPORT, then
|
287
|
+
compiling with NO_ZIP64_SUPPORT to test 64-bit file calls (if port enables) but
|
288
|
+
otherwise use base code, and compiling normally to enable Zip64 code
|
289
|
+
- Unix Zip64 fixes - should now be able to create and read large files
|
290
|
+
- WinDLL changes to support Zip64. Zip 3.0 dll named Zip32z64.dll
|
291
|
+
- New VB example to show use of Zip32z64.dll
|
292
|
+
- New options -sc (show final command line and exit) and -sd (show each
|
293
|
+
step zip is doing, a little different than verbose which is still there) added
|
294
|
+
to help debug but both or at least -sd might go away in the release
|
295
|
+
- Some minor posted bugs fixed (see Changes)
|
296
|
+
|
297
|
+
|
298
|
+
New things in Zip 3.0a
|
299
|
+
|
300
|
+
- Initial Zip64 support allowing large files and large numbers of files
|
301
|
+
- New command line processor
|
302
|
+
- Other changes, see file Changes
|
303
|
+
|
304
|
+
|
305
|
+
Note: Zip 2.4 was never released. That code was the start of the Zip 3.0
|
306
|
+
effort above.
|
307
|
+
|
308
|
+
|
309
|
+
New things in Zip 2.3
|
310
|
+
|
311
|
+
- IBM OS/390 port (Unix like, but EBCDIC) by Paul von Behren
|
312
|
+
- Apple Macintosh (MACOS) port by Dirk Haase
|
313
|
+
- Theos port by Jean-Michel Dubois
|
314
|
+
- Multibyte characterset support by Yoshioka Tsuneo
|
315
|
+
- Support for ISO 8601 date format with -t and -tt options
|
316
|
+
- Info-ZIP license
|
317
|
+
|
318
|
+
|
319
|
+
New things in Zip 2.2
|
320
|
+
|
321
|
+
- BEOS port by Chris Herborth
|
322
|
+
- QDOS port by Jonathan Hudson
|
323
|
+
- TANDEM port by Dave Smith
|
324
|
+
- WINDLL port (16-bit Win 3.x and 32-bit WinNT/Win95) by Mike White
|
325
|
+
- SYSV packages support by John Bush
|
326
|
+
- zip -P SeCrEt encrypts entries in the zip file with password SeCrEt
|
327
|
+
(WARNING: THIS IS INSECURE, use at your own risk)
|
328
|
+
- zip -R recurses into subdirectories of current dir like "PKZIP -rP"
|
329
|
+
- zip -x@exclude.lst excludes files specified in the file exclude.lst
|
330
|
+
- zip -i@include.lst includes files specified in the file include.lst
|
331
|
+
- zip -@ only handles one filename per line, but supports whitespace in names
|
332
|
+
- zip -t mmddyyyy, 4 digit year number for uniqueness of years beyond 2000
|
333
|
+
- zip -tt mmddyyyy only includes files before a specified date
|