mono.git
17 years ago2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 Oct 2006 21:11:49 +0000 (21:11 -0000)]
2006-10-31  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyHashAlgorithm.cs: Added [Serializable] and
[ComVisible(true)] attributes for NET_2_0 profile.
* AssemblyHash.cs: Added bunch of [Obsolete] attributes to the NET_2_0
profile. Cleaned up the source code to match Mono source style.
* AssemblyVersionCompatibility.cs: Added [Serializable] and
[ComVisible(true)] attributes for NET_2_0 profile.

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

17 years agofix build
Sebastien Pouliot [Tue, 31 Oct 2006 20:52:52 +0000 (20:52 -0000)]
fix build

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

17 years ago2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 Oct 2006 20:36:46 +0000 (20:36 -0000)]
2006-10-31  Sebastien Pouliot  <sebastien@ximian.com>

* System.dll.sources: Add System.Net.Mail.SmtpPermission[Attribute] to
the build.
* System_test.dll.sources: Add unit tests for System.Net.Mail
SmtpPermission[Attribute] to the build.

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

17 years ago2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 Oct 2006 20:35:01 +0000 (20:35 -0000)]
2006-10-31  Sebastien Pouliot  <sebastien@ximian.com>

* SmtpPermissionAttributeTest.cs: New. Unit tests for
SmtpPermissionAttribute.
* SmtpPermissionTest.cs: New. Unit tests for SmtpPermission.

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

17 years ago2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 Oct 2006 20:34:35 +0000 (20:34 -0000)]
2006-10-31  Sebastien Pouliot  <sebastien@ximian.com>

* SmtpException.cs: Fix visibility on .ctor(SerializationInfo,
StreamingContext).
* SmtpPermissionAttribute.cs: New (2.0). Security attribute for SMTP.
* SmtpPermission.cs: New (2.0). Security permission for SMTP.

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

17 years agoNew test.
Marek Safar [Tue, 31 Oct 2006 20:13:34 +0000 (20:13 -0000)]
New test.

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

17 years ago2006-10-31 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 31 Oct 2006 20:12:25 +0000 (20:12 -0000)]
2006-10-31  Marek Safar  <marek.safar@gmail.com>

A fix for bug #67689
statement.cs.cs (CollectionForeach.TryType): Issue a warning when
GetEnumerator is ambiguous.

* report.cs: Add new warning.

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

17 years ago2006-10-31 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 31 Oct 2006 19:05:59 +0000 (19:05 -0000)]
2006-10-31  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs: fix a couple of compiler warnings, and follow the
convention of clearing hwnd.ClientRect when we set the
width/height (so it'll be recalculated by Hwnd).

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

17 years ago* ContainerControl.cs: reversed Contains check from
Andreia Gaita [Tue, 31 Oct 2006 18:19:41 +0000 (18:19 -0000)]
* ContainerControl.cs: reversed Contains check from
ActiveControl due to hanging problems. This fix
partly regresses #79667 (button does not have
initial focus), so this might be a symptom for
a larger parenting problem (set_ActiveControl
is being called but the child control does
not have the parent set yet?)

2006-10-31 Andreia Gaita <shana.ufie@gmail.com>

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

17 years ago2006-10-31 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 31 Oct 2006 18:17:47 +0000 (18:17 -0000)]
2006-10-31  Mike Kestner  <mkestner@novell.com>

* MenuAPI.cs : fix keynav when menu is click activated.

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

17 years agoSystem.Drawing_test.dll.sources: Add new unit tests for System.Drawing.Imaging.MetaHe...
Sebastien Pouliot [Tue, 31 Oct 2006 16:14:07 +0000 (16:14 -0000)]
System.Drawing_test.dll.sources: Add new unit tests for System.Drawing.Imaging.MetaHeader and WmfPlaceableFileHeader classes.

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

17 years ago2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 Oct 2006 15:30:05 +0000 (15:30 -0000)]
2006-10-31  Sebastien Pouliot  <sebastien@ximian.com>

* MetaHeaderTest.cs: New. Unit tests for MetaHeader.
* WmfPlaceableFileHeaderTest.cs: New. Unit tests for
WmfPlaceableFileHeader.

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

