mono.git
17 years agoIfdef test not working in TARGET_JVM.
Boris Kirzner [Sun, 11 Feb 2007 15:19:32 +0000 (15:19 -0000)]
Ifdef test not working in TARGET_JVM.

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

17 years ago2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 11 Feb 2007 14:28:45 +0000 (14:28 -0000)]
2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>

* DataList.cs: fixed: OnBubbleEvent() will return true if event is handled

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

17 years ago* SqlDateTime.cs: changed MaxValue and MinValue initialization, it was failing on...
Vladimir Krasnov [Sun, 11 Feb 2007 13:25:17 +0000 (13:25 -0000)]
* SqlDateTime.cs: changed MaxValue and MinValue initialization, it was failing on .net VM.

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

17 years ago* HttpApplication.cs: added exception pass through from processAction in j2ee portal
Vladimir Krasnov [Sun, 11 Feb 2007 09:50:38 +0000 (09:50 -0000)]
* HttpApplication.cs: added exception pass through from processAction in j2ee portal

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

17 years agoremove files to comply to .net public interface
Konstantin Triger [Sun, 11 Feb 2007 09:24:19 +0000 (09:24 -0000)]
remove files to comply to .net public interface

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

17 years agoAdd support for HandleRef to the Marshaller
Miguel de Icaza [Sun, 11 Feb 2007 03:40:33 +0000 (03:40 -0000)]
Add support for HandleRef to the Marshaller

2007-02-10  Miguel de Icaza  <miguel@novell.com>

* class-internals.h: Add MonoHandleRef definition, and
handleref_class to mono_defaults.

* metadata.c (mono_type_to_unmanaged): If we find HandleRefs in a
structure, use new conversion MONO_MARSHAL_CONV_HANDLEREF.

* marshal.c (emit_ptr_to_object_conv): Add support for HandleRefs
(do nothing on this stage)
(emit_object_to_ptr_conv): Extract the handle from the HandleRef.
(emit_marshal_handleref): New method, used for argument handling
of HandleRefs.

Tests are a simplified version of SafeHandle tests

Fixes: 80515

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

17 years ago2007-02-10 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 10 Feb 2007 16:21:47 +0000 (16:21 -0000)]
2007-02-10  Chris Toshok  <toshok@ximian.com>

* XplatUIWin32.cs (CreateWindow): reinstate the assignment of
hwnd.ClientWindow to properly associate Hwnd to Handle.  This
should be handled by the HwndCreating stuff, but it's not being
handled properly.  Fixes #80782.

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

17 years ago* PrintDialogTest.cs: Fixed DefaultValues test on 2.0 profile.
Gert Driesen [Sat, 10 Feb 2007 14:25:37 +0000 (14:25 -0000)]
* PrintDialogTest.cs: Fixed DefaultValues test on 2.0 profile.
* ToolStripTest.cs: Added test for bug #80762. Enabled ignored test.

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

17 years agoRemoved bogus eol-style:native properties.
Gert Driesen [Sat, 10 Feb 2007 13:26:56 +0000 (13:26 -0000)]
Removed bogus eol-style:native properties.

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

17 years agoRemoved bogus eol-style:native properties.
Gert Driesen [Sat, 10 Feb 2007 13:25:54 +0000 (13:25 -0000)]
Removed bogus eol-style:native properties.

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

17 years ago* FontUnitTest.cs: Added test to verify locale dependent behavior of
Gert Driesen [Sat, 10 Feb 2007 13:24:08 +0000 (13:24 -0000)]
* FontUnitTest.cs: Added test to verify locale dependent behavior of
FontUnit(string) ctor.
* FontUnit.cs: Fixed ToString () to use current locale.
* FormsAuthenticationTest.cs: Fixed build using csc 1.x.

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

17 years ago* ResXResourceReader.cs: Add additional checks for validity of reader
Gert Driesen [Sat, 10 Feb 2007 09:24:32 +0000 (09:24 -0000)]
* ResXResourceReader.cs: Add additional checks for validity of reader
and writer.
* ResXResourceReaderTest.cs: Fixed warnings, improve existing tests. Added
test for invalid reader and writer.

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

