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

deprecate `version::check_version()`

since it could easily mislead users into thinking that it does something
other than what it actu...

a48fd6c2ef8eeb00e9d7ebeff2c7759e3d88d146 authored almost 4 years ago by Lyndon Brown <[email protected]>
context: block creation for “forward” compatibility situations

9a4dee29d1c31738a1d8e9aac51c8a2bcf674a5f authored about 4 years ago by Lyndon Brown <[email protected]>
add version checking / comparison helpers

fc85373343d5d38fa465de890bdf0012aa9d969e authored about 4 years ago by Lyndon Brown <[email protected]>
version: tweak constants

the values should reflect the attributes of the PA version for which the
flag was introduced, no...

77e198d7ac17d6aa0e4ce257ab10b76f3caf274d authored about 4 years ago by Lyndon Brown <[email protected]>
docs: add missing docs

to see if this helps squeeze out that last 0.61% of undocumented items as
stated on docs.rs.

df341c647bf532e61fb239ec01090dfebde178a3 authored about 4 years ago by Lyndon Brown <[email protected]>
context: add missing deprecation since tag

c24de0a705092ab83362e93aa650ea1269cf4fe5 authored about 4 years ago by Lyndon Brown <[email protected]>
docs: fix typos

s/primative/primitive/ and a couple of others.

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

004aafae04283640935a2741417ae47880d956bc authored about 4 years ago by Lyndon Brown <[email protected]>
context: convert `FlagSet` to `bitflags` wrapper

...and thus move the flag set to associated constants of this wrapper.

this was overlooked for ...

82b6b17791527a9d73ad2834e02852171d4630b9 authored about 4 years ago by Lyndon Brown <[email protected]>
docs: add missing docs

to try to achieve 100% documentation coverage as reported on docs.rs.

we're very close, having ...

59baf717cc02088755f6906d395cbc8ad02ddb95 authored about 4 years ago by Lyndon Brown <[email protected]>
ci: add step to output toolchain versions

to double check that the version used in `cargo` commands is the one
selected via the github act...

7eca3ee07d64e0ab0e23fbd32d0e8c7ca435a2eb authored about 4 years ago by Lyndon Brown <[email protected]>
ci: tweak formatting

71e9382f9c8e7de75904d56072dd0b56e76a864a authored about 4 years ago by Lyndon Brown <[email protected]>
ci: make use of groups for log output

this should group the output from each `cargo check` execution into
collapsible blocks.

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

1dc38c1d575f405d059282fed0a7b8ef6c637229 authored about 4 years ago by Lyndon Brown <[email protected]>
fix mistake conditionally enabling `#[cfg(doc)]` for docs.rs

the unstable feature was not being enabled correctly on the crates,
causing failures on docs.rs.

b14a0e8b54baebed3da0f3a447bbc2be3097d25b authored about 4 years ago by Lyndon Brown <[email protected]>
ci: fix failure to load PA

6428164ef29714dc132e6dd7f98a4018a6f36aa2 authored about 4 years ago by Lyndon Brown <[email protected]>
release new version

28efbeae6cacb2b1b2a98bf178bddbb5ab15d407 authored about 4 years ago by Lyndon Brown <[email protected]>
ci: switch to github-actions

now that free travis is about to be discontinued.

31892b4af45c01cb40c985f4f7b1cd5fe2c91ef9 authored about 4 years ago by Lyndon Brown <[email protected]>
ci: fix testing scope

this should have been bumped in a84735c24626bf0d15facd94f370f01d197f96c6,
although there shouldn...

178d95ec31aa568c9e046de7da285729631f98bf authored about 4 years ago by Lyndon Brown <[email protected]>
re-write the compatibility guide

8cad114ad6e457ee1be5689fe02bc94b318979cc authored about 4 years ago by Lyndon Brown <[email protected]>
subscribe: tidy / improve clarity

0da0509cf10e9c2237b511fdb3d925b73cdc8f16 authored about 4 years ago by Lyndon Brown <[email protected]>
subscribe: convert `InterestMaskSet` to `bitflags` wrapper

...and thus move the flag set to associated constants of this wrapper.

2f3debb5ac2fbf19badaba3e9e84462ffab61fe7 authored about 4 years ago by Lyndon Brown <[email protected]>
mainloop::events::io: convert `IoEventFlagSet` to `bitflags` wrapper

