mono.git
14 years agoadd timeout here too
Gonzalo Paniagua Javier [Wed, 16 Sep 2009 01:36:39 +0000 (01:36 -0000)]
add timeout here too

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

14 years ago2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 16 Sep 2009 01:27:36 +0000 (01:27 -0000)]
2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpListenerRequest.cs: add the right status code.
* HttpConnection.cs: exception might come from more places when
reading the input. Catch all of them.

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

14 years agoFix changelog notice. Don't want to put blame on others for my stuff.
Rodrigo Kumpera [Wed, 16 Sep 2009 00:29:57 +0000 (00:29 -0000)]
Fix changelog notice. Don't want to put blame on others for my stuff.

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

14 years ago2009-09-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 16 Sep 2009 00:27:43 +0000 (00:27 -0000)]
2009-09-15  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c: New function mono_class_is_assignable_from_slow that is safe to be
used under mono_class_init context. This functions avoid any code path that
calls mono_class_init, which leads it to be slow as some things like the interface
bitmap are not available.

* class.c (verify_class_overrides): Use mono_class_is_assignable_from_slow instead
of it's own broken version. Fixes the verifier part of #538588.

* class-internals.h: Export mono_class_is_assignable_from_slow as part of the internal
API.

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

14 years ago2009-09-14 Zoltan Varga <vargaz@gmail.com>
Rodrigo Kumpera [Wed, 16 Sep 2009 00:27:31 +0000 (00:27 -0000)]
2009-09-14  Zoltan Varga  <vargaz@gmail.com>

* jit-icalls.c (mono_class_static_field_address): handle vtable failure
properly.

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

14 years ago2009-09-15 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Tue, 15 Sep 2009 20:10:41 +0000 (20:10 -0000)]
2009-09-15  Jeffrey Stedfast  <fejj@novell.com>

* io.c (CreateFile): In the directory fallback case, use
_wapi_open() again so that IOMAP magic happens.
(CopyFile): Need to consistently use _wapi_open() here too.
(ReplaceFile): Use _wapi_open() here too and get rid of the
fallback code that tried re-opening the file w/o O_TRUNC since
there's no reason to do that.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 18:58:08 +0000 (18:58 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* SyndicationElementExtension.cs : make it ready for 2.1 build.

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

14 years ago2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 15 Sep 2009 18:47:01 +0000 (18:47 -0000)]
2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* System.Net.Configuration/DefaultProxyHandler.cs:
* System.Net/WebRequest.cs: handle upper and lowercase HTTP_PROXY and
the Any address.
Fixes bug #537283.

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

14 years agofix monotouch build
Geoff Norton [Tue, 15 Sep 2009 18:19:33 +0000 (18:19 -0000)]
fix monotouch build

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

14 years agoNew tests.
Marek Safar [Tue, 15 Sep 2009 15:07:35 +0000 (15:07 -0000)]
New tests.

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

14 years ago2009-09-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Sep 2009 15:07:18 +0000 (15:07 -0000)]
2009-09-15  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Fixes nullable promotion for enum type variables.

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

14 years agoSome compatibility work
Marek Safar [Tue, 15 Sep 2009 15:06:57 +0000 (15:06 -0000)]
Some compatibility work

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 13:20:14 +0000 (13:20 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : to support external function that returns non-
  double (such as int) as number, add conversion from non-double at
  evaluation. This should fix bug #498389.

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

14 years ago2009-09-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Sep 2009 13:04:06 +0000 (13:04 -0000)]
2009-09-15  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: FindNamespaceInAssembly must catch
ReflectionTypeLoadException so that it doesn't break on invalid
assemblies.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 13:03:54 +0000 (13:03 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* XDocument.cs : XmlReaderSettings on XmlReader may be null.
  Fixed bug #496285.

* XDocumentTest.cs : added test for bug #496285.

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

14 years ago2009-09-15 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 15 Sep 2009 12:50:12 +0000 (12:50 -0000)]
2009-09-15  Mark Probst  <mark.probst@gmail.com>

        * class.c (mono_class_init): Always set an exception in a class if
        vtable setup fails.  Fixes #538577.

        * generic-sharing.c: Raise an exception if mono_class_vtable()
        returns NULL.

