mono.git
13 years agoRe-enable 'crlf' attributes on *.cs
Raja R Harinath [Sun, 1 Aug 2010 18:34:50 +0000 (00:04 +0530)]
Re-enable 'crlf' attributes on *.cs

This fixes EOL conversions flagged by git 1.7.1 core.autocrlf=true.  At this
point, neither git 1.7.1 nor 1.7.2 show any automatic CRLF normalization.
I think we're ready for another experiment.

There seems to be a difference in the handling of mixed line-ending files
between git 1.7.2 and older versions, when core.autocrlf is set to true.

13 years agoNew threadpool + exception test.
Gonzalo Paniagua Javier [Sun, 1 Aug 2010 18:31:56 +0000 (14:31 -0400)]
New threadpool + exception test.

13 years agoFix building the LLVM backend with recent LLVM SVN versions.
Zoltan Varga [Sun, 1 Aug 2010 13:01:02 +0000 (15:01 +0200)]
Fix building the LLVM backend with recent LLVM SVN versions.

2010-08-01  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm-cpp.cpp (MonoJITMemoryManager): Fix building with recent LLVM SVN versions.

13 years agoUpdate SymbolWriter to use generics collections
Marek Safar [Sun, 1 Aug 2010 09:12:50 +0000 (10:12 +0100)]
Update SymbolWriter to use generics collections

13 years agoImport abstract members as abstract only, Fixes #617970.
Marek Safar [Sun, 1 Aug 2010 08:13:05 +0000 (09:13 +0100)]
Import abstract members as abstract only, Fixes #617970.

13 years agoAdd my old sync script
Marek Safar [Sat, 31 Jul 2010 23:14:11 +0000 (00:14 +0100)]
Add my old sync script

13 years agoMerge remote branch 'tgiphil/master'; commit 'c9bc218cd3ccfa17532a'
Gonzalo Paniagua Javier [Sun, 1 Aug 2010 05:38:42 +0000 (01:38 -0400)]
Merge remote branch 'tgiphil/master'; commit 'c9bc218cd3ccfa17532a'

13 years agoKill mono_debugger_get_thread_abort_signal().
Martin Baulig [Sat, 31 Jul 2010 16:53:37 +0000 (18:53 +0200)]
Kill mono_debugger_get_thread_abort_signal().

* mini/debug-debugger.c
  (MONO_DEBUGGER__debugger_info): Add 'thread_abort_signal', pointing
  to a field store the signal number on startup.

* metadata/mono-debug.h: Bump debugger version to 81.6.

13 years ago[Fix] Adjust SpinWait values to stall the thread earlier. Fix #624849.
Jérémie Laval [Sat, 31 Jul 2010 10:45:24 +0000 (12:45 +0200)]
[Fix] Adjust SpinWait values to stall the thread earlier. Fix #624849.

13 years agoMerge branch 'master' of http://github.com/mono/mono
tgiphil [Sat, 31 Jul 2010 03:21:11 +0000 (20:21 -0700)]
Merge branch 'master' of github.com/mono/mono

13 years agoVerify the token for ldtoken.
Rodrigo Kumpera [Fri, 30 Jul 2010 19:53:26 +0000 (16:53 -0300)]
Verify the token for ldtoken.

* verify.c (do_load_token): Verify table and index
of the source token.

Fixes #560348

13 years agoFix verifier test suite.
Rodrigo Kumpera [Fri, 30 Jul 2010 14:18:12 +0000 (11:18 -0300)]
Fix verifier test suite.
2010-07-30 Rodrigo Kumpera  <rkumpera@novell.com>

* Makefile: Fix build.

13 years agoAllow Delegate.Combine/Remove with right null. Fixes #627044
Marek Safar [Fri, 30 Jul 2010 19:58:38 +0000 (20:58 +0100)]
Allow Delegate.Combine/Remove with right null. Fixes #627044

13 years agoMerge branch 'commit-to-changelog'
Mark Probst [Fri, 30 Jul 2010 18:59:20 +0000 (20:59 +0200)]
Merge branch 'commit-to-changelog'

