Skip to content

Commit

Permalink
24.2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
tablacus committed Feb 16, 2024
1 parent 8df0dff commit 6cc4d6f
Show file tree
Hide file tree
Showing 15 changed files with 66 additions and 59 deletions.
Binary file added docs/forcerefresh/forcerefresh_110.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/index.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<TablacusExplorer><Item Id="forcerefresh"><General><Version>1.09</Version><MinVersion>2024.2.13</MinVersion><pubDate>Wed, 14 Feb 2024 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Force refresh</Name><Description>Force refresh</Description></en><ja><Name>強制的に更新</Name></ja><zh><Name>自動重新整理</Name></zh></Item>
<TablacusExplorer><Item Id="forcerefresh"><General><Version>1.10</Version><MinVersion>2024.2.16</MinVersion><pubDate>Fri, 16 Feb 2024 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Force refresh</Name><Description>Force refresh</Description></en><ja><Name>強制的に更新</Name></ja><zh><Name>自動重新整理</Name></zh></Item>
<Item Id="tabplus"><General><Version>1.97</Version><MinVersion>2024.2.16</MinVersion><pubDate>Fri, 16 Feb 2024 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Tab plus</Name><Description>Tab plus</Description></en><ja><Name>タブプラス</Name></ja><zh><Name>進階頁籤</Name></zh></Item>
<Item Id="renamedialogplus"><General><Version>1.09</Version><MinVersion>2023.9.13</MinVersion><pubDate>Mon, 12 Feb 2024 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Rename dialog plus</Name><Description>Rename dialog box plus</Description></en><ja><Name>名前の変更ダイアログボックス プラス</Name><Description>名前の変更を拡張子別のダイアログボックスで行います。</Description></ja><zh><Name>重新命名進階對話窗</Name></zh></Item>
<Item Id="importexplorer"><General><Version>1.12</Version><MinVersion>2023.9.13</MinVersion><pubDate>Mon, 12 Feb 2024 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Import Explorer</Name><Description>Import Explorer</Description></en><ja><Name>エクスプローラを取り込む</Name><Description>エクスプローラを取り込んでTablacus Explorerで開きます。</Description></ja><zh><Name>匯入檔案總管</Name></zh></Item>
<Item Id="iconoverlay"><General><Version>1.12</Version><MinVersion>2023.9.13</MinVersion><pubDate>Fri, 09 Feb 2024 00:00:00 GMT</pubDate><DllVersion>1.1.3.0</DllVersion><Creator>Gaku</Creator></General><en><Name>Icon overlay</Name><Description>Icon overlay unlimited</Description></en><ja><Name>アイコンオーバーレイ</Name><Description>アイコンオーバーレイを無制限に</Description></ja><zh><Name>解除疊置圖示上限</Name></zh></Item>
Expand All @@ -20,7 +21,6 @@
<Item Id="paste"><General><Version>1.07</Version><MinVersion>2022.11.3</MinVersion><pubDate>Tue, 06 Dec 2022 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Paste</Name><Description>Paste button</Description></en><ja><Name>貼り付け</Name><Description>貼り付けボタン</Description></ja></Item>
<Item Id="font"><General><Version>1.25</Version><MinVersion>2022.6.27</MinVersion><pubDate>Sun, 24 Jul 2022 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Font settings</Name><Description>Font settings</Description></en><ja><Name>フォント設定</Name></ja><zh><Name>字型</Name></zh></Item>
<Item Id="stripes"><General><Version>1.13</Version><MinVersion>2022.6.27</MinVersion><pubDate>Thu, 21 Jul 2022 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Stripes</Name><Description>Display alternating stripes in the background when the detail view.</Description></en><ja><Name>ストライプ</Name><Description>詳細表示の際に背景をストライプ模様で表示します。</Description></ja><zh><Name>斑馬條紋</Name></zh></Item>
<Item Id="tabplus"><General><Version>1.96</Version><MinVersion>2022.6.27</MinVersion><pubDate>Mon, 18 Jul 2022 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Tab plus</Name><Description>Tab plus</Description></en><ja><Name>タブプラス</Name></ja><zh><Name>進階頁籤</Name></zh></Item>
<Item Id="showhash"><General><Version>1.01</Version><MinVersion>2022.5.20</MinVersion><pubDate>Sun, 05 Jun 2022 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Show hash</Name><Description>Show hash</Description></en><ja><Name>ハッシュ値を表示</Name></ja></Item>
<Item Id="tabcolorplus"><General><Version>1.07</Version><MinVersion>2022.4.11</MinVersion><pubDate>Wed, 27 Apr 2022 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Tab color plus</Name><Description>Color the tab by wild card, or regular expression. Require "Tab plus"</Description></en><ja><Name>タブカラープラス</Name><Description>ワイルドカードや正規表現でタブに色を付けます。 ※タブプラスが必要</Description></ja><zh><Name>頁籤色彩規則</Name></zh></Item>
<Item Id="spi"><General><Version>1.26</Version><MinVersion>2022.3.27</MinVersion><pubDate>Sun, 17 Apr 2022 00:00:00 GMT</pubDate><DllVersion>1.2.1.0</DllVersion><Creator>Gaku</Creator></General><en><Name>Susie Plug-in</Name><Description>Susie Plug-in</Description></en><ja><Name>Susieプラグイン</Name></ja><zh><Name>Susie 外掛程式</Name></zh></Item>
Expand Down
Binary file added docs/tabplus/tabplus_197.zip
Binary file not shown.
48 changes: 19 additions & 29 deletions docs/te/releases.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{"url":"https://api.github.com/repos/tablacus/TablacusExplorer/releases/141805673",
"assets_url":"https://api.github.com/repos/tablacus/TablacusExplorer/releases/141805673/assets",
"upload_url":"https://uploads.github.com/repos/tablacus/TablacusExplorer/releases/141805673/assets{?name,label}",
"html_url":"https://github.com/tablacus/TablacusExplorer/releases/tag/24.2.13",
"id":141805673,
{"url":"https://api.github.com/repos/tablacus/TablacusExplorer/releases/142324791",
"assets_url":"https://api.github.com/repos/tablacus/TablacusExplorer/releases/142324791/assets",
"upload_url":"https://uploads.github.com/repos/tablacus/TablacusExplorer/releases/142324791/assets{?name,label}",
"html_url":"https://github.com/tablacus/TablacusExplorer/releases/tag/24.2.16",
"id":142324791,
"author":{"login":"tablacus",
"id":5156977,
"node_id":"MDQ6VXNlcjUxNTY5Nzc=",
Expand All @@ -20,16 +20,16 @@
"events_url":"https://api.github.com/users/tablacus/events{/privacy}",
"received_events_url":"https://api.github.com/users/tablacus/received_events",
"type":"User",
"site_admin":false},"node_id":"RE_kwDOALVDDs4Ic8hp",
"tag_name":"24.2.13",
"site_admin":false},"node_id":"RE_kwDOALVDDs4Ie7Q3",
"tag_name":"24.2.16",
"target_commitish":"master",
"name":"",
"draft":false,"prerelease":false,"created_at":"2024-02-13T13:14:51Z",
"published_at":"2024-02-13T13:22:56Z",
"assets":[{"url":"https://api.github.com/repos/tablacus/TablacusExplorer/releases/assets/151313062",
"id":151313062,
"node_id":"RA_kwDOALVDDs4JBNqm",
"name":"te240213.zip",
"draft":false,"prerelease":false,"created_at":"2024-02-16T13:22:28Z",
"published_at":"2024-02-16T13:24:47Z",
"assets":[{"url":"https://api.github.com/repos/tablacus/TablacusExplorer/releases/assets/151909284",
"id":151909284,
"node_id":"RA_kwDOALVDDs4JDfOk",
"name":"te240216.zip",
"label":null,"uploader":{"login":"tablacus",
"id":5156977,
"node_id":"MDQ6VXNlcjUxNTY5Nzc=",
Expand All @@ -49,19 +49,9 @@
"type":"User",
"site_admin":false},"content_type":"application/x-zip-compressed",
"state":"uploaded",
"size":766780,
"created_at":"2024-02-13T13:22:43Z",
"updated_at":"2024-02-13T13:22:45Z",
"browser_download_url":"https://github.com/tablacus/TablacusExplorer/releases/download/24.2.13/te240213.zip"}],"tarball_url":"https://api.github.com/repos/tablacus/TablacusExplorer/tarball/24.2.13",
"zipball_url":"https://api.github.com/repos/tablacus/TablacusExplorer/zipball/24.2.13",
"body":"Some fix (Backup recommended)\r\n\r\n- フレームのナビゲーションウインドウ(ツリー)のマウス処理が一覧のマウスコマンドと認識していたのを直した\r\n- クラウド判定をパス名のみに簡略化\r\nOneDrive/Dropbox/Boxのフォルダはレジストリから取得、Google ドライブはボリュームラベルで判別 \r\n以下のスクリプトをで判別可能です。クラウド判定で`True`、そうじゃない場合は`False`になります。\r\n```js\r\nwsh.Popup(IsCloud(FV.FolderItem));\r\n```\r\n- クラウドのアイコン取得をネットワークフォルダ並みに簡略化\r\n\r\n\r\n[VirusTotal](https://www.virustotal.com/gui/file/0aa3acacfa72fd6a939ed656bab0022596002536a951169b7bc8e47424e0ec58)\r\n",
"reactions":{"url":"https://api.github.com/repos/tablacus/TablacusExplorer/releases/141805673/reactions",
"total_count":2,
"+1":2,
"-1":0,
"laugh":0,
"hooray":0,
"confused":0,
"heart":0,
"rocket":0,
"eyes":0}}
"size":767758,
"created_at":"2024-02-16T13:24:35Z",
"updated_at":"2024-02-16T13:24:37Z",
"browser_download_url":"https://github.com/tablacus/TablacusExplorer/releases/download/24.2.16/te240216.zip"}],"tarball_url":"https://api.github.com/repos/tablacus/TablacusExplorer/tarball/24.2.16",
"zipball_url":"https://api.github.com/repos/tablacus/TablacusExplorer/zipball/24.2.16",
"body":"Some fix (Backup recommended)\r\n\r\n- Tablacus ExplorerからExplorerで開く判別機能がおかしくなっていた問題を対策 #718\r\n- メニュー読み込みをccfsさんのpatchを参考に調整\r\n- クラウド判定に\"System.StorageProviderState\"のチェックを復活\r\nSharePointはインストールできなかったのでレジストリの情報が分かる方は教えていただけると幸いです。\r\n\r\n[VirusTotal](https://www.virustotal.com/gui/file/892625320e194e01dce57fbc5878d94876101833512de557acae7cc6601c7e6d)\r\n"}
Binary file modified docs/te/te.zip
Binary file not shown.
Binary file removed docs/te/te240213.zip
Binary file not shown.
Binary file added docs/te/te240216.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions forcerefresh/config.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<TablacusExplorer>
<General>
<Version>1.09</Version>
<MinVersion>2024.2.13</MinVersion>
<pubDate>Wed, 14 Feb 2024 00:00:00 GMT</pubDate>
<Version>1.10</Version>
<MinVersion>2024.2.16</MinVersion>
<pubDate>Fri, 16 Feb 2024 00:00:00 GMT</pubDate>
<Options>Common:0,1:0</Options>
<Level>2</Level>
<Creator>Gaku</Creator>
Expand Down
3 changes: 3 additions & 0 deletions forcerefresh/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<label><input type="checkbox" name="Paste">@shell32.dll,-33562<label><br>
<label><input type="checkbox" name="Tab">Tabs<label><br>
<br>
<label>Disable</label><br>
<label><input type="checkbox" name="Items">Number of items<label><br>
<br>
<label>@comres.dll,-1953</label><br>
<input type="text" name="Timeout" placeholder="500" class="number"><label>@powrprof.dll,-82[ms]</label>
<!--panel-->
Expand Down
25 changes: 15 additions & 10 deletions forcerefresh/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if (window.Addon == 1) {
Notify: 0,
Timeout: GetNum(item.getAttribute("Timeout")) || 500,
Tab: GetNum(item.getAttribute("Tab")),
Check: GetNum(item.getAttribute("Items")) ? 2 : 1,
db: {},
tid: {},

Expand All @@ -18,7 +19,7 @@ if (window.Addon == 1) {
Addons.ForceRefresh.tid[Id] = setTimeout(async function (Id) {
delete Addons.ForceRefresh.tid[Id];
if (await api.GetClassName(await api.GetFocus()) != WC_EDIT) {
FV.Refresh(true);
FV.Refresh(Addons.ForceRefresh.Check);
}
}, Addons.ForceRefresh.Timeout, Id);
},
Expand All @@ -32,19 +33,23 @@ if (window.Addon == 1) {
if (!await PathMatchEx(r[0], Addons.ForceRefresh.Filter) || await PathMatchEx(r[0], Addons.ForceRefresh.Disable)) {
return;
}
for (let i = r.length; i--;) {
r[i] = (r[i] || "").toLowerCase();
}
const res0 = /^([a-z]):\\|^\\\\\w/.exec(r[0]);
const res0 = /^([a-z]):\\|^\\\\\w/i.exec(r[0]);
if (!res0) {
return;
}
if (res0[1]) {
for (i = 1; i < r.length; ++i) {
const res1 = /^([a-z]):/i.exec(r[i]);
if (res1 && res0[1] != res1[1] && await api.PathIsSameRoot(r[0], r[i])) {
r[i] = res[0] + (r[i].substring(1));
for (let i = r.length; i--;) {
if (!await IsCloudPath(r[i])) {
const h = await api.CreateFile(r[i], 0x80000000, 7, null, 3, 0x02000000, null);
if (h != INVALID_HANDLE_VALUE) {
const path = await api.GetFinalPathNameByHandle(h, 0);
api.CloseHandle(h);
if (path) {
r[i] = path;
}
}
}
r[i] = (r[i] || "").toLowerCase();
}
}
if (r[0] == GetParentFolderName(r[1]) ||
Expand Down Expand Up @@ -142,7 +147,7 @@ if (window.Addon == 1) {
clearTimeout(Addons.ForceRefresh.tid[Id]);
delete Addons.ForceRefresh.tid[Id];
}
Ctrl.Selected.Refresh();
Ctrl.Selected.Refresh(Addons.ForceRefresh.Check);
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions tabplus/config.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<TablacusExplorer>
<General>
<Version>1.96</Version>
<MinVersion>2022.6.27</MinVersion>
<pubDate>Mon, 18 Jul 2022 00:00:00 GMT</pubDate>
<Version>1.97</Version>
<MinVersion>2024.2.16</MinVersion>
<pubDate>Fri, 16 Feb 2024 00:00:00 GMT</pubDate>
<Options>Common:0:0</Options>
<Level>2</Level>
<Creator>Gaku</Creator>
Expand Down
3 changes: 2 additions & 1 deletion tabplus/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@
<label>Drag-and-Drop</label>
<br>
<label><input type="checkbox" id="!NoDragOpen">Open</label><br>
<label><input type="checkbox" id="DragFolder">Folder</label>
<label><input type="checkbox" id="DragFolder">Folder</label><br>
<input type="checkbox" id="!NoDropTo"><label for="!NoDropTo" id="_DropTo">Drop to Folder</label>
</div>
7 changes: 7 additions & 0 deletions tabplus/options.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const Icon = document.F.Icon;
if (Icon) {
Icon.name = "Icon_0";
}
await SetTabContents(0, "", await ReadTextFile("addons\\" + Addon_Id + "\\options.html"));
document.getElementById("_Drive").innerHTML = (await api.LoadString(hShell32, 4122)).replace(/ %c:?/, "");
document.getElementById("_DropTo").innerHTML = (await GetTextR("@SRH.dll,-8110[Drop to %1]")).replace(/%1/, await GetText("Folder"));
7 changes: 1 addition & 6 deletions tabplus/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,10 +641,5 @@ if (window.Addon == 1) {
});
delete item;
} else {
const Icon = document.F.Icon;
if (Icon) {
Icon.name = "Icon_0";
}
await SetTabContents(0, "General", await ReadTextFile("addons\\" + Addon_Id + "\\options.html"));
document.getElementById("_Drive").innerHTML = (await api.LoadString(hShell32, 4122)).replace(/ %c:?/, "");
importScript("addons\\" + Addon_Id + "\\options.js");
}
16 changes: 11 additions & 5 deletions tabplus/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ Common.TabPlus.rc = api.CreateObject("Object");
Common.TabPlus.rcItem = api.CreateObject("Object");

Sync.TabPlus = {
DropTo: !GetAddonOption("tabplus", "NoDropTo"),

FromPt: function (Id, pt) {
const ptc = pt.Clone();
api.ScreenToClient(WebBrowser.hwnd, ptc);
Expand Down Expand Up @@ -113,7 +115,7 @@ AddEvent("DragOver", function (Ctrl, dataObj, grfKeyState, pt, pdwEffect) {
InvokeUI("Addons.TabPlus.DragOver", TC.Id);
}
}
if (dataObj.Count) {
if (dataObj.Count && Sync.TabPlus.DropTo) {
const Target = FV.FolderItem;
if (!api.ILIsEqual(dataObj.Item(-1), Target)) {
let DropTarget = api.DropTarget(Target);
Expand All @@ -122,10 +124,13 @@ AddEvent("DragOver", function (Ctrl, dataObj, grfKeyState, pt, pdwEffect) {
}
}
}
}
if (Sync.TabPlus.DropTo) {
pdwEffect[0] = DROPEFFECT_NONE;
return S_OK;
}
} else if (dataObj.Count && dataObj.Item(0).IsFolder) {
}
if (dataObj.Count && dataObj.Item(0).IsFolder) {
pdwEffect[0] = DROPEFFECT_LINK;
return S_OK;
}
Expand Down Expand Up @@ -153,7 +158,7 @@ AddEvent("Drop", function (Ctrl, dataObj, grfKeyState, pt, pdwEffect) {
Common.TabPlus.Drag5 = void 0;
return S_OK;
}
if (nIndex >= 0) {
if (nIndex >= 0 && Sync.TabPlus.DropTo) {
let hr = S_FALSE;
const DropTarget = TC[nIndex].DropTarget;
if (DropTarget) {
Expand All @@ -163,10 +168,11 @@ AddEvent("Drop", function (Ctrl, dataObj, grfKeyState, pt, pdwEffect) {
Common.TabPlus.bDropping = false;
}
return hr;
} else if (dataObj.Count) {
}
if (dataObj.Count) {
for (let i = 0; i < dataObj.Count; ++i) {
const FV = TC.Selected.Navigate(dataObj.Item(i), SBSP_NEWBROWSER);
TC.Move(FV.Index, TC.Count - 1);
TC.Move(FV.Index, nIndex >= 0 ? nIndex : TC.Count - 1);
}
return S_OK;
}
Expand Down

0 comments on commit 6cc4d6f

Please sign in to comment.