mono.git
13 years agoAdd *.xml to ignore list
Marek Safar [Fri, 5 Nov 2010 23:03:29 +0000 (23:03 +0000)]
Add *.xml to ignore list

13 years agoMerge branch 'marek'
Marek Safar [Fri, 5 Nov 2010 22:56:38 +0000 (22:56 +0000)]
Merge branch 'marek'

13 years agoImplement the new logging profiler on OSX
Geoff Norton [Fri, 5 Nov 2010 21:23:29 +0000 (17:23 -0400)]
Implement the new logging profiler on OSX

13 years agoDictionary key might be inappropriately serialized into an attribute.
Atsushi Eno [Fri, 5 Nov 2010 19:14:37 +0000 (04:14 +0900)]
Dictionary key might be inappropriately serialized into an attribute.

13 years agoAdd CookieParser to Moonlight's System.Net assembly
Sebastien Pouliot [Fri, 5 Nov 2010 18:38:12 +0000 (14:38 -0400)]
Add CookieParser to Moonlight's System.Net assembly

* moonlight_raw_System.Net.dll.sources: Add new CookieParser to the
build

13 years agoRefactoring to ease fix cookie support in moonlight client stack
Sebastien Pouliot [Fri, 5 Nov 2010 18:35:30 +0000 (14:35 -0400)]
Refactoring to ease fix cookie support in moonlight client stack

* System.Net/CookieParser.cs: Add more common/shared code
* System.Net/HttpWebResponse.cs: Move out CookieParser class and some
utility methods so they can be shared with Moonlight http client stack

* System.dll.sources:
* mobile_System.dll.sources:
* moonlight_shared_System.dll.sources:
Add new CookieParser.cs to the build

13 years agoAdd support for ContentPropertyAttribute (e.g. Reference) in XamlXmlWriter.
Atsushi Eno [Fri, 5 Nov 2010 18:32:08 +0000 (03:32 +0900)]
Add support for ContentPropertyAttribute (e.g. Reference) in XamlXmlWriter.

13 years agoImplement member pending at StartMember when it should be indeterminant. Lots of...
Atsushi Eno [Fri, 5 Nov 2010 18:18:15 +0000 (03:18 +0900)]
Implement member pending at StartMember when it should be indeterminant. Lots of code cleanup.

13 years agoEnlarge try-finally blocks preceeded by a Monitor.Enter () call to include the call...
Zoltan Varga [Fri, 5 Nov 2010 18:10:07 +0000 (19:10 +0100)]
Enlarge try-finally blocks preceeded by a Monitor.Enter () call to include the call itself, to avoid races inherent in such code. Fixes #651546.

13 years agoAdd new XamlXmlWriter implementation. Marked some as NotWorking while removed a lot.
Atsushi Eno [Fri, 5 Nov 2010 17:11:17 +0000 (02:11 +0900)]
Add new XamlXmlWriter implementation. Marked some as NotWorking while removed a lot.

13 years agoMarkupExtension type xml names are omitted their "Extension" parts.
Atsushi Eno [Fri, 5 Nov 2010 17:10:18 +0000 (02:10 +0900)]
MarkupExtension type xml names are omitted their "Extension" parts.

13 years agoindent text xml.
Atsushi Eno [Fri, 5 Nov 2010 17:09:24 +0000 (02:09 +0900)]
indent text xml.

13 years agoA few refactoring for new XamlXmlWriter. Add tests for [ContentProperty].
U-monkeytimeline2\atsushi [Fri, 5 Nov 2010 15:50:51 +0000 (00:50 +0900)]
A few refactoring for new XamlXmlWriter. Add tests for [ContentProperty].

13 years agoFirst cut of the new log profiler and report generator.
Paolo Molaro [Fri, 5 Nov 2010 15:35:11 +0000 (16:35 +0100)]
First cut of the new log profiler and report generator.

This is the first preview version of the new log profiler.
It is not included in the build yet because it needs some
portability cleanups, see the top of proflog.c for compilation
instructions.
It currently works on Linux x86 (64 bit support may work but it
is untested).
The documentation is included in the log-profiler.txt file.

