Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2343 from VanL/fix-is-empty-logic
Modify is_empty to fix logic error
- Loading branch information
Showing
10 changed files
with
609 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Permission to use, copy, modify, and distribute this software and its | ||
documentation for any purpose, without fee, and without a written | ||
agreement is hereby granted, provided that the above copyright notice and | ||
this paragraph and the following two paragraphs appear in all copies or in | ||
any new file that contains a substantial portion of this file. | ||
|
||
IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, | ||
SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, | ||
ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE | ||
AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED | ||
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE | ||
AUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, | ||
ENHANCEMENTS, OR MODIFICATIONS. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
license_expression: pygres-2.2 | ||
is_license_text: yes | ||
notes: from http://shell.vex.net/viewvc.cgi/pygresql/trunk/module/pgmodule.c?view=markup&pathrev=431 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
|
||
Copyright (c) The Eclipse Foundation | ||
https://eclipse.org | ||
contact foo@eclipse.org | ||
author: John Doe | ||
|
||
is licensed under the | ||
Apache Software License, Version 1.1, which is reproduced below. | ||
|
||
/* | ||
* The Apache Software License, Version 1.1 | ||
* | ||
* | ||
* Copyright (c) The Apache Software Foundation. All rights | ||
* reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions | ||
* are met: | ||
* | ||
* 1. Redistributions of 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. The end-user documentation included with the redistribution, | ||
* if any, must include the following acknowledgment: | ||
* "This product includes software developed by the | ||
* Apache Software Foundation (http://www.apache.org/)." | ||
* Alternately, this acknowledgment may appear in the software itself, | ||
* if and wherever such third-party acknowledgments normally appear. | ||
* | ||
* 4. The names "Xerces" and "Apache Software Foundation" must | ||
* not be used to endorse or promote products derived from this | ||
* software without prior written permission. For written | ||
* permission, please contact apache@apache.org. | ||
|
||
Copyright (c) The Eclipse Foundation | ||
https://eclipse.org | ||
contact foo@eclipse.org | ||
author: John Doe | ||
|
||
* | ||
* 5. Products derived from this software may not be called "Apache", | ||
* nor may "Apache" appear in their name, without prior written | ||
* permission of the Apache Software Foundation. | ||
* | ||
* THIS SOFTWARE IS PROVIDED ``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 THE APACHE SOFTWARE FOUNDATION 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 voluntary contributions made by many | ||
* individuals on behalf of the Apache Software Foundation and was | ||
* originally based on software copyright (c) 1999, International | ||
* Business Machines, Inc., http://www.ibm.com. For more | ||
* information on the Apache Software Foundation, please see | ||
* <http://www.apache.org/>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
* $Id$ | ||
* PyGres, version 2.2 A Python interface for PostgreSQL database. Written by | ||
* D'Arcy John Cain, (darcy@druid.net). Based heavily on code written by | ||
* Pascal Andre, andre@chimay.via.ecp.fr. Copyright (c) 1996, Pascal Andre | ||
* (andre@avia.ecp.fr). | ||
* | ||
* Permission to use, copy, modify, and distribute this software and its | ||
* documentation for any purpose, without fee, and without a written | ||
* agreement is hereby granted, provided that the above copyright notice and | ||
* this paragraph and the following two paragraphs appear in all copies or in | ||
* any new file that contains a substantial portion of this file. | ||
* | ||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, | ||
* SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, | ||
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE | ||
* AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
* | ||
* THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED | ||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
* PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE | ||
* AUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, | ||
* ENHANCEMENTS, OR MODIFICATIONS. | ||
* | ||
* Further modifications copyright 1997, 1998, 1996 by D'Arcy John. Cain | ||
* (darcy@druid.net) subject to the same terms and conditions as above. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
PCRE LICENCE | ||
------------ | ||
|
||
PCRE is a library of functions to support regular expressions whose | ||
syntax and semantics are as close as possible to those of the Perl 5 | ||
language. | ||
|
||
Written by: Philip Hazel <ph10@cam.ac.uk> | ||
University of Cambridge Computing Service, Cambridge, England. | ||
Phone: +44 1223 334714. | ||
Copyright (c) 1997-2001 University of Cambridge | ||
|
||
Permission is granted to anyone to use this software for any purpose on | ||
any computer system, and to redistribute it freely, subject to the | ||
following restrictions: | ||
|
||
1. This software is distributed in the hope that it will be useful, but | ||
WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
|
||
2. The origin of this software must not be misrepresented, either by | ||
explicit claim or by omission. In practice, this means that if you use | ||
PCRE in software which you distribute to others, commercially or | ||
otherwise, you must put a sentence like this | ||
"Regular expression support is provided by the PCRE library package, | ||
which is open source software, written by Philip Hazel, and copyright by | ||
the University of Cambridge, England" | ||
|
||
somewhere reasonably visible in your documentation and in any relevant | ||
files or online help data or similar. | ||
|
||
A reference to the ftp site for the source, that is, to | ||
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ | ||
should also be given in the documentation. | ||
|
||
3. Altered versions must be plainly marked as such, and must not be | ||
misrepresented as being the original software. | ||
|
||
4. If PCRE is embedded in any software that is released under the GNU | ||
General Purpose Licence (GPL), or Lesser General Purpose Licence (LGPL), | ||
then the terms of that licence shall supersede any condition above with | ||
which it is incompatible. | ||
|
||
The documentation for PCRE, supplied in the "doc" directory, is | ||
distributed under the same terms as the software itself. | ||
|
||
End PCRE LICENCE |
Oops, something went wrong.