diff options
40 files changed, 136 insertions, 801 deletions
| diff --git a/bin10/mir_dev.sln b/bin10/mir_dev.sln index 316716a5f1..0529e345f0 100644 --- a/bin10/mir_dev.sln +++ b/bin10/mir_dev.sln @@ -23,7 +23,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ModernOpt", "..\plugins\Mod  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TabSRMM", "..\plugins\TabSRMM\tabsrmm_10.vcxproj", "{99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}"
  EndProject
 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim_10.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GG", "..\protocols\Gadu-Gadu\Gadu-Gadu_10.vcxproj", "{6DA1396F-2A44-4D5C-8442-012F71006217}"
  EndProject
 diff --git a/bin10/mir_full.sln b/bin10/mir_full.sln index 3ac149a4e6..4d543e7060 100644 --- a/bin10/mir_full.sln +++ b/bin10/mir_full.sln @@ -23,7 +23,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ModernOpt", "..\plugins\Mod  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TabSRMM", "..\plugins\TabSRMM\tabsrmm_10.vcxproj", "{99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}"
  EndProject
 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim_10.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GG", "..\protocols\Gadu-Gadu\Gadu-Gadu_10.vcxproj", "{6DA1396F-2A44-4D5C-8442-012F71006217}"
  EndProject
 diff --git a/bin10/mir_full_pro.sln b/bin10/mir_full_pro.sln index d26801cf3b..399aa89e2b 100644 --- a/bin10/mir_full_pro.sln +++ b/bin10/mir_full_pro.sln @@ -23,7 +23,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ModernOpt", "..\plugins\Mod  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TabSRMM", "..\plugins\TabSRMM\tabsrmm_10.vcxproj", "{99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}"
  EndProject
 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim_10.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GG", "..\protocols\Gadu-Gadu\Gadu-Gadu_10.vcxproj", "{6DA1396F-2A44-4D5C-8442-012F71006217}"
  EndProject
 diff --git a/bin10/miranda32.sln b/bin10/miranda32.sln index eaa6e7ace0..1d0f14cdde 100644 --- a/bin10/miranda32.sln +++ b/bin10/miranda32.sln @@ -21,7 +21,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ModernOpt", "..\plugins\mod  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TabSRMM", "..\plugins\TabSRMM\tabsrmm_10.vcxproj", "{99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}"
  EndProject
 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim_10.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GG", "..\protocols\Gadu-Gadu\Gadu-Gadu_10.vcxproj", "{6DA1396F-2A44-4D5C-8442-012F71006217}"
  EndProject
 diff --git a/bin12/mir_dev.sln b/bin12/mir_dev.sln index ca46de26b9..a1719fd5f1 100644 --- a/bin12/mir_dev.sln +++ b/bin12/mir_dev.sln @@ -25,7 +25,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ModernOpt", "..\plugins\Mod  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TabSRMM", "..\plugins\TabSRMM\tabsrmm_12.vcxproj", "{99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}"
  EndProject
 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim_12.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GG", "..\protocols\Gadu-Gadu\Gadu-Gadu_12.vcxproj", "{6DA1396F-2A44-4D5C-8442-012F71006217}"
  EndProject
 diff --git a/bin12/mir_full.sln b/bin12/mir_full.sln index 44c71b89b8..758e702960 100644 --- a/bin12/mir_full.sln +++ b/bin12/mir_full.sln @@ -25,7 +25,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ModernOpt", "..\plugins\Mod  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TabSRMM", "..\plugins\TabSRMM\tabsrmm_12.vcxproj", "{99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}"
  EndProject
 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim_12.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GG", "..\protocols\Gadu-Gadu\Gadu-Gadu_12.vcxproj", "{6DA1396F-2A44-4D5C-8442-012F71006217}"
  EndProject
 diff --git a/bin12/miranda32.sln b/bin12/miranda32.sln index be2bffed06..56b525d469 100644 --- a/bin12/miranda32.sln +++ b/bin12/miranda32.sln @@ -23,7 +23,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ModernOpt", "..\plugins\mod  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TabSRMM", "..\plugins\TabSRMM\tabsrmm_12.vcxproj", "{99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}"
  EndProject
 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim_12.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AIM", "..\protocols\AimOscar\aim.vcxproj", "{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}"
  EndProject
  Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GG", "..\protocols\Gadu-Gadu\Gadu-Gadu_12.vcxproj", "{6DA1396F-2A44-4D5C-8442-012F71006217}"
  EndProject
 diff --git a/build/vc.common/common.props b/build/vc.common/common.props index e89c7342d5..2105bbe781 100644 --- a/build/vc.common/common.props +++ b/build/vc.common/common.props @@ -57,7 +57,7 @@        <ExceptionHandling>false</ExceptionHandling>
      </ClCompile>
      <Link>
 -      <AdditionalDependencies>comctl32.lib;UxTheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
 +      <AdditionalDependencies>comctl32.lib;ws2_32.lib;UxTheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
        <AdditionalLibraryDirectories>$(CommonLibDir)</AdditionalLibraryDirectories>
        <GenerateDebugInformation>true</GenerateDebugInformation>
        <GenerateMapFile>false</GenerateMapFile>
 diff --git a/protocols/AimOscar/aim.vcxproj b/protocols/AimOscar/aim.vcxproj new file mode 100644 index 0000000000..1b5aa4bce3 --- /dev/null +++ b/protocols/AimOscar/aim.vcxproj @@ -0,0 +1,28 @@ +<?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="Debug|x64">
 +      <Configuration>Debug</Configuration>
 +      <Platform>x64</Platform>
 +    </ProjectConfiguration>
 +    <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">
 +    <ProjectName>AIM</ProjectName>
 +    <ProjectGuid>{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}</ProjectGuid>
 +  </PropertyGroup>
 +  <ImportGroup Label="PropertySheets">
 +    <Import Project="$(ProjectDir)..\..\build\vc.common\common.props" />
 +  </ImportGroup>
 +</Project>
