<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>The Genghis Project</title><link>http://www.codeplex.com/genghis/Project/ProjectRss.aspx</link><description>Genghis is a set of extensions built on top of .NET and integrated with WinForms to provide application-level services in the same flavor as the Microsoft Foundation Classes. Genghis gets its name ...</description><item><title>Created Issue: BaseValidatorManager.DeRegisterBaseValidator(this) method is not called until app closes.</title><link>http://www.codeplex.com/genghis/WorkItem/View.aspx?WorkItemId=10621</link><description>By design BaseValidatorManager.RegisterBaseValidator is called when new validator instance is created.   &lt;br /&gt;Designer creates instance of control in InitializeComponent&amp;#40;&amp;#41; method, initializing object similary to &lt;br /&gt;this.requiredFieldValidator1 &amp;#61; new Genghis.Windows.Forms.RequiredFieldValidator&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;BaseValidatorManager.DeRegisterBaseValidator&amp;#40;this&amp;#41; is called in component Dispose&amp;#40;&amp;#41; method.&lt;br /&gt;&lt;br /&gt;Unfortunately, BaseValidator.Dispose&amp;#40;&amp;#41; does not execute when form closes, leaving all controls in registered BaseValidatorManager.&lt;br /&gt;If tends to block object finalization, due to pinned strong ref beeing held to validation controls.&lt;br /&gt;&lt;br /&gt;As an example, here&amp;#39;s a dump from windbg session &amp;#40;gcroot&amp;#41;&amp;#58;&lt;br /&gt;DOMAIN&amp;#40;00000000003A1230&amp;#41;&amp;#58;HANDLE&amp;#40;Pinned&amp;#41;&amp;#58;3017d0&amp;#58;Root&amp;#58;000000001275a738&amp;#40;System.Object&amp;#91;&amp;#93;&amp;#41;-&amp;#62;&lt;br /&gt;0000000002780f90&amp;#40;Genghis.Windows.Forms.BaseValidatorCollection&amp;#41;-&amp;#62;&lt;br /&gt;0000000002780fb0&amp;#40;System.Object&amp;#91;&amp;#93;&amp;#41;-&amp;#62;&lt;br /&gt;000000000277e6a0&amp;#40;Genghis.Windows.Forms.RequiredFieldValidator&amp;#41;-&amp;#62;&lt;br /&gt;000000000277d288&amp;#40;System.Windows.Forms.TextBox&amp;#41;&lt;br /&gt;</description><author>bysza</author><pubDate>Thu, 17 Jul 2008 14:48:11 GMT</pubDate><guid isPermaLink="false">Created Issue: BaseValidatorManager.DeRegisterBaseValidator(this) method is not called until app closes. 20080717024811P</guid></item><item><title>Created Issue: BaseValidatorManager.DeRegisterBaseValidator(this) method is not called until app closes.</title><link>http://www.codeplex.com/genghis/WorkItem/View.aspx?WorkItemId=10619</link><description>BaseValidatorManager.RegisterBaseValidator is called when new validator instance is created.&lt;br /&gt;</description><author>bysza</author><pubDate>Thu, 17 Jul 2008 14:35:04 GMT</pubDate><guid isPermaLink="false">Created Issue: BaseValidatorManager.DeRegisterBaseValidator(this) method is not called until app closes. 20080717023504P</guid></item><item><title>NEW POST: Nested CommandLineParser</title><link>http://www.codeplex.com/genghis/Thread/View.aspx?ThreadId=14356</link><description>&lt;div class="wikidoc"&gt;
How would one created a Nested CommandLineParser?&lt;br /&gt; &lt;br /&gt;For example, the SharePoint Administration Command Line tool (STSADM.exe) has a syntax of: &lt;br /&gt; &lt;br /&gt; stsadm.exe -o (operation) &lt;a href="http://www.codeplex.com/genghis/Wiki/View.aspx?title=%28parameters%29"&gt;(parameters)&lt;/a&gt; &lt;br /&gt; &lt;br /&gt;   e.g. stsadm.exe -o deletesite -url http://site&lt;br /&gt;         stsadm.exe -o setconfigdb -databaseserver server&lt;br /&gt; &lt;br /&gt;where &lt;a href="http://www.codeplex.com/genghis/Wiki/View.aspx?title=%28parameters%29"&gt;(parameters)&lt;/a&gt; is an optional list of additional command-line parameters specific to the operation. This open-ended style fails as the CommandLineParser will fail on the unrecognised items in the &lt;a href="http://www.codeplex.com/genghis/Wiki/View.aspx?title=%28paramters%29"&gt;(paramters)&lt;/a&gt;, that also use the hyphen switch. Is there a way to ignore validation on these additional hyphened items and use an ArrayList type? Or perhaps a usage attribute called &amp;quot;clp.NestedUsage&amp;quot; which won't validate?&lt;br /&gt; &lt;br /&gt;I was considering using multiple CommandLineParsers but its proving complicated, e.g.&lt;br /&gt; &lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            if (args != null &amp;amp;&amp;amp; args.Length &amp;gt;= 2)&lt;br /&gt;            {&lt;br /&gt;            List&amp;lt;string&amp;gt; operationArgs = new List&amp;lt;string&amp;gt;(args);&lt;br /&gt;            List&amp;lt;string&amp;gt; operationParamsArgs = new List&amp;lt;string&amp;gt;(args);&lt;br /&gt; &lt;br /&gt;            operationArgs.RemoveRange(2, operationArgs.Count - 2);&lt;br /&gt;            operationParamsArgs.RemoveRange(0, 2);&lt;br /&gt; &lt;br /&gt;            Classes.CommandLineArgs cl = new Classes.CommandLineArgs();&lt;br /&gt; &lt;br /&gt;                if (!cl.ParseAndContinue(operationArgs.ToArray())) return;&lt;br /&gt; &lt;br /&gt;                string commandLineUsage = string.Empty;&lt;br /&gt;                if (!RunOperation(cl.operation, operationParamsArgs, out commandLineUsage))&lt;br /&gt;                {&lt;br /&gt;                    Console.WriteLine(commandLineUsage);&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;            else&lt;br /&gt;            {&lt;br /&gt;                Console.WriteLine(cl.GetUsage(CommandLineUsageBadOp));&lt;br /&gt;            }            &lt;br /&gt;        }&lt;br /&gt; &lt;br /&gt;Where the operation run in &amp;quot;RunOperation&amp;quot; will have it's own CommandLineParser. The problem with this appraoch is that the optional &lt;a href="http://www.codeplex.com/genghis/Wiki/View.aspx?title=%28parameters%29"&gt;(parameters)&lt;/a&gt; item won't appear in the Usage Statement for the first parser and it's hard to manage errors to the console.&lt;br /&gt; &lt;br /&gt;Thanks.&lt;br /&gt;
&lt;/div&gt;</description><author>PeterB</author><pubDate>Mon, 27 Aug 2007 11:06:13 GMT</pubDate><guid isPermaLink="false">NEW POST: Nested CommandLineParser 20070827110613A</guid></item><item><title>NEW POST: CommandLineParser - Possible Issue</title><link>http://www.codeplex.com/genghis/Thread/View.aspx?ThreadId=14352</link><description>&lt;div class="wikidoc"&gt;
The CommandLineParser is a great - but just wondering about this issue:&lt;br /&gt; &lt;br /&gt; On line #854 (v0.8), there's a &amp;quot;HACK&amp;quot; that only checks for a forward-slash - shouldn't this be checking for the ParserUsage.PreferredPrefix? &lt;br /&gt; &lt;br /&gt;E.g. I've changed my preferred prefix to a hyphen &amp;quot;-&amp;quot;, but it fails here as it doesn't parse-out the prefix and its name (so something like &amp;quot;-o:25&amp;quot;, will still come through as &amp;quot;-o:25&amp;quot; rather than 25).&lt;br /&gt; &lt;br /&gt;Thanks.&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>PeterB</author><pubDate>Mon, 27 Aug 2007 09:58:09 GMT</pubDate><guid isPermaLink="false">NEW POST: CommandLineParser - Possible Issue 20070827095809A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/genghis/Wiki/View.aspx?title=Home&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
Genghis is a set of extensions built on top of .NET and integrated with WinForms to provide application-level services in the same flavor as the Microsoft Foundation Classes. Genghis gets its name as the functional heir to Attila, a similar set of functionality built on top of ATL.&lt;br /&gt; &lt;br /&gt;Please see &lt;a href="http://www.genghisgroup.com" class="externalLink"&gt;http://www.genghisgroup.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for more information.&lt;br /&gt; &lt;br /&gt;The current build (0.8) includes a full reconciliation with features that existed in the .NET 1.x version.  &lt;br /&gt;
&lt;/div&gt;</description><author>TheADOGuy</author><pubDate>Fri, 24 Aug 2007 23:05:46 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070824110546P</guid></item><item><title>UPDATED RELEASE: Genghis v0.8 (Aug 24, 2007)</title><link>http://www.codeplex.com/genghis/Release/ProjectReleases.aspx?ReleaseId=4954</link><description>This version contains a number of classes that did not make it into v0.6.  If there was a class that you used in the .NET 1.1 version of Genghis, it is now in this version.  These include:&lt;br /&gt;* CustomStateTreeView&lt;br /&gt;* FileSearchEngine&lt;br /&gt;* FindReplaceDialog&lt;br /&gt;* HeaderGroupBox&lt;br /&gt;* HtmlLinklLabel&lt;br /&gt;* ImageIndexEditor&lt;br /&gt;* InitialInstanceActivator&lt;br /&gt;* ListViewSorter&lt;br /&gt;* MappedDrives&lt;br /&gt;* MultiSdiApplicationContext&lt;br /&gt;* PathResolver&lt;br /&gt;* ScreenSaver&lt;br /&gt;* ScrollablePictureBox&lt;br /&gt;* SpashScreen&lt;br /&gt;* StatusBarExtender&lt;br /&gt;* SystemShares&lt;br /&gt;* TraceEx&lt;br /&gt;* UserResizablePanel&lt;br /&gt;* WebCommandLineHelper&lt;br /&gt;* XPThemedControls&lt;br /&gt;</description><author></author><pubDate>Fri, 24 Aug 2007 23:00:32 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Genghis v0.8 (Aug 24, 2007) 20070824110032P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/genghis/SourceControl/ListDownloadableCommits.aspx</link><description>Updated to use a website instead of chm</description><author>TheADOGuy</author><pubDate>Fri, 24 Aug 2007 15:58:49 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070824035849P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/genghis/SourceControl/ListDownloadableCommits.aspx</link><description>Updated for delay signing</description><author>TheADOGuy</author><pubDate>Fri, 24 Aug 2007 15:36:29 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070824033629P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/genghis/SourceControl/ListDownloadableCommits.aspx</link><description>Updated to supress XML Doc Warnings on both build types</description><author>TheADOGuy</author><pubDate>Fri, 24 Aug 2007 14:57:57 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070824025757P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/genghis/SourceControl/ListDownloadableCommits.aspx</link><description>Updated with errors and SimplePad</description><author>TheADOGuy</author><pubDate>Thu, 23 Aug 2007 19:26:40 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070823072640P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/genghis/SourceControl/ListDownloadableCommits.aspx</link><description>Updated to add workaround for bad .chm file.</description><author>TheADOGuy</author><pubDate>Thu, 23 Aug 2007 19:17:09 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070823071709P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/genghis/SourceControl/ListDownloadableCommits.aspx</link><description>Updates for .8</description><author>TheADOGuy</author><pubDate>Thu, 23 Aug 2007 18:59:26 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070823065926P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/genghis/SourceControl/ListDownloadableCommits.aspx</link><description>fixed misnaming problem with comment xml</description><author>TheADOGuy</author><pubDate>Thu, 23 Aug 2007 18:17:20 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070823061720P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/genghis/SourceControl/ListDownloadableCommits.aspx</link><description>Updated Genghis to pragma out XML Comment warnings as well as to update some use of depreciated code</description><author>TheADOGuy</author><pubDate>Thu, 23 Aug 2007 18:14:32 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070823061432P</guid></item><item><title>CLOSED TASK: Add Missing Elements</title><link>http://www.codeplex.com/genghis/WorkItem/View.aspx?WorkItemId=1407</link><description>Some parts of Genghis were dropped accidently in the 0.6 version.  A full &amp;#39;diff&amp;#39; need to be performed on versions .4 and .5 to ensure all content is there in a new release.&lt;br/&gt;Comments: Fixed and added a number of classes (see v.0.8 for a complete list).</description><author>TheADOGuy</author><pubDate>Sat, 18 Aug 2007 00:02:48 GMT</pubDate><guid isPermaLink="false">CLOSED TASK: Add Missing Elements 20070818120248A</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/genghis/SourceControl/ListDownloadableCommits.aspx</link><description>Updated Docs</description><author>TheADOGuy</author><pubDate>Fri, 17 Aug 2007 23:55:26 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070817115526P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/genghis/SourceControl/ListDownloadableCommits.aspx</link><description>Update Build Command</description><author>TheADOGuy</author><pubDate>Fri, 17 Aug 2007 23:45:30 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070817114530P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/genghis/SourceControl/ListDownloadableCommits.aspx</link><description>Version 0.8 changes include lots of new files.</description><author>TheADOGuy</author><pubDate>Fri, 17 Aug 2007 23:41:06 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070817114106P</guid></item><item><title>CREATED ISSUE: ObjectDisposedException in AniForm.cs</title><link>http://www.codeplex.com/genghis/WorkItem/View.aspx?WorkItemId=2033</link><description>System.ObjectDisposedException: Cannot access a
disposed object named "EnclosureToastNotify".
Object name: "EnclosureToastNotify".
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at Genghis.Windows.Forms.AniForm.RequestClose()

