mono.git
18 years agoUpdate
Miguel de Icaza [Fri, 7 Oct 2005 21:26:01 +0000 (21:26 -0000)]
Update

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

18 years agoMan
Miguel de Icaza [Fri, 7 Oct 2005 21:25:44 +0000 (21:25 -0000)]
Man

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

18 years agoPatch incorporated from SUSE, Neale reviewed it
Miguel de Icaza [Fri, 7 Oct 2005 21:25:31 +0000 (21:25 -0000)]
Patch incorporated from SUSE, Neale reviewed it

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

18 years ago2005-10-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 7 Oct 2005 21:23:27 +0000 (21:23 -0000)]
2005-10-07  Chris Toshok  <toshok@ximian.com>

* ProviderCollection.cs: fix compiler warning with Hashtable ctor.

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

18 years ago2005-10-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 7 Oct 2005 21:07:10 +0000 (21:07 -0000)]
2005-10-07  Chris Toshok  <toshok@ximian.com>

* ConfigurationErrorsException.cs (.ctor): for the (string)
overload, chain up to the base (string) ctor.

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

18 years ago2005-10-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 7 Oct 2005 21:06:27 +0000 (21:06 -0000)]
2005-10-07  Chris Toshok  <toshok@ximian.com>

* ConfigurationElement.cs (ElementMap.ReflectProperties): make
sure the type of the default value is compatible with that of the
property itself, and throw ConfigurationErrorsException if they
don't match.  Fixes t12.

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

18 years agoadd both new tests
Chris Toshok [Fri, 7 Oct 2005 21:00:47 +0000 (21:00 -0000)]
add both new tests

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

18 years agoadd test for custom section where the default value's type doesn't match the property
Chris Toshok [Fri, 7 Oct 2005 20:59:38 +0000 (20:59 -0000)]
add test for custom section where the default value's type doesn't match the property

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

18 years agoadd test of custom section with validator and property attributes
Chris Toshok [Fri, 7 Oct 2005 20:57:43 +0000 (20:57 -0000)]
add test of custom section with validator and property attributes

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

18 years agoPatch incorporated from SUSE, Neale reviewed it
Miguel de Icaza [Fri, 7 Oct 2005 20:36:01 +0000 (20:36 -0000)]
Patch incorporated from SUSE, Neale reviewed it

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

18 years agoPatch incorporated from SUSE, Neale reviewed it
Miguel de Icaza [Fri, 7 Oct 2005 20:35:15 +0000 (20:35 -0000)]
Patch incorporated from SUSE, Neale reviewed it

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

18 years ago2005-10-07 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Alexandre Rocha Lima e Marcondes [Fri, 7 Oct 2005 20:14:38 +0000 (20:14 -0000)]
2005-10-07 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
           Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
           Rafael Teixeira <rafaelteixeirabr@hotmail.com>

       * block.cs, statements.cs, expression.cs: Fix ForEach when iterating fields
       * Some Test fixes

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

18 years ago * MdiChildContext.cs: Use the new borders instead of drawing them
Jackson Harper [Fri, 7 Oct 2005 20:07:13 +0000 (20:07 -0000)]
* MdiChildContext.cs: Use the new borders instead of drawing them
ourselves.

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

18 years ago2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 7 Oct 2005 19:20:49 +0000 (19:20 -0000)]
2005-10-07  Peter Dennis Bartok  <pbartok@novell.com>

* FontFamily.cs: Use Marshal.PtrToStringUni to do the string
  conversion, it's less overhead than StringBuilder. (Part of the
  bugfix for #74871 and #75534)

* gdipFunctions: Changed signature for GdipGetFamilyName to just
  have an IntPtr for the buffer

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

18 years ago2005-10-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 7 Oct 2005 18:39:15 +0000 (18:39 -0000)]
2005-10-07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* in all versions of test-mbas.make at every depth added line:
RUNTIME_FLAGS = --debug
so that logs for individual test execution give ever so helpful
stacktraces WITH line-numbers when exceptions occur in the compiler.

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