13 years agoFix DISABLE_REFLECTION_EMIT build.
Zoltan Varga [Fri, 5 Nov 2010 15:30:04 +0000 (16:30 +0100)]
Fix DISABLE_REFLECTION_EMIT build.

13 years agoBetter 843 error message
Marek Safar [Fri, 5 Nov 2010 15:01:38 +0000 (15:01 +0000)]
Better 843 error message

13 years agoMove 2.0 Monitor.Enter back out of the try block
Marek Safar [Fri, 5 Nov 2010 15:00:29 +0000 (15:00 +0000)]
Move 2.0 Monitor.Enter back out of the try block

13 years agoOnly when importing nested types definition base type cannot be setup
Marek Safar [Fri, 5 Nov 2010 11:11:41 +0000 (11:11 +0000)]
Only when importing nested types definition base type cannot be setup

13 years agoGet rid of gregs_from_ucontext (), use the normal UCONTEXT_REG_... macros instead.
Zoltan Varga [Fri, 5 Nov 2010 11:20:59 +0000 (12:20 +0100)]
Get rid of gregs_from_ucontext (), use the normal UCONTEXT_REG_... macros instead.

13 years ago[asp.net,routing] Fix for bug #651593. Don't match all-literal routes for URLs with...
Marek Habersack [Fri, 5 Nov 2010 10:35:28 +0000 (11:35 +0100)]
[asp.net,routing] Fix for bug #651593. Don't match all-literal routes for URLs with excessive segments.

13 years agoDon't build obsolete Compat.ICSharpCode.SharpZipLib in 4.0 profile to avoid another...
Marek Safar [Fri, 5 Nov 2010 09:57:41 +0000 (09:57 +0000)]
Don't build obsolete Compat.ICSharpCode.SharpZipLib in 4.0 profile to avoid another version conflict

13 years agoUnify stack walking functions:
Zoltan Varga [Fri, 5 Nov 2010 08:55:21 +0000 (09:55 +0100)]
Unify stack walking functions:
  * Rename mono_jit_walk_stack_from_ctx_in_thread to mono_walk_stack.
  * Make the old stack walker use this one.
  * Remove the old mono_walk_stack functions.

13 years agoFix a bug introduced by the previous change to mono_jit_walk_stack_from_ctx_in_thread ().
Zoltan Varga [Fri, 5 Nov 2010 06:45:33 +0000 (07:45 +0100)]
Fix a bug introduced by the previous change to mono_jit_walk_stack_from_ctx_in_thread ().

13 years agoFix crashes in the debugger stack walk code if a gshared method calls another using...
Zoltan Varga [Fri, 5 Nov 2010 05:53:11 +0000 (06:53 +0100)]
Fix crashes in the debugger stack walk code if a gshared method calls another using a managed-to-native translation.

13 years agoFix more gshared problems in the soft debugger.
Zoltan Varga [Fri, 5 Nov 2010 05:37:28 +0000 (06:37 +0100)]
Fix more gshared problems in the soft debugger.

13 years agoFix gshared support in the soft debugger. Fixes #651251.
Zoltan Varga [Fri, 5 Nov 2010 04:20:19 +0000 (05:20 +0100)]
Fix gshared support in the soft debugger. Fixes #651251.

13 years agoAdd our new System.ServiceModel.Channel test files to the build.
Carlos Alberto Cortez [Thu, 4 Nov 2010 13:14:31 +0000 (14:14 +0100)]
Add our new System.ServiceModel.Channel test files to the build.

* System.ServiceModel_test.dll.sources: Add
MsmqTransportSecurityTest.cs,
CustomPolicyConversionContext.cs,
ConnectionOrientedTransportBindingElementTest.cs,
and MsmqBindingElementBaseTest.cs to our test build.

13 years agoAdd IPolicyExportExtension tests for classes in System.ServiceModel.Channels.
Carlos Alberto Cortez [Thu, 4 Nov 2010 13:10:50 +0000 (14:10 +0100)]
Add IPolicyExportExtension tests for classes in System.ServiceModel.Channels.

