- 12 10月, 2010 23 次提交
-
-
由 Sebastien Pouliot 提交于
* 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
-
由 Sebastien Pouliot 提交于
* 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. * System.Web.UI/LosFormatter.cs: Adapt code for internal API change. Fix some small behaviro changes wrt NET_4_0 * System.Web.UI/ObjectStateFormatter.cs: Use the new common cryptographic code. * System.Web.UI/Page.cs: Remove code that is now unneeded (with the new common cryptogrraphic code). * System.Web.Configuration_2.0/MachineKeyCompatibilityMode.cs: New. * Test/System.Web.Configuration/MachineKeyValidationConverterTest.cs: Add more, mostly 4.0, test cases. * Test/System.Web.Security/FormsAuthenticationTest.cs: Add test case to ensure HashPasswordForStoringInConfigFile is not case sensitive. * Test/System.Web.UI/LosFormatterTest.cs: Add some rountrip test cases with the different ctors
-
由 Paolo Molaro 提交于
* console-io.h, console-null.c, console-unix.c, console-win32.c, gc.c: instead of executing tons of managed code in signal context, we wake up the finalizer thread and any complex console-specific code will be handled there. This can cause a (usually small) delay, but it's much better than deadlocking.
-
由 Paolo Molaro 提交于
* loader.c: we don't search the current directory anymore for shared libraries referenced in DllImport attributes, as it has a slight security risk. We search in the same directory where the referencing image was loaded from, instead. Fixes bug# 641915.
-
由 Marek Habersack 提交于
-
由 Zoltan Varga 提交于
-
由 Zoltan Varga 提交于
-
由 Marek Safar 提交于
-
由 Marek Safar 提交于
-
由 Marek Safar 提交于
-
由 Marek Safar 提交于
-
由 Marek Safar 提交于
-
由 Rodrigo Kumpera 提交于
* class.c (mono_class_setup_vtable): Fail the class if we fail to load its overloads. Fixes #562156
-
由 Jonathan Pryor 提交于
IsolatedStorageFile.GetUserStoreForApplication() would previously throw an IsolatedStorageException because no ApplicationIdentity was provided by the AppDomain. We would like to provide this method in a workable fashion to facilitate code portability with Windows Phone 7, which exposes only this method for saving files to stable storage. Thus, skip the ApplicationIdentity and code identity checks for MOBILE (MonoDroid, MonoTouch) so that IsolatedStorage Just Works.
-
由 Rodrigo Kumpera 提交于
-
由 Rodrigo Kumpera 提交于
* verify.c (mono_verifier_verify_class): Don't allow parent to be a GTD. Fixes #562150
-
由 Rodrigo Kumpera 提交于
-
由 Rodrigo Kumpera 提交于
-
由 Rodrigo Kumpera 提交于
* verify.c (is_valid_generic_instantiation): A GTD cannot be used as generic argument. Check for those conditions even if the argument has no constraints. Fixes #562771
-
由 Rodrigo Kumpera 提交于
* mini-exceptions.c (mono_find_jit_info): Treat dynamic method wrappers as managed methods. * DynamicMethodTest.cs: Add test for GetCurrentMethod. Fixes #640702
-
由 Rodrigo Kumpera 提交于
-
由 Rodrigo Kumpera 提交于
* verify.c (verify_generic_parameters): If a generic constraint is a generic instance, it must respect the constraint of that type too. Fixes #644935
-
由 Marek Safar 提交于
-
- 11 10月, 2010 5 次提交
-
-
由 Gonzalo Paniagua Javier 提交于
-
由 Zoltan Varga 提交于
-
由 Zoltan Varga 提交于
-
由 Ankit Jain 提交于
-
由 Marek Safar 提交于
-
- 09 10月, 2010 12 次提交
-
-
由 Atsushi Eno 提交于
-
由 Atsushi Eno 提交于
Add couple of (not-working) object reader testcases. Add some comments and commented code on XamlObjectReader.
-
由 Rodrigo Kumpera 提交于
* marshal.c (mono_marshal_get_virtual_stelemref): Add a custom wrapper for interface casts. This was the most frequent array kind left without a fast stelem.ref wrapper. During testing the only easy target left was arrays of arrays, but those are so rare that won't make a different on any workload.
-
由 Rodrigo Kumpera 提交于
* class.c (mono_class_setup_vtable_general): Inject the array stelemref method on vectors of reference types. * class.c (mono_class_init): Properly handle the fact that arrays have different vtable sizes. * marshal.c (mono_marshal_get_virtual_stelemref): New function that returns a better tailored stelemref wrapper for a given array type. * method-to-ir.c (mono_method_to_ir): Emit a virtual call to the new faster stelemref wrapper. This schema uses 4 wrappers instead of one and puts it into the vtable of vectors of reference types. This change improves a synthetic benchmark of an equal mix of stores as compiling corlib by 25%. It improves pystones by 3-4%.
-
由 Sebastien Pouliot 提交于
-
由 Sebastien Pouliot 提交于
-
由 Sebastien Pouliot 提交于
* System.Web/System.Web/HttpResponse.cs: Ensure '?' is not encoded as %3F while redirecting (e.g. aspxerrorpath) since this can cause a loop. i.e. not found leading to not found... * System/System/Test/System/UriBuilderTest.cs: Add test to confirm the right behavior of UriBuilder wrt how it was used by Mono's ASP.NET
-
由 Gonzalo Paniagua Javier 提交于
workingBlock should be the InputBlockSize and currentBlock the OutputBlockSize. Allocate currentBlock lazily. Test contributed by Bassam Tabbara. Fixes bug #644740.
-
由 Gonzalo Paniagua Javier 提交于
Throw on invalid enum value in the ctor.
-
由 Gonzalo Paniagua Javier 提交于
Dispose calls FlushFinalBlock (even for Read mode) and this in turn calls either FlushFinalBlock or Flush on the underlying stream.
-
由 Gonzalo Paniagua Javier 提交于
Marshal.SizeOf is now returning the expected values for explicit layout in 32 and 64 bits systems. Fixes bug #641535.
-
由 Marek Safar 提交于
-