18 years ago2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 7 Oct 2005 18:33:58 +0000 (18:33 -0000)]
2005-10-07  Peter Dennis Bartok <pbartok@novell.com>

* GenerateControlStyleTest.cs: Code to auto-generate the
  source file ControlStyleTest.cs
* ControlStyleTest.cs: Tests for testing ControlStyles

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

18 years agoMake sure that all CAS tests are ignored if the security manager is off
Sebastien Pouliot [Fri, 7 Oct 2005 17:52:19 +0000 (17:52 -0000)]
Make sure that all CAS tests are ignored if the security manager is off

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

18 years ago2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 7 Oct 2005 17:48:48 +0000 (17:48 -0000)]
2005-10-06  Jordi Mas i Hernandez <jordi@ximian.com>

* Calling UpdateBounds after changing the window's BorderStyle
since the style can change the ClientSize

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

18 years ago2005-10-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 7 Oct 2005 17:21:19 +0000 (17:21 -0000)]
2005-10-07  Martin Baulig  <martin@ximian.com>

* mono-debug.c (mono_debug_add_method): Create a wrapper entry for
methods without debug info.

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

18 years ago2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 7 Oct 2005 16:55:41 +0000 (16:55 -0000)]
2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>
* Control.cs: Made PaintControlBackground virtual
* Panel.cs: Overriding PaintControlBackground instead of using paint
  event; paint event method was interfering with 'real' users of the
  event.

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

18 years ago2005-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Oct 2005 16:31:07 +0000 (16:31 -0000)]
2005-10-07  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Add System.Runtime.CompilerServices/{RuntimeCompatibilityAttribute.cs, RuntimeWrappedException.cs}.

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

18 years ago2005-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Oct 2005 16:29:55 +0000 (16:29 -0000)]
2005-10-07  Zoltan Varga  <vargaz@gmail.com>

* RuntimeCompatibilityAttribute.cs RuntimeWrappedException.cs: New files.

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

18 years ago2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 7 Oct 2005 16:09:14 +0000 (16:09 -0000)]
2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponseCas.cs:
* HttpRequestCas.cs: now that filters are implemented, remove the catch
for NotImplementedException.

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

18 years ago2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 7 Oct 2005 16:01:50 +0000 (16:01 -0000)]
2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs:
* HttpRequest.cs: buglets in error checking in Filter.

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

18 years ago2005-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Oct 2005 15:35:05 +0000 (15:35 -0000)]
2005-10-07  Zoltan Varga  <vargaz@gmail.com>

* DelegateTest.cs: New file.

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

18 years ago2005-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Oct 2005 15:34:26 +0000 (15:34 -0000)]
2005-10-07  Zoltan Varga  <vargaz@gmail.com>

* corlib_test.dll.sources: Add System/DelegateTest.cs

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

18 years ago2005-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Oct 2005 15:32:43 +0000 (15:32 -0000)]
2005-10-07  Zoltan Varga  <vargaz@gmail.com>

* Delegate.cs: Add support for delegate covariance and contravariance
from net 2.0.

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

18 years ago2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 7 Oct 2005 14:50:41 +0000 (14:50 -0000)]
2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>

* ThemeWin32Classic.cs: remove border drawing since it is handled
by the base control class now and was causing double border drawing.

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

18 years agoIn mcs:
Raja R Harinath [Fri, 7 Oct 2005 14:20:16 +0000 (14:20 -0000)]
In mcs:
Fix #76323.
* convert.cs (ImplicitConversionStandard): Move conversion of
void* to arbitrary pointer types ...
(ExplicitConversionStandard): .. here.
* ecore.cs (Expression.Error_ValueCannotBeConverted): Fix CS0266
error to always print typenames.

In tests:
* test-460.cs: New test.

In errors:
* cs0266-8.cs: New test from #76323.

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