...and thus move the flag set to associated constants of this wrapper.

a291793be9be71fe2c5ec00b1a6349a932b4e207 authored about 4 years ago by Lyndon Brown <[email protected]>
direction: move `is_valid()` and `to_string()` to methods of `FlagSet`

now that we have a wrapper type that can take them as methods.

02d53142102823500530a9171c591103a7da54cc authored about 4 years ago by Lyndon Brown <[email protected]>
binding: remove pointless doc comment

inherited from C API but irrelevant here.

cf5dfbade37a033d614c217f4a9beb1a0e198a3e authored about 4 years ago by Lyndon Brown <[email protected]>
direction: convert `FlagSet` to `bitflags` wrapper

...and thus move the flag set to associated constants of this wrapper.

3bfc9bfd152c6a3f157bb730c3870cfeea9935bc authored about 4 years ago by Lyndon Brown <[email protected]>
def: convert sink and source flag sets to `bitflags` wrappers

...and thus move the flags sets to associated constants of these wrappers.

36624d350c1f74d85172f12545d16cad58a55b67 authored about 4 years ago by Lyndon Brown <[email protected]>
stream: convert `FlagSet` to `bitflags` wrapper

...and thus move the flag set to associated constants of this wrapper.

47a07d3fd97cfef3fb7285c651bf7cc464fa3ed5 authored about 4 years ago by Lyndon Brown <[email protected]>
binding: add dependency on `bitflags`

to prep for conversion of existing flag types to a wrapper created with
the `bitflags` macro.

d4e20fba79e38e139487d5ebc08dd4d0dc25a30e authored about 4 years ago by Lyndon Brown <[email protected]>
error: make `PAErr` `repr(transparent)`

8852e7e9aec653bd97330b2597f405c69d913fef authored about 4 years ago by Lyndon Brown <[email protected]>
def: switch `RetVal` to `repr(transparent)`

c5d649324635d225e749a71caecb7defc66afc1e authored about 4 years ago by Lyndon Brown <[email protected]>
switch to the svg logo

because why not.

0f88c9dab15b87977e4382eec82adfff4ec70c10 authored about 4 years ago by Lyndon Brown <[email protected]>
docs: reword crate intros

f0a6bc438eed649c9feb76488d8e06a0076e0503 authored about 4 years ago by Lyndon Brown <[email protected]>
versions.md: fix typo

df93ca45291dbb78bc9075f1f4dd5840fb987b9b authored about 4 years ago by Lyndon Brown <[email protected]>
time: tweak type references

these should have pointed to the `timeval` mod via super after they were
move here from super.

ef5eee0ed0b34e6e67355ff739747db0e13becaa authored about 4 years ago by Lyndon Brown <[email protected]>
time: add `MicroSeconds::diff()`

cba3ea071d61c707cc09532c193a83a47bf07e66 authored about 4 years ago by Lyndon Brown <[email protected]>
time: fix bad bitflag type size

313bc7986c3470657f0a2e2c9f5b8eda657320ba authored about 4 years ago by Lyndon Brown <[email protected]>
time: add tests for basic math op impls

4de6aeddc831c5abbfd9070771ae7b95c326c616 authored about 4 years ago by Lyndon Brown <[email protected]>
binding: fix some crate names in disabled examples

9907df62007bb4b78da32575fbad304383ce79b0 authored about 4 years ago by Lyndon Brown <[email protected]>
mainloop/threaded: switch ignored examples to no-run

thus they are compiled but just not run.

fe65af6c7b3aac670a792c75fae6487b4d0c43e3 authored about 4 years ago by Lyndon Brown <[email protected]>
simplify signalling 'auto' volume mode for scache

4828694963da5e1499028e5ab0c41354e20908fa authored about 4 years ago by Lyndon Brown <[email protected]>
time: allow adding/subtracting `Duration` to/from `MonotonicTs`

rather than only supporting `MicroSeconds`. i don't think i'll bother also
supporting `Timeval` ...

35cf250048ff7e52700e050fd7a0e9c98b248b2a authored about 4 years ago by Lyndon Brown <[email protected]>
time: make more use of `Self` to refer to own type

f46acb6f65504b12a84a96895694040b48e1ee91 authored about 4 years ago by Lyndon Brown <[email protected]>
time: fix some var name mistakes

