mono.git
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

14 years ago2009-09-10 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 10 Sep 2009 14:03:55 +0000 (14:03 -0000)]
2009-09-10  Ivan N. Zlatev  <contact@i-nz.net>

* DocumentDesigner.cs: Changing the ISelectionService at run time was a
bad idea, so wrap it inside the extended UISelectionService instead.

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

14 years ago2009-09-10 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 10 Sep 2009 13:35:22 +0000 (13:35 -0000)]
2009-09-10  Ivan N. Zlatev  <contact@i-nz.net>

* DesignSurface.cs: Provide the default implementation of the
ISelectionService in the DesignSurface service container.
* DocumentDesigner.cs: If there is already a ISelectionService registered
in the ServiceContainer but it's not an IUISelectionService (WinForms
specific) then replace it with one.
[Fixes bug #538037]

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

14 years ago2009-09-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 10 Sep 2009 00:04:37 +0000 (00:04 -0000)]
2009-09-10  Marek Habersack  <mhabersack@novell.com>

* Makefile (TEST_RESOURCE_FILES): added
Test/WebPages/ListView_DynamicControl_05.aspx
Test/WebPages/ListView_DynamicControl_05.aspx.cs
Test/WebPages/ListView_DynamicControl_06.aspx
Test/WebPages/ListView_DynamicControl_06.aspx.cs
Test/WebPages/ListView_DynamicControl_07.aspx
Test/WebPages/ListView_DynamicControl_07.aspx.cs
Test/WebPages/ListView_DynamicControl_08.aspx
Test/WebPages/ListView_DynamicControl_08.aspx.cs

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

* DynamicControl.cs: implemented several properties.
Added code for ResolveColumn method, called from OnInit

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

* DynamicControlTest.cs: added seveal tests for DataField and UIHint

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

14 years ago2009-09-10 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Wed, 9 Sep 2009 22:39:47 +0000 (22:39 -0000)]
2009-09-10  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #510176
* DataView.cs (OnRowChanged/OnRowDeleted): Raise appropriate events iff
view is affected. This silence of the numerous Add/Change events that were
getting raised from DataView.
(ToTable): Use appropriate index to generated DataTable in case of
RowFilter / Sort conditions.

* DataRow.cs (AcceptChanges/RejectChanges): Raise appropriate Changing events

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

14 years agoBroken test fix
Veerapuram Varadhan [Wed, 9 Sep 2009 22:39:24 +0000 (22:39 -0000)]
Broken test fix

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

14 years agoFixes tests related to #510176
Veerapuram Varadhan [Wed, 9 Sep 2009 22:39:03 +0000 (22:39 -0000)]
Fixes tests related to #510176

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

14 years agoFix for #510176
Veerapuram Varadhan [Wed, 9 Sep 2009 22:38:40 +0000 (22:38 -0000)]
Fix for #510176

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

14 years agoFix for #510176
Veerapuram Varadhan [Wed, 9 Sep 2009 22:37:28 +0000 (22:37 -0000)]
Fix for #510176

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

14 years ago2009-09-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 9 Sep 2009 20:57:01 +0000 (20:57 -0000)]
2009-09-09  Rodrigo Kumpera  <rkumpera@novell.com>

* badrt-recursive-struct.il: New test for structs with bad layout.

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

14 years ago2009-09-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 9 Sep 2009 20:56:49 +0000 (20:56 -0000)]
2009-09-09  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Check for recursive valuetype definitions.

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

14 years agoFix Mono.Security on MONOTOUCH
Geoff Norton [Wed, 9 Sep 2009 20:06:57 +0000 (20:06 -0000)]
Fix Mono.Security on MONOTOUCH

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

14 years ago* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Rather use the
Andrés G. Aragoneses [Wed, 9 Sep 2009 20:04:57 +0000 (20:04 -0000)]
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Rather use the
OutputDirectory provided on the command line, and redirect some
progress info or errors to the console.

* tuner/Mono.Tuner/MoonlightA11yUsageInspectionStep.cs: Remove
unnecessary step.

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

14 years ago2009-09-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 9 Sep 2009 19:49:50 +0000 (19:49 -0000)]
2009-09-09  Marek Habersack  <mhabersack@novell.com>

