mono.git
16 years ago2007-10-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Oct 2007 15:59:35 +0000 (15:59 -0000)]
2007-10-09  Atsushi Enomoto  <atsushi@ximian.com>

* HtmlControlDesigner.cs, WebControlToolboxItem.cs,
  ResourceExpressionEditorSheet.cs, ReadWriteControlDesigner.cs,
  UrlBuilder.cs :
  Cosmetic 2.0 API fixes. Remove meaningless TypeConverter

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 15:53:46 +0000 (15:53 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

Integration of patches from Carlo Kok <ck@remobjects.com>:

* Mono.Cecil/FieldDefinition.cs:
Clean or set the HasFieldMarshal flag when setting
MarshalSpecs on fields.

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 15:46:36 +0000 (15:46 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

Integration of patches from Carlo Kok <ck@remobjects.com>:

* Mono.Cecil/GenericInstanceType.cs:
Properly initialize the IsValueType from the element type.

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

16 years ago2007-10-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Oct 2007 15:11:33 +0000 (15:11 -0000)]
2007-10-09  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionWriter.cs: check for duplicates
in the MemberRef row.

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

16 years agoavoid uncessary null check
Jb Evain [Tue, 9 Oct 2007 15:07:36 +0000 (15:07 -0000)]
avoid uncessary null check

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

16 years ago* RBTree.cs (get_Item, do_remove): Remove redundant code.
Raja R Harinath [Tue, 9 Oct 2007 14:19:17 +0000 (14:19 -0000)]
* RBTree.cs (get_Item, do_remove): Remove redundant code.

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

16 years ago2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Oct 2007 12:51:41 +0000 (12:51 -0000)]
2007-10-09  Rodrigo Kumpera <rkumpera@novell.com>
* test-method-pointer-in-signature.il: New. Test for overloads
that use method pointers.

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

16 years ago2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 9 Oct 2007 12:49:55 +0000 (12:49 -0000)]
2007-10-09  Rodrigo Kumpera  <rkumpera@novell.com>

* MethodPointerTypeRef.cs (.ctor): generate
full name of the method pointer. This is required
to alow overloading with method pointers.

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

16 years agoNew test + updates.
Marek Safar [Tue, 9 Oct 2007 10:05:40 +0000 (10:05 -0000)]
New test + updates.

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

16 years ago2007-10-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 9 Oct 2007 10:04:56 +0000 (10:04 -0000)]
2007-10-09  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Added extension methods ISO-2 check.

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

16 years ago2007-10-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 9 Oct 2007 08:52:04 +0000 (08:52 -0000)]
2007-10-09  Marek Safar  <marek.safar@gmail.com>

* report.cs, anonymous.cs, driver.cs, expression.cs: Added few ISO-2
checks.

* namespace.cs (UsingAlias): Do correct version check.

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

16 years agoTue Oct 9 09:47:51 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Oct 2007 07:35:32 +0000 (07:35 -0000)]
Tue Oct 9 09:47:51 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, mini-ppc.h, mini-ops.h, inssel-ppc.brg, cpu-g4.md:
removed more internal usage of the r11 register and made it available
to the register allocator.

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

16 years ago2007-10-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 9 Oct 2007 00:12:58 +0000 (00:12 -0000)]
2007-10-09  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h (amd64_jump_membase_size): Remove an unneccesary
rex prefix which trips up valgrind.

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

16 years ago2007-10-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Oct 2007 21:59:46 +0000 (21:59 -0000)]
2007-10-08  Jonathan Pobst  <monkey@jpobst.com>

* MonthCalendar.cs: When ShowWeekNumbers is changed, force the calendar
to recalculate its size.  Fixes a part of bug #331052.

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

16 years ago2007-10-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Oct 2007 21:06:19 +0000 (21:06 -0000)]
2007-10-08  Jonathan Pobst  <monkey@jpobst.com>

* NotifyIcon.cs: Set the correct mouse button when handling right mouse
button.  Fixes a part of bug #331052.

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

16 years agoUpdate
Miguel de Icaza [Mon, 8 Oct 2007 20:57:18 +0000 (20:57 -0000)]
Update

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

16 years ago2007-10-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Oct 2007 20:44:58 +0000 (20:44 -0000)]
2007-10-08  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
the CreateParams.
* ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window
decorations.
[Fixes bug #330986]

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

16 years agoMissing ChangeLog
Marek Safar [Mon, 8 Oct 2007 17:24:25 +0000 (17:24 -0000)]
Missing ChangeLog

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

16 years ago2007-10-08 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 8 Oct 2007 17:17:42 +0000 (17:17 -0000)]
2007-10-08  Mark Probst  <mark.probst@gmail.com>

