Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Determine default opt_device after arg parsing | Dave Reisner | 2015-03-26 | 1 | -1/+5 |
| | | | | Fixes GHI#30. | ||||
* | fix compile time warnings for unreachable code | Dave Reisner | 2014-12-29 | 3 | -0/+18 |
| | |||||
* | Merge pull request #29 from gehidore/master | Dave Reisner | 2014-12-29 | 1 | -1/+1 |
|\ | | | | | spelling correction source-output | ||||
| * | spelling correction source-output | Jordan Beaver | 2014-12-29 | 1 | -1/+1 |
|/ | |||||
* | ponymix.1: set-default doesn't take any arg | Dave Reisner | 2014-12-26 | 1 | -2/+3 |
| | |||||
* | ponymix.1: fix typo in action name | Dave Reisner | 2014-12-26 | 1 | -1/+1 |
| | |||||
* | prepare v4 | Dave Reisner | 2014-08-21 | 1 | -1/+1 |
| | |||||
* | add regression test for GHI#26. | Dave Reisner | 2014-08-20 | 1 | -0/+2 |
| | |||||
* | fix volume rounding | Daniel Micay | 2014-08-20 | 1 | -2/+2 |
| | | | | Closes #26 | ||||
* | Revert "pulse: use ceil() instead of floor() for volume percentages" | Dave Reisner | 2014-08-20 | 1 | -1/+1 |
| | | | | | | | This commit introduced a functional bug at the cost of attempting to fix a cosmetic one. This reverts commit 067f37d641ab7ae7171ea4bb362e723b0089e671. | ||||
* | more ponies behind fewer pipes. | Dave Reisner | 2014-08-20 | 1 | -1/+2 |
| | |||||
* | prepare v3 | Dave Reisner | 2014-08-19 | 1 | -1/+1 |
| | |||||
* | pulse: use ceil() instead of floor() for volume percentages | Dave Reisner | 2014-08-19 | 1 | -1/+1 |
| | | | | Fixes GHI#26. | ||||
* | remove runtime_error exceptions for impossible | Dave Reisner | 2014-07-05 | 2 | -6/+0 |
| | | | | these should be caught at compiletime, not runtime | ||||
* | Make Range::InRange a bool | Dave Reisner | 2014-07-05 | 2 | -6/+4 |
| | |||||
* | avoid extra copy of profile when resetting | Dave Reisner | 2014-05-08 | 1 | -1/+1 |
| | |||||
* | advertise the correct version on pulse | Dave Reisner | 2014-05-07 | 1 | -1/+1 |
| | |||||
* | add is-available verb | Dave Reisner | 2014-05-06 | 4 | -3/+40 |
| | |||||
* | I gotta have more ponies | Dave Reisner | 2014-05-06 | 1 | -0/+3 |
| | |||||
* | use std::max instead of fmax | Dave Reisner | 2014-01-06 | 1 | -2/+1 |
| | |||||
* | implement --short option to replace *-short commands | Dave Reisner | 2013-11-20 | 2 | -61/+44 |
| | | | | | | | | This deprecates and removes documentation for list-short, list-cards-short and list-profiles-short, but does not actually remove their functionality (for backwards compat). Using any of these commands will simply call the s/-short// version of the command and set the --short option instead. | ||||
* | whitespace police | Dave Reisner | 2013-11-05 | 1 | -4/+0 |
| | |||||
* | Fix segfault when invalid command issued. | Simon Gomizelj | 2013-11-05 | 1 | -0/+3 |
| | | | | | First check if we actually find an entry inside the action map before working on it further. | ||||
* | add .ycm_extra_conf.py | Dave Reisner | 2013-09-25 | 1 | -0/+89 |
| | |||||
* | prepare v2 release | Dave Reisner | 2013-08-25 | 1 | -1/+1 |
| | |||||
* | Add upload target, switch to xz distballs | Dave Reisner | 2013-08-25 | 1 | -1/+5 |
| | |||||
* | pulse: swap vectors rather than repopulating directly | Dave Reisner | 2013-08-23 | 1 | -10/+21 |
| | |||||
* | mark methods as const | Dave Reisner | 2013-08-23 | 1 | -5/+5 |
| | |||||
* | notify: Create a NullNotifier as the default notifier | Dave Reisner | 2013-08-22 | 2 | -11/+12 |
| | | | | This notifier is boring. It does nothing. | ||||
* | pulse: avoid passing primitives by reference | Dave Reisner | 2013-08-22 | 2 | -15/+15 |
| | |||||
* | lib: remove unused vars | Dave Reisner | 2013-08-22 | 1 | -2/+0 |
| | |||||
* | directly construct maps/structs via initializer list | Dave Reisner | 2013-08-03 | 1 | -3/+3 |
| | |||||
* | favor static_cast over c-style casts | Dave Reisner | 2013-08-03 | 2 | -20/+16 |
| | |||||
* | makefile: -std=c++11 should be part of CFLAGS | Dave Reisner | 2013-08-03 | 1 | -3/+1 |
| | |||||
* | pulse: capture the only needed arg, and by reference | Dave Reisner | 2013-05-29 | 1 | -1/+1 |
| | | | | oh dear c++.... | ||||
* | implement --max-volume to override baked in defaults | Dave Reisner | 2013-04-30 | 2 | -1/+28 |
| | | | | Solves GH#19. | ||||
* | add version function, wire it up from the makefile | Dave Reisner | 2013-04-10 | 4 | -5/+23 |
| | |||||
* | Favor nullptr over NULL | Dave Reisner | 2013-04-10 | 1 | -1/+1 |
| | |||||
* | clamp max volume based on max(dev->vol(), 100) | Dave Reisner | 2013-04-10 | 1 | -1/+3 |
| | | | | Fixes GHI#17. | ||||
* | remove unnecessary indirect vars | Dave Reisner | 2013-04-08 | 1 | -13/+5 |
| | |||||
* | Merge pull request #16 from vodik/master | Dave Reisner | 2013-04-08 | 1 | -1/+1 |
|\ | | | | | Don't connect to pulseaudio with PA_CONTEXT_NOFAIL | ||||
| * | Don't connect with PA_CONTEXT_NOFAIL | Simon Gomizelj | 2013-04-08 | 1 | -1/+1 |
|/ | | | | | | | | | | | | | | | NOFAIL means we don't fail if the daemon is not available when pa_context_connect() is called and instead enter PA_CONTEXT_CONNECTING state and wait for the daemon to appear. So currently if pulseaudio isn't running or available, ponymix will just block and wait. Since a lot of people use ponymix bound to their volume keys, this could potentially mean spawning 100s of processes before actually catching on that things aren't working. PA_CONTEXT_NOFLAGS was introduced in 0.9.19. Its really just 0. Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com> | ||||
* | check for exact match before matching on a prefix | Dave Reisner | 2013-03-12 | 1 | -1/+7 |
| | |||||
* | allow matching commands on prefixes | Dave Reisner | 2013-03-01 | 1 | -8/+30 |
| | | | | | | | | | | Allow for invocations such as "ponymix get-v" or "ponymix -d SB set-d". Bail when the command is ambiguous and print the possible matches. This necessarily means changing the return type of string_to_command to return the whole pair<> out of the action map to allow for useful errors when we do arg checking (as we don't necessarily have the full command name from the user). | ||||
* | remove unused header | Dave Reisner | 2013-02-28 | 1 | -1/+0 |
| | |||||
* | add dist target | Dave Reisner | 2013-01-27 | 1 | -0/+4 |
| | |||||
* | whitespace police | Dave Reisner | 2013-01-27 | 1 | -1/+1 |
| | |||||
* | document --notify | Dave Reisner | 2013-01-22 | 3 | -2/+7 |
| | |||||
* | add support for libnotify based notifier | Dave Reisner | 2013-01-22 | 3 | -1/+71 |
| | |||||
* | always use nullptr instead of NULL | Dave Reisner | 2013-01-21 | 2 | -3/+3 |
| |