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
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
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
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
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
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
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
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
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
Massimiliano Mantione [Mon, 19 Feb 2007 11:49:51 +0000 (11:49 -0000)]
* class.c: Fix bug 75903.
svn path=/trunk/mono/; revision=73107
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
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
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
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
Raja R Harinath [Mon, 19 Feb 2007 09:40:56 +0000 (09:40 -0000)]
mark non-running testcases
svn path=/trunk/mcs/; revision=73101
Yoni Klain [Mon, 19 Feb 2007 09:26:30 +0000 (09:26 -0000)]
svn path=/trunk/mcs/; revision=73100
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
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
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
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
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
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
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
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
Noam Lampert [Sun, 18 Feb 2007 17:21:53 +0000 (17:21 -0000)]
Fix reference
svn path=/trunk/mcs/; revision=73089
Marek Safar [Sun, 18 Feb 2007 16:33:55 +0000 (16:33 -0000)]
New test based on #78712
svn path=/trunk/mcs/; revision=73085
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
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
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
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
Marek Safar [Sun, 18 Feb 2007 14:17:08 +0000 (14:17 -0000)]
New tests.
svn path=/trunk/mcs/; revision=73080
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
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
Marek Safar [Sun, 18 Feb 2007 13:17:56 +0000 (13:17 -0000)]
New test.
svn path=/trunk/mcs/; revision=73077
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Sat, 17 Feb 2007 17:32:08 +0000 (17:32 -0000)]
Fixed test.
svn path=/trunk/mcs/; revision=73059
Marek Safar [Sat, 17 Feb 2007 16:34:16 +0000 (16:34 -0000)]
Test based on bug #80408
svn path=/trunk/mcs/; revision=73058
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
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
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
Gert Driesen [Sat, 17 Feb 2007 14:00:40 +0000 (14:00 -0000)]
Fixed line endings
svn path=/trunk/mcs/; revision=73054
Marek Safar [Sat, 17 Feb 2007 13:19:13 +0000 (13:19 -0000)]
Removed warnings.
svn path=/trunk/mcs/; revision=73053
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Alp Toker [Fri, 16 Feb 2007 14:52:46 +0000 (14:52 -0000)]
Typos
svn path=/trunk/mcs/; revision=73019
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
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
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
Marek Habersack [Fri, 16 Feb 2007 14:20:46 +0000 (14:20 -0000)]
Fix for bug 80808
svn path=/trunk/mcs/; revision=73014
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
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
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
Gert Driesen [Fri, 16 Feb 2007 07:56:21 +0000 (07:56 -0000)]
* ResourceReader.cs: Fixed typo.
svn path=/trunk/mcs/; revision=72979
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
Marek Habersack [Fri, 16 Feb 2007 01:56:20 +0000 (01:56 -0000)]
Fix the FontUnit cultural issue
svn path=/trunk/mcs/; revision=72977
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
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
Marek Safar [Thu, 15 Feb 2007 23:29:14 +0000 (23:29 -0000)]
New tests.
svn path=/trunk/mcs/; revision=72973
Marek Safar [Thu, 15 Feb 2007 23:25:35 +0000 (23:25 -0000)]
Extension method tests.
svn path=/trunk/mcs/; revision=72972
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
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
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
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
Miguel de Icaza [Thu, 15 Feb 2007 17:40:13 +0000 (17:40 -0000)]
Add
svn path=/trunk/mcs/; revision=72941
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
Igor Zelmanovich [Thu, 15 Feb 2007 15:44:19 +0000 (15:44 -0000)]
fixed test
svn path=/trunk/mcs/; revision=72920
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
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
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
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
Noam Lampert [Thu, 15 Feb 2007 11:07:53 +0000 (11:07 -0000)]
rename vmwcsproj to csproj
svn path=/trunk/mcs/; revision=72901
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
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