mono.git
17 years ago* XmlDataReader.cs, XmlDataInferenceLoader.cs, XmlDiffLoader.cs:
Konstantin Triger [Mon, 19 Feb 2007 14:12:46 +0000 (14:12 -0000)]
* XmlDataReader.cs, XmlDataInferenceLoader.cs, XmlDiffLoader.cs:
ignore attributes from "http://www.w3.org/XML/1998/namespace".
* XmlConstants.cs: add constant for "http://www.w3.org/XML/1998/namespace".
* XmlDataInferenceLoader.cs: track the added elements index to fix the
added column ordinal.

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

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

* XmlReflectionImporter.cs : CanBeNull() should return true when the
  argument is generic nullable value type.

* XmlReflectionImporterTests.cs : added test for nullable int import.

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

17 years ago2007-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 19 Feb 2007 13:21:31 +0000 (13:21 -0000)]
2007-02-19  Atsushi Enomoto  <atsushi@ximian.com>

* TypeData.cs, MapCodeGenerator.cs, XmlMemberMapping.cs,
  TypeTranslator.cs : removed IsGenericNullable and added
  set_IsNullable so that it could be simpler.

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

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

* SerializationCodeGenerator.cs, XmlMappingAccess.cs,
  SerializationCodeGeneratorConfiguration.cs : replaced HookDir with
  XmlMappingAccess.

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

17 years ago2007-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 19 Feb 2007 13:00:08 +0000 (13:00 -0000)]
2007-02-19  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationCodeGenerator.cs : hooks won't work unless they are
  set. For WriteStartElement() it could simply embed the names.

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

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

* webform.js: fixed WebForm_ReEnableControls

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

17 years ago* RoleManagerModule.cs: fixed role chaching in OnEndRequest and OnPostAuthenticateRequest
Vladimir Krasnov [Mon, 19 Feb 2007 12:41:56 +0000 (12:41 -0000)]
* RoleManagerModule.cs: fixed role chaching in OnEndRequest and OnPostAuthenticateRequest
* RolePrincipal.cs: implemented ToEncryptedTicket, implemented caching role functionality
* Roles.cs: implemented DeleteCookie, fixed CookieProtectionValue to get it's value from configuration

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

17 years agoAdded proper explanation to the ChangeLog.
Massimiliano Mantione [Mon, 19 Feb 2007 12:41:26 +0000 (12:41 -0000)]
Added proper explanation to the ChangeLog.

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

17 years ago * iface7.cs, Makefile.am: Added test for bug 75903.
Massimiliano Mantione [Mon, 19 Feb 2007 11:51:14 +0000 (11:51 -0000)]
* iface7.cs, Makefile.am: Added test for bug 75903.

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

17 years ago * class.c: Fix bug 75903.
Massimiliano Mantione [Mon, 19 Feb 2007 11:49:51 +0000 (11:49 -0000)]
* class.c: Fix bug 75903.

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

17 years ago* FormTest.cs: Added NotWorking test for Form CreateParams.Style and
Rolf Bjarne Kvinge [Mon, 19 Feb 2007 11:42:40 +0000 (11:42 -0000)]
* FormTest.cs: Added NotWorking test for Form CreateParams.Style and
  ExStyle and a test for parented forms.

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

17 years ago* Application.cs: When disabling all forms but the main form, do not
Rolf Bjarne Kvinge [Mon, 19 Feb 2007 11:27:11 +0000 (11:27 -0000)]
* Application.cs: When disabling all forms but the main form, do not
  disable any descendants of the main form (such as mdi children or
  other parented forms). Fixes #80822 on Windows.
* Form.cs: If we have a parent, set the WS_CHILD style.
* Control.cs: Update the window styles if the control whose parent has
  changed is a form (the WS_CHILD style has to be switched).

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

17 years ago2006-02-19 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 19 Feb 2007 10:46:46 +0000 (10:46 -0000)]
2006-02-19 Igor Zelmanovich <igorz@mainsoft.com>

* CheckBox.cs:
* ListControl.cs:
* TextBox.cs:
implemented Form.SubmitDisabledControls feature.

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

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

* Page.cs: for 2.0: refactoring:
prepare infrastructure for Form.SubmitDisabledControls feature

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

