forked from openkylin/libconfig-tiny-perl
220 lines
8.7 KiB
Plaintext
220 lines
8.7 KiB
Plaintext
|
Revision history for Perl extension Config-Tiny:
|
||
|
|
||
|
2.28 2022-01-04T15:47:58
|
||
|
- 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.
|
||
|
|
||
|
2.27 2021-09-21T15:48:00
|
||
|
- 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.
|
||
|
|
||
|
2.26 2021-02-01T17:11:00
|
||
|
- Update POD to change RT to github.
|
||
|
- Reformat Makefile.PL.
|
||
|
|
||
|
2.25 2021-01-31T20:29:00
|
||
|
- 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.
|
||
|
|
||
|
2.24 2019-06-11T15:30:00
|
||
|
- 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.
|
||
|
|
||
|
2.23 2015-10-14T09:11:00
|
||
|
- 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.
|
||
|
|
||
|
2.22 2015-02-17T08:32:00
|
||
|
- Fix licence info in Makefile.PL to say Perl.
|
||
|
|
||
|
2.21 2015-02-16T08:59:00
|
||
|
- 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.
|
||
|
|
||
|
2.20 2013-11-24T10:52:00
|
||
|
- Relax pre-req version requirements
|
||
|
|
||
|
2.19 2013-09-15T09:16:00
|
||
|
- Change VERSION => $VERSION in Makefile.PL to VERSION_FROM => 'lib/Config/Tiny.pm'.
|
||
|
Reported by Jean-Louis Morel. See RT#88670.
|
||
|
|
||
|
2.18 2013-09-14T10:03:00
|
||
|
- 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.
|
||
|
|
||
|
2.17 2013-09-13T12:41:00
|
||
|
- 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.
|
||
|
|
||
|
2.16 2013-09-06T11:54:00
|
||
|
- 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.
|
||
|
|
||
|
2.15 2013-08-04T14:59:00
|
||
|
- 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.
|
||
|
|
||
|
2.14 Thu Mar 24 12:00:00 2011
|
||
|
- Resolved #63080: module can write multiline values but not read them
|
||
|
- Removed -w from tests to allow tests with tainting on
|
||
|
|
||
|
2.13 Fri Sep 3 12:00:00 2010
|
||
|
- 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.
|
||
|
|
||
|
2.12 Thu Nov 1 12:00:00 2007
|
||
|
- Converting build script from Module::Install to tinier EU:MM
|
||
|
|
||
|
2.10 Sat Sep 20 12:00:00 2006
|
||
|
- This release contains only build-time changes
|
||
|
- Did a little housekeeping on Makefile.PL and the unit tests
|
||
|
- Upgrading to Module::Install 0.64
|
||
|
|
||
|
2.09 Sat Jul 15 12:00:00 2006
|
||
|
- 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
|
||
|
|
||
|
2.08 Sat 15 Jul 12:00:00 2006
|
||
|
- This release contains only build-time changes
|
||
|
- Upgraded to Module::Install 0.63
|
||
|
|
||
|
2.07 Wed May 10 12:00:00 2006
|
||
|
- This release contains only build-time changes
|
||
|
- AutoInstall is only needed for options, so remove auto_install
|
||
|
|
||
|
2.06 Sun Apr 23 12:00:00 2006
|
||
|
- 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
|
||
|
|
||
|
2.05 Thu Feb 23 12:00:00 2006
|
||
|
- 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
|
||
|
|
||
|
2.04 Sat Dec 31 12:00:00 2005
|
||
|
- No functional changes.
|
||
|
- Upgrading to a newer Module::Install to address Cygwin problem
|
||
|
|
||
|
2.03 Fri Dec 30 12:00:00 2005
|
||
|
- No functional changes.
|
||
|
- POD Change: CPAN #15143 Clear things up about $! after
|
||
|
unsuccessful read()? (flatworm)
|
||
|
- Upgraded Makefile.PL to use Module::Install
|
||
|
|
||
|
2.02 Sun Jun 19 12:00:00 2005
|
||
|
- 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.
|
||
|
|
||
|
2.01 Thu Mar 24 12:00:00 2005
|
||
|
- 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.
|
||
|
|
||
|
2.00 Fri Jul 16 12:00:00 2004
|
||
|
- Final tweaks to round out complete 5.004 and Win32 compatibility
|
||
|
|
||
|
1.9 Wed Jul 7 12:00:00 2004
|
||
|
- Applied some small optimisations from Japheth Cleaver
|
||
|
|
||
|
1.8 Wed Jun 30 12:00:00 2004
|
||
|
- Fixed a bug whereby trying to load an empty file returned an error,
|
||
|
when it should be valid (if an empty object)
|
||
|
|
||
|
1.7 Tue Jun 22 12:00:00 2004
|
||
|
- Added a little more flexibility in the 'read' and 'read_string' methods
|
||
|
to handle being called in unexpected, but recoverable, ways.
|
||
|
|
||
|
1.6 Mon Mar 1 12:00:00 2004
|
||
|
- Bug fix: Sections without keys didn't appear at all in the parsed struct
|
||
|
|
||
|
1.5 Wed Jan 7 12:00:00 2004
|
||
|
- Updating documentation to provide a correct location to send bug reports
|
||
|
|
||
|
1.4 Wed Dec 24 12:00:00 2003
|
||
|
- 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!
|
||
|
|
||
|
1.3 Fri Nov 7 12:00:00 2003
|
||
|
- Slightly altered a regex so that trailing whitespace in properties
|
||
|
is dropped.
|
||
|
|
||
|
1.2 Wed Aug 12 15:51:12 2003
|
||
|
- 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.
|
||
|
|
||
|
1.1 Wed Apr 23 22:56:21 2003
|
||
|
- When reporting a bad line, put single quotes around the
|
||
|
lines contents in the error message.
|
||
|
- Small updates to the pod documentation
|
||
|
|
||
|
1.0 Sat Dec 21 11:53:51 2002
|
||
|
- 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
|
||
|
|
||
|
0.3 Mon Dec 09 00:44:21 2002
|
||
|
- Upgraded tests to Test::More, to deep test the structs
|
||
|
- Added Fcntl to the required modules
|
||
|
|
||
|
0.2 Tue Nov 26 21:51:34 2002
|
||
|
- Don't import Fcntl symbols
|
||
|
|
||
|
0.1 Wed Nov 13 16:50:23 2002
|
||
|
- original version
|