mono.git
17 years ago2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Dec 2006 10:07:29 +0000 (10:07 -0000)]
2006-12-05  Atsushi Enomoto <atsushi@ximian.com>

* XmlNode.cs : GetPrefixOfNamespace() was not correctly searching
  ancestors' namespaces.

* XPathEditableDocument.cs : those writers should lookup prefix when
  WriteStartElement/WriteStartAttribute are passed null prefix.
  Removed nodeStack in XmlDocumentInsertionWriter, since nodes are
  always added to current node immediately.

* XmlNodeTests.cs : added another test for GetPrefixOfNamespace().

* XPathNavigatorTests.cs : added test for XPath navigator editor's
  LookupPrefix().

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

17 years ago2006-11-28 Hubert FONGARNAND, Frédéric Mestayer <informatique.internet@fiducial.fr>
Nagappan Alagappan [Tue, 5 Dec 2006 10:03:31 +0000 (10:03 -0000)]
2006-11-28  Hubert FONGARNAND, Frédéric Mestayer <informatique.internet@fiducial.fr>

* DataColumnCollection.cs : Improved Column searching when not
using exact column name (case sensitivity). Fixes bug # 80075.

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

17 years ago2006-12-05 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 5 Dec 2006 10:03:01 +0000 (10:03 -0000)]
2006-12-05  Nagappan A  <anagappan@novell.com>

* SqlCommand.cs (Execute): If sql2 length is greater than 0, then
add ';' and the respective sql2 string and then execute the
string. Fixes bug # 79880.

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

17 years ago2006-12-05 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 5 Dec 2006 10:02:19 +0000 (10:02 -0000)]
2006-12-05  Nagappan A  <anagappan@novell.com>

* sqlserver.config: Added SSPIConnString key, value pair to test
SSPI based connection with SqlClient.

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

17 years ago2006-12-05 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 5 Dec 2006 10:01:40 +0000 (10:01 -0000)]
2006-12-05  Nagappan A  <anagappan@novell.com>

* SqlDataAdapterTest.cs (CreateViewSSPITest): To test create view
of SqlClient.

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

17 years ago2006-12-05 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 5 Dec 2006 10:01:06 +0000 (10:01 -0000)]
2006-12-05  Nagappan A  <anagappan@novell.com>

* DataColumnCollectionTest.cs (CaseSensitiveIndexOfTest): To test
case sensitive column name with IndexOf member function.

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

17 years ago2006-12-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 5 Dec 2006 07:47:31 +0000 (07:47 -0000)]
2006-12-05  Chris Toshok  <toshok@ximian.com>

* ToolStripManager.cs, ToolStripButton.cs,
ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
ToolStripSplitButton.cs, ToolStripSeparator.cs,
ToolStripRenderer.cs, ToolStripDropDownItem.cs,
ToolStripProgressBar.cs, ToolStripContainer.cs,
ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
to using System.ComponentModel.EventHandlerList.

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

17 years ago2006-12-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 5 Dec 2006 05:57:20 +0000 (05:57 -0000)]
2006-12-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* PrintingServicesUnix.cs: Add "landscape" option
when using PaperSettings.Landscape set to true. Also
swap the width and height for the postscript file.

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

17 years ago2006-12-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 5 Dec 2006 04:13:49 +0000 (04:13 -0000)]
2006-12-04  Chris Toshok  <toshok@ximian.com>

* ArrangedElementCollection.cs: fix up corcompare for this file.
we need to make all the interface methods explicit, not public,
and add internal methods that can be called from the subclasses
(we also call them from the explicit implementations.)

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

17 years ago2006-12-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 5 Dec 2006 04:11:38 +0000 (04:11 -0000)]
2006-12-04  Chris Toshok  <toshok@ximian.com>

* LinkLabel.cs: fix up compiler warnings.

* TableLayoutSettings.cs: same.

* TreeView.cs: same.

* ToolBar.cs: same.

* TabControl.cs: same.

* RichTextBox.cs: same.

* ListViewItem.cs: same.

* PropertyGrid.cs: same.

* DataGridViewRowPostPaintEventArgs.cs: corcompare fix.

* ToolTip.cs same.

* TextRenderer.cs: fix up compiler warnings.

* Label.cs: same.

* Form.cs: corcompare fixes.

* PictureBox.cs: fix up compiler warnings.

* ImageListStreamer.cs: same.

* TrackBar.cs: corcompare fix.

* Control.cs: fix up compiler warnings.

* SplitterPanel.cs: same.

* NumericTextBox.cs: same.

