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

200 Commits

Author SHA1 Message Date
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
James Booth
0b40de5a4f Moved private xmpp functions to connection.h 2013-02-03 22:40:54 +00:00
James Booth
86bad48f41 Fixed tests 2013-02-02 22:54:16 +00:00
James Booth
3d0e0d7ea4 Removed files.c 2013-02-02 22:33:05 +00:00
James Booth
9d34c41227 Added config dir to source 2013-02-02 21:59:29 +00:00
James Booth
740e5b4228 Added command and tools subdirs to source 2013-02-02 21:43:59 +00:00
James Booth
8cc4b55945 Removed caps functions from xmpp.h 2013-02-02 20:33:54 +00:00
James Booth
ccf71715ef Removed presence functions from xmpp.h 2013-02-02 20:27:46 +00:00