mono.git
13 years ago[mdoc-update] Add support ILAsm language output.
Jonathan Pryor [Sat, 4 Sep 2010 02:02:58 +0000 (22:02 -0400)]
[mdoc-update] Add support ILAsm language output.

13 years ago[mdoc-update] Add support for multiple languages in type/member signatures.
Jonathan Pryor [Fri, 3 Sep 2010 15:04:29 +0000 (11:04 -0400)]
[mdoc-update] Add support for multiple languages in type/member signatures.

We're planning on adding IL signature support for <TypeSignature/> and
<MemberSignature/>, so having arrays of MemberFormatters instead of having
single instances of them will make supporting IL output easier.

13 years agoUse UTF8 instead of ASCII when reading mount info
Gonzalo Paniagua Javier [Fri, 3 Sep 2010 21:26:16 +0000 (17:26 -0400)]
Use UTF8 instead of ASCII when reading mount info

This allows for mount points with UTF8 characters in them.

13 years agoLinux /proc/mounts might have escaped characters
Gonzalo Paniagua Javier [Fri, 3 Sep 2010 20:01:42 +0000 (16:01 -0400)]
Linux /proc/mounts might have escaped characters

Translate escaped characters in mount paths.

Fixes bug #637078.

13 years agoAllow ordinal entry points in windows.
Gonzalo Paniagua Javier [Fri, 3 Sep 2010 18:58:50 +0000 (14:58 -0400)]
Allow ordinal entry points in windows.

Windows allows entry point names like "#10" which refer to the Nth
function (n > 1 and less than the highest ordinal value in the .def
file).

Fixes bug #636966.

13 years agoFix a crash when the signature of the Main method could not be loaded. Fixes #636794.
Zoltan Varga [Fri, 3 Sep 2010 17:17:41 +0000 (19:17 +0200)]
Fix a crash when the signature of the Main method could not be loaded. Fixes #636794.

13 years agoOngoing Discovery duplex (UDP) implementation (not working yet).
Atsushi Eno [Fri, 3 Sep 2010 09:45:15 +0000 (18:45 +0900)]
Ongoing Discovery duplex (UDP) implementation (not working yet).

13 years agoRemove workaround for moonlight now that System.dll's WebExceptionStatus is properly...
Jb Evain [Fri, 3 Sep 2010 09:30:58 +0000 (11:30 +0200)]
Remove workaround for moonlight now that System.dll's WebExceptionStatus is properly compiled

13 years agoFix the visiblity of WebExceptionStatus for moonlight in the same way as WebException
Jb Evain [Fri, 3 Sep 2010 09:29:32 +0000 (11:29 +0200)]
Fix the visiblity of WebExceptionStatus for moonlight in the same way as WebException

13 years agoFix another non-null RemoteAddress dependency.
Atsushi Eno [Fri, 3 Sep 2010 07:18:59 +0000 (16:18 +0900)]
Fix another non-null RemoteAddress dependency.

13 years agoAdd some argument check. RemoteAddress could be null for callback client runtime...
Atsushi Eno [Fri, 3 Sep 2010 06:14:32 +0000 (15:14 +0900)]
Add some argument check. RemoteAddress could be null for callback client runtime channel.

13 years ago[fix] #512136: Invalidate the selection border in ListBox when scrolling.
Carlos Alberto Cortez [Tue, 31 Aug 2010 08:05:43 +0000 (10:05 +0200)]
[fix] #512136: Invalidate the selection border in ListBox when scrolling.

* ListBox.cs: Invalidate the selection border when horizontally
scrolling - the call to ScrollWindow is not enough, so we need
to update by ourselves the new margin of the selection border by
a quite small offset.
Fixes #512136.

13 years ago[fix] #581287: Use menu color to paint the background of NotifyIcon.
Carlos Alberto Cortez [Tue, 31 Aug 2010 07:31:50 +0000 (09:31 +0200)]
[fix] #581287: Use menu color to paint the background of NotifyIcon.

* NotifyIcon.cs: Use SystemColors.Menu to paint the background
of the control, since at least in gnome the menu and the panel
share the back color (unfortunately we can't just leave the rectangle
transparent, as some window managers use a default white).
Fixes #581287.

