Commit Graph

116 Commits

Author SHA1 Message Date
d735418bee fix duplicate var warning 2025-01-07 17:37:54 +01:00
d44cb84d12 fix stages 2025-01-07 17:37:40 +01:00
74a446ec1a add unittest ci pipelines 2025-01-07 10:57:39 +01:00
0153baeb3c bump version and add changelog 2025-01-07 10:39:36 +01:00
3937d2423e add new flag AlwaysQuoteOutput for write quoting 2025-01-07 10:36:02 +01:00
T.v.Dein
35dc4c10c9 Merge pull request #2 from haarg-contrib/no-use-vars
don't use vars, use our
2025-01-07 10:01:30 +01:00
84787e26ac fix #1: quote all values containing whitespace on writing 2025-01-07 09:58:18 +01:00
Graham Knop
db3b5c97a6 don't use vars, use our
Also drop Exporter and @EXPORT from modules that don't export anything.
2024-10-18 02:30:21 +02:00
6131988cd8 Move from svn to github and various fixes:
-    fix rt.cpan.org#142095:IfDefine refined
-    fix rt.cpan.org#118746:clarify variable name chars
-    fix rt.cpan.org#139261: include dirs
-    fixed license to artistic_2
-    fix repo+version
2022-04-12 13:07:51 +02:00
Thomas von Dein
a4e206b66a forgot debug line
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@113 be1acefe-a474-0410-9a34-9b3221f2030f
2016-07-29 06:10:47 +00:00
Thomas von Dein
bb38955968 fix rt.cpan.org #116340: support includes with globs on win32 platforms
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@112 be1acefe-a474-0410-9a34-9b3221f2030f
2016-07-29 06:09:04 +00:00
Thomas von Dein
a49de35c81 fix rt.cpan.org#115326, added IFDefine support, fix POD indentation
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@111 be1acefe-a474-0410-9a34-9b3221f2030f
2016-07-08 08:46:02 +00:00
Thomas von Dein
7a48e048cf fixed rt.cpan.org#113671: recognize BOM at start of a utf8 file
fixed rt.cpan.org#112857: Same Line Closing Block Breaks Parser



