Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/jnqnfe/pulse-binding-rust

FFI and bindings for using PulseAudio from the Rust programming language.
https://github.com/jnqnfe/pulse-binding-rust

ci: fix failure

bump MSRV due to updated glib requirement

3f6039a39a08b77d4dabace36f61a6ceda067dcb authored over 1 year ago by Lyndon Brown <[email protected]>
ci: ditch unmaintained actions-rs/toolchain action

as mentioned in the previous commit, github is now issuing warnings for
ci actions that are usin...

9a1432840fd55a5745670b0c9b0ce99108a5775a authored over 1 year ago by Lyndon Brown <[email protected]>
ci: update checkout action

github is listing warnings that indicate that the versions of 'actions'
that i'm using in CI nee...

5844e829fae902308077c7083c1d8840242ba256 authored over 1 year ago by Lyndon Brown <[email protected]>
tweak readmes

5252fe9c8e5952f8e3047fa178a4b4cb4e8465b1 authored over 1 year ago by Lyndon Brown <[email protected]>
ci: fix failure

forgot to remove `pa_v5` entry in 489edd5b1f9924c5d64af2bf9368608bba8da90e

98ff0632ced2f959db60a5f60105318bde3c68d2 authored over 1 year ago by Lyndon Brown <[email protected]>
fix cross-crate version requirements

i forgot to do this as part of the previous release. i already published
the new sys crates so w...

83adaf1280fe7ac5fdff6cd14f80bf749bddd29c authored over 1 year ago by Lyndon Brown <[email protected]>
release new version

dfb3b5d2beabc04556a0bb6b31cc998861aa52c8 authored over 1 year ago by Lyndon Brown <[email protected]>
try to fix docs.rs build failures

pkg-config checks performed by build scripts need to be disabled when
building docs on docs.rs. ...

95dbd92e8cc774c94e911235a315dd8af4f43c30 authored over 1 year ago by Lyndon Brown <[email protected]>
sys: fix warning from clashing namespace exports

warning: ambiguous glob re-exports
--> pulse-sys/src/lib.rs:58:9
|
58 | pub use self::conte...

47252f6d7ab9d5127b7fe07668e1059621526f02 authored over 1 year ago by Lyndon Brown <[email protected]>
binding: fix double reference clone warnings

example warning:

warning: using `.clone()` on a double reference, which returns `&str` instead ...

d01ed83507c75923475a6025a91eb1e4ee29813a authored over 1 year ago by Lyndon Brown <[email protected]>
drop support for PA v4

i was never quite satisfied with the way this was implemented and have long
meant to remove it.

489edd5b1f9924c5d64af2bf9368608bba8da90e authored over 1 year ago by Lyndon Brown <[email protected]>
fix typo

8b7b11d2c3e99aeb1f0da7ba6587f6d8507f77ef authored over 1 year ago by Lyndon Brown <[email protected]>
ci: bump msrvto fix failure

glib crates now require 1.64

5db934446759f51aedeee51895b4ea74a385f591 authored almost 2 years ago by Lyndon Brown <[email protected]>
ci: fix failure, again

for some reason, having upgraded the OS environment to ubuntu 22.04 from
20.04, the tests were f...

d0e65dda7cd7caeb098701a637bb843e4d63832a authored almost 2 years ago by Lyndon Brown <[email protected]>
ci: update PA version test set

forgot this upon bumping OS.

96de022fcba288cc9db5a8af100a10c93d7506fa authored almost 2 years ago by Lyndon Brown <[email protected]>
ci: bump to latest ubuntu version

just because.

dbce13d2ffc385b01bbf37e4e68c4f8f4f864e3c authored almost 2 years ago by Lyndon Brown <[email protected]>
fix badge in project readme

i missed this in the previous badge fix commit.

cce6fd84d373269f37e376f8d612d65c3b0a3de5 authored almost 2 years ago by Lyndon Brown <[email protected]>
ci: fix failure

glib crate actually needs rust version 1.63 now, so the previous fix was
insufficient.

1438640d06167dafbc4aa23ae0338f322815c801 authored almost 2 years ago by Lyndon Brown <[email protected]>
release new version

b66a382f6c1c0e7bf0489d5363aca9dab9f1cd6f authored almost 2 years ago by Lyndon Brown <[email protected]>
fix broken github build status badges

