mono.git
17 years ago2006-11-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 13 Nov 2006 18:52:53 +0000 (18:52 -0000)]
2006-11-13  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate.cs: Add support for PEM encoded (base64) x.509
certificates (supported in 2.0).

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

17 years ago2006-11-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Mon, 13 Nov 2006 18:51:36 +0000 (18:51 -0000)]
2006-11-13  Rolf Bjarne Kvinge  <RKvinge@novell.com>

        * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
        stack in PaintEventStart so that it won't get disposed by the gc
        before reaching PaintEventEnd.

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

17 years ago * mph.h: Add macro for XATTR_AUTO, so that XattrFlags mapping works (as
Jonathan Pryor [Mon, 13 Nov 2006 17:05:59 +0000 (17:05 -0000)]
* mph.h: Add macro for XATTR_AUTO, so that XattrFlags mapping works (as
  XATTR_AUTO is a value which frequently isn't definedy by any OS, yet it
  has the value 0, a default value which is supported by most OS's).

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

17 years ago2006-11-13 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 13 Nov 2006 17:02:17 +0000 (17:02 -0000)]
2006-11-13  Dick Porter  <dick@ximian.com>

        * Directory.cs: Don't follow symlinks when deleting directories.
        Keeps bug 79733 fixed while fixing bug 79887.

        * MonoIO.cs: ExistsSymlink() added, which checks for
        FileAttributes.ReparsePoint.

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

17 years ago2006-11-13 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 13 Nov 2006 17:01:56 +0000 (17:01 -0000)]
2006-11-13  Dick Porter  <dick@ximian.com>

        * io.c (_wapi_stat_to_file_attributes): If the file is a symlink
        add the FILE_ATTRIBUTE_REPARSE_POINT flag.  This is an attempt to
        follow the specs for the windows symlink support, but will
        probably have to be reworked when I have test data from a vista
        machine.  Fixes bug 79887.

2006-11-13  Dick Porter  <dick@ximian.com>

        * file-io.c (get_file_attributes): If the file is a symlink try
        and get the stat data for the target, but also add the
        FILE_ATTRIBUTE_REPARSE_POINT flag.  This is an attempt to follow
        the specs for the windows symlink support, but will probably have
        to be reworked when I have test data from a vista machine.  Fixes
        bug 79887.

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

17 years ago* SqlDataSourceDerbyTest.cs: added net_2_0 and TARGET_JVM ifdef
Vladimir Krasnov [Mon, 13 Nov 2006 16:42:54 +0000 (16:42 -0000)]
* SqlDataSourceDerbyTest.cs: added net_2_0 and TARGET_JVM ifdef

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

17 years ago - We don't need to position the caret on mouse up, since
Jackson Harper [Mon, 13 Nov 2006 16:01:20 +0000 (16:01 -0000)]
            - We don't need to position the caret on mouse up, since
                  the mouse
        move handler should be doing this
        - When double clicking a blank line, the caret is advanced to
          the
        next line.

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

17 years ago* LoginTest.cs: login tests converted to webtest
Vladimir Krasnov [Mon, 13 Nov 2006 15:49:36 +0000 (15:49 -0000)]
* LoginTest.cs: login tests converted to webtest
* LoginViewTest.cs: removed NotWorking attributes

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

17 years ago2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 13 Nov 2006 15:46:32 +0000 (15:46 -0000)]
2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>

* CompositeDataBoundControl.cs: fixed:
DataBind sets ChildControlsCreated=true.

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

17 years ago * TextBoxBase.cs: Don't select the word if we are on a line with
Jackson Harper [Mon, 13 Nov 2006 15:44:19 +0000 (15:44 -0000)]
    * TextBoxBase.cs: Don't select the word if we are on a line with
        no text.

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

