forked from openkylin/libconfig-tiny-perl
329 lines
9.5 KiB
INI
329 lines
9.5 KiB
INI
|
[Module]
|
||
|
Name=Config-Tiny:
|
||
|
Changelog.Creator=Module::Metadata::Changes V 2.12
|
||
|
Changelog.Parser=Config::IniFiles V 3.000003
|
||
|
|
||
|
[V 2.28]
|
||
|
Date=2022-01-04T15:47:58
|
||
|
Comments= <<EOT
|
||
|
- Accept pull request from Todd Rinaldo to replace both uses of bareword filehandles
|
||
|
with my variables. With thanx.
|
||
|
- Accept 2019 pull request to Makefile.PL, for the purpose of modernization, and with
|
||
|
some slight modifications, from Grinnz.
|
||
|
- Make corresponding patches where appropriate to Tiny.pm and t/02.main.t.
|
||
|
- Thanx to Grinnz aka Dan Book for the prompting.
|
||
|
EOT
|
||
|
|
||
|
[V 2.27]
|
||
|
Date=2021-09-21T15:48:00
|
||
|
Comments= <<EOT
|
||
|
- Add the option of passing a hashref to the constructor, where it is turned into an
|
||
|
object of the class. See POD under new([$config]) for details.
|
||
|
This patch to the code and POD includes the new test t/08.constructor.t.
|
||
|
The patch was provided by D Hauke, with thanx.
|
||
|
- Move test.conf back into t/, where it was years ago, before someone tried to remove
|
||
|
all uses of File::Spec. But since File::Spec is used often now, there is no point
|
||
|
in keeping test.conf in the root directory of the distro.
|
||
|
EOT
|
||
|
|
||
|
[V 2.26]
|
||
|
Date=2021-02-01T17:11:00
|
||
|
Comments= <<EOT
|
||
|
- Update POD to change RT to github.
|
||
|
- Reformat Makefile.PL.
|
||
|
EOT
|
||
|
|
||
|
[V 2.25]
|
||
|
Date=2021-01-31T20:29:00
|
||
|
Comments= <<EOT
|
||
|
- Merge in clean-up patches from Karen Etheridge, with thanx.
|
||
|
- Add back file t/0. Who deleted it? It is required for t/05.zero.t.
|
||
|
- Update Makefile.PL to switch issue tracker from rt.cpan.org to github.
|
||
|
EOT
|
||
|
|
||
|
[V 2.24]
|
||
|
Date=2019-06-11T15:30:00
|
||
|
Comments= <<EOT
|
||
|
- Delete from caveats in documentation where it used to say:
|
||
|
'Config::Tiny will only recognize the first time an option is set in a config file.'
|
||
|
'Any further attempts to set the same option later in the config file are ignored.'
|
||
|
In reality the code uses the 2nd and subsequent values to overwrite earlier values.
|
||
|
- Make this topic a new FAQ.
|
||
|
- Add corresponding test t/06.repeat.key.t.
|
||
|
- Update POD to clarify trailing comment options.
|
||
|
- Add corresponding test t/07.trailing.comment.t.
|
||
|
- Romanize Gregory Kidrenko's name so Config::IniFiles does not get 'Wide char in print'.
|
||
|
- Move xt/pod.t to xt/author/pod.t.
|
||
|
- Adopt new repo structure. See
|
||
|
http://savage.net.au/Ron/html/My.Workflow.for.Building.Distros.html.
|
||
|
- Move require 5.008001 from Tiny.pm into Makefile.PL.
|
||
|
EOT
|
||
|
|
||
|
[V 2.23]
|
||
|
Date=2015-10-14T09:11:00
|
||
|
Comments= <<EOT
|
||
|
- Add the utf8 BOM to this file. Let's hope the CPAN toolchain can cope. If it can't, another
|
||
|
version of the code will have to be released.
|
||
|
- Fix read() and write() so they work on files called '0' (zero). See RT#107754.
|
||
|
Many thanx to Gregory Kidrenko for the report and patch.
|
||
|
- Add t/05.zero.t and t/0 to test the new code.
|
||
|
- Reformat the source slightly.
|
||
|
EOT
|
||
|
|
||
|
[V 2.22]
|
||
|
Date=2015-02-17T08:32:00
|
||
|
Comments=- Fix licence info in Makefile.PL to say Perl.
|
||
|
|
||
|
[V 2.21]
|
||
|
Date=2015-02-16T08:59:00
|
||
|
Comments= <<EOT
|
||
|
- Patch Makefile.PL to refer to the current repo, which is on github, and not the original one,
|
||
|
which is on Adam's web site. See RT#102125.
|
||
|
- Remove Build.PL because Karen Etheridge tells me Module::Build is no longer in core.
|
||
|
See RT#102126.
|
||
|
- Edit line lengths in this file to a max of 100 chars.
|
||
|
- Edit line lengths in the docs the same way.
|
||
|
- Expand the See Also section of the docs.
|
||
|
EOT
|
||
|
|
||
|
[V 2.20]
|
||
|
Date=2013-11-24T10:52:00
|
||
|
Comments=- Relax pre-req version requirements
|
||
|
|
||
|
[V 2.19]
|
||
|
Date=2013-09-15T09:16:00
|
||
|
Comments= <<EOT
|
||
|
- Change VERSION => $VERSION in Makefile.PL to VERSION_FROM => 'lib/Config/Tiny.pm'.
|
||
|
Reported by Jean-Louis Morel. See RT#88670.
|
||
|
EOT
|
||
|
|
||
|
[V 2.18]
|
||
|
Date=2013-09-14T10:03:00
|
||
|
Comments= <<EOT
|
||
|
- Remove obsolete and wrong version # from Makefile.PL.
|
||
|
Reported by Jean-Louis Morel. See RT#88658.
|
||
|
- Implement Kevin Ryde's suggestion to test if read() will return undef.
|
||
|
If so, set an error message and (still) return undef.
|
||
|
EOT
|
||
|
|
||
|
[V 2.17]
|
||
|
Date=2013-09-13T12:41:00
|
||
|
Comments= <<EOT
|
||
|
- Remove the file tests -efr during calls to read(). The open() tests for any error.
|
||
|
Also, the -f test was reporting /dev/null as a directory, not a file.
|
||
|
Thanx to Kevin Ryde for pushing me to implement this. See RT#36974.
|
||
|
- Clean up some error messages slightly.
|
||
|
EOT
|
||
|
|
||
|
[V 2.16]
|
||
|
Date=2013-09-06T11:54:00
|
||
|
Comments= <<EOT
|
||
|
- Replace Path::Tiny with File::Spec, because the former's list of dependencies is so long :-(.
|
||
|
Changed files: t/02.main.t, t/04.utf8.t, Build.PL and Makefile.PL.
|
||
|
See: RT#88435 (for Tree::DAG_Node) for an explanation.
|
||
|
EOT
|
||
|
|
||
|
[V 2.15]
|
||
|
Date=2013-08-04T14:59:00
|
||
|
Comments= <<EOT
|
||
|
- Clean up the shambolic dates in this file.
|
||
|
- Add a note under Caveats about setting options more that once. Only the first case is
|
||
|
respected. Thanx to Kimmel K. See RT#69795.
|
||
|
- Add a $encoding parameter to read_file() and write_file(). See docs for details.
|
||
|
Add t/04.utf8.t and t/04.utf8.txt.
|
||
|
Thanx to Mark Lawrence and Wolfgang Husmann. See RT#71029 and RT#85571.
|
||
|
- For BSD-based systems, when writing a file during tests, use:
|
||
|
my($temp_dir) = File::Temp -> newdir('temp.XXXX', CLEANUP => 1, EXLOCK => 0, TMPDIR => 1);
|
||
|
- Rename t/*.t files. I use '.' rather than '_' in file names because the latter is a shift
|
||
|
char.
|
||
|
- Add MANIFEST.SKIP, Changelog.ini, Build.PL, META.json.
|
||
|
- Add an FAQ to the docs.
|
||
|
- Clean up the docs.
|
||
|
EOT
|
||
|
|
||
|
[V 2.14]
|
||
|
Date=2011-03-24T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- Resolved #63080: module can write multiline values but not read them
|
||
|
- Removed -w from tests to allow tests with tainting on
|
||
|
EOT
|
||
|
|
||
|
[V 2.13]
|
||
|
Date=2010-09-03T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- Resolved #60703: Display glitch in Config::Tiny 2.12 POD
|
||
|
- Resolved #40585: member 'set;' doesn't exist
|
||
|
- Resolved #30479: does not warn or die when writing data it
|
||
|
cannot later.
|
||
|
EOT
|
||
|
|
||
|
[V 2.12]
|
||
|
Date=2007-11-01T12:00:00
|
||
|
Comments=- Converting build script from Module::Install to tinier EU:MM
|
||
|
|
||
|
[V 2.10]
|
||
|
Date=2006-09-20T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- This release contains only build-time changes
|
||
|
- Did a little housekeeping on Makefile.PL and the unit tests
|
||
|
- Upgrading to Module::Install 0.64
|
||
|
EOT
|
||
|
|
||
|
[V 2.09]
|
||
|
Date=2006-07-15T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- This release contains only build-time changes
|
||
|
- Added a dependency on ExtUtils::MakeMaker 6.11
|
||
|
Module::Install may have an issue with older EU:MM installs
|
||
|
EOT
|
||
|
|
||
|
[V 2.08]
|
||
|
Date=2012-07-15T00:00:00
|
||
|
Comments= <<EOT
|
||
|
- This release contains only build-time changes
|
||
|
- Upgraded to Module::Install 0.63
|
||
|
EOT
|
||
|
|
||
|
[V 2.07]
|
||
|
Date=2006-05-10T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- This release contains only build-time changes
|
||
|
- AutoInstall is only needed for options, so remove auto_install
|
||
|
EOT
|
||
|
|
||
|
[V 2.06]
|
||
|
Date=2006-04-23T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- No functional changes.
|
||
|
- Moved test.conf to the root dir, removing last use of File::Spec
|
||
|
- It also means we don't need FindBin, so removed that too
|
||
|
- Upgrading to Module::Install 0.62
|
||
|
EOT
|
||
|
|
||
|
[V 2.05]
|
||
|
Date=2006-02-23T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- No functional changes.
|
||
|
- Moved over from the old CVS repository to the new SVN one
|
||
|
- Updated tests for the new release system
|
||
|
- Upgrading to a newer Module::Install
|
||
|
EOT
|
||
|
|
||
|
[V 2.04]
|
||
|
Date=2005-12-31T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- No functional changes.
|
||
|
- Upgrading to a newer Module::Install to address Cygwin problem
|
||
|
EOT
|
||
|
|
||
|
[V 2.03]
|
||
|
Date=2005-12-30T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- No functional changes.
|
||
|
- POD Change: CPAN #15143 Clear things up about $! after
|
||
|
unsuccessful read()? (flatworm)
|
||
|
- Upgraded Makefile.PL to use Module::Install
|
||
|
EOT
|
||
|
|
||
|
[V 2.02]
|
||
|
Date=2005-06-19T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- Add trimming of whitespace from the section names so that we can
|
||
|
use section tags like [ section ] and have it Do What You Mean.
|
||
|
- Cleaned up the POD a little more.
|
||
|
EOT
|
||
|
|
||
|
[V 2.01]
|
||
|
Date=2005-03-24T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- Lars Thegler noted in CSS::Tiny that 3-argument open is not
|
||
|
supported by 5.005. Added a small fix to change it to 2-argument
|
||
|
open.
|
||
|
EOT
|
||
|
|
||
|
[V 2.00]
|
||
|
Date=2004-07-16T12:00:00
|
||
|
Comments=- Final tweaks to round out complete 5.004 and Win32 compatibility
|
||
|
|
||
|
[V 1.9]
|
||
|
Date=2004-07-07T12:00:00
|
||
|
Comments=- Applied some small optimisations from Japheth Cleaver
|
||
|
|
||
|
[V 1.8]
|
||
|
Date=2004-06-30T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- Fixed a bug whereby trying to load an empty file returned an error,
|
||
|
when it should be valid (if an empty object)
|
||
|
EOT
|
||
|
|
||
|
[V 1.7]
|
||
|
Date=2004-06-22T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- Added a little more flexibility in the 'read' and 'read_string' methods
|
||
|
to handle being called in unexpected, but recoverable, ways.
|
||
|
EOT
|
||
|
|
||
|
[V 1.6]
|
||
|
Date=2004-03-01T12:00:00
|
||
|
Comments=- Bug fix: Sections without keys didn't appear at all in the parsed struct
|
||
|
|
||
|
[V 1.5]
|
||
|
Date=2004-01-07T12:00:00
|
||
|
Comments=- Updating documentation to provide a correct location to send bug reports
|
||
|
|
||
|
[V 1.4]
|
||
|
Date=2003-12-24T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- Caught a warning when trying to parse an undefined string.
|
||
|
Returns undef in that case.
|
||
|
- Merry Christmas and a productive New Year to you all!
|
||
|
EOT
|
||
|
|
||
|
[V 1.3]
|
||
|
Date=2003-11-07T12:00:00
|
||
|
Comments= <<EOT
|
||
|
- Slightly altered a regex so that trailing whitespace in properties
|
||
|
is dropped.
|
||
|
EOT
|
||
|
|
||
|
[V 1.2]
|
||
|
Date=2003-08-12T15:51:12
|
||
|
Comments= <<EOT
|
||
|
- Applied a variety of small changed designed to reduce the number of
|
||
|
opcodes generated, without changing the functionality.
|
||
|
This should save a few K in load overhead.
|
||
|
EOT
|
||
|
|
||
|
[V 1.1]
|
||
|
Date=2003-04-23T22:56:21
|
||
|
Comments= <<EOT
|
||
|
- When reporting a bad line, put single quotes around the
|
||
|
lines contents in the error message.
|
||
|
- Small updates to the pod documentation
|
||
|
EOT
|
||
|
|
||
|
[V 1.0]
|
||
|
Date=2002-12-21T11:53:51
|
||
|
Comments= <<EOT
|
||
|
- Removed file locking, since we read/write virtually atomically now
|
||
|
- Removed mode support from ->write() it was erroneous
|
||
|
- Removed dependency on Fcntl
|
||
|
- Added the read_string() method
|
||
|
- Other minor tweaks to shrink the code
|
||
|
EOT
|
||
|
|
||
|
[V 0.3]
|
||
|
Date=2002-12-09T00:44:21
|
||
|
Comments= <<EOT
|
||
|
- Upgraded tests to Test::More, to deep test the structs
|
||
|
- Added Fcntl to the required modules
|
||
|
EOT
|
||
|
|
||
|
[V 0.2]
|
||
|
Date=2002-11-26T21:51:34
|
||
|
Comments=- Don't import Fcntl symbols
|
||
|
|
||
|
[V 0.1]
|
||
|
Date=2002-11-13T16:50:23
|
||
|
Comments=- original version
|