mono.git
18 years ago2005-09-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 27 Sep 2005 13:20:36 +0000 (13:20 -0000)]
2005-09-27  Sebastien Pouliot  <sebastien@ximian.com>

* KeyInfoX509Data.cs: Remove old 2.0 specific check.
* XmlDsigXPathTransform.cs: Remove old 2.0 specific check. Return
empty node list of the XmlDocument is null (fixed tests case for 2.0
RC).

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

18 years ago2005-09-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 27 Sep 2005 13:18:35 +0000 (13:18 -0000)]
2005-09-27  Sebastien Pouliot  <sebastien@ximian.com>

* Pkcs9Attribute.cs: Added new CopyFrom method overrides (2.0 RC).
* Pkcs9SigningTime.cs: Don't call base.CopyFrom anymore.

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

18 years ago2005-09-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 27 Sep 2005 13:17:17 +0000 (13:17 -0000)]
2005-09-27  Sebastien Pouliot  <sebastien@ximian.com>

* KeyInfoX509DataTest.cs: Fixed tests case for 2.0 RC.
* XmlDsigXPathTransformTest.cs: Fixed tests case for 2.0 RC.

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

18 years ago2005-09-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 27 Sep 2005 13:15:58 +0000 (13:15 -0000)]
2005-09-27  Sebastien Pouliot  <sebastien@ximian.com>

* Pkcs9AttributeTest.cs: Added new tests case for new overriden
CopyFrom (added in 2.0 RC).
* Pkcs9ContentTypeTest.cs: Fixed tests case for 2.0 RC.
* Pkcs9MessageDigestTest.cs: Fixed tests case for 2.0 RC.

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

18 years ago2005-09-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 27 Sep 2005 13:14:10 +0000 (13:14 -0000)]
2005-09-27  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate2UI.cs: New. Class to handle UI (yuck) for
certificate display and selection.
* X509SelectionFlag.cs: Moved back from System.dll.

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

18 years agoremove X509SelectionFlag.cs from build - it's going back to System.Security.dll
Sebastien Pouliot [Tue, 27 Sep 2005 13:12:04 +0000 (13:12 -0000)]
remove X509SelectionFlag.cs from build - it's going back to System.Security.dll

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

18 years ago2005-09-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 27 Sep 2005 13:11:19 +0000 (13:11 -0000)]
2005-09-27  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedDataCollection.cs: Added new ctor.

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

18 years ago2005-09-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 27 Sep 2005 13:10:37 +0000 (13:10 -0000)]
2005-09-27  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate2Collection.cs: Class is not sealed. Removed Select
methods (moved to a new class in System.Security.dll).
* X509Certificate2.cs: Removed Display methods (moved to a new class
in System.Security.dll).
* X509SelectionFlag.cs: Removed. This enum is still in System.Security
* X509NameType.cs: Added new DnsFromAlternativeName value.

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

18 years agoKeep dependencies of cpu-*.h even when cross compiling, so that we're
Raja R Harinath [Tue, 27 Sep 2005 11:34:22 +0000 (11:34 -0000)]
Keep dependencies of cpu-*.h even when cross compiling, so that we're
warned of stale files.

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

18 years ago* configure.in (CROSS_COMPILING): New automake conditional.
Raja R Harinath [Tue, 27 Sep 2005 10:43:38 +0000 (10:43 -0000)]
* configure.in (CROSS_COMPILING): New automake conditional.
($mcsdir/build/config.make): Don't clobber when cross-compiling.
(GLIB_CFLAGS, GLIB_LIBS, GMODULE_CFLAGS, GMODULE_LIBS):
Define even when cross-compiling.
* mono/mini/Makefile.am ($(arch_built)) [CROSS_COMPILING]: Error out.

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

18 years agoAdded two files to describe the Exception messages and Result codes
Palaniappan N [Tue, 27 Sep 2005 10:41:23 +0000 (10:41 -0000)]
Added two files to describe the Exception messages and Result codes

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

18 years agoModified to make it synch with Novell Forge's C# LDAP SDK (v-2.1.4)
Palaniappan N [Tue, 27 Sep 2005 10:35:51 +0000 (10:35 -0000)]
Modified to make it synch with Novell Forge's C# LDAP SDK (v-2.1.4)

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

18 years ago2005-09-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 27 Sep 2005 10:31:28 +0000 (10:31 -0000)]
2005-09-27  Marek Safar  <marek.safar@seznam.cz>

* compiler-tester.cs (GetCompilerError): Small fix when no error
location and text contains ':'.

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

18 years agonew tests + update
Marek Safar [Tue, 27 Sep 2005 10:28:59 +0000 (10:28 -0000)]
new tests + update

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

18 years ago2005-09-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Sep 2005 10:25:34 +0000 (10:25 -0000)]
2005-09-27  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : in CompareInternal(), there was a possibility of
  infinite loop. Fixed bug #76243.

* CompareInfoTest.cs : added testcase for bug #76243.

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

18 years ago2005-09-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 27 Sep 2005 10:11:20 +0000 (10:11 -0000)]
2005-09-27  Marek Safar  <marek.safar@seznam.cz>

* anonymous.cs: Implemented ExprClassName.

* assign.cs (Assign.DoResolve): Don't chrash when type is not
delegate.

* attribute.cs (ResolveArguments): Enabled MethodImplOptions
check.

* class.cs (StaticClass.DefineContainerMembers): Report protected
members as error.

* codegen.cs: if(ed) PRODUCTION.

* convert.cs (Error_CannotImplicitConversion): Better error
distinction.

* cs-parser.jay: More error checks.

* cs-tokenizer.cs (consume_identifier): Fixed Miguel's revert.

* driver.cs (CSCParseOption): Enabled wrong option check.

