1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Commit Graph

307 Commits

Author SHA1 Message Date
James Booth
38ed9188d3 Moved ui/windows -> window_list 2015-06-15 19:26:28 +01:00
James Booth
c2c2cee6c9 Moved stub_gpg.c 2015-06-12 23:58:44 +01:00
James Booth
efb07f8187 Merge branch 'master' into openpgp 2015-06-12 23:55:28 +01:00
James Booth
68ed20f10d Moved all tests to tests folder 2015-06-12 23:53:30 +01:00
James Booth
1cd23e0efc Moved gpg stub 2015-06-12 23:27:39 +01:00
James Booth
91767e6090 Merge branch 'master' into openpgp 2015-06-06 01:03:19 +01:00
James Booth
c6ff761a95 Added chat session functional tests 2015-06-06 01:02:27 +01:00
James Booth
9aff8abd2e Merge branch 'master' into openpgp
Conflicts:
	.travis.yml
2015-06-05 23:02:56 +01:00
James Booth
373f47c711 Added simple message tests 2015-05-31 00:12:13 +01:00
James Booth
a522d0225d Added regex output matcher, presence test 2015-05-29 01:01:34 +01:00
James Booth
f17afcf5d4 Split functional tests 2015-05-28 20:02:16 +01:00
James Booth
e919445231 Renamed stabbertests -> functionaltests 2015-05-28 18:56:16 +01:00
James Booth
6d6bb64588 Moved tests -> unittests 2015-05-28 18:50:55 +01:00
James Booth
fabd0cf9e8 Expect header check 2015-05-26 23:47:36 +01:00
James Booth
e2fa67faff Use libexpect in stabber test 2015-05-26 23:22:05 +01:00
James Booth
06b18be851 Added custom resource checker 2015-05-25 02:18:31 +01:00
James Booth
e295a474dc Added more connect tests 2015-05-24 20:31:18 +01:00
James Booth
2c5b44421e Added initial stabber test 2015-05-17 22:05:43 +01:00
James Booth
97c5072f56 Added stabber testsuite 2015-05-17 01:11:03 +01:00
James Booth
acd2d2309f Moved pgp signature generation to cl_ev_presence_send 2015-05-08 00:07:21 +01:00
James Booth
a3a4b6267b Merge branch 'master' into pgp 2015-04-30 22:10:03 +01:00
James Booth
d68fb25dde Removed ui_win_switch_num 2015-04-30 22:09:39 +01:00
James Booth
5d827cafec Merge branch 'master' into pgp
Conflicts:
	src/xmpp/message.c