git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@110 be1acefe-a474-0410-9a34-9b3221f2030f
2016-04-18 13:09:45 +00:00
Thomas von Dein
34397e9b04 revert
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@109 be1acefe-a474-0410-9a34-9b3221f2030f
2016-04-14 18:27:08 +00:00
Thomas von Dein
16947651e5 fix rt.cpan.org#113671
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@108 be1acefe-a474-0410-9a34-9b3221f2030f
2016-04-12 07:19:40 +00:00
Thomas von Dein
1875861621 added missing test include
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@107 be1acefe-a474-0410-9a34-9b3221f2030f
2015-10-23 06:57:23 +00:00
Thomas von Dein
f8a1f76526 2.59
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@106 be1acefe-a474-0410-9a34-9b3221f2030f
2015-10-22 12:52:53 +00:00
Thomas von Dein
0fc8e2cdf7 addd pod for rt#106642
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@105 be1acefe-a474-0410-9a34-9b3221f2030f
2015-10-22 12:44:49 +00:00
Thomas von Dein
6b154a6254 add support for apache's IncludeOptional feature
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@104 be1acefe-a474-0410-9a34-9b3221f2030f
2015-10-11 18:37:08 +00:00
Thomas von Dein
4484d60098 bump version
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@103 be1acefe-a474-0410-9a34-9b3221f2030f
2015-05-21 17:20:18 +00:00
Thomas von Dein
61ed23ca3a fix rt.cpan.org#104548
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@102 be1acefe-a474-0410-9a34-9b3221f2030f
2015-05-20 17:28:38 +00:00
Thomas von Dein
176b3e91d2 fix rt.cpan.org#95325
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@101 be1acefe-a474-0410-9a34-9b3221f2030f
2014-05-04 13:27:01 +00:00
Thomas von Dein
a079a0f437 bump version, fix rt.cpan.org#95314
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@100 be1acefe-a474-0410-9a34-9b3221f2030f
2014-05-03 16:50:15 +00:00
Thomas von Dein
480548e19d fixed rt.cpan.org#39814.
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@99 be1acefe-a474-0410-9a34-9b3221f2030f
2014-05-01 11:19:25 +00:00
Thomas von Dein
010403fd8a bumb 2.53, couple of small fixes, spelling fixes.
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@98 be1acefe-a474-0410-9a34-9b3221f2030f
2014-04-30 12:17:56 +00:00
Thomas von Dein
62ed80bef2 added svn repo info.
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@97 be1acefe-a474-0410-9a34-9b3221f2030f
2013-07-04 05:27:53 +00:00
Thomas von Dein
e690b33942 => 2.52, see changelog
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@96 be1acefe-a474-0410-9a34-9b3221f2030f
2013-07-03 08:37:11 +00:00
Thomas von Dein
1ee3fcec91 version++
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@95 be1acefe-a474-0410-9a34-9b3221f2030f
2012-07-18 13:07:10 +00:00
Thomas von Dein
e3f94758a7 fixed bugs and added -NoEscape + -Normalize(Option|Block|Value) parameters.
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@94 be1acefe-a474-0410-9a34-9b3221f2030f
2012-07-18 13:06:33 +00:00
Thomas von Dein
d1a94ee201 fixed pod for apache compat option
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@93 be1acefe-a474-0410-9a34-9b3221f2030f
2010-12-09 16:17:55 +00:00
Thomas von Dein
bc44494a3d removed test.cfg (it is a "make test" outputfile)
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@92 be1acefe-a474-0410-9a34-9b3221f2030f
2010-12-09 11:33:54 +00:00
Thomas von Dein
90f215d98c - fixed rt.cpan.org#63487 documentation error.
- fixed rt.cpan.org#61302, now croak if the config file
          parameter is a directory and directory include is not
          turned on.

        - fixed rt.cpan.org#60429 META.yml typo

        - added new option -AllowSingleQuoteInterpolation, which
          turns on interpolation for variables inside single quotes.

        - added test case for the new option



git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@91 be1acefe-a474-0410-9a34-9b3221f2030f
2010-12-01 10:42:39 +00:00
Todd R
643107150c RT 58262 - fix warning messages from perl 5.12
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@90 be1acefe-a474-0410-9a34-9b3221f2030f
2010-10-15 19:04:46 +00:00
Todd R
376bbfb12d RT 58262 - Add failing test for defined \%hash deprecation in perl 5.12
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@89 be1acefe-a474-0410-9a34-9b3221f2030f
2010-10-15 19:03:51 +00:00
Thomas von Dein
78d7f3d6f9 added ::getbypath() which allows to fetch subhashes by specifying
a path (just like xpath)


