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

223 Commits

Author SHA1 Message Date
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