8703418c5f6a8c4bf1f9d2e6e48bcdd4b379c6a6 authored about 4 years ago by Lyndon Brown <[email protected]>
time: add mul/div by float functions to `MicroSeconds`

allows users to do things like `MicroSeconds::Second.mul_f32(0.5)`.

inspired by such methods ex...

a3bec4942a11adf02e2129ba4f23ff74ff37d66e authored about 4 years ago by Lyndon Brown <[email protected]>
time: move private const to assoc const

14ee0cccf14a93f52839eca19ca10af1a0a0c3a4 authored about 4 years ago by Lyndon Brown <[email protected]>
time: add `MicroSeconds` conversion to/from floats

thus users can now do something like `MicroSeconds::from_secs_f32(2.7)`

34c8b23cf9975849382365c09fe6be4d45d0e1be authored about 4 years ago by Lyndon Brown <[email protected]>
time: replace `From<Duration>` with `TryFrom<Duration>` for `MicroSeconds`

since it's fallible and `TryFrom` is now stable and available per our
minimum supported Rust ver...

9d57143aa1e0660ce750c59163ccaa96b766a75c authored about 4 years ago by Lyndon Brown <[email protected]>
time: add `MicroSeconds::as_secs()` and `MicroSeconds::as_millis()`

similar to that offered on `Duration`.

5d6e8cb7eaa2051fba817529810bd5ac7a19f7fb authored about 4 years ago by Lyndon Brown <[email protected]>
time: add overflow error text to replace generic unwrap failure

we should also mark the implementations with `#[track_caller]` such
that any panics point to the...

7129f63682a09260abad61c02615dfcbe73046ba authored about 4 years ago by Lyndon Brown <[email protected]>
time: add `MicroSeconds::inner()`

cf28952a5c53533ebaf8c7686f29cfb45557f745 authored about 4 years ago by Lyndon Brown <[email protected]>
time: simplification & clarification

we don't need to duplicate the logic of `Foo` implementations within the
`FooAssign` implementat...

a32793dfbbccc7722fb99557b60d1bba1cecdcd5 authored about 4 years ago by Lyndon Brown <[email protected]>
time: add add/sub ops of `MicroSeconds` to `Duration`

such that a `MicroSeconds` instance can be added to or subtracted from a
`Duration`, not just th...

08f71f9d2a761519cc188b4e5557f14adaf7ab3c authored about 4 years ago by Lyndon Brown <[email protected]>
time: add `MicroSeconds` helpers `from_secs()` and `from_millis()`

bd70d54fb88d862ed4b14cd272a0d7d06a94d8f1 authored about 4 years ago by Lyndon Brown <[email protected]>
time: make `MicroSeconds` math ops with integers more flexible

