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

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

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

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

     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
    grendello committed Nov 30, 2010
  4. [asp.net] Normalization of cryptographic uses in asp.net.

     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.
    grendello committed Nov 30, 2010
Commits on Apr 22, 2010
  1. 2010-04-21 Veerapuram Varadhan <vvaradhan@novell.com>

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

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

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

    svn path=/branches/mono-2-6-4/mcs/; revision=155919
    grendello committed Apr 21, 2010
Commits on Apr 14, 2010
  1. 2010-04-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

    	* DeflateStream.cs: the delegate uses Cdecl calling convention on
    	windows too. Fixes bug #574713.
    
    
    svn path=/branches/mono-2-6/mcs/; revision=155396
    gonzalop committed Apr 14, 2010
  2. 2010-04-14 Zoltan Varga <vargaz@gmail.com>

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

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

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

    	* 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
    vargaz committed Apr 13, 2010
Commits on Apr 12, 2010
  1. Backport of r155270

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

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

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

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

    svn path=/branches/mono-2-6/mono/; revision=155259
    Andrew Jorgensen committed Apr 12, 2010
Commits on Apr 11, 2010
  1. 2010-04-11 Veerapuram Varadhan <vvaradhan@novell.com>

    	** 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
    vvaradhan committed Apr 11, 2010
Commits on Apr 10, 2010
  1. 2010-04-10 Veerapuram Varadhan <vvaradhan@novell.com>

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

    	** 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
    vvaradhan committed Apr 9, 2010
  2. 2010-04-10 Zoltan Varga <vargaz@gmail.com>

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

    	* 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
    vargaz committed Apr 9, 2010
  4. 2010-04-09 Veerapuram Varadhan <vvaradhan@novell.com>

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

    	** Fixes #590232
    	* DataColumn.cs (Clone): Clone Extended properties as well.
    
    svn path=/branches/mono-2-6/mcs/; revision=155166
    vvaradhan committed Apr 9, 2010
  6. 2010-04-09 Rodrigo Kumpera <rkumpera@novell.com>

    	* 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
    kumpera committed Apr 9, 2010
  7. 2010-04-09 Rodrigo Kumpera <rkumpera@novell.com>

    	* 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
    kumpera committed Apr 9, 2010
  8. 2010-04-09 Rodrigo Kumpera <rkumpera@novell.com>

    	* 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
    kumpera committed Apr 9, 2010
  9. Backport of r155140

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

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

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

    	* 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
    vargaz committed Apr 9, 2010
  13. 2010-04-09 Zoltan Varga <vargaz@gmail.com>

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