summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Interface
AgeCommit message (Collapse)AuthorFilesLines
2019-11-26Dpkg: Say class instead of object when appropriateGuillem Jover1-2/+2
These were referring to the type and not the instance, which makes using the incorrect nomenclature confusing.
2019-01-15perl: Fix POD for Dpkg::Interface::Storable derived method implementationsGuillem Jover1-2/+2
Document inherited methods. Document the return values. Note which arguments are optional. Reorder methods by their position in the stack.
2017-09-24Dpkg::Interface::Storable: Add new option to disable compression supportGuillem Jover1-13/+27
Only load the Dpkg::Compression::FileHandle module if the compression option is enabled. Some control files are not supposed to ever be compressed, and making it possible to disable the compression support reduces substantially the amount of modules being loaded by default.
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-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-1/+1
2015-01-28scripts: Rename and deprecate _g function with g_Guillem Jover1-5/+5
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.
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-3/+5
Remove now unused internerr() function, replaced by croak which does a way better job. Addresses ErrorHandling::RequireCarping. Warned-by: perlcritic
2013-12-04perl: Switch to use low precedence boolean operators for error checksGuillem Jover1-4/+4
This will make it safe to remove parenthesis around builtins.
2013-05-04Do not use double-quotes on strings that do not need interpolationGuillem Jover1-16/+16
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
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-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-21Dpkg::Interface::Storable: load() and save() accept "-" for standard ↵Raphaël Hertzog1-10/+27
input/output Simplify code in Dpkg::Control::Info thanks to this.
2010-02-20Dpkg::Interface::Storable: common convenience methods for serialization of ↵Raphaël Hertzog1-0/+124
objects