Apache-ConfigParser
view release on metacpan or search on metacpan
%directive_value_takes_abs_path. Improve the POD for
*value_is_{abs_,rel_,}path. The set_value_array and
set_orig_value_array methods now return the value of the
array before the method was called.
* lib/Apache/ConfigParser.pm: For those directives that take
path arguments, instead of always checking value array index
0 to see if it should have ServerRoot prepended to it, which
is incorrect for LoadModule among other directives, check
all value array positions that may take a path.
Mon Sep 17 21:58:48 PDT 2001 <blair@orcaware.com> Blair Zajac
* Release version 0.05.
Mon Sep 17 21:47:46 PDT 2001 <blair@orcaware.com> Blair Zajac
* lib/Apache/ConfigParser.pm: Shorten the find_* method
names. Rename find_at_and_down_directive_names to
find_down_directive_names and find_in_* to find_*.
* lib/Apache/ConfigParser.pod: Ditto.
* t/02parser.t: Ditto.
Mon Sep 17 12:25:41 PDT 2001 <blair@orcaware.com> Blair Zajac
* lib/Apache/ConfigParser.pm: Rename all of the find_* methods
to use the word directive instead of option. Change all of
the comments and POD documentation to use the word directive
instead of option.
* lib/Apache/ConfigParser.pod: Ditto.
* t/02parser.t: Ditto.
Mon Sep 17 02:01:35 PDT 2001 <blair@orcaware.com> Blair Zajac
* Release version 0.04.
Mon Sep 17 01:17:00 PDT 2001 <blair@orcaware.com> Blair Zajac
* lib/Apache/ConfigParser.pm: Move the setting of
Apache::ConfigParser's ServerRoot hash value after the value
array is set. This removes any unnecessary quotes around
the value.
* lib/Apache/ConfigParser.pod: Ditto.
* t/httpd02.answer: Update the answer file to reflect this
change with ServerRoot.
* t/httpd04.answer: Ditto.
* lib/Apache/ConfigParser.pm: Move all of the code that
checked if a particular directive's value is a path, a pipe
or a syslog into lib/Apache/ConfigParser/Directive.pm since
logically this code belongs with the directive and not with
the user of the directive. This meant moving the
%directive_has_non_abs_path hash to the Directive module.
Also rename the hash to %directive_value_takes_path to make
the name more accurate. Remove the declaration of
@EXPORT_OK since the module does not export anything now.
* lib/Apache/ConfigParser.pod: Ditto.
* lib/Apache/ConfigParser.pm: Allow pre_transform_path_sub and
post_transform_path_sub to operate on any file or directory
path that is a hash key of %directive_value_takes_path but
only prepend ServerRoot to directives that are a hash key of
%directive_value_takes_rel_path that have relative files
that are also not equal to File::Spec->devnull. The new
directives that can be transformed that previous would not
be are: AgentLog, AuthDBGroupFile, AuthDBMGroupFile,
AuthDBMUserFile, AuthDBUserFile, AuthDigestFile, CacheRoot,
CoreDumpDirectory, Directory, DocumentRoot, MMapFile,
RewriteLock and ServerRoot.
* lib/Apache/ConfigParser.pod: Ditto.
* lib/Apache/ConfigParser/Directive.pm: Add several new
methods to Apache::ConfigParser::Directive to determine the
file and directory properties of directives. The new
methods are:
value_is_path and orig_value_is_path
return true if the directive can take a file or
directory path as its value array element 0 and that
element is a file or directory path.
value_is_abs_path and orig_value_is_abs_path
Returns true if the directive can take either an
absolute or relative file or directory path as its value
array element 0 and that element is an absolute file or
directory path.
value_is_rel_path and orig_value_is_rel_path
Returns true if C<$d>'s directive can take either an
absolute or relative file or directory path as its value
array element 0 and that element is a relative file or
directory path.
* lib/Apache/ConfigParser/Directive.pod: Ditto.
* lib/Apache/ConfigParser/Directive.pm: Export via @EXPORT_OK
the two hashes %directive_value_takes_path and
%directive_value_takes_rel_path which are used by the new
methods above and made available to other users of the
module.
* t/01directive.t: Add tests to extensively test all of the
new methods in Apache::ConfigParser::Directive.
Sat Sep 15 23:00:54 PDT 2001 <blair@orcaware.com> Blair Zajac
* Release version 0.03.
Sat Sep 15 22:59:50 PDT 2001 <blair@orcaware.com> Blair Zajac
* lib/Apache/ConfigParser.pm: Upgrade to version 0.03.
README: Ditto.
Sat Sep 15 22:50:27 PDT 2001 <blair@orcaware.com> Blair Zajac
( run in 2.497 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )