Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | 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 | 5 | -13/+15 | |
|\ | | | | | 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 | |
| | | ||||||
| * | Add connection_get_domain stub for tests | Paul Fariello | 2018-09-05 | 1 | -0/+5 | |
| | | ||||||
| * | Add support for command config execution | Paul Fariello | 2018-09-05 | 1 | -1/+1 | |
| | | ||||||
| * | Add conf win callback | Paul Fariello | 2018-09-05 | 1 | -2/+2 | |
| | | ||||||
| * | Rename mucconf wins into conf wins | Paul Fariello | 2018-09-05 | 4 | -10/+10 | |
| | | | | | | | | Configuration windows are now being used by both muc and cmd. | |||||
| * | Add command subcommands: list and exec | Paul Fariello | 2018-09-05 | 1 | -0/+2 | |
| | | | | | | | | Also handle list result | |||||
* | | Move p_sha1_hash() to stanza.c | Michael Vetter | 2018-09-06 | 3 | -71/+0 | |
|/ | | | | | | | | | | | | 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. | |||||
* | fix: Missing pthread include | Rafael Sadowski | 2018-08-13 | 1 | -0/+1 | |
| | ||||||
* | Add preferences for tab display | James Booth | 2018-03-09 | 1 | -2/+7 | |
| | ||||||
* | Add prefs for empty tabs and tab names | James Booth | 2018-03-08 | 1 | -0/+1 | |
| | ||||||
* | Show name in statusbar tabs WIP | James Booth | 2018-03-08 | 1 | -2/+2 | |
| |