13 years ago[fix] #624915: Check the valid range of the value of the vertical scroll in TreeView.
Tom Hindle [Mon, 30 Aug 2010 23:38:06 +0000 (01:38 +0200)]
[fix] #624915: Check the valid range of the  value of the vertical scroll in TreeView.

* TreeView.cs: Create a new method to check that the new valid
for the vertical scroll is in the valid range - this is
specially important when the size of the TreeView can show less
than one element.
Fixes #624915.

13 years agoCosmetic exception type change and suppress test failures.
Atsushi Eno [Fri, 3 Sep 2010 01:12:13 +0000 (10:12 +0900)]
Cosmetic exception type change and suppress test failures.

13 years ago[mdoc-update-ecma-xml] Assembly [CLSCompliant] shouldn't replace Type version.
Jonathan Pryor [Thu, 2 Sep 2010 21:34:19 +0000 (17:34 -0400)]
[mdoc-update-ecma-xml] Assembly [CLSCompliant] shouldn't replace Type version.

If a type has e.g. [CLSCompliant(false)], then the Assembly's
[CLSCompliant(true)] shouldn't replace it.

13 years ago[mdoc-export-ecma-xml] Generate [CLSCompliant] attribute on types.
Jonathan Pryor [Thu, 2 Sep 2010 21:31:13 +0000 (17:31 -0400)]
[mdoc-export-ecma-xml] Generate [CLSCompliant] attribute on types.

If the assembly has [CLSCompliant], then "forward" that to the type.

13 years ago[mdoc-update] Generate an index.xml file when --type is used.
Jonathan Pryor [Thu, 2 Sep 2010 21:16:58 +0000 (17:16 -0400)]
[mdoc-update] Generate an index.xml file when --type is used.

(Yet another "Let's help ECMA!" fix...)

For performance reasons, I want to use this workflow:

mdoc x-msitomsx -o slashdocs msidocs --type=A
mdoc update -o docs -i slashdocs/mscorlib.xml mscorlib.dll --type=A
mdoc update-ecma-xml -o CLILibraryTypes.xml --type=A

That is, have a consistent set of --type=TYPEs that are passed between the
three apps.  I want to do this because otherwise 'mdoc update' takes
12 minutes to process the assemblies I need; with this approach, it takes
12 seconds.

Unfortunately, 'mdoc update-ecma-xml' needs an index.xml so it can obtain
assembly-level custom attributes, and 'mdoc update --type...' wasn't creating
an index.xml file.

Doh!

Fix: IFF docs/index.xml is NOT present, create a docs/index.xml file which
contains ONLY the types & namespaces that were encountered.

If docs/index.xml IS present, it's unchanged.

This fix allows the above workflow to Just Work, while maintaining the other
"I know this type has been updated, let's not process the entire assembly"
workflow that --type allows.

13 years ago[mdoc-update] Add -fignore-missing-types option.
Jonathan Pryor [Thu, 2 Sep 2010 20:34:44 +0000 (16:34 -0400)]
[mdoc-update] Add -fignore-missing-types option.

This prevents an error if you specify a --type=TYPE and TYPE wasn't found
within the assembly you're updating.

I'm adding this so that I can have a single unified types.response file for
all types we're adding for ECMA (which contains types from several assemblies)
without getting an error when running 'mdoc update' against the source
assemblies.

13 years ago[mdoc-update] Add --help text for --exceptions=added.
Jonathan Pryor [Thu, 2 Sep 2010 20:24:01 +0000 (16:24 -0400)]
[mdoc-update] Add --help text for --exceptions=added.

13 years ago[mdoc-x-msitomsx] Ignore <platformNotes/>, <sections/>, etc.
Jonathan Pryor [Thu, 2 Sep 2010 18:46:38 +0000 (14:46 -0400)]
[mdoc-x-msitomsx] Ignore <platformNotes/>, <sections/>, etc.

With this, we convert the mscorlib types that we care about w/o validation
errors.  Hurrah!

13 years ago[mdoc-x-msitomsx] Support legacy and external links.
Jonathan Pryor [Thu, 2 Sep 2010 18:41:13 +0000 (14:41 -0400)]
[mdoc-x-msitomsx] Support legacy and external links.

