mono.git
16 years ago2007-10-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 5 Oct 2007 09:03:11 +0000 (09:03 -0000)]
2007-10-05  Marek Safar  <marek.safar@gmail.com>

A fix for bug #327520
* ecore.cs (ExtensionMethodGroupExpr): Emit resolved extension argument.

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

16 years ago2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 5 Oct 2007 08:50:17 +0000 (08:50 -0000)]
2007-10-05  Atsushi Enomoto  <atsushi@ximian.com>

* MailFileEditor.cs, MdbDataFileEditor.cs,
ResourceExpressionEditorSheet.cs, SkinIDTypeConverter.cs,
SupportsPreviewControlAttribute.cs,
TemplateModeChangedEventArgs.cs, TransactedChangeCallback.cs,
TypeSchema.cs, UserControlFileEditor.cs,
WebFormsDesignerActionService.cs, XmlDataFileEditor.cs,
XmlDocumentSchema.cs, XsdSchemaFileEditor.cs,
XslTransformFileEditor.cs : more 2.0 fiels.

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

16 years ago2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 5 Oct 2007 07:53:17 +0000 (07:53 -0000)]
2007-10-05  Atsushi Enomoto  <atsushi@ximian.com>

* DataColumnSelectionConverter.cs, DataSetFieldSchema.cs,
  DataSetSchema.cs, DataSetViewSchema.cs,
  DataSourceBooleanViewSchemaConverter.cs, DataSourceDesigner.cs,
  DataSourceViewSchemaConverter.cs,
  DesignerHierarchicalDataSourceView.cs,
  IContentResolutionService.cs, IDataSourceSchema.cs,
  IDesignTimeResourceProviderFactoryService.cs,
  IDocumentProjectItem.cs, IFolderProjectItem.cs,
  IHierarchicalDataSourceDesigner.cs, IWebAdministrationService.cs :
  more new 2.0 files.

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

16 years ago2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 5 Oct 2007 06:52:27 +0000 (06:52 -0000)]
2007-10-05  Atsushi Enomoto  <atsushi@ximian.com>

* HttpWebClientProtocol.cs : implemented EnableDecompression.

* WebService.cs : [ComVisible].

* DiscoveryClientProtocol.cs : [ComVisible]

* ServiceDescriptionCollection.cs : added missing members.

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

16 years ago2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 5 Oct 2007 06:04:25 +0000 (06:04 -0000)]
2007-10-05  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceInstallerDialogResult.cs, ServiceInstallerDialog.cs :
  added missing files (winforms dependencies).

* SessionChangeDescription.cs, SessionChangeReason.cs :
  new 2.0 types.
* ServiceBase.cs : added missing members.

* Makefile : added /r:System.Windows.Forms. removed /warnaserror.
* System.ServiceProcess.dll.sources : added couple of missing types.

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

16 years agoUpdate
Raja R Harinath [Fri, 5 Oct 2007 03:51:32 +0000 (03:51 -0000)]
Update

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

16 years ago2007-10-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 5 Oct 2007 02:30:45 +0000 (02:30 -0000)]
2007-10-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* System.Windows.Forms_test.dll.sources: Added TreeViewEventsTest.cs.

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

16 years ago2007-10-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 5 Oct 2007 02:30:10 +0000 (02:30 -0000)]
2007-10-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeView.cs: When AfterLabelEdit event is fired, TreeNode.IsEditing
should be false. This also removes some nasty recursive paths. Fixes
part of #325244.

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

16 years ago2007-10-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 5 Oct 2007 02:23:52 +0000 (02:23 -0000)]
2007-10-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeViewEventsTest.cs: New file. Tests for TreeView events.

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

16 years ago2007-10-05 Alp Toker <alp@atoker.com>
Alp Toker [Fri, 5 Oct 2007 01:32:50 +0000 (01:32 -0000)]
2007-10-05  Alp Toker  <alp@atoker.com>

* TypeTest.cs: Re-enable the regression test for #315863.

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

16 years ago2007-10-05 Alp Toker <alp@atoker.com>
Alp Toker [Fri, 5 Oct 2007 01:31:47 +0000 (01:31 -0000)]
2007-10-05  Alp Toker  <alp@atoker.com>

