Revision 1204
Added by Dietmar over 14 years ago
readme.txt | ||
---|---|---|
1 | 1 |
// -------------------------------------------------------------------------------- |
2 |
// PclZip 2.6 - readme.txt
|
|
2 |
// PclZip 2.8.2 - readme.txt
|
|
3 | 3 |
// -------------------------------------------------------------------------------- |
4 |
// License GNU/LGPL - March 2006
|
|
4 |
// License GNU/LGPL - August 2009
|
|
5 | 5 |
// Vincent Blavet - vincent@phpconcept.net |
6 | 6 |
// http://www.phpconcept.net |
7 | 7 |
// -------------------------------------------------------------------------------- |
8 |
// $Id: readme.txt,v 1.49 2007/07/20 13:56:07 vblavet Exp $
|
|
8 |
// $Id: readme.txt,v 1.60 2009/09/30 20:35:21 vblavet Exp $
|
|
9 | 9 |
// -------------------------------------------------------------------------------- |
10 | 10 |
|
11 | 11 |
|
... | ... | |
32 | 32 |
2 - What's new |
33 | 33 |
============== |
34 | 34 |
|
35 |
Version 2.8.2 : |
|
36 |
- PCLZIP_CB_PRE_EXTRACT and PCLZIP_CB_POST_EXTRACT are now supported with |
|
37 |
extraction as a string (PCLZIP_OPT_EXTRACT_AS_STRING). The string |
|
38 |
can also be modified in the post-extract call back. |
|
39 |
**Bugs correction : |
|
40 |
- PCLZIP_OPT_REMOVE_ALL_PATH was not working correctly |
|
41 |
- Remove use of eval() and do direct call to callback functions |
|
42 |
- Correct support of 64bits systems (Thanks to WordPress team) |
|
43 |
|
|
44 |
Version 2.8.1 : |
|
45 |
- Move option PCLZIP_OPT_BY_EREG to PCLZIP_OPT_BY_PREG because ereg() is |
|
46 |
deprecated in PHP 5.3. When using option PCLZIP_OPT_BY_EREG, PclZip will |
|
47 |
automatically replace it by PCLZIP_OPT_BY_PREG. |
|
48 |
|
|
49 |
Version 2.8 : |
|
50 |
- Improve extraction of zip archive for large files by using temporary files |
|
51 |
This feature is working like the one defined in r2.7. |
|
52 |
Options are renamed : PCLZIP_OPT_TEMP_FILE_ON, PCLZIP_OPT_TEMP_FILE_OFF, |
|
53 |
PCLZIP_OPT_TEMP_FILE_THRESHOLD |
|
54 |
- Add a ratio constant PCLZIP_TEMPORARY_FILE_RATIO to configure the auto |
|
55 |
sense of temporary file use. |
|
56 |
- Bug correction : Reduce filepath in returned file list to remove ennoying |
|
57 |
'.//' preambule in file path. |
|
58 |
|
|
59 |
Version 2.7 : |
|
60 |
- Improve creation of zip archive for large files : |
|
61 |
PclZip will now autosense the configured memory and use temporary files |
|
62 |
when large file is suspected. |
|
63 |
This feature can also ne triggered by manual options in create() and add() |
|
64 |
methods. 'PCLZIP_OPT_ADD_TEMP_FILE_ON' force the use of temporary files, |
|
65 |
'PCLZIP_OPT_ADD_TEMP_FILE_OFF' disable the autosense technic, |
|
66 |
'PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD' allow for configuration of a size |
|
67 |
threshold to use temporary files. |
|
68 |
Using "temporary files" rather than "memory" might take more time, but |
|
69 |
might give the ability to zip very large files : |
|
70 |
Tested on my win laptop with a 88Mo file : |
|
71 |
Zip "in-memory" : 18sec (max_execution_time=30, memory_limit=180Mo) |
|
72 |
Zip "tmporary-files" : 23sec (max_execution_time=30, memory_limit=30Mo) |
|
73 |
- Replace use of mktime() by time() to limit the E_STRICT error messages. |
|
74 |
- Bug correction : When adding files with full windows path (drive letter) |
|
75 |
PclZip is now working. Before, if the drive letter is not the default |
|
76 |
path, PclZip was not able to add the file. |
|
77 |
|
|
35 | 78 |
Version 2.6 : |
36 | 79 |
- Code optimisation |
37 | 80 |
- New attributes PCLZIP_ATT_FILE_COMMENT gives the ability to |
... | ... | |
302 | 345 |
In Version 2.x : |
303 | 346 |
- PclZip does only support file uncompressed or compressed with deflate (compression method 8) |
304 | 347 |
- PclZip does not support password protected zip archive |
348 |
- Some concern were seen when changing mtime of a file while archiving. |
|
349 |
Seems to be linked to Daylight Saving Time (PclTest_changing_mtime). |
|
305 | 350 |
|
306 | 351 |
In Version 1.2 : |
307 | 352 |
|
Also available in: Unified diff
updated pclzip class