@img/sharp-libvips-dev-wasm32 1.1.0 → 1.2.0-rc.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 (99) hide show
  1. package/include/expat.h +1 -1
  2. package/include/expat_config.h +3 -3
  3. package/include/ffi.h +1 -1
  4. package/include/glib-2.0/gio/gdbusnameowning.h +12 -10
  5. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  6. package/include/glib-2.0/gio/gsettings.h +35 -31
  7. package/include/glib-2.0/gio/gzlibcompressor.h +6 -0
  8. package/include/glib-2.0/glib/gbitlock.h +11 -0
  9. package/include/glib-2.0/glib/gdate.h +6 -0
  10. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  11. package/include/glib-2.0/glib/gmain.h +13 -10
  12. package/include/glib-2.0/glib/gmessages.h +4 -1
  13. package/include/glib-2.0/glib/gstring.h +2 -0
  14. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  15. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  16. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  17. package/include/glib-2.0/gobject/gsignal.h +33 -8
  18. package/include/libheif/heif.h +2 -0
  19. package/include/libheif/heif_version.h +2 -2
  20. package/include/resvg.h +2 -2
  21. package/include/vips/VImage8.h +62 -14
  22. package/include/vips/arithmetic.h +34 -34
  23. package/include/vips/basic.h +16 -0
  24. package/include/vips/buf.h +0 -5
  25. package/include/vips/colour.h +6 -7
  26. package/include/vips/connection.h +25 -37
  27. package/include/vips/enumtypes.h +11 -2
  28. package/include/vips/foreign.h +73 -43
  29. package/include/vips/format.h +7 -5
  30. package/include/vips/gate.h +0 -11
  31. package/include/vips/header.h +11 -11
  32. package/include/vips/image.h +8 -3
  33. package/include/vips/interpolate.h +0 -2
  34. package/include/vips/memory.h +4 -0
  35. package/include/vips/mosaicing.h +4 -0
  36. package/include/vips/object.h +14 -18
  37. package/include/vips/operation.h +0 -2
  38. package/include/vips/private.h +50 -2
  39. package/include/vips/region.h +1 -3
  40. package/include/vips/resample.h +2 -0
  41. package/include/vips/semaphore.h +8 -3
  42. package/include/vips/thread.h +1 -24
  43. package/include/vips/threadpool.h +0 -6
  44. package/include/vips/type.h +13 -9
  45. package/include/vips/util.h +17 -98
  46. package/include/vips/vector.h +0 -4
  47. package/include/vips/version.h +8 -8
  48. package/include/vips/vips.h +1 -0
  49. package/lib/glib-2.0/include/glibconfig.h +1 -1
  50. package/lib/libaom.a +0 -0
  51. package/lib/libcgif.a +0 -0
  52. package/lib/libexif.a +0 -0
  53. package/lib/libexif.la +0 -0
  54. package/lib/libexpat.a +0 -0
  55. package/lib/libexpat.la +1 -1
  56. package/lib/libffi.a +0 -0
  57. package/lib/libffi.la +0 -0
  58. package/lib/libgio-2.0.a +0 -0
  59. package/lib/libglib-2.0.a +0 -0
  60. package/lib/libgmodule-2.0.a +0 -0
  61. package/lib/libgobject-2.0.a +0 -0
  62. package/lib/libgthread-2.0.a +0 -0
  63. package/lib/libheif.a +0 -0
  64. package/lib/libhwy.a +0 -0
  65. package/lib/libimagequant.a +0 -0
  66. package/lib/libjpeg.a +0 -0
  67. package/lib/liblcms2.a +0 -0
  68. package/lib/libresvg.a +0 -0
  69. package/lib/libsharpyuv.a +0 -0
  70. package/lib/libsharpyuv.la +0 -0
  71. package/lib/libspng.a +0 -0
  72. package/lib/libtiff.a +0 -0
  73. package/lib/libtiff.la +0 -0
  74. package/lib/libvips-cpp.a +0 -0
  75. package/lib/libvips.a +0 -0
  76. package/lib/libwebp.a +0 -0
  77. package/lib/libwebp.la +0 -0
  78. package/lib/libwebpdemux.a +0 -0
  79. package/lib/libwebpdemux.la +0 -0
  80. package/lib/libwebpmux.a +0 -0
  81. package/lib/libwebpmux.la +0 -0
  82. package/lib/libz.a +0 -0
  83. package/lib/pkgconfig/aom.pc +2 -2
  84. package/lib/pkgconfig/expat.pc +1 -1
  85. package/lib/pkgconfig/gio-2.0.pc +1 -1
  86. package/lib/pkgconfig/glib-2.0.pc +1 -1
  87. package/lib/pkgconfig/gmodule-2.0.pc +1 -1
  88. package/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  89. package/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  90. package/lib/pkgconfig/gobject-2.0.pc +1 -1
  91. package/lib/pkgconfig/gthread-2.0.pc +1 -1
  92. package/lib/pkgconfig/libffi.pc +1 -1
  93. package/lib/pkgconfig/libheif.pc +1 -1
  94. package/lib/pkgconfig/vips-cpp.pc +3 -3
  95. package/lib/pkgconfig/vips.pc +3 -3
  96. package/package.json +1 -1
  97. package/versions.json +8 -8
  98. package/include/glib-2.0/glib/gwin32.h +0 -142
  99. package/include/hwy/ops/tuple-inl.h +0 -125
