p4ruby 2022.1.2359956-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a4554ac46cca56702502bfd229c987dfa6bc5ab87ce49bfb0a5743b98af10001
4
+ data.tar.gz: dfe9804ecebd607f65929bb84359ec442ce5c95f3f2d710051e2ff7bd4db74c0
5
+ SHA512:
6
+ metadata.gz: e0fc4df8efcf319419a0154510738341c6997a5c1991934c7b0f2838bbe8327070c9344b0a948de49ff8826c3b776643298cc641018dc188fd4b1f6187f2efc2
7
+ data.tar.gz: f6db27faed1419caa985f4df5306a27429ead8ec755e23b9305c3f3179fdc16d126c90564812c798e2a5dd367ca84fb61be8d16e59005380bd6efc1b1823b693
data/LICENSE.txt ADDED
@@ -0,0 +1,484 @@
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.
37
+
38
+ Redistribution and use in source and binary forms, with or without
39
+ modification, are permitted provided that the following conditions are met:
40
+
41
+ Redistributions of source code must retain the above copyright notice,
42
+ this list of conditions and the following disclaimer.
43
+
44
+ Redistributions in binary form must reproduce the above copyright
45
+ notice, this list of conditions and the following disclaimer in the
46
+ documentation and/or other materials provided with the distribution.
47
+
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
+
60
+
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).
67
+
68
+ OpenSSL License
69
+ -----------------------
70
+
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
+ *
124
+
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
+ *
185
+
186
+
187
+ sol2 License
188
+ -----------------------
189
+
190
+ Copyright (c) 2013-2018 Rapptz, ThePhD, and contributors
191
+
192
+ Permission is hereby granted, free of charge, to any person obtaining
193
+ a copy of this software and associated documentation files (the
194
+ "Software"), to deal in the Software without restriction, including
195
+ without limitation the rights to use, copy, modify, merge, publish,
196
+ distribute, sublicense, and/or sell copies of the Software, and to
197
+ permit persons to whom the Software is furnished to do so, subject to
198
+ the following conditions:
199
+
200
+ The above copyright notice and this permission notice shall be
201
+ included in all copies or substantial portions of the Software.
202
+
203
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
204
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
205
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
206
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
207
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
208
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
209
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
210
+
211
+
212
+ Lua License
213
+ -----------------------
214
+
215
+ Copyright (c) 1994-2018 Lua.org, PUC-Rio.
216
+
217
+ Permission is hereby granted, free of charge, to any person obtaining
218
+ a copy of this software and associated documentation files (the
219
+ "Software"), to deal in the Software without restriction, including
220
+ without limitation the rights to use, copy, modify, merge, publish,
221
+ distribute, sublicense, and/or sell copies of the Software, and to
222
+ permit persons to whom the Software is furnished to do so, subject to
223
+ the following conditions:
224
+
225
+ The above copyright notice and this permission notice shall be
226
+ included in all copies or substantial portions of the Software.
227
+
228
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
229
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
230
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
231
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
232
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
233
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
234
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
235
+
236
+
237
+ cURL License
238
+ -----------------------
239
+
240
+ This code uses a permissive license. Please use the following
241
+ attribution in the documentation of the open source code.
242
+
243
+ Copyright (c) 1996 - 2018, Daniel Stenberg, daniel@haxx.se, and many
244
+ contributors, see the THANKS file.
245
+
246
+ All rights reserved.
247
+
248
+ Permission to use, copy, modify, and distribute this software for any
249
+ purpose with or without fee is hereby granted, provided that the above
250
+ copyright notice and this permission notice appear in all copies.
251
+
252
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
253
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
254
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
255
+ THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
256
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
257
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
258
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
259
+ SOFTWARE.
260
+
261
+ Except as contained in this notice, the name of a copyright holder shall
262
+ not be used in advertising or otherwise to promote the sale, use or
263
+ other dealings in this Software without prior written authorization of
264
+ the copyright holder.
265
+
266
+
267
+ Lua-cURLv3 License
268
+ -----------------------
269
+
270
+ Copyright (c) 2014-2018 Alexey Melnichuk
271
+
272
+ Permission is hereby granted, free of charge, to any person obtaining a
273
+ copy of this software and associated documentation files (the
274
+ "Software"), to deal in the Software without restriction, including
275
+ without limitation the rights to use, copy, modify, merge, publish,
276
+ distribute, sublicense, and/or sell copies of the Software, and to permit
277
+ persons to whom the Software is furnished to do so, subject to the
278
+ following conditions:
279
+
280
+ The above copyright notice and this permission notice shall be included
281
+ in all copies or substantial portions of the Software.
282
+
283
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
284
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
285
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
286
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
287
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
288
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
289
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
290
+
291
+
292
+ LuaSQLite3 License
293
+ -----------------------
294
+
295
+ Copyright (C) 2002-2016 Tiago Dionizio, Doug Currie
296
+ All rights reserved.
297
+ Author : Tiago Dionizio <tiago.dionizio@ist.utl.pt>
298
+ Author : Doug Currie <doug.currie@alum.mit.edu>
299
+ Library : lsqlite3 - an SQLite 3 database binding for Lua 5
300
+
301
+ Permission is hereby granted, free of charge, to any person obtaining
302
+ a copy of this software and associated documentation files (the
303
+ "Software"), to deal in the Software without restriction, including
304
+ without limitation the rights to use, copy, modify, merge, publish,
305
+ distribute, sublicense, and/or sell copies of the Software, and to
306
+ permit persons to whom the Software is furnished to do so, subject to
307
+ the following conditions:
308
+
309
+ The above copyright notice and this permission notice shall be
310
+ included in all copies or substantial portions of the Software.
311
+
312
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
313
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
314
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
315
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
316
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
317
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
318
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
319
+
320
+
321
+ lua-cjson License
322
+ -----------------------
323
+
324
+ Copyright (c) 2010-2012 Mark Pulford <mark@kyne.com.au>
325
+
326
+ Permission is hereby granted, free of charge, to any person obtaining
327
+ a copy of this software and associated documentation files (the
328
+ "Software"), to deal in the Software without restriction, including
329
+ without limitation the rights to use, copy, modify, merge, publish,
330
+ distribute, sublicense, and/or sell copies of the Software, and to
331
+ permit persons to whom the Software is furnished to do so, subject to
332
+ the following conditions:
333
+
334
+ The above copyright notice and this permission notice shall be
335
+ included in all copies or substantial portions of the Software.
336
+
337
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
338
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
339
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
340
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
341
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
342
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
343
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
344
+
345
+
346
+ libc++ and libc++abi License
347
+ -----------------------
348
+
349
+ These libraries are dual-licensed:
350
+
351
+ The University of Illinois/NCSA Open Source License (NCSA)
352
+ Developed under the LLVM Project
353
+
354
+ Permission is hereby granted, free of charge, to any person obtaining a
355
+ copy of this software and associated documentation files (the
356
+ "Software"), to deal with the Software without restriction, including
357
+ without limitation the rights to use, copy, modify, merge, publish,
358
+ distribute, sublicense, and/or sell copies of the Software, and to
359
+ permit persons to whom the Software is furnished to do so, subject to the
360
+ following conditions:
361
+
362
+ Redistributions of source code must retain the above copyright notice,
363
+ this list of conditions and the following disclaimers.
364
+ Redistributions in binary form must reproduce the above copyright
365
+ notice, this list of conditions and the following disclaimers in the
366
+ documentation and/or other materials provided with the distribution.
367
+ Neither the names of <Name of Development Group, Name of Institution>,
368
+ nor the names of its contributors may be used to endorse or promote
369
+ products derived from this Software without specific prior written
370
+ permission.
371
+
372
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
373
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
374
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
375
+ IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
376
+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
377
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
378
+ SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
379
+
380
+ MIT
381
+ Developed under the LLVM Project
382
+
383
+ Permission is hereby granted, free of charge, to any person obtaining a
384
+ copy of this software and associated documentation files (the
385
+ "Software"), to deal in the Software without restriction, including
386
+ without limitation the rights to use, copy, modify, merge, publish,
387
+ distribute, sublicense, and/or sell copies of the Software, and to permit
388
+ persons to whom the Software is furnished to do so, subject to the
389
+ following conditions:
390
+
391
+ The above copyright notice and this permission notice shall be included
392
+ in all copies or substantial portions of the Software.
393
+
394
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
395
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
396
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
397
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
398
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
399
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
400
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
401
+
402
+
403
+ jemalloc
404
+ -----------------------
405
+
406
+ Copyright (C) 2002-present Jason Evans <jasone@canonware.com>.
407
+ All rights reserved.
408
+ Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved.
409
+ Copyright (C) 2009-present Facebook, Inc. All rights reserved.
410
+
411
+ Redistribution and use in source and binary forms, with or without
412
+ modification, are permitted provided that the following conditions are met:
413
+ 1. Redistributions of source code must retain the above copyright
414
+ notice(s), this list of conditions and the following disclaimer.
415
+ 2. Redistributions in binary form must reproduce the above copyright
416
+ notice(s), this list of conditions and the following disclaimer in the
417
+ documentation and/or other materials provided with the distribution.
418
+
419
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY
420
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
421
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
422
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
423
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
424
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
425
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
426
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
427
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
428
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
429
+ SUCH DAMAGE.
430
+
431
+
432
+ JSON for Modern C++
433
+ -----------------------
434
+
435
+ Copyright (c) 2013-2018 Niels Lohmann
436
+
437
+ Permission is hereby granted, free of charge, to any person obtaining
438
+ a copy of this software and associated documentation files (the
439
+ "Software"), to deal in the Software without restriction, including
440
+ without limitation the rights to use, copy, modify, merge, publish,
441
+ distribute, sublicense, and/or sell copies of the Software, and to permit
442
+ persons to whom the Software is furnished to do so, subject to the
443
+ following conditions:
444
+
445
+ The above copyright notice and this permission notice shall be included
446
+ in all copies or substantial portions of the Software.
447
+
448
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
449
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
450
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
451
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
452
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
453
+ OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
454
+ THE USE OR OTHER DEALINGS IN THE SOFTWARE.
455
+
456
+ optional-lite and any-lite
457
+ Martin Moene
458
+ -----------------------
459
+
460
+ Boost Software License - Version 1.0 - August 17th, 2003
461
+
462
+ Permission is hereby granted, free of charge, to any person or organization
463
+ obtaining a copy of the software and accompanying documentation covered by
464
+ this license (the "Software") to use, reproduce, display, distribute,
465
+ execute, and transmit the Software, and to prepare derivative works of the
466
+ Software, and to permit third-parties to whom the Software is furnished to
467
+ do so, all subject to the following:
468
+
469
+ The copyright notices in the Software and this entire statement, including
470
+ the above license grant, this restriction and the following disclaimer,
471
+ must be included in all copies of the Software, in whole or in part, and
472
+ all derivative works of the Software, unless such copies or derivative
473
+ works are solely in the form of machine-executable object code generated by
474
+ a source language processor.
475
+
476
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
477
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
478
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
479
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
480
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
481
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
482
+ DEALINGS IN THE SOFTWARE.
483
+
484
+
data/README.md ADDED
@@ -0,0 +1,17 @@
1
+ [![Support](https://img.shields.io/badge/Support-Official-green.svg)](mailto:support@perforce.com)
2
+
3
+ # P4Ruby
4
+ P4Ruby is a wrapper for the P4 C++ API in Ruby.
5
+
6
+ P4Ruby is a Ruby module that provides an object-oriented API to Helix Core server. Using P4Ruby is faster than using the command-line interface in scripts, because multiple command can be executed on a single connection, and because it returns Helix server responses as Ruby hashes and arrays.
7
+
8
+ ## Requirements
9
+ For P4Ruby requirements see "Compatibility Statements" in [RELNOTES](https://github.com/perforce/p4ruby/blob/master/RELNOTES.txt#L99)
10
+
11
+ ## Documentation
12
+ Official documentation is located on the [Perforce website](https://www.perforce.com/manuals/p4ruby/Content/P4Ruby/Home-p4ruby.html)
13
+
14
+ ## Support
15
+ P4Ruby is officially supported by Perforce.
16
+ Pull requests will be managed by Perforce's engineering teams. We will do our best to acknowledge these in a timely manner based on available capacity.
17
+ Issues will not be managed on GitHub. All issues should be recorded via [Perforce's standard support process](https://www.perforce.com/support/request-support).
@@ -0,0 +1,98 @@
1
+ /*******************************************************************************
2
+
3
+ Copyright (c) 2001-2012, Perforce Software, Inc. All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright
12
+ notice, this list of conditions and the following disclaimer in the
13
+ documentation and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18
+ ARE DISCLAIMED. IN NO EVENT SHALL PERFORCE SOFTWARE, INC. BE LIABLE FOR ANY
19
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
+
26
+ *******************************************************************************/
27
+
28
+ /*******************************************************************************
29
+ * Name : ClientProgressRuby.h
30
+ *
31
+ * Author : Jayesh Mistry <jmistry@perforce.com>
32
+ *
33
+ * Description : C++ Subclass for ClientProgress used by P4Ruby
34
+ * Allows Perforce API to indicate progress of calls to P4Ruby
35
+ *
36
+ ******************************************************************************/
37
+ #include "ruby.h"
38
+ #include "undefdups.h"
39
+ #include "gc_hack.h"
40
+ #include "extconf.h"
41
+ #include "p4utils.h"
42
+ #include "p4/clientapi.h"
43
+ #include "p4/clientprog.h"
44
+ #include "clientprogressruby.h"
45
+
46
+ extern VALUE eP4;
47
+
48
+ ClientProgressRuby::ClientProgressRuby(VALUE prog, int t) {
49
+ progress = prog;
50
+ ID method = rb_intern("init");
51
+ VALUE type = INT2NUM( t );
52
+ if (rb_respond_to(progress, method))
53
+ rb_funcall(progress, method, 1, type);
54
+ else
55
+ rb_raise(eP4, "P4::Progress#init not implemented");
56
+ }
57
+
58
+ ClientProgressRuby::~ClientProgressRuby() {
59
+ }
60
+
61
+ void ClientProgressRuby::Description(const StrPtr *d, int u) {
62
+ ID method = rb_intern("description");
63
+ VALUE desc = P4Utils::ruby_string(d->Text());
64
+ VALUE units = INT2NUM( u );
65
+ if (rb_respond_to(progress, method))
66
+ rb_funcall(progress, method, 2, desc, units);
67
+ else
68
+ rb_raise(eP4, "P4::Progress#description not implemented");
69
+ }
70
+
71
+ void ClientProgressRuby::Total(long t) {
72
+ VALUE total = LONG2NUM( t );
73
+ ID method = rb_intern("total");
74
+ if (rb_respond_to(progress, method))
75
+ rb_funcall(progress, method, 1, total);
76
+ else
77
+ rb_raise(eP4, "P4::Progress#total not implemented");
78
+ }
79
+
80
+ int ClientProgressRuby::Update(long pos) {
81
+ VALUE position = LONG2NUM( pos );
82
+ ID method = rb_intern( "update" );
83
+ if( rb_respond_to(progress, method))
84
+ rb_funcall( progress, method, 1, position );
85
+ else
86
+ rb_raise(eP4, "P4::Progress#update not implemented");
87
+
88
+ return 0;
89
+ }
90
+
91
+ void ClientProgressRuby::Done(int f) {
92
+ VALUE fail = INT2NUM( f );
93
+ ID method = rb_intern( "done" );
94
+ if( rb_respond_to(progress, method))
95
+ rb_funcall( progress, method, 1, fail );
96
+ else
97
+ rb_raise(eP4, "P4::Progress#done not implemented");
98
+ }
@@ -0,0 +1,52 @@
1
+ /*******************************************************************************
2
+
3
+ Copyright (c) 2001-2012, Perforce Software, Inc. All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright
12
+ notice, this list of conditions and the following disclaimer in the
13
+ documentation and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18
+ ARE DISCLAIMED. IN NO EVENT SHALL PERFORCE SOFTWARE, INC. BE LIABLE FOR ANY
19
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
+
26
+ *******************************************************************************/
27
+
28
+ /*******************************************************************************
29
+ * Name : ClientProgressRuby.h
30
+ *
31
+ * Author : Jayesh Mistry <jmistry@perforce.com>
32
+ *
33
+ * Description : C++ Subclass for ClientProgress used by P4Ruby
34
+ * Allows Perforce API to indicate progress of calls to P4Ruby
35
+ *
36
+ ******************************************************************************/
37
+
38
+ class ClientProgressRuby : public ClientProgress {
39
+ public:
40
+ ClientProgressRuby( VALUE prog, int t );
41
+ virtual ~ClientProgressRuby();
42
+
43
+ public:
44
+
45
+ void Description( const StrPtr *d, int u );
46
+ void Total( long t );
47
+ int Update( long update );
48
+ void Done( int f );
49
+
50
+ private:
51
+ VALUE progress;
52
+ };