Graham Knop [Mon, 27 Feb 2017 10:12:28 +0000]
changelog
Graham Knop [Mon, 27 Feb 2017 10:10:52 +0000]
throw error for missing perl files
Graham Knop [Mon, 27 Feb 2017 10:10:27 +0000]
check for load failure rather than empty result
Graham Knop [Mon, 27 Feb 2017 10:01:24 +0000]
untaint cwd when constructing full perl file path
Previously, we would load perl files using a possibly relative path,
which would work based on . being in @INC. Now that . is being removed,
we need to use an absolute path (or ./ relative path). When
absolutizing, cwd would be used, which can be tained. Although loading
based on . in @INC violates the spirit of taint, it had previously
worked and a downstream module expected it. Untaint the cwd that gets
used so we can load relative paths under taint mode.
Graham Knop [Tue, 21 Feb 2017 17:22:00 +0000]
Release commit for 0.28
Graham Knop [Tue, 21 Feb 2017 17:21:12 +0000]
include test corpus in manifest
Graham Knop [Sat, 18 Feb 2017 17:18:31 +0000]
Bumping version to 0.28
Graham Knop [Sat, 4 Feb 2017 07:02:27 +0000]
changelog
Graham Knop [Sat, 4 Feb 2017 06:59:25 +0000]
distar-ify
Graham Knop [Sat, 4 Feb 2017 06:50:56 +0000]
support Cpanel::JSON::XS and JSON::MaybeXS
Graham Knop [Sat, 4 Feb 2017 06:45:54 +0000]
handle UTF-8 data in JSON correctly
Graham Knop [Sat, 4 Feb 2017 06:33:55 +0000]
refactor option module loads for JSON subclass
Graham Knop [Sat, 4 Feb 2017 06:29:16 +0000]
use absolute paths when loading perl files
The filenames provided to Config::Any are meant to be file paths.
If they are relative paths, they should be used directly, not searched
for in @INC. Converting them to absolute paths will avoid that search,
and will allow it to work as expected when . is not in @INC.
Brian Cassidy [Thu, 31 Mar 2016 17:47:11 +0000]
prep release
Brian Cassidy [Thu, 31 Mar 2016 17:44:09 +0000]
depend on Module::Pluggable::Object directly instead of assuming it is bundled with Module::Pluggable (RT #113148)
Brian Cassidy [Wed, 29 Apr 2015 23:06:44 +0000]
prep release
Russell Jenkins [Wed, 29 Apr 2015 00:49:14 +0000]
Capture file load errors for later use.
Localizing $@ also implies that any load error wasn't available outside
of the do block. Instead of always returning 1, return $@ so any error
is captured. The error is then rethrown if use_ext is enabled.
Signed-off-by: Brian Cassidy <brian.cassidy@gmail.com>
Russell Jenkins [Wed, 29 Apr 2015 00:48:45 +0000]
Test load_files throws parse errors when use_ext=1
Piggyback off existing tests for invalid config files to verify a parse
error is thrown when the config is invalid and use_ext => 1.
Signed-off-by: Brian Cassidy <brian.cassidy@gmail.com>
Brian Cassidy [Fri, 24 Apr 2015 01:37:18 +0000]
prep release
Brian Cassidy [Fri, 24 Apr 2015 01:32:31 +0000]
do not clobber $@ (RT #103061)
Brian Cassidy [Tue, 10 Sep 2013 18:42:29 +0000]
prep release
Brian Cassidy [Tue, 10 Sep 2013 18:38:35 +0000]
add JSON::PP to list of available JSON parsers (RT #86959)
Brian Cassidy [Tue, 10 Sep 2013 18:27:03 +0000]
remove old YAML warning
Brian Cassidy [Thu, 15 Aug 2013 01:14:21 +0000]
typo fix (RT #87779)
Brian Cassidy [Wed, 13 Jul 2011 15:18:07 +0000]
prep release
Brian Cassidy [Mon, 11 Jul 2011 14:10:16 +0000]
use is_supported to figure out if we can test a loader
Brian Cassidy [Mon, 4 Jul 2011 14:48:00 +0000]
prep release
Rafael Kitover [Mon, 4 Jul 2011 14:16:51 +0000]
add XML::NamespaceSupport to XML format deps, silence YAML warnings in tests
Brian Cassidy [Wed, 25 May 2011 15:31:14 +0000]
prep release
Brian Cassidy [Wed, 25 May 2011 02:29:33 +0000]
reformat Changes. bump copyright year.
Brian Cassidy [Wed, 25 May 2011 02:15:57 +0000]
update repo address
Brian Cassidy [Fri, 10 Dec 2010 18:16:41 +0000]
fix t/64-extfail.t to pass when t/lib is in @INC
Brian Cassidy [Fri, 6 Aug 2010 11:49:02 +0000]
prep release
Brian Cassidy [Thu, 5 Aug 2010 20:00:10 +0000]
remove useless "use Carp", squash warning in test suite.
Brian Cassidy [Thu, 5 Aug 2010 19:41:54 +0000]
tidy C::G related code, plus remove an old work-around which has been inactive for years.
Brian Cassidy [Thu, 5 Aug 2010 19:36:50 +0000]
tidy Makefile.PL
Rafael Kitover [Thu, 5 Aug 2010 01:45:10 +0000]
better version for Config::General
Rafael Kitover [Wed, 4 Aug 2010 20:11:24 +0000]
croak if Config::General is too old
Brian Cassidy [Wed, 4 Aug 2010 13:44:19 +0000]
bump ver. add to-be-released line to Changes.
Andrew Rodland [Mon, 2 Aug 2010 10:44:00 +0000]
Use Config::Any's friendly error message for required version early on
Rafael Kitover [Mon, 2 Aug 2010 10:39:25 +0000]
require Config::General >= 2.47
Rafael Kitover [Mon, 2 Aug 2010 10:00:37 +0000]
enable -ForceArray option by default for Config::General
Brian Cassidy [Fri, 4 Jun 2010 14:35:17 +0000]
remove test. forgot to switch branches.
Brian Cassidy [Fri, 4 Jun 2010 14:32:56 +0000]
add leaktrace test
Brian Cassidy [Mon, 15 Feb 2010 13:59:17 +0000]
prep release
Rafael Kitover [Mon, 15 Feb 2010 13:52:28 +0000]
remove caching code from ::Perl
Rafael Kitover [Mon, 15 Feb 2010 12:17:50 +0000]
make perl loader check mtime for cache, prefer JSON::DWIW for JSON
Brian Cassidy [Mon, 16 Nov 2009 13:02:45 +0000]
prep release
Brian Cassidy [Mon, 16 Nov 2009 12:49:59 +0000]
ensure XML loader's _coerce() method checks specifically for HASH refs
Brian Cassidy [Tue, 21 Jul 2009 12:38:27 +0000]
minor tidy to deprecation warning
Rafael Kitover [Tue, 21 Jul 2009 11:37:40 +0000]
add warning about using YAML loaders other than ::XS
Brian Cassidy [Tue, 21 Jul 2009 01:25:38 +0000]
add YAML::XS to the top of the YAML loaders. tidy up some copyright lines.
Tomas Doran [Sat, 23 May 2009 11:09:06 +0000]
Add repository resource to all the MI Makefile.PLs
Tomas Doran [Thu, 7 May 2009 13:19:53 +0000]
Bump required Module::Install version in everything. janus++
Brian Cassidy [Thu, 5 Feb 2009 14:32:56 +0000]
add JSON::XS to the top of the JSON loaders list
Brian Cassidy [Fri, 19 Dec 2008 12:54:48 +0000]
ensure require() happens against plugin specified in force_plugins
Brian Cassidy [Mon, 17 Nov 2008 14:22:16 +0000]
revert change to extensions() as we really want *all* extensions. fix 10-branches to try only against .pl files.
Brian Cassidy [Mon, 17 Nov 2008 13:40:15 +0000]
fix up branches test which did not handle the errors thrown by changes from the last release (RT #40948)
fix up error message for "any of" (RT #40972)
Brian Cassidy [Wed, 12 Nov 2008 14:48:24 +0000]
update changes file
Brian Cassidy [Wed, 12 Nov 2008 14:44:22 +0000]
r37256@bricas-laptop (orig r8347): bricas | 2008-09-03 10:53:01 -0300
branch for new feature
r37257@bricas-laptop (orig r8348): bricas | 2008-09-03 10:55:06 -0300
when use_ext is true, we will check to see if there are no supported modules for a particular file. instead of the file being skipped, an error will be thrown.
officially support multiple loaders per extension.
add a Config::Any::Base for all loaders to inherit from, plus add a new dependency mechanism: requires_any_of() and requires_all_of().
r37293@bricas-laptop (orig r8354): bricas | 2008-09-04 10:52:33 -0300
when use_ext is true, a fatal error will be thrown if there are no loaders available that understand the file extension
r40211@bricas-laptop (orig r8589): bricas | 2008-11-12 10:36:43 -0400
filter out loaders that don't inherit from Config::Any::Base (RT #40830)
r40212@bricas-laptop (orig r8590): bricas | 2008-11-12 10:40:32 -0400
add RT number
Brian Cassidy [Wed, 6 Aug 2008 14:35:39 +0000]
changes file updated
Brian Cassidy [Wed, 6 Aug 2008 13:40:03 +0000]
skip xml failure tests if XML::LibXML < 1.59 is installed, it seems to parse anything you throw at it (Matt S. Trout)
Brian Cassidy [Tue, 5 Aug 2008 15:40:51 +0000]
release date + misc.
Brian Cassidy [Tue, 5 Aug 2008 15:34:19 +0000]
line endings, tabs, perltidy.
Brian Cassidy [Tue, 5 Aug 2008 15:26:38 +0000]
added a flatten_to_hash option to return a simple key-value hashref instead of the default "arrayref of hashrefs" (Pedro Figueiredo)
Brian Cassidy [Tue, 5 Aug 2008 15:05:58 +0000]
added a caveat regarding XML::Simple's strict mode (Peter Corlett)
Brian Cassidy [Tue, 5 Aug 2008 12:03:26 +0000]
add parse error tests. ensure INI errors are trapped. bumped version.
Marcus Ramberg [Wed, 23 Jul 2008 11:39:01 +0000]
remove extra warn
Marcus Ramberg [Wed, 23 Jul 2008 07:29:40 +0000]
Show actual parse errors
Brian Cassidy [Mon, 7 Apr 2008 18:21:00 +0000]
revert remove of name() in Makefile.PL
Brian Cassidy [Mon, 7 Apr 2008 18:18:00 +0000]
updated changes and makefile.pl for release
Brian Cassidy [Thu, 7 Feb 2008 23:01:08 +0000]
remove eval so the Perl loader dies on invalid content.
Brian Cassidy [Mon, 28 Jan 2008 15:12:42 +0000]
remove version section from pod
Brian Cassidy [Mon, 28 Jan 2008 15:07:50 +0000]
forgot an ini file
Brian Cassidy [Mon, 28 Jan 2008 14:55:54 +0000]
bump version
Brian Cassidy [Mon, 28 Jan 2008 14:54:51 +0000]
fix for ini subsections (RT #32726), use from_json for JSON v2.x, refactor test suite.
Brian Cassidy [Wed, 12 Dec 2007 02:25:40 +0000]
minor doc update
Brian Cassidy [Wed, 12 Dec 2007 02:14:52 +0000]
bump ver. update changes.
Brian Cassidy [Wed, 14 Nov 2007 02:27:16 +0000]
remove each() from the docs
Brian Cassidy [Tue, 13 Nov 2007 20:13:40 +0000]
update is_supported with YAML::Syck version
Brian Cassidy [Tue, 13 Nov 2007 19:30:30 +0000]
require YAML::Syck 0.70 for multi-document loading
Brian Cassidy [Tue, 13 Nov 2007 18:27:26 +0000]
a little cleanup before a dev release
Brian Cassidy [Tue, 13 Nov 2007 18:19:08 +0000]
only check if a plugin is supported once we're sure we want to use it. this will save us from loading modules we don't need to.
Brian Cassidy [Tue, 13 Nov 2007 18:10:57 +0000]
fix up changes a little
Brian Cassidy [Tue, 13 Nov 2007 16:22:35 +0000]
don't bother with use_ext warning if force_plugins is set
Brian Cassidy [Tue, 13 Nov 2007 15:40:44 +0000]
added is_supported() to see what plugins we can use
Brian Cassidy [Tue, 13 Nov 2007 15:21:57 +0000]
refactor _load(). fix an issue with use_ext => 0. use_ext now on by default. throw errors when use_ext => 1. allow multi-stream configs. pod updates
Brian Cassidy [Thu, 8 Nov 2007 16:21:13 +0000]
more code updates, before i look in depth at the _load() routine
Brian Cassidy [Thu, 8 Nov 2007 14:48:34 +0000]
more code cleanup
Brian Cassidy [Thu, 8 Nov 2007 14:21:58 +0000]
some code and pod cleanups.
Brian Cassidy [Thu, 8 Nov 2007 13:54:07 +0000]
perltidy
Brian Cassidy [Thu, 8 Nov 2007 13:39:45 +0000]
auto generate README
Brian Cassidy [Thu, 23 Aug 2007 15:02:04 +0000]
updated README
Brian Cassidy [Thu, 23 Aug 2007 15:01:37 +0000]
fix date in changes
Brian Cassidy [Thu, 23 Aug 2007 15:01:09 +0000]
doc + fetch driver_args for load_stems()
Brian Cassidy [Thu, 23 Aug 2007 14:33:42 +0000]
added test for config options to Config::General
Brian Cassidy [Thu, 23 Aug 2007 13:32:05 +0000]
minor cleanup -- pass args to XML::Simple
Brian Cassidy [Thu, 23 Aug 2007 12:30:41 +0000]
added a simple cache to the perl parser so it can load the same file twice (RT #28812)
Brian Cassidy [Wed, 22 Aug 2007 20:08:30 +0000]
pass special config options to loaders
Brian Cassidy [Wed, 22 Aug 2007 03:21:48 +0000]
distro work