pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Config-General Updated devel/p5-Config-Genera...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2f0a5fe70090
branches: trunk
changeset: 544469:2f0a5fe70090
user: abs <abs%pkgsrc.org@localhost>
date: Tue Jul 15 09:04:40 2008 +0000
description:
Updated devel/p5-Config-General to 2.40
2.40
- fixed SplitDelimiter parser regex, it does no more consider
non-whitespaces (\S+?) as the option name but anything
before the delimiter (.+?), this fixes bug rt.cpan.org#36607,
the fix of 2.39 were not sufficient. Thanks to
Jeffrey Ratcliffe for pointing it out.
- added new parameter -SaveSorted. The default value is 0,
that means configs will be saved unsorted (as always),
however if you want to save it sorted, turn this parameter
to 1. Thanks to Herbert Breunung for the hint.
- added complexity test, which checks a combination
of various complex features of the parser.
2.39
- fixed rt.cpan.org#35122. This one was one of the most
intriguing bugs I've ever observed in my own code. The
internal temporary __stack hashref were copied from one
subhash to another to enable inheritance of variables.
However, the hashes were copied by reference, so once a
value changed later, that value were overwritten because
the __stack in question were just a reference. I introduced
a simple function _copy() which copies the contents of
the __stack by value, which solved the bug.
Conclusion: beware of perl hash refs!
- fixed rt.cpan.org#36607, accept whitespaces in heredoc
names if split delimiter is gues (equalsign or whitespace)
- fixed rt.cpan.org#34080 (typo)
- fixed rt.cpan.org#35766. Variables inside single quoted
strings will no more interpolated (as the docu states).
Also added test case for this.
- fixed bug rt.cpan.org#33766. Checking for defined not true
in ::Extended::AUTOLOAD().
- added -UTF8 flag, which opens files in utf8 mode
(suggested by KAORU, rt.cpan.org#35583)
I decided not to add a test case for this, since perls
utf8 support is not stable with all versions.
2.38
- fixed rt.cpan.org#31529 variable inheritance failed
with multiple named blocks.
- fixed rt.cpan.org#33447, regex to catch variable
names were too strict, now - . + or : are allowed too.
- fixed rt.cpan.org#33385 and #32978 - using arrayrefs
as param to -String didn't work anymore (sic)
- fixed rt.cpan.org#33216 - variable stack were not properly
re-constructed for pre-existing variables if
-MergeDuplicateOptions is turned on.
2.37
- "fixed" rt.cpan.org#30199 - check for invalid and
unsupported structures, especially mixing blocks
and scalars with identical names.
- added checks to 'make test' to test for the above
checks.
- revoked patch of rt.cpan.org#27225, it broke running
code.
- fixed rt.cpan.org#30063 (and #27225!) by reimplementing
the whole interpolation code. The internal stack is
no more a class variable of the module but stored
directly within the generated config hash and cleaned
before returning to the user.
- added (modified) patch rt.cpan.org#30063 to check
if interpolation works with supplied default config
works.
2.36
- oh my goodness! For some unknown reason I deleted the
Makefile.PL before packaging. Dammit. So, here it is
again.
2.35
- 'make test' failed under perl 5.5 because some prequisite
modules were not found. So now I added all requirements
to Makefile.PL, even if those modules are part of
recent perls (beginning with 5.6). I could have also
added a 'use 5.6' to the code but this would users
of perl5 exclude. This way they have the possibility
to fix their installation. Hopefully.
No code changes otherwise.
2.34
- fixed rt.cpan.org#27271 - removed output file from
manifest.
- fixed rt.cpan.org#27225 - clear vars off the stack
if entering a new block, so old vars get not re-used.
- fixed rt.cpan.org#27110 - re-implemented support
for arrayref as -String parameter.
- fixed rt.cpan.org#24155 - relative include bug fixed.
- applied patch by GWYN, (see fixed rt.cpan.org#27622)
which allows the same file included multiple times.
there is no loop detection if turned on. new option
introduced: -IncludeAgain => 1 (default turned off).
- added support for -IncludeAgain to directory include
code too.
- the directory globbing code used slashes to join
directory and file names. changed this to use catfile()
instead.
2.33
- fixed rt.cpan.org#26333 - just return $con if env var
is undefined.
- applied part of a patch supplied by Vincent Rivellino <vince%cuz.cx@localhost>
which turns off explicit empty block support if in
apache compatibility mode, see next.
- added new option -ApacheCompatible, which makes the
module behave really apache compatible by setting the
required options.
- a little bit re-organized the code, most of the stuff
in new() is now outsourced into several extra subs to
make maintenance of the code easier. The old new() sub
in fact was a nightmare.
- fixed a bug reported by Otto Hirr <otto.hirr%olabinc.com@localhost>:
the _store() sub used sort() to sort the keys, which conflicts
with sorted hashes (eg. tied using Tie::IxHash).
- fixed tie bug reported by King, Jason <kingj%newsltd.com.au@localhost>,
loading of the tie module didn't work.
diffstat:
devel/p5-Config-General/Makefile | 4 ++--
devel/p5-Config-General/distinfo | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (26 lines):
diff -r e8480427b245 -r 2f0a5fe70090 devel/p5-Config-General/Makefile
--- a/devel/p5-Config-General/Makefile Tue Jul 15 08:48:19 2008 +0000
+++ b/devel/p5-Config-General/Makefile Tue Jul 15 09:04:40 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:14 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2008/07/15 09:04:40 abs Exp $
#
-DISTNAME= Config-General-2.32
+DISTNAME= Config-General-2.40
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5cfg
CATEGORIES= devel perl5
diff -r e8480427b245 -r 2f0a5fe70090 devel/p5-Config-General/distinfo
--- a/devel/p5-Config-General/distinfo Tue Jul 15 08:48:19 2008 +0000
+++ b/devel/p5-Config-General/distinfo Tue Jul 15 09:04:40 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2007/02/27 08:51:15 wiz Exp $
+$NetBSD: distinfo,v 1.7 2008/07/15 09:04:40 abs Exp $
-SHA1 (Config-General-2.32.tar.gz) = b5a3fad454bf99e097eec6d6bfd4038d2efa187e
-RMD160 (Config-General-2.32.tar.gz) = a6052e7e98e6fc20d620cb66dd88a5bb288154ff
-Size (Config-General-2.32.tar.gz) = 43016 bytes
+SHA1 (Config-General-2.40.tar.gz) = aab86272fac0aa71ab95fcb9e8908701d47b7edf
+RMD160 (Config-General-2.40.tar.gz) = 740d69536cf34812684a68969efeb1656113015b
+Size (Config-General-2.40.tar.gz) = 49864 bytes
Home |
Main Index |
Thread Index |
Old Index