mono.git
17 years ago2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Feb 2007 14:30:40 +0000 (14:30 -0000)]
2007-02-28  Sebastien Pouliot  <sebastien@ximian.com>

* Font.cs: Remove internal SysFontName setter property and add a new
ctor to replace it.
* SystemFonts.cs: We can't cache font instance (because anyone can
dispose them) so we must return new instances each time.

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

17 years agoconvert value only if it's convertable
Konstantin Triger [Wed, 28 Feb 2007 14:08:36 +0000 (14:08 -0000)]
convert value only if it's convertable

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

17 years ago * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
Everaldo Canuto [Wed, 28 Feb 2007 13:55:28 +0000 (13:55 -0000)]
* LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
get rectangle as a result value.

2007-02-28  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago2007-02-28 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 28 Feb 2007 13:10:32 +0000 (13:10 -0000)]
2007-02-28  Everaldo Canuto  <everaldo@simios.org>

* LinkLabel.cs: Theres some diferences between rectangle return from
MeasureCharacterRanges and the area used for DrawString to fix this
CalcMeasurementFactor method was created, it calcules the diferences
to be use later to adjust rectangle in draw operations. Fixes #80473.

* ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
to adjust draw rectangle.

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

17 years agoAdd extra null check to workaround an issue
Konstantin Triger [Wed, 28 Feb 2007 12:57:04 +0000 (12:57 -0000)]
Add extra null check to workaround an issue

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

17 years agocompare contextPath ignoring case
Konstantin Triger [Wed, 28 Feb 2007 12:50:50 +0000 (12:50 -0000)]
compare contextPath ignoring case

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

17 years ago2007-02-27 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 28 Feb 2007 12:36:13 +0000 (12:36 -0000)]
2007-02-27  Everaldo Canuto  <everaldo@simios.org>

* ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
text and some other changes to reduce and optimize source code.

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

17 years ago2007-28-02 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 28 Feb 2007 12:11:57 +0000 (12:11 -0000)]
2007-28-02  Lluis Sanchez Gual  <lluis@novell.com>

* ChannelCore.cs: Added missing null check. LoadWithPartialName can
return null.

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

17 years agofixed tests
Igor Zelmanovich [Wed, 28 Feb 2007 10:14:34 +0000 (10:14 -0000)]
fixed tests

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

17 years ago2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 28 Feb 2007 10:07:57 +0000 (10:07 -0000)]
2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>

* CreateUserWizard.cs:
* Wizard.cs:
fixed CausesValidaion and ValidationGroup for navigation buttons.

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

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

* ServiceDescriptionSerializeBase2.cs : regenerated with the latest
  genxs.

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

17 years ago2007-02-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 28 Feb 2007 08:40:46 +0000 (08:40 -0000)]
2007-02-28  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationCodeGenerator.cs : fix wrong name comparison:
  Name->LocalName. Add hacky TARGET_JVM support (hope it is harmless).

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

17 years agoemit conformance claims when required
Konstantin Triger [Wed, 28 Feb 2007 07:08:10 +0000 (07:08 -0000)]
emit conformance claims when required

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

17 years ago* SqlRoleProvider.cs: Fix parameter binding to stored procedures.
Andreia Gaita [Wed, 28 Feb 2007 03:40:17 +0000 (03:40 -0000)]
* SqlRoleProvider.cs: Fix parameter binding to stored procedures.
* SqlMembershipProvider.cs: Fix parameter binding to stored procedures.
CreateUser() doesn't use transactions in MS asp.net, so removed the
transaction calls.

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

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

17 years ago2007-02-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 28 Feb 2007 00:58:40 +0000 (00:58 -0000)]
2007-02-27  Jonathan Pobst  <monkey@jpobst.com>

* RadioButton.cs: Implement 2.0 event.
* RelatedImageListAttribute.cs: Implement new class.

2007-02-27  Jonathan Pobst  <monkey@jpobst.com>

