Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: mono-2-4-0
Commits on Mar 23, 2011
  1. @grendello
Commits on Dec 1, 2010
  1. @grendello

    Fix randomly failing unit test

    Sebastien Pouliot authored grendello committed
    * MachineKeySectionUtilsTest.cs: Do not assume xor will change a byte
Commits on Nov 30, 2010
  1. @grendello

    [] Part of fix for bug #649546. A partial rewrite of the web/s…

    grendello authored
    …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. @grendello

    [] make sure the string we pass to DecryptAssemblyResource is …

    grendello authored
    …a valid Base64 string
    Backport of commit 2a6bc36
  3. @grendello

    [] A few moves/changes following previous patch review

    grendello authored
       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
        * Test/System.Web.Util/MachineKeySectionUtilsTest.cs: Moved from Test/
        System.Web.Configuration/MachineKeySectionTest.cs. Add test case for
        TripleDES versus 3DES
  4. @grendello

    [] Normalization of cryptographic uses in

    grendello authored
       Backport of commit a22389f
           Normalization of cryptographic uses in
        * 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)
        * 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
        * System.Web.Security/SqliteMembershipProvider.cs: Adapt code for
        internal API change.
Commits on Mar 12, 2009
  1. @gonzalop

    2009-03-11 Gonzalo Paniagua Javier <>

    gonzalop authored
    	* InotifyWatcher.cs: don't send events when a directory is created
    	unless it matches the pattern.  Fixes bug #484082.
    svn path=/branches/mono-2-4-0/mcs/; revision=129114
Commits on Mar 11, 2009
  1. @vargaz

    2009-03-11 Zoltan Varga <>

    vargaz authored
    	* mini-amd64.c (mono_arch_output_basic_block): Fix % 1. Fixes #484323.
    	* basic.cs: Add a test.
    svn path=/branches/mono-2-4/mono/; revision=129066
  2. @schani

    2009-03-11 Mark Probst <>

    schani authored
    	* mini-x86.c (mono_arch_output_basic_block): Use different
    	registers in case the ones we want to overwrite are used by the
    	other operand.  Fixes regression in #480807.
    	Backport of r129058.
    svn path=/branches/mono-2-4/mono/; revision=129064
Commits on Mar 10, 2009
  1. @vargaz

    2009-03-10 Zoltan Varga <>

    vargaz authored
    	Backport of r129009.
    	* reflection.c (ensure_complete_type): New helper function to call
    	type resolve handlers for unfinished dynamic types.
    	(resolve_object): Call it for MonoClassFields. Fixes #483852.
    svn path=/branches/mono-2-4/mono/; revision=129010
  2. @grendello

    Backport of r128972

    grendello authored
    svn path=/branches/mono-2-4/mcs/; revision=128973
  3. @vargaz

    2009-03-10 Zoltan Varga <>

    vargaz authored
    	Backport of r128924.
    	* mini-s390x.c: Fix support for vtypes whose addresses are passed on the
    svn path=/branches/mono-2-4/mono/; revision=128926
  4. @migueldeicaza

    Backport from 128830

    migueldeicaza authored
    svn path=/branches/mono-2-4/mcs/; revision=128925
Commits on Mar 9, 2009
  1. @schani

    2009-03-09 Mark Probst <>

    schani authored
            Contributed under the terms of the MIT/X11 license by Steven
            Munroe <>.
            * mini-ppc.c: Correct handling of OP_LOADI4_MEMINDEX for ppc64.
            Fixes #483462.
            Backport of r128904.
    svn path=/branches/mono-2-4/mono/; revision=128905
  2. @schani

    2009-03-09 Mark Probst <>

    schani authored
    	* mini-trampolines.c (mono_create_jump_trampoline): If the method
    	is shared generic code, return the trampoline, even if the method
    	has already been compiled.  Fixes #479763.
    	* mini.c, mini.h: New function
    	mono_jit_find_compiled_method_with_jit_info() which is the same as
    	mono_jit_find_compiled_method() but also returns the jit info.
    	Backport of r128723.
    2009-03-09  Mark Probst  <>
    	* generic-sharing.c (instantiate_other_info): Always return a jump
    	trampoline for method code.
    	Backport of r128723.
    2009-03-09  Mark Probst  <>
    	* bug-479763.2.cs: New test.
    	* Test added.
    	Backport of r128723.
    svn path=/branches/mono-2-4/mono/; revision=128903
  3. @kumpera

    2009-03-08 Rodrigo Kumpera <>

    kumpera authored
    	Backport of r128853.
    	* appdomain.c (get_shadow_assembly_location): Fix memleak.
    svn path=/branches/mono-2-4/mono/; revision=128882
Commits on Mar 8, 2009
  1. @marek-safar

    2009-03-08 Marek Safar <>

    marek-safar authored
    	* class.cs: Use correct common base type for unmanaged delayed
    	* rootcontext.cs: Wrap unhandled exception.
    svn path=/branches/mono-2-4/mcs/; revision=128854
Commits on Mar 7, 2009
  1. @gonzalop

    2009-03-06 Gonzalo Paniagua Javier <>

    gonzalop authored
    	* ResourceSet.cs: for custom resource sets without a reader, pretende
    	that's we've already read the stream.
    svn path=/branches/mono-2-4/mcs/; revision=128815