<externalLink/> is mapped to an HTML <a/> (and thus a
<format type="text/html"/> wrapper), while <legacyLink/> is just italicized.

13 years agoFix <embeddedLabel/>, add <i/> as a valid <para/> child.
Jonathan Pryor [Thu, 2 Sep 2010 18:36:35 +0000 (14:36 -0400)]
Fix <embeddedLabel/>, add <i/> as a valid <para/> child.

<embeddedLabel/> was skipping the content, resulting in <i>:</i>.  Oops.

And since <embeddedLabel/> generates <i/>, validation was failing within
<para/>, so add it.

13 years ago[mdoc-x-msitomsx] Additional <token/> replacement values.
Jonathan Pryor [Thu, 2 Sep 2010 18:34:39 +0000 (14:34 -0400)]
[mdoc-x-msitomsx] Additional <token/> replacement values.

13 years ago[mdoc-x-msitomsx] Support <embeddedLabel/>, additional <token/> values.
Jonathan Pryor [Thu, 2 Sep 2010 18:32:10 +0000 (14:32 -0400)]
[mdoc-x-msitomsx] Support <embeddedLabel/>, additional <token/> values.

13 years ago[mdoc-x-msitomsx] Convert <notesForInheritors/> elements into <block/>s.
Jonathan Pryor [Thu, 2 Sep 2010 18:18:52 +0000 (14:18 -0400)]
[mdoc-x-msitomsx] Convert <notesForInheritors/> elements into <block/>s.

13 years ago[mdoc-x-msitomsx] Improve <example/> generation so it validates.
Jonathan Pryor [Thu, 2 Sep 2010 18:07:56 +0000 (14:07 -0400)]
[mdoc-x-msitomsx] Improve <example/> generation so it validates.

We were getting a <description/> element which should be skipped.

13 years agoPlace ignored elements together for consistency.
Jonathan Pryor [Thu, 2 Sep 2010 18:00:42 +0000 (14:00 -0400)]
Place ignored elements together for consistency.

13 years ago[mdoc-x-msitomsx] Ignore <internalOnly/>.
Jonathan Pryor [Thu, 2 Sep 2010 17:59:25 +0000 (13:59 -0400)]
[mdoc-x-msitomsx] Ignore <internalOnly/>.

13 years ago[mdoc] Generate <threadsafe/> from <threadSafety/>.
Jonathan Pryor [Thu, 2 Sep 2010 17:46:24 +0000 (13:46 -0400)]
[mdoc] Generate <threadsafe/> from <threadSafety/>.

We also need to update monodoc-ecma.xsd so that multiple <para/>s are valid
within <threadsafe/>; otherwise, we report validation errors on the
'mdoc x-msitomsx' output.

13 years ago[mdoc-x-msitomsx] Add support for converting <list/>s.
Jonathan Pryor [Thu, 2 Sep 2010 17:36:46 +0000 (13:36 -0400)]
[mdoc-x-msitomsx] Add support for converting <list/>s.

13 years ago[mdoc-x-msitomsx] Import <notesForImplementers/> and <notesForCallers/>.
Jonathan Pryor [Thu, 2 Sep 2010 17:32:19 +0000 (13:32 -0400)]
[mdoc-x-msitomsx] Import <notesForImplementers/> and <notesForCallers/>.

In the original XML, these are sibling elements to <remarks/>, but they need
to be imported as children of <remarks/> as <block/> is the closest matching
element, and <block/> is a child of <remarks/>.

13 years ago[mdoc-x-msitomsx] Ignore <clsCompliantAlternative/> elements.
Jonathan Pryor [Thu, 2 Sep 2010 17:16:47 +0000 (13:16 -0400)]
[mdoc-x-msitomsx] Ignore <clsCompliantAlternative/> elements.

13 years ago[mdoc-x-msitomsx] Replace <token/> with literal text.
Jonathan Pryor [Thu, 2 Sep 2010 17:15:06 +0000 (13:15 -0400)]
[mdoc-x-msitomsx] Replace <token/> with literal text.

13 years ago[mdoc-x-msitomsx] Mutate <permission/> elements.
Jonathan Pryor [Thu, 2 Sep 2010 17:05:30 +0000 (13:05 -0400)]
[mdoc-x-msitomsx] Mutate <permission/> elements.