* icall.c (ves_icall_MonoType_GetElementType): For enums, return null
rather than the underlying type. Based on a patch by Ben Maurer. Fixes
#315863.

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

16 years agoIn System.Windows.Forms:
Everaldo Canuto [Fri, 5 Oct 2007 01:04:14 +0000 (01:04 -0000)]
In System.Windows.Forms:
2007-10-04  Everaldo Canuto  <ecanuto@novell.com>

* MdiClient.cs: When cascade (layout) mdi window that is maximized, set the
state to normal. Also resize window when cascading. Fixes #325433.

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

16 years ago2007-10-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 4 Oct 2007 22:32:47 +0000 (22:32 -0000)]
2007-10-04  Jonathan Pobst  <monkey@jpobst.com>

* RichTextBox.cs: When SelectionColor is set to Color.Empty, use
DefaultForeColor, as drawing empty colored lines isn't very useful.
[Fixes the not drawn lines part of bug #324358]

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

16 years agoFri Oct 5 00:01:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 4 Oct 2007 21:49:18 +0000 (21:49 -0000)]
Fri Oct 5 00:01:05 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.h, mini-ppc.c: IMT support for the PPC architecture.

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

16 years ago2007-10-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 4 Oct 2007 21:43:52 +0000 (21:43 -0000)]
2007-10-04  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (verify_type_compatibility_full): verification of
compatibility improved, validates correctly non-strict checks between
native int and I4 types different than (unsigned)int32.

* verify.c (do_store_indirect): added, do all verification of
ldind.X opcodes.

* verify.c (get_load_indirect_mono_type): renamed to
get_indirect_op_mono_type, as it now returns the MonoType for
ldind.X and stind.X opcodes.

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

16 years agoUse a working ARM membar.
Paolo Molaro [Thu, 4 Oct 2007 21:41:03 +0000 (21:41 -0000)]
Use a working ARM membar.

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

16 years ago2007-10-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 4 Oct 2007 21:22:18 +0000 (21:22 -0000)]
2007-10-04 Rodrigo Kumpera <rkumpera@novell.com>

* make_store_indirect_test.sh: added, generate tests for stind.X.
* make_tests.sh: added the new tests for ldind.X.

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

16 years agoTest case for bug #325495.
Paolo Molaro [Thu, 4 Oct 2007 21:15:32 +0000 (21:15 -0000)]
Test case for bug #325495.

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

16 years ago* ControlTest.cs: Added test for bug #330501.
Gert Driesen [Thu, 4 Oct 2007 20:57:30 +0000 (20:57 -0000)]
* ControlTest.cs: Added test for bug #330501.

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

16 years ago2007-10-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 4 Oct 2007 20:42:54 +0000 (20:42 -0000)]
2007-10-04  Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c: Fix the encoding of generic type definition for
TypeBuilders.

* reflection.c (mono_image_typedef_or_ref_full: do the same thing as
mono_image_typedef_or_ref but allows to specify if typespec lookups should
be made. Typespec check is done prior to typeref cache lookup.

* reflection.c (mono_image_typedef_or_ref): now just delegate to
mono_image_typedef_or_ref_full.

* reflection.c (encode_generic_class): encode the generic class
directly instead of calling encode_type.

* reflection.c (encode_type): encode the generic type definition
MonoClass as a generic instantiation.

* reflection.c (create_typespec): cache typespec tokens in
the assembly->typespec cache. Don't create typespec for a generic
instance MonoClass. Create typespec for the generic type defintion.

* reflection.c (create_generic_typespec): encode the generic
class directly instead of calling encode_type.

* reflection.c (mono_image_create_token): encode the generic
type definition not using a typespec for MonoType instances.

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

16 years agoA test for bug #328022
Marek Safar [Thu, 4 Oct 2007 20:25:08 +0000 (20:25 -0000)]
A test for bug #328022

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

16 years ago2007-10-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 4 Oct 2007 20:22:34 +0000 (20:22 -0000)]
2007-10-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #328022
* class.cs (MethodData.Define): Use correct method to check whether
a method implementents an accessor.

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

16 years agoThu Oct 4 22:04:49 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 4 Oct 2007 20:06:54 +0000 (20:06 -0000)]
Thu Oct 4 22:04:49 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, mini-ppc.h, tramp-ppc.c, Makefile.am: port the PPC
code to the new style trampoline in preparation for IMT support.

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