Commits on Mar 6, 2009
  1. @migueldeicaza

    2009-03-05 Tom Hindle <>

    migueldeicaza authored
    	* Marshal.cs: Implemented GenerateGuidForType
    svn path=/branches/mono-2-4/mcs/; revision=128809
  2. @migueldeicaza


    migueldeicaza authored
    svn path=/branches/mono-2-4/mcs/; revision=128808
  3. @grendello

    Backport of r128801

    grendello authored
    svn path=/branches/mono-2-4/mcs/; revision=128802
  4. @grendello

    Backport of r128799

    grendello authored
    svn path=/branches/mono-2-4/mcs/; revision=128800
  5. @grendello

    Backport of r128796

    grendello authored
    svn path=/branches/mono-2-4/mcs/; revision=128797
  6. @grendello

    Backport of r128793

    grendello authored
    svn path=/branches/mono-2-4/mcs/; revision=128794
  7. @vargaz

    2009-03-06 Zoltan Varga <>

    vargaz authored
    	* arm/tramp.c: Include a change from the debian patches. Avoid #include-ing
    	a file in the middle of a function.
    svn path=/branches/mono-2-4/mono/; revision=128784
  8. @vargaz

    2009-03-06 Zoltan Varga <>

    vargaz authored
    	Backport of r128749.
    	* method-to-ir.c (mini_emit_memset): Fix the handling of size '3'. Fixes
    	* Add a test.
    svn path=/branches/mono-2-4/mono/; revision=128751
Commits on Mar 5, 2009
  1. @schani

    2009-03-05 Mark Probst <>

    schani authored
    	* method-to-ir.c (mono_method_to_ir): Only force the vtable var
    	for methods which actually have one.  For all other methods, make
    	sure the this argument var is live the whole method.
    	* mini.c (mini_method_compile): Every shared method has a
    	this/vtable/mrgctx info.  Fixes #480807.
    	Backport of r128720.
    svn path=/branches/mono-2-4/mono/; revision=128724
  2. @grendello

    Backport of r128714

    grendello authored
    svn path=/branches/mono-2-4/mono/; revision=128715
  3. 2009-03-05 Bill Holmes <>

    Bill Holmes authored
    	* mono.def : Removing missing methods to remove link errors for
    	  MSVC build.  
    	Code is contributed under MIT/X11 license.
    svn path=/branches/mono-2-4/mono/; revision=128712
  4. @schani

    2009-03-05 Mark Probst <>

    schani authored
    	Contributed under the terms of the MIT/X11 license by Steven
    	Munroe <>.
    	* mini-ppc.c, mini-ppc.h: Implement TLS for PPC64.
    	Backport of r127060.
    2009-03-05  Mark Probst  <>
    	Contributed under the terms of the MIT/X11 license by Steven
    	Munroe <>.
    	* mono-compiler.h: MONO_THREAD_VAR_OFFSET for PPC(64).
    	Backport of r127060.
    svn path=/branches/mono-2-4/mono/; revision=128711
  5. @marek-safar

    2009-03-05 Marek Safar <>

    marek-safar authored
    	A fix for bug #480100
    	* parameter.cs: A parameter is not hoisted when used directly as ET.
    svn path=/branches/mono-2-4/mcs/; revision=128680
Commits on Mar 4, 2009
  1. ***** Backport of r128549 *****

    Martin Baulig authored
    svn path=/branches/mono-2-4/mono/; revision=128622
  2. ***** Backport of r128556 *****

    Martin Baulig authored
    2009-03-04  Martin Baulig  <>
    	* debug-mini.c: Clean up the exception API and add documentation.
    	(mono_debugger_handle_exception): New public method; this is
    	called when throwing an exception or encountering an unhandled one.
    	(mono_debugger_call_exception_handler): Formerly known as
    	mono_debugger_handle_exception(); this is used to tell the
    	debugger that we're about to invoke an exception handler.
    svn path=/branches/mono-2-4/mono/; revision=128614
  3. ***** Backport of r128544 *****

    Martin Baulig authored
    2009-03-04  Martin Baulig  <>
    	* debug-mini.c (mono_debugger_runtime_invoke): Moved here from
    	../metadata/mono-debug-debugger.c; save and reset exception state.
    2009-03-02  Martin Baulig  <>
    	* debug-mini.c: Moved the debugger exception handling here from
    	* debug-mini.h
    	(MonoDebuggerExceptionAction): New exception typedef.
    	* debug-mini.c
    	(MonoDebuggerThreadInfo): Added `MonoObject *last_exception'.
    	* exceptions-amd64.c
    	(mono_amd64_throw_exception): Use the new debugger exception
    	handling code.
    	* mini-exceptions.c
    	(mono_handle_exception_internal): Don't call
    	mono_debugger_unhandled_exception() here.
    2009-03-04  Martin Baulig  <>
    	* mono-debug.h
    	(mono_debugger_runtime_invoke): Removed.
    	* mono-debug-debugger.c
    	(mono_runtime_invoke): Moved into ../mini/debug-mini.c.
    2009-03-02  Martin Baulig  <>
    	* mono-debug.h
    	(mono_debugger_unhandled_exception): Removed.
    	(mono_debugger_handle_exception): Removed.
    	(mono_debugger_throw_exception): Removed.
    	* mono-debug.h (MONO_DEBUGGER_MINOR_VERSION): Bump to 1.
    	* mono-debug.c
    	(mono_debug_debugger_version): Bump to 5.
    	* mono-debug-debugger.c: Moved the exception handling code to
    svn path=/branches/mono-2-4/mono/; revision=128613
  4. @grendello

    Backport of r128602

    grendello authored
    svn path=/branches/mono-2-4/mcs/; revision=128603
Something went wrong with that request. Please try again.