17 years ago* Login.cs: fixed CreateChildControls, throws exception if needed control not found
Vladimir Krasnov [Mon, 13 Nov 2006 15:36:24 +0000 (15:36 -0000)]
* Login.cs: fixed CreateChildControls, throws exception if needed control not found
* LoginView.cs: fixed CreateChildControls, check templates for null

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

17 years ago2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 13 Nov 2006 14:58:08 +0000 (14:58 -0000)]
2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs: fix typo that prevented Server.Execute from restoring
the initial output stream used. Closes bug #79916.

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

17 years agoMon Nov 13 15:54:38 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Nov 2006 14:55:08 +0000 (14:55 -0000)]
Mon Nov 13 15:54:38 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini-arm.c: fixed wrnings.

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

17 years ago2006-11-13 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 13 Nov 2006 14:21:36 +0000 (14:21 -0000)]
2006-11-13  Dick Porter  <dick@ximian.com>

        * gc.c (mono_domain_finalize):
        * marshal.c (mono_delegate_begin_invoke):
        * threadpool.c (socket_io_init, mono_thread_pool_init)
        (mono_thread_pool_finish):
        * monitor.c (mono_monitor_try_enter_internal):
        * threads.c (mono_thread_resume, mono_thread_init)
        (mono_thread_suspend_all_other_threads)
        (mono_thread_execute_interruption):
        * appdomain.c (mono_domain_unload): Check for NULL error returns
        from CreateThread(), CreateEvent() and CreateSemaphore().  See bug
        75733.

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

17 years ago* ControlEventTest.cs: Added tests for Invalidated event.
Gert Driesen [Mon, 13 Nov 2006 14:11:38 +0000 (14:11 -0000)]
* ControlEventTest.cs: Added tests for Invalidated event.
* TreeNodeCollectionTest.cs: Added IList indexer tests.
* TreeNodeCollection.cs: Avoid duplicating indexer code.

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

17 years agosvn path=/trunk/mcs/; revision=67754
Vladislav Spivak [Mon, 13 Nov 2006 13:45:18 +0000 (13:45 -0000)]
svn path=/trunk/mcs/; revision=67754

17 years agosvn path=/trunk/mcs/; revision=67753
Vladislav Spivak [Mon, 13 Nov 2006 13:45:12 +0000 (13:45 -0000)]
svn path=/trunk/mcs/; revision=67753

17 years agoFix problems with over-long directory names: phase #2
Raja R Harinath [Mon, 13 Nov 2006 10:48:38 +0000 (10:48 -0000)]
Fix problems with over-long directory names: phase #2

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

17 years agoFix problems with overlong directory names: phase #1
Raja R Harinath [Mon, 13 Nov 2006 10:44:08 +0000 (10:44 -0000)]
Fix problems with overlong directory names: phase #1

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

17 years agouse Type.GetType for loading full qualified types since Assembly.GetType() fails...
Konstantin Triger [Mon, 13 Nov 2006 10:35:51 +0000 (10:35 -0000)]
use Type.GetType for loading full qualified types since Assembly.GetType() fails to load them

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

17 years ago* WizardTest.cs: removed NotWorking attributes, removed Init test (implementeation...
Vladimir Krasnov [Mon, 13 Nov 2006 09:38:00 +0000 (09:38 -0000)]
* WizardTest.cs: removed NotWorking attributes, removed Init test (implementeation specific)

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

17 years ago* Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button rendering, fixed...
Vladimir Krasnov [Mon, 13 Nov 2006 09:32:19 +0000 (09:32 -0000)]
* Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button rendering, fixed history updating
* WizardStepCollection.cs: fixed implemented interfaces

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

17 years agomissing files were added
Igor Zelmanovich [Mon, 13 Nov 2006 08:44:51 +0000 (08:44 -0000)]
missing files were added

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

17 years ago* XmlDataSource.cs: CacheKeyDependency fixed
Vladimir Krasnov [Mon, 13 Nov 2006 08:39:32 +0000 (08:39 -0000)]
* XmlDataSource.cs: CacheKeyDependency fixed

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

17 years agoXmlDataSourceTest.cs: comment added
Vladimir Krasnov [Mon, 13 Nov 2006 08:36:37 +0000 (08:36 -0000)]
XmlDataSourceTest.cs: comment added

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

17 years ago2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 13 Nov 2006 08:35:05 +0000 (08:35 -0000)]
2006-11-13  Igor Zelmanovich  <igorz@mainsoft.com>