* CustomPolicyConversionContext.cs: New file, containing a dummy
child of PolicyConversionContext.
* MsmqBindingElementBaseTest.cs: New test file.
* ConnectionOrientedTransportBindingElementTest.cs: New test file.
* HttpTransportBindingElementTest.cs: Add IPolicyExportExtension
tests.

13 years agoImplement IPoliciExportExtension support for MsmqBindingElementBase.
Carlos Alberto Cortez [Thu, 4 Nov 2010 13:09:21 +0000 (14:09 +0100)]
Implement IPoliciExportExtension support for MsmqBindingElementBase.

* MsmqBindingElementBase.cs: Implement ExportPolicy.

13 years agoImplement IPolicyExportExtension support for ConnectionOrientedTransportBindingElement.
Carlos Alberto Cortez [Thu, 4 Nov 2010 13:08:15 +0000 (14:08 +0100)]
Implement IPolicyExportExtension support for ConnectionOrientedTransportBindingElement.

* ConnectionOrientedTransportBindingElement.cs: Implement ExportPolicy.

13 years agoImplement IPolicyExportExtension support for HttpTransportBindingElement.
Carlos Alberto Cortez [Thu, 4 Nov 2010 13:06:33 +0000 (14:06 +0100)]
Implement IPolicyExportExtension support for HttpTransportBindingElement.

* HttpTransportBindingElement.cs: Implement ExportPolicy.

13 years agoProperly set the default values for MsmqTransportSecurity.
Carlos Alberto Cortez [Thu, 4 Nov 2010 12:36:22 +0000 (13:36 +0100)]
Properly set the default values for MsmqTransportSecurity.

* MsmqTransportSecurity.cs: Use the proper default values for
this class.

13 years agoAdd MsmqTransportSecurityTest.cs to our test suite.
Carlos Alberto Cortez [Thu, 4 Nov 2010 12:29:09 +0000 (13:29 +0100)]
Add MsmqTransportSecurityTest.cs to our test suite.

* MsmqTransportSecurityTest.cs: New test file.

13 years ago[asp.net] HttpContext.TimeoutReached - check whether timer != null before using it.
Marek Habersack [Thu, 4 Nov 2010 23:35:56 +0000 (00:35 +0100)]
[asp.net] HttpContext.TimeoutReached - check whether timer != null before using it.

13 years ago[asp.net] Expire items must always check if the dequeued item is not null before...
Marek Habersack [Thu, 4 Nov 2010 23:30:10 +0000 (00:30 +0100)]
[asp.net] Expire items must always check if the dequeued item is not null before using it.

13 years agoMove assignation earlier to ensure value is available for parameter checks
Sebastien Pouliot [Thu, 4 Nov 2010 19:10:23 +0000 (15:10 -0400)]
Move assignation earlier to ensure value is available for parameter checks

* FileStream.cs: Move anonymous assignation earlier so the value is
available when validation are made (and calls other methods)

13 years ago[mdoc-update] Explicitly order //Type children.
Jonathan Pryor [Thu, 4 Nov 2010 19:05:54 +0000 (15:05 -0400)]
[mdoc-update] Explicitly order //Type children.

Unlike 03c231a585c8ff46f93084210fa240e8f6e4f65b, this isn't needed for
'mdoc-validate', it's instead for "niceness" reasons.

For example, as with f6e4f65b, if we update docs generated by an older
version mdoc, we'll add a <TypeSignature/> for ILAsm.  However, the
added <TypeSignature/> is at the end of the file, nowhere near the
existing <TypeSignature/>s, which is...odd.  Not bad, per-se, but
"undesirable".

Thus, we order things for consistency during/after updates.

13 years agoAllow liften null as a given number of bit positions for shift operator
Marek Safar [Thu, 4 Nov 2010 17:47:02 +0000 (17:47 +0000)]
Allow liften null as a given number of bit positions for shift operator

13 years agoFor some strange reason Console.Write(Line) allows null params formatter arguments
Marek Safar [Thu, 4 Nov 2010 17:23:19 +0000 (17:23 +0000)]
For some strange reason Console.Write(Line) allows null params formatter arguments

