Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Add conf win callback | Paul Fariello | 2018-09-05 | 8 | -40/+65 | |
| | | | | ||||||
| * | | | Rename mucconf wins into conf wins | Paul Fariello | 2018-09-05 | 16 | -130/+130 | |
| | | | | | | | | | | | | | | | | Configuration windows are now being used by both muc and cmd. | |||||
| * | | | Add support for form edition in command execution | Paul Fariello | 2018-09-05 | 3 | -9/+26 | |
| | | | | | | | | | | | | | | | | Also change wins_get_by_string prototype in order to handle const str. | |||||
| * | | | Add command exec error handling | Paul Fariello | 2018-09-05 | 3 | -1/+17 | |
| | | | | ||||||
| * | | | Handle simple execution | Paul Fariello | 2018-09-05 | 6 | -4/+60 | |
| | | | | | | | | | | | | | | | | Tested with ping from biboumi | |||||
| * | | | Add command subcommands: list and exec | Paul Fariello | 2018-09-05 | 9 | -26/+156 | |
| | | | | | | | | | | | | | | | | Also handle list result | |||||
| * | | | Add command command | Paul Fariello | 2018-09-05 | 7 | -0/+89 | |
| | | | | | | | | | | | | | | | | Initial commit to test commands API | |||||
* | | | | Merge pull request #1011 from jubalh/sha1 | Michael Vetter | 2018-09-19 | 5 | -454/+18 | |
|\ \ \ \ | | | | | | | | | | | Get rid of p_sha1 dependency | |||||
| * | | | | Move p_sha1_hash() to stanza.c | Michael Vetter | 2018-09-06 | 3 | -19/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move `p_sha1_hash()` from `common.c` to `xmpp/stanza.c` as it is only used in this file and now depends on libstrophe so xmpp is a better namespace folder. Renaming it as `_stanza_create_sha1_hash()`. And making static since only used here. The function cannot be tested in the unit tests anymore. Once functional tests are working again we should write a test for the sha1 functionality. | |||||
| * | | | | Remove p_sha1 source files | Michael Vetter | 2018-09-05 | 2 | -434/+0 | |
| | | | | | | | | | | | | | | | | | | | | And delete from Makefile.am | |||||
| * | | | | Use libstrophe sha1 functions | Michael Vetter | 2018-09-05 | 1 | -10/+9 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Using libstrophes sha1 functions in p_sha1_hash() to get rid of the p_sha1.c dependency. Relates to https://github.com/boothj5/profanity/issues/882 | |||||
* | | | | Fix extended plugin handling PR | Philip Flohr | 2018-09-06 | 3 | -19/+25 | |
| | | | | | | | | | | | | | | | | Fixes problems found in PR #999 | |||||
* | | | | implemented plugin updates | Philip Flohr | 2018-09-06 | 3 | -0/+63 | |
| | | | | ||||||
* | | | | added the possibility to uninstall a plugin | Philip Flohr | 2018-09-06 | 5 | -0/+39 | |
| | | | | ||||||
* | | | | use gio functions for file copy | Philip Flohr | 2018-09-06 | 3 | -23/+17 | |
| | | | | ||||||
* | | | | removed unreachable code: if plugin is loaded it is also installed and ↵ | Philip Flohr | 2018-09-06 | 1 | -5/+0 | |
| | | | | | | | | | | | | | | | | therefore installation will fail. -> The unload code is not needed | |||||
* | | | | provide feedback on failure cause if plugin installation fails | Philip Flohr | 2018-09-06 | 3 | -6/+10 | |
| | | | | ||||||
* | | | | Fail plugin installation if the target file already exists | Philip Flohr | 2018-09-06 | 1 | -0/+6 | |
| | | | | ||||||
* | | | | Fix command 'group' description | Michael Vetter | 2018-09-05 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | 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 |