diff --git a/Bin/Debug/SuperDesign/SuperDesign.exe b/Bin/Debug/SuperDesign/SuperDesign.exe index f90ea0d..b3d2665 100644 Binary files a/Bin/Debug/SuperDesign/SuperDesign.exe and b/Bin/Debug/SuperDesign/SuperDesign.exe differ diff --git a/CHANGELOG.md b/CHANGELOG.md index efe2eec..761a73f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,14 @@ ### 2025-01-13 星期一更新 +------ +#### SuperDesign V3.0.2501.1302 +- *.#### 项目功能 +- *.[新增]更新日志新增支持记录每一行的新增时间。 +- *.[新增]生成Html日志新增支持####标签转为h4标签。 +- *.[新增]更新日志新增支持记录分组功能。 +- *.[修复]修复项目窗口里的文件夹标签页列表视图没对齐的BUG。 +- *.[修复]修复更新日志页面发布日志后会导致周期信息无法显示的BUG。 + +### 2025-01-13 星期一更新 ------ diff --git a/Source/开发辅助工具/Manager/APIManager.cs b/Source/开发辅助工具/Manager/APIManager.cs index 05c9aeb..b236231 100644 --- a/Source/开发辅助工具/Manager/APIManager.cs +++ b/Source/开发辅助工具/Manager/APIManager.cs @@ -69,6 +69,10 @@ namespace SuperDesign.Manager if (logs[m].Length == 0) { continue; } var log_item = logs[m]; if (log_item.IndexOfEx("[开发]") >= 0) { continue; } + if (log_item.IndexOfEx("#### ")== 0) { + log_text += "\r\n
" +System.Web.HttpUtility.HtmlEncode(log_item.Substring(2))+"
"; diff --git a/Source/开发辅助工具/Properties/AssemblyInfo.cs b/Source/开发辅助工具/Properties/AssemblyInfo.cs index 29b9362..21d7a45 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.2501.1301")] -[assembly: AssemblyFileVersion("3.0.2501.1301")] \ No newline at end of file +[assembly: AssemblyVersion("3.0.2501.1302")] +[assembly: AssemblyFileVersion("3.0.2501.1302")] \ No newline at end of file diff --git a/Source/开发辅助工具/Tools/FrmProject.Designer.cs b/Source/开发辅助工具/Tools/FrmProject.Designer.cs index dfd553a..95e2fa8 100644 --- a/Source/开发辅助工具/Tools/FrmProject.Designer.cs +++ b/Source/开发辅助工具/Tools/FrmProject.Designer.cs @@ -85,11 +85,11 @@ this.LvUpdateLogList = new BrightIdeasSoftware.ObjectListView(); this.OlvUpVer = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.OlvUpdateDate = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); + this.OlvTime = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.设为正式版本ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.生成Html日志ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.BtnPublishLogs = new ryControls.ButtonEx(); - this.OlvTime = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn())); ((System.ComponentModel.ISupportInitialize)(this.table1)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); @@ -158,7 +158,7 @@ this.table1.Location = new System.Drawing.Point(3, 3); this.table1.Name = "table1"; this.table1.NoItemsText = "当前列表没有任何项"; - this.table1.Size = new System.Drawing.Size(894, 371); + this.table1.Size = new System.Drawing.Size(915, 371); this.table1.TabIndex = 20; this.table1.TableModel = this.tableModel1; this.table1.Text = "table1"; @@ -430,7 +430,7 @@ this.tabPage2.Location = new System.Drawing.Point(1, 29); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(903, 380); + this.tabPage2.Size = new System.Drawing.Size(921, 380); this.tabPage2.TabIndex = 0; this.tabPage2.Text = "文件夹"; this.tabPage2.UseVisualStyleBackColor = true; @@ -456,7 +456,7 @@ this.tabPage1.Location = new System.Drawing.Point(1, 29); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(903, 380); + this.tabPage1.Size = new System.Drawing.Size(921, 380); this.tabPage1.TabIndex = 1; this.tabPage1.Text = "项目信息"; this.tabPage1.UseVisualStyleBackColor = true; @@ -690,7 +690,7 @@ this.tabPage3.Location = new System.Drawing.Point(1, 29); this.tabPage3.Name = "tabPage3"; this.tabPage3.Padding = new System.Windows.Forms.Padding(3); - this.tabPage3.Size = new System.Drawing.Size(903, 380); + this.tabPage3.Size = new System.Drawing.Size(921, 380); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "C#编译选项"; this.tabPage3.UseVisualStyleBackColor = true; @@ -818,6 +818,11 @@ this.OlvUpdateDate.Text = "更新时间"; this.OlvUpdateDate.Width = 130; // + // OlvTime + // + this.OlvTime.Text = "周期"; + this.OlvTime.Width = 100; + // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -855,11 +860,6 @@ this.BtnPublishLogs.UseVisualStyleBackColor = true; this.BtnPublishLogs.Click += new System.EventHandler(this.BtnPublishLogs_Click); // - // OlvTime - // - this.OlvTime.Text = "周期"; - this.OlvTime.Width = 100; - // // FrmProject // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); diff --git a/Source/开发辅助工具/Tools/FrmProject.cs b/Source/开发辅助工具/Tools/FrmProject.cs index 14ccbc2..077fd0a 100644 --- a/Source/开发辅助工具/Tools/FrmProject.cs +++ b/Source/开发辅助工具/Tools/FrmProject.cs @@ -21,6 +21,7 @@ using System.Threading; using System.Windows.Documents; using System.Windows.Forms; using System.Xml; +using System.Xml.Linq; using WeifenLuo.WinFormsUI.Docking; using 开发辅助工具.Manager; @@ -848,7 +849,7 @@ namespace 开发辅助工具.Tools { if (clean) { - db.ExecuteNonQuery("update ProjectNowLogs set Value='',editTime="+DateTime.Now.ToInt64()); + db.ExecuteNonQuery("update ProjectNowLogs set Value='',ValueTime='', editTime="+DateTime.Now.ToInt64()); for (int i = 0; i < tabControl1.TabPages.Count; i++) { var tab = tabControl1.TabPages[i]; @@ -905,7 +906,35 @@ namespace 开发辅助工具.Tools mySQL.AddField("Value", rich.Text);//值 mySQL.AddField("editTime", DateTime.Now.ToInt64()); var ds = db.ReadData("select * from ProjectNowLogs where Name=@Name",mySQL); + var ValueTime = ""; if(ds.HaveData()) + { + ValueTime = ds.GetRow(0)["ValueTime"].ToString(); + } + var JSON_ValueTime = ValueTime.Length == 0 ? new JArray():JArray.Parse(ValueTime); + Dictionary