* System.Windows.Forms.dll.sources: Add RelatedImageListAttribute.cs.

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

17 years ago2007-02-27 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 27 Feb 2007 22:12:03 +0000 (22:12 -0000)]
2007-02-27  Everaldo Canuto  <everaldo@simios.org>

* MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.

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

17 years ago2007-02-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 27 Feb 2007 22:06:29 +0000 (22:06 -0000)]
2007-02-27  Jonathan Pobst  <monkey@jpobst.com>

* CheckBox.cs: Implement 2.0 functionality.

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

17 years ago2007-02-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 27 Feb 2007 20:30:35 +0000 (20:30 -0000)]
2007-02-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Refactor Add and AddRange methods of
ListViewItemCollection, to not update the ListView
everytime an item is added in AddRange. Also move the update
code to a new CollectionChanged method, and call it
from other methods that need it as well (this should also fix some
bugs when Sorting is used).

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

17 years agoUse jar from JAVA_HOME to overcome some environment issues
Noam Lampert [Tue, 27 Feb 2007 20:06:51 +0000 (20:06 -0000)]
Use jar from JAVA_HOME to overcome some environment issues

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

17 years ago * TextBoxBase.cs: Update the caret.
Jackson Harper [Tue, 27 Feb 2007 19:17:22 +0000 (19:17 -0000)]
    * TextBoxBase.cs: Update the caret.

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

17 years ago * TextControl.cs: Try to never let the caret stay in a non-text
Jackson Harper [Tue, 27 Feb 2007 18:59:38 +0000 (18:59 -0000)]
    * TextControl.cs: Try to never let the caret stay in a non-text
        tag.

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

17 years ago2007-02-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 27 Feb 2007 18:41:18 +0000 (18:41 -0000)]
2007-02-27  Sebastien Pouliot  <sebastien@ximian.com>

* Bitmap.cs: Removed unrequired ctors.
* TextureBrush.cs: Change which GDI+ calls is used to create the
brush (to better match what you expect from libgdiplus source). Add
[MonoLimitation] to ctors accepting ImageAttributes (not supported
by libgdiplus). Split some long lines into two lines.

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

17 years agosvn path=/trunk/mcs/; revision=73496
Igor Zelmanovich [Tue, 27 Feb 2007 17:36:43 +0000 (17:36 -0000)]
svn path=/trunk/mcs/; revision=73496

17 years ago * RTF.cs: break when we finish loading the image data, otherwise
Jackson Harper [Tue, 27 Feb 2007 17:35:13 +0000 (17:35 -0000)]
    * RTF.cs: break when we finish loading the image data, otherwise
        the parser gets confused if the image data is at the end of the
        stream.

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

17 years agofixed project file names, removed svn hiding
Vladimir Krasnov [Tue, 27 Feb 2007 16:57:38 +0000 (16:57 -0000)]
fixed project file names, removed svn hiding

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

17 years ago* almost_config.xml, test_catalog.xml, WebTest.cs: fixed not working tests for asp 2.0
Vladimir Krasnov [Tue, 27 Feb 2007 16:56:14 +0000 (16:56 -0000)]
* almost_config.xml, test_catalog.xml, WebTest.cs: fixed not working tests for asp 2.0

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

17 years agocorrect content type for post request
Konstantin Triger [Tue, 27 Feb 2007 16:51:35 +0000 (16:51 -0000)]
correct content type for post request

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

17 years ago* MainsoftWebApp20.Tomcat.vmwcsproj: converted to csproj
Vladimir Krasnov [Tue, 27 Feb 2007 16:44:25 +0000 (16:44 -0000)]
* MainsoftWebApp20.Tomcat.vmwcsproj: converted to csproj
* System_Web_UI/Control/Control_ViewState.aspx.cs:
* utils/GHTListControlBase.cs:
* System_Web_UI_WebControls/BaseDataList/BaseDataList_DataMember.aspx.cs:
* System_Web_UI_WebControls/Repeater/Repeater_DataMember.aspx.cs:
* System_Web_SessionState/HttpSessionState/HttpSessionState_CodePage.aspx.cs:
Added NET_2_0 for ASP 2.0 support

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