\ No newline at end of file diff --git a/protocols/AimOscar/aim_10.vcxproj.filters b/protocols/AimOscar/aim.vcxproj.filters index d16759a29f..d16759a29f 100644 --- a/protocols/AimOscar/aim_10.vcxproj.filters +++ b/protocols/AimOscar/aim.vcxproj.filters diff --git a/protocols/AimOscar/aim_10.vcxproj b/protocols/AimOscar/aim_10.vcxproj deleted file mode 100644 index 1585d99095..0000000000 --- a/protocols/AimOscar/aim_10.vcxproj +++ /dev/null @@ -1,252 +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="Debug|Win32">
 -      <Configuration>Debug</Configuration>
 -      <Platform>Win32</Platform>
 -    </ProjectConfiguration>
 -    <ProjectConfiguration Include="Debug|x64">
 -      <Configuration>Debug</Configuration>
 -      <Platform>x64</Platform>
 -    </ProjectConfiguration>
 -    <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">
 -    <ProjectName>AIM</ProjectName>
 -    <ProjectGuid>{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}</ProjectGuid>
 -  </PropertyGroup>
 -  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
 -  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
 -    <ConfigurationType>DynamicLibrary</ConfigurationType>
 -    <CharacterSet>Unicode</CharacterSet>
 -    <WholeProgramOptimization>true</WholeProgramOptimization>
 -  </PropertyGroup>
 -  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
 -    <ConfigurationType>DynamicLibrary</ConfigurationType>
 -    <CharacterSet>Unicode</CharacterSet>
 -  </PropertyGroup>
 -  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
 -    <ConfigurationType>DynamicLibrary</ConfigurationType>
 -    <CharacterSet>Unicode</CharacterSet>
 -    <WholeProgramOptimization>true</WholeProgramOptimization>
 -  </PropertyGroup>
 -  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
 -    <ConfigurationType>DynamicLibrary</ConfigurationType>
 -    <CharacterSet>Unicode</CharacterSet>
 -  </PropertyGroup>
 -  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
 -  <ImportGroup Label="ExtensionSettings">
 -  </ImportGroup>
 -  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
 -    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 -  </ImportGroup>
 -  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
 -    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 -  </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" />
 -  </ImportGroup>
 -  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
 -    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 -  </ImportGroup>
 -  <PropertyGroup Label="UserMacros" />
 -  <PropertyGroup>
 -    <_ProjectFileVersion>10.0.30128.1</_ProjectFileVersion>
 -    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Plugins\</OutDir>
 -    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
 -    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
 -    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
 -    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\Plugins\</OutDir>
 -    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
 -    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
 -    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
 -    <IgnoreImportLibrary>true</IgnoreImportLibrary>
 -  </PropertyGroup>
 -  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 -    <ClCompile>
 -      <Optimization>Disabled</Optimization>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 -      <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
 -      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
 -      <PrecompiledHeader>Use</PrecompiledHeader>
 -      <PrecompiledHeaderFile>aim.h</PrecompiledHeaderFile>
 -      <WarningLevel>Level3</WarningLevel>
 -      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
 -      <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
 -      <ExceptionHandling>false</ExceptionHandling>
 -    </ClCompile>
 -    <ResourceCompile>
 -      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\include\msapi</AdditionalIncludeDirectories>
 -    </ResourceCompile>
 -    <Link>
 -      <AdditionalDependencies>ws2_32.lib;UxTheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
 -      <GenerateDebugInformation>true</GenerateDebugInformation>
 -      <RandomizedBaseAddress>false</RandomizedBaseAddress>
 -      <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
 -      <SubSystem>Windows</SubSystem>
 -      <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
 -    </Link>
 -  </ItemDefinitionGroup>
 -  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 -    <ClCompile>
 -      <Optimization>Disabled</Optimization>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 -      <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
 -      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
 -      <PrecompiledHeader>Use</PrecompiledHeader>
 -      <PrecompiledHeaderFile>aim.h</PrecompiledHeaderFile>
 -      <WarningLevel>Level3</WarningLevel>
 -      <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
 -      <ExceptionHandling>false</ExceptionHandling>
 -    </ClCompile>
 -    <ResourceCompile>
 -      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\include\msapi</AdditionalIncludeDirectories>
 -    </ResourceCompile>
 -    <Link>
 -      <GenerateDebugInformation>true</GenerateDebugInformation>
 -      <RandomizedBaseAddress>false</RandomizedBaseAddress>
 -      <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
 -      <AdditionalDependencies>ws2_32.lib;UxTheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
 -      <SubSystem>Windows</SubSystem>
 -      <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
 -    </Link>
 -  </ItemDefinitionGroup>
 -  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
 -    <ClCompile>
 -      <Optimization>Full</Optimization>
 -      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
 -      <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 -      <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <StringPooling>true</StringPooling>
 -      <ExceptionHandling>false</ExceptionHandling>
 -      <BufferSecurityCheck>false</BufferSecurityCheck>
 -      <FunctionLevelLinking>true</FunctionLevelLinking>
 -      <FloatingPointModel>Fast</FloatingPointModel>
 -      <PrecompiledHeader>Use</PrecompiledHeader>
 -      <PrecompiledHeaderFile>aim.h</PrecompiledHeaderFile>
 -      <WarningLevel>Level3</WarningLevel>
 -      <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
 -    </ClCompile>
 -    <ResourceCompile>
 -      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\include\msapi</AdditionalIncludeDirectories>
 -    </ResourceCompile>
 -    <Link>
 -      <AdditionalDependencies>ws2_32.lib;UxTheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
 -      <GenerateDebugInformation>true</GenerateDebugInformation>
 -      <OptimizeReferences>true</OptimizeReferences>
 -      <EnableCOMDATFolding>true</EnableCOMDATFolding>
 -      <RandomizedBaseAddress>false</RandomizedBaseAddress>
 -      <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
 -      <SubSystem>Windows</SubSystem>
 -      <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
 -      <AdditionalOptions>/PDBALTPATH:%_PDB%</AdditionalOptions>
 -    </Link>
 -  </ItemDefinitionGroup>
 -  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 -    <ClCompile>
 -      <Optimization>Full</Optimization>
 -      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
 -      <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 -      <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <StringPooling>true</StringPooling>
 -      <ExceptionHandling>false</ExceptionHandling>
 -      <BufferSecurityCheck>false</BufferSecurityCheck>
 -      <FunctionLevelLinking>true</FunctionLevelLinking>
 -      <FloatingPointModel>Fast</FloatingPointModel>
 -      <PrecompiledHeader>Use</PrecompiledHeader>
 -      <PrecompiledHeaderFile>aim.h</PrecompiledHeaderFile>
 -      <WarningLevel>Level3</WarningLevel>
 -      <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
 -    </ClCompile>
 -    <ResourceCompile>
 -      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\include\msapi</AdditionalIncludeDirectories>
 -    </ResourceCompile>
 -    <Link>
 -      <AdditionalDependencies>ws2_32.lib;UxTheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
 -      <GenerateDebugInformation>true</GenerateDebugInformation>
 -      <OptimizeReferences>true</OptimizeReferences>
 -      <EnableCOMDATFolding>true</EnableCOMDATFolding>
 -      <RandomizedBaseAddress>false</RandomizedBaseAddress>
 -      <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
 -      <SubSystem>Windows</SubSystem>
 -      <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
 -      <AdditionalOptions>/PDBALTPATH:%_PDB%</AdditionalOptions>
 -    </Link>
 -  </ItemDefinitionGroup>
 -  <ItemGroup>
 -    <ClCompile Include="src\stdafx.cpp">
 -      <PrecompiledHeader>Create</PrecompiledHeader>
 -    </ClCompile>
 -    <ClCompile Include="src\aim.cpp" />
 -    <ClCompile Include="src\avatars.cpp" />
 -    <ClCompile Include="src\away.cpp" />
 -    <ClCompile Include="src\chat.cpp" />
 -    <ClCompile Include="src\client.cpp" />
 -    <ClCompile Include="src\connection.cpp" />
 -    <ClCompile Include="src\conv.cpp" />
 -    <ClCompile Include="src\direct_connect.cpp" />
 -    <ClCompile Include="src\error.cpp" />
 -    <ClCompile Include="src\file.cpp" />
 -    <ClCompile Include="src\flap.cpp" />
 -    <ClCompile Include="src\links.cpp" />
 -    <ClCompile Include="src\packets.cpp" />
 -    <ClCompile Include="src\popup.cpp" />
 -    <ClCompile Include="src\proto.cpp" />
 -    <ClCompile Include="src\proxy.cpp" />
 -    <ClCompile Include="src\server.cpp" />
 -    <ClCompile Include="src\services.cpp" />
 -    <ClCompile Include="src\snac.cpp" />
 -    <ClCompile Include="src\theme.cpp" />
 -    <ClCompile Include="src\thread.cpp" />
 -    <ClCompile Include="src\tlv.cpp" />
 -    <ClCompile Include="src\ui.cpp" />
 -    <ClCompile Include="src\utility.cpp" />
 -  </ItemGroup>
 -  <ItemGroup>
 -    <ResourceCompile Include="res\aim.rc" />
 -    <ResourceCompile Include="res\version.rc" />
 -  </ItemGroup>
 -  <ItemGroup>
 -    <ClInclude Include="src\aim.h" />
 -    <ClInclude Include="src\avatars.h" />
 -    <ClInclude Include="src\conv.h" />
 -    <ClInclude Include="src\direct_connect.h" />
 -    <ClInclude Include="src\file.h" />
 -    <ClInclude Include="src\flap.h" />
 -    <ClInclude Include="src\links.h" />
 -    <ClInclude Include="src\packets.h" />
 -    <ClInclude Include="src\proto.h" />
 -    <ClInclude Include="src\proxy.h" />
 -    <ClInclude Include="src\resource.h" />
 -    <ClInclude Include="src\snac.h" />
 -    <ClInclude Include="src\theme.h" />
 -    <ClInclude Include="src\tlv.h" />
 -    <ClInclude Include="src\ui.h" />
 -    <ClInclude Include="src\utility.h" />
 -    <ClInclude Include="src\version.h" />
 -  </ItemGroup>
 -  <ItemGroup>
 -    <ProjectReference Include="..\..\plugins\zlib\zlib_10.vcxproj">
 -      <Project>{e2a369cd-eda3-414f-8ad0-e732cd7ee68c}</Project>
 -      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
 -    </ProjectReference>
 -  </ItemGroup>
 -  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 -  <ImportGroup Label="ExtensionTargets">
 -  </ImportGroup>
 -</Project>