16 years ago2007-10-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 4 Oct 2007 19:21:42 +0000 (19:21 -0000)]
2007-10-04  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Move Line and LineTag classes into separate files to
make things easier to find.
* Line.cs, LineTag.cs: Bring coding standards up to Mono's guidelines.
* RichTextBox.cs: Capitalize LineTag.Length property access.
- This is purely an organizational/formatting change, no logic changed. -

2007-10-04  Jonathan Pobst  <monkey@jpobst.com>

* System.Windows.Forms.dll.sources: Added Line.cs and LineTag.cs.

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

16 years agoNew test for #330069
Marek Safar [Thu, 4 Oct 2007 19:06:54 +0000 (19:06 -0000)]
New test for #330069

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

16 years ago2007-10-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 4 Oct 2007 19:06:13 +0000 (19:06 -0000)]
2007-10-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #330069
* statement.cs (Fixed.Resolve): Read the first array element only when
an array is instantiated.

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

16 years agoThu Oct 4 19:01:59 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 4 Oct 2007 16:51:51 +0000 (16:51 -0000)]
Thu Oct 4 19:01:59 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, tramp-ppc.c: don't use r13 as it's used by the PPC EABI
systems already. This also reduces the specific trampiline sizes and
prepares for the use of r12 as the IMT identifier register.

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

16 years agoNew test, error message updates
Marek Safar [Thu, 4 Oct 2007 15:46:18 +0000 (15:46 -0000)]
New test, error message updates

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

16 years ago2007-10-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 4 Oct 2007 15:45:48 +0000 (15:45 -0000)]
2007-10-04  Marek Safar  <marek.safar@gmail.com>

* expression.cs, assign.cs, generics.cs: Print correct operator when
compound assignment is used.

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

16 years agoEnabled fixed tests.
Marek Safar [Thu, 4 Oct 2007 14:27:52 +0000 (14:27 -0000)]
Enabled fixed tests.

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

16 years agoThu Oct 4 16:38:27 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 4 Oct 2007 14:25:40 +0000 (14:25 -0000)]
Thu Oct 4 16:38:27 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-mips.h: endianess fix (simplified from a patch by
Thomas Kunze <thommy@tabao.de>, bug #323737).

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

16 years ago2007-10-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 4 Oct 2007 14:22:52 +0000 (14:22 -0000)]
2007-10-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #325841
* expression.cs (ArrayAccess): Use full argument cloning only for
string compound concatenation.

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

16 years agoupdate revision
Jb Evain [Thu, 4 Oct 2007 13:51:39 +0000 (13:51 -0000)]
update revision

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

16 years agoadd new tool
Jb Evain [Thu, 4 Oct 2007 13:35:58 +0000 (13:35 -0000)]
add new tool

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

16 years agoAdd Add powerpc-*-netbsd* from Magnus Henoch <mange@freemail.hu>.
Paolo Molaro [Thu, 4 Oct 2007 12:39:08 +0000 (12:39 -0000)]
Add Add powerpc-*-netbsd* from Magnus Henoch <mange@freemail.hu>.

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

16 years ago* AssemblyTest.cs (bug328812): New test.
Raja R Harinath [Thu, 4 Oct 2007 12:36:59 +0000 (12:36 -0000)]
* AssemblyTest.cs (bug328812): New test.

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

16 years agoFix #328812
Raja R Harinath [Thu, 4 Oct 2007 12:34:33 +0000 (12:34 -0000)]
Fix #328812

* class.c (mono_image_init_name_cache): Don't return nested
'protected internal' classes.
(mono_class_from_name_case): Likewise.

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

16 years agoThu Oct 4 14:43:49 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 4 Oct 2007 12:32:59 +0000 (12:32 -0000)]
Thu Oct 4 14:43:49 CEST 2007 Paolo Molaro <lupus@ximian.com>

* exceptions-ppc.c, mini-ppc.h: refactor to use macros
to access ucontext fields and enable netbsd support
(partially from Magnus Henoch <mange@freemail.hu>).

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

16 years agoPatch from Tor Lillqvist <tlillqvist@novell.com> to add a sysconfdir variable.
Paolo Molaro [Thu, 4 Oct 2007 10:27:46 +0000 (10:27 -0000)]
Patch from Tor Lillqvist <tlillqvist@novell.com> to add a sysconfdir variable.

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