* ImageList.cs: same.

* StatusStrip.cs: same.

* ProgressBar.cs: corcompare fix.

* ToolStripButton.cs: fix up compiler warnings.

* ToolStripStatusLabel.cs: same.

* ToolStripSplitButton.cs: same.

* ToolStripSeparator.cs: same.

* ToolStripProgressBar.cs: same.

* ToolStripDropDownMenu.cs: same

* ToolStripDropDown.cs: same.

* ToolStripDropDownButton.cs: same.

* ToolStrip.cs: same.

* ToolStripControlHost.cs: same.

* ToolStripContentPanel.cs: same.

* ToolStripDropDown.cs: same.

* ToolStripContainer.cs: same.

* ToolStripPanel.cs: same, and add "new" where we need it to work
with the new ArrangedElementCollection.

* ToolStripItemCollection.cs: add "new" where we need it to work
with the new ArrangedElementCollection.

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

17 years ago* TabControl.cs: Fix default tab selection to after TabControl gets focus and not...
Andreia Gaita [Tue, 5 Dec 2006 03:15:29 +0000 (03:15 -0000)]
* TabControl.cs: Fix default tab selection to after TabControl gets focus and not before. Fixes #80128

2006-12-04  Andreia Gaita <avidigal@novell.com>

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

17 years ago * DataGridTableStyle.cs: remove the gross calling of
Chris Toshok [Tue, 5 Dec 2006 00:03:50 +0000 (00:03 -0000)]
* DataGridTableStyle.cs: remove the gross calling of
datagrid.Refresh from here.  It's a broken idea and it doesn't
work anyway.

* DataGrid.cs: instead, just register/unregister from the
DataGridTableStyle events in CurrentTableStyle.  we play it
conservatively and EndEdit + CalcAreasAndInvalidate on any event,
even though some would most likely not require it.  Fixes bug
#80115 (and one portion of #80117 as a side effect).

2006-12-04  Chris Toshok  <toshok@ximian.com>

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

17 years ago * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
Chris Toshok [Mon, 4 Dec 2006 23:49:42 +0000 (23:49 -0000)]
* DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
so the textbox (if any) goes away.  Fixes bug #80117.

2006-12-04  Chris Toshok  <toshok@ximian.com>

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

17 years ago * DataGridColumnStyle.cs: set the column's readonly property
Chris Toshok [Mon, 4 Dec 2006 23:33:22 +0000 (23:33 -0000)]
* DataGridColumnStyle.cs: set the column's readonly property
initially based on the property descriptor's IsReadOnly.  Fixes
bug #80044.

2006-12-04  Chris Toshok  <toshok@ximian.com>

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

17 years ago - Add a test to ensure that recieving focus selects all of the
Jackson Harper [Mon, 4 Dec 2006 22:57:32 +0000 (22:57 -0000)]
    - Add a test to ensure that recieving focus selects all of the
        text

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

17 years ago2006-12-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 4 Dec 2006 22:51:57 +0000 (22:51 -0000)]
2006-12-04  Chris Toshok  <toshok@ximian.com>

* ComboBox.cs: wrap the dropdown style changing work in
SuspendLayout/ResumeLayout.  Fixes bug #79968.

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

17 years ago * TextBox.cs: Select all the text when we get focus.
Jackson Harper [Mon, 4 Dec 2006 22:50:51 +0000 (22:50 -0000)]
            * TextBox.cs: Select all the text when we get focus.
                * The TextBox
        does this but the RTB does not.

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

17 years ago * TextBoxBase.cs: Fix off by one, since these are one-based.
Jackson Harper [Mon, 4 Dec 2006 22:31:16 +0000 (22:31 -0000)]
    * TextBoxBase.cs: Fix off by one, since these are one-based.

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

17 years ago * DataGridTextBoxColumn.cs: remove some spew.
Chris Toshok [Mon, 4 Dec 2006 22:28:47 +0000 (22:28 -0000)]
* DataGridTextBoxColumn.cs: remove some spew.

* DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
but some part of me is saying "it shouldn't be here.."  At any
rate, it fixes bug #80046.  Call IEditableObject.EndEdit after
setting the value.

2006-12-04  Chris Toshok  <toshok@ximian.com>

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

17 years ago oops, accidental regression.
Jackson Harper [Mon, 4 Dec 2006 22:12:24 +0000 (22:12 -0000)]
    oops, accidental regression.

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

