1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-25 18:52:22 -05:00

Initial Visual Studio solution

This commit is contained in:
Berke Viktor 2012-06-03 12:06:06 +02:00
parent 4f73128e9b
commit 39422d5503
19 changed files with 1303 additions and 8 deletions

View File

@ -32,7 +32,7 @@
#include <sys/timeb.h> #include <sys/timeb.h>
#include <process.h> #include <process.h>
#include <io.h> #include <io.h>
#include "dirent-win32.h" #include "../dirent-win32/dirent-win32.h"
#else #else
#include <unistd.h> #include <unistd.h>
#include <pwd.h> #include <pwd.h>
@ -57,11 +57,9 @@
#include <socks.h> #include <socks.h>
#endif #endif
#ifndef ENABLE_NLS
#ifndef HAVE_SNPRINTF #ifndef HAVE_SNPRINTF
#define snprintf g_snprintf #define snprintf g_snprintf
#endif #endif
#endif
#ifdef USE_DEBUG #ifdef USE_DEBUG

View File

@ -8,7 +8,6 @@
#include "history.h" #include "history.h"
#ifndef ENABLE_NLS
#ifndef HAVE_SNPRINTF #ifndef HAVE_SNPRINTF
#define snprintf g_snprintf #define snprintf g_snprintf
#endif #endif
@ -16,7 +15,6 @@
#ifndef HAVE_VSNPRINTF #ifndef HAVE_VSNPRINTF
#define vsnprintf _vsnprintf #define vsnprintf _vsnprintf
#endif #endif
#endif
#ifdef USE_DEBUG #ifdef USE_DEBUG
#define malloc(n) xchat_malloc(n, __FILE__, __LINE__) #define malloc(n) xchat_malloc(n, __FILE__, __LINE__)
@ -79,6 +77,10 @@ void *xchat_realloc (char *old, int len, char *file, int line);
#define USERNAMELEN 10 #define USERNAMELEN 10
#define HIDDEN_CHAR 8 /* invisible character for xtext */ #define HIDDEN_CHAR 8 /* invisible character for xtext */
#ifdef __cplusplus
#define asdfasdf
#endif
#if defined(ENABLE_NLS) && !defined(_) #if defined(ENABLE_NLS) && !defined(_)
# include <libintl.h> # include <libintl.h>
# define _(x) gettext(x) # define _(x) gettext(x)

View File