18 years ago2005-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Oct 2005 14:10:04 +0000 (14:10 -0000)]
2005-10-07  Zoltan Varga  <vargaz@gmail.com>

* remoting5.cs: Add test for ldflda on MBR objects.

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

18 years ago2005-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Oct 2005 14:08:25 +0000 (14:08 -0000)]
2005-10-07  Zoltan Varga  <vargaz@gmail.com>

* aot.c: Add support for ldflda wrappers.

* mini.c (mono_method_to_ir): Use ldflda wrappers for CEE_LDFLDA. Fixes
#75902.

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

18 years ago2005-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Oct 2005 14:04:11 +0000 (14:04 -0000)]
2005-10-07  Zoltan Varga  <vargaz@gmail.com>

* class-internals.h debug-helpers.c marshal.h marshal.c: Add ldflda
wrappers.

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

18 years ago2005-10-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Oct 2005 13:00:16 +0000 (13:00 -0000)]
2005-10-07  Zoltan Varga  <vargaz@gmail.com>

* pinvoke.cs: Remove test loading cygwin1.dll under cygwin.

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

18 years ago* convert.cs (GetConversionOperator): Rename from
Raja R Harinath [Fri, 7 Oct 2005 11:40:09 +0000 (11:40 -0000)]
* convert.cs (GetConversionOperator): Rename from
GetConversionOperators.  Move operator selection code from ...
(UserDefinedConversion): ... here.

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

18 years ago2005-10-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 7 Oct 2005 06:24:31 +0000 (06:24 -0000)]
2005-10-07  Chris Toshok  <toshok@ximian.com>

* ConfigHelper.cs: remove some unused code.

* ConfigurationProperty.cs: disambiguate the ctor we chain to.

* ConfigurationElement.cs (ElementProperty): implement.
(ElementMap.ReflectProperties): make DefaultValidator the default
validator, not null.

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

18 years ago2005-10-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 7 Oct 2005 05:40:24 +0000 (05:40 -0000)]
2005-10-07  Chris Toshok  <toshok@ximian.com>

* ConfigHelper.cs: remove some unused code.

* ConfigurationProperty.cs: disambiguate the ctor we chain to.

* ConfigurationElement.cs (ElementProperty): implement.
(ElementMap.ReflectProperties): make DefaultValidator the default
validator, not null.

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

18 years ago2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 7 Oct 2005 04:29:23 +0000 (04:29 -0000)]
2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
bug #76359.

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

18 years ago2005-10-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 7 Oct 2005 04:04:14 +0000 (04:04 -0000)]
2005-10-06  Chris Toshok  <toshok@ximian.com>

* KeyValueConfigurationElement.cs: uncomment out some stuff.
(Properties): just return base.Properties.  Not sure why they
override this, as the base class's implementation passes our test.

* KeyValueConfigurationCollection.cs (Add): for the keyValue
overload, call keyValue.Init as the unit test stack traces
indicates that's where it's called.  For the string,string
overload, just call the keyValue overload instead of calling
BaseAdd.
(CreateNewElement): just use the name/value ctor, and specify ""
for each.
(GetElementKey): this function always returns "" for elements that
haven't been added to the collection.  Once theyre added, it seems
to always return keyValue.Key.
(Properties): the unit tests show this returns a 0 length
collection.

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

18 years ago2005-10-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 7 Oct 2005 03:20:30 +0000 (03:20 -0000)]
2005-10-06  Chris Toshok  <toshok@ximian.com>

* System.Configuration_test.dll.sources: add the
KeyValueConfiguration*Test.cs files.

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

18 years ago2005-10-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 7 Oct 2005 03:19:05 +0000 (03:19 -0000)]
2005-10-06  Chris Toshok  <toshok@ximian.com>

* System.Configuration/KeyValueConfigurationCollectionTest.cs: new
tests.

* System.Configuration/KeyValueConfigurationElementTest.cs: new
tests.

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

18 years ago2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 7 Oct 2005 02:58:58 +0000 (02:58 -0000)]
2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>

