| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'main' into feature/alsa | Andreas Grois | 2024-02-10 | 2 | -0/+43 |
| |\ | |||||
| | * | Add LICENSE and README.md | Andreas Grois | 2024-02-10 | 2 | -0/+43 |
| | | | |||||
| * | | Run cargo update and fix compilation | Andreas Grois | 2024-02-10 | 3 | -245/+383 |
| | | | |||||
| * | | First kinda working ALSA volume display | Andreas Grois | 2024-02-10 | 8 | -16/+541 |
| | | | |||||
| * | | pipe_chan is working now. | Andreas Grois | 2024-02-08 | 1 | -19/+107 |
| | | | |||||
| * | | Start working on pipe_chan | Andreas Grois | 2024-01-27 | 4 | -2/+166 |
| | | | |||||
| * | | Factor out FormatableFloatValue from pulse plugin | Andreas Grois | 2024-01-24 | 7 | -163/+188 |
| | | | | | | | | | to maybe reuse it in future plugins | ||||
| * | | Start work on ALSA volume display | Andreas Grois | 2024-01-24 | 8 | -0/+133 |
| |/ | |||||
| * | Move global allocator selection to swaystatus-plugin. | Andreas Grois | 2021-11-30 | 2 | -3/+3 |
| | | | | | This way plugins needn't set it manually. | ||||
| * | Update clap version to 3.0.0-beta.5. | Andreas Grois | 2021-11-29 | 5 | -107/+88 |
| | | | | | | This change removes the flags list. To keep the help readable, the sorting of fields has been adjusted. | ||||
| * | Update some dependencies | Andreas Grois | 2021-11-29 | 3 | -15/+6 |
| | | |||||
| * | Update Rust edition to 2021 | Andreas Grois | 2021-11-29 | 5 | -5/+5 |
| | | |||||
| * | Run clippy and fix all lints. | Andreas Grois | 2021-11-29 | 5 | -31/+24 |
| | | |||||
| * | Pulse: Make sure only one query is running at a time. | Andreas Grois | 2021-11-29 | 2 | -13/+63 |
| | | | | | | There were rare cases where startup would cause an infinite loop in pulse. | ||||
| * | Update pulse help string and add a few serde renames. | Andreas Grois | 2021-11-29 | 4 | -8/+45 |
| | | |||||
| * | Fix handling of specific sinks with pulse. | Andreas Grois | 2021-11-28 | 1 | -4/+4 |
| | | | | | | Before the initial update was missing. By always querying the default sink we properly grab server data first, and trigger the update. | ||||
| * | Implement working binning and sorting for pulse audio. | Andreas Grois | 2021-11-28 | 3 | -20/+106 |
| | | |||||
| * | Draft of binning code. | Andreas Grois | 2021-11-28 | 2 | -2/+58 |
| | | |||||
| * | Draft for volume binning config support. | Andreas Grois | 2021-11-28 | 3 | -9/+47 |
| | | |||||
| * | Rework Balance/Volume Settings to use the same generic struct. | Andreas Grois | 2021-11-28 | 1 | -23/+95 |
| | | | | | | This is unfinished. The serialize/deserialize methods currently just return errors. | ||||
| * | Update translation. | Andreas Grois | 2021-11-27 | 2 | -71/+116 |
| | | |||||
| * | Fix unintentional new-line in string. | Andreas Grois | 2021-11-27 | 1 | -2/+1 |
| | | |||||
| * | Add "C" to all extern keywords. | Andreas Grois | 2021-10-29 | 1 | -10/+10 |
| | | |||||
| * | Fix all "not FFI-safe" warnings. | Andreas Grois | 2021-10-29 | 1 | -22/+23 |
| | | | | | | The backside of the "fix" is that now there are some casts to and from c_void... But how else should that work? | ||||
| * | Ignore "dead code" warnings on FFI enums. | Andreas Grois | 2021-10-28 | 2 | -10/+16 |
| | | |||||
| * | Fix warning about bare trait object. | Andreas Grois | 2021-10-28 | 1 | -1/+1 |
| | | | | | Damn, that syntax is stupid, but hey... | ||||
| * | Pulse now displays volume correctly. | Andreas Grois | 2021-06-04 | 5 | -90/+396 |
| | | | | | | Still missing actual functionality beyond a numeric display, and error cases have not been tested, but hey, it's there! | ||||
| * | Unfinished (doesn't compile) implementation of pulse runnable loop. | Andreas Grois | 2021-05-09 | 2 | -10/+152 |
| | | | | | | | | This is mainly as a note to my future self. A barebone implementation of the logic for the pulse runnable loop, where all details (meaning: functions to be called) are still not implemented - not even as signatures. | ||||
| * | Make (most) pulse nullptr checks unnecessary. | Andreas Grois | 2021-05-08 | 3 | -49/+65 |
| | | | | | | This change makes respective functions return either a result or an option instead. The goal here is readability. | ||||
| * | Revert "Make runnable's run() method take a mutable self-reference." | Andreas Grois | 2021-05-03 | 5 | -5/+5 |
| | | | | | | | | This reverts commit e1f0525e4e1dcf674aa7489042a06b7c7d671a2a. I've decided against having mutable self-references. It's a bit less convenient, but more sane. Also, the revert can be reverted any time, should the need arise. | ||||
| * | Move pulse context out of Runnable struct. | Andreas Grois | 2021-05-03 | 1 | -21/+34 |
| | | | | | | | | | It's something that should be created after the runnable started, not when the runnable gets instantiated. Also, that way we can ensure that the context isn't moved between threads, as I'm not certain that's sane to do (meaning: using it from different threads, not sending the pointer). | ||||
| * | Properly quit pulse main function. Not that it'd matter. | Andreas Grois | 2021-05-02 | 1 | -1/+5 |
| | | | | | | All that this cleanup does is set the return value... Apart from that, it's just like nuking the main loop by calling free... | ||||
| * | Create a pulse context. Seems to be working. | Andreas Grois | 2021-05-02 | 4 | -8/+96 |
| | | |||||
| * | Make runnable's run() method take a mutable self-reference. | Andreas Grois | 2021-05-02 | 5 | -5/+5 |
| | | | | | | Because there is no real reason speaking against it, and it makes plugin development a lot easier. | ||||
| * | Factor out all unsafe code into its own module (unfinished) | Andreas Grois | 2021-05-02 | 4 | -22/+112 |
| | | |||||
| * | First draft of pulse architecture. | Andreas Grois | 2021-05-01 | 7 | -0/+201 |
| | | |||||
| * | Fix error messages if library could not be loaded. | Andreas Grois | 2021-05-01 | 1 | -5/+6 |
| | | | | | | Previously rather useless memory addresses were written in user-visible error messages. Now it's the actual file path. | ||||
| * | Make before_text and after_text do something. | Andreas Grois | 2021-05-01 | 3 | -7/+18 |
| | | |||||
| * | Add new fields to config: before_text and after_text. Unused. | Andreas Grois | 2021-04-28 | 2 | -2/+32 |
| | | | | | | Will be added to main program later. Also tests need to be updated, because by default the newly added fields are present as empty strings. | ||||
| * | Move deserializer of config into separate file. | Andreas Grois | 2021-04-28 | 3 | -171/+169 |
| | | |||||
| * | Remove TODO document. For now it's done. | Andreas Grois | 2021-04-26 | 1 | -3/+0 |
| | | |||||
| * | Add options: List plugins, and get plugin help. | Andreas Grois | 2021-04-26 | 6 | -19/+157 |
| | | | | | | | This fixes the TODO document's notes about not being able to get help for individual plugins, and about not having any means to list all loadable plugins. | ||||
| * | New clippy lints, better code... | Andreas Grois | 2021-04-26 | 4 | -13/+25 |
| | | |||||
| * | Update gettext-rs version, tweak Clap dependencies. | Andreas Grois | 2021-04-25 | 2 | -105/+11 |
| | | | | | | We still might want to get rid of those dependencies. They really bloat the executable, especially Clap. | ||||
| * | Fix warnings with new Rust version | Andreas Grois | 2021-04-25 | 1 | -2/+2 |
| | | |||||
| * | Remove redundant .cargo folders | Andreas Grois | 2021-04-25 | 2 | -4/+0 |
| | | |||||
| * | Switch clock to cdylib, makes it use a lot less RAM (800 kb) | Andreas Grois | 2021-04-25 | 1 | -1/+1 |
| | | |||||
| * | Move printing sample config to separate function. | Andreas Grois | 2021-04-22 | 1 | -9/+26 |
| | | |||||
| * | Reduce data type in clock to u64. | Andreas Grois | 2021-04-22 | 2 | -14/+18 |
| | | | | | | This still gives us more than 8000 years of range, and uses a tiny bit less CPU time. | ||||
| * | Fix rounding issue in clock: | Andreas Grois | 2021-04-22 | 2 | -6/+21 |
| | | | | | | | Sleep a millisecond if otherwise an update would get skipped. This happens if a refresh is requested in the last millisecond before the next synchronized update is expected. | ||||