16 years agoThu Oct 4 12:35:27 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 4 Oct 2007 10:22:56 +0000 (10:22 -0000)]
Thu Oct 4 12:35:27 CEST 2007 Paolo Molaro <lupus@ximian.com>

* genmdesc.pl: patch from Henryk Plötz <henryk@openmoko.org> to
use the preprocessor from the CPP env var if it is set.

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

16 years agoIn System.Windows.Forms:
Everaldo Canuto [Thu, 4 Oct 2007 09:25:35 +0000 (09:25 -0000)]
In System.Windows.Forms:
* ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
text is empty.

2007-10-03  Everaldo Canuto  <ecanuto@novell.com>

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

16 years agoIn System.Windows.Forms:
Everaldo Canuto [Thu, 4 Oct 2007 09:21:52 +0000 (09:21 -0000)]
In System.Windows.Forms:
* ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
text is empty.

2007-10-03  Everaldo Canuto  <ecanuto@novell.com>

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

16 years agov0.2
Jb Evain [Thu, 4 Oct 2007 09:05:39 +0000 (09:05 -0000)]
v0.2

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

16 years agov0.6
Jb Evain [Thu, 4 Oct 2007 09:04:51 +0000 (09:04 -0000)]
v0.6

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

16 years ago2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Oct 2007 08:42:18 +0000 (08:42 -0000)]
2007-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* TypeStubManager.cs: reverted r82932 again. This #if ONLY_1_1 causes
  NUnit test regressions. It should not be reverted again until
  appropriate NUnit test case is provided and proper fix is provided
  that does not cause regressions.

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

16 years ago2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Oct 2007 08:17:05 +0000 (08:17 -0000)]
2007-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* WebServicesSection.cs : reverted r83640 which likely caused
  couple of NUnit regressions on the buildbot. WebConfigurationManager
  is indeed needed since webServices section is on web.config.
  ChangeLog was also missing which resulted in some wasted hours :(
  http://lists.ximian.com/pipermail/mono-patches/2007-August/098511.html

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

16 years agoIn System.Windows.Forms:
Everaldo Canuto [Thu, 4 Oct 2007 07:20:17 +0000 (07:20 -0000)]
In System.Windows.Forms:
* ComboBox.cs: On contructor use backgound_color instead of BackColor to
prevent calling of OnBackColorChanged. Fixes #325321.

2007-10-03  Everaldo Canuto  <ecanuto@novell.com>

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

16 years agoIn System.Windows.Forms:
Everaldo Canuto [Thu, 4 Oct 2007 07:03:53 +0000 (07:03 -0000)]
In System.Windows.Forms:
2007-10-03  Everaldo Canuto  <ecanuto@novell.com>

* TextBox.cs: When check enabled uses Enabled property instead of is_enabled
because control can be disabled because owner is disabled.

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

16 years ago2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Oct 2007 05:46:45 +0000 (05:46 -0000)]
2007-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* InternalConfigurationHost.cs : when the streamName is for
  machine.config, try get_bundled_machine_config() icall first.
  This hopefully implements the requested feature in bug #325022.
* Configuration.cs : added comment.

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

16 years ago2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Oct 2007 05:46:13 +0000 (05:46 -0000)]
2007-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* icall-def.h, icall.c : get_bundled_machine_config() is now the
  common function used by both DefaultConfig in System.dll and
  InternalConfigurationHost in System.Configuration.dll.

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

16 years ago2007-10-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 4 Oct 2007 00:04:45 +0000 (00:04 -0000)]
2007-10-04  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: call the Init method after loading the
modules and hooking up application events. Fixes bug #330416.

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

16 years ago2007-10-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 3 Oct 2007 18:31:17 +0000 (18:31 -0000)]
2007-10-03  Marek Habersack  <mhabersack@novell.com>

* Page.cs: complete implementation of ValidationGroups. Fixes bug
#330423. Patch from Juraj Skripsky <juraj@hotfeet.ch>, thanks!

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

16 years ago2007-10-03 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 3 Oct 2007 17:35:36 +0000 (17:35 -0000)]
2007-10-03  Miguel de Icaza  <miguel@novell.com>