17 years agoAdded stubs for implementation of WebSphere Profile Provider.
Ilya Kharmatsky [Tue, 27 Feb 2007 16:40:58 +0000 (16:40 -0000)]
Added stubs for implementation of WebSphere Profile Provider.

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

17 years agofixed tests
Igor Zelmanovich [Tue, 27 Feb 2007 16:39:56 +0000 (16:39 -0000)]
fixed tests

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

17 years ago2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 27 Feb 2007 16:05:04 +0000 (16:05 -0000)]
2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>

* TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only

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

17 years agosvn path=/trunk/mcs/; revision=73476
Igor Zelmanovich [Tue, 27 Feb 2007 15:55:04 +0000 (15:55 -0000)]
svn path=/trunk/mcs/; revision=73476

17 years ago2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 27 Feb 2007 15:52:33 +0000 (15:52 -0000)]
2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>

* BaseDataBoundControl.cs: setting DataSource to null does not
call ValidateDataSource.
* HierarchicalDataBoundControl.cs: ValidateDataSource does not
throw exception if argument is null.

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

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

* signcode.cs: Handle passowrd-protected PVK files correctly. Fix
bug #80924.

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

17 years agofixed tests
Igor Zelmanovich [Tue, 27 Feb 2007 15:20:06 +0000 (15:20 -0000)]
fixed tests

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

17 years agoundo r73469
Konstantin Triger [Tue, 27 Feb 2007 14:43:37 +0000 (14:43 -0000)]
undo r73469

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

17 years agoconsider empty string as nothing for documentation
Konstantin Triger [Tue, 27 Feb 2007 14:41:22 +0000 (14:41 -0000)]
consider empty string as nothing for documentation

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

17 years agoremove debug stuff
Marek Habersack [Tue, 27 Feb 2007 12:54:51 +0000 (12:54 -0000)]
remove debug stuff

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

17 years agoImplement connection string expressions
Marek Habersack [Tue, 27 Feb 2007 12:51:36 +0000 (12:51 -0000)]
Implement connection string expressions

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

17 years ago2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 27 Feb 2007 12:30:12 +0000 (12:30 -0000)]
2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>

* TemplateControl.cs:
* TemplateControl.jvm.cs: fixed: AutoEventWireup feature:
Method 'Page_XXX' is declared in the base class must be
called even is private.

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

17 years ago2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 27 Feb 2007 12:02:04 +0000 (12:02 -0000)]
2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>

* WebControl.cs: implemented IsEnabled and HasAttributes.

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

17 years ago2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 27 Feb 2007 11:38:53 +0000 (11:38 -0000)]
2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>

* BaseDataList.cs: fixed: data-binding flow for 2.0 features.

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

17 years agoIn Test/System.ComponentModel:
Rolf Bjarne Kvinge [Tue, 27 Feb 2007 09:11:47 +0000 (09:11 -0000)]
In Test/System.ComponentModel:
2007-02-27  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MaskedTextProviderTest.cs: Added.
* MaskedTextProviderTestGenerator.cs: Added.

In System.ComponentModel:
2007-02-27  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MaskedTextProvider.cs: Added.

In .:
2007-02-27  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* System_test.dll.sources: Added MaskedTextProviderTest.cs
* System.dll.sources: Added MaskedTextProvider.cs

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

17 years agoRemove misplaced line
Marek Habersack [Tue, 27 Feb 2007 00:11:53 +0000 (00:11 -0000)]
Remove misplaced line

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

17 years agoFix FileUpload.HasFile
Marek Habersack [Tue, 27 Feb 2007 00:06:04 +0000 (00:06 -0000)]
Fix FileUpload.HasFile

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

17 years ago2007-02-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 26 Feb 2007 22:57:06 +0000 (22:57 -0000)]
2007-02-26  Jonathan Pobst  <monkey@jpobst.com>

