@revizly/sharp-libvips-dev 1.0.51 → 1.0.52
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.
- package/include/cairo/cairo-version.h +1 -1
- package/include/cairo/cairo.h +1 -1
- package/include/expat.h +7 -1
- package/include/expat_config.h +3 -3
- package/include/expat_external.h +12 -0
- package/include/fontconfig/fontconfig.h +1 -1
- package/include/fribidi/fribidi-arabic.h +1 -2
- package/include/fribidi/fribidi-bidi-types.h +8 -2
- package/include/fribidi/fribidi-brackets.h +1 -1
- package/include/fribidi/fribidi-char-sets.h +2 -2
- package/include/fribidi/fribidi-config.h +2 -2
- package/include/fribidi/fribidi-joining-types.h +2 -2
- package/include/fribidi/fribidi-unicode-version.h +2 -2
- package/include/fribidi/fribidi.h +2 -2
- package/include/harfbuzz/hb-common.h +19 -0
- package/include/harfbuzz/hb-draw.h +113 -0
- package/include/harfbuzz/hb-paint.h +113 -0
- package/include/harfbuzz/hb-script-list.h +10 -0
- package/include/harfbuzz/hb-version.h +2 -2
- package/include/libheif/heif_image.h +9 -0
- package/include/libheif/heif_version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg.h +4 -3
- package/include/svt-av1/EbConfigMacros.h +234 -3
- package/include/svt-av1/EbDebugMacros.h +8 -2
- package/include/svt-av1/EbSvtAv1.h +49 -1
- package/include/svt-av1/EbSvtAv1Enc.h +150 -38
- package/include/vips/version.h +4 -4
- package/package.json +1 -1
- package/versions.json +9 -9
package/include/cairo/cairo.h
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
#if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(CAIRO_WIN32_STATIC_BUILD)
|
|
54
54
|
# define _cairo_export __declspec(dllexport)
|
|
55
55
|
# define _cairo_import __declspec(dllimport)
|
|
56
|
-
#elif defined(__GNUC__)
|
|
56
|
+
#elif defined(__GNUC__)
|
|
57
57
|
# define _cairo_export __attribute__((__visibility__("default")))
|
|
58
58
|
# define _cairo_import
|
|
59
59
|
#else
|
package/include/expat.h
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
Copyright (c) 2023 Sony Corporation / Snild Dolkow <snild@sony.com>
|
|
21
21
|
Copyright (c) 2024 Taichi Haradaguchi <20001722@ymail.ne.jp>
|
|
22
22
|
Copyright (c) 2025 Matthew Fernandez <matthew.fernandez@gmail.com>
|
|
23
|
+
Copyright (c) 2026 Braian Plaku <braianplaku@gmail.com>
|
|
23
24
|
Licensed under the MIT license:
|
|
24
25
|
|
|
25
26
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
@@ -921,7 +922,9 @@ XML_SetParamEntityParsing(XML_Parser parser,
|
|
|
921
922
|
Returns 1 if successful, 0 when called after parsing has started.
|
|
922
923
|
Note: If parser == NULL, the function will do nothing and return 0.
|
|
923
924
|
DEPRECATED since Expat 2.8.0.
|
|
925
|
+
Please use XML_SetHashSalt16Bytes instead.
|
|
924
926
|
*/
|
|
927
|
+
XML_ATTR_DEPRECATED("please use XML_SetHashSalt16Bytes instead")
|
|
925
928
|
XMLPARSEAPI(int)
|
|
926
929
|
XML_SetHashSalt(XML_Parser parser, unsigned long hash_salt);
|
|
927
930
|
|
|
@@ -1040,8 +1043,11 @@ enum XML_FeatureEnum {
|
|
|
1040
1043
|
XML_FEATURE_MIN_SIZE,
|
|
1041
1044
|
XML_FEATURE_SIZEOF_XML_CHAR,
|
|
1042
1045
|
XML_FEATURE_SIZEOF_XML_LCHAR,
|
|
1046
|
+
/* Added in Expat 2.0.0. */
|
|
1043
1047
|
XML_FEATURE_NS,
|
|
1048
|
+
/* Added in Expat 2.0.1. */
|
|
1044
1049
|
XML_FEATURE_LARGE_SIZE,
|
|
1050
|
+
/* Added in Expat 2.1.0. */
|
|
1045
1051
|
XML_FEATURE_ATTR_INFO,
|
|
1046
1052
|
/* Added in Expat 2.4.0. */
|
|
1047
1053
|
XML_FEATURE_BILLION_LAUGHS_ATTACK_PROTECTION_MAXIMUM_AMPLIFICATION_DEFAULT,
|
|
@@ -1096,7 +1102,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
|
|
|
1096
1102
|
*/
|
|
1097
1103
|
# define XML_MAJOR_VERSION 2
|
|
1098
1104
|
# define XML_MINOR_VERSION 8
|
|
1099
|
-
# define XML_MICRO_VERSION
|
|
1105
|
+
# define XML_MICRO_VERSION 5
|
|
1100
1106
|
|
|
1101
1107
|
# ifdef __cplusplus
|
|
1102
1108
|
}
|
package/include/expat_config.h
CHANGED
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
#define PACKAGE_NAME "expat"
|
|
84
84
|
|
|
85
85
|
/* Define to the full name and version of this package. */
|
|
86
|
-
#define PACKAGE_STRING "expat 2.8.
|
|
86
|
+
#define PACKAGE_STRING "expat 2.8.5"
|
|
87
87
|
|
|
88
88
|
/* Define to the one symbol short name of this package. */
|
|
89
89
|
#define PACKAGE_TARNAME "expat"
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
#define PACKAGE_URL ""
|
|
93
93
|
|
|
94
94
|
/* Define to the version of this package. */
|
|
95
|
-
#define PACKAGE_VERSION "2.8.
|
|
95
|
+
#define PACKAGE_VERSION "2.8.5"
|
|
96
96
|
|
|
97
97
|
/* Define to 1 if all of the C89 standard headers exist (not just the ones
|
|
98
98
|
required in a freestanding environment). This macro is provided for
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
#define STDC_HEADERS 1
|
|
101
101
|
|
|
102
102
|
/* Version number of package */
|
|
103
|
-
#define VERSION "2.8.
|
|
103
|
+
#define VERSION "2.8.5"
|
|
104
104
|
|
|
105
105
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
106
106
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
package/include/expat_external.h
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
|
|
17
17
|
Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com>
|
|
18
18
|
Copyright (c) 2026 Matthew Fernandez <matthew.fernandez@gmail.com>
|
|
19
|
+
Copyright (c) 2026 Braian Plaku <braianplaku@gmail.com>
|
|
19
20
|
Licensed under the MIT license:
|
|
20
21
|
|
|
21
22
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
@@ -125,6 +126,17 @@
|
|
|
125
126
|
# define XML_ATTR_ALLOC_SIZE(x)
|
|
126
127
|
# endif
|
|
127
128
|
|
|
129
|
+
/* Marks a function that Expat still provides but that callers should move off
|
|
130
|
+
of. */
|
|
131
|
+
# if defined(__clang__) || defined(__GNUC__)
|
|
132
|
+
# define XML_ATTR_DEPRECATED(message) \
|
|
133
|
+
__attribute__((__deprecated__(message)))
|
|
134
|
+
# elif defined(_MSC_VER)
|
|
135
|
+
# define XML_ATTR_DEPRECATED(message) __declspec(deprecated(message))
|
|
136
|
+
# else
|
|
137
|
+
# define XML_ATTR_DEPRECATED(message) // empty i.e. no deprecation
|
|
138
|
+
# endif
|
|
139
|
+
|
|
128
140
|
# define XMLPARSEAPI(type) XMLIMPORT type XMLCALL
|
|
129
141
|
|
|
130
142
|
# ifdef __cplusplus
|
|
@@ -72,7 +72,7 @@ typedef int FcBool;
|
|
|
72
72
|
#define FC_CACHE_VERSION_NUMBER 12
|
|
73
73
|
#define FC_CACHE_SNAP_VERSION_NUMBER 0
|
|
74
74
|
#define FC_NEXT_CACHE_VERSION_NUMBER 0
|
|
75
|
-
#define FC_CACHE_MIN_COMPAT_VERSION
|
|
75
|
+
#define FC_CACHE_MIN_COMPAT_VERSION 12
|
|
76
76
|
|
|
77
77
|
#define _FC_STRINGIFY_(s) #s
|
|
78
78
|
#define _FC_STRINGIFY(s) _FC_STRINGIFY_ (s)
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
* GNU Lesser General Public License for more details.
|
|
16
16
|
*
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
-
* along with GNU FriBidi; if not,
|
|
19
|
-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
18
|
+
* along with GNU FriBidi; if not, see: <https://www.gnu.org/licenses/>.
|
|
20
19
|
*
|
|
21
20
|
* For licensing issues, contact <fribidi.license@gmail.com> or write to
|
|
22
21
|
* Sharif FarsiWeb, Inc., PO Box 13445-389, Tehran, Iran.
|
|
@@ -235,6 +235,12 @@ typedef uint32_t FriBidiParType;
|
|
|
235
235
|
# define FRIBIDI_PAR_WLTR FRIBIDI_TYPE_WLTR_VAL
|
|
236
236
|
# define FRIBIDI_PAR_WRTL FRIBIDI_TYPE_WRTL_VAL
|
|
237
237
|
|
|
238
|
+
/* _FRIBIDI_TYPE_SENTINEL and _FRIBIDI_PAR_SENTINEL must be defined in
|
|
239
|
+
* both branches of this #if, so that code using them (e.g. Pango's
|
|
240
|
+
* pango-bidi-type.c) compiles regardless of which branch was taken. */
|
|
241
|
+
# define _FRIBIDI_TYPE_SENTINEL FRIBIDI_TYPE_SENTINEL
|
|
242
|
+
# define _FRIBIDI_PAR_SENTINEL FRIBIDI_TYPE_SENTINEL
|
|
243
|
+
|
|
238
244
|
#endif
|
|
239
245
|
|
|
240
246
|
/* Please don't use these two type names, use FRIBIDI_PAR_* form instead. */
|
|
@@ -371,9 +377,9 @@ fribidi_get_bidi_type (
|
|
|
371
377
|
FriBidiChar ch /* input character */
|
|
372
378
|
) FRIBIDI_GNUC_CONST;
|
|
373
379
|
|
|
374
|
-
/* fribidi_get_bidi_types - get bidi types for
|
|
380
|
+
/* fribidi_get_bidi_types - get bidi types for a string of characters
|
|
375
381
|
*
|
|
376
|
-
* This function finds the bidi types of
|
|
382
|
+
* This function finds the bidi types of a string of characters. See
|
|
377
383
|
* fribidi_get_bidi_type() for more information about the bidi types returned
|
|
378
384
|
* by this function.
|
|
379
385
|
*/
|
|
@@ -58,7 +58,7 @@ FRIBIDI_ENTRY FriBidiBracketType fribidi_get_bracket (
|
|
|
58
58
|
|
|
59
59
|
/* fribidi_get_bracket_types - get bracketed characters
|
|
60
60
|
*
|
|
61
|
-
* This function finds the bracketed characters of
|
|
61
|
+
* This function finds the bracketed characters of a string of characters.
|
|
62
62
|
* See fribidi_get_bracket() for more information about the bracketed
|
|
63
63
|
* characters returned by this function.
|
|
64
64
|
*/
|
|
@@ -51,7 +51,7 @@ FriBidiCharSet;
|
|
|
51
51
|
|
|
52
52
|
/* fribidi_charset_to_unicode - convert string to Unicode
|
|
53
53
|
*
|
|
54
|
-
* This function converts
|
|
54
|
+
* This function converts a string from a character set, to a Unicode string.
|
|
55
55
|
*
|
|
56
56
|
* Returns: The length of the new string.
|
|
57
57
|
*/
|
|
@@ -64,7 +64,7 @@ FRIBIDI_ENTRY FriBidiStrIndex fribidi_charset_to_unicode (
|
|
|
64
64
|
|
|
65
65
|
/* fribidi_unicode_to_charset - convert string from Unicode
|
|
66
66
|
*
|
|
67
|
-
* This function converts a Unicode string to
|
|
67
|
+
* This function converts a Unicode string to a string in another character
|
|
68
68
|
* set. It also null-terminates the output string.
|
|
69
69
|
*
|
|
70
70
|
* Returns: The length of the new string.
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
#define FRIBIDI_NAME "GNU FriBidi"
|
|
8
8
|
#define FRIBIDI_BUGREPORT "https://github.com/fribidi/fribidi/issues/new"
|
|
9
9
|
|
|
10
|
-
#define FRIBIDI_VERSION "1.0.
|
|
10
|
+
#define FRIBIDI_VERSION "1.0.17"
|
|
11
11
|
#define FRIBIDI_MAJOR_VERSION 1
|
|
12
12
|
#define FRIBIDI_MINOR_VERSION 0
|
|
13
|
-
#define FRIBIDI_MICRO_VERSION
|
|
13
|
+
#define FRIBIDI_MICRO_VERSION 17
|
|
14
14
|
#define FRIBIDI_INTERFACE_VERSION 4
|
|
15
15
|
#define FRIBIDI_INTERFACE_VERSION_STRING "4"
|
|
16
16
|
|
|
@@ -216,9 +216,9 @@ fribidi_get_joining_type (
|
|
|
216
216
|
FriBidiChar ch /* input character */
|
|
217
217
|
) FRIBIDI_GNUC_CONST;
|
|
218
218
|
|
|
219
|
-
/* fribidi_get_joining_types - get joining types for
|
|
219
|
+
/* fribidi_get_joining_types - get joining types for a string of characters
|
|
220
220
|
*
|
|
221
|
-
* This function finds the joining types of
|
|
221
|
+
* This function finds the joining types of a string of characters. See
|
|
222
222
|
* fribidi_get_joining_type for more information about the joining types
|
|
223
223
|
* returned by this function.
|
|
224
224
|
*/
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* generated by gen-unicode-version (fribidi unknown)
|
|
3
3
|
* from the file ReadMe.txt */
|
|
4
4
|
|
|
5
|
-
#define FRIBIDI_UNICODE_VERSION "
|
|
6
|
-
#define FRIBIDI_UNICODE_MAJOR_VERSION
|
|
5
|
+
#define FRIBIDI_UNICODE_VERSION "18.0.0"
|
|
6
|
+
#define FRIBIDI_UNICODE_MAJOR_VERSION 18
|
|
7
7
|
#define FRIBIDI_UNICODE_MINOR_VERSION 0
|
|
8
8
|
#define FRIBIDI_UNICODE_MICRO_VERSION 0
|
|
9
9
|
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
|
|
44
44
|
#include "fribidi-begindecls.h"
|
|
45
45
|
|
|
46
|
-
/* fribidi_remove_bidi_marks - remove bidi marks out of
|
|
46
|
+
/* fribidi_remove_bidi_marks - remove bidi marks out of a string
|
|
47
47
|
*
|
|
48
|
-
* This function removes the bidi and boundary-neutral marks out of
|
|
48
|
+
* This function removes the bidi and boundary-neutral marks out of a string
|
|
49
49
|
* and the accompanying lists. It implements rule X9 of the Unicode
|
|
50
50
|
* Bidirectional Algorithm available at
|
|
51
51
|
* http://www.unicode.org/reports/tr9/#X9, with the exception that it removes
|
|
@@ -94,6 +94,25 @@ HB_BEGIN_DECLS
|
|
|
94
94
|
**/
|
|
95
95
|
typedef int hb_bool_t;
|
|
96
96
|
|
|
97
|
+
/**
|
|
98
|
+
* HB_BUDGET_DEFAULT:
|
|
99
|
+
*
|
|
100
|
+
* Use the implementation's finite default work budget.
|
|
101
|
+
*
|
|
102
|
+
* Since: 14.5.0
|
|
103
|
+
**/
|
|
104
|
+
#define HB_BUDGET_DEFAULT ((int64_t) (-0x7FFFFFFFFFFFFFFF - 1))
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* HB_BUDGET_UNLIMITED:
|
|
108
|
+
*
|
|
109
|
+
* Use an effectively unlimited work budget. Structural safety limits remain
|
|
110
|
+
* active.
|
|
111
|
+
*
|
|
112
|
+
* Since: 14.5.0
|
|
113
|
+
**/
|
|
114
|
+
#define HB_BUDGET_UNLIMITED ((int64_t) 0x7FFFFFFFFFFFFFFF)
|
|
115
|
+
|
|
97
116
|
/**
|
|
98
117
|
* hb_codepoint_t:
|
|
99
118
|
*
|
|
@@ -195,6 +195,61 @@ typedef void (*hb_draw_close_path_func_t) (hb_draw_funcs_t *dfuncs, void *draw_d
|
|
|
195
195
|
hb_draw_state_t *st,
|
|
196
196
|
void *user_data);
|
|
197
197
|
|
|
198
|
+
/**
|
|
199
|
+
* hb_draw_set_budget_func_t:
|
|
200
|
+
* @dfuncs: draw functions object
|
|
201
|
+
* @draw_data: The data accompanying the draw functions
|
|
202
|
+
* @budget: the new work-budget policy
|
|
203
|
+
* @user_data: User data pointer passed to hb_draw_funcs_set_set_budget_func()
|
|
204
|
+
*
|
|
205
|
+
* Sets the work-budget policy and recharges the live work budget. @budget is
|
|
206
|
+
* #HB_BUDGET_DEFAULT, #HB_BUDGET_UNLIMITED, or a non-negative concrete value.
|
|
207
|
+
*
|
|
208
|
+
* Return value: `true` if the budget was set, `false` if unsupported
|
|
209
|
+
*
|
|
210
|
+
* Since: 14.5.0
|
|
211
|
+
**/
|
|
212
|
+
typedef hb_bool_t (*hb_draw_set_budget_func_t) (hb_draw_funcs_t *dfuncs,
|
|
213
|
+
void *draw_data,
|
|
214
|
+
int64_t budget,
|
|
215
|
+
void *user_data);
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* hb_draw_get_budget_func_t:
|
|
219
|
+
* @dfuncs: draw functions object
|
|
220
|
+
* @draw_data: The data accompanying the draw functions
|
|
221
|
+
* @user_data: User data pointer passed to hb_draw_funcs_set_get_budget_func()
|
|
222
|
+
*
|
|
223
|
+
* Fetches the configured work-budget policy.
|
|
224
|
+
*
|
|
225
|
+
* Return value: the configured work-budget policy
|
|
226
|
+
*
|
|
227
|
+
* Since: 14.5.0
|
|
228
|
+
**/
|
|
229
|
+
typedef int64_t (*hb_draw_get_budget_func_t) (hb_draw_funcs_t *dfuncs,
|
|
230
|
+
void *draw_data,
|
|
231
|
+
void *user_data);
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* hb_draw_get_budget_remaining_func_t:
|
|
235
|
+
* @dfuncs: draw functions object
|
|
236
|
+
* @draw_data: The data accompanying the draw functions
|
|
237
|
+
* @user_data: User data pointer passed to
|
|
238
|
+
* hb_draw_funcs_set_get_budget_remaining_func()
|
|
239
|
+
*
|
|
240
|
+
* Fetches the address of the live work budget. The returned address must stay
|
|
241
|
+
* valid while @draw_data is used with @dfuncs. The live value must be concrete;
|
|
242
|
+
* it must not contain #HB_BUDGET_DEFAULT.
|
|
243
|
+
*
|
|
244
|
+
* Return value: (nullable) (transfer none): the live work budget, or `NULL` if
|
|
245
|
+
* live budget accounting is unsupported
|
|
246
|
+
*
|
|
247
|
+
* Since: 14.5.0
|
|
248
|
+
**/
|
|
249
|
+
typedef int64_t *(*hb_draw_get_budget_remaining_func_t) (hb_draw_funcs_t *dfuncs,
|
|
250
|
+
void *draw_data,
|
|
251
|
+
void *user_data);
|
|
252
|
+
|
|
198
253
|
/**
|
|
199
254
|
* hb_draw_funcs_set_move_to_func:
|
|
200
255
|
* @dfuncs: draw functions object
|
|
@@ -275,6 +330,54 @@ hb_draw_funcs_set_close_path_func (hb_draw_funcs_t *dfuncs,
|
|
|
275
330
|
hb_draw_close_path_func_t func,
|
|
276
331
|
void *user_data, hb_destroy_func_t destroy);
|
|
277
332
|
|
|
333
|
+
/**
|
|
334
|
+
* hb_draw_funcs_set_set_budget_func:
|
|
335
|
+
* @dfuncs: draw functions object
|
|
336
|
+
* @func: (closure user_data) (destroy destroy) (scope notified): budget setter
|
|
337
|
+
* @user_data: Data to pass to @func
|
|
338
|
+
* @destroy: (nullable): callback to destroy @user_data
|
|
339
|
+
*
|
|
340
|
+
* Sets the budget setter callback.
|
|
341
|
+
*
|
|
342
|
+
* Since: 14.5.0
|
|
343
|
+
**/
|
|
344
|
+
HB_EXTERN void
|
|
345
|
+
hb_draw_funcs_set_set_budget_func (hb_draw_funcs_t *dfuncs,
|
|
346
|
+
hb_draw_set_budget_func_t func,
|
|
347
|
+
void *user_data, hb_destroy_func_t destroy);
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* hb_draw_funcs_set_get_budget_func:
|
|
351
|
+
* @dfuncs: draw functions object
|
|
352
|
+
* @func: (closure user_data) (destroy destroy) (scope notified): budget getter
|
|
353
|
+
* @user_data: Data to pass to @func
|
|
354
|
+
* @destroy: (nullable): callback to destroy @user_data
|
|
355
|
+
*
|
|
356
|
+
* Sets the budget-policy getter callback.
|
|
357
|
+
*
|
|
358
|
+
* Since: 14.5.0
|
|
359
|
+
**/
|
|
360
|
+
HB_EXTERN void
|
|
361
|
+
hb_draw_funcs_set_get_budget_func (hb_draw_funcs_t *dfuncs,
|
|
362
|
+
hb_draw_get_budget_func_t func,
|
|
363
|
+
void *user_data, hb_destroy_func_t destroy);
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* hb_draw_funcs_set_get_budget_remaining_func:
|
|
367
|
+
* @dfuncs: draw functions object
|
|
368
|
+
* @func: (closure user_data) (destroy destroy) (scope notified): live-budget getter
|
|
369
|
+
* @user_data: Data to pass to @func
|
|
370
|
+
* @destroy: (nullable): callback to destroy @user_data
|
|
371
|
+
*
|
|
372
|
+
* Sets the live-budget getter callback.
|
|
373
|
+
*
|
|
374
|
+
* Since: 14.5.0
|
|
375
|
+
**/
|
|
376
|
+
HB_EXTERN void
|
|
377
|
+
hb_draw_funcs_set_get_budget_remaining_func (hb_draw_funcs_t *dfuncs,
|
|
378
|
+
hb_draw_get_budget_remaining_func_t func,
|
|
379
|
+
void *user_data, hb_destroy_func_t destroy);
|
|
380
|
+
|
|
278
381
|
|
|
279
382
|
HB_EXTERN hb_draw_funcs_t *
|
|
280
383
|
hb_draw_funcs_create (void);
|
|
@@ -306,6 +409,16 @@ hb_draw_funcs_make_immutable (hb_draw_funcs_t *dfuncs);
|
|
|
306
409
|
HB_EXTERN hb_bool_t
|
|
307
410
|
hb_draw_funcs_is_immutable (hb_draw_funcs_t *dfuncs);
|
|
308
411
|
|
|
412
|
+
HB_EXTERN hb_bool_t
|
|
413
|
+
hb_draw_set_budget (hb_draw_funcs_t *dfuncs, void *draw_data,
|
|
414
|
+
int64_t budget);
|
|
415
|
+
|
|
416
|
+
HB_EXTERN int64_t
|
|
417
|
+
hb_draw_get_budget (hb_draw_funcs_t *dfuncs, void *draw_data);
|
|
418
|
+
|
|
419
|
+
HB_EXTERN int64_t
|
|
420
|
+
hb_draw_get_budget_remaining (hb_draw_funcs_t *dfuncs, void *draw_data);
|
|
421
|
+
|
|
309
422
|
|
|
310
423
|
HB_EXTERN void
|
|
311
424
|
hb_draw_move_to (hb_draw_funcs_t *dfuncs, void *draw_data,
|
|
@@ -63,6 +63,109 @@ HB_BEGIN_DECLS
|
|
|
63
63
|
**/
|
|
64
64
|
typedef struct hb_paint_funcs_t hb_paint_funcs_t;
|
|
65
65
|
|
|
66
|
+
/**
|
|
67
|
+
* hb_paint_set_budget_func_t:
|
|
68
|
+
* @funcs: paint functions object
|
|
69
|
+
* @paint_data: The data accompanying the paint functions
|
|
70
|
+
* @budget: the new work-budget policy
|
|
71
|
+
* @user_data: User data pointer passed to hb_paint_funcs_set_set_budget_func()
|
|
72
|
+
*
|
|
73
|
+
* Sets the work-budget policy and recharges the live work budget. @budget is
|
|
74
|
+
* #HB_BUDGET_DEFAULT, #HB_BUDGET_UNLIMITED, or a non-negative concrete value.
|
|
75
|
+
*
|
|
76
|
+
* Return value: `true` if the budget was set, `false` if unsupported
|
|
77
|
+
*
|
|
78
|
+
* Since: 14.5.0
|
|
79
|
+
**/
|
|
80
|
+
typedef hb_bool_t (*hb_paint_set_budget_func_t) (hb_paint_funcs_t *funcs,
|
|
81
|
+
void *paint_data,
|
|
82
|
+
int64_t budget,
|
|
83
|
+
void *user_data);
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* hb_paint_get_budget_func_t:
|
|
87
|
+
* @funcs: paint functions object
|
|
88
|
+
* @paint_data: The data accompanying the paint functions
|
|
89
|
+
* @user_data: User data pointer passed to hb_paint_funcs_set_get_budget_func()
|
|
90
|
+
*
|
|
91
|
+
* Fetches the configured work-budget policy.
|
|
92
|
+
*
|
|
93
|
+
* Return value: the configured work-budget policy
|
|
94
|
+
*
|
|
95
|
+
* Since: 14.5.0
|
|
96
|
+
**/
|
|
97
|
+
typedef int64_t (*hb_paint_get_budget_func_t) (hb_paint_funcs_t *funcs,
|
|
98
|
+
void *paint_data,
|
|
99
|
+
void *user_data);
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* hb_paint_get_budget_remaining_func_t:
|
|
103
|
+
* @funcs: paint functions object
|
|
104
|
+
* @paint_data: The data accompanying the paint functions
|
|
105
|
+
* @user_data: User data pointer passed to
|
|
106
|
+
* hb_paint_funcs_set_get_budget_remaining_func()
|
|
107
|
+
*
|
|
108
|
+
* Fetches the address of the live work budget. The returned address must stay
|
|
109
|
+
* valid while @paint_data is used with @funcs. The live value must be concrete;
|
|
110
|
+
* it must not contain #HB_BUDGET_DEFAULT.
|
|
111
|
+
*
|
|
112
|
+
* Return value: (nullable) (transfer none): the live work budget, or `NULL` if
|
|
113
|
+
* live budget accounting is unsupported
|
|
114
|
+
*
|
|
115
|
+
* Since: 14.5.0
|
|
116
|
+
**/
|
|
117
|
+
typedef int64_t *(*hb_paint_get_budget_remaining_func_t) (hb_paint_funcs_t *funcs,
|
|
118
|
+
void *paint_data,
|
|
119
|
+
void *user_data);
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* hb_paint_funcs_set_set_budget_func:
|
|
123
|
+
* @funcs: paint functions object
|
|
124
|
+
* @func: (closure user_data) (destroy destroy) (scope notified): budget setter
|
|
125
|
+
* @user_data: Data to pass to @func
|
|
126
|
+
* @destroy: (nullable): callback to destroy @user_data
|
|
127
|
+
*
|
|
128
|
+
* Sets the budget setter callback.
|
|
129
|
+
*
|
|
130
|
+
* Since: 14.5.0
|
|
131
|
+
**/
|
|
132
|
+
HB_EXTERN void
|
|
133
|
+
hb_paint_funcs_set_set_budget_func (hb_paint_funcs_t *funcs,
|
|
134
|
+
hb_paint_set_budget_func_t func,
|
|
135
|
+
void *user_data, hb_destroy_func_t destroy);
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* hb_paint_funcs_set_get_budget_func:
|
|
139
|
+
* @funcs: paint functions object
|
|
140
|
+
* @func: (closure user_data) (destroy destroy) (scope notified): budget getter
|
|
141
|
+
* @user_data: Data to pass to @func
|
|
142
|
+
* @destroy: (nullable): callback to destroy @user_data
|
|
143
|
+
*
|
|
144
|
+
* Sets the budget-policy getter callback.
|
|
145
|
+
*
|
|
146
|
+
* Since: 14.5.0
|
|
147
|
+
**/
|
|
148
|
+
HB_EXTERN void
|
|
149
|
+
hb_paint_funcs_set_get_budget_func (hb_paint_funcs_t *funcs,
|
|
150
|
+
hb_paint_get_budget_func_t func,
|
|
151
|
+
void *user_data, hb_destroy_func_t destroy);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* hb_paint_funcs_set_get_budget_remaining_func:
|
|
155
|
+
* @funcs: paint functions object
|
|
156
|
+
* @func: (closure user_data) (destroy destroy) (scope notified): live-budget getter
|
|
157
|
+
* @user_data: Data to pass to @func
|
|
158
|
+
* @destroy: (nullable): callback to destroy @user_data
|
|
159
|
+
*
|
|
160
|
+
* Sets the live-budget getter callback.
|
|
161
|
+
*
|
|
162
|
+
* Since: 14.5.0
|
|
163
|
+
**/
|
|
164
|
+
HB_EXTERN void
|
|
165
|
+
hb_paint_funcs_set_get_budget_remaining_func (hb_paint_funcs_t *funcs,
|
|
166
|
+
hb_paint_get_budget_remaining_func_t func,
|
|
167
|
+
void *user_data, hb_destroy_func_t destroy);
|
|
168
|
+
|
|
66
169
|
HB_EXTERN hb_paint_funcs_t *
|
|
67
170
|
hb_paint_funcs_create (void);
|
|
68
171
|
|
|
@@ -93,6 +196,16 @@ hb_paint_funcs_make_immutable (hb_paint_funcs_t *funcs);
|
|
|
93
196
|
HB_EXTERN hb_bool_t
|
|
94
197
|
hb_paint_funcs_is_immutable (hb_paint_funcs_t *funcs);
|
|
95
198
|
|
|
199
|
+
HB_EXTERN hb_bool_t
|
|
200
|
+
hb_paint_set_budget (hb_paint_funcs_t *funcs, void *paint_data,
|
|
201
|
+
int64_t budget);
|
|
202
|
+
|
|
203
|
+
HB_EXTERN int64_t
|
|
204
|
+
hb_paint_get_budget (hb_paint_funcs_t *funcs, void *paint_data);
|
|
205
|
+
|
|
206
|
+
HB_EXTERN int64_t
|
|
207
|
+
hb_paint_get_budget_remaining (hb_paint_funcs_t *funcs, void *paint_data);
|
|
208
|
+
|
|
96
209
|
/**
|
|
97
210
|
* hb_paint_push_transform_func_t:
|
|
98
211
|
* @funcs: paint functions object
|
|
@@ -227,6 +227,9 @@ HB_END_DECLS
|
|
|
227
227
|
* @HB_SCRIPT_SIDETIC: `Sidt`, Since: 11.5.0
|
|
228
228
|
* @HB_SCRIPT_TAI_YO: `Tayo`, Since: 11.5.0
|
|
229
229
|
* @HB_SCRIPT_TOLONG_SIKI: `Tols`, Since: 11.5.0
|
|
230
|
+
* @HB_SCRIPT_JURCHEN: `Jurc`, Since: 14.5.0
|
|
231
|
+
* @HB_SCRIPT_PROTO_CUNEIFORM: `Pcun`, Since: 14.5.0
|
|
232
|
+
* @HB_SCRIPT_SEAL: `Seal`, Since: 14.5.0
|
|
230
233
|
* @HB_SCRIPT_INVALID: No script set
|
|
231
234
|
*
|
|
232
235
|
* Data type for scripts. Each #hb_script_t's value is an #hb_tag_t corresponding
|
|
@@ -473,6 +476,13 @@ typedef enum
|
|
|
473
476
|
HB_SCRIPT_TAI_YO = HB_TAG ('T','a','y','o'), /*17.0*/
|
|
474
477
|
HB_SCRIPT_TOLONG_SIKI = HB_TAG ('T','o','l','s'), /*17.0*/
|
|
475
478
|
|
|
479
|
+
/*
|
|
480
|
+
* Since: 14.5.0
|
|
481
|
+
*/
|
|
482
|
+
HB_SCRIPT_JURCHEN = HB_TAG ('J','u','r','c'), /*18.0*/
|
|
483
|
+
HB_SCRIPT_PROTO_CUNEIFORM = HB_TAG ('P','c','u','n'), /*18.0*/
|
|
484
|
+
HB_SCRIPT_SEAL = HB_TAG ('S','e','a','l'), /*18.0*/
|
|
485
|
+
|
|
476
486
|
/* No script set. */
|
|
477
487
|
HB_SCRIPT_INVALID = HB_TAG_NONE,
|
|
478
488
|
|
|
@@ -47,7 +47,7 @@ HB_BEGIN_DECLS
|
|
|
47
47
|
*
|
|
48
48
|
* The minor component of the library version available at compile-time.
|
|
49
49
|
*/
|
|
50
|
-
#define HB_VERSION_MINOR
|
|
50
|
+
#define HB_VERSION_MINOR 5
|
|
51
51
|
/**
|
|
52
52
|
* HB_VERSION_MICRO:
|
|
53
53
|
*
|
|
@@ -60,7 +60,7 @@ HB_BEGIN_DECLS
|
|
|
60
60
|
*
|
|
61
61
|
* A string literal containing the library version available at compile-time.
|
|
62
62
|
*/
|
|
63
|
-
#define HB_VERSION_STRING "14.
|
|
63
|
+
#define HB_VERSION_STRING "14.5.0"
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* HB_VERSION_ATLEAST:
|
|
@@ -298,6 +298,10 @@ heif_error heif_image_scale_image(const heif_image* input,
|
|
|
298
298
|
|
|
299
299
|
// Extends the image size to match the given size by extending the right and bottom borders.
|
|
300
300
|
// The border areas are filled with zero.
|
|
301
|
+
// The target 'width' and 'height' must each be at least the image's current size; this
|
|
302
|
+
// function only grows the image and cannot shrink it. If a smaller size is requested,
|
|
303
|
+
// 'heif_error_Usage_error' / 'heif_suberror_Invalid_parameter_value' is returned and the
|
|
304
|
+
// image is left unchanged.
|
|
301
305
|
LIBHEIF_API
|
|
302
306
|
heif_error heif_image_extend_to_size_fill_with_zero(heif_image* image,
|
|
303
307
|
uint32_t width, uint32_t height);
|
|
@@ -367,6 +371,11 @@ heif_error heif_image_create(int width, int height,
|
|
|
367
371
|
* <p>For backward compatibility, one can also specify 24bits for RGB and 32bits for RGBA,
|
|
368
372
|
* instead of the preferred 8 bits. However, this use is deprecated.
|
|
369
373
|
*
|
|
374
|
+
* <p>An image with an interleaved chroma format carries its alpha inside the interleaved
|
|
375
|
+
* plane. Adding a separate {@code heif_channel_Alpha} plane to such an image is rejected
|
|
376
|
+
* with an error. Use one of the interleaved formats with alpha
|
|
377
|
+
* (e.g. {@code heif_chroma_interleaved_RGBA}) instead.
|
|
378
|
+
*
|
|
370
379
|
* @param image the parent image to add the channel plane to
|
|
371
380
|
* @param channel the channel of the plane to add
|
|
372
381
|
* @param width the width of the plane
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
#define LIBHEIF_HEIF_VERSION_H
|
|
29
29
|
|
|
30
30
|
/* Numeric representation of the version */
|
|
31
|
-
#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (23<<16) | (
|
|
31
|
+
#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (23<<16) | (5<<8) | 0)
|
|
32
32
|
|
|
33
33
|
/* Version string */
|
|
34
|
-
#define LIBHEIF_VERSION "1.23.
|
|
34
|
+
#define LIBHEIF_VERSION "1.23.5"
|
|
35
35
|
|
|
36
36
|
#define LIBHEIF_PLUGIN_DIRECTORY "/target/lib/libheif"
|
|
37
37
|
|
|
@@ -951,10 +951,11 @@ gboolean rsvg_handle_get_intrinsic_size_in_pixels (RsvgHandle *handle,
|
|
|
951
951
|
/**
|
|
952
952
|
* RsvgHandleFlags:
|
|
953
953
|
* @RSVG_HANDLE_FLAGS_NONE: No flags are set.
|
|
954
|
-
* @RSVG_HANDLE_FLAG_UNLIMITED: Disable safety limits in the XML parser. Libxml2 has
|
|
954
|
+
* @RSVG_HANDLE_FLAG_UNLIMITED: Disable safety limits in the XML parser and on embedded images. Libxml2 has
|
|
955
955
|
* [several limits](https://gitlab.gnome.org/GNOME/libxml2/blob/master/include/libxml/parserInternals.h)
|
|
956
|
-
* designed to keep malicious XML content from consuming too much memory while parsing.
|
|
957
|
-
* For security reasons, this should only be used
|
|
956
|
+
* designed to keep malicious XML content from consuming too much memory while parsing. The image crate
|
|
957
|
+
* also limits per-image allocations to 512 MB by default. For security reasons, this should only be used
|
|
958
|
+
* for trusted input! Since: 2.40.3
|
|
958
959
|
* @RSVG_HANDLE_FLAG_KEEP_IMAGE_DATA: Use this if the Cairo surface to which you are
|
|
959
960
|
* rendering is a PDF, PostScript, SVG, or Win32 Printing surface. This will make librsvg
|
|
960
961
|
* and Cairo use the original, compressed data for images in the final output, instead of
|