17 years ago * TextBoxBase.cs:
Jackson Harper [Mon, 4 Dec 2006 22:07:53 +0000 (22:07 -0000)]
    * TextBoxBase.cs:
        * TextControl.cs: Remove some unused variables.  Maybe this will
        patch things up between mike and I.
        - don't split lines less then one char wide, if the viewport is
        that small text won't be visible anyways.

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

17 years ago2006-12-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 4 Dec 2006 22:04:58 +0000 (22:04 -0000)]
2006-12-04  Chris Toshok  <toshok@ximian.com>

* DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
to reassign the propertydescriptor.

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

17 years ago This one is fixed too.
Jackson Harper [Mon, 4 Dec 2006 21:28:15 +0000 (21:28 -0000)]
    This one is fixed too.

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

17 years ago * TextBoxBase.cs: Default selection length is -1, need to do
Jackson Harper [Mon, 4 Dec 2006 21:27:09 +0000 (21:27 -0000)]
    * TextBoxBase.cs: Default selection length is -1, need to do
        * some
        more testing on windows to see when this is used for the
property.
        - Redid the Lines [] property to that we properly remove soft
          line
        breaks
        - added support for preserving carriage returns
        -  CanUndo is not a variable like 'is undo enabled' it just
           returns
        true if there is undo operations available.
        - AppendText doesn't need to grab the last tag itself anymore,
        this happens automatically when we move the cursor.
        * TextControl.cs: Add CompoundActions to the undo class. This
        allows combining the other operations into one big option.  ie a
        paste will combine { delete old, insert new, move cursor }
        - Add InsertString undo operation
        - New method for deleting multiline text
        - Add carriage returns to lines. So we can preserve carriage
        returns when text is 'roundtripped'

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

17 years ago * TextBoxTest: More of these tests work now.
Jackson Harper [Mon, 4 Dec 2006 21:04:41 +0000 (21:04 -0000)]
    * TextBoxTest: More of these tests work now.

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

17 years agoi'm having a bad day with svn today... back out some CWL's i didn't want to commit
Chris Toshok [Mon, 4 Dec 2006 20:37:11 +0000 (20:37 -0000)]
i'm having a bad day with svn today... back out some CWL's i didn't want to commit

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

17 years agoi'm having a bad day with svn today... back out some CWL's i didn't want to commit
Chris Toshok [Mon, 4 Dec 2006 20:36:27 +0000 (20:36 -0000)]
i'm having a bad day with svn today... back out some CWL's i didn't want to commit

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

17 years ago(SetDataGrid): call CheckValidDataSourceSystem.Windows.Forms/DataGridColumnStyle.cs
Chris Toshok [Mon, 4 Dec 2006 20:34:29 +0000 (20:34 -0000)]
(SetDataGrid): call CheckValidDataSourceSystem.Windows.Forms/DataGridColumnStyle.cs
        to reassign the propertydescriptor.

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

17 years ago2006-12-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 4 Dec 2006 20:33:59 +0000 (20:33 -0000)]
2006-12-04  Chris Toshok  <toshok@ximian.com>

* DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
minimum 0.  Fixes the scrollbar exception in bug #80136.

* DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
to reassign the propertydescriptor.

2006-12-04  Chris Toshok  <toshok@ximian.com>

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

17 years agoremove 2 CWL's. sorry about that
Chris Toshok [Mon, 4 Dec 2006 20:11:51 +0000 (20:11 -0000)]
remove 2 CWL's.  sorry about that

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

17 years ago2006-12-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 4 Dec 2006 19:54:53 +0000 (19:54 -0000)]
2006-12-04  Chris Toshok  <toshok@ximian.com>

* PrintDialogTest.cs: add [Category("Printing")] to all these
tests so I can exclude them.

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

17 years ago2006-12-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 4 Dec 2006 19:30:13 +0000 (19:30 -0000)]
2006-12-04  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security_test.dll.sources: Added X509Certificate unit tests to
the build.

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

17 years ago2006-12-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 4 Dec 2006 19:29:52 +0000 (19:29 -0000)]
2006-12-04  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate.cs: New. Unit tests for X509Certificate when dealing
with DSA keys, including the case where DSA parameters are inherited.

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

17 years ago2006-12-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 4 Dec 2006 19:28:59 +0000 (19:28 -0000)]
2006-12-04  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate.cs: Added support for inherited DSA key parameters.

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