17 years ago* Form.cs: Fixed typo in exception message. Fixes bug #80779.
Gert Driesen [Sat, 10 Feb 2007 08:17:23 +0000 (08:17 -0000)]
* Form.cs: Fixed typo in exception message. Fixes bug #80779.

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

17 years ago2007-02-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 10 Feb 2007 02:35:10 +0000 (02:35 -0000)]
2007-02-09  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms_test.dll.sources: add ControlHandleTest.cs

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

17 years ago2007-02-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 10 Feb 2007 02:33:49 +0000 (02:33 -0000)]
2007-02-09  Chris Toshok  <toshok@ximian.com>

[big change, fixes #80020]

* AccessibleObject.cs: we need to make owner internal again to fix
some of ControlAccessibleObject.

* Control.cs: lots of changes here.  add support for WM_CREATE,
for which we generate OnHandleCreated.  Remove the OnHandleCreated
call from CreateHandle.  Also add support for WM_SHOWWINDOW where
we create child controls.  leave the MonoTODO's for the
accessibility calls, but fix the exceptions so the tests pass.

Add the InvalidOperationExceptions to Invoke methods, and remove a
couple of InvokeInternal methods we aren't using.

Also, add a couple of CreateHandle calls in places where we know
the handles are being created but our code doesn't reference
.Handle.

Make SetVisibleCore call OnVisibleChange if the handle isn't
created.  If the handle is created, we rely on XplatUI.SetVisible
generating the event synchronously.

Lastly, make sure we don't use this.Handle inside CreateHandle,
because we can call back into client (and that code can dispose of
the control).

* XplatUIStructs.cs: misc/cleanup.

* XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
although we don't populate the wParam properly.
(CreateWindow): generate WM_CREATE.
(MapWindow,UnmapWindow): make these calls synchronous, at great
performance expense (particularly in the unmap case), to match
win32 behavior.

* Form.cs (.ctor): remove the call to UpdateBounds. we don't need
to call it.
(set_MdiParent): don't recreate the handle unless it's been
created already.

* MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
it's created.

* NativeWindow.cs: this is probably the weirdest part of the
patch.  We need a way to link up the window being created to the
WM_CREATE message.  Since we can only be creating one window at a
time on a given thread, we keep track of a per-thread reference so
we can dispatch it properly.  We also need to keep track of the
Hwnd currently being created so that the win32 backend doesn't
have problems.

* XplatUIWin32.cs: a similar change to the one we made in
NativeWindow.cs.

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

17 years agoTest based on #80315
Marek Safar [Fri, 9 Feb 2007 23:01:56 +0000 (23:01 -0000)]
Test based on #80315

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

17 years ago2007-02-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 9 Feb 2007 22:45:55 +0000 (22:45 -0000)]
2007-02-09  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80315 by martin.voelkle@gmail.com (Martin Voelkle)
* assign.cs: Use full implicit conversion for right side check.

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

17 years agoNew test.
Marek Safar [Fri, 9 Feb 2007 22:08:51 +0000 (22:08 -0000)]
New test.

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

17 years ago2007-02-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 9 Feb 2007 22:08:05 +0000 (22:08 -0000)]
2007-02-09  Marek Safar  <marek.safar@gmail.com>

* statement.cs (Switch): Switch over boolean type is not standardized.

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

17 years ago* Form.cs: Improved exception messages in ShowDialog.
Gert Driesen [Fri, 9 Feb 2007 21:12:16 +0000 (21:12 -0000)]
* Form.cs: Improved exception messages in ShowDialog.
* FormTest.cs: Added tests for bug #80773.

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

17 years agosync up the project files
Chris Toshok [Fri, 9 Feb 2007 16:20:13 +0000 (16:20 -0000)]
sync up the project files

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

