mono.git
17 years ago2007-05-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 May 2007 19:27:47 +0000 (19:27 -0000)]
2007-05-16  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilder.cs (GetFields): Return MonoField objects if the type is already
created.

* FieldBuilder.cs (SetValue): Make this not supported again.

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

17 years ago* XmlWriterTests.cs: Added tests for Close that verify closing of
Gert Driesen [Wed, 16 May 2007 19:22:11 +0000 (19:22 -0000)]
* XmlWriterTests.cs: Added tests for Close that verify closing of
underlying stream.

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

17 years ago* MaskedTextBox.cs: Small fix for Text that fixes a broken test.
Rolf Bjarne Kvinge [Wed, 16 May 2007 18:35:36 +0000 (18:35 -0000)]
* MaskedTextBox.cs: Small fix for Text that fixes a broken test.

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

17 years ago* TypeBuilderTest.cs: Use Assert instead of deprecated Assertion
Gert Driesen [Wed, 16 May 2007 17:32:37 +0000 (17:32 -0000)]
* TypeBuilderTest.cs: Use Assert instead of deprecated Assertion
class. Number tests. Added tests for bug #81638 and #81640.

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

17 years ago* ContainerControl.cs: only process tab key if there are no
Andreia Gaita [Wed, 16 May 2007 17:12:52 +0000 (17:12 -0000)]
* ContainerControl.cs: only process tab key if there are no
modifier keys present, otherwise the control does the
tab processing, if it needs to. Fixes #81622
* TabControl.cs: Fixes calculation for which tab to select on
shift+ctrl+tab.

2007-05-16  Andreia Gaita <avidigal@novell.com>

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

17 years ago * ThreadTest.cs: Fix build using csc 1.x.
Gert Driesen [Wed, 16 May 2007 16:44:43 +0000 (16:44 -0000)]
 * ThreadTest.cs: Fix build using csc 1.x.

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

17 years ago* MaskedTextBox.cs: Small fix for Text that fixes a broken test.
Rolf Bjarne Kvinge [Wed, 16 May 2007 15:41:03 +0000 (15:41 -0000)]
* MaskedTextBox.cs: Small fix for Text that fixes a broken test.

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

17 years ago2007-05-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 16 May 2007 15:38:04 +0000 (15:38 -0000)]
2007-05-15  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Make IsInputCharInternal to allow controls to
override it and still match MS API.
* TextBoxBase.cs: Override IsInputCharInternal and always
return true.
[Fixes bug #81616]

2007-05-15  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxTest.cs: Add test for IsInputChar method.

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

17 years ago* VirtualPathUtility.cs: Normalize method check more carefully if need to normalize...
Vladimir Krasnov [Wed, 16 May 2007 15:33:14 +0000 (15:33 -0000)]
* VirtualPathUtility.cs: Normalize method check more carefully if need to normalize, performance fix

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

17 years ago2007-05-16 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 16 May 2007 13:59:11 +0000 (13:59 -0000)]
2007-05-16  Dick Porter  <dick@ximian.com>

* ISymbolBinder.cs:
* ISymbolBinder1.cs:
* ISymbolDocument.cs:
* ISymbolDocumentWriter.cs:
* ISymbolMethod.cs:
* ISymbolNamespace.cs:
* ISymbolReader.cs:
* ISymbolScope.cs:
* ISymbolVariable.cs:
* ISymbolWriter.cs:
* SymDocumentType.cs:
* SymLanguageType.cs:
* SymLanguageVendor.cs:
* SymbolToken.cs:
* SymAddressKind.cs: Update to 2.0 profile

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

17 years ago2007-05-16 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 16 May 2007 13:26:17 +0000 (13:26 -0000)]
2007-05-16  Dick Porter  <dick@ximian.com>

* ConditionalAttribute.cs:
* DebuggableAttribute.cs:
* Debugger.cs:
* DebuggerBrowsableAttribute.cs:
* DebuggerDisplayAttribute.cs:
* DebuggerHiddenAttribute.cs:
* DebuggerNonUserCodeAttribute.cs:
* DebuggerStepperBoundaryAttribute.cs:
* DebuggerStepThroughAttribute.cs:
* DebuggerTypeProxyAttribute.cs:
* DebuggerVisualizerAttribute.cs:
* StackFrame.cs:
* StackTrace.cs:
* DebuggerBrowsableState.cs: Update to 2.0 profile

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