2015-04-28 23:57:28 +01:00
James Booth
d3698e6bee Added ui events module 2015-04-28 23:53:37 +01:00
James Booth
9be265591a Merge branch 'master' into pgp 2015-04-19 19:50:19 +01:00
James Booth
32da6548da Added client_events module, reuse message sending code for all commands 2015-04-19 19:40:15 +01:00
James Booth
60f94722d4 Merge branch 'master' into pgp 2015-04-19 16:56:11 +01:00
James Booth
424f52c3fa Moved server_events to event/ 2015-04-19 16:54:16 +01:00
James Booth
2490c3ed20 Added pgp key list command 2015-03-22 00:12:14 +00:00
James Booth
2e493112bb Merge branch 'master' into readline 2015-03-08 18:12:50 +00:00
James Booth
7638f379ca Fixed tests for --disable-otr 2015-03-04 23:32:47 +00:00
James Booth
a9ed64911d Removed history and various key handlers 2015-01-30 23:42:51 +00:00
James Booth
2ed78fe5af Extracted keyhandler for printable characters 2015-01-20 00:09:47 +00:00
James Booth
4c6cfcdca0 Simplified autocompleters and command history 2015-01-16 22:50:40 +00:00
James Booth
c16871d143 Added remaining chat states 2015-01-11 20:20:17 +00:00
James Booth
ab7bd6fe5f Added test to ensure chat sessions cleared on cmd_disconnect 2015-01-10 01:06:52 +00:00
James Booth
f7843def2f Added chat session tests 2015-01-06 21:22:09 +00:00
James Booth
7a10443164 Added server_event tests 2014-12-25 00:46:15 +00:00
James Booth
d0a0e5e74f Added roster_list tests 2014-12-25 00:29:50 +00:00
James Booth
fa23084c4d Added preferences tests 2014-12-25 00:28:17 +00:00
James Booth
6cb5b55049 Added parser tests 2014-12-25 00:26:42 +00:00
James Booth
4906f3f646 Added muc tests 2014-12-25 00:25:14 +00:00
James Booth
cc8c3542e6 Added jid tests 2014-12-25 00:23:57 +00:00
James Booth
b3dd7d8466 Added history tests 2014-12-25 00:22:39 +00:00
James Booth
d1f8c6cddf Added form tests 2014-12-25 00:20:28 +00:00
James Booth
2505d47040 Added contact tests 2014-12-25 00:12:07 +00:00
James Booth
6b9f404c87 Added common tests 2014-12-25 00:10:36 +00:00
James Booth
5929605440 Added cmd_win tests 2014-12-25 00:08:46 +00:00
James Booth
9537592b52 Added cmd_sub tests 2014-12-25 00:05:13 +00:00
James Booth
c47b4261f3 Added cmd_statuses tests 2014-12-25 00:02:18 +00:00
James Booth
a871ad8004 Added cmd_roster tests 2014-12-24 23:59:26 +00:00
James Booth
7db1bcee05 Added cmd_rooms tests 2014-12-24 23:38:23 +00:00
James Booth
419f37feea Added cmd_otr tests 2014-12-24 23:32:32 +00:00
James Booth
aa4ffa7e8c Added cmd_join tests 2014-12-24 22:36:48 +00:00
James Booth
5319a03aeb Added cmd_connect tests 2014-12-24 21:34:11 +00:00
James Booth
3487100c0f Added cmd_bookmark tests 2014-12-24 20:41:28 +00:00
James Booth
8b4c7e93b8 Added cmd_alias tests 2014-12-24 20:11:24 +00:00
James Booth
003002d638 Added autocomplete tests 2014-12-24 19:58:19 +00:00
James Booth
8c01021ab9 Use will_return instead of mock values 2014-12-23 21:42:01 +00:00
James Booth
5be9ac3243 Added stubbed implementations 2014-12-23 19:26:45 +00:00
James Booth
4dc48b4b48 Added occupantswin.c 2014-12-16 23:37:23 +00:00
James Booth
48ec7b3b47 Moved roster functions 2014-12-16 23:00:05 +00:00
James Booth
0e7e931589 Added rosterwin.c 2014-12-16 22:14:15 +00:00
James Booth
e2f37600db Revert "Added -lstrophe to test dependencies"
This reverts commit 4002790ed0.
2014-09-17 00:55:36 +01:00
James Booth
4002790ed0 Added -lstrophe to test dependencies 2014-09-17 00:52:52 +01:00
James Booth
b934ad54d5 Added form tests 2014-09-14 22:31:27 +01:00
James Booth
157a1b5ff7 Created form module 2014-09-05 21:04:16 +01:00
James Booth
01394d6ce1 Added LICENSE.txt to dist target 2014-08-24 21:36:30 +01:00
James Booth
1809064d29 Added scripts and profrc.example to dist target 2014-08-04 21:08:56 +01:00
Immae
6a9e19303e Added buffer handling. Buffer are initialized, pushed, and freed. No use is made of them so far
Signed-off-by: James Booth <boothj5@gmail.com>
2014-06-23 21:05:46 +01:00
James Booth
92837ec186 Renamed sha1 functions to avoid naming clashes 2014-06-15 19:08:18 +01:00
James Booth
2451b7b1ca Fixed makefile to include headers in test sources 2014-04-18 21:47:33 +01:00
James Booth
df345a2cfb Merge remote-tracking branch 'pasis/iss323' 2014-04-18 21:41:05 +01:00
Dmitry Podgorny
0c1092fd30 autotools: added EXTRA_DIST
Now sources can be distributed with `make dist-bzip2` command, so no
need to make tarball manually. Current patch takes into account the
status (release or development) and puts .git/HEAD, .git/index to
tarball if necessary.

Unfortunately, current scripts don't add any information about
development status to the version string. Therefore,
profanity-0.5.0.tar.bz2 is got regardless of development or release
status.
2014-04-17 12:35:09 +03:00
Dmitry Podgorny
3ceb9b0d1d autotools: install themes during 'make install'
Default path for themes is ${pkgdatadir}/themes that usualy equals to
/usr/share/profanity/themes. This patch also introduces new option
--with-themes[=PATH] that specifies installation path. This option can
be used for cancel of installation at all: --without-themes.