package/versions.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
- "aom": "3.12.0",
2
+ "aom": "3.12.1",
3
3
  "cgif": "0.5.0",
4
- "emscripten": "4.0.6",
4
+ "emscripten": "4.0.10",
5
5
  "exif": "0.6.25",
6
- "expat": "2.7.0",
7
- "ffi": "3.4.7",
8
- "glib": "2.84.0",
9
- "heif": "1.19.7",
6
+ "expat": "2.7.1",
7
+ "ffi": "3.4.8",
8
+ "glib": "2.85.0",
9
+ "heif": "1.19.8",
10
10
  "highway": "1.2.0",
11
11
  "imagequant": "2.4.1",
12
12
  "lcms": "2.17",
13
13
  "mozjpeg": "4.1.5",
14
- "resvg": "0.45.0",
14
+ "resvg": "0.45.1",
15
15
  "spng": "0.7.4",
16
16
  "tiff": "4.7.0",
17
- "vips": "8.16.1",
17
+ "vips": "8.17.0",
18
18
  "webp": "1.5.0",
19
19
  "zlib-ng": "2.2.4"
20
20
  }
@@ -1,142 +0,0 @@
1
- /* GLIB - Library of useful routines for C programming
2
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3
- *
4
- * SPDX-License-Identifier: LGPL-2.1-or-later
5
- *
6
- * This library is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU Lesser General Public
8
- * License as published by the Free Software Foundation; either
9
- * version 2.1 of the License, or (at your option) any later version.
10
- *
11
- * This library is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- * Lesser General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU Lesser General Public
17
- * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18
- */
19
-
20
- /*
21
- * Modified by the GLib Team and others 1997-2000. See the AUTHORS
22
- * file for a list of people on the GLib Team. See the ChangeLog
23
- * files for a list of changes. These files are distributed with
24
- * GLib at ftp://ftp.gtk.org/pub/gtk/.
25
- */
26
-
27
- #ifndef __G_WIN32_H__
28
- #define __G_WIN32_H__
29
-
30
- #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
31
- #error "Only <glib.h> can be included directly."
32
- #endif
33
-
34
- #include <glib/gtypes.h>
35
-
36
- #if defined(G_PLATFORM_WIN32) || defined(__GI_SCANNER__)
37
-
38
- G_BEGIN_DECLS
39
-
40
- #ifndef MAXPATHLEN
41
- #define MAXPATHLEN 1024
42
- #endif
43
-
44
- #if defined(G_OS_WIN32) || defined(__GI_SCANNER__)
45
-
46
- /*
47
- * To get prototypes for the following POSIXish functions, you have to
48
- * include the indicated non-POSIX headers. The functions are defined
49
- * in OLDNAMES.LIB (MSVC) or -lmoldname-msvc (mingw32). But note that
50
- * for POSIX functions that take or return file names in the system
51
- * codepage, in many cases you would want to use the GLib wrappers in
52
- * gstdio.h and UTF-8 instead.
53
- *
54
- * getcwd: <direct.h> (MSVC), <io.h> (mingw32)
55
- * getpid: <process.h>
56
- * access: <io.h>
57
- * unlink: <stdio.h> or <io.h>
58
- * open, read, write, lseek, close: <io.h>
59
- * rmdir: <io.h>
60
- * pipe: <io.h> (actually, _pipe())
61
- */
62
-
63
- /* For some POSIX functions that are not provided by the MS runtime,
64
- * we provide emulation functions in glib, which are prefixed with
65
- * g_win32_. Or that was the idea at some time, but there is just one
66
- * of those:
67
- */
68
- GLIB_AVAILABLE_IN_ALL
69
- gint g_win32_ftruncate (gint f,
70
- guint size);
71
- #endif /* G_OS_WIN32 || __GI_SCANNER__ */
72
-
73
- /* The MS setlocale uses locale names of the form "English_United
74
- * States.1252" etc. We want the Unixish standard form "en", "zh_TW"
75
- * etc. This function gets the current thread locale from Windows and
76
- * returns it as a string of the above form for use in forming file
77
- * names etc. The returned string should be deallocated with g_free().
78
- */
79
- GLIB_AVAILABLE_IN_ALL
80
- gchar* g_win32_getlocale (void);
81
-
82
- /* Translate a Win32 error code (as returned by GetLastError()) into
83
- * the corresponding message. The returned string should be deallocated
84
- * with g_free().
85
- */
86
- GLIB_AVAILABLE_IN_ALL
87
- gchar* g_win32_error_message (gint error);
88
-
89
- GLIB_DEPRECATED
90
- gchar* g_win32_get_package_installation_directory (const gchar *package,
91
- const gchar *dll_name);
92
-
93
- GLIB_DEPRECATED
94
- gchar* g_win32_get_package_installation_subdirectory (const gchar *package,
95
- const gchar *dll_name,
96
- const gchar *subdir);
97
-
98
- GLIB_AVAILABLE_IN_ALL
99
- gchar* g_win32_get_package_installation_directory_of_module (gpointer hmodule);
100
-
101
- GLIB_DEPRECATED_IN_2_44_FOR(g_win32_check_windows_version)
102
- guint g_win32_get_windows_version (void);
103
-
104
- GLIB_AVAILABLE_IN_ALL
105
- gchar* g_win32_locale_filename_from_utf8 (const gchar *utf8filename);
106
-
107
- GLIB_AVAILABLE_IN_2_40
108
- gchar ** g_win32_get_command_line (void);
109
-
110
- /* As of GLib 2.14 we only support NT-based Windows */
111
- #define G_WIN32_IS_NT_BASED() TRUE
112
- #define G_WIN32_HAVE_WIDECHAR_API() TRUE
113
-
114
- /**
115
- * GWin32OSType:
116
- * @G_WIN32_OS_ANY: The running system can be a workstation or a server edition of
117
- * Windows. The type of the running system is therefore not checked.
118
- * @G_WIN32_OS_WORKSTATION: The running system is a workstation edition of Windows,
119
- * such as Windows 7 Professional.
120
- * @G_WIN32_OS_SERVER: The running system is a server edition of Windows, such as
121
- * Windows Server 2008 R2.
122
- *
123
- * Type of Windows edition to check for at run-time.
124
- **/
125
- typedef enum
126
- {
127
- G_WIN32_OS_ANY,
128
- G_WIN32_OS_WORKSTATION,
129
- G_WIN32_OS_SERVER,
130
- } GWin32OSType;
131
-
132
- GLIB_AVAILABLE_IN_2_44
133
- gboolean g_win32_check_windows_version (const gint major,
134
- const gint minor,
135
- const gint spver,
136
- const GWin32OSType os_type);
137
-
138
- G_END_DECLS
139
-
140
- #endif /* G_PLATFORM_WIN32 || __GI_SCANNER__ */
141
-
142
- #endif /* __G_WIN32_H__ */
@@ -1,125 +0,0 @@
1
- // Copyright 2023 Google LLC
2
- // SPDX-License-Identifier: Apache-2.0
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
-
16
- // Tuple support. Included by those ops/* that lack native tuple types, after
17
- // they define VFromD and before they use the tuples e.g. for LoadInterleaved2.
18
- // Assumes we are already in the HWY_NAMESPACE and under an include guard.
19
-
20
- // If viewing this header standalone, define VFromD to avoid IDE warnings.
21
- // This is normally set by set_macros-inl.h before this header is included.
22
- #if !defined(HWY_NAMESPACE)
23
- #include "hwy/base.h"
24
- template <class D>
25
- using VFromD = int;
26
- #endif
27
-
28
- // On SVE, Vec2..4 are aliases to built-in types.
29
- template <class D>
30
- struct Vec2 {
31
- VFromD<D> v0;
32
- VFromD<D> v1;
33
- };
34
-
35
- template <class D>
36
- struct Vec3 {
37
- VFromD<D> v0;
38
- VFromD<D> v1;
39
- VFromD<D> v2;
40
- };
41
-
42
- template <class D>
43
- struct Vec4 {
44
- VFromD<D> v0;
45
- VFromD<D> v1;
46
- VFromD<D> v2;
47
- VFromD<D> v3;
48
- };
49
-
50
- // D arg is unused but allows deducing D.
51
- template <class D>
52
- HWY_API Vec2<D> Create2(D /* tag */, VFromD<D> v0, VFromD<D> v1) {
53
- return Vec2<D>{v0, v1};
54
- }
55
-
56
- template <class D>
57
- HWY_API Vec3<D> Create3(D /* tag */, VFromD<D> v0, VFromD<D> v1, VFromD<D> v2) {
58
- return Vec3<D>{v0, v1, v2};
59
- }
60
-
61
- template <class D>
62
- HWY_API Vec4<D> Create4(D /* tag */, VFromD<D> v0, VFromD<D> v1, VFromD<D> v2,
63
- VFromD<D> v3) {
64
- return Vec4<D>{v0, v1, v2, v3};
65
- }
66
-
67
- template <size_t kIndex, class D>
68
- HWY_API VFromD<D> Get2(Vec2<D> tuple) {
69
- static_assert(kIndex < 2, "Tuple index out of bounds");
70
- return kIndex == 0 ? tuple.v0 : tuple.v1;
71
- }
72
-
73
- template <size_t kIndex, class D>
74
- HWY_API VFromD<D> Get3(Vec3<D> tuple) {
75
- static_assert(kIndex < 3, "Tuple index out of bounds");
76
- return kIndex == 0 ? tuple.v0 : kIndex == 1 ? tuple.v1 : tuple.v2;
77
- }
78
-
79
- template <size_t kIndex, class D>
80
- HWY_API VFromD<D> Get4(Vec4<D> tuple) {
81
- static_assert(kIndex < 4, "Tuple index out of bounds");
82
- return kIndex == 0 ? tuple.v0
83
- : kIndex == 1 ? tuple.v1
84
- : kIndex == 2 ? tuple.v2
85
- : tuple.v3;
86
- }
87
-
88
- template <size_t kIndex, class D>
89
- HWY_API Vec2<D> Set2(Vec2<D> tuple, VFromD<D> val) {
90
- static_assert(kIndex < 2, "Tuple index out of bounds");
91
- if (kIndex == 0) {
92
- tuple.v0 = val;
93
- } else {
94
- tuple.v1 = val;
95
- }
96
- return tuple;
97
- }
98
-
99
- template <size_t kIndex, class D>
100
- HWY_API Vec3<D> Set3(Vec3<D> tuple, VFromD<D> val) {
101
- static_assert(kIndex < 3, "Tuple index out of bounds");
102
- if (kIndex == 0) {
103
- tuple.v0 = val;
104
- } else if (kIndex == 1) {
105
- tuple.v1 = val;
106
- } else {
107
- tuple.v2 = val;
108
- }
109
- return tuple;
110
- }
111
-
112
- template <size_t kIndex, class D>
113
- HWY_API Vec4<D> Set4(Vec4<D> tuple, VFromD<D> val) {
114
- static_assert(kIndex < 4, "Tuple index out of bounds");
115
- if (kIndex == 0) {
116
- tuple.v0 = val;
117
- } else if (kIndex == 1) {
118
- tuple.v1 = val;
119
- } else if (kIndex == 2) {
120
- tuple.v2 = val;
121
- } else {
122
- tuple.v3 = val;
123
- }
124
- return tuple;
125
- }