Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docs/Help/Topics/VersionHistory.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
<li styleclass="List1">Fixed an IndexOutOfRangeException in the compiler when analyzers and .editorconfig files are used (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2098" target="_blank">#2098</link>)</li>
<li styleclass="List1">Fixed an issue with _DLL FUNCTION with PSZ arguments in .Net 5 or later (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2097" target="_blank">#2097</link>)</li>
<li styleclass="List1">Fixes two issues when including C# files in the source files for X# (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2151" target="_blank">#2151</link> and <link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2153" target="_blank">#2153</link>)</li>
<li styleclass="List1">Fixed an issue when assigning a lambda expression to a variable declared as USUAL or OBJECT. A lambda without a real target type is now converted to its natural delegate type (Func&lt;...&gt; or Action&lt;...&gt;) first and that delegate is then converted to the destination type</li>
<li styleclass="List1">Fixed random XS0266, XS1503 and XS0121 errors when compiling with /vo4 caused by the SuppressVo4 setting being shared between compiler threads (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2173" target="_blank">#2173</link>)</li>
</list>
<para styleclass="Heading2">Build System</para>
<list id="2" type="ul" listtype="bullet" formatstring="&#183;" format-charset="SYMBOL_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="List1" style="font-family:Symbol; font-size:11pt; color:#000000;">
Expand All @@ -44,6 +46,7 @@
<li styleclass="List1">Output folders are now excluded from the default globs</li>
<li styleclass="List1">Prevent automatic setting from Windows platform for SDK projects</li>
<li styleclass="List1">The Rules folder with XAML files is now included to support the new Rules based property dialog for SDK style projects</li>
<li styleclass="List1">The shared compiler is no longer started inside Visual Studio, so XsCompiler.exe is not locked by the IDE</li>
</list>
<para styleclass="Heading2">Runtime</para>
<para styleclass="Heading3">New Features</para>
Expand All @@ -55,6 +58,7 @@
<li styleclass="List1">Added _TALLY support for COUNT, REPLACE, DELETE, RECALL, SUM and AVERAGE (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2062" target="_blank">#2062</link>, <link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2074" target="_blank">#2074</link>)</li>
<li styleclass="List1">Expanded VFP database support with CLOSE DATABASES/CLOSE TABLES and DBC commands such as ADD TABLE, REMOVE TABLE and RENAME TABLE, plus support for long DBC field names</li>
<li styleclass="List1">Expanded XSharp.VFP.UI with ON KEY LABEL support, FormSet constructors, additional control properties, dynamic colors, and broader Grid and Menu support</li>
<li styleclass="List1">Implemented the VFP functions CNTBAR() and CNTPAD() (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2172" target="_blank">#2172</link>)</li>
</list>
<para styleclass="Heading3">Bug Fixes</para>
<list id="4" type="ul" listtype="bullet" formatstring="&#183;" format-charset="SYMBOL_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="List1" style="font-family:Symbol; font-size:11pt; color:#000000;">
Expand All @@ -76,6 +80,10 @@
<li styleclass="List1">SET EXACT ON in the VFP Dialect now ignores trailing blanks (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2160" target="_blank">#2160)</link></li>
<li styleclass="List1">CURDIR() in the VFP dialect returns the directory formatted as in VFP (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2160" target="_blank">#2160)</link></li>
<li styleclass="List1">Fixed STRTOFILE() additive clause for files that do not exist &#160;(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2160" target="_blank">#2160)</link></li>
<li styleclass="List1">DELETE FROM without a WHERE clause now deletes every record (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2167" target="_blank">#2167</link>)</li>
<li styleclass="List1">CursorAdapter.DataSource in XSharp.VFP.UI now accepts non-string values (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2169" target="_blank">#2169</link>)</li>
<li styleclass="List1">DELETE and RECALL with the IN clause now accept the clauses in any order (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2174" target="_blank">#2174</link>)</li>
<li styleclass="List1">SET PATH TO with the ADDITIVE clause now adds the folders to the existing path (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2175" target="_blank">#2175</link>)</li>
</list>
<para styleclass="Heading2">Visual Studio Integration</para>
<para styleclass="Heading3">New Features</para>
Expand All @@ -95,6 +103,10 @@
<li styleclass="List1">Added support for <text style="font-weight:bold;">Renaming </text> types and members (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2154" target="_blank">#2154</link>)</li>
<li styleclass="List1">Added support for <text style="font-weight:bold;">Navigate To &#160;(Ctrl-T) </text>for types and members (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2155" target="_blank">#2155</link>) (only in VS2022 and later)</li>
<li styleclass="List1">Added support for <text style="font-weight:bold;">Goto Implementation </text> types and members (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2156" target="_blank">#2156</link>)</li>
<li styleclass="List1">Added <text style="font-weight:bold;">Inlay hints </text>for parameter names and VAR types (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2164" target="_blank">#2164</link>)</li>
<li styleclass="List1">Added <text style="font-weight:bold;">Quick actions </text>to add a USING statement, generate a method, generate overrides and convert a field to a property (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2166" target="_blank">#2166</link>)</li>
<li styleclass="List1"><text style="font-weight:bold;">Goto Definition </text>now also works for types and members in the C# and VB projects of the solution. F12 picks the correct overload (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2170" target="_blank">#2170</link>)</li>
<li styleclass="List1">The Code Search window (Ctrl-T) now shows a preview for X# results and the preview no longer takes the focus (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2171" target="_blank">#2171</link>)</li>
</list>
</list>
<para styleclass="Heading3">Bug Fixes</para>
Expand All @@ -111,6 +123,13 @@
<li styleclass="List1">For multi-targeting projects Goto Definition could show the same definition twice. This has been solved</li>
<li styleclass="List1">Fixed some issues when switching between Sqlite databases engines for the intellisense database. We now delete the database after changing the engine, so it will be rebuilt when the solution is reloaded.</li>
<li styleclass="List1">Fixed an issue with Goto Definition for partial classes in other projects (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2110" target="_blank">#2110</link>)</li>
<li styleclass="List1">Fixed the Find References target selection after combining Find All References and Goto Implementation (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2161" target="_blank">#2161</link>)</li>
<li styleclass="List1">The Rename dialog is now implemented in XAML and renaming a file in the project tree no longer throws an exception (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2163" target="_blank">#2163</link>)</li>
<li styleclass="List1">Fixed the WinForms Designer shadow project: form events are now migrated from C# to X#, stale references to the shadow designer project were removed and the C# form is saved to X# before debugging starts</li>
<li styleclass="List1">SDK style projects now also add references to projects in other languages to the code model</li>
<li styleclass="List1">The error squiggle now has the length of the token at the error position</li>
<li styleclass="List1">Fixed an exception for an incomplete VAR statement</li>
<li styleclass="List1">The IDE no longer uses EnvDTE to find the startup project</li>
</list>
<para styleclass="Heading2">VFPExporter</para>
<para styleclass="Heading3">New Features</para>
Expand Down
19 changes: 19 additions & 0 deletions docs/Help_ZH-CN/Topics/VersionHistory.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
<list id="2" type="ul" listtype="bullet" formatstring="&#183;" format-charset="SYMBOL_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="List1" style="font-family:Symbol; font-size:11pt; color:#000000;">
<li styleclass="List1">修复了 .NET 5 及更高版本中带 PSZ 参数的 _DLL FUNCTION 相关问题(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2097" target="_blank">#2097</link>)</li>
<li styleclass="List1">修复了在 X# 源文件中包含 C# 文件时出现的两个问题(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2151" target="_blank">#2151</link> 和 <link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2153" target="_blank">#2153</link>)</li>
<li styleclass="List1">修复了将 lambda 表达式赋值给声明为 USUAL 或 OBJECT 的变量时的问题。没有实际目标类型的 lambda 现在会先转换为其自然委托类型(Func&lt;...&gt; 或 Action&lt;...&gt;),然后再将该委托转换为目标类型</li>
<li styleclass="List1">修复了使用 /vo4 编译时由于 SuppressVo4 设置在编译器线程之间共享而导致的随机 XS0266、XS1503 和 XS0121 错误(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2173" target="_blank">#2173</link>)</li>
</list>
<para styleclass="Heading2">构建系统</para>
<list id="3" type="ul" listtype="bullet" formatstring="&#183;" format-charset="SYMBOL_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="List1" style="font-family:Symbol; font-size:11pt; color:#000000;">
Expand All @@ -45,6 +47,7 @@
<li styleclass="List1">输出文件夹现已从默认通配符中排除</li>
<li styleclass="List1">防止 Windows 平台对 SDK 项目进行自动设置</li>
<li styleclass="List1">现已包含一个包含 XAML 文件的“Rules”文件夹,以支持 SDK 风格项目中基于规则的新属性对话框</li>
<li styleclass="List1">不再在 Visual Studio 内部启动共享编译器,因此 XsCompiler.exe 不会被 IDE 锁定</li>
</list>
<para styleclass="Heading2">运行时</para>
<para styleclass="Heading3">新功能</para>
Expand All @@ -56,6 +59,7 @@
<li styleclass="List1">为 COUNT、REPLACE、DELETE、RECALL、SUM 和 AVERAGE 添加了 _TALLY 支持(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2062" target="_blank">#2062</link>、<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2074" target="_blank">#2074</link>)</li>
<li styleclass="List1">通过 CLOSE DATABASES/CLOSE TABLES 以及 ADD TABLE、REMOVE TABLE 和 RENAME TABLE 等 DBC 命令扩展了对 VFP 数据库的支持,并支持长 DBC 字段名</li>
<li styleclass="List1">扩展了 XSharp.VFP.UI,支持 ON KEY LABEL、FormSet 构造函数、额外的控件属性、动态颜色,以及更广泛的网格(Grid)和菜单(Menu)支持</li>
<li styleclass="List1">实现了 VFP 函数 CNTBAR() 和 CNTPAD()(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2172" target="_blank">#2172</link>)</li>
</list>
<para styleclass="Heading3">错误修复</para>
<list id="5" type="ul" listtype="bullet" formatstring="&#183;" format-charset="SYMBOL_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="List1" style="font-family:Symbol; font-size:11pt; color:#000000;">
Expand All @@ -79,6 +83,10 @@
<li styleclass="List1">VFP 方言中的 SET EXACT ON 现在会忽略尾随空格(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2160" target="_blank">#2160)</link></li>
<li styleclass="List1">VFP 方言中的 CURDIR() 函数返回的目录格式与 VFP 一致 (<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2160" target="_blank">#2160)</link></li>
<li styleclass="List1">修复了针对不存在的文件的 STRTOFILE() 附加子句(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2160" target="_blank">#2160)</link></li>
<li styleclass="List1">不带 WHERE 子句的 DELETE FROM 现在会删除所有记录(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2167" target="_blank">#2167</link>)</li>
<li styleclass="List1">XSharp.VFP.UI 中的 CursorAdapter.DataSource 现在接受非字符串值(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2169" target="_blank">#2169</link>)</li>
<li styleclass="List1">带 IN 子句的 DELETE 和 RECALL 现在可以按任意顺序接受各子句(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2174" target="_blank">#2174</link>)</li>
<li styleclass="List1">带 ADDITIVE 子句的 SET PATH TO 现在会将文件夹添加到现有路径中(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2175" target="_blank">#2175</link>)</li>
</list>
<para styleclass="Heading2">Visual Studio 集成</para>
<para styleclass="Heading3">新功能</para>
Expand All @@ -100,6 +108,10 @@
<li styleclass="List1">新增对<text style="font-weight:bold;">重命名类型</text>和成员的支持(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2154" target="_blank">#2154</link>)</li>
<li styleclass="List1">新增对类型和成员的<text style="font-weight:bold;">转到(Ctrl-T)</text>功能的支持(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2155" target="_blank">#2155</link>)(仅限 VS2022 及更高版本)</li>
<li styleclass="List1">新增对<text style="font-weight:bold;">类型</text>和成员的<text style="font-weight:bold;">转到实现功能</text>的支持(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2156" target="_blank">#2156</link>)</li>
<li styleclass="List1">新增<text style="font-weight:bold;">内联提示(Inlay hints)</text>,显示参数名称和 VAR 类型(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2164" target="_blank">#2164</link>)</li>
<li styleclass="List1">新增<text style="font-weight:bold;">快速操作(Quick actions)</text>:添加 USING 语句、生成方法、生成重写以及将字段转换为属性(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2166" target="_blank">#2166</link>)</li>
<li styleclass="List1"><text style="font-weight:bold;">转到定义</text>现在也适用于解决方案中 C# 和 VB 项目里的类型和成员,F12 会选择正确的重载(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2170" target="_blank">#2170</link>)</li>
<li styleclass="List1">代码搜索窗口(Ctrl-T)现在会显示 X# 结果的预览,并且预览不再抢占焦点(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2171" target="_blank">#2171</link>)</li>
</list>
</list>
<para styleclass="Heading3">错误修复</para>
Expand All @@ -124,6 +136,13 @@
</list>
<list id="13" type="ul" listtype="bullet" formatstring="&#183;" format-charset="SYMBOL_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="List1" style="font-family:Symbol; font-size:11pt; color:#000000;">
<li styleclass="List1">修复了其他项目中部分类的“转到定义”功能存在的问题(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/issues/2110" target="_blank">#2110</link>)</li>
<li styleclass="List1">修复了合并“查找所有引用”和“转到实现”之后“查找引用”的目标选择问题(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2161" target="_blank">#2161</link>)</li>
<li styleclass="List1">“重命名”对话框现在使用 XAML 实现,在项目树中重命名文件不再引发异常(<link displaytype="text" defaultstyle="true" type="weblink" href="https://github.com/X-Sharp/XSharpPublic/pull/2163" target="_blank">#2163</link>)</li>
<li styleclass="List1">修复了 WinForms 设计器影子项目的问题:窗体事件现在会从 C# 迁移到 X#,清理了对影子设计器项目的过期引用,并且在调试开始前会将 C# 窗体保存为 X#</li>
<li styleclass="List1">SDK 风格项目现在也会将对其他语言项目的引用添加到代码模型中</li>
<li styleclass="List1">错误波浪线现在与错误位置处标记(token)的长度一致</li>
<li styleclass="List1">修复了不完整的 VAR 语句引发的异常</li>
<li styleclass="List1">IDE 不再使用 EnvDTE 来查找启动项目</li>
</list>
<para styleclass="Heading2">VFPExporter</para>
<para styleclass="Heading3">新功能</para>
Expand Down
Loading