Skip to content
This repository
Browse code

remove old sasl plugin

  • Loading branch information...
commit ed786843de94359a0f3dd9ccea1d3796c3a33d12 1 parent 285ddd0
authored
8  plugins/sasl/Makefile.am
... ...
@@ -1,8 +0,0 @@
1  
-libdir = $(hexchatlibdir)/plugins
2  
-
3  
-lib_LTLIBRARIES = sasl.la
4  
-sasl_la_SOURCES = sasl.c
5  
-sasl_la_LDFLAGS = -avoid-version -module 
6  
-sasl_la_LIBADD = 
7  
-AM_CPPFLAGS = $(COMMON_CFLAGS) -I$(srcdir)/../../src/common
8  
-
109  plugins/sasl/sasl-xp.vcxproj
... ...
@@ -1,109 +0,0 @@
1  
-<?xml version="1.0" encoding="utf-8"?>
2  
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  
-  <ItemGroup Label="ProjectConfigurations">
4  
-    <ProjectConfiguration Include="Release|Win32">
5  
-      <Configuration>Release</Configuration>
6  
-      <Platform>Win32</Platform>
7  
-    </ProjectConfiguration>
8  
-    <ProjectConfiguration Include="Release|x64">
9  
-      <Configuration>Release</Configuration>
10  
-      <Platform>x64</Platform>
11  
-    </ProjectConfiguration>
12  
-  </ItemGroup>
13  
-  <PropertyGroup Label="Globals">
14  
-    <ProjectGuid>{18871EBA-AC85-4652-8919-EB8064B9A714}</ProjectGuid>
15  
-    <Keyword>Win32Proj</Keyword>
16  
-    <RootNamespace>sasl</RootNamespace>
17  
-    <ProjectName>sasl</ProjectName>
18  
-  </PropertyGroup>
19  
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
20  
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
21  
-    <ConfigurationType>DynamicLibrary</ConfigurationType>
22  
-    <UseDebugLibraries>false</UseDebugLibraries>
23  
-    <WholeProgramOptimization>true</WholeProgramOptimization>
24  
-    <CharacterSet>MultiByte</CharacterSet>
25  
-    <PlatformToolset>WDK7</PlatformToolset>
26  
-  </PropertyGroup>
27  
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
28  
-    <ConfigurationType>DynamicLibrary</ConfigurationType>
29  
-    <UseDebugLibraries>false</UseDebugLibraries>
30  
-    <WholeProgramOptimization>true</WholeProgramOptimization>
31  
-    <CharacterSet>MultiByte</CharacterSet>
32  
-    <PlatformToolset>WDK7</PlatformToolset>
33  
-  </PropertyGroup>
34  
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
35  
-  <ImportGroup Label="ExtensionSettings">
36  
-  </ImportGroup>
37  
-  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
38  
-    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
39  
-    <Import Project="..\..\win32\hexchat-xp.props" />
40  
-  </ImportGroup>
41  
-  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
42  
-    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
43  
-    <Import Project="..\..\win32\hexchat-xp.props" />
44  
-  </ImportGroup>
45  
-  <PropertyGroup Label="UserMacros" />
46  
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
47  
-    <LinkIncremental>false</LinkIncremental>
48  
-    <TargetName>hcsasl</TargetName>
49  
-    <OutDir>$(HexChatBin)</OutDir>
50  
-    <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
51  
-  </PropertyGroup>
52  
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
53  
-    <LinkIncremental>false</LinkIncremental>
54  
-    <TargetName>hcsasl</TargetName>
55  
-    <OutDir>$(HexChatBin)</OutDir>
56  
-    <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
57  
-  </PropertyGroup>
58  
-  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
59  
-    <ClCompile>
60  
-      <PrecompiledHeader>
61  
-      </PrecompiledHeader>
62  
-      <Optimization>MaxSpeed</Optimization>
63  
-      <FunctionLevelLinking>true</FunctionLevelLinking>
64  
-      <IntrinsicFunctions>true</IntrinsicFunctions>
65  
-      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SASL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
66  
-      <AdditionalIncludeDirectories>$(Glib);..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
67  
-      <MultiProcessorCompilation>true</MultiProcessorCompilation>
68  
-    </ClCompile>
69  
-    <Link>
70  
-      <SubSystem>Windows</SubSystem>
71  
-      <GenerateDebugInformation>true</GenerateDebugInformation>
72  
-      <EnableCOMDATFolding>true</EnableCOMDATFolding>
73  
-      <OptimizeReferences>true</OptimizeReferences>
74  
-      <ModuleDefinitionFile>sasl.def</ModuleDefinitionFile>
75  
-      <AdditionalLibraryDirectories>$(DepsRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
76  
-      <AdditionalDependencies>$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies>
77  
-    </Link>
78  
-  </ItemDefinitionGroup>
79  
-  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
80  
-    <ClCompile>
81  
-      <PrecompiledHeader>
82  
-      </PrecompiledHeader>
83  
-      <Optimization>MaxSpeed</Optimization>
84  
-      <FunctionLevelLinking>true</FunctionLevelLinking>
85  
-      <IntrinsicFunctions>true</IntrinsicFunctions>
86  
-      <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;SASL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
87  
-      <AdditionalIncludeDirectories>$(Glib);..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
88  
-      <MultiProcessorCompilation>true</MultiProcessorCompilation>
89  
-    </ClCompile>
90  
-    <Link>
91  
-      <SubSystem>Windows</SubSystem>
92  
-      <GenerateDebugInformation>true</GenerateDebugInformation>
93  
-      <EnableCOMDATFolding>true</EnableCOMDATFolding>
94  
-      <OptimizeReferences>true</OptimizeReferences>
95  
-      <ModuleDefinitionFile>sasl.def</ModuleDefinitionFile>
96  
-      <AdditionalLibraryDirectories>$(DepsRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
97  
-      <AdditionalDependencies>$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies>
98  
-    </Link>
99  
-  </ItemDefinitionGroup>
100  
-  <ItemGroup>
101  
-    <None Include="sasl.def" />
102  
-  </ItemGroup>
103  
-  <ItemGroup>
104  
-    <ClCompile Include="sasl.c" />
105  
-  </ItemGroup>
106  
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
107  
-  <ImportGroup Label="ExtensionTargets">
108  
-  </ImportGroup>
109  
-</Project>
23  plugins/sasl/sasl-xp.vcxproj.filters
... ...
@@ -1,23 +0,0 @@
1  
-<?xml version="1.0" encoding="utf-8"?>
2  
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  
-  <ItemGroup>
4  
-    <Filter Include="Source Files">
5  
-      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6  
-      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7  
-    </Filter>
8  
-    <Filter Include="Resource Files">
9  
-      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
10  
-      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
11  
-    </Filter>
12  
-  </ItemGroup>
13  
-  <ItemGroup>
14  
-    <None Include="sasl.def">
15  
-      <Filter>Resource Files</Filter>
16  
-    </None>
17  
-  </ItemGroup>
18  
-  <ItemGroup>
19  
-    <ClCompile Include="sasl.c">
20  
-      <Filter>Source Files</Filter>
21  
-    </ClCompile>
22  
-  </ItemGroup>
23  
-</Project>
315  plugins/sasl/sasl.c
... ...
@@ -1,315 +0,0 @@
1  
-/* HexChat
2  
- * Copyright (c) 2010 <ygrek@autistici.org>
3  
- * Copyright (c) 2012 Berke Viktor.
4  
- *
5  
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6  
- * of this software and associated documentation files (the "Software"), to deal
7  
- * in the Software without restriction, including without limitation the rights
8  
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9  
- * copies of the Software, and to permit persons to whom the Software is
10  
- * furnished to do so, subject to the following conditions:
11  
- *
12  
- * The above copyright notice and this permission notice shall be included in
13  
- * all copies or substantial portions of the Software.
14  
- *
15  
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18  
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20  
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21  
- * THE SOFTWARE.
22  
- */
23  
-
24  
-/*
25  
- * SASL authentication plugin for HexChat
26  
- * Extremely primitive: only PLAIN, no error checking
27  
- *
28  
- * http://ygrek.org.ua/p/cap_sasl.html
29  
- *
30  
- * Docs:
31  
- *  http://hg.atheme.org/charybdis/charybdis/file/6144f52a119b/doc/sasl.txt
32  
- *  http://tools.ietf.org/html/rfc4422
33  
- */
34  
-
35  
-#include <stdio.h>
36  
-#include <string.h>
37  
-#include <stdlib.h>
38  
-#include <assert.h>
39  
-#include <glib.h>
40  
-
41  
-#include "hexchat-plugin.h"
42  
-
43  
-static hexchat_plugin *ph;   /* plugin handle */
44  
-static char name[] = "SASL";
45  
-static char desc[] = "SASL authentication plugin for HexChat";
46  
-static char version[] = "1.2";
47  
-static const char sasl_help[] = "SASL Usage:\n /SASL ADD <login> <password> <network>, enable/update SASL authentication for given network\n /SASL DEL <network>, disable SASL authentication for given network\n /SASL LIST, get the list of SASL-enabled networks\n";
48  
-
49  
-struct sasl_info
50  
-{
51  
-	char const* login;
52  
-	char const* password;
53  
-	char const* network;
54  
-};
55  
-
56  
-typedef struct sasl_info sasl_info;
57  
-
58  
-static int
59  
-add_info (char const* login, char const* password, char const* network)
60  
-{
61  
-	char buffer[512];
62  
-
63  
-	sprintf (buffer, "%s:%s", login, password);
64  
-	return hexchat_pluginpref_set_str (ph, network, buffer);
65  
-}
66  
-
67  
-static int
68  
-del_info (char const* network)
69  
-{
70  
-	return hexchat_pluginpref_delete (ph, network);
71  
-}
72  
-
73  
-static void
74  
-print_info ()
75  
-{
76  
-	char list[512];
77  
-	char* token;
78  
-
79  
-	if (hexchat_pluginpref_list (ph, list))
80  
-	{
81  
-		hexchat_printf (ph, "%s\tSASL-enabled networks:", name);
82  
-		hexchat_printf (ph, "%s\t----------------------", name);
83  
-		token = strtok (list, ",");
84  
-		while (token != NULL)
85  
-		{
86  
-			hexchat_printf (ph, "%s\t%s", name, token);
87  
-			token = strtok (NULL, ",");
88  
-		}
89  
-	}
90  
-	else
91  
-	{
92  
-		hexchat_printf (ph, "%s\tThere are no SASL-enabled networks currently", name);
93  
-	}
94  
-}
95  
-
96  
-static sasl_info*
97  
-find_info (char const* network)
98  
-{
99  
-	char buffer[512];
100  
-	char* token;
101  
-	sasl_info* cur = (sasl_info*) malloc (sizeof (sasl_info));
102  
-
103  
-	if (hexchat_pluginpref_get_str (ph, network, buffer))
104  
-	{
105  
-		token = strtok (buffer, ":");
106  
-		cur->login = g_strdup (token);
107  
-		token = strtok (NULL, ":");
108  
-		cur->password = g_strdup (token);
109  
-		cur->network = g_strdup (network);
110  
-
111  
-		return cur;
112  
-	}
113  
-
114  
-	return NULL;
115  
-}
116  
-
117  
-static sasl_info*
118  
-get_info (void)
119  
-{
120  
-	const char* name;
121  
-	name = hexchat_get_info (ph, "network");
122  
-
123  
-	if (name)
124  
-	{
125  
-		return find_info (name);
126  
-	}
127  
-	else
128  
-	{
129  
-		return NULL;
130  
-	}
131  
-}
132  
-
133  
-static int
134  
-authend_cb (char *word[], char *word_eol[], void *userdata)
135  
-{
136  
-	if (get_info ())
137  
-	{
138  
-		/* omit cryptic server message parts */
139  
-		hexchat_printf (ph, "%s\t%s\n", name, ++word_eol[4]);
140  
-		hexchat_commandf (ph, "QUOTE CAP END");
141  
-	}
142  
-
143  
-	return HEXCHAT_EAT_ALL;
144  
-}
145  
-
146  
-/*
147  
-static int
148  
-disconnect_cb (char *word[], void *userdata)
149  
-{
150  
-	hexchat_printf (ph, "disconnected\n");
151  
-	return HEXCHAT_EAT_NONE;
152  
-}
153  
-*/
154  
-
155  
-static int
156  
-server_cb (char *word[], char *word_eol[], void *userdata)
157  
-{
158  
-	size_t len;
159  
-	char* buf;
160  
-	char* enc;
161  
-	sasl_info* p;
162  
-
163  
-	if (strcmp ("AUTHENTICATE", word[1]) == 0 && strcmp ("+", word[2]) == 0)
164  
-	{
165  
-		p = get_info ();
166  
-
167  
-		if (!p)
168  
-		{
169  
-			return HEXCHAT_EAT_NONE;
170  
-		}
171  
-
172  
-		hexchat_printf (ph, "%s\tAuthenticating as %s\n", name, p->login);
173  
-
174  
-		len = strlen (p->login) * 2 + 2 + strlen (p->password);
175  
-		buf = (char*) malloc (len + 1);
176  
-		strcpy (buf, p->login);
177  
-		strcpy (buf + strlen (p->login) + 1, p->login);
178  
-		strcpy (buf + strlen (p->login) * 2 + 2, p->password);
179  
-		enc = g_base64_encode ((unsigned char*) buf, len);
180  
-
181  
-		/* hexchat_printf (ph, "AUTHENTICATE %s\}", enc); */
182  
-		hexchat_commandf (ph, "QUOTE AUTHENTICATE %s", enc);
183  
-
184  
-		free (enc);
185  
-		free (buf);
186  
-
187  
-		return HEXCHAT_EAT_ALL;
188  
-	}
189  
-
190  
-	return HEXCHAT_EAT_NONE;
191  
-}
192  
-
193  
-static int
194  
-cap_cb (char *word[], char *word_eol[], void *userdata)
195  
-{
196  
-	if (get_info ())
197  
-	{
198  
-		/* FIXME test sasl cap */
199  
-		/* this is visible in the rawlog in case someone needs it, otherwise it's just noise */
200  
-		/* hexchat_printf (ph, "%s\t%s\n", name, word_eol[1]); */
201  
-		hexchat_commandf (ph, "QUOTE AUTHENTICATE PLAIN");
202  
-	}
203  
-
204  
-	return HEXCHAT_EAT_ALL;
205  
-}
206  
-
207  
-static int
208  
-sasl_cmd_cb (char *word[], char *word_eol[], void *userdata)
209  
-{
210  
-	const char* login;
211  
-	const char* password;
212  
-	const char* network;
213  
-	const char* mode = word[2];
214  
-
215  
-	if (!g_ascii_strcasecmp ("ADD", mode))
216  
-	{
217  
-		login = word[3];
218  
-		password = word[4];
219  
-		network = word_eol[5];
220  
-
221  
-		if (!network || !*network)	/* only check for the last word, if it's there, the previous ones will be there, too */
222  
-		{
223  
-			hexchat_printf (ph, "%s", sasl_help);
224  
-			return HEXCHAT_EAT_ALL;
225  
-		}
226  
-
227  
-		if (add_info (login, password, network))
228  
-		{
229  
-			hexchat_printf (ph, "%s\tEnabled SASL authentication for the \"%s\" network\n", name, network);
230  
-		}
231  
-		else
232  
-		{
233  
-			hexchat_printf (ph, "%s\tFailed to enable SASL authentication for the \"%s\" network\n", name, network);
234  
-		}
235  
-
236  
-		return HEXCHAT_EAT_ALL;
237  
-	}
238  
-	else if (!g_ascii_strcasecmp ("DEL", mode))
239  
-	{
240  
-		network = word_eol[3];
241  
-
242  
-		if (!network || !*network)
243  
-		{
244  
-			hexchat_printf (ph, "%s", sasl_help);
245  
-			return HEXCHAT_EAT_ALL;
246  
-		}
247  
-
248  
-		if (del_info (network))
249  
-		{
250  
-			hexchat_printf (ph, "%s\tDisabled SASL authentication for the \"%s\" network\n", name, network);
251  
-		}
252  
-		else
253  
-		{
254  
-			hexchat_printf (ph, "%s\tFailed to disable SASL authentication for the \"%s\" network\n", name, network);
255  
-		}
256  
-
257  
-		return HEXCHAT_EAT_ALL;
258  
-	}
259  
-	else if (!g_ascii_strcasecmp ("LIST", mode))
260  
-	{
261  
-		print_info ();
262  
-		return HEXCHAT_EAT_ALL;
263  
-	}
264  
-	else
265  
-	{
266  
-		hexchat_printf (ph, "%s", sasl_help);
267  
-		return HEXCHAT_EAT_ALL;
268  
-	}
269  
-}
270  
-
271  
-static int
272  
-connect_cb (char *word[], void *userdata)
273  
-{
274  
-	if (get_info ())
275  
-	{
276  
-		hexchat_printf (ph, "%s\tSASL enabled\n", name);
277  
-		hexchat_commandf (ph, "QUOTE CAP REQ :sasl");
278  
-	}
279  
-
280  
-	return HEXCHAT_EAT_NONE;
281  
-}
282  
-
283  
-int
284  
-hexchat_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name, char **plugin_desc, char **plugin_version, char *arg)
285  
-{
286  
-	/* we need to save this for use with any hexchat_* functions */
287  
-	ph = plugin_handle;
288  
-
289  
-	/* tell HexChat our info */
290  
-	*plugin_name = name;
291  
-	*plugin_desc = desc;
292  
-	*plugin_version = version;
293  
-
294  
-	hexchat_hook_command (ph, "SASL", HEXCHAT_PRI_NORM, sasl_cmd_cb, sasl_help, 0);
295  
-	hexchat_hook_print (ph, "Connected", HEXCHAT_PRI_NORM, connect_cb, NULL);
296  
-	/* hexchat_hook_print (ph, "Disconnected", HEXCHAT_PRI_NORM, disconnect_cb, NULL); */
297  
-	hexchat_hook_server (ph, "CAP", HEXCHAT_PRI_NORM, cap_cb, NULL);
298  
-	hexchat_hook_server (ph, "RAW LINE", HEXCHAT_PRI_NORM, server_cb, NULL);
299  
-	hexchat_hook_server (ph, "903", HEXCHAT_PRI_NORM, authend_cb, NULL);
300  
-	hexchat_hook_server (ph, "904", HEXCHAT_PRI_NORM, authend_cb, NULL);
301  
-	hexchat_hook_server (ph, "905", HEXCHAT_PRI_NORM, authend_cb, NULL);
302  
-	hexchat_hook_server (ph, "906", HEXCHAT_PRI_NORM, authend_cb, NULL);
303  
-	hexchat_hook_server (ph, "907", HEXCHAT_PRI_NORM, authend_cb, NULL);
304  
-
305  
-	hexchat_printf (ph, "%s plugin loaded\n", name);
306  
-
307  
-	return 1;
308  
-}
309  
-
310  
-int
311  
-hexchat_plugin_deinit (void)
312  
-{
313  
-	hexchat_printf (ph, "%s plugin unloaded\n", name);
314  
-	return 1;
315  
-}
3  plugins/sasl/sasl.def
... ...
@@ -1,3 +0,0 @@
1  
-EXPORTS 
2  
-hexchat_plugin_init 
3  
-hexchat_plugin_deinit 
106  plugins/sasl/sasl.vcxproj
... ...
@@ -1,106 +0,0 @@
1  
-<?xml version="1.0" encoding="utf-8"?>
2  
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  
-  <ItemGroup Label="ProjectConfigurations">
4  
-    <ProjectConfiguration Include="Release|Win32">
5  
-      <Configuration>Release</Configuration>
6  
-      <Platform>Win32</Platform>
7  
-    </ProjectConfiguration>
8  
-    <ProjectConfiguration Include="Release|x64">
9  
-      <Configuration>Release</Configuration>
10  
-      <Platform>x64</Platform>
11  
-    </ProjectConfiguration>
12  
-  </ItemGroup>
13  
-  <PropertyGroup Label="Globals">
14  
-    <ProjectGuid>{18871EBA-AC85-4652-8919-EB8064B9A714}</ProjectGuid>
15  
-    <Keyword>Win32Proj</Keyword>
16  
-    <RootNamespace>sasl</RootNamespace>
17  
-  </PropertyGroup>
18  
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19  
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
20  
-    <ConfigurationType>DynamicLibrary</ConfigurationType>
21  
-    <UseDebugLibraries>false</UseDebugLibraries>
22  
-    <WholeProgramOptimization>true</WholeProgramOptimization>
23  
-    <CharacterSet>MultiByte</CharacterSet>
24  
-  </PropertyGroup>
25  
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
26  
-    <ConfigurationType>DynamicLibrary</ConfigurationType>
27  
-    <UseDebugLibraries>false</UseDebugLibraries>
28  
-    <WholeProgramOptimization>true</WholeProgramOptimization>
29  
-    <CharacterSet>MultiByte</CharacterSet>
30  
-  </PropertyGroup>
31  
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
32  
-  <ImportGroup Label="ExtensionSettings">
33  
-  </ImportGroup>
34  
-  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
35  
-    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
36  
-    <Import Project="..\..\win32\hexchat.props" />
37  
-  </ImportGroup>
38  
-  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
39  
-    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
40  
-    <Import Project="..\..\win32\hexchat.props" />
41  
-  </ImportGroup>
42  
-  <PropertyGroup Label="UserMacros" />
43  
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
44  
-    <LinkIncremental>false</LinkIncremental>
45  
-    <TargetName>hcsasl</TargetName>
46  
-    <OutDir>$(HexChatBin)</OutDir>
47  
-    <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
48  
-  </PropertyGroup>
49  
-  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
50  
-    <LinkIncremental>false</LinkIncremental>
51  
-    <TargetName>hcsasl</TargetName>
52  
-    <OutDir>$(HexChatBin)</OutDir>
53  
-    <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
54  
-  </PropertyGroup>
55  
-  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
56  
-    <ClCompile>
57  
-      <PrecompiledHeader>
58  
-      </PrecompiledHeader>
59  
-      <Optimization>MaxSpeed</Optimization>
60  
-      <FunctionLevelLinking>true</FunctionLevelLinking>
61  
-      <IntrinsicFunctions>true</IntrinsicFunctions>
62  
-      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SASL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
63  
-      <AdditionalIncludeDirectories>$(Glib);..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
64  
-      <MultiProcessorCompilation>true</MultiProcessorCompilation>
65  
-    </ClCompile>
66  
-    <Link>
67  
-      <SubSystem>Windows</SubSystem>
68  
-      <GenerateDebugInformation>true</GenerateDebugInformation>
69  
-      <EnableCOMDATFolding>true</EnableCOMDATFolding>
70  
-      <OptimizeReferences>true</OptimizeReferences>
71  
-      <ModuleDefinitionFile>sasl.def</ModuleDefinitionFile>
72  
-      <AdditionalLibraryDirectories>$(DepsRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
73  
-      <AdditionalDependencies>$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies>
74  
-    </Link>
75  
-  </ItemDefinitionGroup>
76  
-  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
77  
-    <ClCompile>
78  
-      <PrecompiledHeader>
79  
-      </PrecompiledHeader>
80  
-      <Optimization>MaxSpeed</Optimization>
81  
-      <FunctionLevelLinking>true</FunctionLevelLinking>
82  
-      <IntrinsicFunctions>true</IntrinsicFunctions>
83  
-      <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;SASL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
84  
-      <AdditionalIncludeDirectories>$(Glib);..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
85  
-      <MultiProcessorCompilation>true</MultiProcessorCompilation>
86  
-    </ClCompile>
87  
-    <Link>
88  
-      <SubSystem>Windows</SubSystem>
89  
-      <GenerateDebugInformation>true</GenerateDebugInformation>
90  
-      <EnableCOMDATFolding>true</EnableCOMDATFolding>
91  
-      <OptimizeReferences>true</OptimizeReferences>
92  
-      <ModuleDefinitionFile>sasl.def</ModuleDefinitionFile>
93  
-      <AdditionalLibraryDirectories>$(DepsRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
94  
-      <AdditionalDependencies>$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies>
95  
-    </Link>
96  
-  </ItemDefinitionGroup>
97  
-  <ItemGroup>
98  
-    <None Include="sasl.def" />
99  
-  </ItemGroup>
100  
-  <ItemGroup>
101  
-    <ClCompile Include="sasl.c" />
102  
-  </ItemGroup>
103  
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
104  
-  <ImportGroup Label="ExtensionTargets">
105  
-  </ImportGroup>
106  
-</Project>
23  plugins/sasl/sasl.vcxproj.filters
... ...
@@ -1,23 +0,0 @@
1  
-<?xml version="1.0" encoding="utf-8"?>
2  
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  
-  <ItemGroup>
4  
-    <Filter Include="Source Files">
5  
-      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6  
-      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7  
-    </Filter>
8  
-    <Filter Include="Resource Files">
9  
-      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
10  
-      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
11  
-    </Filter>
12  
-  </ItemGroup>
13  
-  <ItemGroup>
14  
-    <None Include="sasl.def">
15  
-      <Filter>Resource Files</Filter>
16  
-    </None>
17  
-  </ItemGroup>
18  
-  <ItemGroup>
19  
-    <ClCompile Include="sasl.c">
20  
-      <Filter>Source Files</Filter>
21  
-    </ClCompile>
22  
-  </ItemGroup>
23  
-</Project>
6  win32/hexchat.sln
@@ -63,8 +63,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winamp", "..\plugins\winamp
63 63
 EndProject
64 64
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sysinfo", "..\plugins\sysinfo\sysinfo.vcxproj", "{6C0CA980-97C5-427A-BE61-5BCECAFABBDA}"
65 65
 EndProject
66  
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sasl", "..\plugins\sasl\sasl.vcxproj", "{18871EBA-AC85-4652-8919-EB8064B9A714}"
67  
-EndProject
68 66
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hextray", "..\plugins\hextray\hextray.vcxproj", "{3024CF36-85E5-4E00-9608-7002E2C7EF14}"
69 67
 EndProject
70 68
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wmpa", "..\plugins\wmpa\wmpa.vcxproj", "{E7F4DB0A-510D-41EF-B284-6E1DE1CC450D}"
@@ -91,7 +89,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "copy", "copy\copy.vcxproj",
91 89
 		{3786FA8C-3E76-45E3-984E-FCCFF44729C9} = {3786FA8C-3E76-45E3-984E-FCCFF44729C9}
92 90
 		{B0E36D93-CA2A-49FE-9EB9-9C96C6016EEC} = {B0E36D93-CA2A-49FE-9EB9-9C96C6016EEC}
93 91
 		{E78C0D9A-798E-4BF6-B0CC-6FECB8CA2FCE} = {E78C0D9A-798E-4BF6-B0CC-6FECB8CA2FCE}
94  
-		{18871EBA-AC85-4652-8919-EB8064B9A714} = {18871EBA-AC85-4652-8919-EB8064B9A714}
95 92
 		{E4BDB4C8-2335-415A-ACEE-BA88B19BFE82} = {E4BDB4C8-2335-415A-ACEE-BA88B19BFE82}
96 93
 		{DE87FFCA-9606-4116-B747-062D88A56A28} = {DE87FFCA-9606-4116-B747-062D88A56A28}
97 94
 		{3C4F42FC-292A-420B-B63D-C03DFBDD8E4E} = {3C4F42FC-292A-420B-B63D-C03DFBDD8E4E}
@@ -184,8 +181,6 @@ Global
184 181
 		{6C0CA980-97C5-427A-BE61-5BCECAFABBDA}.Release|Win32.Build.0 = Release|Win32
185 182
 		{6C0CA980-97C5-427A-BE61-5BCECAFABBDA}.Release|x64.ActiveCfg = Release|x64
186 183
 		{6C0CA980-97C5-427A-BE61-5BCECAFABBDA}.Release|x64.Build.0 = Release|x64
187  
-		{18871EBA-AC85-4652-8919-EB8064B9A714}.Release|Win32.ActiveCfg = Release|Win32
188  
-		{18871EBA-AC85-4652-8919-EB8064B9A714}.Release|x64.ActiveCfg = Release|x64
189 184
 		{3024CF36-85E5-4E00-9608-7002E2C7EF14}.Release|Win32.ActiveCfg = Release|Win32
190 185
 		{3024CF36-85E5-4E00-9608-7002E2C7EF14}.Release|Win32.Build.0 = Release|Win32
191 186
 		{3024CF36-85E5-4E00-9608-7002E2C7EF14}.Release|x64.ActiveCfg = Release|x64
@@ -235,7 +230,6 @@ Global
235 230
 		{461DC24A-A410-4171-8C02-CCDBF3702C2A} = {561126F4-FA18-45FC-A2BF-8F858F161D6D}
236 231
 		{E78C0D9A-798E-4BF6-B0CC-6FECB8CA2FCE} = {561126F4-FA18-45FC-A2BF-8F858F161D6D}
237 232
 		{6C0CA980-97C5-427A-BE61-5BCECAFABBDA} = {561126F4-FA18-45FC-A2BF-8F858F161D6D}
238  
-		{18871EBA-AC85-4652-8919-EB8064B9A714} = {561126F4-FA18-45FC-A2BF-8F858F161D6D}
239 233
 		{3024CF36-85E5-4E00-9608-7002E2C7EF14} = {561126F4-FA18-45FC-A2BF-8F858F161D6D}
240 234
 		{E7F4DB0A-510D-41EF-B284-6E1DE1CC450D} = {561126F4-FA18-45FC-A2BF-8F858F161D6D}
241 235
 		{2773666A-8CFC-4533-A043-EAD59F16A1C7} = {D237DA6B-BD5F-46C0-8BEA-50E9A1340240}

0 notes on commit ed78684

Please sign in to comment.
Something went wrong with that request. Please try again.