* Panel.cs: Redraw our background on paint. Not a pretty solution,
  but it does seem to match MS behaviour. This fixes bug #75324

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

18 years ago2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 7 Oct 2005 01:47:03 +0000 (01:47 -0000)]
2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: A better DrawReversibleRectangle version, however
  somewhat hackish looking

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

18 years ago2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 7 Oct 2005 00:32:30 +0000 (00:32 -0000)]
2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>

* TextBoxBase.cs:
  - We now accept Enter even if AcceptEnter is false, if the containing
    form does not have an AcceptButton configured (fixes bug #76355)
  - Calculations are now fixed to no longer use Width/Height, but
    ClientSize.Width/Height, since we now support borders (this was
    a result of fixing borders and therefore bug #76166)
  - We no longer show the horizontal scrollbar if TextBox.WordWrap is
    true (fixes bug #76354)

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

18 years ago ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
Peter Dennis Bartok [Thu, 6 Oct 2005 22:58:29 +0000 (22:58 -0000)]
  ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  setting borders

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

18 years ago * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
Peter Dennis Bartok [Thu, 6 Oct 2005 22:57:54 +0000 (22:57 -0000)]
* PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  ListBox.cs: Now uses Control.InternalBorderStyle for setting borders

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

18 years ago * ThemeWin32Classic.cs: Removed border calculations from ListView
Peter Dennis Bartok [Thu, 6 Oct 2005 22:57:19 +0000 (22:57 -0000)]
* ThemeWin32Classic.cs: Removed border calculations from ListView
  drawing code

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

18 years ago2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 6 Oct 2005 22:56:13 +0000 (22:56 -0000)]
2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - Defaulting BorderStyle and setting it in XplatUI when our window
    is created
  - Added enum check to InternalBorderStyle setter
* XplatUIX11.cs:
  - Added drawing of window borders
  - Now properly calculates WM decorations offset for toplevel
    windows (fixes bug #74763)
* XplatUIWin32.cs:
  - Implemented BorderStyles for windows (we're letting win32 draw
    the border for us)
  - Fixed the signature for SetWindowLong
* PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs:
  Now uses Control.InternalBorderStyle for setting borders
* UpDownBase.cs: Remove drawing of borders, this is handled by
  the driver, outside the client area
* ListView.cs: Removed bogus border calculations. The control should
  be oblivious to borders, since those are not part of the client
  area.
* X11DesktopColors.cs: Commented out (currently) unneeded variables

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

18 years ago* CodeGeneratorTypeOutputTest.cs: Added tests for CSharpCodeGenerator.GetTypeOutput.
Gert Driesen [Thu, 6 Oct 2005 22:49:14 +0000 (22:49 -0000)]
* CodeGeneratorTypeOutputTest.cs: Added tests for CSharpCodeGenerator.GetTypeOutput.
* CodeTypeReferenceTest.cs: Added tests for multi-dimensional arrays.
* CSharpCodeGenerator.cs: Fixed supported for type arguments in
GetTypeOutput on 2.0 profile. Partial fix for bug #76286.
* CodeTypeReference.cs: Fixed Parse implementation on 1.0 profile.
Added MonoTODO's.
* System_test.dll.sources: Added CodeGeneratorTypeOutputTest.cs
from Test/Microsoft.CSharp.

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

18 years ago * MdiChildContext.cs: Clear out the old virtual position remove
Jackson Harper [Thu, 6 Oct 2005 22:18:28 +0000 (22:18 -0000)]
* MdiChildContext.cs: Clear out the old virtual position remove
all the unneeded calls to CreateGraphics.

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

18 years ago2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 Oct 2005 21:10:19 +0000 (21:10 -0000)]
2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* file-io.c: now that we return symlinks, use lstat and, when the file
is a symbolic link, stat, to get the file attributes. Also avoid the
conversion to/from utf16/external.

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

18 years ago2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 6 Oct 2005 21:09:10 +0000 (21:09 -0000)]
2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs: Use proper color for highlighted text; fixes #76350

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

18 years ago2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 6 Oct 2005 20:57:15 +0000 (20:57 -0000)]
2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs:
  - Added loading and setting of our new default icon
  - Only set icon if window is already created

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

