A lot more rebranding

This commit is contained in:
Berke Viktor 2012-10-24 21:33:02 +02:00
parent 6d356a5e51
commit 1a75c8e1be
108 changed files with 238 additions and 238 deletions

View File

@ -3,7 +3,7 @@ EXTRA_DIST = plugin20.html Make.plugin plugin-conf.in \
xdcc/xdcc.c \ xdcc/xdcc.c \
xdcc/Makefile.am xdcc/Makefile.am
noinst_HEADERS = xchat-plugin.h noinst_HEADERS = hexchat-plugin.h
if DO_PYTHON if DO_PYTHON
pythondir = python pythondir = python

View File

@ -46,7 +46,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#define BUFSIZE 32768 #define BUFSIZE 32768
#define DEFAULT_LIMIT 256 /* default size is 256 MiB */ #define DEFAULT_LIMIT 256 /* default size is 256 MiB */

View File

@ -43,7 +43,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#endif #endif
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include "thread.h" #include "thread.h"
#define HELP "Usage: DNS <nickname|hostname|numerical address>\n" #define HELP "Usage: DNS <nickname|hostname|numerical address>\n"

View File

@ -8,7 +8,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
static xchat_plugin *ph; static xchat_plugin *ph;

View File

@ -17,8 +17,8 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "xchat-plugin.h"
#include <windows.h> #include <windows.h>
#include "hexchat-plugin.h"
static xchat_plugin *ph; /* plugin handle */ static xchat_plugin *ph; /* plugin handle */
static int enable = 1; static int enable = 1;

View File

@ -23,7 +23,7 @@
#include <windows.h> #include <windows.h>
#include <time.h> #include <time.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
static xchat_plugin *ph; /* plugin handle */ static xchat_plugin *ph; /* plugin handle */
static const char name[] = "Exec"; static const char name[] = "Exec";

View File

@ -3,7 +3,7 @@ EXTRA_DIST = INSTALL LICENSE README
libdir = $(hexchatlibdir)/plugins libdir = $(hexchatlibdir)/plugins
lib_LTLIBRARIES = fishlim.la lib_LTLIBRARIES = fishlim.la
fishlim_la_SOURCES = fish.c irc.c keystore.c misc.c plugin_xchat.c fishlim_la_SOURCES = fish.c irc.c keystore.c misc.c plugin_hexchat.c
fishlim_la_LDFLAGS = -avoid-version -module fishlim_la_LDFLAGS = -avoid-version -module
fishlim_la_LIBADD = fishlim_la_LIBADD =
AM_CPPFLAGS = $(COMMON_CFLAGS) -I$(srcdir)/.. AM_CPPFLAGS = $(COMMON_CFLAGS) -I$(srcdir)/..

View File

@ -106,14 +106,14 @@
<ClInclude Include="irc.h" /> <ClInclude Include="irc.h" />
<ClInclude Include="keystore.h" /> <ClInclude Include="keystore.h" />
<ClInclude Include="misc.h" /> <ClInclude Include="misc.h" />
<ClInclude Include="plugin_xchat.h" /> <ClInclude Include="plugin_hexchat.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="fish.c" /> <ClCompile Include="fish.c" />
<ClCompile Include="irc.c" /> <ClCompile Include="irc.c" />
<ClCompile Include="keystore.c" /> <ClCompile Include="keystore.c" />
<ClCompile Include="misc.c" /> <ClCompile Include="misc.c" />
<ClCompile Include="plugin_xchat.c" /> <ClCompile Include="plugin_hexchat.c" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">

View File

@ -35,7 +35,7 @@
<ClInclude Include="misc.h"> <ClInclude Include="misc.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="plugin_xchat.h"> <ClInclude Include="plugin_hexchat.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>
@ -52,7 +52,7 @@
<ClCompile Include="misc.c"> <ClCompile Include="misc.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="plugin_xchat.c"> <ClCompile Include="plugin_hexchat.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>

View File

@ -103,14 +103,14 @@
<ClInclude Include="irc.h" /> <ClInclude Include="irc.h" />
<ClInclude Include="keystore.h" /> <ClInclude Include="keystore.h" />
<ClInclude Include="misc.h" /> <ClInclude Include="misc.h" />
<ClInclude Include="plugin_xchat.h" /> <ClInclude Include="plugin_hexchat.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="fish.c" /> <ClCompile Include="fish.c" />
<ClCompile Include="irc.c" /> <ClCompile Include="irc.c" />
<ClCompile Include="keystore.c" /> <ClCompile Include="keystore.c" />
<ClCompile Include="misc.c" /> <ClCompile Include="misc.c" />
<ClCompile Include="plugin_xchat.c" /> <ClCompile Include="plugin_hexchat.c" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">

View File

@ -35,7 +35,7 @@
<ClInclude Include="misc.h"> <ClInclude Include="misc.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="plugin_xchat.h"> <ClInclude Include="plugin_hexchat.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>
@ -52,7 +52,7 @@
<ClCompile Include="misc.c"> <ClCompile Include="misc.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="plugin_xchat.c"> <ClCompile Include="plugin_hexchat.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>

View File

@ -29,7 +29,7 @@
#include "fish.h" #include "fish.h"
#include "misc.h" #include "misc.h"
#include "keystore.h" #include "keystore.h"
#include "plugin_xchat.h" #include "plugin_hexchat.h"
static char *keystore_password = NULL; static char *keystore_password = NULL;

View File

@ -27,7 +27,7 @@
#include <string.h> #include <string.h>
// #pragma GCC visibility push(default) // #pragma GCC visibility push(default)
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#define XCHAT_MAX_WORDS 32 #define XCHAT_MAX_WORDS 32
// #pragma GCC visibility pop // #pragma GCC visibility pop

View File

@ -22,8 +22,8 @@
*/ */
#ifndef XCHAT_PLUGIN_H #ifndef PLUGIN_HEXCHAT_H
#define XCHAT_PLUGIN_H #define PLUGIN_HEXCHAT_H
gchar *get_config_filename(); gchar *get_config_filename();

View File

@ -22,7 +22,7 @@
#include <windows.h> #include <windows.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
static xchat_plugin *ph; /* plugin handle */ static xchat_plugin *ph; /* plugin handle */

View File

@ -1,6 +1,6 @@
/* You can distribute this header with your plugins for easy compilation */ /* You can distribute this header with your plugins for easy compilation */
#ifndef XCHAT_PLUGIN_H #ifndef HEXCHAT_PLUGIN_H
#define XCHAT_PLUGIN_H #define HEXCHAT_PLUGIN_H
#include <time.h> #include <time.h>

View File

