Nathan Fiedler
ce36ba8cff
Merge pull request #68 from captainbland/master
...
Add workaround for QuantumRange not defined error when hdri is disabled
2020-06-10 19:09:07 -07:00
Nathan Fiedler
e360172bfa
Merge pull request #67 from Drevoed/feature/MagickLiquidRescaleImage-MagickImplodeImage
...
feat: MagickLiquidRescaleImage | MagickImplodeImage
2020-05-28 14:48:22 -07:00
Nathan Fiedler
512a974ca5
Prepare for the 0.14.0 release
2020-05-21 19:20:50 -07:00
Nathan Fiedler
63f2bf6a12
Fix compiler warnings
...
cargo test passes
2020-05-21 08:40:16 -07:00
Nathan Fiedler
78e61525d6
chore: update change log
2020-05-21 08:21:15 -07:00
Nathan Fiedler
43edd76429
Update to latest bindgen release
...
The behavior around size_t changed so added a flag to temporarily avoid the
issue until it becomes a real problem later on.
cargo test passes
2020-05-21 08:17:08 -07:00
Nathan Fiedler
a2ae59aa43
chore: update changelog
2020-05-21 06:43:24 -07:00
Nathan Fiedler
23c20a9425
doc: add pull option to docker-compose build
2020-05-21 06:37:26 -07:00
Nathan Fiedler
dc826d5505
Merge pull request #66 from npajkovsky/master
...
fix build issues and try! warnings
2020-05-21 06:35:55 -07:00
Nathan Fiedler
5abfac5cc3
Merge pull request #65 from Storykit/feature/set-image-alpha
...
feat: MagickSetImageAlpha
2020-04-24 12:58:39 -07:00
Nathan Fiedler
3d52a9d89d
Merge pull request #64 from Storykit/feature/blur-image
...
feat: MagickBlurImage
2020-04-22 07:56:00 -07:00
Nathan Fiedler
fc76fa95d4
Merge pull request #63 from Storykit/feature/hald-clut
...
feat: hald clut image
2020-04-22 07:55:25 -07:00
Nathan Fiedler
9361e3f5f4
Merge pull request #62 from Storykit/revert-set-image-gray
...
Revert "feat: set_image_gray"
2020-04-22 07:54:51 -07:00
Nathan Fiedler
fefc89387d
Merge pull request #61 from Storykit/feature/levels
...
feat: level image binding
2020-04-21 06:49:41 -07:00
Nathan Fiedler
f6d0f27aaf
Merge pull request #60 from Storykit/feature/fx
...
feat: MagickFxImage bindning
2020-04-21 06:49:28 -07:00
Nathan Fiedler
5b6b9437de
Merge pull request #59 from Storykit/feature/set-image-gray
...
feat: set_image_gray
2020-04-21 06:49:13 -07:00
Nathan Fiedler
2c95cd7173
Prepare for 0.13 release
2020-03-25 08:13:59 -07:00
Nathan Fiedler
e4c2150a9f
Merge pull request #56 from Storykit/feature/clut_image
...
Binding for MagickClutImage
2020-03-25 08:07:59 -07:00
Nathan Fiedler
6efd70c41a
Merge pull request #55 from max-frai/master
...
Add gaussian blur function
2020-01-09 09:15:13 -08:00
Nathan Fiedler
66397e6abc
Fix deprecated usage of ONCE_INIT
...
Once::new() was added in Rust 1.2.0 and ONCE_INIT has been deprecated as of
Rust 1.38. Also updated the README example.
cargo test passes
2019-10-31 08:45:46 -07:00
Nathan Fiedler
8e531f5611
Add docker ignore file to speed up operations
2019-09-27 19:52:20 -07:00
Nathan Fiedler
8efc69f5dc
Prepare for the 0.12.0 release
2019-09-09 20:23:49 -07:00
Nathan Fiedler
9772e33a9e
Update CHANGELOG
2019-08-17 11:43:15 -07:00
Nathan Fiedler
38cec8acf0
Merge pull request #51 from Atul9/cargo-fmt
...
Format code using 'cargo fmt'
2019-08-17 10:13:15 -07:00
Nathan Fiedler
65ae47fbf8
Merge pull request #50 from magiclen/feature/set_background_color
...
Binding for set_background_color
2019-05-29 09:16:34 -07:00
Nathan Fiedler
122f144ecb
Made exception related functions public
...
cargo test passes
2019-04-17 20:15:48 -07:00
Nathan Fiedler
9f47958081
Adjust pkg-config dependency, revise requirements
2019-02-01 20:32:10 -08:00
Nathan Fiedler
07c4971b66
Fix the clippy warnings
...
cargo test passes
2019-02-01 20:00:29 -08:00
Nathan Fiedler
251df0167f
Merge pull request #48 from bbigras/patch-1
...
README: fix windows installer URL
2019-02-01 14:34:16 -08:00
Nathan Fiedler
4e0a0a219f
Rollback bindgen to 0.31 release
...
The 0.42 release of bindgen was failing in the docker rust image. All
versions between 0.31 and 0.42 failed with other errors, so this is the only
version that works on both macOS and docker.
cargo test passes
2018-10-06 18:19:35 -07:00
Nathan Fiedler
bd34f145a2
Ran cargo fmt on the code base, looks better
...
cargo test passes
2018-10-06 15:38:33 -07:00
Nathan Fiedler
8a4fced836
Update to latest release of bindgen
...
Note that all of the enum definitions changed (again?), and now they are
flattened into the 'bindings' namespace. This breaks the API in a way that
is relatively easy to fix, albeit annoying. Attempts to change the enum
generation using default_enum_style() resulted in endless compiler errors.
cargo test passes
2018-10-06 15:37:41 -07:00
Nathan Fiedler
336606f121
Merge pull request #45 from magiclen/feature/set_sampling_factors
...
Binding for set_sampling_factors
2018-08-12 17:33:39 -07:00
Nathan Fiedler
ab047f562a
Merge pull request #44 from magiclen/master
...
Binding for set_image_background_color and sharpen_image
2018-08-12 17:33:09 -07:00
Nathan Fiedler
179c696a90
Prepare for release 0.10.0
2018-08-11 09:16:57 -07:00
Nathan Fiedler
1498f7a88d
Merge pull request #43 from NQNStudios/resize
...
Binding for adaptive_resize_image
2018-05-26 18:38:44 -07:00
Nathan Fiedler
5c2853385d
Merge pull request #42 from NQNStudios/new-bindings
...
Adding binding for MagickAddImage and MagicRotateImage
2018-05-25 15:16:14 -07:00
Nathan Fiedler
f8e930e01e
Merge pull request #41 from pixers/master
...
More MagickWand functions implemented
2018-05-18 20:49:55 -07:00
Nathan Fiedler
3fa19db295
Improve grammar in README file
2018-05-06 18:31:55 -07:00
Nathan Fiedler
279fe97b5b
Update crate version
2018-05-05 10:41:22 -07:00
Nathan Fiedler
92c91713a9
Update changelog for 0.9.0 release
2018-05-05 10:34:35 -07:00
Nathan Fiedler
65dd2e92e1
Set Rust docker image version to "latest"
...
ImageMagick is still set to 7.0.x for now.
2018-03-30 10:45:53 -07:00
Nathan Fiedler
cac80848ed
Merge pull request #37 from pixers/master
...
Wrap additional MagickWand functions.
2018-03-30 09:50:46 -07:00
Nathan Fiedler
0366b9352d
Merge pull request #36 from pixers/fix-string_get-memory-leak
...
Fix memory management in `string_get!`
2018-03-29 20:11:32 -07:00
Nathan Fiedler
2ba8a3d0d0
Merge pull request #35 from sindreij/fix-multi-page-pdf
...
Fix exporting pdf->jpeg for multi-page pdf
2018-03-28 08:55:51 -07:00
Nathan Fiedler
a97c9a92bc
Prepare for the 0.8.0 minor release
2018-02-16 09:54:20 -08:00
Nathan Fiedler
82dd58b726
Image colors value has some variability
...
cargo test passes
2018-02-16 09:51:20 -08:00
Nathan Fiedler
cfc97f2caf
Merge pull request #34 from sindreij/add-crop-image
...
Add crop_image to MagickWand
2018-02-14 09:23:00 -08:00
Nathan Fiedler
71b854de9d
Merge pull request #33 from little-bobby-tables/color-transformations
...
Add color-related getters and transforms
2018-01-03 10:38:30 -08:00
Nathan Fiedler
1c89e0dc21
Prepare for the 0.7.1 patch release
2017-12-30 08:36:59 -08:00
Nathan Fiedler
7e33bda69f
Update Dockerfile to rust 1.22, latest ImageMagick
...
Using latest bitflags crate requires a newer version of Rust.
cargo test passes
2017-12-22 20:12:58 -08:00
Nathan Fiedler
25547a9178
Merge pull request #32 from gentoo90/fix-build
...
Hide more types to fix build
2017-12-22 17:55:58 -08:00
Nathan Fiedler
8f41f2ad49
Update to ImageMagick 7.0.7-14 for Docker build
2017-12-07 18:34:43 -08:00
Nathan Fiedler
c8cff380fe
Update to ImageMagick 7.0.7-13 for Docker build
2017-12-02 11:42:24 -08:00
Nathan Fiedler
3e178d1b8e
Update ImageMagick version in Dockerfile
2017-11-26 19:48:21 -08:00
Nathan Fiedler
c2e519f19f
Some tidying up
2017-10-08 17:10:56 -07:00
Nathan Fiedler
88dcb28e40
Update ImageMagick version in Dockerfile
2017-10-08 17:10:36 -07:00
Nathan Fiedler
2e6d7faa41
Merge pull request #28 from gentoo90/windows
...
Parametrize build, add Windows support.
2017-10-08 15:37:56 -07:00
Nathan Fiedler
06f1a4352a
Merge branch 'magick-7'
2017-08-26 13:14:51 -07:00
Nathan Fiedler
a758819cc9
Update changelog, readme, and crate version
...
cargo test passes
2017-08-26 13:14:12 -07:00
Nathan Fiedler
a1f211ad1f
Merge pull request #27 from little-bobby-tables/get-image-page
...
Add get_image_page to MagickWand
2017-08-23 08:42:05 -07:00
Nathan Fiedler
a1d50c2f01
Remove old cruft, document testing with Docker
2017-08-19 20:10:23 -07:00
Nathan Fiedler
2d63b00b1f
Fix typo in doc comment
2017-08-19 17:45:06 -07:00
Nathan Fiedler
14f78e3734
Fix pkg-config invocation in build.rs
...
It seems that pkg-config ignores the --max-version option when combined with
certain other options. As such, that check was not really working. Since the
pkg-config Rust crate always passes those certain other options, it is
necessary to invoke the pkg-config command directly from build.rs instead.
cargo test passes
2017-07-10 21:32:59 -07:00
Nathan Fiedler
acabbafa08
Downgrade rust-bindgen to 0.25.5
...
There is an issue when building on Linux when using 0.26.0 or higher, so
keep to a version that still works on Mac and Linux.
cargo test passes
2017-07-08 21:30:42 -07:00
Nathan Fiedler
979cdd3269
Fix Ubuntu 16 test VM, rename directory
...
Also remove the FreeBSD VM definition, as it basically does not work in
VirtualBox and Vagrant, for whatever reason.
2017-07-08 21:29:04 -07:00
Nathan Fiedler
1436145cb5
Tag new release with small API addition
...
Also, update bindgen version and format some of the comments and
documentation.
cargo test passes
2017-07-07 20:38:01 -07:00
Nathan Fiedler
cba0de65fa
Merge pull request #25 from gentoo90/compare
...
Add `compare_images` method
2017-05-16 10:08:58 -07:00
Nathan Fiedler
4a5b6935ed
Merge pull request #24 from gadomski/split-pkg-config-version-flags
...
Split the pkg-config version and flags checks
2017-04-10 11:23:28 -07:00
Nathan Fiedler
00749a2d3d
Forgot to set package version
2017-04-08 21:07:20 -07:00
Nathan Fiedler
034a7313bf
Update CHANGELOG, add bindgen link to README
2017-04-08 20:58:20 -07:00
Nathan Fiedler
e7054d3e35
Use the rust-bindgen crate properly
...
Using the changes from @gadomski along with some additional work, to get the
generated bindings working again. Works on macOS and FreeBSD 11. A couple of
hacks are needed for FreeBSD, but nothing too serious.
Changed to use the libc prefix, and changed to use the generated enums.
Fixes #22 , #15 , and #14
cargo test passes
2017-04-08 16:03:58 -07:00
Nathan Fiedler
d86bf69079
Strike out bindgen in README file
2017-04-06 20:02:54 -07:00
Nathan Fiedler
b22e97c908
Hack the MagickWand bindings
...
Using rust-bindgen to generate the bindings for the MagickWand library is
extremely difficult with the new versions of rust-bindgen. The old versions
of the generated bindings will be used for now, and nothing will be
generated at build time.
cargo test passes
2017-04-06 19:58:58 -07:00
Nathan Fiedler
f4843c246c
Test with some flexibility in image size
...
The size of the image can vary from version to version (of ImageMagick) and
platform to platform (i.e. MacOS and FreeBSD). As such, allow for a degree
of variability in the resulting image size.
cargo test passes
2017-01-22 14:13:05 -08:00
Nathan Fiedler
6ade7438d9
Additional Homebrew link command is needed
2017-01-21 15:30:37 -08:00
Nathan Fiedler
693dc0b4e9
Specify exactly how to install ImageMagick with Homebrew
2017-01-21 13:18:22 -08:00
Nathan Fiedler
c45a066093
Quiet the package installation in Fabric script
2016-10-20 09:02:13 -07:00
Nathan Fiedler
2eccf1e91b
Ensure pkg-config present when generating bindings
...
Not all systems have pkg-config installed by default.
cargo test passes
2016-10-20 08:51:25 -07:00
Nathan Fiedler
b63f25c550
Enforce MagickWand version in build.rs
...
It is very easy to overlook the version of MagickWand mentioned in the
README, so make sure the build system enforces it.
Fixes #19
cargo test passes
2016-10-16 11:00:06 -07:00
Nathan Fiedler
cb40925af0
Merge pull request #18 from brunoqc/patch-1
...
syntax highlighting in README.md
2016-10-05 09:39:53 -07:00
Nathan Fiedler
50d10a3285
Add notes for 0.6.0 release
2016-09-20 20:11:49 -07:00
Nathan Fiedler
dd4becddd7
Hack to get build working on FreeBSD again
...
Due to a bug in rust-bindgen, use the bindings as generated on the Mac
for the same version of MagickWand as found on FreeBSD. That is, when
build.rs is invoked on a FreeBSD system, it will use the Mac-generated
bindings.rs rather than pulling down rust-bindgen and invoking it to
generate the bindings on the fly. See issue #385 in the rust-bindgen
project for details.
cargo test passes
2016-09-20 20:03:28 -07:00
Nathan Fiedler
2a76a0f164
Merge pull request #17 from gadomski/remove-usr-local-lib-link-path
...
Remove /usr/local/lib from rustc link search on OSX
2016-08-25 08:52:32 -07:00
Nathan Fiedler
094e24d859
Clarify versions of dependencies
2016-08-18 15:53:14 -07:00
Nathan Fiedler
39a58432b7
Include note about LIBCLANG_PATH envar for Linux
2016-08-18 15:47:35 -07:00
Nathan Fiedler
b0d439892b
Correct the copyright year
2016-08-18 15:47:14 -07:00
Nathan Fiedler
8b8f2b4444
Update Fabric script for provisioning Ubuntu VM
2016-08-18 14:59:04 -07:00
Nathan Fiedler
5b4ba71530
Make note that Clang is required to build
2016-08-18 14:58:45 -07:00
Nathan Fiedler
eec7998d25
Use new rust-bindgen crate for faster builds
...
Rather than cloning the bindgen repository and building from source, use
the packaged crate. The result is the rebuilds are much, much faster.
Also, had to make numerous changes for the new version of bindgen.
cargo test passes
2016-08-14 21:23:05 -07:00
Nathan Fiedler
2c94dab05a
Add license header to contributed files
2016-08-14 18:46:03 -07:00
Nathan Fiedler
f41202af44
No longer need to ignore bindings.rs
2016-08-12 20:32:07 -07:00
Nathan Fiedler
a3a02fc6d9
Add changes from recent merge requests
2016-08-03 20:39:26 -07:00
Nathan Fiedler
7a5bd98746
Merge pull request #13 from gadomski/set-option
...
Add `set_option` method.
2016-08-03 20:34:21 -07:00
Nathan Fiedler
76e4abb862
Merge pull request #12 from gadomski/write-images-blob
...
Add `write_images_blob`
2016-08-03 20:31:15 -07:00
Nathan Fiedler
1dcd0f6933
Fix crate version number
...
cargo test passes
2016-07-17 18:09:09 -07:00
Nathan Fiedler
95c6d58789
Correct the crate version number
2016-07-17 17:48:55 -07:00
Nathan Fiedler
96071ca377
Use Result.expect() in the suitable cases
2016-07-14 19:12:27 -07:00
Nathan Fiedler
dff74fac98
Use 6.9 version of ImageMagick for Ubuntu VM
2016-07-14 17:48:54 -07:00
Nathan Fiedler
f60f612baf
Update changelog to reflect API change
2016-06-25 15:42:39 -07:00