Skip to content

Commit f202ae3

Browse files
committed
2022.1 release code drop.
1 parent 9757885 commit f202ae3

7 files changed

Lines changed: 242 additions & 221 deletions

File tree

LICENSE.txt

Lines changed: 172 additions & 143 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,187 @@
1-
Copyright (c) Perforce Software, Inc., 1997-2021. All rights reserved
1+
Copyright (c) 2022, Perforce Software, Inc. All rights reserved.
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice, this
7+
list of conditions and the following disclaimer.
8+
9+
2. Redistributions in binary form must reproduce the above copyright notice,
10+
this list of conditions and the following disclaimer in the documentation
11+
and/or other materials provided with the distribution.
12+
13+
3. Neither the name of the copyright holder nor the names of its contributors
14+
may be used to endorse or promote products derived from this software without
15+
specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27+
-----------------------
28+
29+
The following are the license statements for code used in
30+
this program.
31+
32+
33+
P4/P4API License
34+
-----------------------
35+
Copyright (c) 1995-2022, Perforce Software, Inc.
36+
All rights reserved.
237

338
Redistribution and use in source and binary forms, with or without
439
modification, are permitted provided that the following conditions are met:
540

6-
1 Redistributions of source code must retain the above copyright
7-
notice, this list of conditions and the following disclaimer.
41+
Redistributions of source code must retain the above copyright notice,
42+
this list of conditions and the following disclaimer.
843

9-
2. Redistributions in binary form must reproduce the above copyright
44+
Redistributions in binary form must reproduce the above copyright
1045
notice, this list of conditions and the following disclaimer in the
1146
documentation and/or other materials provided with the distribution.
1247

13-
3. Neither the name of the copyright holder nor the names of its
14-
contributors may be used to endorse or promote products derived from
15-
this software without specific prior written permission.
48+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
49+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
50+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
51+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
52+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
53+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
54+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
55+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
56+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
57+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
58+
POSSIBILITY OF SUCH DAMAGE.
59+
1660

17-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
20-
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PERFORCE
21-
SOFTWARE, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
26-
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
27-
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
28-
DAMAGE.
61+
OpenSSL:
62+
-----------------------
63+
This product includes cryptographic software written by Eric Young
64+
(eay@cryptsoft.com).
65+
This product includes software written by Tim Hudson
66+
(tjh@cryptsoft.com).
2967

30-
--------------------------------------------------------------------------------
68+
OpenSSL License
69+
-----------------------
3170