@ -23,10 +23,10 @@
#include <commctrl.h> #include <commctrl.h>
#include <tchar.h> #include <tchar.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include "utility.h" #include "utility.h"
#include "xtray.h" #include "hextray.h"
#include "xchat.h" #include "hexchat.h"
#include "callbacks.h" #include "callbacks.h"
#include "resource.h" #include "resource.h"
#include "sdTray.h" #include "sdTray.h"
@ -45,7 +45,7 @@ BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam)
TCHAR szTitle[10]; TCHAR szTitle[10];
GetWindowText(hWnd, szTitle, 9); GetWindowText(hWnd, szTitle, 9);
if(_tcsstr(szTitle, _T("XChat ["))) if(_tcsstr(szTitle, _T("HexChat [")))
{ {
g_hXchatWnd = hWnd; g_hXchatWnd = hWnd;
return false; return false;

View File

@ -22,10 +22,10 @@
#include <stdio.h> #include <stdio.h>
#include <tchar.h> #include <tchar.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include "xtray.h" #include "hextray.h"
#include "resource.h" #include "resource.h"
#include "xchat.h" #include "hexchat.h"
#include "utility.h" #include "utility.h"
// from util.c of xchat source code ( slightly modified to fit X-Tray Syntax ) // from util.c of xchat source code ( slightly modified to fit X-Tray Syntax )

View File

@ -69,7 +69,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding> <EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences> <OptimizeReferences>true</OptimizeReferences>
<ModuleDefinitionFile>xtray.def</ModuleDefinitionFile> <ModuleDefinitionFile>hextray.def</ModuleDefinitionFile>
<AdditionalDependencies>ntstc_msvcrt.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>ntstc_msvcrt.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
@ -89,7 +89,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding> <EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences> <OptimizeReferences>true</OptimizeReferences>
<ModuleDefinitionFile>xtray.def</ModuleDefinitionFile> <ModuleDefinitionFile>hextray.def</ModuleDefinitionFile>
<AdditionalDependencies>ntstc_msvcrt.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>ntstc_msvcrt.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
@ -103,7 +103,7 @@
<None Include="icons\sd.ico" /> <None Include="icons\sd.ico" />
<None Include="icons\notice.ico" /> <None Include="icons\notice.ico" />
<None Include="icons\hexchat.ico" /> <None Include="icons\hexchat.ico" />
<None Include="xtray.def" /> <None Include="hextray.def" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ResourceCompile Include="resource.rc" /> <ResourceCompile Include="resource.rc" />
@ -113,8 +113,8 @@
<ClCompile Include="sdAlerts.cpp" /> <ClCompile Include="sdAlerts.cpp" />
<ClCompile Include="sdTray.cpp" /> <ClCompile Include="sdTray.cpp" />
<ClCompile Include="utility.cpp" /> <ClCompile Include="utility.cpp" />
<ClCompile Include="xchat.cpp" /> <ClCompile Include="hexchat.cpp" />
<ClCompile Include="xtray.cpp" /> <ClCompile Include="hextray.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="callbacks.h" /> <ClInclude Include="callbacks.h" />
@ -122,8 +122,8 @@
<ClInclude Include="sdAlerts.h" /> <ClInclude Include="sdAlerts.h" />
<ClInclude Include="sdTray.h" /> <ClInclude Include="sdTray.h" />
<ClInclude Include="utility.h" /> <ClInclude Include="utility.h" />
<ClInclude Include="xchat.h" /> <ClInclude Include="hexchat.h" />
<ClInclude Include="xtray.h" /> <ClInclude Include="hextray.h" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">

View File

@ -21,7 +21,7 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="xtray.def"> <None Include="hextray.def">
<Filter>Resource Files</Filter> <Filter>Resource Files</Filter>
</None> </None>
<None Include="bitmaps\sd.bmp"> <None Include="bitmaps\sd.bmp">
@ -70,10 +70,10 @@
<ClCompile Include="utility.cpp"> <ClCompile Include="utility.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="xchat.cpp"> <ClCompile Include="hexchat.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="xtray.cpp"> <ClCompile Include="hextray.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
@ -93,10 +93,10 @@
<ClInclude Include="utility.h"> <ClInclude Include="utility.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xchat.h"> <ClInclude Include="hexchat.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xtray.h"> <ClInclude Include="hextray.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>

View File

@ -23,11 +23,11 @@
#include <string> #include <string>
#include <shobjidl.h> #include <shobjidl.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include "resource.h" #include "resource.h"
#include "callbacks.h" #include "callbacks.h"
#include "utility.h" #include "utility.h"
#include "xtray.h" #include "hextray.h"
#include "sdTray.h" #include "sdTray.h"
#include "sdAlerts.h" #include "sdAlerts.h"

View File

@ -66,7 +66,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding> <EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences> <OptimizeReferences>true</OptimizeReferences>
<ModuleDefinitionFile>xtray.def</ModuleDefinitionFile> <ModuleDefinitionFile>hextray.def</ModuleDefinitionFile>
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -85,7 +85,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding> <EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences> <OptimizeReferences>true</OptimizeReferences>
<ModuleDefinitionFile>xtray.def</ModuleDefinitionFile> <ModuleDefinitionFile>hextray.def</ModuleDefinitionFile>
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
@ -98,7 +98,7 @@
<None Include="icons\sd.ico" /> <None Include="icons\sd.ico" />
<None Include="icons\notice.ico" /> <None Include="icons\notice.ico" />
<None Include="icons\hexchat.ico" /> <None Include="icons\hexchat.ico" />
<None Include="xtray.def" /> <None Include="hextray.def" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ResourceCompile Include="resource.rc" /> <ResourceCompile Include="resource.rc" />
@ -108,8 +108,8 @@
<ClCompile Include="sdAlerts.cpp" /> <ClCompile Include="sdAlerts.cpp" />
<ClCompile Include="sdTray.cpp" /> <ClCompile Include="sdTray.cpp" />
<ClCompile Include="utility.cpp" /> <ClCompile Include="utility.cpp" />
<ClCompile Include="xchat.cpp" /> <ClCompile Include="hexchat.cpp" />
<ClCompile Include="xtray.cpp" /> <ClCompile Include="hextray.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="callbacks.h" /> <ClInclude Include="callbacks.h" />
@ -117,8 +117,8 @@
<ClInclude Include="sdAlerts.h" /> <ClInclude Include="sdAlerts.h" />
<ClInclude Include="sdTray.h" /> <ClInclude Include="sdTray.h" />
<ClInclude Include="utility.h" /> <ClInclude Include="utility.h" />
<ClInclude Include="xchat.h" /> <ClInclude Include="hexchat.h" />
<ClInclude Include="xtray.h" /> <ClInclude Include="hextray.h" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">

View File

@ -21,7 +21,7 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="xtray.def"> <None Include="hextray.def">
<Filter>Resource Files</Filter> <Filter>Resource Files</Filter>
</None> </None>
<None Include="bitmaps\sd.bmp"> <None Include="bitmaps\sd.bmp">
@ -70,10 +70,10 @@
<ClCompile Include="utility.cpp"> <ClCompile Include="utility.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="xchat.cpp"> <ClCompile Include="hexchat.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="xtray.cpp"> <ClCompile Include="hextray.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
@ -93,10 +93,10 @@
<ClInclude Include="utility.h"> <ClInclude Include="utility.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xchat.h"> <ClInclude Include="hexchat.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xtray.h"> <ClInclude Include="hextray.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>

View File

@ -201,7 +201,7 @@ END
3 TEXTINCLUDE 3 TEXTINCLUDE
BEGIN BEGIN
"xtray.h\0" "hextray.h\0"
END END
4 TEXTINCLUDE 4 TEXTINCLUDE
@ -303,7 +303,7 @@ IDB_SD_LOGO BITMAP "bitmaps\\sd.bmp"
// //
// Generated from the TEXTINCLUDE 3 resource. // Generated from the TEXTINCLUDE 3 resource.
// //
xtray.h hextray.h
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED #endif // not APSTUDIO_INVOKED

View File

@ -21,9 +21,9 @@
#include <commctrl.h> #include <commctrl.h>
#include <tchar.h> #include <tchar.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include "utility.h" #include "utility.h"
#include "xtray.h" #include "hextray.h"
#include "callbacks.h" #include "callbacks.h"
#include "resource.h" #include "resource.h"

View File

@ -65,7 +65,7 @@
#define lua_pop(L,n) lua_settop(L, -(n)-1) #define lua_pop(L,n) lua_settop(L, -(n)-1)
#include "xchat-plugin.h" #include "hexchat-plugin.h"
static xchat_plugin *ph; /* plugin handle */ static xchat_plugin *ph; /* plugin handle */

View File

@ -7,7 +7,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
static xchat_plugin *ph; /* plugin handle */ static xchat_plugin *ph; /* plugin handle */

View File

@ -23,7 +23,7 @@ static char *VERSION="0.0.6";
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include <math.h> #include <math.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
static xchat_plugin *ph; static xchat_plugin *ph;
#include "functions.c" #include "functions.c"

View File

@ -33,7 +33,7 @@
#undef PACKAGE #undef PACKAGE
#include "../../config.h" /* for #define OLD_PERL */ #include "../../config.h" /* for #define OLD_PERL */
#include "xchat-plugin.h" #include "hexchat-plugin.h"
static xchat_plugin *ph; /* plugin handle */ static xchat_plugin *ph; /* plugin handle */

View File

@ -1,12 +1,12 @@
AC_INIT(@PLUGIN@-config.h.in) AC_INIT(@PLUGIN@-config.h.in)
AM_CONFIG_HEADER(@PLUGIN@-config.h) AM_CONFIG_HEADER(@PLUGIN@-config.h)
AM_INIT_AUTOMAKE(xchat-@PLUGIN@, @PLUGIN_VERSION@) AM_INIT_AUTOMAKE(hexchat-@PLUGIN@, @PLUGIN_VERSION@)
AM_MAINTAINER_MODE AM_MAINTAINER_MODE
AM_DISABLE_STATIC AM_DISABLE_STATIC
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
AC_ARG_WITH(plugin-includes, AC_ARG_WITH(plugin-includes,
[ --with-plugin-includes directory containing xchat-plugin.h], [ --with-plugin-includes directory containing hexchat-plugin.h],
PLUGIN_INCLUDES=$enableval) PLUGIN_INCLUDES=$enableval)
AC_SUBST(PLUGIN_INCLUDES) AC_SUBST(PLUGIN_INCLUDES)

View File

@ -101,12 +101,12 @@ margin-right: 32px;
</blockquote><br> </blockquote><br>
<h3><a name=intro>Introduction</a></h3> <h3><a name=intro>Introduction</a></h3>
Plugins for XChat are written in C. The interface aims to keep 100% Plugins for HexChat are written in C. The interface aims to keep 100%
binary compatability. This means that if you upgrade XChat, you will binary compatability. This means that if you upgrade HexChat, you will
not need to recompile your plugins, they'll continue to work. The not need to recompile your plugins, they'll continue to work. The
interface doesn't depend on any structures and offsets, so compiler interface doesn't depend on any structures and offsets, so compiler
versions shouldn't have an impact either. The only real requirement of versions shouldn't have an impact either. The only real requirement of
an XChat plugin, is that it define a "xchat_plugin_init" symbol. This an HexChat plugin, is that it define a "xchat_plugin_init" symbol. This
is your entry point function, see the example below. You should make is your entry point function, see the example below. You should make
all your global variables and functions <i>static</i>, so that a symbol all your global variables and functions <i>static</i>, so that a symbol
is not exported. There is no harm in exporting these symbols, but they is not exported. There is no harm in exporting these symbols, but they
@ -130,7 +130,7 @@ of locale. <a href="#unicode">What does this mean</a>?
<h3><a name=sample>Sample plugin</a></h3> <h3><a name=sample>Sample plugin</a></h3>
This simple plugin autoOps anyone who joins a channel you're in. It also This simple plugin autoOps anyone who joins a channel you're in. It also
adds a new command /AUTOOPTOGGLE, which can be used to turn the feature ON adds a new command /AUTOOPTOGGLE, which can be used to turn the feature ON
or OFF. Every XChat plugin must define an xchat_plugin_init function, this or OFF. Every HexChat plugin must define an xchat_plugin_init function, this
is the normal entry point. xchat_plugin_deinit is optional. is the normal entry point. xchat_plugin_deinit is optional.
<br> <br>
<div style="color: #ffffff; background-color: #111199;"> <div style="color: #ffffff; background-color: #111199;">
@ -142,7 +142,7 @@ is the normal entry point. xchat_plugin_deinit is optional.
<font color="#00ff00">#define PDESC </font><font color="#00ffff">&quot;Auto Ops anyone that joins&quot;</font> <font color="#00ff00">#define PDESC </font><font color="#00ffff">&quot;Auto Ops anyone that joins&quot;</font>
<font color="#00ff00">#define PVERSION </font><font color="#00ffff">&quot;0.1&quot;</font> <font color="#00ff00">#define PVERSION </font><font color="#00ffff">&quot;0.1&quot;</font>
<font color="#ffa500"><b>static</b></font> xchat_plugin *ph; <font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> plugin handle </b></font><font color="#bebebe"><b>*/</b></font> <font color="#ffa500"><b>static</b></font> hexchat_plugin *ph; <font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> plugin handle </b></font><font color="#bebebe"><b>*/</b></font>
<font color="#ffa500"><b>static</b></font> <font color="#ffa500"><b>int</b></font> enable = <font color="#00ffff">1</font>; <font color="#ffa500"><b>static</b></font> <font color="#ffa500"><b>int</b></font> enable = <font color="#00ffff">1</font>;
<font color="#ffa500"><b>static</b></font> <font color="#ffa500"><b>int</b></font> join_cb(<font color="#ffa500"><b>char</b></font> *word[], <font color="#ffa500"><b>void</b></font> *userdata) <font color="#ffa500"><b>static</b></font> <font color="#ffa500"><b>int</b></font> join_cb(<font color="#ffa500"><b>char</b></font> *word[], <font color="#ffa500"><b>void</b></font> *userdata)
@ -152,7 +152,7 @@ is the normal entry point. xchat_plugin_deinit is optional.
xchat_commandf(ph, <font color="#00ffff">&quot;OP </font><font color="#ff00ff">%s</font><font color="#00ffff">&quot;</font>, word[<font color="#00ffff">1</font>]); xchat_commandf(ph, <font color="#00ffff">&quot;OP </font><font color="#ff00ff">%s</font><font color="#00ffff">&quot;</font>, word[<font color="#00ffff">1</font>]);
<font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> word[1] is the nickname, as in the Settings-&gt;Advanced-&gt;TextEvents window in xchat </b></font><font color="#bebebe"><b>*/</b></font> <font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> word[1] is the nickname, as in the Settings-&gt;Advanced-&gt;TextEvents window in xchat </b></font><font color="#bebebe"><b>*/</b></font>
<font color="#ffff00">return</font> XCHAT_EAT_NONE; <font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> don't eat this event, xchat needs to see it! </b></font><font color="#bebebe"><b>*/</b></font> <font color="#ffff00">return</font> XCHAT_EAT_NONE; <font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> don't eat this event, HexChat needs to see it! </b></font><font color="#bebebe"><b>*/</b></font>
} }
<font color="#ffa500"><b>static</b></font> <font color="#ffa500"><b>int</b></font> autooptoggle_cb(<font color="#ffa500"><b>char</b></font> *word[], <font color="#ffa500"><b>char</b></font> *word_eol[], <font color="#ffa500"><b>void</b></font> *userdata) <font color="#ffa500"><b>static</b></font> <font color="#ffa500"><b>int</b></font> autooptoggle_cb(<font color="#ffa500"><b>char</b></font> *word[], <font color="#ffa500"><b>char</b></font> *word_eol[], <font color="#ffa500"><b>void</b></font> *userdata)
@ -167,7 +167,7 @@ is the normal entry point. xchat_plugin_deinit is optional.
xchat_print(ph, <font color="#00ffff">&quot;AutoOping now disabled!</font><font color="#ff00ff">\n</font><font color="#00ffff">&quot;</font>); xchat_print(ph, <font color="#00ffff">&quot;AutoOping now disabled!</font><font color="#ff00ff">\n</font><font color="#00ffff">&quot;</font>);
} }
<font color="#ffff00">return</font> XCHAT_EAT_ALL; <font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> eat this command so xchat and other plugins can't process it </b></font><font color="#bebebe"><b>*/</b></font> <font color="#ffff00">return</font> XCHAT_EAT_ALL; <font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> eat this command so HexChat and other plugins can't process it </b></font><font color="#bebebe"><b>*/</b></font>
} }
<font color="#ffa500"><b>void</b></font> xchat_plugin_get_info(<font color="#ffa500"><b>char</b></font> **name, <font color="#ffa500"><b>char</b></font> **desc, <font color="#ffa500"><b>char</b></font> **version, <font color="#ffa500"><b>void</b></font> **reserved) <font color="#ffa500"><b>void</b></font> xchat_plugin_get_info(<font color="#ffa500"><b>char</b></font> **name, <font color="#ffa500"><b>char</b></font> **desc, <font color="#ffa500"><b>char</b></font> **version, <font color="#ffa500"><b>void</b></font> **reserved)
@ -186,7 +186,7 @@ is the normal entry point. xchat_plugin_deinit is optional.
<font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> we need to save this for use with any xchat_* functions </b></font><font color="#bebebe"><b>*/</b></font> <font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> we need to save this for use with any xchat_* functions </b></font><font color="#bebebe"><b>*/</b></font>
ph = plugin_handle; ph = plugin_handle;
<font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> tell xchat our info </b></font><font color="#bebebe"><b>*/</b></font> <font color="#bebebe"><b>/*</b></font><font color="#bebebe"><b> tell HexChat our info </b></font><font color="#bebebe"><b>*/</b></font>
*plugin_name = PNAME; *plugin_name = PNAME;
*plugin_desc = PDESC; *plugin_desc = PDESC;
*plugin_version = PVERSION; *plugin_version = PVERSION;
@ -358,7 +358,7 @@ Yes, it can be done. All you need is either
Simply compile your plugin as a DLL. You should have the following files: Simply compile your plugin as a DLL. You should have the following files:
<ul> <ul>
<li><a href="http://xchat.org/docs/xchat-plugin.h">xchat-plugin.h</a> - Main Plugin header</li> <li><a href="https://github.com/hexchat/hexchat/blob/master/plugins/hexchat-plugin.h">hexchat-plugin.h</a> - Main Plugin header</li>
<li>plugin.c - Your plugin, you need to write this one :)</li> <li>plugin.c - Your plugin, you need to write this one :)</li>
<li>plugin.def - A simple text file containing the following:</li> <li>plugin.def - A simple text file containing the following:</li>
</ul> </ul>
@ -395,16 +395,16 @@ xchat_command(ph, "GUI .....");.
</p> </p>
<blockquote> <blockquote>
<table border=0 cellpadding=4> <table border=0 cellpadding=4>
<tr><td>GUI ATTACH</td><td>Same function as "Attach Window" in the XChat menu (new for 2.6.2).</td></tr> <tr><td>GUI ATTACH</td><td>Same function as "Attach Window" in the HexChat menu (new for 2.6.2).</td></tr>
<tr><td>GUI DETACH</td><td>Same function as "Detach Tab" in the XChat menu (new for 2.6.2).</td></tr> <tr><td>GUI DETACH</td><td>Same function as "Detach Tab" in the HexChat menu (new for 2.6.2).</td></tr>
<tr><td>GUI APPLY</td><td>Similar to clicking OK in the settings window. Execute this after /SET to activate GUI changes (new for 2.8.0)</td></tr> <tr><td>GUI APPLY</td><td>Similar to clicking OK in the settings window. Execute this after /SET to activate GUI changes (new for 2.8.0)</td></tr>
<tr><td>GUI COLOR <i>n</i></td><td>Change the tab color of the current context, where n is a number from 0 to 3.</td></tr> <tr><td>GUI COLOR <i>n</i></td><td>Change the tab color of the current context, where n is a number from 0 to 3.</td></tr>
<tr><td>GUI FOCUS</td><td>Focus the current window or tab.</td></tr> <tr><td>GUI FOCUS</td><td>Focus the current window or tab.</td></tr>
<tr><td>GUI FLASH</td><td>Flash the taskbar button. It will flash only if the window isn't focused and will stop when it is focused by the user.</td></tr> <tr><td>GUI FLASH</td><td>Flash the taskbar button. It will flash only if the window isn't focused and will stop when it is focused by the user.</td></tr>
<tr><td>GUI HIDE</td><td>Hide the main xchat window completely (this is used by the Systray plugin).</td></tr> <tr><td>GUI HIDE</td><td>Hide the main HexChat window completely (this is used by the Systray plugin).</td></tr>
<tr><td>GUI ICONIFY</td><td>Iconify (minimize to taskbar) the current xchat window.</td></tr> <tr><td>GUI ICONIFY</td><td>Iconify (minimize to taskbar) the current HexChat window.</td></tr>
<tr><td>GUI MSGBOX <i>text</i></td><td>Displays a asynchronous message box with your text (new for 2.4.5).</td></tr> <tr><td>GUI MSGBOX <i>text</i></td><td>Displays a asynchronous message box with your text (new for 2.4.5).</td></tr>
<tr><td>GUI SHOW</td><td>Show the main xchat window (if currently hidden).</td></tr> <tr><td>GUI SHOW</td><td>Show the main HexChat window (if currently hidden).</td></tr>
</table> </table>
</blockquote> </blockquote>
<p> <p>
@ -439,11 +439,11 @@ Parameters and flags:
If you want to change an item's toggle state or enabled flag, If you want to change an item's toggle state or enabled flag,
just ADD an item with exactly the same name and command and specify the -tX -eX parameters you need. just ADD an item with exactly the same name and command and specify the -tX -eX parameters you need.
<br><br>It's also possible to add items to XChat's existing menus, for example:<br> <br><br>It's also possible to add items to HexChat's existing menus, for example:<br>
<pre> MENU ADD "Settings/Sub Menu" <pre> MENU ADD "Settings/Sub Menu"
MENU -t0 ADD "Settings/Sub Menu/My Setting" myseton mysetoff MENU -t0 ADD "Settings/Sub Menu/My Setting" myseton mysetoff
</pre> </pre>
However, internal names and layouts of XChat's menu may change in the future, so use at own risk. However, internal names and layouts of HexChat's menu may change in the future, so use at own risk.
<br><br> <br><br>
Here is an example of Radio items: Here is an example of Radio items:
<pre> MENU ADD "Language" <pre> MENU ADD "Language"
@ -468,10 +468,10 @@ From 2.8.0, you can also change menus other than the main one (i.e popup menus).
</pre> </pre>
<br> <br>
<a name=tray>Starting from 2.8.0 you can manipulate XChat's system tray icon using the /TRAY command</a>: <a name=tray>Starting from 2.8.0 you can manipulate HexChat's system tray icon using the /TRAY command</a>:
<pre> <pre>
Usage: Usage:
TRAY -f &lt;timeout> &lt;file1> [&lt;file2>] Flash tray between two icons. Leave off file2 to use default xchat icon. TRAY -f &lt;timeout> &lt;file1> [&lt;file2>] Flash tray between two icons. Leave off file2 to use default HexChat icon.
TRAY -f &lt;filename> Set tray to a fixed icon. TRAY -f &lt;filename> Set tray to a fixed icon.
TRAY -i &lt;number> Flash tray with an internal icon. TRAY -i &lt;number> Flash tray with an internal icon.
<small>2=Message 5=Highlight 8=Private 11=File</small> <small>2=Message 5=Highlight 8=Private 11=File</small>
@ -479,12 +479,12 @@ From 2.8.0, you can also change menus other than the main one (i.e popup menus).
TRAY -b &lt;title> &lt;text> Set the tray balloon. TRAY -b &lt;title> &lt;text> Set the tray balloon.
<small>Supported on Windows from 2.8.1 and 2.8.2 on Linux (libnotify required on Linux).</small> <small>Supported on Windows from 2.8.1 and 2.8.2 on Linux (libnotify required on Linux).</small>
</pre> </pre>
Filenames can be ICO or PNG format. PNG format is supported on Linux/BSD and Windows XP (but requires installation of GDI+ on Windows 2000). Set a timeout of -1 to use XChat's default. Filenames can be ICO or PNG format. PNG format is supported on Linux/BSD and Windows XP (but requires installation of GDI+ on Windows 2000). Set a timeout of -1 to use HexChat's default.
<br><br> <br><br>
<h3><a name=unicode>Handling UTF-8/Unicode strings</a></h3> <h3><a name=unicode>Handling UTF-8/Unicode strings</a></h3>
<p> <p>
The XChat plugin API specifies that strings passed to and from xchat must be encoded in UTF-8. The HexChat plugin API specifies that strings passed to and from HexChat must be encoded in UTF-8.
<br><br> <br><br>
What does this mean for the plugin programmer? You just have to be a little careful when What does this mean for the plugin programmer? You just have to be a little careful when
passing strings obtained from IRC to system calls. For example, if you're writing a file-server passing strings obtained from IRC to system calls. For example, if you're writing a file-server
@ -512,7 +512,7 @@ static void get_file_name(char *nick, char *fname)
char buf[256]; char buf[256];
FILE *fp; FILE *fp;
<font color="#777777"> /* the fname is in UTF-8, because it came from the xchat API */</font> <font color="#777777"> /* the fname is in UTF-8, because it came from the HexChat API */</font>
</pre><font color="#33aa44">#ifdef _WIN32</font><pre> </pre><font color="#33aa44">#ifdef _WIN32</font><pre>
wchar_t wide_name[MAX_PATH]; wchar_t wide_name[MAX_PATH];
@ -601,7 +601,7 @@ xchat_hook_command(ph, "ONOTICE", XCHAT_PRI_NORM, onotice_cb,
<blockquote><b>ph:</b> Plugin handle (as given to xchat_plugin_init). <blockquote><b>ph:</b> Plugin handle (as given to xchat_plugin_init).
<br><b>fd:</b> The file descriptor or socket. <br><b>fd:</b> The file descriptor or socket.
<br><b>flags:</b> One or more of XCHAT_FD_READ, XCHAT_FD_WRITE, XCHAT_FD_EXCEPTION, XCHAT_FD_NOTSOCKET. Use bitwise OR to combine them. <br><b>flags:</b> One or more of XCHAT_FD_READ, XCHAT_FD_WRITE, XCHAT_FD_EXCEPTION, XCHAT_FD_NOTSOCKET. Use bitwise OR to combine them.
XCHAT_FD_NOTSOCKET tells xchat that the provided <b>fd</b> is not a socket, but a "MSVCRT.DLL" pipe. XCHAT_FD_NOTSOCKET tells HexChat that the provided <b>fd</b> is not a socket, but a "MSVCRT.DLL" pipe.
<br><b>callb:</b> Callback function. This will be called when the socket is available for reading/writing or exception (depending on your chosen <b>flags</b>) <br><b>callb:</b> Callback function. This will be called when the socket is available for reading/writing or exception (depending on your chosen <b>flags</b>)
<br><b>userdata:</b> Pointer passed to the callback function.</blockquote> <br><b>userdata:</b> Pointer passed to the callback function.</blockquote>
<b>Returns:</b> Pointer to the hook. Can be passed to xchat_unhook. <b>Returns:</b> Pointer to the hook. Can be passed to xchat_unhook.
@ -644,7 +644,7 @@ tab-window is focused by the window manager.
static int youpart_cb(char *word[], void *userdata) static int youpart_cb(char *word[], void *userdata)
{ {
xchat_printf(ph, "You have left channel %s\n", word[3]); xchat_printf(ph, "You have left channel %s\n", word[3]);
return XCHAT_EAT_XCHAT; /* dont let xchat do its normal printing */ return XCHAT_EAT_XCHAT; /* dont let HexChat do its normal printing */
} }
xchat_hook_print(ph, "You Part", XCHAT_PRI_NORM, youpart_cb, NULL); xchat_hook_print(ph, "You Part", XCHAT_PRI_NORM, youpart_cb, NULL);
@ -673,7 +673,7 @@ hook every line that comes from the IRC server, you may use the special name of
static int kick_cb(char *word[], char *word_eol[], void *userdata) static int kick_cb(char *word[], char *word_eol[], void *userdata)
{ {
xchat_printf(ph, "%s was kicked from %s (reason=%s)\n", word[4], word[3], word_eol[5]); xchat_printf(ph, "%s was kicked from %s (reason=%s)\n", word[4], word[3], word_eol[5]);
return XCHAT_EAT_NONE; /* don't eat this event, let other plugins and xchat see it too */ return XCHAT_EAT_NONE; /* don't eat this event, let other plugins and HexChat see it too */
} }
xchat_hook_server(ph, "KICK", XCHAT_PRI_NORM, kick_cb, NULL); xchat_hook_server(ph, "KICK", XCHAT_PRI_NORM, kick_cb, NULL);
@ -737,7 +737,7 @@ removed, so you don't need to call this within your xchat_plugin_deinit() functi
<h3><a class=cmd name="xchat_command">&nbsp;xchat_command()&nbsp;</a></h3> <h3><a class=cmd name="xchat_command">&nbsp;xchat_command()&nbsp;</a></h3>
<b>Prototype:</b> void xchat_command(xchat_plugin *ph, const char *command); <b>Prototype:</b> void xchat_command(xchat_plugin *ph, const char *command);
<br> <br>
<br><b>Description:</b> Executes a command as if it were typed in xchat's input box. <br><b>Description:</b> Executes a command as if it were typed in HexChat's input box.
<br> <br>
<br><b>Arguments:</b> <br><b>Arguments:</b>
<blockquote><b>ph:</b> Plugin handle (as given to xchat_plugin_init). <blockquote><b>ph:</b> Plugin handle (as given to xchat_plugin_init).
@ -748,7 +748,7 @@ removed, so you don't need to call this within your xchat_plugin_deinit() functi
<h3><a class=cmd name="xchat_commandf">&nbsp;xchat_commandf()&nbsp;</a></h3> <h3><a class=cmd name="xchat_commandf">&nbsp;xchat_commandf()&nbsp;</a></h3>
<b>Prototype:</b> void xchat_commandf(xchat_plugin *ph, const char *format, ...); <b>Prototype:</b> void xchat_commandf(xchat_plugin *ph, const char *format, ...);
<br> <br>
<br><b>Description:</b> Executes a command as if it were typed in xchat's input box and provides string formating like printf. <br><b>Description:</b> Executes a command as if it were typed in HexChat's input box and provides string formating like printf.
<br> <br>
<br><b>Arguments:</b> <br><b>Arguments:</b>
<blockquote><b>ph:</b> Plugin handle (as given to xchat_plugin_init). <blockquote><b>ph:</b> Plugin handle (as given to xchat_plugin_init).
@ -877,7 +877,7 @@ Changed in 2.6.1. If servname is NULL, it finds the channel (or query) by the gi
<tr><td>win_ptr</td><td>native window pointer. Unix: (GtkWindow *) Win32: HWND (since 2.6.0).</td></tr> <tr><td>win_ptr</td><td>native window pointer. Unix: (GtkWindow *) Win32: HWND (since 2.6.0).</td></tr>
<tr><td>win_status</td><td>window status: "active", "hidden" or "normal" (since 2.0.9).</td> <tr><td>win_status</td><td>window status: "active", "hidden" or "normal" (since 2.0.9).</td>
<tr><td>xchatdir</td><td>xchat config directory, e.g.: /home/user/.xchat2 <small>This string is encoded in UTF-8, which means you _should_ convert it to "locale" encoding before using functions like open() or OpenFile(). For best <a href="#unicode">Unicode support</a> on Linux, convert this string using g_filename_from_utf8 and on Windows convert this string to UTF-16LE (wide) and use OpenFileW() etc.</small></td></tr> <tr><td>xchatdir</td><td>xchat config directory, e.g.: /home/user/.xchat2 <small>This string is encoded in UTF-8, which means you _should_ convert it to "locale" encoding before using functions like open() or OpenFile(). For best <a href="#unicode">Unicode support</a> on Linux, convert this string using g_filename_from_utf8 and on Windows convert this string to UTF-16LE (wide) and use OpenFileW() etc.</small></td></tr>
<tr><td>xchatdirfs</td><td>xchat config directory, e.g.: /home/user/.xchat2 (since 2.0.9).<small>This string is encoded in local file system encoding, making it ideal for direct use with functions like open() or OpenFile(). For real Unicode support on Windows, it's best not to use xchatdirfs, but xchatdir instead.</small></td></tr> <tr><td>xchatdirfs</td><td>xchat config directory, e.g.: /home/user/.xchat2 (since 2.0.9).<small>This string is encoded in local file system encoding, making it ideal for direct use with functions like open() or OpenFile(). For real Unicode support on Windows, it's best not to use HexChatdirfs, but HexChatdir instead.</small></td></tr>
</table> </table>
</blockquote> </blockquote>
</blockquote> </blockquote>

View File

@ -64,7 +64,7 @@
#include <dirent.h> #include <dirent.h>
#endif #endif
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include "Python.h" #include "Python.h"
#include "structmember.h" #include "structmember.h"
#include "pythread.h" #include "pythread.h"

View File

@ -38,7 +38,7 @@
#include <assert.h> #include <assert.h>
#include <glib.h> #include <glib.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
static xchat_plugin *ph; /* plugin handle */ static xchat_plugin *ph; /* plugin handle */
static const char name[] = "SASL"; static const char name[] = "SASL";

View File

@ -25,7 +25,7 @@
#include <comutil.h> #include <comutil.h>
#include <wbemidl.h> #include <wbemidl.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
static xchat_plugin *ph; /* plugin handle */ static xchat_plugin *ph; /* plugin handle */
static char name[] = "SysInfo"; static char name[] = "SysInfo";

View File

@ -28,7 +28,7 @@
#include <string.h> #include <string.h>
#include <glib.h> #include <glib.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include "parse.h" #include "parse.h"
#include "match.h" #include "match.h"
#include "xsys.h" #include "xsys.h"

View File

@ -36,7 +36,7 @@ static char RCSID[] = "$Id: tclplugin.c,v 1.65 2012/07/26 20:02:12 mooooooo Exp
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include "tclplugin.h" #include "tclplugin.h"
#include "printevents.h" #include "printevents.h"

View File

@ -23,7 +23,7 @@
#include <windows.h> #include <windows.h>
#include <wininet.h> #include <wininet.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
static xchat_plugin *ph; /* plugin handle */ static xchat_plugin *ph; /* plugin handle */
static const char name[] = "Update Checker"; static const char name[] = "Update Checker";

View File

@ -14,7 +14,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#define PLAYING 1 #define PLAYING 1
#define PAUSED 3 #define PAUSED 3

View File

@ -7,7 +7,7 @@
* *
******************************************************************/ ******************************************************************/
#include "stdafx.h" #include "stdafx.h"
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include <windows.h> #include <windows.h>
#include <tchar.h> #include <tchar.h>
#include "wmpa.h" #include "wmpa.h"

View File

@ -1,6 +1,6 @@
/* You can distribute this header with your plugins for easy compilation */ /* You can distribute this header with your plugins for easy compilation */
#ifndef XCHAT_PLUGIN_H #ifndef HEXCHAT_PLUGIN_H
#define XCHAT_PLUGIN_H #define HEXCHAT_PLUGIN_H
#define VER_STRING _T("1.0.2 (BETA)") #define VER_STRING _T("1.0.2 (BETA)")

View File

@ -118,7 +118,7 @@
<ClCompile Include="wmpplaylistcollection.cpp" /> <ClCompile Include="wmpplaylistcollection.cpp" />
<ClCompile Include="wmpsettings.cpp" /> <ClCompile Include="wmpsettings.cpp" />
<ClCompile Include="wmpstringcollection.cpp" /> <ClCompile Include="wmpstringcollection.cpp" />
<ClCompile Include="xchat-plugin.cpp" /> <ClCompile Include="hexchat-plugin.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="resource.h" /> <ClInclude Include="resource.h" />
@ -142,7 +142,7 @@
<ClInclude Include="wmpplaylistcollection.h" /> <ClInclude Include="wmpplaylistcollection.h" />
<ClInclude Include="wmpsettings.h" /> <ClInclude Include="wmpsettings.h" />
<ClInclude Include="wmpstringcollection.h" /> <ClInclude Include="wmpstringcollection.h" />
<ClInclude Include="xchat-plugin.h" /> <ClInclude Include="hexchat-plugin.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="ReadMe.txt" /> <None Include="ReadMe.txt" />

View File

@ -78,7 +78,7 @@
<ClCompile Include="wmpstringcollection.cpp"> <ClCompile Include="wmpstringcollection.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="xchat-plugin.cpp"> <ClCompile Include="hexchat-plugin.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
@ -146,7 +146,7 @@
<ClInclude Include="wmpstringcollection.h"> <ClInclude Include="wmpstringcollection.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xchat-plugin.h"> <ClInclude Include="hexchat-plugin.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>

View File

@ -115,7 +115,7 @@
<ClCompile Include="wmpplaylistcollection.cpp" /> <ClCompile Include="wmpplaylistcollection.cpp" />
<ClCompile Include="wmpsettings.cpp" /> <ClCompile Include="wmpsettings.cpp" />
<ClCompile Include="wmpstringcollection.cpp" /> <ClCompile Include="wmpstringcollection.cpp" />
<ClCompile Include="xchat-plugin.cpp" /> <ClCompile Include="hexchat-plugin.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="resource.h" /> <ClInclude Include="resource.h" />
@ -139,7 +139,7 @@
<ClInclude Include="wmpplaylistcollection.h" /> <ClInclude Include="wmpplaylistcollection.h" />
<ClInclude Include="wmpsettings.h" /> <ClInclude Include="wmpsettings.h" />
<ClInclude Include="wmpstringcollection.h" /> <ClInclude Include="wmpstringcollection.h" />
<ClInclude Include="xchat-plugin.h" /> <ClInclude Include="hexchat-plugin.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="ReadMe.txt" /> <None Include="ReadMe.txt" />

View File

@ -78,7 +78,7 @@
<ClCompile Include="wmpstringcollection.cpp"> <ClCompile Include="wmpstringcollection.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="xchat-plugin.cpp"> <ClCompile Include="hexchat-plugin.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
@ -146,7 +146,7 @@
<ClInclude Include="wmpstringcollection.h"> <ClInclude Include="wmpstringcollection.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xchat-plugin.h"> <ClInclude Include="hexchat-plugin.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>

View File

@ -10,7 +10,7 @@
#include "wmpa.h" #include "wmpa.h"
#include "WMPADialog.h" #include "WMPADialog.h"
#include "shellapi.h" #include "shellapi.h"
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#ifdef _DEBUG #ifdef _DEBUG
#define new DEBUG_NEW #define new DEBUG_NEW

View File

@ -9,8 +9,8 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include "../../src/common/xchat.h" #include "../../src/common/hexchat.h"
static xchat_plugin *ph; /* plugin handle */ static xchat_plugin *ph; /* plugin handle */

View File

@ -10,6 +10,9 @@ EXTRA_DIST = \
ctcp.h \ ctcp.h \
dcc.h \ dcc.h \
fe.h \ fe.h \
hexchat.h \
hexchatc.h \
hexchat-plugin.h \
history.h \ history.h \
identd.c \ identd.c \
ignore.h \ ignore.h \
@ -36,10 +39,7 @@ EXTRA_DIST = \
tree.h \ tree.h \
url.h \ url.h \
userlist.h \ userlist.h \
util.h \ util.h
xchat.h \
xchatc.h \
xchat-plugin.h
if USE_OPENSSL if USE_OPENSSL
ssl_c = ssl.c ssl_c = ssl.c
@ -52,10 +52,10 @@ libhexchatcommon_a_LIBADD = \
endif endif
SUBDIRS = $(dbusdir) . SUBDIRS = $(dbusdir) .
libhexchatcommon_a_SOURCES = cfgfiles.c chanopt.c ctcp.c dcc.c history.c ignore.c \ libhexchatcommon_a_SOURCES = cfgfiles.c chanopt.c ctcp.c dcc.c hexchat.c \
inbound.c modes.c msproxy.c network.c notify.c outbound.c \ history.c ignore.c inbound.c modes.c msproxy.c network.c notify.c \
plugin.c plugin-timer.c proto-irc.c server.c servlist.c $(ssl_c) \ outbound.c plugin.c plugin-timer.c proto-irc.c server.c servlist.c \
strlutil.c text.c tree.c url.c userlist.c util.c xchat.c $(ssl_c) strlutil.c text.c tree.c url.c userlist.c util.c
libhexchatcommon_a_CFLAGS = $(LIBPROXY_CFLAGS) libhexchatcommon_a_CFLAGS = $(LIBPROXY_CFLAGS)
textevents: make-te textevents: make-te

View File

@ -23,12 +23,12 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "xchat.h" #include "hexchat.h"
#include "cfgfiles.h" #include "cfgfiles.h"
#include "util.h" #include "util.h"
#include "fe.h" #include "fe.h"
#include "text.h" #include "text.h"
#include "xchatc.h" #include "hexchatc.h"
#ifdef WIN32 #ifdef WIN32
#include <io.h> #include <io.h>

View File

@ -3,7 +3,7 @@
#ifndef XCHAT_CFGFILES_H #ifndef XCHAT_CFGFILES_H
#define XCHAT_CFGFILES_H #define XCHAT_CFGFILES_H
#include "xchat.h" #include "hexchat.h"
extern char *xdir_fs; extern char *xdir_fs;
extern char *xdir_utf; extern char *xdir_utf;

View File

@ -14,13 +14,13 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "xchat.h" #include "hexchat.h"
#include "cfgfiles.h" #include "cfgfiles.h"
#include "server.h" #include "server.h"
#include "text.h" #include "text.h"
#include "util.h" #include "util.h"
#include "xchatc.h" #include "hexchatc.h"
static GSList *chanopt_list = NULL; static GSList *chanopt_list = NULL;

View File

@ -43,9 +43,9 @@
<ClInclude Include="url.h" /> <ClInclude Include="url.h" />
<ClInclude Include="userlist.h" /> <ClInclude Include="userlist.h" />
<ClInclude Include="util.h" /> <ClInclude Include="util.h" />
<ClInclude Include="xchat-plugin.h" /> <ClInclude Include="hexchat-plugin.h" />
<ClInclude Include="xchat.h" /> <ClInclude Include="hexchat.h" />
<ClInclude Include="xchatc.h" /> <ClInclude Include="hexchatc.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="cfgfiles.c" /> <ClCompile Include="cfgfiles.c" />
@ -74,7 +74,7 @@
<ClCompile Include="url.c" /> <ClCompile Include="url.c" />
<ClCompile Include="userlist.c" /> <ClCompile Include="userlist.c" />
<ClCompile Include="util.c" /> <ClCompile Include="util.c" />
<ClCompile Include="xchat.c" /> <ClCompile Include="hexchat.c" />
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>{87554B59-006C-4D94-9714-897B27067BA3}</ProjectGuid> <ProjectGuid>{87554B59-006C-4D94-9714-897B27067BA3}</ProjectGuid>

View File

@ -98,13 +98,13 @@
<ClInclude Include="util.h"> <ClInclude Include="util.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xchat.h"> <ClInclude Include="hexchat.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xchatc.h"> <ClInclude Include="hexchatc.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xchat-plugin.h"> <ClInclude Include="hexchat-plugin.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\config.h"> <ClInclude Include="..\..\config.h">
@ -193,7 +193,7 @@
<ClCompile Include="util.c"> <ClCompile Include="util.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="xchat.c"> <ClCompile Include="hexchat.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="strlutil.c"> <ClCompile Include="strlutil.c">

View File

@ -43,9 +43,9 @@
<ClInclude Include="url.h" /> <ClInclude Include="url.h" />
<ClInclude Include="userlist.h" /> <ClInclude Include="userlist.h" />
<ClInclude Include="util.h" /> <ClInclude Include="util.h" />
<ClInclude Include="xchat-plugin.h" /> <ClInclude Include="hexchat-plugin.h" />
<ClInclude Include="xchat.h" /> <ClInclude Include="hexchat.h" />
<ClInclude Include="xchatc.h" /> <ClInclude Include="hexchatc.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="cfgfiles.c" /> <ClCompile Include="cfgfiles.c" />
@ -74,7 +74,7 @@
<ClCompile Include="url.c" /> <ClCompile Include="url.c" />
<ClCompile Include="userlist.c" /> <ClCompile Include="userlist.c" />
<ClCompile Include="util.c" /> <ClCompile Include="util.c" />
<ClCompile Include="xchat.c" /> <ClCompile Include="hexchat.c" />
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>{87554B59-006C-4D94-9714-897B27067BA3}</ProjectGuid> <ProjectGuid>{87554B59-006C-4D94-9714-897B27067BA3}</ProjectGuid>

View File

@ -98,13 +98,13 @@
<ClInclude Include="util.h"> <ClInclude Include="util.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xchat.h"> <ClInclude Include="hexchat.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xchatc.h"> <ClInclude Include="hexchatc.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="xchat-plugin.h"> <ClInclude Include="hexchat-plugin.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\config.h"> <ClInclude Include="..\..\config.h">
@ -193,7 +193,7 @@
<ClCompile Include="util.c"> <ClCompile Include="util.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="xchat.c"> <ClCompile Include="hexchat.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="strlutil.c"> <ClCompile Include="strlutil.c">

View File

@ -24,7 +24,7 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "xchat.h" #include "hexchat.h"
#include "cfgfiles.h" #include "cfgfiles.h"
#include "util.h" #include "util.h"
#include "modes.h" #include "modes.h"
@ -35,7 +35,7 @@
#include "text.h" #include "text.h"
#include "ctcp.h" #include "ctcp.h"
#include "server.h" #include "server.h"
#include "xchatc.h" #include "hexchatc.h"
static void static void

View File

@ -48,7 +48,7 @@
#include <glib.h> #include <glib.h>
#include <glib/gstdio.h> #include <glib/gstdio.h>
#include "xchat.h" #include "hexchat.h"
#include "util.h" #include "util.h"
#include "fe.h" #include "fe.h"
#include "outbound.h" #include "outbound.h"
@ -58,7 +58,7 @@
#include "server.h" #include "server.h"
#include "text.h" #include "text.h"
#include "url.h" #include "url.h"
#include "xchatc.h" #include "hexchatc.h"
#ifdef USE_DCC64 #ifdef USE_DCC64
#define BIG_STR_TO_INT(x) strtoull(x,NULL,10) #define BIG_STR_TO_INT(x) strtoull(x,NULL,10)

View File

@ -1,6 +1,6 @@
/* You can distribute this header with your plugins for easy compilation */ /* You can distribute this header with your plugins for easy compilation */
#ifndef XCHAT_PLUGIN_H #ifndef HEXCHAT_PLUGIN_H
#define XCHAT_PLUGIN_H #define HEXCHAT_PLUGIN_H
#include <time.h> #include <time.h>

View File

@ -34,13 +34,13 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "xchat.h" #include "hexchat.h"
#include "fe.h" #include "fe.h"
#include "util.h" #include "util.h"
#include "cfgfiles.h" #include "cfgfiles.h"
#include "chanopt.h" #include "chanopt.h"
#include "ignore.h" #include "ignore.h"
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include "plugin.h" #include "plugin.h"
#include "plugin-timer.h" #include "plugin-timer.h"
#include "notify.h" #include "notify.h"
@ -49,7 +49,7 @@
#include "outbound.h" #include "outbound.h"
#include "text.h" #include "text.h"
#include "url.h" #include "url.h"
#include "xchatc.h" #include "hexchatc.h"
#ifdef USE_OPENSSL #ifdef USE_OPENSSL
#include <openssl/ssl.h> /* SSL_() */ #include <openssl/ssl.h> /* SSL_() */

View File

@ -1,8 +1,8 @@
/* simple identd server for xchat under win32 */ /* simple identd server for xchat under win32 */
#include "inet.h" #include "inet.h"
#include "xchat.h" #include "hexchat.h"
#include "xchatc.h" #include "hexchatc.h"
#include "text.h" #include "text.h"
static int identd_is_running = FALSE; static int identd_is_running = FALSE;

View File

@ -29,13 +29,13 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "xchat.h" #include "hexchat.h"
#include "ignore.h" #include "ignore.h"
#include "cfgfiles.h" #include "cfgfiles.h"
#include "fe.h" #include "fe.h"
#include "text.h" #include "text.h"
#include "util.h" #include "util.h"
#include "xchatc.h" #include "hexchatc.h"
int ignored_ctcp = 0; /* keep a count of all we ignore */ int ignored_ctcp = 0; /* keep a count of all we ignore */

View File

@ -33,7 +33,7 @@
#define WANTDNS #define WANTDNS
#include "inet.h" #include "inet.h"
#include "xchat.h" #include "hexchat.h"
#include "util.h" #include "util.h"
#include "ignore.h" #include "ignore.h"
#include "fe.h" #include "fe.h"
@ -46,7 +46,7 @@
#include "text.h" #include "text.h"
#include "ctcp.h" #include "ctcp.h"
#include "plugin.h" #include "plugin.h"
#include "xchatc.h" #include "hexchatc.h"
void void

View File

@ -22,8 +22,8 @@
#include <glib.h> #include <glib.h>
#include <glib/gprintf.h> #include <glib/gprintf.h>
#include "xchat.h" #include "hexchat.h"
#include "xchatc.h" #include "hexchatc.h"
#include "modes.h" #include "modes.h"
#include "server.h" #include "server.h"
#include "text.h" #include "text.h"

View File

@ -36,9 +36,9 @@
#define WANTARPA #define WANTARPA
#include "inet.h" #include "inet.h"
#include "xchat.h" #include "hexchat.h"
#include "network.h" #include "network.h"
#include "xchatc.h" #include "hexchatc.h"
#include "server.h" #include "server.h"
#include "msproxy.h" #include "msproxy.h"

View File

@ -30,14 +30,14 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "xchat.h" #include "hexchat.h"
#include "notify.h" #include "notify.h"
#include "cfgfiles.h" #include "cfgfiles.h"
#include "fe.h" #include "fe.h"
#include "server.h" #include "server.h"
#include "text.h" #include "text.h"
#include "util.h" #include "util.h"
#include "xchatc.h" #include "hexchatc.h"
GSList *notify_list = 0; GSList *notify_list = 0;

View File

@ -38,7 +38,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include "xchat.h" #include "hexchat.h"
#include "plugin.h" #include "plugin.h"
#include "ignore.h" #include "ignore.h"
#include "util.h" #include "util.h"
@ -49,7 +49,7 @@
#include "notify.h" #include "notify.h"
#include "inbound.h" #include "inbound.h"
#include "text.h" #include "text.h"
#include "xchatc.h" #include "hexchatc.h"
#include "servlist.h" #include "servlist.h"
#include "server.h" #include "server.h"
#include "tree.h" #include "tree.h"

View File

@ -1,7 +1,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <glib.h> #include <glib.h>
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#ifdef WIN32 #ifdef WIN32
#define g_ascii_strcasecmp stricmp #define g_ascii_strcasecmp stricmp

View File

@ -29,7 +29,7 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "xchat.h" #include "hexchat.h"
#include "fe.h" #include "fe.h"
#include "util.h" #include "util.h"
#include "outbound.h" #include "outbound.h"
@ -42,11 +42,11 @@
#include "text.h" #include "text.h"
#define PLUGIN_C #define PLUGIN_C
typedef struct session xchat_context; typedef struct session xchat_context;
#include "xchat-plugin.h" #include "hexchat-plugin.h"
#include "plugin.h" #include "plugin.h"
#include "xchatc.h" #include "hexchatc.h"
/* the USE_PLUGIN define only removes libdl stuff */ /* the USE_PLUGIN define only removes libdl stuff */

View File

@ -28,7 +28,7 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "xchat.h" #include "hexchat.h"
#include "ctcp.h" #include "ctcp.h"
#include "fe.h" #include "fe.h"
#include "ignore.h" #include "ignore.h"
@ -40,7 +40,7 @@
#include "text.h" #include "text.h"
#include "outbound.h" #include "outbound.h"
#include "util.h" #include "util.h"
#include "xchatc.h" #include "hexchatc.h"
#include "url.h" #include "url.h"

View File

@ -42,12 +42,12 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "xchat.h" #include "hexchat.h"
#include "fe.h" #include "fe.h"
#include "cfgfiles.h" #include "cfgfiles.h"
#include "network.h" #include "network.h"
#include "notify.h" #include "notify.h"
#include "xchatc.h" #include "hexchatc.h"
#include "inbound.h" #include "inbound.h"
#include "outbound.h" #include "outbound.h"
#include "text.h" #include "text.h"

View File

@ -26,7 +26,7 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "xchat.h" #include "hexchat.h"
#include <glib.h> #include <glib.h>
#include "cfgfiles.h" #include "cfgfiles.h"
@ -34,7 +34,7 @@
#include "server.h" #include "server.h"
#include "text.h" #include "text.h"
#include "util.h" /* token_foreach */ #include "util.h" /* token_foreach */
#include "xchatc.h" #include "hexchatc.h"
#include "servlist.h" #include "servlist.h"

View File

@ -32,7 +32,7 @@
#include <sys/mman.h> #include <sys/mman.h>
#endif #endif
#include "xchat.h" #include "hexchat.h"
#include <glib.h> #include <glib.h>
#include "cfgfiles.h" #include "cfgfiles.h"
#include "chanopt.h" #include "chanopt.h"
@ -41,7 +41,7 @@
#include "server.h" #include "server.h"
#include "util.h" #include "util.h"
#include "outbound.h" #include "outbound.h"
#include "xchatc.h" #include "hexchatc.h"
#include "text.h" #include "text.h"
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>

View File

@ -20,8 +20,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include "xchat.h" #include "hexchat.h"
#include "xchatc.h" #include "hexchatc.h"
#include "cfgfiles.h" #include "cfgfiles.h"
#include "fe.h" #include "fe.h"
#include "tree.h" #include "tree.h"

View File

@ -20,12 +20,12 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "xchat.h" #include "hexchat.h"
#include "modes.h" #include "modes.h"
#include "fe.h" #include "fe.h"
#include "notify.h" #include "notify.h"
#include "tree.h" #include "tree.h"
#include "xchatc.h" #include "hexchatc.h"
#include "util.h" #include "util.h"

View File

@ -43,8 +43,8 @@
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include "xchat.h" #include "hexchat.h"
#include "xchatc.h" #include "hexchatc.h"
#include <glib.h> #include <glib.h>
#include <ctype.h> #include <ctype.h>
#include "util.h" #include "util.h"

View File

@ -37,9 +37,9 @@
#include <gdk/gdkx.h> #include <gdk/gdkx.h>
#endif #endif
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/util.h" #include "../common/util.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "palette.h" #include "palette.h"
#include "pixmaps.h" #include "pixmaps.h"
#include "gtkutil.h" #include "gtkutil.h"

View File

@ -28,8 +28,8 @@
#include <gtk/gtklabel.h> #include <gtk/gtklabel.h>
#include <gtk/gtkbutton.h> #include <gtk/gtkbutton.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "gtkutil.h" #include "gtkutil.h"
#include "ascii.h" #include "ascii.h"
#include "maingui.h" #include "maingui.h"

View File

@ -37,11 +37,11 @@
#include <gtk/gtktreeview.h> #include <gtk/gtktreeview.h>
#include <gtk/gtktreeselection.h> #include <gtk/gtktreeselection.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/fe.h" #include "../common/fe.h"
#include "../common/modes.h" #include "../common/modes.h"
#include "../common/outbound.h" #include "../common/outbound.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "gtkutil.h" #include "gtkutil.h"
#include "maingui.h" #include "maingui.h"
#include "banlist.h" #include "banlist.h"

View File

@ -47,8 +47,8 @@
#include <gtk/gtkvseparator.h> #include <gtk/gtkvseparator.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"
#include "../common/outbound.h" #include "../common/outbound.h"
#include "../common/util.h" #include "../common/util.h"

View File

@ -6,8 +6,8 @@ typedef struct
GtkWidget *scrollw; /* scrolledWindow */ GtkWidget *scrollw; /* scrolledWindow */
} treeview; } treeview;
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "fe-gtk.h" #include "fe-gtk.h"
#include "maingui.h" #include "maingui.h"

