Commit graph

30 commits

Author SHA1 Message Date
Bruno Bigras 2d26310d0c
README: fix windows installer URL 2019-02-01 16:49:04 -05: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 3fa19db295 Improve grammar in README file 2018-05-06 18:31:55 -07: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 c2e519f19f Some tidying up 2017-10-08 17:10:56 -07:00
gentoo90 7a387cb675 Add info about env variables and building on Windows to README.md 2017-10-06 21:58:47 +03:00
Nathan Fiedler a758819cc9 Update changelog, readme, and crate version
cargo test passes
2017-08-26 13:14:12 -07:00
Nathan Fiedler a1d50c2f01 Remove old cruft, document testing with Docker 2017-08-19 20:10:23 -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 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 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 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
Bruno Bigras 1d31b971c6 syntax highlighting in README.md 2016-10-04 17:01:27 -04:00
Nathan Fiedler 094e24d859 Clarify versions of dependencies 2016-08-18 15:53:14 -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
Herman J. Radtke III eedab4a6a7 Update required version to 6.9
This library makes use of `MagickAutoOrientImage`, which is not present in all versions of ImageMagick 6.
2016-06-17 19:00:31 -07:00
Nathan Fiedler 4741780a7a Add a pointer to the setup documentation 2016-03-22 20:56:02 -07:00
Nathan Fiedler ebf4559ede Instructions for building on various platforms
Include Vagrant files for FreeBSD 10.2 and Ubuntu Linux 14.04 LTS.
2016-02-10 18:11:32 -08:00
Nathan Fiedler 708d4b444b Update notes on dependencies 2016-02-06 14:08:31 -08:00
Nathan Fiedler 04e1052266 Automatically build ImageMagick bindings
Leave the generated bindings out of the source repository and instead
have Cargo automatically build them if they are missing. This allows the
version of MagickWand to be incorporated into the bindings
automatically. For instance, in Homebrew the version is 6.Q16, while on
FreeBSD 10.2 it is 6.9, and only be generating the bindings for each
system can we ensure a smooth compilation process.
2016-01-25 19:58:43 -08:00
Nathan Fiedler 19377db422 Add get_image_property() to retrieve properties
cargo test passes
2016-01-02 14:31:20 -08:00
Nathan Fiedler c2300b02cf Add creates details and example usage 2015-10-08 06:52:41 -07:00
Nathan Fiedler 56877aaad3 Write image to a vector of bytes (in memory write)
cargo test passes
2015-06-09 22:18:57 -07:00
Nathan Fiedler 1781b39863 Basic API in place, some tests working
Reading an image, getting its dimensions, and resizing are working.

cargo test passes
2015-06-08 21:47:17 -07:00
Nathan Fiedler ed91ab75d0 Initial generated bindings and basic API 2015-06-06 21:30:42 -07:00