\ No newline at end of file diff --git a/protocols/AimOscar/aim_12.vcxproj b/protocols/AimOscar/aim_12.vcxproj deleted file mode 100644 index a890e78f8d..0000000000 --- a/protocols/AimOscar/aim_12.vcxproj +++ /dev/null @@ -1,254 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
 -<Project DefaultTargets="Build" ToolsVersion="12.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="Debug|x64">
 -      <Configuration>Debug</Configuration>
 -      <Platform>x64</Platform>
 -    </ProjectConfiguration>
 -    <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">
 -    <ProjectName>AIM</ProjectName>
 -    <ProjectGuid>{736E59E5-CDCE-4C88-9C3A-E7913D45C9EC}</ProjectGuid>
 -  </PropertyGroup>
 -  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
 -  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
 -    <ConfigurationType>DynamicLibrary</ConfigurationType>
 -    <CharacterSet>Unicode</CharacterSet>
 -    <WholeProgramOptimization>true</WholeProgramOptimization>
 -    <PlatformToolset>v120_xp</PlatformToolset>
 -  </PropertyGroup>
 -  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
 -    <ConfigurationType>DynamicLibrary</ConfigurationType>
 -    <CharacterSet>Unicode</CharacterSet>
 -    <PlatformToolset>v120_xp</PlatformToolset>
 -  </PropertyGroup>
 -  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
 -    <ConfigurationType>DynamicLibrary</ConfigurationType>
 -    <CharacterSet>Unicode</CharacterSet>
 -    <WholeProgramOptimization>true</WholeProgramOptimization>
 -    <PlatformToolset>v120_xp</PlatformToolset>
 -  </PropertyGroup>
 -  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
 -    <ConfigurationType>DynamicLibrary</ConfigurationType>
 -    <CharacterSet>Unicode</CharacterSet>
 -    <PlatformToolset>v120_xp</PlatformToolset>
 -  </PropertyGroup>
 -  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
 -  <ImportGroup Label="ExtensionSettings">
 -  </ImportGroup>
 -  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
 -    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 -  </ImportGroup>
 -  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
 -    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 -  </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" />
 -  </ImportGroup>
 -  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
 -    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
 -  </ImportGroup>
 -  <PropertyGroup Label="UserMacros" />
 -  <PropertyGroup>
 -    <_ProjectFileVersion>10.0.30128.1</_ProjectFileVersion>
 -    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Plugins\</OutDir>
 -    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
 -    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
 -    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
 -    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\Plugins\</OutDir>
 -    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
 -    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
 -    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
 -    <IgnoreImportLibrary>true</IgnoreImportLibrary>
 -  </PropertyGroup>
 -  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 -    <ClCompile>
 -      <Optimization>Disabled</Optimization>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 -      <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
 -      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
 -      <PrecompiledHeader>Use</PrecompiledHeader>
 -      <PrecompiledHeaderFile>aim.h</PrecompiledHeaderFile>
 -      <WarningLevel>Level3</WarningLevel>
 -      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
 -      <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
 -      <ExceptionHandling>false</ExceptionHandling>
 -    </ClCompile>
 -    <ResourceCompile>
 -      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\include\msapi</AdditionalIncludeDirectories>
 -    </ResourceCompile>
 -    <Link>
 -      <AdditionalDependencies>ws2_32.lib;UxTheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
 -      <GenerateDebugInformation>true</GenerateDebugInformation>
 -      <RandomizedBaseAddress>false</RandomizedBaseAddress>
 -      <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
 -      <SubSystem>Windows</SubSystem>
 -      <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin12\lib</AdditionalLibraryDirectories>
 -      <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
 -    </Link>
 -  </ItemDefinitionGroup>
 -  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 -    <ClCompile>
 -      <Optimization>Disabled</Optimization>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 -      <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
 -      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
 -      <PrecompiledHeader>Use</PrecompiledHeader>
 -      <PrecompiledHeaderFile>aim.h</PrecompiledHeaderFile>
 -      <WarningLevel>Level3</WarningLevel>
 -      <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
 -      <ExceptionHandling>false</ExceptionHandling>
 -    </ClCompile>
 -    <ResourceCompile>
 -      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\include\msapi</AdditionalIncludeDirectories>
 -    </ResourceCompile>
 -    <Link>
 -      <GenerateDebugInformation>true</GenerateDebugInformation>
 -      <RandomizedBaseAddress>false</RandomizedBaseAddress>
 -      <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
 -      <AdditionalDependencies>ws2_32.lib;UxTheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
 -      <SubSystem>Windows</SubSystem>
 -      <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin12\lib</AdditionalLibraryDirectories>
 -    </Link>
 -  </ItemDefinitionGroup>
 -  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
 -    <ClCompile>
 -      <Optimization>Full</Optimization>
 -      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
 -      <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 -      <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <StringPooling>true</StringPooling>
 -      <ExceptionHandling>false</ExceptionHandling>
 -      <BufferSecurityCheck>false</BufferSecurityCheck>
 -      <FunctionLevelLinking>true</FunctionLevelLinking>
 -      <FloatingPointModel>Fast</FloatingPointModel>
 -      <PrecompiledHeader>Use</PrecompiledHeader>
 -      <PrecompiledHeaderFile>aim.h</PrecompiledHeaderFile>
 -      <WarningLevel>Level3</WarningLevel>
 -      <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
 -    </ClCompile>
 -    <ResourceCompile>
 -      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\include\msapi</AdditionalIncludeDirectories>
 -    </ResourceCompile>
 -    <Link>
 -      <AdditionalDependencies>ws2_32.lib;UxTheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
 -      <GenerateDebugInformation>true</GenerateDebugInformation>
 -      <OptimizeReferences>true</OptimizeReferences>
 -      <EnableCOMDATFolding>true</EnableCOMDATFolding>
 -      <RandomizedBaseAddress>false</RandomizedBaseAddress>
 -      <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
 -      <SubSystem>Windows</SubSystem>
 -      <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin12\lib</AdditionalLibraryDirectories>
 -    </Link>
 -  </ItemDefinitionGroup>
 -  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 -    <ClCompile>
 -      <Optimization>Full</Optimization>
 -      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
 -      <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
 -      <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <StringPooling>true</StringPooling>
 -      <ExceptionHandling>false</ExceptionHandling>
 -      <BufferSecurityCheck>false</BufferSecurityCheck>
 -      <FunctionLevelLinking>true</FunctionLevelLinking>
 -      <FloatingPointModel>Fast</FloatingPointModel>
 -      <PrecompiledHeader>Use</PrecompiledHeader>
 -      <PrecompiledHeaderFile>aim.h</PrecompiledHeaderFile>
 -      <WarningLevel>Level3</WarningLevel>
 -      <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
 -    </ClCompile>
 -    <ResourceCompile>
 -      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 -      <AdditionalIncludeDirectories>..\..\include;..\..\include\msapi</AdditionalIncludeDirectories>
 -    </ResourceCompile>
 -    <Link>
 -      <AdditionalDependencies>ws2_32.lib;UxTheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
 -      <GenerateDebugInformation>true</GenerateDebugInformation>
 -      <OptimizeReferences>true</OptimizeReferences>
 -      <EnableCOMDATFolding>true</EnableCOMDATFolding>
 -      <RandomizedBaseAddress>false</RandomizedBaseAddress>
 -      <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
 -      <SubSystem>Windows</SubSystem>
 -      <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin12\lib</AdditionalLibraryDirectories>
 -    </Link>
 -  </ItemDefinitionGroup>
 -  <ItemGroup>
 -    <ClCompile Include="src\stdafx.cpp">
 -      <PrecompiledHeader>Create</PrecompiledHeader>
 -    </ClCompile>
 -    <ClCompile Include="src\aim.cpp" />
 -    <ClCompile Include="src\avatars.cpp" />
 -    <ClCompile Include="src\away.cpp" />
 -    <ClCompile Include="src\chat.cpp" />
 -    <ClCompile Include="src\client.cpp" />
 -    <ClCompile Include="src\connection.cpp" />
 -    <ClCompile Include="src\conv.cpp" />
 -    <ClCompile Include="src\direct_connect.cpp" />
 -    <ClCompile Include="src\error.cpp" />
 -    <ClCompile Include="src\file.cpp" />
 -    <ClCompile Include="src\flap.cpp" />
 -    <ClCompile Include="src\links.cpp" />
 -    <ClCompile Include="src\packets.cpp" />
 -    <ClCompile Include="src\popup.cpp" />
 -    <ClCompile Include="src\proto.cpp" />
 -    <ClCompile Include="src\proxy.cpp" />
 -    <ClCompile Include="src\server.cpp" />
 -    <ClCompile Include="src\services.cpp" />
 -    <ClCompile Include="src\snac.cpp" />
 -    <ClCompile Include="src\theme.cpp" />
 -    <ClCompile Include="src\thread.cpp" />
 -    <ClCompile Include="src\tlv.cpp" />
 -    <ClCompile Include="src\ui.cpp" />
 -    <ClCompile Include="src\utility.cpp" />
 -  </ItemGroup>
 -  <ItemGroup>
 -    <ResourceCompile Include="res\aim.rc" />
 -    <ResourceCompile Include="res\version.rc" />
 -  </ItemGroup>
 -  <ItemGroup>
 -    <ClInclude Include="src\aim.h" />
 -    <ClInclude Include="src\avatars.h" />
 -    <ClInclude Include="src\conv.h" />
 -    <ClInclude Include="src\direct_connect.h" />
 -    <ClInclude Include="src\file.h" />
 -    <ClInclude Include="src\flap.h" />
 -    <ClInclude Include="src\links.h" />
 -    <ClInclude Include="src\packets.h" />
 -    <ClInclude Include="src\proto.h" />
 -    <ClInclude Include="src\proxy.h" />
 -    <ClInclude Include="src\resource.h" />
 -    <ClInclude Include="src\snac.h" />
 -    <ClInclude Include="src\theme.h" />
 -    <ClInclude Include="src\tlv.h" />
 -    <ClInclude Include="src\ui.h" />
 -    <ClInclude Include="src\utility.h" />
 -    <ClInclude Include="src\version.h" />
 -  </ItemGroup>
 -  <ItemGroup>
 -    <ProjectReference Include="..\..\plugins\Zlib\zlib_12.vcxproj">
 -      <Project>{e2a369cd-eda3-414f-8ad0-e732cd7ee68c}</Project>
 -    </ProjectReference>
 -  </ItemGroup>
 -  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 -  <ImportGroup Label="ExtensionTargets">
 -  </ImportGroup>
 -</Project>
