mono.git
16 years ago2007-07-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 12 Jul 2007 21:13:39 +0000 (21:13 -0000)]
2007-07-12  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_bounded_array_class_get):  method fails if used with
an incomplete TypeBuilder enum (no basetype field), fixed it by
avoiding calculating the size for such array as it cannot be instantiated.
Fix bug #82015

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

16 years ago2007-07-12 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 12 Jul 2007 20:57:20 +0000 (20:57 -0000)]
2007-07-12  Jonathan Pobst  <monkey@jpobst.com>

* SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
XplatUIWin32.cs: Implement SystemInformation 2.0 properties.

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

16 years ago2007-07-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 12 Jul 2007 20:17:32 +0000 (20:17 -0000)]
2007-07-12  Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Added test for MakeArrayType with incomplete enum type. Related to bug #82015

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

16 years ago2007-07-12 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 12 Jul 2007 18:04:35 +0000 (18:04 -0000)]
2007-07-12  Geoff Norton  <gnorton@customerdna.com>

    * HttpListenerContext.cs:
    * HttpListener.cs: Handle HttpListener AuthenticationSchemes
    Only Basic authentication is included for now.

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

16 years ago* CollectionEditor.cs: Implement CreateInstance for 1.1 profile (patch
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 16:25:18 +0000 (16:25 -0000)]
* CollectionEditor.cs: Implement CreateInstance for 1.1 profile (patch
  by Andreas Nahr).

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

16 years ago* PropertyDescriptorTests.cs: Added GetEditorTest.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 16:13:29 +0000 (16:13 -0000)]
* PropertyDescriptorTests.cs: Added GetEditorTest.

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

16 years ago* PropertyDescriptor.cs: GetEditor: We have to check the property
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 16:11:26 +0000 (16:11 -0000)]
* PropertyDescriptor.cs: GetEditor: We have to check the property
  itself for attributes as well, not only the property type.
* TypeDescriptor.cs: Make a couple of methods internal so that
  PropertyDescriptor can use them.

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

16 years ago* TypeDescriptor.cs: GetEditor: Make sure the static constructor of the
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 15:34:17 +0000 (15:34 -0000)]
* TypeDescriptor.cs: GetEditor: Make sure the static constructor of the
  editors basetype is called, since that's where we're initializing
  the editor table.

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

16 years ago* DateTimePicker.cs: If there's no part format specifier, return an
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 14:31:35 +0000 (14:31 -0000)]
* DateTimePicker.cs: If there's no part format specifier, return an
  empty string.

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

16 years ago* class-internals.h (_MonoGenericInst::is_reference): Remove bogus field.
Raja R Harinath [Thu, 12 Jul 2007 14:21:40 +0000 (14:21 -0000)]
* class-internals.h (_MonoGenericInst::is_reference): Remove bogus field.
* metadata.c, reflection.c: Update to changes.

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

16 years agoFix my ChangeLog entry.
Jonathan Pobst [Thu, 12 Jul 2007 13:52:47 +0000 (13:52 -0000)]
Fix my ChangeLog entry.

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

16 years ago2007-07-12 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 12 Jul 2007 13:50:03 +0000 (13:50 -0000)]
2007-07-12  Jonathan Pobst  <monkey@jpobst.com>

* FlatButtonAppearance.cs: Throw NotSupportedException for a
Transparent BorderColor.

2007-07-12  Jonathan Pobst  <monkey@jpobst.com>

* ButtonPainter.cs: For Flat button, if BorderSize is 0, don't
draw the rectangle.  Setting the pen's width to 1 isn't good
enough, it still draws the border.  [Fixes bug #82081]

2007-07-12  Jonathan Pobst  <monkey@jpobst.com>

* ButtonTest.cs: Add test showing a NSE if Flat BorderSize is 0.

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

16 years ago* expression.cs (Invocation.IsApplicable): Reorganize slightly to
Raja R Harinath [Thu, 12 Jul 2007 13:22:35 +0000 (13:22 -0000)]
* expression.cs (Invocation.IsApplicable): Reorganize slightly to
avoid try...finally in some cases.

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

16 years ago2007-07-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 12 Jul 2007 13:18:35 +0000 (13:18 -0000)]
2007-07-12  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_get_vcall_slot_addr): Add support for IMT call sequences.

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

16 years ago* build-csproj2k5-tests: Remove warnings.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 13:11:15 +0000 (13:11 -0000)]
* build-csproj2k5-tests: Remove warnings.
* SWF2k5.csproj, SWF2k5-tests.csproj: Updated.
* build-csproj2k5: Ignore obsolete warnings in VS as well.

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