* mini.c, mini-amd64.c, mini-x86.c: Allow open generic contexts
when sharing generics and treat type variables as references.

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

16 years agoNew tests.
Marek Safar [Mon, 8 Oct 2007 16:51:38 +0000 (16:51 -0000)]
New tests.

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

16 years ago2007-10-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 8 Oct 2007 16:51:23 +0000 (16:51 -0000)]
2007-10-08  Marek Safar  <marek.safar@gmail.com>

* expresison.cs, ecore.cs: Issue extension method error message when
appropriate.

* rootcontext.cs: Added ISO_2 compiler mode option.

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

16 years ago2007-10-08 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Mon, 8 Oct 2007 16:48:09 +0000 (16:48 -0000)]
2007-10-08  Andreia Gaita <avidigal@novell.com>

* SWF.csproj, build-csproj: Add missing ONLY_1_1 flag, update project.

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

16 years ago2007-10-08 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 8 Oct 2007 16:47:32 +0000 (16:47 -0000)]
2007-10-08  Mark Probst  <mark.probst@gmail.com>

* class-internals.h: Runtime generic context data structure
definition.

* object.c: Initialization of runtime generic context at runtime
vtable creation time.

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

16 years ago2007-10-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Oct 2007 16:25:12 +0000 (16:25 -0000)]
2007-10-08  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxTextRenderer.cs: Don't make this a static class, as static
doesn't exist in 1.1.  (Thanks jb!)

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

16 years ago2007-10-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 8 Oct 2007 16:15:58 +0000 (16:15 -0000)]
2007-10-08  Sebastien Pouliot  <sebastien@ximian.com>

* standalone.make: Revert changes so standalone Cecil (in SVN) can
be built using this Makefile (required for Gendarme);
* README: Update build and bug instructions.

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

16 years agoMissed a file. Fixes build.
Jonathan Pobst [Mon, 8 Oct 2007 16:06:27 +0000 (16:06 -0000)]
Missed a file.  Fixes build.

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

16 years ago2007-10-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Oct 2007 15:34:03 +0000 (15:34 -0000)]
2007-10-08  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxTextRenderer.cs: Abstract text measuring and drawing to this
class to allow us to use different backends on different platforms.
Linux uses the current [Draw|Measure]String backend.  Windows uses
the TextRenderer.[Draw|Measure]Text backend, which uses GDI instead
of GDI+.  This leads to better looking text and more accurate measurements
on Windows, fixing many of the reported issues.
* Line.cs, LineTag.cs: Update to use TextBoxTextRenderer.

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

* System.Windows.Forms.dll.sources: Added TextBoxTextRenderer.cs.

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

16 years ago * class.c (mono_class_create_from_typedef,
Massimiliano Mantione [Mon, 8 Oct 2007 15:11:29 +0000 (15:11 -0000)]
* class.c (mono_class_create_from_typedef,
mono_class_from_generic_parameter, mono_ptr_class_get,
mono_fnptr_class_get, mono_bounded_array_class_get)
* domain.c (mono_domain_create, mono_domain_free)
* assembly.c (mono_assembly_load_from_full, mono_assembly_close)
* image.c (do_mono_image_load, mono_image_close):
Hooked up load-unload profiler events.

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

16 years agoNew tests.
Marek Safar [Mon, 8 Oct 2007 14:31:46 +0000 (14:31 -0000)]
New tests.

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

16 years ago2007-10-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 8 Oct 2007 14:31:12 +0000 (14:31 -0000)]
2007-10-08  Marek Safar  <marek.safar@gmail.com>

* expresison.cs (UnaryMutator.ResolveOperator): Print more useful error
 message.

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

16 years agoNew tests + updates
Marek Safar [Mon, 8 Oct 2007 14:04:14 +0000 (14:04 -0000)]
New tests + updates

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

16 years ago2007-10-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 8 Oct 2007 14:02:45 +0000 (14:02 -0000)]
2007-10-08  Marek Safar  <marek.safar@gmail.com>

* attribute.cs (GetString, GetBoolean): Work with both literal and
constant.

* ecore.cs, expresison.cs, delegate.cs (Invocation, MethodGroupExpr):
Moved method overload specific methods to MethodGroupExpr.

(IndexerAccess): Re-wrote resolving mechanism, fixed many issues and
it should be less memory consuming.

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