13 years agoDon't generate empty ChangeLog entries, insert the whole message instead.
Mark Probst [Fri, 30 Jul 2010 01:51:46 +0000 (03:51 +0200)]
Don't generate empty ChangeLog entries, insert the whole message instead.

The commits-to-changelog script previously generated ChangeLog entries
with a FIXME if it couldn't find anything applicable for that
particular ChangeLog.  Since we want to use the script for "make dist"
it shouldn't do this.  Instead it now just inserts the whole commit
message in those ChangeLogs.

13 years ago"make dist" updates the ChangeLogs automatically.
Mark Probst [Thu, 29 Jul 2010 23:54:23 +0000 (01:54 +0200)]
"make dist" updates the ChangeLogs automatically.

When creating a distribution "make dist" now uses the
commits-to-changelog script to automatically update all
ChangeLog files since the last commit marked with the
"last-commit-with-compulsory-changelog-entry" tag.

13 years agocommits-to-changelog script.
Mark Probst [Thu, 29 Jul 2010 14:10:58 +0000 (16:10 +0200)]
commits-to-changelog script.

This script converts git commit messages to ChangeLog entries.  That
will hopefully allow us to forego adding ChangeLog entries in our
commits, which always leads to merge conflicts.

13 years agoAdd tests for GetSubKeyNames and DeleteSubKey rotines with volatile keys.
Carlos Alberto Cortez [Fri, 30 Jul 2010 14:26:51 +0000 (16:26 +0200)]
Add tests for GetSubKeyNames and DeleteSubKey rotines with volatile keys.

* RegistryKeyTest.cs: New tests for volatile keys children
handling.

13 years agoMove subkey info routines into KeyHandler to handle volatile keys.
Carlos Alberto Cortez [Fri, 30 Jul 2010 14:13:22 +0000 (16:13 +0200)]
Move subkey info routines into KeyHandler to handle volatile keys.

* UnixRegistryApi.cs: Move GetSubKeyCount and GetSubKeyNames to
KeyHandler, so we can properly track volatile subkeys there
*without* exposing any impl details.

13 years agoRun extension methods overload resolver always in same overloader context as original...
Marek Safar [Fri, 30 Jul 2010 18:28:48 +0000 (19:28 +0100)]
Run extension methods overload resolver always in same overloader context as original methodgroup

13 years agoDelegate.Remove: throw when passing delegates of incompatible types
Jb Evain [Fri, 30 Jul 2010 15:40:30 +0000 (17:40 +0200)]
Delegate.Remove: throw when passing delegates of incompatible types

13 years agoAdd test for incompatible types in Delegate.Remove
Jb Evain [Fri, 30 Jul 2010 15:39:39 +0000 (17:39 +0200)]
Add test for incompatible types in Delegate.Remove

13 years agoMerge branch 'atsushi'
atsushieno [Fri, 30 Jul 2010 14:21:29 +0000 (23:21 +0900)]
Merge branch 'atsushi'

13 years agoAdd a bunch of configuration types.
atsushieno [Fri, 30 Jul 2010 14:20:32 +0000 (23:20 +0900)]
Add a bunch of configuration types.

13 years agoadd 4.0 standard endpoint configuration types.
atsushieno [Fri, 30 Jul 2010 14:15:02 +0000 (23:15 +0900)]
add 4.0 standard endpoint configuration types.

13 years agoAdded missing files and sorted alphabetically.
Gonzalo Paniagua Javier [Fri, 30 Jul 2010 06:37:24 +0000 (02:37 -0400)]
Added missing files and sorted alphabetically.

13 years ago.NET2 handling of exceptions in ThreadPool threads
Gonzalo Paniagua Javier [Fri, 30 Jul 2010 05:39:43 +0000 (01:39 -0400)]
.NET2 handling of exceptions in ThreadPool threads

* mono/tests/threadpool-exceptions[1-4].cs: new tests
* mono/tests/threadpool.cs: fix typo.
* mono/metadata/threadpool.c: starting in .NET 2.0, unhandled exceptions
in the threadpool can cause a crash in a running program. From now on,
we are compatible.

13 years agoAdapt to changes in exceptions policy for TP.
Gonzalo Paniagua Javier [Wed, 28 Jul 2010 02:32:03 +0000 (22:32 -0400)]
Adapt to changes in exceptions policy for TP.