71+
* ====================================================================
72+
* Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved.
73+
*
74+
* Redistribution and use in source and binary forms, with or without
75+
* modification, are permitted provided that the following conditions
76+
* are met:
77+
*
78+
* 1. Redistributions of source code must retain the above copyright
79+
* notice, this list of conditions and the following disclaimer.
80+
*
81+
* 2. Redistributions in binary form must reproduce the above copyright
82+
* notice, this list of conditions and the following disclaimer in
83+
* the documentation and/or other materials provided with the
84+
* distribution.
85+
*
86+
* 3. All advertising materials mentioning features or use of this
87+
* software must display the following acknowledgment:
88+
* "This product includes software developed by the OpenSSL Project
89+
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)
90+
*
91+
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be
92+
* used to endorse or promote products derived from this software
93+
* without prior written permission. For written permission, please
94+
* contact openssl-core@openssl.org.
95+
*
96+
* 5. Products derived from this software may not be called "OpenSSL
97+
* nor may "OpenSSL" appear in their names without prior written
98+
* permission of the OpenSSL Project.
99+
*
100+
* 6. Redistributions of any form whatsoever must retain the following
101+
* acknowledgment:
102+
* "This product includes software developed by the OpenSSL Project
103+
* for use in the OpenSSL Toolkit (http://www.openssl.org/)
104+
*
105+
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
106+
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
107+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
108+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
109+
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
110+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
111+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
112+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
113+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
114+
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
115+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
116+
* OF THE POSSIBILITY OF SUCH DAMAGE.
117+
* ====================================================================
118+
*
119+
* This product includes cryptographic software written by Eric Young
120+
* (eay@cryptsoft.com). This product includes software written by Tim
121+
* Hudson (tjh@cryptsoft.com).
122+
*
123+
*
32124

33-
The following are the license statements for code used in
34-
this program.
125+
Original SSLeay License
126+
-----------------------
127+
128+
* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
129+
* All rights reserved.
130+
*
131+
* This package is an SSL implementation written
132+
* by Eric Young (eay@cryptsoft.com).
133+
* The implementation was written so as to conform with Netscapes SSL.
134+
*
135+
* This library is free for commercial and non-commercial use as long as
136+
* the following conditions are adhered to. The following conditions
137+
* apply to all code found in this distribution, be it the RC4, RSA,
138+
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
139+
* included with this distribution is covered by the same copyright terms
140+
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
141+
*
142+
* Copyright remains Eric Young's, and as such any Copyright notices in
143+
* the code are not to be removed.
144+
* If this package is used in a product, Eric Young should be given
145+
* attribution as the author of the parts of the library used.
146+
* This can be in the form of a textual message at program startup or
147+
* in documentation (online or textual) provided with the package.
148+
*
149+
* Redistribution and use in source and binary forms, with or without
150+
* modification, are permitted provided that the following conditions
151+
* are met:
152+
* 1. Redistributions of source code must retain the copyright
153+
* notice, this list of conditions and the following disclaimer.
154+
* 2. Redistributions in binary form must reproduce the above copyright
155+
* notice, this list of conditions and the following disclaimer in the
156+
* documentation and/or other materials provided with the distribution.
157+
* 3. All advertising materials mentioning features or use of this
158+
* software must display the following acknowledgement:
159+
* "This product includes cryptographic software written by
160+
* Eric Young (eay@cryptsoft.com)"
161+
* The word 'cryptographic' can be left out if the routines from the
162+
* library being used are not cryptographic related :-) .
163+
* 4. If you include any Windows specific code (or a derivative thereof)
164+
* from the apps directory (application code) you must include an
165+
* acknowledgement: "This product includes software written by Tim
166+
* Hudson (tjh@cryptsoft.com)"
167+
*
168+
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
169+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
170+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
171+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
172+
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
173+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
174+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
175+
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
176+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
177+
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
178+
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
179+
*
180+
* The licence and distribution terms for any publicly available version
181+
* or derivative of this code cannot be changed. i.e. this code cannot
182+
* simply be copied and put under another distribution licence
183+
* [including the GNU Public Licence.]
184+
*
35185

36186

37187
sol2 License
@@ -332,124 +482,3 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
332482
DEALINGS IN THE SOFTWARE.
333483

334484