2009-09-15  Mark Probst  <mark.probst@gmail.com>

        * generic-type-load-exception.2.il: Test case for vtable setup
        failure in shared generic code.

        * Makefile.am: Test added.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 12:40:28 +0000 (12:40 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* XmlAttributeCollection.cs : removed duplicate ID attribute check
  here as this behavior not specifically defined by W3C DOM Level 2
  specification. Fixed bug #508296.

* XmlAttributeCollectionTests.cs : add test for bug #508296 by
  Tom Hindle.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 11:26:20 +0000 (11:26 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* XDocument.cs : fix SaveOptions behavior in Save() with filename.
  Fixed bug #527421.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 11:16:18 +0000 (11:16 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* XElement.cs : consider default namespace in GetNamespaceOfPrefix().
* XNodeReader.cs : 3.5 RTM does not return empty string for undefined
  namespace URI with the argument prefix in LookupNamespace().

* XNodeReaderTest.cs : Updated test to match the latest linq2xml
  and added test for LookupNamespace().

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 11:12:49 +0000 (11:12 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* XObject.cs : do not throw AE when target object is not found in
  Annotation(). Fixed bug #527887.

* XObjectTest.cs : added test for #527887.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 09:34:51 +0000 (09:34 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* JsonWriter.cs : use Stream as its output directly and avoid
  extraneous preamble output. Fix interop with .NET.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 08:41:18 +0000 (08:41 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* WebServiceHelper.cs : remove old code.

* System.ServiceModel.dll.sources: remove WebServiceHelper.cs.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 06:45:12 +0000 (06:45 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* WebHttpBehaviorTest.cs : enable working test.

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

14 years ago2009-09-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Sep 2009 06:44:23 +0000 (06:44 -0000)]
2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceDebugBehaviorTest.cs : it still seems there are some port-
  blocking tests that blocks here, so change the port and make sure
  it is available. 8080 is anyways likely to interfere with others.

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

14 years ago2009-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 15 Sep 2009 05:32:15 +0000 (05:32 -0000)]
2009-09-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichTextBox.cs: When we are inserting a flow of rtf text, and we are
*not* loading it from a file, try to re-use a line if already
available, since the default behaviour of the parser is to create new
lines for the document.
This should fix a regressions we found after the last fix for #513030.

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

14 years ago2009-09-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 Sep 2009 23:24:54 +0000 (23:24 -0000)]
2009-09-15  Marek Habersack  <mhabersack@novell.com>

* Makefile (TEST_RESOURCE_FILES): added
Test/WebPages/ListView_DynamicControl_09.aspx and
Test/WebPages/ListView_DynamicControl_09.aspx.cs

2009-09-15  Marek Habersack  <mhabersack@novell.com>

* FieldTemplateFactoryTest.cs: implemented tests for
BuildVirtualPath, GetFieldTemplateVirtualPath and PreprocessMode.

2009-09-15  Marek Habersack  <mhabersack@novell.com>

* MetaColumn.cs: DataTypeAttribtue created automatically for
string columns, must be of type MultilineText for long strings.

* FieldTemplateFactory.cs: implemented BuildVirtualPath,
CreateFieldTemplate, GetFieldTemplateVirtualPath, PreprocessMode
and fixed implementation of TemplateFolderVirtualPath.

2009-09-15  Marek Habersack  <mhabersack@novell.com>

* DataTypeAttribute.cs: implemented GetDataTypeName

2009-09-15  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: CreateChildControls calls EnsureDataBound only if
we're not in post-back and if data binding is required.

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

14 years ago2009-09-14 Tom Hindle <tom_hindle@sil.org>
Jonathan Pobst [Mon, 14 Sep 2009 19:11:25 +0000 (19:11 -0000)]
2009-09-14  Tom Hindle <tom_hindle@sil.org>

* ToolStripOverflow.cs: Fixes #536036 by adding null ptr check.

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

14 years ago * MonoTouch/MonoPInvokeCallbackAttribute.cs: Added.
Jonathan Pryor [Mon, 14 Sep 2009 18:31:35 +0000 (18:31 -0000)]
* MonoTouch/MonoPInvokeCallbackAttribute.cs: Added.
* monotouch_System.dll.sources: Include MonoPInvokeCallbackAttribute.

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

14 years ago * DeflateStream.cs: MonoTouch reverse callbacks need to be static
Jonathan Pryor [Mon, 14 Sep 2009 18:25:28 +0000 (18:25 -0000)]
* DeflateStream.cs: MonoTouch reverse callbacks need to be static
  methods and be annotated with [MonoPInvokeCallback].  Get things
  working with these limitations.

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

14 years agoUpdated the profiler documentation, removing the obsolete signal related options...
Massimiliano Mantione [Mon, 14 Sep 2009 18:23:48 +0000 (18:23 -0000)]
Updated the profiler documentation, removing the obsolete signal related options and adding the description of the new socket based command interface.

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

14 years agoRemoved the use of signals to control the profiler and extended the socket based...
Massimiliano Mantione [Mon, 14 Sep 2009 18:23:43 +0000 (18:23 -0000)]
Removed the use of signals to control the profiler and extended the socket based interface to control also heap snapshots.

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

14 years ago * zlib-helper.c: support reverse callbacks within MonoTouch.
Jonathan Pryor [Mon, 14 Sep 2009 18:23:20 +0000 (18:23 -0000)]
* zlib-helper.c: support reverse callbacks within MonoTouch.

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

14 years ago2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 17:03:34 +0000 (17:03 -0000)]
2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* MessagePropertiesTest.cs : new test.

* MessageProperties.cs : fix CopyProperties() behavior to not
  clear existing items. Make all properties call this[name].

* System.ServiceModel_test.dll.sources: add MessagePropertiesTest.cs.

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

14 years ago2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 15:41:16 +0000 (15:41 -0000)]
2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* HttpTransportBindingElement.cs : fix 2.1 build.

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