ref. https://github.com/badges/shields/issues/8671

c0bc007040c1d3df42e8e830170f83e967bf168a authored almost 2 years ago by Lyndon Brown <[email protected]>
release new version

e2cb232a3c51fd682e63ffc8fa0dbeb2ca2185d4 authored almost 2 years ago by Lyndon Brown <[email protected]>
ci: fix failures

as discussed in c6d5a9309b2fbc97cc3490dc04a5626e6d46c426, rust versions
1.60 and 1.63 tweaked fl...

5f50863a084a65b9f73da1335e826da385a00dd5 authored almost 2 years ago by Lyndon Brown <[email protected]>
ci: rename param for clarity

bf812c257657bf869bb80f1e839be49efc36943e authored almost 2 years ago by Lyndon Brown <[email protected]>
binding: typo fix from updated headers

note, this was the only change needed from PA versions 16.0 and 16.1.

d5dc6f3893ca871a47aea531a973afa6d61bf3b4 authored almost 2 years ago by Lyndon Brown <[email protected]>
ci: fix typo

75d84a43cfd4fafdd6cc3b9240006559edf031a3 authored almost 2 years ago by Lyndon Brown <[email protected]>
includes: update to v16.1 copy

152e706997cad442e9652cfa734d1e443148a8ee authored almost 2 years ago by Lyndon Brown <[email protected]>
binding: update floating-point comparisons in tests

version 1.60 of the rust stdlib included a change to improve the accuracy
of calculations in `Du...

c6d5a9309b2fbc97cc3490dc04a5626e6d46c426 authored almost 2 years ago by Lyndon Brown <[email protected]>
workspace: specify resolver version 2

while the new resolver may make no difference to this project, we may as
well migrate, and accor...

2f5ae7cd31339ac2544a6de06e81cc133a427b55 authored almost 3 years ago by Lyndon Brown <[email protected]>
binding: remove redundant trait imports

these are now included in the standard prelude in Rust 2021 edition.

9a3aeffc4e34ccc066cc72041dd1f14620f7c4b5 authored almost 3 years ago by Lyndon Brown <[email protected]>
binding: drop redundant lint

this is now an error in Rust 2021 edition.

11ed34acf6b24abebe8ea60dd84ae6e2b3c10c22 authored almost 3 years ago by Lyndon Brown <[email protected]>
bump to 2021 edition

which of course requires an MSRV of 1.56.

1df5479a7dcc3f5b988d66b9d007081137c0bfea authored almost 3 years ago by Lyndon Brown <[email protected]>
add `rust-version` attributes to cargo toml files

to better express/enforce our MSRV.

according to the cargo documentation ([1]) this was only in...

36f10c0b92d8273dc67e520502664b13ddb92f1b authored almost 3 years ago by Lyndon Brown <[email protected]>
ci: bump overall MSRV to fix failure

the `glib` crate has bumped their MSRV to 1.56 so we must do likewise for
the overall workspace ...

283d4292e864406739393539a62e02848c604152 authored almost 3 years ago by Lyndon Brown <[email protected]>
release new version

27de2686f6300be3f605a04d0bc0f171ff786be4 authored almost 3 years ago by Lyndon Brown <[email protected]>
binding: fix doc typo

cf. #47

33941695c5d09d8584f3f9879aec11f28ee5c071 authored almost 3 years ago by Lyndon Brown <[email protected]>
sys: release new version

3c7c1faee7c2e74c61b6f04df96c41f6bd9328ee authored about 3 years ago by Lyndon Brown <[email protected]>
sys: use `ProbeError` from `pkg-config`

pkgconfig 0.3.23 changes added a new error in the case of a probe
failure (see https://github.co...

97d2f57139a5b665ec1fdf8cf9323c9040108182 authored about 3 years ago by Thibaut Lorrain <[email protected]>
ci: try to fix environment setup failure

...now occurring in scheduled run.

the step where we try to ensure pulseaudio packages are inst...

540ec5bc3346b39ad11803f14a63e79b45b209c0 authored about 3 years ago by Lyndon Brown <[email protected]>
changelogs: clarify confusing entry

8ce64b7831b14825061f68914f2f919d03b697b5 authored about 3 years ago by Lyndon Brown <[email protected]>
mainloop-api: remove unnecessary `unsafe` function markers

typical convention i believe is actually only for deref of raw pointers to
require an unsafe blo...

97a9fd36ff9aa2d791ebd05d643f6c86304e7cfa authored over 3 years ago by Lyndon Brown <[email protected]>
remove now unnecessary pointer deref

i meant to do this in 456709e61823ca377c368b6cc35ba1acdd85fda9 but forgot.

18a30ecae05a5487fc8ce84a6a2c69b11784b8c3 authored over 3 years ago by Lyndon Brown <[email protected]>
time: mark `UnixTS` as `repr(transparent)`

needed for the next commit.

5efd5c54464eaaaf061401d4f9c62d45a201008d authored over 3 years ago by Lyndon Brown <[email protected]>
time: change `repr(C)` to `repr(transparent)` on `Timeval`

i don't expect this to make any difference, but `transparent` is
more appropriate for the purpos...

22afb52a762669656640a106a0618133d3602e0f authored over 3 years ago by Lyndon Brown <[email protected]>
def: fix wrong `timestamp` type for `TimingInfo`

this member, as documented, is a 'system clock time', thus should be a
`UnixTs` type rather than...

7fada8c6b0768a6f0a3644e1369905a723fd1b89 authored over 3 years ago by Lyndon Brown <[email protected]>
time: add `#[repr(transparent)]` to `MicroSeconds`