16 years ago* Makefile: Ignore obsolete warnings.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 12:52:50 +0000 (12:52 -0000)]
* Makefile: Ignore obsolete warnings.

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

16 years ago* RTF.cs: Remove warning.
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 12:49:51 +0000 (12:49 -0000)]
* RTF.cs: Remove warning.

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

16 years ago* DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
Rolf Bjarne Kvinge [Thu, 12 Jul 2007 12:49:35 +0000 (12:49 -0000)]
* DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  Remove warnings.
* X11Structs.cs: Remove warnings, add ToString implementations.

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

16 years ago2007-07-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 12 Jul 2007 12:09:08 +0000 (12:09 -0000)]
2007-07-12  Marek Habersack  <mhabersack@novell.com>

* HostingEnvironment.cs: allow relative paths to be
passed. Matches both MSDN and the MS.NET behavior. Fixes bug
#82061.

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

16 years ago2007-07-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 12 Jul 2007 11:56:21 +0000 (11:56 -0000)]
2007-07-12  Mark Probst  <mark.probst@gmail.com>

* mini.c (check_linkdemand, mono_method_to_ir): Abort compilation
as soon as check_linkdemand sets an exception_type.

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

16 years agoThu Jul 12 12:18:22 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 12 Jul 2007 10:05:16 +0000 (10:05 -0000)]
Thu Jul 12 12:18:22 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: fixed offsets for IMT call sequence.
* mini-x86.h: enable IMT again.

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

16 years ago* ClientScriptManager.cs: refactored event validation data structure
Vladimir Krasnov [Thu, 12 Jul 2007 09:26:28 +0000 (09:26 -0000)]
* ClientScriptManager.cs: refactored event validation data structure
* Page.cs: fixed InternalProcessRequest, event validation list should be cleared before render

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 09:23:36 +0000 (09:23 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingDateTutorial4

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 08:54:30 +0000 (08:54 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingDateTutorial3

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

16 years agoHttpResponseStream.jvm.cs: typo bug fixed
Vladimir Krasnov [Thu, 12 Jul 2007 08:52:07 +0000 (08:52 -0000)]
HttpResponseStream.jvm.cs: typo bug fixed

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

16 years ago2007-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 12 Jul 2007 08:31:57 +0000 (08:31 -0000)]
2007-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* XmlWriter.cs : in WriteNode(XPathNavigator,bool), default namespace
  is broken. Fixed bug #82051.

* XmlWriterTests.cs : added test for bug #82051.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 08:25:32 +0000 (08:25 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingDateTutorial2

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 08:02:19 +0000 (08:02 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingDateTutorial1

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Thu, 12 Jul 2007 07:41:40 +0000 (07:41 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : LocalizingClientResourcesWalkthrough

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

16 years ago2007-07-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 11 Jul 2007 22:55:57 +0000 (22:55 -0000)]
2007-07-11  Rodrigo Kumpera  <rkumpera@novell.com>
* class.c, class-internal.h: added mono_type_is_valid_enum_basetype and
mono_class_is_valid_enum, they are used to valide a enum when loading.
* reflection.c: used new functions to throw TypeLoadException when and
invalid enum is build with TypeBuilder. Fixes #82018

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

16 years ago2007-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 11 Jul 2007 20:03:05 +0000 (20:03 -0000)]
2007-07-11  Zoltan Varga  <vargaz@gmail.com>

* trace.c (mono_trace_enter_method): Decode MonoType too.

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

16 years ago2007-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 11 Jul 2007 20:02:26 +0000 (20:02 -0000)]
2007-07-11  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_get_vcall_slot_addr): Handle signed displacements too.

* mini.h mini-x86.h mini-trampolines.c: Change the signature of mono_arch_find_imt_method () to pass the calling code address too.

* mini-amd64.c: Add preliminary IMT implementation.

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

16 years agoIn System.Reflection.Emit:
Rodrigo Kumpera [Wed, 11 Jul 2007 19:52:35 +0000 (19:52 -0000)]
In System.Reflection.Emit:
2007-07-11  Rodrigo Kumpera <rkumpera@novell.com>

* TypeBuilder.cs (CreateType): method did not check for enum type with defined methods and fixed compatibility issue in case of calling CreateType again after the first one failed, it now returns null as well.

In Test/System.Reflection.Emit:
2007-07-11  Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Added tests for enum creation. These tests are related to bugs #82018 and #82075

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