* HtmlContainerControl.cs: fixed: InnerHtml property

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

17 years agoalign with latest changes in *.sources file
Konstantin Triger [Mon, 13 Nov 2006 07:50:23 +0000 (07:50 -0000)]
align with latest changes in *.sources file

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

17 years ago2006-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 13 Nov 2006 04:04:15 +0000 (04:04 -0000)]
2006-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* String.cs : fixed incorrect startIndex/length count in
  IndexOf(string,StringComparison).

* StringTest.cs : added test for IndexOf(string,StringComparison).

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

17 years agoImplementation of the DisplayNameAttribute class and associated tests. The previous...
Marek Habersack [Sun, 12 Nov 2006 21:21:50 +0000 (21:21 -0000)]
Implementation of the DisplayNameAttribute class and associated tests. The previous had TraceEventCache.cs mentioned in the System.dll.sources file - it shouldn't have been there. Sorry about the problem it caused.

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

17 years agoImplementation of the 2.0 HttpContext.RewritePath overloads
Marek Habersack [Sun, 12 Nov 2006 21:18:19 +0000 (21:18 -0000)]
Implementation of the 2.0 HttpContext.RewritePath overloads

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

17 years agosvn path=/trunk/mcs/; revision=67738
Vladislav Spivak [Sun, 12 Nov 2006 15:49:57 +0000 (15:49 -0000)]
svn path=/trunk/mcs/; revision=67738

17 years ago2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 12 Nov 2006 13:39:59 +0000 (13:39 -0000)]
2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs: fixed:  DataKeys, PageCount, DataBinding flow.

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

17 years ago* ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
Gert Driesen [Sun, 12 Nov 2006 13:06:08 +0000 (13:06 -0000)]
* ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
Fixes part of bug #79910.

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

17 years ago2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 12 Nov 2006 12:59:15 +0000 (12:59 -0000)]
2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>

* LiteralControl.cs: fixed: constructors & Text property

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

17 years ago* MultiViewTest.cs: removed NotWorking test
Vladimir Krasnov [Sun, 12 Nov 2006 12:43:32 +0000 (12:43 -0000)]
* MultiViewTest.cs: removed NotWorking test

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

17 years ago2006-11-10 Jensen Somers <jensen.somers@gmail.com>
Miguel de Icaza [Sun, 12 Nov 2006 12:19:01 +0000 (12:19 -0000)]
2006-11-10  Jensen Somers  <jensen.somers@gmail.com>

        * Added ComVisibleAttribute in the ISerializable,
        ISerializationSurrogate and ISurrogateSelector interface.
        * Added the sealed keyword to the OnDeserializedAttribute,
        OnDeserializingAttribute, OnSerializedAttribute,
        OnSerializingAttribute and OptionalFieldAttribute class.

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

17 years ago* TextBoxTest.cs: Added (NotWorking) test for bug #79909.
Gert Driesen [Sun, 12 Nov 2006 09:46:33 +0000 (09:46 -0000)]
* TextBoxTest.cs: Added (NotWorking) test for bug #79909.

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

17 years agoFix the build (reverted r67723 due to a missing file).
Robert Jordan [Sat, 11 Nov 2006 23:35:24 +0000 (23:35 -0000)]
Fix the build (reverted r67723 due to a missing file).

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

17 years ago* TreeViewTest.cs: Added (NotWorking) tests for BeforeSelect event.
Gert Driesen [Sat, 11 Nov 2006 22:50:29 +0000 (22:50 -0000)]
* TreeViewTest.cs: Added (NotWorking) tests for BeforeSelect event.

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

