summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwishmaster51@gmail.com <wishmaster51@gmail.com@c086bb3d-8645-0410-b8da-73a8550f86e7>2012-05-05 15:25:23 +0000
committerwishmaster51@gmail.com <wishmaster51@gmail.com@c086bb3d-8645-0410-b8da-73a8550f86e7>2012-05-05 15:25:23 +0000
commit502df0fb82d3a472ea31ba6846d7b69c64440892 (patch)
tree4d14aa72a039e6dadf75050350fd1896b1c8bf55
parentd2c7cedf44fe8813f8d55950bdf0f8b94d19609b (diff)
version bump 0.0.3.1
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@249 c086bb3d-8645-0410-b8da-73a8550f86e7
-rw-r--r--Plugins/avatarhistory/AvatarDlg.cpp10
-rw-r--r--Plugins/avatarhistory/AvatarHistory.cpp2
-rw-r--r--Plugins/avatarhistory/AvatarHistory.vcxproj126
-rw-r--r--Plugins/avatarhistory/Docs/avatarhist_changelog.txt3
-rw-r--r--Plugins/avatarhistory/options.cpp20
5 files changed, 127 insertions, 34 deletions
diff --git a/Plugins/avatarhistory/AvatarDlg.cpp b/Plugins/avatarhistory/AvatarDlg.cpp
index 14bbebc..10e64b3 100644
--- a/Plugins/avatarhistory/AvatarDlg.cpp
+++ b/Plugins/avatarhistory/AvatarDlg.cpp
@@ -88,7 +88,7 @@ int OpenAvatarDialog(HANDLE hContact, char* fn)
}
else
{
-#ifdef UNICODE
+#ifdef _UNICODE
MultiByteToWideChar(CP_ACP, 0, fn, -1, avdlg->fn, MAX_REGS(avdlg->fn));
#else
lstrcpyn(avdlg->fn, fn, sizeof(avdlg->fn));
@@ -233,8 +233,9 @@ static INT_PTR CALLBACK AvatarDlgProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM l
{
case ID_AVATARLISTPOPUP_SAVEAS:
{
+ HANDLE hContact = (HANDLE) GetWindowLongPtr(hwnd, GWLP_USERDATA);
ListEntry *le = (ListEntry*) SendMessage(list, LB_GETITEMDATA, pos, 0);
- ShowSaveDialog(hwnd, le->filename);
+ ShowSaveDialog(hwnd, le->filename, hContact);
break;
}
case ID_AVATARLISTPOPUP_DELETE:
@@ -589,7 +590,7 @@ int ShowSaveDialog(HWND hwnd, TCHAR* fn, HANDLE hContact)
ofn.lpstrFile = file;
ofn.nMaxFile = MAX_PATH;
- ofn.Flags = OFN_PATHMUSTEXIST;
+ ofn.Flags = OFN_PATHMUSTEXIST | OFN_DONTADDTORECENT;
ofn.lpstrDefExt = _tcsrchr(fn, '.')+1;
if(ret)
{
@@ -601,6 +602,9 @@ int ShowSaveDialog(HWND hwnd, TCHAR* fn, HANDLE hContact)
ofn.lpstrInitialDir = _T(".");
}
if(GetSaveFileName(&ofn))
+ {
CopyFile(fn, file, FALSE);
+ DBWriteContactSettingTString(hContact,MODULE_NAME,"SavedAvatarFolder",file);
+ }
return 0;
}
diff --git a/Plugins/avatarhistory/AvatarHistory.cpp b/Plugins/avatarhistory/AvatarHistory.cpp
index a6ef0d1..5d624db 100644
--- a/Plugins/avatarhistory/AvatarHistory.cpp
+++ b/Plugins/avatarhistory/AvatarHistory.cpp
@@ -76,7 +76,7 @@ PLUGININFOEX pluginInfo={
#else
"Avatar History (Ansi)",
#endif
- PLUGIN_MAKE_VERSION(0,0,3,0),
+ PLUGIN_MAKE_VERSION(0,0,3,1),
"This plugin keeps backups of all your contacts' avatar changes and/or shows popups",
"Matthew Wild (MattJ), Ricardo Pescuma Domenecci",
"mwild1@gmail.com",
diff --git a/Plugins/avatarhistory/AvatarHistory.vcxproj b/Plugins/avatarhistory/AvatarHistory.vcxproj
index 3aa45e7..e5b0fb0 100644
--- a/Plugins/avatarhistory/AvatarHistory.vcxproj
+++ b/Plugins/avatarhistory/AvatarHistory.vcxproj
@@ -118,34 +118,50 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<TargetName>avatarhistW</TargetName>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\Plugins\</OutDir>
+ <IntDir>$(SolutionDir)obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<TargetName>avatarhistW</TargetName>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\Plugins\</OutDir>
+ <IntDir>$(SolutionDir)obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<TargetName>avatarhistW</TargetName>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\Plugins\</OutDir>
+ <IntDir>$(SolutionDir)obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<TargetName>avatarhistW</TargetName>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\Plugins\</OutDir>
+ <IntDir>$(SolutionDir)obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<TargetName>avatarhistW</TargetName>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\Plugins\</OutDir>
+ <IntDir>$(SolutionDir)obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<TargetName>avatarhistW</TargetName>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\Plugins\</OutDir>
+ <IntDir>$(SolutionDir)obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<TargetName>avatarhistW</TargetName>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\Plugins\</OutDir>
+ <IntDir>$(SolutionDir)obj\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Release|x64'">
<LinkIncremental>false</LinkIncremental>
<TargetName>avatarhistW</TargetName>
+ <IntDir>$(SolutionDir)obj\$(Platform)\$(Configuration)\</IntDir>
+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\Plugins\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
@@ -159,8 +175,9 @@
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<AdditionalIncludeDirectories>../../include;sdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>DBGPOPUPS;WIN32;_DEBUG;_WINDOWS;_USRDLL;AvatarHistory_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <BrowseInformation>true</BrowseInformation>
+ <BrowseInformation>false</BrowseInformation>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+ <PrecompiledHeaderFile>AvatarHistory.h</PrecompiledHeaderFile>
</ClCompile>
<Midl>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -175,7 +192,7 @@
</ResourceCompile>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
- <OutputFile>.\Debug\AvatarHistory.bsc</OutputFile>
+ <OutputFile>$(IntDir)$(TargetName).bsc</OutputFile>
</Bscmake>
<Link>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -184,7 +201,15 @@
<SubSystem>Console</SubSystem>
<ImportLibrary>.\Debug\avatarhist.lib</ImportLibrary>
<AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
</Link>
+ <PostBuildEvent>
+ <Command>if not exist "$(OutputPath)Docs\" mkdir "$(OutputPath)Docs\"
+copy "$(ProjectDir)Docs\*.*" "$(OutputPath)Docs\"</Command>
+ </PostBuildEvent>
+ <PostBuildEvent>
+ <Message>Preparing Release</Message>
+ </PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
@@ -197,8 +222,9 @@
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalIncludeDirectories>../../include;sdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>DBGPOPUPS;_WIN64;_DEBUG;_WINDOWS;_USRDLL;AvatarHistory_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <BrowseInformation>true</BrowseInformation>
+ <BrowseInformation>false</BrowseInformation>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+ <PrecompiledHeaderFile>AvatarHistory.h</PrecompiledHeaderFile>
</ClCompile>
<Midl>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -212,7 +238,7 @@
</ResourceCompile>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
- <OutputFile>.\Debug\AvatarHistory.bsc</OutputFile>
+ <OutputFile>$(IntDir)$(TargetName).bsc</OutputFile>
</Bscmake>
<Link>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -221,7 +247,15 @@
<SubSystem>Console</SubSystem>
<ImportLibrary>.\Debug\avatarhist.lib</ImportLibrary>
<AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
</Link>
+ <PostBuildEvent>
+ <Command>if not exist "$(OutputPath)Docs\" mkdir "$(OutputPath)Docs\"
+copy "$(ProjectDir)Docs\*.*" "$(OutputPath)Docs\"</Command>
+ </PostBuildEvent>
+ <PostBuildEvent>
+ <Message>Preparing Release</Message>
+ </PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Debug|Win32'">
<ClCompile>
@@ -235,8 +269,9 @@
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<AdditionalIncludeDirectories>../../include;sdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>DBGPOPUPS;WIN32;_DEBUG;_WINDOWS;_UNICODE;UNICODE;_USRDLL;AvatarHistory_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <BrowseInformation>true</BrowseInformation>
+ <BrowseInformation>false</BrowseInformation>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+ <PrecompiledHeaderFile>AvatarHistory.h</PrecompiledHeaderFile>
</ClCompile>
<Midl>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -251,7 +286,7 @@
</ResourceCompile>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
- <OutputFile>.\Unicode_Debug\AvatarHistory.bsc</OutputFile>
+ <OutputFile>$(IntDir)$(TargetName).bsc</OutputFile>
</Bscmake>
<Link>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -259,7 +294,15 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
</Link>
+ <PostBuildEvent>
+ <Command>if not exist "$(OutputPath)Docs\" mkdir "$(OutputPath)Docs\"
+copy "$(ProjectDir)Docs\*.*" "$(OutputPath)Docs\"</Command>
+ </PostBuildEvent>
+ <PostBuildEvent>
+ <Message>Preparing Release</Message>
+ </PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Debug|x64'">
<ClCompile>
@@ -272,8 +315,9 @@
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalIncludeDirectories>../../include;sdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>DBGPOPUPS;_WIN64;_DEBUG;_WINDOWS;_UNICODE;UNICODE;_USRDLL;AvatarHistory_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <BrowseInformation>true</BrowseInformation>
+ <BrowseInformation>false</BrowseInformation>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+ <PrecompiledHeaderFile>AvatarHistory.h</PrecompiledHeaderFile>
</ClCompile>
<Midl>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -287,7 +331,7 @@
</ResourceCompile>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
- <OutputFile>.\Unicode_Debug\AvatarHistory.bsc</OutputFile>
+ <OutputFile>$(IntDir)$(TargetName).bsc</OutputFile>
</Bscmake>
<Link>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -295,7 +339,15 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
</Link>
+ <PostBuildEvent>
+ <Command>if not exist "$(OutputPath)Docs\" mkdir "$(OutputPath)Docs\"
+copy "$(ProjectDir)Docs\*.*" "$(OutputPath)Docs\"</Command>
+ </PostBuildEvent>
+ <PostBuildEvent>
+ <Message>Preparing Release</Message>
+ </PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
@@ -308,7 +360,8 @@
<WarningLevel>Level3</WarningLevel>
<AdditionalIncludeDirectories>../../include;sdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;AvatarHistory_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <BrowseInformation>true</BrowseInformation>
+ <BrowseInformation>false</BrowseInformation>
+ <PrecompiledHeaderFile>AvatarHistory.h</PrecompiledHeaderFile>
</ClCompile>
<Midl>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -323,16 +376,24 @@
</ResourceCompile>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
- <OutputFile>.\Release\AvatarHistory.bsc</OutputFile>
+ <OutputFile>$(IntDir)$(TargetName).bsc</OutputFile>
</Bscmake>
<Link>
<SuppressStartupBanner>true</SuppressStartupBanner>
<LinkDLL>true</LinkDLL>
<SubSystem>Console</SubSystem>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
- <ImportLibrary>.\Release\avatarhist.lib</ImportLibrary>
<AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
</Link>
+ <PostBuildEvent>
+ <Command>if not exist "$(OutputPath)Docs\" mkdir "$(OutputPath)Docs\"
+copy "$(ProjectDir)Docs\*.*" "$(OutputPath)Docs\"</Command>
+ </PostBuildEvent>
+ <PostBuildEvent>
+ <Message>Preparing Release</Message>
+ </PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
@@ -345,7 +406,8 @@
<WarningLevel>Level3</WarningLevel>
<AdditionalIncludeDirectories>../../include;sdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_WIN64;NDEBUG;_WINDOWS;_USRDLL;AvatarHistory_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <BrowseInformation>true</BrowseInformation>
+ <BrowseInformation>false</BrowseInformation>
+ <PrecompiledHeaderFile>AvatarHistory.h</PrecompiledHeaderFile>
</ClCompile>
<Midl>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -359,7 +421,7 @@
</ResourceCompile>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
- <OutputFile>.\Release\AvatarHistory.bsc</OutputFile>
+ <OutputFile>$(IntDir)$(TargetName).bsc</OutputFile>
</Bscmake>
<Link>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -368,7 +430,16 @@
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
<ImportLibrary>.\Release\avatarhist.lib</ImportLibrary>
<AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
</Link>
+ <PostBuildEvent>
+ <Command>if not exist "$(OutputPath)Docs\" mkdir "$(OutputPath)Docs\"
+copy "$(ProjectDir)Docs\*.*" "$(OutputPath)Docs\"</Command>
+ </PostBuildEvent>
+ <PostBuildEvent>
+ <Message>Preparing Release</Message>
+ </PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Release|Win32'">
<ClCompile>
@@ -381,7 +452,8 @@
<WarningLevel>Level3</WarningLevel>
<AdditionalIncludeDirectories>../../include;sdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_UNICODE;UNICODE;_USRDLL;AvatarHistory_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <BrowseInformation>true</BrowseInformation>
+ <BrowseInformation>false</BrowseInformation>
+ <PrecompiledHeaderFile>AvatarHistory.h</PrecompiledHeaderFile>
</ClCompile>
<Midl>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -396,16 +468,24 @@
</ResourceCompile>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
- <OutputFile>.\Unicode_Release\AvatarHistory.bsc</OutputFile>
+ <OutputFile>$(IntDir)$(TargetName).bsc</OutputFile>
</Bscmake>
<Link>
<SuppressStartupBanner>true</SuppressStartupBanner>
<LinkDLL>true</LinkDLL>
<SubSystem>Console</SubSystem>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
- <ImportLibrary>.\Unicode_Release\avatarhistW.lib</ImportLibrary>
<AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
</Link>
+ <PostBuildEvent>
+ <Command>if not exist "$(OutputPath)Docs\" mkdir "$(OutputPath)Docs\"
+copy "$(ProjectDir)Docs\*.*" "$(OutputPath)Docs\"</Command>
+ </PostBuildEvent>
+ <PostBuildEvent>
+ <Message>Preparing Release</Message>
+ </PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Release|x64'">
<ClCompile>
@@ -418,7 +498,8 @@
<WarningLevel>Level3</WarningLevel>
<AdditionalIncludeDirectories>../../include;sdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_WIN64;NDEBUG;_WINDOWS;_UNICODE;UNICODE;_USRDLL;AvatarHistory_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <BrowseInformation>true</BrowseInformation>
+ <BrowseInformation>false</BrowseInformation>
+ <PrecompiledHeaderFile>AvatarHistory.h</PrecompiledHeaderFile>
</ClCompile>
<Midl>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -432,7 +513,7 @@
</ResourceCompile>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
- <OutputFile>.\Unicode_Release\AvatarHistory.bsc</OutputFile>
+ <OutputFile>$(IntDir)$(TargetName).bsc</OutputFile>
</Bscmake>
<Link>
<SuppressStartupBanner>true</SuppressStartupBanner>
@@ -440,7 +521,16 @@
<SubSystem>Console</SubSystem>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
<AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
+ <PostBuildEvent>
+ <Command>if not exist "$(OutputPath)Docs\" mkdir "$(OutputPath)Docs\"
+copy "$(ProjectDir)Docs\*.*" "$(OutputPath)Docs\"</Command>
+ </PostBuildEvent>
+ <PostBuildEvent>
+ <Message>Preparing Release</Message>
+ </PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="AvatarDlg.cpp" />
diff --git a/Plugins/avatarhistory/Docs/avatarhist_changelog.txt b/Plugins/avatarhistory/Docs/avatarhist_changelog.txt
index 57dfa8b..a7f48a4 100644
--- a/Plugins/avatarhistory/Docs/avatarhist_changelog.txt
+++ b/Plugins/avatarhistory/Docs/avatarhist_changelog.txt
@@ -2,12 +2,13 @@ Avatar History
Changelog:
+. 0.0.3.1
+ Show Contact Name in Avatar History dialog title
+ Show picture path in avatar history dialog
+ support for WindowList
* fixed some issues reported by borkra
+ updated m_folders.h
-* fixed duplicate avatar notifications
+* fixed duplicate avatar notifications (thanks xaos)
. 0.0.3.0
THIS REQUIRES MIRANDA IM 0.10 ALPHA #3 OR ABOVE!!
diff --git a/Plugins/avatarhistory/options.cpp b/Plugins/avatarhistory/options.cpp
index 1c7e07b..2d1a751 100644
--- a/Plugins/avatarhistory/options.cpp
+++ b/Plugins/avatarhistory/options.cpp
@@ -19,8 +19,6 @@ Avatar History Plugin
*/
#include "AvatarHistory.h"
-#include <commctrl.h>
-#include <prsht.h>
#include "../utils/mir_options.h"
@@ -170,15 +168,15 @@ static INT_PTR CALLBACK PopupsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
{
case WM_INITDIALOG:
{
- SendDlgItemMessage(hwndDlg, IDC_RIGHT_ACTION, CB_ADDSTRING, 0, (LONG) TranslateT("Do nothing"));
- SendDlgItemMessage(hwndDlg, IDC_RIGHT_ACTION, CB_ADDSTRING, 0, (LONG) TranslateT("Close popup"));
- SendDlgItemMessage(hwndDlg, IDC_RIGHT_ACTION, CB_ADDSTRING, 0, (LONG) TranslateT("Show avatar history"));
- SendDlgItemMessage(hwndDlg, IDC_RIGHT_ACTION, CB_ADDSTRING, 0, (LONG) TranslateT("Show contact history"));
-
- SendDlgItemMessage(hwndDlg, IDC_LEFT_ACTION, CB_ADDSTRING, 0, (LONG) TranslateT("Do nothing"));
- SendDlgItemMessage(hwndDlg, IDC_LEFT_ACTION, CB_ADDSTRING, 0, (LONG) TranslateT("Close popup"));
- SendDlgItemMessage(hwndDlg, IDC_LEFT_ACTION, CB_ADDSTRING, 0, (LONG) TranslateT("Show avatar history"));
- SendDlgItemMessage(hwndDlg, IDC_LEFT_ACTION, CB_ADDSTRING, 0, (LONG) TranslateT("Show contact history"));
+ SendDlgItemMessage(hwndDlg, IDC_RIGHT_ACTION, CB_ADDSTRING, 0, (LPARAM) TranslateT("Do nothing"));
+ SendDlgItemMessage(hwndDlg, IDC_RIGHT_ACTION, CB_ADDSTRING, 0, (LPARAM) TranslateT("Close popup"));
+ SendDlgItemMessage(hwndDlg, IDC_RIGHT_ACTION, CB_ADDSTRING, 0, (LPARAM) TranslateT("Show avatar history"));
+ SendDlgItemMessage(hwndDlg, IDC_RIGHT_ACTION, CB_ADDSTRING, 0, (LPARAM) TranslateT("Show contact history"));
+
+ SendDlgItemMessage(hwndDlg, IDC_LEFT_ACTION, CB_ADDSTRING, 0, (LPARAM) TranslateT("Do nothing"));
+ SendDlgItemMessage(hwndDlg, IDC_LEFT_ACTION, CB_ADDSTRING, 0, (LPARAM) TranslateT("Close popup"));
+ SendDlgItemMessage(hwndDlg, IDC_LEFT_ACTION, CB_ADDSTRING, 0, (LPARAM) TranslateT("Show avatar history"));
+ SendDlgItemMessage(hwndDlg, IDC_LEFT_ACTION, CB_ADDSTRING, 0, (LPARAM) TranslateT("Show contact history"));
// Needs to be called here in this case
BOOL ret = SaveOptsDlgProc(popupsControls, MAX_REGS(popupsControls), MODULE_NAME, hwndDlg, msg, wParam, lParam);