this does not actually make any difference, since we do not directly
pass the wrapper into any C...

ca911fdc6c814bed8883d0d567300dd98ac85bb8 authored over 3 years ago by Lyndon Brown <[email protected]>
simple: pass `get_latency()` error codes along to caller

don't mask the potentially useful hint as to the cause of the problem.

i picked the `Invalid` v...

718695d695303423bdb4389d9c0e89bd0a1062b3 authored over 3 years ago by Lyndon Brown <[email protected]>
simple: ensure invalid timestamp in `get_latency()` results in an error

pulseaudio generally uses the special value `PA_USEC_INVALID` to indicate
an invalid quantity of...

42ec1d0618451ea468d67d056b79189a7a24675e authored over 3 years ago by Lyndon Brown <[email protected]>
time: make use of `#[track_caller]`

as stabilised in Rust 1.46 (our current MSRV), such that panics from failed
conversions due to o...

8e005c604d381b346206d83c0783fd6fcb1fe0ad authored over 3 years ago by Lyndon Brown <[email protected]>
release new version

63cee067fa34776e1f2376a7def65db104cbe830 authored over 3 years ago by Lyndon Brown <[email protected]>
channelmap: convert `Position::to_mask()` to const fn

6e89e7a0a2af66fa6264e04d9882f9b8da224035 authored over 3 years ago by Lyndon Brown <[email protected]>
sys: mark some functions as const

now that msrv has been bumped to 1.46 we can take advantage of enhanced
`const fn` support.

582277904e2be03ef69eb8a99db23c09330422f2 authored over 3 years ago by Lyndon Brown <[email protected]>
ci: bump msrv to fix failures

bitflags v1.3 has just been released which now requires 1.46. since 1.46 is
a year old, i think ...

6cd80786ac0b8309f7712f6fdfb58b9f99f8de00 authored over 3 years ago by Lyndon Brown <[email protected]>
changelogs: fix wrong version

damn, copy & paste mistake

12662547a3524a001fbba98031afdb527cc59074 authored over 3 years ago by Lyndon Brown <[email protected]>
mainloop-api: add lifetime warning note to docs

9b66cee32293a782e8aedaae9e6b3f41b89822fa authored over 3 years ago by Lyndon Brown <[email protected]>
mainloop-api: privatise attributes of `MainloopInner`

i don't believe that users have any need to mutate these objects after
creation. a creation func...

456709e61823ca377c368b6cc35ba1acdd85fda9 authored over 3 years ago by Lyndon Brown <[email protected]>
mainloop: mark some additional items as inline

a41eddcd684b34d26f2e4ce5372be111abcc2f9d authored over 3 years ago by Lyndon Brown <[email protected]>
mainloop-api: move setting pointers to null to common function

6ab036c87dff57f861a2eb747c9e12bc706b015f authored over 3 years ago by Lyndon Brown <[email protected]>
apply some formatting tweaks

having been playing with rustfmt, these are some initial adjustments that
i'm happy with.

