Permalink
Switch branches/tags
Commits on Mar 23, 2011
Commits on Dec 1, 2010
  1. Fix randomly failing unit test

    Sebastien Pouliot committed with grendello Nov 30, 2010
    * MachineKeySectionUtilsTest.cs: Do not assume xor will change a byte
  2. [asp.net] Part of fix for bug #649546. A partial rewrite of the web/s…

    grendello committed Dec 1, 2010
    …cript resource handler.
    
       Backport of commit a9cb57c
    
        * System.Web/System.Web.Handlers/AssemblyResourceLoader.cs: AssemblyResourceLoader/ScriptResourceHandler must
          always generate the same URL for every assembly+resource pair, or otherwise the browser would re-fetch
          the resource in situations where it is not desired (e.g. during an async request to the server to update
          a panel).
          The generated URLs are not encrypted using real encryption, just hashed.
          In addition, the handler code got modernized a bit.
    
        * System.Web.Extensions/System.Web.UI/ScriptManager.cs: scriptStartupBlock is a 3.5+ thing
    
        * System.Web.Extensions_1.0/Makefile: use the 1.0 Microsoft AJAX library for this compat assembly
    
        * System.Web/System.Web.Util/MachineKeySectionUtils.cs: made GetValidationKey public
  3. [asp.net] make sure the string we pass to DecryptAssemblyResource is …

    grendello committed Dec 1, 2010
    …a valid Base64 string
    
    Backport of commit 2a6bc36
Commits on Nov 30, 2010
  1. [asp.net] A few moves/changes following previous patch review

    grendello committed Nov 30, 2010
       Backport of commit 21d2c6a
    
        * Makefile: Compile tests with TEST defined (to include System.Web.Util.
        MachineKeySectionUtils unit tests)
        * System.Web.dll.sources: Move MachineKeySectionUtils.cs from System.
        Web.Configuration_2.0 to System.Web.Util
        * System.Web_test.dll.sources: Move MachineKeySectionUtilsTest.cs from
        System.Web.Configuration_2.0 to System.Web.Util
    
        * System.Web.Configuration_2.0/MachineKeySection.cs: Adjust using
        clauses. Uncomment some code. Fix TripleDES versus 3DES for Validation
        under NET_4_0. Remove 'private' on fields/methods.
        * System.Web.Handlers/AssemblyResourceLoader.cs: Adjust using clauses
        * System.Web.Security/MembershipHelper.cs: Adjust using clauses
        * System.Web.Security/RolePrincipal.cs: Adjust using clauses
        * System.Web.SessionState_2.0/SessionId.cs: Adjust using clauses
        * System.Web.UI/LosFormatter.cs: Adjust using clauses.
        * System.Web.Util/MachineKeySectionUtils.cs: Moved from System.Web.
        Configuration_2.0. Rename namespace and remove 'internal' on type
        declaration
    
        * Test/System.Web.Util/MachineKeySectionUtilsTest.cs: Moved from Test/
        System.Web.Configuration/MachineKeySectionTest.cs. Add test case for
        TripleDES versus 3DES
  2. [asp.net] Normalization of cryptographic uses in asp.net.

    grendello committed Nov 30, 2010
       Backport of commit a22389f
           Normalization of cryptographic uses in asp.net
    
        * System.Web.Configuration_2.0/MachineKeyRegistryStorage.cs:
        Remove key length check and generic key generation.
    
        * System.Web.Configuration_2.0/MachineKeySection.cs: Add support for 4.0
        ValidationAlgorithm and the use of custom algorithms (validation and
        decryption). Allow the use of any, valid, key length (based on the
        algorithm). Let each algorithm creates its own key (e.g. special needs,
        default length...)
    
        * System.Web.Configuration_2.0/MachineKeySectionUtils.cs: Remove key
        generation (from random) code and 192bits key length hack (won't work
        with custom algorithms). Add support for new (4.0) algorithms, including
        custom ones. Provide uniform/shared code to Encrypt/Decrypt, Sign/Verify
        and EncryptSign/VerifyDecrypt using MachineKeySection data.
    
        * System.Web.Configuration_2.0/MachineKeyValidation.cs: Add new (4.0)
        values.
    
        * System.Web.Configuration_2.0/MachineKeyValidationConverter.cs: Add
        support for new (4.0) algorithms.
    
        * System.Web.Handlers/AssemblyResourceLoader.cs: Use the new common
        cryptographic code and base64 the encrypted data.
    
        * System.Web.Security/FormsAuthentication.cs: Use the new common
        cryptographic code and base64 the signed and/or encrypted data.
    
        * System.Web.Security/MembershipHelper.cs: Use the new common
        cryptographic code - this should be 100% compatible with existing data.
    
        * System.Web.Security/RolePrincipal.cs: Use the new common cryptographic
        code.
    
        * System.Web.Security/SqliteMembershipProvider.cs: Adapt code for
        internal API change.