17 years ago2007-02-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Feb 2007 16:09:46 +0000 (16:09 -0000)]
2007-02-09  Sebastien Pouliot  <sebastien@ximian.com>

* Icon.cs: Resurrected some old Icon to Bitmap code from SVN history
to handle convertion for Win32, where MS GDI+ ICO codec doesn't
support all the icon formats supported by the Icon class.

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

17 years ago2007-02-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 9 Feb 2007 14:19:48 +0000 (14:19 -0000)]
2007-02-09  Sebastien Pouliot  <sebastien@ximian.com>

* PrintingServicesUnix.cs: Ensure we free the original pointer in
GetAlternativeDefaultPrinter (not the one used for iteration).

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

17 years ago2007-02-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Feb 2007 13:54:45 +0000 (13:54 -0000)]
2007-02-09  Nagappan A  <anagappan@novell.com>

* System.Data_test.dll.sources: Added
System.Data.SqlTypes/SqlBytesTest.cs,
System.Data.SqlTypes/SqlCharsTest.cs.

* System.Data.dll.sources: Removed
System.Data.SqlTypes/SqlDate.cs, System.Data.SqlTypes/SqlTime.cs,
System.Data.SqlTypes/SqlUtcDateTime.cs,
System.Data.SqlTypes/SqlXmlReader.cs as they are not part of 2.0
profile.

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

17 years ago2007-02-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Feb 2007 13:53:25 +0000 (13:53 -0000)]
2007-02-09  Nagappan A  <anagappan@novell.com>

* SqlBytesTest.cs: Added new tests

* SqlCharsTest.cs: Added new tests

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

17 years ago2007-02-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Feb 2007 13:52:48 +0000 (13:52 -0000)]
2007-02-09  Nagappan A  <anagappan@novell.com>

* TestFile5.xml: Added new XML file required for tests.

* TestFile3.xml: Added new XML file required for tests.

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

17 years ago2007-02-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Feb 2007 13:51:10 +0000 (13:51 -0000)]
2007-02-09  Nagappan A  <anagappan@novell.com>

* DbProviderFactory.cs: Derived class has to implement all the
methods of this class.

* DbProviderFactoriesConfigurationHandler.cs (Create): Removed
bogus MonoTODO

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

17 years ago2007-02-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Feb 2007 13:49:49 +0000 (13:49 -0000)]
2007-02-09  Nagappan A  <anagappan@novell.com>

* SqlConnection.cs (SetConnectionString): Fixes bug # 80712. A
small typo.

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

17 years ago2007-02-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Feb 2007 13:49:06 +0000 (13:49 -0000)]
2007-02-09  Nagappan A  <anagappan@novell.com>

* OdbcDataReader.cs (GetDecimal): Implemented new API.

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

17 years ago2007-02-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Feb 2007 13:48:28 +0000 (13:48 -0000)]
2007-02-09  Nagappan A  <anagappan@novell.com>

* SqlNotFilledException.cs: Removed APIs that are not part of both
1.0 and 2.0.

* SqlTypeException.cs: Implemented missing attributes.

* SqlChars.cs, SqlBytes.cs: Implemented missing attributes,
methods and added IXmlSerializable.

* SqlDouble.cs, SqlSingle.cs, SqlBinary.cs, SqlString.cs:
Implemented missing attributes, added IXmlSerializable.

* SqlXml.cs, SqlInt16.cs, SqlInt32.cs, SqlInt64.cs: Implemented
missing attributes, added IXmlSerializable.

* SqlDateTime.cs, SqlDecimal.cs, SqlMoney.cs, SqlGuid.cs:
Implemented missing attributes, added IXmlSerializable

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

17 years ago2007-02-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 9 Feb 2007 13:47:41 +0000 (13:47 -0000)]
2007-02-09  Nagappan A  <anagappan@novell.com>

* DataSet.cs, DataRelationCollection.cs: Updated code as
        per coding standards.

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

17 years ago* PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
Gert Driesen [Fri, 9 Feb 2007 07:53:18 +0000 (07:53 -0000)]
* PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
if not set. Fixes bug #80764. Avoid accessing current_settings field
directly.
* PrintDialogTest.cs: Added test for bug #80764

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