View File

@ -44,8 +44,8 @@
#include <gtk/gtkradiobutton.h> #include <gtk/gtkradiobutton.h>
#include <gtk/gtkversion.h> #include <gtk/gtkversion.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "../common/fe.h" #include "../common/fe.h"
#include "../common/util.h" #include "../common/util.h"
#include "../common/network.h" #include "../common/network.h"

View File

@ -37,9 +37,9 @@
#include <gtk/gtkhbox.h> #include <gtk/gtkhbox.h>
#include <gtk/gtkvseparator.h> #include <gtk/gtkvseparator.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "../common/fe.h" #include "../common/fe.h"
#include "menu.h" #include "menu.h"
#include "gtkutil.h" #include "gtkutil.h"

View File

@ -37,12 +37,12 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/fe.h" #include "../common/fe.h"
#include "../common/util.h" #include "../common/util.h"
#include "../common/text.h" #include "../common/text.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "../common/plugin.h" #include "../common/plugin.h"
#include "../common/server.h" #include "../common/server.h"
#include "../common/url.h" #include "../common/url.h"

View File

@ -46,8 +46,8 @@
#include <gtk/gtkentry.h> #include <gtk/gtkentry.h>
#include <gtk/gtkvscrollbar.h> #include <gtk/gtkvscrollbar.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"
#include "../common/fe.h" #include "../common/fe.h"
#include "../common/userlist.h" #include "../common/userlist.h"