Commits on Jul 23, 2010
  1. backport of 4613d59

    vvaradhan committed Jul 23, 2010
    2010-07-23  Veerapuram Varadhan  <v.varadhan@gmail.com>
    
    	** Fixes #623451
    	* DataColumnCollection.cs (MoveColumn): Fix shifting of
    	DataColumn according to the direction of movement.
  2. backport of 2ec0a00

    vvaradhan committed Jul 23, 2010
    2010-07-23  Veerapuram Varadhan  <v.varadhan@gmail.com>
    
    	** Fixes #565616 - Based on Patch by Hubert FONGARNAND
    	* DataContainer.cs (GetContainerData): If typecode is string,
    	call Convert.ToString() irrespective of whether value is
    	IConvertible or not.
Commits on Jul 6, 2010
  1. backport of r159962

    vvaradhan committed Jul 6, 2010
    2010-07-06  Veerapuram Varadhan  <vvaradhan@novell.com>
    
            ** Fixes #609109
            * TdsComm.cs (Append[DateTime]): Handle datetime values sanely
            that are less than epoch.
    
    svn path=/branches/mono-2-4/mcs/; revision=159970
Commits on Jul 3, 2010
  1. backport of r159851

    vvaradhan committed Jul 3, 2010
    2010-07-03  Veerapuram Varadhan  <vvaradhan@novell.com>
    
    	** Fixes #609935
    	* TdsMetaParameter.cs (Prepare): Use GetActualSize() instead of
    	* Size
    	property to calculate the length of a nvarchar param.
    
    svn path=/branches/mono-2-4/mcs/; revision=159855
Commits on Jun 23, 2010
  1. 2010-06-23 Veerapuram Varadhan <vvaradhan@novell.com>

    vvaradhan committed Jun 23, 2010
    	** Fixes #581679
    	* DataRelationCollection.cs (Add, Remove): Use DataRelation obj
    	instead of this when raising OnCollectionChang(ing, ed) events.
    
    svn path=/branches/mono-2-4/mcs/; revision=159449
Commits on Jun 15, 2010
  1. 2010-06-15 Veerapuram Varadhan <vvaradhan@novell.com>

    vvaradhan committed Jun 15, 2010
    	** Fixes #613087
    	* Tds70.cs (BuildPreparedParameters, BuildProcedureCall): Set
    	* default
    	precision to 18 as used by MS.Net when connecting to SqlServer
    7.0.
    
    svn path=/branches/mono-2-4/mcs/; revision=158954
Commits on May 29, 2010
  1. 2010-05-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed May 29, 2010
    	* FileStream.cs: backport of Miguel's r145271 that fixes bug #531613.
    
    
    svn path=/branches/mono-2-4/mcs/; revision=158148
Commits on May 19, 2010
  1. 2010-05-19 Zoltan Varga <vargaz@gmail.com>

    vargaz committed May 19, 2010
    	* marshal.c (get_runtime_invoke_type): Backport some fixes from HEAD to fix
    	sharing issues.
    
    svn path=/branches/mono-2-4/mono/; revision=157564
Commits on Apr 21, 2010
  1. 2010-04-21 Veerapuram Varadhan <vvaradhan@novell.com>

    vvaradhan committed Apr 21, 2010
    	** Fixes #595918
    	* Tds70.cs (WriteParameterInfo.cs): Write updated decimal value
    	according to specified scale value.
    
    svn path=/branches/mono-2-4/mcs/; revision=155914
Commits on Apr 20, 2010
  1. 2010-04-20 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed Apr 20, 2010
    	* ChunkStream.cs: ignore chunk extensions when reading the chunk
    	size. Fixes bug #597556.
    
    
    svn path=/branches/mono-2-4/mcs/; revision=155817
Commits on Apr 19, 2010
  1. 2010-04-19 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed Apr 19, 2010
    	* zlib-helper.c: don't call Z_FINISH if nothing has been written.
    
    
    svn path=/branches/mono-2-4/mono/; revision=155766
Commits on Apr 16, 2010
  1. 2010-04-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed Apr 16, 2010
    	* HttpWebRequest.cs: set content length to -1 on redirect. Reset
    	'FinishedReading' on redirects. Fixes bug #593596.
    
    
    svn path=/branches/mono-2-4/mcs/; revision=155606
Commits on Apr 15, 2010
  1. 2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed Apr 15, 2010
    	* socket-io.c: make GetHostByName ("") work on windows.
    	Fixes bug #456723.
    
    
    svn path=/branches/mono-2-4/mono/; revision=155468