* HtmlInputCheckBox.cs:
* HtmlInputControl.cs:
* HtmlInputHidden.cs:
* HtmlInputRadioButton.cs:
* HtmlInputText.cs:
* HtmlSelect.cs:
* HtmlTextArea.cs:
fixed: Form.SubmitDisabledControls feature:
not all HtmlInputControl need to be reenabled on client.

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

17 years agomark non-running testcases
Raja R Harinath [Mon, 19 Feb 2007 09:40:56 +0000 (09:40 -0000)]
mark non-running testcases

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

17 years agosvn path=/trunk/mcs/; revision=73100
Yoni Klain [Mon, 19 Feb 2007 09:26:30 +0000 (09:26 -0000)]
svn path=/trunk/mcs/; revision=73100

17 years agoFix order of InvalidPathChars on windows.
Boris Kirzner [Mon, 19 Feb 2007 09:25:40 +0000 (09:25 -0000)]
Fix order of InvalidPathChars on windows.

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

17 years ago2007-02-19 <yonik@mainsoft.com>
Yoni Klain [Mon, 19 Feb 2007 09:20:32 +0000 (09:20 -0000)]
2007-02-19 <yonik@mainsoft.com>
Changes in create user

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

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

* GridViewTest:
new test were added

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

17 years agocall Session_End callback only if the handler does not support expiration
Konstantin Triger [Mon, 19 Feb 2007 07:59:31 +0000 (07:59 -0000)]
call Session_End callback only if the handler does not support expiration

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

17 years agoreturn true since we call callback ourselves
Konstantin Triger [Mon, 19 Feb 2007 07:53:00 +0000 (07:53 -0000)]
return true since we call callback ourselves

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

17 years ago2007-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 19 Feb 2007 07:32:05 +0000 (07:32 -0000)]
2007-02-19  Atsushi Enomoto  <atsushi@ximian.com>

* DbProviderFactoriesConfigurationHandler.cs : "support" attribute is
  optional. Fixed bug #80894.

* DbProviderFactoriesConfigurationHandlerTest.cs : test for #80894.

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

17 years ago2007-02-19 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Mon, 19 Feb 2007 06:19:47 +0000 (06:19 -0000)]
2007-02-19  Everaldo Canuto  <everaldo@simios.org>

* XplatUIStructs.cs: MsgUIState structure added.

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

17 years ago* FileDialog.cs: Removed need for separate fileName field. On 2.0
Gert Driesen [Sun, 18 Feb 2007 19:09:22 +0000 (19:09 -0000)]
* FileDialog.cs: Removed need for separate fileName field. On 2.0
profile, do not check filename(s) for illegal character if filename(s)
were set non-interactively but always check on 1.0 profile. Fixed NRE
in DefaultExt and only strip off first leading dot. Improve exception
message when invalid Filter is set. Do not ignore InitialDirectory if
it does no exist. Store specified Title, and if empty use default
title (depending on type of dialog). Added an internal DialogTitle
property for retrieving dialog title. Fixed logic of displayed dir to
more closely match MS. Avoid setting ComboBox.Text to a zero-length
string as its buggy.
* OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
FileName is a zero-length string (it can never be null). Override
DialogTitle property to set default title of dialog box.
* SaveFileDialog.cs: Override DialogTitle property to set default
title of dialog box.
* SaveFileDialogTest.cs: Added tests for SaveFileDialog.
* System.Windows.Forms_test.dll.sources: add SaveFileDialogTest.cs.

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

17 years agoFix reference
Noam Lampert [Sun, 18 Feb 2007 17:21:53 +0000 (17:21 -0000)]
Fix reference

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

17 years agoNew test based on #78712
Marek Safar [Sun, 18 Feb 2007 16:33:55 +0000 (16:33 -0000)]
New test based on #78712

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

17 years ago2007-02-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 18 Feb 2007 16:33:04 +0000 (16:33 -0000)]
2007-02-18  Marek Safar  <marek.safar@gmail.com>

A fix for bug #78712
* class.cs.cs, decl.cs, ecore.cs: LookupAnyGeneric inspects nested types
too.

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

17 years ago2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 18 Feb 2007 16:13:53 +0000 (16:13 -0000)]
2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>

* GridView.cs: IsBindableType for decimal returns true.

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

17 years ago2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 18 Feb 2007 15:29:31 +0000 (15:29 -0000)]
2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>

* Menu.js: client script: support IE6.

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

17 years agomap Types.TIME, Types.TIMESTAMP to SqlDbType.DateTime
Konstantin Triger [Sun, 18 Feb 2007 14:57:03 +0000 (14:57 -0000)]
map Types.TIME, Types.TIMESTAMP to SqlDbType.DateTime

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