* mono-compiler.h (trunc): Make the definition of trunk for MSC
use ceil or floor instead of always using floor which is
incorrect.

Issue pointed out by Aras Pranckevicius <aras@unity3d.com>

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

16 years agoA new test for bug #328774
Marek Safar [Wed, 3 Oct 2007 17:25:37 +0000 (17:25 -0000)]
A new test for bug #328774

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

16 years ago2007-10-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 3 Oct 2007 17:24:49 +0000 (17:24 -0000)]
2007-10-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #328774
* ecore.cs (FieldExpr.EmitAssign): Fixed string concatenation compound
assignment.
(PropertyExpr.EmitAssign): Fixed string concatenation compound
assignment.

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

16 years agoWed Oct 3 17:26:58 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 3 Oct 2007 15:25:06 +0000 (15:25 -0000)]
Wed Oct 3 17:26:58 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class.c: automatically add to vectors only a few essential explicit
generic interfaces. The rest of the interfaces that arrays should
provide are currently implicitly added (but still not lazily, see the
design in the discussion of bug#325495 for the details of what is
needed for that). Additionally, implicit interfaces are assigned the
same vtable slot as the explicit interfaces (as they are compatible):
this enables huge memory savings since we don't need to instantiate
as many memthods and as large vtables anymore. Also, Since
GetEnumerator<T> returns an instance of a type that is required to
support a similarly large set of interfaces as arrays, we add
implicit interfaces and interface offset sharing support to those
types, too. This change adds all the required interfaces so that
the anonarray.cs test case in the bug report works (we don't add
all the interfaces to arrays of arrays 3-level deep and more because
of the memory requirements explained in the bug and since they are much
less common: the lazy-loading support will enabled them to work, too).

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

16 years agoWed Oct 3 17:11:38 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 3 Oct 2007 14:59:01 +0000 (14:59 -0000)]
Wed Oct 3 17:11:38 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-trampolines.c: fixed an assertion and moved it earlier in the
code, before interface_offset gets used.

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

16 years ago2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Oct 2007 14:24:47 +0000 (14:24 -0000)]
2007-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* SoapHttpClientProtocolTest.cs: actually those tests fails on mono
  on Windows, so mark them as Ignore (not only in 2.0).

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

16 years agoFix #328490
Raja R Harinath [Wed, 3 Oct 2007 13:22:09 +0000 (13:22 -0000)]
Fix #328490
* mcs/ecore.cs (SimpleName.DoSimpleNameResolve): Handle Property and
Event accessibility checks here.  Remove some bogus code that
accidently made GenericMethods work.
(PropertyExpr.IsAccessibleFrom, EventExpr.IsAccessibleFrom): New.
* tests/test-589.cs: Additional test for #328490.
* errors/cs0120-10.cs: New test based on #328490.

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

16 years ago2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Oct 2007 11:01:21 +0000 (11:01 -0000)]
2007-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* TypeElement.cs : disable a test that causes NRE on .NET.

* SoapHttpClientProtocolTest.cs: disabled connection-oriented tests
  that do not work fine on .NET 2.0.

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

16 years ago2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Oct 2007 08:19:45 +0000 (08:19 -0000)]
2007-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* EventArrivedEventArgs.cs, EventArrivedEventHandler.cs,
  EventQuery.cs, EventWatcherOptions.cs, ManagementQuery.cs,
  RelatedObjectQuery.cs, RelationshipQuery.cs, SelectQuery.cs,
  StoppedEventArgs.cs, StoppedEventHandler.cs, WqlEventQuery.cs,
  WqlObjectQuery.cs :
  oops, actually they are also included in 1.1 profile.

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

16 years ago2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Oct 2007 08:13:06 +0000 (08:13 -0000)]
2007-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* EventArrivedEventArgs.cs, EventArrivedEventHandler.cs,
  EventQuery.cs, EventWatcherOptions.cs,
  ManagementDateTimeConverter.cs, ManagementEventWatcher.cs,
  ManagementException.cs, RelatedObjectQuery.cs,
  RelationshipQuery.cs, SelectQuery.cs, StoppedEventArgs.cs,
  StoppedEventHandler.cs, WqlEventQuery.cs, WqlObjectQuery.cs:
  added missing 1.x/2.0 types.