13 years ago[mdoc-x-msitomsx] Generate <block/> from <alert/>.
Jonathan Pryor [Thu, 2 Sep 2010 17:01:56 +0000 (13:01 -0400)]
[mdoc-x-msitomsx] Generate <block/> from <alert/>.

13 years ago[mdoc-x-msitomsx] Generate <typeparam/> from <genericParameters/>.
Jonathan Pryor [Thu, 2 Sep 2010 16:26:50 +0000 (12:26 -0400)]
[mdoc-x-msitomsx] Generate <typeparam/> from <genericParameters/>.

13 years agoMake sure that Resources/msitomsx.xsl is distributed.
Jonathan Pryor [Thu, 2 Sep 2010 16:23:47 +0000 (12:23 -0400)]
Make sure that Resources/msitomsx.xsl is distributed.

13 years ago[mdoc-validate] Add support for validating 'csc /doc' XML.
Jonathan Pryor [Thu, 2 Sep 2010 16:18:00 +0000 (12:18 -0400)]
[mdoc-validate] Add support for validating 'csc /doc' XML.

This will help in determining which elements I'm not converting within
'mdoc x-msitomsx'.

13 years ago[mdoc-x-msitomsx] Ignore <changeHistory/>, <relatedTopics/>.
Jonathan Pryor [Thu, 2 Sep 2010 16:02:21 +0000 (12:02 -0400)]
[mdoc-x-msitomsx] Ignore <changeHistory/>, <relatedTopics/>.

13 years ago[mdoc-x-msitomsx] Map <codeInline/> to <c/>, <codeReference/> to <code/>.
Jonathan Pryor [Thu, 2 Sep 2010 15:06:21 +0000 (11:06 -0400)]
[mdoc-x-msitomsx] Map <codeInline/> to <c/>, <codeReference/> to <code/>.

13 years ago[mdoc-x-msitomsx] Generate <seealso/> from <equivalentCodeEntity/>.
Jonathan Pryor [Thu, 2 Sep 2010 14:52:53 +0000 (10:52 -0400)]
[mdoc-x-msitomsx] Generate <seealso/> from <equivalentCodeEntity/>.

13 years ago[mdoc-x-msitomsx] Add <table/> conversion support.
Jonathan Pryor [Thu, 2 Sep 2010 14:46:56 +0000 (10:46 -0400)]
[mdoc-x-msitomsx] Add <table/> conversion support.

13 years ago[mdoc-x-msitomsx] Generate a /doc/assembly/name attribute.
Jonathan Pryor [Thu, 2 Sep 2010 14:16:31 +0000 (10:16 -0400)]
[mdoc-x-msitomsx] Generate a /doc/assembly/name attribute.

This is so our generated XML files more closely match 'csc /doc' format.

13 years ago[mdoc-update] Add --library=VALUE option.
Jonathan Pryor [Thu, 2 Sep 2010 14:10:21 +0000 (10:10 -0400)]
[mdoc-update] Add --library=VALUE option.

This is so that we can share response files between 'mdoc x-msitomsx',
'mdoc update', and 'mdoc update-ecma-xml', thus ensuring that only
the types we care about are imported and processed.

13 years ago[mdoc-x-msitomsx] Flush --help documentation.
Jonathan Pryor [Thu, 2 Sep 2010 13:48:51 +0000 (09:48 -0400)]
[mdoc-x-msitomsx] Flush --help documentation.

13 years ago[mdoc] Add "internal" 'mdoc x-msitomsx' command.
Jonathan Pryor [Thu, 2 Sep 2010 03:12:03 +0000 (23:12 -0400)]
[mdoc] Add "internal" 'mdoc x-msitomsx' command.

The 'mdoc x-msitomsx' command converts a Microsoft internal XML dialect into
Microsoft XML Documentation format (e.g. what 'mdoc export-msxdoc' generates).

The 'mdoc x-msitomsx' command is internal, i.e. 'mdoc help' won't list it,
as this format is completely internal to Microsoft (and likely subject to
change without notice); this command only exists to help facilitate the ECMA
standardization process, converting Microsoft's existing (internal)
documentation into a format usable by the ECMA committee.