git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@88 be1acefe-a474-0410-9a34-9b3221f2030f
2010-08-25 13:23:58 +00:00
Thomas von Dein
5f3800ba29 fixed rt.cpan.org#56532
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@84 be1acefe-a474-0410-9a34-9b3221f2030f
2010-06-08 06:58:32 +00:00
Thomas von Dein
792fb55180 version bump up to 2.48
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@83 be1acefe-a474-0410-9a34-9b3221f2030f
2010-04-09 13:40:00 +00:00
Thomas von Dein
06bdf8a316 fixed typos
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@82 be1acefe-a474-0410-9a34-9b3221f2030f
2010-04-09 13:32:24 +00:00
Thomas von Dein
7015029285 updated
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@81 be1acefe-a474-0410-9a34-9b3221f2030f
2010-04-09 13:23:31 +00:00
Thomas von Dein
0959e70dd3 file were missing!
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@80 be1acefe-a474-0410-9a34-9b3221f2030f
2010-04-09 13:20:07 +00:00
Thomas von Dein
05d182b37a fixed spelling error ("artificial license" => "artistic license"), added more info to META.yml
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@79 be1acefe-a474-0410-9a34-9b3221f2030f
2010-04-09 09:07:16 +00:00
Thomas von Dein
fd8e051059 added -ForceArray flag which makes it possible to use single value arrays
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@78 be1acefe-a474-0410-9a34-9b3221f2030f
2010-04-09 08:56:40 +00:00
Thomas von Dein
aaaab71992 Splat with 2.46
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@76 be1acefe-a474-0410-9a34-9b3221f2030f
2010-04-08 15:48:03 +00:00
Thomas von Dein
045aed9c39 Splat with 2.45
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@74 be1acefe-a474-0410-9a34-9b3221f2030f
2010-04-08 15:47:22 +00:00
Thomas von Dein
afc1678d5d -
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@72 be1acefe-a474-0410-9a34-9b3221f2030f
2009-10-19 19:45:20 +00:00
Thomas von Dein
d004e91c54 fixed rt.cpan.org#50329, don't try to interpolate on undefined values.
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@71 be1acefe-a474-0410-9a34-9b3221f2030f
2009-10-19 15:34:31 +00:00
Thomas von Dein
e60803efda 2.44
- fixed rt.cpan.org#49023 by rolling back change in 2.43
	   in line 158, regarding GLOB support.


git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@70 be1acefe-a474-0410-9a34-9b3221f2030f
2009-10-10 16:47:02 +00:00
Thomas von Dein
db567b0713 2.43
- fixed rt.cpan.org#40925, $indichar replaced by internal
	  configuration variable EOFseparator, which contains
	  a 256 bit SHA checksum of the date I fixed the bug.
	  This will prevent future conflicts hopefully. In addition
	  it makes it possible to make it customizable, if neccessary,
	  in a future release.

	- fixed rt.cpan.org#42721, return undef for empty values

	- fixed rt.cpan.org#42331, return undef for empty objects

	- fixed rt.cpan.org#44600, comments after blockname
	  causes parser failure.

	- fixed rt.cpan.org#42287, whitespace at beginning or end
	  of a quoted value gets lost after save().

	- fixed rt.cpan.org#46184, variables that were not previously
	  defined are deleted when -InterPolateEnv is enabled. 

	- fixed bug in config loader for FileHandle objects, it
	  supports now any compatible object. Hint by Ingo Schmiegel.

	- applied spelling- and speedup patches by Ville Skyttä.

	- applied documentation patch by Jordan Macdonald.


git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@69 be1acefe-a474-0410-9a34-9b3221f2030f
2009-10-10 16:46:35 +00:00
Thomas von Dein
b75401d426 2.42
- dist tarball for 2.41 missed t/Tie/LxHash.pm. Dammit.
          the File to the MANIFEST.


git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@68 be1acefe-a474-0410-9a34-9b3221f2030f
2009-10-10 16:46:05 +00:00
Thomas von Dein
e2819aa525 2.41
- fixed rt.cpan.org#38635. apache-like include now supports
	  quoted strings.

        - fixed rt.cpan.org#41748. saving config with -tie enabled
	  now keeps the tie as documented.

	- added unit test for -tie. For this to work, a copy of
	  Tie::LxHash module is delivered with Config::General
	  source, but will not installed, in fact, it is only
	  used for 'make test' (number 50)

	- fixed rt.cpan.org#39159. documentation of functional interface
          now reflects that qw$method) is now required.

	- applied patch by AlexK fixing rt.cpan.org#41030:
	  if files are included by means of a glob pattern having the -IncludeGlob
	  option activated, paths specified by the -ConfigPath option are being
	  neglected when trying to spot the files. This patch fixes this

	- applied patch by fbicknel, fixes rt.cpan.org#41570: 
	  An array of scalars (eg: option = [1,2,3]) cannot
	  be used for interpolation (which element shall we use?!), so
	  we ignore those types of lists and don't build a __stack for them.


git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@67 be1acefe-a474-0410-9a34-9b3221f2030f
2009-10-10 16:45:27 +00:00