17 years ago2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 Oct 2006 15:29:52 +0000 (15:29 -0000)]
2006-10-31  Sebastien Pouliot  <sebastien@ximian.com>

* MetaHeader.cs: Fix layout (order is important in sequential structs)
and use the struct field names;
* WmfPlaceableFileHeader.cs: Implement all TODO.

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

17 years ago2006-10-31 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 31 Oct 2006 15:11:28 +0000 (15:11 -0000)]
2006-10-31  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip*: Version 0.2.

* MenuStrip.cs: Version 0.1.

* Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.

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

17 years ago2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 31 Oct 2006 13:11:40 +0000 (13:11 -0000)]
2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.

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

17 years ago2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 Oct 2006 13:00:02 +0000 (13:00 -0000)]
2006-10-31  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticationException.cs: Unseal class and fix visibility on
.ctor(SerializationInfo,StreamingContext).
* InvalidCredentialException.cs: Unseal class, fix base class, fix
default message and fix visibility on .ctor(SerializationInfo,
StreamingContext).
* SslProtocols.cs: Fix enum values.

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

17 years ago * bug-79684.2.cs, Makefile.am: Added test for bug 79684.
Massimiliano Mantione [Tue, 31 Oct 2006 10:23:30 +0000 (10:23 -0000)]
* bug-79684.2.cs, Makefile.am: Added test for bug 79684.

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

17 years ago2006-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 31 Oct 2006 04:01:04 +0000 (04:01 -0000)]
2006-10-30  Atsushi Enomoto  <atsushi@ximian.com>

        * src/gutf8.c : several fixes:
          - fixed incorrect mb_size clear and mb_remain computation.
          - initialize items_written to 0 for error case.
          - in utf8_to_utf16_len differentiate error messages
            completely.
          - in g_utf8_to_utf16 use guchar instead of gchar.
        * test/utf8.c : added test case string in test_utf8_seq() to
          both test_utf8_to_utf16() and test_utf16_to_utf8().

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

17 years ago [ fixes the oversized notify icon issue in bug #79745 ]
Chris Toshok [Tue, 31 Oct 2006 04:00:03 +0000 (04:00 -0000)]
[ fixes the oversized notify icon issue in bug #79745 ]

* NotifyIcon.cs: scale the icon down to the size we're given by
the XplatUI layer (this would be faster if we did it once instead
of whenever we paint..)  Also, remove the WM_NCPAINT handling,
since it's never invoked.

* XplatUIX11.cs: the gnome and kde systrays use icons that are 24
pixels high by default, so let's hardcode our systray icon to that
size.  The SYSTEM_TRAY protocol should really have a way for
client apps to query for the correct icon size.. but oh well.  A
couple of patches to deal with the screwy client_window ==
whole_window notifyicon stuff (we don't want to PerformNCCalc, for
instance, and also make sure we don't XSelectInput twice).

2006-10-30  Chris Toshok  <toshok@ximian.com>

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

17 years ago * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
Chris Toshok [Tue, 31 Oct 2006 03:51:37 +0000 (03:51 -0000)]
* Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
recreating forms.  Control recreation is the bane of my existence.
Fix it in a way that keeps everyone happy.

2006-10-30  Chris Toshok  <toshok@ximian.com>

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

17 years agoFlush
Miguel de Icaza [Tue, 31 Oct 2006 02:00:29 +0000 (02:00 -0000)]
Flush

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

17 years agoThis was a world of pain to find.
Miguel de Icaza [Tue, 31 Oct 2006 01:43:50 +0000 (01:43 -0000)]
This was a world of pain to find.

This is causing the problems in bootstrap

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

17 years ago * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
Chris Toshok [Tue, 31 Oct 2006 01:15:47 +0000 (01:15 -0000)]
* XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
just non-CHILD ones.  otherwise sometimes scrollbars end up with
client_windows not being resized to the proper size (ReportBuilder
shows this extremely well).

2006-10-30  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 31 Oct 2006 00:26:54 +0000 (00:26 -0000)]
2006-10-30  Atsushi Enomoto  <atsushi@ximian.com>

        * FtpWebRequest.cs : more build fixes.

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

17 years ago * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
Chris Toshok [Mon, 30 Oct 2006 23:41:09 +0000 (23:41 -0000)]
* XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
for non-WS_EX_APPWINDOW windows.  This is what keeps them from
showing up in the gnome taskbar.  Fixes bug #79790.

2006-10-30  Chris Toshok  <toshok@ximian.com>

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

17 years ago * ApplicationContext.cs: guard against a NRE.
Chris Toshok [Mon, 30 Oct 2006 23:31:37 +0000 (23:31 -0000)]
* ApplicationContext.cs: guard against a NRE.

* Application.cs: null out the old MainForm for the context, so we
don't try to use it again once it's disposed.  Fixes bug #79783.

2006-10-30  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-10-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 30 Oct 2006 23:29:15 +0000 (23:29 -0000)]
2006-10-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* EndPointListener.cs: update comment and avoid exception when the
program is exiting.

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

17 years ago2006-10-30 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 30 Oct 2006 23:00:56 +0000 (23:00 -0000)]
2006-10-30  Miguel de Icaza  <miguel@novell.com>