16 years agoMon Oct 8 10:55:38 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 8 Oct 2007 13:52:53 +0000 (13:52 -0000)]
Mon Oct 8 10:55:38 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: started removing the internal uses of register r11
to eventually allow the register allocator to manage it as an
additional available register.

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

16 years ago2007-10-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 8 Oct 2007 13:33:44 +0000 (13:33 -0000)]
2007-10-08  Marek Safar <marek.safar@gmail.com>

* SqlParameterCollection.cs (SetParameter): Fixed missing cast.

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

16 years ago2007-10-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 8 Oct 2007 13:20:07 +0000 (13:20 -0000)]
2007-10-08  Marek Safar <marek.safar@gmail.com>

* OdbcParameterCollection.cs (SetParameter): Fixed missing cast.

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

16 years agoupdate due to
Raja R Harinath [Mon, 8 Oct 2007 12:23:48 +0000 (12:23 -0000)]
update due to

  Mon Oct 8 09:29:15 CEST 2007 Paolo Molaro <lupus@ximian.com>

        * codegen.cs: remove the assembly version check until the buildbot is
        fixed.

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

16 years agoMon Oct 8 14:25:39 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 8 Oct 2007 12:13:22 +0000 (12:13 -0000)]
Mon Oct 8 14:25:39 CEST 2007 Paolo Molaro <lupus@ximian.com>

* tramp-amd64.c: fixed memory corruption in the trampoline generation.

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

16 years agoMon Oct 8 12:06:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 8 Oct 2007 09:56:46 +0000 (09:56 -0000)]
Mon Oct 8 12:06:33 CEST 2007 Paolo Molaro <lupus@ximian.com>

* tramp-ppc.c, tramp-x86.c: reduce the alignment requirements for
specific trampolines as they are not performance critical as a jump
target (maybe align as before only for AOT code?). This saves about
200 KB of native code on x86 for monodevelop startup.

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

16 years agoMon Oct 8 11:47:44 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 8 Oct 2007 09:46:23 +0000 (09:46 -0000)]
Mon Oct 8 11:47:44 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mono-codeman.c, mono-codeman.h: added a function to be able
to specify alignment per-allocation. Changed the code to align
the starting position instead of the size, which wouldn't work
with variable-alignment.

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

16 years agoMon Oct 8 11:38:04 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 8 Oct 2007 09:24:11 +0000 (09:24 -0000)]
Mon Oct 8 11:38:04 CEST 2007 Paolo Molaro <lupus@ximian.com>

* domain.c: track statistics about the actual amount of native code
allocated.

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

16 years agoMon Oct 8 10:51:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 8 Oct 2007 08:37:41 +0000 (08:37 -0000)]
Mon Oct 8 10:51:29 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mono-codeman.c, mono-codeman.h: fixed alignment code to not
be wasteful, Added documentation. Added mono_code_manager_size ()
to gather statistics info about a code manager.

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

16 years agoMon Oct 8 10:21:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 8 Oct 2007 08:10:20 +0000 (08:10 -0000)]
Mon Oct 8 10:21:47 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mono-counters.h, mono-counters.c: better formatting of the output
and added a cleanup function.

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

16 years agoMon Oct 8 10:04:40 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 8 Oct 2007 08:02:59 +0000 (08:02 -0000)]
Mon Oct 8 10:04:40 CEST 2007 Paolo Molaro <lupus@ximian.com>

* tramp-ppc.c: reduce the size of the trampolines, saves 160KB on
monodevelop startup.

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

16 years agoMon Oct 8 09:29:15 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 8 Oct 2007 07:15:13 +0000 (07:15 -0000)]
Mon Oct 8 09:29:15 CEST 2007 Paolo Molaro <lupus@ximian.com>

* codegen.cs: remove the assembly version check until the buildbot is
fixed.

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

16 years ago* ListViewItemTest.cs: Added test for bug #330415 and #331643.
Gert Driesen [Sun, 7 Oct 2007 15:21:06 +0000 (15:21 -0000)]
* ListViewItemTest.cs: Added test for bug #330415 and #331643.
Use Assert.IsFalse and Assert.IsTrue instead of Assert.AreEqual.

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

16 years ago2007-10-07 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 7 Oct 2007 13:02:45 +0000 (13:02 -0000)]
2007-10-07  Jb Evain  <jbevain@novell.com>

* attribute.cs (Attribute.GetString): if the value
expression is a StringConstant, return its string value.

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