17 years agoNew tests.
Marek Safar [Sun, 18 Feb 2007 14:17:08 +0000 (14:17 -0000)]
New tests.

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

17 years ago2007-02-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 18 Feb 2007 14:16:46 +0000 (14:16 -0000)]
2007-02-18  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80493 by Atsushi Enomoto
* cs-parser.jay: Ignore invalid attribute target.

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

17 years ago2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 18 Feb 2007 14:08:08 +0000 (14:08 -0000)]
2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>

* Menu: fixed: considers item.ToolTip, render image inside 'a' tag.

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

17 years agoNew test.
Marek Safar [Sun, 18 Feb 2007 13:17:56 +0000 (13:17 -0000)]
New test.

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

17 years ago2007-02-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 18 Feb 2007 13:14:43 +0000 (13:14 -0000)]
2007-02-18  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs: Ignore '\0' as white space character.

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

17 years ago2007-02-18 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 18 Feb 2007 13:12:02 +0000 (13:12 -0000)]
2007-02-18  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Makefile: Compile Test/resources/test.cs before test-local.

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

17 years ago2007-02-18 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 18 Feb 2007 13:09:36 +0000 (13:09 -0000)]
2007-02-18  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * AssemblyResolver.cs: Resolve HintPath correctly.

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

17 years ago007-02-18 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 18 Feb 2007 13:07:20 +0000 (13:07 -0000)]
007-02-18  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ResolveAssemblyReferenceTest.cs: Added.

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

17 years ago2007-02-18 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 18 Feb 2007 13:04:26 +0000 (13:04 -0000)]
2007-02-18  Marek Sieradzki  <marek.sieradzki@gmail.com>

* ExpressionCollection.cs (ConvertToITaskItemArrayFromString):
Simplified.

* ConditionFunctionExpression.cs: Removed warnings.

* BuildTask.cs (Execute): Write exceptions to std err (they should be
       logged but it's better than swallowing).

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

17 years agoadd Http callback support for J2EE portlets.
Eyal Alalouf [Sun, 18 Feb 2007 12:28:38 +0000 (12:28 -0000)]
add Http callback support for J2EE portlets.

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

17 years agoFix failures when running tests in J2EE mode
Eyal Alalouf [Sun, 18 Feb 2007 11:50:33 +0000 (11:50 -0000)]
Fix failures when running tests in J2EE mode

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

17 years agoFix failures when running tests in J2EE mode
Eyal Alalouf [Sun, 18 Feb 2007 11:43:52 +0000 (11:43 -0000)]
Fix failures when running tests in J2EE mode

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

17 years ago* FileDialog.cs: Modify default text of filename and filetype labels
Gert Driesen [Sun, 18 Feb 2007 10:41:34 +0000 (10:41 -0000)]
* FileDialog.cs: Modify default text of filename and filetype labels
to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
after we've updated the SelectedIndex. Fixes part of bug #80887.
* SaveFileDialog.cs: Set text of filetype label.

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

17 years ago2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 18 Feb 2007 10:26:46 +0000 (10:26 -0000)]
2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>

* Wizard: fixed:
first step is recognized as 'finish' if only two steps
and last step is 'complete'

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

17 years ago2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 18 Feb 2007 10:03:41 +0000 (10:03 -0000)]
2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>

* WebUIValidation_2.0.js:
support client side validation for RadioButtonList

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

17 years agoServerPort is the correct method for getting .Net LocalPort.
Eyal Alalouf [Sun, 18 Feb 2007 08:50:05 +0000 (08:50 -0000)]
ServerPort is the correct method for getting .Net LocalPort.

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

17 years ago2007-02-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 18 Feb 2007 02:04:49 +0000 (02:04 -0000)]
2007-02-17  Miguel de Icaza  <miguel@novell.com>

* cs-parser.jay: Add support for lambda expressions to the mcs
compiler as well.

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

17 years ago2007-02-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 18 Feb 2007 01:26:03 +0000 (01:26 -0000)]
2007-02-17  Miguel de Icaza  <miguel@novell.com>

* lambda.cs: Only clone when we are probing, not on the final call
(Compatible is the final call).

* statement.cs (CloneContext): Introduce class to provide block
remapping during clone.

All statements Clone themselves now.