These exception were being thrown, sometimes, in a threadpool thread and then
ignored.

13 years agoThrow exceptions from threadpool work items.
Gonzalo Paniagua Javier [Tue, 27 Jul 2010 15:10:17 +0000 (11:10 -0400)]
Throw exceptions from threadpool work items.

Until now exceptions thrown from a threadpool work item were ignored.
From now on they will propagate to the domain's UnhandledException event
and then to the root AppDomain. If they are not handled, they will cause
the program to abort.

13 years agoFix SGen compiler warnings on AMD64.
Mark Probst [Thu, 29 Jul 2010 22:33:06 +0000 (00:33 +0200)]
Fix SGen compiler warnings on AMD64.

2010-07-30  Mark Probst  <mark.probst@gmail.com>

* sgen-archdep.h (ARCH_COPY_SIGCTX_REGS): Add casts to fix
compiler warnings on AMD64.

13 years agoA fix for #619919
Marek Safar [Thu, 29 Jul 2010 19:13:26 +0000 (20:13 +0100)]
A fix for #619919

Merge branch 'marek'

13 years agoAdd regression test for #626441.
Rodrigo Kumpera [Thu, 29 Jul 2010 19:07:05 +0000 (16:07 -0300)]
Add regression test for  #626441.

2010-07-29 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodBuilderTest.cs: Add test for #626441.

13 years agoFixes crash when SRE code calls a vararg method.
Rodrigo Kumpera [Thu, 29 Jul 2010 18:01:37 +0000 (15:01 -0300)]
Fixes crash when SRE code calls a vararg method.

2010-07-29 Rodrigo Kumpera  <rkumpera@novell.com>

Add support for calling vararg methods from SRE code.
This requires storing per-memberref signatures so
the JIT can know how many varargs parameters are
been passed.

* loader.c (mono_method_get_signature_full): If the
image is dynamic call mono_reflection_lookup_signature
to lookup the signature.

* reflection.c (mono_image_create_method_token): Save
the method object into the MonoDynamicImage::tokens.
Create a signature struct for MethodBuilders.
Save the signature into vararg_aux_hash so it can be
retrieved later.

* reflection.c (mono_reflection_lookup_signature): New
function. Check vararg_aux_hash for a signature before
returning method's own signature.

* metadata-internals.h (MonoDynamicImage): Add new
vararg_aux_hash hashtable.

* object-internals.h: Add mono_reflection_lookup_signature.

Fixes #626441

13 years agoRefactor EventExpr to use enhanced base member access resolution
Marek Safar [Thu, 29 Jul 2010 18:55:28 +0000 (19:55 +0100)]
Refactor EventExpr to use enhanced base member access resolution

13 years agoImplement hoisted base member access expression
Marek Safar [Thu, 29 Jul 2010 15:14:24 +0000 (16:14 +0100)]
Implement hoisted base member access expression

13 years agoSwitch from per-thread SpinWait instance to per-method-call instance
Jérémie Laval [Thu, 29 Jul 2010 10:52:10 +0000 (12:52 +0200)]
Switch from per-thread SpinWait instance to per-method-call instance

13 years agoAdd a SpinWait step when waiting on a task. Fix 100% CPU bother.
Jérémie Laval [Thu, 29 Jul 2010 09:10:31 +0000 (11:10 +0200)]
Add a SpinWait step when waiting on a task. Fix 100% CPU bother.

After some time the call to SpinWait.SpinOnce will fall back to the more stalling Thread.Sleep (1) call.

13 years agoFix macro indentation in Thread_Yield icall
Jérémie Laval [Wed, 28 Jul 2010 18:49:00 +0000 (20:49 +0200)]
Fix macro indentation in Thread_Yield icall

13 years agoSpinWait now sleep more in depth after a certain threshold and uses Thread.Yield...
Jérémie Laval [Wed, 28 Jul 2010 17:37:35 +0000 (19:37 +0200)]
SpinWait now sleep more in depth after a certain threshold and uses Thread.Yield method.

13 years agoIntroduce a spin count limit in SpinWait
Jérémie Laval [Wed, 28 Jul 2010 17:58:54 +0000 (19:58 +0200)]
Introduce a spin count limit in SpinWait

