1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-16 21:35:24 +00:00
Commit Graph

320 Commits

Author SHA1 Message Date
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
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
James Booth
5e3d414ee0 Removed iq functions from xmpp.h 2013-02-02 20:22:39 +00:00
James Booth
59b79ec20c Removed message handler function from xmpp.h 2013-02-02 20:18:23 +00:00
James Booth
bc2784dae6 Removed stanza functions from xmpp.h 2013-02-02 20:07:44 +00:00
James Booth
ed3261a238 Added ui subdir to source 2013-02-02 19:57:46 +00:00
James Booth
1d3739bb79 Added xmpp subdir to source 2013-02-02 19:47:41 +00:00
James Booth
b269ac9702 Added xmpp_message.c 2013-01-29 00:21:04 +00:00
James Booth
7255ef5e1c Added xmpp_presence.c 2013-01-28 22:24:47 +00:00
James Booth
bf1cf04447 Joined log and chat_log modules 2013-01-28 20:16:18 +00:00
James Booth
06ecfef1f3 Moved release module into common 2013-01-28 20:07:25 +00:00
James Booth
6c3b42cd24 Flattened files.c and xdg_base.c 2013-01-28 19:52:49 +00:00
James Booth
1d5046bc97 Renamed parser.c -> command_parser.c
Included in command.h
2013-01-28 01:43:43 +00:00
James Booth
c72d7ad6a6 Renamed history modules 2013-01-28 01:35:11 +00:00
James Booth
80e62cfa5f Renamed history.c -> command_history.c
Included in command.h
2013-01-28 01:23:37 +00:00
James Booth
a63d0aff98 Renamed UI related files 2013-01-28 01:17:46 +00:00
James Booth
09406ae3c6 Renamed stanza.c -> xmpp_stanza.c 2013-01-28 01:06:58 +00:00
James Booth
070d2ced4f Renamed capabilities.c -> xmpp_caps.c 2013-01-28 00:57:22 +00:00
James Booth
00e400dc98 Renamed iq.c -> xmpp_iq.c 2013-01-28 00:41:37 +00:00
James Booth
5e85c8c5c7 Renamed connection.c -> xmpp_conn.c 2013-01-28 00:39:08 +00:00
James Booth
7dcb85c701 Renamed jabber.h -> xmpp.h 2013-01-28 00:32:57 +00:00
James Booth
527e739ac6 Got rid of old naming convention on prof_autocomplete 2013-01-25 01:11:49 +00:00
James Booth
183a66c939 Removed iq.h 2013-01-24 00:40:43 +00:00
James Booth
37666528e5 Split jabber module 2013-01-24 00:26:53 +00:00
James Booth
e89cbc18e3 Added capabilities module 2013-01-20 00:15:46 +00:00
James Booth
94bcf1889d Added jid datatype 2013-01-12 23:10:56 +00:00
James Booth
dad01d8f84 Renamed room_chat module to muc 2013-01-12 01:01:39 +00:00
James Booth
6826a66f85 Moved logins to accounts module 2012-12-02 01:29:42 +00:00
James Booth
4b73f3d7f9 Profanity files now use %XDG_CONFIG_HOME and %XDG_DATA_HOME 2012-11-25 21:40:49 +00:00
James Booth
2a69f8d23f Allocate memory for windows when needed 2012-11-23 00:19:29 +00:00
James Booth
e8b2b7196c Separated colours from main preferences 2012-11-21 21:24:10 +00:00
James Booth
824eaa1678 Added parser module 2012-11-18 00:07:00 +00:00
James Booth
dac4cf3c3c Added stanza module for basic stanza handling
To reduce duplication in jabber module
2012-11-08 23:07:00 +00:00
James Booth
a141a997f8 Added room_chat module 2012-11-04 23:31:49 +00:00
James Booth
0ce7b2acb7 Removed old chat session tests 2012-11-01 00:29:51 +00:00
James Booth
d339004f55 Merge branch 'master' into chatstates
Conflicts:
	Makefile.am
2012-10-30 01:38:08 +00:00
James Booth
768b2aa466 Fixed tests 2012-10-29 22:55:17 +00:00
James Booth
a8cc6f7c08 Merge branch 'master' into type_out
Conflicts:
	Makefile.am
2012-10-24 20:37:08 +01:00
James Booth
f8a4d21ab3 Added check for latest release 2012-10-23 23:30:01 +01:00
James Booth
f8de28232e Started work on chat session, and chat states 2012-10-03 23:47:10 +01:00
James Booth
0fe70ce7d3 Merge common and util 2012-08-23 01:08:06 +01:00
James Booth
3e92c60e9a Added manpage 2012-08-19 20:34:05 +01:00
James Booth
3c0624380a Tidy up autotools scripts, removed CFLAGS 2012-07-30 00:46:39 +01:00
James Booth
0d9c300bc4 Added tinyurl module 2012-07-28 00:42:22 +01:00
James Booth
83ef1d562c Added simple chat log 2012-07-22 20:53:55 +01:00
James Booth
ca258ae1bd Added -Wno-missing-field-initializers Makefile.am
To enable compile on GCC versions which complain about
the GOptions code
2012-07-21 22:16:13 +01:00
James Booth
e16cbdb249 Change build to work without ncurses pkg-config 2012-07-12 23:41:45 +01:00
James Booth
c588a11883 Added headunit to autotools files 2012-07-08 23:40:15 +01:00
James Booth
03dd5f5885 Tidied autotools files 2012-07-08 23:24:22 +01:00
James Booth
5fd8dcbcc4 Added tests to Makefile.am 2012-07-08 22:54:14 +01:00
James Booth
11066f204b Set compiler, preprocessor flags in configure.ac
Picked up and used in Makefile.am
2012-07-02 00:36:30 +01:00
James Booth
2655d9e8fa Moved config.h to source folder 2012-07-01 14:52:45 +01:00