The Trunk: Compression-nice.14.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Compression-nice.14.mcz

commits-2
Nicolas Cellier uploaded a new version of Compression to project The Trunk:
http://source.squeak.org/trunk/Compression-nice.14.mcz

==================== Summary ====================

Name: Compression-nice.14
Author: nice
Time: 18 January 2010, 3:30:48.999 pm
UUID: a36e4b70-0cab-854f-b112-9ddbd9e117f0
Ancestors: Compression-nice.13

Use literal ByteArray

=============== Diff against Compression-nice.13 ===============

Item was changed:
  ----- Method: ZipFileConstants class>>initialize (in category 'pool initialization') -----
  initialize
  "ZipFileConstants initialize"
  FaMsdos := 0.
  FaUnix := 3.
  DeflatingCompressionNormal := 0.
  DeflatingCompressionMaximum := 2.
  DeflatingCompressionFast := 4.
  DeflatingCompressionSuperFast := 6.
  CompressionStored := 0.
  CompressionDeflated := 8.
  CompressionLevelNone := 0.
  CompressionLevelDefault := 6.
  IfaTextFile := 1.
  IfaBinaryFile := 0.
  DataDescriptorLength := 12.
 
  "Unix permission bits"
  DefaultDirectoryPermissions := 8r040755.
  DefaultFilePermissions := 8r0100666.
  DirectoryAttrib := 8r040000.
  FileAttrib := 8r0100000.
 
+ CentralDirectoryFileHeaderSignature := #[ 16r50 16r4B 16r01 16r02 ].
+ LocalFileHeaderSignature := #[ 16r50 16r4B 16r03 16r04 ].
+ EndOfCentralDirectorySignature := #[ 16r50 16r4B 16r05 16r06 ].!
- CentralDirectoryFileHeaderSignature :=
- (ByteArray with: 16r50 with: 16r4B with: 16r01 with: 16r02).
- LocalFileHeaderSignature :=
- (ByteArray with: 16r50 with: 16r4B with: 16r03 with: 16r04).
- EndOfCentralDirectorySignature :=
- (ByteArray with: 16r50 with: 16r4B with: 16r05 with: 16r06).!