13 years agoAdd Yield method to Thread (4.0 profile).
Jérémie Laval [Wed, 28 Jul 2010 18:27:29 +0000 (20:27 +0200)]
Add Yield method to Thread (4.0 profile).

Yield is an internal call that simply calls wapi SwitchToThread function.
On !Windows system, this functions use POSIX sched_yield function.

13 years agoAdd System.Runtime.DurableInstancing and sgen to spec
Andrew Jorgensen [Wed, 28 Jul 2010 22:03:36 +0000 (16:03 -0600)]
Add System.Runtime.DurableInstancing and sgen to spec

13 years agoProperly handle stackoverflow on ARGLIST opcode.
Rodrigo Kumpera [Wed, 28 Jul 2010 20:25:19 +0000 (17:25 -0300)]
Properly handle stackoverflow on ARGLIST opcode.

2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_method_verify): Don't move forward
with verification if a stack overflow is detected for
the ARGLIST opcode.

Fixes #601953

13 years agoFail array of invalid types.
Rodrigo Kumpera [Wed, 28 Jul 2010 20:02:09 +0000 (17:02 -0300)]
Fail array of invalid types.

2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_bounded_array_class_get): Fail arrays
of void or typedbyref. Those two types are not allowed
to be used with arrays. Failing them is easier and less
error prone than returning NULL.

Fixes #603279

13 years agoDont assert on invalid delegate type.
Rodrigo Kumpera [Wed, 28 Jul 2010 19:14:39 +0000 (16:14 -0300)]
Dont assert on invalid delegate type.

2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>

* object.c (mono_get_delegate_invoke): Don't assert if
the Invoke method is not found. This can happen with
broken types and it's the caller resposibility to deal
with a null return.

Fixes #553403

13 years ago[runtime] Handle images with null assembly.
Rodrigo Kumpera [Wed, 28 Jul 2010 16:22:15 +0000 (13:22 -0300)]
[runtime] Handle images with null assembly.

2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_assembly_name_from_token): Handle
images with null assembly. This can happen with resource
or broken assemblies.

Fixes #623586.

13 years agoMerge branch 'atsushi'
atsushieno [Wed, 28 Jul 2010 16:12:41 +0000 (01:12 +0900)]
Merge branch 'atsushi'

13 years agoFix LocalClientSecuritySettingsElement.Property, and other couple of API fixes.
atsushieno [Wed, 28 Jul 2010 16:06:53 +0000 (01:06 +0900)]
Fix LocalClientSecuritySettingsElement.Property, and other couple of API fixes.

13 years agoMerge branch 'monitor-enter-bool-fix' into upstream-master
Paolo Molaro [Wed, 28 Jul 2010 16:00:47 +0000 (18:00 +0200)]
Merge branch 'monitor-enter-bool-fix' into upstream-master

13 years agoTest the Enter(object, ref bool) overload.
Paolo Molaro [Wed, 28 Jul 2010 15:47:14 +0000 (17:47 +0200)]
Test the Enter(object, ref bool) overload.

13 years agoEnsure the Monitor.Enter() fastpath doesn't apply to Enter(o,ref taken).
Paolo Molaro [Wed, 28 Jul 2010 15:31:54 +0000 (17:31 +0200)]
Ensure the Monitor.Enter() fastpath doesn't apply to Enter(o,ref taken).

13 years agoMerge branch 'atsushi'
atsushieno [Wed, 28 Jul 2010 15:11:13 +0000 (00:11 +0900)]
Merge branch 'atsushi'

13 years agoImplement several ToString() methods.
atsushieno [Wed, 28 Jul 2010 15:04:43 +0000 (00:04 +0900)]
Implement several ToString() methods.

13 years agoadd another WS-SC test (cosmetic).
atsushieno [Wed, 28 Jul 2010 14:59:31 +0000 (23:59 +0900)]
add another WS-SC test (cosmetic).

13 years agoMerge branch 'marek'
Marek Safar [Wed, 28 Jul 2010 14:32:30 +0000 (15:32 +0100)]
Merge branch 'marek'