17 years ago * MdiClient.cs:
Rolf Bjarne Kvinge [Mon, 4 Dec 2006 18:26:17 +0000 (18:26 -0000)]
* MdiClient.cs:
* MdiWindowManager: Removed unused fields and methods.
2006-12-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years agoIn System.Windows.Forms:
Rolf Bjarne Kvinge [Mon, 4 Dec 2006 18:16:31 +0000 (18:16 -0000)]
In System.Windows.Forms:

* StatusBar.cs: Update all panels when a AutoSize=Contents
panel needs updating.

* StatusBarPanel.cs: Remove twidth and only use initialize.
Fixes #80031.

2006-12-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>
In Test/System.Windows.Forms:
* StatusBarPanelTest.cs: Added a test for invalid
minimum widths.

2006-12-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years agoAdded a missing NotWorking attribute.
Rolf Bjarne Kvinge [Mon, 4 Dec 2006 17:12:43 +0000 (17:12 -0000)]
Added a missing NotWorking attribute.

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

17 years ago2006-12-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Mon, 4 Dec 2006 17:10:17 +0000 (17:10 -0000)]
2006-12-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Form.cs: When a form's MdiParent is set add it directly
on top of the z-order in stead of relying on MdiClient's
ActivateChild to do it. Fixes #80135.

* MdiClient.cs:
- Remove original_order, mdi_child_list is already doing
the same thing.
- Create mdi_child_list on construction in
stead of first use (avoids a few null checks).

* MenuItem.cs: Use an already existing list of mdi children
to get the correct order of children and remove the other
redundant list.

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

17 years ago * MdiFormTest.cs: Change a few tests to dispose of
Rolf Bjarne Kvinge [Mon, 4 Dec 2006 16:51:34 +0000 (16:51 -0000)]
* MdiFormTest.cs: Change a few tests to dispose of
the form when the test is finished.

2006-12-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years ago2006-12-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Mon, 4 Dec 2006 16:46:37 +0000 (16:46 -0000)]
2006-12-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MdiFormTest.cs: Added a few NotWorking tests for
initial form location.

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

17 years ago2006-12-04 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 4 Dec 2006 16:21:59 +0000 (16:21 -0000)]
2006-12-04  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * EvaluationOrder.cs, Condition.cs: Added.

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

17 years ago2006-12-04 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 4 Dec 2006 16:19:17 +0000 (16:19 -0000)]
2006-12-04  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildPropertyGroupTest.cs, UsingTaskCollectionTest.cs,
        BuildPropertyGroupCollectionTest.cs, BuildPropertyGroupTest.cs,
        EngineTest.cs, UsingTaskTest.cs, Consts.cs: Added platform dependent
        BinPath.
        * ProjectTest.cs: New tests.
        * BuildTaskTest.cs, TargetTest.cs, ImportCollectionTest.cs,
        BuildItemGroupTest.cs, TargetCollectionTest.cs,
        BuildItemGroupCollectionTest.cs, ImportTest.cs: Added.

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

17 years ago2006-12-04 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 4 Dec 2006 16:09:51 +0000 (16:09 -0000)]
2006-12-04  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Import.cs: Check for project.FullFileName (Path.DirectoryName would
        throw an exception).
        * BuildItemGroupCollection.cs: Changed exception types.

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

17 years agoForgot to commit .sources file
Marek Sieradzki [Mon, 4 Dec 2006 16:04:23 +0000 (16:04 -0000)]
Forgot to commit .sources file

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

17 years ago2006-12-04 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 4 Dec 2006 16:02:09 +0000 (16:02 -0000)]
2006-12-04  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ALTest.cs, ManagedCompilerTest.cs: New tests.
        * Consts.cs: Added a platform check.
        * TestEngine.cs: Class that acts like IBuildEngine implementation from
        Microsoft.Build.BuildEngine.

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

17 years ago2006-12-04 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 4 Dec 2006 15:56:36 +0000 (15:56 -0000)]
2006-12-04  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ManagedCompiler.cs: AddCommandLineCommands (): Changes according to
        new tests. CheckAllReferences (): Added a null check.
        * AL.cs (AddResponseFileCommands): Changes according to new tests.

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

17 years ago2006-12-04 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 4 Dec 2006 15:51:02 +0000 (15:51 -0000)]
2006-12-04  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * TaskItem.cs: Add a hack that will replace '\\' with
        Path.DirectorySeparatorChar.

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

17 years agoUpdate from Robert Jordan comment on the list
Miguel de Icaza [Mon, 4 Dec 2006 15:50:56 +0000 (15:50 -0000)]
Update from Robert Jordan comment on the list

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

17 years agoUpdate from Robert Jordan comment on the list
Miguel de Icaza [Mon, 4 Dec 2006 15:49:24 +0000 (15:49 -0000)]
Update from Robert Jordan comment on the list

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

17 years agoIn System.Windows.Forms.RTF:
Chris Toshok [Mon, 4 Dec 2006 15:33:20 +0000 (15:33 -0000)]
In System.Windows.Forms.RTF:
2006-12-04  Chris Toshok  <toshok@ximian.com>

* RTF.cs: remove unused fields.

* Style.cs: remove unused field.

* Charset.cs: remove unused field.

In System.Windows.Forms:
2006-12-04  Chris Toshok  <toshok@ximian.com>

* PropertyGridView.cs: cached_splitter_location is only used in
!DOUBLEBUFFER code.

* PropertyGrid.cs: implement the ComComponentNameChanged event
using Events, hoping that would fix the warning.  Looks like a
compiler bug instead (#80144).

* PropertyManager.cs: remove unused method.

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

17 years agoTARGET_JVM limitations workarounds
Konstantin Triger [Mon, 4 Dec 2006 14:20:31 +0000 (14:20 -0000)]
TARGET_JVM limitations workarounds

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

17 years ago* ServicePointManager.cs: correct assignment typo.
Konstantin Triger [Mon, 4 Dec 2006 14:08:53 +0000 (14:08 -0000)]
* ServicePointManager.cs: correct assignment typo.
* ServicePoint.cs: Remove unneeded locks for getters, add internal setter.

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

17 years agoadd System.CodeDom.Compiler\GeneratedCodeAttribute.cs into compilation
Konstantin Triger [Mon, 4 Dec 2006 13:11:37 +0000 (13:11 -0000)]
add System.CodeDom.Compiler\GeneratedCodeAttribute.cs into compilation

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

17 years ago2006-12-04 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Mon, 4 Dec 2006 13:02:58 +0000 (13:02 -0000)]
2006-12-04  Everaldo Canuto  <everaldo@simios.org>

* LabelTest.cs: Add tests for sizes, test for bug #80137.

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

17 years ago2006-12-04 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 4 Dec 2006 12:19:24 +0000 (12:19 -0000)]
2006-12-04  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * MSBuild.cs: Added MonoTODO.
        * MakeDir.cs: Added logging.
        * Exec.cs: Added FIXME and commented unused variables.

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

17 years ago2006-12-04 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 4 Dec 2006 12:15:12 +0000 (12:15 -0000)]
2006-12-04  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ToolTask.cs: Changed importance to Normal.

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

17 years agoRemoved Platform attribute.
Marek Sieradzki [Mon, 4 Dec 2006 12:10:40 +0000 (12:10 -0000)]
Removed Platform attribute.

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

17 years ago2006-12-04 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Mon, 4 Dec 2006 12:07:22 +0000 (12:07 -0000)]
2006-12-04  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Items.cs: Split big test into 4.

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

17 years ago2006-11-04 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Mon, 4 Dec 2006 10:53:16 +0000 (10:53 -0000)]
2006-11-04  Everaldo Canuto  <everaldo@simios.org>

* ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
include parentesis to fix expression evaluation. Fixes #79634.

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

17 years agosvn path=/trunk/mcs/; revision=68938
Merav Sudri [Mon, 4 Dec 2006 10:32:46 +0000 (10:32 -0000)]
svn path=/trunk/mcs/; revision=68938

17 years ago2006-12-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 4 Dec 2006 10:22:58 +0000 (10:22 -0000)]
2006-12-14 Igor Zelmanovich <igorz@mainsoft.com>

* DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.

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

17 years ago2006-11-02 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Mon, 4 Dec 2006 09:04:27 +0000 (09:04 -0000)]
2006-11-02  Everaldo Canuto  <everaldo@simios.org>

* MenuAPI.cs:
- Changes to fix behavior in Menu control, some reported in #80097
and other detected during behavior refactory like a select event
problems.
- Remove unneded "if's" conditions.
- Created an internal to flag when popup is active in control, we need
it because in .NET you can have menu active but without popup active
when you active menu using popup without visible items.
- Mimic win32 behavior for Select and Popup events.
- Dont open popup menu when you dont have visible subitems.
- Do nothing when click on disabled menu item.
- Some small changes to follow the coding style guidelines.
- Unselect menu only when another control gives focus. Fixes #80097.
- Remove unused code.

* MenuItem.cs: internal VisibleItems method to check if menu
theres visible subitems, it will be usefull to fix some
behavior in Menu control.

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

17 years ago2006-12-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Dec 2006 05:21:02 +0000 (05:21 -0000)]
2006-12-04  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationCodeGenerator.cs, XmlCustomFormatter.cs :
  GenerateToXmlString() needed hexBinary support as well. Since
  XmlConvert.[To|From]BinHexString() are internal, use reflection.
  Really fixed bug #79989 and #79990 for generated serializers.

* XmlSerializerTests.cs :
  added base64 tests which is similar to hexBinary.

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

17 years agoSmall attribute fixes
Miguel de Icaza [Mon, 4 Dec 2006 01:03:34 +0000 (01:03 -0000)]
Small attribute fixes

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

17 years ago2006-12-03 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 4 Dec 2006 01:01:58 +0000 (01:01 -0000)]
2006-12-03  Miguel de Icaza  <miguel@novell.com>

* DateTime.cs: Fix this on the 2.0 profile, return the
DateTimeKind for the Now property

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

17 years agosvn path=/trunk/mcs/; revision=68916
Vladislav Spivak [Sun, 3 Dec 2006 17:26:06 +0000 (17:26 -0000)]
svn path=/trunk/mcs/; revision=68916

17 years agosvn path=/trunk/mcs/; revision=68915
Vladislav Spivak [Sun, 3 Dec 2006 17:25:27 +0000 (17:25 -0000)]
svn path=/trunk/mcs/; revision=68915

17 years agosvn path=/trunk/mcs/; revision=68914
Vladislav Spivak [Sun, 3 Dec 2006 17:24:56 +0000 (17:24 -0000)]
svn path=/trunk/mcs/; revision=68914

17 years agosvn path=/trunk/mcs/; revision=68913
Vladislav Spivak [Sun, 3 Dec 2006 17:24:37 +0000 (17:24 -0000)]
svn path=/trunk/mcs/; revision=68913

17 years agosvn path=/trunk/mcs/; revision=68912
Vladislav Spivak [Sun, 3 Dec 2006 17:24:22 +0000 (17:24 -0000)]
svn path=/trunk/mcs/; revision=68912

17 years agoadding 2.0 configuration support
Konstantin Triger [Sun, 3 Dec 2006 17:09:44 +0000 (17:09 -0000)]
adding 2.0 configuration support

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

17 years agoRemove unused icon files
Sebastien Pouliot [Sun, 3 Dec 2006 16:57:02 +0000 (16:57 -0000)]
Remove unused icon files

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

17 years agoUpdate icons to the ones already available in SVN. Added unit tests for SystemIcons...
Sebastien Pouliot [Sun, 3 Dec 2006 16:44:53 +0000 (16:44 -0000)]
Update icons to the ones already available in SVN. Added unit tests for SystemIcons to the build

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

17 years ago2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 Dec 2006 16:41:23 +0000 (16:41 -0000)]
2006-12-03  Sebastien Pouliot  <sebastien@ximian.com>

* SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
icons provided here behave differently than normal icons (can't be
disposed).

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

17 years ago2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 Dec 2006 16:38:31 +0000 (16:38 -0000)]
2006-12-03  Sebastien Pouliot  <sebastien@ximian.com>

* Icon.cs: Add a new ctor that returns undisposable Icon instances
(required when used from SystemIcons). Added a dispose check in
ToBitmap (many other are missing).
* SystemIcons.cs: Change icons to the one already in SVN.

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

17 years ago2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 3 Dec 2006 16:07:00 +0000 (16:07 -0000)]
2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>

* FormsAuthenticationModule.cs:
set SkipAuthorization=true for WebResource.axd

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

17 years ago2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 Dec 2006 16:04:18 +0000 (16:04 -0000)]
2006-12-03  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.ico: Add mono icon to be included in SystemIcons.

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

17 years ago* XmlSerializerTests.cs: Undo some of Hagit's code formatting changes.
Gert Driesen [Sun, 3 Dec 2006 14:31:18 +0000 (14:31 -0000)]
* XmlSerializerTests.cs: Undo some of Hagit's code formatting changes.

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

17 years ago2006-11-01 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Sun, 3 Dec 2006 14:28:23 +0000 (14:28 -0000)]
2006-11-01  Everaldo Canuto  <everaldo@simios.org>

* Timer.cs: Tag property for 2.0 profile.

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

17 years ago* XmlSerializerTests.cs: Only compile generic tests on 2.0 profile.
Gert Driesen [Sun, 3 Dec 2006 14:14:20 +0000 (14:14 -0000)]
* XmlSerializerTests.cs: Only compile generic tests on 2.0 profile.
Fixes build.
* DeserializeTests.cs: Same.
* XmlSerializerTestClasses.cs: Same.

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

17 years ago* XmlSchemaExporterTests.cs: Added tests for (part of) bug #78214.
Gert Driesen [Sun, 3 Dec 2006 13:51:16 +0000 (13:51 -0000)]
* XmlSchemaExporterTests.cs: Added tests for (part of) bug #78214.
* XmlSchemaExporter.cs: Emit xml name of enum-based default values.
Set XmlSchemaAttribute.Use to Required if no default value is defined,
and member is not an optional value type. Element should have minOccurs
1 if value type member has default value. Output flag enum type as
xsd list with restriction.
* XmlReflectionImporter.cs: Removed special casing of enums. Instead
of passing namespace of XmlAttribute to ImportTypeMapping, use the
default namespace for importing the member type.

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

17 years ago2006-12-03 Hagit Yidov <hagity@xmainsoft.com>
Yoni Klain [Sun, 3 Dec 2006 12:28:23 +0000 (12:28 -0000)]
2006-12-03  Hagit Yidov  <hagity@xmainsoft.com>

* XmlSerializerTests.cs : added tests for serialization of generic types.
* DeserializeTests.cs : added tests for deserialization of generic types.
* XmlSerializerTestClasses.cs : added classes for tests which use generic types.

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

17 years ago2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 3 Dec 2006 09:11:46 +0000 (09:11 -0000)]
2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>

* HttpWriter.cs: reverted r38835.

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

17 years agoRadioButtonTest.cs: added new test for 2.0
Yoni Klain [Sun, 3 Dec 2006 08:32:33 +0000 (08:32 -0000)]
RadioButtonTest.cs: added new test for 2.0

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

17 years agoUpdate Makefile to add icon resources for SystemIcons (some icons needs to be updated...
Sebastien Pouliot [Sun, 3 Dec 2006 01:22:10 +0000 (01:22 -0000)]
Update Makefile to add icon resources for SystemIcons (some icons needs to be updated, they are all monkeys tonight ;-).

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

17 years ago2006-12-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 Dec 2006 01:20:30 +0000 (01:20 -0000)]
2006-12-02  Sebastien Pouliot  <sebastien@ximian.com>

* FontConverter.cs: Add a comment why the empty finalizer is required.
* gdipFunctions.cs: Remove warning from build (unused variable).
* Icon.cs: Fix .ctor accepting a type - the type is to find the
assembly, not the type of the ressource.
* SystemIcons.cs: Load some icons from the assembly (all the same Mono
icon for tonight).

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

17 years ago2006-12-02 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Sat, 2 Dec 2006 18:13:29 +0000 (18:13 -0000)]
2006-12-02  Andreia Gaita  <avidigal@novell.com>

* PrintingServicesUnix: Proper size structure use for 64 bit
support.

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

17 years ago* SerializationCodeGenerator.cs: Initialize out parameters if they
Gert Driesen [Sat, 2 Dec 2006 16:42:22 +0000 (16:42 -0000)]
* SerializationCodeGenerator.cs: Initialize out parameters if they
are value types. Fixed bug #79988.
* XmlSerializationReaderInterpreter.cs: Same.

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

17 years ago2006-12-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 2 Dec 2006 05:27:35 +0000 (05:27 -0000)]
2006-12-02  Miguel de Icaza  <miguel@novell.com>

* SafeHandle.cs: Implement this class.

2006-12-02  Miguel de Icaza  <miguel@novell.com>

* SafeFileHandle.cs: Remove the IsInvalid method, as that is
present in the base class.

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

17 years agoFix more buglets exposed by the MOMA tool.
Duncan Mak [Sat, 2 Dec 2006 03:34:32 +0000 (03:34 -0000)]
Fix more buglets exposed by the MOMA tool.

2006-12-01  Duncan Mak  <duncan@a-chinaman.com>

* ArgumentOutOfRangeException.cs (.ctor):
* NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
that takes a string and an inner Exception.

2006-12-01  Duncan Mak  <duncan@a-chinaman.com>

* AddingNewEventArgs.cs:
* AddingNewEventHandler.cs: Added.

* ListChangedEventArgs.cs (.ctor): Uncomment the bit about
property descriptor now that there's an implementation of it.
(PropertyDescriptor): New 2.0 property.

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

17 years agoThrow appropriate exceptions
Marek Habersack [Sat, 2 Dec 2006 00:40:36 +0000 (00:40 -0000)]
Throw appropriate exceptions

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

17 years ago2006-12-01 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Sat, 2 Dec 2006 00:08:11 +0000 (00:08 -0000)]
2006-12-01  Andreia Gaita  <avidigal@novell.com>

* PrintingServicesUnix: *properly* check return value from
cupsGetDefault. If there are no default printers set,
check if there are installed printers, and use that.
Hopefully fixes #79835

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

17 years ago * configure.in: added -DUSE_MMAP and -DUSE_MUNMAP to CPPFLAGS for Darwin. -DUSE_MMAP...
Allan Hsu [Fri, 1 Dec 2006 23:59:22 +0000 (23:59 -0000)]
* configure.in: added -DUSE_MMAP and -DUSE_MUNMAP to CPPFLAGS for Darwin. -DUSE_MMAP is already set in libgc for Darwin, but I added it here to match CPPFLAGS for other platforms.

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

17 years ago [ after removing all warning suppressions, this cleans up over 100 warnings. ]
Chris Toshok [Fri, 1 Dec 2006 22:50:43 +0000 (22:50 -0000)]
[ after removing all warning suppressions, this cleans up over 100 warnings. ]

* Win32DnD.cs: comment out some unused fields.

* XplatUIWin32.cs: comment out some unused pinvokes, and remove
some unused properties/methods.

* XplatUIX11.cs: fix MousePosition so we override the base class's
property instead of conflicting with it.

* PictureBox.cs: comment out some unused fields

* OSXStructs.cs: make some struct fields public.

* XplatUIOSX.cs: comment out some unused pinvokes, and fix
MousePosition so we override the base class's property instead of
conflicting with it.

* X11Dnd.cs: comment out some unused fields

* X11DesktopColors.cs: fix some struct field visibility to quiet
the compiler.

* X11Dnd.cs: remove some debug code.

* ThemeClearlooks.cs: comment out unused field.

* ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.

* ThemeGtk.cs: comment out some unused pinvokes.

* Timer.cs: remove some unused fields.

* ThemeClearlooks.cs: comment out unused field.

* UpDownBase.cs: comment out unused field.

* DataObject.cs: comment out unused field.

* DataGridBoolColumn.cs: reomve unused field.

* DataGrid.cs: remove unused field.

* Cursor.cs: remove old ToBitmap code.

* ControlPaint.cs: remove unused method.

* ScrollBar.cs: remove unused fields.

* ComboBox.cs: remove unused field, and chain up to
AccessibleObject ctor.

* ListBox.cs: remove unused field.

* ButtonBase.cs: wrap a couple fields in NET_2_0.

* GridEntry.cs: remove unused fields.

* Binding.cs: remove unused fields.

* AxHost.cs: remove unused method.

* ContainerControl.cs: remove unused field.

* ScrollableControl.cs: remove unused fields.

2006-12-01  Chris Toshok  <toshok@ximian.com>

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

17 years agoHopefully fixes #79835
Andreia Gaita [Fri, 1 Dec 2006 22:06:28 +0000 (22:06 -0000)]
Hopefully fixes #79835
* PrintingServicesUnix: check return value from cupsGetDefault.

2006-12-01  Andreia Gaita  <avidigal@novell.com>

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

17 years agoCopy the wparser.c to parser.c
Miguel de Icaza [Fri, 1 Dec 2006 22:01:39 +0000 (22:01 -0000)]
Copy the wparser.c to parser.c

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

17 years ago2006-12-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 1 Dec 2006 22:00:57 +0000 (22:00 -0000)]
2006-12-01  Chris Toshok  <toshok@ximian.com>

* XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
the Where/WhereString stuff.  it's easy enough to CWL
Environment.StackTrace.

* XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
unused private fields.

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

17 years agoAdd the windows parser
Miguel de Icaza [Fri, 1 Dec 2006 22:00:04 +0000 (22:00 -0000)]
Add the windows parser

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

17 years ago * TextControl.cs: Do not update the view while inserting
Jackson Harper [Fri, 1 Dec 2006 21:59:22 +0000 (21:59 -0000)]
    * TextControl.cs: Do not update the view while inserting
        * multiline
        text. If we update the view we might wrap lines, before entering
        the new lines, which causes the new line insertion calculations
to
        be totally fubared.
        - Remove an old TODO
        - Make debug output a little nicer

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

17 years agoWill include the Windows version instead
Miguel de Icaza [Fri, 1 Dec 2006 21:59:05 +0000 (21:59 -0000)]
Will include the Windows version instead

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