16 years ago2007-10-07 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 7 Oct 2007 12:16:47 +0000 (12:16 -0000)]
2007-10-07  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/BaseAssemblyResolver.cs: first lookup assemblies
in the specified directories before trying the framework dir.

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

16 years ago* gtest-344.cs: test for bug #331191
Gert Driesen [Sun, 7 Oct 2007 11:42:44 +0000 (11:42 -0000)]
* gtest-344.cs: test for bug #331191
* known-issues-gmcs: added gtest-344.cs.

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

16 years ago2007-10-07 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 7 Oct 2007 03:01:07 +0000 (03:01 -0000)]
2007-10-07  Jb Evain  <jbevain@novell.com>

* typemanager.cs: add `assembly_version_attribute_type`.
* codegen.cs: on attribute emission, check that the
AssemblyVersionAttribute doesn't overflow.

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

16 years ago2007-10-07 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 7 Oct 2007 02:58:50 +0000 (02:58 -0000)]
2007-10-07  Jb Evain  <jbevain@novell.com>

* cs0647-17.cs: New test for assembly version verification.

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

16 years ago * FolderBrowserDialog.cs: When running on Windows,
Carlos Alberto Cortez [Sun, 7 Oct 2007 02:56:07 +0000 (02:56 -0000)]
* FolderBrowserDialog.cs: When running on Windows,
try to detect paths such "C:" and add Path.DirectorySeparatorChar,
since we must match both "C:" and "C:\" forms. A little hackish, but
works.
Fixes #325247.

2007-10-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-10-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 7 Oct 2007 02:22:22 +0000 (02:22 -0000)]
2007-10-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When calling EndEdit (after editing an item),
create a new instance of LabelEditEventArgs to keep clean the fields
in case we get a new call to BeginEdit; also do Application.DoEvents
to have focus in synch. This is a fix similar to TreeView's #325244.

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

16 years agouse version numbers that fit in ushorts
Jb Evain [Sun, 7 Oct 2007 01:51:28 +0000 (01:51 -0000)]
use version numbers that fit in ushorts

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

16 years ago2007-10-07 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Sun, 7 Oct 2007 00:23:13 +0000 (00:23 -0000)]
2007-10-07  Andreia Gaita <avidigal@novell.com>

* System.Windows.Forms.dll.sources: Added WebBrowserDialogs
* build-csproj2k5: added reference to mono.mozilla
* SWF2K5.csproj: Updated project files

* HtmlDocument.cs, HtmlElement.cs, WebBrowser.cs: Added dom support
* WebBrowserBase.cs: Added dialog support, calling the
  WebBrowserDialogs classes for each specific dialog type.

System.Windows.Forms.WebBrowserDialogs:

* Added webbrowser dialog implementations.
  Generic is a generic form with a table layout and
  methods for adding buttons, labels, checkboxes and
  textboxes. The other classes inherit from Generic,
  and call up to add the needed fields for each specific
  dialog.

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

16 years ago2007-10-07 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Sat, 6 Oct 2007 23:53:08 +0000 (23:53 -0000)]
2007-10-07 Andreia Gaita <avidigal@novell.com>

* More dialog event options.
* Mono.Mozilla/interfaces/nsIDOM*: Added mozilla dom interfaces.
* Mono.WebBrowser/DOM/IDOM*: Added generic interfaces for public
  dom access.
* Mono.Mozilla/DOM/DOM*: corresponding implementations for
  accessing mozilla.
* WebBrowser.cs: moved to Mono.Mozilla, since it is a
  mozilla-specific implementation of the generic public
  interface

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

16 years ago2007-10-06 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 6 Oct 2007 20:53:29 +0000 (20:53 -0000)]
2007-10-06  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/OpCode.cs: make that a struct again, it
make the 2.1 profile explode. Will investigate why.

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

16 years ago2007-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 6 Oct 2007 20:16:13 +0000 (20:16 -0000)]
2007-10-06  Zoltan Varga  <vargaz@gmail.com>

* mini-sparc.c (mono_arch_get_vcall_slot_addr): Allow signed displacements.

* mini-sparc.h mini-sparc.c: Implement IMT support.

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

16 years ago2007-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 6 Oct 2007 20:04:25 +0000 (20:04 -0000)]
2007-10-06  Zoltan Varga  <vargaz@gmail.com>

* tramp-sparc.c (mono_arch_create_trampoline_code): Rework the trampoline code so
its smaller and doesn't clobber sparc_g1.