* XplatUIStructs.cs: Add some convenience methods for POINT structure.
* XplatUIWin32.cs: Add some convenience methods for RECT structure,
delete POINT structure, duplicate of one in XplatUIStructs.
* TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.

2007-02-26  Jonathan Pobst  <monkey@jpobst.com>

* UXTheme.cs: Remove RECT, POINT, and TEXTMETRICS structures,
use ones from Xplat instead.
* VisualStyleRenderer.cs: Use Xplat structs instead of UXTheme ones.

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

17 years ago* ListViewCollectionsTest.cs: Added and improved tests for removing
Gert Driesen [Mon, 26 Feb 2007 22:37:48 +0000 (22:37 -0000)]
* ListViewCollectionsTest.cs: Added and improved tests for removing
columns and items, and clearing the collections.
* ListViewTest.cs: Improved ClearTest to also verify whether removed
columns and items are unlinked from owning ListView.
* ListView.cs: Initialize LabelEditEventArgs after setting Text of
edit box since otherwise the Label would immediately be set (even if
the user did not modify the label). In OnKeyDown set Handled to true
if Return or Escape was pressed. In ColumnHeaderCollection unlink
columns that are to be removed. In ListViewItemCollection unlink items
that are to be removed.

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

17 years agoAdd more tests.
Marek Safar [Mon, 26 Feb 2007 22:09:40 +0000 (22:09 -0000)]
Add more tests.

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

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

* cs-parser.jay, expression.cs: Compile empty __arglist correctly.

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

17 years ago* MethodBuilderTest.cs: Move from Assertion to Assert. Added tests
Gert Driesen [Mon, 26 Feb 2007 19:57:08 +0000 (19:57 -0000)]
* MethodBuilderTest.cs: Move from Assertion to Assert. Added tests
for zero-length and null dll name for DllImport.  Enabled extra tests
in TestDynamicParams.

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

17 years agoFixed RoleExists method - when wildcard used in "rolename" parameter.
Ilya Kharmatsky [Mon, 26 Feb 2007 16:20:35 +0000 (16:20 -0000)]
Fixed RoleExists method - when wildcard used in "rolename" parameter.

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

17 years agomap string to NVarChar
Konstantin Triger [Mon, 26 Feb 2007 16:11:25 +0000 (16:11 -0000)]
map string to NVarChar

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

17 years ago* Control.cs: fixed AppRelativeTemplateSourceDirectory property, should not return...
Vladimir Krasnov [Mon, 26 Feb 2007 16:06:17 +0000 (16:06 -0000)]
* Control.cs: fixed AppRelativeTemplateSourceDirectory property, should not return AppRelativeTemplateSourceDirectory of master page

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

17 years ago2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 26 Feb 2007 15:26:29 +0000 (15:26 -0000)]
2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>

* LoginView.cs: fixed:
ViewChanging and ViewChanged are fired.
optimized Save/Load control state.

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

17 years agoTARGET_JVM: adjust with recent changes
Konstantin Triger [Mon, 26 Feb 2007 15:09:52 +0000 (15:09 -0000)]
TARGET_JVM: adjust with recent changes

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

17 years ago2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Feb 2007 15:06:22 +0000 (15:06 -0000)]
2007-02-26  Atsushi Enomoto  <atsushi@ximian.com>

* DbProviderFactoriesConfigurationHandler.cs : there was a config
  test that used to be broken.

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

17 years agoTARGET_JVM: run all fixtures
Konstantin Triger [Mon, 26 Feb 2007 14:52:01 +0000 (14:52 -0000)]
TARGET_JVM: run all fixtures

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

17 years agoTARGET_JVM: run all fixtures
Konstantin Triger [Mon, 26 Feb 2007 14:49:44 +0000 (14:49 -0000)]
TARGET_JVM: run all fixtures

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

