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

270 Commits

Author SHA1 Message Date
James Booth
4cb302abda Ignore deprecated warnings
To enable native (non brew) compile on Max OS X
2014-02-12 20:52:27 +00:00
James Booth
819e3f1a8b Merge branch 'master' into plugins 2014-02-11 23:52:08 +00:00
James Booth
fa89e2aa62 Check for libotr version 2014-02-09 00:32:11 +00:00
James Booth
50afe7366e Use AC_SEARCH_LIBS for otr 2014-02-08 23:29:42 +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
8ea8377534 Merge branch 'master' into plugins 2014-02-02 23:15:10 +00:00
James Booth
42300fdc18 Added AC_CHECK_LIB fallback for brew 2014-02-02 17:59:22 +00:00
James Booth
050d996c1c Merge branch 'master' into plugins 2014-01-28 22:44:52 +00:00
James Booth
96af960995 Disable OTR support by default until 4.0.0 is supported.
enable with: ./configure --enable-otr
2014-01-28 22:40:01 +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
3f73cb7732 Fixed configure.ac for --disable-otr 2014-01-16 22:55:30 +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
4e97c1e460 Merge branch 'master' into otr 2014-01-12 01:25:35 +00:00
Jasper van Bourgognie
f1bd350567 Check for res_query, then for __res_query in libresolv 2014-01-09 21:39:01 +01:00
James Booth
6581db36a3 Added --enable-plugins to configure.ac
Allow users to disable all plugins by calling "./configure --disable-plugins"
2014-01-08 00:19:00 +00:00
James Booth
f1596e2957 Added --enable-c-plugins to configure.ac 2014-01-07 23:58:47 +00:00
James Booth
9588bb0eaf Added enable-lua-plugins to configure.ac 2014-01-07 22:22:02 +00:00
James Booth
981c8eb656 Added --enable-python-plugins to configure.ac 2014-01-07 22:18:41 +00:00
James Booth
a33ca6238d Added --enable-ruby-plugins option to configure.ac 2014-01-07 22:12:08 +00:00
James Booth
62d4360863 Grouped plugins in configure.ac 2014-01-07 21:56:19 +00:00
James Booth
d3071bcdcc Moved plugins in configure.ac 2014-01-07 21:52:54 +00:00
James Booth
0a97e79c68 Merge branch 'master' into plugins
Conflicts:
	configure.ac
2014-01-03 18:21:32 +00:00
James Booth
e504c030a6 Merge branch 'master' into otr
Conflicts:
	configure.ac
2014-01-03 17:54:51 +00:00
Dmitry Podgorny
0cdbfecb35 configure.ac: added check for expat without pkg-config
and some refactoring
2014-01-02 22:18:42 +02:00
Dmitry Podgorny
c7551b50c3 configure.ac: removed autoconf version check
autoconf-2.63 works well
2014-01-02 19:19:19 +02: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
Dmitry Podgorny
249e60e07d configure.ac: glib must be at least 2.26
Profanity uses GDateTime structure that appeared in glib-2.26.
2014-01-01 22:37:55 +02:00
Dmitry Podgorny
2519e450e3 configure.ac: added check for wget_wch support 2013-12-31 01:39:21 +02:00
James Booth
8840457e19 Merge remote-tracking branch 'louiecaulfield/master' 2013-12-29 15:41:22 +00:00
Dmitry Podgorny
dcccfacb68 autotools: refactored configure.ac
This patch implements request #269.
2013-12-29 01:27:15 +02:00
Jasper van Bourgognie
7272f42c97 configure.ac: use ncursesw if it's there, but continue if only ncurses is found 2013-12-27 22:05:33 +01:00
Jasper van Bourgognie
8f26b3bbf9 configure.ac: Check for ncurses instead of ncursesw 2013-12-27 20:52:42 +01: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
7f7973f9a7 Moved common tests to cmocka 2013-12-14 16:07:57 +00:00
James Booth
bd1c139429 Added libotr 2013-11-08 00:17:02 +00:00
James Booth
18a8be8935 Added before_message_displayed hook 2013-09-19 22:10:11 +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
d782b00711 Added git branch and revision to development builds 2013-09-17 00:59:37 +01:00
James Booth
7ed1fc2d9c Removed AX_LUA calls until fixed 2013-09-15 21:34:57 +01:00
James Booth
939b84ad18 Fixed register lua command 2013-09-15 20:28:23 +01:00
James Booth
e1f17861fd Started Lua command callbacks 2013-09-15 18:38:08 +01:00
James Booth
ab1c140935 Remaining Lua window api 2013-09-15 17:19:31 +01:00
James Booth
5da3026546 Added basic empty lua api and hooks 2013-09-15 13:51:23 +01:00
James Booth
6788197a6b Allow compile without Python or Ruby 2013-09-14 03:25:12 +01:00
James Booth
228f9b4293 Use AX_PYTHON_DEVEL and AX_RUBY_DEVEL 2013-09-14 02:38:40 +01:00
James Booth
0f011439fa Allow compile without python plugin support 2013-09-14 01:28:35 +01:00
James Booth
5762d951d6 Added Python LD_FLAGS 2013-09-14 00:23:50 +01:00
James Booth
6d610eee97 Autoconf change to check system's python dev flags 2013-09-13 23:22:28 +01:00
James Booth
017517e70e Tidied configure.ac
Still needs to get correct flags from system
2013-09-05 22:19:10 +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
a1a01b8cd4 Started adding ruby api 2013-08-18 16:20:52 +01:00
Artem Shinkarov
02eedc9e4d Minor fix: Reverting back the optimisation level.
FYI: there is no debug version that can be easily obtained.
2013-08-18 04:02:10 +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
140a2ad0e3 Merge branch 'master' into plugins
Conflicts:
	.gitignore