13 years ago[mdoc] Explicitly order //Member children.
Jonathan Pryor [Thu, 4 Nov 2010 16:03:43 +0000 (12:03 -0400)]
[mdoc] Explicitly order //Member children.

The problem is the intermixing of updating "old" documentation and
wanting the result to pass `mdoc validate`.

For example, mdoc-2.6 will only generate a <MemberSignature/> for C#,
while mdoc-2.8+ will generate two, one for C# and one for ILAsm.
Unfortunately, mdoc will _append_ the new <MemberSignature/> as the
_last_ child within <Member/>; result: 'mdoc validate' gives errors.

Oops.

Thus, we explicitly reorder //Member children so that the ordering
matches the order in monodoc-ecma.xsd.

13 years agoConcurrentDictionary performance improvements
Jérémie Laval [Thu, 4 Nov 2010 15:51:05 +0000 (15:51 +0000)]
ConcurrentDictionary performance improvements

13 years agoReaderWriterLockSlim performance improvements
Jérémie Laval [Thu, 4 Nov 2010 15:50:29 +0000 (15:50 +0000)]
ReaderWriterLockSlim performance improvements

13 years agoManualResetEventSlim performance improvements
Jérémie Laval [Thu, 4 Nov 2010 15:49:40 +0000 (15:49 +0000)]
ManualResetEventSlim performance improvements

13 years agoSpinLock performance improvements
Jérémie Laval [Thu, 4 Nov 2010 15:49:21 +0000 (15:49 +0000)]
SpinLock performance improvements

13 years agoFix SharpZipLib 4.0 profile version number to not overwrite non-4.0 version of same...
Marek Safar [Thu, 4 Nov 2010 15:34:36 +0000 (15:34 +0000)]
Fix SharpZipLib 4.0 profile version number to not overwrite non-4.0 version of same assembly in GAC

13 years ago[RUNTIME] Ensure that we initialize the cpu for every thread [Bug #650439]
Geoff Norton [Thu, 4 Nov 2010 15:28:30 +0000 (11:28 -0400)]
[RUNTIME] Ensure that we initialize the cpu for every thread [Bug #650439]

It appears that on OSX the FPU settings on x86/amd64 are not inherited
to child threads of a process, leading to differences in precision between
the main thread and the sub thread.  We now call mono_arch_cpu_init
on every thread on every platform

13 years agoAdd boxing for dynamic nullable conversion of coalescing operator
Marek Safar [Thu, 4 Nov 2010 14:48:12 +0000 (14:48 +0000)]
Add boxing for dynamic nullable conversion of coalescing operator

13 years agoReject inaccessible members based on declaring type in dynamic context
Marek Safar [Thu, 4 Nov 2010 10:41:28 +0000 (10:41 +0000)]
Reject inaccessible members based on declaring type in dynamic context

13 years agoInflate also event backing field
Marek Safar [Wed, 3 Nov 2010 19:27:22 +0000 (19:27 +0000)]
Inflate also event backing field

13 years agoAnother missing full dynamic type equality check
Marek Safar [Wed, 3 Nov 2010 18:09:31 +0000 (18:09 +0000)]
Another missing full dynamic type equality check

13 years ago[asp.net] Part of fix for bug #649546. Better handling of nested UpdatePanels
Marek Habersack [Thu, 4 Nov 2010 13:57:45 +0000 (14:57 +0100)]
[asp.net] Part of fix for bug #649546. Better handling of nested UpdatePanels

Nested update panels don't ever output a script block in RenderChildren, they write to the passed
HtmlTextWriter instead.

13 years agoMove XamlType-generic PositionalParameter stuff from XamlObjectReader-specific source...
Atsushi Eno [Thu, 4 Nov 2010 07:49:44 +0000 (16:49 +0900)]
Move XamlType-generic PositionalParameter stuff from XamlObjectReader-specific source for writer support.

13 years agoHandle incorrectly encoded types.
Rodrigo Kumpera [Wed, 3 Nov 2010 23:15:46 +0000 (21:15 -0200)]
Handle incorrectly encoded types.

* metadata.c (do_mono_metadata_parse_type): Fail if
a valuetype is encoded as MONO_TYPE_CLASS and vice-versa.
This can't be done easily in the verifier since it requires
resolving the destination type.

Fixes #650936

13 years agoa5
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 23:07:23 +0000 (19:07 -0400)]
a5

13 years agoa4
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 23:05:30 +0000 (19:05 -0400)]
a4