17 years agoAdded implementation of System.ComponentModel.DisplayNameAttribute and associated...
Marek Habersack [Sat, 11 Nov 2006 20:26:18 +0000 (20:26 -0000)]
Added implementation of System.ComponentModel.DisplayNameAttribute and associated tests

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

17 years ago2006-11-11 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 11 Nov 2006 18:07:26 +0000 (18:07 -0000)]
2006-11-11  Miguel de Icaza  <miguel@novell.com>

* handles.c (CloseHandle): Cope here with the new value
INVALID_HANDLE_VALUE set on handles.

* processes.c (CreateProcess): Initialize the value of hThread to
be INVALID_HANDLE_VALUE on failure, not to be NULL.  Improvement
for #75733

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

* process.c
(ves_icall_System_Diagnostics_Process_CreateProcess_internal):
Only close the handle if the value of the handle is not
INVALID_HANDLE_VALUE.  This just makes the process a bit more
robust.

Improvement for #75733, so that we do not run into this problem.

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

17 years agoAdd even more clarifications
Miguel de Icaza [Sat, 11 Nov 2006 16:42:19 +0000 (16:42 -0000)]
Add even more clarifications

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

17 years agoUpdate man page with more information
Miguel de Icaza [Sat, 11 Nov 2006 16:28:13 +0000 (16:28 -0000)]
Update man page with more information

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

17 years ago2006-11-11 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 11 Nov 2006 15:00:30 +0000 (15:00 -0000)]
2006-11-11  Miguel de Icaza  <miguel@novell.com>

* assembly.c (check_path_env, check_extra_gac_path_env): Do not
include empty directories from MONO_PATH or MONO_GAC_PREFIX in our
internal variables.  Fixes #79462

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

17 years ago2006-11-11 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sat, 11 Nov 2006 14:03:14 +0000 (14:03 -0000)]
2006-11-11  Alexander Olk  <alex.olk@googlemail.com>

* ColorDialog.cs: Fix a NRE when adding a color to custom colors
  (bug #79903). Some minor string updates to match ms.

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

17 years ago2006-11-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 10 Nov 2006 18:52:55 +0000 (18:52 -0000)]
2006-11-10  Marek Safar  <marek.safar@gmail.com>

* CultureInfo.cs (TextInfo): Construct a culture when is
uninitialized. An issue exposed by previous change.

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

17 years agoTypo fixes.
Paolo Molaro [Fri, 10 Nov 2006 18:42:10 +0000 (18:42 -0000)]
Typo fixes.

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

17 years agoFri Nov 10 19:18:32 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 10 Nov 2006 18:22:08 +0000 (18:22 -0000)]
Fri Nov 10 19:18:32 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini-arm.c, mini-arm.h, cpu-arm.md, inssel-float.brg,
inssel-arm.brg: ARM support for soft-float.

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

17 years ago2006-11-10 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 10 Nov 2006 18:11:44 +0000 (18:11 -0000)]
2006-11-10  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Don't add an extension if the filename
  already ends with that extension.

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

17 years agoFri Nov 10 18:38:15 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 10 Nov 2006 18:11:21 +0000 (18:11 -0000)]
Fri Nov 10 18:38:15 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini.c, jit-icalls.c, jit-icalls.h: added first cut at handling
loads and stores of 32 bit fp values.

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

17 years ago - CanUndo means 'is there any undo operations', not 'is undo
Jackson Harper [Fri, 10 Nov 2006 17:48:38 +0000 (17:48 -0000)]
    - CanUndo means 'is there any undo operations', not 'is undo
        allowed on this textcontrol. Fixed ClearUndo unit test.

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

17 years ago * TextBoxBase.cs: There is no need to expand selection on
Jackson Harper [Fri, 10 Nov 2006 17:37:10 +0000 (17:37 -0000)]
    * TextBoxBase.cs: There is no need to expand selection on
        MouseMove.

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

17 years ago2006-11-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 10 Nov 2006 17:04:15 +0000 (17:04 -0000)]
2006-11-10  Zoltan Varga  <vargaz@gmail.com>

* mini-sparc.c (is_regsize_var): Support PTR/FNPTR too.

* tramp-sparc.c (mono_arch_patch_callsite): Fix this function so it actually
works. Fixes #79852 and #79463.

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

17 years ago * TreeView.cs: Use the currently highlighted node for the
Jackson Harper [Fri, 10 Nov 2006 15:48:54 +0000 (15:48 -0000)]
    * TreeView.cs: Use the currently highlighted node for the
        BeforeSelect event.

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

17 years ago* Button.cs: only perform click when button is Selectable (so as
Andreia Gaita [Fri, 10 Nov 2006 15:11:26 +0000 (15:11 -0000)]
* Button.cs: only perform click when button is Selectable (so as
not to activate default buttons when they're disabled)

* Control.cs: Rewrite of the SelectNextControl and related
methods. HandleClick now selects next control if the current one
is being disabled.

* Form.cs: OnActivated selects next active control only if Load
has already occurred. If Load hasn't run, there's no point in
selecting here, Load might change the state of controls.

* FocusTest.cs: Tests marked as working again for these fixes

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

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

17 years ago2006-11-10 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 10 Nov 2006 14:25:36 +0000 (14:25 -0000)]
2006-11-10  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs: a couple of fixes.

- use XInternAtoms with almost all the atoms we need to register,
instead of many, many calls to XInternAtom.  should help a bit on
startup time, at the expense of making the code look a little
worse.

- fall back to setting TransientFor on TOOLWINDOW's if their hwnd
isn't reparented (which seems to be a clue that we're running fon
compiz) and they have an Owner form.  This fixes the tool windows
in paint.net when running under compiz.

- when setting the opacity of a window, support both the case
where the window has been reparented and also when it hasn't been.
Since compiz/beryl doesn't seem to reparent windows, and these are
the only window managers which support translucency, I'm not sure
why we need the hwnd.reparented case at all.. but leave it in.
now we get translucent windows in paint.net under compiz/beryl.

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

17 years agoNow we can safely set eol-style:native.
Atsushi Eno [Fri, 10 Nov 2006 10:28:24 +0000 (10:28 -0000)]
Now we can safely set eol-style:native.

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

17 years agoThis namespace is a horrible nest of mixed line endings :-(
Atsushi Eno [Fri, 10 Nov 2006 10:27:11 +0000 (10:27 -0000)]
This namespace is a horrible nest of mixed line endings :-(

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

17 years agoeol-style:native.
Atsushi Eno [Fri, 10 Nov 2006 10:13:46 +0000 (10:13 -0000)]
eol-style:native.

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

17 years ago2006-11-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 10 Nov 2006 10:01:59 +0000 (10:01 -0000)]
2006-11-10  Atsushi Enomoto  <atsushi@ximian.com>

Fixed bug #77117.
* XmlReflectionImporter.cs : Compute nullable correctly. Elements are
  nillable when its type is a reference type.
* XmlSchemaExporter.cs :
  Set XmlTypeMapElementInfo.IsNullable from XmlTypeMapping.
  Set XmlSchemaElement.IsNillable from XmlTypeMapElementInfo.

* XmlSchemaExporterTests.cs :
  fixed almost all test cases which expected totally wrong schemas.
  Schema elements are all nillable unless it is of value type.

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

17 years ago2006-11-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 10 Nov 2006 01:39:23 +0000 (01:39 -0000)]
2006-11-10  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigator.cs :
  - ReadSubtree() should reject everything but Element or Root.
  - InnerXml and OuterXml should not use ReadSubtree() when it is
    not positioned on an Element or the Root. Thus, implement them
    in their own ways. Fixed bug #79875.