18 years ago2005-10-06 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 6 Oct 2005 20:55:10 +0000 (20:55 -0000)]
2005-10-06  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.resx: Created and added mono default icon
* System.Windows.Forms.resources.prebuilt: Updated

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

18 years ago2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 6 Oct 2005 20:06:58 +0000 (20:06 -0000)]
2005-10-06  Peter Dennis Bartok  <pbartok@novell.com>

* Label.cs:
  - Do not explicitly set the foreground and background colors, to
    allow inheriting from parents (fixes #76302)
  - Use Control's InternalBorderStyle property to deal with borders

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

18 years ago * MdiChildContext.cs: Use the new xplatui function to draw a
Jackson Harper [Thu, 6 Oct 2005 19:19:53 +0000 (19:19 -0000)]
* MdiChildContext.cs: Use the new xplatui function to draw a
reversible rect.

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

18 years ago2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Oct 2005 18:49:01 +0000 (18:49 -0000)]
2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>

* FontInfo.cs: Gendarme strikes again. Sealed class have no need for
inheritance demands.
* FontUnit.cs: Structs are sealed so there's no need for inheritance
demands.
* Unit.cs: Structs are sealed so there's no need for inheritance
demands.

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

18 years ago * Form.cs: Add the parent before creating the child context cause
Jackson Harper [Thu, 6 Oct 2005 18:46:21 +0000 (18:46 -0000)]
* Form.cs: Add the parent before creating the child context cause
we need the parent when setting up the child.

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

18 years agoFix Sqlite encoding bug.
Chris Lahey [Thu, 6 Oct 2005 18:37:04 +0000 (18:37 -0000)]
Fix Sqlite encoding bug.

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

18 years ago2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 Oct 2005 18:24:09 +0000 (18:24 -0000)]
2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PagedDataSource.cs: fix the upper bound for collection and ilist
enumarators.

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

18 years ago2005-10-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 6 Oct 2005 16:11:01 +0000 (16:11 -0000)]
2005-10-06  Marek Safar <marek.safar@seznam.cz>

* test-459.cs: New test.

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

18 years ago2005-10-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 6 Oct 2005 16:03:46 +0000 (16:03 -0000)]
2005-10-06  Marek Safar  <marek.safar@seznam.cz>

* convert.cs(ExplicitConversionCore): Removed duplicate enum
conversion.

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

18 years agofix build
Dick Porter [Thu, 6 Oct 2005 16:02:11 +0000 (16:02 -0000)]
fix build

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

18 years agoIn gmcs:
Raja R Harinath [Thu, 6 Oct 2005 15:51:12 +0000 (15:51 -0000)]
In gmcs:
Fix gtest-131.cs and gtest-211.cs.
* generic.cs (Nullable.LiftedBinaryOperator.EmitEquality):
Only emit code for a label if it is used.  Unreachable code can
violate ECMA evaluation stack invariants.

In tests:
* gtest-211.cs: New test to check that we don't emit unreachable
code that violates execution stack invariants.

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

18 years ago2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Oct 2005 15:50:50 +0000 (15:50 -0000)]
2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>

* X509Chain.cs: Fixed the case where no chain is present (self signed)

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

18 years ago * Makefile.am (MPH_C_SOURCE): Add string.c.
Jonathan Pryor [Thu, 6 Oct 2005 15:33:42 +0000 (15:33 -0000)]
  * Makefile.am (MPH_C_SOURCE): Add string.c.
  * string.c: Added; exports strlen(3) wrapper.
  * map-icalls.h: Prototype for strlen(3) wrapper.

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

