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.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rugged/version.rb +1 -1
  3. data/vendor/libgit2/CMakeLists.txt +1 -1
  4. data/vendor/libgit2/COPYING +83 -11
  5. data/vendor/libgit2/cmake/SelectRegex.cmake +8 -3
  6. data/vendor/libgit2/deps/pcre2/CMakeLists.txt +110 -0
  7. data/vendor/libgit2/deps/pcre2/LICENCE.md +104 -0
  8. data/vendor/libgit2/deps/pcre2/config.h.in +54 -0
  9. data/vendor/libgit2/deps/pcre2/pcre2.h +1079 -0
  10. data/vendor/libgit2/deps/pcre2/pcre2_auto_possess.c +1416 -0
  11. data/vendor/libgit2/deps/{pcre/pcre_chartables.c → pcre2/pcre2_chartables.c} +41 -47
  12. data/vendor/libgit2/deps/{pcre/pcre_ord2utf8.c → pcre2/pcre2_chkdint.c} +36 -36
  13. data/vendor/libgit2/deps/pcre2/pcre2_compile.c +11345 -0
  14. data/vendor/libgit2/deps/pcre2/pcre2_compile.h +356 -0
  15. data/vendor/libgit2/deps/pcre2/pcre2_compile_cgroup.c +632 -0
  16. data/vendor/libgit2/deps/pcre2/pcre2_compile_class.c +2777 -0
  17. data/vendor/libgit2/deps/pcre2/pcre2_config.c +250 -0
  18. data/vendor/libgit2/deps/pcre2/pcre2_context.c +557 -0
  19. data/vendor/libgit2/deps/pcre2/pcre2_convert.c +1263 -0
  20. data/vendor/libgit2/deps/{pcre/pcre_dfa_exec.c → pcre2/pcre2_dfa_match.c} +1402 -943
  21. data/vendor/libgit2/deps/pcre2/pcre2_error.c +384 -0
  22. data/vendor/libgit2/deps/pcre2/pcre2_extuni.c +159 -0
  23. data/vendor/libgit2/deps/pcre2/pcre2_find_bracket.c +217 -0
  24. data/vendor/libgit2/deps/pcre2/pcre2_fuzzsupport.c +844 -0
  25. data/vendor/libgit2/deps/pcre2/pcre2_internal.h +2353 -0
  26. data/vendor/libgit2/deps/pcre2/pcre2_intmodedep.h +1044 -0
  27. data/vendor/libgit2/deps/pcre2/pcre2_maketables.c +177 -0
  28. data/vendor/libgit2/deps/pcre2/pcre2_match.c +8244 -0
  29. data/vendor/libgit2/deps/pcre2/pcre2_match_data.c +184 -0
  30. data/vendor/libgit2/deps/pcre2/pcre2_match_next.c +171 -0
  31. data/vendor/libgit2/deps/{pcre/pcre_newline.c → pcre2/pcre2_newline.c} +92 -63
  32. data/vendor/libgit2/deps/{pcre/pcre_refcount.c → pcre2/pcre2_ord2utf.c} +64 -38
  33. data/vendor/libgit2/deps/pcre2/pcre2_pattern_info.c +430 -0
  34. data/vendor/libgit2/deps/pcre2/pcre2_printint_inc.h +1098 -0
  35. data/vendor/libgit2/deps/pcre2/pcre2_script_run.c +344 -0
  36. data/vendor/libgit2/deps/pcre2/pcre2_serialize.c +284 -0
  37. data/vendor/libgit2/deps/pcre2/pcre2_string_utils.c +199 -0
  38. data/vendor/libgit2/deps/pcre2/pcre2_study.c +2087 -0
  39. data/vendor/libgit2/deps/pcre2/pcre2_substitute.c +1761 -0
  40. data/vendor/libgit2/deps/pcre2/pcre2_substring.c +553 -0
  41. data/vendor/libgit2/deps/pcre2/pcre2_tables.c +310 -0
  42. data/vendor/libgit2/deps/pcre2/pcre2_ucd.c +5805 -0
  43. data/vendor/libgit2/deps/pcre2/pcre2_ucp.h +408 -0
  44. data/vendor/libgit2/deps/pcre2/pcre2_ucptables_inc.h +1596 -0
  45. data/vendor/libgit2/deps/pcre2/pcre2_util.h +179 -0
  46. data/vendor/libgit2/deps/pcre2/pcre2_valid_utf.c +397 -0
  47. data/vendor/libgit2/deps/pcre2/pcre2_xclass.c +547 -0
  48. data/vendor/libgit2/include/git2/common.h +13 -1
  49. data/vendor/libgit2/include/git2/version.h +2 -2
  50. data/vendor/libgit2/src/libgit2/blame.c +6 -0
  51. data/vendor/libgit2/src/libgit2/delta.c +8 -0
  52. data/vendor/libgit2/src/libgit2/indexer.c +3 -2
  53. data/vendor/libgit2/src/libgit2/settings.c +9 -0
  54. data/vendor/libgit2/src/libgit2/streams/openssl.c +4 -1
  55. data/vendor/libgit2/src/libgit2/submodule.c +77 -12
  56. data/vendor/libgit2/src/libgit2/transports/http.c +4 -4
  57. data/vendor/libgit2/src/libgit2/transports/smart_pkt.c +2 -1
  58. data/vendor/libgit2/src/util/fs_path.h +10 -10
  59. data/vendor/libgit2/src/util/regexp.c +27 -12
  60. data/vendor/libgit2/src/util/regexp.h +7 -2
  61. metadata +44 -37
  62. data/vendor/libgit2/deps/pcre/CMakeLists.txt +0 -140
  63. data/vendor/libgit2/deps/pcre/COPYING +0 -5
  64. data/vendor/libgit2/deps/pcre/LICENCE +0 -93
  65. data/vendor/libgit2/deps/pcre/cmake/COPYING-CMAKE-SCRIPTS +0 -22
  66. data/vendor/libgit2/deps/pcre/cmake/FindEditline.cmake +0 -17
  67. data/vendor/libgit2/deps/pcre/cmake/FindPackageHandleStandardArgs.cmake +0 -58
  68. data/vendor/libgit2/deps/pcre/cmake/FindReadline.cmake +0 -29
  69. data/vendor/libgit2/deps/pcre/config.h.in +0 -57
  70. data/vendor/libgit2/deps/pcre/pcre.h +0 -641
  71. data/vendor/libgit2/deps/pcre/pcre_byte_order.c +0 -319
  72. data/vendor/libgit2/deps/pcre/pcre_compile.c +0 -9815
  73. data/vendor/libgit2/deps/pcre/pcre_config.c +0 -190
  74. data/vendor/libgit2/deps/pcre/pcre_exec.c +0 -7173
  75. data/vendor/libgit2/deps/pcre/pcre_fullinfo.c +0 -245
  76. data/vendor/libgit2/deps/pcre/pcre_get.c +0 -669
  77. data/vendor/libgit2/deps/pcre/pcre_globals.c +0 -86
  78. data/vendor/libgit2/deps/pcre/pcre_internal.h +0 -2787
  79. data/vendor/libgit2/deps/pcre/pcre_jit_compile.c +0 -11913
  80. data/vendor/libgit2/deps/pcre/pcre_maketables.c +0 -156
  81. data/vendor/libgit2/deps/pcre/pcre_printint.c +0 -834
  82. data/vendor/libgit2/deps/pcre/pcre_string_utils.c +0 -211
  83. data/vendor/libgit2/deps/pcre/pcre_study.c +0 -1686
  84. data/vendor/libgit2/deps/pcre/pcre_tables.c +0 -727
  85. data/vendor/libgit2/deps/pcre/pcre_ucd.c +0 -3644
  86. data/vendor/libgit2/deps/pcre/pcre_valid_utf8.c +0 -301
  87. data/vendor/libgit2/deps/pcre/pcre_version.c +0 -98
  88. data/vendor/libgit2/deps/pcre/pcre_xclass.c +0 -268
  89. data/vendor/libgit2/deps/pcre/pcreposix.c +0 -420
  90. data/vendor/libgit2/deps/pcre/pcreposix.h +0 -117
  91. data/vendor/libgit2/deps/pcre/ucp.h +0 -224