888958883008edc6e189ce69c61891a58ad1a39d authored over 3 years ago by Lyndon Brown <[email protected]>
add some rustfmt ignore hints

(i'm just playing with rustfmt, not committing to use of it yet, with a
number of bugs filed aga...

9c82efa81828d270713ddee622676cc681b6e2c9 authored over 3 years ago by Lyndon Brown <[email protected]>
fix some formatting issues

9daecd236b6e99312978bc94398f3eaad1db5d3e authored over 3 years ago by Lyndon Brown <[email protected]>
timeval: convert match block to if block

rustfmt doesn't like the formatting, and this results in fewer lines. it's
better anyway.

9f4fc90af68fd2144d42081a7287ff5738c9f14c authored over 3 years ago by Lyndon Brown <[email protected]>
Avoid double null check

Since the pointers have already been confirmed to be non-null by the
assert!() calls, there is n...

ebd78a23ccdd386261aed35b06812a0da6d9d964 authored over 3 years ago by Amanda Graven <[email protected]>
release new sys version

d3f2310e89c6c518af7efb6b1928c7d79ee730a2 authored over 3 years ago by Lyndon Brown <[email protected]>
version: fix feature guard mistake

caused docs.rs build to fail.

df49f887bf4391d7e56dbfb6108ebd977f5f3a4d authored over 3 years ago by Lyndon Brown <[email protected]>
release new version

3cbb9a341d8f48baeaaf5ef457504be765c1e483 authored over 3 years ago by Lyndon Brown <[email protected]>
ci: fix msrv disparity with glib crates

the `glib` and `glib-sys` crates which the glib mainloop crates here depend
upon now have an MSR...

2c1728a63f682f975f1a59465d2508a40a9a7c3a authored over 3 years ago by Lyndon Brown <[email protected]>
ci: tweak step logic

avoid the 'minimum' conditional logic; having the steps for that outside of
the loop results in ...

7956da36ebcf763ecff9a135834d0f6e77bff227 authored over 3 years ago by Lyndon Brown <[email protected]>
ci: add schedule

run a test at the beginning of the first day of every month, such that if
i'm busy working on ot...

a1dc50f651747faebff2b2a7d29acc4a0e2ec406 authored over 3 years ago by Lyndon Brown <[email protected]>
fix 'unresolved import' issue

it does not work to have these feature guards currently until rustc issue
#8811 ([1]) is fixed s...

12b91d455bc442046f4ce8e0b1acbec3fab42c88 authored over 3 years ago by Lyndon Brown <[email protected]>
add PA v15 changes

note, the documentation change to `pa_proplist_get()` was already taken
care of in eea623f56ca69...

612d5cb384f5669a22d8d246b5179f9132d07b57 authored over 3 years ago by Lyndon Brown <[email protected]>
add PA v15 version control

6c65c646e91cbcedb70c12824b861e2fdf9f7e0a authored over 3 years ago by Lyndon Brown <[email protected]>
includes: update to PA v15 copy

note, during PA v15 development, a `message-params.h` header was added,
but then replaced with `...

382798a8dd94b866b9d903d9f288a9d6f88bd064 authored over 3 years ago by Lyndon Brown <[email protected]>
release new version

23feae4ef95d9b84456ebea00f2b645acc673ce1 authored over 3 years ago by Lyndon Brown <[email protected]>
proplist: improve doc clarity

per: https://github.com/jnqnfe/pulse-binding-rust/issues/38

eea623f56ca691a476de28e038a1e782f8986b8e authored over 3 years ago by Lyndon Brown <[email protected]>
add doc note about `Sync` and safety

per: https://github.com/jnqnfe/pulse-binding-rust/issues/38

4b914c4f21b138ddf891e19ab13c60eb9c3e5982 authored over 3 years ago by Lyndon Brown <[email protected]>
sample: better highlight existence of NE assoc consts

3adf59236f1ad1007c29e27877ca65e4144d36ed authored almost 4 years ago by Lyndon Brown <[email protected]>
stream: clarify return indicator

5e68512bd26f0756ab57802e6c90763419c54e63 authored almost 4 years ago by Lyndon Brown <[email protected]>
release new version

aeef4e35d4013e9c395103aa6c1e075b5bd9be55 authored almost 4 years ago by Lyndon Brown <[email protected]>
docs: fix use of deprecated non-assoc-const sample format constants

da3ef020aceaa32c505e19a67c0a6a5788f76538 authored almost 4 years ago by Lyndon Brown <[email protected]>
mainloops: simplify example

i don't think this ever needed atomics.

e71ccb335ea467955a9340608ac92b02ea3697b7 authored almost 4 years ago by Lyndon Brown <[email protected]>
callbacks: derive `Debug` for `ListResult`

863ec7c96f1b5b3fd4d336c19af2bb88e9291f1f authored almost 4 years ago by Lyndon Brown <[email protected]>
mainloops: clarify documentation comment

e0c5d8fe3ca448e69092243acd0a8f070b1b333d authored almost 4 years ago by Lyndon Brown <[email protected]>
remove redundant null checks in operation object construction

it was checked within the constructor as well as prior to constructor use.

7c810da7011df0d6518b56575fcbfc1796ec5844 authored almost 4 years ago by Lyndon Brown <[email protected]>
formatting tweak

b9ee122e1e73a756b7ba0e763ef0433733c87d68 authored almost 4 years ago by Lyndon Brown <[email protected]>
callbacks: fix compiler error with older rust versions

current MSRV is 1.41, and without this fix the following errors occur after
the previous callbac...

ca2c0dc95640df46f335e30841c140727c1d6f33 authored almost 4 years ago by Lyndon Brown <[email protected]>
callbacks: re-implement list-callback handling

- adding a conversion function param to the common helper enables that
helper to fully perfo...

e7a0d502bcc3595e67dd37dab4583671c9b68b65 authored almost 4 years ago by Lyndon Brown <[email protected]>
callbacks: add some additional inline hints

25460c0d9abb93f9d057e23ec573bfdbe523658b authored almost 4 years ago by Lyndon Brown <[email protected]>
docs: fix use of deprecated flags

66d497fbb2102b2af37d839730e2c272f78efd0f authored almost 4 years ago by Lyndon Brown <[email protected]>
docs: fix deprecated doc links for bit flags

overlooked updating pointing docs to new bitflag associated constants
locations when they were m...

4a9b4f0c5c6f36c4219d5c033b2f9bc0af50efa5 authored almost 4 years ago by Lyndon Brown <[email protected]>
use intra-doc-linking introduced in Rust v1.48

b0bf87862e14e4fc713a8764fc00c9f5a24749b1 authored almost 4 years ago by Lyndon Brown <[email protected]>
readmes: tweak

46a4808f3ec7a730118320293d5f4bedd1aeb133 authored almost 4 years ago by Lyndon Brown <[email protected]>
release new version (glib only)

to address important bugfix, a new version for the others can come later
with additional improve...

2f9e11e10854a2e6c8defb156e8d7d638f94c5bc authored almost 4 years ago by Lyndon Brown <[email protected]>
glib: add changelog entry for previous commit

c75e8563d710bb49d0fcc48ca3e23208a1873f54 authored almost 4 years ago by Lyndon Brown <[email protected]>
Fix pa_glib_mainloop_free segfault

3d9b83f10db4a743938c04e9d1b7a5a2eb75527f authored almost 4 years ago by Daniel Chabrowski <[email protected]>
changelogs: fix typo

23e3558c72de2274aa3ed3a3c8e0414364da8cf5 authored almost 4 years ago by Lyndon Brown <[email protected]>
error: implement `std::error::Error` for `Code`, `PAErr`

cbcfddf0a90bdcf960df72f273c2c6ea21a276ca authored almost 4 years ago by Lyndon Brown <[email protected]>
sample: add overflow note

ab5961a12c0a8f22d7423c84e684283972b1001d authored almost 4 years ago by Lyndon Brown <[email protected]>
binding: use new `MicroSeconds` helper methods

2fbd19fec46ee5bf69a691092efcfed933ba8c72 authored almost 4 years ago by Lyndon Brown <[email protected]>
version: fix wrong deprecation version

since the function was being imported from the sys layer, the deprecation
date from the sys laye...

ca66a7991d85cd19c0c10c83b560ebca042ef9af authored almost 4 years ago by Lyndon Brown <[email protected]>
release new version

e53fc11dd00a899de2618a50d387f3ae6eaf4308 authored almost 4 years ago by Lyndon Brown <[email protected]>