1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-16 21:35:24 +00:00

Rename command sources

This commit is contained in:
James Booth 2016-05-22 23:59:52 +01:00
parent cd15a27153
commit fb34785566
30 changed files with 44 additions and 43 deletions

View File

@ -30,9 +30,9 @@ core_sources = \
src/ui/privwin.c \
src/ui/mucconfwin.c \
src/ui/xmlwin.c \
src/command/command.h src/command/command.c \
src/command/commands.h src/command/commands.c \
src/command/cmd_autocomplete.h src/command/cmd_autocomplete.c \
src/command/cmd_defs.h src/command/cmd_defs.c \
src/command/cmd_funcs.h src/command/cmd_funcs.c \
src/command/cmd_ac.h src/command/cmd_ac.c \
src/tools/parser.c \
src/tools/parser.h \
src/tools/http_upload.c \
@ -68,9 +68,9 @@ unittest_sources = \
src/ui/ui.h \
src/otr/otr.h \
src/pgp/gpg.h \
src/command/command.h src/command/command.c \
src/command/commands.h src/command/commands.c \
src/command/cmd_autocomplete.h src/command/cmd_autocomplete.c \
src/command/cmd_defs.h src/command/cmd_defs.c \
src/command/cmd_funcs.h src/command/cmd_funcs.c \
src/command/cmd_ac.h src/command/cmd_ac.c \
src/tools/parser.c \
src/tools/parser.h \
src/tools/p_sha1.h src/tools/p_sha1.c \

View File

@ -38,11 +38,12 @@
#include <string.h>
#include <assert.h>
#include <libgen.h>
#include <dirent.h>
#include "common.h"
#include "tools/parser.h"
#include "ui/win_types.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#include "config/preferences.h"
#include "config/scripts.h"
#include "muc.h"
@ -50,7 +51,7 @@
#include "roster_list.h"
#include "window_list.h"
#include "plugins/plugins.h"
#include "command/cmd_autocomplete.h"
#include "command/cmd_ac.h"
#ifdef HAVE_LIBGPGME
#include "pgp/gpg.h"

View File

@ -33,7 +33,7 @@
*/
#include "config/preferences.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
void cmd_ac_init(void);
void cmd_ac_uninit(void);

View File

@ -49,9 +49,9 @@
#include <glib.h>
#include "chat_session.h"
#include "command/command.h"
#include "command/commands.h"
#include "command/cmd_autocomplete.h"
#include "command/cmd_defs.h"
#include "command/cmd_funcs.h"
#include "command/cmd_ac.h"
#include "common.h"
#include "config/accounts.h"
#include "config/preferences.h"

View File

@ -50,9 +50,9 @@
#include <ctype.h>
#include "chat_session.h"
#include "command/commands.h"
#include "command/command.h"
#include "command/cmd_autocomplete.h"
#include "command/cmd_funcs.h"
#include "command/cmd_defs.h"
#include "command/cmd_ac.h"
#include "common.h"
#include "config/accounts.h"
#include "config/account.h"

View File

@ -43,7 +43,7 @@
#include "common.h"
#include "log.h"
#include "window_list.h"
#include "command/command.h"
#include "command/cmd_defs.h"
#include "ui/ui.h"
#include "xmpp/xmpp.h"

View File

@ -43,7 +43,7 @@
#include "profanity.h"
#include "common.h"
#include "command/command.h"
#include "command/cmd_defs.h"
static gboolean version = FALSE;
static char *log = "INFO";

View File

@ -49,7 +49,7 @@
#include "profanity.h"
#include "ui/ui.h"
#include "config/theme.h"
#include "command/command.h"
#include "command/cmd_defs.h"
#include "window_list.h"
#include "common.h"

View File