* mini-sparc.c (mono_arch_get_vcall_slot_addr): Update after trampoline changes.

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

16 years ago2007-10-06 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 6 Oct 2007 13:47:07 +0000 (13:47 -0000)]
2007-10-06  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/MethodCallingConvention.cs: Not a [Flag]

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

16 years agoMore IMT doc updates.
Paolo Molaro [Sat, 6 Oct 2007 09:34:34 +0000 (09:34 -0000)]
More IMT doc updates.

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

16 years agoSat Oct 6 10:35:25 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 6 Oct 2007 08:22:28 +0000 (08:22 -0000)]
Sat Oct 6 10:35:25 CEST 2007 Paolo Molaro <lupus@ximian.com>

* gtest-284.cs: this test wasn't working even on the MS runtime:
once fixed it runs fine on both mono and MS .net.

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

16 years agoSat Oct 6 10:01:42 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 6 Oct 2007 07:48:19 +0000 (07:48 -0000)]
Sat Oct 6 10:01:42 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class.c: the valuetype enumerators don't have the additional
supertypes interfaces.

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

16 years ago * ListView.cs: When the last item is focused and is removed,
Carlos Alberto Cortez [Sat, 6 Oct 2007 07:35:22 +0000 (07:35 -0000)]
* ListView.cs: When the last item is focused and is removed,
move the focus to the previous item (in Items order). This is what MS
does.
Fixes #330415.

2007-10-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-10-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 6 Oct 2007 06:59:09 +0000 (06:59 -0000)]
2007-10-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: In ListViewItemCollection, make Remove call RemoveAt,
instead of the opposite (RemoveAt call Remove). This is a better
approach since we don't need to to a pair of traversals when using
RemoveAt.

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

16 years ago * TreeView.cs: When Keys.Left is pressed, before trying to Collapse
Carlos Alberto Cortez [Sat, 6 Oct 2007 00:36:41 +0000 (00:36 -0000)]
* TreeView.cs: When Keys.Left is pressed, before trying to Collapse
check that the node actually has nodes, and if not, move to the
parent node instead.
Fixes #325265.

2006-10-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-10-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 6 Oct 2007 00:29:57 +0000 (00:29 -0000)]
2007-10-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeNodeTest.cs: Added a test to be sure leaf nodes
keep their expanded/collapsed state when we get calls to
Expand/Collapse. Also add a forgotten test for EndEdit method.

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

16 years ago2006-10-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 5 Oct 2007 21:43:22 +0000 (21:43 -0000)]
2006-10-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeView.cs: Move the previous change to the general case (to
call Application.DoEvents in cases where the method was called by
different places).

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

16 years agoFixed typo.
Marek Safar [Fri, 5 Oct 2007 20:38:54 +0000 (20:38 -0000)]
Fixed typo.

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

16 years agoA test for bug #324677
Marek Safar [Fri, 5 Oct 2007 20:09:20 +0000 (20:09 -0000)]
A test for bug #324677

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

16 years ago2007-10-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 5 Oct 2007 20:08:17 +0000 (20:08 -0000)]
2007-10-05  Marek Safar  <marek.safar@gmail.com>

A fix for bug #324677
* anonymous.cs, decl.cs: Yes another anonymous container hack. Overwrite
parent container of a scope container with currently resolved one.

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

16 years agoFri Oct 5 20:33:31 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 5 Oct 2007 18:22:16 +0000 (18:22 -0000)]
Fri Oct 5 20:33:31 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class.c: need more interfaces setup for the IEnumerator<T>
object created for arrays (tests/ienumerator-interfaces.2.cs).

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

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

* ExpressionsCollectionConverter.cs,
  ExpressionsCollectionEditor.cs,
  HierarchicalDataSourceConverter.cs,
  HierarchicalDataSourceDesigner.cs : more 2.0 files.
* ControlDesigner.cs, ControlDesignerState.cs, ControlParser.cs,
  DataBindingCollectionConverter.cs, DataBindingCollectionEditor.cs,
  DataSourceConverter.cs, DesignTimeData.cs, ExpressionEditor.cs,
  ExpressionEditorSheet.cs, HtmlControlDesigner.cs,
  IControlDesignerBehaviour.cs, IDataSourceDesigner.cs,
  IDesignTimeResourceWriter.cs, IHtmlControlDesignerBehavior.cs,
  ITemplateEditingFrame.cs, ITemplateEditingService.cs,
  IWebFormReferenceManager.cs, IWebFormsDocumentService.cs,
  ReadWriteControlDesigner.cs, ResourceExpressionEditorSheet.cs,
  TemplateDefinition.cs, TemplateEditingService.cs,
  TemplateEditingVerb.cs, TemplatedControlDesigner.cs,
  TextControlDesigner.cs, UrlBuilder.cs, UserControlDesigner.cs,
  ViewFlags.cs, WebControlToolboxItem.cs, WebFormsRootDesigner.cs:
  a bunch of API fixes on existing files.

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

