summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Compression/Compressor.pm
AgeCommit message (Collapse)AuthorFilesLines
2010-01-22Rename Dpkg::Compression::CompressedFile and Dpkg::Compression::CompressorRaphaël Hertzog1-113/+0
Dpkg::Compression::CompressedFile -> Dpkg::Compression::FileHandle Dpkg::Compression::Compressor -> Dpkg::Compression::Process The new names are more expressive and avoid repeating "Compress". Update all scripts and modules to use the new name.
2010-01-22Move handling of default compression method/level to Dpkg::CompressionRaphaël Hertzog1-21/+3
Dpkg::Compression now provides new functions to get/set the default compression method and the default compression level. There was no good reason to have it in Dpkg::Compression::Compressor in the first place. Factorize some code to verify validity of what should be a compression level in new function compression_is_valid_level($level). dpkg-source has been updated to cope with the changes.
2010-01-22Dpkg::Compression: new API based on public functionsRaphaël Hertzog1-4/+4
This API change requires lots of adjustements through the source code.
2010-01-22Rename Dpkg::Source::Compressor into Dpkg::Compression::CompressorRaphaël Hertzog1-0/+131