18 years ago * UnixDirectory.cs, UnixDirectoryInfo.cs UnixFile.cs, UnixFileSystemInfo.cs,
Jonathan Pryor [Thu, 6 Oct 2005 14:59:19 +0000 (14:59 -0000)]
  * UnixDirectory.cs, UnixDirectoryInfo.cs UnixFile.cs, UnixFileSystemInfo.cs,
    UnixGroupInfo.cs, UnixIOException.cs, UnixStream.cs, UnixUserInfo.cs:
    API Review: Obsolete appropriate members and add appropriate overloads for
    pending move to Mono.Unix.Native types.
  * UnixMarshal.cs: API Review; add StringToAlloc().

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

18 years agoDocumentation.
Martin Baulig [Thu, 6 Oct 2005 14:38:58 +0000 (14:38 -0000)]
Documentation.

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

18 years ago2006-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Oct 2005 14:24:17 +0000 (14:24 -0000)]
2006-10-06  Sebastien Pouliot  <sebastien@ximian.com>

* ASN1ConvertTest.cs: Adjusted big integer convertion test cases for
both a sign-extended result and a "normal" (not extended) result.

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

18 years ago2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Oct 2005 14:22:56 +0000 (14:22 -0000)]
2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>

* ASN1Convert.cs: Better handle big integer than cannot be interpreted
as a negative number (don't extend). Fix bug #75778.

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

18 years ago2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Oct 2005 14:22:21 +0000 (14:22 -0000)]
2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>

* ASN1Convert.cs: Better handle big integer than cannot be interpreted
as a negative number (don't extend). Fix bug #75778.

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

18 years ago2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Oct 2005 13:42:03 +0000 (13:42 -0000)]
2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>

* ClientRecordProtocol.cs: Update HandshakeMessages after each
message. Fix bug #76258.
* RecordProtocol.cs: Remove writing into the HandshakeMessages stream
at this stage. We may need the data before that. Fix bug #76258.
* ServerRecordProtocol.cs: Update HandshakeMessages after each
message. Fix bug #76258.
* SslServerStream.cs: Changed check for the presence of client
certificates during handshake.

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

18 years ago2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Oct 2005 13:20:21 +0000 (13:20 -0000)]
2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>

* ThreadTest.cs: Added regression test for #76332 when an IPrincipal
instance should be copied in any new thread created.

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

18 years ago2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Oct 2005 13:04:15 +0000 (13:04 -0000)]
2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>

* Thread.cs: Copy an existing IPrincipal to new threads. Fix bug
#76332.

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

18 years ago2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Oct 2005 12:53:38 +0000 (12:53 -0000)]
2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>

* Thread.cs: Added new attributes, [ReliabilityContract] for
destructor and [Obsolete] for [Get|Set]CompressedStack, that were
added in 2.0 RC.

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

18 years ago* System.Configuration/ConfigurationManagerTest.cs
Raja R Harinath [Thu, 6 Oct 2005 12:49:21 +0000 (12:49 -0000)]
* System.Configuration/ConfigurationManagerTest.cs
(exePath_UserLevelNone_absolute, exePath_UserLevelNone)
(exePath_UserLevelNone_null): Disable compilation.  The
corresponding overloads don't exist.

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

18 years ago2005-10-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 6 Oct 2005 10:27:57 +0000 (10:27 -0000)]
2005-10-06  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_layout_fields): Compute klass->has_references
correctly if an embedded valuetype is not yet initialized. Fixes
#76331.

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

18 years ago2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 Oct 2005 07:47:04 +0000 (07:47 -0000)]
2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: change the ListItemType for the item selected, set
SelectedIndex before calling OnSelectedIndexChanged and set the selected
item type correctly when creating the columns. Fixes bug #76334.

* ButtonColumn.cs:
* EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
selecting the row, the button keep the regular link color.

* DataGridColumn.cs: made the class internal.

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

18 years ago * FolderBrowserDialog.cs: redo the tree population code so a
Jackson Harper [Thu, 6 Oct 2005 07:26:19 +0000 (07:26 -0000)]
* FolderBrowserDialog.cs: redo the tree population code so a
second thread isn't used. Should be a lot faster and more stable
now.

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