@ -106,7 +106,7 @@ custom_list_sortable_init (GtkTreeSortableIface * iface)
* *
*****************************************************************************/ *****************************************************************************/
static GType GType
custom_list_get_type (void) custom_list_get_type (void)
{ {
static GType custom_list_type = 0; static GType custom_list_type = 0;

View File

@ -2,8 +2,6 @@
#include "../../config.h" #include "../../config.h"
#include "../../resource.h" #include "../../resource.h"
1 24 "xchat.exe.manifest"
XC_ICON ICON "../../xchat.ico" XC_ICON ICON "../../xchat.ico"
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO

148
win32/common/common.vcxproj Normal file
View File

@ -0,0 +1,148 @@
<?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="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\config.h" />
<ClInclude Include="..\..\src\common\cfgfiles.h" />
<ClInclude Include="..\..\src\common\chanopt.h" />
<ClInclude Include="..\..\src\common\ctcp.h" />
<ClInclude Include="..\..\src\common\dcc.h" />
<ClInclude Include="..\..\src\common\fe.h" />
<ClInclude Include="..\..\src\common\history.h" />
<ClInclude Include="..\..\src\common\identd.h" />
<ClInclude Include="..\..\src\common\ignore.h" />
<ClInclude Include="..\..\src\common\inbound.h" />
<ClInclude Include="..\..\src\common\inet.h" />
<ClInclude Include="..\..\src\common\modes.h" />
<ClInclude Include="..\..\src\common\msproxy.h" />
<ClInclude Include="..\..\src\common\network.h" />
<ClInclude Include="..\..\src\common\notify.h" />
<ClInclude Include="..\..\src\common\outbound.h" />
<ClInclude Include="..\..\src\common\plugin-timer.h" />
<ClInclude Include="..\..\src\common\plugin.h" />
<ClInclude Include="..\..\src\common\proto-irc.h" />
<ClInclude Include="..\..\src\common\server.h" />
<ClInclude Include="..\..\src\common\servlist.h" />
<ClInclude Include="..\..\src\common\ssl.h" />
<ClInclude Include="..\..\src\common\text.h" />
<ClInclude Include="..\..\src\common\textenums.h" />
<ClInclude Include="..\..\src\common\textevents.h" />
<ClInclude Include="..\..\src\common\thread.h" />
<ClInclude Include="..\..\src\common\tree.h" />
<ClInclude Include="..\..\src\common\url.h" />
<ClInclude Include="..\..\src\common\userlist.h" />
<ClInclude Include="..\..\src\common\util.h" />
<ClInclude Include="..\..\src\common\xchat-plugin.h" />
<ClInclude Include="..\..\src\common\xchat.h" />
<ClInclude Include="..\..\src\common\xchatc.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\common\cfgfiles.c" />
<ClCompile Include="..\..\src\common\chanopt.c" />
<ClCompile Include="..\..\src\common\ctcp.c" />
<ClCompile Include="..\..\src\common\dcc.c" />
<ClCompile Include="..\..\src\common\history.c" />
<ClCompile Include="..\..\src\common\identd.c" />
<ClCompile Include="..\..\src\common\ignore.c" />
<ClCompile Include="..\..\src\common\inbound.c" />
<ClCompile Include="..\..\src\common\make-te.c" />
<ClCompile Include="..\..\src\common\modes.c" />
<ClCompile Include="..\..\src\common\msproxy.c" />
<ClCompile Include="..\..\src\common\network.c" />
<ClCompile Include="..\..\src\common\notify.c" />
<ClCompile Include="..\..\src\common\outbound.c" />
<ClCompile Include="..\..\src\common\plugin-timer.c" />
<ClCompile Include="..\..\src\common\plugin.c" />
<ClCompile Include="..\..\src\common\proto-irc.c" />
<ClCompile Include="..\..\src\common\server.c" />
<ClCompile Include="..\..\src\common\servlist.c" />
<ClCompile Include="..\..\src\common\ssl.c" />
<ClCompile Include="..\..\src\common\text.c" />
<ClCompile Include="..\..\src\common\thread.c" />
<ClCompile Include="..\..\src\common\tree.c" />
<ClCompile Include="..\..\src\common\url.c" />
<ClCompile Include="..\..\src\common\userlist.c" />
<ClCompile Include="..\..\src\common\util.c" />
<ClCompile Include="..\..\src\common\xchat.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VSVersion)' == '' and '$(VisualStudioVersion)' == ''">$(VCTargetsPath11)</VCTargetsPath>
</PropertyGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{0F863741-E1CE-4625-84DC-7AD205A63B6B}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>common</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\xchat.props" />
</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="..\xchat.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,197 @@
<?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>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\common\cfgfiles.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\chanopt.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\ctcp.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\dcc.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\fe.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\history.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\identd.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\ignore.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\inbound.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\inet.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\modes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\msproxy.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\network.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\notify.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\outbound.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\plugin.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\plugin-timer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\proto-irc.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\server.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\servlist.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\ssl.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\text.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\textenums.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\textevents.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\thread.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\tree.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\url.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\userlist.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\util.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\xchat.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\xchatc.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\common\xchat-plugin.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\config.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\common\cfgfiles.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\chanopt.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\ctcp.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\dcc.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\history.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\identd.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\ignore.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\inbound.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\make-te.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\modes.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\msproxy.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\network.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\notify.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\outbound.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\plugin.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\plugin-timer.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\proto-irc.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\server.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\servlist.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\ssl.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\text.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\thread.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\tree.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\url.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\userlist.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\util.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\common\xchat.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,88 @@
<?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="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\dirent-win32\dirent-win32.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\dirent-win32\dirent-win32.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VSVersion)' == '' and '$(VisualStudioVersion)' == ''">$(VCTargetsPath11)</VCTargetsPath>
</PropertyGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{969AA8C5-1655-4CAC-A83F-F651959CAA2F}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>direntwin32</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\xchat.props" />
</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="..\xchat.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,23 @@
<?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>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\dirent-win32\dirent-win32.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\dirent-win32\dirent-win32.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

164
win32/fe-gtk/fe-gtk.vcxproj Normal file
View File

@ -0,0 +1,164 @@
<?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="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<Image Include="..\..\xchat.ico" />
</ItemGroup>
<ItemGroup>
<Manifest Include="..\..\src\fe-gtk\xchat.exe.manifest" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\src\fe-gtk\xchat.rc" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\fe-gtk\about.h" />
<ClInclude Include="..\..\src\fe-gtk\ascii.h" />
<ClInclude Include="..\..\src\fe-gtk\banlist.h" />
<ClInclude Include="..\..\src\fe-gtk\chanlist.h" />
<ClInclude Include="..\..\src\fe-gtk\chanview.h" />
<ClInclude Include="..\..\src\fe-gtk\custom-list.h" />
<ClInclude Include="..\..\src\fe-gtk\editlist.h" />
<ClInclude Include="..\..\src\fe-gtk\fe-gtk.h" />
<ClInclude Include="..\..\src\fe-gtk\fkeys.h" />
<ClInclude Include="..\..\src\fe-gtk\gtkutil.h" />
<ClInclude Include="..\..\src\fe-gtk\joind.h" />
<ClInclude Include="..\..\src\fe-gtk\maingui.h" />
<ClInclude Include="..\..\src\fe-gtk\menu.h" />
<ClInclude Include="..\..\src\fe-gtk\mmx_cmod.h" />
<ClInclude Include="..\..\src\fe-gtk\notifygui.h" />
<ClInclude Include="..\..\src\fe-gtk\palette.h" />
<ClInclude Include="..\..\src\fe-gtk\pixmaps.h" />
<ClInclude Include="..\..\src\fe-gtk\plugin-tray.h" />
<ClInclude Include="..\..\src\fe-gtk\plugingui.h" />
<ClInclude Include="..\..\src\fe-gtk\rawlog.h" />
<ClInclude Include="..\..\src\fe-gtk\search.h" />
<ClInclude Include="..\..\src\fe-gtk\sexy-iso-codes.h" />
<ClInclude Include="..\..\src\fe-gtk\sexy-marshal.h" />
<ClInclude Include="..\..\src\fe-gtk\sexy-spell-entry.h" />
<ClInclude Include="..\..\src\fe-gtk\textgui.h" />
<ClInclude Include="..\..\src\fe-gtk\typedef.h" />
<ClInclude Include="..\..\src\fe-gtk\urlgrab.h" />
<ClInclude Include="..\..\src\fe-gtk\userlistgui.h" />
<ClInclude Include="..\..\src\fe-gtk\xtext.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\fe-gtk\about.c" />
<ClCompile Include="..\..\src\fe-gtk\ascii.c" />
<ClCompile Include="..\..\src\fe-gtk\banlist.c" />
<ClCompile Include="..\..\src\fe-gtk\chanlist.c" />
<ClCompile Include="..\..\src\fe-gtk\chanview.c" />
<ClCompile Include="..\..\src\fe-gtk\custom-list.c" />
<ClCompile Include="..\..\src\fe-gtk\dccgui.c" />
<ClCompile Include="..\..\src\fe-gtk\editlist.c" />
<ClCompile Include="..\..\src\fe-gtk\fe-gtk.c" />
<ClCompile Include="..\..\src\fe-gtk\fkeys.c" />
<ClCompile Include="..\..\src\fe-gtk\gtkutil.c" />
<ClCompile Include="..\..\src\fe-gtk\ignoregui.c" />
<ClCompile Include="..\..\src\fe-gtk\joind.c" />
<ClCompile Include="..\..\src\fe-gtk\maingui.c" />
<ClCompile Include="..\..\src\fe-gtk\menu.c" />
<ClCompile Include="..\..\src\fe-gtk\notifygui.c" />
<ClCompile Include="..\..\src\fe-gtk\palette.c" />
<ClCompile Include="..\..\src\fe-gtk\pixmaps.c" />
<ClCompile Include="..\..\src\fe-gtk\plugin-tray.c" />
<ClCompile Include="..\..\src\fe-gtk\plugingui.c" />
<ClCompile Include="..\..\src\fe-gtk\rawlog.c" />
<ClCompile Include="..\..\src\fe-gtk\search.c" />
<ClCompile Include="..\..\src\fe-gtk\servlistgui.c" />
<ClCompile Include="..\..\src\fe-gtk\setup.c" />
<ClCompile Include="..\..\src\fe-gtk\sexy-iso-codes.c" />
<ClCompile Include="..\..\src\fe-gtk\sexy-marshal.c" />
<ClCompile Include="..\..\src\fe-gtk\sexy-spell-entry.c" />
<ClCompile Include="..\..\src\fe-gtk\textgui.c" />
<ClCompile Include="..\..\src\fe-gtk\urlgrab.c" />
<ClCompile Include="..\..\src\fe-gtk\userlistgui.c" />
<ClCompile Include="..\..\src\fe-gtk\xtext.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VSVersion)' == '' and '$(VisualStudioVersion)' == ''">$(VCTargetsPath11)</VCTargetsPath>
</PropertyGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{BFC7E652-7E90-441C-9BE5-F238B1912BFB}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>fegtk</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\xchat.props" />
</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="..\xchat.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk)</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>$(DepLibs);"$(OutDir)\common.lib";"$(OutDir)\dirent-win32.lib";%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>"$(DepsRoot)\lib";%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,216 @@
<?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>
<Image Include="..\..\xchat.ico">
<Filter>Resource Files</Filter>
</Image>
</ItemGroup>
<ItemGroup>
<Manifest Include="..\..\src\fe-gtk\xchat.exe.manifest">
<Filter>Resource Files</Filter>
</Manifest>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\src\fe-gtk\xchat.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\fe-gtk\about.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\ascii.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\banlist.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\chanlist.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\chanview.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\custom-list.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\editlist.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\fe-gtk.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\fkeys.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\gtkutil.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\joind.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\maingui.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\menu.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\mmx_cmod.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\notifygui.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\palette.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\pixmaps.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\plugingui.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\plugin-tray.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\rawlog.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\search.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\sexy-iso-codes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\sexy-marshal.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\sexy-spell-entry.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\textgui.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\typedef.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\urlgrab.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\userlistgui.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\fe-gtk\xtext.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\fe-gtk\about.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\ascii.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\banlist.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\chanlist.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\chanview.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\custom-list.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\dccgui.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\editlist.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\fe-gtk.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\fkeys.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\gtkutil.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\ignoregui.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\joind.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\maingui.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\menu.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\notifygui.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\palette.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\pixmaps.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\plugingui.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\plugin-tray.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\rawlog.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\search.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\servlistgui.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\setup.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\sexy-iso-codes.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\sexy-marshal.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\sexy-spell-entry.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\textgui.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\urlgrab.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\userlistgui.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\fe-gtk\xtext.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,105 @@
<?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="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VSVersion)' == '' and '$(VisualStudioVersion)' == ''">$(VCTargetsPath11)</VCTargetsPath>
</PropertyGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{BBEA966D-9722-4CE3-B773-1AEC6E0234C3}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>pixmaps</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\xchat.props" />
</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="..\xchat.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<CustomBuildStep>
<Command>
</Command>
</CustomBuildStep>
<PostBuildEvent>
<Command>"$(DepsRoot)\bin\gdk-pixbuf-csource" --build-list $(Pixmaps) &gt; "$(SolutionDir)\..\src\pixmaps\inline_pngs.h"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<Image Include="..\..\src\pixmaps\book.png" />
<Image Include="..\..\src\pixmaps\fileoffer.png" />
<Image Include="..\..\src\pixmaps\highlight.png" />
<Image Include="..\..\src\pixmaps\hop.png" />
<Image Include="..\..\src\pixmaps\message.png" />
<Image Include="..\..\src\pixmaps\op.png" />
<Image Include="..\..\src\pixmaps\purple.png" />
<Image Include="..\..\src\pixmaps\red.png" />
<Image Include="..\..\src\pixmaps\voice.png" />
<Image Include="..\..\xchat.png" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<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>
<Image Include="..\..\src\pixmaps\book.png">
<Filter>Resource Files</Filter>
</Image>
<Image Include="..\..\src\pixmaps\fileoffer.png">
<Filter>Resource Files</Filter>
</Image>
<Image Include="..\..\src\pixmaps\highlight.png">
<Filter>Resource Files</Filter>
</Image>
<Image Include="..\..\src\pixmaps\hop.png">
<Filter>Resource Files</Filter>
</Image>
<Image Include="..\..\src\pixmaps\message.png">
<Filter>Resource Files</Filter>
</Image>
<Image Include="..\..\src\pixmaps\op.png">
<Filter>Resource Files</Filter>
</Image>
<Image Include="..\..\src\pixmaps\purple.png">
<Filter>Resource Files</Filter>
</Image>
<Image Include="..\..\src\pixmaps\red.png">
<Filter>Resource Files</Filter>
</Image>
<Image Include="..\..\src\pixmaps\voice.png">
<Filter>Resource Files</Filter>
</Image>
<Image Include="..\..\xchat.png">
<Filter>Resource Files</Filter>
</Image>
</ItemGroup>
</Project>

144
win32/version/version.c Normal file
View File

@ -0,0 +1,144 @@
/* XChat-WDK
* Copyright (c) 2011 Berke Viktor.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include "../../config.h"
char *
comma ()
{
int major, minor;
char *version_string; /* nnnn,n,n,n format */
version_string = (char*) malloc (11);
if (sscanf (PACKAGE_VERSION, "%d-%d", &major, &minor) > 1)
{
sprintf (version_string, "%d,%d,0,0", major, minor);
} else
{
sprintf (version_string, "%d,0,0,0", major);
}
return version_string;
}
char *
point ()
{
int major1, major2, major3, major4, minor;
char *version_string; /* nn.nn.nn.nn format */
version_string = (char*) malloc (12);
if (sscanf (PACKAGE_VERSION, "%c%c%c%c-%d", &major1, &major2, &major3, &major4, &minor) > 4)
{
sprintf (version_string, "%c%c.%c%c.%d.0", major1, major2, major3, major4, minor);
} else
{
sprintf (version_string, "%c%c.%c%c.0.0", major1, major2, major3, major4);
}
return version_string;
}
int
main (int argc, char *argv[])
{
if (argc > 1)
{
if (!strcmp (argv[1], "-r")) /* xchat.rc/FILEVERSION, PRODUCTVERSION */
{
printf ("#define COMMA_VERSION %s\n", comma ());
}
else if (!strcmp (argv[1], "-a32")) /* xchat-wdk.iss/AppVerName */
{
printf ("AppVerName=XChat-WDK %s (x86)\n", PACKAGE_VERSION);
}
else if (!strcmp (argv[1], "-a64")) /* xchat-wdk.iss/AppVerName */
{
printf ("AppVerName=XChat-WDK %s (x64)\n", PACKAGE_VERSION);
}
else if (!strcmp (argv[1], "-v")) /* xchat-wdk.iss/AppVersion */
{
printf ("AppVersion=%s\n", point ());
}
else if (!strcmp (argv[1], "-i")) /* xchat-wdk.iss/VersionInfoVersion */
{
printf ("VersionInfoVersion=%s\n", point ());
}
else if (!strcmp (argv[1], "-o32")) /* xchat-wdk.iss/OutputBaseFilename */
{
printf ("OutputBaseFilename=XChat-WDK %s x86\n", PACKAGE_VERSION);
}
else if (!strcmp (argv[1], "-o64")) /* xchat-wdk.iss/OutputBaseFilename */
{
printf ("OutputBaseFilename=XChat-WDK %s x64\n", PACKAGE_VERSION);
}
else if (!strcmp (argv[1], "-v")) /* version.txt */
{
printf ("%s", PACKAGE_VERSION);
} else
{
printf ("usage:\n\t-a\txchat-wdk.iss/AppVerName\n\t-i\txchat-wdk.iss/VersionInfoVersion\n\t-o\txchat-wdk.iss/OutputBaseFilename\n\t-r\txchat.rc/FILEVERSION, PRODUCTVERSION\n\t-v\txchat-wdk.iss/AppVersion\n");
}
} else
{
printf ("usage:\n\t-a\txchat-wdk.iss/AppVerName\n\t-i\txchat-wdk.iss/VersionInfoVersion\n\t-o\txchat-wdk.iss/OutputBaseFilename\n\t-r\txchat.rc/FILEVERSION, PRODUCTVERSION\n\t-v\txchat-wdk.iss/AppVersion\n");
}
#if 0 /* ugly hack */
switch ((int) argv[1][0])
{
case 'r': /* xchat.rc/FILEVERSION, PRODUCTVERSION*/
printf ("#define COMMA_VERSION \"%s\"\n", comma ());
break;
case 'a': /* xchat-wdk.iss/AppVerName */
printf ("AppVerName=XChat-WDK %s\n", PACKAGE_VERSION);
break;
case 'v': /* xchat-wdk.iss/AppVersion */
printf ("AppVersion=%s\n", point ());
break;
case 'i': /* xchat-wdk.iss/VersionInfoVersion */
printf ("VersionInfoVersion=%s\n", point ());
break;
case 'o': /* xchat-wdk.iss/OutputBaseFilename */
printf ("OutputBaseFilename=XChat-WDK %s\n", PACKAGE_VERSION);
break;
case 'u': /* version.txt */
printf ("%s", PACKAGE_VERSION);
break;
default:
printf ("use a, i, o, r or v.\n");
break;
}
#endif
return 0;
}

View File

@ -0,0 +1,93 @@
<?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="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="version.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VSVersion)' == '' and '$(VisualStudioVersion)' == ''">$(VCTargetsPath11)</VCTargetsPath>
</PropertyGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{B724C127-7151-421A-8CA0-3FBA6D96D8CE}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>version</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\xchat.props" />
</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="..\xchat.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<PostBuildEvent>
<Command>"$(OutputPath)\$(TargetName)$(TargetExt)" -r &gt; "$(SolutionDir)\..\resource.h"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,14 @@
<?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>
</ItemGroup>
<ItemGroup>
<ClCompile Include="version.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

