Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Move ID generation to xmpp folder | Michael Vetter | 2018-08-30 | 11 | -68/+68 | |
| | | | | | | | | | | | | | | | | | | | | | | create_unique_id() was changed to use UUIDs instead of a counter in the last commit. Since now it depends on connection_create_uuid() which is in the xmpp subfolder the function should also be moved there. Renamed it to connection_create_stanza_id() and moved it to src/xmpp/connection.c. Discussion happened in https://github.com/boothj5/profanity/pull/1010 | |||||
* | | Use uuid in create_unique_id instead of counter | Michael Vetter | 2018-08-14 | 2 | -12/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Message IDs should be unique so they can be used by XEPs like delivery receipts, chat markers, message correction. So far it used a counter so restarting profanity will cause the counter to be 0 again. Let's rather use an UUID since we have such a function in the xmpp/xmpp.h already. Closes https://github.com/boothj5/profanity/issues/998 | |||||
* | | Merge pull request #926 from msantos/null-pointer-dereference | Michael Vetter | 2018-07-30 | 1 | -6/+8 | |
|\ \ | | | | | | | server_events: fix potential NULL pointer deref | |||||
| * | | server_events: fix potential NULL pointer deref | Michael Santos | 2017-04-12 | 1 | -6/+8 | |
| | | | ||||||
* | | | Use correct macro | Dominik Heidler | 2018-07-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | XMPP_FEATURE_PING insted of STANZA_NS_PING | |||||
* | | | Fix gcc8 error about strncpy | Michael Vetter | 2018-07-06 | 1 | -1/+1 | |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With gcc8 we get the following error when stringop-truncation is on: ``` In function ‘_rotate_log_file’, inlined from ‘log_msg.part.2’ at src/log.c:201:17: src/log.c:231:5: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] strncpy(log_file_new, log_file, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/log.c: In function ‘log_msg.part.2’: src/log.c:228:18: note: length computed here size_t len = strlen(log_file); ^~~~~~~~~~~~~~~~ ``` Using memcpy instead of strncpy. | |||||
* | | Fix theme load max tab length | James Booth | 2018-03-11 | 1 | -1/+1 | |
| | | ||||||
* | | Add max tab length to statusbar | James Booth | 2018-03-11 | 8 | -31/+114 | |
| | | ||||||
* | | Fix utf8 chars in statusbar | James Booth | 2018-03-11 | 1 | -3/+3 | |
| | | ||||||
* | | Default tab name to false | James Booth | 2018-03-10 | 1 | -1/+0 | |
| | | ||||||
* | | Add statusbar pref to themes | James Booth | 2018-03-10 | 1 | -0/+10 | |
| | | ||||||
* | | Statusbar render at start of small window | James Booth | 2018-03-10 | 1 | -0/+3 | |
| | | ||||||
* | | Dont show extended tabs when max 0 | James Booth | 2018-03-10 | 1 | -0/+3 | |
| | | ||||||
* | | Use jid prefs in statusbar | James Booth | 2018-03-10 | 3 | -6/+60 | |
| | | ||||||
* | | WIP add self prefs for statusbar | James Booth | 2018-03-10 | 10 | -76/+107 | |
| | | ||||||
* | | Do not highlight room tab on subject change | James Booth | 2018-03-10 | 1 | -11/+0 | |
| | | ||||||
* | | Tidy windows when closing room config | James Booth | 2018-03-10 | 1 | -0/+1 | |
| | | ||||||
* | | Show extended tabs | James Booth | 2018-03-10 | 1 | -12/+60 | |
| | | ||||||
* | | Refactor statusbar | James Booth | 2018-03-10 | 1 | -92/+109 | |
| | | ||||||
* | | Preference to show/hide tab number | James Booth | 2018-03-09 | 7 | -35/+77 | |
| | | ||||||
* | | Only allow swapping active windows | James Booth | 2018-03-09 | 3 | -15/+24 | |
| | | ||||||
* | | Remove empty tabs | James Booth | 2018-03-09 | 11 | -137/+21 | |
| | | ||||||
* | | Add preferences for tab display | James Booth | 2018-03-09 | 17 | -69/+283 | |
| | | ||||||
* | | Add max tabs preference for statusbar | James Booth | 2018-03-08 | 7 | -59/+111 | |
| | | ||||||
* | | Add prefs for empty tabs and tab names | James Booth | 2018-03-08 | 9 | -20/+139 | |
| | | ||||||
* | | Show name in statusbar tabs WIP | James Booth | 2018-03-08 | 13 | -394/+241 | |
| | | ||||||
* | | Add message to status bar | James Booth | 2018-03-07 | 1 | -22/+39 | |
| | | ||||||
* | | Set background in _status_bar_draw | James Booth | 2018-03-07 | 1 | -2/+3 | |
| | | ||||||
* | | Add time to status bar | James Booth | 2018-03-07 | 3 | -6/+53 | |
| | | ||||||
* | | Draw empty status bar | James Booth | 2018-03-07 | 1 | -356/+381 | |
| | | ||||||
* | | Do not colour room as joined when error joining | James Booth | 2018-03-07 | 1 | -7/+5 | |
| | | | | | | | | fixes #984 | |||||
* | | Merge branch 'master' into autocomplete-clear | James Booth | 2018-03-05 | 2 | -3/+20 | |
|\ \ | ||||||
| * | | Remove redundant window->type checks | James Booth | 2018-03-04 | 1 | -36/+12 | |
| | | | ||||||
| * | | Use jid argument for /bookmark when in room | James Booth | 2018-03-04 | 1 | -2/+43 | |
| | | | | | | | | | | | | fixes #983 | |||||
| * | | Update themes | James Booth | 2018-02-10 | 1 | -1/+1 | |
| | | | ||||||
* | | | Clear autocompletes on line edits | James Booth | 2018-02-09 | 1 | -3/+19 | |
|/ / | ||||||
* | | Fix muc nick autocomplete colon mid message | James Booth | 2018-02-09 | 1 | -33/+37 | |
| | | ||||||
* | | Update help for /rooms | James Booth | 2018-02-05 | 1 | -1/+1 | |
| | | ||||||
* | | Add /rooms service autocompletion | James Booth | 2018-02-05 | 6 | -7/+79 | |
| | | ||||||
* | | Clear rooms cache on disconnect | James Booth | 2018-02-05 | 1 | -0/+2 | |
| | | ||||||
* | | Add /rooms cache | James Booth | 2018-02-05 | 9 | -14/+109 | |
| | | ||||||
* | | Filter rooms by simple case insensitive text | James Booth | 2018-02-04 | 3 | -14/+47 | |
| | | ||||||
* | | Include filter string in no rooms message | James Booth | 2018-01-28 | 1 | -2/+2 | |
| | | ||||||
* | | Fix tests, move glob creation | James Booth | 2018-01-27 | 5 | -31/+31 | |
| | | ||||||
* | | Allow filtering rooms list by glob | James Booth | 2018-01-27 | 5 | -22/+196 | |
| | | ||||||
* | | Show roster room server by defailt | James Booth | 2018-01-27 | 1 | -0/+1 | |
| | | ||||||
* | | Allow hiding room server in roster | James Booth | 2018-01-21 | 7 | -1/+57 | |
| | | ||||||
* | | Update copyright | James Booth | 2018-01-21 | 137 | -139/+139 | |
| | | ||||||
* | | Show libotr and libgpgme versions on --version | James Booth | 2017-08-10 | 2 | -3/+16 | |
| | | | | | | | | issue #956 | |||||
* | | Show Python version on --version | James Booth | 2017-08-10 | 4 | -4/+22 | |
| | | | | | | | | issue #956 |