16 years agoadd pkg here
Miguel de Icaza [Wed, 11 Jul 2007 19:03:46 +0000 (19:03 -0000)]
add pkg here

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

16 years agoadd pkg here
Miguel de Icaza [Wed, 11 Jul 2007 18:54:32 +0000 (18:54 -0000)]
add pkg here

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

16 years agofix mono_path
Jb Evain [Wed, 11 Jul 2007 18:42:15 +0000 (18:42 -0000)]
fix mono_path

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

16 years agoDisable IMT for now.
Paolo Molaro [Wed, 11 Jul 2007 18:40:31 +0000 (18:40 -0000)]
Disable IMT for now.

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

16 years agoImprove the description for smcs, fix the debugging section, prettify
Miguel de Icaza [Wed, 11 Jul 2007 17:35:43 +0000 (17:35 -0000)]
Improve the description for smcs, fix the debugging section, prettify
the -pkg section, and update the -pkg section

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

16 years agohopefully fix make dist
Jb Evain [Wed, 11 Jul 2007 17:06:35 +0000 (17:06 -0000)]
hopefully fix make dist

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

16 years agoWed Jul 11 18:21:30 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Jul 2007 16:09:37 +0000 (16:09 -0000)]
Wed Jul 11 18:21:30 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: adjusted mono_arch_get_vcall_slot_addr () to
understand the new IMT-base interface invocation (thanks to
Daniel Nauck for the report and the remote debugging session).

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

16 years ago2007-07-11 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 11 Jul 2007 16:06:48 +0000 (16:06 -0000)]
2007-07-11  Jb Evain <jbevain@novell.com>

* mcs.1: add info about smcs.

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

16 years ago2007-07-11 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 11 Jul 2007 15:35:15 +0000 (15:35 -0000)]
2007-07-11  Jb Evain  <jbevain@novell.com>

* scripts/smcs.in, scripts/Makefile.am: new smcs script.

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

16 years agoAdd all the docs to the distribution
Miguel de Icaza [Wed, 11 Jul 2007 15:23:32 +0000 (15:23 -0000)]
Add all the docs to the distribution

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

16 years agodelete the link if already present before re-creating it
Jb Evain [Wed, 11 Jul 2007 15:19:27 +0000 (15:19 -0000)]
delete the link if already present before re-creating it

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

16 years ago* XplatUIX11.cs: Translate min/max size according to the actual min/max
Rolf Bjarne Kvinge [Wed, 11 Jul 2007 14:59:46 +0000 (14:59 -0000)]
* XplatUIX11.cs: Translate min/max size according to the actual min/max
  size, and not the current size. Fixes #81798.

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

16 years ago2007-07-11 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 11 Jul 2007 14:49:45 +0000 (14:49 -0000)]
2007-07-11  Jb Evain  <jbevain@novell.com>

* scripts/slmcs.in, scripts/Makefile.am: new slmcs script.

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

16 years agoon 2.1 install, create a link to the 2.0 gmcs in prefix/2.1
Jb Evain [Wed, 11 Jul 2007 14:37:51 +0000 (14:37 -0000)]
on 2.1 install, create a link to the 2.0 gmcs in prefix/2.1

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

16 years agoldap test server change
Yaacov Akiba Slama [Wed, 11 Jul 2007 14:29:03 +0000 (14:29 -0000)]
ldap test server change

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

16 years ago* XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
Rolf Bjarne Kvinge [Wed, 11 Jul 2007 14:22:34 +0000 (14:22 -0000)]
* XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  to the control yet).

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

16 years agoDocumentation on the arch-specific IMT code.
Paolo Molaro [Wed, 11 Jul 2007 13:56:53 +0000 (13:56 -0000)]
Documentation on the arch-specific IMT code.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Wed, 11 Jul 2007 13:52:27 +0000 (13:52 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : StringBuilder

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Wed, 11 Jul 2007 13:20:00 +0000 (13:20 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : ResourcesInScriptFile

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

16 years ago2007-07-11 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 11 Jul 2007 13:09:16 +0000 (13:09 -0000)]
2007-07-11  Igor Zelmanovich <igorz@mainsoft.com>

* ReflectionPropertyDescriptor: fixed ShouldSerializeValue:
MSDN: If this method cannot find a DefaultValueAttribute or
a ShouldSerializeMyProperty method, it cannot create optimizations
and it returns true.

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

16 years agoWed Jul 11 14:54:39 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Jul 2007 12:42:22 +0000 (12:42 -0000)]
Wed Jul 11 14:54:39 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: size and speed optimizations for the IMT bsearch.

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