13 years agoa3
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 23:04:17 +0000 (19:04 -0400)]
a3

13 years agoa2
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 22:59:34 +0000 (18:59 -0400)]
a2

13 years agoiii
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 22:48:09 +0000 (18:48 -0400)]
iii

13 years agoDon't allow zero index token in signatures.
Rodrigo Kumpera [Wed, 3 Nov 2010 22:36:13 +0000 (20:36 -0200)]
Don't allow zero index token in signatures.

* metadata-verify.c (parse_type): Don't allow zero index type
tokens.

* metadata.c (mono_metadata_decode_row): Assert on negative
indexes.

Fixes #560359

13 years agoi
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 22:05:33 +0000 (18:05 -0400)]
i

13 years agoLast
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 21:57:59 +0000 (17:57 -0400)]
Last

13 years agoTest 5
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 21:29:52 +0000 (17:29 -0400)]
Test 5

13 years agoLast test
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 20:58:36 +0000 (16:58 -0400)]
Last test

13 years agoTest 3
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 20:49:56 +0000 (16:49 -0400)]
Test 3

13 years agoTest 2
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 20:45:24 +0000 (16:45 -0400)]
Test 2

13 years agoTEST
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 20:42:11 +0000 (16:42 -0400)]
TEST

13 years agoAvoid locking in WireupAutomaticEvents
Gonzalo Paniagua Javier [Wed, 3 Nov 2010 19:59:20 +0000 (15:59 -0400)]
Avoid locking in WireupAutomaticEvents

Replace a big lock with a ReaderWriterLockSlim.

13 years agoFixicate net_4_0_bootstrap build.
Jérémie Laval [Wed, 3 Nov 2010 20:27:14 +0000 (20:27 +0000)]
Fixicate net_4_0_bootstrap build.

13 years agoAdd tiny bit of doc on ReaderWriterLockSlim.
Jérémie Laval [Wed, 3 Nov 2010 20:13:02 +0000 (20:13 +0000)]
Add tiny bit of doc on ReaderWriterLockSlim.

13 years agoAdd mono_register_symfile_for_assembly() for bundles.
Martin Baulig [Wed, 3 Nov 2010 19:40:03 +0000 (20:40 +0100)]
Add mono_register_symfile_for_assembly() for bundles.
2010-11-03  Martin Baulig  <martin@ximian.com>

* mono-debug.c (mono_register_symfile_for_assembly): New method.
This is used together with mono_register_bundled_assemblies() and
mono_register_config_for_assembly() to support bundles.

13 years ago[asp.net] Use faster string comparison in caches in System.Web.Compilation
Marek Habersack [Wed, 3 Nov 2010 19:13:00 +0000 (20:13 +0100)]
[asp.net] Use faster string comparison in caches in System.Web.Compilation

13 years agoInit the right runtime version.
Rodrigo Kumpera [Wed, 3 Nov 2010 19:35:17 +0000 (17:35 -0200)]
Init the right runtime version.

* pedump.c (verify_image_file): Finish initializing the
runtime here since at this point we can safely query
what version the supplied image requires.

Fixes #650916

13 years agoFix condition so the new feature is available outside NET_2_1
Sebastien Pouliot [Wed, 3 Nov 2010 19:10:27 +0000 (15:10 -0400)]
Fix condition so the new feature is available outside NET_2_1

* mcs/class/corlib/Mono.Security.X509/X509Store.cs:
* mcs/class/Mono.Security/Mono.Security.X509/X509Store.cs:
Replace INSIDE_CORLIB by !NET_2_1 so the new feature is
available to mono/full framework but not where CspParameters
(or file system, or key persistance) might not be possible

13 years agoFix encoding of large strings in the soft debugger api. Fixes #648832.
Zoltan Varga [Wed, 3 Nov 2010 18:16:02 +0000 (19:16 +0100)]
Fix encoding of large strings in the soft debugger api. Fixes #648832.

