pkgsrc changes:
- Adjusting dependencies
Upstream changes:
0.27 Tue, 22 Sep 2009 14:30:23 +0200
* Depend on MooseX::LazyRequire 0.04 to avoid fail on version 0.03, which has
been broken by recent Moose versions (Closes RT#49903) (Maik Hentsche).
Test::UseAllModules v0.12 from PR pkg/42023 with minor modifications.
Sick of writing 00_load.t (or something like that) that do use_ok() for every
written module? Even sicker of updating 00_load.t every time adding another file
to the distro? This module reads MANIFEST to find modules to be tested and does
use_ok() for each of them. Now all to do is keeping MANIFEST up to date.
MooseX::SimpleConfig v0.03 from PR pkg/42024.
This role loads simple configfiles to set object attributes. It is based on the
abstract role MooseX::ConfigFromFile, and uses Config::Any to load your
configfile. Config::Any will in turn support any of a variety of different
config formats, detected by the file extension. See Config::Any for more
details about supported formats.
Like all MooseX::ConfigFromFile -derived configfile loaders, this module is
automatically supported by the MooseX::Getopt role as well, which allows
specifying -configfile on the commandline.
MooseX::ConfigFromFile v0.02 from PR pkg/42025 with some modifications.
This is an abstract role which provides an alternate constructor for creating
objects using parameters passed in from a configuration file. The actual
implementation of reading the configuration file is left to concrete subroles.
It declares an attribute configfile and a class method new_with_config, and
requires that concrete roles derived from it implement the class method
get_config_from_file.
Attributes specified directly as arguments to new_with_config supercede those
in the configfile.
pkgsrc changes:
- Adding license definition
- Adjusting dependencies
Upstream changes:
0.33 - or the "ZOMGIBROKECPAN" release
- Make the test scripts adaptive to Test::More diagnostic changes in
version 0.88
- Skip invalid package names in Test::Class::Load::_load so that we
don't try to load classes in .svn/et-al paths
- Removed #! script invocation line from the MethodInfo.pm module
0.32_1 - or the "Birmingham QA 2009" release
- Removed pointless use of Test::Exception in t/bad-autoloads.t to stop
bogus warnings that were confusing some folk
- Added add_testinfo for Test::Class::Sugar (thanks Piers Cawley)
Upstream changes:
0.32 Tue Sep 22 16:44:57 2009
* Add many tests copied from Moose (gfx)
* Fix Mouse::Util::find_meta() and Mouse::Util::does_role() (gfx)
* Fix the timing triggers are invoked (gfx)
* Implement confliction checks in roles
* work around create() and create_anon() in Mouse::Meta::Role
0.31 Tue Sep 22 11:08:12 2009
* Add find_meta() and does_role() to Mouse::Util (gfx)
* Fix tests using Class::Method::Modifiers to be skipped correctly (gfx)
* Remove Test::Mouse, which was accidentally included (gfx)
0.30 Mon Sep 21 16:43:05 2009
* Implement RT #46930 (accessor/reader/writer in has()) (gfx)
* Work around anonymous classes as mortal classes (gfx)
* Implement with $role => -exlucdes => [...] (gfx)
* Implement get_method() in M::Meta::Class and M::Meta::Role (gfx)
* Make get_method_list() compatible with Moose's (gfx)
* Make unimport() not to remove non-Mouse functions (blessed and confess) (gfx)
* Remove a lot of duplication code (gfx)
* Support is => 'bare', and you must pass and 'is' option to has() (gfx)
Upstream changes:
0.87 Mon Sep 21 15:55:00 CET 2009
- Promote to stable release
0.86_01 Thu Sep 17 10:01:00 CET 2009
- From perl change 09330df80caf214f375fcf0c04857347e3b17c69 (Zefram):
Fix [perl #66970] Incorrect coderef in MODIFY_CODE_ATTRIBUTES
Attribute handlers being applied to a temporary CV has actually been
reported as a bug, #66970. The attached patch fixes the bug, by
changing the order in which things happen: attributes are now applied
after the temporary CV has been merged into the existing CV or has
otherwise been added to the appropriate GV.
The change breaks part of Attribute::Handlers. Part of A:H searches the
package to find the name of the sub to which a :ATTR attribute is being
applied, and the correct time at which to launch that search depends
crucially on the order in which the CV construction events occur. So
this patch also includes a change to A:H, to make it detect which way
things happen. The resulting A:H works either way, which is essential
for its dual-life nature.
(CVE-2006-0224 was already fixed by patch-aa in pkgsrc).
XXX: self test failed on NetBSD-5.0.1, but old version also failed.
Changes: The string class is now both an interface and an implementation, so
parallel implementations (e.g., a glib string wrapper) can be created. Detection
of Imlib2 support and a pixmap leak when it was disabled have been fixed. Fixes
have been made for gcc4/newer autotools. This release also contains a fix for
CVE-2006-0224, a buffer overflow which could lead to privilege escalation in set
uid/setgid apps using LibAST's configuration engine.
Upstream changes:
0.25_02 Sat Aug 1 06:41:55 EDT 2009
- MS VC++ 7 doesn't like inline nor 'long long'
(patch provided by Taro Nishino (taro DOT nishino AT gmail.com)
- Newx isbn't around in older perls so use New(0,...) instead
0.25_01 Thu Jul 30 17:43:20 EDT 2009
- it seems the only way of handling the stack that works on all
flavors of the multicall API is by making a shallow copy of it
and use that between the PUSH/POP_MULTICALL bracket
- fix awkward ok() override in List-MoreUtils.t so that it reports
line numbers in test failures properly
pkgsrc changes:
- Adjusting dependencies
Upstream changes:
0.91 Tue, Sep 17, 2009
* Moose::Object
- Don't import any functions, in order to avoid polluting our namespace
with things that can look like methods (blessed, try, etc)
(nothingmuch)
* Moose::Meta::Method::Constructor
- The generated code needs to called Scalar::Util::blessed by its
fully-qualified name or else Perl can interpret the call to blessed as
an indirect method call. This broke Search::GIN, which in turn broke
KiokuDB. (nothingmuch)
dependency for scheduled update of textproc/p5-XML-RAI to 1.3031.
A memory leak occurs when a Perl data structure is destroyed but some of
the contents of that structure are not freed. Leaked memory is a useless
overhead. Leaks can significantly impact system performance. They can also
cause an application to abend due to lack of memory.
In Perl, circular references are a common cause of memory leaks. Circular
references are allowed in Perl, but data structures containing circular
references will leak memory unless the programmer takes specific measures
to prevent leaks. Preventive measures include weakening the references
and arranging to break the reference cycle just before the structure is
destroyed.
When using circular references, it is easy to misdesign or misimplement a
scheme for preventing memory leaks. Mistakes of this kind have been hard to
detect in a test suite.
Test::Weaken allows easy detection of unfreed Perl data. Test::Weaken allows
you to examine the unfreed data, even data that would usually have been made
inaccessible.
Test::Weaken frees the test structure, then looks to see if any of the
contents of the structure were not actually deallocated. By default,
Test::Weaken determines the contents of a data structure by examining
arrays and hashes, by following references, and by following tied variables
to their underlying object. Test::Weaken does this recursively to unlimited
depth.
Test::Weaken can deal with circular references without going into infinite
loops. Test::Weaken will not visit the same Perl data object twice.
Pkgsrc changes:
- Adjust dependencies
Upstream changes:
0.31 Thu, 17 Sep 2009 18:10:22 +0200
* Bump dependencies for no more warnings on new Moose versions.
pkgsrc changes:
- Adding license definition
Upstream changes:
2.25 Sep 15, 2009
- Added a workaround for a weird tainting issue with Params::Validate. This
caused a taint exception when a Log::Dispatch::Syslog was created under
taint mode. Note that there is still a problem in Params::Validate itself,
this is just a hack.
2.24 Sep 13, 2009
- Simplified new constructor API (the 2.23 API is still silently supported but
not documented):
Log::Dispatch->new( outputs => [ [ 'File', ... ],
[ 'Screen', ... ],
]
);
Implemented by Jon Swartz.
- All of the mail sending modules now warn unconditionally if sending mail
fails. This removes the incorrect use of warnings::enabled() in some
modules. RT #43516.
2.23 Sep 12, 2009
- A new constructor API that simplifies creating your Log::Dispatch object:
Log::Dispatch->new( outputs => [ File => { ... },
Screen => { ... },
],
);
Implemented by Jon Swartz.
- Made name parameter optional. We now auto-generate a unique name if one is
not given. Implemented by Jon Swartz.
- Added a newline parameter that causes a newline to be added to each message,
and updated the documentation regarding newlines. Implemented by Jon Swartz.
- Removed repetitive boilerplate documentation from each output
class. Implemented by Jon Swartz.
- The level_names and level_numbers used internally are now computed once and
shared between output objects. Implemented by Jon Swartz.
- Updated repo url - now at http://hg.urth.org/hg/Log-Dispatch
- Explicitly depend on Sys::Syslog 0.16.
- Added warn as a synonym for warning. RT #44821. Requested by Dylan Martin.
- Added an add_callback method to Log::Dispatch and
Log::Dispatch::Output. This lets you add a new formatting callback after an
object is created. Based on a patch from Ricardo Signes. RT #48283.
- The Log::Dispatch docs mistakenly told you to provide a log() method when
creating a new output class. RT #40561.
- Made all modules have the same version as Log::Dispatch itself.
Upstream changes:
[Changes for 0.95 - 2009-10-16]
* Fix "uninitialized value" warnings (Dave Rolsky)
* Add special case for Perl::Critic (Alexandr Ciornii)
* Add special case for Event (Alexandr Ciornii)
* Add special case for Wx.pm (Alexandr Ciornii)
* Add special case for Log::Any
pkgsrc changes:
- Adjusting dependency of Test::Exception
Upstream changes:
0.29 Thu Sep 17 11:49:49 2009
* role class has ->meta in method_list, because it does in Moose since 0.90
Overview of changes in Glib 1.222
=================================
* Properly handle slashes in copyright footers passed to Glib::MakeHelper.
* Fix a test failure on s390.
scheduled update of net/p5-Net-Twitter to 3.05003.
The author describes his module:
If you've ever wanted to be able to call an attribute any number of things
while you're passing arguments to your object constructor, Now You Can.
The primary motivator is that I have some attributes that were named
inconsistently, and I wanted to rename them without breaking backwards
compatibility with my existing API.
pkgsrc changes:
- Add dependency to devel/p5-Test-Script
- "Fix" comment
Upstream changes:
1.08 Tue 15 Sep 2009
- Fixing pwhich
- Adding a proper test for it
- Adds a dependency on Test::Script 1.08
Upstream changes:
5.2 Mon Sep 14 07:04:49 CEST 2009
- INCOMPATIBLE CHANGE: do no longer support register_read_type
and register_write_type in AnyEvent::Handle, instead support
package names (the facility was mostly abused).
- implement "packagename-as-read/write type" support in
AnyEvent::Handle.
- AnyEvent::Handle: new options "keepalive" and "oobinline".
- oobinline set by default to avoid security issues.
- the pure-perl event loop backend wrongly detected times() fallback
support (spotted by Pavel Boldin).
5.12 Tue Sep 1 20:26:50 CEST 2009
- be more lenient when parsing resolv.conf files, as some people
use hashmarks as comment indicator inside directives (reported
by Michael S. Fischer).
- use same set of warnings as common::sense 2.0.
- fix a potential 32 bit overflow issue due to perl having problems
with large hex constants in the Perl backend.
- do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
by default.
- fix some prototypes.
- (optionally) require Async::Interrupt 1.02.
- replace opendns fallbacks by verizon/level3 public dns servers.
5.112 Fri Aug 21 13:59:04 CEST 2009
- AnyEvent::Handle could cause hard crashes in Net::SSLeay when
using starttls with an illegal/uncreatable tls context.
- port to broken win32 perls.
pkgsrc changes:
- Adding HOMEPAGE and LICENSE definition
Upstream changes:
Author refers to git://nirmalvihar.info/home/joshua/event.git, but:
> hostname nor servname provided, or not known