From 69b10312bfb596089d1f54c9977b8cceca549221 Mon Sep 17 00:00:00 2001 From: "Lin Yu-Chieh (Victor)" Date: Wed, 1 Jun 2022 17:41:33 +0800 Subject: [PATCH] Using AssocQueryString and Translations Resolves #13 Resolves #16 Icon changes --- ...ity.PowerToys.Run.Plugin.Everything.csproj | 58 +++++- GlobalSuppressions.cs | 1 + Images/Everything.dark.png | Bin 1599 -> 2159 bytes Images/Everything.light.png | Bin 1935 -> 2172 bytes Images/NoIcon.png | Bin 3589 -> 0 bytes Images/Warning.dark.png | Bin 566 -> 0 bytes Images/Warning.light.png | Bin 580 -> 0 bytes Images/file.png | Bin 0 -> 290 bytes Images/folder.png | Bin 0 -> 468 bytes Images/warning.png | Bin 0 -> 738 bytes Main.cs | 62 ++---- NativeMethods.cs | 189 +++++++++++++----- Properties/Resources.Designer.cs | 27 --- Properties/Resources.ar.resx | 156 +++++++++++++++ Properties/Resources.de.resx | 156 +++++++++++++++ Properties/Resources.hi.resx | 156 +++++++++++++++ Properties/Resources.it.resx | 156 +++++++++++++++ Properties/Resources.ja.resx | 156 +++++++++++++++ Properties/Resources.ko.resx | 156 +++++++++++++++ Properties/Resources.resx | 9 - Properties/Resources.ro.resx | 156 +++++++++++++++ Properties/Resources.sv.resx | 156 +++++++++++++++ Properties/Resources.zh-cn.resx | 156 +++++++++++++++ Properties/Resources.zh.resx | 156 +++++++++++++++ plugin.json | 4 +- 25 files changed, 1772 insertions(+), 138 deletions(-) delete mode 100644 Images/NoIcon.png delete mode 100644 Images/Warning.dark.png delete mode 100644 Images/Warning.light.png create mode 100644 Images/file.png create mode 100644 Images/folder.png create mode 100644 Images/warning.png create mode 100644 Properties/Resources.ar.resx create mode 100644 Properties/Resources.de.resx create mode 100644 Properties/Resources.hi.resx create mode 100644 Properties/Resources.it.resx create mode 100644 Properties/Resources.ja.resx create mode 100644 Properties/Resources.ko.resx create mode 100644 Properties/Resources.ro.resx create mode 100644 Properties/Resources.sv.resx create mode 100644 Properties/Resources.zh-cn.resx create mode 100644 Properties/Resources.zh.resx diff --git a/Community.PowerToys.Run.Plugin.Everything.csproj b/Community.PowerToys.Run.Plugin.Everything.csproj index 350bb62..f4f326e 100644 --- a/Community.PowerToys.Run.Plugin.Everything.csproj +++ b/Community.PowerToys.Run.Plugin.Everything.csproj @@ -27,7 +27,7 @@ DEBUG;TRACE full x64 - 7.3 + 8.0 prompt MinimumRecommendedRules.ruleset 4 @@ -41,7 +41,7 @@ true none x64 - 7.3 + 8.0 prompt MinimumRecommendedRules.ruleset 4 @@ -80,10 +80,52 @@ + + Resources.ar.Designer.cs + PublicResXFileCodeGenerator + + + Resources.ko.Designer.cs + PublicResXFileCodeGenerator + + + Resources.sv.Designer.cs + PublicResXFileCodeGenerator + + + Resources.it.Designer.cs + PublicResXFileCodeGenerator + + + Resources.ro.Designer.cs + PublicResXFileCodeGenerator + + + Resources.hi.Designer.cs + PublicResXFileCodeGenerator + + + Resources.ja.Designer.cs + PublicResXFileCodeGenerator + + + Resources.de.Designer.cs + PublicResXFileCodeGenerator + + + Community.PowerToys.Run.Plugin.Everything.Language + Resources - Copy.zh.Designer.cs + PublicResXFileCodeGenerator + PublicResXFileCodeGenerator Resources.Designer.cs + + Community.PowerToys.Run.Plugin.Everything.Language + Resources.zh.Designer.cs + PublicResXFileCodeGenerator + @@ -101,6 +143,15 @@ True \ + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + PreserveNewest @@ -110,6 +161,9 @@ PreserveNewest + + PreserveNewest + True \ diff --git a/GlobalSuppressions.cs b/GlobalSuppressions.cs index 5922b66..e0f865e 100644 --- a/GlobalSuppressions.cs +++ b/GlobalSuppressions.cs @@ -14,3 +14,4 @@ using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1633:File should have header", Justification = "don't care")] [assembly: SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1516:Elements should be separated by blank line", Justification = "don't care")] [assembly: SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1503:Braces should not be omitted", Justification = "don't care")] +[assembly: SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1005:Single line comments should begin with single space", Justification = "don't care")] diff --git a/Images/Everything.dark.png b/Images/Everything.dark.png index dc5b3aca35fe25b61db068a38e33e81769a71fcd..f67bb7a4e6dadd9f43bb7d47bb5701b42f033178 100644 GIT binary patch literal 2159 zcmbVO2~ZPP7>?9ZprUBUR=m0{j^n{*k0hI9H3dm1#5Rb6f_SmngKSB%VRtcs)=FC) zWn@NCTk9x}R2`*t?1)G4#2agE)k;0a6YUH-h*qms?X>o72q|{(nC{H(zJ2d|-~au` z`)A8DGty#X`o?H9npk_fZ9I5m>Kzpco;eYZ=7LwWFMW~>*3YPSmz1H)0~*b%cZBR* zCD-vj#fTm)&5BM=8}Rr5TB8}26!6hZA*Vo2u0Zfw;M+UvVMt&taE`%&Ieb>mC8U>1 zTvlmDHd9*2m{~aK9cWa50t6mTp`n1s?Ukv31rG93V60A~FcgF+g%)_UY7okGWI|R^ z;viCsAq<8QkkPEgNxh!L5+MR3FcdSOIDz0Kh3P5W2!$>fSd&|DyOzV|HVFCd|1GEptwV3Ks5XdrNoUd4N2aU4~%DFiY=T&5Y#lu*iOH@SJB|d{X zy!?~_5L$;LY@<^x9#7bWtfbBWZiE8TDO%1h@p0&QP8N$LhD)6RWG1NI_$aHy(TXT# zi=w+dQJL+MAp+MD(9j&g%Zh$^SceUqjaE1d46;Tb7>QtbHg2SFJ!R01z)Tc|wLu*s zEASvlR4a*_NfIHncu=mxLD{{sLVFp`ZnMB3I9fqqDU9d!w2r_LgN|kq zp3vin3FmOcY|!C2O_PLyH?{A#iA=Ft0_y&@)4+-h;P_V_PZ~I!HyaSfX<$L<^dw?t zaR#BCq!X}WI-{9vXB#UC;6T#uj;yLG7BDhSj3G@N*oZqh#OT!Xh?(RugftmwoN?kN zBaNwLAFL!QU64VJOF{=Jiz^C^+yWFV9*SnvLt%j#wHi1U4owT4#N(wbhxYqj93Xv8 zm9$xxM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@|{!V6-+T9Stqt!4y}2eYmxZCQFgo`2-x z1i&-^Qxb)zlT80NK1Beo!oJGNxvs^7%=0ZK*=SWtIx2Xj%@P2m1%6tQ<;SQiyCCT* zm!XMrLr6A~Nl9*&rSAG07a)7L9g{BzHL; z&UiLrL#YiUXD_dW{Hg8895P9lsekS;xUTlGI3Q8r6#!R~{56riZ|JM0dcH*R{8o!p z)Yx(}>5OcW`!h@Htad?al1_8VFq7oWoR=h5V0$F*{oiN*%XR@c2l)(u8?h-(AUVGZ zgro}qJfDpF!xtK%U1Ed%CFK#?IgUAbXU;qHM3ua<-sr&qijdC&a5u>`$$x5+5z-Ue z)CQ7iO5AI#B&Y37yAcM}@`A0p(`hFn73}WW43Z8)eIiM&_}rOxBdZlvf~dM5*dBn} zim?-y3iHj1^O)DGb|f)Wccbl%t|-yk9r66mttE(B4OvMu08DPNRKA^YS?Y@p9~u8T zA+$aDu_rpMpp70`egoj%(0{75{nQ3g3xK5r1YgWCNh*9AGgo2U(9VCYi3Mc?2AbM)(K?5KG h;f&caW+}-<{{gE7QcomYL@NLQ002ovPDHLkV1o6L?4kew diff --git a/Images/Everything.light.png b/Images/Everything.light.png index 0d1b7976f495b087f082ea8afe8d0c9b02574a6e..635645e4cdf175ce86d3bddee5a8ab079fcb1b66 100644 GIT binary patch literal 2172 zcmbVO4Nw$S9A7|Da86K3!E#zwEll_JgS&%UIppK`xby(=M!-bb+kMAvaJR?p!rkdm zrcqf=q2tFWLu!msHfj!t_GM;%jXIi%;*iparIs2wT8KE=TR1Ll(42N=ci+DEd%yqh z|MC8_%ky%wRN>>p5d=}0vW@xhO)B^BQ1~ne?s*fw!d%%!5?pUn?x3`|Ixm6@y(w4< z-yqr3>A0-R-iSLW>-3}3)zd@ zV9uf(3%96@)AQJjWHiakKmrGlS=8$&cS?-cfc5b*aI8!d7}^Js%M4hmVh}Af=b`DM z8=yKhiE|`LqX~L7rPFA19+;H447S( zT?|2ZJRY?tUM;#y2}-Zm6C_R0G!7BCf&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!1vb+Kt19}!6VolZ}b!JTqsQoULHdL*o09D)7vdv5tOYge_BkaM( zLx!w-`Bt7AVjbLKn>f5oL?cdQ)hTFEwG6(Xdtv^PW6xVIS(^Vy@U<$zJTwD!sLpA} zt!kg&c8-cTQF4j2>2$pBWvsg#Po??%_-OC>6vi%o`R6bEb)IN#T*g}Glp^3EsCoq9oTXcJc`bb+?N{qR8#_Orr3 zj%aUxb3oi44J7IS526+$`{ zCiL4See4=<>{iePHQS*v=uRM+jd6=JkoDhT4zt8!c1OBdgxlODCgt zy6=9L!*n4T7#KUVW}Z|@X-%qhQ5KWzNd}drhT~1VvnNI-EVe3bIU_%D^F@ww)CPEQ zvxH0O{s5OO^Jl_yB-{|OUgGfKLHFcBlF**i>6fn+cxDEHZhNqKA%hr3@H7<3_b9hx z=U}sN;=nTx3i1pIaQo`6c6n|!Rf;THXZvQA>8#saEsuo| zZ$O=|TQZrmPhB%cTemG`-Nq|Gqt98$kXU!3jvosub7_wv;%hkV6K zRF85!(>@lbWrx}4>+2iQ6#4pE+I7sij2N-<^zOZB{lhaRvEc})hP<0Y+(}2s8PnE0 zXU3Ho1LwLa>fHQ|7}#&AW)q={chrHHa5GO2k0G(1I+e%oi=%4SA7$Q7J*C%P^}4lX zSkThmMaP)W!+OWxP4o}mRoL&3@{JK~5rd!R+Szu0{PmNJ z*aofXn8-R~VZH|6l9JJfs5M} i=A6T&C45jFZ;d;=&2s~_o+dBnAqC;koa-qPOy diff --git a/Images/Warning.dark.png b/Images/Warning.dark.png deleted file mode 100644 index 9ae30c0548f9e9ed370873e6e97ea7f29f01f7ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}P)@4J?l_4XHULYNr^79P>pqy!;KIv=YJfuJc?R&10DkwecA*|1ll!s5B0vvhS&^y$ zN@^AX4&MnT-MJ2+RQC%GSh}DFpmMq7zyM(6f*ydV`xJnc3n~DPdMp3~7jyueu1lN& ztG*xx;HaN+JX=PmotC>^t~<*C80t#^YR`fQK%!Rc@Pvr_p%b?_F5Pb=>(1Aa0Wj5< zT*hk80vn)4B@U2weLjFteNGvjgK6$aEC7uT`o#8YkV41{l?k*dyS*COE;|^E8%xM=Anj-Z%wum<%nxsZszRh-gj1&@b{C zT3nf3CG>Il%p}i%&$f1}ZUA;#>Q>qu(CKD3YxNHN0I3xoK=-1gxBvhE07*qoM6N<$ Ef|pYB=Kufz diff --git a/Images/Warning.light.png b/Images/Warning.light.png deleted file mode 100644 index 30e0d9737ed2bc41f1b37b1fb37194206e255bfe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 580 zcmV-K0=xZ*P)PW3Cjk0MzYQt&=N- zEC7{#G7n%%N#shw9pJF{cLlC;o&|S+y8Wu}oBrl?E4c!+-8?yOBv*i#>0Bwe0dSVN z=hl{T1CSV&jM0L)07&gh$7vv30GiA$fz#a(w^Ypa7B5v%-YFylv{_vOm)j9mRQP1Q z|LN+TLNY*`(KY}A@=PHKAZ9ZL;F&@aK+I$ez%vCi0B4Z{;O0wjA~OKj#~grH3MK%F zJqdth9WDtI0B4^zl>m68pazgylLAQBYfC~6AhEAWATx%)jhNOqM4yWCN=86C;b}RsveMA5jGb`ZahYm7; zG4Lg6Bg>7%0$8j_i)|XG-H!#R*`E)}{V%JOBDuNc0M9f=@-{CD(DaUz+uZv(_f9nm zFe~s70?xgQQmwbc+hmJZw|^y6n;&5?dj^hBL(&#KK$1R($$bJ25|ftbd;-78ID$a+ Sf{(ob0000=FA?pM#)7Nq6>`@rGF3#p%4mjka3Wys(?018&wG;f~}U&3=E8co-U3d z8I5me*m@mtkZ_2f6nK;6kLH<03QBPa#m%|8dmGy~l)trY&e*zi=~{MyEqCH>uzqLg z-ee)R(a_j+)5M=XYzIoGgL`n3r5+$TV?~ zLSY^gH{i|-ls|r!cY{r+O=Pm>F}@8wk^OH?4jUc2 v!FV(!YHrE@-m;$hpQ5isz&^hGvmt+Oh5d!HHwsq37+~;p^>bP0l+XkKMAE;S literal 0 HcmV?d00001 diff --git a/Images/warning.png b/Images/warning.png new file mode 100644 index 0000000000000000000000000000000000000000..8d29625ee731a16a1c29ecc6cd5f505a449f0069 GIT binary patch literal 738 zcmV<80v-K{P)kh?ZJ9v_+5#4%NNw-R79O38FZ;HlsS!NjIyLIO)*2?WT0erCr?W zAm}1V5NRF6h=V;_^CTCMc)5G;_x^+?a5uhtclZ7Le(yf_IKq%0H01e_0UUJ)vkqh( zu&h9~gwhHqD#vF*x%KG0Xf2X|@Yb@}iI?}K1EPW=C|?6nu>&BQ5Wl9$N7FS#e*mia zmjK=RKWytMEgUQjJV3N`a=D$vpsldog}O@!=N%A1p#p-J7*Zf0FZ2f%Ky2kp5Y%~b z(~jJ4pXLq&R}fA+Ac8^-gehq_fjW8N^uPg#YW@L0%dB98GR=oiSaTJVoOGZ^o2q0E zwdw{SQJX3XH(Ip@NYm!c<=KA(XNn6 zfCH^s0m!uZ@Wpw2sGpJpw9i^<)eb(3?9)N*X^#C}#Ot+D}B+KjIc;|^$Ql?A}jrh0*E%+Sy( z4}hUfjd;wdJgq7LxY~@TYV3|+y?QPhUR>D2$X{^4U zh=y-m{fxQG-^>6MT1^Ge)uvfG=2ep2YC3>L^_j8w(L6f8Tt].*$"; private bool top; private bool preview; + private bool legacy; - public string Name => Resources.plugin_name + "-WIP"; + public string Name => Resources.plugin_name; public string Description => Resources.plugin_description; @@ -49,27 +50,22 @@ namespace Community.PowerToys.Run.Plugin.Everything DisplayLabel = Resources.Preview, Value = false, }, + new PluginAdditionalOption() + { + Key = Legacy, + DisplayLabel = "Legacy Icon Logic", + Value = false, + }, }; private IContextMenu contextMenuLoader; private PluginInitContext context; private bool disposed; - private static string warningIconPath; - - internal static string WarningIcon - { - get - { - return warningIconPath; - } - } public void Init(PluginInitContext context) { this.context = context; this.contextMenuLoader = new ContextMenuLoader(context); - this.context.API.ThemeChanged += this.OnThemeChanged; - UpdateIconPath(this.context.API.GetCurrentTheme()); EverythingSetup(); } @@ -79,8 +75,6 @@ namespace Community.PowerToys.Run.Plugin.Everything return results; } - [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "We want to keep the process alive but will log the exception")] - [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1062:Validate arguments of public methods", Justification = "Already validated")] public List Query(Query query, bool delayedExecution) { List results = new List(); @@ -94,17 +88,7 @@ namespace Community.PowerToys.Run.Plugin.Everything { try { - results.AddRange(EverythingSearch(searchQuery, this.top, this.preview)); - } - catch (OperationCanceledException) - { - results.Add(new Result() - { - Title = Resources.timeout, - SubTitle = Resources.enable_wait, - IcoPath = warningIconPath, - Score = int.MaxValue, - }); + results.AddRange(EverythingSearch(searchQuery, this.top, this.preview, this.legacy)); } catch (System.ComponentModel.Win32Exception) { @@ -112,7 +96,7 @@ namespace Community.PowerToys.Run.Plugin.Everything { Title = Resources.Everything_not_running, SubTitle = Resources.Everything_ini, - IcoPath = warningIconPath, + IcoPath = "Images/warning.png", QueryTextDisplay = '.' + Resources.plugin_name, Score = int.MaxValue, }); @@ -127,23 +111,6 @@ namespace Community.PowerToys.Run.Plugin.Everything return results; } - private void OnThemeChanged(Theme oldtheme, Theme newTheme) - { - UpdateIconPath(newTheme); - } - - private static void UpdateIconPath(Theme theme) - { - if (theme == Theme.Light || theme == Theme.HighContrastWhite) - { - warningIconPath = "Images/Warning.light.png"; - } - else - { - warningIconPath = "Images/Warning.dark.png"; - } - } - public List LoadContextMenus(Result selectedResult) { return this.contextMenuLoader.LoadContextMenus(selectedResult); @@ -158,14 +125,17 @@ namespace Community.PowerToys.Run.Plugin.Everything { var top = false; var nopreview = false; + var leg = false; if (settings != null && settings.AdditionalOptions != null) { top = settings.AdditionalOptions.FirstOrDefault(x => x.Key == Top)?.Value ?? false; nopreview = settings.AdditionalOptions.FirstOrDefault(x => x.Key == NoPreview)?.Value ?? false; + leg = settings.AdditionalOptions.FirstOrDefault(x => x.Key == Legacy)?.Value ?? false; } this.top = top; this.preview = nopreview; + this.legacy = leg; } protected virtual void Dispose(bool disposing) @@ -189,12 +159,12 @@ namespace Community.PowerToys.Run.Plugin.Everything public string GetTranslatedPluginTitle() { - throw new NotImplementedException(); + return Resources.plugin_name; } public string GetTranslatedPluginDescription() { - throw new NotImplementedException(); + return Resources.plugin_description; } } } diff --git a/NativeMethods.cs b/NativeMethods.cs index fdbe062..c175fc0 100644 --- a/NativeMethods.cs +++ b/NativeMethods.cs @@ -71,28 +71,77 @@ namespace Community.PowerToys.Run.Plugin.Everything DATE_RUN_DESCENDING, } + [Flags] + internal enum AssocF + { + NONE = 0x00000000, + INIT_NOREMAPCLSID = 0x00000001, + INIT_BYEXENAME = 0x00000002, + INIT_DEFAULTTOSTAR = 0x00000004, + INIT_DEFAULTTOFOLDER = 0x00000008, + NOUSERSETTINGS = 0x00000010, + NOTRUNCATE = 0x00000020, + VERIFY = 0x00000040, + REMAPRUNDLL = 0x00000080, + NOFIXUPS = 0x00000100, + IGNOREBASECLASS = 0x00000200, + INIT_IGNOREUNKNOWN = 0x00000400, + INIT_FIXED_PROGID = 0x00000800, + IS_PROTOCOL = 0x00001000, + INIT_FOR_FILE = 0x00002000, + } + + internal enum AssocStr + { + COMMAND = 1, + EXECUTABLE, + FRIENDLYDOCNAME, + FRIENDLYAPPNAME, + NOOPEN, + SHELLNEWVALUE, + DDECOMMAND, + DDEIFEXEC, + DDEAPPLICATION, + DDETOPIC, + INFOTIP, + QUICKTIP, + TILEINFO, + CONTENTTYPE, + DEFAULTICON, + SHELLEXTENSION, + DROPTARGET, + DELEGATEEXECUTE, + SUPPORTED_URI_PROTOCOLS, + PROGID, + APPID, + APPPUBLISHER, + APPICONREFERENCE, + MAX, + } + internal const string dllName = "Everything64.dll"; [DllImport(dllName)] - public static extern uint Everything_GetNumResults(); + internal static extern uint Everything_GetNumResults(); [DllImport(dllName, CharSet = CharSet.Unicode)] - public static extern void Everything_GetResultFullPathName(uint nIndex, char[] lpString, uint nMaxCount); + internal static extern void Everything_GetResultFullPathName(uint nIndex, char[] lpString, uint nMaxCount); [DllImport(dllName)] - public static extern bool Everything_QueryW(bool bWait); + internal static extern bool Everything_QueryW(bool bWait); [DllImport(dllName)] - public static extern void Everything_SetMax(uint dwMax); + internal static extern void Everything_SetMax(uint dwMax); [DllImport(dllName)] - public static extern void Everything_SetRequestFlags(Request RequestFlags); + internal static extern void Everything_SetRequestFlags(Request RequestFlags); [DllImport(dllName, CharSet = CharSet.Unicode)] - public static extern uint Everything_SetSearchW(string lpSearchString); + internal static extern uint Everything_SetSearchW(string lpSearchString); [DllImport(dllName)] - public static extern void Everything_SetSort(Sort SortType); + internal static extern void Everything_SetSort(Sort SortType); + [DllImport("Shlwapi.dll", SetLastError = true, CharSet = CharSet.Unicode)] + internal static extern uint AssocQueryString(AssocF flags, AssocStr str, string pszAssoc, string pszExtra, [Out] char[] pszOut, [In][Out] ref uint pcchOut); private static uint max = 20; private static Sort sort = Sort.DATE_MODIFIED_DESCENDING; private static Dictionary filters = new Dictionary(); - - private static StringBuilder log = new StringBuilder(); + private static bool firstrun = true; public static void EverythingSetup() { @@ -130,8 +179,10 @@ namespace Community.PowerToys.Run.Plugin.Everything } } - public static IEnumerable EverythingSearch(string qry, bool top, bool preview) + public static IEnumerable EverythingSearch(string qry, bool top, bool preview, bool legacy) { + if (legacy && firstrun) + Icons = GetFileTypeAndIcon(); Everything_SetMax(max); if (qry.Contains(':')) { @@ -157,7 +208,7 @@ namespace Community.PowerToys.Run.Plugin.Everything string fullPath = new string(buffer); string name = Path.GetFileName(fullPath); string path; - bool isFolder = Path.HasExtension(fullPath.Replace(".lnk", string.Empty)); + bool isFolder = !Path.HasExtension(fullPath.Replace(".lnk", string.Empty)); if (isFolder) path = fullPath; else @@ -169,10 +220,10 @@ namespace Community.PowerToys.Run.Plugin.Everything Title = name, ToolTipData = new ToolTipData("Name : " + name, "Path : " + path), SubTitle = Resources.plugin_name + ": " + fullPath, - IcoPath = (preview || string.IsNullOrEmpty(ext)) ? + IcoPath = isFolder ? "Images/folder.png" : (preview ? fullPath : - (string)(Icons[ext] ?? - "Images/NoIcon.png"), + (string)((legacy ? Icons[ext] : Icon(ext)) ?? + "Images/file.png")), ContextData = new SearchResult() { Path = fullPath, @@ -197,64 +248,98 @@ namespace Community.PowerToys.Run.Plugin.Everything } } }, - QueryTextDisplay = isFolder ? path : name, + + // QueryTextDisplay = isFolder ? path : name, }; if (top) r.Score = (int)(max - i); yield return r; } } - internal static readonly Hashtable Icons = GetFileTypeAndIcon(); +#pragma warning disable CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. + internal static string? Icon(string doctype) +#pragma warning restore CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. + { + uint pcchOut = 0; + _ = AssocQueryString(AssocF.NONE, AssocStr.DEFAULTICON, doctype, null, null, ref pcchOut); + char[] pszOut = new char[pcchOut]; + _ = AssocQueryString(AssocF.NONE, AssocStr.DEFAULTICON, doctype, null, pszOut, ref pcchOut); + string doc = Environment.ExpandEnvironmentVariables(new string(pszOut).Split(new char[] { '\"', ',' }, StringSplitOptions.RemoveEmptyEntries)[0].Replace("\"", string.Empty, StringComparison.CurrentCulture).Trim()); + + if (File.Exists(doc)) + return doc; + + return null; + } + + //Manually traverse the registry + private static Hashtable Icons = new Hashtable(); internal static Hashtable GetFileTypeAndIcon() { - Hashtable iconsInfo = new Hashtable(StringComparer.InvariantCultureIgnoreCase); + Hashtable iconsInfo = new Hashtable(StringComparer.CurrentCultureIgnoreCase); try { using (RegistryKey rkRoot = RegistryKey.OpenBaseKey(RegistryHive.ClassesRoot, RegistryView.Registry64)) { - foreach (string keyName in rkRoot.GetSubKeyNames()) - { - if (string.IsNullOrWhiteSpace(keyName) || keyName[0] != '.' || iconsInfo.ContainsKey(keyName)) - continue; - try - { - object defaultValue = null; - using (RegistryKey rkKey = rkRoot.OpenSubKey(keyName)) - { - defaultValue = rkKey.GetValue(string.Empty); - if (defaultValue == null) - continue; - } + FindExt(rkRoot); + } - object iconValue = null; - using (RegistryKey rkIcon = rkRoot.OpenSubKey(defaultValue.ToString() + "\\defaulticon"), rkOpen = rkRoot.OpenSubKey(defaultValue.ToString() + "\\shell\\Open\\command")) - { - iconValue = rkIcon == null ? rkOpen?.GetValue(string.Empty) : rkIcon.GetValue(string.Empty); - if (iconValue != null) - continue; - } - - string[] path = iconValue.ToString().Split(new char[] { '\"', ',' }, StringSplitOptions.RemoveEmptyEntries); - if (path.Length > 0 && path[0].Contains('.')) - { - string fileParam = Environment.ExpandEnvironmentVariables(path[0].Replace("\"", string.Empty, StringComparison.CurrentCulture).Trim()); - iconsInfo.Add(keyName, fileParam); - } - } - catch (Exception e) - { - log.AppendLine(keyName + ":" + e.ToString()); - continue; // something wrong with this key, move on - } - } + using (RegistryKey rkRoot = RegistryKey.OpenBaseKey(RegistryHive.ClassesRoot, RegistryView.Registry32)) + { + FindExt(rkRoot); } } catch (Exception e) { - Log.Exception(log.ToString(), e, null); + Log.Exception(e.Message, e, typeof(NativeMethods)); } + firstrun = false; return iconsInfo; + + void FindExt(RegistryKey rkRoot) + { + foreach (string keyName in rkRoot.GetSubKeyNames()) + { + if (string.IsNullOrWhiteSpace(keyName) || keyName[0] != '.' || iconsInfo.ContainsKey(keyName)) + continue; + + try + { + object defaultValue = null; + using (RegistryKey rkKey = rkRoot.OpenSubKey(keyName)) + { + defaultValue = rkKey.GetValue(string.Empty); + if (defaultValue == null) + continue; + } + + Log.Info((defaultValue == null) + string.Empty, typeof(NativeMethods)); + + object iconValue = null; + using (RegistryKey rkIcon = rkRoot.OpenSubKey(defaultValue.ToString() + "\\defaulticon"), rkOpen = rkRoot.OpenSubKey(defaultValue.ToString() + "\\shell\\Open\\command")) + { + iconValue = (rkIcon == null) ? rkOpen?.GetValue(string.Empty) : rkIcon.GetValue(string.Empty); + if (iconValue == null) + continue; + } + + Log.Info((iconValue == null) + string.Empty, typeof(NativeMethods)); + + string[] path = iconValue.ToString().Split(new char[] { '\"', ',' }, StringSplitOptions.RemoveEmptyEntries); + if (path.Length > 0 && path[0].Contains('.')) + { + string fileParam = Environment.ExpandEnvironmentVariables(path[0].Replace("\"", string.Empty, StringComparison.CurrentCulture).Trim()); + iconsInfo.Add(keyName, fileParam); + } + } + catch (Exception e) + { + Log.Exception(keyName + ":" + e.ToString(), e, typeof(NativeMethods)); + continue; // something wrong with this key, move on + } + } + } } } } diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs index d78fc97..ed78f68 100644 --- a/Properties/Resources.Designer.cs +++ b/Properties/Resources.Designer.cs @@ -78,15 +78,6 @@ namespace Community.PowerToys.Run.Plugin.Everything.Properties { } } - /// - /// Looks up a localized string similar to Enable Wait setting under PowerToys Run > Everything. - /// - public static string enable_wait { - get { - return ResourceManager.GetString("enable_wait", resourceCulture); - } - } - /// /// Looks up a localized string similar to Install Everything if not installed. /// @@ -168,15 +159,6 @@ namespace Community.PowerToys.Run.Plugin.Everything.Properties { } } - /// - /// Looks up a localized string similar to Timed out before finishing the query. - /// - public static string timeout { - get { - return ResourceManager.GetString("timeout", resourceCulture); - } - } - /// /// Looks up a localized string similar to Top - Insert result at the top of the list, may cause pre-selection issue.. /// @@ -185,14 +167,5 @@ namespace Community.PowerToys.Run.Plugin.Everything.Properties { return ResourceManager.GetString("Top", resourceCulture); } } - - /// - /// Looks up a localized string similar to Wait - Wait longer for the query to finish, enable only if prompted to.. - /// - public static string Wait { - get { - return ResourceManager.GetString("Wait", resourceCulture); - } - } } } diff --git a/Properties/Resources.ar.resx b/Properties/Resources.ar.resx new file mode 100644 index 0000000..ea74b7c --- /dev/null +++ b/Properties/Resources.ar.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + فشل في تعيين النص في الحافظة + + + مسار النسخ (Ctrl + C) + + + قم بتثبيت البرنامج إذا لم يكن مثبتًا بالفعل + + + Everything لا يعمل + + + فشل في فتح المجلد في + + + فتح مجلد يحتوي على (Ctrl + Shift + E) + + + فتح مسار في وحدة التحكم (Ctrl + Shift + C) + + + Everything احصل على نتائج البحث من + + + Everything + + + معاينة - قد تتسبب معاينة محتوى الملف كرمز في التجميد إذا لم يكن الملف محليًا. + + + تشغيل كمسؤول (Ctrl + Shift + Enter) + + + أعلى القائمة - قد يتسبب إدراج النتيجة في أعلى القائمة في حدوث مشكلة في الاختيار المسبق. + + \ No newline at end of file diff --git a/Properties/Resources.de.resx b/Properties/Resources.de.resx new file mode 100644 index 0000000..2a3fb51 --- /dev/null +++ b/Properties/Resources.de.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Fehler beim Festlegen von Text in der Zwischenablage + + + Pfad kopieren (Strg+C) + + + Installieren Sie "Everything", wenn es nicht installiert ist + + + Everything läuft nicht + + + Ordner konnte nicht geöffnet werden unter + + + Übergeordneten Ordner öffnen (Strg+Umschalt+E) + + + Pfad in der Konsole öffnen (Strg+Umschalt+C) + + + Suche Dateien mit Everything + + + Everything + + + Vorschau – Vorschau des Dateiinhalts als Symbol, kann zum Einfrieren führen, wenn die Datei nicht lokal ist. + + + Als Administrator ausführen (Strg+Shift+Enter) + + + Oben – Ergebnis am Anfang der Liste einfügen, kann zu Problemen bei der Vorauswahl führen. + + \ No newline at end of file diff --git a/Properties/Resources.hi.resx b/Properties/Resources.hi.resx new file mode 100644 index 0000000..759029d --- /dev/null +++ b/Properties/Resources.hi.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + क्लिपबोर्ड में टेक्स्ट सेट करने में विफल + + + कॉपी पथ (Ctrl+C) + + + यदि पहले से इंस्टॉल नहीं है तो प्रोग्राम इंस्टॉल करें + + + Everything नहीं चल रहा + + + पर फ़ोल्डर खोलने में विफल + + + युक्त फ़ोल्डर खोलें (Ctrl+Shift+E) + + + कंसोल में खुला पथ (Ctrl+Shift+C) + + + Everything से खोज परिणाम प्राप्त करें + + + Everything + + + पूर्वावलोकन - आइकन के रूप में फ़ाइल सामग्री का पूर्वावलोकन करें, यदि फ़ाइल स्थानीय नहीं है, तो यह फ़्रीज़ हो सकती है। + + + व्यवस्थापक के रूप में चलाएँ (Ctrl+Shift+Enter) + + + शीर्ष - सूची के शीर्ष पर परिणाम सम्मिलित करें, पूर्व-चयन समस्या का कारण हो सकता है। + + \ No newline at end of file diff --git a/Properties/Resources.it.resx b/Properties/Resources.it.resx new file mode 100644 index 0000000..7876416 --- /dev/null +++ b/Properties/Resources.it.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Impossibile impostare il testo negli appunti + + + Copia percorso (Ctrl+C) + + + Installa il programma se non è già installato + + + Everything non è in esecuzione + + + Impossibile aprire la cartella in + + + Apri la cartella contenente (Ctrl+Maiusc+E) + + + Apri il percorso nella console (Ctrl+Maiusc+C) + + + Ottieni risultati di ricerca da Everything + + + Everything + + + Anteprima: l'anteprima del contenuto del file come icona può causare il blocco se il file non è locale. + + + Esegui come amministratore (Ctrl+Maiusc+Invio) + + + In alto: inserire il risultato in cima all'elenco, potrebbe causare problemi di preselezione. + + \ No newline at end of file diff --git a/Properties/Resources.ja.resx b/Properties/Resources.ja.resx new file mode 100644 index 0000000..264f0c9 --- /dev/null +++ b/Properties/Resources.ja.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + クリップボードにテキストを設定できない + + + パスのコピー(Ctrl + C) + + + プログラムがインストールされていない場合は、最初にインストールしてください + + + Everything が実行されていません + + + でフォルダを開けない + + + 含まれているフォルダーを開く(Ctrl + Shift + E) + + + コンソールでパスを開く(Ctrl + Shift + C) + + + Everything から検索結果を取得する + + + Everything + + + プレビュー-ファイルのコンテンツをアイコンとしてプレビューします。ファイルがローカルでない場合、フリーズする可能性があります。 + + + 管理者として実行(Ctrl + Shift + Enter) + + + トップ-リストの一番上に結果を挿入します。事前選択の問題が発生する可能性があります。 + + \ No newline at end of file diff --git a/Properties/Resources.ko.resx b/Properties/Resources.ko.resx new file mode 100644 index 0000000..1e2e4fe --- /dev/null +++ b/Properties/Resources.ko.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 클립보드에 텍스트를 설정하지 못했습니다. + + + 경로 복사(Ctrl+C) + + + 프로그램이 아직 설치되지 않은 경우 설치 + + + Everything 이 실행되지 않습니다. + + + 에서 폴더를 열지 못했습니다. + + + 포함 폴더 열기(Ctrl+Shift+E) + + + 콘솔에서 경로 열기(Ctrl+Shift+C) + + + Everything에서 검색 결과 얻기 + + + Everything + + + 미리 보기 - 파일 내용을 아이콘으로 미리 봅니다. 파일이 로컬이 아닌 경우 정지될 수 있습니다. + + + 관리자 권한으로 실행(Ctrl+Shift+Enter) + + + 상단 - 목록 상단에 결과를 삽입하면 사전 선택 문제가 발생할 수 있습니다. + + \ No newline at end of file diff --git a/Properties/Resources.resx b/Properties/Resources.resx index 91ff578..ba48cf4 100644 --- a/Properties/Resources.resx +++ b/Properties/Resources.resx @@ -123,9 +123,6 @@ Copy path (Ctrl+C) - - Enable Wait setting under PowerToys Run > Everything - Install Everything if not installed @@ -153,13 +150,7 @@ Run as administrator (Ctrl+Shift+Enter) - - Timed out before finishing the query - Top - Insert result at the top of the list, may cause pre-selection issue. - - Wait - Wait longer for the query to finish, enable only if prompted to. - \ No newline at end of file diff --git a/Properties/Resources.ro.resx b/Properties/Resources.ro.resx new file mode 100644 index 0000000..f2f6069 --- /dev/null +++ b/Properties/Resources.ro.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Nu se poate seta textul în clipboard + + + Copiați calea (Ctrl+C) + + + Instalați programul dacă nu este deja instalat + + + Everything nu rulează + + + Nu se deschide folderul la + + + Deschideți folderul care conține (Ctrl+Shift+E) + + + Deschide calea în consolă (Ctrl+Shift+C) + + + Obțineți rezultate de căutare de la Everything + + + Everything + + + Previzualizare - Previzualizează conținutul fișierului ca pictogramă, poate provoca înghețarea dacă fișierul nu este local. + + + Rulați ca administrator (Ctrl+Shift+Enter) + + + Sus - Introduceți rezultatul în partea de sus a listei, poate cauza probleme de preselecție. + + \ No newline at end of file diff --git a/Properties/Resources.sv.resx b/Properties/Resources.sv.resx new file mode 100644 index 0000000..0828ddd --- /dev/null +++ b/Properties/Resources.sv.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Det gick inte att ange text i urklipp + + + Kopiera sökväg (Ctrl+C) + + + Installera programmet om det inte redan är installerat + + + Everything går inte + + + Misslyckades med att öppna mappen kl + + + Öppna innehållande mapp (Ctrl+Skift+E) + + + Öppna sökväg i konsolen (Ctrl+Skift+C) + + + Få sökresultat från Everything + + + Everything + + + Förhandsgranska - Förhandsgranska filinnehåll som ikon, kan orsaka frysning om filen inte är lokal. + + + Kör som administratör (Ctrl+Skift+Enter) + + + Topp - Infoga resultat högst upp i listan, kan orsaka förvalsproblem. + + \ No newline at end of file diff --git a/Properties/Resources.zh-cn.resx b/Properties/Resources.zh-cn.resx new file mode 100644 index 0000000..357b91c --- /dev/null +++ b/Properties/Resources.zh-cn.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 无法拷贝路径 + + + 拷贝路径 (Ctrl+C) + + + 是否安装了 Everything? + + + Everything 没有运行 + + + 无法打开所属文件夹 + + + 打开所属文件夹 (Ctrl+Shift+E) + + + 在命令提示符下打开 (Ctrl+Shift+C) + + + 利用 Everything 搜索磁盘文件 + + + Everything + + + 预览 - 以图标形式预览文件内容,如果文件不是本地文件,可能会导致冻结 + + + 以管理员身份运行 (Ctrl+Shift+Enter) + + + 顶部 - 在列表顶部插入结果,可能会导致预选问题 + + \ No newline at end of file diff --git a/Properties/Resources.zh.resx b/Properties/Resources.zh.resx new file mode 100644 index 0000000..b9f1a70 --- /dev/null +++ b/Properties/Resources.zh.resx @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 複製到剪貼簿失敗 + + + 複製路徑 (Ctrl+C) + + + 是否有安裝 Everything? + + + Everything 尚未啟動 + + + 無法啟動資料夾 + + + 開啟檔案位置 (Ctrl+Shift+E) + + + 在命令提示字元裡開起 (Ctrl+Shift+C) + + + 利用 Everything 搜尋電腦上的檔案 + + + Everything 搜尋 + + + 預覽 - 將檔案內容顯示為預覽圖示, 非本機的檔案可能會造成停頓. + + + 以系統管理員身分執行 (Ctrl+Shift+Enter) + + + 至頂 - 將結果至頂, 可能會造成預選結果有誤. + + \ No newline at end of file diff --git a/plugin.json b/plugin.json index 0632c76..19852d0 100644 --- a/plugin.json +++ b/plugin.json @@ -2,9 +2,9 @@ "ID": "A86867E2D932459CBD77D176373DD657", "ActionKeyword": "@", "IsGlobal": true, - "Name": "Everything -WIP", + "Name": "Everything", "Author": "Yu Chieh (Victor) Lin", - "Version": "0.58.0.3-WIP", + "Version": "0.58.0.3", "Language": "csharp", "Website": "https://github.com/lin-ycv/EverythingPowerToys", "ExecuteFileName": "Community.PowerToys.Run.Plugin.Everything.dll",