mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 02:05:43 +02:00
Remove evil tabs in sources
This commit is contained in:
+3
-3
@@ -39,10 +39,10 @@ run ()
|
||||
echo -n "Running \"$@\""
|
||||
eval $@ >$AUTOGEN_LOG 2>&1
|
||||
if [ $? = 0 ] ; then
|
||||
echo -e $OK
|
||||
echo -e $OK
|
||||
else
|
||||
echo -e $FAIL
|
||||
err
|
||||
echo -e $FAIL
|
||||
err
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ IF(HAVE_LIBINTL_H)
|
||||
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||
|
||||
IF(LIBINTL_HAS_DGETTEXT)
|
||||
SET(GETTEXT_FOUND TRUE)
|
||||
SET(GETTEXT_FOUND TRUE)
|
||||
ENDIF(LIBINTL_HAS_DGETTEXT)
|
||||
ENDIF(LIBINTL_LIBRARY)
|
||||
ENDIF(LIBC_HAS_DGETTEXT)
|
||||
|
||||
+2
-2
@@ -61,8 +61,8 @@ ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
|
||||
)
|
||||
|
||||
FIND_LIBRARY(
|
||||
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
|
||||
)
|
||||
|
||||
|
||||
+50
-50
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -17,9 +17,9 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_faq.de.txt \
|
||||
weechat_quickstart.de.txt \
|
||||
weechat_tester.de.txt
|
||||
weechat_faq.de.txt \
|
||||
weechat_quickstart.de.txt \
|
||||
weechat_tester.de.txt
|
||||
|
||||
all-local: weechat_faq.de.html \
|
||||
weechat_quickstart.de.html \
|
||||
|
||||
+8
-8
@@ -17,14 +17,14 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_user.en.txt \
|
||||
weechat_plugin_api.en.txt \
|
||||
weechat_scripting.en.txt \
|
||||
weechat_faq.en.txt \
|
||||
weechat_quickstart.en.txt \
|
||||
weechat_tester.en.txt \
|
||||
$(wildcard autogen/user/*.txt) \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
weechat_user.en.txt \
|
||||
weechat_plugin_api.en.txt \
|
||||
weechat_scripting.en.txt \
|
||||
weechat_faq.en.txt \
|
||||
weechat_quickstart.en.txt \
|
||||
weechat_tester.en.txt \
|
||||
$(wildcard autogen/user/*.txt) \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
|
||||
all-local: weechat_user.en.html \
|
||||
weechat_plugin_api.en.html \
|
||||
|
||||
+8
-8
@@ -17,14 +17,14 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_user.fr.txt \
|
||||
weechat_plugin_api.fr.txt \
|
||||
weechat_scripting.fr.txt \
|
||||
weechat_faq.fr.txt \
|
||||
weechat_quickstart.fr.txt \
|
||||
weechat_tester.fr.txt \
|
||||
$(wildcard autogen/user/*.txt) \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
weechat_user.fr.txt \
|
||||
weechat_plugin_api.fr.txt \
|
||||
weechat_scripting.fr.txt \
|
||||
weechat_faq.fr.txt \
|
||||
weechat_quickstart.fr.txt \
|
||||
weechat_tester.fr.txt \
|
||||
$(wildcard autogen/user/*.txt) \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
|
||||
all-local: weechat_user.fr.html \
|
||||
weechat_plugin_api.fr.html \
|
||||
|
||||
+6
-6
@@ -17,12 +17,12 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_user.it.txt \
|
||||
weechat_faq.it.txt \
|
||||
weechat_quickstart.it.txt \
|
||||
weechat_tester.it.txt \
|
||||
$(wildcard autogen/user/*.txt) \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
weechat_user.it.txt \
|
||||
weechat_faq.it.txt \
|
||||
weechat_quickstart.it.txt \
|
||||
weechat_tester.it.txt \
|
||||
$(wildcard autogen/user/*.txt) \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
|
||||
all-local: weechat_user.it.html \
|
||||
weechat_faq.it.html \
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_quickstart.ja.txt
|
||||
weechat_quickstart.ja.txt
|
||||
|
||||
all-local: weechat_quickstart.ja.html
|
||||
|
||||
|
||||
+3
-3
@@ -17,9 +17,9 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_faq.pl.txt \
|
||||
weechat_quickstart.pl.txt \
|
||||
weechat_tester.pl.txt
|
||||
weechat_faq.pl.txt \
|
||||
weechat_quickstart.pl.txt \
|
||||
weechat_tester.pl.txt
|
||||
|
||||
all-local: weechat_faq.pl.html \
|
||||
weechat_quickstart.pl.html \
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_quickstart.ru.txt
|
||||
weechat_quickstart.ru.txt
|
||||
|
||||
all-local: weechat_quickstart.ru.html
|
||||
|
||||
|
||||
@@ -224,7 +224,7 @@ config_change_title (void *data, struct t_config_option *option)
|
||||
(void) option;
|
||||
|
||||
if (CONFIG_BOOLEAN(config_look_set_title))
|
||||
gui_window_set_title (PACKAGE_NAME " " PACKAGE_VERSION);
|
||||
gui_window_set_title (PACKAGE_NAME " " PACKAGE_VERSION);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -614,8 +614,8 @@ network_connect_child (struct t_hook *hook_connect)
|
||||
freeaddrinfo (res);
|
||||
return;
|
||||
}
|
||||
|
||||
status_str[0] = '0' + WEECHAT_HOOK_CONNECT_OK;
|
||||
|
||||
status_str[0] = '0' + WEECHAT_HOOK_CONNECT_OK;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
+35
-35
File diff suppressed because it is too large
Load Diff
@@ -449,12 +449,12 @@ gui_filter_free (struct t_gui_filter *filter)
|
||||
if (filter->regex_prefix)
|
||||
{
|
||||
regfree (filter->regex_prefix);
|
||||
free (filter->regex_prefix);
|
||||
free (filter->regex_prefix);
|
||||
}
|
||||
if (filter->regex_message)
|
||||
{
|
||||
regfree (filter->regex_message);
|
||||
free (filter->regex_message);
|
||||
free (filter->regex_message);
|
||||
}
|
||||
|
||||
/* remove filter from filters list */
|
||||
|
||||
+57
-57
File diff suppressed because it is too large
Load Diff
@@ -24,4 +24,4 @@ weechat_wxwidgets_LDADD = ../lib_weechat_gui_common.a \
|
||||
../../plugins/lib_weechat_plugins.a $(PLUGINS_LIBS)
|
||||
|
||||
weechat_wxwidgets_SOURCES = gui-display.c \
|
||||
gui-input.c
|
||||
gui-input.c
|
||||
|
||||
@@ -344,7 +344,7 @@ alias_cb (void *data, struct t_gui_buffer *buffer, int argc, char **argv,
|
||||
return WEECHAT_RC_ERROR;
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
/* an alias can contain many commands separated by ';' */
|
||||
commands = weechat_string_split_command (ptr_alias->command, ';');
|
||||
if (commands)
|
||||
@@ -499,7 +499,7 @@ alias_new (const char *name, const char *command)
|
||||
|
||||
while (name[0] == '/')
|
||||
{
|
||||
name++;
|
||||
name++;
|
||||
}
|
||||
|
||||
ptr_alias = alias_search (name);
|
||||
@@ -530,7 +530,7 @@ alias_new (const char *name, const char *command)
|
||||
new_alias->hook = new_hook;
|
||||
new_alias->name = strdup (name);
|
||||
new_alias->command = strdup (command);
|
||||
new_alias->running = 0;
|
||||
new_alias->running = 0;
|
||||
|
||||
if (alias_list)
|
||||
{
|
||||
|
||||
@@ -73,7 +73,7 @@ fifo_remove_old_pipes ()
|
||||
buf_len = PATH_MAX;
|
||||
buf = malloc (buf_len);
|
||||
if (!buf)
|
||||
return;
|
||||
return;
|
||||
|
||||
weechat_home = weechat_info_get ("weechat_dir", "");
|
||||
dir_separator = weechat_info_get ("dir_separator", "");
|
||||
|
||||
@@ -1912,43 +1912,43 @@ irc_command_list (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
|
||||
if (ptr_server->cmd_list_regexp)
|
||||
{
|
||||
regfree (ptr_server->cmd_list_regexp);
|
||||
free (ptr_server->cmd_list_regexp);
|
||||
ptr_server->cmd_list_regexp = NULL;
|
||||
regfree (ptr_server->cmd_list_regexp);
|
||||
free (ptr_server->cmd_list_regexp);
|
||||
ptr_server->cmd_list_regexp = NULL;
|
||||
}
|
||||
|
||||
if (argc > 1)
|
||||
{
|
||||
ptr_server->cmd_list_regexp = malloc (sizeof (*ptr_server->cmd_list_regexp));
|
||||
if (ptr_server->cmd_list_regexp)
|
||||
{
|
||||
if ((ret = regcomp (ptr_server->cmd_list_regexp,
|
||||
ptr_server->cmd_list_regexp = malloc (sizeof (*ptr_server->cmd_list_regexp));
|
||||
if (ptr_server->cmd_list_regexp)
|
||||
{
|
||||
if ((ret = regcomp (ptr_server->cmd_list_regexp,
|
||||
argv_eol[1],
|
||||
REG_NOSUB | REG_ICASE)) != 0)
|
||||
{
|
||||
regerror (ret, ptr_server->cmd_list_regexp,
|
||||
{
|
||||
regerror (ret, ptr_server->cmd_list_regexp,
|
||||
buf, sizeof(buf));
|
||||
weechat_printf (ptr_server->buffer,
|
||||
weechat_printf (ptr_server->buffer,
|
||||
_("%s%s: \"%s\" is not a valid regular "
|
||||
"expression (%s)"),
|
||||
weechat_prefix ("error"), IRC_PLUGIN_NAME,
|
||||
argv_eol, buf);
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
else
|
||||
irc_server_sendf (ptr_server, 0, "LIST");
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat_printf (ptr_server->buffer,
|
||||
}
|
||||
else
|
||||
irc_server_sendf (ptr_server, 0, "LIST");
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat_printf (ptr_server->buffer,
|
||||
_("%s%s: not enough memory for regular "
|
||||
"expression"),
|
||||
weechat_prefix ("error"), IRC_PLUGIN_NAME);
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
irc_server_sendf (ptr_server, 0, "LIST");
|
||||
irc_server_sendf (ptr_server, 0, "LIST");
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -249,7 +249,7 @@ irc_ignore_free (struct t_irc_ignore *ignore)
|
||||
if (ignore->regex_mask)
|
||||
{
|
||||
regfree (ignore->regex_mask);
|
||||
free (ignore->regex_mask);
|
||||
free (ignore->regex_mask);
|
||||
}
|
||||
if (ignore->server)
|
||||
free (ignore->server);
|
||||
|
||||
@@ -1595,11 +1595,11 @@ irc_protocol_cmd_001 (struct t_irc_server *server, const char *command,
|
||||
ptr_command = IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_COMMAND);
|
||||
if (ptr_command && ptr_command[0])
|
||||
{
|
||||
/* splitting command on ';' which can be escaped with '\;' */
|
||||
commands = weechat_string_split_command (ptr_command, ';');
|
||||
if (commands)
|
||||
{
|
||||
for (ptr_cmd = commands; *ptr_cmd; ptr_cmd++)
|
||||
/* splitting command on ';' which can be escaped with '\;' */
|
||||
commands = weechat_string_split_command (ptr_command, ';');
|
||||
if (commands)
|
||||
{
|
||||
for (ptr_cmd = commands; *ptr_cmd; ptr_cmd++)
|
||||
{
|
||||
vars_replaced = irc_protocol_replace_vars (server, NULL,
|
||||
*ptr_cmd);
|
||||
@@ -1608,10 +1608,10 @@ irc_protocol_cmd_001 (struct t_irc_server *server, const char *command,
|
||||
if (vars_replaced)
|
||||
free (vars_replaced);
|
||||
}
|
||||
weechat_string_free_split_command (commands);
|
||||
}
|
||||
|
||||
if (IRC_SERVER_OPTION_INTEGER(server, IRC_SERVER_OPTION_COMMAND_DELAY) > 0)
|
||||
weechat_string_free_split_command (commands);
|
||||
}
|
||||
|
||||
if (IRC_SERVER_OPTION_INTEGER(server, IRC_SERVER_OPTION_COMMAND_DELAY) > 0)
|
||||
server->command_time = time (NULL) + 1;
|
||||
else
|
||||
irc_server_autojoin_channels (server);
|
||||
|
||||
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
@@ -481,7 +481,7 @@ xfer_network_connect (struct t_xfer *xfer)
|
||||
{
|
||||
/* listen to socket */
|
||||
if (fcntl (xfer->sock, F_SETFL, O_NONBLOCK) == -1)
|
||||
return 0;
|
||||
return 0;
|
||||
if (listen (xfer->sock, 1) == -1)
|
||||
return 0;
|
||||
if (fcntl (xfer->sock, F_SETFL, 0) == -1)
|
||||
|
||||
Reference in New Issue
Block a user