mirror of
https://github.com/weechat/weechat.git
synced 2026-07-08 06:25:42 +02:00
Remove jabber plugin (will be replaced by script)
This commit is contained in:
@@ -48,7 +48,6 @@ OPTION(DISABLE_CHARSET "Disable Charset plugin")
|
||||
OPTION(ENABLE_DEMO "Enable Demo plugin")
|
||||
OPTION(DISABLE_FIFO "Disable FIFO plugin")
|
||||
OPTION(DISABLE_IRC "Disable IRC plugin")
|
||||
OPTION(ENABLE_JABBER "Enable Jabber plugin")
|
||||
OPTION(DISABLE_LOGGER "Disable Logger plugin")
|
||||
OPTION(ENABLE_RELAY "Enable Relay plugin")
|
||||
OPTION(DISABLE_SCRIPTS "Disable script plugins")
|
||||
|
||||
@@ -102,7 +102,6 @@ AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
|
||||
AH_VERBATIM([PLUGIN_DEMO], [#undef PLUGIN_DEMO])
|
||||
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
|
||||
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
|
||||
AH_VERBATIM([PLUGIN_JABBER], [#undef PLUGIN_JABBER])
|
||||
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
|
||||
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
|
||||
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
|
||||
@@ -127,7 +126,6 @@ AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (
|
||||
AC_ARG_ENABLE(demo, [ --enable-demo turn on Demo plugin (default=off)],enable_demo=$enableval,enable_demo=no)
|
||||
AC_ARG_ENABLE(fifo, [ --disable-fifo turn off Fifo plugin (default=compiled)],enable_fifo=$enableval,enable_fifo=yes)
|
||||
AC_ARG_ENABLE(irc, [ --disable-irc turn off IRC plugin (default=compiled)],enable_irc=$enableval,enable_irc=yes)
|
||||
AC_ARG_ENABLE(jabber, [ --enable-jabber turn off Jabber plugin (default=off)],enable_jabber=$enableval,enable_jabber=no)
|
||||
AC_ARG_ENABLE(logger, [ --disable-logger turn off Logger plugin (default=compiled)],enable_logger=$enableval,enable_logger=yes)
|
||||
AC_ARG_ENABLE(relay, [ --enable-relay turn on Relay plugin (default=off)],enable_relay=$enableval,enable_relay=no)
|
||||
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
|
||||
@@ -374,26 +372,6 @@ else
|
||||
not_asked="$not_asked irc"
|
||||
fi
|
||||
|
||||
# --------------------------------- jabber -------------------------------------
|
||||
|
||||
if test "x$enable_jabber" = "xyes" ; then
|
||||
if test "$LIBIKSEMEL_FOUND" = "0" ; then
|
||||
AC_MSG_WARN([[
|
||||
*** libiksemel was not found. You may want to get it from http://code.google.com/p/iksemel/
|
||||
*** WeeChat will be built without Jabber support.]])
|
||||
enable_jabber="no"
|
||||
not_found="$not_found jabber"
|
||||
else
|
||||
IKSEMEL_CFLAGS=""
|
||||
IKSEMEL_LFLAGS="-liksemel"
|
||||
AC_SUBST(IKSEMEL_CFLAGS)
|
||||
AC_SUBST(IKSEMEL_LFLAGS)
|
||||
AC_DEFINE(PLUGIN_JABBER)
|
||||
fi
|
||||
else
|
||||
not_asked="$not_asked jabber"
|
||||
fi
|
||||
|
||||
# --------------------------------- logger -------------------------------------
|
||||
|
||||
if test "x$enable_logger" = "xyes" ; then
|
||||
@@ -966,7 +944,6 @@ AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_DEMO, test "$enable_demo" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_JABBER, test "$enable_jabber" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
|
||||
@@ -990,7 +967,6 @@ AC_OUTPUT([Makefile
|
||||
src/plugins/demo/Makefile
|
||||
src/plugins/fifo/Makefile
|
||||
src/plugins/irc/Makefile
|
||||
src/plugins/jabber/Makefile
|
||||
src/plugins/logger/Makefile
|
||||
src/plugins/relay/Makefile
|
||||
src/plugins/scripts/Makefile
|
||||
@@ -1051,9 +1027,6 @@ fi
|
||||
if test "x$enable_irc" = "xyes" ; then
|
||||
listplugins="$listplugins irc"
|
||||
fi
|
||||
if test "x$enable_jabber" = "xyes" ; then
|
||||
listplugins="$listplugins jabber"
|
||||
fi
|
||||
if test "x$enable_logger" = "xyes"; then
|
||||
listplugins="$listplugins logger"
|
||||
fi
|
||||
|
||||
+8
-8
@@ -65,11 +65,11 @@ my @locale_list = qw(en_US fr_FR);
|
||||
my %plugin_list = ("weechat" => "co", "alias" => "",
|
||||
"aspell" => "o", "charset" => "co",
|
||||
"demo" => "co", "fifo" => "co",
|
||||
"irc" => "co", "jabber" => "co",
|
||||
"logger" => "co", "relay" => "co",
|
||||
"perl" => "", "python" => "",
|
||||
"ruby" => "", "lua" => "",
|
||||
"tcl" => "", "xfer" => "co");
|
||||
"irc" => "co", "logger" => "co",
|
||||
"relay" => "co", "perl" => "",
|
||||
"python" => "", "ruby" => "",
|
||||
"lua" => "", "tcl" => "",
|
||||
"xfer" => "co");
|
||||
|
||||
# options to ignore
|
||||
my @ignore_options = ("aspell\\.dict\\..*",
|
||||
@@ -85,13 +85,13 @@ my @ignore_options = ("aspell\\.dict\\..*",
|
||||
"weechat\\.notify\\..*");
|
||||
|
||||
# infos to ignore
|
||||
my @ignore_infos_plugins = ("jabber");
|
||||
my @ignore_infos_plugins = ();
|
||||
|
||||
# infolists to ignore
|
||||
my @ignore_infolists_plugins = ("jabber");
|
||||
my @ignore_infolists_plugins = ();
|
||||
|
||||
# completions to ignore
|
||||
my @ignore_completions_plugins = ("jabber");
|
||||
my @ignore_completions_plugins = ();
|
||||
my @ignore_completions_items = ("jabber.*",
|
||||
"weeget.*");
|
||||
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
• *`/jabber`* `[list [servername]] | [listfull [servername]] | [add servername username hostname[/port] password [-auto | -noauto] [-ipv6] [-tls] [-sasl]] | [copy servername newservername] | [rename servername newservername] | [keep servername] | [del servername] | [switch]`::
|
||||
|
||||
........................................
|
||||
list, add or remove Jabber servers
|
||||
|
||||
list: list servers (no parameter implies this list)
|
||||
listfull: list servers with detailed info for each server
|
||||
add: create a new server
|
||||
servername: server name, for internal and display use
|
||||
username: username to use on server
|
||||
hostname: name or IP address of server, with optional port (default: 5222)
|
||||
password: password for username on server
|
||||
auto: automatically connect to server when WeeChat starts
|
||||
noauto: do not connect to server when WeeChat starts (default)
|
||||
ipv6: use IPv6 protocol
|
||||
tls: use TLS cryptographic protocol
|
||||
sasl: use SASL for authentication
|
||||
copy: duplicate a server
|
||||
rename: rename a server
|
||||
keep: keep server in config file (for temporary servers only)
|
||||
del: delete a server
|
||||
switch: switch active server (when one buffer is used for all servers, default key: alt-s on server buffer)
|
||||
|
||||
Examples:
|
||||
/jabber listfull
|
||||
/jabber add jabberfr user jabber.fr/5222 password -tls
|
||||
/jabber copy jabberfr jabberfr2
|
||||
/jabber rename jabberfr jabbfr
|
||||
/jabber del jabberfr
|
||||
/jabber switch
|
||||
........................................
|
||||
|
||||
• *`/jchat`* `buddy [text]`::
|
||||
|
||||
........................................
|
||||
chat with a buddy
|
||||
|
||||
buddy: buddy name for chat
|
||||
text: text to send
|
||||
........................................
|
||||
|
||||
• *`/jconnect`* `[-all [-nojoin] | servername [servername ...] [-nojoin] | hostname [-port port] [-ipv6] [-tls] [-sasl]]`::
|
||||
|
||||
........................................
|
||||
connect to Jabber server(s)
|
||||
|
||||
-all: connect to all servers
|
||||
servername: internal server name to connect
|
||||
-nojoin: do not join any MUC (even if autojoin is enabled on server)
|
||||
hostname: hostname to connect
|
||||
port: port for server (integer, default is 6667)
|
||||
ipv6: use IPv6 protocol
|
||||
tls: use TLS cryptographic protocol
|
||||
saal: use SASL for authentication
|
||||
........................................
|
||||
|
||||
• *`/jdisconnect`* `[-all | servername [servername ...]]`::
|
||||
|
||||
........................................
|
||||
disconnect from Jabber server(s)
|
||||
|
||||
-all: disconnect from all servers
|
||||
servername: server name to disconnect
|
||||
........................................
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,65 +0,0 @@
|
||||
• *`/jabber`* `[list [nom_serveur]] | [listfull [nom_serveur]] | [add nom_serveur nom_utilisateur nom[/port] mot_de_passe [-temp] [-auto | -noauto] [-ipv6] [-tls] [-sasl]] | [copy nom_serveur nouveau_nom_serveur] | [rename nom_serveur nouveau_nom_serveur] | [keep nom_serveur] | [del nom_serveur] | [switch]`::
|
||||
|
||||
........................................
|
||||
liste, ajoute ou retire des serveurs Jabber
|
||||
|
||||
list: afficher les serveurs (pas de paramètre implique cette liste)
|
||||
listfull: afficher les serveurs avec de l'info détaillée pour chaque
|
||||
add: créer un nouveau serveur
|
||||
nom_serveur: nom du serveur, pour usage interne et affichage
|
||||
nom_utilisateur: nom d'utilisateur pour ce serveur
|
||||
nom: nom ou adresse IP du serveur avec port en option (defaut: 5222)
|
||||
mot_de_passe: mot de passe pour l'utilisateur sur le serveur
|
||||
auto: se connecter automatiquement au serveur quand WeeChat démarre
|
||||
noauto: ne pas se connecter au serveur quand WeeChat démarre (par défaut)
|
||||
ipv6: utiliser le protocole IPv6
|
||||
tsl: utiliser le protocole de chiffrement TLS
|
||||
sasl: utiliser SASL pour l'authentification
|
||||
copy: dupliquer un serveur
|
||||
rename: renommer un serveur
|
||||
keep: garder le serveur dans le fichier de configuration (pour les serveurs temporaires seulement)
|
||||
del: supprimer un serveur
|
||||
switch: changer le serveur actif (quand un tampon est utilisé pour tous les serveurs, touche par défaut: alt-s sur le tampon serveur)
|
||||
|
||||
Exemples:
|
||||
/jabber listfull
|
||||
/jabber add jabberfr user jabber.fr/5222 password -tls
|
||||
/jabber copy jabberfr jabberfr2
|
||||
/jabber rename jabberfr jabbfr
|
||||
/jabber del jabberfr
|
||||
/jabber switch
|
||||
........................................
|
||||
|
||||
• *`/jchat`* `contact [texte]`::
|
||||
|
||||
........................................
|
||||
discuter avec un contact
|
||||
|
||||
contact: nom du contact pour la discussion
|
||||
texte: texte à envoyer
|
||||
........................................
|
||||
|
||||
• *`/jconnect`* `[-all [-nojoin] | nom_serveur [nom_serveur ...] [-nojoin] | nom/IP [-port port] [-ipv6] [-tls] [-sasl]]`::
|
||||
|
||||
........................................
|
||||
se connecter à un/plusieurs serveur(s) Jabber
|
||||
|
||||
-all: se reconnecter à tous les serveurs
|
||||
nom_serveur: nom du serveur pour se connecter
|
||||
-nojoin: ne rejoindre aucun MUC (même si l'autojoin est activé pour le serveur)
|
||||
nom/IP: nom/IP pour se connecter
|
||||
port: port pour le serveur (nombre entier, 6667 par défaut)
|
||||
ipv6: utiliser le protocole IPv6
|
||||
tls: utiliser le protocole de chiffrement TLS
|
||||
sasl: utiliser SASL pour l'authentification
|
||||
........................................
|
||||
|
||||
• *`/jdisconnect`* `[-all | nom_serveur [nom_serveur...]]`::
|
||||
|
||||
........................................
|
||||
se déconnecter d'un/plusieurs serveur(s) Jabber
|
||||
|
||||
-all: se déconnecter de tous les serveurs
|
||||
nom_serveur: nom du serveur pour se déconnecter
|
||||
........................................
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -137,36 +137,6 @@
|
||||
./src/plugins/irc/irc-raw.h
|
||||
./src/plugins/irc/irc-server.c
|
||||
./src/plugins/irc/irc-server.h
|
||||
./src/plugins/jabber/jabber-bar-item.c
|
||||
./src/plugins/jabber/jabber-bar-item.h
|
||||
./src/plugins/jabber/jabber-buddy.c
|
||||
./src/plugins/jabber/jabber-buddy.h
|
||||
./src/plugins/jabber/jabber-buffer.c
|
||||
./src/plugins/jabber/jabber-buffer.h
|
||||
./src/plugins/jabber/jabber.c
|
||||
./src/plugins/jabber/jabber-command.c
|
||||
./src/plugins/jabber/jabber-command.h
|
||||
./src/plugins/jabber/jabber-completion.c
|
||||
./src/plugins/jabber/jabber-completion.h
|
||||
./src/plugins/jabber/jabber-config.c
|
||||
./src/plugins/jabber/jabber-config.h
|
||||
./src/plugins/jabber/jabber-debug.c
|
||||
./src/plugins/jabber/jabber-debug.h
|
||||
./src/plugins/jabber/jabber-display.c
|
||||
./src/plugins/jabber/jabber-display.h
|
||||
./src/plugins/jabber/jabber.h
|
||||
./src/plugins/jabber/jabber-info.c
|
||||
./src/plugins/jabber/jabber-info.h
|
||||
./src/plugins/jabber/jabber-input.c
|
||||
./src/plugins/jabber/jabber-input.h
|
||||
./src/plugins/jabber/jabber-muc.c
|
||||
./src/plugins/jabber/jabber-muc.h
|
||||
./src/plugins/jabber/jabber-server.c
|
||||
./src/plugins/jabber/jabber-server.h
|
||||
./src/plugins/jabber/jabber-upgrade.c
|
||||
./src/plugins/jabber/jabber-upgrade.h
|
||||
./src/plugins/jabber/jabber-xmpp.c
|
||||
./src/plugins/jabber/jabber-xmpp.h
|
||||
./src/plugins/logger/logger.c
|
||||
./src/plugins/logger/logger.h
|
||||
./src/plugins/logger/logger-buffer.c
|
||||
|
||||
@@ -138,36 +138,6 @@ SET(WEECHAT_SOURCES
|
||||
./src/plugins/irc/irc-raw.h
|
||||
./src/plugins/irc/irc-server.c
|
||||
./src/plugins/irc/irc-server.h
|
||||
./src/plugins/jabber/jabber-bar-item.c
|
||||
./src/plugins/jabber/jabber-bar-item.h
|
||||
./src/plugins/jabber/jabber-buddy.c
|
||||
./src/plugins/jabber/jabber-buddy.h
|
||||
./src/plugins/jabber/jabber-buffer.c
|
||||
./src/plugins/jabber/jabber-buffer.h
|
||||
./src/plugins/jabber/jabber.c
|
||||
./src/plugins/jabber/jabber-command.c
|
||||
./src/plugins/jabber/jabber-command.h
|
||||
./src/plugins/jabber/jabber-completion.c
|
||||
./src/plugins/jabber/jabber-completion.h
|
||||
./src/plugins/jabber/jabber-config.c
|
||||
./src/plugins/jabber/jabber-config.h
|
||||
./src/plugins/jabber/jabber-debug.c
|
||||
./src/plugins/jabber/jabber-debug.h
|
||||
./src/plugins/jabber/jabber-display.c
|
||||
./src/plugins/jabber/jabber-display.h
|
||||
./src/plugins/jabber/jabber.h
|
||||
./src/plugins/jabber/jabber-info.c
|
||||
./src/plugins/jabber/jabber-info.h
|
||||
./src/plugins/jabber/jabber-input.c
|
||||
./src/plugins/jabber/jabber-input.h
|
||||
./src/plugins/jabber/jabber-muc.c
|
||||
./src/plugins/jabber/jabber-muc.h
|
||||
./src/plugins/jabber/jabber-server.c
|
||||
./src/plugins/jabber/jabber-server.h
|
||||
./src/plugins/jabber/jabber-upgrade.c
|
||||
./src/plugins/jabber/jabber-upgrade.h
|
||||
./src/plugins/jabber/jabber-xmpp.c
|
||||
./src/plugins/jabber/jabber-xmpp.h
|
||||
./src/plugins/logger/logger.c
|
||||
./src/plugins/logger/logger.h
|
||||
./src/plugins/logger/logger-buffer.c
|
||||
|
||||
+1
-251
File diff suppressed because it is too large
Load Diff
@@ -58,14 +58,6 @@ IF(NOT DISABLE_IRC)
|
||||
ADD_SUBDIRECTORY( irc )
|
||||
ENDIF(NOT DISABLE_IRC)
|
||||
|
||||
IF(ENABLE_JABBER)
|
||||
# Check for iksemel library
|
||||
FIND_PACKAGE(Iksemel)
|
||||
IF(IKSEMEL_FOUND)
|
||||
ADD_SUBDIRECTORY( jabber )
|
||||
ENDIF(IKSEMEL_FOUND)
|
||||
ENDIF(ENABLE_JABBER)
|
||||
|
||||
IF(NOT DISABLE_LOGGER)
|
||||
ADD_SUBDIRECTORY( logger )
|
||||
ENDIF(NOT DISABLE_LOGGER)
|
||||
|
||||
@@ -50,10 +50,6 @@ if PLUGIN_IRC
|
||||
irc_dir = irc
|
||||
endif
|
||||
|
||||
if PLUGIN_JABBER
|
||||
jabber_dir = jabber
|
||||
endif
|
||||
|
||||
if PLUGIN_LOGGER
|
||||
logger_dir = logger
|
||||
endif
|
||||
@@ -87,8 +83,7 @@ xfer_dir = xfer
|
||||
endif
|
||||
|
||||
SUBDIRS = . $(alias_dir) $(aspell_dir) $(charset_dir) $(demo_dir) $(fifo_dir) \
|
||||
$(irc_dir) $(jabber_dir) $(logger_dir) $(relay_dir) $(script_dir) \
|
||||
$(xfer_dir)
|
||||
$(irc_dir) $(logger_dir) $(relay_dir) $(script_dir) $(xfer_dir)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt
|
||||
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright (c) 2009 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
ADD_LIBRARY(jabber MODULE
|
||||
jabber.c jabber.h
|
||||
jabber-bar-item.c jabber-bar-item.h
|
||||
jabber-buddy.c jabber-buddy.h
|
||||
jabber-buffer.c jabber-buffer.h
|
||||
jabber-command.c jabber-command.h
|
||||
jabber-completion.c jabber-completion.h
|
||||
jabber-config.c jabber-config.h
|
||||
jabber-debug.c jabber-debug.h
|
||||
jabber-display.c jabber-display.h
|
||||
jabber-info.c jabber-info.h
|
||||
jabber-input.c jabber-input.h
|
||||
jabber-muc.c jabber-muc.h
|
||||
jabber-server.c jabber-server.h
|
||||
jabber-upgrade.c jabber-upgrade.h
|
||||
jabber-xmpp.c jabber-xmpp.h)
|
||||
SET_TARGET_PROPERTIES(jabber PROPERTIES PREFIX "")
|
||||
|
||||
CHECK_INCLUDE_FILES("regex.h" HAVE_REGEX_H)
|
||||
CHECK_FUNCTION_EXISTS(regexec HAVE_REGEXEC)
|
||||
|
||||
IF(GNUTLS_FOUND)
|
||||
INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_PATH} ${IKSEMEL_INCLUDE_PATH})
|
||||
TARGET_LINK_LIBRARIES(jabber ${GNUTLS_LIBRARY} ${IKSEMEL_LIBRARY})
|
||||
ELSE(GNUTLS_FOUND)
|
||||
TARGET_LINK_LIBRARIES(jabber ${IKSEMEL_LIBRARY})
|
||||
ENDIF(GNUTLS_FOUND)
|
||||
|
||||
INSTALL(TARGETS jabber LIBRARY DESTINATION lib/${PROJECT_NAME}/plugins)
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright (c) 2009 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(GNUTLS_CFLAGS) $(IKSEMEL_CFLAGS)
|
||||
|
||||
libdir = ${weechat_libdir}/plugins
|
||||
|
||||
lib_LTLIBRARIES = jabber.la
|
||||
|
||||
jabber_la_SOURCES = jabber.c \
|
||||
jabber.h \
|
||||
jabber-bar-item.c \
|
||||
jabber-bar-item.h \
|
||||
jabber-buddy.c \
|
||||
jabber-buddy.h \
|
||||
jabber-buffer.c \
|
||||
jabber-buffer.h \
|
||||
jabber-command.c \
|
||||
jabber-command.h \
|
||||
jabber-completion.c \
|
||||
jabber-completion.h \
|
||||
jabber-config.c \
|
||||
jabber-config.h \
|
||||
jabber-debug.c \
|
||||
jabber-debug.h \
|
||||
jabber-display.c \
|
||||
jabber-display.h \
|
||||
jabber-info.c \
|
||||
jabber-info.h \
|
||||
jabber-input.c \
|
||||
jabber-input.h \
|
||||
jabber-muc.c \
|
||||
jabber-muc.h \
|
||||
jabber-server.c \
|
||||
jabber-server.h \
|
||||
jabber-upgrade.c \
|
||||
jabber-upgrade.h \
|
||||
jabber-xmpp.c \
|
||||
jabber-xmpp.h
|
||||
|
||||
jabber_la_LDFLAGS = -module
|
||||
jabber_la_LIBADD = $(JABBER_LFLAGS) $(GNUTLS_LFLAGS) $(IKSEMEL_LFLAGS)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,25 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_BAR_ITEM_H
|
||||
#define __WEECHAT_JABBER_BAR_ITEM_H 1
|
||||
|
||||
extern void jabber_bar_item_init ();
|
||||
|
||||
#endif /* jabber-bar-item.h */
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,41 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_BUFFER_H
|
||||
#define __WEECHAT_JABBER_BUFFER_H 1
|
||||
|
||||
#define JABBER_BUFFER_ALL_SERVERS_NAME "servers"
|
||||
|
||||
struct t_gui_buffer;
|
||||
struct t_jabber_server;
|
||||
struct t_jabber_muc;
|
||||
|
||||
extern struct t_gui_buffer *jabber_buffer_servers;
|
||||
|
||||
extern void jabber_buffer_get_server_muc (struct t_gui_buffer *buffer,
|
||||
struct t_jabber_server **server,
|
||||
struct t_jabber_muc **muc);
|
||||
extern char *jabber_buffer_build_name (const char *server, const char *muc);
|
||||
extern char *jabber_buffer_get_server_prefix (struct t_jabber_server *server,
|
||||
char *prefix_code);
|
||||
extern void jabber_buffer_merge_servers ();
|
||||
extern void jabber_buffer_split_server ();
|
||||
extern int jabber_buffer_close_cb (void *data, struct t_gui_buffer *buffer);
|
||||
|
||||
#endif /* jabber-buffer.h */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,37 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_COMMAND_H
|
||||
#define __WEECHAT_JABBER_COMMAND_H 1
|
||||
|
||||
struct t_jabber_server;
|
||||
|
||||
#define JABBER_COMMAND_TOO_FEW_ARGUMENTS(__buffer, __command) \
|
||||
weechat_printf (__buffer, \
|
||||
_("%s%s: too few arguments for \"%s\" command"), \
|
||||
jabber_buffer_get_server_prefix (ptr_server, "error"), \
|
||||
JABBER_PLUGIN_NAME, \
|
||||
__command); \
|
||||
return WEECHAT_RC_ERROR;
|
||||
|
||||
extern void jabber_command_quit_server (struct t_jabber_server *server,
|
||||
const char *arguments);
|
||||
extern void jabber_command_init ();
|
||||
|
||||
#endif /* jabber-command.h */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,25 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_COMPLETION_H
|
||||
#define __WEECHAT_JABBER_COMPLETION_H 1
|
||||
|
||||
extern void jabber_completion_init ();
|
||||
|
||||
#endif /* jabber-completion.h */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,81 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_CONFIG_H
|
||||
#define __WEECHAT_JABBER_CONFIG_H 1
|
||||
|
||||
#define JABBER_CONFIG_NAME "jabber"
|
||||
|
||||
enum t_jabber_config_display_away
|
||||
{
|
||||
JABBER_CONFIG_DISPLAY_AWAY_OFF = 0,
|
||||
JABBER_CONFIG_DISPLAY_AWAY_LOCAL,
|
||||
JABBER_CONFIG_DISPLAY_AWAY_MUC,
|
||||
};
|
||||
|
||||
extern struct t_config_file *jabber_config_file;
|
||||
extern struct t_config_section *jabber_config_section_server_default;
|
||||
extern struct t_config_section *jabber_config_section_server;
|
||||
|
||||
extern struct t_config_option *jabber_config_look_color_nicks_in_server_messages;
|
||||
extern struct t_config_option *jabber_config_look_one_server_buffer;
|
||||
extern struct t_config_option *jabber_config_look_open_near_server;
|
||||
extern struct t_config_option *jabber_config_look_nick_prefix;
|
||||
extern struct t_config_option *jabber_config_look_nick_suffix;
|
||||
extern struct t_config_option *jabber_config_look_nick_completion_smart;
|
||||
extern struct t_config_option *jabber_config_look_display_away;
|
||||
extern struct t_config_option *jabber_config_look_display_muc_modes;
|
||||
extern struct t_config_option *jabber_config_look_display_nick_modes;
|
||||
extern struct t_config_option *jabber_config_look_highlight_tags;
|
||||
extern struct t_config_option *jabber_config_look_show_away_once;
|
||||
extern struct t_config_option *jabber_config_look_smart_filter;
|
||||
extern struct t_config_option *jabber_config_look_smart_filter_delay;
|
||||
|
||||
extern struct t_config_option *jabber_config_color_message_join;
|
||||
extern struct t_config_option *jabber_config_color_message_quit;
|
||||
extern struct t_config_option *jabber_config_color_input_nick;
|
||||
|
||||
extern struct t_config_option *jabber_config_network_default_msg_part;
|
||||
extern struct t_config_option *jabber_config_network_default_msg_quit;
|
||||
extern struct t_config_option *jabber_config_network_lag_check;
|
||||
extern struct t_config_option *jabber_config_network_lag_min_show;
|
||||
extern struct t_config_option *jabber_config_network_lag_disconnect;
|
||||
extern struct t_config_option *jabber_config_network_anti_flood;
|
||||
extern struct t_config_option *jabber_config_network_colors_receive;
|
||||
extern struct t_config_option *jabber_config_network_colors_send;
|
||||
|
||||
extern struct t_config_option *jabber_config_server_default[];
|
||||
|
||||
extern void jabber_config_server_change_cb (void *data,
|
||||
struct t_config_option *option);
|
||||
struct t_config_option *jabber_config_server_new_option (struct t_config_file *config_file,
|
||||
struct t_config_section *section,
|
||||
int index_option,
|
||||
const char *option_name,
|
||||
const char *default_value,
|
||||
const char *value,
|
||||
int null_value_allowed,
|
||||
void *callback_change,
|
||||
void *callback_change_data);
|
||||
extern int jabber_config_init ();
|
||||
extern int jabber_config_read ();
|
||||
extern int jabber_config_write (int write_temp_servers);
|
||||
extern void jabber_config_free ();
|
||||
|
||||
#endif /* jabber-config.h */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,36 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_DEBUG_H
|
||||
#define __WEECHAT_JABBER_DEBUG_H 1
|
||||
|
||||
#define JABBER_DEBUG_BUFFER_NAME "jabber_debug"
|
||||
|
||||
#define JABBER_DEBUG_PREFIX_RECV "-->"
|
||||
#define JABBER_DEBUG_PREFIX_RECV_MOD "==>"
|
||||
#define JABBER_DEBUG_PREFIX_SEND "<--"
|
||||
#define JABBER_DEBUG_PREFIX_SEND_MOD "<=="
|
||||
|
||||
struct t_jabber_server;
|
||||
|
||||
extern void jabber_debug_printf (struct t_jabber_server *server, int send,
|
||||
int modified, const char *message);
|
||||
extern void jabber_debug_init ();
|
||||
|
||||
#endif /* jabber-debug.h */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,26 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_DISPLAY_H
|
||||
#define __WEECHAT_JABBER_DISPLAY_H 1
|
||||
|
||||
extern void jabber_display_server (struct t_jabber_server *server,
|
||||
int with_detail);
|
||||
|
||||
#endif /* jabber-display.h */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,25 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_INFO_H
|
||||
#define __WEECHAT_JABBER_INFO_H 1
|
||||
|
||||
extern void jabber_info_init ();
|
||||
|
||||
#endif /* jabber-info.h */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_INPUT_H
|
||||
#define __WEECHAT_JABBER_INPUT_H 1
|
||||
|
||||
struct t_gui_buffer;
|
||||
|
||||
extern void jabber_input_user_message_display (struct t_gui_buffer *buffer,
|
||||
const char *text);
|
||||
extern int jabber_input_data_cb (void *data, struct t_gui_buffer *buffer,
|
||||
const char *input_data);
|
||||
|
||||
#endif /* jabber-input.h */
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,37 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_UPGRADE_H
|
||||
#define __WEECHAT_JABBER_UPGRADE_H 1
|
||||
|
||||
#define JABBER_UPGRADE_FILENAME "jabber"
|
||||
|
||||
/* For developers: please add new values ONLY AT THE END of enums */
|
||||
|
||||
enum t_jabber_upgrade_type
|
||||
{
|
||||
JABBER_UPGRADE_TYPE_SERVER = 0,
|
||||
JABBER_UPGRADE_TYPE_MUC,
|
||||
JABBER_UPGRADE_TYPE_BUDDY,
|
||||
};
|
||||
|
||||
extern int jabber_upgrade_save ();
|
||||
extern int jabber_upgrade_load ();
|
||||
|
||||
#endif /* jabber-upgrade.h */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,39 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_XMPP_H
|
||||
#define __WEECHAT_JABBER_XMPP_H 1
|
||||
|
||||
#include <iksemel.h>
|
||||
|
||||
struct t_jabber_server;
|
||||
struct t_jabber_muc;
|
||||
|
||||
extern const char *jabber_xmpp_tags (const char *command, const char *tags);
|
||||
extern void jabber_xmpp_send_chat_message (struct t_jabber_server *server,
|
||||
struct t_jabber_muc *muc,
|
||||
const char *message);
|
||||
extern int jabber_xmpp_iks_stream_hook (void *user_data, int type, iks *node);
|
||||
extern void jabber_xmpp_iks_log (void *user_data, const char *data,
|
||||
size_t size, int is_incoming);
|
||||
extern int jabber_xmpp_iks_result (void *user_data, ikspak *pak);
|
||||
extern int jabber_xmpp_iks_error (void *user_data, ikspak *pak);
|
||||
extern int jabber_xmpp_iks_roster (void *user_data, ikspak *pak);
|
||||
|
||||
#endif /* jabber-xmpp.h */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,71 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_JABBER_H
|
||||
#define __WEECHAT_JABBER_H 1
|
||||
|
||||
#define weechat_plugin weechat_jabber_plugin
|
||||
#define JABBER_PLUGIN_NAME "jabber"
|
||||
|
||||
#define JABBER_GET_SERVER(__buffer) \
|
||||
struct t_weechat_plugin *buffer_plugin = NULL; \
|
||||
struct t_jabber_server *ptr_server = NULL; \
|
||||
buffer_plugin = weechat_buffer_get_pointer (__buffer, "plugin"); \
|
||||
if (buffer_plugin == weechat_jabber_plugin) \
|
||||
jabber_buffer_get_server_muc (__buffer, &ptr_server, NULL);
|
||||
|
||||
#define JABBER_GET_SERVER_MUC(__buffer) \
|
||||
struct t_weechat_plugin *buffer_plugin = NULL; \
|
||||
struct t_jabber_server *ptr_server = NULL; \
|
||||
struct t_jabber_muc *ptr_muc = NULL; \
|
||||
buffer_plugin = weechat_buffer_get_pointer (__buffer, "plugin"); \
|
||||
if (buffer_plugin == weechat_jabber_plugin) \
|
||||
{ \
|
||||
jabber_buffer_get_server_muc (__buffer, &ptr_server, &ptr_muc); \
|
||||
}
|
||||
|
||||
#define JABBER_COLOR_CHAT weechat_color("chat")
|
||||
#define JABBER_COLOR_CHAT_CHANNEL weechat_color("chat_channel")
|
||||
#define JABBER_COLOR_CHAT_DELIMITERS weechat_color("chat_delimiters")
|
||||
#define JABBER_COLOR_CHAT_HOST weechat_color("chat_host")
|
||||
#define JABBER_COLOR_CHAT_NICK weechat_color("chat_nick")
|
||||
#define JABBER_COLOR_CHAT_NICK_SELF weechat_color("chat_nick_self")
|
||||
#define JABBER_COLOR_CHAT_NICK_OTHER weechat_color("chat_nick_other")
|
||||
#define JABBER_COLOR_CHAT_SERVER weechat_color("chat_server")
|
||||
#define JABBER_COLOR_CHAT_VALUE weechat_color("chat_value")
|
||||
#define JABBER_COLOR_NICKLIST_PREFIX1 weechat_color("nicklist_prefix1")
|
||||
#define JABBER_COLOR_NICKLIST_PREFIX2 weechat_color("nicklist_prefix2")
|
||||
#define JABBER_COLOR_NICKLIST_PREFIX3 weechat_color("nicklist_prefix3")
|
||||
#define JABBER_COLOR_NICKLIST_PREFIX4 weechat_color("nicklist_prefix4")
|
||||
#define JABBER_COLOR_NICKLIST_PREFIX5 weechat_color("nicklist_prefix5")
|
||||
#define JABBER_COLOR_BAR_FG weechat_color("bar_fg")
|
||||
#define JABBER_COLOR_BAR_BG weechat_color("bar_bg")
|
||||
#define JABBER_COLOR_BAR_DELIM weechat_color("bar_delim")
|
||||
#define JABBER_COLOR_STATUS_NUMBER weechat_color(weechat_config_string(weechat_config_get("weechat.color.status_number")))
|
||||
#define JABBER_COLOR_STATUS_NAME weechat_color(weechat_config_string(weechat_config_get("weechat.color.status_name")))
|
||||
#define JABBER_COLOR_MESSAGE_JOIN weechat_color(weechat_config_string(jabber_config_color_message_join))
|
||||
#define JABBER_COLOR_MESSAGE_QUIT weechat_color(weechat_config_string(jabber_config_color_message_quit))
|
||||
#define JABBER_COLOR_INPUT_NICK weechat_color(weechat_config_string(jabber_config_color_input_nick))
|
||||
#define JABBER_COLOR_NICK_IN_SERVER_MESSAGE(nick) \
|
||||
((nick && weechat_config_boolean(jabber_config_look_color_nicks_in_server_messages)) ? \
|
||||
nick->color : JABBER_COLOR_CHAT_NICK)
|
||||
|
||||
extern struct t_weechat_plugin *weechat_jabber_plugin;
|
||||
|
||||
#endif /* jabber.h */
|
||||
@@ -33,7 +33,7 @@ struct t_infolist;
|
||||
struct t_weelist;
|
||||
|
||||
/* API version (used to check that plugin has same API and can be loaded) */
|
||||
#define WEECHAT_PLUGIN_API_VERSION "20090612-01"
|
||||
#define WEECHAT_PLUGIN_API_VERSION "20090614-01"
|
||||
|
||||
/* macros for defining plugin infos */
|
||||
#define WEECHAT_PLUGIN_NAME(__name) \
|
||||
|
||||
Reference in New Issue
Block a user