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
8fa41701d4 Reintroduced lua AX macros 2014-05-28 23:12:20 +01:00
James Booth
935e6b8521 Added manual ruby configuration 2014-05-28 22:47:53 +01:00
James Booth
3065b8be06 Updated hardcoded lua version to 5.2, removed debug from lua_api 2014-05-26 23:58:18 +01:00
James Booth
e1b53df036 Merge branch 'master' into plugins
Conflicts:
	.travis.yml
	configure.ac
	src/profanity.c
2014-05-22 20:20:24 +01:00
James Booth
3c5a73d29e Use libgcrypt instead of libgnutls for SHA1 hashing 2014-05-21 20:35:01 +01:00
James Booth
96c6e6a184 Moved -export-dynamic to AM_LDFLAGS, for clang compatibility 2014-05-20 20:41:34 +01:00
James Booth
1f88ca5032 Set version to 0.5.0 development 2014-05-19 21:48:18 +01:00
James Booth
6e23004196 Set status to release 2014-05-19 21:46:42 +01:00
James Booth
e10ea1be4e Fixed OTR dependency when library not present, changed version to 0.4.2 2014-05-19 20:41:19 +01:00
James Booth
3fb5649ccc Set version to 0.5.0 development 2014-05-18 16:29:58 +01:00
James Booth
f5a1cb717d Set status to 0.4.1 release 2014-05-18 16:28:37 +01:00
James Booth
8551ce87ea Merge branch 'master' into plugins
Conflicts:
	configure.ac
2014-05-18 02:40:09 +01:00
James Booth
7adf345358 Set status to 0.5.0 dev 2014-05-18 02:11:39 +01:00
James Booth
e467e91302 Set status to release 2014-05-18 02:09:02 +01:00
James Booth
204d188e41 Merge branch 'master' into plugins
Conflicts:
	configure.ac
2014-05-11 01:37:02 +01:00
James Booth
acdda9a82c Changed version to 0.4.1dev for patch release 2014-05-11 01:35:45 +01:00
James Booth
0fa43596ba Merge branch 'master' into plugins
Conflicts:
	configure.ac
	src/profanity.c
2014-05-02 00:57:15 +01:00
James Booth
59e9083224 Fixed gnutls dependency for ubuntu 2014-05-01 22:29:06 +01:00
James Booth
524b1f2383 Changed to use gnutls instead of openssl for sha1 hashing 2014-05-01 22:18:04 +01:00
James Booth
94cd4723be Merge branch 'master' into plugins
Conflicts:
	Makefile.am
	configure.ac
	src/ui/titlebar.c
2014-04-21 00:50:54 +01:00
Dmitry Podgorny
aa6e2284fc config/theme: search for system-wide themes
Search for system-wide themes (usually /usr/share/profanity/themes) if
not found in user's home directory.

Not tested yet.
2014-04-09 21:42:14 +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
James Booth
6909a0a721 Merge branch 'master' into plugins
Conflicts:
	configure.ac
2014-03-29 18:57:19 +00:00
James Booth
47632bd3ee Set version to 0.5.0 development 2014-03-29 18:55:35 +00:00
James Booth
45cf45b218 Set status to release 2014-03-29 17:12:12 +00:00
James Booth
2731ef9cd8 Merge branch 'master' into plugins 2014-03-09 00:13:41 +00:00
James Booth
72c35553fd Split ncurses and curl LIB additions 2014-03-09 00:04:39 +00:00
James Booth
7fa9ecc76d Uncomment ncurses check 2014-03-09 00:02:34 +00:00
James Booth
768df4d736 Ncurses include libs before wget_wch check 2014-03-08 23:57:50 +00:00
James Booth
2b3d645147 Added other osx build options 2014-03-08 23:38:30 +00:00
James Booth
2c976d3523 Commented ncurses wget_wch test 2014-03-08 22:32:54 +00:00
James Booth
b9f3799982 Merge branch 'master' into plugins
Conflicts:
	configure.ac
2014-03-06 21:43:17 +00:00
James Booth
d683c49b6c Revert "Set package status to brew for osx"
This reverts commit 8ae6f52f10.
2014-03-06 21:38:26 +00:00
James Booth
db39450734 Revert "Do not perform AC_FUNC_MALLOC on OSX"
This reverts commit e7b6d068a0.
2014-03-06 21:37:47 +00:00
James Booth
bc8a871ad9 Revert "Ncurses fixes for brew"
This reverts commit ca0a1e4d9d.
2014-03-06 21:37:46 +00:00
James Booth
1588106e91 Revert "More ncurses fixes for brew"
This reverts commit 5817b07ee3.
2014-03-06 21:37:40 +00:00
James Booth
5817b07ee3 More ncurses fixes for brew 2014-03-06 21:32:36 +00:00
James Booth
ca0a1e4d9d Ncurses fixes for brew 2014-03-06 21:21:54 +00:00
James Booth
e7b6d068a0 Do not perform AC_FUNC_MALLOC on OSX 2014-03-06 20:51:22 +00:00
James Booth
8ae6f52f10 Set package status to brew for osx 2014-03-06 20:48:44 +00:00
James Booth
c51cc954d8 Moved platform check in configure.ac 2014-03-06 20:45:35 +00:00
James Booth
1d476c35ff Merge branch 'master' into plugins 2014-03-06 20:08:10 +00:00
James Booth
917a0c7867 Merge remote-tracking branch 'origin/master' into plugins
Conflicts:
	.gitignore
	.travis.yml
	Makefile.am
	src/main.c
	src/profanity.c
	src/ui/console.c
	src/ui/core.c
	src/xmpp/capabilities.c
	src/xmpp/iq.c
2014-03-06 19:46:53 +00:00
James Booth
702600d300 Merge branch 'master' into opensuse 2014-03-05 00:15:20 +00:00
James Booth
d68c594150 Merge branch 'osx-notify' 2014-03-05 00:11:50 +00:00
James Booth
4d00f788e9 Fixed spelling mistake in configure.ac 2014-03-05 00:11:18 +00:00
James Booth
b5171cb054 Added configure checks to enable desktop notifications on OSX 2014-03-04 22:59:09 +00:00
James Booth
5b734156a5 Changes to get install-all.sh working on fresh opensuse VM 2014-02-25 22:50:25 +00:00
James Booth
903ad33f18 Fixed -ldl linking error 2014-02-12 21:54:20 +00:00
James Booth
ea2a98cf6e Merge branch 'master' into plugins
Conflicts:
	configure.ac
2014-02-12 21:18:59 +00:00
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