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

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

* SecurityManager.cs, SecurityManager_2_1.cs: Replace existing
throw methods (for coreclr) with a single one.

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

14 years ago2009-09-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 9 Sep 2009 14:10:03 +0000 (14:10 -0000)]
2009-09-09  Sebastien Pouliot  <sebastien@ximian.com>

* method-to-ir.c: For CoreCLR throw a SecurityException if an
internal call is defined outside platform code. Reduce code
duplication with existing [Method|Field]AccessException

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

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

A fix for bug #532571
* ecore.cs: Check for simple name type arguments used with
non-generic type.

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

14 years ago2009-09-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 9 Sep 2009 04:11:09 +0000 (04:11 -0000)]
2009-09-09 Gonzalo Paniagua Javier <gonzalo@novell.com>

* zconf.h:
* Makefile.am: attempt to fix the windows GCC build.

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

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

* mini-x86.c (mono_arch_emit_call): Don't reduce stack usage by 4
if the return value is a small struct passed on regs.

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

14 years ago2009-09-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 9 Sep 2009 00:05:57 +0000 (00:05 -0000)]
2009-09-09  Zoltan Varga  <vargaz@gmail.com>

* cpu-arm.md mini-arm.c: Remove unused opcodes.

* mini-codegen.c: Enable the cpu description validation for arm.

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

14 years ago2009-09-08 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 8 Sep 2009 20:44:48 +0000 (20:44 -0000)]
2009-09-08  Jonathan Chambers  <joncham@gmail.com>

        * libtest.vcproj: Add toplevel include directory for config.h.

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

14 years agoNew tests.
Marek Safar [Tue, 8 Sep 2009 19:29:20 +0000 (19:29 -0000)]
New tests.

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

14 years agoWrong bug number.
Marek Safar [Tue, 8 Sep 2009 19:29:06 +0000 (19:29 -0000)]
Wrong bug number.

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

14 years ago2009-09-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 8 Sep 2009 19:28:09 +0000 (19:28 -0000)]
2009-09-08  Marek Safar  <marek.safar@gmail.com>

A fix for bug #537402
* generic.cs (CheckConstraint): Don't use buildin types to check for
parameterless constructor.

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

14 years ago2009-09-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 8 Sep 2009 18:09:42 +0000 (18:09 -0000)]
2009-09-08  Rodrigo Kumpera  <rkumpera@novell.com>

* iface4.cs: Add one more check.

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

14 years ago2009-09-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 8 Sep 2009 18:09:30 +0000 (18:09 -0000)]
2009-09-08  Rodrigo Kumpera  <rkumpera@novell.com>

Use inheritance-aware interface offsets. Inherited types use the same offsets
of their parents. This reduce offset duplication in case more than one type in
the inheritance tree explicitly implements the same interface.

This also removes a source of vtable bubbles found in #532409. An abstract type
isn't required to provide abstract methods to all interfaces it implements, which
resulted in a bubble with the previous scheme as the child would get a non-full
vtable from its parent. We fail all concrete types with vtable bubbles, so this
should be fixed.

This change causes an increase of 1.7% in vtable memory usage for IronPython pystone but
it's expected to not cause any significant increase beyond that.

* class.c (setup_interface_offsets): Compute super class iface offsets
first to force sharing.

* class.c: Add VTABLE_SELECTOR macro to the vtable debug macros to help
dumping only the relevant ones.

* class.c (mono_class_setup_vtable_general): Give newslot, non final, virtual
methods a new slot regardless if they belong to an interface or not. This allows
an inherited type to override the iface method separately from the class one.

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

14 years agoNew test.
Marek Safar [Tue, 8 Sep 2009 16:49:18 +0000 (16:49 -0000)]
New test.

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

14 years ago2009-09-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 8 Sep 2009 16:48:53 +0000 (16:48 -0000)]
2009-09-08  Marek Safar  <marek.safar@gmail.com>

A fix for bug #537402
* generic.cs (CheckConstraint): Correctly inflate generic type
arguments when checking generic method.

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

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

* RichTextBox.cs: When processing rtf, don't add a new line if we
already have one for that position. This way we avoid overriding by
mistake our lines when copying/pasting.
Fixes #513030.

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

14 years agoCheck in up-to-date version of RegexTest.cs. Somehow the previous
Raja R Harinath [Tue, 8 Sep 2009 15:12:38 +0000 (15:12 -0000)]
Check in up-to-date version of RegexTest.cs.  Somehow the previous
checkin got an untested preliminary version

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

14 years ago2009-09-08 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 8 Sep 2009 14:45:17 +0000 (14:45 -0000)]
2009-09-08  Jonathan Chambers  <joncham@gmail.com>

        * cominterop.cs libtest.c: Add support to run tests
        on all x86 and amd64 platforms.

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