EnclosureToastNotify is a inherited form (inherit from AniForm).
The reason for that exception is the check for 
"this.Handle != IntPtr.Null". This test will create the Handle within
the Handle property (stated in the remarks section of the documentation
about that property). 
You should get rid of any of these checks in the forms (incl. AniForm)
and use "this.IsHandleCreated" instead to avoid that kind of exceptions.

I attached a version of that AniForm.cs file I had took out of the Genghis project (formerly we used the DLL) to be able to distribute CLR 1.1 binaries with the latest Genghis code fixes, that are for CLR 2.0). In that file I just did the changes required.
Additionally I added fixes to get rid of Cross-Thread exceptions we got in our project: they are marked witha comment "\\TR:" you can search for to verify.
The file attached may not base at the very latest code state - so you have to merge somehow. </description><author>TorstenR</author><pubDate>Wed, 20 Jun 2007 06:51:07 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: ObjectDisposedException in AniForm.cs 20070620065107A</guid></item><item><title>UPDATED RELEASE: Genghis v0.6 (Jun 05, 2007)</title><link>http://www.codeplex.com/genghis/Release/ProjectReleases.aspx?ReleaseId=4759</link><description>This is the same version as was available on the GotDotNet.com site. 

This version includes source and redistributable .NET 2.0 compatible version of Genghis. </description><author></author><pubDate>Sun, 17 Jun 2007 22:15:44 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Genghis v0.6 (Jun 05, 2007) 20070617101544P</guid></item></channel></rss>