13 years ago[mdoc-update] Refactor out Microsoft XML Documentation import.
Jonathan Pryor [Wed, 1 Sep 2010 19:56:14 +0000 (15:56 -0400)]
[mdoc-update] Refactor out Microsoft XML Documentation import.

Another side effect of having the DocumentationImporter abstraction is that
we're no longer limited to importing from either ECMA XML, Microsoft XML, or
both; we can now import from arbitrarily many Microsoft XML sources.

(Arbitrarily many ECMA XML sources likely won't work, at present, since the
ECMA XML file controls type + member enumeration, but I don't think this will
be needed any time soon...)

13 years ago[mdoc-update] Refactor out ECMA XML import into EcmaDocumentationImporter.
Jonathan Pryor [Wed, 1 Sep 2010 18:00:45 +0000 (14:00 -0400)]
[mdoc-update] Refactor out ECMA XML import into EcmaDocumentationImporter.

Victory for less spaghetti code...

13 years agoReturn IPv6 addresses
Gonzalo Paniagua Javier [Thu, 2 Sep 2010 21:21:37 +0000 (17:21 -0400)]
Return IPv6 addresses

We were not returning IPv6 addresses if there was no IPv6 configured
interface. Now we will return those addresses if ipv6 is enabled by
configuration.

Fixes bug #636517.

13 years agoEnsure OnUploadProgressChanged is called on the right thread
Sebastien Pouliot [Thu, 2 Sep 2010 20:16:13 +0000 (16:16 -0400)]
Ensure OnUploadProgressChanged is called on the right thread

* mcs/class/System.Net/System.Net/WebClient_2_1.cs: Use sync_context to
post the call to OnUploadProgressChanged

13 years agoDuring inlining, verify the method before producing locals.
Rodrigo Kumpera [Wed, 1 Sep 2010 20:13:03 +0000 (17:13 -0300)]
During inlining, verify the method before producing locals.

* method-to-ir.c (inline_method): We verify the inlined method
before variables are created for locals since this can assert.
Some check on locals are only done by the IL verifier so it's
not enough to just check if the header decoded fine.

* mini.c (mini_method_verify): Add parameter telling if we
should fail the compile or not.

* mini.c (mono_compile_is_broken): Pass the method explicitly
as it now can be diferent than cfg->method.

* mini.h: Export mono_compile_is_broken instead of
mini_method_verify.

Fixes #560200

13 years agoVerify locals when checking a method header.
Rodrigo Kumpera [Wed, 1 Sep 2010 20:11:29 +0000 (17:11 -0300)]
Verify locals when checking a method header.

* metadata-verify.c (mono_verifier_verify_method_header): If
the header has a locals token, verify the corresponding row
in the standalonesig table.

13 years agoRepeat UDP message sending, and do not process duplicate messages received. Makes...
Atsushi Eno [Thu, 2 Sep 2010 16:48:27 +0000 (01:48 +0900)]
Repeat UDP message sending, and do not process duplicate messages received. Makes UDP transmit robust.

13 years agoDo not set the exception to NotSupportedException for denied headers
Sebastien Pouliot [Thu, 2 Sep 2010 15:11:19 +0000 (11:11 -0400)]
Do not set the exception to NotSupportedException for denied headers

* mcs/class/System.Net/System.Net.Policy/ClientAccessPolicy.cs: Do not
throw a NotSupportedException here since it regress some DRT (like 656).
The (hopefully) correct fix (for DRT3001) will be committed inside moon

13 years ago[Fix] fix regression in Delegate.CreateDelegate
Jb Evain [Thu, 2 Sep 2010 13:59:58 +0000 (15:59 +0200)]
[Fix] fix regression in Delegate.CreateDelegate

2ec0ab59fe4aecf5507a81846a66de1a658bbfd2 caused a regression in
Create.Delegate where the overload which doesn't take a firstArgument
could be used to create closed over null delegates while this
overload doesn't allow it.

13 years agoAdd a test for the regression to Delegate.CreateDelegate triggered by 2ec0ab59fe4aecf...
Jb Evain [Thu, 2 Sep 2010 13:58:20 +0000 (15:58 +0200)]
Add a test for the regression to Delegate.CreateDelegate triggered by 2ec0ab59fe4aecf5507a81846a66de1a658bbfd2