17 years ago2007-05-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 May 2007 12:54:35 +0000 (12:54 -0000)]
2007-05-16  Zoltan Varga  <vargaz@gmail.com>

* FieldBuilder.cs: Support calling SetValue (). Fixes #81638.

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

17 years agoRevert 77463, since this commit introduces the correct fix for the problem.
Marek Habersack [Wed, 16 May 2007 12:35:00 +0000 (12:35 -0000)]
Revert 77463, since this commit introduces the correct fix for the problem.

2007-05-16  Marek Habersack  <mhabersack@novell.com>

        * webform.js: in WebForm_ClientCallback set the id of the
        __EVENTVALIDATION element when creating it or otherwise
        WebForm_getFormData will not ignore it as expected by
        WebForm_DoCallback, which will result in the variable being
        present twice in the POST request.

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

17 years ago2007-05-16 Adar Wesley <adarw@mainsoft.com>
Adar Wesley [Wed, 16 May 2007 12:03:13 +0000 (12:03 -0000)]
2007-05-16  Adar Wesley <adarw@mainsoft.com>

* System20.csproj: added classes to compilation set IOControlCode.cs,
IPPacketInformation.cs

* CookieCollection.cs: added missing method strongly typed CopyTo.

* CredentialCache.cs: added missing methods Add, Remove, GetCredential

* HttpWebRequest.jvm.cs: added missing ClientCertificates getter.

* ServicePoint.cs: added missing method CloseConnectionGroup.

* WebClient.cs: added missing methods OnDownloadProgressChanged,
OnUploadProgressChanged, GetWebRequest, GetWebResponse

* WebHeaderCollection.cs: added missing methods IsRestricted, Add,
Remove, Set.

* WebProxy.cs: added missing method GetObjectData.

* Socket.jvm.cs: added missing methods EndDisconnect, IOControl,
Send 2.0 overloads, Receive 2.0 overloads, ReceiveMessageFrom,
BeginReceiveMessageFrom, EndReceiveMessageFrom,
EndAccept 2.0 overloads, BeginSend, EndSend, BeginReceive,
EndReceive, SendFile, BeginSendFile, EndSendFile, Disconnect,
DuplicateAndClose

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

17 years agocorrectly check for request locality
Konstantin Triger [Wed, 16 May 2007 11:54:06 +0000 (11:54 -0000)]
correctly check for request locality

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

17 years ago2007-05-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 16 May 2007 11:36:30 +0000 (11:36 -0000)]
2007-05-16  Marek Habersack  <mhabersack@novell.com>

* WebUIValidation.js: ported ToCurrency and ToDate converters from
WebUIValidation_2.0.js.

2007-05-16  Marek Habersack  <mhabersack@novell.com>

* CompareValidator.cs: formatting changes

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

17 years agoAdd forbidden handlers for derby files
Konstantin Triger [Wed, 16 May 2007 09:36:28 +0000 (09:36 -0000)]
Add forbidden handlers for derby files

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

17 years ago* HtmlTextWriter.cs: refactoring, created hashtables for tags, styles and attributes...
Vladimir Krasnov [Wed, 16 May 2007 09:28:24 +0000 (09:28 -0000)]
* HtmlTextWriter.cs: refactoring, created hashtables for tags, styles and attributes arrays, that gives performance improvement in GetTagKey, GetStyleKey and GetAttributeKey methods

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

17 years ago2007-05-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 16 May 2007 09:13:48 +0000 (09:13 -0000)]
2007-05-16  Marek Habersack  <mhabersack@novell.com>

* HttpRequest.cs: do not add duplicate fields to the form
collection. Unbreaks the TreeView populate on demand sample from
the XSP2 tests.

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

17 years agoTARGET_JVM: make handler resolution case insensitive to comply with r77418
Konstantin Triger [Wed, 16 May 2007 08:45:04 +0000 (08:45 -0000)]
TARGET_JVM: make handler resolution case insensitive to comply with r77418

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

17 years ago2007-05-16 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 16 May 2007 08:20:55 +0000 (08:20 -0000)]
2007-05-16  Igor Zelmanovich <igorz@mainsoft.com>

* PageMapper.cs: prevent DOS attack:
dont cache MetaProvider for not valid resource.

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

