You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(174) |
Nov
(85) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(56) |
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
(1) |
Jul
(132) |
Aug
(5) |
Sep
|
Oct
(314) |
Nov
(133) |
Dec
(18) |
2006 |
Jan
(6) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Oleg T. <he...@us...> - 2005-01-15 14:41:54
|
Update of /cvsroot/mvp-xml/WebSite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29210 Modified Files: index.html Log Message: Small editorial changes, Serialization stuff. Index: index.html =================================================================== RCS file: /cvsroot/mvp-xml/WebSite/index.html,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- index.html 9 Nov 2004 12:23:11 -0000 1.8 +++ index.html 15 Jan 2005 14:41:42 -0000 1.9 @@ -66,8 +66,9 @@ <li>This online documentation.</li> <li>Mailing list: <a href="https://lists.sourceforge.net/mailman/listinfo/mvp-xml-help">mvp-xml-help</a> -(General discussion list for Mvp.Xml users), <a - href="http://sourceforge.net/mailarchive/forum.php?forum=mvp-xml-help">(archive)</a>.</li> +(general discussion list for Mvp.Xml users), <a + href="http://sourceforge.net/mailarchive/forum.php?forum=mvp-xml-help">(online +archive)</a>.</li> <li>Tracker: <a href="http://sourceforge.net/tracker/?group_id=102352&atid=633328">Bugs</a>.</li> <li>Tracker: <a @@ -81,10 +82,11 @@ <h2><a class="mozTocH2" name="mozTocId610253"></a>4. Downloads</h2> Go to the <a href="http://sourceforge.net/project/showfiles.php?group_id=102352">Downloads</a> -page. You can download Mvp.Xml release as a whole (all modules in one +page. You can download Mvp.Xml library release as a whole (all modules +in one archive) or releases for separate modules.<br> <h2><a class="mozTocH2" name="mozTocId620586"></a>5. License</h2> -The Mvp.Xml project is subject to the <a href="license.html">Common +The Mvp.Xml library is a subject to the <a href="license.html">Common Public License</a> - <a href="http://www.opensource.org/licenses/index.php">OSI approved</a> free open-source license.<br> |
From: Oleg T. <he...@us...> - 2005-01-15 14:41:53
|
Update of /cvsroot/mvp-xml/WebSite/xinclude In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29210/xinclude Modified Files: index.html Log Message: Small editorial changes, Serialization stuff. Index: index.html =================================================================== RCS file: /cvsroot/mvp-xml/WebSite/xinclude/index.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- index.html 3 Jan 2005 18:34:39 -0000 1.4 +++ index.html 15 Jan 2005 14:41:43 -0000 1.5 @@ -47,7 +47,8 @@ <li><a href="#mozTocId594662">Feedback</a></li> </ol> <h2><a class="mozTocH2" name="mozTocId537061"></a>1. Requirements</h2> -<p>XInclude.NET is .NET Framework application and requires <a +<p>XInclude.NET module as well as a whole Mvp.Xml library is .NET +Framework application and requires <a href="http://msdn.microsoft.com/netframework/" target="_top"> .NET Framework</a> version 1.0 or 1.1 to be installed.<br> </p> @@ -56,19 +57,21 @@ href="http://sourceforge.net/project/showfiles.php?group_id=102352">Downloads</a> page. You can download XInclude.NET module separately (with no dependencies on other modules) or as part of the Mvp.Xml library -release (all modules in one).<br> +release (all modules in one dll).<br> <h2><a class="mozTocH2" name="mozTocId593736"></a>3. Installation and Documentation</h2> <p>Find precompiled <font style="font-family: monospace;" - face="Courier New">Mvp.Xml.XInclude.dll</font> library in the "<font + face="Courier New">Mvp.Xml.XInclude.dll</font> (or <span + style="font-family: monospace;">Mvp.Xml.dll</span> if you've +downloaded full Mvp.Xml library) library in the "<font style="font-family: monospace;" face="Courier New">bin</font>" directiory. The "<font style="font-family: monospace;" face="Courier New">src</font>" directory contains XInclude.NET sources -in Visual Studio <br> -.NET 2003 solution form. The API documentation can be found in the "<span - style="font-family: monospace;">doc</span>" directory (<a - href="../api/">online version</a>). Test cases can be found in the "<span - style="font-family: monospace;">test</span>" directory.<br> +in Visual Studio .NET 2003 solution form. The API documentation can be +found in the "<span style="font-family: monospace;">doc</span>" +directory (<a href="../api/">online version</a>). Test cases can be +found in the "<span style="font-family: monospace;">test</span>" +directory.<br> In addition to the <a href="../api/">API documentation</a>, refer to the "<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/xinclude.asp">Combining @@ -96,8 +99,7 @@ <li>The new home - <a href="http://mvp-xml.sf.net/">Mvp.Xml project</a> and so the new namespace - <a href="../api/Mvp.Xml.XInclude.html"><span style="font-family: monospace;">Mvp.Xml.XInclude</span></a> instead of - <span style="font-family: monospace;">GotDotNet.XInclude</span>.<br> - </li> + <span style="font-family: monospace;">GotDotNet.XInclude</span>.</li> <li>Upgraded to support the new XInclude final Recommendation syntax and semantics.</li> @@ -229,17 +231,18 @@ </h2> <ol> <li><span style="font-family: monospace;">XIncludingReader</span> -class only implenments the <a +class implements the <a href="http://www.w3.org/TR/xinclude/#include-location">streamable subset</a> of XInclude - intra-document references are not supported. That means <span - style="font-family: monospace;">XIncludingReader</span> treats absence + style="font-family: monospace;">XIncludingReader</span> treats an +absence of an "<span style="font-family: monospace;">href</span>" attribute on -an <span style="font-family: monospace;">xi:include</span> element as <a - href="http://www.w3.org/TR/xinclude/#dt-resource-error">XInclude +an <span style="font-family: monospace;">xi:include</span> element as +an <a href="http://www.w3.org/TR/xinclude/#dt-resource-error">XInclude resource error</a>.<br> </li> - <li>Syntactically incorrect URI references are treated as <a + <li>Syntactically incorrect URI references are treated as an <a href="http://www.w3.org/TR/xinclude/#dt-resource-error">XInclude resource error</a>.</li> @@ -267,11 +270,12 @@ </p> <h2><a class="mozTocH2" name="mozTocId594662"></a>11. Feedback</h2> <p>We appreciate any kind of feedback, feel free to post any questions -or comments about XInclude.NET and Mvp.Xml project in general in +or comments about XInclude.NET module and Mvp.Xml project in general in the <a href="https://lists.sourceforge.net/mailman/listinfo/mvp-xml-help">mvp-xml-help</a> mailing list <a - href="http://sourceforge.net/mailarchive/forum.php?forum=mvp-xml-help">(archive)</a>. + href="http://sourceforge.net/mailarchive/forum.php?forum=mvp-xml-help">(online +archive)</a>. </p> <hr style="width: 100%; height: 2px;"> <p> The project is hosted at <a target="_blank" |
From: Oleg T. <he...@us...> - 2005-01-15 14:41:53
|
Update of /cvsroot/mvp-xml/WebSite/xpointer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29210/xpointer Modified Files: index.html Log Message: Small editorial changes, Serialization stuff. Index: index.html =================================================================== RCS file: /cvsroot/mvp-xml/WebSite/xpointer/index.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- index.html 9 Nov 2004 12:23:12 -0000 1.3 +++ index.html 15 Jan 2005 14:41:43 -0000 1.4 @@ -22,9 +22,10 @@ module</a>, but it can be used on its own.<br> <h2>Requirements</h2> -<p>XPointer.NET is .NET Framework application and requires <a +<p>XPointer.NET module as well as a whole Mvp.Xml library is .NET +Framework application and requires <a href="http://msdn.microsoft.com/netframework/" target="_top"> .NET -Framework</a> version 1.0 or 1.1 to be installed.<br> +Framework</a> version 1.0 or 1.1 to be installed. </p> <h2>Download</h2> Go to the <a @@ -34,14 +35,16 @@ release (all modules in one). <h2>Installation and Documentation</h2> <p>Find precompiled <font style="font-family: monospace;" - face="Courier New">Mvp.Xml.XPointer.dll</font> library in the "<font + face="Courier New">Mvp.Xml.XPointer.dll</font> (or <span + style="font-family: monospace;">Mvp.Xml.dll</span> if you've +downloaded full Mvp.Xml library) library in the "<font style="font-family: monospace;" face="Courier New">bin</font>" directiory. The "<font style="font-family: monospace;" face="Courier New">src</font>" directory contains XPointer.NET sources -in Visual Studio <br> -.NET 2003 solution form. The API documentation can be found in the "<span - style="font-family: monospace;">doc</span>" directory (<a - href="../api/">online version</a>). Samples and test cases can be +in Visual Studio .NET 2003 solution form. The API documentation can be +found in the "<span style="font-family: monospace;">doc</span>" +directory (<a href="../api/">online version</a>). Samples and test +cases can be found in the "<span style="font-family: monospace;">test</span>" directory.<br> In addition to the API documentation, refer to the "<a @@ -66,8 +69,7 @@ Done since 1.2 release:<br> <ul> <li>The new home - <a href="http://mvp-xml.sf.net/">Mvp.Xml project</a> -and so the new namespace - - <a +and so the new namespace - <a href="file:///D:/projects/Mvp.Xml/WebSite/api/Mvp.Xml.XPointer.html">Mvp.Xml.XPointer</a> instead of GotDotNet.XPointer.</li> <li>Performance improvements - documents processed are @@ -75,7 +77,7 @@ cached via the <a href="../api/Mvp.Xml.Common.XPath.XPathCache.html">Mvp.Xml.Common.XPath.XPathCache</a> class.<br> </li> - <></> <li>Memory footprint is minimized.</li> + <li>Memory footprint is minimized.</li> <li>XPointer Framework syntax erorrs are now throw exceptions.<br> </li> </ul> @@ -211,7 +213,8 @@ the <a href="https://lists.sourceforge.net/mailman/listinfo/mvp-xml-help">mvp-xml-help</a> mailing list <a - href="http://sourceforge.net/mailarchive/forum.php?forum=mvp-xml-help">(archive)</a>.<br> + href="http://sourceforge.net/mailarchive/forum.php?forum=mvp-xml-help">(online +archive)</a>.<br> </p> <hr style="width: 100%; height: 2px;"> <p> The project is hosted at <a target="_blank" |
From: Daniel C. \(kzu\) <dca...@us...> - 2005-01-09 20:23:55
|
Update of /cvsroot/mvp-xml/Design/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31110/v1/src Modified Files: changelog.txt Log Message: Updated changelog. Index: changelog.txt =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/changelog.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- changelog.txt 1 Jan 2005 22:40:33 -0000 1.3 +++ changelog.txt 9 Jan 2005 20:23:45 -0000 1.4 @@ -1,3 +1,8 @@ +January 09, 2005 + +Added class picker to XGen tool, so that multiple target classes can be selected on a single file to be generated. + +--------------------------------------------------------- December 30, 2004 Added XmlValidate custom tool, that allows validation of the file against multiple schemas if necessary. |
From: Daniel C. \(kzu\) <dca...@us...> - 2005-01-09 20:20:27
|
Update of /cvsroot/mvp-xml/Design/v1/src/CustomTools/XsdInfer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30050/v1/src/CustomTools/XsdInfer Modified Files: XsdInfer.cs Log Message: Enabled the Mvp.Xml.XsdInfer custom tool to infer a schema automatically from a class model. Updated the XGen custom tool so that it shows a class picker when multiple classes exist in a file, to determine the roots of deserialization processors. Updated description of the XmlValidate description. Index: XsdInfer.cs =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/CustomTools/XsdInfer/XsdInfer.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- XsdInfer.cs 21 Oct 2004 20:42:06 -0000 1.1 +++ XsdInfer.cs 9 Jan 2005 20:20:15 -0000 1.2 @@ -27,8 +27,8 @@ /// <summary> /// Processes XSD files and generates the corresponding classes. /// </summary> - [Guid("37882B13-FBC3-46ef-90B2-249504DC6925")] - [CustomTool("XsdInference", "Microsoft IPE XSD Inference", false)] + [Guid("43D2EC8B-2139-4dd1-A172-F0F3E363E35A")] + [CustomTool("Mvp.Xml.XsdInfer", "Mvp.Xml Project XSD Inference", false)] [ComVisible(true)] [VersionSupport("7.1")] [VersionSupport("7.0")] |
From: Daniel C. \(kzu\) <dca...@us...> - 2005-01-09 20:20:27
|
Update of /cvsroot/mvp-xml/Design/v1/src/CustomTools/XGen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30050/v1/src/CustomTools/XGen Modified Files: ClassPicker.cs ClassPicker.resx XGenTool.cs Log Message: Enabled the Mvp.Xml.XsdInfer custom tool to infer a schema automatically from a class model. Updated the XGen custom tool so that it shows a class picker when multiple classes exist in a file, to determine the roots of deserialization processors. Updated description of the XmlValidate description. Index: ClassPicker.cs =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/CustomTools/XGen/ClassPicker.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ClassPicker.cs 21 Oct 2004 20:42:06 -0000 1.1 +++ ClassPicker.cs 9 Jan 2005 20:20:14 -0000 1.2 @@ -3,18 +3,22 @@ using System.Collections; using System.ComponentModel; using System.Windows.Forms; +using System.Text; + +using EnvDTE; namespace Mvp.Xml.Design.CustomTools.XGen { - /// <summary> - /// Summary description for ClassPicker. - /// </summary> - public class ClassPicker : System.Windows.Forms.Form + internal class ClassPicker : System.Windows.Forms.Form { + #region Designer Stuff private System.Windows.Forms.Label label1; private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.Button btnAccept; - private System.Windows.Forms.CheckedListBox lstClasses; + private Mvp.Xml.Design.ListViewEx lstClasses; + private System.Windows.Forms.TextBox txtEditor; + private System.Windows.Forms.ColumnHeader colClass; + private System.Windows.Forms.ColumnHeader colTargetNs; /// <summary> /// Required designer variable. /// </summary> @@ -54,19 +58,15 @@ /// </summary> private void InitializeComponent() { - this.lstClasses = new System.Windows.Forms.CheckedListBox(); this.label1 = new System.Windows.Forms.Label(); this.btnCancel = new System.Windows.Forms.Button(); this.btnAccept = new System.Windows.Forms.Button(); + this.lstClasses = new Mvp.Xml.Design.ListViewEx(); + this.colClass = new System.Windows.Forms.ColumnHeader(); + this.colTargetNs = new System.Windows.Forms.ColumnHeader(); + this.txtEditor = new System.Windows.Forms.TextBox(); this.SuspendLayout(); // - // lstClasses - // - this.lstClasses.Location = new System.Drawing.Point(8, 56); - this.lstClasses.Name = "lstClasses"; - this.lstClasses.Size = new System.Drawing.Size(384, 214); - this.lstClasses.TabIndex = 0; - // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) @@ -74,7 +74,7 @@ | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(384, 48); + this.label1.Size = new System.Drawing.Size(624, 48); this.label1.TabIndex = 1; this.label1.Text = "Select the classes you will use as the root of a deserialization process. A custo" + "m XmlSerializer and supporting classes will be generated for each of the selecte" + @@ -83,7 +83,8 @@ // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnCancel.Location = new System.Drawing.Point(316, 280); + this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnCancel.Location = new System.Drawing.Point(556, 280); this.btnCancel.Name = "btnCancel"; this.btnCancel.TabIndex = 2; this.btnCancel.Text = "&Cancel"; @@ -91,19 +92,61 @@ // btnAccept // this.btnAccept.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnAccept.Location = new System.Drawing.Point(236, 280); + this.btnAccept.DialogResult = System.Windows.Forms.DialogResult.OK; + this.btnAccept.Location = new System.Drawing.Point(476, 280); this.btnAccept.Name = "btnAccept"; this.btnAccept.TabIndex = 3; this.btnAccept.Text = "&Accept"; // + // lstClasses + // + this.lstClasses.AllowColumnReorder = true; + this.lstClasses.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.lstClasses.CheckBoxes = true; + this.lstClasses.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.colClass, + this.colTargetNs}); + this.lstClasses.DoubleClickActivation = false; + this.lstClasses.FullRowSelect = true; + this.lstClasses.Location = new System.Drawing.Point(8, 56); + this.lstClasses.Name = "lstClasses"; + this.lstClasses.Size = new System.Drawing.Size(624, 216); + this.lstClasses.Sorting = System.Windows.Forms.SortOrder.Ascending; + this.lstClasses.TabIndex = 0; + this.lstClasses.View = System.Windows.Forms.View.Details; + this.lstClasses.SubItemClicked += new Mvp.Xml.Design.SubItemEventHandler(this.lstClasses_SubItemClicked); + // + // colClass + // + this.colClass.Text = "Class"; + this.colClass.Width = 344; + // + // colTargetNs + // + this.colTargetNs.Text = "Target Namespace"; + this.colTargetNs.Width = 273; + // + // txtEditor + // + this.txtEditor.Location = new System.Drawing.Point(12, 280); + this.txtEditor.Name = "txtEditor"; + this.txtEditor.TabIndex = 4; + this.txtEditor.Text = ""; + this.txtEditor.Visible = false; + // // ClassPicker // + this.AcceptButton = this.btnAccept; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); - this.ClientSize = new System.Drawing.Size(400, 309); + this.CancelButton = this.btnCancel; + this.ClientSize = new System.Drawing.Size(640, 309); + this.Controls.Add(this.txtEditor); + this.Controls.Add(this.lstClasses); this.Controls.Add(this.btnAccept); this.Controls.Add(this.btnCancel); this.Controls.Add(this.label1); - this.Controls.Add(this.lstClasses); this.Name = "ClassPicker"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = " Class Picker"; @@ -111,5 +154,133 @@ } #endregion + + #endregion Designer Stuff + + string defaultNs; + + public ClassPicker(CodeElements elements, string defaultNs, SelectionCollection selections) + { + InitializeComponent(); + // Add all classes. + this.defaultNs = defaultNs; + IterateElements(elements); + if (lstClasses.Items.Count == 1) + { + lstClasses.Items[0].Checked = true; + } + + if (selections != null) + { + foreach (Selection sel in selections) + { + foreach (ListViewItem item in lstClasses.Items) + { + if (item.Text == sel.ClassName) + { + item.Checked = true; + item.SubItems.Clear(); + item.SubItems.Add(sel.TargetNamespace); + } + } + } + } + } + + private void IterateElements(CodeElements elements) + { + foreach (CodeElement element in elements) + { + if (element is CodeNamespace) + { + IterateElements(((CodeNamespace)element).Members); + } + else if (element is CodeClass) + { + lstClasses.Items.Add(new ListViewItem( + new string[] { ((CodeClass)element).FullName, this.defaultNs })); + } + } + } + + public SelectionCollection Selections + { + get + { + SelectionCollection col = new SelectionCollection(); + foreach (ListViewItem item in lstClasses.Items) + { + if (item.Checked) + { + col.Add(new Selection(item.Text, item.SubItems[1].Text)); + } + } + return col; + } + } + + private void lstClasses_SubItemClicked(object sender, Mvp.Xml.Design.SubItemEventArgs e) + { + if (e.SubItem != 0) + { + lstClasses.StartEditing(txtEditor, e.Item, e.SubItem); + } + } + } + + internal class SelectionCollection : CollectionBase + { + public static SelectionCollection FromString(string serializedData) + { + string[] items = serializedData.Split('|'); + SelectionCollection col = new SelectionCollection(); + foreach (string item in items) + { + col.Add(Selection.FromString(item)); + } + return col; + } + public int Add(Selection selection) + { + return base.InnerList.Add(selection); + } + public void Remove(Selection selection) + { + base.InnerList.Remove(selection); + } + public Selection this[int idx] + { + get { return (Selection)base.InnerList[idx]; } + set { base.InnerList[idx] = value; } + } + public override string ToString() + { + string[] items = new string[base.Count]; + for (int i = 0; i < items.Length; i++) + { + items[i] = base.InnerList[i].ToString(); + } + return String.Join("|", items); + } + } + + internal class Selection + { + public static Selection FromString(string serializedData) + { + string[] values = serializedData.Split(';'); + return new Selection(values[0], values[1]); + } + public Selection(string className, string targetNs) + { + this.ClassName = className; + this.TargetNamespace = targetNs; + } + public override string ToString() + { + return this.ClassName + ";" + this.TargetNamespace; + } + public string ClassName; + public string TargetNamespace; } } Index: ClassPicker.resx =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/CustomTools/XGen/ClassPicker.resx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ClassPicker.resx 21 Oct 2004 20:42:06 -0000 1.1 +++ ClassPicker.resx 9 Jan 2005 20:20:14 -0000 1.2 @@ -97,15 +97,6 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> - <data name="lstClasses.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>Private</value> - </data> - <data name="lstClasses.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>False</value> - </data> - <data name="lstClasses.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>Private</value> - </data> <data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>False</value> </data> @@ -133,6 +124,36 @@ <data name="btnAccept.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>Private</value> </data> + <data name="lstClasses.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="lstClasses.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="lstClasses.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colClass.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colClass.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colTargetNs.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="colTargetNs.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="txtEditor.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> + <data name="txtEditor.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>False</value> + </data> + <data name="txtEditor.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>Private</value> + </data> <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>False</value> </data> @@ -154,12 +175,12 @@ <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>80</value> </data> - <data name="$this.Name"> - <value>ClassPicker</value> - </data> <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </data> + <data name="$this.Name"> + <value>ClassPicker</value> + </data> <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>Private</value> </data> Index: XGenTool.cs =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/CustomTools/XGen/XGenTool.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- XGenTool.cs 18 Dec 2004 05:11:45 -0000 1.2 +++ XGenTool.cs 9 Jan 2005 20:20:14 -0000 1.3 @@ -27,7 +27,7 @@ /// by the XmlSerializer class. /// </remarks> [Guid("B8F154A6-E234-4c6f-9AD4-675713F4AABD")] - [CustomTool("Mvp.Xml.XGen", "MVP XML XmlSerializer Generation Tool", true)] + [CustomTool("Mvp.Xml.XGen", "Mvp.Xml Project XmlSerializer Generation Tool", true)] [ComVisible(true)] [VersionSupport("7.1")] [CategorySupport(CategorySupportAttribute.CSharpCategory)] @@ -75,77 +75,91 @@ item.DTE.Solution.SolutionBuild.ActiveConfiguration.Name, item.ContainingProject.UniqueName, true); + if (item.FileCodeModel == null || item.FileCodeModel.CodeElements == null) + { + return System.Text.Encoding.ASCII.GetBytes( + SR.XGenTool_NoClassFound); + } + // Copy Design assembly to output for the isolated AppDomain. - string output = item.ContainingProject.ConfigurationManager.ActiveConfiguration.Properties.Item("OutputPath").Value.ToString(); - output = Path.Combine(item.ContainingProject.Properties.Item("FullPath").Value.ToString(), output); + string outputpath = item.ContainingProject.ConfigurationManager.ActiveConfiguration.Properties.Item("OutputPath").Value.ToString(); + outputpath = Path.Combine(item.ContainingProject.Properties.Item("FullPath").Value.ToString(), outputpath); string asmfile = ReflectionHelper.GetAssemblyPath(Assembly.GetExecutingAssembly()); - File.Copy(asmfile, Path.Combine(output, Path.GetFileName(asmfile)), true); + try + { + File.Copy(asmfile, Path.Combine(outputpath, Path.GetFileName(asmfile)), true); + } + catch (Exception ex) + { + // May already exist, be locked, etc. + System.Diagnostics.Debug.WriteLine(ex.ToString()); + } - CodeClass targetclass = null; - foreach (CodeElement element in item.FileCodeModel.CodeElements) + string key = "Mvp.Xml.XGen:" + item.get_FileNames(1); + string serialized = String.Empty; + if (item.ContainingProject.Globals.get_VariableExists(key)) { - if (element is CodeNamespace) - { - foreach (CodeElement codec in ((CodeNamespace)element).Members) - { - if (codec is CodeClass) - { - targetclass = (CodeClass) codec; - break; - } - } - } - else if (element is CodeClass) - { - targetclass = (CodeClass) element; - } - if (targetclass != null) - { - break; - } + serialized = (string)item.ContainingProject.Globals[key]; } - if (targetclass == null) + SelectionCollection selections = null; + + if (serialized.Length > 0) { - return System.Text.Encoding.ASCII.GetBytes( - SR.XGenTool_NoClassFound); + selections = SelectionCollection.FromString(serialized); + } + + ClassPicker picker = new ClassPicker(item.FileCodeModel.CodeElements, base.FileNameSpace, selections); + if (picker.ShowDialog() == System.Windows.Forms.DialogResult.OK) + { + selections = picker.Selections; } - string codefile = Path.GetTempFileName(); - AppDomainSetup setup = new AppDomainSetup(); - setup.ApplicationName = "Mvp.Xml Design Domain"; - setup.ApplicationBase = output; - setup.ConfigurationFile = ConfigFile; - domain = AppDomain.CreateDomain("Mvp.Xml Design Domain", null, setup); - // Runner ctor will dump the output to the file we pass. - domain.CreateInstance( - Assembly.GetExecutingAssembly().FullName, - typeof(XGenRunner).FullName, false, 0, null, - new object[] { - codefile, - targetclass.FullName + ", " + - item.ContainingProject.Properties.Item("AssemblyName").Value.ToString(), - base.FileNameSpace }, - null, null, null); + if (selections == null || selections.Count == 0) + { + return new byte[0]; + } - string code; - using (StreamReader reader = new StreamReader(codefile)) + StringBuilder output = new StringBuilder(); + + foreach (Selection selection in selections) { - code = reader.ReadToEnd(); + string codefile = Path.GetTempFileName(); + AppDomainSetup setup = new AppDomainSetup(); + setup.ApplicationName = "Mvp.Xml Design Domain"; + setup.ApplicationBase = outputpath; + setup.ConfigurationFile = ConfigFile; + domain = AppDomain.CreateDomain("Mvp.Xml Design Domain", null, setup); + try + { + // Runner ctor will dump the output to the file we pass. + domain.CreateInstance( + Assembly.GetExecutingAssembly().FullName, + typeof(XGenRunner).FullName, false, 0, null, + new object[] { + codefile, + selection.ClassName + ", " + + item.ContainingProject.Properties.Item("AssemblyName").Value.ToString(), + selection.TargetNamespace }, + null, null, null); + + using (StreamReader reader = new StreamReader(codefile)) + { + output.Append(reader.ReadToEnd()).Append(Environment.NewLine); + } + } + finally + { + AppDomain.Unload(domain); + } } - return System.Text.Encoding.ASCII.GetBytes(code); + + return System.Text.Encoding.ASCII.GetBytes(output.ToString()); } catch (Exception e) { return System.Text.Encoding.ASCII.GetBytes(SR.CustomTool_GeneralError(e)); } - finally - { - if (domain != null) - { - AppDomain.Unload(domain); - } - } } #endregion GenerateCode |
From: Daniel C. \(kzu\) <dca...@us...> - 2005-01-09 20:20:27
|
Update of /cvsroot/mvp-xml/Design/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30050/v1/src Modified Files: Mvp.Xml.Design.csproj Log Message: Enabled the Mvp.Xml.XsdInfer custom tool to infer a schema automatically from a class model. Updated the XGen custom tool so that it shows a class picker when multiple classes exist in a file, to determine the roots of deserialization processors. Updated description of the XmlValidate description. Index: Mvp.Xml.Design.csproj =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/Mvp.Xml.Design.csproj,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Mvp.Xml.Design.csproj 3 Jan 2005 17:51:36 -0000 1.1 +++ Mvp.Xml.Design.csproj 9 Jan 2005 20:20:15 -0000 1.2 @@ -145,6 +145,11 @@ BuildAction = "Content" /> <File + RelPath = "ListViewEx.cs" + SubType = "Component" + BuildAction = "Compile" + /> + <File RelPath = "ProjectInstaller.cs" SubType = "Code" BuildAction = "Compile" @@ -205,6 +210,20 @@ BuildAction = "Compile" /> <File + RelPath = "CustomTools\XsdInfer\Infer.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "CustomTools\XsdInfer\Readme.txt" + BuildAction = "Content" + /> + <File + RelPath = "CustomTools\XsdInfer\XsdInfer.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "VisualStudio\IProfferService.cs" SubType = "Code" BuildAction = "Compile" |
From: Daniel C. \(kzu\) <dca...@us...> - 2005-01-09 20:20:23
|
Update of /cvsroot/mvp-xml/Design/v1/src/CustomTools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30050/v1/src/CustomTools Modified Files: XmlValidate.cs Log Message: Enabled the Mvp.Xml.XsdInfer custom tool to infer a schema automatically from a class model. Updated the XGen custom tool so that it shows a class picker when multiple classes exist in a file, to determine the roots of deserialization processors. Updated description of the XmlValidate description. Index: XmlValidate.cs =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/CustomTools/XmlValidate.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- XmlValidate.cs 3 Jan 2005 17:51:37 -0000 1.1 +++ XmlValidate.cs 9 Jan 2005 20:20:15 -0000 1.2 @@ -37,7 +37,7 @@ /// </para> /// </remarks> [Guid("E14D5AEF-9DAA-420f-8927-47A3B5682069")] - [CustomTool("Mvp.Xml.Validate", "MVP XML Document Validation Tool", false)] + [CustomTool("Mvp.Xml.Validate", "Mvp.Xml Project Document Validation Tool", false)] [ComVisible(true)] [VersionSupport("7.1")] [VersionSupport("7.0")] |
From: Daniel C. \(kzu\) <dca...@us...> - 2005-01-09 20:18:00
|
Update of /cvsroot/mvp-xml/Design/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29448/v1/src Added Files: ListViewEx.cs Log Message: Added custom listview that allows editing subitem columns. Taken from CodeProject. --- NEW FILE: ListViewEx.cs --- // Thanks mav.northwind // http://www.thecodeproject.com/cs/miscctrl/ListViewCellEditors.asp using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Data; using System.Windows.Forms; using System.Runtime.InteropServices; namespace Mvp.Xml.Design { /// <summary> /// Event Handler for SubItem events /// </summary> public delegate void SubItemEventHandler(object sender, SubItemEventArgs e); /// <summary> /// Event Handler for SubItemEndEditing events /// </summary> public delegate void SubItemEndEditingEventHandler(object sender, SubItemEndEditingEventArgs e); /// <summary> /// Event Args for SubItemClicked event /// </summary> public class SubItemEventArgs : EventArgs { public SubItemEventArgs(ListViewItem item, int subItem) { _subItemIndex = subItem; _item = item; } private int _subItemIndex = -1; private ListViewItem _item = null; public int SubItem { get { return _subItemIndex; } } public ListViewItem Item { get { return _item; } } } /// <summary> /// Event Args for SubItemEndEditingClicked event /// </summary> public class SubItemEndEditingEventArgs : SubItemEventArgs { private string _text = string.Empty; private bool _cancel = true; public SubItemEndEditingEventArgs(ListViewItem item, int subItem, string display, bool cancel) : base(item, subItem) { _text = display; _cancel = cancel; } public string DisplayText { get { return _text; } set { _text = value; } } public bool Cancel { get { return _cancel; } set { _cancel = value; } } } /// <summary> /// Inherited ListView to allow in-place editing of subitems /// </summary> public class ListViewEx : System.Windows.Forms.ListView { #region Interop structs, imports and constants /// <summary> /// MessageHeader for WM_NOTIFY /// </summary> private struct NMHDR { public IntPtr hwndFrom; public Int32 idFrom; public Int32 code; } [DllImport("user32.dll")] private static extern IntPtr SendMessage(IntPtr hWnd, int msg, IntPtr wPar, IntPtr lPar); [DllImport("user32.dll", CharSet=CharSet.Ansi)] private static extern IntPtr SendMessage(IntPtr hWnd, int msg, int len, ref int [] order); // ListView messages private const int LVM_FIRST = 0x1000; private const int LVM_GETCOLUMNORDERARRAY = (LVM_FIRST + 59); // Windows Messages that will abort editing private const int WM_HSCROLL = 0x114; private const int WM_VSCROLL = 0x115; private const int WM_SIZE = 0x05; private const int WM_NOTIFY = 0x4E; private const int HDN_FIRST = -300; private const int HDN_BEGINDRAG = (HDN_FIRST-10); private const int HDN_ITEMCHANGINGA = (HDN_FIRST-0); private const int HDN_ITEMCHANGINGW = (HDN_FIRST-20); #endregion /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.Container components = null; public event SubItemEventHandler SubItemClicked; public event SubItemEventHandler SubItemBeginEditing; public event SubItemEndEditingEventHandler SubItemEndEditing; public ListViewEx() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); base.FullRowSelect = true; base.View = View.Details; base.AllowColumnReorder = true; } /// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose( bool disposing ) { if( disposing ) { if( components != null ) components.Dispose(); } base.Dispose( disposing ); } #region Component Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components = new System.ComponentModel.Container(); } #endregion private bool _doubleClickActivation = false; /// <summary> /// Is a double click required to start editing a cell? /// </summary> public bool DoubleClickActivation { get { return _doubleClickActivation; } set { _doubleClickActivation = value; } } /// <summary> /// Retrieve the order in which columns appear /// </summary> /// <returns>Current display order of column indices</returns> public int[] GetColumnOrder() { IntPtr lPar = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(int)) * Columns.Count); IntPtr res = SendMessage(Handle, LVM_GETCOLUMNORDERARRAY, new IntPtr(Columns.Count), lPar); if (res.ToInt32() == 0) // Something went wrong { Marshal.FreeHGlobal(lPar); return null; } int [] order = new int[Columns.Count]; Marshal.Copy(lPar, order, 0, Columns.Count); Marshal.FreeHGlobal(lPar); return order; } /// <summary> /// Find ListViewItem and SubItem Index at position (x,y) /// </summary> /// <param name="x">relative to ListView</param> /// <param name="y">relative to ListView</param> /// <param name="item">Item at position (x,y)</param> /// <returns>SubItem index</returns> public int GetSubItemAt(int x, int y, out ListViewItem item) { item = this.GetItemAt(x, y); if (item != null) { int[] order = GetColumnOrder(); Rectangle lviBounds; int subItemX; lviBounds = item.GetBounds(ItemBoundsPortion.Entire); subItemX = lviBounds.Left; for (int i=0; i<order.Length; i++) { ColumnHeader h = this.Columns[order[i]]; if (x < subItemX+h.Width) { return h.Index; } subItemX += h.Width; } } return -1; } /// <summary> /// Get bounds for a SubItem /// </summary> /// <param name="Item">Target ListViewItem</param> /// <param name="SubItem">Target SubItem index</param> /// <returns>Bounds of SubItem (relative to ListView)</returns> public Rectangle GetSubItemBounds(ListViewItem Item, int SubItem) { int[] order = GetColumnOrder(); Rectangle subItemRect = Rectangle.Empty; if (SubItem >= order.Length) throw new IndexOutOfRangeException("SubItem "+SubItem+" out of range"); if (Item == null) throw new ArgumentNullException("Item"); Rectangle lviBounds = Item.GetBounds(ItemBoundsPortion.Entire); int subItemX = lviBounds.Left; ColumnHeader col; int i; for (i=0; i<order.Length; i++) { col = this.Columns[order[i]]; if (col.Index == SubItem) break; subItemX += col.Width; } subItemRect = new Rectangle(subItemX, lviBounds.Top, this.Columns[order[i]].Width, lviBounds.Height); return subItemRect; } protected override void WndProc(ref Message msg) { switch (msg.Msg) { // Look for WM_VSCROLL,WM_HSCROLL or WM_SIZE messages. case WM_VSCROLL: case WM_HSCROLL: case WM_SIZE: EndEditing(false); break; case WM_NOTIFY: // Look for WM_NOTIFY of events that might also change the // editor's position/size: Column reordering or resizing NMHDR h = (NMHDR)Marshal.PtrToStructure(msg.LParam, typeof(NMHDR)); if (h.code == HDN_BEGINDRAG || h.code == HDN_ITEMCHANGINGA || h.code == HDN_ITEMCHANGINGW) EndEditing(false); break; } base.WndProc(ref msg); } #region Initialize editing depending of DoubleClickActivation property protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { base.OnMouseUp(e); if (DoubleClickActivation) { return; } EditSubitemAt(new Point(e.X, e.Y)); } protected override void OnDoubleClick(EventArgs e) { base.OnDoubleClick (e); if (!DoubleClickActivation) { return; } Point pt = this.PointToClient(Cursor.Position); EditSubitemAt(pt); } ///<summary> /// Fire SubItemClicked ///</summary> ///<param name="p">Point of click/doubleclick</param> private void EditSubitemAt(Point p) { ListViewItem item; int idx = GetSubItemAt(p.X, p.Y, out item); if (idx >= 0) { OnSubItemClicked(new SubItemEventArgs(item, idx)); } } #endregion #region In-place editing functions // The control performing the actual editing private Control _editingControl; // The LVI being edited private ListViewItem _editItem; // The SubItem being edited private int _editSubItem; protected void OnSubItemBeginEditing(SubItemEventArgs e) { if (SubItemBeginEditing != null) SubItemBeginEditing(this, e); } protected void OnSubItemEndEditing(SubItemEndEditingEventArgs e) { if (SubItemEndEditing != null) SubItemEndEditing(this, e); } protected void OnSubItemClicked(SubItemEventArgs e) { if (SubItemClicked != null) SubItemClicked(this, e); } /// <summary> /// Begin in-place editing of given cell /// </summary> /// <param name="c">Control used as cell editor</param> /// <param name="Item">ListViewItem to edit</param> /// <param name="SubItem">SubItem index to edit</param> public void StartEditing(Control c, ListViewItem Item, int SubItem) { OnSubItemBeginEditing(new SubItemEventArgs(Item, SubItem)); Rectangle rcSubItem = GetSubItemBounds(Item, SubItem); if (rcSubItem.X < 0) { // Left edge of SubItem not visible - adjust rectangle position and width rcSubItem.Width += rcSubItem.X; rcSubItem.X=0; } if (rcSubItem.X+rcSubItem.Width > this.Width) { // Right edge of SubItem not visible - adjust rectangle width rcSubItem.Width = this.Width-rcSubItem.Left; } // Subitem bounds are relative to the location of the ListView! rcSubItem.Offset(Left, Top); // In case the editing control and the listview are on different parents, // account for different origins Point origin = new Point(0,0); Point lvOrigin = this.Parent.PointToScreen(origin); Point ctlOrigin = c.Parent.PointToScreen(origin); rcSubItem.Offset(lvOrigin.X-ctlOrigin.X, lvOrigin.Y-ctlOrigin.Y); // Position and show editor c.Bounds = rcSubItem; c.Text = Item.SubItems[SubItem].Text; c.Visible = true; c.BringToFront(); c.Focus(); _editingControl = c; _editingControl.Leave += new EventHandler(_editControl_Leave); _editingControl.KeyPress += new KeyPressEventHandler(_editControl_KeyPress); _editItem = Item; _editSubItem = SubItem; } private void _editControl_Leave(object sender, EventArgs e) { // cell editor losing focus EndEditing(true); } private void _editControl_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { switch (e.KeyChar) { case (char)(int)Keys.Escape: { EndEditing(false); break; } case (char)(int)Keys.Enter: { EndEditing(true); break; } } } /// <summary> /// Accept or discard current value of cell editor control /// </summary> /// <param name="AcceptChanges">Use the _editingControl's Text as new SubItem text or discard changes?</param> public void EndEditing(bool AcceptChanges) { if (_editingControl == null) return; SubItemEndEditingEventArgs e = new SubItemEndEditingEventArgs( _editItem, // The item being edited _editSubItem, // The subitem index being edited AcceptChanges ? _editingControl.Text : // Use editControl text if changes are accepted _editItem.SubItems[_editSubItem].Text, // or the original subitem's text, if changes are discarded !AcceptChanges // Cancel? ); OnSubItemEndEditing(e); _editItem.SubItems[_editSubItem].Text = e.DisplayText; _editingControl.Leave -= new EventHandler(_editControl_Leave); _editingControl.KeyPress -= new KeyPressEventHandler(_editControl_KeyPress); _editingControl.Visible = false; _editingControl = null; _editItem = null; _editSubItem = -1; } #endregion } } |
From: Oleg T. <he...@us...> - 2005-01-04 10:47:52
|
Update of /cvsroot/mvp-xml/Global/v1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18037/v1 Modified Files: Global.csproj Log Message: Small fixes Index: Global.csproj =================================================================== RCS file: /cvsroot/mvp-xml/Global/v1/Global.csproj,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Global.csproj 4 Jan 2005 09:46:10 -0000 1.2 +++ Global.csproj 4 Jan 2005 10:47:42 -0000 1.3 @@ -179,7 +179,7 @@ <File RelPath = "Common\Serialization\PerfCounterInstaller.cs" Link = "..\..\Common\v1\src\Serialization\PerfCounterInstaller.cs" - SubType = "Code" + SubType = "Component" BuildAction = "Compile" /> <File |
From: Oleg T. <he...@us...> - 2005-01-04 10:47:28
|
Update of /cvsroot/mvp-xml/Common/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17973/v1/src Modified Files: Common.csproj Log Message: Small fixes Index: Common.csproj =================================================================== RCS file: /cvsroot/mvp-xml/Common/v1/src/Common.csproj,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Common.csproj 4 Jan 2005 09:39:25 -0000 1.7 +++ Common.csproj 4 Jan 2005 10:47:18 -0000 1.8 @@ -169,7 +169,7 @@ /> <File RelPath = "Serialization\PerfCounterInstaller.cs" - SubType = "Code" + SubType = "Component" BuildAction = "Compile" /> <File |
From: Oleg T. <he...@us...> - 2005-01-04 10:46:45
|
Update of /cvsroot/mvp-xml/XInclude/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17843/v1/src Modified Files: AssemblyInfo.cs XInclude.csproj Log Message: Small fixes Index: XInclude.csproj =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/src/XInclude.csproj,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- XInclude.csproj 9 Nov 2004 12:24:52 -0000 1.11 +++ XInclude.csproj 4 Jan 2005 10:46:29 -0000 1.12 @@ -109,10 +109,6 @@ BuildAction = "Compile" /> <File - RelPath = "xinclude.snk" - BuildAction = "None" - /> - <File RelPath = "XIncludeException.cs" SubType = "Code" BuildAction = "Compile" Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/src/AssemblyInfo.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- AssemblyInfo.cs 29 Sep 2004 12:19:54 -0000 1.2 +++ AssemblyInfo.cs 4 Jan 2005 10:46:29 -0000 1.3 @@ -54,5 +54,5 @@ // documentation for more information on this. // [assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("../../xinclude.snk")] +[assembly: AssemblyKeyFile("")] [assembly: AssemblyKeyName("")] |
From: Oleg T. <he...@us...> - 2005-01-04 10:46:43
|
Update of /cvsroot/mvp-xml/XInclude/v1/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17843/v1/test Modified Files: XIncludeTest.csproj Log Message: Small fixes Index: XIncludeTest.csproj =================================================================== RCS file: /cvsroot/mvp-xml/XInclude/v1/test/XIncludeTest.csproj,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- XIncludeTest.csproj 3 Jan 2005 18:37:53 -0000 1.18 +++ XIncludeTest.csproj 4 Jan 2005 10:46:30 -0000 1.19 @@ -15,7 +15,7 @@ DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" - OutputType = "Exe" + OutputType = "Library" PreBuildEvent = "" PostBuildEvent = "" RootNamespace = "Mvp.Xml.XInclude.Test" |
From: Oleg T. <he...@us...> - 2005-01-04 10:46:12
|
Update of /cvsroot/mvp-xml/XPointer/v1/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17693/v1/test Modified Files: XPointerReaderTests.cs XPointerTest.csproj Log Message: Small fixes Index: XPointerReaderTests.cs =================================================================== RCS file: /cvsroot/mvp-xml/XPointer/v1/test/XPointerReaderTests.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- XPointerReaderTests.cs 19 Oct 2004 16:27:39 -0000 1.4 +++ XPointerReaderTests.cs 4 Jan 2005 10:45:55 -0000 1.5 @@ -357,7 +357,6 @@ /// Unknown scheme pointer /// </summary> [Test] - [ExpectedException(typeof(XPointerSyntaxException))] public void UnknownSchemeTest2() { string xptr = "foo:dummy(bar) element(/1/1/2)"; Index: XPointerTest.csproj =================================================================== RCS file: /cvsroot/mvp-xml/XPointer/v1/test/XPointerTest.csproj,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- XPointerTest.csproj 11 Oct 2004 20:58:00 -0000 1.3 +++ XPointerTest.csproj 4 Jan 2005 10:45:55 -0000 1.4 @@ -15,7 +15,7 @@ DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" - OutputType = "Exe" + OutputType = "Library" PreBuildEvent = "" PostBuildEvent = "" RootNamespace = "Mvp.Xml.XPointer.Test" |
From: Oleg T. <he...@us...> - 2005-01-04 10:46:08
|
Update of /cvsroot/mvp-xml/XPointer/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17693/v1/src Modified Files: AssemblyInfo.cs XPointer.csproj Log Message: Small fixes Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/mvp-xml/XPointer/v1/src/AssemblyInfo.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- AssemblyInfo.cs 28 Sep 2004 09:10:00 -0000 1.1 +++ AssemblyInfo.cs 4 Jan 2005 10:45:55 -0000 1.2 @@ -54,5 +54,5 @@ // documentation for more information on this. // [assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("../../xpointer.snk")] +[assembly: AssemblyKeyFile("")] [assembly: AssemblyKeyName("")] Index: XPointer.csproj =================================================================== RCS file: /cvsroot/mvp-xml/XPointer/v1/src/XPointer.csproj,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- XPointer.csproj 9 Nov 2004 12:25:03 -0000 1.9 +++ XPointer.csproj 4 Jan 2005 10:45:55 -0000 1.10 @@ -148,10 +148,6 @@ BuildAction = "Compile" /> <File - RelPath = "xpointer.snk" - BuildAction = "None" - /> - <File RelPath = "XPointerException.cs" SubType = "Code" BuildAction = "Compile" |
From: Oleg T. <he...@us...> - 2005-01-04 10:31:57
|
Update of /cvsroot/mvp-xml/XPointer/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14811/v1/src Removed Files: xpointer.snk Log Message: Removed sn key --- xpointer.snk DELETED --- |
From: Oleg T. <he...@us...> - 2005-01-04 10:31:46
|
Update of /cvsroot/mvp-xml/XInclude/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14628/v1/src Removed Files: xinclude.snk Log Message: Removed sn key --- xinclude.snk DELETED --- |
From: Oleg T. <he...@us...> - 2005-01-04 10:09:30
|
Update of /cvsroot/mvp-xml/WebSite/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10588/common Modified Files: index.html Log Message: Improved a bit list of features. Index: index.html =================================================================== RCS file: /cvsroot/mvp-xml/WebSite/common/index.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- index.html 1 Nov 2004 17:42:03 -0000 1.3 +++ index.html 4 Jan 2005 10:09:17 -0000 1.4 @@ -16,7 +16,48 @@ System.Xml</a> and related namespaces.<br> <br> The following is a list of features, a short explanation and a link to -its corresponding full explanation post: +its corresponding full explanation post:<br> +<br> +<span style="font-family: monospace;">Mvp.Xml.Common</span> namespace:<br> +<ul> + <li><a href="http://www.tkachenko.com/blog/archives/000333.html">XmlBaseAwareXmlTextReader</a>: +XmlTextReader, augmented to support <a + href="http://www.w3.org/TR/xmlbase/">XML Base</a>.</li> + <li><a target="_blank" + href="http://weblogs.asp.net/cazzu/archive/2004/05/10/129106.aspx">XmlFirstUpperReader +and XmlFirstLowerWriter</a>: used in combination +usually for configuration files. Allows automatic case conversion to +match .NET and XML conventions, where the former uses PascalCasing and +the later camelCasing. Together, they provide roundtriping and +transparent processing while maintaining the natural casing of each +domain.</li> + <li><a + href="http://weblogs.asp.net/cazzu/archive/2004/04/23/119263.aspx">XmlFragmentStream</a>: +allows to read a file that contains only node fragments, by faking a +root element at the stream level. This allows loading the XML into a +document for querying, for example, something that is not possible with +an <a target="_blank" + href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmltextreaderclasstopic.asp"> +XmlTextReader</a> alone. Very useful for logging applications that +write XML fragments and its corresponding log analyzer.</li> + <li><a target="_blank" + href="http://weblogs.asp.net/cazzu/archive/2004/05/31/144922.aspx">XmlNodeFactory</a>: +allows returning well-formed XML from WebServices +without loading XmlDocument at all, by providing a factory for custom <a + target="_blank" + href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmlnodeclasstopic.asp"> +XmlNode</a> adapter objects for <a target="_blank" + href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmlreaderclasstopic.asp"> +XmlReader</a> and <a target="_blank" + href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemXmlXPathXPathNavigatorClassTopic.asp"> +XPathNavigator</a>, avoiding all re-parsing costs.</li> + <li><a + href="file:///%20See:%20http://www.tkachenko.com/blog/archives/000112.html">XmlTransformingReader</a>: +XmlReader, transforming input XML stream according to given XSLT +stylesheet.</li> +</ul> +<span style="font-family: monospace;">Mvp.Xml.Common</span>.XPath +namespace:<br> <ul> <li> <a target="_blank" href="http://weblogs.asp.net/cazzu/archive/2003/10/07/30888.aspx">DynamicContext</a>: @@ -72,15 +113,6 @@ node. This allows high-performance subtree XSLT transformations without re-parsing. </li> <li><!--StartFragment --> <a - href="http://weblogs.asp.net/cazzu/archive/2004/04/23/119263.aspx">XmlFragmentStream</a>: -allows to read a file that contains only node fragments, by faking a -root element at the stream level. This allows loading the XML into a -document for querying, for example, something that is not possible with -an <a target="_blank" - href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmltextreaderclasstopic.asp"> -XmlTextReader</a> alone. Very useful for logging applications that -write XML fragments and its corresponding log analyzer. </li> - <li><!--StartFragment --> <a href="http://weblogs.asp.net/cazzu/archive/2004/04/26/120684.aspx">XPathIteratorReader</a>: exposes an <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmltextreaderclasstopic.asp"> @@ -92,32 +124,6 @@ the <a target="_blank" href="http://weblogs.asp.net/cazzu/archive/2004/05/31/144922.aspx"> XmlNodeFactory</a>. </li> - <li> <a target="_blank" - href="http://weblogs.asp.net/cazzu/archive/2004/05/31/144922.aspx">XmlNodeFactory</a>: -allows returning well-formed XML from WebServices -without loading XmlDocument at all, by providing a factory for custom <a - target="_blank" - href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmlnodeclasstopic.asp"> -XmlNode</a> adapter objects for <a target="_blank" - href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmlreaderclasstopic.asp"> -XmlReader</a> and <a target="_blank" - href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemXmlXPathXPathNavigatorClassTopic.asp"> -XPathNavigator</a>, avoiding all re-parsing costs. </li> - <li> <a target="_blank" - href="http://weblogs.asp.net/cazzu/archive/2004/05/10/129106.aspx">XmlFirstUpperReader -and XmlFirstLowerWriter</a>: used in combination -usually for configuration files. Allows automatic case conversion to -match .NET and XML conventions, where the former uses PascalCasing and -the later camelCasing. Together, they provide roundtriping and -transparent processing while maintaining the natural casing of each -domain.</li> - <li><a href="http://www.tkachenko.com/blog/archives/000333.html">XmlBaseAwareXmlTextReader</a>: -XmlTextReader, augmented to support <a - href="http://www.w3.org/TR/xmlbase/">XML Base</a>.</li> - <li><a - href="///%20See:%20http://www.tkachenko.com/blog/archives/000112.html">XmlTransformingReader</a>: -XmlReader, transforming input XML stream according to given XSLT -stylesheet.</li> </ul> <p> All classes contain extensive tests to ensure its quality, as well as the peer review among this highly focused group of XML lovers.</p> |
From: Oleg T. <he...@us...> - 2005-01-04 09:46:22
|
Update of /cvsroot/mvp-xml/Global/v1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5628/v1 Modified Files: Global.csproj Global.csproj.user Added Files: AssemblyInfo.cs Log Message: Updated to include Serialization stuff. Index: Global.csproj.user =================================================================== RCS file: /cvsroot/mvp-xml/Global/v1/Global.csproj.user,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Global.csproj.user 9 Nov 2004 12:18:39 -0000 1.1 +++ Global.csproj.user 4 Jan 2005 09:46:11 -0000 1.2 @@ -40,7 +40,7 @@ CopyProjectDestinationFolder = "" CopyProjectUncPath = "" CopyProjectOption = "0" - ProjectView = "ProjectFiles" + ProjectView = "ShowAllFiles" ProjectTrust = "0" /> </CSHARP> Index: Global.csproj =================================================================== RCS file: /cvsroot/mvp-xml/Global/v1/Global.csproj,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Global.csproj 9 Nov 2004 12:18:39 -0000 1.1 +++ Global.csproj 4 Jan 2005 09:46:10 -0000 1.2 @@ -79,11 +79,26 @@ AssemblyName = "System.Xml" HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> + <Reference + Name = "System.Configuration.Install" + AssemblyName = "System.Configuration.Install" + HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Configuration.Install.dll" + /> + <Reference + Name = "System.Management" + AssemblyName = "System.Management" + HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Management.dll" + /> </References> </Build> <Files> <Include> <File + RelPath = "AssemblyInfo.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Common\SR.cs" Link = "..\..\Common\v1\src\SR.cs" SubType = "Code" @@ -156,6 +171,54 @@ BuildAction = "Compile" /> <File + RelPath = "Common\Serialization\CacheKeyFactory.cs" + Link = "..\..\Common\v1\src\Serialization\CacheKeyFactory.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Common\Serialization\PerfCounterInstaller.cs" + Link = "..\..\Common\v1\src\Serialization\PerfCounterInstaller.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Common\Serialization\PerfCounterInstaller.resx" + Link = "..\..\Common\v1\src\Serialization\PerfCounterInstaller.resx" + DependentUpon = "PerfCounterInstaller.cs" + BuildAction = "EmbeddedResource" + /> + <File + RelPath = "Common\Serialization\PerfCounterManager.cs" + Link = "..\..\Common\v1\src\Serialization\PerfCounterManager.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Common\Serialization\SignatureExtractor.cs" + Link = "..\..\Common\v1\src\Serialization\SignatureExtractor.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Common\Serialization\StringSorter.cs" + Link = "..\..\Common\v1\src\Serialization\StringSorter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Common\Serialization\XmlAttributeOverridesThumbprinter.cs" + Link = "..\..\Common\v1\src\Serialization\XmlAttributeOverridesThumbprinter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Common\Serialization\XmlSerializerCache.cs" + Link = "..\..\Common\v1\src\Serialization\XmlSerializerCache.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Common\XPath\DynamicContext.cs" Link = "..\..\Common\v1\src\XPath\DynamicContext.cs" SubType = "Code" --- NEW FILE: AssemblyInfo.cs --- using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security.Permissions; [assembly: ComVisible(false)] [assembly: CLSCompliant(true)] [assembly: AssemblyTitle("Mvp.Xml")] [assembly: AssemblyDescription("MVP XML Library")] [assembly: AssemblyVersion("0.18.*")] [assembly: AssemblyDelaySign(false)] [assembly: AssemblyKeyFile("")] [assembly: AssemblyKeyName("")] #region Security Permissions //[assembly: SecurityPermission(SecurityAction.RequestRefuse, UnmanagedCode=true)] #endregion Security Permissions |
From: Oleg T. <he...@us...> - 2005-01-04 09:44:06
|
Update of /cvsroot/mvp-xml/Global/v1/Common/Serialization In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5053/Serialization Log Message: Directory /cvsroot/mvp-xml/Global/v1/Common/Serialization added to the repository |
From: Oleg T. <he...@us...> - 2005-01-04 09:41:30
|
Update of /cvsroot/mvp-xml/XInclude/v1/test/XInclude-Test-Suite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4412/v1/test/XInclude-Test-Suite Removed Files: w3cReport.html Log Message: Removed some junk. --- w3cReport.html DELETED --- |
From: Oleg T. <he...@us...> - 2005-01-04 09:41:29
|
Update of /cvsroot/mvp-xml/XInclude/v1/test/XInclude-Test-Suite/Harold/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4412/v1/test/XInclude-Test-Suite/Harold/test Removed Files: .nautilus-metafile.xml Log Message: Removed some junk. --- .nautilus-metafile.xml DELETED --- |
From: Oleg T. <he...@us...> - 2005-01-04 09:41:27
|
Update of /cvsroot/mvp-xml/XInclude/v1/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4412/v1/test Removed Files: Elliotte_Rusty_HaroldTests_NS.cs FourThoughtTests_NS.cs LTG_Edinburgh_UnivTests_NS.cs NISTTests_NS.cs RedhatTests_NS.cs Log Message: Removed some junk. --- RedhatTests_NS.cs DELETED --- --- NISTTests_NS.cs DELETED --- --- FourThoughtTests_NS.cs DELETED --- --- Elliotte_Rusty_HaroldTests_NS.cs DELETED --- --- LTG_Edinburgh_UnivTests_NS.cs DELETED --- |
From: Oleg T. <he...@us...> - 2005-01-04 09:40:09
|
Update of /cvsroot/mvp-xml/Common/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3863/v1/src Modified Files: AssemblyInfo.cs Common.csproj changelog.txt Log Message: Added Serialization classes to the Common module. Index: changelog.txt =================================================================== RCS file: /cvsroot/mvp-xml/Common/v1/src/changelog.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- changelog.txt 14 Nov 2004 01:24:29 -0000 1.2 +++ changelog.txt 4 Jan 2005 09:39:25 -0000 1.3 @@ -1,3 +1,9 @@ +January 04, 2005 + +Added Serialization folder and classes. + +--------------------------------------------------------- + November 13, 2004 Bug fix in XmlNodeListFactory. Thanks to Raneses, Jason. Index: Common.csproj =================================================================== RCS file: /cvsroot/mvp-xml/Common/v1/src/Common.csproj,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Common.csproj 14 Nov 2004 01:24:29 -0000 1.6 +++ Common.csproj 4 Jan 2005 09:39:25 -0000 1.7 @@ -79,6 +79,16 @@ AssemblyName = "System.Xml" HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> + <Reference + Name = "System.Configuration.Install" + AssemblyName = "System.Configuration.Install" + HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Configuration.Install.dll" + /> + <Reference + Name = "System.Management" + AssemblyName = "System.Management" + HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Management.dll" + /> </References> </Build> <Files> @@ -153,6 +163,46 @@ BuildAction = "Compile" /> <File + RelPath = "Serialization\CacheKeyFactory.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Serialization\PerfCounterInstaller.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Serialization\PerfCounterInstaller.resx" + DependentUpon = "PerfCounterInstaller.cs" + BuildAction = "EmbeddedResource" + /> + <File + RelPath = "Serialization\PerfCounterManager.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Serialization\SignatureExtractor.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Serialization\StringSorter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Serialization\XmlAttributeOverridesThumbprinter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Serialization\XmlSerializerCache.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "XPath\DynamicContext.cs" SubType = "Code" BuildAction = "Compile" Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/mvp-xml/Common/v1/src/AssemblyInfo.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- AssemblyInfo.cs 27 Sep 2004 16:27:12 -0000 1.1 +++ AssemblyInfo.cs 4 Jan 2005 09:39:25 -0000 1.2 @@ -8,8 +8,8 @@ [assembly: CLSCompliant(true)] [assembly: AssemblyTitle("Mvp.Xml")] -[assembly: AssemblyDescription("MVP XML Library")] -[assembly: AssemblyVersion("0.18.*")] +[assembly: AssemblyDescription("MVP XML Library - Common Module")] +[assembly: AssemblyVersion("0.9.*")] [assembly: AssemblyDelaySign(false)] [assembly: AssemblyKeyFile("")] |
From: Oleg T. <he...@us...> - 2005-01-04 09:39:39
|
Update of /cvsroot/mvp-xml/Common/v1/test/XPathNavigatorReaderTests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3863/v1/test/XPathNavigatorReaderTests Modified Files: Tests.cs Log Message: Added Serialization classes to the Common module. Index: Tests.cs =================================================================== RCS file: /cvsroot/mvp-xml/Common/v1/test/XPathNavigatorReaderTests/Tests.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Tests.cs 22 Dec 2004 15:04:02 -0000 1.5 +++ Tests.cs 4 Jan 2005 09:39:26 -0000 1.6 @@ -43,7 +43,7 @@ Assert.AreEqual(XmlNodeType.Comment, reader.NodeType); Assert.IsTrue(reader.Read()); Assert.AreEqual(XmlNodeType.ProcessingInstruction, reader.NodeType); - Assert.IsTrue(reader.Read()); + Assert.IsTrue(reader.Read()); Assert.AreEqual(XmlNodeType.Comment, reader.NodeType); Assert.IsTrue(reader.Read()); Assert.AreEqual(XmlNodeType.Element, reader.NodeType); @@ -64,7 +64,9 @@ Console.WriteLine("NodeType: {0}, Name: {1}, Value: {2}", r.NodeType, r.Name, r.Value); Assert.AreEqual(XmlNodeType.ProcessingInstruction, r.NodeType); - Assert.IsFalse(r.Read()); + Assert.IsTrue(r.Read()); + Assert.AreEqual(XmlNodeType.Text, r.NodeType); + Assert.IsFalse(r.Read()); } [Test] |