13 years agomoonlight build workaround: smcs somehow rejects to compile this code.
Atsushi Eno [Thu, 2 Sep 2010 12:53:09 +0000 (21:53 +0900)]
moonlight build workaround: smcs somehow rejects to compile this code.

13 years agoAdd some comments about the current state of the precise stack scanning code.
Zoltan Varga [Thu, 2 Sep 2010 12:06:11 +0000 (14:06 +0200)]
Add some comments about the current state of the precise stack scanning code.

13 years ago[Plinq] Force strict parallelism in all PLinq unit tests
Jérémie Laval [Thu, 2 Sep 2010 10:11:50 +0000 (11:11 +0100)]
[Plinq] Force strict parallelism in all PLinq unit tests

13 years ago[PLinq] Check ExecutionMode before executing sequentially
Jérémie Laval [Thu, 2 Sep 2010 10:11:26 +0000 (11:11 +0100)]
[PLinq] Check ExecutionMode before executing sequentially

13 years ago[PLinq] Add automatic sequential processing of query
Jérémie Laval [Thu, 2 Sep 2010 09:35:08 +0000 (10:35 +0100)]
[PLinq] Add automatic sequential processing of query

13 years ago[PLinq] Add the plumbery for checking source data size when possible and setting...
Jérémie Laval [Thu, 2 Sep 2010 09:21:25 +0000 (10:21 +0100)]
[PLinq] Add the plumbery for checking source data size when possible and setting ShouldBeSequential appropriately

13 years ago[PLinq] Sanitize QueryOptions to use property everywhere and add ShouldBeSequential...
Jérémie Laval [Thu, 2 Sep 2010 09:20:08 +0000 (10:20 +0100)]
[PLinq] Sanitize QueryOptions to use property everywhere and add ShouldBeSequential option.

13 years agoRevert "[PLinq] Honor WithDegreeOfParallelism if present"
Jérémie Laval [Wed, 1 Sep 2010 13:47:18 +0000 (14:47 +0100)]
Revert "[PLinq] Honor WithDegreeOfParallelism if present"

This reverts commit 59260b1df7d7ddfeb38cd616b883755d49e150c2.

The degree of parallelism value was actually already registered somewhere else.

13 years agoClose AnnouncementService in the test cases. Assert that relevant ports become available.
Atsushi Eno [Thu, 2 Sep 2010 09:24:51 +0000 (18:24 +0900)]
Close AnnouncementService in the test cases. Assert that relevant ports become available.

13 years agoThrow EndpointNotFoundException when it cannot connect to the remote server.
Atsushi Eno [Thu, 2 Sep 2010 03:04:29 +0000 (12:04 +0900)]
Throw EndpointNotFoundException when it cannot connect to the remote server.

13 years agoEnable system aot by default only on x86/amd64 linux.
Zoltan Varga [Wed, 1 Sep 2010 22:43:20 +0000 (00:43 +0200)]
Enable system aot by default only on x86/amd64 linux.

13 years agoRemove Content-Length header when not needed
Gonzalo Paniagua Javier [Wed, 1 Sep 2010 21:56:06 +0000 (17:56 -0400)]
Remove Content-Length header when not needed

If we are redirecting to a GET from a POST, the Content-Length header
might have stale data and it will be sent. Some servers, instead of
ignoring it, keep waiting for the data to be sent (for a GET!).

Fixes bug #636219.

13 years ago[xbuild] Update man page to add "/tv:" option.
Ankit Jain [Wed, 1 Sep 2010 21:18:42 +0000 (02:48 +0530)]
[xbuild] Update man page to add "/tv:" option.

Add option to specify toolsversion from the command line,
to the man page.

13 years agoAdd missing DT format
Gonzalo Paniagua Javier [Wed, 1 Sep 2010 20:31:11 +0000 (16:31 -0400)]
Add missing DT format

The datetime format having a numeric timezone after the milliseconds
was missing.
Fixes bug #479061.

13 years agoAvoid sending data in the challenge phase of NTLM
Gonzalo Paniagua Javier [Wed, 1 Sep 2010 19:30:31 +0000 (15:30 -0400)]
Avoid sending data in the challenge phase of NTLM

If there's a POST/PUT request that gets a NTLM 401, we save the data
and don't send it again until after the challenge phase. Ie, instead of
sending all the data 3 times, we only send it at most twice.