16 years agoWed Jul 11 14:47:07 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Jul 2007 12:35:14 +0000 (12:35 -0000)]
Wed Jul 11 14:47:07 CEST 2007 Paolo Molaro <lupus@ximian.com>

* object.c: forgot commit of mono_class_setup_methods () to access
iface->methods.
* object-internals.h: added a few more handy fields to
MonoIMTCheckItem.

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

16 years ago2007-07-11 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 11 Jul 2007 12:27:24 +0000 (12:27 -0000)]
2007-07-11  Jb Evain  <jbevain@novell.com>

* profiles/net_2_1.make: work on the 2_1 profile.

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

16 years ago2007-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 11 Jul 2007 12:06:38 +0000 (12:06 -0000)]
2007-07-11  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (aotcheck): Make this actually use the AOTed code.

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

16 years ago* PropertyGridTextBox.cs: Add a method that sends any forwarded
Rolf Bjarne Kvinge [Wed, 11 Jul 2007 12:05:15 +0000 (12:05 -0000)]
* PropertyGridTextBox.cs: Add a method that sends any forwarded
  mousedowns to the contained textbox.
* X11Structs.cs: More ToString implementation.
* PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  #81791.

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

16 years ago2007-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 11 Jul 2007 11:52:52 +0000 (11:52 -0000)]
2007-07-11  Zoltan Varga  <vargaz@gmail.com>

* object.c (build_imt): Call mono_class_setup_methods () before accessing
iface->methods.

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

16 years ago* Makefile.am (bug-81673.exe): Look for bug-81673.cs in $(srcdir).
Raja R Harinath [Wed, 11 Jul 2007 11:40:15 +0000 (11:40 -0000)]
* Makefile.am (bug-81673.exe): Look for bug-81673.cs in $(srcdir).

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

16 years ago2007-07-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 11 Jul 2007 11:37:37 +0000 (11:37 -0000)]
2007-07-11  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReader.cs : looks like I introduced extra Settings check at
  r69383. Fixed bug #82062.

* XmlReaderSettingsTests.cs : added test for bug #82062.

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

16 years ago2007-07-11 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 11 Jul 2007 11:17:21 +0000 (11:17 -0000)]
2007-07-11 Igor Zelmanovich <igorz@mainsoft.com>

* AssemblyResourceLoader.cs:
for System.Web.Extensions only:
ScriptResourceName may include ".resource" suffix.

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

16 years agoIn .:
Raja R Harinath [Wed, 11 Jul 2007 11:13:13 +0000 (11:13 -0000)]
In .:
2007-07-11  Ankit Jain  <jankit@novell.com>

* System_test.dll.sources: Add ProcessStartInfoTest.cs.

In System.Diagnostics:
2007-07-11  Ankit Jain  <jankit@novell.com>

* ProcessStartInfo.cs (WorkingDirectory.set): Don't set
working_directory to null.

In Test/System.Diagnostics:
2007-07-11  Ankit Jain  <jankit@novell.com>

* ProcessStartInfoTest.cs: New.

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

16 years agoWed Jul 11 12:41:32 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Jul 2007 10:34:21 +0000 (10:34 -0000)]
Wed Jul 11 12:41:32 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-trampolines.c: implement AOT IMT support.
* mini-x86.h: enable IMT support for wider testing.

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

16 years agosvn path=/trunk/mcs/; revision=81777
Marek Safar [Wed, 11 Jul 2007 09:53:09 +0000 (09:53 -0000)]
svn path=/trunk/mcs/; revision=81777

16 years ago2007-07-11 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 11 Jul 2007 09:48:51 +0000 (09:48 -0000)]
2007-07-11  Jb Evain  <jbevain@novell.com>

* Makefile: work on the 2.1 profile.

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

16 years ago* PropertyGridView.cs: Add a null-check, fixes a few tests.
Rolf Bjarne Kvinge [Wed, 11 Jul 2007 09:21:47 +0000 (09:21 -0000)]
* PropertyGridView.cs: Add a null-check, fixes a few tests.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Wed, 11 Jul 2007 08:52:31 +0000 (08:52 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : ErrorTypeExtensions

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Wed, 11 Jul 2007 08:40:12 +0000 (08:40 -0000)]
By   : Yonik <yonik@mainsoft.com>
Add tests to Test Suite file

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Wed, 11 Jul 2007 08:23:54 +0000 (08:23 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : DynamicScriptReferencesHowTo

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

16 years ago2007-07-11 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 11 Jul 2007 07:02:53 +0000 (07:02 -0000)]
2007-07-11  Igor Zelmanovich <igorz@mainsoft.com>

