diff --git a/Bin/Debug/SuperDesign/RySmartEditor.exe b/Bin/Debug/SuperDesign/RySmartEditor.exe index 0ddea3c..5a9119d 100644 Binary files a/Bin/Debug/SuperDesign/RySmartEditor.exe and b/Bin/Debug/SuperDesign/RySmartEditor.exe differ diff --git a/Bin/Debug/SuperDesign/SuperDesign.exe b/Bin/Debug/SuperDesign/SuperDesign.exe index d3aa08a..1d74512 100644 Binary files a/Bin/Debug/SuperDesign/SuperDesign.exe and b/Bin/Debug/SuperDesign/SuperDesign.exe differ diff --git a/Bin/Debug/SuperDesign/SysDb/Tools/FileContentSearch/FileContentSearch.exe b/Bin/Debug/SuperDesign/SysDb/Tools/FileContentSearch/FileContentSearch.exe index ac51e4b..7584c69 100644 Binary files a/Bin/Debug/SuperDesign/SysDb/Tools/FileContentSearch/FileContentSearch.exe and b/Bin/Debug/SuperDesign/SysDb/Tools/FileContentSearch/FileContentSearch.exe differ diff --git a/CHANGELOG.md b/CHANGELOG.md index 7281d76..c94c7e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ -## :date:2025-08-04 星期一更新 +## :date:2025-08-26 星期二更新 + +### RySmartEditor V1.0.2508.2601 +- :100:[改进]改进上传FTP流畅性。 + +## :date:2025-08-04 星期一更新 ### SuperDesign V3.0.2508.0401 - :100:[改进]更换API域名。 diff --git a/Source/RySmartEditor/FTP/FrmFTPBrowser.cs b/Source/RySmartEditor/FTP/FrmFTPBrowser.cs index fe0f5cc..e065396 100644 --- a/Source/RySmartEditor/FTP/FrmFTPBrowser.cs +++ b/Source/RySmartEditor/FTP/FrmFTPBrowser.cs @@ -752,7 +752,7 @@ namespace SuperDesign.Manager.FTP public void UpdateFileInfo() { ObjectListView1_SelectionChanged(objectListView1, EventArgs.Empty); } - public void UpdateFileInfo(string path,DateTime LastWriteTime,long FileSize) { + public async void UpdateFileInfo(string path,DateTime LastWriteTime,long FileSize) { var mpath = "/"+path.ToLower().TrimStart('/'); if(objectListView1.SelectedObject!=null) { @@ -766,18 +766,28 @@ namespace SuperDesign.Manager.FTP return; } } - for (int i = 0; i < objectListView1.ObjectsList.Count; i++) { - var item = (FTPop.RemoteFileInfo)objectListView1.ObjectsList[i]; - if (item.FullName.ToLower() == mpath) { - item.LastWriteTime = LastWriteTime; - item.Length = FileSize; - objectListView1.RefreshObject(item); - if(item==objectListView1.SelectedObject) { - ObjectListView1_SelectionChanged(objectListView1, EventArgs.Empty); + var enumerator = objectListView1.Objects.GetEnumerator(); + await Task.Run(() => + { + while (enumerator.MoveNext()) + { + var item = (FTPop.RemoteFileInfo)enumerator.Current; + if (item.FullName.ToLower() == mpath) + { + item.LastWriteTime = LastWriteTime; + item.Length = FileSize; + this.Invoke(new Action(() => + { + objectListView1.RefreshObject(item); + if (item == objectListView1.SelectedObject) + { + ObjectListView1_SelectionChanged(objectListView1, EventArgs.Empty); + } + })); + return; } - return; } - } + }); } private void 查看历史记录ToolStripMenuItem_Click(object sender, EventArgs e) { diff --git a/Source/RySmartEditor/Properties/AssemblyInfo.cs b/Source/RySmartEditor/Properties/AssemblyInfo.cs index 3968f91..4fa8f7f 100644 --- a/Source/RySmartEditor/Properties/AssemblyInfo.cs +++ b/Source/RySmartEditor/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 //通过使用 "*",如下所示: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.2508.0201")] -[assembly: AssemblyFileVersion("1.0.2508.0201")] \ No newline at end of file +[assembly: AssemblyVersion("1.0.2508.2601")] +[assembly: AssemblyFileVersion("1.0.2508.2601")] \ No newline at end of file diff --git a/Source/RySmartEditor/SmartEditor/FrmFileBrowser_New.Designer.cs b/Source/RySmartEditor/SmartEditor/FrmFileBrowser_New.Designer.cs index 942d6e3..79cfac3 100644 --- a/Source/RySmartEditor/SmartEditor/FrmFileBrowser_New.Designer.cs +++ b/Source/RySmartEditor/SmartEditor/FrmFileBrowser_New.Designer.cs @@ -320,7 +320,7 @@ // this.粘贴剪切板文件列表ToolStripMenuItem.Name = "粘贴剪切板文件列表ToolStripMenuItem"; this.粘贴剪切板文件列表ToolStripMenuItem.Size = new System.Drawing.Size(232, 22); - this.粘贴剪切板文件列表ToolStripMenuItem.Text = "粘贴"; + this.粘贴剪切板文件列表ToolStripMenuItem.Text = "粘贴剪切板文件列表"; this.粘贴剪切板文件列表ToolStripMenuItem.Click += new System.EventHandler(this.粘贴剪切板文件列表ToolStripMenuItem_Click); // // 删除文件ToolStripMenuItem diff --git a/Source/开发辅助工具/Properties/AssemblyInfo.cs b/Source/开发辅助工具/Properties/AssemblyInfo.cs index 50dcac8..c1e1cff 100644 --- a/Source/开发辅助工具/Properties/AssemblyInfo.cs +++ b/Source/开发辅助工具/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 // 方法是按如下所示使用“*”: : // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.0.2508.0401")] -[assembly: AssemblyFileVersion("3.0.2508.0401")] \ No newline at end of file +[assembly: AssemblyVersion("3.0.2508.2601")] +[assembly: AssemblyFileVersion("3.0.2508.2601")] \ No newline at end of file