Pkgsrc changes:
- Adjust/fix dependencies
Upstream changes:
[1.104] Released 2009-08-23
This release is dedicated to Tom Wyant in appreciation of the amount of
effort he put into the enhancements and bug fixes in this release, for
having the patience to wait for the amount of time that it took to get
them out, and for overall awesomeness. Thank you, Tom.
New Policies:
Objects::ProhibitIndirectSyntax
ValuesAndExpressions::ProhibitComplexVersion
ValuesAndExpressions::RequireConstantVersion
New Optional Requirement:
* Email::Address, if you want
ValuesAndExpressions::ProhibitInterpolationOfLiterals to properly ignore
emaila addresses.
New Features:
* Perlcritic will list the names of files with violations if given the
--files-with-violations option, or the names of files without
violations if given the --files-without-violations options. These
have synonyms -l and -L respectively.
* Perlcritic has a new --list-enabled option, which lists the Policies
that will be enforced, given the current configuration. This is
useful if you've written a complex command-line or modified your
.perlcriticrc file and you want to see which Policies *would*
be used with the current configuration, if you were actually going
to critque a file with it.
* Perl::Critic::Violation now takes #line directives into account in the
%F, %f, and %l formats. You can get the old values via the new %G, %g,
and %L formats.
Policy Changes:
* CodeLayout::ProhibitParensWithBuiltins was complaining in certain cases
where parentheses are required due to operator precedence. RT #46862.
* ControlStructures::ProhibitMutatingListFunctions no longer complains
about uses of tr/// that don't modify the operand. Reported by EDAVIS,
RT #44515.
* Miscellanea::RequireRcsKeywords now accepts "qw$Keyword: ...$". RT
#45196.
* Modules::RequireFilenameMatchesPackage now respects logical filenames
defined by the "#line" directives. This allows the Policy to work
properly with IDEs and code generators.
* NamingConventions::Capitalization now allows fully qualified subroutine
declarations ( e.g. "sub Foo::Bar::baz {...}" ). However, the
non-package part of the subroutine name must still conform to whatever
capitalization rule you have chosen.
* RegularExpressions::ProhibitCaptureWithoutTest no longer complains if
the regex is followed by an "or die" or similar. Reported by EDAVIS,
RT #36081.
* RegularExpressions::ProhibitComplexRegexes no longer counts variable
substitutions in the length. Reported by EDAVIS, RT #36098.
* RegularExpressions::ProhibitUnusedCapture now considers the body of
while loops and not just their condition. Reported by EDAVIS, RT
#38942.
* ValuesAndExpressions::ProhibitInterpolationOfLiterals can now properly
ignore email addresses if you have Email::Address installed.
* ValuesAndExpressions::ProhibitVersionStrings was getting confused by
comments. Reported by Kevin Ryde, RT #44986.
* ValuesAndExpressions::RequireInterpolationOfMetachars now allows sigils
in the arguments to "use vars". Contributed by Kevin Ryde, RT #47318.
* ValuesAndExpressions::RequireInterpolationOfMetachars now properly
ignores email addesses, if you have Email::Address installed. Inspired
by the Kevin Ryde contribution in RT #47318.
* Variables::ProhibitPunctuationVars gained the ability to look inside
interpolated strings. Doing this correctly is challenging and things
may not work out right; how the policy does this can be controlled via
the new "string_mode" option. Contributed by Edgar Whipple
<perlmonk at misterwhipple dot com>.
* Variables::ProhibitPunctuationVars now ignores $] by default since there
is no English.pm equivalent.
Other Bug Fixes:
* Perl::Critic::Utils::parse_arg_list() was slurping up the "or die ..."
portion of "open my $foo, 'somefile' or die ...", causing
InputOutput::ProhibitTwoArgOpen to not complain about this example.
Reported by Alexandr Ciornii, RT #44554.
Minor Changes
* The line count emitted by the --statistics option is further broken down
by line content.
Minor Documentation Fixes:
* ValuesAndExpressions::ProhibitInterpolationOfLiterals. Reported by
Debian in http://bugs.debian.org/542814, RT #48936
Build Fixes:
* There wasn't a specific version given for the List::MoreUtils dependency
and we're using features that weren't avialable until 0.19. So, we now
require version 0.19. Noticed by John J. Trammell, RT #48917.
* Some tests were tied to the specific "true" and "false" values that some
functions were returning. Reported by Michael Schwern, RT #43910.
Other News:
* Komodo version 5.1.1 now has built-in support for Perl-Critic,
if you have the Perl::Critic and criticism modules installed.
Both should be available through the ActiveState Perl Package
Manager ppm(1).
Pkgsrc changes:
- Adjust dependencies
- Add missing dependencies on devel/p5-MooseX-AttributeHelpers and
devel/p5-List-MoreUtils
Upstream changes:
0.28 Thu, 27 Aug 2009 22:44:34 +0200
* Bump prereqs on MooseX::Method::Signatures, Moose, and namespace::clean in
order to avoid test failure.
Upstream changes:
0.300 2009-09-28
DEPRECATED -run OPTION TO APP CLASS IMPORT
"use MyApp -run;" is deprecated; it will be removed after no less
than a year
this led to problems where normal exit-on-error messages confused
users by complaining about failing to compile; magic to stop this is
not worth the tiny savings
COMMANDS SHOULD NOW HAVE ->execute RATHER THAN ->run
this will not break you code... except:
WILL BREAK YOUR CODE: App::Cmd::Simple programs must use ->execute
rather than ->run
0.207 2009-09-27
add option to allow any unambiguous command abbreviation
(thanks, Jerome Quelin)
Packages Collection.
The Perl 5 module Devel::FindRef helps to track down reference
problems (e.g. you expect some object to be destroyed, but there
are still references to it that keep it alive).
Overview of Changes from GLib 2.20.4 to GLib 2.20.5
===================================================
* Fix a performance problem when trashing multiple files
* Bug fixes:
593232 g_rand_new: read no more than requested from /dev/urandom
592457 preserve errno
591995 use saved errno
591532 redundant '/' returned from g_file_resolve_relative_path
* Updates translations:
Catalan (Valencian)
Galician
Pkgsrc changes:
- Adjust dependencies
Upstream changes:
0.23 Thu, 27 Aug 2009 22:22:40 +0200
* Bump Moose dependency to 0.89. This avoids test failures on some older
Moose versions.
0.22 Thu, 27 Aug 2009 15:29:25 +0200
* Provide sane closure behaviour for anonymous methods.
* Add tests for the above (Sebastian Willert).
* Depend on MooseX::Types 0.19, as 0.18 made us blow up spectacularly.
pkgsrc changes:
- Adding license
- removing patch for wrong formed version
Upstream changes:
1.962.1 Thu Aug 27 21:39:30 2009
- Fixed subtle bug in leftop and rightop caused by removal of $&
1.962.0 Tue Aug 25 19:45:15 2009
- Doc bug fix (thanks Christophe)
- Fixed assymmetrical push/pop on @lines tracker (thanks Peter!)
- Bumped sub-version number hugely to fix CPAN indexing (thanks Jerome)
- Remove all occurrences of $& so we don't affect other regular expressions.
- Perl 5.6.0 required for use of $+[0] and $-[0] for replacement of $&.
Pkgsrc changes:
- Adjust dependencies
Upstream changes:
0.19 Sun Aug 23 15:03:02 EDT 2009
- un-fix coercions on parameterized types, since it broke
MooseX::Method::Signatures, as well as any other code that relied on
new type constraint objects being generated each time a type was
parameterized (hdp).
0.18 Sat Aug 22 12:50:42 EDT 2009
- fix coercions on parameterized types (Hans Dieter Pearcey).
Pkgsrc changes:
- Adjust dependencies
Upstream changes:
0.08 2009-08-27 01:08:50
- Remove use of Moose::Autobox as it fails on some platforms
(notably, Activestate have bad PPMs)
Pkgsrc changes:
- Adjust dependencies
Upstream changes:
0.07 Sun Aug 16 10:38:47 CDT 2009
- deprecate apply_traits ("no warnings" to disable warning)
- add MooseX::Traits::Util so that other modules can resolve trait names
- add new_class_with_traits util function to create classes with traits
Upstream changes:
0.21 Thu. Aug 27 2009
* MooseX::Getopt
- Enable and document the argv parameter to the constructor.
- Applied patches in RT43200 and RT43255
- Applied patch from RT#47766 to not die if SimpleConfig cannot find the
default config file name.
1.004006).
Upstream changes:
1.004006 2009-08-25
- Fix parsing of --self-contained and local lib directory. It's now
possible to specify flags and the directory in any order. Also made
adding future flags easier in the future. Thanks to
frew@irc.perl.org/#catalyst for pointing out that --self-contained
wouldn't work without a directory.
Pkgsrc changes:
- Adjust dependencies
Upstream changes:
Version 5.7 23.08.2009
+ Fixed "october" => "oktober" in Dutch
+ Disabled the special abbreviated names
of the days of the week in Portuguese
+ Made the days which form the weekend con-
figurable in "Calendar.pm" and "Year.pm"
+ Added some test cases for this new feature
in "t/m008.t"
+ The file "examples/calendar.cgi" now
also supports this new feature
+ Updated "README.txt" and "INSTALL.txt"
and the dependency on "Bit::Vector" 7.0
+ Added an additional "README.htm" file to this
distribution highlighting its key points
+ Updated the documentation of "Date::Calc",
"Date::Calendar", "Date::Calendar::Profiles",
"Date::Calendar::Year" and "Date::Object"
+ See the new module "Date::Calc::Util" (which
is available separately) for all the shortcuts
you ever wanted to have in "Date::Calc"
This package provides Moose types for fun with URIs.
It has slightly DWIMier types than the URI classes have due to
implementation details, so the types should be more forgiving when
ducktyping will work anyway (e.g. URI::WithBase does not inherit
URI).
Template::Toolkit plugin HashMerge provides the Hash::Merge functions merge
and set_behaviour to be used within templates.
This can be useful in all cases a template works directly on data - e.g. when
processing results from a query using Template::DBI and join the result with
results from derived queries.
Pkgsrc changes:
- Adjust dependencies
- Canonical CPAN directory as MASTER_SITES
- Set LICENSE
Upstream changes:
0.09000 Sun Aug 23 20:08:09 2009
- release
0.08999_01 Tue July 7 22:06:21 2009
- Make _mk_group_accessors name the closures installed for Moose compat
- Use Class::XSAccessor if available RT#45577 (Andy Grundman)
This module provides an Template::Toolkit interface to Tassilo von Parseval's
List::MoreUtils. It extends the built-in functions dealing with lists as well
as Template::Plugin::ListUtil.
This module provides a selection of handy functions for dealing with lists in
the Template Toolkit. Most of the functions are adapted from those provided
by or documented in List::Util, though note these have been altered in name
and function to work better with the template toolkit.
Packages Collection.
The Perl 5 module Class::XSAccessor implements fast read, write and
read/write accessors in XS. Additionally, it can provide predicates
such as has_foo() for testing whether the attribute foo is defined
in the object. It only works with objects that are implemented as
ordinary hashes.
Upstream changes:
What's new in version 7.0:
--------------------------
+ Fixed a bug in "GCD2()" in "BitVector.c" with null-size vectors
+ Added more test cases for "GCD()" in "t/17_________gcd.t"
+ Almost completely rewrote "BitVector_Boot()" in "BitVector.c"
in order to fix the problem that it calculated an unsigned
long to have 33 bits under MacOS X (Darwin), leading to
failing tests in "t/28___chunklist.t"
+ BEWARE that the type "ErrCode", which is part of the inter-
face of the C library "BitVector.c", has been changed!
+ Added more tests and a debugging aid to "t/28___chunklist.t"
+ Removed the two example files showing how to freeze/thaw
"Bit::Vector" objects using "Data::Dumper", because after
closer inspection this proved to be a can of worms
NetBSD Packages Collection.
The Perl 5 module MooseX::Attributes::Curried lets you define curried
versions of "has" in Moose. If many of your attributes share the
same options, especially across multiple classes, then you can
refactor those options away into a curried has.