17 years ago2007-02-08 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Thu, 8 Feb 2007 23:47:10 +0000 (23:47 -0000)]
2007-02-08  Everaldo Canuto  <everaldo@simios.org>

* Theme.cs: An new property MenuAccessKeysUnderlined added with default value
false.

* SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
public in 2.0 and for easy maintenance and dont break compatibility it is
internal in 1.1.

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

17 years ago2007-02-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 8 Feb 2007 22:20:32 +0000 (22:20 -0000)]
2007-02-08  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItem.cs: Implement using images from ImageList.

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

17 years ago2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 8 Feb 2007 20:30:32 +0000 (20:30 -0000)]
2007-02-08  Sebastien Pouliot  <sebastien@ximian.com>

* Bitmap.cs: Adapt code wrt Image changes. Reuse the serialization
ctor from Image to avoid duplicate code.
* gdipEnums.cs: Added ImageType. Clean up extra stuff.
* gdipFunctions.cs: Added GdipGetImageType and some metafile
definitions.
* Image.cs: Refactor code not to create a Bitmap for every images
(e.g. FromFile, FromStream) as the result can also be a Metafile.

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

17 years ago* DateTimePicker.cs: Change default date-formatting culture from
Rolf Bjarne Kvinge [Thu, 8 Feb 2007 20:11:32 +0000 (20:11 -0000)]
* DateTimePicker.cs: Change default date-formatting culture from
  CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  seems to be the way MS does it.

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

17 years ago* FormTest.cs: Improved test for bug #80604.
Gert Driesen [Thu, 8 Feb 2007 19:37:32 +0000 (19:37 -0000)]
* FormTest.cs: Improved test for bug #80604.

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

17 years ago* ControlTest.cs: Removed use of #pragma to allow tests to be built using
Gert Driesen [Thu, 8 Feb 2007 19:22:09 +0000 (19:22 -0000)]
* ControlTest.cs: Removed use of #pragma to allow tests to be built using
csc 1.x.

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

17 years ago2007-02-08 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 8 Feb 2007 19:17:49 +0000 (19:17 -0000)]
2007-02-08  Jonathan Chambers  <joncham@gmail.com>

        Add support for COM Callable Wrappers.

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

17 years ago* LogGenerator.cs: Generate code that can be built using csc 1.x.
Gert Driesen [Thu, 8 Feb 2007 19:17:40 +0000 (19:17 -0000)]
* LogGenerator.cs: Generate code that can be built using csc 1.x.
* ControlLogger.cs: Fixed code to compile using csc 1.x.

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

17 years ago2007-02-08 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 8 Feb 2007 19:16:27 +0000 (19:16 -0000)]
2007-02-08  Jonathan Chambers  <joncham@gmail.com>

Add support for COM Callable Wrappers.

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

17 years agoForgot the changelog for rev 72500 :p
Andreia Gaita [Thu, 8 Feb 2007 19:03:55 +0000 (19:03 -0000)]
Forgot the changelog for rev 72500  :p

2007-02-08  Andreia Gaita  <avidigal@novell.com>

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

17 years ago* PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
Andreia Gaita [Thu, 8 Feb 2007 18:59:26 +0000 (18:59 -0000)]
* PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
(the 6 was cut off on the right side)

2007-02-08  Andreia Gaita  <avidigal@novell.com>

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

17 years agoNew test based on #80755
Marek Safar [Thu, 8 Feb 2007 18:20:09 +0000 (18:20 -0000)]
New test based on #80755

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

17 years agoTestRegion.cs: Add test cases for matrix operations on infinite regions (result is...
Sebastien Pouliot [Thu, 8 Feb 2007 18:20:07 +0000 (18:20 -0000)]
TestRegion.cs: Add test cases for matrix operations on infinite regions (result is always an infinite region). Add test cases for scale and scale+translate on regions (to see that they do not trigger a convertion into bitmap-based regions).

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

17 years ago2007-02-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 8 Feb 2007 18:19:29 +0000 (18:19 -0000)]
2007-02-08  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80755
* decl.cs (FindBaseEvent): Don't use method cache for events.

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