13 years agoUse the request itself as the key for the cache.
Gonzalo Paniagua Javier [Wed, 1 Sep 2010 19:06:56 +0000 (15:06 -0400)]
Use the request itself as the key for the cache.

We were usign teh URL, but that might not be unique among several
requests that need to be authenticated using NTLM. This led to
different requests sharing the same authentication session which fails
miserably.

Bug #631315 fixed.

13 years ago[xbuild] Unsubscribe events on ConsoleLogger.Shutdown ()
Ankit Jain [Wed, 1 Sep 2010 18:30:53 +0000 (00:00 +0530)]
[xbuild] Unsubscribe events on ConsoleLogger.Shutdown ()

Reported by Lluis Sanchez.

13 years agoFix build of mono-basic on ppc64
Geoff Norton [Wed, 1 Sep 2010 18:09:38 +0000 (14:09 -0400)]
Fix build of mono-basic on ppc64

OP_BREAK can take up to 40 bytes on ppc64

13 years agoFill Duration value. Got managed mode use case working.
Atsushi Eno [Wed, 1 Sep 2010 17:22:04 +0000 (02:22 +0900)]
Fill Duration value. Got managed mode use case working.

13 years agoFix parameter order for TempAsyncResult.
Atsushi Eno [Wed, 1 Sep 2010 17:21:00 +0000 (02:21 +0900)]
Fix parameter order for TempAsyncResult.

13 years agoAdd NotWorking test for bugs #635349 and #605936
Jb Evain [Wed, 1 Sep 2010 16:27:39 +0000 (18:27 +0200)]
Add NotWorking test for bugs #635349 and #605936

13 years ago[mdoc-update] Only check for duplicate elements, not duplicate nodes.
Jonathan Pryor [Wed, 1 Sep 2010 15:05:57 +0000 (11:05 -0400)]
[mdoc-update] Only check for duplicate elements, not duplicate nodes.

The duplicate-element checking algorithm wasn't restricted to just elements;
consequently, an 'invalid token' exception was generated from XPath because we
were trying to call XmlNode.SelectNodes("#text"), and '#' isn't valid.  Oops.

Fixes building gendarme from mono-tools.

13 years ago[mdoc-update] Refactor type+member traversal algorithm.
Jonathan Pryor [Wed, 1 Sep 2010 04:04:41 +0000 (00:04 -0400)]
[mdoc-update] Refactor type+member traversal algorithm.

ECMA wants to import some Microsoft documentation for use in the next version
of the ECMA standard (hence mdoc-update-ecma-xml).

Unfortunately, Microsoft doesn't use the Microsoft XML Documentation format
for their internal class library documentation.  They use some other XML
dialect (which looks similar yet different from "msxdoc").

So to make life easier for ECMA, mdoc-update of needs to support yet another
import format.  Yay?

Unfortunately:

  - The current import logic uses no abstractions; we have "separate" code
    paths when importing msxdoc's vs. ECMA docs.  We need a sane abstraction
    if we're going to add a third import format.

  - Additionally, the ECMA doc import logic is a mass of spaghetti code, as
    ECMA import also controls type+member enumeration order.

Start trying to bring some sanity to this by adding a DocumentationEnumerator
abstraction so that some of the XmlReader maintenance for importing/processing
ECMA documentation can be split out.

13 years agoCouple of fixes in FindCriteria and relevant contract types for Find operation.
Atsushi Eno [Wed, 1 Sep 2010 15:03:24 +0000 (00:03 +0900)]
Couple of fixes in FindCriteria and relevant contract types for Find operation.

13 years agoAdd another roundtrip case.
Atsushi Eno [Wed, 1 Sep 2010 15:01:00 +0000 (00:01 +0900)]
Add another roundtrip case.

13 years agoUse CollectionDataContractAttribute.ItemName for collection item serialization.
Atsushi Eno [Wed, 1 Sep 2010 14:59:50 +0000 (23:59 +0900)]
Use CollectionDataContractAttribute.ItemName for collection item serialization.

13 years agoAllow empty element in ReadElementContent*() e.g. for empty list.
Atsushi Eno [Wed, 1 Sep 2010 14:56:57 +0000 (23:56 +0900)]
Allow empty element in ReadElementContent*() e.g. for empty list.

