Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename id_handler_add -> iq_id_handler_add | James Booth | 2016-05-02 | 1 | -1/+1 |
| | |||||
* | Define stanza's attributes as const char* | Dmitry Podgorny | 2016-04-27 | 1 | -16/+17 |
| | | | | | | | | | | | | In most get-like funcitons libstrophe returns pointer to a string that resides in an internal structure (e.g. xmpp_stanza_t). Hence, Profanity must not change such strings. Define respective variables as 'const char*' to reduce a chance of error and conform future libstrophe's interface. This patch mostly replaces 'char *' with 'const char*', but also fixes two memory leaks after stanza_get_reason(). Add comment within stanza_get_reason() to fix conflict with different allocator types. | ||||
* | Removed #AX_PREFIX_CONFIG_H | James Booth | 2016-03-31 | 1 | -3/+3 |
| | |||||
* | Use one stanza handler per type (message, iq, presence) | James Booth | 2016-03-28 | 1 | -48/+5 |
| | | | | Allows plugins to stop stanza processing | ||||
* | Added basic stanza receive eooks | James Booth | 2016-03-27 | 1 | -7/+11 |
| | |||||
* | Use xmpp_send_raw_string instead of xmpp_send_raw | James Booth | 2016-03-26 | 1 | -2/+2 |
| | |||||
* | Added stanza send hooks for plugins | James Booth | 2016-03-26 | 1 | -2/+20 |
| | |||||
* | Merge branch 'master' into plugins-c | James Booth | 2016-02-14 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: src/main.c src/ui/console.c | ||||
| * | Updated copyright | James Booth | 2016-02-14 | 1 | -1/+1 |
| | | |||||
* | | Added C plugin code from plugins branch | James Booth | 2016-02-14 | 1 | -3/+3 |
|/ | |||||
* | Applied coding style to src/xmpp/ | James Booth | 2015-10-26 | 1 | -11/+11 |
| | |||||
* | Check for libmesode, fall back to libstrophe | James Booth | 2015-09-21 | 1 | -1/+9 |
| | |||||
* | Use null check convention in bookmark.c | James Booth | 2015-05-04 | 1 | -11/+11 |
| | |||||
* | Moved server_events to event/ | James Booth | 2015-04-19 | 1 | -1/+1 |
| | |||||
* | Updated copyright | James Booth | 2015-02-10 | 1 | -1/+1 |
| | |||||
* | Simplified autocompleters and command history | James Booth | 2015-01-16 | 1 | -1/+1 |
| | |||||
* | Removed function pointers | James Booth | 2014-12-22 | 1 | -27/+15 |
| | |||||
* | Removed bookmark autojoin limit | James Booth | 2014-11-20 | 1 | -26/+15 |
| | |||||
* | Tidied muc module | James Booth | 2014-09-28 | 1 | -5/+5 |
| | |||||
* | Check for NULL inside autocomplete_free | James Booth | 2014-09-26 | 1 | -3/+1 |
| | |||||
* | Removed bookmarks todo | James Booth | 2014-08-31 | 1 | -1/+0 |
| | |||||
* | Added license exemption for OpenSSL to source headers | James Booth | 2014-08-24 | 1 | -0/+12 |
| | |||||
* | "/bookmark add foo" crash - fix | Jan Hacker | 2014-08-17 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | A user providing an invalid JID when creating a new bookmark (like 'foo') would reproducibly crash/segfault profanity, as it insists on checking string length behind the @ of the JID. However, it could be NULL if the user accidentally omitted it. The patch avoids the crash by NULL-checking and prevents getting there in the first place by checking the argument to "add". Backtrace of unpatched profanity with above command: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 0x00007fff85699732 in strlen () (gdb) bt #0 0x00007fff85699732 in strlen () #1 0x00000001000965d2 in xmpp_strdup () #2 0x0000000100095d6d in xmpp_stanza_set_attribute () #3 0x0000000100011c5c in _send_bookmarks () #4 0x00000001000115a8 in _bookmark_add () #5 0x000000010003320d in cmd_bookmark () #6 0x000000010002a0f2 in cmd_execute () #7 0x0000000100003a1d in process_input () #8 0x00000001000037c7 in prof_run () #9 0x0000000100045032 in main () (gdb) | ||||
* | Added quote param to autocomplete_complete | James Booth | 2014-07-09 | 1 | -1/+1 |
| | |||||
* | Renamed generate_unique_id -> create_unique_id | James Booth | 2014-06-15 | 1 | -1/+1 |
| | |||||
* | Fixed usages of get_unique_id to free result | James Booth | 2014-06-15 | 1 | -1/+2 |
| | |||||
* | Use account muc_nick when no nick for bookmark | James Booth | 2014-05-23 | 1 | -1/+4 |
| | |||||
* | Refactored bookmarks to use option parser, allow bookmarking rooms with ↵ | James Booth | 2014-05-10 | 1 | -39/+128 |
| | | | | passwords | ||||
* | Chat room windows now created only after successful join | James Booth | 2014-04-21 | 1 | -1/+1 |
| | |||||
* | Fixed handling of room subject | James Booth | 2014-04-13 | 1 | -1/+0 |
| | |||||
* | Fixed "/bookmark remove" for disabling autojoin | James Booth | 2014-04-13 | 1 | -1/+0 |
| | | | | Issue #194 | ||||
* | Refactored bookmark_remove | James Booth | 2014-04-13 | 1 | -10/+8 |
| | | | | Issue #194 | ||||
* | Implemented "/bookmark remove" for private storage | James Booth | 2014-04-13 | 1 | -77/+101 |
| | | | | Issue #194 | ||||
* | Clean up after removing bookmark | James Booth | 2014-04-13 | 1 | -0/+2 |
| | | | | Issue #194 | ||||
* | Implemented "/bookmark add" for private storage | James Booth | 2014-04-13 | 1 | -86/+73 |
| | | | | Issue #194 | ||||
* | Tidied ui dependencies | James Booth | 2014-04-06 | 1 | -2/+2 |
| | |||||
* | Updated copyright | James Booth | 2014-03-09 | 1 | -0/+21 |
| | |||||
* | Refactored muc_room_is_active to only take room, rather than full jid | James Booth | 2014-03-08 | 1 | -1/+1 |
| | |||||
* | Added test for /join with nick option | James Booth | 2014-03-08 | 1 | -2/+2 |
| | |||||
* | Adding password handling for joining chatrooms | Kristofer M White | 2014-02-27 | 1 | -1/+1 |
| | |||||
* | Removed id from bookmarks add | James Booth | 2014-02-03 | 1 | -1/+0 |
| | |||||
* | Implemented add bookmark for XEP-0223 | James Booth | 2014-02-02 | 1 | -0/+97 |
| | | | | Issue #194 | ||||
* | Test message when removing autojoin for non existent bookmark | James Booth | 2014-02-02 | 1 | -2/+10 |
| | |||||
* | Show message on /bookmark remove when bookmark does not exist | James Booth | 2014-02-02 | 1 | -1/+3 |
| | |||||
* | Added message when bookmark updated | James Booth | 2014-02-02 | 1 | -1/+3 |
| | |||||
* | Don't show error for initial bookmarks request | James Booth | 2014-01-25 | 1 | -4/+1 |
| | |||||
* | Bind bookmark functions in main.c | James Booth | 2013-12-22 | 1 | -5/+10 |
| | |||||
* | Dynamically bind xmpp module api | James Booth | 2013-12-18 | 1 | -10/+15 |
| | |||||
* | removed strdup in autocomplete calls | Dmitry Podgorny | 2013-08-26 | 1 | -2/+2 |
| | |||||
* | Bookmarks: Move stanza pointer on in loop, check for autojoin "true" | James Booth | 2013-07-15 | 1 | -2/+4 |
| |