* WebRequestMethods.cs: Another typo fix.

* ServicePointManager.cs: Set the default properly.

* SecurityProtocolType.cs: Remove non-existant defines.

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

17 years agoPatch from Jensen Somers <jensen.somers@gmail.com> that fixes a few typos
Miguel de Icaza [Mon, 30 Oct 2006 22:44:53 +0000 (22:44 -0000)]
Patch from Jensen Somers  <jensen.somers@gmail.com> that fixes a few typos

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

17 years agoA few prototypes, a few hacks to keep researching the failures
Miguel de Icaza [Mon, 30 Oct 2006 22:39:02 +0000 (22:39 -0000)]
A few prototypes, a few hacks to keep researching the failures

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

17 years ago2006-10-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 30 Oct 2006 22:38:23 +0000 (22:38 -0000)]
2006-10-18  Miguel de Icaza  <miguel@novell.com>

        * mono-ehash.c (mono_g_hash_table_destroy): Use mg_free, not
        g_free.

2006-10-30  Miguel de Icaza  <miguel@novell.com>

        * tramp-x86.c (mono_arch_patch_delegate_trampoline): Eliminate warning.

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

17 years ago* Makefile: remove README, Mono.System.XML.csproj,
Wade Berrier [Mon, 30 Oct 2006 22:10:52 +0000 (22:10 -0000)]
* Makefile: remove README, Mono.System.XML.csproj,
Mono.System.XML.sln from EXTRA_DIST to fix make dist

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

17 years ago2006-10-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 30 Oct 2006 21:56:27 +0000 (21:56 -0000)]
2006-10-30  Sebastien Pouliot  <sebastien@ximian.com>

* PrivilegeNotHeldException.cs: Fix namespace.

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

17 years ago2006-10-30 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 30 Oct 2006 21:33:42 +0000 (21:33 -0000)]
2006-10-30  Chris Toshok  <toshok@ximian.com>

* DataGrid.cs (set_DataSource, set_DataMember): if we have a
BindingContext, set the data source directly, otherwise do the
lazy approach - the actual ListManager will be created when we get
a BindingContext. Fixes bug #79700.

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

17 years ago2006-10-30 Joel Reed <joel.reed@ddiworld.com>
Miguel de Icaza [Mon, 30 Oct 2006 21:01:02 +0000 (21:01 -0000)]
2006-10-30  Joel Reed <joel.reed@ddiworld.com>

* NameValueConfigurationCollection.cs: Implement the Properties
property.

2006-10-30 Joel Reed  <joel.reed@ddiworld.com>

* DirectoryInfo.cs: Implement SearchOption.AllDirectories option.

2006-10-30  <joel.reed@ddiworld.com>

* DirectoryInfoTest.cs: Updated tests to support the DirectoryInfo
SearchOption.AllDirectories

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

17 years agomore tests
Chris Toshok [Mon, 30 Oct 2006 20:26:47 +0000 (20:26 -0000)]
more tests

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

17 years agoadd some ListManager tests
Chris Toshok [Mon, 30 Oct 2006 20:18:54 +0000 (20:18 -0000)]
add some ListManager tests

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