allow lhs to be the integer primitive thus allowing
`2 * MicroSeconds::SECOND` not just `MicroSe...

0fa69cebfe968310f60210db3943b581e498b467 authored about 4 years ago by Lyndon Brown <[email protected]>
time: extend testing

8db53eb81946feb9959c18c644c961d2a62b80b3 authored about 4 years ago by Lyndon Brown <[email protected]>
time: add some additional `MicroSeconds` associated constants

- `MIN` to mirror `MAX`, because why not (helps avoid users having to
manually wrap a zero)....

e0b87388a86f1fb7b119a6fdc34700b5aab5ac54 authored about 4 years ago by Lyndon Brown <[email protected]>
binding: make a couple of trivial functions const

b8e60329793c5352df498580105e9e05d159357f authored about 4 years ago by Lyndon Brown <[email protected]>
time: fix lack of use of “checked” calculations in certain basic math ops

to thus panic on overflow rather than wrap. in the case of div/rem it's
divide by zero that is i...

c45e38a648a6837f6e9bcf3b8557889706ff1f30 authored about 4 years ago by Lyndon Brown <[email protected]>
binding: add missing documentation and enforce warnings for the future

84b5cb49fa907825a31cb8092e4d5cf7f2ee65fd authored about 4 years ago by Lyndon Brown <[email protected]>
ditch `pa_latest` and `pa_latest_common` features, use `pa_v8` as default

the 'latest' aliases were a bad idea, they are a pain to maintain.
- already i've messed up by ...

667be6b9c4aaac779528815e58935bfa292bff12 authored about 4 years ago by Lyndon Brown <[email protected]>
readmes: revise PA version compatibility notes

23a68ddd26c411edcdda00d528e38fad029c1f30 authored about 4 years ago by Lyndon Brown <[email protected]>
tidy up toml files

75cb6ffbafe6b07f4b9e0cb559c768c198bff051 authored about 4 years ago by Lyndon Brown <[email protected]>
readmes: revise usage instructions

remove instructions to add "old fashioned" `extern crate` lines, instead
encouraging renaming of...

c3e8a2d62f882883431dfe718b49fffd55d11e58 authored about 4 years ago by Lyndon Brown <[email protected]>
switch to more modern macro import style for use of `num_derive` traits

note that the `num_derive` crate provides macros that wrap traits from
`num_traits`, such that y...

6041db8bbce1bf34e155ad06452eeed8488cfc54 authored about 4 years ago by Lyndon Brown <[email protected]>
binding: revise basic usage instructions in documentation

to avoid the "old fashioned" `extern crate` style.

a910be985ad3498765825e5a5c396868401dd83a authored about 4 years ago by Lyndon Brown <[email protected]>
tidy doc links with respect to inclusion of mod paths

let's avoid using them. it's tidier, and the link itself resolves any
user lack of certainty as ...

8bfa0b053554df5119023f5b4fdb706c9b16435b authored about 4 years ago by Lyndon Brown <[email protected]>
replace use of `dox` feature for bypassing build script pkg-config checks

for generation of documentation, the actual system lib is unnecessary. we
do not need to do a pk...

7147efa3b8d5d840b8e8291f148fb06eb40b7c96 authored about 4 years ago by Lyndon Brown <[email protected]>
changelogs: add mention of new dependencies in list

83f8b6f699752e2c28707954b2f87e43b56401d7 authored about 4 years ago by Lyndon Brown <[email protected]>
sample: tweak docs

replace "32 Bit" style bit size references to "32-bit" style.

896a79b99111c3c99f83414ed0658a3dfcc4ea1a authored about 4 years ago by Lyndon Brown <[email protected]>
add links to mentions of other crates

5d4be3fb7e6a7504841ee686f70445e99cee237e authored about 4 years ago by Lyndon Brown <[email protected]>
fix broken enum variant doc links

at some point they switched from `#Foo.v` to `#variant.Foo`.

thankfully intra-doc-links will ev...

4412fb3ade589c241f98e569114e7d5c74451203 authored about 4 years ago by Lyndon Brown <[email protected]>
bump msrv from 1.40 to 1.41

to get `[cfg(doc)]` support, giving a better means of enabling inclusion
of feature guarded comp...

a5ae4da680cef872fc1a9f1f92249243771e8d88 authored about 4 years ago by Lyndon Brown <[email protected]>
ditch "available since PA version X" text

becoming obsolete what with documentation feature tagging.

b6e3d5992627548a7e15d56b1c31236a3c5feb8a authored about 4 years ago by Lyndon Brown <[email protected]>
mark documentation with feature requirements

the `#[cfg(doc)]` attribute made use of in a previous commit is used as a
means of signalling th...

95738f0a85ab3e1fd25eefae30c5491ab274f61c authored about 4 years ago by Lyndon Brown <[email protected]>
mark `version::Compatibility` as non-exhaustive

f1f034aa3c9a4c4b742b44fe68b97bc35edfac85 authored about 4 years ago by Lyndon Brown <[email protected]>
sys: use links for referenced higher-level crates

1816bd60adb7617e232f4726b43c5009026d0f07 authored about 4 years ago by Lyndon Brown <[email protected]>
sys: tweak crate descriptions

0df3dd33eb4d88d91ab8f43f404fdd472427a0eb authored about 4 years ago by Lyndon Brown <[email protected]>
revise crate keywords

- add popular "ffi" keyword to sys crates.
- drop unpopular "sys" keyword from sys crates.
- ...

8f3f213ea98105e7543335531be12ce7982bd1c4 authored about 4 years ago by Lyndon Brown <[email protected]>
use `#[cfg(doc)]` for including all feature-guarded stuff in docs

...instead of the `dox` feature flag. the `#[cfg(doc)]` feature was
introduced in Rust v1.41. it...

5b661d1a133e97cc15e2c8bbeeb239d482288c8e authored about 4 years ago by Lyndon Brown <[email protected]>
sys: tweak feature version expressions

8bed59c7da48aa68c427eff82ac1c7d3a6ea928c authored about 4 years ago by Lyndon Brown <[email protected]>
subscribe: link referenced variants in docs

