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
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
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
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
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
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
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
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
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
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
Jackson Harper [Mon, 4 Dec 2006 22:12:24 +0000 (22:12 -0000)]
oops, accidental regression.
svn path=/trunk/mcs/; revision=69000
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
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
Jackson Harper [Mon, 4 Dec 2006 21:28:15 +0000 (21:28 -0000)]
This one is fixed too.
svn path=/trunk/mcs/; revision=68996
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Sieradzki [Mon, 4 Dec 2006 16:04:23 +0000 (16:04 -0000)]
Forgot to commit .sources file
svn path=/trunk/mcs/; revision=68959
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
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
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
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
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
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
Konstantin Triger [Mon, 4 Dec 2006 14:20:31 +0000 (14:20 -0000)]
TARGET_JVM limitations workarounds
svn path=/trunk/mcs/; revision=68950
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
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
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
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
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
Marek Sieradzki [Mon, 4 Dec 2006 12:10:40 +0000 (12:10 -0000)]
Removed Platform attribute.
svn path=/trunk/mcs/; revision=68941
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
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
Merav Sudri [Mon, 4 Dec 2006 10:32:46 +0000 (10:32 -0000)]
svn path=/trunk/mcs/; revision=68938
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
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
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
Miguel de Icaza [Mon, 4 Dec 2006 01:03:34 +0000 (01:03 -0000)]
Small attribute fixes
svn path=/trunk/mcs/; revision=68920
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
Vladislav Spivak [Sun, 3 Dec 2006 17:26:06 +0000 (17:26 -0000)]
svn path=/trunk/mcs/; revision=68916
Vladislav Spivak [Sun, 3 Dec 2006 17:25:27 +0000 (17:25 -0000)]
svn path=/trunk/mcs/; revision=68915
Vladislav Spivak [Sun, 3 Dec 2006 17:24:56 +0000 (17:24 -0000)]
svn path=/trunk/mcs/; revision=68914
Vladislav Spivak [Sun, 3 Dec 2006 17:24:37 +0000 (17:24 -0000)]
svn path=/trunk/mcs/; revision=68913
Vladislav Spivak [Sun, 3 Dec 2006 17:24:22 +0000 (17:24 -0000)]
svn path=/trunk/mcs/; revision=68912
Konstantin Triger [Sun, 3 Dec 2006 17:09:44 +0000 (17:09 -0000)]
adding 2.0 configuration support
svn path=/trunk/mcs/; revision=68906
Sebastien Pouliot [Sun, 3 Dec 2006 16:57:02 +0000 (16:57 -0000)]
Remove unused icon files
svn path=/trunk/mcs/; revision=68900
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Habersack [Sat, 2 Dec 2006 00:40:36 +0000 (00:40 -0000)]
Throw appropriate exceptions
svn path=/trunk/mcs/; revision=68873
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
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
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
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
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
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
Miguel de Icaza [Fri, 1 Dec 2006 22:00:04 +0000 (22:00 -0000)]
Add the windows parser
svn path=/trunk/mono/; revision=68861
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
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
Chris Toshok [Fri, 1 Dec 2006 21:57:01 +0000 (21:57 -0000)]
* ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
2006-12-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=68858
Chris Toshok [Fri, 1 Dec 2006 21:56:14 +0000 (21:56 -0000)]
eh, open the floodgates. stop suppressing these warnings.
svn path=/trunk/mcs/; revision=68857
Miguel de Icaza [Fri, 1 Dec 2006 21:53:50 +0000 (21:53 -0000)]
2006-12-01 Miguel de Icaza <miguel@novell.com>
* parser.c: Added this file which is autogenerated by bison to the
repository, for a number of reasons:
1. I want to make the Visual Studio build on Windows easier,
removing the need for Cygwin.
2. Getting Bison/Yacc on Windows is an extra dependency, and there
are no light dependencies for it (short of shipping more binaries).
3. This file barely changes.
svn path=/trunk/mono/; revision=68856
Miguel de Icaza [Fri, 1 Dec 2006 21:47:31 +0000 (21:47 -0000)]
Add a step to run genmdesc from visual studio
svn path=/trunk/mono/; revision=68855
Chris Toshok [Fri, 1 Dec 2006 21:42:47 +0000 (21:42 -0000)]
stop suppressing the 108 warning. we're missing valuable info because of it. we still have 13 warnings to fix, but that's much better than the initial state of things
svn path=/trunk/mcs/; revision=68854
Miguel de Icaza [Fri, 1 Dec 2006 21:34:20 +0000 (21:34 -0000)]
Add a runburg command that will be executed after monoburg is built by visual studio, that will generate the files needed in mini (inssel.h and inssel.c).
svn path=/trunk/mono/; revision=68853
Chris Toshok [Fri, 1 Dec 2006 21:30:55 +0000 (21:30 -0000)]
In System.Windows.Forms:
[ fix the majority of the CS0108 warnings we've been suppressing ]
* TreeView.cs: mark BackgroundImageChanged as 'new'.
* ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
to "LayoutToolBar" to quiet mcs.
* TabControl.cs: mark our ControlCollection class as 'new'.
* TextBoxBase.cs: mark some events as 'new'.
* Splitter.cs: TabStop is 'new'.
* ControlBindingsCollection.cs: mark a few methods as new since
they change the visibility from protected to public.
* RadioButton.cs: DoubleClick -> base class, and remove unused
HaveDoubleClick.
* MonthCalendar.cs: ImeMode property -> base class, and mark many
events as new.
* NumericUpDown.cs: TextChanged -> base class.
* CheckedListBox.cs: mark our ObjectCollection class as new to
quiet mcs.
* FolderBrowserDialog.cs: make HelpRequest event new and have it
muck with the base class.
* StatusBar.cs: fix some mcs warnings about Update being the same
name as a base class method.
* RichTextBox.cs: mark some events as new, and make them do things
to the base class impl.
* UserControl.cs: mark TextChanged as new, and have it manipulate
base.TextChanged.
* UpDownBase.cs: mark some things new.
* CheckBox.cs: mark DoubleClick "new", and add some text about
what we need to look at.
* Panel.cs: make the events "new", and manipulate the base
version. these are just here for attributes.
* AccessibleObject.cs: make owner private.
* Control.cs: deal with AccessibleObject.owner being private.
cache our own copy if we need it.
* Button.cs: add "new" to the DoubleClickEvent.
* ListBox.cs: no need to track our own has_focus here. let
Control.has_focus do it for us. Also some other work to clear up
warnings about not overriding base class methods of the same name.
* ComboBox.cs: clear up some warnings about not override base
class methods of the same name.
2006-12-01 Chris Toshok <toshok@ximian.com>
In System.Windows.Forms.X11Internal:
2006-12-01 Chris Toshok <toshok@ximian.com>
* X11Hwnd.cs: need to mark queue as "new" to quiet mcs.
svn path=/trunk/mcs/; revision=68852
Jordi Mas i Hernandez [Fri, 1 Dec 2006 21:20:55 +0000 (21:20 -0000)]
2006-12-01 Jordi Mas i Hernandez <jordimash@gmail.com>
* PrintingServicesWin32.cs: Fixes paper sizes reading. The POINT
structure is 8 bytes long not 4. This fixes margins calculations
(based on the paper size) that were badly broken.
svn path=/trunk/mcs/; revision=68849
Miguel de Icaza [Fri, 1 Dec 2006 20:55:40 +0000 (20:55 -0000)]
Revert accidental commit
svn path=/trunk/mono/; revision=68848