Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ponymix: validate arg count before invoking function | Dave Reisner | 2013-01-02 | 1 | -126/+83 |
| | | | | | | | | | | | | | | | A few changes make this fun and easy: - Merge the function array into the string to action lookup and return a Command instead of simply an enum. A Command is the function and the min/max arg count. - Implement an InRange method for the Range class. - Add a Dispatch function to convert the string to Command and validate the arguments. This leaves us in a position where the argc parameter to each method is never used, but maybe some day a command will be added that takes a range of args rather than a fixed number. | ||||
* | rename class Pulse to PulseClient | Dave Reisner | 2013-01-02 | 1 | -24/+24 |
| | |||||
* | eschew _unused_ attribute | Dave Reisner | 2013-01-01 | 1 | -18/+14 |
| | |||||
* | alias sane types to --device flags | Dave Reisner | 2013-01-01 | 1 | -9/+35 |
| | |||||
* | maybe fix app mode? | Dave Reisner | 2013-01-01 | 1 | -1/+16 |
| | | | | | | | A sources-output can only be moved to a new source, and a sink-input can only be moved to a new sink. So, derive the target type based on this. Also, reroute sink -> sink-input and source -> source-output to save some keystrokes. | ||||
* | action, not option | Dave Reisner | 2013-01-01 | 1 | -3/+4 |
| | |||||
* | initial commit | Dave Reisner | 2013-01-01 | 1 | -0/+520 |