Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add vim modeline | Michael Vetter | 2019-11-13 | 1 | -0/+1 |
| | |||||
* | Remove old comment | Michael Vetter | 2019-10-21 | 1 | -1/+0 |
| | | | | | It's not up to date. Some time ago we changed from individual handlers to general ones. | ||||
* | Remove prefix from stanza id | Michael Vetter | 2019-10-17 | 1 | -7/+7 |
| | | | | | We sent `prof_prefix_uuid` as id. Where the prefix was also optional. We don't need this at all. | ||||
* | Fix memleak in /cmd exec | Paul Fariello | 2019-07-30 | 1 | -0/+7 |
| | |||||
* | Fix command form submit | Paul Fariello | 2019-07-30 | 1 | -1/+1 |
| | | | | | Command form userdata were freed by iq_id_handler. We should now free the command ourself. | ||||
* | Fixup for last commit | Michael Vetter | 2019-07-12 | 1 | -1/+0 |
| | |||||
* | Fix segfault in iq_{submit,cancel}_command_config | Michael Vetter | 2019-07-12 | 1 | -6/+0 |
| | | | | Taken care of by the destructor. | ||||
* | Fix some more potential double frees | Michael Vetter | 2019-07-11 | 1 | -34/+0 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1148 | ||||
* | Fix double free in room id handler | Michael Vetter | 2019-07-09 | 1 | -6/+1 |
| | | | | | Free is done in destructor now. Regards https://github.com/profanity-im/profanity/issues/1148 | ||||
* | Fix double free regarding iq handlers | Michael Vetter | 2019-07-08 | 1 | -14/+4 |
| | |||||
* | Free iq_id_handlers correctly | Michael Vetter | 2019-07-04 | 1 | -1/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so far only the key part was freed. We also need to free the actual handler. Fix: ``` ==21171== 1,128 bytes in 47 blocks are definitely lost in loss record 3,476 of 3,670 ==21171== at 0x483677F: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==21171== by 0x434248: iq_id_handler_add (iq.c:265) ==21171== by 0x4B122E: omemo_devicelist_request (omemo.c:46) ==21171== by 0x4AC411: omemo_start_session (omemo.c:409) ==21171== by 0x4AC37C: omemo_start_sessions (omemo.c:396) ==21171== by 0x447881: sv_ev_roster_received (server_events.c:189) ==21171== by 0x444019: roster_result_handler (roster.c:312) ==21171== by 0x433FC2: _iq_handler (iq.c:202) ==21171== by 0x5AF118E: ??? (in /usr/lib64/libmesode.so.0.0.0) ==21171== by 0x5AEDBDA: ??? (in /usr/lib64/libmesode.so.0.0.0) ==21171== by 0x5AFA43E: ??? (in /usr/lib64/libmesode.so.0.0.0) ==21171== by 0x6818AA4: ??? (in /usr/lib64/libexpat.so.1.6.8) ==21171== by 0x681A3AB: ??? (in /usr/lib64/libexpat.so.1.6.8) ==21171== by 0x681D7EB: XML_ParseBuffer (in /usr/lib64/libexpat.so.1.6.8) ==21171== by 0x5AF0A63: xmpp_run_once (in /usr/lib64/libmesode.so.0.0.0) ==21171== by 0x432E5D: connection_check_events (connection.c:104) ==21171== by 0x4323B3: session_process_events (session.c:255) ==21171== by 0x42C097: prof_run (profanity.c:128) ==21171== by 0x4B2627: main (main.c:172) ``` | ||||
* | Call iq_handlers_clear() upon disconnect | Michael Vetter | 2019-06-20 | 1 | -0/+8 |
| | | | | Free id_handlers. Fix memory leaks. | ||||
* | Cancel autoping timer on disconnect or connection loss | Dmitry Podgorny | 2019-06-03 | 1 | -8/+12 |
| | | | | | | | | | If Profanity is disconnected in any way before ping response is received, the autoping timer will expire after the next connection is established. As result, user will be disconnected immediately. Cancel autoping timer in ev_disconnect_cleanup(), so it is done for all kind of disconnections. | ||||
* | Handle MUC anonymous state when auto starting OMEMO | Paul Fariello | 2019-04-17 | 1 | -2/+14 |
| | | | | | | | When auto joining a MUC we don't have access to required information so we just don't start OMEMO at this time. Once we receive disco info we then try to start OMEMO. | ||||
* | Wait for discovery end to publish omemo devicelist and bundle | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | | | | Add sv_ev_connection_features_received for that purpose | ||||
* | Rename ProfIdCallback into ProfIqCallback | Paul Fariello | 2019-04-10 | 1 | -12/+12 |
| | | | | Goal is to create other kind of callback no based on id cmp | ||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Fix optionnal sessionid in xep 0050 | Paul Fariello | 2019-01-21 | 1 | -1/+6 |
| | |||||
* | Make _get_groups_from_item and roster _compare_* public | Paul Fariello | 2018-09-26 | 1 | -12/+2 |
| | | | | In order to avoid duplication with xep 0133 support in command execution | ||||
* | Add special handling for xep-0133 get-user-roster | Paul Fariello | 2018-09-10 | 1 | -3/+42 |
| | |||||
* | Add support for ad-hoc response with forms | Paul Fariello | 2018-09-10 | 1 | -0/+6 |
| | |||||
* | Add missing command name for completion log | Paul Fariello | 2018-09-10 | 1 | -1/+1 |
| | |||||
* | Allow to use cmd without being in a window | Paul Fariello | 2018-09-05 | 1 | -2/+4 |
| | |||||
* | Add support for command config execution | Paul Fariello | 2018-09-05 | 1 | -3/+41 |
| | |||||
* | Add conf win callback | Paul Fariello | 2018-09-05 | 1 | -29/+39 |
| | |||||
* | Rename mucconf wins into conf wins | Paul Fariello | 2018-09-05 | 1 | -4/+4 |
| | | | | Configuration windows are now being used by both muc and cmd. | ||||
* | Add support for form edition in command execution | Paul Fariello | 2018-09-05 | 1 | -7/+24 |
| | | | | Also change wins_get_by_string prototype in order to handle const str. | ||||
* | Add command exec error handling | Paul Fariello | 2018-09-05 | 1 | -1/+1 |
| | |||||
* | Handle simple execution | Paul Fariello | 2018-09-05 | 1 | -1/+48 |
| | | | | Tested with ping from biboumi | ||||
* | Add command subcommands: list and exec | Paul Fariello | 2018-09-05 | 1 | -9/+76 |
| | | | | Also handle list result | ||||
* | Add command command | Paul Fariello | 2018-09-05 | 1 | -0/+22 |
| | | | | Initial commit to test commands API | ||||
* | Move ID generation to xmpp folder | Michael Vetter | 2018-08-30 | 1 | -6/+6 |
| | | | | | | | | | | | 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 correct macro | Dominik Heidler | 2018-07-30 | 1 | -2/+2 |
| | | | | XMPP_FEATURE_PING insted of STANZA_NS_PING | ||||
* | Add /rooms cache | James Booth | 2018-02-05 | 1 | -1/+25 |
| | |||||
* | Filter rooms by simple case insensitive text | James Booth | 2018-02-04 | 1 | -8/+35 |
| | |||||
* | 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 | 1 | -6/+11 |
| | |||||
* | Allow filtering rooms list by glob | James Booth | 2018-01-27 | 1 | -7/+69 |
| | |||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'asdil12/ping' | James Booth | 2017-06-17 | 1 | -0/+9 |
|\ | |||||
| * | Disable autoping if server doesn't support it | Dominik Heidler | 2017-06-16 | 1 | -0/+9 |
|/ | | | | fixes #859 | ||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | |||||
* | Fixed typos | James Booth | 2016-08-28 | 1 | -2/+2 |
| | |||||
* | Use libstrophe xmpp_iq_new convenience function | James Booth | 2016-08-20 | 1 | -29/+8 |
| | |||||
* | Use libstrophe convenience functions for stanza attributes | James Booth | 2016-08-20 | 1 | -54/+54 |
| | |||||
* | Move caps_create -> stanza_create_caps_from_query_element | James Booth | 2016-08-14 | 1 | -3/+3 |
| | |||||
* | Move caps_create_sha1_str -> stanza_create_caps_sha1_from_query | James Booth | 2016-08-14 | 1 | -1/+1 |
| | |||||
* | Rename caps_contains -> caps_cache_contains | James Booth | 2016-08-13 | 1 | -2/+2 |
| | |||||
* | Move caps_create_query_response_stanza -> stanza_create_caps_query_element | James Booth | 2016-08-13 | 1 | -1/+1 |
| | |||||
* | Rename Capabilties -> EntityCapabilities | James Booth | 2016-08-13 | 1 | -3/+3 |
| |