2013-08-13 21:42:01 +01:00
James Booth
b1768f942c Set status to 0.4.0 development 2013-08-11 18:42:54 +01:00
James Booth
520d2129ea Set status to release 2013-08-11 17:06:08 +01:00
James Booth
17e14347e3 Add plugin commands to command autocompleter 2013-08-03 03:20:17 +01:00
James Booth
4b416ba58e Experimenting with python integration for plugins 2013-07-21 23:31:09 +01:00
Dmitry Podgorny
131034eced Add -Werror only for development builds 2013-03-24 18:16:09 +02:00
James Booth
c89de12b0f Set development version 2013-03-10 21:36:56 +00:00
James Booth
ced9f321fa Set status to release 2013-03-10 19:45:28 +00:00
James Booth
e922568770 Added resource_presence_t and contact_presence_t 2013-02-10 17:13:19 +00:00
James Booth
8230275f03 Removed -Werror 2013-02-04 02:35:10 +00:00
James Booth
b7535a0fe2 Added -Werror 2013-02-03 22:19:46 +00:00
James Booth
78841f2ea3 Added libx11 when --with-xscreensaver chosen 2013-01-05 19:58:24 +00:00
Dmitry Podgorny
d20354968a feature request #114
* added new parameter --with-xscreensaver for libXss support
* added new parameter --enable-notifications for libnotify support
* when any parameter ins't specified appropriate library is used if
  exists