* XPathNavigatorTests.cs : added test for bug #79875, and some
  "escaped" text tests for InnerXml.
* XPathNavigatorReaderTests.cs : make sure that most of XPath nodes
  are rejected to read subtree.

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

17 years ago2006-11-10 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 10 Nov 2006 01:15:58 +0000 (01:15 -0000)]
2006-11-10  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Always return the value for FilterIndex that
  was set. Internally convert it to values that make sense.

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

17 years agoFix drowp down arrow borders
Everaldo Canuto [Fri, 10 Nov 2006 01:10:38 +0000 (01:10 -0000)]
Fix drowp down arrow borders

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

17 years agoFixes ToolBar DropDownButton..
Everaldo Canuto [Fri, 10 Nov 2006 00:34:16 +0000 (00:34 -0000)]
Fixes ToolBar DropDownButton..

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

17 years ago2006-11-10 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 10 Nov 2006 00:11:14 +0000 (00:11 -0000)]
2006-11-10  Alexander Olk  <alex.olk@googlemail.com>

* MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  only available on Linux.

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

17 years ago2006-11-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 10 Nov 2006 00:08:43 +0000 (00:08 -0000)]
2006-11-10  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigator.cs : InnerXml should allow Text-only content. Fixed
  bug #79874, when tied to XPathNavigatorReader fix.

* XPathNavigatorReader.cs : removed node type restriction on
  initialization.  Fixed bug #79874, when tied to XPathNavigator fix.

* XPathNavigatorTests.cs : added test for bug #79874.

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

17 years agoFix wrong separator size
Everaldo Canuto [Thu, 9 Nov 2006 22:03:23 +0000 (22:03 -0000)]
Fix wrong separator size

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

17 years ago2006-11-09 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 9 Nov 2006 21:25:52 +0000 (21:25 -0000)]
2006-11-09  Mike Kestner  <mkestner@novell.com>

* ListView.cs : raise SelectedIndexChanged when an item is selected
programmatically via the Item.Selected property.  Gert's nice
ListViewSelectedIndexChanged test fixture now runs clean.

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

17 years ago2006-11-09 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 9 Nov 2006 21:08:34 +0000 (21:08 -0000)]
2006-11-09  Mike Kestner  <mkestner@novell.com>

* ListView.cs : raise SelectedIndexChanged when a selected item is
removed from the item collection using Remove or RemoveAt.

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

17 years ago2006-11-09 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 9 Nov 2006 21:05:19 +0000 (21:05 -0000)]
2006-11-09  Mike Kestner  <mkestner@novell.com>

* ListView.cs : raise SelectedIndexChanged when a selected item is
removed from the item collection.

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

17 years agoremove theme specific font size check
Chris Toshok [Thu, 9 Nov 2006 20:46:28 +0000 (20:46 -0000)]
remove theme specific font size check

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

17 years ago2006-11-09 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 9 Nov 2006 20:40:50 +0000 (20:40 -0000)]
2006-11-09  Mike Kestner  <mkestner@novell.com>

* ListView.cs : raise SelectedIndexChanged once per selected item
for compat with MS.  Fixes #79849+.

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

17 years agoremove some layout/rendering specific asserts, and fix the RowCount property in TabCo...
Chris Toshok [Thu, 9 Nov 2006 20:38:37 +0000 (20:38 -0000)]
remove some layout/rendering specific asserts, and fix the RowCount property in TabControl, so we can enable this test.

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

17 years agothis test works on mono
Chris Toshok [Thu, 9 Nov 2006 20:38:03 +0000 (20:38 -0000)]
this test works on mono

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

17 years ago * TabControl.cs: initialize row_count to 0, and set it to 1 when
Chris Toshok [Thu, 9 Nov 2006 20:37:36 +0000 (20:37 -0000)]
* TabControl.cs: initialize row_count to 0, and set it to 1 when
we need to (if we have any tab pages).  Fixes unit test.