14
win32/xchat.props Normal file
View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<OwnFlags>_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;G_DISABLE_CAST_CHECKS;G_DISABLE_DEPRECATED;GDK_PIXBUF_DISABLE_DEPRECATED;GDK_DISABLE_DEPRECATED;HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp</OwnFlags>
<DepsRoot>c:\mozilla-build\deps-root\$(PlatformName)</DepsRoot>
<Glib>$(DepsRoot)\include\glib-2.0;$(DepsRoot)\lib\glib-2.0\include;$(DepsRoot)\include\libxml2</Glib>
<Gtk>$(DepsRoot)\include\gtk-2.0;$(DepsRoot)\lib\gtk-2.0\include;$(DepsRoot)\include\atk-1.0;$(DepsRoot)\include\cairo;$(DepsRoot)\include\pango-1.0;$(DepsRoot)\include\gdk-pixbuf-2.0</Gtk>
<Pixmaps>bookpng "$(SolutionDir)\..\src\pixmaps\book.png" hoppng "$(SolutionDir)\..\src\pixmaps\hop.png" oppng "$(SolutionDir)\..\src\pixmaps\op.png" purplepng "$(SolutionDir)\..\src\pixmaps\purple.png" redpng "$(SolutionDir)\..\src\pixmaps\red.png" trayfilepng "$(SolutionDir)\..\src\pixmaps\fileoffer.png" trayhilightpng "$(SolutionDir)\..\src\pixmaps\highlight.png" traymsgpng "$(SolutionDir)\..\src\pixmaps\message.png" voicepng "$(SolutionDir)\..\src\pixmaps\voice.png" xchatpng "$(SolutionDir)\..\xchat.png"</Pixmaps>
<DepLibs>gtk-win32-2.0.lib;gdk-win32-2.0.lib;atk-1.0.lib;gio-2.0.lib;gdk_pixbuf-2.0.lib;pangowin32-1.0.lib;pangocairo-1.0.lib;pango-1.0.lib;cairo.lib;gobject-2.0.lib;gmodule-2.0.lib;glib-2.0.lib;intl.lib;libxml2.lib;libeay32.lib;ssleay32.lib;wininet.lib;winmm.lib;ws2_32.lib</DepLibs>
</PropertyGroup>
<ItemDefinitionGroup />
<ItemGroup />
</Project>