@ -35,8 +35,8 @@
#include <string.h>
#include <stdlib.h>
#include "command/command.h"
#include "command/cmd_autocomplete.h"
#include "command/cmd_defs.h"
#include "command/cmd_ac.h"
#include "plugins/callbacks.h"
#include "plugins/plugins.h"
#include "tools/autocomplete.h"

View File

@ -37,7 +37,7 @@
#include <glib.h>
#include "command/command.h"
#include "command/cmd_defs.h"
typedef struct p_command {
const char *command_name;

View File

@ -35,7 +35,7 @@
#ifndef PLUGINS_H
#define PLUGINS_H
#include "command/command.h"
#include "command/cmd_defs.h"
typedef enum {
LANG_PYTHON,

View File

@ -55,7 +55,7 @@
#include "config/preferences.h"
#include "config/theme.h"
#include "config/scripts.h"
#include "command/command.h"
#include "command/cmd_defs.h"
#include "common.h"
#include "contact.h"
#include "roster_list.h"

View File

@ -43,7 +43,7 @@
#include <ncurses.h>
#endif
#include "command/command.h"
#include "command/cmd_defs.h"
#include "common.h"
#include "log.h"
#include "muc.h"

View File

@ -55,8 +55,8 @@
#endif
#include "chat_session.h"
#include "command/command.h"
#include "command/cmd_autocomplete.h"
#include "command/cmd_defs.h"
#include "command/cmd_ac.h"
#include "common.h"
#include "config/preferences.h"
#include "config/theme.h"

View File

@ -53,7 +53,7 @@
#include <ncurses.h>
#endif
#include "command/cmd_autocomplete.h"
#include "command/cmd_ac.h"
#include "common.h"
#include "config/accounts.h"
#include "config/preferences.h"

View File

@ -37,7 +37,7 @@
#include "config.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#include "ui/win_types.h"
#include "muc.h"
#include "config/tlscerts.h"

View File

@ -13,7 +13,7 @@
#include "config/accounts.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#define CMD_ACCOUNT "/account"

View File

@ -13,9 +13,9 @@
#include "config/preferences.h"
#include "command/command.h"
#include "command/commands.h"
#include "command/cmd_autocomplete.h"
#include "command/cmd_defs.h"
#include "command/cmd_funcs.h"
#include "command/cmd_ac.h"
#define CMD_ALIAS "/alias"

View File

@ -14,7 +14,7 @@
#include "muc.h"
#include "common.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#include "xmpp/bookmark.h"

View File

@ -11,7 +11,7 @@
#include "ui/ui.h"
#include "ui/stub_ui.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#include "config/accounts.h"
#define CMD_CONNECT "/connect"

View File

@ -6,7 +6,7 @@
#include <string.h>
#include "chat_session.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#include "xmpp/xmpp.h"
#include "roster_list.h"

View File

@ -13,7 +13,7 @@
#include "config/accounts.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#include "muc.h"
#define CMD_JOIN "/join"

View File

@ -15,8 +15,8 @@
#include "config/preferences.h"
#include "command/command.h"
#include "command/commands.h"
#include "command/cmd_defs.h"
#include "command/cmd_funcs.h"
#include "window_list.h"
#include "xmpp/xmpp.h"

View File

@ -8,7 +8,7 @@
#include "config.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#include "xmpp/xmpp.h"
#include "ui/stub_ui.h"

View File

@ -12,7 +12,7 @@
#include "ui/stub_ui.h"
#include "config/accounts.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#define CMD_ROOMS "/rooms"

View File

@ -11,7 +11,7 @@
#include "xmpp/xmpp.h"
#include "roster_list.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#define CMD_ROSTER "/roster"

View File

@ -11,7 +11,7 @@
#include "ui/ui.h"
#include "ui/stub_ui.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#define CMD_STATUSES "/statuses"

View File

@ -11,7 +11,7 @@
#include "ui/ui.h"
#include "ui/stub_ui.h"
#include "command/commands.h"
#include "command/cmd_funcs.h"
#define CMD_SUB "/sub"