Commit message (Expand) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed possible segfault when no type attribute on incoming messages | James Booth | 2012-10-22 | 1 | -16/+18 |
* | Removed trailing whitespace from src and tests | James Booth | 2012-10-21 | 1 | -34/+34 |
* | jabber: rewrite error handling | Dmitry Podgorny | 2012-10-20 | 1 | -52/+26 |
* | handle error messages from server | Dmitry Podgorny | 2012-10-18 | 1 | -1/+47 |
* | Fixed indentation | James Booth | 2012-10-16 | 1 | -3/+3 |
* | Moved jabber_free_resources call | James Booth | 2012-10-16 | 1 | -11/+0 |
* | Merge branch 'master' of https://github.com/pasis/profanity | James Booth | 2012-10-16 | 1 | -0/+8 |
|\ | |||||
| * | jabber: fix crash when disconnection timeout is reached | Dmitry Podgorny | 2012-10-17 | 1 | -7/+8 |
* | | Attempted fix at causing segfault by freeing connection | James Booth | 2012-10-16 | 1 | -7/+11 |
|/ | |||||
* | Users added to contact list when no precense notification | James Booth | 2012-10-04 | 1 | -0/+1 |
* | Moved chat logging to profanity module | James Booth | 2012-10-02 | 1 | -15/+0 |
* | Tidy up jabber module, removed unused code, made local functions private | James Booth | 2012-10-02 | 1 | -76/+80 |
* | Removed jabber module dependency on ui module | James Booth | 2012-10-02 | 1 | -1/+0 |
* | Moved roster output handling to profanity module | James Booth | 2012-10-02 | 1 | -17/+14 |
* | Added status handler code to profanity module | James Booth | 2012-10-02 | 1 | -12/+4 |
* | Moved login attempt handler code to profanity module | James Booth | 2012-10-01 | 1 | -21/+3 |
* | Moved incoming message code to profanity module | James Booth | 2012-10-01 | 1 | -4/+2 |
* | Shutdown now correctly handles connection | James Booth | 2012-09-23 | 1 | -2/+0 |
* | Created shutdown init function to initiate and wait for shutdown | James Booth | 2012-09-11 | 1 | -31/+46 |
* | Started work on closing stream on quit | James Booth | 2012-09-11 | 1 | -5/+22 |
* | Tidied all includes | James Booth | 2012-08-26 | 1 | -5/+5 |
* | Refactored log | James Booth | 2012-08-26 | 1 | -9/+9 |
* | Merge common and util | James Booth | 2012-08-23 | 1 | -1/+1 |
* | Added some logging and updated man page | James Booth | 2012-08-w"> make(HeaderLayout, 0, len(filter.layout)) for _, row := range filter.layout { // To preserve layout alignment, only hide rows if all columns are empty for _, col := range row { if filter.keep(msg, col) { result = append(result, row) break } } } return result } // grid builds a ui grid, populating each cell by calling a callback function // with the current header string. func (layout HeaderLayout) grid(cb func(string) ui.Drawable) (grid *ui.Grid, height int) { rowCount := len(layout) grid = ui.MakeGrid(rowCount, 1, ui.SIZE_EXACT, ui.SIZE_WEIGHT) for i, cols := range layout { r := ui.MakeGrid(1, len(cols), ui.SIZE_EXACT, ui.SIZE_WEIGHT) for j, col := range cols { r.AddChild(cb(col)).At(0, j) } grid.AddChild(r).At(i, 0) } return grid, rowCount } |