* ecore.cs (Expression.ExprClassName): Turned to property.
(MemberExpr.CheckIntermediateModification): For checking boxed
value types modification.

* statement.cs (Fixed.Resolve): Expression type must be
convertible to fixed type.
(CollectionForeach.GetEnumeratorFilter,TryType):
Small refactoring for easier error checking.

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

18 years ago* Makefile.am (AM_CFLAGS): Rename from INCLUDES.
Raja R Harinath [Tue, 27 Sep 2005 10:05:50 +0000 (10:05 -0000)]
* Makefile.am (AM_CFLAGS): Rename from INCLUDES.
(AM_CFLAGS) [PLATFORM_WIN32): Append to it, don't set it.
(AM_CFLAGS) [ARM]: Add arch/arm directory from the
build tree.

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

18 years ago* configure.in (BUILD_MCS): New automake conditional. Used to
Raja R Harinath [Tue, 27 Sep 2005 09:54:29 +0000 (09:54 -0000)]
* configure.in (BUILD_MCS): New automake conditional.  Used to
disable building the mcs/ tree if cross-compiling.
($mcsdir/build/config.make): Don't clobber if we're cross-compiling.
* runtime/Makefile.am (all-local, install, uninstall, clean-local):
Disable building in the mcs/ tree if !BUILD_MCS.

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

18 years ago* arm/dpiops.sh, arm/fpaops.h: Output to stdout.
Raja R Harinath [Tue, 27 Sep 2005 09:09:41 +0000 (09:09 -0000)]
* arm/dpiops.sh, arm/fpaops.h: Output to stdout.
* arm/Makefile.am (arm_dpimacros.h, arm_fpamacros.h): Update.  Fix
for srcdir != builddir.

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

18 years ago2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 27 Sep 2005 08:02:27 +0000 (08:02 -0000)]
2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: fix another test. The ID of the table generated by the
datagrid is set to the one on the datagrid if no one set the ID for the
table.

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

18 years ago2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 27 Sep 2005 08:01:16 +0000 (08:01 -0000)]
2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* EditCommandColumnTest.cs: added a test here for datagrid, as this was
the file whose test failed because the id of the datagrid generated
table.

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

18 years ago2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 27 Sep 2005 07:43:52 +0000 (07:43 -0000)]
2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListControl.cs: this fixes TestValueFieldAndTextFormat from
DropDownListTest.

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

18 years ago2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 27 Sep 2005 07:31:39 +0000 (07:31 -0000)]
2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SimpleWorkerRequest.cs: all tests pass now.

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

18 years agostyle
Gonzalo Paniagua Javier [Tue, 27 Sep 2005 07:02:48 +0000 (07:02 -0000)]
style

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

18 years ago2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 27 Sep 2005 06:48:44 +0000 (06:48 -0000)]
2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ObjectTagBuilder.cs: only fail when no id and no attributes.

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

18 years ago2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 27 Sep 2005 06:16:55 +0000 (06:16 -0000)]
2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
converted to string as X{1,2}-.*. All FontUnitTests pass now.
* Unit.cs: throw a format exception when there's not number or minus
sign in the first non-whitespace character.

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

18 years ago2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 27 Sep 2005 06:14:17 +0000 (06:14 -0000)]
2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FontUnitCas.cs: method name change in FontUnitTest.
* FontUnitTest.cs: splitted tests, enabled the "NotWorking" ones and
added tests for FontSize names beginning with x and containing a dash.

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

18 years agoconsole
Gonzalo Paniagua Javier [Tue, 27 Sep 2005 05:04:42 +0000 (05:04 -0000)]
console

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

18 years ago2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 27 Sep 2005 05:04:25 +0000 (05:04 -0000)]
2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListControl.cs: SelectedIndex/SelectedValue can be set before
DataBinding () is called on the control, so we have to keep this values
around and use them after the data is read. If both properties are
used, they must refer to the same item.

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

18 years ago2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 27 Sep 2005 05:01:42 +0000 (05:01 -0000)]
2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListControlTest.cs: new tests for SelectedValue, SelectedIndex and
DataBinding.

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

18 years agoDocs
Miguel de Icaza [Tue, 27 Sep 2005 04:51:36 +0000 (04:51 -0000)]
Docs

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

18 years agoStyle
Miguel de Icaza [Tue, 27 Sep 2005 04:35:45 +0000 (04:35 -0000)]
Style

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

18 years ago2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 26 Sep 2005 23:13:11 +0000 (23:13 -0000)]
2005-09-26  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: Fixed SetChildIndex; it no longer causes a child to
  loose it's parent. (Fixed bug introduced in r49103 when we added
  setting the child parent to null on Remove)

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

18 years agoadd test for missing file referenced by <appSettings file="..." />
Chris Toshok [Mon, 26 Sep 2005 22:24:32 +0000 (22:24 -0000)]
add test for missing file referenced by <appSettings file="..." />

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

18 years agoadd test for separate appSettings file
Chris Toshok [Mon, 26 Sep 2005 22:22:33 +0000 (22:22 -0000)]
add test for separate appSettings file

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

18 years agoadd a test for removing specific keys
Chris Toshok [Mon, 26 Sep 2005 22:15:46 +0000 (22:15 -0000)]
add a test for removing specific keys

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

18 years agoadd an empty app settings section test (t2), and a test for setting overriding (t3)
Chris Toshok [Mon, 26 Sep 2005 22:13:24 +0000 (22:13 -0000)]
add an empty app settings section test (t2), and a test for setting overriding (t3)

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

18 years agostart with some config level testing since the unit testing is getting nowhere fast.
Chris Toshok [Mon, 26 Sep 2005 21:57:51 +0000 (21:57 -0000)]
start with some config level testing since the unit testing is getting nowhere fast.

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

18 years agoGraphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero when imageAt...
Kornél Pál [Mon, 26 Sep 2005 21:14:03 +0000 (21:14 -0000)]
Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero when imageAttr is null.

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

18 years ago2005-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 26 Sep 2005 20:58:14 +0000 (20:58 -0000)]
2005-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ApplicationHost.cs: append a directory separator char to the physical
path. Fixes bug #76187.

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

18 years ago2005-09-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 26 Sep 2005 19:49:42 +0000 (19:49 -0000)]
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>

* io.c: Apply patch from #76192 (Can't write files past 2gb on AMD64
(x86_64)) for Brion on IRC (Dick approved it).

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

18 years ago2005-09-26 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 26 Sep 2005 18:18:34 +0000 (18:18 -0000)]
2005-09-26  Chris Toshok  <toshok@ximian.com>

* HttpApplicationFactory.cs (OnAppFileChanged): add null checks
for bin_watcher and app_file_watcher so we don't get NRE's here.

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

18 years ago2005-09-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Sep 2005 17:51:56 +0000 (17:51 -0000)]
2005-09-26  Martin Baulig  <martin@ximian.com>

* class.c
(mono_class_from_generic_parameter): Set `klass->generic_container'
(mono_class_from_generic_parameter): Likewise.
(mono_bounded_array_class_get): We inherit the generic container
from the element class.

* loader.c
(find_method, find_method_in_class): Take a `MonoGenericContext *'
argument rather than computing it here.
(method_from_memberref): Correctly set the generic context before
parsing the signature.  Fixes #75681.

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

18 years ago2005-09-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Sep 2005 17:51:39 +0000 (17:51 -0000)]
2005-09-26  Martin Baulig  <martin@ximian.com>

* gtest-202.cs: New test from #75681.

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

18 years ago * UnixFileSystemInfo.cs: Exists shouldn't use access(2), as (1) Exists isn't
Jonathan Pryor [Mon, 26 Sep 2005 17:24:40 +0000 (17:24 -0000)]
  * UnixFileSystemInfo.cs: Exists shouldn't use access(2), as (1) Exists isn't
    virtual, and (2) access(2) errors if you try to access(2) a symlink which
    points nowhere.  Use (l)stat(2) instead, via GetFileStatus(), as this lets
    UnixSymbolicLinkInfo behave properly.
  * UnixSymbolicLinkInfo.cs: The Contents property should return null if the
    symlink target doesn't exist.

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

18 years ago2005-09-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 26 Sep 2005 16:59:32 +0000 (16:59 -0000)]
2005-09-26  Marek Safar <marek.safar@seznam.cz>

* test-294.cs: Added new tests.
* test-457.cs: New test.

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

18 years ago2005-09-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 26 Sep 2005 16:56:47 +0000 (16:56 -0000)]
2005-09-26  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (Attribute.Resolve): Check Obsolete attribute for
attributes.

* class.cs (GeneratedBaseInitializer): New class for customization
compiler generated initializers.
(MemberBase.DoDefine): Check Obsolete attribute here.
(FieldMember.DoDefine): Ditto.

* const.cs (ExternalConstant.CreateDecimal): Builder for decimal
constants.

* decl.cs (MemberCore.EmitContext): Returns valid current ec.
(MemberCore.GetObsoleteAttribute): Removed argument.
(MemberCore.CheckObsoleteness): Obsolete attributes are hierarchic.
(MemberCore.CheckObsoleteType): New helper.

* delegate.cs,
* enum.cs,
* statement.cs: Updates after MemberCore changes.

* ecore.cs (TypeExpr.ResolveType): Check type obsoleteness here.
(FieldExpr.ResolveMemberAccess): Fixed decimal constants checks.

* expression.cs (ComposedCast.DoResolveAsTypeStep): Don't check
obsolete attribute for compiler construct.
(As.DoResolve): Cache result.

* iterators.cs (Define_Constructor): Use GeneratedBaseInitializer.

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

18 years ago2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 26 Sep 2005 16:49:25 +0000 (16:49 -0000)]
2005-09-26  Lluis Sanchez Gual <lluis@novell.com>

* DataSet.cs: In IXmlSerializable.GetSchema, return null again for
untyped datasets. Fixes bug #76101.

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

18 years ago2005-09-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Sep 2005 16:47:46 +0000 (16:47 -0000)]
2005-09-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDictionaryString.cs, XmlDictionary.cs,
  XmlDictionaryReaderQuotas.cs, XmlDictionaryReader.cs:
  added some implementations.

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

18 years ago2005-09-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 26 Sep 2005 16:27:08 +0000 (16:27 -0000)]
2005-09-26  Marek Safar  <marek.safar@seznam.cz>

* PropertyBuilder.cs: Throw NotSupportedException for unsupported
methods.

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

18 years ago2005-09-11 Robert Jordan <robertj@gmx.net>
Lluis Sanchez [Mon, 26 Sep 2005 16:26:35 +0000 (16:26 -0000)]
2005-09-11  Robert Jordan  <robertj@gmx.net>

* UnixChannel.cs: fixed default ctor.
* UnixServerChannel.cs: fixed GetUrlsForUri to return properly
 formatted unix URIs (the "?" was missing).

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

18 years ago2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 26 Sep 2005 16:15:47 +0000 (16:15 -0000)]
2005-09-26  Lluis Sanchez Gual  <lluis@novell.com>

* XmlSerializerTests.cs, DeserializeTests.cs,
XmlSerializerTestClasses.cs: Added tests for serialization of
arrays of choice values.

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

18 years ago2005-09-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Sep 2005 16:01:18 +0000 (16:01 -0000)]
2005-09-26  Atsushi Enomoto <atsushi@ximian.com>

* DTDValidatingReader.cs : Namespace manager was not handled correctly.
  Now it does the same as XmlTextReader does. Fixed bug #76234.

* XmlValidatingReaderTests.cs : added test for bug #76234.

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

18 years agoDon't build System.Security before the second System.dll build
Sebastien Pouliot [Mon, 26 Sep 2005 15:49:29 +0000 (15:49 -0000)]
Don't build System.Security before the second System.dll build

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

18 years ago2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 26 Sep 2005 15:43:49 +0000 (15:43 -0000)]
2005-09-26  Lluis Sanchez Gual <lluis@novell.com>

* LogicalMethodInfo.cs: GetCustomAttribute* does not return
inherited attributes in MS.NET.

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

18 years ago2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 26 Sep 2005 15:40:46 +0000 (15:40 -0000)]
2005-09-26  Lluis Sanchez Gual  <lluis@novell.com>

* XmlTypeMapping.cs: Added ChoiceMember to ListMap.
In ListMap.FindElement, take into account the ChoiceMember
if set.
* SerializationCodeGenerator.cs:
* XmlSerializationReaderInterpreter.cs: For lists with a choice
member, fill the member with the corresponding enum values.
* XmlReflectionImporter.cs: Properly reflect the choice member
when applied to a list.
* XmlSerializationWriterInterpreter.cs: Track class changes.
* XmlTypeMapMemberElement.cs: Added ChoiceTypeData property.
All this fixes bug #76203.

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

18 years ago* DataGridBoolColumn.cs: Marked CheckState private to fix public API.
Gert Driesen [Mon, 26 Sep 2005 15:23:32 +0000 (15:23 -0000)]
* DataGridBoolColumn.cs: Marked CheckState private to fix public API.
* Splitter.cs: Added missing attributes for BorderStyle property.
* TextBoxBase.cs: Marked Calculate* methods internal.
* TextBox.cs: Fixed DefaultValue for PasswordChar property to match MS.NET.

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

18 years agoDon't include those classes on the initial compilation as Mono.Security.dll isn't...
Sebastien Pouliot [Mon, 26 Sep 2005 15:21:38 +0000 (15:21 -0000)]
Don't include those classes on the initial compilation as Mono.Security.dll isn't yet available.

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

18 years agoMove some classes from System.Security.dll into System.dll for NET_2_0 profile. This...
Sebastien Pouliot [Mon, 26 Sep 2005 15:06:24 +0000 (15:06 -0000)]
Move some classes from System.Security.dll into System.dll for NET_2_0 profile. This requires to change System.dll circular dependency from System.Security.dll to Mono.Security.dll.

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

18 years agoDon't include those classes on the initial compilation as Mono.Security.dll isn't...
Sebastien Pouliot [Mon, 26 Sep 2005 15:05:49 +0000 (15:05 -0000)]
Don't include those classes on the initial compilation as Mono.Security.dll isn't yet available.

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

18 years agoDon't include those classes on the initial compilation as Mono.Security.dll isn't...
Sebastien Pouliot [Mon, 26 Sep 2005 15:03:10 +0000 (15:03 -0000)]
Don't include those classes on the initial compilation as Mono.Security.dll isn't yet available.

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

18 years ago2005-09-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Sep 2005 14:59:16 +0000 (14:59 -0000)]
2005-09-26  Zoltan Varga  <vargaz@gmail.com>

* StringTest.cs: Add test for #76204.

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

18 years ago2005-09-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Sep 2005 14:58:48 +0000 (14:58 -0000)]
2005-09-26  Zoltan Varga  <vargaz@gmail.com>

* String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
#76204.

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

18 years ago2005-09-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Sep 2005 14:28:20 +0000 (14:28 -0000)]
2005-09-26  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_class_has_special_static_fields): Fix warnings.

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

18 years agoIn Test/System.Security.Cryptography:
Sebastien Pouliot [Mon, 26 Sep 2005 14:08:58 +0000 (14:08 -0000)]
In Test/System.Security.Cryptography:
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>

* Asn*.cs, Oid*.cs: Moved to System.dll

In Test/System.Security.Permissions:
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>

* StorePermissionAttributeTest.cs: Moved in System.dll

In Test/System.Security.Cryptography.X509Certificates:
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>
* All tests moved to System.dll assembly.
In System.Security.Cryptography:
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>
* Asn*.cs, Oid*.cs: Moved to System.dll
In System.Security.Permissions:
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>

* Store*.cs: Moved in System.dll

In .:
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>

* System.Security.dll.sources: Remove all X509 related classes.
* System.Security_test.dll.sources: Remove all X509 related tests.
* System.Security.Cryptography.X509Certificates/*.cs: moved to
System.dll assembly.
* Test/System.Security.Cryptography.X509Certificates/*.cs: moved to
System.dll assembly.

In System.Security.Cryptography.X509Certificates:
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>
* All classes moved in System.dll

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

18 years ago2005-09-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 26 Sep 2005 14:05:51 +0000 (14:05 -0000)]
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>

* Store*.cs: Moved from System.Security.dll

2005-05-18  Jordi Mas i Hernandez <jordi@ximian.com>

* StorePermissionAttribute.cs: fixes flag cleaning logical operation

2005-04-23  Sebastien Pouliot  <sebastien@ximian.com>

* StorePermission.cs: New. CAS permission to access certificate stores.
* StorePermissionAttribute.cs: New. CAS permission attribute for
StorePermission.

2004-07-08  Sebastien Pouliot  <sebastien@ximian.com>

* StorePermissionFlags.cs: Fixed flags values. Added [Serializable]
attribute.

2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>

* StorePermissionFlags.cs: New. CAS-related enum for StorePermission.
Adding it "creates" the namespace for corcompare.

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

18 years ago2005-05-09 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>
Alexandre Rocha Lima e Marcondes [Mon, 26 Sep 2005 14:05:42 +0000 (14:05 -0000)]
2005-05-09 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>
Added CultureInfo("en-US") to the following tests

* ExpConversionDatetoStringA.vb
* ExpConversionDoubletoStringA.vb
        * ExpConversionSingletoStringA.vb
        * ExpConversionStringtoDoubleA.vb
        * ExpConversionStringtoSingleA.vb
        * ImpConversionBooltoDoubleC.vb
        * ImpConversionDatetoStringA.vb
        * ImpConversionDatetoStringB.vb
        * ImpConversionDecimaltoStringA.vb
        * ImpConversionDoubletoStringA.vb
        * ImpConversionDoubletoStringB.vb
        * ImpConversionSingletoStringA.vb
        * ImpConversionSingletoStringB.vb
        * ImpConversionStringtoDoubleA.vb
        * ImpConversionStringtoDoubleC.vb
        * ImpConversionStringtoSingleA.vb
        * ImpOverloadConversionDecimaltoString.vb

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

18 years ago2005-09-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 26 Sep 2005 14:05:32 +0000 (14:05 -0000)]
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>

* All classes, except X509CertificateCollection, moved from
System.Security.dll assembly as part of 2.0 RC changes.

2005-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* X509BasicConstraintsExtension.cs: Now throw ArgumentNullException in
CopyFrom (fixed in beta2).
* X509CertificateEx.cs: Throw a CryptographicException in the RawData
property if no certificate is loaded in the instance.
* X509EnhancedKeyUsageExtension.cs: Now throw ArgumentNullException in
CopyFrom (fixed in beta2).
* X509Extension.cs: Now throw ArgumentNullException in CopyFrom (fixed
in beta2).
* X509KeyUsageExtension.cs: Now throw ArgumentNullException in
CopyFrom (fixed in beta2).
* X509Store.cs: Re-added certificate creation to get the exception.
* X509SubjectKeyIdentifierExtension.cs: Throw ArgumentNullException in
CopyFrom (fixed in beta2). Fix SubjectKeyIdentifier to return an empty
string (not null) after (unsucessful) decoding.

2005-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* X509CertificateEx.cs: Used new features from Mono.Security.dll to
load certificates and private keys from PKCS#12.

2005-04-24  Sebastien Pouliot  <sebastien@ximian.com>

* X509CertificateEx.cs: Added new constructors and Import methods that
accept SecureString for passwords. Added new property HasPrivateKey and
Verify method.
* X509CertificateExCollection.cs: Added new constructor that accept a
single X509Certificate2.
* X509EnhancedKeyUsageExtension.cs: Fixed compiler warnings.
* X509KeyUsageExtension.cs: Fixed new enum name for CrlSign.
* X509KeyUsageFlags.cs: Fixed values and removed [Serializable].
* X509NameType.cs: Fixed values and removed [Serializable].
* X509Store.cs: Added new constructor that accept an IntPtr and the
StoreHandle property. Fixed compiler warnings.

2005-04-23  Sebastien Pouliot  <sebastien@ximian.com>

* X509CertificateEx.cs, X509CertificateExCollection.cs,
X509CertificateExEnumerator.cs, X509Chain.cs, X509ChainElement.cs,
X509ChainPolicy.cs, X509Store.cs: Changed all references of
X509CertificateEx to X509Certificate2 to match beta2.

2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* X509BasicConstraintsExtension.cs: Completed implementation.
* X509Chain.cs: Updated to Dec CTP definitions.
* X509ChainPolicy.cs: Updated to Dec CTP definitions.
* X500DistinguishedNameFlags.cs: Added new ForceUTF8Encoding.
* X509EnhancedKeyUsageExtension.cs: New. Complete implementation.
* X509Extension.cs: Completed implementation.
* X509ExtensionCollection.cs: Updated to Dec CTP definitions.
* X509KeyUsageExtension.cs: Completed implementation.
* X509RevocationFlag.cs: Minus 1 on each member.
* X509SubjectKeyIdentifierExtension.cs: Completed implementation
except for the new constructor accepting a public key.
* X509SubjectKeyIdentifierHashAlgorithm.cs: New enum.

2004-09-03  Tim Coleman <tim@timcoleman.com>
* X509KeyUsageExtension.cs: New stub class
* X509SubjectKeyIdentifierExtension.cs: New stub class
* PublicKey.cs X509BasicConstraintsExtension.cs X509CertificateEx.cs
* X509CertificateExCollection.cs X509Extension.cs
* X509ExtensionCollection.cs:
Bring these more in line with 2.0

2004-07-08  Sebastien Pouliot  <sebastien@ximian.com>

* OpenFlags.cs: Fixed flags values. Added missing attributes.
* StoreLocation.cs: Fixed enum values. Added missing [Serializable].
* StoreName.cs: Fixed enum values. Added missing [Serializable].
* X500DistinguishedName.cs: New. X.501 DN.
* X500DistinguishedNameFlags.cs: New. X.501 DN flags.
* X509CertificateEx.cs: Updated to Fx 2.0 beta 1. Added MonoTODO.
* X509Chain.cs: Added missing Reset method.
* X509ChainStatusFlags.cs: Fixed flags values. Added missing attrs.
* X509Extension.cs: Fixed API.
* X509ExtensionCollection.cs: Fixed API and implemented.
* X509FindType.cs: Fixed enum values. Added missing [Serializable].
* X509IncludeOption.cs: Added missing [Serializable].
* X509KeyUsageFlags.cs: : Fixed flags values. Added missing attrs.
* X509NameType.cs: Fixed enum values. Added missing [Serializable].
* X509RevocationFlag.cs: Fixed enum values. Added missing [Serializable].
* X509RevocationMode.cs: Added missing [Serializable].
* X509SelectionFlag.cs: Added missing [Serializable].
* X509VerificationFlags.cs: Fixed flags values. Added missing attrs.

2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>

* X509Store.cs: Removed old store code (as it has changed a lot in
Mono.Security).

2003-12-07  Sebastien Pouliot  <spouliot@videotron.ca>

* PublicKey.cs: New (1.2). Class that encapsulate an ASN.1 encoded
public key.
* X509BasicConstraintsExtension.cs: New (1.2). X.509 certification
extension for BasicConstraints.
* X509CertificateEx.cs: New (1.2). Augmented class to use X.509
certificates.
* X509CertificateExCollection.cs: New (1.2). Collection class for
X509CertificateEx.
* X509CertificateExEnumerator.cs: New (1.2). Enumerator class for
X509CertificateEx.
* X509ChainElement.cs: New (1.2). Information (certificate, status,
informations) for a member of a certificate chain.
* X509ChainElementCollection.cs: New (1.2). Collection class for
X509ChainElement.
* X509ChainElementEnumerator.cs: New (1.2). Enumerator class for
X509ChainElement.
* X509ChainStatus.cs: New (1.2). Chain status (many can apply to a
single X509ChainElement).
* X509Extension.cs: New (1.2). Base class for all certificate
extensions.
* X509ExtensionCollection.cs: New (1.2). Collection class for
X509Extension.
* X509ExtensionEnumerator.cs: New (1.2). Enumerator class for
X509Extension.

2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>

* OpenFlags.cs: New (1.2). Enumeration for certificate stores.
* StoreLocation.cs: New (1.2). Enumeration for certificate stores.
* StoreName.cs: New (1.2). Enumeration for certificate stores.
* X509Chain.cs: New (1.2). Class to build a certificate chain up to a
trusted anchor.
* X509ChainElement.cs: New (1.2). Element from the chain (certificate,
status and information) - only stubbed for now.
* X509ChainElementCollection.cs: New (1.2). Collection class for
X509ChainElement.
* X509ChainElementEnumerator.cs: New (1.2). Enumerator class for
X509ChainElement.
* X509ChainPolicy.cs: New (1.2). Policy to build a certificate chain.
* X509ChainStatusFlags.cs: New (1.2). Enumeration for chain status.
* X509FindType.cs: New (1.2). Enumeration for how to find X.509
certificates in stores.
* X509IncludeOption.cs: New (1.2). Enumeration for options about which
certificate(s) to store within a (pkcs7) structure.
* X509KeyUsageFlags.cs: New (1.2). Enumeration for specifying valid
usage for a keypair.
* X509NameType.cs: New (1.2). Enumeration for different types of name
that can be present inside a certificate.
* X509RevocationFlag.cs: New (1.2). Enumeration for specifying which
certificates should be verified for revocation in a chain.
* X509RevocationMode.cs: New (1.2). Enumeration for specifying how the
revocation process should find it's informations.
* X509SelectionFlag.cs: New (1.2). Enumeration about how to select
certificates (ui-related).
* X509Store.cs: New (1.2). X.509 certificate store access - not complete.
* X509VerificationFlags.cs: New (1.2). Enumeration for parameters
affecting the verification of a certificate chain.

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

18 years ago2005-09-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 26 Sep 2005 14:05:09 +0000 (14:05 -0000)]
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>

* Asn*.cs, Oid*.cs: Moved from System.Security.dll

2005-05-03  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedData.cs: Allow CopyFrom to work even without an OID.

2005-04-25  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedData.cs: Fix compiler warning (unused variable).

2005-01-20  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedData.cs: Added "internal" support for SubjectAltName
extension as it is required for SSL support.
* Oid.cs: Added Oid / FriendlyName definitions for SubjectAltName.

2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedData.cs: Added more decoding/formatting code as this class
is far more intelligent (or bloated) than anticipated.
* Oid.cs: Added more Oid / FriendlyName definitions required for the
X.509 extensions and some more for some failing unit tests.
* OidCollection.cs: Added support to make the collection read-only.

2005-01-13  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedData.cs: Completed/fixed implementation.
* Oid.cs: Fixed implementation with updated unit tests.

2004-07-08  Sebastien Pouliot  <spouliot@videotron.ca>

* AsnEncodedData.cs: Fixes for Fx 2.0 beta 1 compatibility. Added
MonoTODO to missing functionalities.
* AsnEncodedDataCollection.cs: New.
* AsnEncodedDataEnumerator.cs: New.

2003-11-06  Sebastien Pouliot  <spouliot@videotron.ca>

* AsnEncodedData.cs: New. Class to encapsulate ASN.1 data (.NET 1.2).
* Oid.cs: New. Class to encapsulate OIDs (.NET 1.2).
* OidCollection.cs: New. ICollection based class for OIDs (.NET 1.2).
* OidEnumerator.cs: New. IEnumerator based class for OIDs (.NET 1.2).

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

18 years agoIn System.Security.Cryptography:
Sebastien Pouliot [Mon, 26 Sep 2005 14:04:32 +0000 (14:04 -0000)]
In System.Security.Cryptography:
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>

* Asn*.cs, Oid*.cs: Moved from System.Security.dll

2005-01-20  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedDataTest.cs: Added test case for SubjectAltName extension.

2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedDataTest.cs: Added tests decode Fx supported Enhanced Key
Usage extension and Fx "officially" unsupported Netscape Cert Type
extension. Both are docoded sucessfully at this level.

2005-01-13  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedDataTest.cs: Added tests for Oid, RawData properties and
for CopyFrom method.

2004-07-09  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedDataTest.cs: Fixed for Fx 2.0 beta1.
* OidTest.cs: Fixed for Fx 2.0 beta1.

2003-11-06  Sebastien Pouliot  <spouliot@videotron.ca>

* AsnEncodedDataTest.cs: New. Unit tests for AsnEncodedData (.NET 1.2).
* OidTest.cs: New. Unit tests for Oid (.NET 1.2).
* OidCollectionTest.cs: New. Unit tests for OidCollection (.NET 1.2).
* OidEnumeratorTest.cs: New. Unit tests for OidEnumerator (.NET 1.2).

In System.Security.Permissions:
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>

* StorePermissionAttributeTest.cs: Moved from System.Security.dll

2005-09-22  Sebastien Pouliot  <sebastien@ximian.com>

* StorePermissionAttributeTest.cs: Removed *Choice security actions.

2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* StorePermissionAttributeTest.cs: New. Unit tests for
StorePermissionAttribute.

In System.Security.Cryptography.X509Certificates:
2005-09-26  Sebastien Pouliot  <sebastien@ximian.com>

* Most tests moved from System.Security.dll assembly.

2005-04-23  Sebastien Pouliot  <sebastien@ximian.com>

* X509BasicConstraintsExtensionTest.cs, X509ChainPolicyTest.cs,
X509EnhancedKeyUsageExtensionTest.cs, X509ExtensionTest.cs,
X509KeyUsageExtensionTest.cs, X509StoreTest.cs,
X509SubjectKeyIdentifierExtensionTest.cs: Changed X509CertificateEx to
X509Certificate2 and re-activated some tests on Windows that were
fixed in beta2.

2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* X509BasicConstraintsExtensionTest.cs: New. Unit tests.
* X509EnhancedKeyUsageExtensionTest.cs: New. Unit tests.
* X509ExtensionTest.cs: New. Unit tests.
* X509KeyUsageExtensionTest.cs: New. Unit tests.
* X509SubjectKeyIdentifierExtensionTest.cs: New. Unit tests.

2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>

* X509ChainElementCollectionTest.cs: New. Unit tests for
X509ChainElementCollection.
* X509ChainElementEnumeratorTest.cs: New. Unit tests for
X509ChainElementEnumerator.
* X509ChainPolicyTest.cs: New. Unit tests for X509ChainPolicy.
* X509ChainTest.cs: New. (Incomplete) Unit tests for X509Chain.
* X509StoreTest.cs: New. (Incomplete) Unit tests for X509Store.

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

18 years agoBrush.jvm.cs: fixed transform methods, createContext
Vladimir Krasnov [Mon, 26 Sep 2005 13:43:42 +0000 (13:43 -0000)]
Brush.jvm.cs: fixed transform methods, createContext
TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
PathGradientBrush.jvm.cs: implemetated transform, WrapMode, ctors
HatchBrush.jvm.cs: fallback to solid brush

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

18 years ago2005-09-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Sep 2005 13:26:02 +0000 (13:26 -0000)]
2005-09-26  Zoltan Varga  <vargaz@gmail.com>

* aot.c: Add support for the no_special_static flag for classes.

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

18 years ago * ScrollBarTest.cs : Add more tests for event firing order
Hisham Mardam Bey [Mon, 26 Sep 2005 13:09:24 +0000 (13:09 -0000)]
    * ScrollBarTest.cs : Add more tests for event firing order
                     Messages to simulate mouse events

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

18 years ago2005-09-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Alexandre Rocha Lima e Marcondes [Mon, 26 Sep 2005 12:45:18 +0000 (12:45 -0000)]
2005-09-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
        * mb-parser.jay: Throws error for Option Strict on with
Propeties
        whitout an 'As' clause or a type character. Fix Interfaces
errors with Shared modifiers.

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

18 years ago2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 26 Sep 2005 12:30:32 +0000 (12:30 -0000)]
2005-09-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* AssemblyNameTest.cs: Added some tests for the 2.0 new
ctor. Keep some of them as NotWorking, since we need to figure out
an elegant way to avoiding creating Version when not passing it.

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

18 years ago2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 26 Sep 2005 12:27:41 +0000 (12:27 -0000)]
2005-09-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* AssemblyName.cs: Add ParseName internal call, to parse
long format assembly names.

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

18 years ago2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 26 Sep 2005 12:23:33 +0000 (12:23 -0000)]
2005-09-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* assembly.c: Add parse_public_key function, to
par the public keys. Also added mono_assembly_name_parse_full,
to define it the parsed key should be freed or not.
* icall.c: Added ves_icall_System_Reflection_AssemblyName_ParseName,
to parse a long format assembly name.
* metadata-internals.h: Keep mono_assembly_name_parse_full as
private, since calling it to preserve the key requires
freeing it manually.

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

18 years agoFixed reference to Consts.cs.in
Boris Kirzner [Mon, 26 Sep 2005 11:54:54 +0000 (11:54 -0000)]
Fixed reference to Consts.cs.in

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

18 years agoFixed reference to Consts.cs.in
Boris Kirzner [Mon, 26 Sep 2005 11:42:55 +0000 (11:42 -0000)]
Fixed reference to Consts.cs.in

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

18 years agoIn mcs:
Raja R Harinath [Mon, 26 Sep 2005 11:07:14 +0000 (11:07 -0000)]
In mcs:
Fix #76133.
* mcs/expression.cs (This.VerifyFixed): In a value type T, the type of
'this' is T&, iow, 'this' is either an out or ref parameter.  In a
value type R, 'this' is treated as a value parameter.
* tests/test-456.cs: New test from #76133.
* errors/cs0212-3.cs: New test based on #76133.

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

18 years ago* XmlConstructs.cs
Gert Driesen [Mon, 26 Sep 2005 10:25:02 +0000 (10:25 -0000)]
* XmlConstructs.cs
* XmlChar.cs
* XmlDocumentType.cs
* XmlImplementation.cs
* XmlNameTable.cs
* XmlResolver.cs
* Driver.cs
* IXmlLineInfo.cs
* Profile.cs
* XmlReaderSettings.cs
* XmlNodeChangedAction.cs
* XmlWriterSettings.cs
* XmlDocumentFragment.cs: set eol-style to native.

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

18 years ago* XmlResolver.cs: Fixed line endings.
Gert Driesen [Mon, 26 Sep 2005 10:23:21 +0000 (10:23 -0000)]
* XmlResolver.cs: Fixed line endings.

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

18 years ago* XmlNodeChangedEventArgs.cs: Set eol-style to native.
Gert Driesen [Mon, 26 Sep 2005 10:21:30 +0000 (10:21 -0000)]
* XmlNodeChangedEventArgs.cs: Set eol-style to native.

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

18 years ago* XmlNodeChangedEventArgs.cs: Only make ctor publicly available
Gert Driesen [Mon, 26 Sep 2005 10:20:35 +0000 (10:20 -0000)]
* XmlNodeChangedEventArgs.cs: Only make ctor publicly available
in NET_2_0. Fixed API compatiblity with .NET 1.1.
* XmlOutputMethod.cs: Fixed values of enum fields to match MS.NET. Make it
only available in .NET 2.0.

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

18 years agoCompilation fix.
Paolo Molaro [Mon, 26 Sep 2005 08:58:47 +0000 (08:58 -0000)]
Compilation fix.

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

18 years ago2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Mon, 26 Sep 2005 08:12:49 +0000 (08:12 -0000)]
2005-09-26  Jordi Mas i Hernandez <jordi@ximian.com>

* ListBox.cs: Fixes navigation to the last item in multicolumn lists

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

18 years agofix
Miguel de Icaza [Mon, 26 Sep 2005 04:08:28 +0000 (04:08 -0000)]
fix

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

18 years ago * TreeView.cs: Update the node bounds correctly regardless of
Jackson Harper [Mon, 26 Sep 2005 03:24:30 +0000 (03:24 -0000)]
    * TreeView.cs: Update the node bounds correctly regardless of
whether the node is visible.

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

18 years ago2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 26 Sep 2005 03:12:19 +0000 (03:12 -0000)]
2005-09-25  Sebastien Pouliot  <sebastien@ximian.com>

* ApplicationTrustCollection.cs: RC changed the constructor to non
public.
* PolicyLevel.cs: All stuff related to FullyTrustedAssemblies is
obsoleted in 2.0 because (a) all permission must be installed into the
GAC, (b) everything in the GAC gets fulltrust and (c) full trust now
means even identity permissions (like StrongNameIdentityPermission)
succeed for unrestricted (even if it doesn't match).

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

18 years ago2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 26 Sep 2005 03:02:58 +0000 (03:02 -0000)]
2005-09-25  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityIdentifier.cs: Stubbed ctor(IntPtr) introduced in 2.0 RC.

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

18 years ago2005-09-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Sep 2005 02:48:01 +0000 (02:48 -0000)]
2005-09-26  Atsushi Enomoto  <atsushi@ximian.com>

* locales.c : removed HAVE_ICU part.

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

18 years ago * ImageList.cs: Don't dispose the image after it is added to the
Jackson Harper [Mon, 26 Sep 2005 02:25:16 +0000 (02:25 -0000)]
    * ImageList.cs: Don't dispose the image after it is added to the
image list. Only reformat images that need to be resized.

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

18 years ago2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 26 Sep 2005 02:17:00 +0000 (02:17 -0000)]
2005-09-25  Sebastien Pouliot  <sebastien@ximian.com>

* UCOMIBindCtx.cs, UCOMIConnectionPoint.cs,
UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs,
UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
profile (this is new in 2.0) and reduce corcompare extras by 15.

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

18 years ago * ImageList.cs: Don't set the format when changing the image.
Jackson Harper [Mon, 26 Sep 2005 02:16:26 +0000 (02:16 -0000)]
    * ImageList.cs: Don't set the format when changing the image.

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

18 years ago2005-09-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 25 Sep 2005 20:18:05 +0000 (20:18 -0000)]
2005-09-25  Atsushi Enomoto <atsushi@ximian.com>

* NvdlValidationProvider.cs : GetSchemaXmlStream() should take NVDL
  script's base URI into account to compute the actual schema URI.
* NvdlRelaxngSupport.cs : ditto.

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

18 years ago * TreeView.cs: We can't just assume the node has a font. Use the
Jackson Harper [Sun, 25 Sep 2005 19:12:21 +0000 (19:12 -0000)]
    * TreeView.cs: We can't just assume the node has a font. Use the
treeviews font if no node font is available.

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

18 years ago2005-09-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 25 Sep 2005 18:49:25 +0000 (18:49 -0000)]
2005-09-25  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaBuiltInType.cs : removed obsolete beta file.

* System.Xml.dll.sources : removed XmlSchemaBuiltInType.cs.

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

18 years agoUpdate
Miguel de Icaza [Sun, 25 Sep 2005 18:37:20 +0000 (18:37 -0000)]
Update

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

18 years ago * TreeView.cs: Allow the scrollbars to be reset with negative
Jackson Harper [Sun, 25 Sep 2005 18:19:00 +0000 (18:19 -0000)]
    * TreeView.cs: Allow the scrollbars to be reset with negative
values.
- Don't add scrollbars to negative sized windows.

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

18 years ago2005-09-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 25 Sep 2005 17:43:39 +0000 (17:43 -0000)]
2005-09-25  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidationFlags.cs, XmlSchemaValidator.cs :
  NET_2_0 API updates.

* XmlReader.cs, XmlReaderSettings.cs, XmlDocument.cs:
  XmlSchemaValidationFlags updates.

* XmlSchemaValidatingReader.cs: XmlSchemaValidationFlags updates.

* XmlReaderSettingsTests.cs : XmlSchemaValidationFlags NET_2_0 update.

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