\ No newline at end of file diff --git a/protocols/AimOscar/aim_12.vcxproj.filters b/protocols/AimOscar/aim_12.vcxproj.filters deleted file mode 100644 index d16759a29f..0000000000 --- a/protocols/AimOscar/aim_12.vcxproj.filters +++ /dev/null @@ -1,155 +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>{bb4de2c0-924f-4214-adcd-e1cd6b682aea}</UniqueIdentifier>
 -      <Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions>
 -    </Filter>
 -    <Filter Include="Resource Files">
 -      <UniqueIdentifier>{ba3c9a35-574e-4e16-a2c9-c354f38b35a5}</UniqueIdentifier>
 -      <Extensions>ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions>
 -    </Filter>
 -    <Filter Include="Header Files">
 -      <UniqueIdentifier>{81bc3e1e-e322-4c6c-a73b-fbe6746178a6}</UniqueIdentifier>
 -      <Extensions>h;hpp;hxx;hm;inl</Extensions>
 -    </Filter>
 -  </ItemGroup>
 -  <ItemGroup>
 -    <ClCompile Include="src\aim.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\avatars.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\away.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\chat.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\client.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\connection.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\conv.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\direct_connect.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\error.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\file.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\flap.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\links.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\packets.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\popup.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\proto.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\proxy.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\server.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\services.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\snac.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\theme.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\thread.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\tlv.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\ui.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\utility.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -    <ClCompile Include="src\stdafx.cpp">
 -      <Filter>Source Files</Filter>
 -    </ClCompile>
 -  </ItemGroup>
 -  <ItemGroup>
 -    <ResourceCompile Include="res\aim.rc">
 -      <Filter>Resource Files</Filter>
 -    </ResourceCompile>
 -    <ResourceCompile Include="res\version.rc">
 -      <Filter>Resource Files</Filter>
 -    </ResourceCompile>
 -  </ItemGroup>
 -  <ItemGroup>
 -    <ClInclude Include="src\aim.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\avatars.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\conv.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\direct_connect.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\file.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\flap.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\links.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\packets.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\proto.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\proxy.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\resource.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\snac.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\theme.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\tlv.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\ui.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\utility.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -    <ClInclude Include="src\version.h">
 -      <Filter>Header Files</Filter>
 -    </ClInclude>
 -  </ItemGroup>
 -</Project>