* RouteTest.cs: added two tests for empty and null route URLs (bug
#537751)

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

* Route.cs: when Url is set to null, create a parser for empty
string. Fixes bug #537751

* PatternParser.cs: Parse allows for null/empty URLs. Fixes bug
#537751

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

14 years ago * Mono.Documentation/monodocs2html.cs: Fix behavior when multiple
Jonathan Pryor [Wed, 9 Sep 2009 19:38:57 +0000 (19:38 -0000)]
* Mono.Documentation/monodocs2html.cs: Fix behavior when multiple
  source directories are provided, e.g. 'mdoc export-html -o o a b c'
  with docs located in directories a, b, and c.  Previously this would
  be equivalent to running aginst a, b, and c separately, resulting in
  o/index.html being continually overwritten (and thus not showing ALL
  available types).
* Resources/stylesheet.xsl: Make $Index a parameter (as monodocs2html
  will create an in-memory index containing all types from all
  specified directories), and various changes to cope with $Index no
  longer being a file.  Better support files in the global namespace.
* Test/html.expected/NoNamespace.html: Fix assembly link.

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

14 years ago * Mono.Documentation/ManifestResourceResolver.cs: Allow it to lookup
Jonathan Pryor [Wed, 9 Sep 2009 19:34:51 +0000 (19:34 -0000)]
* Mono.Documentation/ManifestResourceResolver.cs: Allow it to lookup
  files located in multiple directories.  Needed so that 'mdoc
  export-html' can properly deal with multiple source directories.

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

14 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Wed, 9 Sep 2009 19:34:01 +0000 (19:34 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* BuildItem.cs (Evaluate): Metadata from "Include" should be,
preserved, so use ConvertTo ITaskItem, rather than string.
Ensure that the new items have the metadata from references _in_
Include, and the metadata of _this_ builditem.
* DirectoryScanner.cs (Includes): Change to a array of ITaskItem.
(MatchedFilenames): Rename to ..
(MatchedItems): .. this, and change type of array of ITaskItem.
Ensure that metadata of items in Includes are retained in the
final matched items.

* BuildItemGroup.cs (ConvertoToITaskItemArray): Add 'separator'
param. If separator is present, then just return a "Join'ed"
string as the single task item.
* ItemReference.cs: Track api changes.

* BuildProperty.cs (ConvertToITaskItemArray): Split the value,
as we need separate task items.

In class/Microsoft.Build.Engine/Test/various:

* Items.cs (TestItems2a):
(TestInheritedMetadataFromItemRefs):
(TestInheritedMetadataFromItemRefs2):
(TestMetadataFromItemReferences): New.

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

14 years agoOops, forgot the package line
Stephen Shaw [Wed, 9 Sep 2009 17:08:17 +0000 (17:08 -0000)]
Oops, forgot the package line

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

14 years agofix monotouch build
Geoff Norton [Wed, 9 Sep 2009 16:35:01 +0000 (16:35 -0000)]
fix monotouch build

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

14 years ago2009-09-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 9 Sep 2009 16:17:35 +0000 (16:17 -0000)]
2009-09-09  Marek Safar  <marek.safar@gmail.com>

* eval.cs, report.cs: Use Console.Out for all eval error or warning
output.

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

14 years agoNew test.
Marek Safar [Wed, 9 Sep 2009 15:48:28 +0000 (15:48 -0000)]
New test.

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

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

A fix for bug #518707
* expression.cs (Is): Optimize only generic parameter type
expression probing value type generic parameter.

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

14 years agoAdded mono-winfxcore for the new windowsbase.dll
Stephen Shaw [Wed, 9 Sep 2009 15:37:55 +0000 (15:37 -0000)]
Added mono-winfxcore for the new windowsbase.dll

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

14 years agoNew test.
Marek Safar [Wed, 9 Sep 2009 15:37:22 +0000 (15:37 -0000)]
New test.

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

14 years agobring Mono Security to monotouch
Jb Evain [Wed, 9 Sep 2009 15:34:58 +0000 (15:34 -0000)]
bring Mono Security to monotouch

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

14 years ago* linker/Mono.Linker.Steps/MarkStep.cs: Visibility changes needed by
Andrés G. Aragoneses [Wed, 9 Sep 2009 15:00:07 +0000 (15:00 -0000)]
* linker/Mono.Linker.Steps/MarkStep.cs: Visibility changes needed by
the need of some new tuner step to redefine or call some methods.

* tuner/Mono.Tuner.csproj:
* tuner/Mono.Tuner.dll.sources: Add new step MoonlightA11yApiMarker.

* tuner/Mono.Tuner/MoonlightA11yApiMarker.cs:
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Use a new
marker step to only mark API used, not mark recursively.

* tuner/Mono.Tuner/MoonlightA11yUsageInspectionStep.cs: Use the new
marker step.

* tuner/Makefile: Adding reference to System, as we need it for
System.Text.RegularExpressions.

r: jb

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

14 years ago2009-09-09 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 9 Sep 2009 14:35:50 +0000 (14:35 -0000)]
2009-09-09  Ivan N. Zlatev  <contact@i-nz.net>

* ParentControlDesigner.cs, ControlDesigner.cs, UISelectionService.cs,
IUISelectionService.cs: Support IToolboxService control creation via
point-(resize)-click.
[Fixes part of bug #537604]

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

14 years agoFixing the cygwin build: the saga continues
Gonzalo Paniagua Javier [Wed, 9 Sep 2009 14:24:05 +0000 (14:24 -0000)]
Fixing the cygwin build: the saga continues

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