Skip to content

Commit

Permalink
fixup! KTOR-6754 bump libcurl 8.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dtretyakov committed Feb 25, 2024
1 parent 549b0bc commit 332dcaf
Show file tree
Hide file tree
Showing 64 changed files with 292 additions and 114 deletions.
@@ -1,27 +1,19 @@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Unicode character case mappings.
Copyright (C) 2002, 2009-2022 Free Software Foundation, Inc.
This file is free software.
It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+".
You can redistribute it and/or modify it under either
- the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3, or (at your
option) any later version, or
- the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version, or
- the same dual license "the GNU LGPLv3+ or the GNU GPLv2+".
Copyright (C) 2002, 2009-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
License, or (at your option) any later version.
This file is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License and the GNU General Public License
for more details.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License and of the GNU General Public License along with this
program. If not, see <https://www.gnu.org/licenses/>. */
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */

#ifndef _UNICASE_H
#define _UNICASE_H
Expand All @@ -37,6 +29,12 @@
/* Get uninorm_t. */
#include "uninorm.h"

#if 1
# include <unistring/woe32dll.h>
#else
# define LIBUNISTRING_DLL_VARIABLE
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
@@ -1,6 +1,6 @@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Conversions between Unicode and legacy encodings.
Copyright (C) 2002, 2005, 2007, 2009-2022 Free Software Foundation, Inc.
Copyright (C) 2002, 2005, 2007, 2009-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
Expand Down
@@ -1,6 +1,6 @@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Unicode character classification and properties.
Copyright (C) 2002, 2005-2022 Free Software Foundation, Inc.
Copyright (C) 2002, 2005-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
Expand All @@ -20,15 +20,18 @@

#include "unitypes.h"

/* Get LIBUNISTRING_DLL_VARIABLE. */
#include <unistring/woe32dll.h>

/* Get bool. */
#include <unistring/stdbool.h>

/* Get size_t. */
#include <stddef.h>

