Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
1611e085
Commit
1611e085
authored
Feb 08, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated copyright
parent
351714df
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
818 additions
and
254 deletions
+818
-254
lib/Components/BTree/BTree.c
lib/Components/BTree/BTree.c
+89
-12
lib/Components/BTree/IIBTree.c
lib/Components/BTree/IIBTree.c
+86
-2
lib/Components/BTree/IOBTree.c
lib/Components/BTree/IOBTree.c
+86
-2
lib/Components/BTree/OIBTree.c
lib/Components/BTree/OIBTree.c
+86
-2
lib/Components/BTree/intSet.c
lib/Components/BTree/intSet.c
+89
-11
lib/python/SearchIndex/Index.py
lib/python/SearchIndex/Index.py
+62
-62
lib/python/SearchIndex/Query.c
lib/python/SearchIndex/Query.c
+86
-62
lib/python/SearchIndex/Splitter.c
lib/python/SearchIndex/Splitter.c
+86
-2
lib/python/SearchIndex/TextIndex.py
lib/python/SearchIndex/TextIndex.py
+62
-62
lib/python/SearchIndex/__init__.py
lib/python/SearchIndex/__init__.py
+86
-37
No files found.
lib/Components/BTree/BTree.c
View file @
1611e085
/*****************************************************************************
Zope Public License (ZPL) Version 0.9.7
---------------------------------------
Copyright (c) Digital Creations. All rights reserved.
This license has been certified as Open Source(tm).
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions in source code must retain the above copyright
notice, this list of conditions, and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. Digital Creations requests that attribution be given to Zope
in any manner possible. Zope includes a "Powered by Zope"
button that is installed by default. While it is not a license
violation to remove this button, it is requested that the
attribution remain. A significant investment has been put
into Zope, and this effort will continue if the Zope community
continues to grow. This is one way to assure that growth.
4. All advertising materials and documentation mentioning
features derived from or use of this software must display
the following acknowledgement:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
/***********************************************************
In the event that the product being advertised includes an
Copyright
intact Zope distribution (with copyright and license included)
then this clause is waived.
Copyright 1997 Digital Creations, L.L.C., 910 Princess Anne
5. Names associated with Zope or Digital Creations must not be used to
Street, Suite 300, Fredericksburg, Virginia 22401 U.S.A. All
endorse or promote products derived from this software without
rights reserved
.
prior written permission from Digital Creations
.
******************************************************************/
6. Modified redistributions of any form whatsoever must retain
the following acknowledgment:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
Intact (re-)distributions of any official Zope release do not
require an external acknowledgement.
7. Modifications are encouraged but must be packaged separately as
patches to official Zope releases. Distributions that do not
clearly separate the patches from the original work must be clearly
labeled as unofficial distributions. Modifications which do not
carry the name Zope may be packaged in any form, as long as they
conform to all of the clauses above.
Disclaimer
THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
This software consists of contributions made by Digital Creations and
many individuals on behalf of Digital Creations. Specific
attributions are listed in the accompanying credits file.
****************************************************************************/
static
char
BTree_module_documentation
[]
=
static
char
BTree_module_documentation
[]
=
""
""
"
\n
$Id: BTree.c,v 1.1
7 1998/11/23 11:45:39
jim Exp $"
"
\n
$Id: BTree.c,v 1.1
8 1999/02/08 19:02:33
jim Exp $"
;
;
#define PERSISTENT
#define PERSISTENT
...
@@ -1762,7 +1836,7 @@ initBTree()
...
@@ -1762,7 +1836,7 @@ initBTree()
#endif
#endif
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.1
7
$"
;
char
*
rev
=
"$Revision: 1.1
8
$"
;
UNLESS
(
PyExtensionClassCAPI
=
PyCObject_Import
(
"ExtensionClass"
,
"CAPI"
))
UNLESS
(
PyExtensionClassCAPI
=
PyCObject_Import
(
"ExtensionClass"
,
"CAPI"
))
return
;
return
;
...
@@ -1814,6 +1888,9 @@ initBTree()
...
@@ -1814,6 +1888,9 @@ initBTree()
Revision Log:
Revision Log:
$Log: BTree.c,v $
$Log: BTree.c,v $
Revision 1.18 1999/02/08 19:02:33 jim
updated copyright
Revision 1.17 1998/11/23 11:45:39 jim
Revision 1.17 1998/11/23 11:45:39 jim
removed license checks
removed license checks
...
...
lib/Components/BTree/IIBTree.c
View file @
1611e085
/* $Id: IIBTree.c,v 1.4 1997/10/10 18:23:37 jim Exp $ */
/*****************************************************************************
Zope Public License (ZPL) Version 0.9.7
---------------------------------------
Copyright (c) Digital Creations. All rights reserved.
This license has been certified as Open Source(tm).
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions in source code must retain the above copyright
notice, this list of conditions, and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. Digital Creations requests that attribution be given to Zope
in any manner possible. Zope includes a "Powered by Zope"
button that is installed by default. While it is not a license
violation to remove this button, it is requested that the
attribution remain. A significant investment has been put
into Zope, and this effort will continue if the Zope community
continues to grow. This is one way to assure that growth.
4. All advertising materials and documentation mentioning
features derived from or use of this software must display
the following acknowledgement:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
In the event that the product being advertised includes an
intact Zope distribution (with copyright and license included)
then this clause is waived.
5. Names associated with Zope or Digital Creations must not be used to
endorse or promote products derived from this software without
prior written permission from Digital Creations.
6. Modified redistributions of any form whatsoever must retain
the following acknowledgment:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
Intact (re-)distributions of any official Zope release do not
require an external acknowledgement.
7. Modifications are encouraged but must be packaged separately as
patches to official Zope releases. Distributions that do not
clearly separate the patches from the original work must be clearly
labeled as unofficial distributions. Modifications which do not
carry the name Zope may be packaged in any form, as long as they
conform to all of the clauses above.
Disclaimer
THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
This software consists of contributions made by Digital Creations and
many individuals on behalf of Digital Creations. Specific
attributions are listed in the accompanying credits file.
****************************************************************************/
/* $Id: IIBTree.c,v 1.5 1999/02/08 19:02:33 jim Exp $ */
#define INTKEY int
#define INTKEY int
#define INTVAL int
#define INTVAL int
static
char
*
needed_to_make_release_happy
=
"$Id: IIBTree.c,v 1.
4 1997/10/10 18:23:37
jim Exp $"
;
static
char
*
needed_to_make_release_happy
=
"$Id: IIBTree.c,v 1.
5 1999/02/08 19:02:33
jim Exp $"
;
#include "BTree.c"
#include "BTree.c"
lib/Components/BTree/IOBTree.c
View file @
1611e085
/* $Id: IOBTree.c,v 1.4 1997/10/10 18:24:11 jim Exp $ */
/*****************************************************************************
Zope Public License (ZPL) Version 0.9.7
---------------------------------------
Copyright (c) Digital Creations. All rights reserved.
This license has been certified as Open Source(tm).
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions in source code must retain the above copyright
notice, this list of conditions, and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. Digital Creations requests that attribution be given to Zope
in any manner possible. Zope includes a "Powered by Zope"
button that is installed by default. While it is not a license
violation to remove this button, it is requested that the
attribution remain. A significant investment has been put
into Zope, and this effort will continue if the Zope community
continues to grow. This is one way to assure that growth.
4. All advertising materials and documentation mentioning
features derived from or use of this software must display
the following acknowledgement:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
In the event that the product being advertised includes an
intact Zope distribution (with copyright and license included)
then this clause is waived.
5. Names associated with Zope or Digital Creations must not be used to
endorse or promote products derived from this software without
prior written permission from Digital Creations.
6. Modified redistributions of any form whatsoever must retain
the following acknowledgment:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
Intact (re-)distributions of any official Zope release do not
require an external acknowledgement.
7. Modifications are encouraged but must be packaged separately as
patches to official Zope releases. Distributions that do not
clearly separate the patches from the original work must be clearly
labeled as unofficial distributions. Modifications which do not
carry the name Zope may be packaged in any form, as long as they
conform to all of the clauses above.
Disclaimer
THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
This software consists of contributions made by Digital Creations and
many individuals on behalf of Digital Creations. Specific
attributions are listed in the accompanying credits file.
****************************************************************************/
/* $Id: IOBTree.c,v 1.5 1999/02/08 19:02:33 jim Exp $ */
static
char
*
needed_to_make_release_happy
=
static
char
*
needed_to_make_release_happy
=
"$Id: IOBTree.c,v 1.
4 1997/10/10 18:24:11
jim Exp $"
;
"$Id: IOBTree.c,v 1.
5 1999/02/08 19:02:33
jim Exp $"
;
#define INTKEY int
#define INTKEY int
#include "BTree.c"
#include "BTree.c"
lib/Components/BTree/OIBTree.c
View file @
1611e085
/* $Id: OIBTree.c,v 1.4 1997/10/10 18:24:35 jim Exp $ */
/*****************************************************************************
Zope Public License (ZPL) Version 0.9.7
---------------------------------------
Copyright (c) Digital Creations. All rights reserved.
This license has been certified as Open Source(tm).
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions in source code must retain the above copyright
notice, this list of conditions, and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. Digital Creations requests that attribution be given to Zope
in any manner possible. Zope includes a "Powered by Zope"
button that is installed by default. While it is not a license
violation to remove this button, it is requested that the
attribution remain. A significant investment has been put
into Zope, and this effort will continue if the Zope community
continues to grow. This is one way to assure that growth.
4. All advertising materials and documentation mentioning
features derived from or use of this software must display
the following acknowledgement:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
In the event that the product being advertised includes an
intact Zope distribution (with copyright and license included)
then this clause is waived.
5. Names associated with Zope or Digital Creations must not be used to
endorse or promote products derived from this software without
prior written permission from Digital Creations.
6. Modified redistributions of any form whatsoever must retain
the following acknowledgment:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
Intact (re-)distributions of any official Zope release do not
require an external acknowledgement.
7. Modifications are encouraged but must be packaged separately as
patches to official Zope releases. Distributions that do not
clearly separate the patches from the original work must be clearly
labeled as unofficial distributions. Modifications which do not
carry the name Zope may be packaged in any form, as long as they
conform to all of the clauses above.
Disclaimer
THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
This software consists of contributions made by Digital Creations and
many individuals on behalf of Digital Creations. Specific
attributions are listed in the accompanying credits file.
****************************************************************************/
/* $Id: OIBTree.c,v 1.5 1999/02/08 19:02:33 jim Exp $ */
static
char
*
needed_to_make_release_happy
=
static
char
*
needed_to_make_release_happy
=
"$Id: OIBTree.c,v 1.
4 1997/10/10 18:24:35
jim Exp $"
;
"$Id: OIBTree.c,v 1.
5 1999/02/08 19:02:33
jim Exp $"
;
#define INTVAL int
#define INTVAL int
#include "BTree.c"
#include "BTree.c"
lib/Components/BTree/intSet.c
View file @
1611e085
/***********************************************************
/*****************************************************************************
Copyright
Copyright 1997 Digital Creations, L.L.C., 910 Princess Anne
Zope Public License (ZPL) Version 0.9.7
Street, Suite 300, Fredericksburg, Virginia 22401 U.S.A. All
---------------------------------------
rights reserved.
******************************************************************/
Copyright (c) Digital Creations. All rights reserved.
This license has been certified as Open Source(tm).
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions in source code must retain the above copyright
notice, this list of conditions, and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. Digital Creations requests that attribution be given to Zope
in any manner possible. Zope includes a "Powered by Zope"
button that is installed by default. While it is not a license
violation to remove this button, it is requested that the
attribution remain. A significant investment has been put
into Zope, and this effort will continue if the Zope community
continues to grow. This is one way to assure that growth.
4. All advertising materials and documentation mentioning
features derived from or use of this software must display
the following acknowledgement:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
In the event that the product being advertised includes an
intact Zope distribution (with copyright and license included)
then this clause is waived.
5. Names associated with Zope or Digital Creations must not be used to
endorse or promote products derived from this software without
prior written permission from Digital Creations.
6. Modified redistributions of any form whatsoever must retain
the following acknowledgment:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
Intact (re-)distributions of any official Zope release do not
require an external acknowledgement.
7. Modifications are encouraged but must be packaged separately as
patches to official Zope releases. Distributions that do not
clearly separate the patches from the original work must be clearly
labeled as unofficial distributions. Modifications which do not
carry the name Zope may be packaged in any form, as long as they
conform to all of the clauses above.
Disclaimer
THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
This software consists of contributions made by Digital Creations and
many individuals on behalf of Digital Creations. Specific
attributions are listed in the accompanying credits file.
****************************************************************************/
static
char
intSet_module_documentation
[]
=
static
char
intSet_module_documentation
[]
=
""
""
"
\n
$Id: intSet.c,v 1.1
0 1998/11/23 11:45:40
jim Exp $"
"
\n
$Id: intSet.c,v 1.1
1 1999/02/08 19:02:34
jim Exp $"
;
;
#include <limits.h>
#include <limits.h>
...
@@ -537,7 +612,7 @@ void
...
@@ -537,7 +612,7 @@ void
initintSet
()
initintSet
()
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.1
0
$"
;
char
*
rev
=
"$Revision: 1.1
1
$"
;
UNLESS
(
ExtensionClassImported
)
return
;
UNLESS
(
ExtensionClassImported
)
return
;
...
@@ -573,6 +648,9 @@ initintSet()
...
@@ -573,6 +648,9 @@ initintSet()
Revision Log:
Revision Log:
$Log: intSet.c,v $
$Log: intSet.c,v $
Revision 1.11 1999/02/08 19:02:34 jim
updated copyright
Revision 1.10 1998/11/23 11:45:40 jim
Revision 1.10 1998/11/23 11:45:40 jim
removed license checks
removed license checks
...
...
lib/python/SearchIndex/Index.py
View file @
1611e085
##############################################################################
##############################################################################
#
#
# Zope Public License (ZPL) Version 0.9.
4
# Zope Public License (ZPL) Version 0.9.
7
# ---------------------------------------
# ---------------------------------------
#
#
# Copyright (c) Digital Creations. All rights reserved.
# Copyright (c) Digital Creations. All rights reserved.
#
#
# Redistribution and use in source and binary forms, with or
# This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
#
#
#
1. Redistributions in source code must retain the above
#
Redistribution and use in source and binary forms, with or without
#
copyright notice, this list of conditions, and the following
#
modification, are permitted provided that the following conditions are
#
disclaimer.
#
met:
#
#
# 2. Redistributions in binary form must reproduce the above
# 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following
# notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
#
#
#
3. Any use, including use of the Zope software to operate a
#
2. Redistributions in binary form must reproduce the above copyright
#
website, must either comply with the terms described below
#
notice, this list of conditions, and the following disclaimer in
#
under "Attribution" or alternatively secure a separat
e
#
the documentation and/or other materials provided with th
e
#
license from Digital Creations
.
#
distribution
.
#
#
# 4. All advertising materials, documentation, or technical papers
# 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must
# in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement:
# button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
#
#
# "This product includes software developed by Digital
# 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment
# features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)."
# (http://www.zope.org/)."
#
#
# 5. Names associated with Zope or Digital Creations must not be
# In the event that the product being advertised includes an
# used to endorse or promote products derived from this
# intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital
# then this clause is waived.
# Creations.
#
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
#
#
# 6.
Redistributions of any form whatsoever must retain the
# 6.
Modified redistributions of any form whatsoever must retain
# following acknowledgment:
#
the
following acknowledgment:
#
#
# "This product includes software developed by Digital
# "This product includes software developed by Digital
Creations
#
Creations
for use in the Z Object Publishing Environment
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)."
# (http://www.zope.org/)."
#
#
# 7. Modifications are encouraged but must be packaged separately
# Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do
# require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
#
#
# Disclaimer
# 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
#
#
# Attribution
# Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
#
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
#
# This software consists of contributions made by Digital
# This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations.
# many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits
# attributions are listed in the accompanying credits file.
# file.
#
#
##############################################################################
##############################################################################
"""Simple column indices"""
"""Simple column indices"""
__version__
=
'$Revision: 1.1
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
8
$'
[
11
:
-
2
]
from
Globals
import
Persistent
from
Globals
import
Persistent
from
BTree
import
BTree
from
BTree
import
BTree
...
...
lib/python/SearchIndex/Query.c
View file @
1611e085
/*
/*
****************************************************************************
$Id: Query.c,v 1.6 1998/11/23 11:50:38 jim Exp $
Zope Public License (ZPL) Version 0.9.7
---------------------------------------
Query objects for building tests without python code generation
.
Copyright (c) Digital Creations. All rights reserved
.
Copyright
This license has been certified as Open Source(tm).
Copyright 1996 Digital Creations, L.C., 910 Princess Anne
Redistribution and use in source and binary forms, with or without
Street, Suite 300, Fredericksburg, Virginia 22401 U.S.A. All
modification, are permitted provided that the following conditions are
rights reserved. Copyright in this software is owned by DCLC,
met:
unless otherwise indicated. Permission to use, copy and
distribute this software is hereby granted, provided that the
above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear. Note that
any product, process or technology described in this software
may be the subject of other Intellectual Property rights
reserved by Digital Creations, L.C. and are not licensed
hereunder.
Trademarks
1. Redistributions in source code must retain the above copyright
notice, this list of conditions, and the following disclaimer.
Digital Creations & DCLC, are trademarks of Digital Creations, L.C..
2. Redistributions in binary form must reproduce the above copyright
All other trademarks are owned by their respective companies.
notice, this list of conditions, and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
No Warranty
3. Digital Creations requests that attribution be given to Zope
in any manner possible. Zope includes a "Powered by Zope"
button that is installed by default. While it is not a license
violation to remove this button, it is requested that the
attribution remain. A significant investment has been put
into Zope, and this effort will continue if the Zope community
continues to grow. This is one way to assure that growth.
The software is provided "as is" without warranty of any kind,
4. All advertising materials and documentation mentioning
either express or implied, including, but not limited to, the
features derived from or use of this software must display
implied warranties of merchantability, fitness for a particular
the following acknowledgement:
purpose, or non-infringement. This software could include
technical inaccuracies or typographical errors. Changes are
periodically made to the software; these changes will be
incorporated in new editions of the software. DCLC may make
improvements and/or changes in this software at any time
without notice.
Limitation Of Liability
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
In no event will DCLC be liable for direct, indirect, special,
In the event that the product being advertised includes an
incidental, economic, cover, or consequential damages arising
intact Zope distribution (with copyright and license included)
out of the use of or inability to use this software even if
then this clause is waived.
advised of the possibility of such damages. Some states do not
allow the exclusion or limitation of implied warranties or
limitation of liability for incidental or consequential
damages, so the above limitation or exclusion may not apply to
you.
If you have questions regarding this software,
5. Names associated with Zope or Digital Creations must not be used to
contact:
endorse or promote products derived from this software without
prior written permission from Digital Creations.
Digital Creations, L.C.
6. Modified redistributions of any form whatsoever must retain
910 Princess Ann Street
the following acknowledgment:
Fredericksburge, Virginia 22401
info@digicool.com
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
(540) 371-6909
Intact (re-)distributions of any official Zope release do not
require an external acknowledgement.
****************************************************************************/
7. Modifications are encouraged but must be packaged separately as
patches to official Zope releases. Distributions that do not
clearly separate the patches from the original work must be clearly
labeled as unofficial distributions. Modifications which do not
carry the name Zope may be packaged in any form, as long as they
conform to all of the clauses above.
Disclaimer
THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
This software consists of contributions made by Digital Creations and
many individuals on behalf of Digital Creations. Specific
attributions are listed in the accompanying credits file.
****************************************************************************/
#include "Python.h"
#include "Python.h"
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -890,14 +914,14 @@ static char Query_module_documentation[] =
...
@@ -890,14 +914,14 @@ static char Query_module_documentation[] =
"against objects. Each object type define objects that can be called
\n
"
"against objects. Each object type define objects that can be called
\n
"
"with a single argument or with 'getitem' to check whether an object,
\n
"
"with a single argument or with 'getitem' to check whether an object,
\n
"
"such as a database record or a collection item satisfies a query.
\n
"
"such as a database record or a collection item satisfies a query.
\n
"
"
\n
$Id: Query.c,v 1.
6 1998/11/23 11:50:38
jim Exp $"
"
\n
$Id: Query.c,v 1.
7 1999/02/08 19:05:02
jim Exp $"
;
;
void
void
initQuery
()
initQuery
()
{
{
PyObject
*
m
,
*
d
,
*
regex
,
*
string
;
PyObject
*
m
,
*
d
,
*
regex
,
*
string
;
char
*
rev
=
"$Revision: 1.
6
$"
;
char
*
rev
=
"$Revision: 1.
7
$"
;
AttrTesttype
.
ob_type
=&
PyType_Type
;
AttrTesttype
.
ob_type
=&
PyType_Type
;
CompAttrTesttype
.
ob_type
=&
PyType_Type
;
CompAttrTesttype
.
ob_type
=&
PyType_Type
;
...
...
lib/python/SearchIndex/Splitter.c
View file @
1611e085
/*****************************************************************************
Zope Public License (ZPL) Version 0.9.7
---------------------------------------
Copyright (c) Digital Creations. All rights reserved.
This license has been certified as Open Source(tm).
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions in source code must retain the above copyright
notice, this list of conditions, and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. Digital Creations requests that attribution be given to Zope
in any manner possible. Zope includes a "Powered by Zope"
button that is installed by default. While it is not a license
violation to remove this button, it is requested that the
attribution remain. A significant investment has been put
into Zope, and this effort will continue if the Zope community
continues to grow. This is one way to assure that growth.
4. All advertising materials and documentation mentioning
features derived from or use of this software must display
the following acknowledgement:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
In the event that the product being advertised includes an
intact Zope distribution (with copyright and license included)
then this clause is waived.
5. Names associated with Zope or Digital Creations must not be used to
endorse or promote products derived from this software without
prior written permission from Digital Creations.
6. Modified redistributions of any form whatsoever must retain
the following acknowledgment:
"This product includes software developed by Digital Creations
for use in the Z Object Publishing Environment
(http://www.zope.org/)."
Intact (re-)distributions of any official Zope release do not
require an external acknowledgement.
7. Modifications are encouraged but must be packaged separately as
patches to official Zope releases. Distributions that do not
clearly separate the patches from the original work must be clearly
labeled as unofficial distributions. Modifications which do not
carry the name Zope may be packaged in any form, as long as they
conform to all of the clauses above.
Disclaimer
THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
This software consists of contributions made by Digital Creations and
many individuals on behalf of Digital Creations. Specific
attributions are listed in the accompanying credits file.
****************************************************************************/
#include "Python.h"
#include "Python.h"
#include <ctype.h>
#include <ctype.h>
...
@@ -396,7 +480,7 @@ static char Splitter_module_documentation[] =
...
@@ -396,7 +480,7 @@ static char Splitter_module_documentation[] =
"
\n
"
"
\n
"
"for use in an inverted index
\n
"
"for use in an inverted index
\n
"
"
\n
"
"
\n
"
"$Id: Splitter.c,v 1.1
0 1998/11/23 11:50:38
jim Exp $
\n
"
"$Id: Splitter.c,v 1.1
1 1999/02/08 19:05:02
jim Exp $
\n
"
;
;
...
@@ -404,7 +488,7 @@ void
...
@@ -404,7 +488,7 @@ void
initSplitter
()
initSplitter
()
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.1
0
$"
;
char
*
rev
=
"$Revision: 1.1
1
$"
;
/* Create the module and add the functions */
/* Create the module and add the functions */
m
=
Py_InitModule4
(
"Splitter"
,
Splitter_module_methods
,
m
=
Py_InitModule4
(
"Splitter"
,
Splitter_module_methods
,
...
...
lib/python/SearchIndex/TextIndex.py
View file @
1611e085
##############################################################################
##############################################################################
#
#
# Zope Public License (ZPL) Version 0.9.
4
# Zope Public License (ZPL) Version 0.9.
7
# ---------------------------------------
# ---------------------------------------
#
#
# Copyright (c) Digital Creations. All rights reserved.
# Copyright (c) Digital Creations. All rights reserved.
#
#
# Redistribution and use in source and binary forms, with or
# This license has been certified as Open Source(tm).
# without modification, are permitted provided that the following
# conditions are met:
#
#
#
1. Redistributions in source code must retain the above
#
Redistribution and use in source and binary forms, with or without
#
copyright notice, this list of conditions, and the following
#
modification, are permitted provided that the following conditions are
#
disclaimer.
#
met:
#
#
# 2. Redistributions in binary form must reproduce the above
# 1. Redistributions in source code must retain the above copyright
# copyright notice, this list of conditions, and the following
# notice, this list of conditions, and the following disclaimer.
# disclaimer in the documentation and/or other materials
# provided with the distribution.
#
#
#
3. Any use, including use of the Zope software to operate a
#
2. Redistributions in binary form must reproduce the above copyright
#
website, must either comply with the terms described below
#
notice, this list of conditions, and the following disclaimer in
#
under "Attribution" or alternatively secure a separat
e
#
the documentation and/or other materials provided with th
e
#
license from Digital Creations
.
#
distribution
.
#
#
# 4. All advertising materials, documentation, or technical papers
# 3. Digital Creations requests that attribution be given to Zope
# mentioning features derived from or use of this software must
# in any manner possible. Zope includes a "Powered by Zope"
# display the following acknowledgement:
# button that is installed by default. While it is not a license
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
#
#
# "This product includes software developed by Digital
# 4. All advertising materials and documentation mentioning
# Creations for use in the Z Object Publishing Environment
# features derived from or use of this software must display
# the following acknowledgement:
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)."
# (http://www.zope.org/)."
#
#
# 5. Names associated with Zope or Digital Creations must not be
# In the event that the product being advertised includes an
# used to endorse or promote products derived from this
# intact Zope distribution (with copyright and license included)
# software without prior written permission from Digital
# then this clause is waived.
# Creations.
#
# 5. Names associated with Zope or Digital Creations must not be used to
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
#
#
# 6.
Redistributions of any form whatsoever must retain the
# 6.
Modified redistributions of any form whatsoever must retain
# following acknowledgment:
#
the
following acknowledgment:
#
#
# "This product includes software developed by Digital
# "This product includes software developed by Digital
Creations
#
Creations
for use in the Z Object Publishing Environment
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)."
# (http://www.zope.org/)."
#
#
# 7. Modifications are encouraged but must be packaged separately
# Intact (re-)distributions of any official Zope release do not
# as patches to official Zope releases. Distributions that do
# require an external acknowledgement.
# not clearly separate the patches from the original work must
# be clearly labeled as unofficial distributions.
#
#
# Disclaimer
# 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND
# ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
# SHALL DIGITAL CREATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
#
#
# Attribution
# Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
#
# Individuals or organizations using this software as a web site
# must provide attribution by placing the accompanying "button"
# and a link to the accompanying "credits page" on the website's
# main entry point. In cases where this placement of
# attribution is not feasible, a separate arrangment must be
# concluded with Digital Creations. Those using the software
# for purposes other than web sites must provide a corresponding
# attribution in locations that include a copyright using a
# manner best suited to the application environment.
#
#
# This software consists of contributions made by Digital
# This software consists of contributions made by Digital Creations and
# Creations and many individuals on behalf of Digital Creations.
# many individuals on behalf of Digital Creations. Specific
# Specific attributions are listed in the accompanying credits
# attributions are listed in the accompanying credits file.
# file.
#
#
##############################################################################
##############################################################################
...
@@ -202,7 +202,7 @@ Notes on a new text index design
...
@@ -202,7 +202,7 @@ Notes on a new text index design
space.
space.
"""
"""
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
3
$'
[
11
:
-
2
]
from
Globals
import
Persistent
from
Globals
import
Persistent
import
BTree
,
IIBTree
import
BTree
,
IIBTree
...
...
lib/python/SearchIndex/__init__.py
View file @
1611e085
#!/bin/env python
##############################################################################
##############################################################################
#
#
# Copyright
# Zope Public License (ZPL) Version 0.9.7
# ---------------------------------------
#
#
# Copyright 1997 Digital Creations, L.C., 910 Princess Anne
# Copyright (c) Digital Creations. All rights reserved.
# Street, Suite 300, Fredericksburg, Virginia 22401 U.S.A. All
# rights reserved.
#
#
##############################################################################
# This license has been certified as Open Source(tm).
__doc__
=
'''Collected utilities to support database indexing.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
$Id: __init__.py,v 1.4 1998/11/25 17:02:27 jeffrey Exp $'''
# met:
__version__
=
'$Revision: 1.4 $'
[
11
:
-
2
]
#
# 1. Redistributions in source code must retain the above copyright
import
Query
# notice, this list of conditions, and the following disclaimer.
#
## import sys, string
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions, and the following disclaimer in
## __.__path__.append("%s/bin-%s/%s" % (
# the documentation and/or other materials provided with the
## __.__path__[0], string.split(sys.version)[0], sys.platform))
# distribution.
#
## for m in 'BTree', 'IIBTree', 'IOBTree', 'OIBTree', 'intSet':
# 3. Digital Creations requests that attribution be given to Zope
## sys.modules['SearchIndex.%s' % m]=__import__(m)
# in any manner possible. Zope includes a "Powered by Zope"
# button that is installed by default. While it is not a license
##############################################################################
# violation to remove this button, it is requested that the
# attribution remain. A significant investment has been put
# into Zope, and this effort will continue if the Zope community
# continues to grow. This is one way to assure that growth.
#
#
#
$Log: __init__.py,v $
#
4. All advertising materials and documentation mentioning
#
Revision 1.4 1998/11/25 17:02:27 jeffre
y
#
features derived from or use of this software must displa
y
#
got rid of __ for 1.5.x happiness
#
the following acknowledgement:
#
#
# Revision 1.3 1997/12/05 21:34:30 jim
# "This product includes software developed by Digital Creations
# Delamification
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)."
#
#
# Revision 1.2 1997/11/21 18:43:49 jim
# In the event that the product being advertised includes an
# hack, hack, hack sys.modules to make old pickles work. :-(
# intact Zope distribution (with copyright and license included)
# then this clause is waived.
#
#
# Revision 1.1 1997/09/15 16:07:23 jim
# 5. Names associated with Zope or Digital Creations must not be used to
# *** empty log message ***
# endorse or promote products derived from this software without
# prior written permission from Digital Creations.
#
#
# 6. Modified redistributions of any form whatsoever must retain
# the following acknowledgment:
#
#
# "This product includes software developed by Digital Creations
# for use in the Z Object Publishing Environment
# (http://www.zope.org/)."
#
# Intact (re-)distributions of any official Zope release do not
# require an external acknowledgement.
#
# 7. Modifications are encouraged but must be packaged separately as
# patches to official Zope releases. Distributions that do not
# clearly separate the patches from the original work must be clearly
# labeled as unofficial distributions. Modifications which do not
# carry the name Zope may be packaged in any form, as long as they
# conform to all of the clauses above.
#
#
# Disclaimer
#
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
# EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
#
# This software consists of contributions made by Digital Creations and
# many individuals on behalf of Digital Creations. Specific
# attributions are listed in the accompanying credits file.
#
##############################################################################
__doc__
=
'''Collected utilities to support database indexing.
$Id: __init__.py,v 1.5 1999/02/08 19:05:02 jim Exp $'''
__version__
=
'$Revision: 1.5 $'
[
11
:
-
2
]
import
Query
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment