mono.git
17 years ago2007-06-04 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 4 Jun 2007 20:37:43 +0000 (20:37 -0000)]
2007-06-04  Mark Probst  <mark.probst@gmail.com>

* Makefile.am:
* mono-internal-hash.c, mono-internal-hash.h: Hash table which
uses the value themselves as nodes, hence doesn't have to allocate
nodes.

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

17 years ago2007-06-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Jun 2007 20:00:44 +0000 (20:00 -0000)]
2007-06-04  Jonathan Pobst  <monkey@jpobst.com>

* Button.cs: Completely reformat and a little refactor to bring
this closer to Mono circa 2007.

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

17 years ago2007-06-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Jun 2007 19:38:37 +0000 (19:38 -0000)]
2007-06-04  Jonathan Pobst  <monkey@jpobst.com>

* CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
to be ButtonBase.Invalidate.

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

17 years ago2007-06-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Jun 2007 18:49:52 +0000 (18:49 -0000)]
2007-06-04  Jonathan Pobst  <monkey@jpobst.com>

* ButtonBase.cs: GetPreferredSize is 2.0 only.  Fixes build.

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

17 years ago2007-06-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Jun 2007 17:35:35 +0000 (17:35 -0000)]
2007-06-04  Jonathan Pobst  <monkey@jpobst.com>

* ButtonBase.cs: Completely reformat and a little refactor to bring
this closer to Mono circa 2007.

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

17 years ago * PropertyGridTest.cs: Added test for bug #81796, and reworked
Gert Driesen [Mon, 4 Jun 2007 16:46:55 +0000 (16:46 -0000)]
 * PropertyGridTest.cs: Added test for bug #81796, and reworked
SelectedGridItem_Null test to no longer check actual message.

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

17 years agoIn mcs:
Raja R Harinath [Mon, 4 Jun 2007 14:41:01 +0000 (14:41 -0000)]
In mcs:
* statement.cs (ToplevelBlock.CloneTo): New.  Copy over parameter
information too.
(ToplevelBlock.GetParameterInfo): Split out of ...
(ToplevelBlock.GetParameterRefernce): ... this.
(ToplevelBlock.ParameterMap): Remove.
* expression.cs (ParameterReference): Update to use
ToplevelParameterInfo.

In gmcs:
* linq.cs (Select.DoResolve): Pass the created parameters to the
ToplevelBlock too.

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

17 years ago2007-06-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Jun 2007 14:03:54 +0000 (14:03 -0000)]
2007-06-04  Atsushi Enomoto  <atsushi@ximian.com>

* CustomizableLocalFileSettingsProvider.cs : contribution for
  LocalFileSettingsProvider implementation, by Noriaki Okimoto
  (seara@ojk.sppd.ne.jp), modified by myself to fit for System.dll.
  Origin of code license assignment at
  http://ojk.sppd.ne.jp/ojkblog/?date=20070603#p01.
* LocalFileSettingsProvider.cs : rewriting to use above.

  Due to some kind of compiler issue it is not enabled yet.

* System.dll.sources :
  added CustomizableLocalFileSettingsProvider.cs.

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

17 years ago* statement.cs (ToplevelBlock.ProcessParameters): Workaround some regression.
Raja R Harinath [Mon, 4 Jun 2007 13:33:51 +0000 (13:33 -0000)]
* statement.cs (ToplevelBlock.ProcessParameters): Workaround some regression.

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

17 years agoerror test gcs0412-3.cs worked only by chance
Raja R Harinath [Mon, 4 Jun 2007 13:09:31 +0000 (13:09 -0000)]
error test gcs0412-3.cs worked only by chance

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

17 years ago* flowanalysis.cs (FlowBranching.CheckOutParameters): Move ...
Raja R Harinath [Mon, 4 Jun 2007 12:54:53 +0000 (12:54 -0000)]
* flowanalysis.cs (FlowBranching.CheckOutParameters): Move ...
* statement.cs (ToplevelBlock.CheckOutParameters): ... here.

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

17 years agoMon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Jun 2007 12:41:12 +0000 (12:41 -0000)]
Mon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>

* String.cs: optimized CompareOrdinal ().

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

17 years ago* statement.cs (ToplevelBlock.ResolveMeta): Move CS0136 checks ...
Raja R Harinath [Mon, 4 Jun 2007 12:14:29 +0000 (12:14 -0000)]
* statement.cs (ToplevelBlock.ResolveMeta): Move CS0136 checks ...
(ToplevelBlock.ProcessParameters) ... here.
(ToplevelBlock..ctor): Invoke it.

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

17 years ago* statement.cs (ToplevelBlock.ResolveMeta): Add sanity checks for
Raja R Harinath [Mon, 4 Jun 2007 11:23:18 +0000 (11:23 -0000)]
* statement.cs (ToplevelBlock.ResolveMeta): Add sanity checks for
new parameters.

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

17 years ago* statement.cs (IKnownVariable): New interface.
Raja R Harinath [Mon, 4 Jun 2007 10:44:39 +0000 (10:44 -0000)]
* statement.cs (IKnownVariable): New interface.
(LocalInfo): Implement it.
(ToplevelParameterInfo): New class.
(ExplicitBlock.AddKnownVariable): Use IKnownVariable.
(ExplicitBlock.GetKnownVariable): Likewise.  Rename from GetKnownVariableInfo.

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

17 years agoExclude i8 for now.
Paolo Molaro [Mon, 4 Jun 2007 10:19:13 +0000 (10:19 -0000)]
Exclude i8 for now.

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

17 years agoMon Jun 4 11:29:43 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Jun 2007 09:19:51 +0000 (09:19 -0000)]
Mon Jun 4 11:29:43 CEST 2007 Paolo Molaro <lupus@ximian.com>

* inssel.brg, mini.c, mini-ops.h: optimized Math.Mini/Max
signed integer methods.

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

17 years ago2007-06-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Jun 2007 01:09:32 +0000 (01:09 -0000)]
2007-06-01  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Modify AutoSizeGrowAndShrink test to pass on all WM's.

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

17 years agosvn path=/trunk/mcs/; revision=78505
Noam Lampert [Sun, 3 Jun 2007 13:37:10 +0000 (13:37 -0000)]
svn path=/trunk/mcs/; revision=78505

17 years agoimclude new files
Konstantin Triger [Sun, 3 Jun 2007 13:35:31 +0000 (13:35 -0000)]
imclude new files

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

17 years agofixing ifdefs
Konstantin Triger [Sun, 3 Jun 2007 13:28:07 +0000 (13:28 -0000)]
fixing ifdefs

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

17 years agoFix j2ee reference
Noam Lampert [Sun, 3 Jun 2007 13:22:56 +0000 (13:22 -0000)]
Fix j2ee reference

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

17 years agoremove unneeded overrides
Konstantin Triger [Sun, 3 Jun 2007 12:10:46 +0000 (12:10 -0000)]
remove unneeded overrides

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

17 years agoSwitch j2ee to JavaEE
Noam Lampert [Sun, 3 Jun 2007 10:55:36 +0000 (10:55 -0000)]
Switch j2ee to JavaEE

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

17 years agoFix rt reference
Noam Lampert [Sun, 3 Jun 2007 10:54:01 +0000 (10:54 -0000)]
Fix rt reference

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

17 years agoFix rt reference
Noam Lampert [Sun, 3 Jun 2007 10:52:15 +0000 (10:52 -0000)]
Fix rt reference

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

17 years agoCreate consts.cs in pre-build
Noam Lampert [Sun, 3 Jun 2007 10:22:53 +0000 (10:22 -0000)]
Create consts.cs in pre-build

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

17 years agoAdd vs2005 project for jay
Noam Lampert [Sun, 3 Jun 2007 09:52:32 +0000 (09:52 -0000)]
Add vs2005 project for jay

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

