Switch branches/tags
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. [] 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. [] make sure the string we pass to DecryptAssemblyResource is …

    …a valid Base64 string
    Backport of commit 2a6bc36
    grendello committed Nov 30, 2010
  3. [] 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
        * 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. [] Normalization of cryptographic uses in

       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.
    grendello committed Nov 30, 2010
Commits on Mar 12, 2009
  1. 2009-03-11 Gonzalo Paniagua Javier <>

    	* 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
    gonzalop committed Mar 12, 2009
Commits on Mar 11, 2009
  1. 2009-03-11 Zoltan Varga <>

    	* 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
    vargaz committed Mar 11, 2009
  2. 2009-03-11 Mark Probst <>

    	* 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
    schani committed Mar 11, 2009
Commits on Mar 10, 2009
  1. 2009-03-10 Zoltan Varga <>

    	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
    vargaz committed Mar 10, 2009
  2. Backport of r128972

    svn path=/branches/mono-2-4/mcs/; revision=128973
    grendello committed Mar 10, 2009
  3. 2009-03-10 Zoltan Varga <>

    	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
    vargaz committed Mar 10, 2009
  4. Backport from 128830

    svn path=/branches/mono-2-4/mcs/; revision=128925
    migueldeicaza committed Mar 10, 2009
Commits on Mar 9, 2009
  1. 2009-03-09 Mark Probst <>

            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
    schani committed Mar 9, 2009
  2. 2009-03-09 Mark Probst <>

    	* 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
    schani committed Mar 9, 2009
  3. 2009-03-08 Rodrigo Kumpera <>

    	Backport of r128853.
    	* appdomain.c (get_shadow_assembly_location): Fix memleak.
    svn path=/branches/mono-2-4/mono/; revision=128882
    kumpera committed Mar 9, 2009
Commits on Mar 8, 2009
  1. 2009-03-08 Marek Safar <>

    	* class.cs: Use correct common base type for unmanaged delayed
    	* rootcontext.cs: Wrap unhandled exception.
    svn path=/branches/mono-2-4/mcs/; revision=128854
    marek-safar committed Mar 8, 2009
Commits on Mar 7, 2009
  1. 2009-03-06 Gonzalo Paniagua Javier <>

    	* 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
    gonzalop committed Mar 7, 2009
Commits on Mar 6, 2009
  1. 2009-03-05 Tom Hindle <>

    	* Marshal.cs: Implemented GenerateGuidForType
    svn path=/branches/mono-2-4/mcs/; revision=128809
    migueldeicaza committed Mar 6, 2009
  2. Backport

    svn path=/branches/mono-2-4/mcs/; revision=128808
    migueldeicaza committed Mar 6, 2009
  3. Backport of r128801

    svn path=/branches/mono-2-4/mcs/; revision=128802
    grendello committed Mar 6, 2009
  4. Backport of r128799

    svn path=/branches/mono-2-4/mcs/; revision=128800
    grendello committed Mar 6, 2009
  5. Backport of r128796

    svn path=/branches/mono-2-4/mcs/; revision=128797
    grendello committed Mar 6, 2009
  6. Backport of r128793

    svn path=/branches/mono-2-4/mcs/; revision=128794
    grendello committed Mar 6, 2009
  7. 2009-03-06 Zoltan Varga <>

    	* 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
    vargaz committed Mar 6, 2009
  8. 2009-03-06 Zoltan Varga <>

    	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
    vargaz committed Mar 6, 2009
Commits on Mar 5, 2009
  1. 2009-03-05 Mark Probst <>

    	* 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
    schani committed Mar 5, 2009
  2. Backport of r128714

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

    	* 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
    Bill Holmes committed Mar 5, 2009
  4. 2009-03-05 Mark Probst <>

    	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
    schani committed Mar 5, 2009
  5. 2009-03-05 Marek Safar <>

    	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
    marek-safar committed Mar 5, 2009
Commits on Mar 4, 2009
  1. ***** Backport of r128549 *****

    svn path=/branches/mono-2-4/mono/; revision=128622
    Martin Baulig committed Mar 4, 2009
  2. ***** Backport of r128556 *****

    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
    Martin Baulig committed Mar 4, 2009
  3. ***** Backport of r128544 *****

    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
    Martin Baulig committed Mar 4, 2009
  4. Backport of r128602

    svn path=/branches/mono-2-4/mcs/; revision=128603
    grendello committed Mar 4, 2009