17 years ago2006-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 30 Oct 2006 20:16:11 +0000 (20:16 -0000)]
2006-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* README, Mono.System.XML.csproj, Mono.System.XML.sln :
  remove old files.

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

17 years ago2006-10-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 30 Oct 2006 18:09:07 +0000 (18:09 -0000)]
2006-10-30  Jonathan Pobst  <monkey@jpobst.com>

* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  XplatUIX11.cs: Remove old 2 parameter SetVisible.

* Control.cs: Use the new 3 parameter SetVisible with activate = true.

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

17 years agofallback to text diff when HtmltoXml fails
Andrew Skiba [Mon, 30 Oct 2006 16:46:01 +0000 (16:46 -0000)]
fallback to text diff when HtmltoXml fails

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

17 years ago* RemotingServices.cs: Explicitly set FormatterAssemblyStyle to Full
Gert Driesen [Mon, 30 Oct 2006 16:29:10 +0000 (16:29 -0000)]
* RemotingServices.cs: Explicitly set FormatterAssemblyStyle to Full
in 2.0 profile, as the default has changed from Full to Simple.
Fixes bug #79732.

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

17 years agoAdd eol-style everywhere, to prevent the changes like today
Miguel de Icaza [Mon, 30 Oct 2006 15:49:03 +0000 (15:49 -0000)]
Add eol-style everywhere, to prevent the changes like today

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

17 years ago2006-10-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 30 Oct 2006 15:24:33 +0000 (15:24 -0000)]
2006-10-30  Jonathan Pobst  <monkey@jpobst.com>

* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
of SetVisible that allows a window to be shown, but not activated.
This is needed on Windows for MenuStrip, and can probably be used
with MainMenu and ComboBox to fix the focus stealing issues on
Windows.

* XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.

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

17 years ago2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 30 Oct 2006 14:37:27 +0000 (14:37 -0000)]
2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* FormFiew.cs: fixed: UpdateItem, InsertItem.

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

17 years ago2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 30 Oct 2006 14:19:11 +0000 (14:19 -0000)]
2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* FormFiew.cs: fixed: PageIndex, rendering.

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

17 years ago2006-10-30 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Mon, 30 Oct 2006 14:11:09 +0000 (14:11 -0000)]
2006-10-30  Alexander Olk  <alex.olk@googlemail.com>

* System.Windows.Forms_test.dll.sources: Added UpDownTest.cs.

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

17 years ago * UpDownTest.cs: Added
Alexander Olk [Mon, 30 Oct 2006 14:09:03 +0000 (14:09 -0000)]
* UpDownTest.cs: Added

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

17 years ago2006-10-30 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Mon, 30 Oct 2006 14:07:34 +0000 (14:07 -0000)]
2006-10-30  Alexander Olk  <alex.olk@googlemail.com>

* PictureBoxTest.cs: Enable the previously not working
  ToStringMethodTest and move the not working Image property
  test to its own method.

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

17 years ago2006-10-30 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Mon, 30 Oct 2006 14:04:56 +0000 (14:04 -0000)]
2006-10-30  Alexander Olk  <alex.olk@googlemail.com>

* PictureBox.cs: Fix the output of the ToString method.

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

17 years ago2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 30 Oct 2006 13:37:09 +0000 (13:37 -0000)]
2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* FormViewTest.cs: removed NotWorking attributes

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

17 years ago2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 30 Oct 2006 13:05:40 +0000 (13:05 -0000)]
2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsViewTest.cs: removed NotWorking attributes

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

17 years ago2006-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 30 Oct 2006 11:44:50 +0000 (11:44 -0000)]
2006-10-30  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader2.cs : if DTD does not exist, do not try to resolve
  entity from null DTD (caused NRE). Fixed bug #79620.

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

17 years ago2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 30 Oct 2006 10:48:16 +0000 (10:48 -0000)]
2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>

* DropDownList.cs: fixed: rendering "name" attribute".

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

17 years agoSet native EOL style.
Robert Jordan [Mon, 30 Oct 2006 00:37:58 +0000 (00:37 -0000)]
Set native EOL style.

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

17 years ago2006-10-30 Robert Jordan <robertj@gmx.net>
Robert Jordan [Mon, 30 Oct 2006 00:35:56 +0000 (00:35 -0000)]
2006-10-30  Robert Jordan  <robertj@gmx.net>