(Clone): special handling for blocks, when we clone a block, we
register the block inside this routine, as children of the block
might trigger a lookup.

* expression.cs: Add support for CloneContext in all expressions.

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

17 years agoFixed test.
Marek Safar [Sat, 17 Feb 2007 17:32:08 +0000 (17:32 -0000)]
Fixed test.

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

17 years agoTest based on bug #80408
Marek Safar [Sat, 17 Feb 2007 16:34:16 +0000 (16:34 -0000)]
Test based on bug #80408

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

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

A fix for bug #80408
* statement.cs: Report ambiguous warning when interfaces are not related.

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

17 years ago* PagesConfiguration.cs: Stop swallowing configuration exceptions.
Gert Driesen [Sat, 17 Feb 2007 14:59:47 +0000 (14:59 -0000)]
* PagesConfiguration.cs: Stop swallowing configuration exceptions.
* PagesConfigurationHandler.cs: Provide better exception message for
invalid 'enableSessionState' value.

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

17 years ago* Web.config: enableSessionState only accepts "true", false" and
Gert Driesen [Sat, 17 Feb 2007 14:15:22 +0000 (14:15 -0000)]
* Web.config: enableSessionState only accepts "true", false" and
"ReadOnly" on MS (case-sensitive).

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

17 years agoFixed line endings
Gert Driesen [Sat, 17 Feb 2007 14:00:40 +0000 (14:00 -0000)]
Fixed line endings

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

17 years agoRemoved warnings.
Marek Safar [Sat, 17 Feb 2007 13:19:13 +0000 (13:19 -0000)]
Removed warnings.

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

17 years ago* DateTimeConverter.cs: Fixed typo in exception message.
Gert Driesen [Sat, 17 Feb 2007 08:22:50 +0000 (08:22 -0000)]
* DateTimeConverter.cs: Fixed typo in exception message.

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

17 years ago2007-02-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 17 Feb 2007 00:38:46 +0000 (00:38 -0000)]
2007-02-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* LabelEditEventArgs.cs: New internal SetLabel method, to set the
label field. Needed by latest Jackson's fixes for ListView.

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

17 years ago2007-02-16 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Fri, 16 Feb 2007 23:11:30 +0000 (23:11 -0000)]
2007-02-16  Andreia Gaita  <avidigal@novell.com>

* PrintPreviewControl/PrintPreviewDialog: Properly dispose of
print preview images.

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

17 years ago2007-02-16 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Fri, 16 Feb 2007 23:10:35 +0000 (23:10 -0000)]
2007-02-16  Andreia Gaita  <avidigal@novell.com>

Redesign how and when cups gets called to minimize
p/invokes, implements caching of printers and printer
settings as per calberto's patch - #79822, plotter detection,
duplex, fixes for image disposing, code modularization,
misc. fixes.

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

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

* Enumerable.cs, Queryable.cs: Remove Extension attribute.

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

17 years ago2007-02-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 16 Feb 2007 22:37:58 +0000 (22:37 -0000)]
2007-02-16  Marek Safar  <marek.safar@gmail.com>

* Expression_T.cs: Derives from lambda.

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

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

* gdipFunctions.cs: Fix some p/invoke definitions (int versus uint)
and add more for metafile functions.
* Image.cs: Fix usage of corrected p/invoke signatures.

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

17 years ago * FileDialog.cs: After changing the name of the folder, we have
Jackson Harper [Fri, 16 Feb 2007 20:33:51 +0000 (20:33 -0000)]
    * FileDialog.cs: After changing the name of the folder, we have
        * to
        make sure that it is created, or that we pop up an error because
        it already exists.

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

17 years ago * ListView.cs: Make AfterLabelEdit work correctly.
Jackson Harper [Fri, 16 Feb 2007 20:32:08 +0000 (20:32 -0000)]
    * ListView.cs: Make AfterLabelEdit work correctly.

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

17 years ago2007-02-16 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 16 Feb 2007 20:26:02 +0000 (20:26 -0000)]
2007-02-16  Dick Porter  <dick@ximian.com>

* threadpool.c (append_job): Fix fast-path array handling, so it's
less likely the array will grow exponentially when the load is
heavy.

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

17 years ago* monoresgen.cs: Added support for /useSourcePath option (2.0 only).
Gert Driesen [Fri, 16 Feb 2007 20:07:32 +0000 (20:07 -0000)]
* monoresgen.cs: Added support for /useSourcePath option (2.0 only).
Fixes bug #80571. Update usage instructions. When Exception is
TargetInvocationException, and an InnerException is available then use
that one instead. Support absolute filenames for resource files.

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

