Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Fix broken support for case-sensitive account names | Philip Flohr | 2019-02-22 | 3 | -8/+32 | |
| | | | | | | | | | | | Don't lower account name before calling accounts_get_account(). Only lower if there is no account with the given name and the name is interpreted as a jid. Updated unittests to test this behaviour. Fixes #725 . | |||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 | |
| | ||||||
* | tests: remove cflag -w and fix warnings | Dmitry Podgorny | 2018-10-31 | 8 | -101/+106 | |
| | | | | | | | | | The flag hides errors. But we want unit tests to be correct in order to reveal errors in the main code. The patch removes tests_unittests_unittests_CFLAGS which makes autotools use AM_CFLAGS instead. Therefore, unit tests are built with flags derived from configure.ac. | |||||
* | Merge pull request #991 from paulfariello/feature/xep-0050 | Michael Vetter | 2018-09-27 | 6 | -15/+17 | |
|\ | | | | | Add support for xep 0050 ad-hoc commands, without multi-step | |||||
| * | Remove unused stup session_get_domain | Paul Fariello | 2018-09-05 | 1 | -5/+0 | |
| | |