Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-12-13 | Add a list_foreach makro for GList | Benjamin Franzke | 4 | -40/+26 | |
Saves around 1-2 lines per foreach, and should be more error prone. | |||||
2011-12-13 | command: Assert when chooser input has unexpected value | Benjamin Franzke | 1 | -2/+8 | |
2011-12-13 | config: Read keymap from configuration file | Benjamin Franzke | 8 | -191/+386 | |
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 | 3 | -30/+30 | |
2011-12-13 | Add config property to select display name to use | Benjamin Franzke | 6 | -10/+42 | |
2011-12-12 | Use g_list_insert_sorted for sink priority | Benjamin Franzke | 1 | -14/+10 | |
2011-12-12 | Revert "Use g_list_find_custom to calculate sink position" | Benjamin Franzke | 2 | -14/+17 | |
This reverts commit 3898263f329e877d9b6a997d7a92851908d19166. | |||||
2011-12-12 | Use g_list_find_custom to calculate sink position | Benjamin Franzke | 2 | -17/+14 | |
The compare function matches against the configured sink priority. | |||||
2011-12-12 | Read config from config- not data-dirs | Benjamin Franzke | 1 | -7/+18 | |
glib provides no wrapper, so we have to loop ourselves over system and user dirs. | |||||
2011-12-12 | config: Add some more (generic) priority examples | Benjamin Franzke | 1 | -0/+11 | |
..and make them default. | |||||
2011-12-12 | Implement a priority based sink order assignment | Benjamin Franzke | 7 | -9/+189 | |
This is handsome when using udev based device discovery. | |||||
2011-12-05 | interface: Fix unitialized variable | Benjamin Franzke | 1 | -1/+1 | |
2011-10-31 | Dont show noentity errors | Benjamin Franzke | 1 | -0/+4 | |
They happen from time to time, i guess when an entity goes away but we request some updates for it, since we didnt got the remove event yet. Thats a usual case in asynchronous communication. | |||||
2011-10-22 | interface: Derive new chooser_input directly when moving | Benjamin Franzke | 3 | -35/+18 | |
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 | 7 | -0/+131 | |
2011-10-22 | Remove now invalid comments for the info callbacks | Benjamin Franzke | 1 | -6/+0 | |
2011-10-22 | Fix 80 column width | Benjamin Franzke | 3 | -47/+97 | |
2011-10-21 | Fix selection when moving an input around | Benjamin Franzke | 3 | -2/+9 | |
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 | Make use of gradual updates | Benjamin Franzke | 2 | -93/+123 | |
..to stop retreiving all sinks and inputs on every small change. | |||||
2011-10-21 | Store all input_infos in one big list | Benjamin Franzke | 4 | -37/+85 | |
This makes the lookup routines independent of each other, which allows gradual updates later. | |||||
2011-10-21 | pa-sink-ctl.h: Remove private functions | Benjamin Franzke | 2 | -94/+89 | |
This involves moving functions around in pa-sink-ctl.c so that we dont need to declare them additionally. | |||||
2011-10-21 | Fix ident mistakes introduces by previous mass changes | Benjamin Franzke | 4 | -164/+172 | |
Variables were substituted by sed, so indentation got messed up. | |||||
2011-10-21 | Stop using global variables. | Benjamin Franzke | 4 | -204/+219 | |
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 | Merge sink.h and sink_input.h | Benjamin Franzke | 4 | -21/+11 | |
2011-10-21 | Use a GList instead of GArray for sinks. | Benjamin Franzke | 7 | -147/+84 | |
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 | 3 | -3/+40 | |
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 | 5 | -39/+43 | |
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 | 4 | -101/+13 | |
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 | g_curses_input: Fix coding style | Benjamin Franzke | 2 | -9/+19 | |
2011-10-19 | Makefile.am: Use variables rather then substitutions | Benjamin Franzke | 1 | -2/+3 | |
Also set preprocessor flags in AM_CPPFLAGS | |||||
2011-10-19 | glib mainloop wrappers: Add missing includes for own prototypes | Benjamin Franzke | 2 | -0/+2 | |
2011-10-19 | Define gcc specific flags in configure | Benjamin Franzke | 1 | -1/+1 | |
2011-10-19 | g_unix_signal: Fix coding style | Benjamin Franzke | 1 | -8/+21 | |
2011-10-19 | interface: Rename status to interface_set_status | Benjamin Franzke | 3 | -10/+10 | |
2011-10-19 | interface.h: Remove private function prototypes | Benjamin Franzke | 2 | -105/+99 | |
Therefore reorder function definitions in interface.c. | |||||
2011-10-19 | Coding style: Seperate line for function return type | Benjamin Franzke | 6 | -40/+81 | |
2011-10-19 | interface: Rename get_input to interface_get_input | Benjamin Franzke | 2 | -3/+4 | |
2011-02-23 | Add glib helper headers to Makefile.am | Benjamin Franzke | 1 | -1/+1 | |
2011-02-08 | Fix: output formating | younix | 1 | -2/+3 | |
- max_name_len(): add indentation space - add space between volume bar and border | |||||
2011-02-08 | Dynamic growing volume bar. | younix | 1 | -4/+5 | |
Get the current window width and calculate the volume bar width. | |||||
2011-02-08 | Printing full name length. | younix | 2 | -7/+48 | |
Adding function to find out the longest name of all SINK's and INPUT's. Inserting indentations in amount of this max. length. | |||||
2010-11-04 | Merge branch 'master' of gitorious.org:pa-sink-ctl/pa-sink-ctl | younix | 2 | -0/+7 | |
2010-11-04 | add comment | younix | 1 | -3/+3 | |