[Mono-dev] [PATCH] MVC on FastCGI produces NotImplementedException

2009-10-22 Thread Tiaan
The attached patch files are to fix a bug when hosting an MVC 1.0 website on Mono 2.4.2.3 (and XSP 2.4.2) in combination with a FastCGI setup on the web server. The problem was initially reported on 5 August 2009 by Sergii Volchkov (see http://www.mail-archive.com/mono-l...@lists.ximian.com/msg

[Mono-dev] [PATCH] XSP: Encoding of long string-lengths in FastCGI does not comply with specification

2009-11-16 Thread Tiaan
The lengths of strings that are larger than 127 bytes are encoded incorrectly by the Mono.FastCgi.NameValuePair.WriteLength method: The first byte must have its high bit set in this case. To confirm, refer to the implementation of the reverse decoding-logic in the ReadLength method and see the Fas

[Mono-dev] [PATCH] XSP: Unhandled exceptions on FastCGI Backend

2009-11-19 Thread Tiaan
two ObjectDisposedException errors that can occur at process termination time. The attached patch is for "trunk/xsp/src". Please commit. Thanks, Tiaan. Mono-WebServer-FastCgi_Unhandled-Exceptions_xsp-trunk.patch Description: B

[Mono-dev] [PATCH] XSP: Virtual path support on FastCGI Backend (also resulting in MVC support)

2009-11-22 Thread Tiaan Geldenhuys
rk as expected. There are two attachments: one for the trunk ("trunk/xsp/src") and one for the main branches ("branches/mono-2-4/xsp/src" and "branches/mono-2-6/xsp/src"). Please commit. Regards, Tiaan. Mono-WebServer-FastCgi_Virtual-Paths_xsp-branches-2-

[Mono-dev] [PATCH] XSP: Reliable socket closure on FastCGI Backend

2009-12-16 Thread Tiaan Geldenhuys
The attached path fixes an issue where XSP's FastCGI Backend would sometimes close sockets before all data has made it to the FastCGI Server (web server), which leaves the FastCGI protocol in a bad state and can even truncate content to the web client prematurely. Please commit. Thanks! Mono

[Mono-dev] [PATCH] Add missing DateTimeOffset operators to XElement

2010-01-08 Thread Tiaan Geldenhuys
This patch adds two of the newer DateTimeOffset operators that are still missing on the System.Xml.Linq.XElement class. Please commit. System-Xml-Linq-XElement_DateTimeOffset-operators_mcs-class-trunk.patch Description: Binary data ___ Mono-d

Re: [Mono-dev] [PATCH] Add missing DateTimeOffset operators to XElement

2010-01-12 Thread Tiaan Geldenhuys
ary 2010 3:56 AM To: Tiaan Geldenhuys Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] [PATCH] Add missing DateTimeOffset operators to XElement They are all fixed in svn trunk, except the case that casts to UIntXX expect FormatException instead of OverflowException, which I beli

[Mono-dev] [PATCH] Add XAttribute's missing DateTimeOffset operators, with tests

2010-01-14 Thread Tiaan Geldenhuys
ork should make for an even more robust LINQ-to-XML implementation. Please commit the patches and investigate the new tests that fail. Thank you, Tiaan. System-Xml-Linq-XAttribute_DateTimeOffset-operators_mcs-class-trunk.patch Description: Binary data MonoTests-System-Xml-Linq_type-cast-oper

[Mono-dev] [PATCH] Fix float.Parse, float.TryParse and XmlConvert.ToString for float.MaxValue, float.PositiveInfinity and TimeSpan.MinValue

2010-01-22 Thread Tiaan Geldenhuys
which the problems were initially discovered. Please commit to trunk and the 2.6 branch. Thanks, Tiaan. Tests_trunk-and-mono-2-6.patch Description: Binary data System.Xml.XmlConvert_trunk-and-mono-2-6.patch Description: Binary data System.Single_trunk.patch Description: Binary data

Re: [Mono-dev] [PATCH] Fix float.Parse, float.TryParse and XmlConvert.ToString for float.MaxValue, float.PositiveInfinity and TimeSpan.MinValue

2010-01-27 Thread Tiaan Geldenhuys
2010 11:43 PM To: Tiaan Geldenhuys Cc: mono-devel-list@lists.ximian.com Subject: Re: [PATCH] Fix float.Parse, float.TryParse and XmlConvert.ToString for float.MaxValue, float.PositiveInfinity and TimeSpan.MinValue The patch was checked in trunk and 2.6. Thanks. Atsushi Eno Tiaan Geldenhuys wrote

[Mono-dev] [PATCH] Fix Roles.IsUserInRole and enhance WebTest Framework

2010-02-11 Thread Tiaan Geldenhuys
roved, one can expand on this for all the other Roles methods. Please review and commit. Thank you, Tiaan. NOTE: The patch files can be used without changes on both trunk and the 2.6 branch. --- [System.Web.HttpUnhandledException]: Exception of type 'System.Web.HttpUnhandle

Re: [Mono-dev] [PATCH] Fix Roles.IsUserInRole and enhance WebTestFramework

2010-02-11 Thread Tiaan Geldenhuys
mmitted as IsNullOrEmpty. -Original Message- From: Eyal Alaluf [mailto:ey...@mainsoft.com] Sent: 11 February 2010 3:44 AM To: Tiaan Geldenhuys; mono-devel-list@lists.ximian.com Cc: mhabers...@novell.com Subject: RE: [Mono-dev] [PATCH] Fix Roles.IsUserInRole and enhance WebTestFramework

Re: [Mono-dev] [PATCH] Fix Roles.IsUserInRole and enhance WebTest Framework

2010-02-11 Thread Tiaan Geldenhuys
rk, WebTest.Run should only execute the next test after the updated Web.config has been loaded -- I've quickly tried this previously and ran into race conditions. Do you know of a way that this synchronization can be added to WebTest without too much trouble? Regards, Tiaan. -Origin

[Mono-dev] [PATCH] Fix HashSet when used with nulls and non-default comparer

2010-02-11 Thread Tiaan Geldenhuys
committing. (I hope those long expressions are right -- they seem to be though.) Thanks, Tiaan. --- [System.ArgumentNullException]: Argument cannot be null. Parameter name: s at System.OrdinalComparer.GetHashCode (string) <0x00066> at System.Collections.Generic.HashSet`1.GetItemHa

Re: [Mono-dev] [PATCH] Fix Roles.IsUserInRole and enhance WebTest Framework

2010-02-13 Thread Tiaan Geldenhuys
I always need to change this for Windows -- however, I haven't tried it with all the existing tests, but with the ones I have it doesn't seem to break things for Mono). Comments or commit? Regards, Tiaan. NOTE: Although the patch files are provided for the 2.6 branch, the four files that

[Mono-dev] [PATCH] XSP: FastCGI Backend should handle unmanaged socket error 10038 on close

2010-02-20 Thread Tiaan Geldenhuys
ion.Run () [0x0] in :0 at Mono.FastCgi.Server.OnAccept (IAsyncResult ares) [0x0] in :0 Marek, would you please verify or commit the patch? Or does this point to a more serious issue elsewhere, since it happens so frequently? Regards, Tiaan. Mono-WebServer-FastCgi_Unmanage