335-
LICENSE ISSUES
336-
==============
337-
338-
The OpenSSL toolkit stays under a double license, i.e. both the conditions of
339-
the OpenSSL License and the original SSLeay license apply to the toolkit.
340-
See below for the actual license texts.
341-
342-
OpenSSL License
343-
-----------------------
344-
345-
====================================================================
346-
Copyright (c) 1998-2018 The OpenSSL Project. All rights reserved.
347-
348-
Redistribution and use in source and binary forms, with or without
349-
modification, are permitted provided that the following conditions
350-
are met:
351-
352-
1. Redistributions of source code must retain the above copyright
353-
notice, this list of conditions and the following disclaimer.
354-
355-
2. Redistributions in binary form must reproduce the above copyright
356-
notice, this list of conditions and the following disclaimer in
357-
the documentation and/or other materials provided with the
358-
distribution.
359-
360-
3. All advertising materials mentioning features or use of this
361-
software must display the following acknowledgment:
362-
"This product includes software developed by the OpenSSL Project
363-
for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
364-
365-
4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
366-
endorse or promote products derived from this software without
367-
prior written permission. For written permission, please contact
368-
openssl-core@openssl.org.
369-
370-
5. Products derived from this software may not be called "OpenSSL"
371-
nor may "OpenSSL" appear in their names without prior written
372-
permission of the OpenSSL Project.
373-
374-
6. Redistributions of any form whatsoever must retain the following
375-
acknowledgment:
376-
"This product includes software developed by the OpenSSL Project
377-
for use in the OpenSSL Toolkit (http://www.openssl.org/)"
378-
379-
THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
380-
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
381-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
382-
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
383-
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
384-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
385-
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
386-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
387-
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
388-
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
389-
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
390-
OF THE POSSIBILITY OF SUCH DAMAGE.
391-
====================================================================
392-
393-
This product includes cryptographic software written by Eric Young
394-
(eay@cryptsoft.com). This product includes software written by Tim
395-
Hudson (tjh@cryptsoft.com).
396-
397-
398-
Original SSLeay License
399-
-----------------------
400-
401-
Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
402-
All rights reserved.
403-
404-
This package is an SSL implementation written
405-
by Eric Young (eay@cryptsoft.com).
406-
The implementation was written so as to conform with Netscapes SSL.
407-
408-
This library is free for commercial and non-commercial use as long as
409-
the following conditions are aheared to. The following conditions
410-
apply to all code found in this distribution, be it the RC4, RSA,
411-
lhash, DES, etc., code; not just the SSL code. The SSL documentation
412-
included with this distribution is covered by the same copyright terms
413-
except that the holder is Tim Hudson (tjh@cryptsoft.com).
414-
415-
Copyright remains Eric Young's, and as such any Copyright notices in
416-
the code are not to be removed.
417-
If this package is used in a product, Eric Young should be given attribution
418-
as the author of the parts of the library used.
419-
This can be in the form of a textual message at program startup or
420-
in documentation (online or textual) provided with the package.
421-
422-
Redistribution and use in source and binary forms, with or without
423-
modification, are permitted provided that the following conditions
424-
are met:
425-
1. Redistributions of source code must retain the copyright
426-
notice, this list of conditions and the following disclaimer.
427-
2. Redistributions in binary form must reproduce the above copyright
428-
notice, this list of conditions and the following disclaimer in the
429-
documentation and/or other materials provided with the distribution.
430-
3. All advertising materials mentioning features or use of this software
431-
must display the following acknowledgement:
432-
"This product includes cryptographic software written by
433-
Eric Young (eay@cryptsoft.com)"
434-
The word 'cryptographic' can be left out if the rouines from the library
435-
being used are not cryptographic related :-).
436-
4. If you include any Windows specific code (or a derivative thereof) from
437-
the apps directory (application code) you must include an acknowledgement:
438-
"This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
439-
440-
THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
441-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
442-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
443-
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
444-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
445-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
446-
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
447-
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
448-
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
449-
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
450-
SUCH DAMAGE.
451-
452-
The licence and distribution terms for any publically available version or
453-
derivative of this code cannot be changed. i.e. this code cannot simply be
454-
copied and put under another distribution licence
455-
[including the GNU Public Licence.]

P4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
This uses the Python type P4API.P4Adapter, which is a wrapper for the
88
Perforce ClientApi object.
99
10-
$Id: //depot/main/p4-python/P4.py#107 $
10+
$Id: //depot/main/p4-python/P4.py#108 $
1111
1212
#*******************************************************************************
1313
# Copyright (c) 2007-2010, Perforce Software, Inc. All rights reserved.

PythonSpecData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ PythonSpecData::Comment( SpecElem *sd, int x, const char **wv, int nl, Error *e)
159159
Py_DECREF(content);
160160
}
161161
else { // append case
162-
ssize_t size = PyList_Size( list );
162+
Py_ssize_t size = PyList_Size( list );
163163

164164
PyObject * content = PyList_GetItem(list, size - 1); // last element
165165
const char * contentStr = GetPythonString(content);

0 commit comments

Comments
 (0)