13 years agoDon't crash when resolving invalid constant expressions
Marek Safar [Wed, 28 Jul 2010 14:31:35 +0000 (15:31 +0100)]
Don't crash when resolving invalid constant expressions

13 years agoStep back a bit on enabling default CRLF handling.
Raja R Harinath [Wed, 28 Jul 2010 13:48:04 +0000 (19:18 +0530)]
Step back a bit on enabling default CRLF handling.

13 years agoAdd a few .gitignore entries to reduce noise
Raja R Harinath [Wed, 28 Jul 2010 13:47:33 +0000 (19:17 +0530)]
Add a few .gitignore entries to reduce noise

13 years agoNew tests
Marek Safar [Wed, 28 Jul 2010 12:53:46 +0000 (13:53 +0100)]
New tests

13 years agoUpdated
Marek Safar [Wed, 28 Jul 2010 12:20:59 +0000 (13:20 +0100)]
Updated

13 years agoImplement some WS-SecureConv parameter check and enabled some tests.
atsushieno [Wed, 28 Jul 2010 12:13:56 +0000 (21:13 +0900)]
Implement some WS-SecureConv parameter check and enabled some tests.

13 years agoSecurityTokenRequirement.TryGetValue() returns false if the value exists as null.
atsushieno [Wed, 28 Jul 2010 12:10:56 +0000 (21:10 +0900)]
SecurityTokenRequirement.TryGetValue() returns false if the value exists as null.

13 years agoMerge branch 'marek'
Marek Safar [Wed, 28 Jul 2010 10:32:31 +0000 (11:32 +0100)]
Merge branch 'marek'

13 years agoUpdate to latest mcs
Marek Safar [Wed, 28 Jul 2010 10:30:28 +0000 (11:30 +0100)]
Update to latest mcs

13 years agoMerge branch 'marek'
Marek Safar [Wed, 28 Jul 2010 09:23:49 +0000 (10:23 +0100)]
Merge branch 'marek'

13 years agoMerge branch 'atsushi'
atsushieno [Wed, 28 Jul 2010 09:02:33 +0000 (18:02 +0900)]
Merge branch 'atsushi'

13 years agoHandle ListenUri to get correct Uri (especially when relative). Reject wrong behavior...
atsushieno [Wed, 28 Jul 2010 09:00:25 +0000 (18:00 +0900)]
Handle ListenUri to get correct Uri (especially when relative). Reject wrong behaviorConfiguration.

13 years agoMajor name lookup fixes
Marek Safar [Wed, 28 Jul 2010 08:59:15 +0000 (09:59 +0100)]
Major name lookup fixes

13 years agoRemove invalid comments.
atsushieno [Wed, 28 Jul 2010 08:58:38 +0000 (17:58 +0900)]
Remove invalid comments.

13 years agoFill Description names, and remove extra code.
atsushieno [Wed, 28 Jul 2010 08:56:30 +0000 (17:56 +0900)]
Fill Description names, and remove extra code.

13 years agoNew tests
Marek Safar [Wed, 28 Jul 2010 08:44:23 +0000 (09:44 +0100)]
New tests

13 years agofix crlf
jbevain [Wed, 28 Jul 2010 08:31:53 +0000 (10:31 +0200)]
fix crlf

13 years agoSystem.Reflection.Assembly.IsFullyTrusted: add stub.
jbevain [Wed, 28 Jul 2010 08:01:35 +0000 (10:01 +0200)]
System.Reflection.Assembly.IsFullyTrusted: add stub.

2010-07-28  Jb Evain  <jbevain@novell.com>

* Assembly.cs: add IsFullyTrusted stub.

13 years ago2010-07-28 Veerapuram Varadhan <vvaradhan@novell.com>
vvaradhan [Wed, 28 Jul 2010 07:20:15 +0000 (12:50 +0530)]
2010-07-28  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #584833
* SqlCommand.cs (DeriveParameters): Support procedure name
nomenclature of the form <database>.<user>.<procname> .

13 years agoDon't crash with null strings during error handling.
Rodrigo Kumpera [Tue, 27 Jul 2010 21:59:05 +0000 (18:59 -0300)]
Don't crash with null strings during error handling.

