Lovell Fuller
ef77388a73
Force MSVC to use exception handling
...
As of 8.18.0, libvips C++ wrapper retrieves error messages at
exception construction time rather than lazily when accessed.
On Windows this led to error messages being referenced rather
than copied, leading to access beyond their lifetime and possible
corruption.
2026-01-22 12:52:48 +00:00
Lovell Fuller
1a2c1c8833
Add version to shared library filename to help avoid collision
2025-12-21 12:00:30 +00:00
Sylvester Keil
f2a49d19c9
Fix invalid escape sequence ( #4471 )
2025-11-07 11:39:39 +00:00
Maël Nison
43b579c903
Add sharp-libvips rpath for yarn v5 support ( #4452 )
...
This should future proof sharp against upcoming
changes in yarn's plug-n-play filesystem layout.
2025-09-12 11:15:04 +01:00
Kleis Auke Wolthuizen
40be212bba
Use modern -s command line lists
...
See: emscripten-core/emscripten@bb615a9
2025-08-29 09:37:59 +01:00
Kleis Auke Wolthuizen
16e248f93e
Remove -sWASM_BIGINT linker flag
...
Enabled by default since Emscripten 4.0.0, see commit:
emscripten-core/emscripten@93d2f8d
2025-08-29 09:37:59 +01:00
Kleis Auke Wolthuizen
b77c97067a
Remove -sTEXTDECODER=0 linker flag
...
See: emscripten-core/emscripten@b490c44
2025-08-29 09:37:59 +01:00
Lovell Fuller
cab02463ec
Remove prebuild dependency
...
Every CI build task tagged with 'package' now populates and
publishes the relevant npm/platform directory as an artefact.
These are aggregated by a fan-in release task at the end to
create a complete npm workspace zipfile. If the commit is
tagged, a release is created and the npm workspace attached.
2025-06-14 17:49:17 +01:00
Lovell Fuller
a9e191328f
Prevent glib assertions and checks #4351
2025-04-04 15:42:34 +01:00
Lovell Fuller
a00ee26d17
Prevent glib assertions and checks #4351
2025-04-04 12:41:33 +01:00
Lovell Fuller
6dfb60cda2
Prevent prebuilt Linux sharp binaries from exporting symbols
...
The prebuilt Linux libvips binaries already do this
2025-04-04 09:49:37 +01:00
Lovell Fuller
06b08bf10f
Support info.size on wide-char systems via upgrade to C++17 #3943
2024-11-04 20:18:23 +00:00
Lovell Fuller
7bdf419eb1
Upgrade to libvips v8.16.0
2024-11-04 18:10:35 +00:00
Lovell Fuller
9582b5036f
Upgrade to libvips v8.16.0-rc1
2024-10-14 14:21:23 +01:00
Lovell Fuller
a53d7cb6bf
Upgrade to libvips v8.15.5-rc1
2024-10-09 14:43:14 +01:00
Lovell Fuller
ad36fa0605
Ensure emnapiInit function is exported
...
Prevents latest emscripten optimising it away
2024-08-12 16:27:33 +01:00
Lovell Fuller
1592f96b7b
Add support for Yarn Plug'n'Play filesystem layout #3888
2023-12-10 19:38:03 +00:00
Lovell Fuller
139e4b9f65
Show cast-function-type compiler warnings
2023-11-16 11:18:58 +00:00
Lovell Fuller
a8f68ba7f0
Add infrastructure to build and publish as wasm32 ( #3840 )
...
Co-authored-by: Ingvar Stepanyan <me@rreverser.com >
2023-11-09 14:46:07 +00:00
Lovell Fuller
8c5a493f68
Correct Deno package cache rpath from 8d1747a
2023-11-06 14:20:53 +00:00
Lovell Fuller
4a37a27cca
Improve worker thread support by preventing unload on dlclose
2023-11-04 22:23:01 +00:00
Lovell Fuller
2e7c60675b
Upgrade to libvips 8.15.0-rc2
2023-11-04 11:36:18 +00:00
Lovell Fuller
069d1786f5
The value of library_dirs is now common for all platforms
2023-10-20 11:15:23 +01:00
Lovell Fuller
8d1747aa6a
Add rpath to match Deno package cache layout
2023-10-13 18:54:37 +01:00
Lovell Fuller
f8b6cb6d5b
Update package names to use 'img' npm organisation
2023-10-12 17:03:37 +01:00
Lovell Fuller
4b028edfe9
Revert "Remove extraneous rpath"
...
This reverts commit 3f54ef7525 .
The filesystem layout used by pnpm means that a nesting of 2
directories deep is used in the wild and must remain.
2023-10-10 09:56:07 +01:00
Lovell Fuller
7e25dd7be1
Ensure versions prop detects use of global libvips
2023-10-10 09:18:25 +01:00
Lovell Fuller
3f54ef7525
Remove extraneous rpath
...
The sharp.node shared library should now always end up being
nested either 3 subdirectories deep into the package root or exist
within same namespace of the node_modules tree.
2023-10-09 07:58:14 +01:00
Lovell Fuller
f7da2e5970
Building from source now requires node-addon-api in dependencies
...
If you want to build sharp from source against a globally-installed
libvips then you will now need to add both node-addon-api and
node-gyp to the dependencies section of your package.json file.
The binding.gyp file is "hidden" inside the src directory to
prevent various build and package manager tooling from assuming
that everyone is going to build from source every time.
2023-10-08 15:39:02 +01:00