References: issue #323
2014-04-08 00:51:57 +03:00
Dmitry Podgorny
73437f2efd Makefile.am: fixed spacing 2014-04-08 00:45:57 +03:00
James Booth
9aa282f6de Removed inputwin functions from ui.h 2014-04-07 21:50:28 +01:00
James Booth
f0f0dbfdac Removed statusbar functions from ui.h 2014-04-07 21:12:30 +01:00
James Booth
96e32fe178 Added cmd_win test 2014-04-01 23:14:53 +01:00
James Booth
93397e4581 Added cmd_roster test 2014-03-16 01:23:12 +00:00
James Booth
13ee16dedb Revert "Added srdir to git version check"
This reverts commit 864e728705.
2014-03-08 23:34:18 +00:00
James Booth
864e728705 Added srdir to git version check 2014-03-08 23:00:23 +00:00
James Booth
f3fe1d34d2 Added connection status tests for cmd_join 2014-03-08 00:07:38 +00:00
Dmitry Podgorny
0fbaa6f5ee fixed build error when make run with -jN option
Race can occur when gitversion file isn't fully generated before
it is used.
2014-03-06 02:06:22 +02:00
mr.Shu
0d15c7108d fixed indent in Makefile.am 2014-02-25 16:51:24 +01:00
James Booth
a21ab6d4c8 Mock otr module for cmd_otr tests 2014-02-16 19:14:15 +00:00
James Booth
6295336284 Added cmd_otr tests 2014-02-16 00:04:53 +00:00
James Booth
450c01ecb4 Refactored common otr library code 2014-02-13 23:07:09 +00:00
James Booth
4e81707b27 Renamed otr implementations 2014-02-12 23:29:08 +00:00
James Booth
b30155a10e Moved otr sources into folder 2014-02-12 22:19:21 +00:00
James Booth
fa89e2aa62 Check for libotr version 2014-02-09 00:32:11 +00:00
James Booth
7e4b1b1dea Added libotr back to configure by default
Renamed to BUILD_OTR3
2014-02-08 23:07:51 +00:00
James Booth
1654f13656 Moved test helpers 2014-02-01 16:32:36 +00:00
James Booth
652e99fdd8 Added cmd_bookmark tests 2014-02-01 16:16:56 +00:00
James Booth
63b3299b06 Added muc tests 2014-01-30 23:32:52 +00:00
James Booth
8dbe300d72 Added /alias command, writing aliases to [alias] group in profrc 2014-01-23 22:29:53 +00:00
James Booth
21ab182151 Refactored ProfAccount creation 2014-01-22 22:22:01 +00:00
James Booth
a7a2850637 WIP - /statuses command options 2014-01-20 18:40:48 +00:00
James Booth
69f2f4a16f Use defaults for /statuses commands 2014-01-19 17:20:31 +00:00
James Booth
5f25d99357 Added tests/config/helpers 2014-01-19 16:32:31 +00:00
James Booth
c7325de073 Added cmd_statuses validation tests 2014-01-19 01:25:04 +00:00
James Booth
4f98bc8c25 Show OTR coloured status
Customisable within theme files e.g.:
titlebar.unencrypted=red
titlebar.encrypted=green
titlebar.trusted=red
titlebar.untrusted=green

Shows [unencrypted] for all non-OTR chat

Disable with '/otr warn off'
2014-01-16 22:44:23 +00:00
James Booth
264fc55aa2 Added conditionals to makefile for otr support 2014-01-12 02:15:16 +00:00
James Booth
49deb932e6 Merge branch 'master' into otr 2014-01-08 20:50:00 +00:00
James Booth
4cc4461c0f Removed handle error message function from ProfWin 2014-01-08 20:27:18 +00:00
James Booth
0776c574b6 Merge branch 'master' into otr 2014-01-05 23:58:10 +00:00
James Booth
87cdbe015a Added server_events.c 2014-01-05 20:52:45 +00:00
James Booth
f569845b40 Merge branch 'master' into otr
Conflicts:
	.gitignore
2014-01-05 01:20:42 +00:00
James Booth
d15751649c Added tests for contact type 2014-01-05 00:35:48 +00:00
James Booth
170af88c0d Merge branch 'master' into otr
Conflicts:
	Makefile.am
