| 1 |
Zip plugin compression library |
| 2 |
|
| 3 |
It is a Free Pascal compression toolkit which supports ZIP, ZIPX, TAR, XZ, LZMA, |
| 4 |
GZip, Zstandard and BZip2 data compression and archiving. |
| 5 |
|
| 6 |
Based on TurboPower Abbrevia compression toolkit |
| 7 |
Version: 5.0 |
| 8 |
Revision: 512 |
| 9 |
Home Page: http://tpabbrevia.sourceforge.net |
| 10 |
|
| 11 |
NOTES: |
| 12 |
|
| 13 |
Functions AbDetectCharSet and IsOEM from AbCharset unit fails with some code |
| 14 |
pages and characters (eg. 936 and 图片) ! Don't use it when merging with Abbrevia. |
| 15 |
Better to try to convert with MultiByteToWideChar (see DCConvertEncoding CeTryEncode |
| 16 |
and CeTryDecode). |
| 17 |
|
| 18 |
Abbrevia sets current directory before reading files from disk in case paths are relative |
| 19 |
and uses ExpandFileName (which relies on current directory) to change relative paths |
| 20 |
to absolute. Since Double Commander uses the toolkit from a non-main thread it cannot |
| 21 |
rely on current directory not changing while working. Instead, always full paths |
| 22 |
in archive items are used, both archive file name and disk file name, paths are rebased |
| 23 |
against TAbArchive.BaseDirectory (which doesn't change during working) and all calls |
| 24 |
to functions changing current directory have been removed. |