2006-11-09  Chris Toshok  <toshok@ximian.com>

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

17 years agoOne more occurrence of the unused field removed
Marek Habersack [Thu, 9 Nov 2006 20:25:36 +0000 (20:25 -0000)]
One more occurrence of the unused field removed

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

17 years ago* ListViewEventTest.cs: Added tests for SelectedIndexChanged event.
Gert Driesen [Thu, 9 Nov 2006 20:24:09 +0000 (20:24 -0000)]
* ListViewEventTest.cs: Added tests for SelectedIndexChanged event.
* UpDownTest.cs: Fixed ToStringTest.

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

17 years agowe pass this test now
Chris Toshok [Thu, 9 Nov 2006 20:15:54 +0000 (20:15 -0000)]
we pass this test now

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

17 years ago2006-11-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 9 Nov 2006 20:15:35 +0000 (20:15 -0000)]
2006-11-09  Chris Toshok  <toshok@ximian.com>

* Label.cs (CalcPreferredWidth): if Text == "", our preferred
width is 0, not 3.  Fixes a unit test.

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

17 years agoadd tests inspired by bug #76647
Chris Toshok [Thu, 9 Nov 2006 19:38:49 +0000 (19:38 -0000)]
add tests inspired by bug #76647

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

17 years ago2006-11-09 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 9 Nov 2006 19:36:26 +0000 (19:36 -0000)]
2006-11-09  Mike Kestner  <mkestner@novell.com>

* ListView.cs : use Implicit scrollbars so that focus isn't
stolen from the listview when they are clicked. Fixes #79850.

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

17 years ago2006-11-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 9 Nov 2006 18:29:51 +0000 (18:29 -0000)]
2006-11-09  Marek Safar  <marek.safar@gmail.com>

* CompareInfo.cs: Cache full UseManagedCollation value;
* CultureInfo.cs (Parent): Add caching to avoid re-creating culture info
  every time when the property is used.
* TextInfo.cs: Removed unused field.

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

17 years ago2006-11-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 9 Nov 2006 18:28:33 +0000 (18:28 -0000)]
2006-11-09  Chris Toshok  <toshok@ximian.com>

* PropertyGridView.cs (OnPaint): only call DrawGridItems if we
have a root item.  Fixes #79879.

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

17 years agoIn .:
Alexander Olk [Thu, 9 Nov 2006 17:35:38 +0000 (17:35 -0000)]
In .:
2006-11-09  Alexander Olk  <alex.olk@googlemail.com>

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

In Test/System.Windows.Forms:
2006-11-09  Alexander Olk  <alex.olk@googlemail.com>

* CommonDialogsTest.cs: Added

In System.Windows.Forms:
2006-11-09  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs:
  - Fix ToString ()
  - An ArgumentException is now thrown if a wrong filter
    is applied (matches ms). The previous filter doesn't change
    anymore if an exception is thrown.
  - Changing the FileName property also affects FileNames
* ColorDialog.cs: The length of the CustomColors array is always
  16. It doesn't matter if we use a smaller array or null to update
  or change the custom colors property.
* FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  for RootFolder if we get a undefined value.

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

17 years ago2006-11-09 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 9 Nov 2006 16:51:10 +0000 (16:51 -0000)]
2006-11-09  Dick Porter  <dick@ximian.com>

        * socket-io.c (ves_icall_System_Net_Sockets_Socket_Poll_internal):
        Use poll() not select().  Fixes bug 79397.

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

17 years ago2006-11-09 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 9 Nov 2006 16:50:14 +0000 (16:50 -0000)]
2006-11-09  Dick Porter  <dick@ximian.com>

        * sockets.c (_wapi_select): Do some sanity checking on the
        fd_sets, to avoid file descriptors > FD_SETSIZE.
        (_wapi_FD_CLR, _wapi_FD_ISSET, _wapi_FD_SET): Avoid file
        descriptors > FD_SETSIZE.

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

