mono.git
15 years ago2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Apr 2009 11:05:23 +0000 (11:05 -0000)]
2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : now Request() supports duplex ones too.

svn path=/trunk/mcs/; revision=132446

15 years ago2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Apr 2009 11:02:02 +0000 (11:02 -0000)]
2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* DuplexChannelFactory.cs : remove todos. Implement CreateChannel().

svn path=/trunk/mcs/; revision=132445

15 years ago2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Apr 2009 10:48:51 +0000 (10:48 -0000)]
2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* PeerCustomResolverBindingElement.cs : do initialize field.

svn path=/trunk/mcs/; revision=132443

15 years ago2009-04-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 23 Apr 2009 05:48:19 +0000 (05:48 -0000)]
2009-04-23  Miguel de Icaza  <miguel@novell.com>

* eval.cs: Make getcompletions silent and enable debugging output
if the -v option is passed.

svn path=/trunk/mcs/; revision=132431

15 years ago2009-04-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 23 Apr 2009 05:42:38 +0000 (05:42 -0000)]
2009-04-23  Miguel de Icaza  <miguel@novell.com>

* namespace.cs (NamespaceEntry.CompletionGetTypesStartingWith):
Consider looking up the namespace that matches the prefix being
used.

This is part of the support for allowing completions like:
`System.Co<TAB>' to complete to System.Console.

* complete.cs (CompletionSimpleName.AppendResults): Make this
routine reusable.

svn path=/trunk/mcs/; revision=132430

15 years ago2009-04-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Apr 2009 01:46:07 +0000 (01:46 -0000)]
2009-04-22  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Open up the internals to System.ServiceModel.Web,
e.g. calls to IDataContractSurrogate, JsonReader ...

svn path=/trunk/mcs/; revision=132429

15 years agoAdd missing headers
Miguel de Icaza [Wed, 22 Apr 2009 23:59:25 +0000 (23:59 -0000)]
Add missing headers

svn path=/trunk/mono/; revision=132428

15 years agomerge
Miguel de Icaza [Wed, 22 Apr 2009 23:59:10 +0000 (23:59 -0000)]
merge

svn path=/trunk/mono/; revision=132427

15 years ago2009-04-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Apr 2009 23:49:18 +0000 (23:49 -0000)]
2009-04-22  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Open internals to System.ServiceModel.Web

svn path=/trunk/mcs/; revision=132426

15 years ago2009-04-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 22 Apr 2009 23:33:57 +0000 (23:33 -0000)]
2009-04-22  Miguel de Icaza  <miguel@novell.com>

* aot-runtime.c (make_writable): Use mono_mprotect to simplify
some porting work.

svn path=/trunk/mono/; revision=132425

15 years agoPortificate to the SLN setup
Miguel de Icaza [Wed, 22 Apr 2009 23:16:34 +0000 (23:16 -0000)]
Portificate to the SLN setup

svn path=/trunk/mono/; revision=132424

15 years ago2009-04-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 22 Apr 2009 23:07:49 +0000 (23:07 -0000)]
2009-04-22  Miguel de Icaza  <miguel@novell.com>

        * Makefile.am: Split the console support in platform specific
        code and put together a framework for making this easy in the future so
        that we can start splitting code instead of having a mess of PLATFORM_WIN32

svn path=/trunk/mono/; revision=132422

15 years agoAdd
Miguel de Icaza [Wed, 22 Apr 2009 22:56:30 +0000 (22:56 -0000)]
Add

svn path=/trunk/mono/; revision=132420

15 years agoAdd
Miguel de Icaza [Wed, 22 Apr 2009 22:56:23 +0000 (22:56 -0000)]
Add

svn path=/trunk/mono/; revision=132419

15 years agoSort the files
Miguel de Icaza [Wed, 22 Apr 2009 22:51:56 +0000 (22:51 -0000)]
Sort the files

svn path=/trunk/mono/; revision=132418

15 years agoDo not need signal.h here
Miguel de Icaza [Wed, 22 Apr 2009 22:34:52 +0000 (22:34 -0000)]
Do not need signal.h here

svn path=/trunk/mono/; revision=132416

15 years agoDo not need signal.h here
Miguel de Icaza [Wed, 22 Apr 2009 22:34:31 +0000 (22:34 -0000)]
Do not need signal.h here

svn path=/trunk/mono/; revision=132415

15 years agoDo not need signal.h here
Miguel de Icaza [Wed, 22 Apr 2009 22:33:53 +0000 (22:33 -0000)]
Do not need signal.h here

svn path=/trunk/mono/; revision=132414

15 years agoUpdate
Miguel de Icaza [Wed, 22 Apr 2009 22:32:07 +0000 (22:32 -0000)]
Update

svn path=/trunk/mono/; revision=132413

15 years ago2009-04-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Apr 2009 21:53:22 +0000 (21:53 -0000)]
2009-04-22  Sebastien Pouliot  <sebastien@ximian.com>

* System.Net.dll.sources: Remove the common Const, Locale and
MonoTODOAttribute since we can now get them from mscorlib.dll.
Remove all System/System.Net.NetworkInformation/* types since
Socket does not depend on them anymore.
* DummySystemNet.cs: Add a dummy System.Net.NetworkInformation
namespace to please compilers.

svn path=/trunk/mcs/; revision=132409

15 years ago2009-04-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Apr 2009 21:50:40 +0000 (21:50 -0000)]
2009-04-22  Sebastien Pouliot  <sebastien@ximian.com>

* Socket_2_1.cs: Use old-n-simple CheckProtocolSupport to implement
OSSupportsIP[v4|v6] for Moonlight (NET_2_1 only) so we can avoid
including a bunch of types (22) from System.Net.NetworkInformation
and drop the number of [SecuritySafeCritical] methods to audit (the
same 22) and [SecurityCritical] (8) beside getting a smaller
System.Net.dll assembly :)

svn path=/trunk/mcs/; revision=132408

15 years ago2009-04-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Apr 2009 21:32:30 +0000 (21:32 -0000)]
2009-04-22  Sebastien Pouliot  <sebastien@ximian.com>

* net_2_1_raw_System.ServiceModel.Web.dll.sources: Remove the common
Const, Locale and MonoTODO since we can now get them from mscorlib.dll

svn path=/trunk/mcs/; revision=132407

15 years ago2009-04-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Apr 2009 21:32:17 +0000 (21:32 -0000)]
2009-04-22  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: allow System.ServiceModel.Web access to mscorlib
internals (e.g. non-generic System.Collections.*)

svn path=/trunk/mcs/; revision=132406

15 years agoUp
Miguel de Icaza [Wed, 22 Apr 2009 21:24:26 +0000 (21:24 -0000)]
Up

svn path=/trunk/mono/; revision=132404

15 years ago2009-04-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 22 Apr 2009 19:01:09 +0000 (19:01 -0000)]
2009-04-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Win32Exception.cs: made W32ErrorMessage internal.

svn path=/trunk/mcs/; revision=132394

15 years ago2009-04-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 22 Apr 2009 18:35:40 +0000 (18:35 -0000)]
2009-04-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Microsoft.CSharp/CSharpCodeCompiler.cs:
* Microsoft.VisualBasic/VBCodeCompiler.cs: better error when there's a
problem running the specified exec.

svn path=/trunk/mcs/; revision=132387

15 years agoMove two other documents to the Wiki
Miguel de Icaza [Wed, 22 Apr 2009 18:22:37 +0000 (18:22 -0000)]
Move two other documents to the Wiki

svn path=/trunk/mono/; revision=132386

15 years ago2009-04-22 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Wed, 22 Apr 2009 18:09:44 +0000 (18:09 -0000)]
2009-04-22  Jeffrey Stedfast  <fejj@novell.com>

* configure.in: Check for a stable version of glib-2.0 as opposed
to an unstable development version (we don't want people
unfamiliar with glib versioning to install an unstable development
version of glib).

svn path=/trunk/mono/; revision=132384

15 years agorefactor
Jb Evain [Wed, 22 Apr 2009 16:55:54 +0000 (16:55 -0000)]
refactor

svn path=/trunk/mcs/; revision=132378

15 years agothat reads better
Jb Evain [Wed, 22 Apr 2009 16:48:01 +0000 (16:48 -0000)]
that reads better

svn path=/trunk/mcs/; revision=132377

15 years ago2009-04-22 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 22 Apr 2009 16:45:12 +0000 (16:45 -0000)]
2009-04-22  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/CheckVisibility.cs: take InternalsVisibleTo into account.

svn path=/trunk/mcs/; revision=132376

15 years ago2009-04-22 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 22 Apr 2009 15:51:27 +0000 (15:51 -0000)]
2009-04-22  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/CheckVisibility.cs: take FamAndAssem into account.

svn path=/trunk/mcs/; revision=132371

15 years ago2009-04-22 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 22 Apr 2009 15:41:53 +0000 (15:41 -0000)]
2009-04-22  Jb Evain  <jbevain@novell.com>

* AdjustVisibility.cs: we're now turning non exposed fields and
methods (API wise) that are `protected` into `protected and internal`.

svn path=/trunk/mcs/; revision=132370

15 years ago2009-04-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 22 Apr 2009 14:27:34 +0000 (14:27 -0000)]
2009-04-22  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: create the imports ArrayList before
attempting to use it. Fixes bug #497174

svn path=/trunk/mcs/; revision=132366

15 years ago2009-04-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 22 Apr 2009 13:04:52 +0000 (13:04 -0000)]
2009-04-22  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Force init_locals to be TRUE
to prevent asserts in various passes. Fixes #497220.

svn path=/trunk/mono/; revision=132364

15 years agoUpdated
Marek Safar [Wed, 22 Apr 2009 09:38:36 +0000 (09:38 -0000)]
Updated

svn path=/trunk/mcs/; revision=132355

15 years ago2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 22 Apr 2009 08:08:52 +0000 (08:08 -0000)]
2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaValidator.cs : quick fix for bug #496205. Reset xsi:type
  and endelement.

* XmlSchemaValidatorTests.cs : added test for bug #496192 and #496205.

* 496192.xml, 496192.xsd : new test files.

svn path=/trunk/mcs/; revision=132351

15 years agobug # correction.
Atsushi Eno [Wed, 22 Apr 2009 05:44:56 +0000 (05:44 -0000)]
bug # correction.

svn path=/trunk/mcs/; revision=132348

15 years ago2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 22 Apr 2009 05:43:28 +0000 (05:43 -0000)]
2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* XmlQualifiedName.cs : added Parse() overload that is used for
  xsd validation.

* XmlSchemaValidator.cs, BuiltInDatatype.cs, XmlAtomicValue.cs:
  use xsd-supported version of XmlQualifiedName.Parse().
  Fixed bug #496205.

svn path=/trunk/mcs/; revision=132347

15 years ago2009-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 22 Apr 2009 04:46:09 +0000 (04:46 -0000)]
2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* XmlAttributeCollection.cs : when the node to be inserted has owner
  element _but_ is identical to that of this collection, do not
  reject it to raise an error. Fixed bug #496022.

* XmlAttributeCollectionTests.cs : added test for bug #496022.

svn path=/trunk/mcs/; revision=132344

15 years ago2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 21 Apr 2009 22:41:32 +0000 (22:41 -0000)]
2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpSoapWebServiceHandler.cs: provide the full stack trace instead
of just the Message to aid in debugging web service problems.
Bug #496758 fixed.

svn path=/trunk/mcs/; revision=132335

15 years agoMD misplaced the changelog entry..
Andrés G. Aragoneses [Tue, 21 Apr 2009 21:33:10 +0000 (21:33 -0000)]
MD misplaced the changelog entry..

svn path=/trunk/mcs/; revision=132326

15 years ago* linker/Mono.Linker/Driver.cs: Postprocess custom steps in order to
Andrés G. Aragoneses [Tue, 21 Apr 2009 21:30:32 +0000 (21:30 -0000)]
* linker/Mono.Linker/Driver.cs: Postprocess custom steps in order to
  make them able to find steps determined by the resolve step. Fixes
  #493702.

svn path=/trunk/mcs/; revision=132325

15 years ago2009-04-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 21 Apr 2009 21:16:24 +0000 (21:16 -0000)]
2009-04-21  Marek Habersack  <mhabersack@novell.com>

* Makefile: fixed resource ID generation.

svn path=/trunk/mcs/; revision=132323

15 years ago2009-04-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 21 Apr 2009 20:36:23 +0000 (20:36 -0000)]
2009-04-21 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_delegate_type_equal): Compare valuetypes using
mono_class_from_mono_type to avoid bad interactions with the dual representation
of the generic type definition.

svn path=/trunk/mono/; revision=132318

15 years ago2009-04-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 21 Apr 2009 20:35:55 +0000 (20:35 -0000)]
2009-04-21 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_invoke_method): Use mono_class_from_mono_type to
get the MonoClass for the call context type as it might be a generic
instance.

Fixes #491483.

svn path=/trunk/mono/; revision=132317

15 years ago2009-04-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 21 Apr 2009 20:35:27 +0000 (20:35 -0000)]
2009-04-20 Rodrigo Kumpera  <rkumpera@novell.com>

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

svn path=/trunk/mono/; revision=132316

15 years ago2009-04-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 21 Apr 2009 19:56:57 +0000 (19:56 -0000)]
2009-04-21  Marek Habersack  <mhabersack@novell.com>

* PageCompiler.cs: implemented new way of setting output cache
parameters in the 2.0 profile. The generated code is now the same
as on .NET and uses the OutputCacheParameters class to pass
settings to InitOutputCache.

2009-04-21  Marek Habersack  <mhabersack@novell.com>

* Page.cs: added support for OutputCacheParameters.NoStore to
InitOutputCache.

* TemplateParser.cs:
Added support for the SqlDependency, NoStore and CacheProfile
attributes of the OutputCache directive. Fixes bug #496951

svn path=/trunk/mcs/; revision=132312

15 years agoThe execution context is now ThreadStatic in the Thread class.
Mark Probst [Tue, 21 Apr 2009 18:41:19 +0000 (18:41 -0000)]
The execution context is now ThreadStatic in the Thread class.

2009-04-21  Mark Probst  <mark.probst@gmail.com>

        * object-internals.h: The Thread object has no execution_context
        member anymore.

        * threads.c, threadpool.c, threads-types.h: Accessor functions for
        the execution context.

        * appdomain.c: Bump corlib version.

svn path=/trunk/mono/; revision=132309

15 years ago2009-04-21 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 21 Apr 2009 18:39:48 +0000 (18:39 -0000)]
2009-04-21  Mark Probst  <mark.probst@gmail.com>

        * Thread.cs: Make the execution context field thread-static to
        avoid it being shared between app domains.

2009-04-21  Mark Probst  <mark.probst@gmail.com>

        * Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=132308

15 years ago2009-04-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 21 Apr 2009 18:05:45 +0000 (18:05 -0000)]
2009-04-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Control.cs, ContextMenuStrip.cs, ToolStripMenuItem.cs: Only process any
shortchut in ToolStripMenuItem.ProcessCmdKey if the control generating the
event is the same as the owner of the menu item. Also set properly
SourceControl for ContextMenuStrip, as well as add an internal field to
contain the control that owns the ContextMenuStrip (we need to know this
even before the public property is assigned).
Fixes bits of #393775.

svn path=/trunk/mcs/; revision=132303

15 years ago2009-04-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 21 Apr 2009 17:54:02 +0000 (17:54 -0000)]
2009-04-21  Marek Habersack  <mhabersack@novell.com>

* SimpleWebHandlerParser.cs: retrieve CompilationSection from the
appropriate web.config file.

* BaseParser.cs: moved the internal property VirtualPath from
TemplateParser to here and added an internal method
GetConfigSection to retrieve sections from the correct web.config
file on 2.0 applications. Fixes bug #494245

* PageParser.cs: use the new GetConfigSection method to retrieve
ClientTargetSection.

* TemplateParser.cs: moved the VirtualPath property to
BaseParser.
PagesConfig now uses the new GetConfigSection method. Fixes bug
#494245

svn path=/trunk/mcs/; revision=132300

15 years ago2009-04-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 21 Apr 2009 17:51:43 +0000 (17:51 -0000)]
2009-04-21  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_generic_class_init_trampoline): Remove
a racy assert.

svn path=/trunk/mono/; revision=132299

15 years ago2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 21 Apr 2009 17:01:42 +0000 (17:01 -0000)]
2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DnsTest.cs: new IP for go-mono and fix AsyncResolve test.

svn path=/trunk/mcs/; revision=132294

15 years agoremove more code duplication for 2.1 and fix the build
Sebastien Pouliot [Tue, 21 Apr 2009 16:44:06 +0000 (16:44 -0000)]
remove more code duplication for 2.1 and fix the build

svn path=/trunk/mcs/; revision=132291

15 years agoremove more code duplication for 2.1 and fix the build
Sebastien Pouliot [Tue, 21 Apr 2009 16:43:28 +0000 (16:43 -0000)]
remove more code duplication for 2.1 and fix the build

svn path=/trunk/mcs/; revision=132290

15 years agoIn System.Xml.Schema:
Sebastien Pouliot [Tue, 21 Apr 2009 16:43:26 +0000 (16:43 -0000)]
In System.Xml.Schema:
In .:
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* System.Xml.Schema/*: Remove (not needed for 2.1 anymore)
* net_2_1_raw_System.Runtime.Serialization.dll.sources: Remove
more code duplication for 2.1 and fix the build

svn path=/trunk/mcs/; revision=132289

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 16:39:44 +0000 (16:39 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* XmlSchema_2_1.cs: Add internal fields needed by S.R.S.dll

svn path=/trunk/mcs/; revision=132287

15 years agonet_2_1_raw_System.ServiceModel.dll.sources: Remove MonoTODOAttribute since we can...
Sebastien Pouliot [Tue, 21 Apr 2009 16:20:57 +0000 (16:20 -0000)]
net_2_1_raw_System.ServiceModel.dll.sources: Remove MonoTODOAttribute since we can get it from mscorlib.dll

svn path=/trunk/mcs/; revision=132284

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 16:19:26 +0000 (16:19 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* net_2_1_raw_System.Runtime.Serialization.dll.sources: Remove
MonoTODOAttribute since we get it from mscorlib (fix build too).
Remove System.Xml.Schema/XmlSchema.cs from build since we can
get the fields directly from System.Xml.dll

svn path=/trunk/mcs/; revision=132283

15 years agonet_2_1_raw_System.Xml.dll.sources: Remove MonoTODOAttribute.cs since we can get...
Sebastien Pouliot [Tue, 21 Apr 2009 16:18:23 +0000 (16:18 -0000)]
net_2_1_raw_System.Xml.dll.sources: Remove MonoTODOAttribute.cs since we can get it from mscorlib.dll

svn path=/trunk/mcs/; revision=132282

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 16:16:38 +0000 (16:16 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Open internals to System.Runtime.Serialization
since it needs some stuff from XmlSchema

svn path=/trunk/mcs/; revision=132281

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 15:30:16 +0000 (15:30 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* ClientBase.cs (NET_2_1): Change cctor not to require being
[SecuritySafeCritical] and drop IDisposable.

svn path=/trunk/mcs/; revision=132269

15 years ago* cs-parser.jay (GetTokenName): Mark GENERATE_COMPLETION and COMPLETE_COMPLETION...
Raja R Harinath [Tue, 21 Apr 2009 15:15:23 +0000 (15:15 -0000)]
* cs-parser.jay (GetTokenName): Mark GENERATE_COMPLETION and COMPLETE_COMPLETION as internal.

svn path=/trunk/mcs/; revision=132268

15 years ago2009-04-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 21 Apr 2009 15:04:44 +0000 (15:04 -0000)]
2009-04-21  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c aot-runtime.c: Emit the unwind info into a separate
table to avoid duplicates.

* mini.h (MONO_AOT_FILE_VERSION): Bump this.

svn path=/trunk/mono/; revision=132267

15 years ago2009-04-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 21 Apr 2009 15:04:35 +0000 (15:04 -0000)]
2009-04-21  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_method_code): Avoid writing symbols if the nodebug
option is used.

svn path=/trunk/mono/; revision=132266

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 14:50:46 +0000 (14:50 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* UriParserTest.cs: Ensure "tcp" is not a registred scheme
* UriTest2.cs: Make sure GetComponents and IsBaseOf do not throw
NRE is no UriParser was registred for the URI scheme

svn path=/trunk/mcs/; revision=132265

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 14:48:53 +0000 (14:48 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* DefaultUriParser.cs: Add special case for schema
* Uri.cs: Make sure we can use a default parser if none was
registred for the URI schema.
* UriParser.cs: Handle "*" as a special schema for "anything"
[Fix bug #496783]

svn path=/trunk/mcs/; revision=132264

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 14:42:11 +0000 (14:42 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: allow System.ServiceModel access to mscorlib
internals (e.g. non-generic System.Collections.*)

svn path=/trunk/mcs/; revision=132263

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 14:09:37 +0000 (14:09 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Remove extra attributes for 2.1. Open up the
internals to System.ServiceModel, e.g. to call the ctor of
System.Xml.XmlDictionaryReaderQuotas

svn path=/trunk/mcs/; revision=132261

15 years ago2009-04-21 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 21 Apr 2009 13:47:10 +0000 (13:47 -0000)]
2009-04-21  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/SymbolStoreHelper.cs: look for the assembly in the GAC
as well if it's not local.

svn path=/trunk/mcs/; revision=132257

15 years ago2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Apr 2009 12:59:56 +0000 (12:59 -0000)]
2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>

* PeerNode.cs : remove extra field.

* PeerCustomResolverSettings.cs : added Clone().

* PeerCustomResolverBindingElement.cs :
  implement full custom resolver.

svn path=/trunk/mcs/; revision=132255

15 years ago2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Apr 2009 12:05:07 +0000 (12:05 -0000)]
2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>

* PeerDuplexChannel.cs, PeerChannelListener.cs,
  PeerOutputChannel.cs, PeerCustomResolverBindingElement.cs,
  PeerChannelFactory.cs : ongoing p2p channel implementation.

svn path=/trunk/mcs/; revision=132250

15 years ago2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Apr 2009 12:03:36 +0000 (12:03 -0000)]
2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : setup IChannel instance at construction
  time, so that it can GetProperty<T>() immediately after
  ChannelFactory.CreateChannel().
  Implement some properties.

svn path=/trunk/mcs/; revision=132249

15 years ago2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Apr 2009 12:01:26 +0000 (12:01 -0000)]
2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>

* PeerNode.cs : update API to the latest .NET amd implement some.

svn path=/trunk/mcs/; revision=132248

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 12:00:01 +0000 (12:00 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* System_test.dll.sources: Add EndPointTest.cs

svn path=/trunk/mcs/; revision=132247

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 11:59:15 +0000 (11:59 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* EndPointTest.cs: New

svn path=/trunk/mcs/; revision=132246

15 years ago2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Apr 2009 11:59:06 +0000 (11:59 -0000)]
2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>

* PeerTransportBindingElementTest.cs : test PeerNode property too.

svn path=/trunk/mcs/; revision=132245

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 11:58:26 +0000 (11:58 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* EndPoint.cs: Throw NotImplementedException instead of
NotSupportedException
* IPEndPoint.cs: Fix some validations.

svn path=/trunk/mcs/; revision=132244

15 years ago2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Apr 2009 11:58:12 +0000 (11:58 -0000)]
2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>

* NetPeerTcpBindingTest.cs : fix build.

svn path=/trunk/mcs/; revision=132243

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 11:56:09 +0000 (11:56 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* UriTest2.cs: More constructor test cases

svn path=/trunk/mcs/; revision=132242

15 years ago2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Apr 2009 11:54:56 +0000 (11:54 -0000)]
2009-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* Uri.cs: Fix some issues found with Moonlight (see new unit
tests)

svn path=/trunk/mcs/; revision=132239

15 years ago2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Apr 2009 11:37:19 +0000 (11:37 -0000)]
2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>

* PeerResolver.cs, PeerResolverImpl.cs :
  update API to the latest .NET.

* PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.

svn path=/trunk/mcs/; revision=132237

15 years ago2009-04-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Apr 2009 11:29:22 +0000 (11:29 -0000)]
2009-04-21  Atsushi Enomoto  <atsushi@ximian.com>

* BinaryMessageEncodingBindingElement.cs, ChannelBase.cs,
  ChannelFactoryBase.cs, WindowsStreamSecurityBindingElement.cs :
  implement GetProperty<T>(). Return documented objects or null.

svn path=/trunk/mcs/; revision=132235

15 years ago2009-04-16 Sebastien Pouliot <sebastien@ximian.com>
Miguel de Icaza [Tue, 21 Apr 2009 05:03:04 +0000 (05:03 -0000)]
2009-04-16  Sebastien Pouliot  <sebastien@ximian.com>

* corlib.dll.sources: Add System.IO.IsolatedStorage/
MoonIsolatedStorage.cs to the build

2009-02-07  Zoltan Varga  <vargaz@gmail.com>

* Makefile: Add Test/resources/Fergie.GED to EXTRA_DIST.

2009-01-30  Atsushi Enomoto  <atsushi@ximian.com>

svn path=/trunk/mcs/; revision=132223

15 years ago2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 21 Apr 2009 04:48:42 +0000 (04:48 -0000)]
2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Socket.cs: End* methods can only be called once per IAsyncResult.
Bug #466031 fixed.

svn path=/trunk/mcs/; revision=132221

15 years ago2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 21 Apr 2009 04:24:42 +0000 (04:24 -0000)]
2009-04-21 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnection.cs:
* HttpWebRequest.cs: provide more information on why the connection
could not be established.

svn path=/trunk/mcs/; revision=132220

15 years ago2009-04-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 20 Apr 2009 22:40:11 +0000 (22:40 -0000)]
2009-04-20  Zoltan Varga  <vargaz@gmail.com>

* virtual-sync.cs: Remove this, there is already a test for this in
synchronized.cs.

svn path=/trunk/mono/; revision=132213

15 years ago2009-04-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 20 Apr 2009 22:24:44 +0000 (22:24 -0000)]
2009-04-20 Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c (mini_method_verify): Fail fulltrust code if the exception
is for method or field access.

svn path=/trunk/mono/; revision=132212

15 years ago2009-04-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 20 Apr 2009 20:25:55 +0000 (20:25 -0000)]
2009-04-20 Rodrigo Kumpera  <rkumpera@novell.com>

* valid_nested_eh_in_try_of_try_filter_block.il:  Regression
test for #495656.

svn path=/trunk/mono/; revision=132208

15 years ago2009-04-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 20 Apr 2009 20:25:39 +0000 (20:25 -0000)]
2009-04-20 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (verify_clause_relationship): Only mask as an error if the exception clause
is nested in the filter block.

* verify.c (verify_clause_relationship): The disjoint check must verify if the exception
block is not fully nested.

Fixes #495656.

svn path=/trunk/mono/; revision=132207

15 years agoFix man page
Miguel de Icaza [Mon, 20 Apr 2009 19:35:58 +0000 (19:35 -0000)]
Fix man page

svn path=/trunk/mono/; revision=132205

15 years ago2009-04-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 20 Apr 2009 18:20:47 +0000 (18:20 -0000)]
2009-04-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* StatusStrip.cs: Use the same icon as .net when the mouse is over the
size grip.
Fixes #492828.

svn path=/trunk/mcs/; revision=132195

15 years ago2009-04-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 20 Apr 2009 16:24:32 +0000 (16:24 -0000)]
2009-04-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBox.cs: When calculating the height of the ComboListBox,
specially for the 2.0 profile, use MaxDropDownItems if the
DropDownHeight property hasn't been set, and use the later if it has
been set. This way we support both properties.
Fixes #493308.

svn path=/trunk/mcs/; revision=132188

15 years ago2009-04-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 20 Apr 2009 16:04:59 +0000 (16:04 -0000)]
2009-04-20 Rodrigo Kumpera  <rkumpera@novell.com>

* valid_initobj_this.cs: Regression test for #496175.

svn path=/trunk/mono/; revision=132187

15 years ago2009-04-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 20 Apr 2009 16:02:38 +0000 (16:02 -0000)]
2009-04-20 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (verify_type_compatibility_full): Compare MonoClass and
not MonoType to check for equality of valuetypes as the generic type
definition allows for two different encodings: the generic type definition
class or a generic instance over the GTD arguments.

Fixes #496175.

svn path=/trunk/mono/; revision=132185

15 years ago2009-04-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 20 Apr 2009 16:01:56 +0000 (16:01 -0000)]
2009-04-20 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (dump_stack_value): Fix compilation with extra debug turned on.

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

svn path=/trunk/mono/; revision=132184

15 years ago2009-04-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 20 Apr 2009 15:51:09 +0000 (15:51 -0000)]
2009-04-20  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm-cpp.cpp (mono_llvm_dump_value): New helper function to print
a Value to stdout.

* mini-llvm.c (mono_llvm_emit_method): Use it.

svn path=/trunk/mono/; revision=132183

15 years ago2009-04-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 20 Apr 2009 14:33:59 +0000 (14:33 -0000)]
2009-04-20 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Enable pe verification as the issue with #496453
is that the authenticode data directory have a different unspecified
format. Ignore it for now.

* pedump.c: Run the metadata verifier together with the IL verifier.

Fixes ##496453.

svn path=/trunk/mono/; revision=132170

15 years ago2009-04-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 20 Apr 2009 13:59:16 +0000 (13:59 -0000)]
2009-04-20  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (type_to_llvm_type): Fix the mapping of enums.
(mono_llvm_emit_method): Add support for CAS. Fix handling of CSET opcodes
on volatile values.

* mini-trampolines.c (mono_llvm_vcall_trampoline): Add support for
synchronized methods.

* mini.c (mini_method_compile): Disable LLVM for dynamic methods.

svn path=/trunk/mono/; revision=132169