17 years ago2007-02-08 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 8 Feb 2007 17:42:43 +0000 (17:42 -0000)]
2007-02-08  Chris Toshok  <toshok@ximian.com>

* X11Display.cs: port over some more changes from XplatUIX11.cs.

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

17 years ago2007-02-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 8 Feb 2007 17:24:43 +0000 (17:24 -0000)]
2007-02-08  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Tell MenuStrips to close when the form is clicked.
* MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
support for Overflow, where items that do not fit are automatically
reparented to a drop down menu.
* ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
Also: fixes bug #80747.

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

17 years agoAccidentally committed a working copy of MaskedTextBox.cs, deleting it.
Rolf Bjarne Kvinge [Thu, 8 Feb 2007 16:49:52 +0000 (16:49 -0000)]
Accidentally committed a working copy of MaskedTextBox.cs, deleting it.

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

17 years ago* ComboBox.cs: Remove warning (unused code).
Rolf Bjarne Kvinge [Thu, 8 Feb 2007 16:43:55 +0000 (16:43 -0000)]
* ComboBox.cs: Remove warning (unused code).
* ScrollableControl.cs: Remove warning for 1.1 profile.

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

17 years ago* Form.cs: Remove a warning.
Rolf Bjarne Kvinge [Thu, 8 Feb 2007 16:39:58 +0000 (16:39 -0000)]
* Form.cs: Remove a warning.

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

17 years ago* DateTimePickerTest.cs: Created more tests for DateTimePicker, now
Rolf Bjarne Kvinge [Thu, 8 Feb 2007 16:34:32 +0000 (16:34 -0000)]
* DateTimePickerTest.cs: Created more tests for DateTimePicker, now
  tests a lot of different custom formats.

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

17 years ago* DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
Rolf Bjarne Kvinge [Thu, 8 Feb 2007 16:33:28 +0000 (16:33 -0000)]
* DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  'g' specifier, not documented anywhere, but seems to always show up
  as a single space (might have something to do with the DateTime 'g'
  specifier, which is the era format, but since DateTimePicker can't
  go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  won't crash if the format has an unmatched quote. Now shows
  single-character formats correctly. Fixes #80744.

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

17 years ago2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 8 Feb 2007 15:40:02 +0000 (15:40 -0000)]
2007-02-08  Sebastien Pouliot  <sebastien@ximian.com>

* TestBmpCodec.cs: Add test case for non-inverted bitmaps #80751

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

17 years ago* Makefile: Add non-inverted bitmap to dist.
Sebastien Pouliot [Thu, 8 Feb 2007 15:39:23 +0000 (15:39 -0000)]
* Makefile: Add non-inverted bitmap to dist.

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

17 years agoAdd non inverted bitmap to test suite
Sebastien Pouliot [Thu, 8 Feb 2007 15:37:11 +0000 (15:37 -0000)]
Add non inverted bitmap to test suite

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

17 years ago2007-02-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 8 Feb 2007 14:43:40 +0000 (14:43 -0000)]
2007-02-08  Jonathan Pobst  <monkey@jpobst.com>

