Commit Graph

52 Commits

Author SHA1 Message Date
a824ea19ac doc: add install guide and an example 2024-05-25 15:12:06 -07:00
b359d72087 chore: prepare for 0.21.0 release 2024-04-17 18:17:14 -07:00
a2d2a5fbc8 chore: prepare for 0.20.0 release 2024-02-25 20:45:31 -08:00
612c13166d chore: prepare for 0.19.1 release 2023-09-23 16:04:40 -07:00
8a9536d83a fix: make disable-hdri default to fix compile error
By making the disable-hdri feature a default, the `quantum_range()` function
will be one which computes a value for `QuantumRange` based on a constant
that rust-bindgen seemingly does not have any problem discovering.

cargo test passes
2023-09-23 11:43:07 -07:00
ef1867e9f9 chore: fix some clippy warnings 2023-09-17 14:45:35 -07:00
ce0792f27b chore: prepare for 0.19 release 2023-06-19 10:23:17 -07:00
f1cbfa8304 Prepare for 0.18 release 2023-04-15 10:37:25 -07:00
c4ec37d1cc chore: update bindgen and prepare for release 2022-12-10 11:39:01 -08:00
723d1ddc62 Upgrade dependency bindgen (0.59 -> 0.60) 2022-08-27 02:31:21 +08:00
faaf9acdbf Prepare for the 0.16.0 release
cargo test passes
2022-04-09 09:47:31 -07:00
32f854cd6f Prepare for the 0.15.0 release 2021-08-10 06:35:56 -07:00
aae7b562ef chore: update bindgen dependency to latest 2021-08-03 18:59:55 -07:00
8f9526e5ae chore: update dependencies and bindgen usage
cargo test passes
2021-06-28 18:27:27 -07:00
e8170defca Required version bump on bindgen.
More info: https://github.com/rust-lang/rust-bindgen/pull/1826.
2021-01-23 10:23:00 -03:00
a600637726 Add workaround for QuantumRange not defined error when hdri is disabled 2020-06-08 23:59:14 +01:00
512a974ca5 Prepare for the 0.14.0 release 2020-05-21 19:20:50 -07:00
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
92b12900ab fix multiple redefined values on linux build
841  | pub const FP_ZERO: u32 = 2;
     | --------------------------- previous definition of the value `FP_ZERO` here
...
8117 | pub const FP_ZERO: _bindgen_ty_2 = 2;
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FP_ZERO` redefined here

Signed-off-by: Nikola Pajkovsky <nikola.pajkovsky@livesporttv.cz>
2020-05-21 11:42:08 +02:00
2c95cd7173 Prepare for 0.13 release 2020-03-25 08:13:59 -07:00
8efc69f5dc Prepare for the 0.12.0 release 2019-09-09 20:23:49 -07:00
122f144ecb Made exception related functions public
cargo test passes
2019-04-17 20:15:48 -07:00
9f47958081 Adjust pkg-config dependency, revise requirements 2019-02-01 20:32:10 -08:00
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
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
179c696a90 Prepare for release 0.10.0 2018-08-11 09:16:57 -07:00
279fe97b5b Update crate version 2018-05-05 10:41:22 -07:00
a97c9a92bc Prepare for the 0.8.0 minor release 2018-02-16 09:54:20 -08:00
1c89e0dc21 Prepare for the 0.7.1 patch release 2017-12-30 08:36:59 -08:00
a758819cc9 Update changelog, readme, and crate version
cargo test passes
2017-08-26 13:14:12 -07:00
e5a5472b1e update build.rs 2017-08-19 16:01:51 +07:00
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
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
00749a2d3d Forgot to set package version 2017-04-08 21:07:20 -07:00
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
4507d07c9c Update to the bingen crate 2017-04-07 06:24:00 -06:00
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
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
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
1dcd0f6933 Fix crate version number
cargo test passes
2016-07-17 18:09:09 -07:00
95c6d58789 Correct the crate version number 2016-07-17 17:48:55 -07:00
faebc468ba Detect and correct non-optimal image orientation
cargo test passes
2016-03-29 18:28:33 -07:00
1dc7dc46a5 Specify libc 0.2 or higher as a dependency
cargo test passes
2016-03-17 15:38:22 -07:00
0c3c8888a7 Update the cargo manifest for latest release 2016-02-10 20:42:26 -08:00
7bc3f274d2 Fix image property accessor to copy C string
cargo test passes
2016-01-02 19:57:39 -08:00
19377db422 Add get_image_property() to retrieve properties
cargo test passes
2016-01-02 14:31:20 -08:00
0cc8073a48 Upgrade to libc 0.2.4 2015-12-26 20:02:32 -08:00
0474886c14 Include path to MagickWand for easier building 2015-12-23 11:34:51 -08:00
c2300b02cf Add creates details and example usage 2015-10-08 06:52:41 -07:00
51eee19495 Correct the package name 2015-09-07 14:21:10 -07:00