* Apply ComVisibleAttribute.

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

17 years ago * Control.cs (get_TopLevelControl): fix bug #79781.
Chris Toshok [Sun, 29 Oct 2006 23:39:00 +0000 (23:39 -0000)]
* Control.cs (get_TopLevelControl): fix bug #79781.

2006-10-29  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-10-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 29 Oct 2006 23:38:22 +0000 (23:38 -0000)]
2006-10-29  Chris Toshok  <toshok@ximian.com>

* ControlTest.cs: correct namespace and add TopLevelControlTest
for bug #79781.

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

17 years ago2006-10-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 29 Oct 2006 20:56:41 +0000 (20:56 -0000)]
2006-10-29  Robert Jordan  <robertj@gmx.net>

* added SerializationCallbackTest.cs. See bug #78594.

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

17 years ago2006-10-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 29 Oct 2006 20:49:04 +0000 (20:49 -0000)]
2006-10-29  Robert Jordan  <robertj@gmx.net>

* SoapReader.cs, SoapWriter.cs [NET_2_0]:
Use the SerializationObjectManager.

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

17 years ago2006-10-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 29 Oct 2006 20:44:22 +0000 (20:44 -0000)]
2006-10-29  Robert Jordan  <robertj@gmx.net>

* corlib_test.dll.sources: Added SerializationCallbackTest.cs

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

17 years ago2006-10-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 29 Oct 2006 20:42:00 +0000 (20:42 -0000)]
2006-10-29  Robert Jordan  <robertj@gmx.net>

* SerializationCallbackTest.cs: Add test case for bug #78594.

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

17 years ago2006-10-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 29 Oct 2006 20:37:35 +0000 (20:37 -0000)]
2006-10-29  Robert Jordan  <robertj@gmx.net>

* ObjectWriter.cs, ObjectReader [NET_2_0]:
Use the SerializationObjectManager.

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

17 years ago2006-10-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 29 Oct 2006 20:30:10 +0000 (20:30 -0000)]
2006-10-29  Robert Jordan  <robertj@gmx.net>

* ObjectManager.cs: Add NET_2_0 serialization callbacks.

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

17 years ago2006-10-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 29 Oct 2006 20:23:21 +0000 (20:23 -0000)]
2006-10-29  Robert Jordan  <robertj@gmx.net>

* corlib.dll.sources: Added NET_2_0 serialization events files.

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

17 years ago2006-10-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 29 Oct 2006 20:22:36 +0000 (20:22 -0000)]
2006-10-29  Robert Jordan  <robertj@gmx.net>

* SerializationObjectManager.cs,
SerializationCallbacks.cs: Add support for NET_2_0 serialization
events. See bug #78594.

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

17 years ago2006-10-29 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sun, 29 Oct 2006 20:12:49 +0000 (20:12 -0000)]
2006-10-29  Alexander Olk  <alex.olk@googlemail.com>

* FormTest.cs: Fix typo.

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

17 years agoNew test.
Marek Safar [Sun, 29 Oct 2006 20:04:19 +0000 (20:04 -0000)]
New test.

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

17 years ago2006-10-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 29 Oct 2006 20:03:36 +0000 (20:03 -0000)]
2006-10-29  Marek Safar  <marek.safar@gmail.com>

A fix for bug #78602
ecore.cs (PropertyExpr.InstanceResolve): The qualifier for access
to protected member can be nested type.

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

17 years ago2006-10-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 29 Oct 2006 16:45:54 +0000 (16:45 -0000)]
2006-10-29  Miguel de Icaza  <miguel@novell.com>

* UnixRegistryApi.cs (KeyHandler.MachineStore): Add support for
loading/storing values from the system registry, instead of having
the system ones be user-based.

(KeyHandler, Load): turn IO exceptions into Security exceptions.

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

17 years agoPrepare for corlib commit
Miguel de Icaza [Sun, 29 Oct 2006 16:44:33 +0000 (16:44 -0000)]
Prepare for corlib commit

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

17 years ago Throw an ArgumentNullException if value or objectName is null.
Alexander Olk [Sun, 29 Oct 2006 16:42:31 +0000 (16:42 -0000)]
  Throw an ArgumentNullException if value or objectName is null.

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

