rugged 1.9.4 → 1.9.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rugged/version.rb +1 -1
- data/vendor/libgit2/CMakeLists.txt +1 -1
- data/vendor/libgit2/COPYING +83 -11
- data/vendor/libgit2/cmake/SelectRegex.cmake +8 -3
- data/vendor/libgit2/deps/pcre2/CMakeLists.txt +110 -0
- data/vendor/libgit2/deps/pcre2/LICENCE.md +104 -0
- data/vendor/libgit2/deps/pcre2/config.h.in +54 -0
- data/vendor/libgit2/deps/pcre2/pcre2.h +1079 -0
- data/vendor/libgit2/deps/pcre2/pcre2_auto_possess.c +1416 -0
- data/vendor/libgit2/deps/{pcre/pcre_chartables.c → pcre2/pcre2_chartables.c} +41 -47
- data/vendor/libgit2/deps/{pcre/pcre_ord2utf8.c → pcre2/pcre2_chkdint.c} +36 -36
- data/vendor/libgit2/deps/pcre2/pcre2_compile.c +11345 -0
- data/vendor/libgit2/deps/pcre2/pcre2_compile.h +356 -0
- data/vendor/libgit2/deps/pcre2/pcre2_compile_cgroup.c +632 -0
- data/vendor/libgit2/deps/pcre2/pcre2_compile_class.c +2777 -0
- data/vendor/libgit2/deps/pcre2/pcre2_config.c +250 -0
- data/vendor/libgit2/deps/pcre2/pcre2_context.c +557 -0
- data/vendor/libgit2/deps/pcre2/pcre2_convert.c +1263 -0
- data/vendor/libgit2/deps/{pcre/pcre_dfa_exec.c → pcre2/pcre2_dfa_match.c} +1402 -943
- data/vendor/libgit2/deps/pcre2/pcre2_error.c +384 -0
- data/vendor/libgit2/deps/pcre2/pcre2_extuni.c +159 -0
- data/vendor/libgit2/deps/pcre2/pcre2_find_bracket.c +217 -0
- data/vendor/libgit2/deps/pcre2/pcre2_fuzzsupport.c +844 -0
- data/vendor/libgit2/deps/pcre2/pcre2_internal.h +2353 -0
- data/vendor/libgit2/deps/pcre2/pcre2_intmodedep.h +1044 -0
- data/vendor/libgit2/deps/pcre2/pcre2_maketables.c +177 -0
- data/vendor/libgit2/deps/pcre2/pcre2_match.c +8244 -0
- data/vendor/libgit2/deps/pcre2/pcre2_match_data.c +184 -0
- data/vendor/libgit2/deps/pcre2/pcre2_match_next.c +171 -0
- data/vendor/libgit2/deps/{pcre/pcre_newline.c → pcre2/pcre2_newline.c} +92 -63
- data/vendor/libgit2/deps/{pcre/pcre_refcount.c → pcre2/pcre2_ord2utf.c} +64 -38
- data/vendor/libgit2/deps/pcre2/pcre2_pattern_info.c +430 -0
- data/vendor/libgit2/deps/pcre2/pcre2_printint_inc.h +1098 -0
- data/vendor/libgit2/deps/pcre2/pcre2_script_run.c +344 -0
- data/vendor/libgit2/deps/pcre2/pcre2_serialize.c +284 -0
- data/vendor/libgit2/deps/pcre2/pcre2_string_utils.c +199 -0
- data/vendor/libgit2/deps/pcre2/pcre2_study.c +2087 -0
- data/vendor/libgit2/deps/pcre2/pcre2_substitute.c +1761 -0
- data/vendor/libgit2/deps/pcre2/pcre2_substring.c +553 -0
- data/vendor/libgit2/deps/pcre2/pcre2_tables.c +310 -0
- data/vendor/libgit2/deps/pcre2/pcre2_ucd.c +5805 -0
- data/vendor/libgit2/deps/pcre2/pcre2_ucp.h +408 -0
- data/vendor/libgit2/deps/pcre2/pcre2_ucptables_inc.h +1596 -0
- data/vendor/libgit2/deps/pcre2/pcre2_util.h +179 -0
- data/vendor/libgit2/deps/pcre2/pcre2_valid_utf.c +397 -0
- data/vendor/libgit2/deps/pcre2/pcre2_xclass.c +547 -0
- data/vendor/libgit2/include/git2/common.h +13 -1
- data/vendor/libgit2/include/git2/version.h +2 -2
- data/vendor/libgit2/src/libgit2/blame.c +6 -0
- data/vendor/libgit2/src/libgit2/delta.c +8 -0
- data/vendor/libgit2/src/libgit2/indexer.c +3 -2
- data/vendor/libgit2/src/libgit2/settings.c +9 -0
- data/vendor/libgit2/src/libgit2/streams/openssl.c +4 -1
- data/vendor/libgit2/src/libgit2/submodule.c +77 -12
- data/vendor/libgit2/src/libgit2/transports/http.c +4 -4
- data/vendor/libgit2/src/libgit2/transports/smart_pkt.c +2 -1
- data/vendor/libgit2/src/util/fs_path.h +10 -10
- data/vendor/libgit2/src/util/regexp.c +27 -12
- data/vendor/libgit2/src/util/regexp.h +7 -2
- metadata +44 -37
- data/vendor/libgit2/deps/pcre/CMakeLists.txt +0 -140
- data/vendor/libgit2/deps/pcre/COPYING +0 -5
- data/vendor/libgit2/deps/pcre/LICENCE +0 -93
- data/vendor/libgit2/deps/pcre/cmake/COPYING-CMAKE-SCRIPTS +0 -22
- data/vendor/libgit2/deps/pcre/cmake/FindEditline.cmake +0 -17
- data/vendor/libgit2/deps/pcre/cmake/FindPackageHandleStandardArgs.cmake +0 -58
- data/vendor/libgit2/deps/pcre/cmake/FindReadline.cmake +0 -29
- data/vendor/libgit2/deps/pcre/config.h.in +0 -57
- data/vendor/libgit2/deps/pcre/pcre.h +0 -641
- data/vendor/libgit2/deps/pcre/pcre_byte_order.c +0 -319
- data/vendor/libgit2/deps/pcre/pcre_compile.c +0 -9815
- data/vendor/libgit2/deps/pcre/pcre_config.c +0 -190
- data/vendor/libgit2/deps/pcre/pcre_exec.c +0 -7173
- data/vendor/libgit2/deps/pcre/pcre_fullinfo.c +0 -245
- data/vendor/libgit2/deps/pcre/pcre_get.c +0 -669
- data/vendor/libgit2/deps/pcre/pcre_globals.c +0 -86
- data/vendor/libgit2/deps/pcre/pcre_internal.h +0 -2787
- data/vendor/libgit2/deps/pcre/pcre_jit_compile.c +0 -11913
- data/vendor/libgit2/deps/pcre/pcre_maketables.c +0 -156
- data/vendor/libgit2/deps/pcre/pcre_printint.c +0 -834
- data/vendor/libgit2/deps/pcre/pcre_string_utils.c +0 -211
- data/vendor/libgit2/deps/pcre/pcre_study.c +0 -1686
- data/vendor/libgit2/deps/pcre/pcre_tables.c +0 -727
- data/vendor/libgit2/deps/pcre/pcre_ucd.c +0 -3644
- data/vendor/libgit2/deps/pcre/pcre_valid_utf8.c +0 -301
- data/vendor/libgit2/deps/pcre/pcre_version.c +0 -98
- data/vendor/libgit2/deps/pcre/pcre_xclass.c +0 -268
- data/vendor/libgit2/deps/pcre/pcreposix.c +0 -420
- data/vendor/libgit2/deps/pcre/pcreposix.h +0 -117
- data/vendor/libgit2/deps/pcre/ucp.h +0 -224
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87954b1bd8f2dc778010ceea1dd1bf374867f1abf36ec9bf52f69303b7428612
|
|
4
|
+
data.tar.gz: 3a693b4dcf346904b3e975ab601c193e6ea7dffb92a5e99a24a69a7ba532c208
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea656b85aff4712a60bd6b2ae1df60c0a7e092e6640a87dd8c0272abf56c9fca8cb295f0d3c1acba6022a58d9c2dddda5490ea16f531de7cefae858a9788b74a
|
|
7
|
+
data.tar.gz: 4701db5dec11fb7780b14977d3f4db1878c713287139f42e7860c0544e4dfd60897722e2528a8fe9629a705f96a4248580dbebf5a5fbdfa3e675c13f9ae05101
|
data/lib/rugged/version.rb
CHANGED
data/vendor/libgit2/COPYING
CHANGED
|
@@ -406,23 +406,85 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
406
406
|
|
|
407
407
|
----------------------------------------------------------------------
|
|
408
408
|
|
|
409
|
-
The bundled PCRE implementation (deps/
|
|
410
|
-
|
|
409
|
+
The bundled PCRE implementation (deps/pcre2/) is licensed under the
|
|
410
|
+
PCRE2 Licence.
|
|
411
|
+
|
|
412
|
+
PCRE2 is a library of functions to support regular expressions whose syntax
|
|
413
|
+
and semantics are as close as possible to those of the Perl 5 language.
|
|
414
|
+
|
|
415
|
+
Releases 10.00 and above of PCRE2 are distributed under the terms of the "BSD"
|
|
416
|
+
licence, as specified below, with one exemption for certain binary
|
|
417
|
+
redistributions. The documentation for PCRE2, supplied in the "doc" directory,
|
|
418
|
+
is distributed under the same terms as the software itself. The data in the
|
|
419
|
+
testdata directory is not copyrighted and is in the public domain.
|
|
420
|
+
|
|
421
|
+
The basic library functions are written in C and are freestanding. Also
|
|
422
|
+
included in the distribution is a just-in-time compiler that can be used to
|
|
423
|
+
optimize pattern matching. This is an optional feature that can be omitted when
|
|
424
|
+
the library is built. The just-in-time compiler is separately licensed under the
|
|
425
|
+
"2-clause BSD" licence.
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
COPYRIGHT
|
|
429
|
+
---------
|
|
430
|
+
|
|
431
|
+
### The basic library functions
|
|
432
|
+
|
|
433
|
+
Written by: Philip Hazel
|
|
434
|
+
Email local part: Philip.Hazel
|
|
435
|
+
Email domain: gmail.com
|
|
436
|
+
|
|
437
|
+
Retired from University of Cambridge Computing Service,
|
|
438
|
+
Cambridge, England.
|
|
439
|
+
|
|
440
|
+
Copyright (c) 1997-2007 University of Cambridge
|
|
441
|
+
Copyright (c) 2007-2024 Philip Hazel
|
|
442
|
+
All rights reserved.
|
|
443
|
+
|
|
444
|
+
### PCRE2 Just-In-Time compilation support
|
|
445
|
+
|
|
446
|
+
Written by: Zoltan Herczeg
|
|
447
|
+
Email local part: hzmester
|
|
448
|
+
Email domain: freemail.hu
|
|
449
|
+
|
|
450
|
+
Copyright (c) 2010-2024 Zoltan Herczeg
|
|
451
|
+
All rights reserved.
|
|
452
|
+
|
|
453
|
+
### Stack-less Just-In-Time compiler
|
|
454
|
+
|
|
455
|
+
Written by: Zoltan Herczeg
|
|
456
|
+
Email local part: hzmester
|
|
457
|
+
Email domain: freemail.hu
|
|
458
|
+
|
|
459
|
+
Copyright (c) 2009-2024 Zoltan Herczeg
|
|
460
|
+
All rights reserved.
|
|
461
|
+
|
|
462
|
+
The code in the `deps/sljit` directory has its own LICENSE file.
|
|
463
|
+
|
|
464
|
+
### All other contributions
|
|
465
|
+
|
|
466
|
+
Many other contributors have participated in the authorship of PCRE2. As PCRE2
|
|
467
|
+
has never required a Contributor Licensing Agreement, or other copyright
|
|
468
|
+
assignment agreement, all contributions have copyright retained by each
|
|
469
|
+
original contributor or their employer.
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
THE "BSD" LICENCE
|
|
473
|
+
-----------------
|
|
411
474
|
|
|
412
475
|
Redistribution and use in source and binary forms, with or without
|
|
413
476
|
modification, are permitted provided that the following conditions are met:
|
|
414
477
|
|
|
415
|
-
|
|
416
|
-
|
|
478
|
+
* Redistributions of source code must retain the above copyright notices,
|
|
479
|
+
this list of conditions and the following disclaimer.
|
|
417
480
|
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
481
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
482
|
+
notices, this list of conditions and the following disclaimer in the
|
|
483
|
+
documentation and/or other materials provided with the distribution.
|
|
421
484
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
written permission.
|
|
485
|
+
* Neither the name of the University of Cambridge nor the names of any
|
|
486
|
+
contributors may be used to endorse or promote products derived from this
|
|
487
|
+
software without specific prior written permission.
|
|
426
488
|
|
|
427
489
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
428
490
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
@@ -436,6 +498,16 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
436
498
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
437
499
|
POSSIBILITY OF SUCH DAMAGE.
|
|
438
500
|
|
|
501
|
+
|
|
502
|
+
EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES
|
|
503
|
+
------------------------------------------
|
|
504
|
+
|
|
505
|
+
The second condition in the BSD licence (covering binary redistributions) does
|
|
506
|
+
not apply all the way down a chain of software. If binary package A includes
|
|
507
|
+
PCRE2, it must respect the condition, but if package B is software that
|
|
508
|
+
includes package A, the condition is not imposed on package B unless it uses
|
|
509
|
+
PCRE2 independently.
|
|
510
|
+
|
|
439
511
|
----------------------------------------------------------------------
|
|
440
512
|
|
|
441
513
|
The bundled winhttp definition files (deps/winhttp/) are licensed under
|
|
@@ -48,9 +48,14 @@ elseif(REGEX_BACKEND STREQUAL "builtin")
|
|
|
48
48
|
add_feature_info(regex ON "using bundled PCRE")
|
|
49
49
|
set(GIT_REGEX_BUILTIN 1)
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
add_definitions(-DPCRE2_STATIC)
|
|
52
|
+
add_definitions(-DPCRE2_EXPORT=)
|
|
53
|
+
add_definitions(-DPCRE2_EXP_DECL=)
|
|
54
|
+
add_definitions(-DPCRE2_EXP_DEFN=)
|
|
55
|
+
|
|
56
|
+
add_subdirectory("${PROJECT_SOURCE_DIR}/deps/pcre2" "${PROJECT_BINARY_DIR}/deps/pcre2")
|
|
57
|
+
list(APPEND LIBGIT2_DEPENDENCY_INCLUDES "${PROJECT_SOURCE_DIR}/deps/pcre2")
|
|
58
|
+
list(APPEND LIBGIT2_DEPENDENCY_OBJECTS $<TARGET_OBJECTS:pcre2>)
|
|
54
59
|
else()
|
|
55
60
|
message(FATAL_ERROR "The REGEX_BACKEND option provided is not supported")
|
|
56
61
|
endif()
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Static configuration
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
set(SUPPORT_PCRE2_8 1)
|
|
6
|
+
set(SUPPORT_UNICODE 1)
|
|
7
|
+
set(PCRE2_NEWLINE "LF")
|
|
8
|
+
set(NEWLINE_DEFAULT "2")
|
|
9
|
+
set(PCRE2_LINK_SIZE "2")
|
|
10
|
+
set(PCRE2_MAX_VARLOOKBEHIND "255")
|
|
11
|
+
set(PCRE2_PARENS_NEST_LIMIT "250")
|
|
12
|
+
set(PCRE2_HEAP_LIMIT "20000000")
|
|
13
|
+
set(PCRE2_MATCH_LIMIT "10000000")
|
|
14
|
+
set(PCRE2_MATCH_LIMIT_DEPTH "MATCH_LIMIT")
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
#
|
|
18
|
+
# Dynamic configuration
|
|
19
|
+
#
|
|
20
|
+
|
|
21
|
+
include(CheckCSourceCompiles)
|
|
22
|
+
include(CheckFunctionExists)
|
|
23
|
+
include(CheckSymbolExists)
|
|
24
|
+
include(CheckIncludeFile)
|
|
25
|
+
|
|
26
|
+
check_include_file(assert.h HAVE_ASSERT_H)
|
|
27
|
+
check_include_file(dirent.h HAVE_DIRENT_H)
|
|
28
|
+
check_include_file(sys/stat.h HAVE_SYS_STAT_H)
|
|
29
|
+
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
|
|
30
|
+
check_include_file(unistd.h HAVE_UNISTD_H)
|
|
31
|
+
check_include_file(windows.h HAVE_WINDOWS_H)
|
|
32
|
+
|
|
33
|
+
check_symbol_exists(memfd_create "sys/mman.h" HAVE_MEMFD_CREATE) # glibc 2.27
|
|
34
|
+
check_symbol_exists(secure_getenv "stdlib.h" HAVE_SECURE_GETENV) # glibc 2.17
|
|
35
|
+
|
|
36
|
+
check_c_source_compiles(
|
|
37
|
+
"int main(void) { char buf[128] __attribute__((uninitialized)); (void)buf; return 0; }"
|
|
38
|
+
HAVE_ATTRIBUTE_UNINITIALIZED
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
check_c_source_compiles("int main(void) { __assume(1); return 0; }" HAVE_BUILTIN_ASSUME)
|
|
42
|
+
|
|
43
|
+
check_c_source_compiles(
|
|
44
|
+
[=[
|
|
45
|
+
#include <stddef.h>
|
|
46
|
+
int main(void) { int a,b; size_t m; __builtin_mul_overflow(a,b,&m); return 0; }
|
|
47
|
+
]=]
|
|
48
|
+
HAVE_BUILTIN_MUL_OVERFLOW
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
check_c_source_compiles(
|
|
52
|
+
"int main(int c, char *v[]) { if (c) __builtin_unreachable(); return (int)(*v[0]); }"
|
|
53
|
+
HAVE_BUILTIN_UNREACHABLE
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
# Output files
|
|
58
|
+
|
|
59
|
+
configure_file(config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h @ONLY)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
# Source code
|
|
63
|
+
|
|
64
|
+
set(PCRE2_HEADERS pcre2.h)
|
|
65
|
+
set(PCRE2_SOURCES
|
|
66
|
+
pcre2_auto_possess.c
|
|
67
|
+
pcre2_chartables.c
|
|
68
|
+
pcre2_chkdint.c
|
|
69
|
+
pcre2_compile.c
|
|
70
|
+
pcre2_compile_cgroup.c
|
|
71
|
+
pcre2_compile_class.c
|
|
72
|
+
pcre2_config.c
|
|
73
|
+
pcre2_context.c
|
|
74
|
+
pcre2_convert.c
|
|
75
|
+
pcre2_dfa_match.c
|
|
76
|
+
pcre2_error.c
|
|
77
|
+
pcre2_extuni.c
|
|
78
|
+
pcre2_find_bracket.c
|
|
79
|
+
pcre2_maketables.c
|
|
80
|
+
pcre2_match.c
|
|
81
|
+
pcre2_match_data.c
|
|
82
|
+
pcre2_match_next.c
|
|
83
|
+
pcre2_newline.c
|
|
84
|
+
pcre2_ord2utf.c
|
|
85
|
+
pcre2_pattern_info.c
|
|
86
|
+
pcre2_script_run.c
|
|
87
|
+
pcre2_serialize.c
|
|
88
|
+
pcre2_string_utils.c
|
|
89
|
+
pcre2_study.c
|
|
90
|
+
pcre2_substitute.c
|
|
91
|
+
pcre2_substring.c
|
|
92
|
+
pcre2_tables.c
|
|
93
|
+
pcre2_ucd.c
|
|
94
|
+
pcre2_valid_utf.c
|
|
95
|
+
pcre2_xclass.c
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
# Build setup
|
|
100
|
+
|
|
101
|
+
add_definitions(-DHAVE_CONFIG_H)
|
|
102
|
+
add_definitions(-DPCRE2_CODE_UNIT_WIDTH=8)
|
|
103
|
+
|
|
104
|
+
if(MSVC)
|
|
105
|
+
add_compile_definitions(_CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS)
|
|
106
|
+
endif()
|
|
107
|
+
|
|
108
|
+
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
109
|
+
|
|
110
|
+
add_library(pcre2 OBJECT ${PCRE2_HEADERS} ${PCRE2_SOURCES})
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
PCRE2 Licence
|
|
2
|
+
=============
|
|
3
|
+
|
|
4
|
+
| SPDX-License-Identifier: | BSD-3-Clause WITH PCRE2-exception |
|
|
5
|
+
|---------|-------|
|
|
6
|
+
|
|
7
|
+
PCRE2 is a library of functions to support regular expressions whose syntax
|
|
8
|
+
and semantics are as close as possible to those of the Perl 5 language.
|
|
9
|
+
|
|
10
|
+
Releases 10.00 and above of PCRE2 are distributed under the terms of the "BSD"
|
|
11
|
+
licence, as specified below, with one exemption for certain binary
|
|
12
|
+
redistributions. The documentation for PCRE2, supplied in the "doc" directory,
|
|
13
|
+
is distributed under the same terms as the software itself. The data in the
|
|
14
|
+
testdata directory is not copyrighted and is in the public domain.
|
|
15
|
+
|
|
16
|
+
The basic library functions are written in C and are freestanding. Also
|
|
17
|
+
included in the distribution is a just-in-time compiler that can be used to
|
|
18
|
+
optimize pattern matching. This is an optional feature that can be omitted when
|
|
19
|
+
the library is built. The just-in-time compiler is separately licensed under the
|
|
20
|
+
"2-clause BSD" licence.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
COPYRIGHT
|
|
24
|
+
---------
|
|
25
|
+
|
|
26
|
+
### The basic library functions
|
|
27
|
+
|
|
28
|
+
Written by: Philip Hazel
|
|
29
|
+
Email local part: Philip.Hazel
|
|
30
|
+
Email domain: gmail.com
|
|
31
|
+
|
|
32
|
+
Retired from University of Cambridge Computing Service,
|
|
33
|
+
Cambridge, England.
|
|
34
|
+
|
|
35
|
+
Copyright (c) 1997-2007 University of Cambridge
|
|
36
|
+
Copyright (c) 2007-2024 Philip Hazel
|
|
37
|
+
All rights reserved.
|
|
38
|
+
|
|
39
|
+
### PCRE2 Just-In-Time compilation support
|
|
40
|
+
|
|
41
|
+
Written by: Zoltan Herczeg
|
|
42
|
+
Email local part: hzmester
|
|
43
|
+
Email domain: freemail.hu
|
|
44
|
+
|
|
45
|
+
Copyright (c) 2010-2024 Zoltan Herczeg
|
|
46
|
+
All rights reserved.
|
|
47
|
+
|
|
48
|
+
### Stack-less Just-In-Time compiler
|
|
49
|
+
|
|
50
|
+
Written by: Zoltan Herczeg
|
|
51
|
+
Email local part: hzmester
|
|
52
|
+
Email domain: freemail.hu
|
|
53
|
+
|
|
54
|
+
Copyright (c) 2009-2024 Zoltan Herczeg
|
|
55
|
+
All rights reserved.
|
|
56
|
+
|
|
57
|
+
The code in the `deps/sljit` directory has its own LICENSE file.
|
|
58
|
+
|
|
59
|
+
### All other contributions
|
|
60
|
+
|
|
61
|
+
Many other contributors have participated in the authorship of PCRE2. As PCRE2
|
|
62
|
+
has never required a Contributor Licensing Agreement, or other copyright
|
|
63
|
+
assignment agreement, all contributions have copyright retained by each
|
|
64
|
+
original contributor or their employer.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
THE "BSD" LICENCE
|
|
68
|
+
-----------------
|
|
69
|
+
|
|
70
|
+
Redistribution and use in source and binary forms, with or without
|
|
71
|
+
modification, are permitted provided that the following conditions are met:
|
|
72
|
+
|
|
73
|
+
* Redistributions of source code must retain the above copyright notices,
|
|
74
|
+
this list of conditions and the following disclaimer.
|
|
75
|
+
|
|
76
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
77
|
+
notices, this list of conditions and the following disclaimer in the
|
|
78
|
+
documentation and/or other materials provided with the distribution.
|
|
79
|
+
|
|
80
|
+
* Neither the name of the University of Cambridge nor the names of any
|
|
81
|
+
contributors may be used to endorse or promote products derived from this
|
|
82
|
+
software without specific prior written permission.
|
|
83
|
+
|
|
84
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
85
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
86
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
87
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
88
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
89
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
90
|
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
91
|
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
92
|
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
93
|
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
94
|
+
POSSIBILITY OF SUCH DAMAGE.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES
|
|
98
|
+
------------------------------------------
|
|
99
|
+
|
|
100
|
+
The second condition in the BSD licence (covering binary redistributions) does
|
|
101
|
+
not apply all the way down a chain of software. If binary package A includes
|
|
102
|
+
PCRE2, it must respect the condition, but if package B is software that
|
|
103
|
+
includes package A, the condition is not imposed on package B unless it uses
|
|
104
|
+
PCRE2 independently.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* config.h for CMake builds */
|
|
2
|
+
|
|
3
|
+
#cmakedefine HAVE_ASSERT_H 1
|
|
4
|
+
#cmakedefine HAVE_BUILTIN_ASSUME 1
|
|
5
|
+
#cmakedefine HAVE_BUILTIN_MUL_OVERFLOW 1
|
|
6
|
+
#cmakedefine HAVE_BUILTIN_UNREACHABLE 1
|
|
7
|
+
#cmakedefine HAVE_ATTRIBUTE_UNINITIALIZED 1
|
|
8
|
+
#cmakedefine HAVE_DIRENT_H 1
|
|
9
|
+
#cmakedefine HAVE_SYS_STAT_H 1
|
|
10
|
+
#cmakedefine HAVE_SYS_TYPES_H 1
|
|
11
|
+
#cmakedefine HAVE_UNISTD_H 1
|
|
12
|
+
#cmakedefine HAVE_WINDOWS_H 1
|
|
13
|
+
|
|
14
|
+
#cmakedefine HAVE_MEMFD_CREATE 1
|
|
15
|
+
#cmakedefine HAVE_SECURE_GETENV 1
|
|
16
|
+
|
|
17
|
+
#cmakedefine SUPPORT_PCRE2_8 1
|
|
18
|
+
#cmakedefine SUPPORT_PCRE2_16 1
|
|
19
|
+
#cmakedefine SUPPORT_PCRE2_32 1
|
|
20
|
+
#cmakedefine DISABLE_PERCENT_ZT 1
|
|
21
|
+
|
|
22
|
+
#cmakedefine SUPPORT_LIBBZ2 1
|
|
23
|
+
#cmakedefine SUPPORT_LIBEDIT 1
|
|
24
|
+
#cmakedefine SUPPORT_LIBREADLINE 1
|
|
25
|
+
#cmakedefine SUPPORT_LIBZ 1
|
|
26
|
+
|
|
27
|
+
#cmakedefine SUPPORT_JIT 1
|
|
28
|
+
#cmakedefine SLJIT_PROT_EXECUTABLE_ALLOCATOR 1
|
|
29
|
+
#cmakedefine SUPPORT_PCRE2GREP_JIT 1
|
|
30
|
+
#cmakedefine SUPPORT_PCRE2GREP_CALLOUT 1
|
|
31
|
+
#cmakedefine SUPPORT_PCRE2GREP_CALLOUT_FORK 1
|
|
32
|
+
#cmakedefine SUPPORT_UNICODE 1
|
|
33
|
+
#cmakedefine SUPPORT_VALGRIND 1
|
|
34
|
+
|
|
35
|
+
#cmakedefine BSR_ANYCRLF 1
|
|
36
|
+
#cmakedefine EBCDIC 1
|
|
37
|
+
#cmakedefine EBCDIC_NL25 1
|
|
38
|
+
#cmakedefine EBCDIC_IGNORING_COMPILER 1
|
|
39
|
+
#cmakedefine NEVER_BACKSLASH_C 1
|
|
40
|
+
|
|
41
|
+
#define LINK_SIZE @PCRE2_LINK_SIZE@
|
|
42
|
+
#define HEAP_LIMIT @PCRE2_HEAP_LIMIT@
|
|
43
|
+
#define MATCH_LIMIT @PCRE2_MATCH_LIMIT@
|
|
44
|
+
#define MATCH_LIMIT_DEPTH @PCRE2_MATCH_LIMIT_DEPTH@
|
|
45
|
+
#define MAX_VARLOOKBEHIND @PCRE2_MAX_VARLOOKBEHIND@
|
|
46
|
+
#define NEWLINE_DEFAULT @NEWLINE_DEFAULT@
|
|
47
|
+
#define PARENS_NEST_LIMIT @PCRE2_PARENS_NEST_LIMIT@
|
|
48
|
+
#define PCRE2GREP_BUFSIZE @PCRE2GREP_BUFSIZE@
|
|
49
|
+
#define PCRE2GREP_MAX_BUFSIZE @PCRE2GREP_MAX_BUFSIZE@
|
|
50
|
+
|
|
51
|
+
#define MAX_NAME_SIZE 128
|
|
52
|
+
#define MAX_NAME_COUNT 10000
|
|
53
|
+
|
|
54
|
+
/* end config.h for CMake builds */
|