2010-07-27 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (concat_two_strings_with_zero): Guard against
null strings.

Modified version of patch by Sebastien Pouliot.

Fixes #623653.

13 years agoAvoid to crash on module index equal or smaller than zero.
Rodrigo Kumpera [Tue, 27 Jul 2010 21:27:02 +0000 (18:27 -0300)]
Avoid to crash on  module index equal or smaller than zero.

2010-07-27 Rodrigo Kumpera  <rkumpera@novell.com>

* image.c (mono_image_load_module): Handle the case of
module index equal or smaller than zero. It is possible
to embed a valid zero index into metadata so this case
must be explicitly handled.

Patch by Sebastien Pouliot.

Fixes #623581.

13 years agoFix compilation errors
Mark Mason [Tue, 27 Jul 2010 17:24:20 +0000 (01:24 +0800)]
Fix compilation errors

13 years agoAdd some non standard bits to metadata verifier.
Rodrigo Kumpera [Tue, 27 Jul 2010 19:41:26 +0000 (16:41 -0300)]
Add some non standard bits to metadata verifier.

2010-07-27 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (INVALID_IMPLMAP_FLAGS_BITS): Add non standard
bits for best fit on/off (4,5) and throw on unmappable on/off (12/13).

Fixes #622221.

13 years agoxbuild: Use '*mcs.bat' on windows and '*mcs' on other platforms.
Ankit Jain [Tue, 27 Jul 2010 19:25:10 +0000 (00:55 +0530)]
xbuild: Use '*mcs.bat' on windows and '*mcs' on other platforms.

13 years agoAdd support for deserializing Char types
Andreia Gaita [Tue, 27 Jul 2010 19:03:23 +0000 (20:03 +0100)]
Add support for deserializing Char types

* JsonSerializationReader.cs: Add Char type to the switch. Reads the
  content as a string and validates its length

13 years agoAdd serialization support for generic IDictionary objects
Andreia Gaita [Tue, 27 Jul 2010 19:00:02 +0000 (20:00 +0100)]
Add serialization support for generic IDictionary objects

* JsonSerializationReader.cs, JsonSerializationWriter.cs:
  Add a special case for IDictionary, since KeyValuePair objects
  have private setters and can't be processed via the normal
  object code path.

13 years agoEmit verifiable code for SWF test suite.
Rodrigo Kumpera [Tue, 27 Jul 2010 18:56:06 +0000 (15:56 -0300)]
Emit verifiable code for SWF test suite.

2010-07-27 Rodrigo Kumpera  <rkumpera@novell.com>

* EventLogger.cs: Emit verifiable code. This was blocking the
SWF test suite from running under the verifier.

13 years agoImprove verifier error message.
Rodrigo Kumpera [Tue, 27 Jul 2010 18:53:00 +0000 (15:53 -0300)]
Improve verifier error message.

2010-07-27 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_invoke_method): Improve error message.

13 years agoDont track unneeded registers for amd64.
Geoff Norton [Tue, 27 Jul 2010 17:14:43 +0000 (13:14 -0400)]
Dont track unneeded registers for amd64.

2010-07-27  Geoff Norton  <gnorton@novell.com>

        * darwin_stop_world.c: Dont track unneeded registers for amd64.

13 years agoFix sgen on amd64-darwin and amd64-linux
Geoff Norton [Tue, 27 Jul 2010 17:11:51 +0000 (13:11 -0400)]
Fix sgen on amd64-darwin and amd64-linux

In metadata:

2010-07-27  Geoff Norton  <gnorton@novell.com>

        * sgen-archdep.h: Ensure we store the registers we actually
        need to scan.

In utils:

2010-07-27  Geoff Norton  <gnorton@novell.com>

        * mono-sigcontext.h: Extend the macro's for darwin and linux
        to expose r8-r11 as well.

13 years ago2010-07-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 27 Jul 2010 16:50:36 +0000 (13:50 -0300)]
2010-07-27 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_generic_param_is_constraint_compatible): Don't
fail a contraint check even if the candidate has no constraints.
All constraints might resolve to the candidate itself so it can
have none.

Fixes #622225.

