Commit graph

32 commits

Author SHA1 Message Date
Nathan Fiedler 8efc69f5dc Prepare for the 0.12.0 release 2019-09-09 20:23:49 -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 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 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 179c696a90 Prepare for release 0.10.0 2018-08-11 09:16:57 -07:00
Nathan Fiedler 279fe97b5b Update crate version 2018-05-05 10:41:22 -07:00
Nathan Fiedler a97c9a92bc Prepare for the 0.8.0 minor release 2018-02-16 09:54:20 -08:00
Nathan Fiedler 1c89e0dc21 Prepare for the 0.7.1 patch release 2017-12-30 08:36:59 -08:00
Nathan Fiedler a758819cc9 Update changelog, readme, and crate version
cargo test passes
2017-08-26 13:14:12 -07:00
little-bobby-tables e5a5472b1e update build.rs 2017-08-19 16:01:51 +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 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 00749a2d3d Forgot to set package version 2017-04-08 21:07: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
Pete Gadomski 4507d07c9c Update to the bingen crate 2017-04-07 06:24:00 -06: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 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 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 faebc468ba Detect and correct non-optimal image orientation
cargo test passes
2016-03-29 18:28:33 -07:00
Nathan Fiedler 1dc7dc46a5 Specify libc 0.2 or higher as a dependency
cargo test passes
2016-03-17 15:38:22 -07:00
Nathan Fiedler 0c3c8888a7 Update the cargo manifest for latest release 2016-02-10 20:42:26 -08:00
Nathan Fiedler 7bc3f274d2 Fix image property accessor to copy C string
cargo test passes
2016-01-02 19:57:39 -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 0cc8073a48 Upgrade to libc 0.2.4 2015-12-26 20:02:32 -08:00
Nathan Fiedler 0474886c14 Include path to MagickWand for easier building 2015-12-23 11:34:51 -08:00
Nathan Fiedler c2300b02cf Add creates details and example usage 2015-10-08 06:52:41 -07:00
Nathan Fiedler 51eee19495 Correct the package name 2015-09-07 14:21:10 -07:00
Nathan Fiedler 1c1cc62ff9 Bump the version to 0.2.0 2015-06-10 21:29:47 -07:00
Nathan Fiedler ed91ab75d0 Initial generated bindings and basic API 2015-06-06 21:30:42 -07:00