Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item14270: oo-ify core as far as it isn't yet
  • Loading branch information
MichaelDaum committed Jan 16, 2017
1 parent bad12cd commit e77d1a1
Show file tree
Hide file tree
Showing 18 changed files with 24 additions and 23 deletions.
5 changes: 3 additions & 2 deletions data/System/DBCacheContrib.txt
Expand Up @@ -124,14 +124,15 @@ This code is based on an original development of Motorola Inc. and is protected

* Copyright © 2002-2003 Motorola Inc. All Rights Reserved.
* Portions copyright © 2004 Crawford Currie http://www.c-dot.co.uk.
* Portions copyright © 2013-2016 Michael Daum http://michaeldaumconsulting.com
* Portions copyright © 2013-2017 Michael Daum http://michaeldaumconsulting.com

---++ Dependencies
%$DEPENDENCIES%

---++ Change History

%TABLE{columnwidths="7em" tablewidth="100%"}%
| 16 Jan 2017 | Foswikitask:Item14270: oo-ify core; fixed parsing numbers |
| 09 Jul 2016 | Foswikitask:Item14111: remove inline data images before indexing |
| 18 Oct 2015 | Foswikitask:Item13824: fixed dbcache failing to update topics in subwebs under certain conditions |
| 29 Sep 2015 | Foswikitask:Item13763: performance improvement: use fastget() instead of get() wherever possible |
Expand Down Expand Up @@ -197,7 +198,7 @@ This code is based on an original development of Motorola Inc. and is protected

%META:FORM{name="PackageForm"}%
%META:FIELD{name="Author" title="Author" value="Foswiki:Main/CrawfordCurrie http://c-dot.co.uk, Foswiki:Main/MichaelDaum https://www.michaeldaumconsulting.com"}%
%META:FIELD{name="Copyright" title="Copyright" value="Copyright © 2002-2003 Motorola Inc. All Rights Reserved. Portions copyright © 2004 Crawford Currie http://www.c-dot.co.uk. Portions copyright © 2013-2016 Michael Daum http://michaeldaumconsulting.com"}%
%META:FIELD{name="Copyright" title="Copyright" value="Copyright © 2002-2003 Motorola Inc. All Rights Reserved. Portions copyright © 2004 Crawford Currie http://www.c-dot.co.uk. Portions copyright © 2013-2017 Foswiki Contributors"}%
%META:FIELD{name="Description" title="Description" value="%25$SHORTDESCRIPTION%25"}%
%META:FIELD{name="Home" title="Home" value="https://foswiki.org/Extensions/%TOPIC%"}%
%META:FIELD{name="License" title="License" value="GPL"}%
Expand Down
6 changes: 3 additions & 3 deletions lib/Foswiki/Contrib/DBCacheContrib.pm
Expand Up @@ -41,8 +41,8 @@ FormQueryPlugin for an example of this.
=cut

our $VERSION = '4.10';
our $RELEASE = '11 Jul 2016';
our $VERSION = '4.11';
our $RELEASE = '16 Jan 2017';
our $SHORTDESCRIPTION =
'Reusable code that treats forms as if they were table rows in a database';

