aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFiles
2021-02-12Change bugtracker addressHEADv1.05masterSergey Poznyakoff1
As a reaction to https://log.perl.org/2020/12/rtcpanorg-sunset.html, bugtracker switched to puszcza.gnu.org.ua
2019-08-29Update for Config::AST 1.05v1.04Sergey Poznyakoff2
* Changes: Update. * Makefile.PL: Require Config::AST 1.05 * lib/Config/Parser.pm: Use L<> for cross-references. * lib/Config/Parser/Ini.pm (_readconfig): Fix creation of section nodes. Remove access to the private class member
2019-08-23Implement BOOLEAN data type.v1.03Sergey Poznyakoff1
2019-08-22Spell checkSergey Poznyakoff2
2019-08-22Version 1.02v1.02Sergey Poznyakoff1
2019-08-22Use mro to track descendant classes.Sergey Poznyakoff1
* Makefile.PL: Drop dependency on Class::Inspector * lib/Config/Parser.pm (new): Use mro to track descendant classes. (findsynt): Revert * t/TestConfig.pm (new): Test for existence of the DATA handle before trying to read from it. (canonical_lexicon): New method. * t/conf09.t: New test.
2019-08-21Fixes for perl 5.16.1. Version 1.01v1.01Sergey Poznyakoff1
* Changes: Update. * lib/Config/Parser.pm (new): Pass class as an argument to findsynt, instead of using class method syntax. (findsynt): Exclude *::SUPER class, returned on perl 5.16.3 and below.
2019-08-20Version 1.00v1.00Sergey Poznyakoff1
2019-08-20Provide a way for supplying options to section definition. Improve the docsSergey Poznyakoff2
* lib/Config/Parser.pm (loadsynt): Return a reference to the reference hash. Process eventual __options__ keywords in sections. Finish documentation. * lib/Config/Parser/Ini.pm: Add documentation * t/ConfigSpec2.pm: Use the __options__ keyword.
2019-08-20Start writing the documentationSergey Poznyakoff1
2019-08-19Use the same instance for parsing both the syntax definition and configuration.Sergey Poznyakoff1
* lib/Config/Parser.pm (inited): Remove. (loadsynt): Don't create a dedicated object for parsing the syntax definition. Use the principal one instead.
2019-08-19Improve constructorSergey Poznyakoff1
This commit introduces the "mangle" method, which can be implemented by the caller in order to run any additional tree modifications after a successful parse and commit (see the new testcase for an example). * lib/Config/Parser.pm (new): Call the init method if lexicon hash has been loaded. (init,inited,commit): New methods. * t/ConfigSpec3.pm: New file. * t/TestConfig.pm: Don't attempt to load empty files. * t/conf08.t: New file.
2019-08-03Fix default values handlingSergey Poznyakoff1
* lib/Config/Parser.pm (loadsynt): If the setting is of array type, use the words remaining after attribute processing as its default value. Otherwise, concatenate the words using single whitespace character as a delimiter and use that value as the default.
2018-07-10Switch to Config::ASTSergey Poznyakoff2
2018-07-09Use Text::LocusSergey Poznyakoff2
2018-01-20Initial commitSergey Poznyakoff2

Return to:

Send suggestions and report system problems to the System administrator.