Commit Graph

27 Commits

Author SHA256 Message Date
William Brown
bb37147492 Accepting request 1110960 from home:firstyear:branches:devel:languages:rust
- Update to version 0.26.0+git0:
  * v0.26.0
  * Update MSRV in Readme
  * Add support for out-of-line bitfields declarations
  * Update URLs
  * Bump clippy msrv to 1.64
  * Handle bitflags bits method calls
  * CHANGES: Note #[deprecated] support.
  * utilities: annotation: Clean-up deprecated parsing and getter.
  * Add support for #[deprecated].
  * Support "C-unwind" ABI

OBS-URL: https://build.opensuse.org/request/show/1110960
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=50
2023-09-19 00:58:38 +00:00
Wolfgang Rosenauer
6fc71bfdfd Accepting request 1108962 from home:firstyear:branches:devel:languages:rust
- Update to version 0.25.0+git0:
  * Fix minimal Rust version in CI
  * Revert "Upgrade clap 3 to clap 4"
  * Fix clippy warning
  * Fix CI
  * Update changelog for v0.25.0
  * CI: Replace forbidden actions with cli code
  * CI: Add semver checks to CI deploy job
  * msrv 1.64
  * Upgrade clap 3 to clap 4
  * Add: Add rust-toolchain.toml

- Automatic update of vendored dependencies

- Update to version 0.24.3+git0:
  * Bump version.
  * tests: Add a test for struct constants going through typedefs.
  * bindings: Peel through typedefs for struct constant generation.
  * Rustfmt recent changes.
  * Version bump.
  * bitflags: Be explicit in binary operators and such.
  * Version bump.
  * constant: Add support for unary negation.
  * bitflags: Make more operations constexpr.
  * Fix changelog typo.

OBS-URL: https://build.opensuse.org/request/show/1108962
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=48
2023-09-05 19:00:42 +00:00
Wolfgang Rosenauer
b65bc34c7f Accepting request 991356 from mozilla
minor version update required for Firefox 103

OBS-URL: https://build.opensuse.org/request/show/991356
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=46
2022-07-27 07:52:09 +00:00
Wolfgang Rosenauer
9027234b2e Accepting request 981230 from home:firstyear:branches:devel:languages:rust
- Update to version 0.24.2+git0:
  * Version bump.
  * bitflags: Be explicit in binary operators and such.
  * Version bump.
  * constant: Add support for unary negation.
  * bitflags: Make more operations constexpr.
  * Fix changelog typo.
  * Version bump.
  * constant: Support suffixes for integers that otherwise would be narrowed.
  * Fix specialization of `SomeType<N>` when `N` is a const parameter.
  * Minor refactor of ConstExpr::load().

OBS-URL: https://build.opensuse.org/request/show/981230
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=45
2022-06-08 07:43:13 +00:00
Wolfgang Rosenauer
f001be1351 Accepting request 971934 from home:firstyear:branches:devel:languages:rust
- Update to version 0.23.0+git0:
  * v0.23.0
  * constant: Make const.allow_constexpr default to true.
  * constant: Allow more constexpr constants.
  * Update syn dependency to at least 1.0.88
  * Fix #753

OBS-URL: https://build.opensuse.org/request/show/971934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=43
2022-04-22 06:17:28 +00:00
Wolfgang Rosenauer
ac898c6d51 Accepting request 970923 from home:firstyear:branches:devel:languages:rust
- Update to version 0.22.0+git0:
  * v0.22.0
  * Support rename rule for union body members.
  * constant: Add support for other expressions WebRender uses.
  * constant: Add support for associated constant expressions.
  * Fix regression in CamelCase rename rule (should be lowerCamelCase)
  * enumeration: simplify standard types in variants.
  * Avoid generating and writing bindings when called recursively
  * Cython: Omit per-variant tags in unions generated for Rust enums
  * Update various dependencies.
  * v0.21.0

OBS-URL: https://build.opensuse.org/request/show/970923
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=42
2022-04-20 12:57:13 +00:00
Wolfgang Rosenauer
3d0b375db9 Accepting request 965265 from home:firstyear:branches:devel:languages:rust
- Update to version 0.21.0+git0:
  * v0.21.0
  * Update MSRV to 1.54.0
  * Update clap to 3.1
  * Update heck to 0.4.0
  * Remove etesync from readme.
  * Update docs.md
  * Remove wgpu-native from users.
  * Address clippy lint.
  * unraw the identifiers
  * Silence some dead_code warnings.

