about summary refs log tree commit diff stats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Move ID generation to xmpp folderMichael Vetter2018-08-3011-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 counterMichael Vetter2018-08-142-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-dereferenceMichael Vetter2018-07-301-6/+8
|\ \ | | | | | | server_events: fix potential NULL pointer deref
| * | server_events: fix potential NULL pointer derefMichael Santos2017-04-121-6/+8
| | |
* | | Use correct macroDominik Heidler2018-07-301-2/+2
| | | | | | | | | | | | XMPP_FEATURE_PING insted of STANZA_NS_PING
* | | Fix gcc8 error about strncpyMichael Vetter2018-07-061-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 lengthJames Booth2018-03-111-1/+1
| |
* | Add max tab length to statusbarJames Booth2018-03-118-31/+114
| |
* | Fix utf8 chars in statusbarJames Booth2018-03-111-3/+3
| |
* | Default tab name to falseJames Booth2018-03-101-1/+0
| |
* | Add statusbar pref to themesJames Booth2018-03-101-0/+10
| |
* | Statusbar render at start of small windowJames Booth2018-03-101-0/+3
| |
* | Dont show extended tabs when max 0James Booth2018-03-101-0/+3
| |
* | Use jid prefs in statusbarJames Booth2018-03-103-6/+60
| |
* | WIP add self prefs for statusbarJames Booth2018-03-1010-76/+107
| |
* | Do not highlight room tab on subject changeJames Booth2018-03-101-11/+0
| |
* | Tidy windows when closing room configJames Booth2018-03-101-0/+1
| |
* | Show extended tabsJames Booth2018-03-101-12/+60
| |
* | Refactor statusbarJames Booth2018-03-101-92/+109
| |
* | Preference to show/hide tab numberJames Booth2018-03-097-35/+77
| |
* | Only allow swapping active windowsJames Booth2018-03-093-15/+24
| |
* | Remove empty tabsJames Booth2018-03-0911-137/+21
| |
* | Add preferences for tab displayJames Booth2018-03-0917-69/+283
| |
* | Add max tabs preference for statusbarJames Booth2018-03-087-59/+111
| |
* | Add prefs for empty tabs and tab namesJames Booth2018-03-089-20/+139
| |
* | Show name in statusbar tabs WIPJames Booth2018-03-0813-394/+241
| |
* | Add message to status barJames Booth2018-03-071-22/+39
| |
* | Set background in _status_bar_drawJames Booth2018-03-071-2/+3
| |
* | Add time to status barJames Booth2018-03-073-6/+53
| |
* | Draw empty status barJames Booth2018-03-071-356/+381
| |
* | Do not colour room as joined when error joiningJames Booth2018-03-071-7/+5
| | | | | | | | fixes #984
* | Merge branch 'master' into autocomplete-clearJames Booth2018-03-052-3/+20
|\ \
| * | Remove redundant window->type checksJames Booth2018-03-041-36/+12
| | |
| * | Use jid argument for /bookmark when in roomJames Booth2018-03-041-2/+43
| | | | | | | | | | | | fixes #983
| * | Update themesJames Booth2018-02-101-1/+1
| | |
* | | Clear autocompletes on line editsJames Booth2018-02-091-3/+19
|/ /
* | Fix muc nick autocomplete colon mid messageJames Booth2018-02-091-33/+37
| |
* | Update help for /roomsJames Booth2018-02-051-1/+1
| |
* | Add /rooms service autocompletionJames Booth2018-02-056-7/+79
| |
* | Clear rooms cache on disconnectJames Booth2018-02-051-0/+2
| |
* | Add /rooms cacheJames Booth2018-02-059-14/+109
| |
* | Filter rooms by simple case insensitive textJames Booth2018-02-043-14/+47
| |
* | Include filter string in no rooms messageJames Booth2018-01-281-2/+2
| |
* | Fix tests, move glob creationJames Booth2018-01-275-31/+31
| |
* | Allow filtering rooms list by globJames Booth2018-01-275-22/+196
| |
* | Show roster room server by defailtJames Booth2018-01-271-0/+1
| |
* | Allow hiding room server in rosterJames Booth2018-01-217-1/+57
| |
* | Update copyrightJames Booth2018-01-21137-139/+139
| |
* | Show libotr and libgpgme versions on --versionJames Booth2017-08-102-3/+16
| | | | | | | | issue #956
* | Show Python version on --versionJames Booth2017-08-104-4/+22
| | | | | | | | issue #956