13 years ago2010-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Jul 2010 11:09:30 +0000 (20:09 +0900)]
2010-07-27  Atsushi Enomoto  <atsushi@ximian.com>

* FederatedMessageSecurityOverHttp.cs, OptionalReliableSession.cs,
  ReliableSession.cs, WSFederationHttpBinding.cs:
  filled couple of missing members.

* ClaimTypeElement.cs
  ClaimTypeElementCollection.cs
  FederatedMessageSecurityOverHttpElement.cs
  StandardBindingOptionalReliableSessionElement.cs
  StandardBindingReliableSessionElement.cs
  WSFederationHttpBindingElement.cs
  WSFederationHttpSecurityElement.cs
  WSHttpBindingBaseElement.cs : implemented ApplyConfiguration and
  add/fix descendants' members.

13 years ago2010-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Jul 2010 09:59:07 +0000 (18:59 +0900)]
2010-07-27  Atsushi Enomoto  <atsushi@ximian.com>

* FederatedMessageSecurityOverHttpElement.cs : use correct converter.
* WSFederationHttpBindingCollectionElement.cs : remove extra members.
* WSDualHttpBindingElement.cs, WSFederationHttpBindingElement.cs :
  fill base properties expectedly.

13 years ago2010-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Jul 2010 09:35:31 +0000 (18:35 +0900)]
2010-07-27  Atsushi Enomoto  <atsushi@ximian.com>

* WSDualHttpBindingElement.cs, WSFederationHttpBindingElement.cs :
  BindingElementType is not a configuration property.

13 years ago2010-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Jul 2010 09:29:09 +0000 (18:29 +0900)]
2010-07-27  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigurationPropertyCollection.cs, PropertyInformation.cs:
  add null check to detect bogus configuration early.

13 years ago2010-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Jul 2010 09:10:31 +0000 (18:10 +0900)]
2010-07-27  Atsushi Enomoto  <atsushi@ximian.com>

* X509CertificateRecipientClientCredential.cs,
  X509CertificateRecipientServiceCredential.cs :
  implement x509 store support.

13 years ago2010-07-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Jul 2010 08:56:19 +0000 (17:56 +0900)]
2010-07-27  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigUtil.cs : the error message can be less ambiguous.

13 years ago2010-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jul 2010 15:46:34 +0000 (00:46 +0900)]
2010-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigUtil.cs, ServiceCredentialsElement.cs :
  implement x509 store support.

* X509CertificateInitiatorClientCredential.cs,
  X509CertificateInitiatorServiceCredential.cs :
  implement x509 store support.

13 years ago2010-07-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jul 2010 12:28:59 +0000 (21:28 +0900)]
2010-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* SamlSubject.cs : add missing .ctor().

13 years agoAdd test for bug #625367
Jb Evain [Mon, 26 Jul 2010 11:04:52 +0000 (13:04 +0200)]
Add test for bug #625367

13 years agoProperly call methods on enumerations in compiled expression trees.
Jb Evain [Mon, 26 Jul 2010 11:04:19 +0000 (13:04 +0200)]
Properly call methods on enumerations in compiled expression trees.

2010-07-26  Jb Evain  <jbevain@novell.com>

* EmitContext.cs: Properly call methods on enumerations.
Fixes #625367.

13 years agoreuse code to initialize nullable values
Jb Evain [Mon, 26 Jul 2010 11:03:47 +0000 (13:03 +0200)]
reuse code to initialize nullable values

13 years agoMerge branch 'master' of git://github.com/mono/mono
Carlos Alberto Cortez [Sun, 25 Jul 2010 21:01:24 +0000 (23:01 +0200)]
Merge branch 'master' of git://github.com/mono/mono

13 years ago2010-07-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 25 Jul 2010 20:57:01 +0000 (22:57 +0200)]
2010-07-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* UnixRegistryApi.cs: From the static ctor of KeyHandler remove the
volatile keys directory if the last registered boot time has changed.
This way we *actually* have our volatile keys removed if the system as
rebooted.

13 years agoFix a few cases of mixed line-endings
Raja R Harinath [Sun, 25 Jul 2010 20:19:54 +0000 (01:49 +0530)]
Fix a few cases of mixed line-endings

This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.