17 years agosvn path=/trunk/mcs/; revision=77456
Olivier Dufour [Wed, 16 May 2007 06:38:28 +0000 (06:38 -0000)]
svn path=/trunk/mcs/; revision=77456

17 years agoinitial commit for ColumnHeaderConverter !
Olivier Dufour [Wed, 16 May 2007 06:37:11 +0000 (06:37 -0000)]
initial commit for ColumnHeaderConverter !

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

17 years agoRefactor Clone
Konstantin Triger [Wed, 16 May 2007 06:25:35 +0000 (06:25 -0000)]
Refactor Clone

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

17 years agoundo r77416 since the issue is handled in Xml, r77450
Konstantin Triger [Wed, 16 May 2007 06:08:56 +0000 (06:08 -0000)]
undo r77416 since the issue is handled in Xml, r77450

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

17 years agoensure the file is closed in XmlWriter.Create(filename)
Konstantin Triger [Wed, 16 May 2007 06:04:45 +0000 (06:04 -0000)]
ensure the file is closed in XmlWriter.Create(filename)

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

17 years agoRefactor Clone
Konstantin Triger [Wed, 16 May 2007 06:01:20 +0000 (06:01 -0000)]
Refactor Clone

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

17 years agoNew test.
Marek Safar [Tue, 15 May 2007 22:38:45 +0000 (22:38 -0000)]
New test.

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