OBS-URL: https://build.opensuse.org/request/show/965265
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=38
2022-03-28 13:45:29 +00:00
Wolfgang Rosenauer
97aea876ca Accepting request 909276 from home:firstyear:branches:devel:languages:rust
- Update to version 0.20.0+git0:
  * v0.20.0
  * Don't use `check` profile when expanding code on a release build
  * Update --pretty=expanded to -Zunpretty=expanded
  * Fix some clippy lints.
  * Simplify Pin<T> to T
  * add `Builder::with_using_namespaces`
  * Ignore PhantomPinned
  * Move the target-guessing code from #676 to its own function.
  * Only fetch dependencies for current platform by default (#676)
  * v0.19.0

OBS-URL: https://build.opensuse.org/request/show/909276
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=37
2021-07-30 07:31:48 +00:00
Wolfgang Rosenauer
889b984a64 Accepting request 901057 from home:firstyear:branches:devel:languages:rust
- Remove unnecessary dependency on rust-std-static (implied by rust)

OBS-URL: https://build.opensuse.org/request/show/901057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=34
2021-06-21 15:42:31 +00:00
Wolfgang Rosenauer
a047fec448 Accepting request 898574 from home:firstyear:branches:devel:languages:rust
- Resolve issue with UPDATING.md in submission

OBS-URL: https://build.opensuse.org/request/show/898574
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=32
2021-06-09 05:54:17 +00:00
William Brown
8d8240db03 Accepting request 897041 from home:firstyear:branches:devel:languages:rust
- Update to to build from _service with cargo-audit integration

OBS-URL: https://build.opensuse.org/request/show/897041
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=31
2021-06-09 00:44:26 +00:00
William Brown
20ff43ddfa Accepting request 886702 from mozilla
OBS-URL: https://build.opensuse.org/request/show/886702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=29
2021-04-19 23:43:45 +00:00
Wolfgang Rosenauer
7e8cf037de Accepting request 862545 from home:MSirringhaus:branches:devel:languages:rust
- Update to 0.16.0
   * Remove artificial restriction on lifetime parameters on enums
   * Add an option for converting usize/isize into size_t/ptrdiff_t.
   * Allow controlling the cargo profile used for expansion.
   * Support wider range of expressions in enum discriminants
   * Support generation of Cython bindings
   * Fixed some issues with style=tag and recursive structs
   * Default C style to Both (as specified in docs)
   * Fix resolution of path dependencies from certain modules.
   * Support inlined definitions for tuple variants with a single field in C

OBS-URL: https://build.opensuse.org/request/show/862545
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=27
2021-01-12 13:20:42 +00:00
Wolfgang Rosenauer
947d641dd5 Accepting request 841636 from mozilla
OBS-URL: https://build.opensuse.org/request/show/841636
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=25
2020-10-17 14:51:27 +00:00
Wolfgang Rosenauer
8eff2eca52 Accepting request 822462 from mozilla
- update to 0.14.3
  * Introduce cbindgen:ignore comment annotation, to allow ignoring items or modules.
  * Support for casts in constant expressions.
  * Make a non-fatal error a warning message.
  * Add a --metadata option to the CLI, to allow passing pre-computed cargo metadata.
  0.14.2
  * Fixed minimal dependency versions.
  * Add an option to write pragma once.
  * Fix submodule scanning for implicit Rust 2018 modules.
  * Fix dependency parsing / scanning to handle target-specific versions.
  * Use heck for case conversion.
  * Add support for verbatim content after includes.
  * Allow to add attributes to most generated functions.

OBS-URL: https://build.opensuse.org/request/show/822462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=23
2020-07-27 13:03:51 +00:00
Wolfgang Rosenauer
7ef890c00c Accepting request 809195 from mozilla
- Update to version 0.14.1
  0.14.1
  * Handle mangling pointers.
  * Unconditionally generate a return statement in partialeq implementations.
  0.14.0
  * Minor tweak at how [export.exclude] is handled to allow excluding
    generic instantiations in C mode.
  * Documented cpp_compat option.
  * Fixed a panic when parsing associated constants for a built-in type.
  0.13.2
  * Constants now have suitable documentation.
  * Fixed some C warnings by emitting void when there are no arguments.
  * Avoids reading cargo.toml when not needed, which can cause panics
    in workspace situations.
  * Only write `default` cases if the switch is not exhaustive.
  * Some warnings have been refined.
  * Code generation for static arrays has been fixed.
  * Opt-in support for constexpr in constants.
  * Fix C code generation and some warnings when extremely large
    constants are used.
  * Proper escaping of enum variants and fields.
  * Added support for RefCell (as an opaque type) and Cell.
- required for Firefox >= 77.0

OBS-URL: https://build.opensuse.org/request/show/809195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=21
2020-05-30 21:26:32 +00:00
Wolfgang Rosenauer
f4cb926516 Accepting request 789911 from mozilla
- remove more irrelevant build artefacts

OBS-URL: https://build.opensuse.org/request/show/789911
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=19
2020-03-30 21:54:44 +00:00
Wolfgang Rosenauer
e3b89fed20 Accepting request 789903 from mozilla
- Update to version 0.13.1
  * Support `#[cfg]` on individual enum variants
- required for Firefox >= 75

OBS-URL: https://build.opensuse.org/request/show/789903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=18
2020-03-30 21:12:54 +00:00
6644af54a7 Accepting request 782646 from mozilla
- Update to version 0.13.0
  * https://docs.rs/crate/cbindgen/0.13.0/source/CHANGES
- required for Firefox >= 74

OBS-URL: https://build.opensuse.org/request/show/782646
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=16
2020-03-08 15:16:12 +00:00
Luke Jones
c7824cfd42 Accepting request 772452 from mozilla
Update required for upcoming Firefox 73.
Please push to TW asap. Thanks.

- Update to version 0.12.0
  * https://docs.rs/crate/cbindgen/0.12.0/source/CHANGES
- required for Firefox >= 73

OBS-URL: https://build.opensuse.org/request/show/772452
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=14
2020-02-09 08:28:29 +00:00
Luke Jones
06b8e6730c Accepting request 741162 from mozilla
this version is required for Firefox 70.0 which will be released next week

- Update to version 0.9.1
  * Various improvements to comment output.
  * Fixed expand when ran from build.rs.
  * More debugging output for expansion.
  * New option to add a default private constructor in C++ tagged enums.
  * Syn and related dependencies updated to 1.0.

OBS-URL: https://build.opensuse.org/request/show/741162
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=12
2019-10-20 17:35:28 +00:00
Luke Jones
d708235428 Accepting request 721881 from home:luke_nukem:branches:devel:languages:rust
- Update to version 0.9.0
    * Support to generate C headers with C++ compatibility
    * Fix include guard generation when no_includes is set
    * Fix crate parsing order so that types from the binding crate
      are preferred in presence of conflicting names
    * Add extra_bindings option to generate bindings for dependencies
    * Clap dependency is optional now so it's feasible to avoid
      building it if cbindgen is used as a library

OBS-URL: https://build.opensuse.org/request/show/721881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=10
2019-08-08 22:33:06 +00:00
Luke Jones
61e83427cb Accepting request 702837 from mozilla
Firefox 67.0 will require at least 0.8.2 and 0.8.7 is current.

- update to version 0.8.7

OBS-URL: https://build.opensuse.org/request/show/702837
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=7
2019-05-14 21:22:21 +00:00
Luke Jones
5e96744395 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=5 2019-03-18 10:32:40 +00:00
Luke Jones
f3e2b054e8 Accepting request 686020 from mozilla
need this quickly in Factory/TW to submit Firefox 66

- update to version 0.6.8 to satisfy Firefox 66.0 build requirements

OBS-URL: https://build.opensuse.org/request/show/686020
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=4
2019-03-18 10:16:00 +00:00
Luke Jones
eea9359fb7 Accepting request 650222 from home:AndreasStieger:branches:devel:languages:rust
- use a source URL

OBS-URL: https://build.opensuse.org/request/show/650222
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=2
2018-11-19 18:34:09 +00:00
Luke Jones
e1ab28eef2 Accepting request 648806 from home:luke_nukem
- Initial packaging

OBS-URL: https://build.opensuse.org/request/show/648806
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=1
2018-11-14 01:23:39 +00:00