14 years ago- Fix System tests build. (There were two tests named Split_InvalidCount.)
Jonathan Pobst [Tue, 8 Sep 2009 14:26:08 +0000 (14:26 -0000)]
- Fix System tests build.  (There were two tests named Split_InvalidCount.)

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

14 years ago2009-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 8 Sep 2009 14:24:54 +0000 (14:24 -0000)]
2009-09-08  Zoltan Varga  <vargaz@gmail.com>

* basic-calls.cs: Move the test_0_float_load_and_store_with_big_offset ()
test which depends on structs to objects.cs.

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

14 years ago2009-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 8 Sep 2009 14:21:25 +0000 (14:21 -0000)]
2009-09-08  Zoltan Varga  <vargaz@gmail.com>

* basic-calls.cs: Remove calls to Console.WriteLine and throws, since those
require object model related stuff working.

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

14 years agoNew test.
Marek Safar [Tue, 8 Sep 2009 14:13:47 +0000 (14:13 -0000)]
New test.

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

14 years agoNew test.
Marek Safar [Tue, 8 Sep 2009 14:12:59 +0000 (14:12 -0000)]
New test.

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

14 years ago2009-09-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 8 Sep 2009 14:12:29 +0000 (14:12 -0000)]
2009-09-08  Marek Safar  <marek.safar@gmail.com>

A fix for bug #536463
* decl.cs (AddToContainer): Don't report collision between explicit
and parameterless non-explicit members.

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

14 years ago2009-09-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 8 Sep 2009 11:48:49 +0000 (11:48 -0000)]
2009-09-08  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: if total row count has been retrieved from the
view, don't reset it to the number of items returned from the data
source. Fixes bug #535701

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

14 years ago2009-09-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 8 Sep 2009 11:38:53 +0000 (11:38 -0000)]
2009-09-08  Marek Safar  <marek.safar@gmail.com>

* eval.cs: Reset more static stuff.

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

14 years ago2009-09-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 8 Sep 2009 11:25:09 +0000 (11:25 -0000)]
2009-09-08  Marek Habersack  <mhabersack@novell.com>

* ProfileParser.cs: GetProfileGroupType creates type name with
"ProfileGroup" prefix instead of "ProfileCommon". Fixes bug
#535655

* ProfileBase.cs: typo fix - renamed CreateSettingsPropery to
CreateSettingsProperty

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

* AppCodeCompiler.cs: HaveCustomProfile returns true for profiles
which don't contain top-level properties. Fixes bug #535655

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

14 years ago* ToolTask.cs (LogEventsFromTextOutput): Log message even if its not
Ankit Jain [Tue, 8 Sep 2009 10:29:05 +0000 (10:29 -0000)]
* ToolTask.cs (LogEventsFromTextOutput): Log message even if its not
identified as an error or a warning.

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

14 years agoIn class/Microsoft.Build.Engine/Test/various:
Ankit Jain [Tue, 8 Sep 2009 10:28:51 +0000 (10:28 -0000)]
In class/Microsoft.Build.Engine/Test/various:

* Items.cs (TestItems5):
(TestItems6): Remove 'NotWorking' attribute.

In class/Microsoft.Build.Utilities/Mono.XBuild.Utilities:

* ReservedNameUtils.cs (RelativeDir): Add a trailing \ .

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

14 years agodisable this optimization on monotouch
Geoff Norton [Tue, 8 Sep 2009 01:30:59 +0000 (01:30 -0000)]
disable this optimization on monotouch

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

14 years ago2009-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 8 Sep 2009 01:11:50 +0000 (01:11 -0000)]
2009-09-08  Zoltan Varga  <vargaz@gmail.com>

* cpu-x86.md mini-x86.c: Remove more unused opcodes.

* mini-ops.h: Fix OP_BIGMUL instruction descriptions.

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

14 years ago2009-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 8 Sep 2009 01:03:47 +0000 (01:03 -0000)]
2009-09-08  Zoltan Varga  <vargaz@gmail.com>

* acinclude.m4 (dolt_supported): Enable this for mips.

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

14 years ago2009-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 8 Sep 2009 01:03:39 +0000 (01:03 -0000)]
2009-09-08  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_local_regalloc): Validate the cpu description
against the instruction metadata in mini-ops.h. amd64 only for now.

* mini-ops.h: Fix some instruction descriptions.

* mini-ops.h mini-x86.c mini-amd64.c cpu-<ARCH>.md: Remove some
unused instructions.

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

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

* BuildManager.cs: added IsPrecompiled internal property.

* AppResourcesCompiler.cs: load precompiled site local and global
resource assemblies from static constructor. Fixes bugs #536138
and #536143

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

14 years ago2009-09-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 7 Sep 2009 22:22:18 +0000 (22:22 -0000)]
2009-09-08  Marek Habersack  <mhabersack@novell.com>

* UrlRoutingModule.cs: store original request path in
PostResolveRequestCache and restore it in
PostMapRequestHandler. Fixes bug #537089

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