17 years ago * ListControl.cs (set_DataSource): throw Exception here, not
Chris Toshok [Sun, 29 Oct 2006 16:28:42 +0000 (16:28 -0000)]
* ListControl.cs (set_DataSource): throw Exception here, not
ArgumentException, to match MS behavior.

2006-10-29  Chris Toshok  <toshok@ximian.com>

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

17 years ago * Form.cs: remove the try-catch's around calls to GetWindowState.
Chris Toshok [Sun, 29 Oct 2006 16:13:59 +0000 (16:13 -0000)]
* Form.cs: remove the try-catch's around calls to GetWindowState.
We can just check the return value.

* XplatUIX11.cs: don't throw exceptions from GetWindowState.
Instead return -1.

* XplatUI.cs: Add note about additional return value for
GetWindowState.

2006-10-29  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 29 Oct 2006 16:09:31 +0000 (16:09 -0000)]
2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>

* RadioButtonList.cs: fixed: has no html output when Items.Count=0.

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

17 years ago * ComponentResourceManager.cs: Make ApplyResources work.
Alexander Olk [Sun, 29 Oct 2006 16:01:25 +0000 (16:01 -0000)]
* ComponentResourceManager.cs: Make ApplyResources work.
  Instead of iterating through the resource set table we now
  read the property infos of an object and check if there is
  an item in the resource set for each property info. This makes
  it finally possible to create language dependent resources
  that do not have to include everything from a parent culture
  resource (mostly invariant culture).

2006-10-29 Alexander Olk <alex.olk@googlemail.com>

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

17 years agoSet native EOL style.
Robert Jordan [Sun, 29 Oct 2006 16:00:04 +0000 (16:00 -0000)]
Set native EOL style.

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

17 years agoNormalize EOL style to CRLF (least changes).
Robert Jordan [Sun, 29 Oct 2006 15:59:14 +0000 (15:59 -0000)]
Normalize EOL style to CRLF (least changes).

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

17 years ago2006-10-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 29 Oct 2006 15:44:44 +0000 (15:44 -0000)]
2006-10-29  Chris Toshok  <toshok@ximian.com>

* Control.cs (CreateHandle): when we create our handle, we also
create the handles of our child controls.  Fixes one of the
Control unit tests (CH11).

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

17 years ago2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 29 Oct 2006 14:18:36 +0000 (14:18 -0000)]
2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>

* ListControlTest.cs: removed NotWorking attributes

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

17 years ago2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 29 Oct 2006 14:02:51 +0000 (14:02 -0000)]
2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>

* ListControl.cs: fixed: setting SelectedVolue for 2.0.

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

17 years ago2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 29 Oct 2006 13:22:47 +0000 (13:22 -0000)]
2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>

* DataBoundControl: fixed: ValidateDataSource allows null as dataSource.

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

17 years ago2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 29 Oct 2006 12:12:23 +0000 (12:12 -0000)]
2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>

* ListControl.cs: fixed: assigning SelectedIndex with too hight value.

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

17 years ago2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 29 Oct 2006 11:35:30 +0000 (11:35 -0000)]
2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>

* ListControl.cs: fixed: DataBinding for 2.0.
for 1.x refactoring only.

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

17 years agoNew test, based on #79637
Marek Safar [Sun, 29 Oct 2006 10:25:00 +0000 (10:25 -0000)]
New test, based on #79637

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

17 years agoIn System/System.ComponentModel:
Alexander Olk [Sun, 29 Oct 2006 10:02:00 +0000 (10:02 -0000)]
In System/System.ComponentModel:
2006-10-29 Alexander Olk <alex.olk@googlemail.com>

* ComponentResourceManager.cs: Don't close the resource set in
  ApplyResources, it is possible to call ApplyResources multiple
  times. Closing the resource set means that it gets disposed.
  Fixes bug #79182.

In corlib/System.Resources:
2006-10-29  Alexander Olk  <alex.olk@googlemail.com>

* ResourceSet.cs, ResourceManager.cs: Calling ResourceSet.Close()
  disposes a resource set. A closed resource set will now be
  removed from ResourceSets. Fixes bug #79182.

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

