d/.../embedded-libs: Change libpostproc to source-regex

Signed-off-by: Niels Thykier <niels@thykier.net>
d/changelog: Fix whitespace issue and F-P in changelog-format.t

Signed-off-by: Niels Thykier <niels@thykier.net>
c/cruft: Apply perltidy

Signed-off-by: Niels Thykier <niels@thykier.net>
L::Util: Extend error message with proposed fix

When seeing a continuation line outside a paragraph in a Deb822,
suggest that the previous line might need to be " .".

Signed-off-by: Niels Thykier <niels@thykier.net>
lintian: Fix regression in parameter handling

Signed-off-by: Niels Thykier <niels@thykier.net>
r/harness: Add timestamps to the log output

Signed-off-by: Niels Thykier <niels@thykier.net>
r/harness: Add missing semi-colon

Signed-off-by: Niels Thykier <niels@thykier.net>
d/s-v/ancient-date: Bump ancient-date

Signed-off-by: Niels Thykier <niels@thykier.net>
r/harness: Merge some variable declarations

Signed-off-by: Niels Thykier <niels@thykier.net>
r/harness: Replace ad-hoc comparator

Signed-off-by: Niels Thykier <niels@thykier.net>
commands/info: Reduce scope a variable

Signed-off-by: Niels Thykier <niels@thykier.net>
dplint: Add "permute" before parsing built-in options

Signed-off-by: Niels Thykier <niels@thykier.net>
L::Util: Use hack to optimise {,r}strip

It is "well-known" that the expression s/^\s++|\s++$/g is slower than
splitting the expression into to separate ones (namely, s/^\s++// and
s/\s++$//)[1].

During profiling, it turns out that the s/\s++$// part is the slowest
part.  This can "fortunately" be replaced by the completely unreadable
alternative "unpack('A*', $string)", which sadly appears to be at least
a factor 10 better than s/\s++$//.

Kudos to Ansgar Burchardt for the suggestion of using unpack.

[1] http://www.perlmonks.org/?node_id=865344

Signed-off-by: Niels Thykier <niels@thykier.net>
L::SlidingWindow: Remove some redundant statements

Signed-off-by: Niels Thykier <niels@thykier.net>
L::SlidingWindow: Make new() a bit more concise

Signed-off-by: Niels Thykier <niels@thykier.net>
t/runtests: Use default_parallel instead of ad-hoc code

Signed-off-by: Niels Thykier <niels@thykier.net>
t/runtests: Add --coverage argument to run w. Devel::Cover

Add a --coverage argument to t/runtests that makes it run tests with
Devel::Cover.  Note that some tests (e.g. perlcritic) will be skipped
during coverage runs as they do not contribute to the coverage.

Note that Devel::Cover causes "Deep recursion" warning in almost every
test calling Lintian, so most tests fails due to these extra warnings.
That said, they still contribute to the overall coverage.

Coverage for collections are not properly computed for some reason.

Signed-off-by: Niels Thykier <niels@thykier.net>
t/runtests: Use +ignore instead of -ignore with D::Cover

Signed-off-by: Niels Thykier <niels@thykier.net>
Fix privacy-breach-google-cse: doesn't detect JavaScript based Google SiteSearch

* data/files/privacy*:
  + [BR] Improve detection of privacy-breach-google-cse, thanks to
     Paul Wise (Closes: #739247).

Add test file from Paul Wise.

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Fix a false positive of maintainer-script-should-not-use-adduser-system-without-home

* data/scripts/maintainer-script-bad-command:

maintainer-script-should-not-use-adduser-system-without-home
due to quoting, thanks to Andreas Beckmann <anbe@debian.org>
(Closes: #739109).

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>