17 years ago* TypeDescriptorTests.cs: Use Assert instead of deriving from
Gert Driesen [Fri, 16 Feb 2007 20:03:04 +0000 (20:03 -0000)]
* TypeDescriptorTests.cs: Use Assert instead of deriving from
deprecated Assertion. Added test for component that has a site without
an ITypeDescriptorFilterService. Fixes bug #80836.
* TypeDescriptor.cs: Do not assume that an ISite always has an
ITypeDescriptorFilterService. Fixes bug #80836.

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

17 years ago2007-02-16 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Fri, 16 Feb 2007 18:46:02 +0000 (18:46 -0000)]
2007-02-16  Geoff Norton  <gnorton@customerdna.com>

        * SmtpClient.cs: Dont send bare LF.  Send <CR><LF> regardless
        of platform.  (ref: http://cr.yp.to/docs/smtplf.html)

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

17 years agoFri Feb 16 19:17:30 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 16 Feb 2007 18:20:07 +0000 (18:20 -0000)]
Fri Feb 16 19:17:30 CET 2007 Paolo Molaro <lupus@ximian.com>

* metadata-internals.h, loader.c: fix dllmap lookup order
for non-function maps, too, and prepare for fallback code.

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

17 years ago * X11Dnd.cs: Implement aliases on mime handlers, so things like
Jackson Harper [Fri, 16 Feb 2007 18:07:25 +0000 (18:07 -0000)]
    * X11Dnd.cs: Implement aliases on mime handlers, so things like
        System.String are mapped to text.
        - Handle dataobjects, getting all the possible formats out of
          them
        - We dont need the drag event args before we give feedback. This
        allows feedback cursors to be immediate before selections have
        been converted.

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

17 years ago * TextBoxBase.cs: Modified the method for inserting images to
Jackson Harper [Fri, 16 Feb 2007 15:13:41 +0000 (15:13 -0000)]
    * TextBoxBase.cs: Modified the method for inserting images to
        taking a line and position instead of tag and position.
        * RichTextBox.cs: Handle PngBlip data by inserting the png image
        into the RTF file.
        * TextControl.cs: Allow images to be inserted as the first tag
        * of
        a line.
        - Fix some off by one issues when we assume the first tag is a
        text tag, not an image tag.

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

17 years agoTypos
Alp Toker [Fri, 16 Feb 2007 14:52:46 +0000 (14:52 -0000)]
Typos

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

17 years agoRevert accidental commit - this change is not accepted yet
Marek Habersack [Fri, 16 Feb 2007 14:27:17 +0000 (14:27 -0000)]
Revert accidental commit - this change is not accepted yet

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

17 years agoRevert accidental commit - this change is not accepted yet
Marek Habersack [Fri, 16 Feb 2007 14:25:48 +0000 (14:25 -0000)]
Revert accidental commit - this change is not accepted yet

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

17 years agoFix culture problems of the control compiler System.Web.Compilation/ChangeLog System...
Marek Habersack [Fri, 16 Feb 2007 14:23:07 +0000 (14:23 -0000)]
Fix culture problems of the control compiler System.Web.Compilation/ChangeLog System.Web.Compilation/TemplateControlCompiler.cs

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

17 years agoFix for bug 80808
Marek Habersack [Fri, 16 Feb 2007 14:20:46 +0000 (14:20 -0000)]
Fix for bug 80808

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

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

* TestImageCodecInfo.cs: Add missing test case for TIFF codec;

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

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

* Random.cs: Fix exception messages ("then" -> "than"). Spotted by
Mark A. Nicolosi (#80873).

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

17 years agoUpdate:
Raja R Harinath [Fri, 16 Feb 2007 11:06:47 +0000 (11:06 -0000)]
Update:
- remove reference to non-existant testcase
- note exact nature of regression of gcs1112-3.cs

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

17 years ago* ResourceReader.cs: Fixed typo.
Gert Driesen [Fri, 16 Feb 2007 07:56:21 +0000 (07:56 -0000)]
* ResourceReader.cs: Fixed typo.

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

17 years ago * KeysInit.cs:
Jackson Harper [Fri, 16 Feb 2007 04:00:23 +0000 (04:00 -0000)]
    * KeysInit.cs:
        * Minor.cs:
        * RTF.cs: Add support for parsing pngblip data.  These are hex
        encoded strings that represent a PNG image.

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

17 years agoFix the FontUnit cultural issue
Marek Habersack [Fri, 16 Feb 2007 01:56:20 +0000 (01:56 -0000)]
Fix the FontUnit cultural issue

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

17 years ago2007-02-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 16 Feb 2007 01:01:49 +0000 (01:01 -0000)]
2007-02-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Set focus to ListView when ItemControl gets a
WM_RBUTTONDOWN message, to mimic .Net behaviour.
Fixes part of #80467.

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