17 years agoTARGET_JVM: run all fixtures
Konstantin Triger [Mon, 26 Feb 2007 14:46:35 +0000 (14:46 -0000)]
TARGET_JVM: run all fixtures

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

17 years ago TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests to avoid leaking...
Sebastien Pouliot [Mon, 26 Feb 2007 13:44:45 +0000 (13:44 -0000)]
 TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests to avoid leaking memory under 2.0 (where ReleaseHrgn is available).

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

17 years ago2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 26 Feb 2007 13:42:51 +0000 (13:42 -0000)]
2007-02-26  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Add p/invoke signature for GDI DeleteObject.
* Region.cs: Under Windows use DeleteObject when calling ReleaseHrgn.
Fix bug #80956.

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

17 years agoComments and NET_2_0 derective.
Ilya Kharmatsky [Mon, 26 Feb 2007 13:00:50 +0000 (13:00 -0000)]
Comments and NET_2_0 derective.

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

17 years ago1. Renaming of WPS*.cs files and classes to WP*.cs
Ilya Kharmatsky [Mon, 26 Feb 2007 12:41:10 +0000 (12:41 -0000)]
1. Renaming of WPS*.cs files and classes to WP*.cs
2. Small fixes in WPGroupsRoleProvider.cs
3. PumaServicesProvider.cs - changed GetConfigAttribute method (will use JNDI repository to search, with caching results into portlet/servlet session).

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

17 years ago2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 26 Feb 2007 12:19:53 +0000 (12:19 -0000)]
2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>

* CreateUserWizard.cs: fixed: does not attempt to send email if
MailDefinition is not defined.

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

17 years ago2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 26 Feb 2007 10:21:12 +0000 (10:21 -0000)]
2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>

* ClientScriptManager.cs: fixed: GetScriptLiteral escapes back-slash:

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

17 years ago2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 26 Feb 2007 09:59:57 +0000 (09:59 -0000)]
2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>

* Login.cs: fixed:
considers FormsAuthentication.ReturnUrl only if is placed in
the login page defined in web.config.

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

17 years ago2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Feb 2007 09:43:16 +0000 (09:43 -0000)]
2007-02-26  Atsushi Enomoto  <atsushi@ximian.com>

* DbProviderFactoriesConfigurationHandler.cs : remove "support"
  attribute check, as it does not really do anything.

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