17 years agoGenerate documenation for this assembly
Noam Lampert [Sun, 3 Jun 2007 09:30:09 +0000 (09:30 -0000)]
Generate documenation for this assembly

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

17 years agoRework the way we compile the aspx file and merge the jar. The old schema tended...
Noam Lampert [Sun, 3 Jun 2007 09:28:39 +0000 (09:28 -0000)]
Rework the way we compile the aspx file and merge the jar. The old schema tended to leave random files and randomly convolute the build

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

17 years ago2007-06-03 Adar Wesley <adarw@mainsoft.com>
Adar Wesley [Sun, 3 Jun 2007 08:40:38 +0000 (08:40 -0000)]
2007-06-03  Adar Wesley <adarw@mainsoft.com>

        * ProfilePropertySettingsCollection.cs: added missing method
        OnDeserializeUnrecognizedElement.

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

17 years agoPartly speed up CS0136 error checks.
Raja R Harinath [Sun, 3 Jun 2007 06:16:41 +0000 (06:16 -0000)]
Partly speed up CS0136 error checks.
* statement.cs (ExplicitBlock.GetKnownVariableInfo): Remove
'recurse' parameter.
(Block.DoCheckError136): Only check errors in parameters.  Move
local variable checks ...
(Block.AddVariable): ... here, and ...
(ToplevelBlock.ResolveMeta): ... here.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 2 Jun 2007 19:08:51 +0000 (19:08 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_delegate_invoke_impl): Disable the static case
permanently since the current approach doesn't work.

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

17 years ago* statement.cs (Block.IsChildOf): Remove.
Raja R Harinath [Sat, 2 Jun 2007 16:19:14 +0000 (16:19 -0000)]
* statement.cs (Block.IsChildOf): Remove.

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

17 years ago* statement.cs (Statement.Clone): Move special case code to Block.CloneTo.
Raja R Harinath [Sat, 2 Jun 2007 16:19:03 +0000 (16:19 -0000)]
* statement.cs (Statement.Clone): Move special case code to Block.CloneTo.

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

17 years ago2007-06-01 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sat, 2 Jun 2007 15:03:34 +0000 (15:03 -0000)]
2007-06-01  Everaldo Canuto  <ecanuto@novell.com>

* Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
values for autosize. Fixes #80137.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 2 Jun 2007 11:19:20 +0000 (11:19 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg (stmt): Only call delegate->invoke_impl if
MONO_ARCH_HAVE_CREATE_DELEGATE_TRAMPOLINE is defined.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 23:43:38 +0000 (23:43 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* PropertyInfoTest.cs: Mark new test as NotWorking.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 23:38:46 +0000 (23:38 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 23:20:01 +0000 (23:20 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* PropertyInfoTest.cs: Added new test.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 23:19:22 +0000 (23:19 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* MonoCustomAttrs.cs (GetBase): Handle properties correctly. Fixes #81797.

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

17 years ago2007-06-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Jun 2007 22:14:09 +0000 (22:14 -0000)]
2007-06-01  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Don't perform layout when AutoSize changes.
* Form.cs: Perform layout in AutoSize override.  Don't set ClientSize
directly when autosizing, use SetBounds with BoundsSpecified.None.
Fixes unit tests my last commit broke.

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

17 years ago2007-06-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 20:21:50 +0000 (20:21 -0000)]
2007-06-01  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Unify div/rem opcodes and handle
the sreg2==rdx case.

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

17 years ago2007-06-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 20:17:40 +0000 (20:17 -0000)]
2007-06-01  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c cpu-amd64.md: Correct length of r4const instruction and take into
account if it contains a rex prefix.
(peephole_pass): Handle OP_FMOVE as well.

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

17 years ago2007-06-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Jun 2007 19:50:24 +0000 (19:50 -0000)]
2007-06-01  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Perform layout when AutoSize changes.
* Form.cs: Implement AutoSizing.

2007-06-01  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Add tests for AutoSize'ing.

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

