summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2015-09-27 08:43:49 +0200
committerYorhel <git@yorhel.nl>2015-09-27 08:43:49 +0200
commit9d0c991c8fb2ba264e68ea5d2f8608bbc177e60a (patch)
tree6269bdc7daf255abc5c98cde00062caf15039c4d
parent3d38e33ee776da244edb2cdd2ea4b4af89e1119c (diff)
Version 1.0v1.0
-rw-r--r--Build.PL2
-rw-r--r--COPYING2
-rw-r--r--ChangeLog19
-rw-r--r--lib/TUWF.pm2
-rw-r--r--lib/TUWF.pod2
-rw-r--r--lib/TUWF/DB.pm2
-rw-r--r--lib/TUWF/DB.pod2
-rw-r--r--lib/TUWF/Misc.pm2
-rw-r--r--lib/TUWF/Misc.pod2
-rw-r--r--lib/TUWF/Request.pm2
-rw-r--r--lib/TUWF/Request.pod2
-rw-r--r--lib/TUWF/Response.pm2
-rw-r--r--lib/TUWF/Response.pod2
-rw-r--r--lib/TUWF/XML.pm2
-rw-r--r--lib/TUWF/XML.pod2
15 files changed, 33 insertions, 14 deletions
diff --git a/Build.PL b/Build.PL
index 9779623..3637b78 100644
--- a/Build.PL
+++ b/Build.PL
@@ -4,7 +4,7 @@ use Module::Build;
Module::Build->new(
dist_name => 'TUWF',
- dist_version => '0.2',
+ dist_version => '1.0',
dist_author => 'Yoran Heling <yorhel@cpan.org>',
dist_abstract => 'The Ultimate Website Framework',
license => 'mit',
diff --git a/COPYING b/COPYING
index 46e754a..eff61c8 100644
--- a/COPYING
+++ b/COPYING
@@ -1,4 +1,4 @@
-Copyright (c) 2008-2011 Yoran Heling
+Copyright (c) 2008-2015 Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/ChangeLog b/ChangeLog
index b614397..999709a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+1.0 - 2015-09-17
+ - !! Some backwards-imcompatible changes, marked * !!
+ - kv_validate() improvements:
+ - Fix maxcount option
+ - Fix non-array argument to 'func'
+ - Added some default templates: num, int, uint, ascii, email, weburl
+ - * Removed 'min' and 'max' options, these now require the num template
+ - Add 'inherit' option for template definitions
+ - Allow templates to provide default values for 'required', 'default',
+ 'rmwhitespace', 'multi', 'mincount' and 'maxcount'
+ - Add tests
+ - * reqPath() now includes the leading slash
+ - * reqGet(), reqPost(), reqParam(), reqUploadMIME() and reqUploadRaw()
+ now only work in scalar context.
+ - * Add plural versions of the above methods (reqGets() etc) that only
+ work in list context.
+ - Add reqQuery()
+ - Fix warning with Perl 5.22
+
0.2 - 2012-01-19
- Fixed bug with in-place utf8_decode() in recent Perls
- Lowered minimum Perl version to 5.8.0
diff --git a/lib/TUWF.pm b/lib/TUWF.pm
index c6a042e..f13e578 100644
--- a/lib/TUWF.pm
+++ b/lib/TUWF.pm
@@ -7,7 +7,7 @@ use strict;
use warnings;
use Carp 'croak';
-our $VERSION = '0.2';
+our $VERSION = '1.0';
# Store the object in a global variable for some functions that don't get it
diff --git a/lib/TUWF.pod b/lib/TUWF.pod
index 69ac6e4..b2b2f9e 100644
--- a/lib/TUWF.pod
+++ b/lib/TUWF.pod
@@ -606,7 +606,7 @@ L<http://g.blicky.net/tuwf.git/|http://g.blicky.net/tuwf.git/>.
=head1 COPYRIGHT
-Copyright (c) 2008-2011 Yoran Heling.
+Copyright (c) 2008-2015 Yoran Heling.
This module is part of the TUWF framework and is free software available under
the liberal MIT license. See the COPYING file in the TUWF distribution for the
diff --git a/lib/TUWF/DB.pm b/lib/TUWF/DB.pm
index 6a0caa6..9c4e594 100644
--- a/lib/TUWF/DB.pm
+++ b/lib/TUWF/DB.pm
@@ -6,7 +6,7 @@ use warnings;
use Carp 'croak';
use Exporter 'import';
-our $VERSION = '0.2';
+our $VERSION = '1.0';
our @EXPORT = qw|
dbInit dbh dbCheck dbDisconnect dbCommit dbRollBack
dbExec dbRow dbAll dbPage
diff --git a/lib/TUWF/DB.pod b/lib/TUWF/DB.pod
index 80e20fb..6afe1e1 100644
--- a/lib/TUWF/DB.pod
+++ b/lib/TUWF/DB.pod
@@ -243,7 +243,7 @@ L<TUWF>
=head1 COPYRIGHT
-Copyright (c) 2008-2011 Yoran Heling.
+Copyright (c) 2008-2015 Yoran Heling.
This module is part of the TUWF framework and is free software available under
the liberal MIT license. See the COPYING file in the TUWF distribution for the
diff --git a/lib/TUWF/Misc.pm b/lib/TUWF/Misc.pm
index 1ca1ebf..9d6563c 100644
--- a/lib/TUWF/Misc.pm
+++ b/lib/TUWF/Misc.pm
@@ -11,7 +11,7 @@ use Encode 'encode_utf8';
use Scalar::Util 'looks_like_number';
-our $VERSION = '0.2';
+our $VERSION = '1.0';
our @EXPORT = ('formValidate', 'mail');
our @EXPORT_OK = ('uri_escape', 'kv_validate');
diff --git a/lib/TUWF/Misc.pod b/lib/TUWF/Misc.pod
index fb864c5..6838f5a 100644
--- a/lib/TUWF/Misc.pod
+++ b/lib/TUWF/Misc.pod
@@ -280,7 +280,7 @@ L<TUWF>, L<URI::Escape>.
=head1 COPYRIGHT
-Copyright (c) 2008-2011 Yoran Heling.
+Copyright (c) 2008-2015 Yoran Heling.
This module is part of the TUWF framework and is free software available under
the liberal MIT license. See the COPYING file in the TUWF distribution for the
diff --git a/lib/TUWF/Request.pm b/lib/TUWF/Request.pm
index f61a852..34cacd1 100644
--- a/lib/TUWF/Request.pm
+++ b/lib/TUWF/Request.pm
@@ -7,7 +7,7 @@ use Encode 'decode_utf8', 'encode_utf8';
use Exporter 'import';
use Carp 'croak';
-our $VERSION = '0.2';
+our $VERSION = '1.0';
our @EXPORT = qw|
reqInit reqGets reqGet reqPosts reqPost reqParams reqParam
reqUploadMIMEs reqUploadMIME reqUploadRaws reqUploadRaw reqSaveUpload
diff --git a/lib/TUWF/Request.pod b/lib/TUWF/Request.pod
index 6996a70..a640c28 100644
--- a/lib/TUWF/Request.pod
+++ b/lib/TUWF/Request.pod
@@ -190,7 +190,7 @@ L<TUWF>
=head1 COPYRIGHT
-Copyright (c) 2008-2011 Yoran Heling.
+Copyright (c) 2008-2015 Yoran Heling.
This module is part of the TUWF framework and is free software available under
the liberal MIT license. See the COPYING file in the TUWF distribution for the
diff --git a/lib/TUWF/Response.pm b/lib/TUWF/Response.pm
index 3c0eab6..c0a9832 100644
--- a/lib/TUWF/Response.pm
+++ b/lib/TUWF/Response.pm
@@ -8,7 +8,7 @@ use Exporter 'import';
use POSIX 'strftime';
-our $VERSION = '0.2';
+our $VERSION = '1.0';
our @EXPORT = qw|
resInit resHeader resCookie resBuffer resFd resStatus resRedirect resNotFound resFinish
|;
diff --git a/lib/TUWF/Response.pod b/lib/TUWF/Response.pod
index 55fd4f1..3046e7a 100644
--- a/lib/TUWF/Response.pod
+++ b/lib/TUWF/Response.pod
@@ -190,7 +190,7 @@ L<TUWF>
=head1 COPYRIGHT
-Copyright (c) 2008-2011 Yoran Heling.
+Copyright (c) 2008-2015 Yoran Heling.
This module is part of the TUWF framework and is free software available under
the liberal MIT license. See the COPYING file in the TUWF distribution for the
diff --git a/lib/TUWF/XML.pm b/lib/TUWF/XML.pm
index a78d383..e48b341 100644
--- a/lib/TUWF/XML.pm
+++ b/lib/TUWF/XML.pm
@@ -10,7 +10,7 @@ use Exporter 'import';
use Carp 'carp', 'croak';
-our $VERSION = '0.2';
+our $VERSION = '1.0';
our(@EXPORT_OK, %EXPORT_TAGS, @htmltags, @htmlexport, @xmlexport, %htmlbool, $OBJ);
diff --git a/lib/TUWF/XML.pod b/lib/TUWF/XML.pod
index 4f6fbc1..7ae0f5f 100644
--- a/lib/TUWF/XML.pod
+++ b/lib/TUWF/XML.pod
@@ -274,7 +274,7 @@ but less convenient.
=head1 COPYRIGHT
-Copyright (c) 2008-2011 Yoran Heling.
+Copyright (c) 2008-2015 Yoran Heling.
This module is part of the TUWF framework and is free software available under
the liberal MIT license. See the COPYING file in the TUWF distribution for the