17 years agoUnseal the classes... and I still don't like it :P
Marek Habersack [Fri, 16 Feb 2007 00:59:39 +0000 (00:59 -0000)]
Unseal the classes... and I still don't like it :P

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

17 years agoNew tests.
Marek Safar [Thu, 15 Feb 2007 23:29:14 +0000 (23:29 -0000)]
New tests.

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

17 years agoExtension method tests.
Marek Safar [Thu, 15 Feb 2007 23:25:35 +0000 (23:25 -0000)]
Extension method tests.

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

17 years ago2007-02-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 15 Feb 2007 23:22:03 +0000 (23:22 -0000)]
2007-02-15  Marek Safar  <marek.safar@gmail.com>

C# 3.0 extension methods.

* attribute.cs (Error_MisusedExtensionAttribute): Extension attribute
cannot be used directly.

* class.cs (Class.Emit): Emit extension attribute if any class method
is extension method.
(Method.Define): Add basic extension method validation conditions.
(Method.Emit): Emit extension attribute for method.

* codegen.cs (AssemblyClass): Emit extension attribute if at least one
extension method exists. Currently we follow same approach as Microsoft
does, emit even if a method or a class are private but this can change
later.

* cs-parser.jay: Add handling of `this' keyword in method parameters
context.

* decl.cs (DeclSpace.IsStaticClass): New property.
(MemberCache.FindExtensionMethods): Looks for extension methods with
defined name and extension type.

* doc.cs: Updated after OverloadResolve changes.

* driver.cs: Add new soft reference to System.Core.dll.

* ecore.cs (MethodLookup): Can return only MethodGroupExpr.
(ExtensionMethodGroupExpr): Represents group of extension methods.

* expression.cs (Invocation): Moved methods BetterConversion, MoreSpecific,
BetterFunction, IsOverride, IsAncestralType, OverloadResolve
to MethodGroupExpr and made non-static for easier customization.
(Invocation.DoResolve): Add extension method lookup when no standard
method was found.
(MemberAccess.DoResolve): Try extension methods if no member exists.

* modifiers.cs: Add METHOD_EXTENSION modifier.

* namespace.cs (RegisterExtensionMethodClass): Register class namespace
as well as candidate extension type.
(ComputeNamespaces): When assembly constains extension methods registers
them.
(Namespace.RegisterExternalExtensionMethodClass): Register type for later
extension method lookup.
(Namespace.LookupExtensionMethod): Looks for extension method in this
namespace.
(NamespaceEntry.LookupExtensionMethod): Does extension methods lookup to
find a method which matches name and extensionType.

* parameter.cs (Parameter): Add This modifer.
(HasExtensionMethodModifier): New property.
(Resolve): Add extension parameter check.
(ModFlags): turned to property to exclude this modifier as it is not real
parameter modifier.
(Parameters): Implemented ExtensionMethodType and HasExtensionMethodType.

* support.cs (ParameterData): Add ExtensionMethodType.
(ReflectionParameters): Implemented ExtensionMethodType interface property.

* typemanager.cs: Add type and ctor extension attribute type.

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

17 years ago2007-02-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 15 Feb 2007 19:45:26 +0000 (19:45 -0000)]
2007-02-15  Miguel de Icaza  <miguel@novell.com>

* report.cs (DisableErrors, EnableErrors): used to prevent error
output when we are "trying" to compile various methods with
different types.

* ecore.cs (Expression): Add Clone method that calls the virtual
CloneTo method.  The current CloneTo method in Expression throws
an exception so we can track down all the places where this must
be implemented (not using abstract, because that would be a lot of
up-front-work before we can start testing the implementation
idea).

Important: we only need Clone capabilities for expressions created
by the parser, as the expressions we will be cloning are
expressions in the pre-resolved state.   This vastly simplifies
the work required.

(SimpleName): Add CloneTo that does nothing.
(EmptyCast): Add CloneTo.

* expression.cs (Binary): Implement CloneTo.
(Invocation.IsApplicable): Store the current ec in
EmitContext.TempEc and restore it on return.  This is used so we
do not have to sprinkle hundres of methods with an extra
EmitContext, we know that the only user is the lambda expression
ImplicitConversionExists code.

(Argument): Add Cloning capabilities.
(LocalVariableReference, ParenthesizedExpression, Unary, Probe,
Cast, Conditional, ArrayCreation, InvocationOrCast, Invocation,
ArglistAccess, ArgList, TypeOf, SizeOf, CheckedExpr,
UnCheckedExpr, ElementAccess, BaseAccess, BaseIndexerAccess,
IndexerAccess): Add Clone capability.

(LocalVariableReference, This): TODO: needs cloned Block mapping.

(Argument): Add cloning capability.

* assign.cs (Assign): Implement CloneTo.

* anonymous.cs (ImplicitStandardConversionExists): Make virtual.

* lambda.cs (ImplicitStandardConversionExists): Implement lambda
version by calling Convert with the EmitContext (that we are
currently storing in ec, this is not great, but will do for now,
to avoid passing EmitContext parameters to hundreds of functions
that do not need them now).

(SetExpression): Remove, it is not needed.

(ContextualReturn): Implement CloneTo.

* statement.cs (Statement): Implement cloning infrastructure,
similar to expressions.

(Block): Partial implementation of Clone for statements.

(Return): Implement clone.

* constant.cs (Constant.CloneTo): New method, does nothing.

* codegen.cs (TempEc): Add a static EmitContext as a temporary
solution, until we decide how to exactly do this.

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

* Remove the call to SetExpression for lambda expressions, we do
not actually need it.

Remove expression tracking code as its not needed.

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

17 years agoReapply the patch from Marek from 72793
Miguel de Icaza [Thu, 15 Feb 2007 19:40:48 +0000 (19:40 -0000)]
Reapply the patch from Marek from 72793

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

17 years ago2007-02-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 15 Feb 2007 19:40:34 +0000 (19:40 -0000)]
2007-02-15  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItemTest.cs: BehaviorImageList fails on *nix due to a bug in
libgdiplus: #80842.  Marked as Ignore for now, will re-enable when
bug is fixed.

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

17 years agoAdd
Miguel de Icaza [Thu, 15 Feb 2007 17:40:13 +0000 (17:40 -0000)]
Add

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

17 years agomore renames of vmwcsproj to csproj
Noam Lampert [Thu, 15 Feb 2007 17:17:01 +0000 (17:17 -0000)]
more renames of vmwcsproj to csproj

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

17 years agofixed test
Igor Zelmanovich [Thu, 15 Feb 2007 15:44:19 +0000 (15:44 -0000)]
fixed test

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

17 years agoGrasshopper now uses csproj instead of vmwcsproj
Noam Lampert [Thu, 15 Feb 2007 15:24:09 +0000 (15:24 -0000)]
Grasshopper now uses csproj instead of vmwcsproj

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

17 years ago2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 15 Feb 2007 15:09:13 +0000 (15:09 -0000)]
2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>

* BaseValidator: ControlPropertiesValid is called on PreRender
* CompareValidator.cs:
* RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.

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

17 years ago2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 15 Feb 2007 13:23:04 +0000 (13:23 -0000)]
2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>

* BaseCompareValidator.cs: fixed: support for type=Currency on client side.

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

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

* SimpleCollator.cs : character filtering is needed for
  OrdinalIgnoreCase in 2.0 profile. Fixed bug #80865.

* CompareInfoTest.cs : added test for bug #80865.

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

17 years agorename vmwcsproj to csproj
Noam Lampert [Thu, 15 Feb 2007 11:07:53 +0000 (11:07 -0000)]
rename vmwcsproj to csproj

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

17 years agoChanges due to rename of vmwcsproj to csproj
Noam Lampert [Thu, 15 Feb 2007 11:06:29 +0000 (11:06 -0000)]
Changes due to rename of vmwcsproj to csproj

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

17 years agoRemove XmlTool20.csproj old VS project, to make room for grasshopper project file
Noam Lampert [Thu, 15 Feb 2007 10:47:47 +0000 (10:47 -0000)]
Remove XmlTool20.csproj old VS project, to make room for grasshopper project file

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