16 years ago2007-10-05 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 5 Oct 2007 16:40:16 +0000 (16:40 -0000)]
2007-10-05  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/OpCode.cs: Change OpCode from struct to class
to avoid copying everything everytime.

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

16 years ago2007_10-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 5 Oct 2007 16:24:18 +0000 (16:24 -0000)]
2007_10-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeView.cs: When calling EndEdit and we need to hide the textbox,
call Application.DoEvents. This is neccessary when we get a call to
BeginEdit from an AfterLabelEdit handler, because the focus always
goes to the TreeView, even if we try to give it to our
LabelEditTextBox. The call do Application.DoEvents seems to
synchronize the focus, basically.
Fixes #325244.

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

16 years agoFri Oct 5 18:28:11 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 5 Oct 2007 16:16:32 +0000 (16:16 -0000)]
Fri Oct 5 18:28:11 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: optimized the size of the IMT thunks a bit.

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

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

* WebService.cs : Do not always expect HttpContext existence.
  Fixed bug #331183.

* WebServiceTest.cs : new test (for bug #331183).

* System.Web.Services_test.dll.sources : added WebServiceTest.cs.

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

16 years agoFri Oct 5 18:08:30 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 5 Oct 2007 15:56:45 +0000 (15:56 -0000)]
Fri Oct 5 18:08:30 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: implemented fast delegate invocation.

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

16 years agoA test for bug #325534
Marek Safar [Fri, 5 Oct 2007 15:50:54 +0000 (15:50 -0000)]
A test for bug #325534

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

16 years ago2007-10-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 5 Oct 2007 15:50:31 +0000 (15:50 -0000)]
2007-10-05  Marek Safar  <marek.safar@gmail.com>

A fix for bug #325534
* class.cs (Invocation.DoResolve): Check invocation of object finalizer
only.

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

16 years ago* ComboBoxTest.cs: Added test for bug #331144.
Gert Driesen [Fri, 5 Oct 2007 15:38:52 +0000 (15:38 -0000)]
* ComboBoxTest.cs: Added test for bug #331144.

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

16 years ago2007-10-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 5 Oct 2007 15:12:28 +0000 (15:12 -0000)]
2007-10-05  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_ldtoken): Handle methodspec tokens as well. Fixes #331097.

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

16 years agoA test for bug #327497
Marek Safar [Fri, 5 Oct 2007 14:54:53 +0000 (14:54 -0000)]
A test for bug #327497

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

16 years ago2007-10-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 5 Oct 2007 14:54:37 +0000 (14:54 -0000)]
2007-10-05  Marek Safar  <marek.safar@gmail.com>

A fix for bug #327497
* generics.cs (Constraints.CheckInterfaceMethod): Compare geenric open
types when appropriate.

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

16 years ago2007-10-05 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 5 Oct 2007 14:16:15 +0000 (14:16 -0000)]
2007-10-05  Dick Porter  <dick@ximian.com>

* ThreadTest.cs: Disable GetHashCodeTest while I figure out why
GetHashCode sometimes returns 0.

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

16 years ago2007-10-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 5 Oct 2007 14:03:38 +0000 (14:03 -0000)]
2007-10-05 Rodrigo Kumpera  <rkumpera@novell.com>

* generic_type_definition_encoding.2.cs: added, this tests
 the regression fixed in r86912.

* Makefile.am: added generic_type_definition.2.cs

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

16 years agoUpdated an error message
Marek Safar [Fri, 5 Oct 2007 11:52:09 +0000 (11:52 -0000)]
Updated an error message

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

16 years agoA test for bug #327504
Marek Safar [Fri, 5 Oct 2007 11:51:48 +0000 (11:51 -0000)]
A test for bug #327504

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

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

A fix for bug #327504
* class.cs (Operator.Define): Refactored implicit and explicit user
operator conversion rules.

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

16 years agoNew test for bug bug #327520
Marek Safar [Fri, 5 Oct 2007 09:03:42 +0000 (09:03 -0000)]
New test for bug bug #327520

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

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