Commits on Apr 14, 2010
  1. 2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed Apr 14, 2010
    	* DeflateStream.cs: the delegate uses Cdecl calling convention on
    	windows too. Fixes bug #574713.
    
    
    svn path=/branches/mono-2-4/mcs/; revision=155394
Commits on Apr 11, 2010
  1. 2010-04-11 Veerapuram Varadhan <vvaradhan@novell.com>

    vvaradhan committed Apr 11, 2010
    	** Fixes #591443
    	* DataColumn.cs (Clone): Use property to clone Expression as it
    	* builds
    	compiled expression also, if any.
    
    svn path=/branches/mono-2-4/mcs/; revision=155218
Commits on Apr 10, 2010
  1. 2010-04-10 Veerapuram Varadhan <vvaradhan@novell.com>

    vvaradhan committed Apr 10, 2010
    	** Fixes #589482
    	* DataColumn.cs (set_DataType): Preserve autoIncrement value
    	for Decimal types as well.
    
    svn path=/branches/mono-2-4/mcs/; revision=155204
  2. 2010-04-09 Veerapuram Varadhan <vvaradhan@novell.com>

    vvaradhan committed Apr 10, 2010
    	** Fixes #576520 - Based on a patch by Greg SIROU
    <gspam@secway.fr>
    	* DataSet.cs (WriteColumnAsElement): Handle system.object types
    	* sanely.
    
    svn path=/branches/mono-2-4/mcs/; revision=155194
Commits on Apr 9, 2010
  1. 2010-04-09 Veerapuram Varadhan <vvaradhan@novell.com>

    vvaradhan committed Apr 9, 2010
    	** Fixes #590232
    	* DataColumn.cs (Clone):  Clone extended properties as well.
    
    svn path=/branches/mono-2-4/mcs/; revision=155167
Commits on Apr 7, 2010
  1. 2010-04-07 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed Apr 7, 2010
    	* DeflateStream.cs: always use Cdecl, since the library is compiled
    	using that calling convention in windows too.
    
    
    svn path=/branches/mono-2-4/mcs/; revision=155014
  2. 2010-04-07 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed Apr 7, 2010
    	* zlib-helper.c: now that we don't use Z_SYNC_FLUSH, there might be
    	unflushed input in zstream, so always call Z_FINISH.
    
    
    svn path=/branches/mono-2-4/mono/; revision=154997
  3. 2010-04-07 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed Apr 7, 2010
    	* file-io.c: reset the MonoIOStat structure in case of error.
    	Fixes bug #582667.
    
    
    svn path=/branches/mono-2-4/mono/; revision=154907
Commits on Apr 4, 2010
  1. configure: Fix typo

    afaerber committed Apr 4, 2010
    Backport of r154764: It's "initializer".
    
    	* configure.in: Fix typo.
    
    This commit is licensed under the MIT X11 license.
    
    svn path=/branches/mono-2-4/mono/; revision=154767
Commits on Mar 31, 2010
  1. 2010-04-01 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Mar 31, 2010
    	* method-to-ir.c (handle_ccastclass): Call save_cast_details (). Fixes
    	#592711.
    
    svn path=/branches/mono-2-4/mono/; revision=154577
Commits on Mar 30, 2010
  1. undo

    gonzalop committed Mar 30, 2010
    svn path=/branches/mono-2-4/mcs/; revision=154500
  2. 2010-03-30 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed Mar 30, 2010
    	* System.Web.UI/PageParser.cs:
    	* System.Web.UI/Page.cs:
    	* System.Web.Configuration/PagesConfiguration.cs:
    	* System.Web.Compilation/PageCompiler.cs: default for
    	EnableViewStateMac is true. Allow setting it from a @Page
    	directive.
    
    
    
    svn path=/branches/mono-2-4/mcs/; revision=154496
Commits on Mar 27, 2010
  1. 2010-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed Mar 27, 2010
    	* HttpWebRequest.cs: when PreAuthenticate is true, don't remove the
    	existing authorization related headers until we know we have a
    	replacement. Fixes bug #591633.
    
    
    svn path=/branches/mono-2-4/mcs/; revision=154346
Commits on Mar 26, 2010
  1. backport of r154262

    vvaradhan committed Mar 26, 2010
    svn path=/branches/mono-2-4/mcs/; revision=154267
  2. backport of r154261

    vvaradhan committed Mar 26, 2010
    svn path=/branches/mono-2-4/mcs/; revision=154266
Commits on Mar 24, 2010
  1. 2010-03-24 Sebastien Pouliot <sebastien@ximian.com>

    Sebastien Pouliot committed Mar 24, 2010
    	* ASN1Convert.cs: Specify CultureInfo.InvariantCulture (instead of 
    	null) to avoid crash on Windows. Patch by Yoni Shalom.
    	[Backport r154135]
    
    
    svn path=/branches/mono-2-4/mcs/; revision=154137