\ No newline at end of file diff --git a/protocols/AimOscar/src/aim.cpp b/protocols/AimOscar/src/aim.cpp index 8586de414e..3809b86ae6 100644 --- a/protocols/AimOscar/src/aim.cpp +++ b/protocols/AimOscar/src/aim.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  char AIM_CAP_MIRANDA[16] = "MirandaA";
 @@ -75,10 +75,9 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_PROTOCO  ////////////////////////////////////////////////////////////////////////////////////////
  //	OnModulesLoaded - finalizes plugin's configuration on load
 -static int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
 +static int OnModulesLoaded(WPARAM, LPARAM)
  {
  	aim_links_init();
 -
  	return 0;
  }
 diff --git a/protocols/AimOscar/src/avatars.cpp b/protocols/AimOscar/src/avatars.cpp index f36cd8c11d..2d6de87415 100644 --- a/protocols/AimOscar/src/avatars.cpp +++ b/protocols/AimOscar/src/avatars.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  void __cdecl CAimProto::avatar_request_thread(void* param)
  {
 @@ -74,7 +74,7 @@ void CAimProto::avatar_request_handler(MCONTACT hContact, char* hash, unsigned c  	char* saved_hash = getStringA(hContact, AIM_KEY_AH);
  	if (hash && _stricmp(hash, "0201d20472") && _stricmp(hash, "2b00003341")) //gaim default icon fix- we don't want their blank icon displaying.
  	{
 -		if (_strcmps(saved_hash, hash))
 +		if (mir_strcmp(saved_hash, hash))
  		{
  			setByte(hContact, AIM_KEY_AHT, type);
  			setString(hContact, AIM_KEY_AH, hash);
 @@ -95,7 +95,7 @@ void CAimProto::avatar_request_handler(MCONTACT hContact, char* hash, unsigned c  	mir_free(saved_hash);
  }
 -void CAimProto::avatar_retrieval_handler(const char* sn, const char* hash, const char* data, int data_len)
 +void CAimProto::avatar_retrieval_handler(const char* sn, const char* /*hash*/, const char* data, int data_len)
  {
  	bool res = false;
  	PROTO_AVATAR_INFORMATIONT AI = {0};
 @@ -115,7 +115,7 @@ void CAimProto::avatar_retrieval_handler(const char* sn, const char* hash, const  			res = true;
  			char *my_sn = getStringA(AIM_KEY_SN);
 -			if (!_strcmps(sn, my_sn))
 +			if (!mir_strcmp(sn, my_sn))
  				CallService(MS_AV_REPORTMYAVATARCHANGED, (WPARAM)m_szModuleName, 0);
  			mir_free(my_sn);
  		}
 diff --git a/protocols/AimOscar/src/away.cpp b/protocols/AimOscar/src/away.cpp index 45ed0097cd..3b1665e2c9 100644 --- a/protocols/AimOscar/src/away.cpp +++ b/protocols/AimOscar/src/away.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  char** CAimProto::get_status_msg_loc(int status)
  {
 @@ -41,7 +41,7 @@ char** CAimProto::get_status_msg_loc(int status)  int CAimProto::aim_set_away(HANDLE hServerConn, unsigned short &seqno, const char *amsg, bool set)//user info
  {
 -	unsigned short offset=0;
 +	unsigned short offset = 0;
  	char* html_msg = NULL;
  	size_t msg_size = 0;
  	if (set)
 @@ -59,67 +59,62 @@ int CAimProto::aim_set_away(HANDLE hServerConn, unsigned short &seqno, const cha  	const char* msg = str.getBuf();
  	const unsigned short msg_len = str.getSize();
 -	char* buf=(char*)alloca(SNAC_SIZE+TLV_HEADER_SIZE*3+charset_len+msg_len+1);
 +	char* buf = (char*)alloca(SNAC_SIZE + TLV_HEADER_SIZE * 3 + charset_len + msg_len + 1);
 -	aim_writesnac(0x02,0x04,offset,buf);
 -	aim_writetlv(0x03,charset_len,charset,offset,buf);
 -	aim_writetlv(0x04,(unsigned short)msg_len,msg,offset,buf);
 +	aim_writesnac(0x02, 0x04, offset, buf);
 +	aim_writetlv(0x03, charset_len, charset, offset, buf);
 +	aim_writetlv(0x04, (unsigned short)msg_len, msg, offset, buf);
 -//	aim_writetlvchar(0x0f,2,offset,buf);
 -	
  	mir_free(html_msg);
 -	return aim_sendflap(hServerConn,0x02,offset,buf,seqno);
 +	return aim_sendflap(hServerConn, 0x02, offset, buf, seqno);
  }
 -int CAimProto::aim_set_status(HANDLE hServerConn,unsigned short &seqno,unsigned long status_type)
 +int CAimProto::aim_set_status(HANDLE hServerConn, unsigned short &seqno, unsigned long status_type)
  {
 -	unsigned short offset=0;
 -	char buf[SNAC_SIZE+TLV_HEADER_SIZE*2];
 -	aim_writesnac(0x01,0x1E,offset,buf);
 -	aim_writetlvlong(0x06,status_type,offset,buf);
 -	return aim_sendflap(hServerConn,0x02,offset,buf,seqno);
 +	unsigned short offset = 0;
 +	char buf[SNAC_SIZE + TLV_HEADER_SIZE * 2];
 +	aim_writesnac(0x01, 0x1E, offset, buf);
 +	aim_writetlvlong(0x06, status_type, offset, buf);
 +	return aim_sendflap(hServerConn, 0x02, offset, buf, seqno);
  }
 -int CAimProto::aim_set_statusmsg(HANDLE hServerConn,unsigned short &seqno,const char *msg)//user info
 +int CAimProto::aim_set_statusmsg(HANDLE hServerConn, unsigned short &seqno, const char *msg)//user info
  {
 -	size_t msg_size =_strlens(msg);
 +	size_t msg_size = mir_strlen(msg);
 +
 +	unsigned short msgoffset = 0;
 +	char* msgbuf = (char*)alloca(10 + msg_size);
 +	if (msg_size) {
 +		char* msgb = (char*)alloca(4 + msg_size);
 +		msgb[0] = (unsigned char)(msg_size >> 8);
 +		msgb[1] = (unsigned char)(msg_size & 0xff);
 +		memcpy(&msgb[2], msg, msg_size);
 +		msgb[msg_size + 2] = 0;
 +		msgb[msg_size + 3] = 0;
 +
 +		aim_writebartid(2, 4, (unsigned short)(msg_size + 4), msgb, msgoffset, msgbuf);
 +	}
 +	else aim_writebartid(2, 0, 0, NULL, msgoffset, msgbuf);
 -	unsigned short msgoffset=0;
 -	char* msgbuf=(char*)alloca(10+msg_size);
 +	unsigned short offset = 0;
 +	char* buf = (char*)alloca(SNAC_SIZE + TLV_HEADER_SIZE + msgoffset + 8);
 +	aim_writesnac(0x01, 0x1e, offset, buf);
 +	aim_writetlv(0x1d, msgoffset, msgbuf, offset, buf);
 -	if (msg_size)
 -	{
 -		char* msgb=(char*)alloca(4+msg_size);
 -		msgb[0]=(unsigned char)(msg_size >> 8);
 -		msgb[1]=(unsigned char)(msg_size & 0xff);
 -		memcpy(&msgb[2],msg,msg_size);
 -		msgb[msg_size+2]=0;
 -		msgb[msg_size+3]=0;
 -		
 -		aim_writebartid(2,4,(unsigned short)(msg_size+4),msgb,msgoffset,msgbuf);
 -	}
 -	else
 -		aim_writebartid(2,0,0,NULL,msgoffset,msgbuf);
 -
 -	unsigned short offset=0;
 -	char* buf=(char*)alloca(SNAC_SIZE+TLV_HEADER_SIZE+msgoffset+8);
 -	aim_writesnac(0x01,0x1e,offset,buf);
 -	aim_writetlv(0x1d,msgoffset,msgbuf,offset,buf);
 -	
 -	return aim_sendflap(hServerConn,0x02,offset,buf,seqno);
 +	return aim_sendflap(hServerConn, 0x02, offset, buf, seqno);
  }
 -int CAimProto::aim_query_away_message(HANDLE hServerConn,unsigned short &seqno,const char* sn)
 +int CAimProto::aim_query_away_message(HANDLE hServerConn, unsigned short &seqno, const char* sn)
  {
 -	unsigned short offset=0;
 -	unsigned short sn_length=(unsigned short)strlen(sn);
 -	char* buf=(char*)alloca(SNAC_SIZE+5+sn_length);
 -	aim_writesnac(0x02,0x15,offset,buf);
 -	aim_writegeneric(4,"\0\0\0\x02",offset,buf);
 -	aim_writegeneric(1,(char*)&sn_length,offset,buf);
 -	aim_writegeneric(sn_length,sn,offset,buf);
 -	int res=aim_sendflap(hServerConn,0x02,offset,buf,seqno)==0;
 +	unsigned short offset = 0;
 +	unsigned short sn_length = (unsigned short)strlen(sn);
 +	char *buf = (char*)alloca(SNAC_SIZE + 5 + sn_length);
 +	aim_writesnac(0x02, 0x15, offset, buf);
 +	aim_writegeneric(4, "\0\0\0\x02", offset, buf);
 +	aim_writegeneric(1, (char*)&sn_length, offset, buf);
 +	aim_writegeneric(sn_length, sn, offset, buf);
 +	int res = aim_sendflap(hServerConn, 0x02, offset, buf, seqno) == 0;
  	return res;
  }
 diff --git a/protocols/AimOscar/src/chat.cpp b/protocols/AimOscar/src/chat.cpp index d1b4bb900f..384a08fa18 100644 --- a/protocols/AimOscar/src/chat.cpp +++ b/protocols/AimOscar/src/chat.cpp @@ -15,7 +15,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  static const COLORREF crCols[16] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
 @@ -102,7 +102,7 @@ void CAimProto::chat_leave(const char* id)  }
 -int CAimProto::OnGCEvent(WPARAM wParam,LPARAM lParam) 
 +int CAimProto::OnGCEvent(WPARAM, LPARAM lParam) 
  {
  	GCHOOK *gch = (GCHOOK*) lParam;
  	if (!gch) return 1;
 @@ -188,9 +188,9 @@ int CAimProto::OnGCEvent(WPARAM wParam,LPARAM lParam)  	return 0;
  }
 -int CAimProto::OnGCMenuHook(WPARAM wParam,LPARAM lParam) 
 +int CAimProto::OnGCMenuHook(WPARAM, LPARAM lParam) 
  {
 -	GCMENUITEMS *gcmi= (GCMENUITEMS*) lParam;
 +	GCMENUITEMS *gcmi= (GCMENUITEMS*)lParam;
  	if ( gcmi == NULL || _stricmp(gcmi->pszModule, m_szModuleName )) return 0;
 diff --git a/protocols/AimOscar/src/client.cpp b/protocols/AimOscar/src/client.cpp index 69577e8cc2..a766db7187 100644 --- a/protocols/AimOscar/src/client.cpp +++ b/protocols/AimOscar/src/client.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  int CAimProto::aim_send_connection_packet(HANDLE hServerConn,unsigned short &seqno,char *buf)
  {
 @@ -414,8 +414,8 @@ int CAimProto::aim_add_contact(HANDLE hServerConn, unsigned short &seqno, const  {
  	unsigned short offset=0;
  	unsigned short sn_length=(unsigned short)strlen(sn);
 -	unsigned short nick_length = (unsigned short)_strlens(nick);
 -	unsigned short note_length = (unsigned short)_strlens(note);
 +	unsigned short nick_length = (unsigned short)mir_strlen(nick);
 +	unsigned short note_length = (unsigned short)mir_strlen(note);
  	unsigned short tlv_len = nick || note ? TLV_HEADER_SIZE * 2 + nick_length + note_length : 0;
  	char* buf=(char*)alloca(SNAC_SIZE + sn_length + 10 + tlv_len);
 @@ -458,8 +458,8 @@ int CAimProto::aim_mod_buddy(HANDLE hServerConn, unsigned short &seqno, const ch  {
  	unsigned short offset=0;
  	unsigned short sn_length = (unsigned short)strlen(sn);
 -	unsigned short nick_length = (unsigned short)_strlens(nick);
 -	unsigned short note_length = (unsigned short)_strlens(note);
 +	unsigned short nick_length = (unsigned short)mir_strlen(nick);
 +	unsigned short note_length = (unsigned short)mir_strlen(note);
  	unsigned short tlv_len = TLV_HEADER_SIZE * 2 + nick_length + note_length;
  	char* buf=(char*)alloca(SNAC_SIZE+sn_length+10+tlv_len);
 @@ -625,7 +625,7 @@ int CAimProto::aim_send_file(HANDLE hServerConn, unsigned short &seqno,  }
 -int CAimProto::aim_file_ad(HANDLE hServerConn,unsigned short &seqno,char* sn, char* icbm_cookie, bool deny, unsigned short max_ver)
 +int CAimProto::aim_file_ad(HANDLE hServerConn,unsigned short &seqno,char* sn, char* icbm_cookie, bool deny, unsigned short)
  {	
  	unsigned short frag_offset=0;
  	char msg_frag[10+AIM_CAPS_LENGTH+TLV_HEADER_SIZE*2+6];
 @@ -742,7 +742,7 @@ int CAimProto::aim_set_avatar_hash(HANDLE hServerConn, unsigned short &seqno, ch  	return aim_sendflap(hServerConn,0x02,offset,buf,seqno);
  }
 -int CAimProto::aim_delete_avatar_hash(HANDLE hServerConn, unsigned short &seqno, char flags, unsigned short bart_type, unsigned short & id)
 +int CAimProto::aim_delete_avatar_hash(HANDLE hServerConn, unsigned short &seqno, char /*flags*/, unsigned short bart_type, unsigned short & id)
  {
  	unsigned short offset=0;
 diff --git a/protocols/AimOscar/src/connection.cpp b/protocols/AimOscar/src/connection.cpp index d9acb8d542..d813cb5646 100644 --- a/protocols/AimOscar/src/connection.cpp +++ b/protocols/AimOscar/src/connection.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  HANDLE CAimProto::aim_connect(const char* server, unsigned short port, bool use_ssl, const char* host)
  {
 diff --git a/protocols/AimOscar/src/conv.cpp b/protocols/AimOscar/src/conv.cpp index 96aff9e2e5..faa4bdc01c 100644 --- a/protocols/AimOscar/src/conv.cpp +++ b/protocols/AimOscar/src/conv.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  #pragma warning( disable: 4706 )
 @@ -610,8 +610,8 @@ char* rtf_to_html(HWND hwndDlg,int DlgItem)  	BOOL Italic=false;
  	BOOL Underline=false;
  	char Face[32]="";
 -	COLORREF Color;
 -	COLORREF BackColor;
 +	COLORREF Color=0;
 +	COLORREF BackColor=0;
  	int Size=0;
  	GETTEXTLENGTHEX tl;
  	tl.flags=GTL_DEFAULT;
 @@ -703,7 +703,7 @@ char* rtf_to_html(HWND hwndDlg,int DlgItem)  				}
  			}
  		}
 -		if ( Size != isSize || Color != isColor || BackColor != isBackColor || mir_strcmp( Face, cfOld.szFaceName ))
 +		if (Size != isSize || Color != isColor || BackColor != isBackColor || mir_strcmp(Face, cfOld.szFaceName))
  		{
  			Size=isSize;
  			Color=isColor;
 diff --git a/protocols/AimOscar/src/direct_connect.cpp b/protocols/AimOscar/src/direct_connect.cpp index 982d56fe7d..0ed07c535c 100644 --- a/protocols/AimOscar/src/direct_connect.cpp +++ b/protocols/AimOscar/src/direct_connect.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  void __cdecl CAimProto::aim_dc_helper(void* param) //only called when we are initiating a direct connection with someone else
  {
 diff --git a/protocols/AimOscar/src/error.cpp b/protocols/AimOscar/src/error.cpp index cfd5f3e26d..f9ecf33108 100644 --- a/protocols/AimOscar/src/error.cpp +++ b/protocols/AimOscar/src/error.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  void CAimProto::login_error(unsigned short error)
  {
 diff --git a/protocols/AimOscar/src/file.cpp b/protocols/AimOscar/src/file.cpp index 03871937f8..300561e408 100644 --- a/protocols/AimOscar/src/file.cpp +++ b/protocols/AimOscar/src/file.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  #pragma pack(push, 1)
  struct oft2//oscar file transfer 2 class- See On_Sending_Files_via_OSCAR.pdf
 diff --git a/protocols/AimOscar/src/flap.cpp b/protocols/AimOscar/src/flap.cpp index 9d5186da47..96b164fa9c 100644 --- a/protocols/AimOscar/src/flap.cpp +++ b/protocols/AimOscar/src/flap.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  FLAP::FLAP(char* buf,int num_bytes)
  {
 diff --git a/protocols/AimOscar/src/links.cpp b/protocols/AimOscar/src/links.cpp index 12f69bd9fc..ee4709ac0c 100644 --- a/protocols/AimOscar/src/links.cpp +++ b/protocols/AimOscar/src/links.cpp @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  static HANDLE hServiceParseLink;
 diff --git a/protocols/AimOscar/src/packets.cpp b/protocols/AimOscar/src/packets.cpp index f4f44ab8bf..4c5964d293 100644 --- a/protocols/AimOscar/src/packets.cpp +++ b/protocols/AimOscar/src/packets.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  int aim_writesnac(unsigned short service, unsigned short subgroup,unsigned short &offset, char* out, unsigned short id)
  {
 diff --git a/protocols/AimOscar/src/popup.cpp b/protocols/AimOscar/src/popup.cpp index c561994451..82ded8680c 100644 --- a/protocols/AimOscar/src/popup.cpp +++ b/protocols/AimOscar/src/popup.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  struct CAimPopupData
  {
 diff --git a/protocols/AimOscar/src/proto.cpp b/protocols/AimOscar/src/proto.cpp index 0b468f1dba..fcf9c2e86b 100644 --- a/protocols/AimOscar/src/proto.cpp +++ b/protocols/AimOscar/src/proto.cpp @@ -15,7 +15,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  CAimProto::CAimProto(const char* aProtoName, const TCHAR* aUserName) :
  	PROTO<CAimProto>(aProtoName, aUserName),
 @@ -105,11 +105,11 @@ CAimProto::~CAimProto()  ////////////////////////////////////////////////////////////////////////////////////////
  // OnModulesLoadedEx - performs hook registration
 -int CAimProto::OnModulesLoaded(WPARAM wParam, LPARAM lParam)
 +int CAimProto::OnModulesLoaded(WPARAM, LPARAM)
  {
 -	HookProtoEvent(ME_USERINFO_INITIALISE,      &CAimProto::OnUserInfoInit);
 -	HookProtoEvent(ME_IDLE_CHANGED,             &CAimProto::OnIdleChanged);
 -	HookProtoEvent(ME_MSG_WINDOWEVENT,          &CAimProto::OnWindowEvent);
 +	HookProtoEvent(ME_IDLE_CHANGED, &CAimProto::OnIdleChanged);
 +	HookProtoEvent(ME_MSG_WINDOWEVENT, &CAimProto::OnWindowEvent);
 +	HookProtoEvent(ME_USERINFO_INITIALISE, &CAimProto::OnUserInfoInit);
  	chat_register();
  	InitContactMenus();
 @@ -131,25 +131,9 @@ MCONTACT CAimProto::AddToList(int flags, PROTOSEARCHRESULT* psr)  }
  ////////////////////////////////////////////////////////////////////////////////////////
 -// AuthAllow - processes the successful authorization
 -
 -int CAimProto::Authorize(MEVENT hDbEvent)
 -{
 -	return 0;
 -}
 -
 -////////////////////////////////////////////////////////////////////////////////////////
 -// AuthDeny - handles the unsuccessful authorization
 -
 -int CAimProto::AuthDeny(MEVENT hDbEvent, const TCHAR* szReason)
 -{
 -	return 0;
 -}
 -
 -////////////////////////////////////////////////////////////////////////////////////////
  // PSS_AUTHREQUEST
 -int __cdecl CAimProto::AuthRequest(MCONTACT hContact, const TCHAR* szMessage)
 +int __cdecl CAimProto::AuthRequest(MCONTACT hContact, const TCHAR*)
  {
  	//Not a real authrequest- only used b/c we don't know the group until now.
  	if (state != 1)
 @@ -169,7 +153,7 @@ int __cdecl CAimProto::AuthRequest(MCONTACT hContact, const TCHAR* szMessage)  ////////////////////////////////////////////////////////////////////////////////////////
  // FileAllow - starts a file transfer
 -HANDLE __cdecl CAimProto::FileAllow(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szPath)
 +HANDLE __cdecl CAimProto::FileAllow(MCONTACT, HANDLE hTransfer, const PROTOCHAR* szPath)
  {
  	file_transfer *ft = (file_transfer*)hTransfer;
  	if (ft && ft_list.find_by_ft(ft))
 @@ -197,7 +181,7 @@ HANDLE __cdecl CAimProto::FileAllow(MCONTACT hContact, HANDLE hTransfer, const P  ////////////////////////////////////////////////////////////////////////////////////////
  // FileCancel - cancels a file transfer
 -int __cdecl CAimProto::FileCancel(MCONTACT hContact, HANDLE hTransfer)
 +int __cdecl CAimProto::FileCancel(MCONTACT, HANDLE hTransfer)
  {
  	file_transfer *ft = (file_transfer*)hTransfer;
  	if (!ft_list.find_by_ft(ft)) return 0;
 @@ -220,7 +204,7 @@ int __cdecl CAimProto::FileCancel(MCONTACT hContact, HANDLE hTransfer)  ////////////////////////////////////////////////////////////////////////////////////////
  // FileDeny - denies a file transfer
 -int __cdecl CAimProto::FileDeny(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* /*szReason*/)
 +int __cdecl CAimProto::FileDeny(MCONTACT, HANDLE hTransfer, const PROTOCHAR* /*szReason*/)
  {
  	file_transfer *ft = (file_transfer*)hTransfer;
  	if (!ft_list.find_by_ft(ft)) return 0;
 @@ -239,8 +223,7 @@ int __cdecl CAimProto::FileResume(HANDLE hTransfer, int* action, const PROTOCHAR  	file_transfer *ft = (file_transfer*)hTransfer;
  	if (!ft_list.find_by_ft(ft)) return 0;
 -	switch (*action)
 -	{
 +	switch (*action) {
  	case FILERESUME_RESUME:
  		{
  			struct _stati64 statbuf;
 @@ -275,10 +258,9 @@ int __cdecl CAimProto::FileResume(HANDLE hTransfer, int* action, const PROTOCHAR  ////////////////////////////////////////////////////////////////////////////////////////
  // GetCaps - return protocol capabilities bits
 -DWORD_PTR __cdecl CAimProto::GetCaps(int type, MCONTACT hContact)
 +DWORD_PTR __cdecl CAimProto::GetCaps(int type, MCONTACT)
  {
 -	switch (type)
 -	{
 +	switch (type) {
  	case PFLAGNUM_1:
  		return PF1_IM | PF1_MODEMSG | PF1_BASICSEARCH | PF1_SEARCHBYEMAIL | PF1_FILE;
 @@ -645,7 +627,7 @@ HANDLE __cdecl CAimProto::GetAwayMsg(MCONTACT hContact)  ////////////////////////////////////////////////////////////////////////////////////////
  // PSR_AWAYMSG
 -int __cdecl CAimProto::RecvAwayMsg(MCONTACT hContact, int statusMode, PROTORECVEVENT* pre)
 +int __cdecl CAimProto::RecvAwayMsg(MCONTACT hContact, int, PROTORECVEVENT* pre)
  {
  	ProtoBroadcastAck(hContact, ACKTYPE_AWAYMSG, ACKRESULT_SUCCESS, (HANDLE)1, (LPARAM)pre->szMessage);
  	return 0;
 @@ -684,7 +666,7 @@ int __cdecl CAimProto::SetAwayMsg(int status, const TCHAR* msg)  	if (state == 1 && status == m_iStatus)
  	{
 -		if (!_strcmps(last_status_msg, nmsg))
 +		if (!mir_strcmp(last_status_msg, nmsg))
  			return 0;
  		mir_free(last_status_msg);
 diff --git a/protocols/AimOscar/src/proto.h b/protocols/AimOscar/src/proto.h index e92f9f34e1..b5e77ed9bc 100644 --- a/protocols/AimOscar/src/proto.h +++ b/protocols/AimOscar/src/proto.h @@ -30,8 +30,6 @@ struct CAimProto : public PROTO<CAimProto>  	virtual	MCONTACT  __cdecl AddToList( int flags, PROTOSEARCHRESULT* psr );
 -	virtual	int       __cdecl Authorize( MEVENT hDbEvent );
 -	virtual	int       __cdecl AuthDeny( MEVENT hDbEvent, const TCHAR* szReason );
  	virtual	int       __cdecl AuthRequest(MCONTACT hContact, const TCHAR* szMessage );
  	virtual	HANDLE    __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szPath );
 diff --git a/protocols/AimOscar/src/proxy.cpp b/protocols/AimOscar/src/proxy.cpp index d24f34f8f2..7cfaa76e19 100644 --- a/protocols/AimOscar/src/proxy.cpp +++ b/protocols/AimOscar/src/proxy.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  void __cdecl CAimProto::aim_proxy_helper(void* param)
  {
 diff --git a/protocols/AimOscar/src/server.cpp b/protocols/AimOscar/src/server.cpp index 743966c18a..9256800a9d 100644 --- a/protocols/AimOscar/src/server.cpp +++ b/protocols/AimOscar/src/server.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  void CAimProto::snac_md5_authkey(SNAC &snac,HANDLE hServerConn,unsigned short &seqno, const char* username, const char* password)//family 0x0017
  {
 @@ -758,7 +758,7 @@ void CAimProto::process_ssi_list(SNAC &snac, int &offset)  		break;
  	case 0x0014: //avatar record
 -		if (!_strcmps(name, "1") || !_strcmps(name, "12")) {
 +		if (!mir_strcmp(name, "1") || !mir_strcmp(name, "12")) {
  			if (name_length == 1)
  				avatar_id_sm = item_id;
  			else
 @@ -768,7 +768,6 @@ void CAimProto::process_ssi_list(SNAC &snac, int &offset)  				TLV tlv(snac.val(tlv_base + tlv_offset));
  				if (tlv.cmp(0x00d5) && tlv.len() > 2) {
 -					unsigned char type = tlv.ubyte(0);
  					if (name_length == 1) {
  						mir_free(hash_sm);
  						hash_sm = bytes_to_string(tlv.val() + 2, tlv.ubyte(1));
 @@ -899,7 +898,7 @@ void CAimProto::modify_ssi_list(SNAC &snac, int &offset)  		break;
  	case 0x0014: //avatar record
 -		if (!_strcmps(name, "1") || !_strcmps(name, "12"))
 +		if (!mir_strcmp(name, "1") || !mir_strcmp(name, "12"))
  		{
  			if (name_length == 1)
  				avatar_id_sm = item_id;
 @@ -969,13 +968,13 @@ void CAimProto::delete_ssi_list(SNAC &snac, int &offset)  		break;
  	case 0x0014: //avatar record
 -		if (_strcmps(name, "1"))
 +		if (mir_strcmp(name, "1"))
  		{
  			avatar_id_sm = 0;
  			mir_free(hash_sm);
  			hash_sm = NULL;
  		}
 -		else if (!_strcmps(name, "12"))
 +		else if (!mir_strcmp(name, "12"))
  		{
  			avatar_id_lg = 0;
  			mir_free(hash_lg);
 diff --git a/protocols/AimOscar/src/services.cpp b/protocols/AimOscar/src/services.cpp index e21396f34c..8e7c2c75db 100644 --- a/protocols/AimOscar/src/services.cpp +++ b/protocols/AimOscar/src/services.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  INT_PTR CAimProto::GetMyAwayMsg(WPARAM wParam,LPARAM lParam)
  {
 diff --git a/protocols/AimOscar/src/snac.cpp b/protocols/AimOscar/src/snac.cpp index 8c893b58e0..0dd1c12d3f 100644 --- a/protocols/AimOscar/src/snac.cpp +++ b/protocols/AimOscar/src/snac.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  SNAC::SNAC(char* buf,unsigned short length)
  {
 diff --git a/protocols/AimOscar/src/stdafx.cpp b/protocols/AimOscar/src/stdafx.cxx index a53e8c03ae..6fb37564b7 100644 --- a/protocols/AimOscar/src/stdafx.cpp +++ b/protocols/AimOscar/src/stdafx.cxx @@ -15,4 +15,4 @@ You should have received a copy of the GNU General Public License  along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
\ No newline at end of file +#include "stdafx.h"
\ No newline at end of file diff --git a/protocols/AimOscar/src/aim.h b/protocols/AimOscar/src/stdafx.h index ddf2d6d60c..371dffa66f 100644 --- a/protocols/AimOscar/src/aim.h +++ b/protocols/AimOscar/src/stdafx.h @@ -317,9 +317,4 @@ extern char AIM_CAP_MIRANDA[]; //Miranda cap EXTERN  extern HINSTANCE hInstance; //plugin dll instance
 -#define _strlens(a) (a ? strlen(a) : 0)
 -#define _strcmps(a,b) (a != b && (!a || !b || strcmp(a, b)))
 -
 -//#define ALLOW_BUSY
 -
  #endif
 diff --git a/protocols/AimOscar/src/theme.cpp b/protocols/AimOscar/src/theme.cpp index 0e4b6b69b5..36acbcef17 100644 --- a/protocols/AimOscar/src/theme.cpp +++ b/protocols/AimOscar/src/theme.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  /////////////////////////////////////////////////////////////////////////////////////////
  // Icons init
 diff --git a/protocols/AimOscar/src/thread.cpp b/protocols/AimOscar/src/thread.cpp index 04b0991333..8c03fab0a0 100644 --- a/protocols/AimOscar/src/thread.cpp +++ b/protocols/AimOscar/src/thread.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  void __cdecl CAimProto::accept_file_thread(void* param)//buddy sending file
  {
 diff --git a/protocols/AimOscar/src/tlv.cpp b/protocols/AimOscar/src/tlv.cpp index f35fbac50e..717ef5d4b5 100644 --- a/protocols/AimOscar/src/tlv.cpp +++ b/protocols/AimOscar/src/tlv.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details.  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  TLV::TLV(char* buf)
  {
 diff --git a/protocols/AimOscar/src/ui.cpp b/protocols/AimOscar/src/ui.cpp index 02294d8587..c846ab9574 100644 --- a/protocols/AimOscar/src/ui.cpp +++ b/protocols/AimOscar/src/ui.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  HANDLE hThemeButton = NULL;
  COLORREF foreground=0;
 diff --git a/protocols/AimOscar/src/utility.cpp b/protocols/AimOscar/src/utility.cpp index dfd9677ca3..7480917b4c 100644 --- a/protocols/AimOscar/src/utility.cpp +++ b/protocols/AimOscar/src/utility.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 -#include "aim.h"
 +#include "stdafx.h"
  void CAimProto::broadcast_status(int status)
  {
 | 
