-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rearrange the controls after inserting them. (#1604)
* Issue 1508 Extension of the VOWindowCloneSelectDlg with: - Selection of a directory - Search in the loaded list The additions to the project structure made by Chris are also included. * Issue 1508 added the filter for the currently edited file and the start directory for the FolderBrowser dialog. * Enabled /EnforceSelf on our projects * Changed our source files so they compile with /enforceself. Also changed the templates for forms etc for this. * Changed compiler to only apply /enforceself to method calls * Recompile with /enforceSelf * Buiold 2.21.0.1: Rolled bacl change for #1503. * Correction WarningDialog box : RTF source was shown instead of message * Correction to avoid compiler warnings * Correction #1588 : Show Warning message instead of RTF Content * [Compiler tests] Adjusted tests to use /allowdot both enabled and disabled for #1515 * [VsIntegration] Do not resolve Stranger Projects using ENVDTE but use the Community Toolkit instead to prevent locking issues * ControlOrder Conversion of the ControlOrder window from a modal dialog to a normal window. PropGrid If you select several controls in the Designer, the values in the properties window remain with the first selected control; now the properties of the last selected control are always displayed. VoWindowEditor Conversion of the VOControlCreationOrderDlg window from a modal dialog to a normal window. Hiding the toolbox and the properties window only when the designer cannot take focus and not as before when the designer loses focus. If controls are inserted via copy and paste, they are no longer added somewhere in the ControlOrder but at the end.Issue 1508 added the filter for the currently edited file and the start directory for the FolderBrowser dialog. * [Vsinrtegration] Additional changes to reload external DLL when changed * [Macrocompiler] Allow 'AS Type' clause for Runtime Macro (type is ignored for now) * [XSharp.VFP.UI] Function Sys(16) correction #1592 * Moved test to right function * The properties window and the tool window remain visible as long as the designer interface can maintain the focus. * [VsIntegration] Added some checks for SnapShotPoints for End of Buffer and Start of Buffer , to prevent incrementing or decrementing outside of the valid range. To simplify the code two extension methods for SnapShotPoint() were added: AtEnd() and AtStart() Also renamed 'currentChar' to 'point' at several locations, because that's the type of the variable. * Updated versions to 2.21.0.2 (should have been committed before previous commit) * [Compiler] When the AnalyzerConfig option is passed to the compiler, then we need to add a new entry to the sourceFileAnalyzerConfigOptions object for the generated code. Otherwise the size of trees and the config options is different. * [Build] Fix generation of Xml file in wrong folder. Add default items for X# (Vobinary and NativeResource) * Added some DefaultValue to avoid WinForm designer to generate unwanted code * Added some DefaultValue to avoid WinForm designer to generate unwanted code * Suppress the direct load of Serilog Nuget package to avoid conflict with VS2022 integration * Correction on default Value for vfpEvents * [Vsintegration] When include file contains "real code" then we should not fetch the start token from the include file. Fixes #1596 and #1595 * Refactored previous commit: remove duplicate code * [Doc] Update * Rearrange the controls after inserting them. --------- Co-authored-by: Robert van der Hulst <[email protected]> Co-authored-by: Fabrice Foray <[email protected]> Co-authored-by: cpyrgas <[email protected]>
- Loading branch information
1 parent
5138852
commit 87d0cdc
Showing
182 changed files
with
2,835 additions
and
2,198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
XSharp Compiler Tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,10 @@ | ||
// Class1.prg | ||
// Created by : robert | ||
// Creation Date : 9/23/2024 9:33:04 AM | ||
// Created for : | ||
// WorkStation : LEDA | ||
|
||
|
||
USING System | ||
USING System.Collections.Generic | ||
USING System.Linq | ||
USING System.Text | ||
|
||
BEGIN NAMESPACE ClassLibrary1 | ||
|
||
/// <summary> | ||
/// The Class1 class. | ||
/// </summary> | ||
[ComVisible(TRUE)]; | ||
DEFINE CLASS Class1 AS Custom | ||
PROTECTED prop1 AS STRING // X# allows types | ||
HIDDEN hiddenprop1 AS DATE | ||
// CONSTRUCTOR | ||
PROCEDURE Init(p1, p2) | ||
prop1 := p1 | ||
hiddenprop1 := p2 | ||
RETURN | ||
|
||
|
||
FUNCTION Compare (p1 as STRING, p2 as DATE) AS LOGIC | ||
? p1, p2 | ||
RETURN p1 == prop1 AND p2 == hiddenprop1 | ||
|
||
END DEFINE | ||
END NAMESPACE // ClassLibrary1 | ||
|
||
// Core dialect | ||
PUBLIC STRUCTURE MyStruct | ||
EXPORT n AS INT | ||
EXPORT c AS STRING | ||
END STRUCTURE | ||
|
||
FUNCTION Start() AS VOID | ||
? SizeOf(System.Drawing.Point) // OK | ||
? SizeOf(MyStruct) // error XS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type ('MyStruct') | ||
RETURN |
Oops, something went wrong.