@@ -1,93 +0,0 @@
1
- PCRE LICENCE
2
- ------------
3
-
4
- PCRE is a library of functions to support regular expressions whose syntax
5
- and semantics are as close as possible to those of the Perl 5 language.
6
-
7
- Release 8 of PCRE is distributed under the terms of the "BSD" licence, as
8
- specified below. The documentation for PCRE, supplied in the "doc"
9
- directory, is distributed under the same terms as the software itself. The data
10
- in the testdata directory is not copyrighted and is in the public domain.
11
-
12
- The basic library functions are written in C and are freestanding. Also
13
- included in the distribution is a set of C++ wrapper functions, and a
14
- just-in-time compiler that can be used to optimize pattern matching. These
15
- are both optional features that can be omitted when the library is built.
16
-
17
-
18
- THE BASIC LIBRARY FUNCTIONS
19
- ---------------------------
20
-
21
- Written by: Philip Hazel
22
- Email local part: Philip.Hazel
23
- Email domain: gmail.com
24
-
25
- University of Cambridge Computing Service,
26
- Cambridge, England.
27
-
28
- Copyright (c) 1997-2021 University of Cambridge
29
- All rights reserved.
30
-
31
-
32
- PCRE JUST-IN-TIME COMPILATION SUPPORT
33
- -------------------------------------
34
-
35
- Written by: Zoltan Herczeg
36
- Email local part: hzmester
37
- Email domain: freemail.hu
38
-
39
- Copyright(c) 2010-2021 Zoltan Herczeg
40
- All rights reserved.
41
-
42
-
43
- STACK-LESS JUST-IN-TIME COMPILER
44
- --------------------------------
45
-
46
- Written by: Zoltan Herczeg
47
- Email local part: hzmester
48
- Email domain: freemail.hu
49
-
50
- Copyright(c) 2009-2021 Zoltan Herczeg
51
- All rights reserved.
52
-
53
-
54
- THE C++ WRAPPER FUNCTIONS
55
- -------------------------
56
-
57
- Contributed by: Google Inc.
58
-
59
- Copyright (c) 2007-2012, Google Inc.
60
- All rights reserved.
61
-
62
-
63
- THE "BSD" LICENCE
64
- -----------------
65
-
66
- Redistribution and use in source and binary forms, with or without
67
- modification, are permitted provided that the following conditions are met:
68
-
69
- * Redistributions of source code must retain the above copyright notice,
70
- this list of conditions and the following disclaimer.
71
-
72
- * Redistributions in binary form must reproduce the above copyright
73
- notice, this list of conditions and the following disclaimer in the
74
- documentation and/or other materials provided with the distribution.
75
-
76
- * Neither the name of the University of Cambridge nor the name of Google
77
- Inc. nor the names of their contributors may be used to endorse or
78
- promote products derived from this software without specific prior
79
- written permission.
80
-
81
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
82
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
83
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
84
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
85
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
86
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
87
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
88
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
89
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
90
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
91
- POSSIBILITY OF SUCH DAMAGE.
92
-
93
- End
@@ -1,22 +0,0 @@
1
- Redistribution and use in source and binary forms, with or without
2
- modification, are permitted provided that the following conditions
3
- are met:
4
-
5
- 1. Redistributions of source code must retain the copyright
6
- notice, this list of conditions and the following disclaimer.
7
- 2. Redistributions in binary form must reproduce the copyright
8
- notice, this list of conditions and the following disclaimer in the
9
- documentation and/or other materials provided with the distribution.
10
- 3. The name of the author may not be used to endorse or promote products
11
- derived from this software without specific prior written permission.
12
-
13
- THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14
- IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16
- IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18
- NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22
- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,17 +0,0 @@
1
- # Modified from FindReadline.cmake (PH Feb 2012)
2
-
3
- if(EDITLINE_INCLUDE_DIR AND EDITLINE_LIBRARY AND NCURSES_LIBRARY)
4
- set(EDITLINE_FOUND TRUE)
5
- else(EDITLINE_INCLUDE_DIR AND EDITLINE_LIBRARY AND NCURSES_LIBRARY)
6
- FIND_PATH(EDITLINE_INCLUDE_DIR readline.h
7
- /usr/include/editline
8
- /usr/include/edit/readline
9
- /usr/include/readline
10
- )
11
-
12
- FIND_LIBRARY(EDITLINE_LIBRARY NAMES edit)
13
- include(FindPackageHandleStandardArgs)
14
- FIND_PACKAGE_HANDLE_STANDARD_ARGS(Editline DEFAULT_MSG EDITLINE_INCLUDE_DIR EDITLINE_LIBRARY )
15
-
16
- MARK_AS_ADVANCED(EDITLINE_INCLUDE_DIR EDITLINE_LIBRARY)
17
- endif(EDITLINE_INCLUDE_DIR AND EDITLINE_LIBRARY AND NCURSES_LIBRARY)
@@ -1,58 +0,0 @@
1
- # FIND_PACKAGE_HANDLE_STANDARD_ARGS(NAME (DEFAULT_MSG|"Custom failure message") VAR1 ... )
2
- # This macro is intended to be used in FindXXX.cmake modules files.
3
- # It handles the REQUIRED and QUIET argument to FIND_PACKAGE() and
4
- # it also sets the <UPPERCASED_NAME>_FOUND variable.
5
- # The package is found if all variables listed are TRUE.
6
- # Example:
7
- #
8
- # FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 DEFAULT_MSG LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
9
- #
10
- # LibXml2 is considered to be found, if both LIBXML2_LIBRARIES and
11
- # LIBXML2_INCLUDE_DIR are valid. Then also LIBXML2_FOUND is set to TRUE.
12
- # If it is not found and REQUIRED was used, it fails with FATAL_ERROR,
13
- # independent whether QUIET was used or not.
14
- # If it is found, the location is reported using the VAR1 argument, so
15
- # here a message "Found LibXml2: /usr/lib/libxml2.so" will be printed out.
16
- # If the second argument is DEFAULT_MSG, the message in the failure case will
17
- # be "Could NOT find LibXml2", if you don't like this message you can specify
18
- # your own custom failure message there.
19
-
20
- MACRO(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FAIL_MSG _VAR1 )
21
-
22
- IF("${_FAIL_MSG}" STREQUAL "DEFAULT_MSG")
23
- IF (${_NAME}_FIND_REQUIRED)
24
- SET(_FAIL_MESSAGE "Could not find REQUIRED package ${_NAME}")
25
- ELSE (${_NAME}_FIND_REQUIRED)
26
- SET(_FAIL_MESSAGE "Could not find OPTIONAL package ${_NAME}")
27
- ENDIF (${_NAME}_FIND_REQUIRED)
28
- ELSE("${_FAIL_MSG}" STREQUAL "DEFAULT_MSG")
29
- SET(_FAIL_MESSAGE "${_FAIL_MSG}")
30
- ENDIF("${_FAIL_MSG}" STREQUAL "DEFAULT_MSG")
31
-
32
- STRING(TOUPPER ${_NAME} _NAME_UPPER)
33
-
34
- SET(${_NAME_UPPER}_FOUND TRUE)
35
- IF(NOT ${_VAR1})
36
- SET(${_NAME_UPPER}_FOUND FALSE)
37
- ENDIF(NOT ${_VAR1})
38
-
39
- FOREACH(_CURRENT_VAR ${ARGN})
40
- IF(NOT ${_CURRENT_VAR})
41
- SET(${_NAME_UPPER}_FOUND FALSE)
42
- ENDIF(NOT ${_CURRENT_VAR})
43
- ENDFOREACH(_CURRENT_VAR)
44
-
45
- IF (${_NAME_UPPER}_FOUND)
46
- IF (NOT ${_NAME}_FIND_QUIETLY)
47
- MESSAGE(STATUS "Found ${_NAME}: ${${_VAR1}}")
48
- ENDIF (NOT ${_NAME}_FIND_QUIETLY)
49
- ELSE (${_NAME_UPPER}_FOUND)
50
- IF (${_NAME}_FIND_REQUIRED)
51
- MESSAGE(FATAL_ERROR "${_FAIL_MESSAGE}")
52
- ELSE (${_NAME}_FIND_REQUIRED)
53
- IF (NOT ${_NAME}_FIND_QUIETLY)
54
- MESSAGE(STATUS "${_FAIL_MESSAGE}")
55
- ENDIF (NOT ${_NAME}_FIND_QUIETLY)
56
- ENDIF (${_NAME}_FIND_REQUIRED)
57
- ENDIF (${_NAME_UPPER}_FOUND)
58
- ENDMACRO(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
@@ -1,29 +0,0 @@
1
- # from http://websvn.kde.org/trunk/KDE/kdeedu/cmake/modules/FindReadline.cmake
2
- # http://websvn.kde.org/trunk/KDE/kdeedu/cmake/modules/COPYING-CMAKE-SCRIPTS
3
- # --> BSD licensed
4
- #
5
- # GNU Readline library finder
6
- if(READLINE_INCLUDE_DIR AND READLINE_LIBRARY AND NCURSES_LIBRARY)
7
- set(READLINE_FOUND TRUE)
8
- else(READLINE_INCLUDE_DIR AND READLINE_LIBRARY AND NCURSES_LIBRARY)
9
- FIND_PATH(READLINE_INCLUDE_DIR readline/readline.h
10
- /usr/include/readline
11
- )
12
-
13
- # 2008-04-22 The next clause used to read like this:
14
- #
15
- # FIND_LIBRARY(READLINE_LIBRARY NAMES readline)
16
- # FIND_LIBRARY(NCURSES_LIBRARY NAMES ncurses )
17
- # include(FindPackageHandleStandardArgs)
18
- # FIND_PACKAGE_HANDLE_STANDARD_ARGS(Readline DEFAULT_MSG NCURSES_LIBRARY READLINE_INCLUDE_DIR READLINE_LIBRARY )
19
- #
20
- # I was advised to modify it such that it will find an ncurses library if
21
- # required, but not if one was explicitly given, that is, it allows the
22
- # default to be overridden. PH
23
-
24
- FIND_LIBRARY(READLINE_LIBRARY NAMES readline)
25
- include(FindPackageHandleStandardArgs)
26
- FIND_PACKAGE_HANDLE_STANDARD_ARGS(Readline DEFAULT_MSG READLINE_INCLUDE_DIR READLINE_LIBRARY )
27
-
28
- MARK_AS_ADVANCED(READLINE_INCLUDE_DIR READLINE_LIBRARY)
29
- endif(READLINE_INCLUDE_DIR AND READLINE_LIBRARY AND NCURSES_LIBRARY)
@@ -1,57 +0,0 @@
1
- /* config.h for CMake builds */
2
-
3
- #cmakedefine HAVE_DIRENT_H 1
4
- #cmakedefine HAVE_SYS_STAT_H 1
5
- #cmakedefine HAVE_SYS_TYPES_H 1
6
- #cmakedefine HAVE_UNISTD_H 1
7
- #cmakedefine HAVE_WINDOWS_H 1
8
- #cmakedefine HAVE_STDINT_H 1
9
- #cmakedefine HAVE_INTTYPES_H 1
10
-
11
- #cmakedefine HAVE_TYPE_TRAITS_H 1
12
- #cmakedefine HAVE_BITS_TYPE_TRAITS_H 1
13
-
14
- #cmakedefine HAVE_BCOPY 1
15
- #cmakedefine HAVE_MEMMOVE 1
16
- #cmakedefine HAVE_STRERROR 1
17
- #cmakedefine HAVE_STRTOLL 1
18
- #cmakedefine HAVE_STRTOQ 1
19
- #cmakedefine HAVE__STRTOI64 1
20
-
21
- #cmakedefine PCRE_STATIC 1
22
-
23
- #cmakedefine SUPPORT_PCRE8 1
24
- #cmakedefine SUPPORT_PCRE16 1
25
- #cmakedefine SUPPORT_PCRE32 1
26
- #cmakedefine SUPPORT_JIT 1
27
- #cmakedefine SUPPORT_PCREGREP_JIT 1
28
- #cmakedefine SUPPORT_UTF 1
29
- #cmakedefine SUPPORT_UCP 1
30
- #cmakedefine EBCDIC 1
31
- #cmakedefine EBCDIC_NL25 1
32
- #cmakedefine BSR_ANYCRLF 1
33
- #cmakedefine NO_RECURSE 1
34
-
35
- #cmakedefine HAVE_LONG_LONG 1
36
- #cmakedefine HAVE_UNSIGNED_LONG_LONG 1
37
-
38
- #cmakedefine SUPPORT_LIBBZ2 1
39
- #cmakedefine SUPPORT_LIBZ 1
40
- #cmakedefine SUPPORT_LIBEDIT 1
41
- #cmakedefine SUPPORT_LIBREADLINE 1
42
-
43
- #cmakedefine SUPPORT_VALGRIND 1
44
- #cmakedefine SUPPORT_GCOV 1
45
-
46
- #define NEWLINE @NEWLINE@
47
- #define POSIX_MALLOC_THRESHOLD @PCRE_POSIX_MALLOC_THRESHOLD@
48
- #define LINK_SIZE @PCRE_LINK_SIZE@
49
- #define PARENS_NEST_LIMIT @PCRE_PARENS_NEST_LIMIT@
50
- #define MATCH_LIMIT @PCRE_MATCH_LIMIT@
51
- #define MATCH_LIMIT_RECURSION @PCRE_MATCH_LIMIT_RECURSION@
52
- #define PCREGREP_BUFSIZE @PCREGREP_BUFSIZE@
53
-
54
- #define MAX_NAME_SIZE 32
55
- #define MAX_NAME_COUNT 10000
56
-
57
- /* end config.h for CMake builds */