9c5f301785cd66530d35ff6b6b285d58e23042af authored about 4 years ago by Lyndon Brown <[email protected]>
subscribe: migrate masks to be associated constants of relevant types

long overdue since became possible in Rust 1.20.

774afa6144f80d734b973ba47b1e26e598c68ce2 authored about 4 years ago by Lyndon Brown <[email protected]>
sample: migrate endian-independant format constants to assoc-constants of `Format`

long overdue since it became possible in Rust 1.20.

they can now be accessed like `Format::S16N...

be338626a15716d9af7c6e82bcf135c9d9badbe9 authored about 4 years ago by Lyndon Brown <[email protected]>
sample: adjust export of endian-independant format constants

deduplicates the comments; but at the expense of having a third set of
constant declarations.

t...

455e15a5e736ea2c4ba96d7c21935c43b148b47a authored about 4 years ago by Lyndon Brown <[email protected]>
changelogs: tweak listing of dependency version changes

8566eeaedf6731fc9c5ec885e0b80ce23f9799f8 authored about 4 years ago by Lyndon Brown <[email protected]>
time: move constants to be associated constants of `MicroSeconds`

long overdue since became possible in Rust 1.20.

3371d45044b2c0742099b6a08272498082ee9b32 authored about 4 years ago by Lyndon Brown <[email protected]>
fix failure to update `pa_latest` feature after PA v14 support added

perhaps the burden of maintaining `pa_latest` and `pa_latest_common`
features is a bad idea...

cb58ffa7aff0a9e7fb9b561148875fda46dca2ec authored about 4 years ago by Lyndon Brown <[email protected]>
introspect: change 'subscribe' link to point to context method

...rather than 'context' mod. (probably more useful this way; the original
reference to the mod ...

ea1e814e157a780431a13cac515d72b19f4d2649 authored about 4 years ago by Lyndon Brown <[email protected]>
remove obsolete `extern crate` instances

5a74fad4e7b019dc0fc149c4c8728293da4f1c96 authored about 4 years ago by Lyndon Brown <[email protected]>
binding: fix excessively large channel count param types

both `Map` and `ChannelVolumes` hold a fixed size array, exactly the
same as the underlying C ty...

57bce0e67c8bccf05350b8b14f029216b7462030 authored about 4 years ago by Lyndon Brown <[email protected]>
shrink channels-max constant's type to `u8`

i believe i originally used `usize` simply because i had no idea what type
to assign based simpl...

4448cde8b837fb26f90544c1aa03537918146f75 authored about 4 years ago by Lyndon Brown <[email protected]>
sample: convert channels-max and rate-max to be associated constants

long overdue since associated constants became a thing back in Rust 1.20.

had to change the `pu...

ae4c82dfb5310a44ee3eceb7a696bb6ada572f68 authored about 4 years ago by Lyndon Brown <[email protected]>
sample: move validation functions to methods of `Spec`

they clearly relate to the attributes of `Spec` and so should really have
been methods of it all...

7fba03f971f5cf04af4d2680d4ffa0edd1904fbf authored about 4 years ago by Lyndon Brown <[email protected]>
use parenthesis for function/method references in docs

for better clarity, and also as a sptep towards making use of the
intra-doc-link feature of Rust...

d7cec84de448f2ea7f627293412c5e7d8abd5437 authored about 4 years ago by Lyndon Brown <[email protected]>
volume: convert constants to associated constants

long overdue since becoming possible in Rust 1.20.

4d544cf345855c1ce0b3db9cdbd55ef494612b90 authored about 4 years ago by Lyndon Brown <[email protected]>
sys: fix failure to actually bypass pkg-config check for `dox` feature

i'm not sure why i did not do this before. there's no specific reason to
force users to have pul...

0c6511964dd4e25d83529cb42bc5e0a4791327ce authored about 4 years ago by Lyndon Brown <[email protected]>
release new version (sys only)

938854022217d64fb0a9d1b86edd8776a4b4da80 authored about 4 years ago by Lyndon Brown <[email protected]>
def: fix bad source flag value

seems to be a typo made in the original version.

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

only for the main binding and sys crates though, since the changes
affecting the others aren't w...

8de397959a69c80f404601e6dc79bfa43e7196f4 authored about 4 years ago by Lyndon Brown <[email protected]>