13 years agoImplement Partitioner.Create int and long overloads. Add corresponding unit tests.
Jérémie Laval [Wed, 3 Nov 2010 17:33:13 +0000 (17:33 +0000)]
Implement Partitioner.Create int and long overloads. Add corresponding unit tests.

13 years agoImplement lock statement over generic type parameter
Marek Safar [Wed, 3 Nov 2010 16:50:19 +0000 (16:50 +0000)]
Implement lock statement over generic type parameter

13 years agoIssue a warning about re-assigned locked local variable
Marek Safar [Wed, 3 Nov 2010 15:53:12 +0000 (15:53 +0000)]
Issue a warning about re-assigned locked local variable

13 years agoFixes NRE in pre-4.0 compilation
Marek Safar [Wed, 3 Nov 2010 13:10:36 +0000 (13:10 +0000)]
Fixes NRE in pre-4.0 compilation

13 years agoReset lock_taken before entering Monitor.Enter
Marek Safar [Wed, 3 Nov 2010 12:50:39 +0000 (12:50 +0000)]
Reset lock_taken before entering Monitor.Enter

13 years agoExclusiveOr is not nullable bitwise boolean operator
Marek Safar [Wed, 3 Nov 2010 12:19:01 +0000 (12:19 +0000)]
ExclusiveOr is not nullable bitwise boolean operator

13 years agoA candidate method can use dynamic in expanded form at non-first position
Marek Safar [Wed, 3 Nov 2010 11:28:10 +0000 (11:28 +0000)]
A candidate method can use dynamic in expanded form at non-first position

13 years agoAdd TaskExtensions class and Unwrap extension methods
Jérémie Laval [Tue, 2 Nov 2010 15:37:11 +0000 (15:37 +0000)]
Add TaskExtensions class and Unwrap extension methods

13 years agoRefactor Task.Wait and Task.WaitAny methods and add support for scheduler-less waiting.
Jérémie Laval [Wed, 3 Nov 2010 11:44:03 +0000 (11:44 +0000)]
Refactor Task.Wait and Task.WaitAny methods and add support for scheduler-less waiting.

A scheduler-less waiting is useful for instance in case Tasks are waited upon without having being started (like in some continuation chaining case).

13 years agoSet more state on TaskCompletionSource inner Task<T>
Jérémie Laval [Wed, 3 Nov 2010 11:31:49 +0000 (11:31 +0000)]
Set more state on TaskCompletionSource inner Task<T>

13 years agoIntroduced a GC heap walk API.
Paolo Molaro [Tue, 2 Nov 2010 17:44:29 +0000 (18:44 +0100)]
Introduced a GC heap walk API.

This API is currently only implemented for the sgen GC.
It can be used to iterate over all the managed objects in the heap
and it allows to also easily track object references.

13 years agotypeof expression does not need unsafe context for pointer types
Marek Safar [Wed, 3 Nov 2010 10:32:44 +0000 (10:32 +0000)]
typeof expression does not need unsafe context for pointer types

13 years agoPass checked context to compound member access setters
Marek Safar [Wed, 3 Nov 2010 09:38:40 +0000 (09:38 +0000)]
Pass checked context to compound member access setters

13 years agoRemove extra whitespace from a Makefile.
Zoltan Varga [Wed, 3 Nov 2010 06:31:18 +0000 (07:31 +0100)]
Remove extra whitespace from a Makefile.

13 years agoFix mixed newlines
Marek Habersack [Wed, 3 Nov 2010 02:26:26 +0000 (03:26 +0100)]
Fix mixed newlines

13 years ago[asp.net] Part of fix for bug #649546. A partial rewrite of the web/script resource...
Marek Habersack [Wed, 3 Nov 2010 02:12:13 +0000 (03:12 +0100)]
[asp.net] Part of fix for bug #649546. A partial rewrite of the web/script resource handler.

* 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

13 years ago[runtime] System.Web.Extensions must not be remapped to the current framework.
Marek Habersack [Wed, 3 Nov 2010 02:08:58 +0000 (03:08 +0100)]
[runtime] System.Web.Extensions must not be remapped to the current framework.