17 years agoRemove debugging assert.
Paolo Molaro [Thu, 9 Nov 2006 16:06:44 +0000 (16:06 -0000)]
Remove debugging assert.

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

17 years agoThu Nov 9 16:56:13 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 9 Nov 2006 15:58:05 +0000 (15:58 -0000)]
Thu Nov 9 16:56:13 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini.c, mini-codegen.c, jit-icalls.c, jit-icalls.h:
more soft-float support WIP and fixes.

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

17 years agomove Mainsoft.Web.Administration under class/Mainsoft.Web
Konstantin Triger [Thu, 9 Nov 2006 15:47:12 +0000 (15:47 -0000)]
move Mainsoft.Web.Administration under class/Mainsoft.Web

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

17 years agomove Mainsoft.Web.Administration under class/Mainsoft.Web
Konstantin Triger [Thu, 9 Nov 2006 15:41:34 +0000 (15:41 -0000)]
move Mainsoft.Web.Administration under class/Mainsoft.Web

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

17 years agomove Mainsoft.Web.Administration under class/Mainsoft.Web
Konstantin Triger [Thu, 9 Nov 2006 15:38:38 +0000 (15:38 -0000)]
move Mainsoft.Web.Administration under class/Mainsoft.Web

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

17 years agoremove all the generated files
Konstantin Triger [Thu, 9 Nov 2006 15:27:10 +0000 (15:27 -0000)]
remove all the generated files

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

17 years agoremove all the generated files
Konstantin Triger [Thu, 9 Nov 2006 15:21:38 +0000 (15:21 -0000)]
remove all the generated files

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

17 years agouse IntPtr.Zero instead of (IntPtr) 0
Andrew Skiba [Thu, 9 Nov 2006 15:17:22 +0000 (15:17 -0000)]
use IntPtr.Zero instead of (IntPtr) 0

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

17 years ago2006-11-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 9 Nov 2006 14:58:40 +0000 (14:58 -0000)]
2006-11-09  Sebastien Pouliot  <sebastien@ximian.com>

* ApplicationSettingsBaseTest.cs: Added test case for StringCollection
properties (that encode the string list in XML).

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

17 years ago2006-11-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 9 Nov 2006 14:58:20 +0000 (14:58 -0000)]
2006-11-09  Sebastien Pouliot  <sebastien@ximian.com>

* ApplicationSettingsBase.cs: Add special case when dealing with
StringCollection in the Properties property.

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

17 years ago2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 9 Nov 2006 14:45:15 +0000 (14:45 -0000)]
2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.

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

17 years ago2006-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 9 Nov 2006 14:36:01 +0000 (14:36 -0000)]
2006-11-09  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaImporter.cs : top-level element might also have no type
  name specification, so just compare ElementType with anyType.

* XmlSchemaImporterTests.cs :
  added DefaultTypeTopLevelElementImportsAllComplexTypes().

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

17 years ago* ObjectDataSourceTest.cs, ObjectDataSourceViewTest.cs: removed NotWorking attributes...
Vladimir Krasnov [Thu, 9 Nov 2006 14:23:26 +0000 (14:23 -0000)]
* ObjectDataSourceTest.cs, ObjectDataSourceViewTest.cs: removed NotWorking attributes, added test case

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

17 years ago* System.Web.dll.sources: added DataSourceCasheManager.cs
Vladimir Krasnov [Thu, 9 Nov 2006 13:28:01 +0000 (13:28 -0000)]
* System.Web.dll.sources: added DataSourceCasheManager.cs
* System.Web20.vmwcsproj: added DataSourceCasheManager.cs
* ParameterCollection.cs: fixed SetDirtyObject method
* ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState utilization for control's properties, implemented caching
* SqlDataSource.cs, SqlDataSourceView.cs: implemented caching

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