Nuke Lua and Tcl
This commit is contained in:
parent
abd20c25dc
commit
b70062d6d2
|
@ -11,14 +11,6 @@ if DO_PERL
|
||||||
perldir = perl
|
perldir = perl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#if DO_TCL
|
|
||||||
#tcldir = tcl
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if DO_SASL
|
|
||||||
#sasldir = sasl
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if DO_DOAT
|
if DO_DOAT
|
||||||
doatdir = doat
|
doatdir = doat
|
||||||
endif
|
endif
|
||||||
|
@ -35,5 +27,5 @@ if DO_SYSINFO
|
||||||
sysinfodir = sysinfo
|
sysinfodir = sysinfo
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#SUBDIRS = . $(pythondir) $(perldir) mailcheck xdcc $(tcldir) $(sasldir)
|
#SUBDIRS = . $(pythondir) $(perldir) mailcheck xdcc
|
||||||
SUBDIRS = . $(pythondir) $(perldir) $(checksumdir) $(doatdir) $(fishlimdir) $(sysinfodir)
|
SUBDIRS = . $(pythondir) $(perldir) $(checksumdir) $(doatdir) $(fishlimdir) $(sysinfodir)
|
||||||
|
|
|
@ -1,133 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
|
||||||
<ProjectConfiguration Include="Release|Win32">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Win32</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|x64">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>x64</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup Label="Globals">
|
|
||||||
<ProjectGuid>{646B4316-C8B8-4DB6-B6AE-E586929E5729}</ProjectGuid>
|
|
||||||
<Keyword>Win32Proj</Keyword>
|
|
||||||
<RootNamespace>lua</RootNamespace>
|
|
||||||
<ProjectName>lua</ProjectName>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
|
||||||
<PlatformToolset>WDK7</PlatformToolset>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
|
||||||
<PlatformToolset>WDK7</PlatformToolset>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
||||||
<ImportGroup Label="ExtensionSettings">
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
<Import Project="..\..\win32\hexchat-xp.props" />
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
<Import Project="..\..\win32\hexchat-xp.props" />
|
|
||||||
</ImportGroup>
|
|
||||||
<PropertyGroup Label="UserMacros" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<LinkIncremental>false</LinkIncremental>
|
|
||||||
<TargetName>$(LuaOutput)</TargetName>
|
|
||||||
<OutDir>$(HexChatBin)</OutDir>
|
|
||||||
<IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<LinkIncremental>false</LinkIncremental>
|
|
||||||
<TargetName>$(LuaOutput)</TargetName>
|
|
||||||
<OutDir>$(HexChatBin)</OutDir>
|
|
||||||
<IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<ClCompile>
|
|
||||||
<PrecompiledHeader>
|
|
||||||
</PrecompiledHeader>
|
|
||||||
<Optimization>MaxSpeed</Optimization>
|
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LUA_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<AdditionalIncludeDirectories>$(DepsRoot)\include;..\..\src\common;$(Glib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Windows</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
<AdditionalLibraryDirectories>$(DepsRoot)\lib;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
||||||
<AdditionalDependencies>"$(LuaLib).lib";%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<ClCompile>
|
|
||||||
<PrecompiledHeader>
|
|
||||||
</PrecompiledHeader>
|
|
||||||
<Optimization>MaxSpeed</Optimization>
|
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LUA_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<AdditionalIncludeDirectories>$(DepsRoot)\include;..\..\src\common;$(Glib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Windows</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
<AdditionalLibraryDirectories>$(DepsRoot)\lib;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
||||||
<AdditionalDependencies>"$(LuaLib).lib";%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<Link>
|
|
||||||
<AdditionalDependencies>"$(LuaLib).lib";$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<Link>
|
|
||||||
<AdditionalDependencies>"$(LuaLib).lib";$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<ClCompile>
|
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(OwnFlags);snprintf=g_snprintf;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<ModuleDefinitionFile>lua.def</ModuleDefinitionFile>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<ClCompile>
|
|
||||||
<PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;$(OwnFlags);snprintf=g_snprintf;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<ModuleDefinitionFile>lua.def</ModuleDefinitionFile>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="lua.def" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="lua.c" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
||||||
<ImportGroup Label="ExtensionTargets">
|
|
||||||
</ImportGroup>
|
|
||||||
</Project>
|
|
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup>
|
|
||||||
<Filter Include="Source Files">
|
|
||||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
|
||||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="Resource Files">
|
|
||||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
|
||||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
|
||||||
</Filter>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="lua.def">
|
|
||||||
<Filter>Resource Files</Filter>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="lua.c">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
1886
plugins/lua/lua.c
1886
plugins/lua/lua.c
File diff suppressed because it is too large
Load Diff
|
@ -1,3 +0,0 @@
|
||||||
EXPORTS
|
|
||||||
hexchat_plugin_init
|
|
||||||
hexchat_plugin_deinit
|
|
|
@ -1,130 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
|
||||||
<ProjectConfiguration Include="Release|Win32">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Win32</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|x64">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>x64</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup Label="Globals">
|
|
||||||
<ProjectGuid>{646B4316-C8B8-4DB6-B6AE-E586929E5729}</ProjectGuid>
|
|
||||||
<Keyword>Win32Proj</Keyword>
|
|
||||||
<RootNamespace>lua</RootNamespace>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
||||||
<ImportGroup Label="ExtensionSettings">
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
<Import Project="..\..\win32\hexchat.props" />
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
<Import Project="..\..\win32\hexchat.props" />
|
|
||||||
</ImportGroup>
|
|
||||||
<PropertyGroup Label="UserMacros" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<LinkIncremental>false</LinkIncremental>
|
|
||||||
<TargetName>$(LuaOutput)</TargetName>
|
|
||||||
<OutDir>$(HexChatBin)</OutDir>
|
|
||||||
<IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<LinkIncremental>false</LinkIncremental>
|
|
||||||
<TargetName>$(LuaOutput)</TargetName>
|
|
||||||
<OutDir>$(HexChatBin)</OutDir>
|
|
||||||
<IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<ClCompile>
|
|
||||||
<PrecompiledHeader>
|
|
||||||
</PrecompiledHeader>
|
|
||||||
<Optimization>MaxSpeed</Optimization>
|
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LUA_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<AdditionalIncludeDirectories>$(DepsRoot)\include;..\..\src\common;$(Glib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Windows</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
<AdditionalLibraryDirectories>$(DepsRoot)\lib;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
||||||
<AdditionalDependencies>"$(LuaLib).lib";%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<ClCompile>
|
|
||||||
<PrecompiledHeader>
|
|
||||||
</PrecompiledHeader>
|
|
||||||
<Optimization>MaxSpeed</Optimization>
|
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LUA_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<AdditionalIncludeDirectories>$(DepsRoot)\include;..\..\src\common;$(Glib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Windows</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
<AdditionalLibraryDirectories>$(DepsRoot)\lib;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
||||||
<AdditionalDependencies>"$(LuaLib).lib";%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<Link>
|
|
||||||
<AdditionalDependencies>"$(LuaLib).lib";$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<Link>
|
|
||||||
<AdditionalDependencies>"$(LuaLib).lib";$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<ClCompile>
|
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;$(OwnFlags);snprintf=g_snprintf;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<ModuleDefinitionFile>lua.def</ModuleDefinitionFile>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<ClCompile>
|
|
||||||
<PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;$(OwnFlags);snprintf=g_snprintf;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<ModuleDefinitionFile>lua.def</ModuleDefinitionFile>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="lua.def" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="lua.c" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
||||||
<ImportGroup Label="ExtensionTargets">
|
|
||||||
</ImportGroup>
|
|
||||||
</Project>
|
|
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup>
|
|
||||||
<Filter Include="Source Files">
|
|
||||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
|
||||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="Resource Files">
|
|
||||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
|
||||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
|
||||||
</Filter>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="lua.def">
|
|
||||||
<Filter>Resource Files</Filter>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="lua.c">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
|
@ -1,10 +0,0 @@
|
||||||
|
|
||||||
EXTRA_DIST=printevents.h tclplugin.h README
|
|
||||||
|
|
||||||
libdir = $(hexchatlibdir)/plugins
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = tcl.la
|
|
||||||
tcl_la_SOURCES = tclplugin.c
|
|
||||||
tcl_la_LDFLAGS = -avoid-version -module
|
|
||||||
tcl_la_LIBADD = $(TCL_LIBS)
|
|
||||||
AM_CPPFLAGS = $(TCL_CFLAGS) $(COMMON_CFLAGS) -I$(srcdir)/../../src/common
|
|
|
@ -1,319 +0,0 @@
|
||||||
/***************************************************************************
|
|
||||||
printevents.h - TCL plugin header file
|
|
||||||
-------------------------------------------------
|
|
||||||
begin : Sat Nov 9 17:31:20 MST 2002
|
|
||||||
copyright : Copyright 2002-2007 Daniel P. Stasinski
|
|
||||||
copyright : Copyright 2002-2012 Daniel P. Stasinski
|
|
||||||
email : daniel@GenericInbox.com
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* 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 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
char *event;
|
|
||||||
char *emit;
|
|
||||||
int argc;
|
|
||||||
hexchat_hook *hook;
|
|
||||||
} print_event;
|
|
||||||
|
|
||||||
enum
|
|
||||||
{
|
|
||||||
CHAT,
|
|
||||||
XC_APPFOCUS,
|
|
||||||
XC_TABOPEN,
|
|
||||||
XC_TABCLOSE,
|
|
||||||
XC_TABFOCUS,
|
|
||||||
XC_KEYPRESS,
|
|
||||||
XC_ADDNOTIFY,
|
|
||||||
XC_BANLIST,
|
|
||||||
XC_BANNED,
|
|
||||||
XC_BEEP,
|
|
||||||
XC_CHANGENICK,
|
|
||||||
XC_CHANACTION,
|
|
||||||
XC_HCHANACTION,
|
|
||||||
XC_CHANBAN,
|
|
||||||
XC_CHANDATE,
|
|
||||||
XC_CHANDEHOP,
|
|
||||||
XC_CHANDEOP,
|
|
||||||
XC_CHANDEVOICE,
|
|
||||||
XC_CHANEXEMPT,
|
|
||||||
XC_CHANHOP,
|
|
||||||
XC_CHANINVITE,
|
|
||||||
XC_CHANLISTHEAD,
|
|
||||||
XC_CHANMSG,
|
|
||||||
XC_CHANMODEGEN,
|
|
||||||
XC_CHANMODES,
|
|
||||||
XC_HCHANMSG,
|
|
||||||
XC_CHANNOTICE,
|
|
||||||
XC_CHANOP,
|
|
||||||
XC_CHANRMEXEMPT,
|
|
||||||
XC_CHANRMINVITE,
|
|
||||||
XC_CHANRMKEY,
|
|
||||||
XC_CHANRMLIMIT,
|
|
||||||
XC_CHANSETKEY,
|
|
||||||
XC_CHANSETLIMIT,
|
|
||||||
XC_CHANUNBAN,
|
|
||||||
XC_CHANVOICE,
|
|
||||||
XC_CONNECTED,
|
|
||||||
XC_CONNECT,
|
|
||||||
XC_CONNFAIL,
|
|
||||||
XC_CTCPGEN,
|
|
||||||
XC_CTCPGENC,
|
|
||||||
XC_CTCPSEND,
|
|
||||||
XC_CTCPSND,
|
|
||||||
XC_CTCPSNDC,
|
|
||||||
XC_DCCCHATABORT,
|
|
||||||
XC_DCCCONCHAT,
|
|
||||||
XC_DCCCHATF,
|
|
||||||
XC_DCCCHATOFFER,
|
|
||||||
XC_DCCCHATOFFERING,
|
|
||||||
XC_DCCCHATREOFFER,
|
|
||||||
XC_DCCCONFAIL,
|
|
||||||
XC_DCCGENERICOFFER,
|
|
||||||
XC_DCCHEAD,
|
|
||||||
XC_MALFORMED,
|
|
||||||
XC_DCCOFFER,
|
|
||||||
XC_DCCIVAL,
|
|
||||||
XC_DCCRECVABORT,
|
|
||||||
XC_DCCRECVCOMP,
|
|
||||||
XC_DCCCONRECV,
|
|
||||||
XC_DCCRECVERR,
|
|
||||||
XC_DCCFILEERR,
|
|
||||||
XC_DCCRENAME,
|
|
||||||
XC_DCCRESUMEREQUEST,
|
|
||||||
XC_DCCSENDABORT,
|
|
||||||
XC_DCCSENDCOMP,
|
|
||||||
XC_DCCCONSEND,
|
|
||||||
XC_DCCSENDFAIL,
|
|
||||||
XC_DCCSENDOFFER,
|
|
||||||
XC_DCCSTALL,
|
|
||||||
XC_DCCTOUT,
|
|
||||||
XC_DELNOTIFY,
|
|
||||||
XC_DISCON,
|
|
||||||
XC_FOUNDIP,
|
|
||||||
XC_GENMSG,
|
|
||||||
XC_IGNOREADD,
|
|
||||||
XC_IGNORECHANGE,
|
|
||||||
XC_IGNOREFOOTER,
|
|
||||||
XC_IGNOREHEADER,
|
|
||||||
XC_IGNOREREMOVE,
|
|
||||||
XC_IGNOREEMPTY,
|
|
||||||
XC_INVITE,
|
|
||||||
XC_INVITED,
|
|
||||||
XC_JOIN,
|
|
||||||
XC_KEYWORD,
|
|
||||||
XC_KICK,
|
|
||||||
XC_KILL,
|
|
||||||
XC_MSGSEND,
|
|
||||||
XC_MOTD,
|
|
||||||
XC_MOTDSKIP,
|
|
||||||
XC_NICKCLASH,
|
|
||||||
XC_NICKFAIL,
|
|
||||||
XC_NODCC,
|
|
||||||
XC_NOCHILD,
|
|
||||||
XC_NOTICE,
|
|
||||||
XC_NOTICESEND,
|
|
||||||
XC_NOTIFYEMPTY,
|
|
||||||
XC_NOTIFYHEAD,
|
|
||||||
XC_NOTIFYNUMBER,
|
|
||||||
XC_NOTIFYOFFLINE,
|
|
||||||
XC_NOTIFYONLINE,
|
|
||||||
XC_OPENDIALOG,
|
|
||||||
XC_PART,
|
|
||||||
XC_PARTREASON,
|
|
||||||
XC_PINGREP,
|
|
||||||
XC_PINGTIMEOUT,
|
|
||||||
XC_PRIVMSG,
|
|
||||||
XC_DPRIVMSG,
|
|
||||||
XC_ALREADYPROCESS,
|
|
||||||
XC_QUIT,
|
|
||||||
XC_RAWMODES,
|
|
||||||
XC_WALLOPS,
|
|
||||||
XC_RESOLVINGUSER,
|
|
||||||
XC_SERVERCONNECTED,
|
|
||||||
XC_SERVERERROR,
|
|
||||||
XC_SERVERLOOKUP,
|
|
||||||
XC_SERVNOTICE,
|
|
||||||
XC_SERVTEXT,
|
|
||||||
XC_STOPCONNECT,
|
|
||||||
XC_TOPIC,
|
|
||||||
XC_NEWTOPIC,
|
|
||||||
XC_TOPICDATE,
|
|
||||||
XC_UKNHOST,
|
|
||||||
XC_USERLIMIT,
|
|
||||||
XC_USERSONCHAN,
|
|
||||||
XC_WHOIS_AUTH,
|
|
||||||
XC_WHOIS5,
|
|
||||||
XC_WHOIS2,
|
|
||||||
XC_WHOIS6,
|
|
||||||
XC_WHOIS_ID,
|
|
||||||
XC_WHOIS4,
|
|
||||||
XC_WHOIS4T,
|
|
||||||
XC_WHOIS1,
|
|
||||||
XC_WHOIS_REALHOST,
|
|
||||||
XC_WHOIS3,
|
|
||||||
XC_WHOIS_SPECIAL,
|
|
||||||
XC_UJOIN,
|
|
||||||
XC_UKICK,
|
|
||||||
XC_UPART,
|
|
||||||
XC_UPARTREASON,
|
|
||||||
XC_UACTION,
|
|
||||||
XC_UINVITE,
|
|
||||||
XC_UCHANMSG,
|
|
||||||
XC_UCHANGENICK,
|
|
||||||
XC_SIZE
|
|
||||||
};
|
|
||||||
|
|
||||||
static print_event xc[] = {
|
|
||||||
{ "CHAT", "DCC Chat Text", -1, NULL },
|
|
||||||
{ "XC_APPFOCUS", "Focus Window", -3, NULL },
|
|
||||||
{ "XC_TABOPEN", "Open Context", -2, NULL },
|
|
||||||
{ "XC_TABCLOSE", "Close Context", -2, NULL },
|
|
||||||
{ "XC_TABFOCUS", "Focus Tab", -2, NULL },
|
|
||||||
{ "XC_KEYPRESS", "Key Press", 4, NULL },
|
|
||||||
{ "XC_ADDNOTIFY", "Add Notify", 1, NULL },
|
|
||||||
{ "XC_BANLIST", "Ban List", 4, NULL },
|
|
||||||
{ "XC_BANNED", "Banned", 1, NULL },
|
|
||||||
{ "XC_BEEP", "Beep", 0, NULL },
|
|
||||||
{ "XC_CHANGENICK", "Change Nick", 2, NULL },
|
|
||||||
{ "XC_CHANACTION", "Channel Action", 3, NULL },
|
|
||||||
{ "XC_HCHANACTION", "Channel Action Hilight", 3, NULL },
|
|
||||||
{ "XC_CHANBAN", "Channel Ban", 2, NULL },
|
|
||||||
{ "XC_CHANDATE", "Channel Creation", 2, NULL },
|
|
||||||
{ "XC_CHANDEHOP", "Channel DeHalfOp", 2, NULL },
|
|
||||||
{ "XC_CHANDEOP", "Channel DeOp", 2, NULL },
|
|
||||||
{ "XC_CHANDEVOICE", "Channel DeVoice", 2, NULL },
|
|
||||||
{ "XC_CHANEXEMPT", "Channel Exempt", 2, NULL },
|
|
||||||
{ "XC_CHANHOP", "Channel Half-Operator", 2, NULL },
|
|
||||||
{ "XC_CHANINVITE", "Channel INVITE", 2, NULL },
|
|
||||||
{ "XC_CHANLISTHEAD", "Channel List", 0, NULL },
|
|
||||||
{ "XC_CHANMSG", "Channel Message", 4, NULL },
|
|
||||||
{ "XC_CHANMODEGEN", "Channel Mode Generic", 4, NULL },
|
|
||||||
{ "XC_CHANMODES", "Channel Modes", 2, NULL },
|
|
||||||
{ "XC_HCHANMSG", "Channel Msg Hilight", 4, NULL },
|
|
||||||
{ "XC_CHANNOTICE", "Channel Notice", 3, NULL },
|
|
||||||
{ "XC_CHANOP", "Channel Operator", 2, NULL },
|
|
||||||
{ "XC_CHANRMEXEMPT", "Channel Remove Exempt", 2, NULL },
|
|
||||||
{ "XC_CHANRMINVITE", "Channel Remove Invite", 2, NULL },
|
|
||||||
{ "XC_CHANRMKEY", "Channel Remove Keyword", 1, NULL },
|
|
||||||
{ "XC_CHANRMLIMIT", "Channel Remove Limit", 1, NULL },
|
|
||||||
{ "XC_CHANSETKEY", "Channel Set Key", 2, NULL },
|
|
||||||
{ "XC_CHANSETLIMIT", "Channel Set Limit", 2, NULL },
|
|
||||||
{ "XC_CHANUNBAN", "Channel UnBan", 2, NULL },
|
|
||||||
{ "XC_CHANVOICE", "Channel Voice", 2, NULL },
|
|
||||||
{ "XC_CONNECTED", "Connected", 0, NULL },
|
|
||||||
{ "XC_CONNECT", "Connecting", 3, NULL },
|
|
||||||
{ "XC_CONNFAIL", "Connection Failed", 1, NULL },
|
|
||||||
{ "XC_CTCPGEN", "CTCP Generic", 2, NULL },
|
|
||||||
{ "XC_CTCPGENC", "CTCP Generic to Channel", 3, NULL },
|
|
||||||
{ "XC_CTCPSEND", "CTCP Send", 2, NULL },
|
|
||||||
{ "XC_CTCPSND", "CTCP Sound", 2, NULL },
|
|
||||||
{ "XC_CTCPSNDC", "CTCP Sound to Channel", 3, NULL },
|
|
||||||
{ "XC_DCCCHATABORT", "DCC CHAT Abort", 1, NULL },
|
|
||||||
{ "XC_DCCCONCHAT", "DCC CHAT Connect", 2, NULL },
|
|
||||||
{ "XC_DCCCHATF", "DCC CHAT Failed", 4, NULL },
|
|
||||||
{ "XC_DCCCHATOFFER", "DCC CHAT Offer", 1, NULL },
|
|
||||||
{ "XC_DCCCHATOFFERING", "DCC CHAT Offering", 1, NULL },
|
|
||||||
{ "XC_DCCCHATREOFFER", "DCC CHAT Reoffer", 1, NULL },
|
|
||||||
{ "XC_DCCCONFAIL", "DCC Conection Failed", 3, NULL },
|
|
||||||
{ "XC_DCCGENERICOFFER", "DCC Generic Offer", 2, NULL },
|
|
||||||
{ "XC_DCCHEAD", "DCC Header", 0, NULL },
|
|
||||||
{ "XC_MALFORMED", "DCC Malformed", 2, NULL },
|
|
||||||
{ "XC_DCCOFFER", "DCC Offer", 3, NULL },
|
|
||||||
{ "XC_DCCIVAL", "DCC Offer Not Valid", 0, NULL },
|
|
||||||
{ "XC_DCCRECVABORT", "DCC RECV Abort", 2, NULL },
|
|
||||||
{ "XC_DCCRECVCOMP", "DCC RECV Complete", 4, NULL },
|
|
||||||
{ "XC_DCCCONRECV", "DCC RECV Connect", 3, NULL },
|
|
||||||
{ "XC_DCCRECVERR", "DCC RECV Failed", 4, NULL },
|
|
||||||
{ "XC_DCCFILEERR", "DCC RECV File Open Error", 2, NULL },
|
|
||||||
{ "XC_DCCRENAME", "DCC Rename", 2, NULL },
|
|
||||||
{ "XC_DCCRESUMEREQUEST", "DCC RESUME Request", 3, NULL },
|
|
||||||
{ "XC_DCCSENDABORT", "DCC SEND Abort", 2, NULL },
|
|
||||||
{ "XC_DCCSENDCOMP", "DCC SEND Complete", 3, NULL },
|
|
||||||
{ "XC_DCCCONSEND", "DCC SEND Connect", 3, NULL },
|
|
||||||
{ "XC_DCCSENDFAIL", "DCC SEND Failed", 3, NULL },
|
|
||||||
{ "XC_DCCSENDOFFER", "DCC SEND Offer", 4, NULL },
|
|
||||||
{ "XC_DCCSTALL", "DCC Stall", 3, NULL },
|
|
||||||
{ "XC_DCCTOUT", "DCC Timeout", 3, NULL },
|
|
||||||
{ "XC_DELNOTIFY", "Delete Notify", 1, NULL },
|
|
||||||
{ "XC_DISCON", "Disconnected", 1, NULL },
|
|
||||||
{ "XC_FOUNDIP", "Found IP", 1, NULL },
|
|
||||||
{ "XC_GENMSG", "Generic Message", 2, NULL },
|
|
||||||
{ "XC_IGNOREADD", "Ignore Add", 1, NULL },
|
|
||||||
{ "XC_IGNORECHANGE", "Ignore Changed", 1, NULL },
|
|
||||||
{ "XC_IGNOREFOOTER", "Ignore Footer", 0, NULL },
|
|
||||||
{ "XC_IGNOREHEADER", "Ignore Header", 0, NULL },
|
|
||||||
{ "XC_IGNOREREMOVE", "Ignore Remove", 1, NULL },
|
|
||||||
{ "XC_IGNOREEMPTY", "Ignorelist Empty", 0, NULL },
|
|
||||||
{ "XC_INVITE", "Invite", 1, NULL },
|
|
||||||
{ "XC_INVITED", "Invited", 3, NULL },
|
|
||||||
{ "XC_JOIN", "Join", 3, NULL },
|
|
||||||
{ "XC_KEYWORD", "Keyword", 1, NULL },
|
|
||||||
{ "XC_KICK", "Kick", 4, NULL },
|
|
||||||
{ "XC_KILL", "Killed", 2, NULL },
|
|
||||||
{ "XC_MSGSEND", "Message Send", 2, NULL },
|
|
||||||
{ "XC_MOTD", "Motd", 1, NULL },
|
|
||||||
{ "XC_MOTDSKIP", "MOTD Skipped", 0, NULL },
|
|
||||||
{ "XC_NICKCLASH", "Nick Clash", 2, NULL },
|
|
||||||
{ "XC_NICKFAIL", "Nick Failed", 0, NULL },
|
|
||||||
{ "XC_NODCC", "No DCC", 0, NULL },
|
|
||||||
{ "XC_NOCHILD", "No Running Process", 0, NULL },
|
|
||||||
{ "XC_NOTICE", "Notice", 2, NULL },
|
|
||||||
{ "XC_NOTICESEND", "Notice Send", 2, NULL },
|
|
||||||
{ "XC_NOTIFYEMPTY", "Notify Empty", 0, NULL },
|
|
||||||
{ "XC_NOTIFYHEAD", "Notify Header", 0, NULL },
|
|
||||||
{ "XC_NOTIFYNUMBER", "Notify Number", 1, NULL },
|
|
||||||
{ "XC_NOTIFYOFFLINE", "Notify Offline", 3, NULL },
|
|
||||||
{ "XC_NOTIFYONLINE", "Notify Online", 3, NULL },
|
|
||||||
{ "XC_OPENDIALOG", "Open Dialog", 0, NULL },
|
|
||||||
{ "XC_PART", "Part", 3, NULL },
|
|
||||||
{ "XC_PARTREASON", "Part with Reason", 4, NULL },
|
|
||||||
{ "XC_PINGREP", "Ping Reply", 2, NULL },
|
|
||||||
{ "XC_PINGTIMEOUT", "Ping Timeout", 1, NULL },
|
|
||||||
{ "XC_PRIVMSG", "Private Message", 3, NULL },
|
|
||||||
{ "XC_DPRIVMSG", "Private Message to Dialog", 3, NULL },
|
|
||||||
{ "XC_ALREADYPROCESS", "Process Already Running", 0, NULL },
|
|
||||||
{ "XC_QUIT", "Quit", 3, NULL },
|
|
||||||
{ "XC_RAWMODES", "Raw Modes", 2, NULL },
|
|
||||||
{ "XC_WALLOPS", "Receive Wallops", 2, NULL },
|
|
||||||
{ "XC_RESOLVINGUSER", "Resolving User", 2, NULL },
|
|
||||||
{ "XC_SERVERCONNECTED", "Server Connected", 0, NULL },
|
|
||||||
{ "XC_SERVERERROR", "Server Error", 1, NULL },
|
|
||||||
{ "XC_SERVERLOOKUP", "Server Lookup", 1, NULL },
|
|
||||||
{ "XC_SERVNOTICE", "Server Notice", 2, NULL },
|
|
||||||
{ "XC_SERVTEXT", "Server Text", 2, NULL },
|
|
||||||
{ "XC_STOPCONNECT", "Stop Connection", 1, NULL },
|
|
||||||
{ "XC_TOPIC", "Topic", 2, NULL },
|
|
||||||
{ "XC_NEWTOPIC", "Topic Change", 3, NULL },
|
|
||||||
{ "XC_TOPICDATE", "Topic Creation", 3, NULL },
|
|
||||||
{ "XC_UKNHOST", "Unknown Host", 0, NULL },
|
|
||||||
{ "XC_USERLIMIT", "User Limit", 1, NULL },
|
|
||||||
{ "XC_USERSONCHAN", "Users On Channel", 2, NULL },
|
|
||||||
{ "XC_WHOIS_AUTH", "WhoIs Authenticated", 3, NULL },
|
|
||||||
{ "XC_WHOIS5", "WhoIs Away Line", 2, NULL },
|
|
||||||
{ "XC_WHOIS2", "WhoIs Channel/Oper Line", 2, NULL },
|
|
||||||
{ "XC_WHOIS6", "WhoIs End", 1, NULL },
|
|
||||||
{ "XC_WHOIS_ID", "WhoIs Identified", 2, NULL },
|
|
||||||
{ "XC_WHOIS4", "WhoIs Idle Line", 2, NULL },
|
|
||||||
{ "XC_WHOIS4T", "WhoIs Idle Line with Signon", 3, NULL },
|
|
||||||
{ "XC_WHOIS1", "WhoIs Name Line", 4, NULL },
|
|
||||||
{ "XC_WHOIS_REALHOST", "WhoIs Real Host", 4, NULL },
|
|
||||||
{ "XC_WHOIS3", "WhoIs Server Line", 2, NULL },
|
|
||||||
{ "XC_WHOIS_SPECIAL", "WhoIs Special", 3, NULL },
|
|
||||||
{ "XC_UJOIN", "You Join", 3, NULL },
|
|
||||||
{ "XC_UKICK", "You Kicked", 4, NULL },
|
|
||||||
{ "XC_UPART", "You Part", 3, NULL },
|
|
||||||
{ "XC_UPARTREASON", "You Part with Reason", 4, NULL },
|
|
||||||
{ "XC_UACTION", "Your Action", 3, NULL },
|
|
||||||
{ "XC_UINVITE", "Your Invitation", 3, NULL },
|
|
||||||
{ "XC_UCHANMSG", "Your Message", 4, NULL },
|
|
||||||
{ "XC_UCHANGENICK", "Your Nick Changing", 2, NULL }
|
|
||||||
};
|
|
||||||
|
|
|
@ -1,113 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
|
||||||
<ProjectConfiguration Include="Release|Win32">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Win32</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|x64">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>x64</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="printevents.h" />
|
|
||||||
<ClInclude Include="tclplugin.h" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="tclplugin.c" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="tcl.def" />
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup Label="Globals">
|
|
||||||
<ProjectGuid>{2773666A-8CFC-4533-A043-EAD59F16A1C7}</ProjectGuid>
|
|
||||||
<Keyword>Win32Proj</Keyword>
|
|
||||||
<RootNamespace>tcl</RootNamespace>
|
|
||||||
<ProjectName>tcl</ProjectName>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
|
||||||
<PlatformToolset>WDK7</PlatformToolset>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
|
||||||
<PlatformToolset>WDK7</PlatformToolset>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
||||||
<ImportGroup Label="ExtensionSettings">
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
<Import Project="..\..\win32\hexchat-xp.props" />
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
<Import Project="..\..\win32\hexchat-xp.props" />
|
|
||||||
</ImportGroup>
|
|
||||||
<PropertyGroup Label="UserMacros" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<LinkIncremental>false</LinkIncremental>
|
|
||||||
<TargetName>$(TclOutput)</TargetName>
|
|
||||||
<OutDir>$(HexChatBin)</OutDir>
|
|
||||||
<IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<LinkIncremental>false</LinkIncremental>
|
|
||||||
<TargetName>$(TclOutput)</TargetName>
|
|
||||||
<OutDir>$(HexChatBin)</OutDir>
|
|
||||||
<IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<ClCompile>
|
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
||||||
<Optimization>MaxSpeed</Optimization>
|
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;TCL_EXPORTS;TCL_DLL="$(TclLib).dll";$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<AdditionalIncludeDirectories>$(TclPath)\include;..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Windows</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
<AdditionalLibraryDirectories>$(TclPath)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
||||||
<AdditionalDependencies>"$(TclLib).lib";%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
<ModuleDefinitionFile>tcl.def</ModuleDefinitionFile>
|
|
||||||
<DelayLoadDLLs>$(TclLib).dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<ClCompile>
|
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
||||||
<Optimization>MaxSpeed</Optimization>
|
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
||||||
<PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;TCL_EXPORTS;TCL_DLL="$(TclLib).dll";$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<AdditionalIncludeDirectories>$(TclPath)\include;..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Windows</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
<AdditionalLibraryDirectories>$(TclPath)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
||||||
<AdditionalDependencies>"$(TclLib).lib";%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
<ModuleDefinitionFile>tcl.def</ModuleDefinitionFile>
|
|
||||||
<DelayLoadDLLs>$(TclLib).dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
||||||
<ImportGroup Label="ExtensionTargets">
|
|
||||||
</ImportGroup>
|
|
||||||
</Project>
|
|
|
@ -1,35 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup>
|
|
||||||
<Filter Include="Source Files">
|
|
||||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
|
||||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="Header Files">
|
|
||||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
|
||||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="Resource Files">
|
|
||||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
|
||||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
|
||||||
</Filter>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="printevents.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="tclplugin.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="tclplugin.c">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="tcl.def">
|
|
||||||
<Filter>Resource Files</Filter>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
|
@ -1,4 +0,0 @@
|
||||||
EXPORTS
|
|
||||||
hexchat_plugin_init
|
|
||||||
hexchat_plugin_deinit
|
|
||||||
hexchat_plugin_get_info
|
|
|
@ -1,110 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
|
||||||
<ProjectConfiguration Include="Release|Win32">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Win32</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|x64">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>x64</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="printevents.h" />
|
|
||||||
<ClInclude Include="tclplugin.h" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="tclplugin.c" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="tcl.def" />
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup Label="Globals">
|
|
||||||
<ProjectGuid>{2773666A-8CFC-4533-A043-EAD59F16A1C7}</ProjectGuid>
|
|
||||||
<Keyword>Win32Proj</Keyword>
|
|
||||||
<RootNamespace>tcl</RootNamespace>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
||||||
<ImportGroup Label="ExtensionSettings">
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
<Import Project="..\..\win32\hexchat.props" />
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
<Import Project="..\..\win32\hexchat.props" />
|
|
||||||
</ImportGroup>
|
|
||||||
<PropertyGroup Label="UserMacros" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<LinkIncremental>false</LinkIncremental>
|
|
||||||
<TargetName>$(TclOutput)</TargetName>
|
|
||||||
<OutDir>$(HexChatBin)</OutDir>
|
|
||||||
<IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<LinkIncremental>false</LinkIncremental>
|
|
||||||
<TargetName>$(TclOutput)</TargetName>
|
|
||||||
<OutDir>$(HexChatBin)</OutDir>
|
|
||||||
<IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<ClCompile>
|
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
||||||
<Optimization>MaxSpeed</Optimization>
|
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;TCL_EXPORTS;TCL_DLL="$(TclLib).dll";$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<AdditionalIncludeDirectories>$(TclPath)\include;..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Windows</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
<AdditionalLibraryDirectories>$(TclPath)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
||||||
<AdditionalDependencies>"$(TclLib).lib";%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
<ModuleDefinitionFile>tcl.def</ModuleDefinitionFile>
|
|
||||||
<DelayLoadDLLs>$(TclLib).dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
<ClCompile>
|
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
||||||
<Optimization>MaxSpeed</Optimization>
|
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
||||||
<PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;TCL_EXPORTS;TCL_DLL="$(TclLib).dll";$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<AdditionalIncludeDirectories>$(TclPath)\include;..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
||||||
</ClCompile>
|
|
||||||
<Link>
|
|
||||||
<SubSystem>Windows</SubSystem>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
<AdditionalLibraryDirectories>$(TclPath)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
||||||
<AdditionalDependencies>"$(TclLib).lib";%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
<ModuleDefinitionFile>tcl.def</ModuleDefinitionFile>
|
|
||||||
<DelayLoadDLLs>$(TclLib).dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
||||||
<ImportGroup Label="ExtensionTargets">
|
|
||||||
</ImportGroup>
|
|
||||||
</Project>
|
|
|
@ -1,35 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup>
|
|
||||||
<Filter Include="Source Files">
|
|
||||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
|
||||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="Header Files">
|
|
||||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
|
||||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="Resource Files">
|
|
||||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
|
||||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
|
||||||
</Filter>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="printevents.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="tclplugin.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="tclplugin.c">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="tcl.def">
|
|
||||||
<Filter>Resource Files</Filter>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,98 +0,0 @@
|
||||||
/***************************************************************************
|
|
||||||
tclplugin.h - TCL plugin header file
|
|
||||||
-------------------------------------------------
|
|
||||||
begin : Sat Nov 9 17:31:20 MST 2002
|
|
||||||
copyright : Copyright 2002-2012 Daniel P. Stasinski
|
|
||||||
email : daniel@GenericInbox.com
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
/***************************************************************************
|
|
||||||
* *
|
|
||||||
* 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 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#define BADARGS(nl,nh,example) \
|
|
||||||
if ((argc<(nl)) || (argc>(nh))) { \
|
|
||||||
Tcl_AppendResult(irp,"wrong # args: should be \"",argv[0], \
|
|
||||||
(example),"\"",NULL); \
|
|
||||||
return TCL_ERROR; \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define CHECKCTX(ctx) \
|
|
||||||
if (ctx == NULL) { \
|
|
||||||
Tcl_AppendResult(irp, "No such server/channel/nick", NULL); \
|
|
||||||
return TCL_ERROR; \
|
|
||||||
}
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
char *procPtr;
|
|
||||||
hexchat_hook *hook;
|
|
||||||
} alias;
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
int timerid;
|
|
||||||
time_t timestamp;
|
|
||||||
char *procPtr;
|
|
||||||
int count;
|
|
||||||
int seconds;
|
|
||||||
} timer;
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
int result;
|
|
||||||
int defresult;
|
|
||||||
char **word;
|
|
||||||
char **word_eol;
|
|
||||||
} t_complete;
|
|
||||||
|
|
||||||
#define MAX_TIMERS 512
|
|
||||||
#define MAX_COMPLETES 128
|
|
||||||
|
|
||||||
static char *StrDup(const char *string, int *length);
|
|
||||||
static char *myitoa(long value);
|
|
||||||
static hexchat_context *xchat_smart_context(const char *arg1, const char *arg2);
|
|
||||||
static void queue_nexttimer();
|
|
||||||
static int insert_timer(int seconds, int count, const char *script);
|
|
||||||
static void do_timer();
|
|
||||||
static int Server_raw_line(char *word[], char *word_eol[], void *userdata);
|
|
||||||
static int Print_Hook(char *word[], void *userdata);
|
|
||||||
static int tcl_timerexists(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_killtimer(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_timers(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_timer(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_on(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_off(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_alias(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_complete(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_raw(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_command(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_xchat_puts(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_print(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_channels(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_servers(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_queries(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_users(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_chats(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_ignores(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_dcclist(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_me(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_hexchat_nickcmp(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_strip(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_topic(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_word(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_word_eol(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int tcl_notifylist(ClientData cd, Tcl_Interp * irp, int argc, const char *argv[]);
|
|
||||||
static int Command_Alias(char *word[], char *word_eol[], void *userdata);
|
|
||||||
static int Null_Command_Alias(char *word[], char *word_eol[], void *userdata);
|
|
||||||
static int Command_TCL(char *word[], char *word_eol[], void *userdata);
|
|
||||||
static int Command_Source(char *word[], char *word_eol[], void *userdata);
|
|
||||||
/* static int Command_Reload(char *word[], char *word_eol[], void *userdata); */
|
|
||||||
static int TCL_Event_Handler(void *userdata);
|
|
||||||
static void Tcl_Plugin_Init();
|
|
||||||
static void Tcl_Plugin_DeInit();
|
|
||||||
static void banner();
|
|
||||||
int hexchat_plugin_init(hexchat_plugin * plugin_handle, char **plugin_name, char **plugin_desc, char **plugin_version, char *arg);
|
|
||||||
int hexchat_plugin_deinit();
|
|
|
@ -17,11 +17,6 @@
|
||||||
<DepsRoot>$(YourDepsPath)\$(PlatformName)</DepsRoot>
|
<DepsRoot>$(YourDepsPath)\$(PlatformName)</DepsRoot>
|
||||||
<GendefPath>$(YourGendefPath)</GendefPath>
|
<GendefPath>$(YourGendefPath)</GendefPath>
|
||||||
<MsgfmtPath>$(YourMsgfmtPath)</MsgfmtPath>
|
<MsgfmtPath>$(YourMsgfmtPath)</MsgfmtPath>
|
||||||
<!--LuaLib>lua51</LuaLib>
|
|
||||||
<LuaOutput>hclua</LuaOutput>
|
|
||||||
<TclPath>$(YourTclPath)\$(PlatformName)</TclPath>
|
|
||||||
<TclLib>tcl85</TclLib>
|
|
||||||
<TclOutput>hctcl</TclOutput>
|
|
||||||
<Perl512Path>$(YourPerl512Path)\$(PlatformName)</Perl512Path>
|
<Perl512Path>$(YourPerl512Path)\$(PlatformName)</Perl512Path>
|
||||||
<Perl512Lib>perl512</Perl512Lib>
|
<Perl512Lib>perl512</Perl512Lib>
|
||||||
<Perl512Output>hcperl-512</Perl512Output>
|
<Perl512Output>hcperl-512</Perl512Output>
|
||||||
|
@ -71,7 +66,6 @@ copy "$(DepsRoot)\bin\libenchant.dll" "$(HexChatRel)"
|
||||||
copy "$(DepsRoot)\bin\libintl.dll" "$(HexChatRel)"
|
copy "$(DepsRoot)\bin\libintl.dll" "$(HexChatRel)"
|
||||||
copy "$(DepsRoot)\bin\libpng15.dll" "$(HexChatRel)"
|
copy "$(DepsRoot)\bin\libpng15.dll" "$(HexChatRel)"
|
||||||
copy "$(DepsRoot)\bin\libxml2.dll" "$(HexChatRel)"
|
copy "$(DepsRoot)\bin\libxml2.dll" "$(HexChatRel)"
|
||||||
::copy "$(DepsRoot)\bin\lua51.dll" "$(HexChatRel)"
|
|
||||||
copy "$(DepsRoot)\bin\pango-1.0.dll" "$(HexChatRel)"
|
copy "$(DepsRoot)\bin\pango-1.0.dll" "$(HexChatRel)"
|
||||||
copy "$(DepsRoot)\bin\pangocairo-1.0.dll" "$(HexChatRel)"
|
copy "$(DepsRoot)\bin\pangocairo-1.0.dll" "$(HexChatRel)"
|
||||||
copy "$(DepsRoot)\bin\pangoft2-1.0.dll" "$(HexChatRel)"
|
copy "$(DepsRoot)\bin\pangoft2-1.0.dll" "$(HexChatRel)"
|
||||||
|
@ -91,13 +85,11 @@ copy "$(HexChatBin)hcdoat.dll" "$(HexChatRel)\plugins"
|
||||||
copy "$(HexChatBin)hcexec.dll" "$(HexChatRel)\plugins"
|
copy "$(HexChatBin)hcexec.dll" "$(HexChatRel)\plugins"
|
||||||
copy "$(HexChatBin)hcfishlim.dll" "$(HexChatRel)\plugins"
|
copy "$(HexChatBin)hcfishlim.dll" "$(HexChatRel)\plugins"
|
||||||
copy "$(HexChatBin)hchextray.dll" "$(HexChatRel)\plugins"
|
copy "$(HexChatBin)hchextray.dll" "$(HexChatRel)\plugins"
|
||||||
::copy "$(HexChatBin)hclua.dll" "$(HexChatRel)\plugins"
|
|
||||||
copy "$(HexChatBin)hcmpcinfo.dll" "$(HexChatRel)\plugins"
|
copy "$(HexChatBin)hcmpcinfo.dll" "$(HexChatRel)\plugins"
|
||||||
::copy "$(HexChatBin)hcperl-512.dll" "$(HexChatRel)\plugins"
|
::copy "$(HexChatBin)hcperl-512.dll" "$(HexChatRel)\plugins"
|
||||||
::copy "$(HexChatBin)hcperl-514.dll" "$(HexChatRel)\plugins"
|
::copy "$(HexChatBin)hcperl-514.dll" "$(HexChatRel)\plugins"
|
||||||
copy "$(HexChatBin)hcperl-516.dll" "$(HexChatRel)\plugins"
|
copy "$(HexChatBin)hcperl-516.dll" "$(HexChatRel)\plugins"
|
||||||
copy "$(HexChatBin)hcpython.dll" "$(HexChatRel)\plugins"
|
copy "$(HexChatBin)hcpython.dll" "$(HexChatRel)\plugins"
|
||||||
::copy "$(HexChatBin)hctcl.dll" "$(HexChatRel)\plugins"
|
|
||||||
copy "$(HexChatBin)hcupd.dll" "$(HexChatRel)\plugins"
|
copy "$(HexChatBin)hcupd.dll" "$(HexChatRel)\plugins"
|
||||||
copy "$(HexChatBin)hcwinamp.dll" "$(HexChatRel)\plugins"
|
copy "$(HexChatBin)hcwinamp.dll" "$(HexChatRel)\plugins"
|
||||||
copy "$(HexChatBin)hcsysinfo.dll" "$(HexChatRel)\plugins"
|
copy "$(HexChatBin)hcsysinfo.dll" "$(HexChatRel)\plugins"
|
||||||
|
|
|
@ -47,11 +47,8 @@ Name: "plugins\upd"; Description: "Update Checker"; Types: normal custom; Flags:
|
||||||
Name: "plugins\winamp"; Description: "Winamp"; Types: custom; Flags: disablenouninstallwarning
|
Name: "plugins\winamp"; Description: "Winamp"; Types: custom; Flags: disablenouninstallwarning
|
||||||
Name: "plugins\wmpa"; Description: "Windows Media Player Announcer"; Types: custom; Flags: disablenouninstallwarning
|
Name: "plugins\wmpa"; Description: "Windows Media Player Announcer"; Types: custom; Flags: disablenouninstallwarning
|
||||||
Name: "langs"; Description: "Language Interfaces"; Types: custom; Flags: disablenouninstallwarning
|
Name: "langs"; Description: "Language Interfaces"; Types: custom; Flags: disablenouninstallwarning
|
||||||
;Name: "langs\lua"; Description: "Lua"; Types: custom; Flags: disablenouninstallwarning
|
|
||||||
;Name: "langs\lua\luawdk"; Description: "Lua-WDK"; Types: custom; Flags: disablenouninstallwarning
|
|
||||||
Name: "langs\perl"; Description: "Perl"; Types: custom; Flags: disablenouninstallwarning
|
Name: "langs\perl"; Description: "Perl"; Types: custom; Flags: disablenouninstallwarning
|
||||||
Name: "langs\python"; Description: "Python"; Types: custom; Flags: disablenouninstallwarning
|
Name: "langs\python"; Description: "Python"; Types: custom; Flags: disablenouninstallwarning
|
||||||
;Name: "langs\tcl"; Description: "Tcl"; Types: custom; Flags: disablenouninstallwarning
|
|
||||||
|
|
||||||
[Tasks]
|
[Tasks]
|
||||||
Name: portable; Description: "Yes"; GroupDescription: "Portable Install (no Registry entries, no Start Menu icons, no uninstaller):"; Flags: unchecked
|
Name: portable; Description: "Yes"; GroupDescription: "Portable Install (no Registry entries, no Start Menu icons, no uninstaller):"; Flags: unchecked
|
||||||
|
@ -110,7 +107,6 @@ Source: "libenchant.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: li
|
||||||
Source: "libintl.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "libintl.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "libpng15.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "libpng15.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "libxml2.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "libxml2.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
;Source: "lua51.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
|
||||||
Source: "pango-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "pango-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "pangocairo-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "pangocairo-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "pangoft2-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "pangoft2-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
|
@ -151,9 +147,7 @@ Source: "etc\system.png"; DestDir: "{app}\etc"; Flags: ignoreversion; Components
|
||||||
Source: "plugins\hcsysinfo.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\sysinfo
|
Source: "plugins\hcsysinfo.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\sysinfo
|
||||||
Source: "plugins\hcwmpa.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\wmpa
|
Source: "plugins\hcwmpa.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\wmpa
|
||||||
|
|
||||||
;Source: "plugins\hclua.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: langs\lua
|
|
||||||
Source: "plugins\hcpython.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: langs\python
|
Source: "plugins\hcpython.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: langs\python
|
||||||
;Source: "plugins\hctcl.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: langs\tcl
|
|
||||||
|
|
||||||
;Source: "plugins\hcperl-512.dll"; DestDir: "{app}\plugins"; DestName: "hcperl.dll"; Flags: ignoreversion; Components: langs\perl; Tasks: perl512
|
;Source: "plugins\hcperl-512.dll"; DestDir: "{app}\plugins"; DestName: "hcperl.dll"; Flags: ignoreversion; Components: langs\perl; Tasks: perl512
|
||||||
;Source: "plugins\hcperl-514.dll"; DestDir: "{app}\plugins"; DestName: "hcperl.dll"; Flags: ignoreversion; Components: langs\perl; Tasks: perl514
|
;Source: "plugins\hcperl-514.dll"; DestDir: "{app}\plugins"; DestName: "hcperl.dll"; Flags: ignoreversion; Components: langs\perl; Tasks: perl514
|
||||||
|
|
|
@ -46,11 +46,8 @@ Name: "plugins\upd"; Description: "Update Checker"; Types: normal custom; Flags:
|
||||||
Name: "plugins\winamp"; Description: "Winamp"; Types: custom; Flags: disablenouninstallwarning
|
Name: "plugins\winamp"; Description: "Winamp"; Types: custom; Flags: disablenouninstallwarning
|
||||||
Name: "plugins\wmpa"; Description: "Windows Media Player Announcer"; Types: custom; Flags: disablenouninstallwarning
|
Name: "plugins\wmpa"; Description: "Windows Media Player Announcer"; Types: custom; Flags: disablenouninstallwarning
|
||||||
Name: "langs"; Description: "Language Interfaces"; Types: custom; Flags: disablenouninstallwarning
|
Name: "langs"; Description: "Language Interfaces"; Types: custom; Flags: disablenouninstallwarning
|
||||||
;Name: "langs\lua"; Description: "Lua"; Types: custom; Flags: disablenouninstallwarning
|
|
||||||
;Name: "langs\lua\luawdk"; Description: "Lua-WDK"; Types: custom; Flags: disablenouninstallwarning
|
|
||||||
Name: "langs\perl"; Description: "Perl"; Types: custom; Flags: disablenouninstallwarning
|
Name: "langs\perl"; Description: "Perl"; Types: custom; Flags: disablenouninstallwarning
|
||||||
Name: "langs\python"; Description: "Python"; Types: custom; Flags: disablenouninstallwarning
|
Name: "langs\python"; Description: "Python"; Types: custom; Flags: disablenouninstallwarning
|
||||||
;Name: "langs\tcl"; Description: "Tcl"; Types: custom; Flags: disablenouninstallwarning
|
|
||||||
|
|
||||||
[Tasks]
|
[Tasks]
|
||||||
Name: portable; Description: "Yes"; GroupDescription: "Portable Install (no Registry entries, no Start Menu icons, no uninstaller):"; Flags: unchecked
|
Name: portable; Description: "Yes"; GroupDescription: "Portable Install (no Registry entries, no Start Menu icons, no uninstaller):"; Flags: unchecked
|
||||||
|
@ -109,7 +106,6 @@ Source: "libenchant.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: li
|
||||||
Source: "libintl.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "libintl.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "libpng15.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "libpng15.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "libxml2.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "libxml2.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
;Source: "lua51.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
|
||||||
Source: "pango-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "pango-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "pangocairo-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "pangocairo-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "pangoft2-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "pangoft2-1.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
|
@ -150,9 +146,7 @@ Source: "etc\system.png"; DestDir: "{app}\etc"; Flags: ignoreversion; Components
|
||||||
Source: "plugins\hcsysinfo.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\sysinfo
|
Source: "plugins\hcsysinfo.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\sysinfo
|
||||||
Source: "plugins\hcwmpa.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\wmpa
|
Source: "plugins\hcwmpa.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: plugins\wmpa
|
||||||
|
|
||||||
;Source: "plugins\hclua.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: langs\lua
|
|
||||||
Source: "plugins\hcpython.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: langs\python
|
Source: "plugins\hcpython.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: langs\python
|
||||||
;Source: "plugins\hctcl.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: langs\tcl
|
|
||||||
|
|
||||||
;Source: "plugins\hcperl-512.dll"; DestDir: "{app}\plugins"; DestName: "hcperl.dll"; Flags: ignoreversion; Components: langs\perl; Tasks: perl512
|
;Source: "plugins\hcperl-512.dll"; DestDir: "{app}\plugins"; DestName: "hcperl.dll"; Flags: ignoreversion; Components: langs\perl; Tasks: perl512
|
||||||
;Source: "plugins\hcperl-514.dll"; DestDir: "{app}\plugins"; DestName: "hcperl.dll"; Flags: ignoreversion; Components: langs\perl; Tasks: perl514
|
;Source: "plugins\hcperl-514.dll"; DestDir: "{app}\plugins"; DestName: "hcperl.dll"; Flags: ignoreversion; Components: langs\perl; Tasks: perl514
|
||||||
|
|
Loading…
Reference in New Issue