* StatusStrip.cs: Stretch property needs to call base.Stretch,
not this.Stretch to fix stack overflow. [Fixes bug #80760]

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

17 years agoFix TemplateSourceDirectory.
Marek Habersack [Thu, 8 Feb 2007 13:27:15 +0000 (13:27 -0000)]
Fix TemplateSourceDirectory.

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

17 years agoExpire auth tickets properly. Fixes bug 80739.
Marek Habersack [Thu, 8 Feb 2007 13:19:08 +0000 (13:19 -0000)]
Expire auth tickets properly. Fixes bug 80739.

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

17 years agoMake sure to create specific cultures.
Marek Habersack [Thu, 8 Feb 2007 13:05:58 +0000 (13:05 -0000)]
Make sure to create specific cultures.

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

17 years agoDo not clear the password before encryption
Marek Habersack [Thu, 8 Feb 2007 13:04:45 +0000 (13:04 -0000)]
Do not clear the password before encryption

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

17 years agoAvoid duplicate control registration exception
Marek Habersack [Thu, 8 Feb 2007 13:03:50 +0000 (13:03 -0000)]
Avoid duplicate control registration exception

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

17 years agoUse Resources. as the prefix for global resources embedded in App_GlobalResources.dll
Marek Habersack [Thu, 8 Feb 2007 13:02:26 +0000 (13:02 -0000)]
Use Resources. as the prefix for global resources embedded in App_GlobalResources.dll

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

17 years agoIgnoring non working tests, eol fix in SocketTest.jvm.cs
Ilya Kharmatsky [Thu, 8 Feb 2007 12:50:36 +0000 (12:50 -0000)]
Ignoring non working tests, eol fix in SocketTest.jvm.cs

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

17 years agoAdded 'Ignore' attribute in SortedDictionaryTest, under TARGET_JVM configuration
Ilya Kharmatsky [Thu, 8 Feb 2007 12:46:01 +0000 (12:46 -0000)]
Added 'Ignore' attribute in SortedDictionaryTest, under TARGET_JVM configuration
in order to workarround not working test.

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

17 years agoIn FileWebRequestTest and HttpWebRequestTest excluded not working under TARGET_JVM...
Ilya Kharmatsky [Thu, 8 Feb 2007 12:27:24 +0000 (12:27 -0000)]
In FileWebRequestTest and HttpWebRequestTest excluded not working under TARGET_JVM configuration tests.

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

17 years agoThu Feb 8 12:46:18 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 8 Feb 2007 11:47:10 +0000 (11:47 -0000)]
Thu Feb 8 12:46:18 CET 2007 Paolo Molaro <lupus@ximian.com>

* reflection.c: changed all the signature encoding code to use
a variable-sized buffer.

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

17 years ago* webform.js: added validators context init for j2ee portal support
Vladimir Krasnov [Thu, 8 Feb 2007 10:29:55 +0000 (10:29 -0000)]
* webform.js: added validators context init for j2ee portal support
* WebUIValidation_2.0.js: added SetValidatorContext function, refactored evaluation function init ValidatorOnLoad and Page_ClientValidate
* ClientScriptManager.cs: added array declaration also as member of form in TARGET_J2EE for j2ee portal support.
Added validators context init for GetClientValidationEvent under TARGET_J2EE for j2ee portal support.
* Page.cs: fixed OnFormPostRender, render array declarations after postback script.

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

17 years ago * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
Chris Toshok [Thu, 8 Feb 2007 05:10:56 +0000 (05:10 -0000)]
* ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
background color.  it overwrites the background image we've
already painted.  Fixes #80599.

2007-02-07  Chris Toshok  <toshok@ximian.com>

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

17 years ago * DataGrid.cs: return immediately from Edit() when there are no
Chris Toshok [Wed, 7 Feb 2007 23:15:52 +0000 (23:15 -0000)]
* DataGrid.cs: return immediately from Edit() when there are no
columns.  Fixes #80662.

2007-02-07  Chris Toshok  <toshok@ximian.com>

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

17 years ago* XmlCodeExporter.cs: Avoid hardcoding version numbers. Enable tests
Gert Driesen [Wed, 7 Feb 2007 22:29:53 +0000 (22:29 -0000)]
* XmlCodeExporter.cs: Avoid hardcoding version numbers. Enable tests
again on 2.0 profile.

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

17 years ago* AssemblyInfo.cs: Define AssemblyFileVersion on 2.0 profile.
Gert Driesen [Wed, 7 Feb 2007 22:27:05 +0000 (22:27 -0000)]
* AssemblyInfo.cs: Define AssemblyFileVersion on 2.0 profile.

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