View File

@ -46,11 +46,11 @@
#include <gtk/gtkversion.h> #include <gtk/gtkversion.h>
#include <gtk/gtkfilechooserdialog.h> #include <gtk/gtkfilechooserdialog.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/fe.h" #include "../common/fe.h"
#include "../common/util.h" #include "../common/util.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "gtkutil.h" #include "gtkutil.h"
#include "pixmaps.h" #include "pixmaps.h"

View File

@ -39,7 +39,7 @@
#include <gtk/gtkcellrenderertext.h> #include <gtk/gtkcellrenderertext.h>
#include <gtk/gtkcellrenderertoggle.h> #include <gtk/gtkcellrenderertoggle.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/ignore.h" #include "../common/ignore.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"
#include "../common/fe.h" #include "../common/fe.h"

View File

@ -28,8 +28,8 @@
#include <gtk/gtkvbox.h> #include <gtk/gtkvbox.h>
#include <gtk/gtkwindow.h> #include <gtk/gtkwindow.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "../common/server.h" #include "../common/server.h"
#include "../common/fe.h" #include "../common/fe.h"
#include "fe-gtk.h" #include "fe-gtk.h"

View File

@ -44,10 +44,10 @@
#include <gtk/gtkbbox.h> #include <gtk/gtkbbox.h>
#include <gtk/gtkvscrollbar.h> #include <gtk/gtkvscrollbar.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/fe.h" #include "../common/fe.h"
#include "../common/server.h" #include "../common/server.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "../common/outbound.h" #include "../common/outbound.h"
#include "../common/inbound.h" #include "../common/inbound.h"
#include "../common/plugin.h" #include "../common/plugin.h"