17 years ago * DataGrid.cs: remove the XXX'ed check at the top of
Chris Toshok [Fri, 1 Jun 2007 19:38:23 +0000 (19:38 -0000)]
* DataGrid.cs: remove the XXX'ed check at the top of
ProcessGridKey.  fixes #80464.

2007-06-01  Chris Toshok  <toshok@ximian.com>

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

17 years ago2007-06-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 1 Jun 2007 19:31:41 +0000 (19:31 -0000)]
2007-06-01  Chris Toshok  <toshok@ximian.com>

* DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
adding idempotent (add/remove in Edit()), and also make sure we
don't add it until after we set the text, so it's not tripped in
Edit().  Fixes unit test regression.

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

17 years ago2007-05-23 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Fri, 1 Jun 2007 18:10:59 +0000 (18:10 -0000)]
2007-05-23  Everaldo Canuto  <ecanuto@novell.com>

* LabelTest.cs: Fix SizeTest for 2.0 profile since autosize theres
diferent behavior on 2.0.

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

17 years ago2007-06-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Jun 2007 17:22:34 +0000 (17:22 -0000)]
2007-06-01  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: In UpdateBounds, only recalculate anchor distances if the
change is user explicit, not when the layout engine moves stuff.  Fixes
anchoring to bottom and right.  [Fixes bug #81790]

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

17 years agoIn .:
Rolf Bjarne Kvinge [Fri, 1 Jun 2007 17:00:02 +0000 (17:00 -0000)]
In .:
2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* corlib_test.dll.sources : added DateTimeFormatInfoTest.cs.

In Test/System.Globalization:
2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* DateTimeFormatInfo.cs: Added EraName.

In System.Globalization:
2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* GregorianCalendar.cs: Change era names from C.E./Common Era
to AD/A.D.
* DateTimeFormatInfo.cs: GetEra: search the abbreviated era names
as well for the era, and return the era, not the index of the era
in the array.

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

17 years ago* PrintDialog.cs: Add collation preview thumbnails. Fixes #80726. (forgot the changelog)
Andreia Gaita [Fri, 1 Jun 2007 16:41:57 +0000 (16:41 -0000)]
* PrintDialog.cs: Add collation preview thumbnails. Fixes #80726. (forgot the changelog)

2007-06-01  Andreia Gaita  <avidigal@novell.com>

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

17 years ago2007-06-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jun 2007 16:40:20 +0000 (16:40 -0000)]
2007-06-01  Atsushi Enomoto  <atsushi@ximian.com>

* Calendar.cs DateTimeFormatInfo.cs : 2.0 API fixes.
* CalendricalCalculations.cs : fixed AddMonth() and AddYears() to
  consider that the max days in the target month (for AddYears()
  leap year month could matter). Fixed bug #81783.

* CalendarTest.cs : test for bug #81783 and AddYears() for leap year
  (similar issue).

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

17 years ago* PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
Andreia Gaita [Fri, 1 Jun 2007 16:35:39 +0000 (16:35 -0000)]
* PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.

2007-06-01  Andreia Gaita  <avidigal@novell.com>

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

17 years ago* ContainerControl.cs: Fire enter event for common ancestor if
Andreia Gaita [Fri, 1 Jun 2007 15:59:35 +0000 (15:59 -0000)]
* ContainerControl.cs: Fire enter event for common ancestor if
it is not a ContainerControl.
Send focus to the active_control and not the 'value',the active
control might have been changed in one of the events fired.
Definitely fixes #80159.

2007-06-01  Andreia Gaita  <avidigal@novell.com>

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

17 years ago2007-06-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 1 Jun 2007 14:10:46 +0000 (14:10 -0000)]
2007-06-01  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: be case-insensitive when looking for
Bind requests.

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

17 years ago2007-06-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jun 2007 13:53:42 +0000 (13:53 -0000)]
2007-06-01  Atsushi Enomoto  <atsushi@ximian.com>

* MonoTODOAttribute.cs : fixed regression that those derived todo
  attribute types are not reported in the class status pages.

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