14 years ago2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 13:23:01 +0000 (13:23 -0000)]
2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* TransportBindingElement.cs : another GetProperty fix, iterate
  other binding elements.

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

14 years ago2007-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 13:20:21 +0000 (13:20 -0000)]
2007-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* MsmqIntegrationBindingElement.cs : implemented some parts.

* HttpTransportBindingElement.cs, PeerTransportBindingElement.cs :
  some GetProperty() implementation.

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

14 years ago2009-09-14 Ivan Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 14 Sep 2009 12:22:33 +0000 (12:22 -0000)]
2009-09-14  Ivan Zlatev  <contact@i-nz.net>

* DesignSurface.cs: Prevent a NRE in Flush by cheching if the
designer loader is null.
[Fixes bug #538929]

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

14 years ago2009-09-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Sep 2009 11:42:03 +0000 (11:42 -0000)]
2009-09-14  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (add_generic_class): Add instances of
Array.GetGenericValueImpl as well.

* Makefile.am (fullaotcheck): Copy and aot more assemblies so linq
can be tested too.

* generics.cs: Add a fullaot linq test.

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

14 years ago2007-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 10:09:08 +0000 (10:09 -0000)]
2007-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* MsmqIntegrationMessageProperty.cs, MsmqMessage.cs:
  cleanup couple of warnings.

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

14 years ago2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 09:03:15 +0000 (09:03 -0000)]
2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : do not try to wait for channel closer
  handle when the loop is not started yet. This fixes lengthy wait
  in the nunit tests.

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

14 years ago2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Sep 2009 09:01:39 +0000 (09:01 -0000)]
2009-09-14  Atsushi Enomoto  <atsushi@ximian.com>

* HttpListenerManager.cs : release HttpListener and avoid extra
  close process more than once.

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

14 years ago2009-09-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Sep 2009 19:10:37 +0000 (19:10 -0000)]
2009-09-13  Zoltan Varga  <vargaz@gmail.com>

* runtime-invoke.cs: Add a test.

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

14 years ago2009-09-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Sep 2009 19:10:25 +0000 (19:10 -0000)]
2009-09-13  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_runtime_invoke): Don't share instance
methods of vtypes, as they could be incorrectly shared with static methods
taking an IntPtr argument.

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

14 years agopainfully updated these
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 03:30:33 +0000 (03:30 -0000)]
painfully updated these

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

14 years ago2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 03:15:56 +0000 (03:15 -0000)]
2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpServerChannelTests.cs:
* BaseCalls.cs:
* System.Runtime.Remoting.Channels.Tcp/TcpChannelTest.cs: ignore tests
that fail on MS.NET.

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

14 years ago2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 02:49:03 +0000 (02:49 -0000)]
2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* AsyncResult.cs: lock when setting the 'completed' field and use the
property instead of the 'handle' field.

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

14 years ago2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 02:44:02 +0000 (02:44 -0000)]
2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* StringBuilderTest.cs: new test.

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

