Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-12-19 | Rename sink.h to ctl.h | Benjamin Franzke | 1 | -1/+1 | |
2011-12-19 | Rename chooser_{sink,input} to chooser_{main_ctl,child} | Benjamin Franzke | 1 | -8/+10 | |
2011-12-19 | Let sinks & sources and sink_inputs & source_outputs use same types | Benjamin Franzke | 1 | -44/+16 | |
2011-12-19 | Implement "down" for both sink and source list | Benjamin Franzke | 1 | -10/+41 | |
2011-12-18 | Initial support for displaying source outputs | Benjamin Franzke | 1 | -0/+3 | |
2011-12-18 | Initial support for printing available sources | Benjamin Franzke | 1 | -0/+8 | |
2011-12-18 | Rename sink{,_input}_info to sink{,input} | Benjamin Franzke | 1 | -5/+5 | |
2011-12-18 | Move interface related properties into new interface struct | Benjamin Franzke | 1 | -88/+92 | |
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 | 1 | -14/+25 | |
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 | 1 | -20/+20 | |
2011-12-18 | interface: Unify drawing code for sinks and inputs | Benjamin Franzke | 1 | -72/+39 | |
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 | 1 | -17/+18 | |
2011-12-18 | Finally move interface_get_current_ctl into interface.c | Benjamin Franzke | 1 | -0/+44 | |
2011-12-18 | Rename vol_ctl_object to vol_ctl | Benjamin Franzke | 1 | -1/+1 | |
2011-12-18 | Unify common sink(_input) properties to a base object | Benjamin Franzke | 1 | -11/+10 | |
2011-12-14 | Increase warning leaves, and fix new occured ones | Benjamin Franzke | 1 | -2/+3 | |
2011-12-13 | Let interface_set_status use va args | Benjamin Franzke | 1 | -2/+7 | |
2011-12-13 | Add goto based error-path cleanup to main | Benjamin Franzke | 1 | -3/+5 | |
2011-12-13 | Allow to quit with a non-ready context | Benjamin Franzke | 1 | -3/+0 | |
2011-12-13 | Fix some leaks | Benjamin Franzke | 1 | -1/+9 | |
2011-12-13 | interface: Rename print_sink_list to interface_redraw | Benjamin Franzke | 1 | -2/+3 | |
2011-12-13 | Add a list_foreach makro for GList | Benjamin Franzke | 1 | -16/+11 | |
Saves around 1-2 lines per foreach, and should be more error prone. | |||||
2011-12-13 | config: Read keymap from configuration file | Benjamin Franzke | 1 | -189/+6 | |
This needed a split of the switch that handled input before into several small callback functions. | |||||
2011-12-13 | sink: Remove struct typedefs | Benjamin Franzke | 1 | -16/+16 | |
2011-12-13 | Add config property to select display name to use | Benjamin Franzke | 1 | -3/+2 | |
2011-12-05 | interface: Fix unitialized variable | Benjamin Franzke | 1 | -1/+1 | |
2011-10-22 | interface: Derive new chooser_input directly when moving | Benjamin Franzke | 1 | -26/+16 | |
Dont schedule this until redraw, since this needed hacks to ensure we got the update. | |||||
2011-10-22 | interface: Dont move a sink_input if there is only one sink | Benjamin Franzke | 1 | -1/+4 | |
2011-10-22 | Add License header to source files | Benjamin Franzke | 1 | -0/+19 | |
2011-10-22 | Fix 80 column width | Benjamin Franzke | 1 | -28/+53 | |
2011-10-21 | Fix selection when moving an input around | Benjamin Franzke | 1 | -0/+1 | |
We may not get the update for the moved index immediately, but we calculate the new position for the selection on redraw. So schedule redraw until we get the update, when we move around. | |||||
2011-10-21 | interface: Calculate offsets less often | Benjamin Franzke | 1 | -17/+15 | |
2011-10-21 | Store all input_infos in one big list | Benjamin Franzke | 1 | -19/+55 | |
This makes the lookup routines independent of each other, which allows gradual updates later. | |||||
2011-10-21 | Fix ident mistakes introduces by previous mass changes | Benjamin Franzke | 1 | -118/+113 | |
Variables were substituted by sed, so indentation got messed up. | |||||
2011-10-21 | Stop using global variables. | Benjamin Franzke | 1 | -132/+114 | |
Rather store it in a context, thats used everywhere as parameter, or as userdata. | |||||
2011-10-21 | interface: Stop the use of ugly tmp structures | Benjamin Franzke | 1 | -40/+28 | |
2011-10-21 | Use a GList instead of GArray for sinks. | Benjamin Franzke | 1 | -40/+50 | |
This lets us drop our ugly GArray wrappers sink.c and sink_input.c. It will make gradual updates of sinks easier, since elements can be added and dropped everywhere in the list easily. | |||||
2011-10-21 | interface: Cache some boolean expressions | Benjamin Franzke | 1 | -4/+8 | |
2011-10-21 | signalfd: Read out received signals | Benjamin Franzke | 1 | -0/+11 | |
2011-10-20 | Use signalfd if available | Benjamin Franzke | 1 | -0/+32 | |
If kqueue can be added as well, our homegrown kinda ugly signal dispatcher could be killed. | |||||
2011-10-20 | g_unix_signal: Remove g_ prefix to not collide with glib | Benjamin Franzke | 1 | -2/+2 | |
There is a g_unix_signal_new function in glib as well now, but that is only allowed to be used for SIGINT, SIGHUP and SIGTERM, so we have to stay with our own. | |||||
2011-10-20 | Kill off g_curses_input | Benjamin Franzke | 1 | -5/+11 | |
Use a g_io_channel that listens to STDIN_FILENO instead. | |||||
2011-10-19 | interface_set_status: Rename "save" to "status" | Benjamin Franzke | 1 | -5/+6 | |
2011-10-19 | interface: Add defines for special chooser_input states | Benjamin Franzke | 1 | -13/+16 | |
2011-10-19 | interface: Rename status to interface_set_status | Benjamin Franzke | 1 | -2/+2 | |
2011-10-19 | interface.h: Remove private function prototypes | Benjamin Franzke | 1 | -100/+99 | |
Therefore reorder function definitions in interface.c. |