17 years ago2007-06-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jun 2007 13:52:22 +0000 (13:52 -0000)]
2007-06-01  Atsushi Enomoto  <atsushi@ximian.com>

* mono-api-info.cs mono-api-diff.cs :
  handle MonoTODOAttribute derivations.

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

17 years ago2007-06-01 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Fri, 1 Jun 2007 13:39:46 +0000 (13:39 -0000)]
2007-06-01  Andreia Gaita  <avidigal@novell.com>

* DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.

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

17 years ago2007-06-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 12:41:49 +0000 (12:41 -0000)]
2007-06-01  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_delegate_invoke_impl): Disable the static case for now
as it causes regressions.

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

17 years ago* ScrollableControlTest.cs: Add ResizeAnchoredTest.
Rolf Bjarne Kvinge [Fri, 1 Jun 2007 10:00:17 +0000 (10:00 -0000)]
* ScrollableControlTest.cs: Add ResizeAnchoredTest.
* PropertyGridTest.cs: A few more tests.

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

17 years ago* PropertyGrid.cs: Anchor the help description to the bottom of the
Rolf Bjarne Kvinge [Fri, 1 Jun 2007 09:57:13 +0000 (09:57 -0000)]
* PropertyGrid.cs: Anchor the help description to the bottom of the
  help panel and refactor SelectGridItem into a
  SelectGridItemInternal that can be set to null (and update it to
  clear the help texts when it is set to null). Set root item to null
  when there's no SelectedObject. Fixes #80438.
* ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  when we're recalculating after a resize (only).

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

17 years ago2007-06-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 1 Jun 2007 05:37:00 +0000 (05:37 -0000)]
2007-06-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewTest.cs: Added a new test for 2.0 RedrawItem method.

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

17 years ago * ListView.cs: Implement 2.0 RedrawItems method.
Carlos Alberto Cortez [Fri, 1 Jun 2007 05:33:30 +0000 (05:33 -0000)]
* ListView.cs: Implement 2.0 RedrawItems method.

2007-05-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years ago2007-05-31 Jeffrey Stedfast <fejj@gnome.org>
Jeffrey Stedfast [Fri, 1 Jun 2007 01:46:13 +0000 (01:46 -0000)]
2007-05-31  Jeffrey Stedfast  <fejj@gnome.org>

* SmtpClient.cs: Added an extensions parser to figure out if the
ESMTP server supports things like STARTTLS and which AUTH
mechanisms are supported. Don't try authenticating if no authmechs
are supported.

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 21:44:46 +0000 (21:44 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_delegate_invoke_impl): Implement support for the
static case as well.

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

17 years agoRollback r78168 that causes some unit test errors
Everaldo Canuto [Thu, 31 May 2007 19:38:25 +0000 (19:38 -0000)]
Rollback r78168 that causes some unit test errors

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

17 years ago2007-05-31 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 31 May 2007 19:29:32 +0000 (19:29 -0000)]
2007-05-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControl.cs: Disconnect PositionChanged and ItemChanged
handlers from previous data manager when DataSource is set to
null. Fixes #81771.

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

17 years ago * TextBoxBase.cs: These seem to be the correct values.
Jackson Harper [Thu, 31 May 2007 18:47:47 +0000 (18:47 -0000)]
    * TextBoxBase.cs: These seem to be the correct values.

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

17 years ago2007-05-31 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Thu, 31 May 2007 17:46:36 +0000 (17:46 -0000)]
2007-05-31  Everaldo Canuto  <ecanuto@novell.com>

* FileDialog.cs: When close dialog with ok set filterindex using combobox
value. Fixes #81784.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 17:20:10 +0000 (17:20 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* LookupBindingPropertiesAttribute.cs:
  Should be sealed. Implemented GetHashCode().

* LookupBindingPropertiesAttributeTest.cs:
  test GetHashCode() as well.

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

17 years ago2007-05-31 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 31 May 2007 17:07:44 +0000 (17:07 -0000)]
2007-05-31  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Implement 2.0 scaling methods.

