about summary refs log tree commit diff stats
path: root/tests/unittests/test_cmd_otr.c
Commit message (Collapse)AuthorAgeFilesLines
* Add quote autocompletion for previous messagesMarcoPolo-PasTonMolo2022-03-211-0/+7
| | | | | | | | | | Fixes https://github.com/profanity-im/profanity/issues/1649 Type `>` then press tab or shift tab to autocomplete previous messages, then type your reply and send message. Newlines are replaced with newline followed by `> `. A newline is added at the end so that the user can immediately type a message without manually adding a new line.
* Fix old chlog reference in helpMichael Vetter2021-01-171-2/+2
| | | | Fixes https://github.com/profanity-im/profanity/issues/1470
* Apply coding styleMichael Vetter2020-07-071-70/+100
|
* Revert "Apply coding style"Michael Vetter2020-07-071-105/+75
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-75/+105
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Remove prefs_free_string()Michael Vetter2020-07-021-3/+3
| | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
* Add option for legacy authenticationDmitry Podgorny2020-06-051-1/+1
| | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236.
* Initialize ProfWin.urls_ac to NULL to fix OpenBSD buildWilliam Wennerström2020-06-031-0/+6
|
* Fix build on sr.htMichael Vetter2020-05-221-0/+1
| | | | | | | | | | | | | | | | Hopefully fixing: ``` cc1: warnings being treated as errors tests/unittests/test_cmd_otr.c: In function 'cmd_otr_start_sends_otr_query_message_to_current_recipeint': tests/unittests/test_cmd_otr.c:422: warning: 'window.urls_ac' is used uninitialized in this function gmake[2]: *** [Makefile:1913: tests/unittests/test_cmd_otr.o] Error 1 gmake[2]: Leaving directory '/home/build/profanity' gmake[1]: *** [Makefile:2442: check-am] Error 2 gmake[1]: Leaving directory '/home/build/profanity' gmake: *** [Makefile:2445: check] Error 2 ```
* Add builds.sr.ht CI for OpenBSDWilliam Wennerström2020-02-171-0/+6
| | | | | | | | * Add .builds/openbsd.yml for builds.sr.ht * Update travis-build.sh -> ci-build.sh with OpenBSD case * Fix libdl check in configure.ac (OpenBSD has libdl built-in) * Fix some minor issues found when compiling on OpenBSD with GCC (e.g. uninitialized variables)
* test: Init window.layout to make compiler happyMichael Vetter2020-02-141-0/+1
| | | | | Fix tests/unittests/test_cmd_otr.c:415: warning: 'window.layout' is used uninitialized in this function on openbsd (thanks optmzr)
* Fix prefs_get_str related leaks in unit testsMichael Vetter2019-06-191-0/+3
| | | | Related to https://github.com/profanity-im/profanity/issues/1019
* Fix OTR unit test after account_new API changePaul Fariello2019-04-171-1/+1
|
* Remove ui_current_print_formatted_lineJames Booth2016-10-161-6/+6
|
* Remove ui_current_print_lineJames Booth2016-10-161-2/+2
|
* Moved window_list.cJames Booth2016-07-241-1/+1
|
* Rename command sourcesJames Booth2016-05-221-2/+2
|
* Remove JABBER_STARTED, JABBER_UNDEFINED connection statesJames Booth2016-05-101-20/+0
|
* Rename jabber_ functionsJames Booth2016-05-061-1/+1
|
* Add session.cJames Booth2016-05-051-12/+12
|
* Tidy xmpp headersJames Booth2016-05-041-0/+1
|
* Fixed testsJames Booth2016-04-271-54/+33
|
* Removed #AX_PREFIX_CONFIG_HJames Booth2016-03-311-3/+3
|
* Added C plugin code from plugins branchJames Booth2016-02-141-3/+3
|
* Added account theme propertyJames Booth2016-01-221-1/+1
|
* Force tls on all connections, add tls policy account propertyJames Booth2015-10-181-1/+1
|
* Add ability to script commands after connectJames Booth2015-10-151-1/+1
|
* Split PGP incoming and outgoing message handlingJames Booth2015-08-301-4/+10
|
* Fixed tests for new command formatJames Booth2015-07-271-97/+31
|
* Moved setting otr.warn -> enc.warnJames Booth2015-06-211-62/+0
|
* Added pgp checks for message sendingJames Booth2015-06-211-2/+2
|
* Merge branch 'master' into openpgpJames Booth2015-06-171-63/+37
|\
| * Removed wins_get_current_* functionsJames Booth2015-06-171-63/+37
| |
* | Merge branch 'master' into openpgpJames Booth2015-06-171-34/+41
|\| | | | | | | | | | | Conflicts: src/command/commands.c src/command/commands.h
| * Added current window reference to command functionsJames Booth2015-06-171-34/+41
| |
* | Merge branch 'master' into openpgpJames Booth2015-06-151-5/+36
|\|
| * Tidied cmd_otr, added check-unit target to MakefileJames Booth2015-06-151-5/+36
| |
* | Merge branch 'master' into openpgpJames Booth2015-06-151-11/+22
|\|
| * Removed ui_get_current_chat()James Booth2015-06-151-11/+22
| |
* | Merge branch 'master' into openpgpJames Booth2015-06-121-1/+1
|/
* Moved all tests to tests folderJames Booth2015-06-121-0/+578