View File

@ -44,8 +44,8 @@
#include <gtk/gtkversion.h> #include <gtk/gtkversion.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"
#include "../common/outbound.h" #include "../common/outbound.h"
#include "../common/ignore.h" #include "../common/ignore.h"

View File

@ -38,7 +38,7 @@
#include <gtk/gtktreeselection.h> #include <gtk/gtktreeselection.h>
#include <gtk/gtkcellrenderertext.h> #include <gtk/gtkcellrenderertext.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/notify.h" #include "../common/notify.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"
#include "../common/fe.h" #include "../common/fe.h"

View File

@ -31,7 +31,7 @@
#include "fe-gtk.h" #include "fe-gtk.h"
#include "palette.h" #include "palette.h"
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/util.h" #include "../common/util.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"

View File

@ -22,7 +22,7 @@
#include "fe-gtk.h" #include "fe-gtk.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/fe.h" #include "../common/fe.h"
#include <gdk-pixbuf/gdk-pixbuf.h> #include <gdk-pixbuf/gdk-pixbuf.h>

View File

@ -1,9 +1,9 @@
/* Copyright (C) 2006-2007 Peter Zelezny. */ /* Copyright (C) 2006-2007 Peter Zelezny. */
#include <string.h> #include <string.h>
#include "../common/xchat-plugin.h" #include "../common/hexchat-plugin.h"
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "../common/inbound.h" #include "../common/inbound.h"
#include "../common/server.h" #include "../common/server.h"
#include "../common/fe.h" #include "../common/fe.h"