13 years agoFix the NET_2_1 build of System.Json
Jb Evain [Wed, 1 Sep 2010 13:58:23 +0000 (15:58 +0200)]
Fix the NET_2_1 build of System.Json

13 years agoFix the System.Core build for the monotouch profile
Jb Evain [Wed, 1 Sep 2010 13:28:04 +0000 (15:28 +0200)]
Fix the System.Core build for the monotouch profile

13 years agoFix the monotouch build
Jb Evain [Wed, 1 Sep 2010 13:27:37 +0000 (15:27 +0200)]
Fix the monotouch build

13 years agoAllow recursive Write + n * Read lock pattern for ReaderWriterLockSlim and add corres...
Jérémie Laval [Wed, 1 Sep 2010 13:26:42 +0000 (14:26 +0100)]
Allow recursive Write + n * Read lock pattern for ReaderWriterLockSlim and add corresponding unit test

13 years agoCheck Recursive counts for ReaderWriterLockSlim in unit tests
Jérémie Laval [Wed, 1 Sep 2010 12:58:58 +0000 (13:58 +0100)]
Check Recursive counts for ReaderWriterLockSlim in unit tests

13 years agoGeneralize ThreadLockState to include recursive count informations and update them...
Jérémie Laval [Wed, 1 Sep 2010 12:56:11 +0000 (13:56 +0100)]
Generalize ThreadLockState to include recursive count informations and update them accordingly in the different Enter/Exit methods

13 years ago[PLinq] Honor WithDegreeOfParallelism if present
Jérémie Laval [Wed, 1 Sep 2010 11:05:00 +0000 (12:05 +0100)]
[PLinq] Honor WithDegreeOfParallelism if present

13 years agoChange the key of the inner dictionary to an int id instead of the instance itself
Jérémie Laval [Wed, 1 Sep 2010 10:08:03 +0000 (11:08 +0100)]
Change the key of the inner dictionary to an int id instead of the instance itself

It prevents object references to the rwlslim to be kept and thus not GC'ed

13 years agoSplit ReaderWriterLockSlim helper classes into their own files
Jérémie Laval [Wed, 1 Sep 2010 10:05:59 +0000 (11:05 +0100)]
Split ReaderWriterLockSlim helper classes into their own files

13 years agoAdd a bunch of missing configuration members etc. based on corcompare results.
Atsushi Eno [Wed, 1 Sep 2010 09:55:11 +0000 (18:55 +0900)]
Add a bunch of missing configuration members etc. based on corcompare results.

13 years agoAdd IdentityElement implementation and some supplemental extension methods for discovery.
Atsushi Eno [Wed, 1 Sep 2010 09:53:46 +0000 (18:53 +0900)]
Add IdentityElement implementation and some supplemental extension methods for discovery.

13 years agoAdd ctor block to field initializers to avoid member lookup at wrong block
Marek Safar [Wed, 1 Sep 2010 09:30:38 +0000 (10:30 +0100)]
Add ctor block to field initializers to avoid member lookup at wrong block

13 years agoHandle WAIT_IO_TIMEOUT in WaitAny call
Gonzalo Paniagua Javier [Tue, 31 Aug 2010 23:56:47 +0000 (19:56 -0400)]
Handle WAIT_IO_TIMEOUT in WaitAny call

WaitForMultipleObjectsEx might return WAIT_IO_COMPLETION if an APC is queued.
Fixes bug #549807.

13 years agoaot-compiler was not getting included in dist
Andrew Jorgensen [Tue, 31 Aug 2010 21:40:47 +0000 (15:40 -0600)]
aot-compiler was not getting included in dist

dist-local: dist-default fixes dist of this dir

13 years agoReenable system AOT on x86/amd64 which accidently got disabled.
Zoltan Varga [Tue, 31 Aug 2010 20:16:13 +0000 (22:16 +0200)]
Reenable system AOT on x86/amd64 which accidently got disabled.

13 years agoMerge branch 'master' of github.com:mono/mono
Zoltan Varga [Tue, 31 Aug 2010 19:49:25 +0000 (19:49 +0000)]
Merge branch 'master' of github.com:mono/mono