17 years ago2007-05-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 May 2007 22:37:41 +0000 (22:37 -0000)]
2007-05-15  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81380
* expression.cs (Is.DoResolve): Only value types have constant `isĀ“
behaviour.

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

17 years ago * TextBox.cs: Disable some of the menu options when using a
Jackson Harper [Tue, 15 May 2007 22:17:37 +0000 (22:17 -0000)]
    * TextBox.cs: Disable some of the menu options when using a
        readonly textbox.

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

17 years ago2007-05-16 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 15 May 2007 22:12:11 +0000 (22:12 -0000)]
2007-05-16  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * CommandLineBuilder.cs: Add quotes when there are needed.

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

17 years ago2007-05-16 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 15 May 2007 22:10:53 +0000 (22:10 -0000)]
2007-05-16  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * CommandLineBuilderTest.cs: Added tests for filenames that contain
        spaces.

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

17 years ago2007-05-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 May 2007 21:18:50 +0000 (21:18 -0000)]
2007-05-15  Marek Habersack  <mhabersack@novell.com>

* TemplateControl.cs: implemented the 3-parameter overloads of
GetLocalResourceObject and GetGlobalResourceObject.

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

17 years ago2007-05-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 May 2007 20:48:57 +0000 (20:48 -0000)]
2007-05-15  Marek Habersack  <mhabersack@novell.com>

* ResourceExpressionBuilder.cs: added a static method to generate
a GetLocalResourceObject call which properly handles types which
cannot be converted from strings.

* TemplateControlCompiler.cs: use code described above to generate
code for properties assigned from resources.

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

17 years ago2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 May 2007 20:16:00 +0000 (20:16 -0000)]
2007-05-15  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
GdipDrawImageRectRect (GraphicsUnit).
* TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
DrawImageUnscaledAndClipped (2.0).
* TestRectangle.cs: Add test cases for negative width/height. Fix some
test cases that were using RectangleF instead of Rectangle.
* TestRectangleF.cs: Add test cases for negative width/height.

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

17 years ago2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 May 2007 20:12:03 +0000 (20:12 -0000)]
2007-05-15  Sebastien Pouliot  <sebastien@ximian.com>

* Graphics.cs: Fix DrawImageUnscaled for empty (width or height <= 0)
Fix NRE in DrawImageUnscaledAndClipped. Remove lines with only tabs in
them.
* RectangleF.cs: A rectangle with a negative width or height is also
empty.

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

17 years ago * class-internals.h: Added "MonoVTable.interface_bitmap" as a next
Massimiliano Mantione [Tue, 15 May 2007 19:35:18 +0000 (19:35 -0000)]
* class-internals.h: Added "MonoVTable.interface_bitmap" as a next
step in implementing IMT, so that all isinst checks now can go
through the bitmap.
This was needed because vtables for TransparentProxy need to look
like the vtable of the "target" class, so they need to point to
its interface bitmap directly.

* object.c: inside "mono_class_create_runtime_vtable" and
"mono_class_proxy_vtable", initialize "MonoVTable.interface_bitmap".

* inssel.brg: added "mini_emit_load_intf_bit_reg_vtable", and used it
inside "mini_emit_isninst_iface_cast" and "mini_emit_castclass_iface"
so that all isinst checks now use "interface_bitmap".

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

17 years agoNew test, updates.
Marek Safar [Tue, 15 May 2007 19:29:12 +0000 (19:29 -0000)]
New test, updates.

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

17 years ago2007-05-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 May 2007 19:28:30 +0000 (19:28 -0000)]
2007-05-15  Marek Safar  <marek.safar@gmail.com>

* flowanalysis.cs: Unified error message.

* statement.cs (Block): Removed switch_block.
(AddSwitchBlock): A label has to be unique in the scope of method.
(DoLookupLabel): Simplified.

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

17 years ago * TextBox.cs:
Jackson Harper [Tue, 15 May 2007 18:42:28 +0000 (18:42 -0000)]
    * TextBox.cs:
        * TextBoxBase.cs:
        * RichTextBox.cs: Some new 2.0 methods

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

17 years ago* FileDialog.cs: On 1.0 profile, do not support multidotted extensions.
Gert Driesen [Tue, 15 May 2007 18:40:16 +0000 (18:40 -0000)]
* FileDialog.cs: On 1.0 profile, do not support multidotted extensions.

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

17 years ago2007-05-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 15 May 2007 15:43:02 +0000 (15:43 -0000)]
2007-05-15 Igor Zelmanovich <igorz@mainsoft.com>

* Configuration.cs:
* ConfigurationLocation.cs:
implemented EvaluationContext property.

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

17 years agoensure the file is closed in DataTable.WriteXml(filename)
Konstantin Triger [Tue, 15 May 2007 15:03:30 +0000 (15:03 -0000)]
ensure the file is closed in DataTable.WriteXml(filename)

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

17 years ago2007-05-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 15 May 2007 14:58:27 +0000 (14:58 -0000)]
2007-05-15  Igor Zelmanovich <igorz@mainsoft.com>

* WebConfigurationManager.cs:
make configurations hashtable case-insensitive.
* WebConfigurationHost.cs: for TARGET_J2EE only:
GetStreamName returns file path in right case, that make it works
on case-sensitive file system.

* ConfigurationLocationCollection.cs: for TARGET_JVM only:
location path is case-insensitive.

* PageMapper.cs: reverted r77353, 77321
make it case-insensitive

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

17 years ago2007-05-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 May 2007 14:37:26 +0000 (14:37 -0000)]
2007-05-15  Zoltan Varga  <vargaz@gmail.com>

* cpu-amd64.md (jmp): Fix a warning.

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

17 years ago2007-05-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 May 2007 14:35:15 +0000 (14:35 -0000)]
2007-05-15  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg (CEE_SWITCH): Hopefully fix #80738.

* basic.cs: Add new regression test.

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

17 years agoFix backward compat problem.
Eyal Alalouf [Tue, 15 May 2007 14:16:48 +0000 (14:16 -0000)]
Fix backward compat problem.

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

17 years ago2007-05-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 May 2007 14:13:57 +0000 (14:13 -0000)]
2007-05-15  Zoltan Varga  <vargaz@gmail.com>

* basic.cs: Remove test which is now in basic-long.cs.

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

17 years ago2007-05-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 May 2007 14:12:26 +0000 (14:12 -0000)]
2007-05-15  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c (mono_arch_output_basic_block): Sign extend in CEE_CONV_I8/CEE_CONV_I.

* basic-long.cs: Add new test.

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

17 years ago2007-05-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 May 2007 14:09:27 +0000 (14:09 -0000)]
2007-05-15  Atsushi Enomoto  <atsushi@ximian.com>

* RegionInfo.cs, CultureInfo.cs : in 2.0 RegionInfo could be created
  from locale name. To support that, retrieve CultureInfo from name
  and use its Territory name if exists.
  RegionInfo.Equals() still uses lcid, but hash code is based on
  region ID. Added GeoId, which represents unique region ID (which
  is returned in 1.x GetHashCode()).

* RegionInfoTest.cs : new tests.

* corlib_test.dll.sources : added RegionInfoTest.cs.

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

17 years ago2007-05-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 May 2007 14:08:25 +0000 (14:08 -0000)]
2007-05-15  Atsushi Enomoto  <atsushi@ximian.com>

in metadata:
* object-internals.h
  culture-info.h : added territory field in MonoCulture and
  CultureInfoEntry foreach. Added lcid field in RegionInfoEntry.
* locales.c : fill territory field above too.
* culture-info-table.h : regenerated.

in locale-builder:
* CultureInfoEntry.cs : output Territory, which is used for RegionInfo.
* RegionInfoEntry.cs : added dummy int which is a slot for LCID.

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

17 years ago* statement.cs (ToplevelBlock.child): Remove.
Raja R Harinath [Tue, 15 May 2007 14:06:52 +0000 (14:06 -0000)]
* statement.cs (ToplevelBlock.child): Remove.

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

17 years agoremove derby anti leak workarounds which proved to be buggy
Konstantin Triger [Tue, 15 May 2007 13:30:29 +0000 (13:30 -0000)]
remove derby anti leak workarounds which proved to be buggy

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

17 years ago2007-05-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 May 2007 13:26:56 +0000 (13:26 -0000)]
2007-05-15  Marek Habersack  <mhabersack@novell.com>

* WsdlBuildProvider.cs: make the code actually work - get the
physical path of VirtualPath instead of converting it to absolute
URI path.
Do not generate source, add the code unit to assembly builder
instead.

* XsdBuildProvider.cs: added
2007-05-15  Marek Habersack  <mhabersack@novell.com>

* System.Web.dll.sources: added
System.Web.Compilation/XsdBuildProvider.cs

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

17 years ago2007-05-15 Adar Wesley <adarw@mainsoft.com>
Adar Wesley [Tue, 15 May 2007 11:57:31 +0000 (11:57 -0000)]
2007-05-15 Adar Wesley <adarw@mainsoft.com>

        * AttributeCollection.cs: added missing method FromExisting.

        * Container.cs: added missing method ValidateName

        * DefaultValueAttribute.cs: added missing method SetValue.

        * EventHandlerList.cs: added missing method AddHandlers.

        * MemberDescriptor.cs: added missing method GetInvocationTarget.

        * PropertyDescriptor.cs: added missing method GetValueChangedHandler.

        * TypeDescriptor.cs: added missing methods CreateInstance, GetFullComponentName,
        GetClassName, GetReflectionType, CreateAssociation, GetAssociation,
        RemoveAssociation, RemoveAssociations.

        * MenuCommand.cs: added missing method overload Invoke

        * ContextStack.cs: added missing method Append.

        * Trace.cs: added missing method Refresh.

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

17 years ago2007-05-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 May 2007 09:35:00 +0000 (09:35 -0000)]
2007-05-15  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: refactoring - use HttpApplication.LoadType to
actually look up types.

* ControlBuilder.cs: as above

2007-05-15  Marek Habersack  <mhabersack@novell.com>

* BuildProviderCollection.cs: refactoring - use
HttpApplication.LoadType to actually look up the type.

* HttpHandlerAction.cs: as above

* WebConfigurationHost.cs: refactoring - moved the LoadType to
HttpApplication to share the code between 1.1 and 2.0 profiles.

2007-05-15  Marek Habersack  <mhabersack@novell.com>

* ObjectDataSourceView.cs: refactoring - use
HttpApplication.LoadType to look up types.

2007-05-15  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: refactoring - moved LoadType from
WebConfigurationHost here and made it internal static, in order to
make the code avaliable from all the places where extended type
loading is required.

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

17 years ago2007-05-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 May 2007 08:07:45 +0000 (08:07 -0000)]
2007-05-15  Marek Habersack  <mhabersack@novell.com>

* ConfigurationElement.cs: added value validation on
deserialization from the config file.

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

17 years ago2007-05-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 May 2007 06:48:11 +0000 (06:48 -0000)]
2007-05-15  Marek Habersack  <mhabersack@novell.com>

* HttpWebRequest.cs: fold all methods into GET for
redirect/moves. Fixes bug #81624

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

17 years agocorrect hierarchy for the exception for 2.0 profile
Konstantin Triger [Tue, 15 May 2007 06:38:13 +0000 (06:38 -0000)]
correct hierarchy for the exception for 2.0 profile

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

17 years agoRationalize ResolveMeta: refactoring
Raja R Harinath [Tue, 15 May 2007 03:51:35 +0000 (03:51 -0000)]
Rationalize ResolveMeta: refactoring
(Block.ResolveMeta): Remove wrong or superfluous comments.  Carve
out constant handling code into ...
(Block.DoResolveConstants): ... this.

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

17 years agoRationalize ResolveMeta, part 1
Raja R Harinath [Tue, 15 May 2007 02:59:28 +0000 (02:59 -0000)]
Rationalize ResolveMeta, part 1
* statement.cs (Block.local_map, Block.LocalMap): Remove.
(Block.AssignableSlots): New.
(Block.ResolveMeta): Make protected.  Don't create a VariableMap
for locals -- move code from VariableMap here.  Avoid unnecessary
allocations.
* flowanalysis.cs (FlowBranching.local_map): Remove.
(FlowBranching..ctor): Use Block.AssignableSlots.
(VariableMap): Remove unused constructors.

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

17 years ago * TextBoxBase.cs: Implement some of the new 2.0 methods.
Jackson Harper [Mon, 14 May 2007 22:12:02 +0000 (22:12 -0000)]
    * TextBoxBase.cs: Implement some of the new 2.0 methods.
        * RichTextBox.cs: We need to override these methods on 2.0.
        * MaskedTextBox.cs: These are implemented now
        * TextControl.cs: This was off by one.

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

17 years agoRestore accidentally removed entry
Marek Habersack [Mon, 14 May 2007 21:09:06 +0000 (21:09 -0000)]
Restore accidentally removed entry

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

17 years ago2007-05-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 May 2007 20:58:30 +0000 (20:58 -0000)]
2007-05-14  Marek Habersack  <mhabersack@novell.com>

        * UrlMappingCollection.cs: implemented the Item (string) indexer.

        * UrlMapping.cs: implemented the URL validation callback body
        (doesn't work at the moment).

2007-05-14  Marek Habersack  <mhabersack@novell.com>

        * HttpUtility.cs: when parsing query strings, skip the leading ?
        for the first parameter name.

        * HttpRequest.cs: added support for mapping urls, as defined in
        the system.web/urlMappings section.

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

17 years ago * TextControl.cs: Because the line endings are including in the
Jackson Harper [Mon, 14 May 2007 19:51:21 +0000 (19:51 -0000)]
    * TextControl.cs: Because the line endings are including in the
        text, we don't need to add them in anymore.

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

17 years ago* mono-shlib-cop.exe.config: Remove "does-not-exist" dllmap
Wade Berrier [Mon, 14 May 2007 19:00:09 +0000 (19:00 -0000)]
* mono-shlib-cop.exe.config: Remove "does-not-exist" dllmap
(Was complicating packaging on ia64: There is no libc.so.6 on
ia64, only libc.so.6.1)

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

17 years ago * TextControl.cs: Because the line endings are including in the
Jackson Harper [Mon, 14 May 2007 18:16:52 +0000 (18:16 -0000)]
    * TextControl.cs: Because the line endings are including in the
        text, we don't need to add them in anymore.

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

17 years ago2007-05-14 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 14 May 2007 15:22:31 +0000 (15:22 -0000)]
2007-05-14  Dick Porter  <dick@ximian.com>

* SocketTest.cs: Tests for bug 75705

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

17 years ago2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 14 May 2007 14:21:30 +0000 (14:21 -0000)]
2007-05-14  Igor Zelmanovich <igorz@mainsoft.com>

* PageMapper.cs:
fixed previous patch

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

17 years ago2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 14 May 2007 14:04:10 +0000 (14:04 -0000)]
2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>

* SqlMembershipProvider.cs: Fix parameter binding to stored procedures.

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

17 years ago* HttpWriter.cs: GetMaxByteCount was used in Write and WriteString methods to improve...
Vladimir Krasnov [Mon, 14 May 2007 13:51:06 +0000 (13:51 -0000)]
* HttpWriter.cs: GetMaxByteCount was used in Write and WriteString methods to improve performance of HttpWriter

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

17 years ago2007-05-14 Adar Wesley <adarw@mainsoft.com>
Adar Wesley [Mon, 14 May 2007 11:48:15 +0000 (11:48 -0000)]
2007-05-14  Adar Wesley <adarw@mainsoft.com>

        * XmlSchemaExporter.cs: added missing overload for method ExportAnyType.

        * XmlSchemas.cs: added missing methods Add, AddReference, Contains,
        GetSchemas.

        * XmlSerializationReader.cs: added missing method AddReaderCount.

        * XmlSerializationWriter.cs: added missing overload WriteStartElement.

        * XmlSerializer.cs: added missing overload Serialize.

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

17 years ago2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 14 May 2007 10:05:15 +0000 (10:05 -0000)]
2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>

* ConfigurationElement.cs: when attribute value cannot be parsed,
ConfigurationErrorException is thrown.

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

17 years ago2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 14 May 2007 09:47:41 +0000 (09:47 -0000)]
2007-05-14  Igor Zelmanovich <igorz@mainsoft.com>

* WebConfigurationManager.cs:
make configurations synchronized.
added new internal method RemoveConfigurationFromCache.

* HttpApplication.cs:
prevent DOS attack: remove configuration from the cache in case
of invalid resource not exists

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

17 years ago* TraceContext.cs: refactoring, cached TraceManager
Vladimir Krasnov [Mon, 14 May 2007 09:28:03 +0000 (09:28 -0000)]
* TraceContext.cs: refactoring, cached TraceManager

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

17 years ago* PropertyDescriptorCollection.cs: fixed Find method, compare using invariant culture
Vladimir Krasnov [Mon, 14 May 2007 08:59:27 +0000 (08:59 -0000)]
* PropertyDescriptorCollection.cs: fixed Find method, compare using invariant culture

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

17 years ago2007-05-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 May 2007 08:02:36 +0000 (08:02 -0000)]
2007-05-14  Atsushi Enomoto  <atsushi@ximian.com>

* EventTypeFilter.cs
  TraceFilter.cs
  SourceFilter.cs
  SwitchLevelAttribute.cs
  DelimitedListTraceListener.cs
  SwitchAttribute.cs : new files in 2.0.
* DiagnosticsConfigurationHandler.cs : partial support for named
  shared listeners.
* XmlWriterTraceListener.cs : cosmetic corcompare fixes. Added
  missing todos.
* TraceListener.cs : added missing 2.0 stuff. Implemented Filter.
* DefaultTraceListener.cs : trivial ComVisible fix.

* DiagnosticsConfigurationHandlerTest.cs : in 2.0 configuration item
  listeners/add/@type is optional (for named shared listener support).

* System.dll.sources :
  Added EventTypeFilter.cs, TraceFilter.cs, SourceFilter.cs,
  DelimitedListTraceListener.cs, SwitchAttribute.cs and
  SwitchLevelAttribute.cs in sys.diagnostics.

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

17 years ago2007-05-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 May 2007 07:43:43 +0000 (07:43 -0000)]
2007-05-14  Marek Habersack  <mhabersack@novell.com>

* ClientScriptManager.cs: put the hidden field within a <div>, the
way MS.NET does it.

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

17 years ago* Makefile.am (VCPROJS): New.
Raja R Harinath [Sun, 13 May 2007 19:31:21 +0000 (19:31 -0000)]
* Makefile.am (VCPROJS): New.

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

17 years agoNew test.
Marek Safar [Sun, 13 May 2007 16:11:21 +0000 (16:11 -0000)]
New test.

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

17 years ago2007-05-13 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 13 May 2007 16:11:00 +0000 (16:11 -0000)]
2007-05-13  Igor Zelmanovich <igorz@mainsoft.com>

* PageMapper.cs:
make it case sensitive if file system is case sensitive

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

17 years ago2007-05-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 May 2007 15:22:00 +0000 (15:22 -0000)]
2007-05-13  Zoltan Varga  <vargaz@gmail.com>

* mini-sparc.c (mono_spillvar_offset_float): Fix sparc build.

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

17 years agoFix the type of the returned array
Konstantin Triger [Sun, 13 May 2007 14:55:35 +0000 (14:55 -0000)]
Fix the type of the returned array

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

17 years ago2007-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 May 2007 17:33:34 +0000 (17:33 -0000)]
2007-05-12  Zoltan Varga  <vargaz@gmail.com>

* cpu-x86.md minix-86.c: Add a peephole_pass_1 () as on amd64.

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

17 years ago2007-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 May 2007 17:23:48 +0000 (17:23 -0000)]
2007-05-12  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_output_basic_block): Use mono_opcode_to_cond () in a few
places.

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

17 years ago2007-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 May 2007 17:16:54 +0000 (17:16 -0000)]
2007-05-12  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_emit_exceptions): Decrease the size of the exception
throwing code a bit.

* exceptions-x86.c (mono_arch_get_throw_corlib_exception): Decrease the size of
the exception throwing code a bit.

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

17 years ago2007-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 May 2007 17:12:36 +0000 (17:12 -0000)]
2007-05-12  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (get_call_info): Allocate result from a mempool.

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

17 years agoReduce warnings when building as an internal library
Miguel de Icaza [Sat, 12 May 2007 15:24:28 +0000 (15:24 -0000)]
Reduce warnings when building as an internal library

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

17 years agoDataConverter is needed (in the tarball) by System.Core.dll
Sebastien Pouliot [Sat, 12 May 2007 15:10:38 +0000 (15:10 -0000)]
DataConverter is needed (in the tarball) by System.Core.dll

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

17 years ago2007-05-12 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Sat, 12 May 2007 15:05:15 +0000 (15:05 -0000)]
2007-05-12  Jonathan Chambers  <joncham@gmail.com>

* SafeWaitHandle.cs: Add internal empty
constructor for pinvoke marshalling.

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

17 years ago2007-05-12 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Sat, 12 May 2007 15:03:37 +0000 (15:03 -0000)]
2007-05-12  Jonathan Chambers  <joncham@gmail.com>

* FileStream.cs: Implement SafeHandle constructors.

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

17 years ago2007-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 May 2007 12:56:45 +0000 (12:56 -0000)]
2007-05-12  Zoltan Varga  <vargaz@gmail.com>

* class-internals.h (_MonoGenericContainer): Widen type_argc filed to 31 bits.
Fixes #81599.

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

17 years ago* ControlBuilder.cs: Fixed exception message in MapType.
Gert Driesen [Fri, 11 May 2007 21:59:50 +0000 (21:59 -0000)]
* ControlBuilder.cs: Fixed exception message in MapType.

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

17 years ago* ToolStripItemCollectionTest.cs: Removed duplicate test.
Gert Driesen [Fri, 11 May 2007 21:48:44 +0000 (21:48 -0000)]
* ToolStripItemCollectionTest.cs: Removed duplicate test.

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

17 years ago* DebuggerDisplayAttributeTest.cs: Make test forward compatible.
Gert Driesen [Fri, 11 May 2007 21:41:09 +0000 (21:41 -0000)]
* DebuggerDisplayAttributeTest.cs: Make test forward compatible.
Replace Assert.AreEqual null comparison with Assert.IsNull. Replaced
"" with string.Empty.

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

17 years ago2007-05-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 May 2007 20:48:42 +0000 (20:48 -0000)]
2007-05-11  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoStream.cs: Ensure TransformFinalBlock isn't called multiple
times. Fix bug #81597.

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

17 years ago2007-05-11 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 May 2007 20:43:30 +0000 (20:43 -0000)]
2007-05-11  Jonathan Chambers  <joncham@gmail.com>

* __ComObject.cs: No need to call CoInitialize anymore since
Thread.ApartmentState was implemented.

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

17 years ago2007-05-11 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 May 2007 20:41:38 +0000 (20:41 -0000)]
2007-05-11  Jonathan Chambers  <joncham@gmail.com>

* object.c: Always initialize apartment, even if
there is no custom attributes on entry point.

Code is contributed under MIT/X11 license.

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

17 years agoMake this build
Miguel de Icaza [Fri, 11 May 2007 20:34:38 +0000 (20:34 -0000)]
Make this build

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

17 years ago2007-05-11 Stephane Delcroix <stephane@delcroix.org>
Stephane Delcroix [Fri, 11 May 2007 20:29:26 +0000 (20:29 -0000)]
2007-05-11  Stephane Delcroix  <stephane@delcroix.org>

* System/DateTimeOffset.cs:
* System/InvalidTimeZoneException.cs:
* System/TimeZoneInfo.AdjustmentRules.cs:
* System/TimeZoneInfo.cs:
* System/TimeZoneInfo.TransitionTime.cs
* System/TimeZoneNotFoundException.cs: new TimeZoneInfo class

* System.Core.dll.sources: Added the above files

* Makefile: compile with -d:LIBC so TimeZoneInfo will look for libc
defined timezones

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