14 years agoavoid ISO C90 warning
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 02:40:08 +0000 (02:40 -0000)]
avoid ISO C90 warning

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

14 years ago2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 13 Sep 2009 02:36:58 +0000 (02:36 -0000)]
2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* domain.c:
* object.c:
* class-internals.h: renamed waithandle_class to
manualresetevent_class.
* marshal.c: propagate the exception if a remoting BeginInvoke call
fails.

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

14 years agoSlightly changed exception footer
Marek Habersack [Fri, 11 Sep 2009 23:15:15 +0000 (23:15 -0000)]
Slightly changed exception footer

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:47:09 +0000 (22:47 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* object.c: Properly handle vtable failures.

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:46:58 +0000 (22:46 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* socket-io.c: Assert on vtable failure.

* mono-mlist.c: Assert on vtable failure.

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:46:48 +0000 (22:46 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* marshal.c: Assert on vtable failure.

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:46:38 +0000 (22:46 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c: Properly handle vtable failures.

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:46:28 +0000 (22:46 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* debug-helpers.c (mono_class_describe_statics): Properly handle vtable failures.

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:46:18 +0000 (22:46 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* cominterop.c (ves_icall_System_ComObject_CreateRCW): Property handle vtable failures.

* console-unix.c (do_console_cancel_event): Same.

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:46:06 +0000 (22:46 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* class-internals.h: Add mono_class_vtable_full function that allows control
if an exception should be raised or not.

* object.c (mono_class_vtable): Call into mono_class_vtable_full. Fix this function
to do what its documentation say, that is to return NULL and set exception_type on
failure.

* object.c (mono_class_create_runtime_vtable): Add new raise_on_error parameter
and change the code to honor it.

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

14 years ago2009-09-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 11 Sep 2009 22:45:56 +0000 (22:45 -0000)]
2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Fix typo in error message.

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

14 years agoBootstrap 4.0 Mono.Posix
Marek Safar [Fri, 11 Sep 2009 22:35:36 +0000 (22:35 -0000)]
Bootstrap 4.0 Mono.Posix

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

14 years agoMore 4.0 bootstrap work
Marek Safar [Fri, 11 Sep 2009 20:08:44 +0000 (20:08 -0000)]
More 4.0 bootstrap work

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

14 years agoUpdated.
Marek Safar [Fri, 11 Sep 2009 17:28:13 +0000 (17:28 -0000)]
Updated.

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

14 years agoNew tests.
Marek Safar [Fri, 11 Sep 2009 17:13:04 +0000 (17:13 -0000)]
New tests.

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

14 years ago2009-09-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 11 Sep 2009 17:12:09 +0000 (17:12 -0000)]
2009-09-11  Marek Safar  <marek.safar@gmail.com>

* driver.cs, dynamic.cs: Reset more static variables.

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

14 years agoMoved System.Core up to top of build order
Marek Safar [Fri, 11 Sep 2009 17:02:00 +0000 (17:02 -0000)]
Moved System.Core up to top of build order

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

14 years agoAdd NO_BUILD for invalid profiles
Marek Safar [Fri, 11 Sep 2009 17:01:06 +0000 (17:01 -0000)]
Add NO_BUILD for invalid profiles

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

14 years ago2008-09-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 11 Sep 2009 16:49:52 +0000 (16:49 -0000)]
2008-09-11  Marek Safar  <marek.safar@gmail.com>

* library.make: Add NO_BUILD to ignore assembly during build.

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

14 years ago2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Sep 2009 15:53:18 +0000 (15:53 -0000)]
2009-09-11  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcherTest.cs : refine AcceptChannel invocation check
  and make it not to fail on .NET.

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

14 years ago2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Sep 2009 15:31:31 +0000 (15:31 -0000)]
2009-09-11  Atsushi Enomoto  <atsushi@ximian.com>

* HttpChannelListener.cs : do not iterate channel list to close
  channels which in turn removes them from the list while iteration.

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

14 years agoAdd Mono.Posix to 4.0 bootstrap
Marek Safar [Fri, 11 Sep 2009 15:17:22 +0000 (15:17 -0000)]
Add Mono.Posix to 4.0 bootstrap

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

14 years ago2009-09-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 11 Sep 2009 14:48:22 +0000 (14:48 -0000)]
2009-09-11  Marek Safar <marek.safar@gmail.com>

* RuntimeBinderContext.cs, CSharpBinaryOperationBinder.cs,
ErrorPrinter.cs, Extensions.cs, CSharpBinder.cs: Binary binder.

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

14 years ago2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Sep 2009 14:16:40 +0000 (14:16 -0000)]
2009-09-11  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : partly revert dispatcher builder refactoring
  to fix some ServiceHostBaseTest regressions.