2014-01-02 01:57:05 +00:00
James Booth
976f3e303a Added /sub command test 2013-12-27 17:25:30 +00:00
James Booth
8685e78c86 Added mock_accounts and fixed tests 2013-12-26 13:37:22 +00:00
James Booth
d56f6dc39b Added mocks and stubs for cons_show 2013-12-19 21:05:39 +00:00
James Booth
b27c5d0f5b Replaced old mock_xmpp 2013-12-18 23:06:43 +00:00
James Booth
00a475cf55 Added common mock functions and fixed tests 2013-12-18 22:49:43 +00:00
James Booth
95d08db292 Merge branch 'master' into otr
Conflicts:
	src/command/commands.c
2013-12-16 01:11:36 +00:00
James Booth
683da12c3a Added cmd_account test 2013-12-15 22:28:22 +00:00
James Booth
7842b0d1fc Added mock log module 2013-12-15 19:56:48 +00:00
James Booth
bf347ab9e0 Added cmd_connect tests 2013-12-15 18:08:26 +00:00
James Booth
2470f642c7 Merge branch 'master' into otr
Conflicts:
	src/command/command.c
2013-12-15 17:19:01 +00:00
James Booth
2490f5b417 Seperated command functions into module 2013-12-15 16:10:32 +00:00
James Booth
447d235868 Mocked account preferences and tested cmd_rooms 2013-12-14 18:43:19 +00:00
James Booth
7955bc52ab Removed commented setion from Makefile.am 2013-12-14 18:11:15 +00:00
James Booth
b9119b4306 Tidied Makefile.am 2013-12-14 18:06:09 +00:00
James Booth
0b3a9f5785 Added roster_list tests to cmocka 2013-12-14 17:03:39 +00:00
James Booth
4bb38ac011 Added parser tests to cmocka 2013-12-14 16:48:27 +00:00
James Booth
0730867326 Added history and jid tests to cmocka 2013-12-14 16:35:56 +00:00
James Booth
3a403046ff Moved autocomplete tests to cmocka 2013-12-14 16:16:46 +00:00
James Booth
7f7973f9a7 Moved common tests to cmocka 2013-12-14 16:07:57 +00:00
James Booth
107fdd355e Added simple mock test, refactored roster 2013-12-14 15:34:17 +00:00
James Booth
bd1c139429 Added libotr 2013-11-08 00:17:02 +00:00
James Booth
fc8982e761 Added muc_window 2013-10-06 17:46:22 +01:00
James Booth
892a9953b4 Removed FORCE target from Makefile.am 2013-09-17 02:08:33 +01:00
James Booth
a15dbdf7ff Force git revision update on make 2013-09-17 01:11:38 +01:00
James Booth
6b852a2f0f Include git revision with -v output 2013-09-17 01:08:12 +01:00
James Booth
d782b00711 Added git branch and revision to development builds 2013-09-17 00:59:37 +01:00
James Booth
d3cfeb9d5c Merge branch 'master' into windows 2013-08-25 23:27:42 +01:00
James Booth
601a88037a Initial code refactor for growable window list 2013-08-20 23:08:21 +01:00
James Booth
11688d1113 Merge branch 'master' into nextdev 2013-07-14 01:02:06 +01:00
James Booth
36265dde2f Moved functions to parser.c, moved parser to tools 2013-07-11 22:57:35 +01:00
Dmitry Podgorny
2837c4054f initial support of autojoin for MUC 2013-06-30 18:59:38 +03:00
James Booth
c1ee75da40 Removed contact_list, moved roster logic to xmpp/roster module 2013-05-06 23:04:46 +01:00
James Booth
05f2d29396 Renamed contact_list_ functions to roster_ 2013-05-06 22:32:58 +01:00
James Booth
3ae74feaa2 Created roster module, moved roster iq's 2013-05-06 21:53:59 +01:00
James Booth
f63f68630b Added notifier module 2013-04-21 20:17:06 +01:00
James Booth
4257fc87e5 Renamed windows.c -> core.c 2013-04-21 17:33:12 +01:00
James Booth
a234ba0cd6 Moved cons_show_login_success() to console module 2013-04-21 00:21:30 +01:00
James Booth
3e66b0a9d2 Added ui/console module 2013-04-20 21:42:39 +01:00
James Booth
84a4ab9545 Fixed error clearing contact list 2013-02-10 02:17:22 +00:00
James Booth
da5104f857 Added resource.c 2013-02-09 22:20:58 +00:00