2013-01-05 17:13:52 +02:00
Dmitry Podgorny
8014e9026a autotools: removed strndup from configure.ac
strndup no longer used because of MacOS incompatibility
2013-01-05 16:34:04 +02:00
James Booth
d28930eaf4 Include ncursesw, set locale 2013-01-02 20:27:37 +00:00
James Booth
7edcff9716 Set version to 0.2.0 development 2012-12-31 01:29:23 +00:00
James Booth
52f4b4c46f Changed status to release for 0.1.10 release 2012-12-31 01:24:45 +00:00
James Booth
020e516acf Simple output of idle/away 2012-11-30 21:26:28 +00:00
James Booth
c9ed583412 Fixed some memory leaks 2012-11-26 02:20:44 +00:00
James Booth
e131afdb12 windows tidy up 2012-11-26 00:01:34 +00:00
James Booth
7ea02c7182 configure.ac Fixed spelling in libnotify message 2012-11-25 17:44:27 +00:00
James Booth
f6ca1ba15e Added cygwin check to configure.ac 2012-11-25 04:25:22 +00:00
James Booth
053a5f3120 Changed to 0.1.10 development version 2012-10-24 21:13:01 +01:00
James Booth
c1a4d12914 Updated for release 0.1.9 2012-10-24 21:11:08 +01:00
James Booth
ff335f80a9 Check for later release 2012-10-24 00:59:18 +01:00
James Booth
b7ea72453f Merge branch 'master' into dev 2012-10-24 00:27:30 +01:00
James Booth
a8e9851449 Added PACKAGE_STATUS to configure.ac 2012-10-23 23:52:40 +01:00
Dmitry Podgorny
7d6e64a53a libraries order does matter when --as-needed is passed to linker
This fixes linking error when --as-needed option is used.
2012-10-24 01:50:16 +03:00
Dmitry Podgorny
c2e94bfb20 autotools: move libraries to LIBS instead of AM_CFLAGS
Libraries are agruments for linker. So move them to LIBS vatiable.
AC_CHECK_LIB adds library to LIBS on success and we don't have to add
them manually.
2012-10-23 13:45:33 +03:00
Dmitry Podgorny
a16c53f53a autotools: introduce choice among libxml2 and expat
Now profanity is linked with expat only. This breaks build when
libstrophe is build with libxml2 support.
This patch introduce --with-libxml2 option to ./configure in the same
way as it is done in libstrophe.
2012-10-23 13:34:30 +03:00
James Booth
cf4a38a852 Removed dependency on libxml2
expat is used by default in libstrophe
2012-10-23 00:33:29 +01:00
James Booth
6d329343dc Shutdown now correctly handles connection 2012-09-23 19:26:07 +01:00
James Booth
3ec28bde5c Added recommended gcc warnings 2012-09-11 23:43:16 +01:00
James Booth
6b1b035d92 Added -Wall to GCC options
Fixed compiler warnings
2012-09-10 22:57:42 +01:00
James Booth
a9e7c4fe21 Changed to 0.1.9dev version 2012-09-08 20:56:52 +01:00
James Booth
1f171da886 Version 0.1.8 2012-09-08 20:18:24 +01:00
James Booth
8e0d8d2a86 Check for ncurses headers on cygwin 2012-09-08 16:51:09 +01:00
James Booth
c1a2443bb1 Removed compiler warnings from configure.ac
Fixed some error messages
2012-09-08 14:27:50 +01:00
James Booth
babde925fc Added dev suffix to version 2012-08-19 01:20:57 +01:00
James Booth
a7d7bf85bc Upped version to 0.1.8 2012-08-19 01:19:11 +01:00
James Booth
d4803bedc0 No longer set win status new when typing 2012-08-16 21:54:15 +01:00
James Booth
fa38ec4019 Incremented patch number 2012-08-15 23:45:16 +01:00
James Booth
cd3b01d248 Changed version to 0.1.5 2012-07-31 23:03:29 +01:00
James Booth
f7a542f488 Removed comments from configure.ac 2012-07-30 01:32:14 +01:00
James Booth
b80bf03751 Fixed libnotify includes 2012-07-30 01:04:37 +01:00
James Booth
3c0624380a Tidy up autotools scripts, removed CFLAGS 2012-07-30 00:46:39 +01:00
James Booth
fe12352b57 Fixed bug in tinyurl 2012-07-29 21:32:04 +01:00
James Booth
5b769a3ff0 Updated configure.ac for libcurl 2012-07-29 00:29:37 +01:00
James Booth
45b2944da7 Increased version, chat logging in prefs output 2012-07-22 23:11:10 +01:00
James Booth
696848bdc3 Changed version number to 0.1.1 2012-07-19 23:52:56 +01:00
James Booth
eb4f224173 Changed minimum autoconf version 2012-07-13 01:01:37 +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
3134a7b68e Added subdir-objects option to configure.ac 2012-07-03 01:59:32 +01:00
James Booth
cf6da8a44c Added build-aux folder to configure.ac 2012-07-03 00:36:04 +01:00
James Booth
1b13ef7d99 Added libnotify to lib checks 2012-07-02 01:30:30 +01:00
James Booth
7b0022f8cb Moved ordering of lib checks in configure.ac 2012-07-02 01:11:35 +01:00
James Booth
46e0f25f51 Changed autoconf version to work on Ubuntu 2012-07-02 01:02:28 +01:00
James Booth
40fcddd224 Use glib-2.0 and continues when no libnotify 2012-07-02 00:54:52 +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
28f5cdf786 Added libnotify headers to configure.ac 2012-07-01 16:18:57 +01:00
James Booth
2655d9e8fa Moved config.h to source folder 2012-07-01 14:52:45 +01:00