* CimType.cs, CodeLanguage.cs, ManagementBaseObject.cs,
  ManagementClass.cs, ManagementNamedValueCollection.cs,
  ManagementObject.cs, ManagementObjectCollection.cs,
  ManagementOptions.cs, ManagementPath.cs, ManagementQuery.cs,
  ManagementScope.cs, ManagementStatus.cs, MethodData.cs,
  MethodDataCollection.cs, PropertyDataCollection.cs,
  PutType.cs, QualifierDataCollection.cs, TextFormat.cs :
  1.x/2.0 API fixes.

* System.Management.dll.sources : updated to have all 1.1/2.0 types.

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

16 years ago2007-10-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 3 Oct 2007 02:48:36 +0000 (02:48 -0000)]
2007-10-02  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: For the 1.1 profile, the default SelectedText is
string.Empty, test failed from previous change.

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

16 years agoForce to bash
Miguel de Icaza [Tue, 2 Oct 2007 23:49:04 +0000 (23:49 -0000)]
Force to bash

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

16 years ago2007-10-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 2 Oct 2007 23:40:26 +0000 (23:40 -0000)]
2007-10-02  Miguel de Icaza  <miguel@novell.com>

* scripts/mono-test-install: (temp_exe): Add tests for dynamic
libraries that libgdiplus might be missing
;w

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

16 years ago2007-10-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 2 Oct 2007 23:30:21 +0000 (23:30 -0000)]
2007-10-02  Miguel de Icaza  <miguel@novell.com>

* scripts/mono-test-install: Add detection and diagnostics for
broken System.Drawing installations.

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

16 years ago2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 2 Oct 2007 21:33:15 +0000 (21:33 -0000)]
2007-10-02  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (merge_stacks): major clean up, all type compatibility
checks are done by verify_type_compatibility. This fix my earlier lack
of understanding of the CLR type system and merge_stacks no longer looks
scary.

* verify.c: fixed some bad spelling.

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

16 years ago * make_field_store_test.sh: sames
Rodrigo Kumpera [Tue, 2 Oct 2007 20:41:46 +0000 (20:41 -0000)]
* make_field_store_test.sh: sames

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

16 years ago2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 2 Oct 2007 20:32:38 +0000 (20:32 -0000)]
2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>

* make_tests.sh: added the new tests for ops mixing Int32 and IntPtr, disabled
the overlapped tests for now
* make_unary_test.sh: disabled the overlapped tests for now
* make_field_store_test.sh: same
*

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

16 years ago2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 2 Oct 2007 20:30:13 +0000 (20:30 -0000)]
2007-10-02  Rodrigo Kumpera  <rkumpera@novell.com>

Changelog: used the wrong date

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

16 years ago2007-09-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 2 Oct 2007 20:12:59 +0000 (20:12 -0000)]
2007-09-27  Rodrigo Kumpera  <rkumpera@novell.com>
* verify.c (mono_type_from_stack_slot): added. returns the MonoType for
a given stack slock.

* verify.c: killed verify_type_compat in favor of verify_type_compatibility and
verify_type_compatibility_full. This removed a near indentical function and fixed
handling of Int32 and IntPtr across all opcodes.

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

16 years ago2007-10-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 2 Oct 2007 19:56:01 +0000 (19:56 -0000)]
2007-10-02  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: For the 1.1 profile, the default SelectedText
is null, not String.Empty.  See bug #323038.

2007-10-02  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxTest.cs: Remove NotWorking from FocusSelectsAllTest.

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

16 years ago2007-10-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 2 Oct 2007 16:58:27 +0000 (16:58 -0000)]
2007-10-02  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_convert_imt_slot_to_vtable_slot): Call
mono_class_setup_vtable () before accessing klass->vtable.

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

16 years ago2007-10-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 2 Oct 2007 14:53:11 +0000 (14:53 -0000)]
2007-10-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #329685
* generics.cs (TypeInferenceContext.OutputTypeInference): Slowly
implementing method group output type inference.

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

16 years agoNew test.
Marek Safar [Tue, 2 Oct 2007 14:52:45 +0000 (14:52 -0000)]
New test.

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

16 years agoTue Oct 2 15:24:38 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 2 Oct 2007 13:12:04 +0000 (13:12 -0000)]
Tue Oct 2 15:24:38 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class.c: only vectors have the additional generic interfaces.

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