* ReflectionPropertyDescriptor: fixed ShouldSerializeValue:
avoid NullReferenceException.

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

16 years ago2007-07-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 10 Jul 2007 21:19:29 +0000 (21:19 -0000)]
2007-07-10  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg (emit_imt_argument): Add aot support here.

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

16 years ago2007-07-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 10 Jul 2007 21:06:35 +0000 (21:06 -0000)]
2007-07-10  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (decode_patch_info): Fix reading of MONO_PATCH_INFO_METHOD.

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

16 years ago2007-07-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 10 Jul 2007 21:03:02 +0000 (21:03 -0000)]
2007-07-10  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutPanelCellPosition.cs: TypeConverter.

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

16 years agoAdd comment from Lluis
Miguel de Icaza [Tue, 10 Jul 2007 19:23:03 +0000 (19:23 -0000)]
Add comment from Lluis

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

16 years agoNew test.
Marek Safar [Tue, 10 Jul 2007 18:53:29 +0000 (18:53 -0000)]
New test.

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

16 years ago[ Fixes #79761]
Rolf Bjarne Kvinge [Tue, 10 Jul 2007 18:48:26 +0000 (18:48 -0000)]
[ Fixes #79761]

* PropertyGridTextBox.cs: Propagate any color changes to all contained
  controls.
* PropertyGridView.cs: A few color fixes.

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

16 years ago2007-07-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 10 Jul 2007 18:40:02 +0000 (18:40 -0000)]
2007-07-10  Marek Safar  <marek.safar@gmail.com>

* attribute.cs (Attribute.ResolveConstructor): Uses method group.

* class.cs (ConstructorInitializer.Resolve): Use and keep method group
instead of method. Re-use standard error handling.
(ConstructorInitializer.Emit): Simplified.

* delegate.cs: Updated after Invocation.EmitCall change.

* ecore.cs (GetOperatorTrueOrFalse): Uses MethodGroupExpr only.
(SimpleName.SimpleNameResolve): Set and reset in_transit flag correctly.
(ExtensionMethodGroupExpr): Refactored to use same OverloadResolve
method and don't permanently changing input arguments.
(MethodGroupExpr): Introduced resolved best_candidate, when method group
is resolved it has one of the candidates is the best one which is later
used to emit. Removed a few unused method.
(MethodGroupExpr.MakeUnionSet): Moved from Invocation, it belongs here.

* expression.cs (StaticCallExpr.MakeSimpleCall): Uses method group.
(Binary.ResolveOperator): Ditto.
(ConditionalLogicalOperator.DoResolve): Ditto.
(Invocation): Uses method group.
(Invocation.DoResolve): Simplified.
(Invocation.EmitCall): Removed useless is_static.
(Invocation.Emit): Delegate to method group.
(Invocation.EmitStatement): Simplified.
(New): Uses method group.
(MemberAccess.DoResolve): Don't destroy original expression.

* statement.cs (ForEach.Resolve): Use null for no method arguments.

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

16 years ago * TextControl.cs: Remove some old unused text formatting stuff.
Jackson Harper [Tue, 10 Jul 2007 18:07:12 +0000 (18:07 -0000)]
    * TextControl.cs: Remove some old unused text formatting stuff.

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

16 years ago* PropertyGridView.cs: Fix for #81800, makes text show up on initial
Rolf Bjarne Kvinge [Tue, 10 Jul 2007 16:33:30 +0000 (16:33 -0000)]
* PropertyGridView.cs: Fix for #81800, makes text show up on initial
  display of properties again.

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

16 years ago2007-07-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 10 Jul 2007 16:11:13 +0000 (16:11 -0000)]
2007-07-10  Jonathan Pobst  <monkey@jpobst.com>

* ListBox.cs: Add IntegerCollection and Add, Clear, Remove
to existing collections.

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

16 years agoTue Jul 10 17:50:58 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Jul 2007 15:42:49 +0000 (15:42 -0000)]
Tue Jul 10 17:50:58 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-x86.c, mini-x86.h, tramp-x86.c: x86 arch-specific changes
of the IMT implementation, partially from massi, with my
implementation of the bsearch sequence. Disabled by default until
the AOT code is implemented.

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