2007-05-31  Jonathan Pobst  <monkey@jpobst.com>

* ControlTest.cs: Add tests for 2.0 scaling methods.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 17:01:50 +0000 (17:01 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* ContainerFilterService.cs CustomTypeDescriptor.cs
  InstanceCreationEditor.cs InvalidAsynchronousStateException.cs
  MultilineStringConverter.cs NestedContainer.cs
  NullableConverter.cs TypeDescriptionProvider.cs
  TypeDescriptionProviderAttribute.cs :
  2.0 stubs except for [Obsolete].
* TypeDescriptor.cs : added missing 2.0 members.

* System.dll.sources :
  added couple of new 2.0 sys.ComponentModel types.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 16:14:48 +0000 (16:14 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* PropertyDescriptor.cs : oops, wrong fix.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 16:12:19 +0000 (16:12 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* PropertyDescriptor.cs : call base. fix winforms tests.

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

17 years ago* ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
Rolf Bjarne Kvinge [Thu, 31 May 2007 16:00:31 +0000 (16:00 -0000)]
* ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  corcompare issues.

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

17 years ago* ProgressBar.cs: Implemented missing 2.0 members.
Rolf Bjarne Kvinge [Thu, 31 May 2007 15:22:27 +0000 (15:22 -0000)]
* ProgressBar.cs: Implemented missing 2.0 members.

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

17 years ago* Control.cs: Corcompare issues.
Rolf Bjarne Kvinge [Thu, 31 May 2007 14:57:21 +0000 (14:57 -0000)]
* Control.cs: Corcompare issues.
* MessageBox.cs: Implemented missing 2.0 functions.

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 14:50:01 +0000 (14:50 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs: Bump corlib version.

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

17 years ago* CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
Rolf Bjarne Kvinge [Thu, 31 May 2007 14:05:48 +0000 (14:05 -0000)]
* CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  Implemented more 2.0 members.

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

17 years agonormalize line endings
Sebastien Pouliot [Thu, 31 May 2007 14:02:29 +0000 (14:02 -0000)]
normalize line endings

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

17 years agoForgot base class...
Rolf Bjarne Kvinge [Thu, 31 May 2007 13:59:11 +0000 (13:59 -0000)]
Forgot base class...

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 13:58:04 +0000 (13:58 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* tramp-ia64.c (mono_arch_create_trampoline_code): Fix ia64 build.

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 13:50:00 +0000 (13:50 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_delegate_invoke_impl): New arch dependent function.
(mono_arch_get_this_arg_from_call): Ditto.

* tramp-x86.c (mono_arch_patch_delegate_trampoline): Removed.

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

17 years ago* System.dll.sources: Added LookupBindingPropertiesAttribute.cs.
Rolf Bjarne Kvinge [Thu, 31 May 2007 13:44:21 +0000 (13:44 -0000)]
* System.dll.sources: Added LookupBindingPropertiesAttribute.cs.
* System_test.dll.sources: Added
  LookupBindingPropertiesAttributeTest.cs

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 13:43:48 +0000 (13:43 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg (mini_emit_virtual_call): Call delegate->Invoke through the delegate's
invoke_impl field.

* mini-amd64.c (mono_arch_get_delegate_invoke_impl): New arch dependent function.
(mono_arch_get_this_arg_from_call): Ditto.

* tramp-amd64.c (mono_arch_patch_delegate_trampoline): Removed.

* mini-trampolines.c (mono_delegate_trampoline): Complete rewrite. On first call,
try to create optimized invoke code and use that for further invocations.
Otherwise, use the original mono_marshal_get_delegate_invoke () implementation.

* mini-x86.h mini-ia64.h: Remove MONO_ARCH_HAS_CREATE_DELEGATE_TRAMPOLINE for now.

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

17 years ago2007-05-31 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 31 May 2007 13:43:40 +0000 (13:43 -0000)]
2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* LookupBindingPropertiesAttributeTest.cs: Added.

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

17 years ago* LookupBindingPropertiesAttribute.cs: Implemented.
Rolf Bjarne Kvinge [Thu, 31 May 2007 13:41:39 +0000 (13:41 -0000)]
* LookupBindingPropertiesAttribute.cs: Implemented.

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 13:36:43 +0000 (13:36 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* domain-internals.h (MonoDomain): Add two new hash tables to store delegate
invoke_impl code.

* object-internals.h (_MonoDelegate): Reflect changes to managed object layout.

* object.c (mono_delegate_ctor): Initialize invoke_impl field with an arch
dependent trampoline.

* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

* icall.c (ves_icall_System_Delegate_SetMulticastInvoke): New icall.

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 13:33:24 +0000 (13:33 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* Delegate.cs: Add invoke_impl field. Reorder fields for better cache behavior. Add
SetMulticastDelegate icall.

* MulticastDelegate.cs (CombineImpl): Call SetMulticastDelegate () on newly created
delegate.

* Environment.cs: Bump corlib version.

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

17 years ago* AssemblyInfo.cs: Update assembly attributes.
Rolf Bjarne Kvinge [Thu, 31 May 2007 10:59:34 +0000 (10:59 -0000)]
* AssemblyInfo.cs: Update assembly attributes.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 09:42:25 +0000 (09:42 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* AsyncOperationManager.cs AttributeCollection.cs
  BackgroundWorker.cs BindingList.cs CategoryAttribute.cs
  Component.cs DataObjectFieldAttribute.cs DefaultValueAttribute.cs
  DescriptionAttribute.cs EventDescriptorCollection.cs
  IComNativeDescriptorHandler.cs IListSource.cs
  ListSortDescriptionCollection.cs MemberDescriptor.cs
  PropertyDescriptor.cs SyntaxCheck.cs ToolboxItemFilterAttribute.cs:
  2.0 profile updates.

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

17 years ago* BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed to ClientScriptM...
Vladimir Krasnov [Thu, 31 May 2007 09:10:45 +0000 (09:10 -0000)]
* BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed to ClientScriptManager

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

17 years ago2007-05-31 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 31 May 2007 09:04:48 +0000 (09:04 -0000)]
2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* en-US.xml: Add a few date/time patterns.

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

17 years ago* Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
Rolf Bjarne Kvinge [Thu, 31 May 2007 08:30:21 +0000 (08:30 -0000)]
* Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  null (strange, but it seems to happen when running unit tests).

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

17 years ago2007-05-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 31 May 2007 07:26:38 +0000 (07:26 -0000)]
2007-05-31  Marek Habersack  <mhabersack@novell.com>

* SiteMapProvider.cs: implemented proper logic of authorizing
user's access to a sitemap node, as per MSDN2 docs. Patch from
Dumitru Ban <dban@dako.ro>, thanks!

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 04:47:31 +0000 (04:47 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* ApplicationSettingsBaseTest.cs : NotWorking Providers().

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 02:23:03 +0000 (02:23 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextWriter2.cs :
  NewLineOnAttributes indentation fix, for bug #81770.

* XmlWriterSettingsTests.cs : added test for NewLineOnAttributes.

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

17 years ago* FocusTest.cs: Add tests for ContainerControl - fire events even if
Andreia Gaita [Thu, 31 May 2007 01:29:59 +0000 (01:29 -0000)]
* FocusTest.cs: Add tests for ContainerControl - fire events even if
there is no form, and set active control before firing events

2007-05-30  Andreia Gaita  <avidigal@novell.com>

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

17 years ago* ContainerControl.cs: Set active_control even earlier, before
Andreia Gaita [Thu, 31 May 2007 01:28:31 +0000 (01:28 -0000)]
* ContainerControl.cs: Set active_control even earlier, before
firing any events, and undo it if validation returns false.

2007-05-30  Andreia Gaita  <avidigal@novell.com>

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

17 years ago2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 31 May 2007 01:16:49 +0000 (01:16 -0000)]
2007-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
methods. Add test case for drawing lines with a pen's width > 1.

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