16 years ago2007-10-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Oct 2007 12:42:35 +0000 (12:42 -0000)]
2007-10-02  Atsushi Enomoto  <atsushi@ximian.com>

* System.Design.dll.sources : more .NET 2.0 types.

* CodeDomLocalizationProvider.cs, CodeDomLocalizationModel.cs :
  new files.
* CodeDomSerializerException.cs, CodeDomSerializerBase.cs,
  TypeCodeDomSerializer.cs : cosmetic 2.0 API fixes.

* Adorner.cs, Behavior.cs, BehaviorDragDropEventArgs.cs,
  BehaviorDragDropEventHandler.cs, BehaviorService.cs,
  BehaviorServiceAdornerCollection.cs,
  BehaviorServiceAdornerCollectionEnumerator.cs,
  ComponentGlyph.cs, ControlBodyGlyph.cs, Glyph.cs,
  GlyphCollection.cs, GlyphSelectionType.cs, SnapLine.cs,
  SnapLinePriority.cs, SnapLineType.cs : new files.

* ControlDesigner.cs : added BehaviorService.

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

16 years ago2007-10-02 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 2 Oct 2007 11:45:16 +0000 (11:45 -0000)]
2007-10-02  Jonathan Chambers <joncham@gmail.com>

* mono-io-portability.c: Init __mono_io_portability_helpers
to PORTABILITY_NONE on windows as mono_portability_helpers_init
is not always called before mono_portability_find_file.

Code is contributed under MIT/X11 license.

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

16 years ago2007-10-02 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 2 Oct 2007 10:35:58 +0000 (10:35 -0000)]
2007-10-02  Jb Evain  <jbevain@novell.com>

* declsec.c (declsec_20_write_type): support for bools.

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

16 years ago2007-10-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 2 Oct 2007 08:39:23 +0000 (08:39 -0000)]
2007-10-02  Marek Habersack  <mhabersack@novell.com>

* SimpleWebHandlerParser.cs: fix the way types are loaded from
top-level assemblies.

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

16 years ago2007-10-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Oct 2007 07:29:48 +0000 (07:29 -0000)]
2007-10-02  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : added -r:System.Xml.dll
* System.Design.dll.sources : added couple more of new .NET 2.0 types.

* DesignerDataParameter.cs, DesignerDataRelationship.cs,
  DesignerDataSchemaClass.cs, DesignerDataStoredProcedure.cs,
  DesignerDataTable.cs, DesignerDataTableBase.cs, DesignerDataView.cs,
  IDataEnvironment.cs, IDesignerDataSchema.cs, QueryBuilderMode.cs:
  new stubs and implementations.

* TypedDataSetGenerator.cs, MethodSignatureGenerator.cs,
  TypedDataSetGeneratorException.cs, ParameterGenerationOption.cs,
  TypedDataSetSchemaImporterExtension.cs :
  new stubs and implementations.

* StronglyTypedResourceBuilder.cs : new stub.

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

16 years ago2007-10-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 1 Oct 2007 21:58:50 +0000 (21:58 -0000)]
2007-10-01  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Change the margins to match MS a little better.
Still not perfect for X11 due to some DrawString differences, but
is still an improvement over the old stuff.
Partially fixes #324467.

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

16 years agoenhance parsing of Mono.Data.SqlExpressions's SUBSTRING and IIF
Joel Reed [Mon, 1 Oct 2007 21:00:51 +0000 (21:00 -0000)]
enhance parsing of Mono.Data.SqlExpressions's SUBSTRING and IIF

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

16 years agoNew tests for Read and Write APIs.
Veerapuram Varadhan [Mon, 1 Oct 2007 18:43:20 +0000 (18:43 -0000)]
New tests for Read and Write APIs.

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

16 years ago* SqlChars.cs, SqlBytes.cs (Read, Write): Implemented missing 2.0 APIs.
Veerapuram Varadhan [Mon, 1 Oct 2007 18:40:00 +0000 (18:40 -0000)]
* SqlChars.cs, SqlBytes.cs (Read, Write): Implemented missing 2.0 APIs.

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

16 years agoThis is more elegant (thanks JB :))
Marek Habersack [Mon, 1 Oct 2007 18:31:24 +0000 (18:31 -0000)]
This is more elegant (thanks JB :))

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

