Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-02-15 | Release pa-sink-ctl v3HEADv3master | Benjamin Franzke | 1 | -1/+1 | |
2020-02-15 | Add .desktop file | Benjamin Franzke | 2 | -0/+11 | |
2020-02-15 | Ellipsize long sink/source names | Benjamin Franzke | 1 | -28/+75 | |
2020-02-15 | Fix column alignment for UTF-8 strings | Benjamin Franzke | 2 | -6/+45 | |
2020-02-15 | Support UTF-8 characters | Benjamin Franzke | 4 | -7/+10 | |
Switch to ncursesw (using pkg-config) for UTF-8 support. Fallback to a X/Open Curses specification compatible curses implementation if ncursesw is not available. The fallback is intended for non-ncurses systems only. UTF-8 multibyte does also work on the curses implementation of NetBSD. We may need a proper configure check to assert that the curses library is multibyte capable. Note that X/Open Curses doesn't specify wide character (utf-8) compatiblity. | |||||
2020-02-15 | Replace our custom signalfd() fallback with glib one (available as of 2.54) | Benjamin Franzke | 5 | -216/+17 | |
Back in 2011 SIGWINCH couldn't be used with g_unix_signal_add. This has changed in 2.54 (released Sep. 2017). That means we can drop our wrapper now. | |||||
2020-02-15 | unix_signal: Fix ISO C90 warning | Benjamin Franzke | 1 | -2/+2 | |
unix_signal.c:140:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] GSource *source; ^ | |||||
2020-02-15 | unix_signal: Fix warnings and notes | Benjamin Franzke | 1 | -3/+13 | |
Doesn't happen on linux, as we have signalfd there, but would be triggered for other operating systems. warning: missing braces around initializer [-Wmissing-braces] sigaction(signum, &(struct sigaction){handler}, NULL); ^ unix_signal.c:130:39: note: (near initialization for '(anonymous)') unix_signal.c:130:29: warning: missing initializer for field 'sa_mask' of 'struct sigaction' [-Wmissing-field-initializers] sigaction(signum, &(struct sigaction){handler}, NULL); ^ | |||||
2020-02-15 | Print status using mvwaddstr instead of mvwprintw | Benjamin Franzke | 1 | -1/+1 | |
The status message may container printf-style modifiers which would cause an incorrect buffer to be accessed. | |||||
2020-02-15 | Drop invalid call to delscreen(NULL) | Benjamin Franzke | 1 | -1/+0 | |
Some descriptions said that delscreen frees resources from initscr (which we use) and newterm (which we do not use). Therefore we added delscreen(NULL) in 489e2955687bccb263e1ece3a1615b3356c990f2. It turs out that delscreen does only free resources from newterm and that the argument *sp *must* not be NULL. (Only due to some unreference comparisons this didn't fail in ncurses, but could fail with other curses implementations) | |||||
2013-02-20 | interface: Fix unused variable errors | Benjamin Franzke | 1 | -0/+2 | |
Caused by some curses functions being macros | |||||
2012-10-22 | configure.ac: Fix bug-report address | Benjamin Franzke | 1 | -1/+1 | |
2012-02-27 | Release pa-sink-ctl v2v2 | Benjamin Franzke | 1 | -1/+1 | |
2012-02-27 | configure: Generate tar.xz archives | Benjamin Franzke | 1 | -1/+1 | |
2012-02-27 | Add a manpage using asciidoc | Benjamin Franzke | 4 | -0/+111 | |
2012-02-12 | command: Fix segfault when trying to mute a source output | Benjamin Franzke | 1 | -1/+1 | |
2011-12-20 | Fix endless loop in slave_ctl_{prev,next}_ctl | Benjamin Franzke | 1 | -2/+2 | |
2011-12-20 | Fix indents and leading whitespace | Benjamin Franzke | 2 | -10/+10 | |
2011-12-20 | interface: Add labels to the sink and source lists | Benjamin Franzke | 1 | -1/+5 | |
2011-12-20 | Get rid of chooser_main_ctl and chooser_child | Benjamin Franzke | 5 | -137/+205 | |
Use a current_ctl pointer in struct interface instead. | |||||
2011-12-19 | ctl.h: Fix typos in parameters | Benjamin Franzke | 1 | -2/+2 | |
2011-12-19 | interface: Dont allocate volumebar if length is to less | Benjamin Franzke | 1 | -0/+2 | |
2011-12-19 | command: Check current ctl in down-command | Benjamin Franzke | 1 | -0/+6 | |
2011-12-19 | command: Put main ctl length logic into interface.c | Benjamin Franzke | 3 | -5/+13 | |
2011-12-19 | command: Add a command describing a cast in up-command | Benjamin Franzke | 1 | -0/+1 | |
2011-12-19 | Make main_ctl_childs_len a vol_ctl vfunc | Benjamin Franzke | 3 | -15/+19 | |
2011-12-19 | Rename sink.h to ctl.h | Benjamin Franzke | 5 | -4/+4 | |
2011-12-19 | Rename chooser_{sink,input} to chooser_{main_ctl,child} | Benjamin Franzke | 3 | -34/+36 | |
2011-12-19 | Implement "up" for both sink and source list | Benjamin Franzke | 1 | -3/+6 | |
2011-12-19 | Add support for switching recording sources | Benjamin Franzke | 3 | -14/+30 | |
2011-12-19 | Let sinks & sources and sink_inputs & source_outputs use same types | Benjamin Franzke | 4 | -106/+39 | |
2011-12-19 | Implement "down" for both sink and source list | Benjamin Franzke | 4 | -22/+80 | |
2011-12-18 | Initial support for displaying source outputs | Benjamin Franzke | 5 | -8/+89 | |
2011-12-18 | Initial support for printing available sources | Benjamin Franzke | 4 | -9/+83 | |
2011-12-18 | Rename sink{,_input}_info to sink{,input} | Benjamin Franzke | 4 | -20/+20 | |
2011-12-18 | config: Fix typo that caused keybind 'k' to not work | Benjamin Franzke | 1 | -1/+1 | |
2011-12-18 | Unify vol_ctl destruction paths | Benjamin Franzke | 1 | -26/+21 | |
2011-12-18 | Move interface related properties into new interface struct | Benjamin Franzke | 5 | -155/+171 | |
2011-12-18 | interface: (cosmetic) Move resize and clear functions around | Benjamin Franzke | 1 | -46/+46 | |
2011-12-18 | interface: Use printf precision and padding for volume bar printing | Benjamin Franzke | 2 | -14/+27 | |
2011-12-18 | interface: getmaxx is not standard, use getmaxyx instead | Benjamin Franzke | 1 | -2/+3 | |
2011-12-18 | interface: Stop keeping track of cursor position ourself | Benjamin Franzke | 2 | -21/+20 | |
2011-12-18 | interface: Unify drawing code for sinks and inputs | Benjamin Franzke | 4 | -75/+60 | |
They are drawn from the same function that calls itself recursiveley for childs of the currently drawn volume control. So its called for all sink_inputs that belong to a sink. | |||||
2011-12-18 | interface: Dont postfix spaces, always prefix | Benjamin Franzke | 1 | -4/+4 | |
This'll make it possible to have proper displaying when clamping ctx::max_name_len in future. | |||||
2011-12-18 | interface: print_volume can use vol_ctl parameter now | Benjamin Franzke | 1 | -5/+5 | |
2011-12-18 | set_max_name_len: Simplify code to two calls to one helper function | Benjamin Franzke | 3 | -17/+21 | |
2011-12-18 | command: Rename function do_mute to toggle_mute | Benjamin Franzke | 1 | -2/+2 | |
2011-12-18 | command: Minor cosmetic in volume_change | Benjamin Franzke | 1 | -4/+3 | |
2011-12-18 | Finally move interface_get_current_ctl into interface.c | Benjamin Franzke | 3 | -44/+47 | |
2011-12-18 | Make use of interface_get_current_ctl in switch_sink | Benjamin Franzke | 1 | -12/+18 | |