summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2019-01-19 18:12:32 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2019-01-19 18:12:46 +0100
commit8747bc9c28e2c1f762f6fd0f9235f056dbc74ba0 (patch)
tree0e9ad62407b39e6423498198c5d91f879abb6e0b
parent7a5ae200e9d7d38a72cb0be11c9e9a6cfceeb839 (diff)
Bump version and update changelog.v0.47.0
-rw-r--r--CHANGELOG.md137
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
3 files changed, 114 insertions, 27 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 01be62f2..96fb0f67 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,38 +9,46 @@
- [Removed](#removed)
- [Fixed](#fixed)
- [Security](#security)
-- [0.33.1](#0331)
+- [0.47.0](#0470)
+ - [Changed](#changed-1)
- [Fixed](#fixed-1)
-- [0.33.0](#0330)
+- [0.33.1 .. 0.46.0](#0331--0460)
- [Added](#added-1)
- - [Changed](#changed-1)
- - [Deprecated](#deprecated-1)
- [Removed](#removed-1)
+ - [Changed](#changed-2)
- [Fixed](#fixed-2)
- - [Security](#security-1)
-- [0.32.2](#0322)
+- [0.33.1](#0331)
- [Fixed](#fixed-3)
-- [0.32.1](#0321)
- - [Fixed](#fixed-4)
-- [0.32.0](#0320)
+- [0.33.0](#0330)
- [Added](#added-2)
- - [Changed](#changed-2)
- - [Fixed](#fixed-5)
-- [0.31.0](#0310)
- - [Added](#added-3)
- [Changed](#changed-3)
- - [Deprecated](#deprecated-2)
+ - [Deprecated](#deprecated-1)
- [Removed](#removed-2)
+ - [Fixed](#fixed-4)
+ - [Security](#security-1)
+- [0.32.2](#0322)
+ - [Fixed](#fixed-5)
+- [0.32.1](#0321)
- [Fixed](#fixed-6)
-- [0.30.0](#0300)
- - [Added](#added-4)
+- [0.32.0](#0320)
+ - [Added](#added-3)
- [Changed](#changed-4)
- - [Deprecated](#deprecated-3)
- [Fixed](#fixed-7)
-- [0.29.0](#0290)
- - [Added](#added-5)
+- [0.31.0](#0310)
+ - [Added](#added-4)
- [Changed](#changed-5)
+ - [Deprecated](#deprecated-2)
+ - [Removed](#removed-3)
- [Fixed](#fixed-8)
+- [0.30.0](#0300)
+ - [Added](#added-5)
+ - [Changed](#changed-6)
+ - [Deprecated](#deprecated-3)
+ - [Fixed](#fixed-9)
+- [0.29.0](#0290)
+ - [Added](#added-6)
+ - [Changed](#changed-7)
+ - [Fixed](#fixed-10)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -56,6 +64,32 @@ Released YYYY/MM/DD
## Changed
+* TODO (or remove section if none)
+
+## Deprecated
+
+* TODO (or remove section if none)
+
+## Removed
+
+* TODO (or remove section if none)
+
+## Fixed
+
+* TODO (or remove section if none)
+
+## Security
+
+* TODO (or remove section if none)
+
+--------------------------------------------------------------------------------
+
+# 0.47.0
+
+Released 2019/01/19
+
+## Changed
+
- `#pragma pack(n)` is now translated to `#[repr(C, packed(n))]` when targeting Rust 1.33+. [#537][]
[#537]: https://github.com/rust-lang-nursery/rust-bindgen/issues/537
@@ -64,21 +98,74 @@ Released YYYY/MM/DD
[#1474]: https://github.com/rust-lang-nursery/rust-bindgen/issues/1474
-## Deprecated
+## Fixed
-* TODO (or remove section if none)
+* `#[repr(packed)]` is now properly added if the struct only contains a vtable.
+ [#1495][]
+
+[#1495]: https://github.com/rust-lang/rust-bindgen/pull/1495
+
+* `clang-sys` should now more accurately find libclang versions when multiple
+ of them are available. [#1489][]
+
+[#1489]: https://github.com/rust-lang/rust-bindgen/pull/1489
+
+--------------------------------------------------------------------------------
+
+# 0.33.1 .. 0.46.0
+
+https://github.com/rust-lang/rust-bindgen/compare/v0.32.2...v0.46.0
+
+(Just a sneak peek, since a lot of stuff has changed :D)
+
+## Added
+
+* APIs to add lines to specific rust modules / C++ namespaces exist now.
+ [#1307][]
+
+[#1307]: https://github.com/rust-lang/rust-bindgen/issues/1307
## Removed
-* TODO (or remove section if none)
+* The link options (`link`, `link_framework`, `link_static`) have been removed.
+ They did nothing already, see [#104][]
+
+[#104]: https://github.com/rust-lang/rust-bindgen/issues/104
+
+## Changed
+
+* Associated constants are used now for bitfield enums when available. [#1166][]
+
+[#1166]: https://github.com/rust-lang/rust-bindgen/issues/1166
+
+* New versions of a bunch of dependencies (syn / quote / etc.).
## Fixed
-* TODO (or remove section if none)
+* Better target information from clang to properly generate types when
+ cross-compiling [#1289][].
-## Security
+[#1289]: https://github.com/rust-lang/rust-bindgen/issues/1289
-* TODO (or remove section if none)
+* Pointer constness was fixed in a bunch of cases when using `int const*` and
+ such. [#1311][] [#1312][].
+
+[#1311]: https://github.com/rust-lang/rust-bindgen/issues/1311
+[#1312]: https://github.com/rust-lang/rust-bindgen/issues/1312
+
+* Bitfields now work properly on big-endian machines. [#1340][]
+
+[#1340]: https://github.com/rust-lang/rust-bindgen/issues/1340
+
+* `wchar_t` layout works properly now. [#1345][]
+
+[#1345]: https://github.com/rust-lang/rust-bindgen/issues/1345
+
+* Functions can be blacklisted now. [#1364][]
+
+[#1364]: https://github.com/rust-lang/rust-bindgen/issues/1364
+
+* ... Lot's more!
--------------------------------------------------------------------------------
diff --git a/Cargo.lock b/Cargo.lock
index 47927a6a..ab2b45e3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -47,7 +47,7 @@ dependencies = [
[[package]]
name = "bindgen"
-version = "0.46.0"
+version = "0.47.0"
dependencies = [
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
"cexpr 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/Cargo.toml b/Cargo.toml
index 39aafe10..201fe66c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,7 +14,7 @@ readme = "README.md"
repository = "https://github.com/rust-lang/rust-bindgen"
documentation = "https://docs.rs/bindgen"
homepage = "https://rust-lang.github.io/rust-bindgen/"
-version = "0.46.0"
+version = "0.47.0"
build = "build.rs"
include = [