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

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

    grendello committed Nov 30, 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
  2. [asp.net] make sure the string we pass to DecryptAssemblyResource is …

    grendello committed Nov 30, 2010
    …a valid Base64 string
    
    Backport of commit 2a6bc36
  3. [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
  4. [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 Apr 22, 2010
  1. 2010-04-21 Veerapuram Varadhan <vvaradhan@novell.com>

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

    gonzalop committed Apr 22, 2010
    	* zlib-helper.c: don't call Z_FINISH if nothing has been written.
    
    
    svn path=/branches/mono-2-6-4/mono/; revision=155928
Commits on Apr 21, 2010
  1. Backport of r155842

    grendello committed Apr 21, 2010
    svn path=/branches/mono-2-6-4/mcs/; revision=155920
  2. Backport of r155840

    grendello committed Apr 21, 2010
    svn path=/branches/mono-2-6-4/mcs/; revision=155919
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-6/mcs/; revision=155396
  2. 2010-04-14 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Apr 14, 2010
    	* collection.c (_wapi_collection_init): Set stack size on openbsd similarly to
    	the other BSDs.
    
    svn path=/branches/mono-2-6/mono/; revision=155371
Commits on Apr 13, 2010
  1. 2010-04-13 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Apr 13, 2010
    	* Convert.cs (ToInt32): Do a checked cast. Fixes #596339.
    
    svn path=/branches/mono-2-6/mcs/; revision=155335
  2. Backport of r155331

    grendello committed Apr 13, 2010
    svn path=/branches/mono-2-6/mcs/; revision=155332
  3. 2010-04-13 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Apr 13, 2010
    	* method-to-ir.c (mono_method_to_ir): Disable generic sharing for constrained
    	calls where the constrained class needs a context. Fixes #595863.
    
    	* iltests.il.in: Add a test.
    
    svn path=/branches/mono-2-6/mono/; revision=155330
Commits on Apr 12, 2010
  1. Backport of r155270

    grendello committed Apr 12, 2010
    svn path=/branches/mono-2-6/mcs/; revision=155271
  2. Disable this test for the moment

    grendello committed Apr 12, 2010
    svn path=/branches/mono-2-6/mcs/; revision=155267
  3. Backport of r155262

    grendello committed Apr 12, 2010
    svn path=/branches/mono-2-6/mcs/; revision=155263
  4. fix glib dependency on SLE problem

    Andrew Jorgensen
    Andrew Jorgensen committed Apr 12, 2010
    svn path=/branches/mono-2-6/mono/; revision=155260
  5. fix glib dependency on SLE problem

    Andrew Jorgensen
    Andrew Jorgensen committed Apr 12, 2010
    svn path=/branches/mono-2-6/mono/; revision=155259
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-6/mcs/; revision=155217
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-6/mcs/; revision=155203
Commits on Apr 9, 2010
  1. 2010-04-09 Veerapuram Varadhan <vvaradhan@novell.com>

    vvaradhan committed Apr 9, 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-6/mcs/; revision=155179
  2. 2010-04-10 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Apr 9, 2010
    	* ThreadMirror.cs: Add a ThreadId property.
    
    svn path=/branches/mono-2-6/mcs/; revision=155177
  3. 2010-04-10 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Apr 9, 2010
    	* debugger-agent.c (thread_commands): Add a GET_ID command to get the
    	MonoInternalThread belonging to the thread.
    
    svn path=/branches/mono-2-6/mono/; revision=155175
  4. 2010-04-09 Veerapuram Varadhan <vvaradhan@novell.com>

    vvaradhan committed Apr 9, 2010
    	** DataColumn.cs (Clone): Fix a typo - use the member directly
    	instead of get/set property.
    
    svn path=/branches/mono-2-6/mcs/; revision=155168
  5. 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-6/mcs/; revision=155166
  6. 2010-04-09 Rodrigo Kumpera <rkumpera@novell.com>

    kumpera committed Apr 9, 2010
    	* verify.c (mono_method_verify): A switch op don't empty
    	the stack for the next one. Fixes a bug when running fsi
    	under --verify-all.
    
    svn path=/branches/mono-2-6/mono/; revision=155155
  7. 2010-04-09 Rodrigo Kumpera <rkumpera@novell.com>

    kumpera committed Apr 9, 2010
    	* metadata-verify.c (is_valid_standalonesig_blob): Accept
    	fields as valid standalone sig too. F# does generate them.
    
    	* metadata-verify.c (verify_typedef_table_full): Ignore
    	what <module> extends.
    
    svn path=/branches/mono-2-6/mono/; revision=155145
  8. 2010-04-09 Rodrigo Kumpera <rkumpera@novell.com>

    kumpera committed Apr 9, 2010
    	* verify.c (do_invoke_method): It's ok to do use call with
    	virtual, non-final methods if their class is sealed.
    
    svn path=/branches/mono-2-6/mono/; revision=155144
  9. Backport of r155140

    grendello committed Apr 9, 2010
    svn path=/branches/mono-2-6/mcs/; revision=155141
  10. 2010-04-09 Gonzalo Paniagua Javier <gonzalo@novell.com>

    gonzalop committed Apr 9, 2010
    	* mono-semaphore.c: account for the time already spent in wait if
    	interrupted.
    
    
    svn path=/branches/mono-2-6/mono/; revision=155120
  11. 2010-04-08 Rodrigo Kumpera <rkumpera@novell.com>

    kumpera committed Apr 9, 2010
    	* verify.h: Fix header.
    
    svn path=/branches/mono-2-6/mono/; revision=155109
  12. 2010-04-09 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Apr 9, 2010
    	* mono-time.c (get_boot_time): Applied more openbsd changes from Robert Nagy
    	<robert@openbsd.org>.
    
    svn path=/branches/mono-2-6/mono/; revision=155108
  13. 2010-04-09 Zoltan Varga <vargaz@gmail.com>

    vargaz committed Apr 9, 2010
    	* processes.c: Applied more openbsd changes from Robert Nagy <robert@openbsd.org>.
    
    svn path=/branches/mono-2-6/mono/; revision=155106