16 years ago2007-07-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 10 Jul 2007 15:40:58 +0000 (15:40 -0000)]
2007-07-10  Zoltan Varga  <vargaz@gmail.com>

* cpu-x86.md: The source argument of sext_i1/i2 must by a byte reg.

* inssel-x86.brg: Add reg:ldind.i1(regvar) rules. Fixes #82056.

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

16 years agoTue Jul 10 17:33:12 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Jul 2007 15:23:02 +0000 (15:23 -0000)]
Tue Jul 10 17:33:12 CEST 2007 Paolo Molaro <lupus@ximian.com>

* inssel.brg, mini.c, mini.h, mini-trampolines.c:
arch-independent IMT JIT code from Massimiliano
Mantione (massi@ximian.com) with small cleanups from me.

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

16 years ago * TreeView.cs: Update full row select invalidation to match the
Jackson Harper [Tue, 10 Jul 2007 15:07:05 +0000 (15:07 -0000)]
    * TreeView.cs: Update full row select invalidation to match the
        newer DrawSelection... method.
        - Make sure to invalidate the entire width when selecting a new
        node, if we have full row selection enabled.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Tue, 10 Jul 2007 14:48:28 +0000 (14:48 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : EnhancingJavaScript/Reflection.html

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

16 years agoTue Jul 10 16:49:01 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Jul 2007 14:39:37 +0000 (14:39 -0000)]
Tue Jul 10 16:49:01 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class-internals.h, object-internals.h, object.c: IMT-based
interface invocation core from Massimiliano Mantione
(massi@ximian.com) with a reworked arch-specific interface,
bsearch implementation and a few bugfixes and memory savings by me.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Tue, 10 Jul 2007 14:36:23 +0000 (14:36 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : EnhancingJavaScript/Namespace.html

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

16 years agoBetter changelog entry
Rodrigo Kumpera [Tue, 10 Jul 2007 14:35:29 +0000 (14:35 -0000)]
Better changelog entry

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Tue, 10 Jul 2007 14:31:08 +0000 (14:31 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : EnhancingJavaScript/Interface.html

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

16 years ago* ArrayEditor.cs, MultilineStringEditor.cs, CollectionEditor.cs,
Rolf Bjarne Kvinge [Tue, 10 Jul 2007 14:21:38 +0000 (14:21 -0000)]
* ArrayEditor.cs, MultilineStringEditor.cs, CollectionEditor.cs,
  DateTimeEditor.cs: Implemented (patch by Andreas Nahr).

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

16 years ago2007-07-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 10 Jul 2007 14:21:28 +0000 (14:21 -0000)]
2007-07-10  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_create_from_typedef): Fix for bug #82022

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

16 years ago2007-07-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 10 Jul 2007 14:19:52 +0000 (14:19 -0000)]
2007-07-10  Rodrigo Kumpera  <rkumpera@novell.com>

* Makefile.am, bug-82020.il: Test for bug #82020

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

16 years ago* UITypeEditor.cs: Add a table of special editors (types that can't use
Rolf Bjarne Kvinge [Tue, 10 Jul 2007 14:15:43 +0000 (14:15 -0000)]
* UITypeEditor.cs: Add a table of special editors (types that can't use
  attributes to specify the editor) to TypeDescriptor.

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

16 years ago* TypeDescriptor.cs: Implemented AddEditorTable, and check the editor
Rolf Bjarne Kvinge [Tue, 10 Jul 2007 14:13:57 +0000 (14:13 -0000)]
* TypeDescriptor.cs: Implemented AddEditorTable, and check the editor
  table in GetEditor if no editor can be found using attributes.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Tue, 10 Jul 2007 12:31:04 +0000 (12:31 -0000)]
By   : Yonik <yonik@mainsoft.com>
Browser capabilities fixes.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Tue, 10 Jul 2007 12:27:35 +0000 (12:27 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : EnhancingJavaScript/Enumeration.html

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

16 years ago* ObjectStateFormatter.cs: optimized loops in array formatters
Vladimir Krasnov [Tue, 10 Jul 2007 12:15:37 +0000 (12:15 -0000)]
* ObjectStateFormatter.cs: optimized loops in array formatters

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

16 years ago* ListItemCollection.cs: optimized SetDirty method
Vladimir Krasnov [Tue, 10 Jul 2007 11:58:02 +0000 (11:58 -0000)]
* ListItemCollection.cs: optimized SetDirty method

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

16 years ago* HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods
Vladimir Krasnov [Tue, 10 Jul 2007 11:55:20 +0000 (11:55 -0000)]
* HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods

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