summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Compression/Process.pm
AgeCommit message (Collapse)AuthorFilesLines
2016-07-03man, perl: Remove most AUTHOR sectionsGuillem Jover1-4/+0
These are strongly discouraged by the man-pages project, because they are redundant with the copyright notices, and tend to get out-of-sync. In addition their format is inconsitent. Just remove them in the same way we did for man pages in the past.
2015-07-28Dpkg: Remove my keyword from POD function prototypesGuillem Jover1-3/+3
2015-05-18scripts: Document dpkg version when module versions got bumpedGuillem Jover1-1/+1
This has two purposes, first it will make it easier to know if the module version needs to be bumped for the current development release, and second it will make it easier for users to know how "old" that module version is, and to which dpkg series and specific version it corresponds to.
2015-01-28Dpkg: Use shift instead of @_ on single argument unpackingGuillem Jover1-2/+2
2015-01-28scripts: Rename and deprecate _g function with g_Guillem Jover1-3/+3
The old function name was inconsistent with the other gettext family of short aliases which has already caused some code typos, and functions starting with underscore are considered by convention private in Perl.
2014-10-12scripts: Document all public module versions in a CHANGES sectionGuillem Jover1-0/+6
This makes it clear what is the current version of the module, and that it is a public interface.
2014-10-06scripts: Unpack arguments just onceGuillem Jover1-4/+6
Addresses Subroutines::RequireArgUnpacking. Warned-by: perlcritic
2014-10-06scripts: Use named variables instead of using the topic variableGuillem Jover1-3/+3
Switch code that uses roughly more explicit instances of the topic variable than implicit ones. Addresses BuiltinFunctions::ProhibitUselessTopic. Warned-by: perlcritic
2014-08-09scripts: Use //= instead of ||= when appropriateGuillem Jover1-1/+1
Replace only safe usages, i.e. those that fallback on initialization values that evaluate to false anyway. Or when the API is explicit about the variable being undefined.
2013-12-07Use https:// URLs instead of http:// when possibleGuillem Jover1-1/+1
2013-12-04scripts: Use croak instead of internerr on programming errors in modulesGuillem Jover1-2/+4
Remove now unused internerr() function, replaced by croak which does a way better job. Addresses ErrorHandling::RequireCarping. Warned-by: perlcritic
2013-05-04Do not use double-quotes on strings that do not need interpolationGuillem Jover1-10/+10
Using double-quotes imposes a small performance penalty as the perl parser needs to check if any interpolation is needed. Use double-quotes only when the string contains single-quotes. Ideally we'd use double-quotes too for escaped meta-characters that might otherwise be confusing to immediately see if they need interpolation or not, but the policy does not (currently) allow to ignore these. Fixes ValuesAndExpressions::ProhibitInterpolationOfLiterals. Warned-by: perlcritic
2013-04-30Do not quote simple identifier hash keys in element accessesGuillem Jover1-22/+22
Addresses ValuesAndExpressions::ProhibitInterpolationOfLiterals. Warned-by: perlcritic
2010-02-26Update POD documentation to indicate that it's using UTF-8 encodingRaphaël Hertzog1-0/+2
Also fix many spelling errors spotted by lintian.
2010-02-25libdpkg-perl: Make comp_prog and decomp_prog %COMP properties arraysGuillem Jover1-2/+2
This will allow storing arguments alongside the command names themselves.
2010-02-21Add $VERSION numbers to all perl modulesRaphaël Hertzog1-0/+2
Modules whose API should be stable have a version 1.00. The modules with version 0.01 are expected to have further API changes in the (near) future or are deemed to be useful mostly for dpkg-dev's internal usage.
2010-02-19libdpkg-perl: Rename Dpkg::IPC::fork_and_exec() to Dpkg::IPC::spawn()Guillem Jover1-4/+4
2010-01-22Dpkg::Compression::Process: add POD documentationRaphaël Hertzog1-4/+92
2010-01-22Rename Dpkg::Compression::CompressedFile and Dpkg::Compression::CompressorRaphaël Hertzog1-0/+113
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.