#if 1
# include <unistring/woe32dll.h>
#else
# define LIBUNISTRING_DLL_VARIABLE
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -638,6 +641,8 @@ extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_ID_CONTINUE;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_OTHER_ID_CONTINUE;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_XID_START;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_XID_CONTINUE;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_ID_COMPAT_MATH_START;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_ID_COMPAT_MATH_CONTINUE;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_PATTERN_WHITE_SPACE;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_PATTERN_SYNTAX;
/* Shaping and rendering. */
Expand Down Expand Up @@ -671,6 +676,7 @@ extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_ASCII_HEX_DIGIT
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_IDEOGRAPHIC;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_UNIFIED_IDEOGRAPH;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_RADICAL;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_IDS_UNARY_OPERATOR;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_IDS_BINARY_OPERATOR;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_IDS_TRINARY_OPERATOR;
/* Emoji. */
Expand All @@ -686,6 +692,7 @@ extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_SPACE;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_NON_BREAK;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_ISO_CONTROL;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_FORMAT_CONTROL;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_PREPENDED_CONCATENATION_MARK;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_DASH;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_HYPHEN;
extern LIBUNISTRING_DLL_VARIABLE const uc_property_t UC_PROPERTY_PUNCTUATION;
Expand Down Expand Up @@ -778,6 +785,10 @@ extern bool uc_is_property_xid_start (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_xid_continue (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_id_compat_math_start (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_id_compat_math_continue (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_pattern_white_space (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_pattern_syntax (ucs4_t uc)
Expand Down Expand Up @@ -836,6 +847,8 @@ extern bool uc_is_property_unified_ideograph (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_radical (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_ids_unary_operator (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_ids_binary_operator (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_ids_trinary_operator (ucs4_t uc)
Expand All @@ -862,6 +875,8 @@ extern bool uc_is_property_iso_control (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_format_control (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_prepended_concatenation_mark (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_dash (ucs4_t uc)
_UC_ATTRIBUTE_CONST;
extern bool uc_is_property_hyphen (ucs4_t uc)
Expand Down Expand Up @@ -907,6 +922,40 @@ extern bool uc_is_property_regional_indicator (ucs4_t uc)

/* ========================================================================= */

/* Other attributes. */

/* ------------------------------------------------------------------------- */

/* Indic_Conjunct_Break (InCB): from the file DerivedCoreProperties.txt
in the Unicode Character Database. */

/* Possible values of the Indic_Conjunct_Break attribute.
This enumeration may be extended in the future. */
enum
{
UC_INDIC_CONJUNCT_BREAK_NONE, /* None */
UC_INDIC_CONJUNCT_BREAK_CONSONANT, /* Consonant */
UC_INDIC_CONJUNCT_BREAK_LINKER, /* Linker */
UC_INDIC_CONJUNCT_BREAK_EXTEND /* Extend */
};

/* Return the name of an Indic_Conjunct_Break value. */
extern const char *
uc_indic_conjunct_break_name (int indic_conjunct_break)
_UC_ATTRIBUTE_CONST;

/* Return the Indic_Conjunct_Break value given by name, e.g. "Consonant". */
extern int
uc_indic_conjunct_break_byname (const char *indic_conjunct_break_name)
_UC_ATTRIBUTE_PURE;

/* Return the Indic_Conjunct_Break attribute of a Unicode character. */
extern int
uc_indic_conjunct_break (ucs4_t uc)
_UC_ATTRIBUTE_CONST;

/* ========================================================================= */

/* Subdivision of the Unicode characters into scripts. */

typedef struct
Expand Down
@@ -1,6 +1,6 @@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Grapheme cluster breaks in Unicode strings.
Copyright (C) 2010-2022 Free Software Foundation, Inc.
Copyright (C) 2010-2024 Free Software Foundation, Inc.
Written by Ben Pfaff <blp@cs.stanford.edu>, 2010.
This file is free software.
Expand Down Expand Up @@ -89,14 +89,19 @@ extern int
Implements extended (not legacy) grapheme cluster rules, because UAX #29
indicates that they are preferred.
Note: This function does not work right with syllables in Indic scripts or
emojis, because it does not look at the characters before A and after B.
Use A == 0 or B == 0 to indicate start of text or end of text,
respectively. */
extern bool
uc_is_grapheme_break (ucs4_t a, ucs4_t b)
_UC_ATTRIBUTE_CONST;

/* Returns the start of the next grapheme cluster following S, or NULL if the
end of the string has been reached. */
end of the string has been reached.
Note: These functions do not work right with syllables in Indic scripts or
emojis, because they do not consider the characters before S. */
extern const uint8_t *
u8_grapheme_next (const uint8_t *s, const uint8_t *end)
_UC_ATTRIBUTE_PURE;
Expand All @@ -108,7 +113,9 @@ extern const uint32_t *
_UC_ATTRIBUTE_PURE;

/* Returns the start of the previous grapheme cluster before S, or NULL if the
start of the string has been reached. */
start of the string has been reached.
Note: These functions do not work right with syllables in Indic scripts or
emojis, because they do not consider the characters at or after S. */
extern const uint8_t *
u8_grapheme_prev (const uint8_t *s, const uint8_t *start)
_UC_ATTRIBUTE_PURE;
Expand Down
@@ -1,6 +1,6 @@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Line breaking of Unicode strings.
Copyright (C) 2001-2003, 2005-2022 Free Software Foundation, Inc.
Copyright (C) 2001-2003, 2005-2024 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2001.
This file is free software.
Expand Down
@@ -1,6 +1,6 @@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Association between Unicode characters and their names.
Copyright (C) 2000-2002, 2005, 2007, 2009-2022 Free Software Foundation,
Copyright (C) 2000-2002, 2005, 2007, 2009-2024 Free Software Foundation,
Inc.
This file is free software.
Expand Down
@@ -1,6 +1,6 @@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Normalization forms (composition and decomposition) of Unicode strings.
Copyright (C) 2001-2002, 2009-2022 Free Software Foundation, Inc.
Copyright (C) 2001-2002, 2009-2024 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2009.
This file is free software: you can redistribute it and/or modify
Expand All @@ -22,14 +22,17 @@
/* Get common macros for C. */
#include <unistring/cdefs.h>

/* Get LIBUNISTRING_DLL_VARIABLE. */
#include <unistring/woe32dll.h>

/* Get size_t. */
#include <stddef.h>

#include "unitypes.h"

#if 1
# include <unistring/woe32dll.h>
#else
# define LIBUNISTRING_DLL_VARIABLE
#endif


#ifdef __cplusplus
extern "C" {
Expand Down
@@ -1,6 +1,6 @@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Elementary Unicode string functions.
Copyright (C) 2002, 2005-2007, 2009-2022 Free Software Foundation, Inc.
Copyright (C) 2002, 2005-2007, 2009-2024 Free Software Foundation, Inc.
This file is free software.
It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+".
Expand Down
@@ -1,6 +1,6 @@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Elementary Unicode string functions.
Copyright (C) 2001-2002, 2005-2022 Free Software Foundation, Inc.
Copyright (C) 2001-2002, 2005-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
Expand Down Expand Up @@ -387,6 +387,15 @@ extern uint16_t *
extern uint32_t *
u32_cpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src, size_t n);

/* Copy N units from SRC to DEST, returning pointer after last written unit. */
/* Similar to mempcpy(). */
extern uint8_t *
u8_pcpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src, size_t n);
extern uint16_t *
u16_pcpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src, size_t n);
extern uint32_t *
u32_pcpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src, size_t n);

/* Copy N units from SRC to DEST, guaranteeing correct behavior for
overlapping memory areas. */
/* Similar to memmove(). */
Expand Down
@@ -1,5 +1,5 @@
/* Common macro definitions for C include files.
Copyright (C) 2008-2021 Free Software Foundation, Inc.
Copyright (C) 2008-2023 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or
modify it under the terms of either:
Expand Down Expand Up @@ -74,36 +74,58 @@

#if (defined __has_attribute \
&& (!defined __clang_minor__ \
|| 3 < __clang_major__ + (5 <= __clang_minor__)))
|| (defined __apple_build_version__ \
? 6000000 <= __apple_build_version__ \
: 5 <= __clang_major__)))
# define _UC_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
#else
# define _UC_HAS_ATTRIBUTE(attr) _UC_ATTR_##attr
# define _UC_ATTR_malloc _UC_GNUC_PREREQ (3, 0)
# define _UC_ATTR_unused _UC_GNUC_PREREQ (2, 7)
#endif

#ifdef __has_c_attribute
# define _UC_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__)
#ifdef __cplusplus
# if defined __clang__
# define _UC_BRACKET_BEFORE_ATTRIBUTE 1
# endif
#else
# define _UC_HAS_C_ATTRIBUTE(attr) 0
# if defined __GNUC__ && !defined __clang__
# define _UC_BRACKET_BEFORE_ATTRIBUTE 1
# endif
#endif

#if _UC_GNUC_PREREQ (11, 0)
# define _UC_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i)))
#else
# define _UC_ATTRIBUTE_DEALLOC(f, i)
#endif
#define _UC_ATTRIBUTE_DEALLOC_FREE _UC_ATTRIBUTE_DEALLOC (free, 1)
#if defined __cplusplus && defined __GNUC__ && !defined __clang__
/* Work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108231> */
# define _UC_ATTRIBUTE_DEALLOC_FREE \
_UC_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1)
#else
# define _UC_ATTRIBUTE_DEALLOC_FREE \
_UC_ATTRIBUTE_DEALLOC (free, 1)
#endif

#if _UC_HAS_ATTRIBUTE (malloc)
# define _UC_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
#else
# define _UC_ATTRIBUTE_MALLOC
#endif

#if _UC_HAS_C_ATTRIBUTE (maybe_unused)
# define _UC_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
#else
#ifndef _UC_BRACKET_BEFORE_ATTRIBUTE
# if defined __clang__ && defined __cplusplus
# if !defined __apple_build_version__ && __clang_major__ >= 10
# define _UC_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
# endif
# elif defined __has_c_attribute
# if __has_c_attribute (__maybe_unused__)
# define _UC_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
# endif
# endif
#endif
#ifndef _UC_ATTRIBUTE_MAYBE_UNUSED
# define _UC_ATTRIBUTE_MAYBE_UNUSED _UC_ATTRIBUTE_UNUSED
#endif

Expand Down
@@ -1,5 +1,5 @@
/* Character set conversion handler type.
Copyright (C) 2001-2007, 2009-2022 Free Software Foundation, Inc.
Copyright (C) 2001-2007, 2009-2024 Free Software Foundation, Inc.
Written by Bruno Haible.
This file is free software: you can redistribute it and/or modify
Expand Down

0 comments on commit 332dcaf

Please sign in to comment.