17 years agoNew test (bug #80455)
Marek Safar [Sun, 25 Feb 2007 21:59:51 +0000 (21:59 -0000)]
New test (bug #80455)

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

17 years agoNew test and updates.
Marek Safar [Sun, 25 Feb 2007 21:57:02 +0000 (21:57 -0000)]
New test and updates.

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

17 years ago2007-02-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 25 Feb 2007 21:55:26 +0000 (21:55 -0000)]
2007-02-25  Marek Safar  <marek.safar@gmail.com>

* attribute.cs: Replaced DefinePInvoke in favor of S.R.E implementation
(Fixes #80455)

* class.cs (InterfaceMemberBase): Share common `extern' modifier checks
here.
Check property and event extern attributes.

* codegen.cs (ModuleClass): HasDefaultCharSet when module defined global
charset.

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

17 years ago2007-02-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 25 Feb 2007 19:41:15 +0000 (19:41 -0000)]
2007-02-25  Marek Safar  <marek.safar@gmail.com>

* MethodBuilder.cs: Empty string is not allowed for DllImport name.

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

17 years agoReverted back 'UserProperties' section in project file.
Ilya Kharmatsky [Sun, 25 Feb 2007 17:07:48 +0000 (17:07 -0000)]
Reverted back 'UserProperties' section in project file.

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

17 years agoSmall fixes and WPSGroupsRoleProvider implementation added.
Ilya Kharmatsky [Sun, 25 Feb 2007 16:57:10 +0000 (16:57 -0000)]
Small fixes and WPSGroupsRoleProvider implementation added.

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

17 years agoRemove some warnings.
Eyal Alalouf [Sun, 25 Feb 2007 16:10:15 +0000 (16:10 -0000)]
Remove some warnings.

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

17 years agoAdd explicit interface implementation according to MSDN
Konstantin Triger [Sun, 25 Feb 2007 15:32:32 +0000 (15:32 -0000)]
Add explicit interface implementation according to MSDN

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

17 years agoRework MapPath
Konstantin Triger [Sun, 25 Feb 2007 15:11:18 +0000 (15:11 -0000)]
Rework MapPath

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

17 years agoUse Path.Combine instead of concat
Konstantin Triger [Sun, 25 Feb 2007 14:27:15 +0000 (14:27 -0000)]
Use Path.Combine instead of concat

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

17 years ago* AppDomainSetup.cs: If configuration file is not an absolute path,
Gert Driesen [Sun, 25 Feb 2007 10:35:34 +0000 (10:35 -0000)]
* AppDomainSetup.cs: If configuration file is not an absolute path,
then throw a MemberAccessException if ApplicationBase is not set,
or otherwise consider it as a path relative to ApplicationBase.
Fixes bug #80934. Patch provided by Jamie Cansdale.
* AppDomain.cs: In CreateDomain, construct AppDomain with
ApplicationBase of default domain if not explicitly set in specified
AppDomainSetup. If config file is not set, then use filename of the
default domain config file. Base on patch provided by Jamie Cansdale.
* AppDomainSetupTest.cs: Added tests for bug #80934.
* AppDomainTest.cs: Added tests for bug #80934.

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

17 years ago* HttpRequest.jvm.cs: fixed LoadWwwForm, fixed multiple values in form collection
Vladimir Krasnov [Sun, 25 Feb 2007 10:22:20 +0000 (10:22 -0000)]
* HttpRequest.jvm.cs: fixed LoadWwwForm, fixed multiple values in form collection

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

17 years agorefactor MapPath
Konstantin Triger [Sun, 25 Feb 2007 10:13:57 +0000 (10:13 -0000)]
refactor MapPath

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

17 years ago* HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between query string...
Vladimir Krasnov [Sun, 25 Feb 2007 09:32:24 +0000 (09:32 -0000)]
* HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between query string and form values

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

17 years ago2007-02-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 24 Feb 2007 18:03:50 +0000 (18:03 -0000)]
2007-02-24  Jonathan Pobst  <monkey@jpobst.com>

* TextRenderer.cs: If we set a GDI clip region, we need to clear
it when we are done.  [Fixes bug #80949]

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

17 years agoNew test (bug #79589)
Marek Safar [Sat, 24 Feb 2007 16:02:52 +0000 (16:02 -0000)]
New test (bug #79589)

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

17 years agoNew test based on bug #80407
Marek Safar [Sat, 24 Feb 2007 15:45:04 +0000 (15:45 -0000)]
New test based on bug #80407

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

17 years ago2007-02-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 24 Feb 2007 15:44:21 +0000 (15:44 -0000)]
2007-02-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80407
* ecore.cs: Don't report ambiguity error when methods have same parent.

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

17 years ago* HttpWebRequest.cs: Allow Proxy to be set to null on 2.0 profile.
Gert Driesen [Sat, 24 Feb 2007 10:02:33 +0000 (10:02 -0000)]
* HttpWebRequest.cs: Allow Proxy to be set to null on 2.0 profile.
* HttpWebRequestTest.cs: Added test for bug #80944.

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

17 years ago* data/config.in (odbc32.dll) [os=osx]: Fix misplaced ".
Raja R Harinath [Sat, 24 Feb 2007 09:45:37 +0000 (09:45 -0000)]
* data/config.in (odbc32.dll) [os=osx]: Fix misplaced ".

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

17 years ago2007-02-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 24 Feb 2007 05:18:51 +0000 (05:18 -0000)]
2007-02-23  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.

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

17 years ago2007-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 24 Feb 2007 04:23:49 +0000 (04:23 -0000)]
2007-02-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: I forgot to commit the changes for ListView
in my previous patch.

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

17 years ago2007-02-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 24 Feb 2007 03:50:52 +0000 (03:50 -0000)]
2007-02-23  Jonathan Pobst  <monkey@jpobst.com>

* Clipboard.cs: Partially implement an overload of SetDataObject.
* Form.cs: Implement ShowWithoutActivation.
* XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.

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

17 years ago2007-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 24 Feb 2007 01:11:10 +0000 (01:11 -0000)]
2007-02-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

This is a first set of changes to make the Virtual mode works,
by avoiding the retrieval of ListViewItem instances until
draw time.

* ListView.cs: Store item position in the ListView instead of the
ListViewItem, this way we don't request the Bounds property of
ListViewItem inside the ListView calculations, as well as cache the item
size in item_size field. Store indexes instead of ListViewItem
instances in the matrix used by icon view. Add a ItemMatrixLocation
struct to hold the row and col info of the matrix info.

* ListViewItem.cs: Don't store the location anymore, and only cache
the rectangles for GetBounds. Use the ListView.GetItemLocation
method to retrieve the actual location.

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

17 years ago2007-02-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 23 Feb 2007 23:25:10 +0000 (23:25 -0000)]
2007-02-23  Jonathan Pobst  <monkey@jpobst.com>

* TextRenderer.cs: Add clipping support, thanks to George.
[Fixes bug #80949]

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

17 years ago* ListViewItem.cs: Cancel label edit when item is removed from
Gert Driesen [Fri, 23 Feb 2007 19:49:03 +0000 (19:49 -0000)]
* ListViewItem.cs: Cancel label edit when item is removed from
ListView.
* ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
event before the edit textbox is displayed.  Added CancelEdit method
which is used end to editing while ignoring the value set by the
user. In EndEdit, set focus to ListView to avoid losing focus to
other controls. In ListViewItemCollection.Clear, cancel editing of
any of the items.  In Remove, cancel editing of item being removed.
Avoid udplicate code by modifing RemoveAt to invoke Remove.

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

17 years agoNew test based on #80878
Marek Safar [Fri, 23 Feb 2007 18:59:54 +0000 (18:59 -0000)]
New test based on #80878

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

17 years ago2007-02-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 23 Feb 2007 18:59:02 +0000 (18:59 -0000)]
2007-02-23  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80878
* class.cs, cs-parser.jay: Event property can host anonymous methods.

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

17 years ago * RTF.cs: Pull pict groups out of opt dests. Don't handle the
Jackson Harper [Fri, 23 Feb 2007 16:41:06 +0000 (16:41 -0000)]
    * RTF.cs: Pull pict groups out of opt dests. Don't handle the
        * pict
        group unless there was data found.

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

17 years ago* FileDialog.cs: Update FSEntry when move is successful. Fixes
Gert Driesen [Fri, 23 Feb 2007 16:00:00 +0000 (16:00 -0000)]
* FileDialog.cs: Update FSEntry when move is successful. Fixes
bug #80948.

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

17 years ago2007-02-23 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 23 Feb 2007 15:50:50 +0000 (15:50 -0000)]
2007-02-23  Everaldo Canuto  <everaldo@simios.org>

* MainMenu.cs: Change Draw method to take care about MenuOrigin to be
compatible with non X11 systems. Fixes #80901.

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

17 years agoFixed typo in comment.
Gert Driesen [Fri, 23 Feb 2007 15:33:18 +0000 (15:33 -0000)]
Fixed typo in comment.

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

17 years ago* ListView.cs: Added bool argument to UpdateMultiSelection to specify
Gert Driesen [Fri, 23 Feb 2007 15:29:24 +0000 (15:29 -0000)]
* ListView.cs: Added bool argument to UpdateMultiSelection to specify
whether the item should be unselected and reselect. We do no want this
when we're starting to edit the label. Do not fire the
SelectedIndexChanged event from ListView when its already been fired
by modifying ListViewItem.Selected. Fixes bug #80943.

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