1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
Commit Graph

191 Commits

Author SHA1 Message Date
James Booth
c7325de073 Added cmd_statuses validation tests 2014-01-19 01:25:04 +00:00
James Booth
4a97ec9293 Merge branch 'master' into plugins
Conflicts:
	Makefile.am
	src/command/command.c
	src/command/commands.c
	src/server_events.c
2014-01-18 00:23:56 +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
5ea9dd8043 Merge branch 'master' into plugins
Conflicts:
	.gitignore
	Makefile.am
	configure.ac
	src/command/command.c
	src/command/commands.c
	src/profanity.c
	src/server_events.c
2014-01-12 19:32:08 +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
bd79b97101 Merge branch 'master' into plugins
Conflicts:
	src/ui/core.c
2014-01-08 20:47:17 +00:00
James Booth
4cc4461c0f Removed handle error message function from ProfWin 2014-01-08 20:27:18 +00:00
James Booth
f1596e2957 Added --enable-c-plugins to configure.ac 2014-01-07 23:58:47 +00:00
James Booth
1a85e6cf24 Merge branch 'master' into plugins
Conflicts:
	src/profanity.c
	src/profanity.h
	src/xmpp/connection.c
2014-01-06 00:08:06 +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
fae89c47c2 Merge branch 'master' into plugins 2014-01-05 01:18:08 +00:00
James Booth
d15751649c Added tests for contact type 2014-01-05 00:35:48 +00:00
James Booth
c10c9286d1 Merge branch 'master' into plugins
Conflicts:
	src/ui/notifier.c
	src/ui/ui.h
	src/xmpp/roster.c
2014-01-02 02:19:06 +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
ed079236aa Merge branch 'master' into plugins
Conflicts:
	src/command/commands.c
2013-12-18 00:41:57 +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
5891ee0cc2 Merge branch 'master' into plugins
Conflicts:
	Makefile.am
	configure.ac
	src/command/command.c
	src/ui/console.c
	src/ui/core.c
	src/ui/muc_window.c
2013-12-15 17:14:00 +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
d38e2e73c2 Merge branch 'master' into plugins 2013-09-17 02:09:45 +01:00
James Booth
892a9953b4 Removed FORCE target from Makefile.am 2013-09-17 02:08:33 +01:00
James Booth
cd816b94c2 Merge branch 'master' into plugins
Conflicts:
	.gitignore
	Makefile.am
	src/main.c
	src/profanity.c
	src/ui/console.c
	src/ui/core.c
	src/xmpp/capabilities.c
	src/xmpp/iq.c
2013-09-17 02:06:43 +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
5da3026546 Added basic empty lua api and hooks 2013-09-15 13:51:23 +01:00
James Booth
228f9b4293 Use AX_PYTHON_DEVEL and AX_RUBY_DEVEL 2013-09-14 02:38:40 +01:00
James Booth
77a2deeda2 Fixed indents in Makefile.am 2013-09-14 01:33:13 +01:00
James Booth
0f011439fa Allow compile without python plugin support 2013-09-14 01:28:35 +01:00
James Booth
81518d110a Fixed broken test build 2013-09-04 22:49:46 +01:00
James Booth
308e412ea3 Build libprofanity and link with c plugin 2013-09-01 03:26:17 +01:00
James Booth
102dd8cbf3 Attempt at adding libtool to create plugin library 2013-08-31 22:49:35 +01:00
James Booth
5931de674f Merge branch 'master' into plugins
Conflicts:
	src/ui/console.c
2013-08-30 01:04:17 +01:00
James Booth
d3cfeb9d5c Merge branch 'master' into windows 2013-08-25 23:27:42 +01:00
James Booth
d2d4eb61ba Merge branch 'master' into plugins
Conflicts:
	Makefile.am
	src/ui/notifier.c
2013-08-25 23:26:29 +01:00
James Booth
601a88037a Initial code refactor for growable window list 2013-08-20 23:08:21 +01:00
James Booth
4d5fe66277 Merge branch 'plugins' into ruby
Conflicts:
	Makefile.am
2013-08-18 16:31:13 +01:00
James Booth
3d36ec0c50 Fixed tabs in Makefile.am 2013-08-18 16:28:26 +01:00
James Booth
a1a01b8cd4 Started adding ruby api 2013-08-18 16:20:52 +01:00
Artem Shinkarov
705a946882 Adding plugin interface for C files.
Implementation of hooks using C interface basedon dlfcn.  Added test
plugin and makefile to build it.  In order to test it add the followin
into your profrc:
    [plugins]
    load=test-c-plugin.so
and execute profanity piping stderr to some file.  The file should
contain all entries whenever the plugin function is triggered.  It seem
to be workin but some parts are missing.
2013-08-18 03:55:20 +01:00
James Booth
f15b61e4cb Language wrappers for callbacks 2013-08-18 00:10:10 +01:00
James Booth
67972f8eac Pulled out common api into api.c, added python bindings 2013-08-17 23:16:14 +01:00
James Booth
580b14ab68 Added plugin load list as preference, moved python hooks 2013-08-17 22:42:44 +01:00
James Booth
084b03691e Implemented time python callbacks 2013-08-04 18:43:46 +01:00
James Booth
5464d5079b Added plugins commands 2013-08-03 02:21:43 +01:00
James Booth
dded9e954f Separated python api and plugins code 2013-08-03 00:58:04 +01:00
James Booth
8d2d71bacb Renamed plugins files 2013-08-03 00:48:22 +01:00
James Booth
35d4f42466 Renamed api module -> plugins 2013-08-03 00:43:05 +01:00
James Booth
5583dd29b3 Call cons_show with hard coded string 2013-07-25 00:54:31 +01:00
James Booth
4b416ba58e Experimenting with python integration for plugins 2013-07-21 23:31:09 +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