The reason for this is applications which still use Sys.Web.Ext 1.0* (note: 1.0 does NOT
mean the assembly is for the 1.x runtime - it's for 2.0). Remapping would cause 1.0* not
to be loaded, instead a 3.5 or 4.0 assembly would be fetched.

13 years agoRemove obsolete mcs/configure script. Fixes #650806.
Zoltan Varga [Wed, 3 Nov 2010 01:16:20 +0000 (02:16 +0100)]
Remove obsolete mcs/configure script. Fixes #650806.

13 years agoFix bootstrapping issue wrt moonlight profile
Sebastien Pouliot [Tue, 2 Nov 2010 23:22:20 +0000 (19:22 -0400)]
Fix bootstrapping issue wrt moonlight profile

* mcs/class/corlib/Mono.Security.X509/X509Store.cs:
* mcs/class/Mono.Security/Mono.Security.X509/X509Store.cs:
Add if !INSIDE_CORLIB around code that use CspParameters
in order to allow compilation to work when bootstraping
the moonlight profile

13 years ago[API] X509 related enhacemnts to allow 1) associating keystore's private keys with...
Pablo Ruiz Garcia [Wed, 20 Oct 2010 21:36:08 +0000 (23:36 +0200)]
[API] X509 related enhacemnts to allow 1) associating keystore's private keys with their corresponding public certificates found at X509Stores, and 2) importing private keys to X509Stores along with certificates.

mcs/class/corlib/Mono.Security.X509/X509Store.cs:
mcs/class/Mono.Security/Mono.Security.X509/X509Store.cs:
mcs/class/corlib/Mono.Security.X509/X509StoreManager.cs:
mcs/class/Mono.Security/Mono.Security.X509/X509StoreManager.cs:
Modified MSX.X509Store to allow importing privateKeys along certificates (by using RSACryptoServiceProvider and KeyPairPersister).
Fixed X509Store to use certificate's hash as CspParameters.KeyContainerName.

mcs/tools/security/certmgr.cs:
Added a new -importKey action to certmgr, which allows importing a PKCS12 contained key into our KeyPair store.
Added a more (verbose) output to certmgr's -list action.

man/certmgr.1:
Updated certmgr man page ti reflect -importKey addition.

mcs/class/corlib/System.Security.Cryptography/CspParameters.cs:
mcs/class/corlib/System.Security.Cryptography/RSACryptoServiceProvider.cs:
Implemented RSACryptoServiceProvider.CspKeyContainerInfo getter
RSACryptoServiceProvider will not take into account CspParameterFlags.UseExistingKey by throwing a CryptographicException if keyset identified by KeyContainerName does not exists.

13 years agoRevert change in FromBinary
Gonzalo Paniagua Javier [Tue, 2 Nov 2010 22:28:02 +0000 (18:28 -0400)]
Revert change in FromBinary

13 years agoMap libcups for mac
Andrew Jorgensen [Tue, 2 Nov 2010 21:00:59 +0000 (15:00 -0600)]
Map libcups for mac

Fixes bnc#649994

13 years agoRenaming a dangling symlink works now
Gonzalo Paniagua Javier [Tue, 2 Nov 2010 18:50:03 +0000 (14:50 -0400)]
Renaming a dangling symlink works now

Ditto.

Fixes bug #650779.

13 years agoExtracted PrefixLookup to another file. Add more XamlTypeName.ToString() tests.
Atsushi Eno [Tue, 2 Nov 2010 17:31:28 +0000 (02:31 +0900)]
Extracted PrefixLookup to another file. Add more XamlTypeName.ToString() tests.

13 years agoEmit lock statement using Monitor.Enter (object, ref bool) when available
Marek Safar [Tue, 2 Nov 2010 15:20:51 +0000 (15:20 +0000)]
Emit lock statement using Monitor.Enter (object, ref bool) when available

13 years agoMove around some members (to correct/appropriate places) for isolated xaml writer...
Atsushi Eno [Tue, 2 Nov 2010 13:39:34 +0000 (22:39 +0900)]
Move around some members (to correct/appropriate places) for isolated xaml writer implementation.