17 years ago2007-02-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Feb 2007 22:13:26 +0000 (22:13 -0000)]
2007-02-07  Atsushi Enomoto  <atsushi@ximian.com>

* SectionInfo.cs : don't stop at restartOnExternalChanges attribute.

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

17 years ago * MessageBox.cs: fix #80625. don't always show the Help button in
Chris Toshok [Wed, 7 Feb 2007 21:42:48 +0000 (21:42 -0000)]
* MessageBox.cs: fix #80625.  don't always show the Help button in
2.0.  use the displayHelpButton parameter to determine if we
should show it. Also, make the internal show_help field private.

2007-02-07  Chris Toshok  <toshok@ximian.com>

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

17 years ago2007-02-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Feb 2007 21:16:37 +0000 (21:16 -0000)]
2007-02-07  Chris Toshok  <toshok@ximian.com>

* Control.cs (SetVisibleCore): check in the proposed patch for
80604, and set is_visible before calling CreateControl.

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

17 years ago2007-02-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Feb 2007 20:48:48 +0000 (20:48 -0000)]
2007-02-07  Atsushi Enomoto  <atsushi@ximian.com>

* SoapReflectionImporter.cs : for primitive types, set predefined
  namespaces, regardless of the actual specification.

* SoapReflectionImporterTests.cs : removed some NotWorking.

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

17 years ago* DataGridViewColumnTest.cs: Added test for bug #80746.
Gert Driesen [Wed, 7 Feb 2007 20:38:43 +0000 (20:38 -0000)]
* DataGridViewColumnTest.cs: Added test for bug #80746.
* System.Windows.Forms_test.dll.sources: Add DataGridViewColumnTest.cs.

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

17 years agoWed Feb 7 20:37:23 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 7 Feb 2007 19:39:05 +0000 (19:39 -0000)]
Wed Feb 7 20:37:23 CET 2007 Paolo Molaro <lupus@ximian.com>

* marshal.c: locking fixes: never take the loader lock
or other runtime locks when holding the marshal lock
(fixes bug#80664).

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

17 years ago* ListBoxTest.cs: Added tests for bug #80696 and bug #80753.
Gert Driesen [Wed, 7 Feb 2007 19:34:05 +0000 (19:34 -0000)]
* ListBoxTest.cs: Added tests for bug #80696 and bug #80753.

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

17 years ago2007-02-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Feb 2007 18:47:55 +0000 (18:47 -0000)]
2007-02-07  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSerializationWriter.cs : WriteTypedPrimitive() does not support
  XmlNode arrays.
* XmlSerializationWriterInterpreter.cs,
  SerializationCodeGenerator.cs : so they have to be handled here.

* XmlSerializerTests.cs : added some XmlNode array/list tests.
* XmlSerializationWriterTests.cs : removed more NotWorking. Added
  WriteTypedPrimitive() error test for XmlNode.

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

17 years agoOups, forget to save
Marek Safar [Wed, 7 Feb 2007 18:46:48 +0000 (18:46 -0000)]
Oups, forget to save

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

17 years agoNew tests.
Marek Safar [Wed, 7 Feb 2007 18:39:15 +0000 (18:39 -0000)]
New tests.

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

17 years ago2007-02-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Feb 2007 18:36:37 +0000 (18:36 -0000)]
2007-02-07  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Better syntax error handling.

* ecore.cs, enum.cs, statement.cs, typemanager.cs: Print enum member name
instead of underlying type value.

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

17 years agoWed Feb 7 18:49:10 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 7 Feb 2007 17:50:26 +0000 (17:50 -0000)]
Wed Feb 7 18:49:10 CET 2007 Paolo Molaro <lupus@ximian.com>

* marshal.c: make the delegate function pointer mapping
work for the moving GC.

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

17 years ago2007-02-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Feb 2007 17:11:43 +0000 (17:11 -0000)]
2007-02-07  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSerializationWriter.cs : WriteTypedPrimitive() infers the type
  when the name is null (almost no need to do this, but it is easier
  to remove NotWorking from extraneous tests and let them hush than
  removing them).