* ServiceMetadataExtension.cs : reflect ServiceHostBase change.

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

14 years ago2009-09-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 11 Sep 2009 13:31:40 +0000 (13:31 -0000)]
2009-09-11  Marek Safar  <marek.safar@gmail.com>

* dynamic.cs, expression.cs, rootcontext.cs, namespace.cs, ecore.cs,
driver.cs: Introduced Expression::MakeExpression.

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

14 years ago2009-09-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 11 Sep 2009 13:14:19 +0000 (13:14 -0000)]
2009-09-11  Marek Safar  <marek.safar@gmail.com>

* Makefile: Add System.Core to net_4_0_boostrap.

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

14 years agoPrepared for net_4_0_bootsrap
Marek Safar [Fri, 11 Sep 2009 13:12:10 +0000 (13:12 -0000)]
Prepared for net_4_0_bootsrap

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

14 years agoExpose more stuff for 4.0 bootstrap
Marek Safar [Fri, 11 Sep 2009 13:10:37 +0000 (13:10 -0000)]
Expose more stuff for 4.0 bootstrap

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

14 years ago2009-09-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 11 Sep 2009 13:09:46 +0000 (13:09 -0000)]
2009-09-11  Marek Safar  <marek.safar@gmail.com>

* Makefile: Add System.Core dependency for 4.0

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

14 years ago2009-09-11 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 11 Sep 2009 12:22:47 +0000 (12:22 -0000)]
2009-09-11  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGrid.cs: Hide the splitter when the help is hidden.

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

14 years agoUnbreak some tests
Marek Habersack [Fri, 11 Sep 2009 12:03:15 +0000 (12:03 -0000)]
Unbreak some tests

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

14 years ago2009-09-11 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 11 Sep 2009 11:04:02 +0000 (11:04 -0000)]
2009-09-11  Ivan N. Zlatev  <contact@i-nz.net>

* InternalWindowManager.cs: Call Invalidate-Update instead of
Refresh for MS compitability. Note also that Refresh is virtual
and several controls override it in order to provide data refresh
functionallity on top of the redraw and they do not expect this
extra refresh call.
* Control.cs: In Refresh Invalidate the control and all children
insead of calling Refresh for each of them.
[Fixes bug #538336]

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

14 years ago2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Sep 2009 10:33:15 +0000 (10:33 -0000)]
2009-09-11  Atsushi Enomoto  <atsushi@ximian.com>

* EndpointDispatcher.cs : AddressFilter is always non-null.
* DispatchRuntime.cs : CallbackClientRuntime seems to be created even
  for non-callback dispatchers. Fixing this also results in fixes in
  couple of nunit regressions.
* InputOrReplyRequestProcessor.cs : the change above required fix
  here too (it has null check).

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

14 years ago2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Sep 2009 10:00:41 +0000 (10:00 -0000)]
2009-09-11  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceDebugBehavior.cs : help page enabling properties are true
  by default (fix regressions).

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

14 years ago2009-09-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 11 Sep 2009 09:44:20 +0000 (09:44 -0000)]
2009-09-11  Marek Safar  <marek.safar@gmail.com>

* compiler.info: Update to changes in mcs.

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

14 years ago2009-09-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 11 Sep 2009 09:43:13 +0000 (09:43 -0000)]
2009-09-11  Marek Safar  <marek.safar@gmail.com>

* eval.cs: Exposed MessageOutput instead of cleaning up eval API.

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

14 years ago2009-09-11 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 11 Sep 2009 09:07:02 +0000 (09:07 -0000)]
2009-09-11  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGrid.cs: Always set the help panel properties on the
internal control, because they are inherited and can change with
the parent.
[Fixes bug #525305]

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

14 years ago2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Sep 2009 09:02:11 +0000 (09:02 -0000)]
2009-09-11  Atsushi Enomoto  <atsushi@ximian.com>

* BaseMessagesFormatter.cs, DefaultOperationInvoker.cs:
  Fix the crash that ref parameter in contract methods caused.

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