18 years agoRemove space after perl, otherwise it won't run
Wade Berrier [Wed, 5 Oct 2005 23:15:07 +0000 (23:15 -0000)]
Remove space after perl, otherwise it won't run
on cygwin

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

18 years ago * TreeView.cs: There are no expand/collapse boxes if the node has
Jackson Harper [Wed, 5 Oct 2005 23:09:05 +0000 (23:09 -0000)]
* TreeView.cs: There are no expand/collapse boxes if the node has
no children.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 22:36:48 +0000 (22:36 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* System.Configuration_test.dll.sources: add a bunch of new tests.

* System.Configuration.dll.sources: add a bunch of new files to
the build.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 22:31:27 +0000 (22:31 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* ConfigurationPermissionAttribute.cs: stub out.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 22:29:16 +0000 (22:29 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* TimeSpanMinutesOrInfiniteConverter.cs: fill in the
implementation.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 22:28:35 +0000 (22:28 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* System.Configuration/TimeSpanMinutesOrInfiniteConverterTest.cs:
new tests.

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

18 years agocorrect comment
Chris Toshok [Wed, 5 Oct 2005 22:28:09 +0000 (22:28 -0000)]
correct comment

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

18 years agoadd myself as an author
Chris Toshok [Wed, 5 Oct 2005 22:27:39 +0000 (22:27 -0000)]
add myself as an author

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 22:01:28 +0000 (22:01 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* System.Configuration/TimeSpanSecondsConverterTest.cs: new tests.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 22:01:05 +0000 (22:01 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* TimeSpanSecondsConverter.cs: new implementation.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 21:30:03 +0000 (21:30 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* System.Configuration/TimeSpanMinutesConverterTest.cs: new tests.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 21:26:26 +0000 (21:26 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* TimeSpanMinutesConverter.cs: flesh out implementation.

* ConfigurationConverterBase.cs: make all subclasses work with
strings only, since that's what seems to manifest itself in the
tests.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 19:58:10 +0000 (19:58 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* ConfigurationLockCollection.cs: add NIE'd AttributeList
property.

* ConfigurationConverterBase.cs: add MonoTODO'd CanConvertFrom and
CanConvertTo methods.

* ConfigurationSectionGroup.cs: add NIE'd IsDeclared property.

* ProtectedConfigurationSection.cs: add NIE'd properties.

* ConfigurationElementCollection.cs: add MonoTODO'd IsReadOnly
and SetReadOnly methods, and have then chain up to the base class.

* KeyValueConfigurationCollection.cs: add the class level
ConfigurationCollectionAttribute, and add a NIE'ed Properties
property.

* ProviderSettingsCollection.cs: add the class level
ConfigurationCollectionAttribute, and add a "new" keyword to the
this property.  Also, nuke the Provider's property.

* SectionInformation.cs: add some NEI'd properties.

* ConfigurationSection.cs (ResetModified): leave the MonoTODO, but
chain up to base class's method instead of throwing NIE.

* ConnectionStringSettingsCollection.cs: add the class-level
ConfigurationCollectionAttribute, and add the unimplemented
Properties property.

* ConfigurationErrorsException.cs: flesh this out, and add a
pragma to disable the obsolete warnings from our base class.

* ProviderSettings.cs: add unimplemented Properties property.

* ConfigurationElement.cs: remove unnecessary
EvaluationInformation.

* InternalConfigurationRoot.cs: add unimplemented IsDesignTime
property.

* ConfigurationProperty.cs: add a missing ctor.

* AppSettingsSection.cs: add missing "override" keyword.

* ConnectionStringsSection.cs: remove override.

* ConfigurationSectionCollection.cs: AllKeys -> Keys, and add
unimplemented GetObjectData override.

* ConfigurationSectionGroupCollection.cs: same.

* ConfigurationCollectionAttribute.cs: add missing CollectionType
property.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 19:57:38 +0000 (19:57 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* ConfigurationLockCollection.cs: add NIE'd AttributeList
property.

* ConfigurationConverterBase.cs: add MonoTODO'd CanConvertFrom and
CanConvertTo methods.

* ConfigurationSectionGroup.cs: add NIE'd IsDeclared property.

* ProtectedConfigurationSection.cs: add NIE'd properties.

* ConfigurationElementCollection.cs: add MonoTODO'd IsReadOnly
and SetReadOnly methods, and have then chain up to the base class.

* KeyValueConfigurationCollection.cs: add the class level
ConfigurationCollectionAttribute, and add a NIE'ed Properties
property.

* ProviderSettingsCollection.cs: add the class level
ConfigurationCollectionAttribute, and add a "new" keyword to the
this property.  Also, nuke the Provider's property.

* SectionInformation.cs: add some NEI'd properties.

* ConfigurationSection.cs (ResetModified): leave the MonoTODO, but
chain up to base class's method instead of throwing NIE.

* ConnectionStringSettingsCollection.cs: add the class-level
ConfigurationCollectionAttribute, and add the unimplemented
Properties property.

* ConfigurationErrorsException.cs: flesh this out, and add a
pragma to disable the obsolete warnings from our base class.

* ProviderSettings.cs: add unimplemented Properties property.

* ConfigurationElement.cs: remove unnecessary
EvaluationInformation.

* InternalConfigurationRoot.cs: add unimplemented IsDesignTime
property.

* ConfigurationProperty.cs: add a missing ctor.

* AppSettingsSection.cs: add missing "override" keyword.

* ConnectionStringsSection.cs: remove override.

* ConfigurationSectionCollection.cs: AllKeys -> Keys, and add
unimplemented GetObjectData override.

* ConfigurationSectionGroupCollection.cs: same.

* ConfigurationCollectionAttribute.cs: add missing CollectionType
property.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 19:41:34 +0000 (19:41 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* ConfigurationPermission.cs: new implementation.

* IgnoreSection.cs: new implementation.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 19:40:31 +0000 (19:40 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* System.Configuration/ConfigurationPermissionTest.cs: beginnings
of tests.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 18:15:10 +0000 (18:15 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* System.Configuration/CommaDelimitedStringCollectionTest.cs: new
tests.

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

18 years ago2005-10-05 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>
Alexandre Rocha Lima e Marcondes [Wed, 5 Oct 2005 18:13:40 +0000 (18:13 -0000)]
2005-10-05 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>
  * ecore.cs : Created a public property (Id) to access
          externally the field id in DecoratedIdentifier class
  * assign.cs : Before get the expression for construct 'Mid'
          statement testing if that expression is 'DecoratedIdentifier',
          and, if it is, getting the expression assigned in its 'id' field.

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

18 years ago * X11DesktopColors.cs: Get menu colours for the gtk theme.
Jackson Harper [Wed, 5 Oct 2005 18:12:54 +0000 (18:12 -0000)]
* X11DesktopColors.cs: Get menu colours for the gtk theme.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 18:07:49 +0000 (18:07 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* CommaDelimitedStringCollection.cs: new implementation.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 17:48:37 +0000 (17:48 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* NameValueConfigurationCollection.cs: new implementation.

* NameValueConfigurationElement.cs: new implementation.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 17:47:16 +0000 (17:47 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* ValidatorCallback.cs: new implementation.

* SubclassTypeValidator.cs, SubclassTypeValidatorAttribute.cs: new
implementation.

* CallbackValidator.cs, CallbackValidatorAttribute.cs: new
implementation.

* RegexStringValidator.cs, RegexStringValidatorAttribute.cs: new
implementation.

* LongValidator.cs, LongValidatorAttribute.cs: new implementation.

* IntegerValidator.cs, IntegerValidatorAttribute.cs: new
implementation.

* DefaultValidator.cs: new implementation.

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