View File

@ -32,15 +32,15 @@
#include <gtk/gtktreeselection.h> #include <gtk/gtktreeselection.h>
#include <gtk/gtkcellrenderertext.h> #include <gtk/gtkcellrenderertext.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#define PLUGIN_C #define PLUGIN_C
typedef struct session xchat_context; typedef struct session xchat_context;
#include "../common/xchat-plugin.h" #include "../common/hexchat-plugin.h"
#include "../common/plugin.h" #include "../common/plugin.h"
#include "../common/util.h" #include "../common/util.h"
#include "../common/outbound.h" #include "../common/outbound.h"
#include "../common/fe.h" #include "../common/fe.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"
#include "gtkutil.h" #include "gtkutil.h"

View File

@ -35,8 +35,8 @@
#include <gtk/gtkvscrollbar.h> #include <gtk/gtkvscrollbar.h>
#include <gtk/gtkstock.h> #include <gtk/gtkstock.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "../common/cfgfiles.h" #include "../common/cfgfiles.h"
#include "../common/server.h" #include "../common/server.h"
#include "gtkutil.h" #include "gtkutil.h"

View File

@ -34,10 +34,10 @@
#include <gtk/gtktogglebutton.h> #include <gtk/gtktogglebutton.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "../common/xchat.h" #include "../common/hexchat.h"
#include "../common/fe.h" #include "../common/fe.h"
#include "../common/util.h" #include "../common/util.h"
#include "../common/xchatc.h" #include "../common/hexchatc.h"
#include "gtkutil.h" #include "gtkutil.h"
#include "xtext.h" #include "xtext.h"
#include "maingui.h" #include "maingui.h"

Some files were not shown because too many files have changed in this diff Show More