14 years ago2009-09-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 Sep 2009 21:46:57 +0000 (21:46 -0000)]
2009-09-10  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (arch_emit_static_rgctx_trampoline): Don't clobber argument
reg r1 on arm.

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

14 years ago2009-09-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Sep 2009 21:07:41 +0000 (21:07 -0000)]
2009-09-10  Rodrigo Kumpera  <rkumpera@novell.com>

object.c (mono_delegate_ctor_with_method): Guard against null method.

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

14 years ago2009-09-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Sep 2009 21:07:31 +0000 (21:07 -0000)]
2009-09-10  Rodrigo Kumpera  <rkumpera@novell.com>

* marshal.c (mono_marshal_get_xappdomain_dispatch): Add an assert
that should be replaced with error handling later.

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

14 years ago2009-09-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Sep 2009 21:07:20 +0000 (21:07 -0000)]
2009-09-10  Rodrigo Kumpera  <rkumpera@novell.com>

* marshal.c (mono_delegate_end_invoke): Fix warning.

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

14 years ago2009-09-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Sep 2009 21:07:10 +0000 (21:07 -0000)]
2009-09-10  Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_field_from_token): Properly handle invalid
dynamic tokens.

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

14 years ago2009-09-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Sep 2009 21:07:00 +0000 (21:07 -0000)]
2009-09-10  Rodrigo Kumpera  <rkumpera@novell.com>

* pedump.c (verify_image_file): Skip types that can't be
decoded.

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

14 years agofix thebuild on monotouch
Geoff Norton [Thu, 10 Sep 2009 20:30:02 +0000 (20:30 -0000)]
fix thebuild on monotouch

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

14 years ago2009-09-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 10 Sep 2009 20:04:33 +0000 (20:04 -0000)]
2009-09-10  Sebastien Pouliot  <sebastien@ximian.com>

* security-core-clr.c: Fix default_platform_check so it can run
the runtime coreclr tests (without an infinite recursion when
throwing an exception).

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

14 years agofix Personal on monotouch
Geoff Norton [Thu, 10 Sep 2009 18:39:44 +0000 (18:39 -0000)]
fix Personal on monotouch

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

14 years ago* linker/Mono.Linker.Steps/MarkStep.cs: Make IgnoreScope() virtual to
Andrés G. Aragoneses [Thu, 10 Sep 2009 18:16:49 +0000 (18:16 -0000)]
* linker/Mono.Linker.Steps/MarkStep.cs: Make IgnoreScope() virtual to
prevent marking custom attributes of foreign assemblies in a derived
step in the tuner. ( r: jb )

* tuner/Mono.Tuner/MoonlightA11yApiMarker.cs: Don't mark attributes of
non-a11y assemblies.

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

14 years ago2009-09-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Sep 2009 16:20:34 +0000 (16:20 -0000)]
2009-09-10  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Look for recursive valuetypes only against the
type been initialized as this is a lot simpler and works.

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

14 years ago2009-09-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Sep 2009 16:20:13 +0000 (16:20 -0000)]
2009-09-10  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Ensure that fields are properly loaded before
checking them.

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

14 years ago* AssemblyResolver.cs: Move the SearchLogger to be a list of
Ankit Jain [Thu, 10 Sep 2009 14:52:41 +0000 (14:52 -0000)]
* AssemblyResolver.cs: Move the SearchLogger to be a list of
strings, so that it can be emitted with correct indentation.
(SearchLogger): Remove.
(LogSearchMessage): New.
(LogSearchLoggerMessages): New.
* ResolveAssemblyReference.cs: Track api changes.

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

14 years ago* TaskLoggingHelper.cs (FormatString): Use the unformatted string
Ankit Jain [Thu, 10 Sep 2009 14:52:11 +0000 (14:52 -0000)]
* TaskLoggingHelper.cs (FormatString): Use the unformatted string
even if the args array was empty.

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

14 years ago2009-09-10 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 10 Sep 2009 14:07:35 +0000 (14:07 -0000)]
2009-09-10  Bill Holmes  <billholmes54@gmail.com>

* object.c (mono_object_get_virtual_method) : Call
  mono_cominterop_get_invoke if the object is a COM object.

* mini-trampolines.c (mono_delegate_trampoline) : Call
  mono_cominterop_get_invoke if the delegate target object
  is a COM object.

* cominterop.cs : Adding a test for invoking delegates that
  target COM methods.

Code is contributed under MIT/X11 license.

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