Skip to content

Commit

Permalink
ShellExtension:
Browse files Browse the repository at this point in the history
- Re-enable the extended menu, as Windows 11 Build 22499 appears to have resolved the stability issue with WinMerge's extended menu behavior.
- Bump revision to 1.8.3.0
  • Loading branch information
sdottaka committed Dec 11, 2021
1 parent d556e02 commit 3ae99b8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
8 changes: 4 additions & 4 deletions ShellExtension/ShellExtension/ShellExtension.rc
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,18,2,0
PRODUCTVERSION 1,18,2,0
FILEVERSION 1,18,3,0
PRODUCTVERSION 1,18,3,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -71,12 +71,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "https://winmerge.org"
VALUE "FileDescription", "WinMerge Shell Integration library"
VALUE "FileVersion", "1.18.2.0"
VALUE "FileVersion", "1.18.3.0"
VALUE "InternalName", "ShellExtension"
VALUE "LegalCopyright", "Copyright 2003-2021"
VALUE "OriginalFilename", "ShellExtension.DLL"
VALUE "ProductName", "WinMerge Shell Integration library"
VALUE "ProductVersion", "1.18.2.0"
VALUE "ProductVersion", "1.18.3.0"
END
END
BLOCK "VarFileInfo"
Expand Down
7 changes: 2 additions & 5 deletions ShellExtension/WinMergeContextMenu/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,14 +309,11 @@ class __declspec(uuid("90340779-F37E-468E-9728-A2593498ED32")) WinMergeFileDirEx
const int Verb() override { return WinMergeContextMenu::CMD_COMPARE; }
const EXPCMDFLAGS Flags() override
{
// Due to stability issues, the advanced menu is currently disabled.
return ECF_DEFAULT;
/*
if ((m_contextMenu.GetContextMenuEnabled() & (WinMergeContextMenu::EXT_ENABLED | WinMergeContextMenu::EXT_ADVANCED)) == (WinMergeContextMenu::EXT_ENABLED | WinMergeContextMenu::EXT_ADVANCED))
if ((m_contextMenu.GetContextMenuEnabled() & (WinMergeContextMenu::EXT_ENABLED | WinMergeContextMenu::EXT_ADVANCED))
== (WinMergeContextMenu::EXT_ENABLED | WinMergeContextMenu::EXT_ADVANCED) && m_contextMenu.GetMenuItemList().size() > 1)
return ECF_HASSUBCOMMANDS;
else
return ECF_DEFAULT;
*/
}
const EXPCMDSTATE State(_In_opt_ IShellItemArray* selection) override
{
Expand Down
2 changes: 1 addition & 1 deletion ShellExtension/WinMergePkg/AppxManifest.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10"
IgnorableNamespaces="uap uap2 uap3 rescap desktop desktop4 desktop5 desktop6 uap10 com">
<Identity Name="WinMerge" ProcessorArchitecture="neutral" Publisher="${Publisher}" Version="1.0.3.0" />
<Identity Name="WinMerge" ProcessorArchitecture="neutral" Publisher="${Publisher}" Version="1.0.4.0" />
<Properties>
<DisplayName>WinMerge</DisplayName>
<PublisherDisplayName>winmerge.org</PublisherDisplayName>
Expand Down

0 comments on commit 3ae99b8

Please sign in to comment.