Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge back from main #1690

Merged
merged 3 commits into from
Feb 14, 2025
Merged

Merge back from main #1690

merged 3 commits into from
Feb 14, 2025

Conversation

RobertvanderHulst
Copy link
Member

No description provided.

RobertvanderHulst and others added 3 commits January 29, 2025 15:57
* SqlRdd updates

* [Compiler] Simplified Keyword Rule (no need for separate rules for Base, Xpp, Fox). These is now a single rule for "soft" keywords.
Added ThisForm keyword for FoxPro.  The detection and translation is done in the TransformationFox. The implementation of the FindForm() call is inside the code that also handles Clipper arguments and PSZs inside TransformationRT.
See https://www.xsharp.eu/forum/topic/5213

* [Tests] Adjust tests to work with X# 3:
- Added method FindForm() for code that uses ThisForm
- Cannot use .cs extension for source file
- Disable an extra warning
-

* [Compiler tests] Added C934 for #1673

* [Compiler tests] Added C935 for #1677

* [XGui] Suppress wndproc because current code disables mouse move messages on fixed text controls

* [Compiler] Fix for C935 and #1677 . The hascode is now calculated for the full filename including the path. Previously the hashcode was for the path only.

---------

Co-authored-by: cpyrgas <[email protected]>
* SqlRdd updates

* [Compiler] Simplified Keyword Rule (no need for separate rules for Base, Xpp, Fox). These is now a single rule for "soft" keywords.
Added ThisForm keyword for FoxPro.  The detection and translation is done in the TransformationFox. The implementation of the FindForm() call is inside the code that also handles Clipper arguments and PSZs inside TransformationRT.
See https://www.xsharp.eu/forum/topic/5213

* [Tests] Adjust tests to work with X# 3:
- Added method FindForm() for code that uses ThisForm
- Cannot use .cs extension for source file
- Disable an extra warning
-

* [Compiler tests] Added C934 for #1673

* [Compiler tests] Added C935 for #1677

* [XGui] Suppress wndproc because current code disables mouse move messages on fixed text controls

* [Compiler] Fix for C935 and #1677 . The hascode is now calculated for the full filename including the path. Previously the hashcode was for the path only.

* [Runtime] Added 2 functions (ASortFunc and ASortEx) to handle comparisons with duplicates better.

* Fix for #1685 . Allow * comment lines to continue to the next line when the last non whitespace character is a semicolon.

* [Runtime] Some changes to Asort() to handle duplicate elements, especially for multi dimensional arrays

* Fix for #1686 . Added Delegate in the RuntimeState that gets called when an error occurs in the MacroCompiler. You can return a compile time codeblock, or a runtime codeblock created with MCompile().

* [Runtime] Improve performance of the __IsFoxArray property in the Array class, by making it virtual and overriding it in XSharp.VFP.

---------

Co-authored-by: cpyrgas <[email protected]>
* SqlRdd updates

* [Compiler] Simplified Keyword Rule (no need for separate rules for Base, Xpp, Fox). These is now a single rule for "soft" keywords.
Added ThisForm keyword for FoxPro.  The detection and translation is done in the TransformationFox. The implementation of the FindForm() call is inside the code that also handles Clipper arguments and PSZs inside TransformationRT.
See https://www.xsharp.eu/forum/topic/5213

* [Tests] Adjust tests to work with X# 3:
- Added method FindForm() for code that uses ThisForm
- Cannot use .cs extension for source file
- Disable an extra warning
-

* [Compiler tests] Added C934 for #1673

* [Compiler tests] Added C935 for #1677

* [XGui] Suppress wndproc because current code disables mouse move messages on fixed text controls

* [Compiler] Fix for C935 and #1677 . The hascode is now calculated for the full filename including the path. Previously the hashcode was for the path only.

* [Runtime] Added 2 functions (ASortFunc and ASortEx) to handle comparisons with duplicates better.

* Fix for #1685 . Allow * comment lines to continue to the next line when the last non whitespace character is a semicolon.

* [Runtime] Some changes to Asort() to handle duplicate elements, especially for multi dimensional arrays

* Fix for #1686 . Added Delegate in the RuntimeState that gets called when an error occurs in the MacroCompiler. You can return a compile time codeblock, or a runtime codeblock created with MCompile().

* [Runtime] Improve performance of the __IsFoxArray property in the Array class, by making it virtual and overriding it in XSharp.VFP.

* [Vsintegration] Do not mark region as shown in #1667

* [COdemodel] Fix error in Interpolated Strings

* [Documentation] Adjusted short description for several entity type items. Also adjusted some body information. See #1655

* [Runtime] fix for #1676, Integer() function with SetFloatDelta()

* [Vsintegration] Implement ToggleLineComment and ToggleBlockComment and also allow box selection

* [Runtime] Small optimization: suppress creation of Float when all we want is the Real8 value inside it. Optimization for #1676

* [Runtime] Fix conversion error for latebound call with default parameters (#1684)

* [Tests] Updated tests to add some Settings tests

---------

Co-authored-by: cpyrgas <[email protected]>
@RobertvanderHulst RobertvanderHulst merged commit df7d8b9 into dev Feb 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant