mono.git
19 years agoremove standalone mode, use nunit exclusively
Andrew Skiba [Mon, 4 Jul 2005 07:26:31 +0000 (07:26 -0000)]
remove standalone mode, use nunit exclusively

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

19 years ago2005-07-04 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Mon, 4 Jul 2005 07:12:10 +0000 (07:12 -0000)]
2005-07-04 Ritvik Mayank  <mritvik@novell.com>

        * Test/System.Windows.Forms/ListBoxTest.cs : added tests for ListBox properties and methods
* Test/System.Windows.Forms/ListBoxEventTest.cs : added tests for ListBox events
* System.Windows.Forms_test.dll.sources : added ListBox test in test source file.

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

19 years ago * outline.cs: Support for methods with generic parameters.
Ben Maurer [Mon, 4 Jul 2005 03:12:39 +0000 (03:12 -0000)]
* outline.cs: Support for methods with generic parameters.

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

19 years ago2005-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 3 Jul 2005 23:22:51 +0000 (23:22 -0000)]
2005-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: initiate writing the body before trying to
read. This fixes the performance problems observed in web services.
Closes bug #75455.

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

19 years ago2005-07-03 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 3 Jul 2005 22:47:09 +0000 (22:47 -0000)]
2005-07-03  Ben Maurer  <bmaurer@ximian.com>

* scripts/Makefile.am (bin2_SCRIPTS): Add monop2

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

19 years ago * *: begin support for 2.0
Ben Maurer [Sun, 3 Jul 2005 22:37:40 +0000 (22:37 -0000)]
* *: begin support for 2.0

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

19 years ago2005-07-03 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 3 Jul 2005 21:08:50 +0000 (21:08 -0000)]
2005-07-03  Ben Maurer  <bmaurer@ximian.com>

* outline.cs: Add support for readonly fields.

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

19 years ago2005-07-03 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 3 Jul 2005 20:22:44 +0000 (20:22 -0000)]
2005-07-03  Ben Maurer  <bmaurer@ximian.com>

* Makefile: Fix so it really doesn't install for 2.0.

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

19 years ago2005-07-03 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 3 Jul 2005 17:41:01 +0000 (17:41 -0000)]
2005-07-03  Ben Maurer  <bmaurer@ximian.com>

* OperatingSystem.cs: patch from Aleksandar Dezelin to fix
serialization.

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

19 years ago2005-07-03 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sun, 3 Jul 2005 12:57:28 +0000 (12:57 -0000)]
2005-07-03  Iain McCoy  <iain@mccoy.id.au>
        * demo/Makefile: made more useful - just do "make run" and it should
        all happen
        * demo/test.xaml: added Code section, which I think should make this
        thing a complete, if small, program
        * demo/TestVocab/*: some small bugfixes, with a little bit of
        craziness to work around the slightly bogus stuff in DependencyObject
        at the moment.

        * Mono.Windows.Serialization/XamlParser.cs: added support for Code
        elements, provide fully qualified name of type to attach to, skip
        xmns: attributes when processing,
        * Mono.Windows.Serialization/XamlWriter.cs: added WriteCode member,
        ordered methods by type of thing dealt with
        * Mono.Windows.Serialization/CodeWriter.cs: added support for Code
        elements, call empty constructor for objects, call TypeConverter
        almost correctly.

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

19 years agoReflecting changes in location of Locale.cs and MonoTODOAttribute.cs
Boris Kirzner [Sun, 3 Jul 2005 09:31:25 +0000 (09:31 -0000)]
Reflecting changes in location of Locale.cs and MonoTODOAttribute.cs

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

19 years ago2005-07-03 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sun, 3 Jul 2005 03:32:25 +0000 (03:32 -0000)]
2005-07-03  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/CodeWriter.cs: use CodeDom to do code
        generation
        * Mono.Windows.Serialization/CodeWriter.cs:
        * Mono.Windows.Serialization/XamlWriter.cs:
        * Mono.Windows.Serialization/XamlParser.cs: initial
TypeConverter
        support

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

19 years ago* CodeGeneratorFromTypeTest.cs: Added event ImplementationTypes tests. Added
Gert Driesen [Sat, 2 Jul 2005 19:03:58 +0000 (19:03 -0000)]
* CodeGeneratorFromTypeTest.cs: Added event ImplementationTypes tests. Added
PrivateImplementationType and property and method overload tests. Added
property indexer tests.
* CodeGeneratorFromTypeTest.cs: Modified test to ensure that scope modifiers
are not output for events.
* CSharpCodeGenerator.cs: Added PrivateImplementationType support for events,
properties, methods. No longer output scope modifier for events.
* VBCodeGenerator.cs: Scope modifiers should not be output for events.

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

19 years ago2005-07-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 2 Jul 2005 17:43:59 +0000 (17:43 -0000)]
2005-07-02  Martin Baulig  <martin@ximian.com>

* class-internals.h
(MonoGenericClass): Move `count_ifaces' and `ifaces' into
`MonoDynamicGenericClass'.

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

19 years ago2005-07-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 2 Jul 2005 15:30:12 +0000 (15:30 -0000)]
2005-07-02  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryInfoTest.cs: Added tests for FullName (bug #75443).

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

19 years ago2005-07-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 2 Jul 2005 15:28:45 +0000 (15:28 -0000)]
2005-07-02  Sebastien Pouliot  <sebastien@ximian.com>

* FileSystemInfo.cs: Fixed exception arguments. Added ComVisible for
NET_2_0.
* DirectoryInfo.cs: Fixed bug #75443 when the directory ends with a
separator. Added ComVisible for NET_2_0. Normalized line endings.

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

19 years ago* CodeGeneratorFromTypeTest.cs: Added PrivateImplementationType tests
Gert Driesen [Sat, 2 Jul 2005 13:36:00 +0000 (13:36 -0000)]
* CodeGeneratorFromTypeTest.cs: Added PrivateImplementationType tests
for property, event, method. Added Overloads tests for property and
method.
* VBCodeGenerator.cs: Added PrivateImplementationType support for
properties, methods and event (2.0 only). Added Overloads support
for properties and methods.

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

19 years ago2005-07-02 Daniel Drake <dsd@gentoo.org>
Daniel Drake [Sat, 2 Jul 2005 10:47:23 +0000 (10:47 -0000)]
2005-07-02  Daniel Drake  <dsd@gentoo.org>

* UriTest.cs: Add some tests for the new multi-byte escaping
implementation in bug #74872

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

19 years ago2005-07-02 Daniel Drake <dsd@gentoo.org>
Daniel Drake [Sat, 2 Jul 2005 10:22:09 +0000 (10:22 -0000)]
2005-07-02  Daniel Drake  <dsd@gentoo.org>

* Uri.cs: HexUnescape() should only work on single-byte escape
sequences, ala HexEscape(). However, we still want to handle multi-byte
sequences internally, so introduce a more correct implementation of
multi-byte unescaping, HexUnescapeMultiByte(). Fixes bug #74872.

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

19 years ago2005-07-02 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sat, 2 Jul 2005 09:28:36 +0000 (09:28 -0000)]
2005-07-02 Iain McCoy <iain@mccoy.id.au>
* tools/xamlc: initial in-progress version of xaml compiler and
example
* class/PresentationFramework: xaml support code
* class/WindowsBase: initial version of DependencyObject, mostly
for DependencyProperty support

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

19 years ago2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Sat, 2 Jul 2005 08:58:19 +0000 (08:58 -0000)]
2005-07-01  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridTextBoxColumn.cs: bug fixes, code refactoring
* ThemeWin32Classic.cs: bug fixes, code refactoring
* DataGridDrawingLogic.cs:  bug fixes, code refactoring
* DataGrid.cs: bug fixes, code refactoring
* DataGridTextBox.cs: bug fixes, code refactoring
* DataGridColumnStyle.cs:  bug fixes, code refactoring
* Theme.cs:  bug fixes, code refactoring

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

19 years agoChangeLog entries from Florian Gross <flgr@ccan.de>
César Natarén [Sat, 2 Jul 2005 03:40:41 +0000 (03:40 -0000)]
ChangeLog entries from Florian Gross <flgr@ccan.de>

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

19 years agopatch fom Florian Gross <flgr@ccan.de
César Natarén [Sat, 2 Jul 2005 03:40:06 +0000 (03:40 -0000)]
patch fom Florian Gross <flgr@ccan.de

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

19 years ago2005-07-02 Florian Gross <flgr@ccan.de>
César Natarén [Sat, 2 Jul 2005 03:39:02 +0000 (03:39 -0000)]
2005-07-02  Florian Gross  <flgr@ccan.de>

* ArrayPrototype.cs: Implemented pop, reverse, shift and slice
* StringPrototype.cs: Implemented anchor, big, blink, bold, charAt,
charCodeAt, fixed, fontcolor, fontsize, indexOf, italics, lastIndexOf,
link, localeCompare, slice, small, strike, substring, sup,
toLocaleLowerCase, toLocaleUpperCase, toLowerCase, toString, toUpperCase
and valueOf
* ArrayObject.cs: ArrayObject-ctor works correctly when first argument
isn't length and first element gets assigned to 0 slot correctly
* NumberObject.cs: Basic constructor / double value made internal
* Equality.cs: Added basic logic for TypeCode.Empty, DBNull, Boolean and
Char
* FunctionObject.cs: ToString matches that of MS JS.NET for internal
functions
* Convert.cs: IsNumberTypeCode and IsFloatTypeCode utility methods, basic
implementation of ToInt32 and ToNumber, more cases for ToString
* StrictEquality.cs: Initial working implementation
* LateBindings.cs: Call works for Methods that don't have HasEngine and
support for getting methods (as in "foo".link) in GetNonMissingValue
* Plus.cs: Added support for more types
* GlobalObject.cs: Implemented isNaN, isFinite and parseFloat
* FunctionPrototype.cs: Implemented toString
* NumberPrototype.cs: Implemented valueOf
* Globals.cs: Implemented ConstructArrayLiteral
* TypeOf.cs: Added more cases

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

19 years ago2005-07-01 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 1 Jul 2005 22:53:12 +0000 (22:53 -0000)]
2005-07-01  Peter Bartok  <pbartok@novell.com>

* TextControl.cs: Quick fix for the reported crash on ColorDialog
  and other text box usage

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

19 years ago2005-07-01 Daniel Drake <dsd@gentoo.org>
Daniel Drake [Fri, 1 Jul 2005 21:06:12 +0000 (21:06 -0000)]
2005-07-01  Daniel Drake  <dsd@gentoo.org>

* configure.in: Add check for FreeBSD's sys/extattr.h

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

19 years ago2005-07-01 Daniel Drake <dsd@gentoo.org>
Daniel Drake [Fri, 1 Jul 2005 21:05:50 +0000 (21:05 -0000)]
2005-07-01  Daniel Drake  <dsd@gentoo.org>

* sys-xattr.c: Support FreeBSD's extattr implementation. Slight API rework
  to provide transparency between Linux and FreeBSD EA's.
* map-icalls.h: Update as above

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

19 years ago2005-07-01 Daniel Drake <dsd@gentoo.org>
Daniel Drake [Fri, 1 Jul 2005 21:04:52 +0000 (21:04 -0000)]
2005-07-01  Daniel Drake  <dsd@gentoo.org>

* Syscall.cs: The entire extended attribute API now goes through MPH, to
  be shared between both Linux's and FreeBSD's similar EA implementations.

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

19 years agoNew test.
Martin Baulig [Fri, 1 Jul 2005 20:31:47 +0000 (20:31 -0000)]
New test.

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

19 years ago2005-07-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 1 Jul 2005 20:31:25 +0000 (20:31 -0000)]
2005-07-01  Martin Baulig  <martin@ximian.com>

* iterators.cs (Iterator.CapturedThisReference.Emit): Use
`ec.EmitThis ()' to get the correct scope.

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

19 years ago2005-07-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 1 Jul 2005 20:31:14 +0000 (20:31 -0000)]
2005-07-01  Martin Baulig  <martin@ximian.com>

* iterators.cs (Iterator.CapturedThisReference.Emit): Use
`ec.EmitThis ()' to get the correct scope.

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

19 years ago2005-07-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 1 Jul 2005 19:27:59 +0000 (19:27 -0000)]
2005-07-01  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_generic_class_initialize): Update
the `dgclass->fields [i].parent' to the correct class.
(mono_image_get_fieldref_token): Use the declaring type, not the
reflected type.

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

19 years ago * TabControl.cs: Make sure the bottom of the tab covers the pages
Jackson Harper [Fri, 1 Jul 2005 19:26:41 +0000 (19:26 -0000)]
    * TabControl.cs: Make sure the bottom of the tab covers the pages
border.

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

19 years ago2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Jul 2005 18:52:17 +0000 (18:52 -0000)]
2005-07-01  Lluis Sanchez Gual  <lluis@novell.com>

* remoting1.cs: Test for getting a remote field value which is null.

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

19 years ago2005-07-01 Lluis Sanchez <lluis@ximian.com>
Lluis Sanchez [Fri, 1 Jul 2005 18:50:13 +0000 (18:50 -0000)]
2005-07-01  Lluis Sanchez  <lluis@ximian.com>

* icall.c: In ves_icall_InternalExecute() dont't assert if the value
returned by a field getter is null, since null is a valid value.

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

19 years ago2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Jul 2005 18:41:37 +0000 (18:41 -0000)]
2005-07-01  Lluis Sanchez Gual  <lluis@novell.com>

* XmlCustomFormatter.cs: Properly read/write duration values.

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

19 years ago2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Jul 2005 18:34:47 +0000 (18:34 -0000)]
2005-07-01  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added MembershipSection.cs

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

19 years ago2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Jul 2005 18:33:48 +0000 (18:33 -0000)]
2005-07-01  Lluis Sanchez Gual <lluis@novell.com>

* Membership.cs: Read provider info from the config file.

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

19 years ago2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Jul 2005 18:33:32 +0000 (18:33 -0000)]
2005-07-01  Lluis Sanchez Gual <lluis@novell.com>

* SiteMap.cs: Read provider info from the configuration files.

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

19 years ago2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Jul 2005 18:33:14 +0000 (18:33 -0000)]
2005-07-01  Lluis Sanchez Gual <lluis@novell.com>

* MembershipSection.cs: Implemented.
* SiteMapSection.cs: Define properties using attributes.
* AnonymousIdentificationSection.cs: Define properties using attributes.
* WebConfigurationManager.cs: return the correct base path for the
  root path.
* IRemoteWebConfigurationHostServer.cs: Fixed method signatures.
* WebConfigurationHost.cs: Added the machine web.config to the web.config
file chain. Several fixes in the chain order. Implemented
IsDefinitionAllowed and VerifyDefinitionAllowed.

* VirtualDirectoryMappingCollection.cs:
* WebConfigurationFileMap.cs:
* AdapterDictionary.cs:
* AuthenticationSection.cs:
* AssemblyCollection.cs:
* AssemblyInfo.cs: Minor api fixes.

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

19 years ago2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Jul 2005 18:32:48 +0000 (18:32 -0000)]
2005-07-01  Lluis Sanchez Gual  <lluis@novell.com>

* System.Configuration.dll.sources: Added new files:
System.Configuration/ConfigurationCollectionAttribute.cs
System.Configuration/ConfigurationConverterBase.cs
System.Configuration/ElementInformation.cs
System.Configuration/PositiveTimeSpanValidator.cs
System.Configuration/PropertyInformation.cs
System.Configuration/PropertyInformationCollection.cs
System.Configuration/PropertyValueOrigin.cs
System.Configuration/StringValidator.cs
System.Configuration/StringValidatorAttribute.cs
System.Configuration/TimeSpanMinutesConverter.cs
System.Configuration/TimeSpanMinutesOrInfiniteConverter.cs
System.Configuration/TimeSpanValidator.cs
System.Configuration/TimeSpanValidatorAttribute.cs

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

19 years ago2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Jul 2005 18:31:56 +0000 (18:31 -0000)]
2005-07-01  Lluis Sanchez Gual  <lluis@novell.com>

* ProviderSettings.cs: Implemented properties using property attributes.
* ConfigurationElement.cs: Implemented ElementInformation property and
moved there all value management.
* ProtectedConfigurationProvider.cs: Set the correct base class.
* SectionInformation.cs: Added missing AllowExeDefinition property.
* TimeSpanValidatorAttribute.cs: Implemented.
* StringValidator.cs: Implemented.
* ProviderSettingsCollection.cs: Added missing class attribute.
* ConfigurationSaveMode.cs: Fix enum values.
* ConfigurationElementCollection.cs: Added Init method for initializing
elements from properties.
* StringValidatorAttribute.cs: Implemented.
* ConfigurationLocation.cs: Added support for allowOverride flag.
* TimeSpanMinutesOrInfiniteConverter.cs: Created skeleton class.
* PositiveTimeSpanValidator.cs: Implemented.
* TimeSpanMinutesConverter.cs: Created skeleton class.
* SectionInfo.cs: Properly read, store and check the values of AllowLocation,
AllowDefinition and AllowExeDefinition.
* TimeSpanValidator.cs: Implemented.
* ConfigurationConverterBase.cs: Created skeleton class.
* InternalConfigurationHost.cs: Implemented IsDefinitionAllowed and
VerifyDefinitionAllowed.
* ConfigurationManager.cs: That class must be static.
* PropertyInformationCollection.cs: Implemented.
* Configuration.cs: Added some checks for AllowLocation, AllowDefinition and
so on. In Save(), don't forget to save location elements.
* ConfigurationProperty.cs: Keep track of collection attributes.
* ConfigInfo.cs: Support overrideAllowed flag.
* KeyValueConfigurationElement.cs: Define properties using attributes.
* PropertyValueOrigin.cs: implemented.
* PropertyInformation.cs: Mostly implemented.
* SectionGroupInfo.cs: Properly propagate the overrideAllowed flag.
* ElementInformation.cs: Mostly implemented.
* ConfigurationPropertyAttribute.cs: Set the correct default value.
* ConfigurationCollectionAttribute.cs: Implemented.

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

19 years agoNew test.
Martin Baulig [Fri, 1 Jul 2005 18:19:56 +0000 (18:19 -0000)]
New test.

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

19 years ago2005-07-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 1 Jul 2005 18:19:34 +0000 (18:19 -0000)]
2005-07-01  Martin Baulig  <martin@ximian.com>

* loader.c (find_method): Also look in the interfaces; fixes #75429.

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

19 years ago* CodeGeneratorFromTypeTest.cs: Added tests to ensure ImplementationTypes are
Gert Driesen [Fri, 1 Jul 2005 16:54:17 +0000 (16:54 -0000)]
* CodeGeneratorFromTypeTest.cs: Added tests to ensure ImplementationTypes are
ignored in C# CodeDOM.
* CodeGeneratorFromTypeTest.cs: Added ImplementationTypes tests for
property, event, method, ctor.
* VBCodeGenerator.cs: Added ImplementationTypes support for
properties and events, and fixed support for methods.

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

19 years agoNew test.
Martin Baulig [Fri, 1 Jul 2005 16:23:05 +0000 (16:23 -0000)]
New test.

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

19 years ago2005-07-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 1 Jul 2005 16:21:48 +0000 (16:21 -0000)]
2005-07-01  Martin Baulig  <martin@ximian.com>

* ecore.cs (FieldExpr.DoResolve): Don't capture the field if it's
instance is a ParameterReference; fixes #75299.

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

19 years ago2005-07-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 1 Jul 2005 16:21:35 +0000 (16:21 -0000)]
2005-07-01  Martin Baulig  <martin@ximian.com>

* ecore.cs (FieldExpr.DoResolve): Only capture the field if it's
instance is `This'; fixes #75299.

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

19 years ago2005-07-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jul 2005 15:13:23 +0000 (15:13 -0000)]
2005-07-01  Atsushi Enomoto  <atsushi@ximian.com>

* MSCompatUnicodeTable.template,
  SimpleCollator.cs : removed extraneous GetExpansion().

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

19 years ago2005-07-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jul 2005 14:56:51 +0000 (14:56 -0000)]
2005-07-01  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : IsSuffix() also supports contractions.
* TestDriver.cs : IsSuffix() example contraction cases.

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

19 years ago2005-07-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 1 Jul 2005 14:22:33 +0000 (14:22 -0000)]
2005-07-01  Martin Baulig  <martin@ximian.com>

* ecore.cs (FieldExpr.DoResolve): Don't capture the field if it's
instance is a ParameterReference; fixes #75299.

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

19 years agoDisable tests for the reverted r46725 in MCS.
Martin Baulig [Fri, 1 Jul 2005 13:58:43 +0000 (13:58 -0000)]
Disable tests for the reverted r46725 in MCS.

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

19 years agoAdded documentation about the new PKCS#12 support in makecert
Sebastien Pouliot [Fri, 1 Jul 2005 13:56:58 +0000 (13:56 -0000)]
Added documentation about the new PKCS#12 support in makecert

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

19 years agoOoops, it was r46725, not 46724.
Martin Baulig [Fri, 1 Jul 2005 13:51:33 +0000 (13:51 -0000)]
Ooops, it was r46725, not 46724.

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

19 years agoMutual authentication SSL/TLS server sample
Sebastien Pouliot [Fri, 1 Jul 2005 13:45:51 +0000 (13:45 -0000)]
Mutual authentication SSL/TLS server sample

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

19 years ago2005-07-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 1 Jul 2005 13:43:08 +0000 (13:43 -0000)]
2005-07-01  Sebastien Pouliot  <sebastien@ximian.com>

* TlsClientCertificate.cs: Fix decoding (extra length) and for null
 (no certificates). Add basic client certificate validations before
calling the callback (which can override the default decision).
* TlsClientCertificateVerify.cs: Fix signature verification (the first
two bytes are the length of the signature).
* TlsServerCertificateRequest.cs: Sent the list of trusted root DNs.

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

19 years ago2005-07-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 1 Jul 2005 13:39:24 +0000 (13:39 -0000)]
2005-07-01  Sebastien Pouliot  <sebastien@ximian.com>

* ServerContext.cs: Build the list of trusted certificates from all
the trusted root for the current user and the local machine.
* SslServerStream.cs: Add support for client certificate (and the
callback for optional mutual authentication with SSL3).

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

19 years ago2005-07-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 1 Jul 2005 13:33:22 +0000 (13:33 -0000)]
2005-07-01  Martin Baulig  <martin@ximian.com>

Reverted Marek's latest patch (r46724):
- it contains structural changes which are neither mentioned in
  the ChangeLog nor explained anywhere; for example the additional
  argument of EmitContext's and Iterator's .ctor's and the
  TypeContainer.DefineMembers() change.
- structural changes like this should go in in seperate patches
  and not be hidden in a huge patch which just seems to affect
  warnings and errors.
  a big and hard to understand patch.
- it breaks iterators and causes regressions, for instance in
  test-iter-03.cs.

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

19 years ago2005-07-01 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 1 Jul 2005 12:36:04 +0000 (12:36 -0000)]
2005-07-01  Dick Porter  <dick@ximian.com>

* semdel.c: Removed output, and always exit (0), to avoid giving
make trouble

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

19 years ago* runtime/Makefile.am (all-local, install-exec, uninstall): Call semdel-wrapper.
Raja R Harinath [Fri, 1 Jul 2005 12:03:39 +0000 (12:03 -0000)]
* runtime/Makefile.am (all-local, install-exec, uninstall): Call semdel-wrapper.
(mcs-do-test-profiles, mcs-do-run-test-profiles, mcs-compileall): Likewise.
* mono/mini/Makefile.am (check-local): Call semdel-wrapper.
* mono/tests/Makefile.am (check-local): Call semdel-wrapper.

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

19 years ago2005-07-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jul 2005 11:32:57 +0000 (11:32 -0000)]
2005-07-01  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : reverted IsSuffix() to return bool (to match w/
  what current IsPrefix() does). For expansion of target, IsPrefix()
  should check the no-match case that expansion is longer than input.
  Some refactory on IsPrefix().
  Added GetContractionTal() for IsSuffix() (not used yet).

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

19 years ago2005-07-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jul 2005 10:06:44 +0000 (10:06 -0000)]
2005-07-01  Atsushi Enomoto  <atsushi@ximian.com>

* TestDriver.cs : added IsPrefix() expansion cases.
* SimpleCollator.cs : IsPrefix() now supports contractions (with much
  of complexity), and it now returns bool again.
  IndexOf() for replacement should make use of IndexOfPrimitiveChar()
  since expansions won't be expanded recursively.

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

19 years ago2005-07-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jul 2005 07:25:19 +0000 (07:25 -0000)]
2005-07-01  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : commonized character comparison in IsPrefix()
  and IsSuffix(). csc compile fix.
* CompareInfoImpl.cs : deleted.

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

19 years agoAvoid resource leakage on 'make clean' (see #75424).
Raja R Harinath [Fri, 1 Jul 2005 07:11:38 +0000 (07:11 -0000)]
Avoid resource leakage on 'make clean' (see #75424).
* configure.in (AC_CONFIG_FILES): Add runtime/semdel-wrapper.
* runtime/semdel-wrapper.in: New.
* runtime/Makefile.am (clean-local): Use the semdel program before
nuking the .wapi directory.
(noinst_SCRIPTS): Add semdel-wrapper.
(MYDISTFILES, distdir): Use automake variable to get the list of
files to distribute.

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

19 years ago2005-07-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jul 2005 06:44:35 +0000 (06:44 -0000)]
2005-07-01  Atsushi Enomoto  <atsushi@ximian.com>

* CP936.cs : fixed incorrect table lookup. Patch by Feng Li.

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

19 years ago2005-07-01 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 1 Jul 2005 06:05:51 +0000 (06:05 -0000)]
2005-07-01  Sureshkumar T  <tsureshkumar@novell.com>

* Tds70.cs: FormatParameter: For uniqueidentifier, pass the guid
as '..' rather than hex. Tested with SqlServer 2005.

patch from jsinger@eggmouse.com & Hubert FONGARNAND.

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 1 Jul 2005 01:59:37 +0000 (01:59 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile: restored version numbers in security tools;
* makecert.cs: Add support to generate PKCS#12 files. Changed default
hash algorithm to SHA1. Using MD5 now shows a warning. Fixed typos.

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

19 years ago (wait_for_tids_or_state_change): We were using the wrong variable
Ben Maurer [Thu, 30 Jun 2005 23:21:48 +0000 (23:21 -0000)]
(wait_for_tids_or_state_change): We were using the wrong variable
when accessing wait->threads. `i' was always out of the bounds of
the array.

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

19 years ago2005-06-30 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 30 Jun 2005 22:46:48 +0000 (22:46 -0000)]
2005-06-30  Peter Bartok  <pbartok@novell.com>

* Form.cs (ShowDialog): Assign owner of the dialog
* TextBoxBase.cs: Always refresh caret size when deleting, caret
  might have been moved to a tag with different height

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

19 years ago * Form.cs: Don't create an infinite loop when setting focus
Jackson Harper [Thu, 30 Jun 2005 22:43:30 +0000 (22:43 -0000)]
    * Form.cs: Don't create an infinite loop when setting focus
* MenuItem.cs: Don't dirty the parents if we don't have any

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

19 years ago2005-06-30 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 30 Jun 2005 21:52:45 +0000 (21:52 -0000)]
2005-06-30  Ben Maurer  <bmaurer@ximian.com>

* threads.c (thread_cleanup): assert that thread != NULL

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

19 years ago2005-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 30 Jun 2005 21:17:02 +0000 (21:17 -0000)]
2005-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* loader.c: map user32 and kernel32 to libMonoSupportW

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

19 years ago2005-06-30 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 30 Jun 2005 21:15:54 +0000 (21:15 -0000)]
2005-06-30  Ben Maurer  <bmaurer@ximian.com>

* AssemblyTest.cs: Relied on the 1.1 test suite being built when
running teh 2.0 test suite, which could cause failures

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

19 years ago2005-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 30 Jun 2005 21:15:01 +0000 (21:15 -0000)]
2005-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* supportw.c: HeapDestroy.
* Makefile.am: don't build supportw on windows.

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

19 years agoSome new sources not reay to integrate on automated testing
Rafael Teixeira [Thu, 30 Jun 2005 21:11:13 +0000 (21:11 -0000)]
Some new sources not reay to integrate on automated testing

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

19 years ago2005-06-30:5 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 30 Jun 2005 21:08:05 +0000 (21:08 -0000)]
2005-06-30:5 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
*ecore.cs: some tentative code preparing to support automatic definition of variables
on first usage with Option Explicit Off commented out as it breaks on emit phase, and
guesses wrong what should be automatically defined

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

19 years ago2005-06-30:4 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 30 Jun 2005 21:01:51 +0000 (21:01 -0000)]
2005-06-30:4 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
*statement.cs: some tentative code preparing to support automatic definition of variables
on first usage with Option Explicit Off. Converting backticks to apostrophes on messages

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

19 years ago2005-06-30:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 30 Jun 2005 20:57:29 +0000 (20:57 -0000)]
2005-06-30:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
*mb-parser.jay: small bits preparing to support automatic definition of variables
on first usage with Option Explicit Off

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

19 years ago2005-06-30 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 30 Jun 2005 19:42:57 +0000 (19:42 -0000)]
2005-06-30  Dick Porter  <dick@ximian.com>

        * shared.c (_wapi_shm_semaphores_init): Add some helpful error
        messages when semget () fails due to lack of resources.

2005-06-30  Dick Porter  <dick@ximian.com>

        * semdel.c: Added semdel, for deleting the current shared
        semaphore

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

19 years ago2005-06-30 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 30 Jun 2005 19:21:28 +0000 (19:21 -0000)]
2005-06-30  Ben Maurer  <bmaurer@ximian.com>

* MutexTest.cs: Redisable. They didn't work so well ;-(.

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

19 years ago2005-06-30:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 30 Jun 2005 19:08:52 +0000 (19:08 -0000)]
2005-06-30:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
*assign.cs: Killed exception occurring when resolving an assignment
to an undefined symbol (Explicit On scenario)

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

19 years ago* CodeGeneratorFromTypeTest.cs: Added property indexer and parameter tests.
Gert Driesen [Thu, 30 Jun 2005 18:29:13 +0000 (18:29 -0000)]
* CodeGeneratorFromTypeTest.cs: Added property indexer and parameter tests.
* CSharpCodeGenerator.cs: Only consider property an indexer if name is Item
(case-insensitive comparison) and property has parameters.
* VBCodeGenerator.cs: Mark indexer as default property.

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

19 years ago2005-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Jun 2005 18:14:20 +0000 (18:14 -0000)]
2005-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* TestDriver.cs : added SimpleCollator.ctor() sanity check.
  Added replacement contraction example.
* SimpleCollator.cs : Now IndexOf() and LastIndexOf() support
  contraction in source string. Extracted matching code to Matches().
  Replacement contraction was including extraneous '\x0'.

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 18:03:55 +0000 (18:03 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* Win32Exception.cs: Added some declarative security (permission from
corlib) as an initial test (outside corlib). Added new constructors
for NET_2_0.

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

19 years agoNew test.
Martin Baulig [Thu, 30 Jun 2005 17:31:30 +0000 (17:31 -0000)]
New test.

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

19 years ago2005-06-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 30 Jun 2005 17:30:05 +0000 (17:30 -0000)]
2005-06-30  Martin Baulig  <martin@ximian.com>

* class.cs (Indexer): Implement IIteratorContainer; added support
for iterators in indexers.

* codegen.cs
(EmitContext.CurrentIterator): Make this a property, not a field.

* anonymous.cs (AnonymousContainer.Iterator): New public property.

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

19 years agoStandardized Mainsoft DataColumnCollection tests.
Eyal Alalouf [Thu, 30 Jun 2005 17:18:46 +0000 (17:18 -0000)]
Standardized Mainsoft DataColumnCollection tests.

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

19 years ago2005-06-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 30 Jun 2005 16:45:26 +0000 (16:45 -0000)]
2005-06-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
*mb-parser.jay: Eliminating 'reduce/reduce conflicts' and 'rule never reduced'
by simplifying the directive_expression rule (formerly directive_exp).

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 16:42:30 +0000 (16:42 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityManager.cs: Fixed inheritance demands for 1.x.

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

19 years ago2005-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Jun 2005 15:14:04 +0000 (15:14 -0000)]
2005-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* Collation-notes.txt : updated status.
* CollationDataStructures.txt : tiny fixes.
* SimpleCollator.cs :
  Renamed alias Util to UUtil (MS sys.enterprisesvc has sucky global
  namespace Util and csc borked).
  GetContraction was incorrectly returning first item.
  Private IsPrefix() now returns int (but it might not be in real use).
  Extracted simple char comparison to CompareCharSimple().
  IndexOf() and LastIndexOf() now fully handle contractions (both
  binary key and string replacement) in "target" (for "s" not yet).
* TestDriver.cs : be more verbose.
* mono-tailoring-source.txt : added comment.
* MSCompatUnicodeTable.template :
  Renamed alias Util to UUtil (MS sys.enterprisesvc has sucky global

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

19 years agoIn mcs:
Raja R Harinath [Thu, 30 Jun 2005 14:43:33 +0000 (14:43 -0000)]
In mcs:
Fix #75412.
* expression.cs (Indexers.map): Remove.
(Indexers.Append): Filter out inaccessible setters and getters.
(IndexerAccess.DoResolve, IndexerAccess.DoResolveLValue): Update.

In errors:
* cs0021-3.cs: New test from #75412.

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

19 years agoDisposing the WebService instance after a WebMethod invocation
Konstantin Triger [Thu, 30 Jun 2005 13:29:37 +0000 (13:29 -0000)]
Disposing the WebService instance after a WebMethod invocation

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 13:05:37 +0000 (13:05 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* GuidTest.cs: Updated tests to NUnit 2.2 format. Added tests for new
2.0 methods. Added missing tests for some constructors. Fixed 2 tests
to work on bigendian machines.

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 13:04:53 +0000 (13:04 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* Guid.cs: Avoid code duplication between overriden methods (new in
2.0). Avoid exception processing when possible. Renamed parameters to
match the framework. Added ComVisible to NET_2_0.

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 12:56:45 +0000 (12:56 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security_test.dll.sources: Added Mono.Security.X509.X509CrlTest
to the build.

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

19 years ago2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Jun 2005 12:55:41 +0000 (12:55 -0000)]
2005-06-30  Sebastien Pouliot  <sebastien@ximian.com>

* X509CrlTest.cs: New. Add regression test for bug #75406.

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

19 years ago2005-06-30 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 30 Jun 2005 12:38:50 +0000 (12:38 -0000)]
2005-06-30  Marek Safar <marek.safar@seznam.cz>

* gtest-180.cs: DefaultCharSetAttribute test.
* test-422.cs: New test for #75322.

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

19 years agoIn mcs:
Raja R Harinath [Thu, 30 Jun 2005 12:21:59 +0000 (12:21 -0000)]
In mcs:
Fix #75283.
* ecore.cs (MemberExpr.EmitInstance): New.  Add CS0120 check.
Refactored from ...
(FieldExpr.EmitInstance, PropertyExpr.EmitInstance): ... these.
(FieldExpr.Emit, PropertyExpr.Emit): Update.
(FieldExpr.EmitAssign, PropertyExpr.EmitAssign): Update.
* expression.cs (Invocation.EmitCall): Add CS0120 check.

In errors:
* cs0120-8.cs: New test from #75283.

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

19 years ago2005-06-30 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 30 Jun 2005 10:06:26 +0000 (10:06 -0000)]
2005-06-30  Marek Safar  <marek.safar@seznam.cz>

Fix #75322
* class.cs (FieldBase.GetInitializerExpression): One more field
for backup.

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

19 years agoSupport signed exponent
Manjula GHM [Thu, 30 Jun 2005 09:42:34 +0000 (09:42 -0000)]
Support signed exponent

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