50
win32/xchat.sln Normal file
View File

@ -0,0 +1,50 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dirent-win32", "dirent-win32\dirent-win32.vcxproj", "{969AA8C5-1655-4CAC-A83F-F651959CAA2F}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "common", "common\common.vcxproj", "{0F863741-E1CE-4625-84DC-7AD205A63B6B}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fe-gtk", "fe-gtk\fe-gtk.vcxproj", "{BFC7E652-7E90-441C-9BE5-F238B1912BFB}"
ProjectSection(ProjectDependencies) = postProject
{0F863741-E1CE-4625-84DC-7AD205A63B6B} = {0F863741-E1CE-4625-84DC-7AD205A63B6B}
{969AA8C5-1655-4CAC-A83F-F651959CAA2F} = {969AA8C5-1655-4CAC-A83F-F651959CAA2F}
{B724C127-7151-421A-8CA0-3FBA6D96D8CE} = {B724C127-7151-421A-8CA0-3FBA6D96D8CE}
{BBEA966D-9722-4CE3-B773-1AEC6E0234C3} = {BBEA966D-9722-4CE3-B773-1AEC6E0234C3}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pixmaps", "pixmaps\pixmaps.vcxproj", "{BBEA966D-9722-4CE3-B773-1AEC6E0234C3}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "version", "version\version.vcxproj", "{B724C127-7151-421A-8CA0-3FBA6D96D8CE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0F863741-E1CE-4625-84DC-7AD205A63B6B}.Debug|Win32.ActiveCfg = Debug|Win32
{0F863741-E1CE-4625-84DC-7AD205A63B6B}.Debug|Win32.Build.0 = Debug|Win32
{0F863741-E1CE-4625-84DC-7AD205A63B6B}.Release|Win32.ActiveCfg = Release|Win32
{0F863741-E1CE-4625-84DC-7AD205A63B6B}.Release|Win32.Build.0 = Release|Win32
{969AA8C5-1655-4CAC-A83F-F651959CAA2F}.Debug|Win32.ActiveCfg = Debug|Win32
{969AA8C5-1655-4CAC-A83F-F651959CAA2F}.Debug|Win32.Build.0 = Debug|Win32
{969AA8C5-1655-4CAC-A83F-F651959CAA2F}.Release|Win32.ActiveCfg = Release|Win32
{969AA8C5-1655-4CAC-A83F-F651959CAA2F}.Release|Win32.Build.0 = Release|Win32
{B724C127-7151-421A-8CA0-3FBA6D96D8CE}.Debug|Win32.ActiveCfg = Debug|Win32
{B724C127-7151-421A-8CA0-3FBA6D96D8CE}.Debug|Win32.Build.0 = Debug|Win32
{B724C127-7151-421A-8CA0-3FBA6D96D8CE}.Release|Win32.ActiveCfg = Release|Win32
{B724C127-7151-421A-8CA0-3FBA6D96D8CE}.Release|Win32.Build.0 = Release|Win32
{BBEA966D-9722-4CE3-B773-1AEC6E0234C3}.Debug|Win32.ActiveCfg = Debug|Win32
{BBEA966D-9722-4CE3-B773-1AEC6E0234C3}.Debug|Win32.Build.0 = Debug|Win32
{BBEA966D-9722-4CE3-B773-1AEC6E0234C3}.Release|Win32.ActiveCfg = Release|Win32
{BBEA966D-9722-4CE3-B773-1AEC6E0234C3}.Release|Win32.Build.0 = Release|Win32
{BFC7E652-7E90-441C-9BE5-F238B1912BFB}.Debug|Win32.ActiveCfg = Debug|Win32
{BFC7E652-7E90-441C-9BE5-F238B1912BFB}.Debug|Win32.Build.0 = Debug|Win32
{BFC7E652-7E90-441C-9BE5-F238B1912BFB}.Release|Win32.ActiveCfg = Release|Win32
{BFC7E652-7E90-441C-9BE5-F238B1912BFB}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal