Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: add cons_color_setting | Michael Vetter | 2019-12-09 | 1 | -0/+1 |
| | |||||
* | Add cons_logging_setting() to test stub | Michael Vetter | 2019-11-13 | 1 | -2/+1 |
| | |||||
* | Add cons_titlebar_setting stub | Michael Vetter | 2019-11-05 | 1 | -1/+1 |
| | | | | and remove encwarn one. | ||||
* | Don't override ProfMessage Id with origin-id | Michael Vetter | 2019-10-31 | 1 | -1/+1 |
| | | | | | | | | | | Profanity sends the same value for both. Other clients might not. Safe both since we could need them later. Once we implement Last Message Correction we will need the regular id. If we override it with origin-id and another client chooses to not use the same value for id and origin-id then we can't interpret the id sent with the LMC request correctly. | ||||
* | Adjust message stubs in unit tests | Michael Vetter | 2019-10-29 | 1 | -4/+4 |
| | |||||
* | Adjust stub for connection_get_profanity_identifier | Michael Vetter | 2019-10-22 | 1 | -1/+1 |
| | |||||
* | Move ProfMessage and message_is_sent_by_us to xmpp | Michael Vetter | 2019-10-19 | 1 | -1/+0 |
| | | | | Not meant for internal usage only. | ||||
* | Add message_is_sent_by_us stub | Michael Vetter | 2019-10-18 | 1 | -0/+5 |
| | |||||
* | Remove accidentally added file | Michael Vetter | 2019-10-18 | 1 | -7/+0 |
| | |||||
* | Add connection_get_profanity_identifier stub | Michael Vetter | 2019-10-18 | 3 | -0/+12 |
| | | | | And move defintion to xmpp.h | ||||
* | Fix memory leak in unittests | Dmitry Podgorny | 2019-10-14 | 1 | -0/+1 |
| | |||||
* | Fix invalid reads in unit tests | Michael Vetter | 2019-10-10 | 1 | -2/+0 |
| | |||||
* | Revert "Free lits in test_cmd_roster unittest" | Michael Vetter | 2019-10-10 | 1 | -1/+0 |
| | | | | | | This reverts commit 5b19ed28ce6f8bd8f46248de612f7ed466dc7a73. This caused a segfault. | ||||
* | First destroy roster then free list in test_cmd_roster | Michael Vetter | 2019-10-06 | 1 | -3/+3 |
| | |||||
* | Free strings in test_cmd_alias | Michael Vetter | 2019-10-06 | 1 | -0/+4 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Free lits in test_cmd_roster unittest | Michael Vetter | 2019-10-06 | 1 | -0/+4 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Remove not needed strdupin test_cmd_rooms | Michael Vetter | 2019-10-06 | 1 | -2/+3 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Free autocomplete_complete results in unittest | Michael Vetter | 2019-10-06 | 1 | -1/+19 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Fix autocomplete memleak in test_autocomplete | Michael Vetter | 2019-10-06 | 1 | -16/+16 |
| | | | | | | | autocomplete_free() calls autocomplete_clear() and then frees the struct itself. Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Free lists in test_roster_list | Michael Vetter | 2019-10-06 | 1 | -0/+20 |
| | | | | | Fix memleaks. Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Fix two memleaks in test_parser | Michael Vetter | 2019-10-06 | 1 | -0/+4 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Fix memleak in cmd_bookmark_list_shows_bookmarks unittest | Michael Vetter | 2019-10-06 | 1 | -0/+16 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Fix memleak in test_parser unittest | Michael Vetter | 2019-10-06 | 1 | -0/+2 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Fix memleak in test_callbacks unittest | Michael Vetter | 2019-10-06 | 1 | -0/+2 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Fix memleak in test_parser unittest | Michael Vetter | 2019-10-06 | 1 | -1/+7 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Fix test_callbacks memleak | Michael Vetter | 2019-10-06 | 1 | -0/+5 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Fix test_jid unittest memleak | Michael Vetter | 2019-10-06 | 1 | -0/+29 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Fix unittest memleak in test_cmd_join | Michael Vetter | 2019-10-05 | 1 | -0/+8 |
| | | | | | | muc_init() call without muc_close() Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Possibility to specify alternative config file | Michael Vetter | 2019-08-02 | 1 | -1/+1 |
| | | | | Introduce `profanity -c` to specify an alternative config file. | ||||
* | Add omemo_close stub for tests | Michael Vetter | 2019-07-18 | 1 | -0/+1 |
| | |||||
* | Add missing stub file | Paul Fariello | 2019-07-17 | 1 | -0/+7 |
| | |||||
* | Fix handling of encrypted carbons | Paul Fariello | 2019-06-21 | 1 | -1/+1 |
| | |||||
* | Rename prof_message_t into ProfMessage | Paul Fariello | 2019-06-20 | 2 | -7/+7 |
| | |||||
* | Add prof_message_t to wrap all message attributes | Paul Fariello | 2019-06-20 | 2 | -7/+7 |
| | | | | | | | Probably missing copy of body to plain in carbon and privmessage. Only covers the incoming message path because goal is OMEMO decryption of untrusted message. Cover some of the log functions but not all. | ||||
* | Fix prefs_get_str related leaks in unit tests | Michael Vetter | 2019-06-19 | 3 | -0/+15 |
| | | | | Related to https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Remove cons_mouse_setting() stub | Michael Vetter | 2019-06-17 | 1 | -1/+0 |
| | | | | Mouse support has been disabled long ago. | ||||
* | Cancel autoping timer on disconnect or connection loss | Dmitry Podgorny | 2019-06-03 | 1 | -0/+1 |
| | | | | | | | | | 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. | ||||
* | Use mock_type() for casting mock() | Frank Zschockelt | 2019-05-08 | 4 | -13/+13 |
| | |||||
* | Use mock_ptr_type() to silence compiler warnings | Frank Zschockelt | 2019-05-08 | 4 | -12/+12 |
| | | | | | | Unit tests on 32-bit architectures were failing due to "cast to pointer from integer of different size" warnings. mock_ptr_type silences those by first casting to uintptr_t. | ||||
* | Update tests with new URL | Michael Vetter | 2019-05-03 | 6 | -39/+39 |
| | | | | https://github.com/profanity-im/profanity/issues/1085 | ||||
* | Add occupantswin_occupants_all() stub to unittest | Michael Vetter | 2019-04-23 | 1 | -0/+1 |
| | |||||
* | Fix server_event unit tests | Paul Fariello | 2019-04-17 | 1 | -0/+5 |
| | | | | | | roster_update_presence now requires that roster_process_pending_presence() has been called. Otherwise presence are set to pending and not processed yet. | ||||
* | Fix OTR unit test after account_new API change | Paul Fariello | 2019-04-17 | 1 | -1/+1 |
| | |||||
* | Fix unit test after account_new API change | Paul Fariello | 2019-04-17 | 6 | -18/+19 |
| | |||||
* | Add omemo_start_sessions to unittest stub | Michael Vetter | 2019-04-14 | 1 | -0/+1 |
| | |||||
* | Automatically starts OMEMO if one identity is trusted | Paul Fariello | 2019-04-10 | 1 | -0/+6 |
| | |||||
* | Wait for discovery end to publish omemo devicelist and bundle | Paul Fariello | 2019-04-10 | 1 | -0/+1 |
| | | | | Add sv_ev_connection_features_received for that purpose | ||||
* | Rework MUC reflected message filtering | Paul Fariello | 2019-04-10 | 2 | -3/+6 |
| | | | | | | | | | Reflected messages can't be filtered by nick only otherwise you might ignore messages comming from you on another devices. Consequently we maintain a list of sent messages id in mucwin. To be sure the id will be correctly reflected we use the origin-id stanza. | ||||
* | Add OMEMO in prefs command | Paul Fariello | 2019-04-10 | 1 | -0/+1 |
| | |||||
* | Add required OMEMO stub for unit-test | Paul Fariello | 2019-04-10 | 3 | -3/+69 |
| |