* XmlSerializationWriterTests.cs : removed some NotWorking.

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

17 years ago2007-02-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Feb 2007 16:51:46 +0000 (16:51 -0000)]
2007-02-07  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSerializationWriter.cs : callbacks could be kept null.

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

17 years ago2007-02-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Feb 2007 16:33:45 +0000 (16:33 -0000)]
2007-02-07  Atsushi Enomoto  <atsushi@ximian.com>

* DeserializeTests.cs : a lot of tests were actually fixed yet.

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

17 years ago2007-02-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Feb 2007 16:25:08 +0000 (16:25 -0000)]
2007-02-07  Atsushi Enomoto  <atsushi@ximian.com>

* XmlCodeExporterTests.cs : Gert's tests often condemn Microsoft
  that they upgrade version numbers.

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

17 years ago2007-02-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Feb 2007 16:07:55 +0000 (16:07 -0000)]
2007-02-07  Zoltan Varga  <vargaz@gmail.com>

* liveness.c (mono_liveness_handle_exception_clauses): Export this function
from this file and run it even if liveness info is not needed, so -O=-all works
correctly.

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

17 years ago2007-02-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 7 Feb 2007 15:25:47 +0000 (15:25 -0000)]
2007-02-07  Jonathan Pobst  <monkey@jpobst.com>

* ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
MonoInternalNote.  This is added automagically by VS2005, so let's not crash
on it.

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

17 years agocorrect default values
Konstantin Triger [Wed, 7 Feb 2007 14:25:09 +0000 (14:25 -0000)]
correct default values

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

17 years ago2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 7 Feb 2007 13:03:23 +0000 (13:03 -0000)]
2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs:
* ClientScriptManager.cs:
client scripts (webform.js, callback.js and
MaintainScrollPositionOnPostBack.js) were merged into one resource file.

2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>

* MaintainScrollPositionOnPostBack.js:
* webform.js:
* callback.js:
merged into one resource file.

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

17 years ago2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 7 Feb 2007 12:14:03 +0000 (12:14 -0000)]
2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>

* BaseValidator.cs: fixed render, works in static mode properly
* CreateUserWizard.cs: fixed display mode for validators.

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

17 years ago2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 7 Feb 2007 09:53:27 +0000 (09:53 -0000)]
2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>

* FormView.cs:
* FormViewPagerRow:
implemented FormViewPagerRow class

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

17 years agoensure the correct char encoding is set for the request
Konstantin Triger [Wed, 7 Feb 2007 09:38:21 +0000 (09:38 -0000)]
ensure the correct char encoding is set for the request

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

17 years ago * local-propagation.c: Actually *apply* the fix for bug 80591...
Massimiliano Mantione [Wed, 7 Feb 2007 09:21:02 +0000 (09:21 -0000)]
* local-propagation.c: Actually *apply* the fix for bug 80591...

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

17 years ago2007-02-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Feb 2007 09:10:32 +0000 (09:10 -0000)]
2007-02-07  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReader.cs : ReadElementContentAsString() and all relevant methods
  didn't consume empty element correctly.

* XmlReaderCommonTests.cs : added ReadElementContentAsStringEmpty().

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

17 years agoRemove unused comment
Everaldo Canuto [Wed, 7 Feb 2007 06:27:57 +0000 (06:27 -0000)]
Remove unused comment

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

17 years ago2007-01-06 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 7 Feb 2007 06:25:32 +0000 (06:25 -0000)]
2007-01-06  Everaldo Canuto  <everaldo@simios.org>

* MenuAPI.cs: hotkey_active internal field added, it is required because
we need to know when hotkeys must be draw, before this change a keystate
Navigating was used but we can have menu in navigating state without
hotkeys. Fixes #80694.

* ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.

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

17 years agoNew test.
Marek Safar [Tue, 6 Feb 2007 23:16:09 +0000 (23:16 -0000)]
New test.

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