16 years ago2007-10-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Oct 2007 18:21:30 +0000 (18:21 -0000)]
2007-10-01  Marek Habersack  <mhabersack@novell.com>

* HttpServerUtility.cs: set a flag when transferring control to
another page.

* HttpContext.cs: added an internal InTransit property to carry
information that HttpServerUtility.Transfer has been used, over to
the target page.
2007-10-01  Marek Habersack  <mhabersack@novell.com>

* Page.cs: do not set IsPostBack to true if we're in transfer from
another page. Fixes bug #329341

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

16 years agoAdd new Is* methods to AssemblyNameReference
Jb Evain [Mon, 1 Oct 2007 18:17:38 +0000 (18:17 -0000)]
Add new Is* methods to AssemblyNameReference

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

16 years agotypo fixes + new feature description.
Paolo Molaro [Mon, 1 Oct 2007 18:07:20 +0000 (18:07 -0000)]
typo fixes + new feature description.

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

16 years agoDefine only on IMT systems.
Paolo Molaro [Mon, 1 Oct 2007 16:21:33 +0000 (16:21 -0000)]
Define only on IMT systems.

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

16 years ago2007-10-01 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Mon, 1 Oct 2007 15:24:44 +0000 (15:24 -0000)]
2007-10-01  Jonathan Chambers <joncham@gmail.com>

* mono-io-portability.c: Only support on non-Windows
platforms.

Code is contributed under MIT/X11 license.

2007-10-01  Jonathan Chambers <joncham@gmail.com>

* mono-config.c: Use g_strcasecmp instead of
strcasecmp like everywhere else to fix
compilation with MSVC.

Code is contributed under MIT/X11 license.

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

16 years ago2007-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Oct 2007 15:17:29 +0000 (15:17 -0000)]
2007-10-01  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (get_plt_index): Rework the handling of wrappers to be not so
hackish.

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

16 years ago2007-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Oct 2007 15:17:03 +0000 (15:17 -0000)]
2007-10-01  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (get_plt_index): Rework the handling of wrappers to be not so
hackish.

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

16 years ago2007-10-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Oct 2007 13:30:11 +0000 (13:30 -0000)]
2007-10-01  Marek Habersack  <mhabersack@novell.com>

* ListItem.cs: make HasAttributes available for the 1.1 profile as
well.

* DropDownList.cs: render custom ListItem attributes in the 1.1
profile. Fixes bug #326288

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

16 years agoMon Oct 1 15:00:27 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Oct 2007 12:52:49 +0000 (12:52 -0000)]
Mon Oct 1 15:00:27 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini.c, mini-trampolines.c, mini.h: enable the lazy filling of the
IMT slots (this saves hundreds of KB of memory in programs like
IronPython and Monodevelop).

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

16 years agoMon Oct 1 14:44:19 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Oct 2007 12:32:59 +0000 (12:32 -0000)]
Mon Oct 1 14:44:19 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini.c: print the delegate counter.

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

16 years agofix the Is* method setters
Jb Evain [Mon, 1 Oct 2007 12:31:30 +0000 (12:31 -0000)]
fix the Is* method setters

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

16 years ago2007-10-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Oct 2007 12:30:36 +0000 (12:30 -0000)]
2007-10-01  Marek Habersack  <mhabersack@novell.com>

* AppResourcesCompiler.cs: resources are no longer compiled into a
single assembly. Instead, the common assembly construction code
has been moved to AppResourcesAssemblyBuilder to use satellite
assemblies.

* AppResourcesAssemblyBuilder.cs: new resource assembly
construction code which takes care of outputting satellite
assemblies.

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

16 years agoMon Oct 1 14:39:11 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Oct 2007 12:29:48 +0000 (12:29 -0000)]
Mon Oct 1 14:39:11 CEST 2007 Paolo Molaro <lupus@ximian.com>

* object.c, object-internals.h: refactored the IMT code to enable
building a single slot at a time and lazily creating the IMT trampolines
and thunks.

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

16 years agoMon Oct 1 14:36:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Oct 2007 12:24:37 +0000 (12:24 -0000)]
Mon Oct 1 14:36:50 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: make it easier to enable the debugging code for IMT
slots.

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