Wednesday 16th November 2011
Fedora Project
Submitted a perl-Class-Load-XS package for review; this is wanted by Moose 2.0400
Local Packages
New package perl-Class-Load-XS (0.02)
Updated curl to 7.23.0:
- Empty headers can be sent in HTTP requests by terminating with a semicolon
SSL session sharing support added to curl_share_setopt()
Added support to MAIL FROM for the optional SIZE parameter
smtp: added support for NTLM authentication
curl tool: code split into tool_*.[ch] files
Handle HTTP redirects to "//hostname/path"
SMTP without --mail-from caused segfault
- Prevent extra progress meter headers between multiple files
Allow Content-Length to be replaced when sending HTTP requests
curl now always sets postfieldsize to allow --data-binary and --data to be mixed in the same command line
curl_multi_fdset: avoid FD_SET out of bounds
- Lots of MinGW build tweaks
Curl_gethostname: return un-qualified machine name
- Fixed the openssl version number configure check
nss: certificates from files are no longer looked up by file base names
Returning abort from the progress function when using the multi interface would not properly cancel the transfer and close the connection
Fix libcurl.m4 to not fail with modern gcc versions
ftp: improved the failed PORT host name resolved error message
- TFTP timeout and unexpected block adjustments
- HTTP and GOPHER test server-side connection closing adjustments
- Fix endless loop upon transport connection timeout
Don't clobber errno on failed connect
typecheck: allow NULL to unset CURLOPT_ERRORBUFFER
formdata: ack read callback abort
make --show-error properly position independent
- Set the ipv6-connection boolean correctly on connect
- SMTP: fix end-of-body string escaping
gtls: only call gnutls_transport_set_lowat with gnutls < 2.12.0
HTTP: handle multiple auths in a single WWW-Authenticate line
curl_multi_fdset: correct fdset with FTP PORT use
windbuild: fix the static build
- Fix builds with GnuTLS version 3
Fix calling of OpenSSL's ERR_remove_state(0)
HTTP auth: fix proxy Negotiate bug when Negotiate not requested
ftp PORT: don't hang if bind() fails
-# would crash on terminals wider than 256 columns
Updated libxml2 to fix a heap-based buffer overflow caused by an off by one error in the encoding code (Bug #724906, CVE-2011-0216)
Updated perl-Moose to 2.0400:
Deprecations:
The optimize_as option for type constraints has been deprecated; use the inline_as option to provide inlining code instead
API Changes:
Methods to introspect a class's methods will now return methods defined in UNIVERSAL (isa, can, etc.); this also means that you can wrap these methods with method modifiers (CPAN RT#69839)
The ->parent and ->parents method for a union now return the nearest common ancestor of that union's component types; see Moose::Manual::Delta for more details
The ->parents method used to return an arrayref for union types, and a list of one or more types for all other types; now they all return lists
The ->is_subtype_of and ->is_a_type_of methods have changed their behaviour for union types: previously, they returned true if any of their member types returned true for a given type, but now all of the member types must return true (CPAN RT#67731)
Enhancements:
The Moose::Exporter module now has a "meta_lookup" option when creating an importer; this allows you to specify an alternate method for determining the metaclass of a caller, which is useful for modules like MooseX::Role::Parameterized that generate new metaclasses on the fly
Added a Moose::Meta::Method->is_stub method
The enum type will now allow single value enumerations; previously, two or more values were required
Bug Fixes:
A subtype of a union type did not return the right results when you called ->is_subtype_of or ->is_a_type_of on it (CPAN RT#70322)
An attribute accessor or delegation method can overwrite a stub method and this will no longer throw an error (CPAN RT#69988)
The error generated by unfulfilled method requirements during role composition now mentions how to work around imported methods not being recognized (CPAN RT#60583)
class_type and role_type will now throw errors if you attempt to use them to override existing types, just like type and subtype have always done
Implicitly creating class or role types by using them as the 'isa' or 'does' parameter to attribute construction will now register the type, which means that it cannot later be redefined as something else
$class_type->is_subtype_of no longer returns true if passed the name of the class that the class type represents when the class type wasn't registered
- Removing anonymous metaclasses prematurely no longer prevents reaping of the associated stash
A custom error class caused a warning when the class that used it was made immutable (CPAN RT#71514)
Make make_immutable return value consistent and document it to be true
Other:
The Class::MOP::load_class and Class::MOP::is_class_loaded subroutines are no longer documented, and will cause a deprecation warning in the future; Moose now uses Class::Load to provide this functionality, and you should as well
Updated php-Smarty to 3.1.5:
- Revert and fix PHP4 constructor message
@silenced unlink() in Smarty_Internal_Write_File since debuggers go haywire without it
Bugfix: Smarty::clearCompiledTemplate() threw an exception if $cache_id was not present in $compile_dir when $use_sub_dirs = true
Bugfix: {html_select_date} and {html_select_time} did not properly handle empty time arguments (Forum Topic 20190)
Improvement: removed unnecessary sha1()
Bugfix: apostrophe in plugins_dir path name failed (Forum topic 20199)
Improvement: sha1() for array keys longer than 150 characters
Add Smarty::$allow_ambiguous_resources to activate unique resource handling (Forum Topic 20128)
Bugfix: smarty_mb_from_unicode() would not decode unicode-points properly
Bugfix: use catch Exception instead of UnexpectedValueException in clearCompiledTemplate, to be PHP 5.2 compatible
Bugfix: {if} and {while} tags without condition did not throw a SmartyCompilerException (Issue #57)
- Bugfix: multi-line strings in config files could fail on longer strings (reopened Issue #55)
Bugfix: different behaviour of uniqid() on cygwin (forum topic 20343, https://bugs.php.net/bug.php?id=34908)
- Bugfix: allow space between function name and open bracket (forum topic 20375)