Implement XMLTOCURSOR() - #2070
Conversation
|
A small styling comment: I personally do not like the long list of functions that start with __FoxXml. |
|
Robert, my fault. I remember you told me this before. I'll create a note in my desktop to memorize it because I do use this convention in daily work. I'll do the refactor ASAP. |
…2072) * [Compiler tests] - Adjusted NetCore runtime folder in automated tests runner. Also temporarily disabled C548 from running, to check if this is the culprit in making other tests fail later * [Compiler tests]- Indeed C548 was one of the culprits, moved it last in the order of runtime tests. Also updated several XSharp runtime dlls for the tests, hopefully this will take care of the remaining problems in running the tests * [Compiler tests] All automated tests should be now passing both compiling and runtime tests * Fix SYSMETRIC() by going through GetSystemMetrics() (#2065) * [VsIntegration] Fix reference resolution: marshal AddPendingReferences onto the UI thread (#2066) * Add tests for numeric properties in DEFINE CLASS (#2067) * Add tests for numeric properties in DEFINE CLASS * Change to usual for late binding * [VSIntegration] Add WinForms Designer shadow-file bridge for SDK-style projects Redirects "View Designer" on a SDK-style .prg to an auto-generated companion C# project instead of the unsupported out-of-process Designer path, since it has no extensibility point for third-party languages. Includes commands to sync Designer-added event handlers and general property/control changes back into the real X# source. * [VSIntegration] Update comments and Docs * [VSIntegration] Fix ViewForm routing, auto-detect HasDesigner and its icon * [VSIntegration] Add auto-sync-on-save, cleanup-on-close, fix reference throttle race. * Logging Exception with stacktrace and as arror (#2071) * [VSIntegration] Nest the shadow companion project in a Solution Folder instead of adding it at the same level as the X# project * Implement XMLTOCURSOR() (#2070) * Implement XMLTOCURSOR() * Move the internal functions into an internal class * [VSIntegration] Fix event-handler caret positioning. Fix old ShadowDesigner references that may persist. Moved all Diagnostics to X# Logging system. * Prevent double licking on designer.prg from opening the form designer * Generate comments in InitializeComponent * [CodedomProvider] Fix handling of System.Single types * Fix namespaces which are different between .net framework and .net 8 --------- Co-authored-by: cpyrgas <[email protected]> Co-authored-by: Irwin <[email protected]> Co-authored-by: Fabrice Foray <[email protected]> Co-authored-by: Robert van der Hulst <[email protected]>
Implements
XMLTOCURSOR().The data is always read with
XmlReadMode.InferSchemawhich hands every column over as a string and the inline XSD is read separately with XPath.