Expand Down Expand Up @@ -661,7 +661,7 @@ sub uptodate {
1;
__END__
Copyright (C) Crawford Currie 2004-2009, http://c-dot.co.uk
Copyright (C) Crawford Currie 2004-2017, http://c-dot.co.uk
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/Archivable.pm
Expand Up @@ -30,7 +30,7 @@ sub getArchivist {
1;
__END__
Copyright (C) Crawford Currie 2009, http://c-dot.co.uk
Copyright (C) Crawford Currie 2009-2017, http://c-dot.co.uk
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/Archivist.pm
Expand Up @@ -104,7 +104,7 @@ sub isModified {
1;
__END__
Copyright (C) Crawford Currie, http://c-dot.co.uk and Foswiki Contributors.
Copyright (C) 2007-2017 Crawford Currie, http://c-dot.co.uk and Foswiki Contributors.
Foswiki Contributors are listed in the AUTHORS file in the root of this
distribution. NOTE: Please extend that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/Archivist/BDB.pm
Expand Up @@ -224,7 +224,7 @@ sub allocateID {
1;
__END__
Copyright (C) Crawford Currie 2009, http://c-dot.co.uk
Copyright (C) Crawford Currie 2009-2017, http://c-dot.co.uk
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/Archivist/BDB/Array.pm
Expand Up @@ -98,7 +98,7 @@ sub getValues {
1;
__END__
Copyright (C) Crawford Currie 2009, http://c-dot.co.uk
Copyright (C) Crawford Currie 2009-2017, http://c-dot.co.uk
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/Archivist/BDB/Map.pm
Expand Up @@ -132,7 +132,7 @@ sub getValues {
1;
__END__
Copyright (C) Crawford Currie 2009, http://c-dot.co.uk
Copyright (C) Crawford Currie 2009-2017, http://c-dot.co.uk
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
that file, not this notice.
Expand Down
@@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2016 Michael Daum http://michaeldaumconsulting.com
# Copyright (C) 2013-2017 Foswiki Contributors
#
package Foswiki::Contrib::DBCacheContrib::Archivist::Segmentable;
use strict;
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/Archivist/Sereal.pm
@@ -1,5 +1,5 @@
#
# Copyright (C) 2014-2016 Michael Daum http://michaeldaumconsulting.com
# Copyright (C) 2014-2017 Foswiki Contributors
#
package Foswiki::Contrib::DBCacheContrib::Archivist::Sereal;
use strict;
Expand Down
@@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2016 Michael Daum http://michaeldaumconsulting.com
# Copyright (C) 2013-2017 Foswiki Contributors
#

# abstract class servig as a common base for Segmentable and Sereal archivist
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/Archivist/Storable.pm
@@ -1,5 +1,5 @@
#
# Copyright (C) 2007 Crawford Currie, http://c-dot.co.uk
# Copyright (C) 2007-2017 Crawford Currie, http://c-dot.co.uk
#
package Foswiki::Contrib::DBCacheContrib::Archivist::Storable;
use strict;
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/Array.pm
Expand Up @@ -394,7 +394,7 @@ sub mbrf {
1;
__END__
Copyright (C) Crawford Currie 2004-2009, http://c-dot.co.uk
Copyright (C) Crawford Currie 2004-2017, http://c-dot.co.uk
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/Map.pm
Expand Up @@ -381,7 +381,7 @@ sub toString {
1;
__END__
Copyright (C) Crawford Currie 2004-2009, http://c-dot.co.uk
Copyright (C) Crawford Currie 2004-2017, http://c-dot.co.uk
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/MemArchivist.pm
Expand Up @@ -38,7 +38,7 @@ sub newArray {
1;
__END__
Copyright (C) Crawford Currie 2004-2009, http://c-dot.co.uk
Copyright (C) Crawford Currie 2004-2017, http://c-dot.co.uk
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/MemArray.pm
Expand Up @@ -96,7 +96,7 @@ sub getValues {
1;
__END__
Copyright (C) Crawford Currie 2004-2009, http://c-dot.co.uk
Copyright (C) Crawford Currie 2004-2017, http://c-dot.co.uk
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/MemMap.pm
Expand Up @@ -84,7 +84,7 @@ sub getValues {
1;
__END__
Copyright (C) Crawford Currie 2004-2009, http://c-dot.co.uk
Copyright (C) Crawford Currie 2004-2017, http://c-dot.co.uk
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
that file, not this notice.
Expand Down
6 changes: 3 additions & 3 deletions lib/Foswiki/Contrib/DBCacheContrib/Search.pm
Expand Up @@ -176,7 +176,7 @@ sub _parse {
)
);
}
elsif ( $string =~ s/^\s*(-?\d+(\.\d*)?(e-?\d+)?)//io ) {
elsif ( $string =~ s/^\s*(-?\d+(\.\d*)?(e-?\d+)?)\b//io ) {
push(
@opands,
new Foswiki::Contrib::DBCacheContrib::Search(
Expand Down Expand Up @@ -408,7 +408,7 @@ sub OP_ref {
Foswiki::Func::normalizeWebTopicName( $webDB ? $webDB->{_web} : '',
$ref );
if ( !$webDB || $refWeb ne $webDB->{_web} ) {
$webDB = Foswiki::Plugins::DBCachePlugin::Core::getDB($refWeb);
$webDB = Foswiki::Plugins::DBCachePlugin::getDB($refWeb);
}

# get topic object
Expand Down Expand Up @@ -798,7 +798,7 @@ sub addOperator {
1;
__END__
Copyright (C) Crawford Currie 2004-2009, http://c-dot.co.uk
Copyright (C) Crawford Currie 2004-2017, http://c-dot.co.uk
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/DBCacheContrib/SegmentMap.pm
Expand Up @@ -201,7 +201,7 @@ sub SCALAR {
1;
__END__
Copyright (C) Michael Daum 2013-2016 http://michaeldaumconsulting.com
Copyright (C) 2013-2017 Foswiki Contributors
and Foswiki Contributors. Foswiki Contributors are listed in the
AUTHORS file in the root of this distribution. NOTE: Please extend
Expand Down

0 comments on commit e77d1a1

Please sign in to comment.