17 years agolots of test work. enable some tests which were disabled, and try to make sure we...
Chris Toshok [Sun, 29 Oct 2006 05:51:37 +0000 (05:51 -0000)]
lots of test work.  enable some tests which were disabled, and try to make sure we Dispose of forms when we're done using them.  this makes things a little snappier on the X side of things

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

17 years ago * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
Alexander Olk [Sat, 28 Oct 2006 15:53:32 +0000 (15:53 -0000)]
* MimeIcon.cs: If a gnome icon doesn't exist add a default icon.

2006-10-28  Alexander Olk  <alex.olk@googlemail.com>

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

17 years agoNew test.
Marek Safar [Sat, 28 Oct 2006 12:22:15 +0000 (12:22 -0000)]
New test.

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

17 years ago2006-10-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 28 Oct 2006 12:21:52 +0000 (12:21 -0000)]
2006-10-28  Marek Safar  <marek.safar@gmail.com>

A fix for bug #78998
* generic.cs (ConstructedType.AsAccessible): Check accessibility of type
arguments as well.

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

17 years agoNew test & update.
Marek Safar [Sat, 28 Oct 2006 10:57:30 +0000 (10:57 -0000)]
New test & update.

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

17 years ago2006-10-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 28 Oct 2006 10:56:35 +0000 (10:56 -0000)]
2006-10-28  Marek Safar  <marek.safar@gmail.com>

A fix for bug #78965
ecore.cs (PropertyExpr.InstanceResolve): The qualifier for access
to protected member must derive from current type.

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

17 years ago * map.c: Improve handling of [Flags] enumerations which mix bitfields and
Jonathan Pryor [Sat, 28 Oct 2006 01:45:44 +0000 (01:45 -0000)]
* map.c: Improve handling of [Flags] enumerations which mix bitfields and
  non-bitfield values (i.e. FilePermissions and S_IFREG, which isn't a bit
  field, along with a few other FilePermissions values).  Fixes #79161.

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

17 years ago * MapAttribute.cs: Update (adds SuppressFlags property).
Jonathan Pryor [Sat, 28 Oct 2006 01:45:06 +0000 (01:45 -0000)]
* MapAttribute.cs: Update (adds SuppressFlags property).
* Syscall.cs: Mark non-flags FilePermissions enumeration members so that
  they aren't treated as bitfields.  Impacts e.g. S_IFDIR, S_IFCHR, etc..

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

17 years ago * loader.c: Fixed bug 79684.
Massimiliano Mantione [Sat, 28 Oct 2006 01:18:57 +0000 (01:18 -0000)]
* loader.c: Fixed bug 79684.

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

17 years ago2006-10-28 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 27 Oct 2006 22:06:18 +0000 (22:06 -0000)]
2006-10-28  Alexander Olk  <alex.olk@googlemail.com>

* ThemeClearlooks.cs: A little speedup.

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

17 years agofix these tests so that they succeed on windows
Chris Toshok [Fri, 27 Oct 2006 21:26:28 +0000 (21:26 -0000)]
fix these tests so that they succeed on windows

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

17 years agoObsolete
Marek Safar [Fri, 27 Oct 2006 21:05:35 +0000 (21:05 -0000)]
Obsolete

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

17 years agoUpdate & new tests.
Marek Safar [Fri, 27 Oct 2006 21:03:46 +0000 (21:03 -0000)]
Update & new tests.

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

17 years ago2006-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 27 Oct 2006 21:02:20 +0000 (21:02 -0000)]
2006-10-27  Marek Safar  <marek.safar@gmail.com>

assign.cs: Reuses error method.

ecore.cs (Expression.Error_ValueCannotBeConverted): Report a value
instead of type for constants.
(Expression.Error_ValueAssignment): Common error method.

* expression.cs (UnaryMutator.ResolveOperator): Value cannot be used
for any assignment.

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

17 years ago * Control.cs: implement Control.FromChildHandle in a way that
Chris Toshok [Fri, 27 Oct 2006 20:52:45 +0000 (20:52 -0000)]
* Control.cs: implement Control.FromChildHandle in a way that
matches the docs (and fixes the failed test.)

2006-10-27  Chris Toshok  <toshok@ximian.com>

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