mono.git
20 years ago * SerializationCodeGenerator.cs: Several fixes: generate valid names for
Lluis Sanchez [Wed, 24 Mar 2004 19:30:12 +0000 (19:30 -0000)]
* SerializationCodeGenerator.cs: Several fixes: generate valid names for
  WriteRoot_ and ReadRoot_ methods. Cast result of ReadTypedPrimitive to
  the adequate type. Set the default value of members that do have a default
  value. Other minor fixes.
* SoapReflectionImporter.cs, XmlReflectionImporter.cs: All maps must derive
  from typeof(object) map, even those that have another base class.
* XmlCustomFormatter.cs: Fixed generation of conversion from char to string.
  It must serialize the char as number, not as character.
* XmlSerializationReaderInterpreter.cs: Set the default value of members
  that do have a default value.
* XmlTypeMapping.cs: Added property MembersWithDefault, which returns a list
  of members that have a default value.

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

20 years ago2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 24 Mar 2004 19:17:35 +0000 (19:17 -0000)]
2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>

* StrongNameKeyPair.cs: Added an internal method to return a
StrongName object (for AssemblyBuilder). Simplified implementation
using Mono.Security.Cryptography.CryptoConvert class.

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

20 years ago2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Mar 2004 18:40:57 +0000 (18:40 -0000)]
2004-03-24  Atsushi Enomoto  <atsushi@ximian.com>

* xmldsig.cs : Ok, time to test phaos collection ;-)

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

20 years ago2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Mar 2004 18:38:08 +0000 (18:38 -0000)]
2004-03-24  Atsushi Enomoto  <atsushi@ximian.com>

* ReferenceTest.cs : Test for keeping document object identity.
* XmlDsigC14NTransformTest.cs : Fixed LoadInputAsXmlNodeList(). Here,
  passed XmlNodeList means filtered (e.g. XPath) nodes, which might
  contain parent and children as each node in the list.
  Added LoadInputAsXmlNodeList2(), which fails in the meantime.

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

20 years ago2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Mar 2004 18:32:58 +0000 (18:32 -0000)]
2004-03-24  Atsushi Enomoto <atsushi@ximian.com>

* Reference.cs, Signature.cs : They should keep input element and hence
  keep namespace context nodes on LoadXml() as same as SignedInfo.
* SignedXml.cs : Fixed SignedInfoTransformed() to fill context
  namespace nodes into the input document (unlike other classes, there
  seems no other way to keep ns-nodes here).
  Now some of W3C phaos xmldsig test passes.

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

20 years ago2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Mar 2004 18:20:14 +0000 (18:20 -0000)]
2004-03-24  Atsushi Enomoto <atsushi@ximian.com>

* XmlDocumentNavigator.cs : MoveTo*Namespace() should not iterate
  namespace nodes which has the same name as already-iterated nodes.
  Also xmlns='' should not be selected, and once it appeared, default
  namespace should not be selected anymore.

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

20 years ago2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Mar 2004 18:19:51 +0000 (18:19 -0000)]
2004-03-24  Atsushi Enomoto <atsushi@ximian.com>

* SelectNodesTests.cs : Added test for 1) not selecting previously-
  selected prefixes, and that 2) default namespace erasure (i.e.
  xmlns="") should not be selected.

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

20 years ago2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Mar 2004 18:19:24 +0000 (18:19 -0000)]
2004-03-24  Atsushi Enomoto <atsushi@ximian.com>

* XslTransformTests.cs : Added InvalidStylesheet2().

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

20 years ago2003-03-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 24 Mar 2004 18:05:30 +0000 (18:05 -0000)]
2003-03-24  Sebastien Pouliot  <sebastien@ximian.com>

* StrongNameKeyPairTest.cs: Converted to NUnit2 format. Removed
unneeded code and false comments (too much copy-n-paste).

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

20 years ago * File.cs: In Move, throw IOException instead of ArgumentException if destination
Lluis Sanchez [Wed, 24 Mar 2004 17:24:29 +0000 (17:24 -0000)]
* File.cs: In Move, throw IOException instead of ArgumentException if destination
  is a directory.
* MonoIO.cs: In ExistsDirectory, return ERROR_PATH_NOT_FOUND instead of
  ERROR_FILE_NOT_FOUND, since we are looking for a directory, not a file.

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

20 years agouse platform specific file extension for shared libraries (.so / .dylib)
Urs C. Muff [Wed, 24 Mar 2004 16:39:02 +0000 (16:39 -0000)]
use platform specific file extension for shared libraries (.so / .dylib)

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

20 years ago2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 24 Mar 2004 16:12:50 +0000 (16:12 -0000)]
2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyBuilderTest.cs: Added new tests to build strongnamed
assemblies.

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

20 years ago2004-03-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 24 Mar 2004 16:11:29 +0000 (16:11 -0000)]
2004-03-24  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.c (ves_icall_System_AppDomain_InternalUnload): Add
MONO_NO_UNLOAD env var as a temporary workaround for unloading
problems.

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

20 years ago2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 24 Mar 2004 15:22:29 +0000 (15:22 -0000)]
2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>

* other: Added Mono Brazil for fxjr

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

20 years ago2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 24 Mar 2004 15:20:36 +0000 (15:20 -0000)]
2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>

* compiler.csproj: Updated for Visual Studio .NET 2003.
* compiler.csproj.user: Updated for Visual Studio .NET 2003.
* compiler.sln: Updated for Visual Studio .NET 2003.

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

20 years agofixes image and bmp dpi
Jordi Mas i Hernandez [Wed, 24 Mar 2004 14:52:41 +0000 (14:52 -0000)]
fixes image and bmp dpi

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

20 years ago2004-03-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 24 Mar 2004 13:46:51 +0000 (13:46 -0000)]
2004-03-24  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilder.cs (GetMethod): Implement.

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

20 years agodrawimage sample
Jordi Mas i Hernandez [Wed, 24 Mar 2004 12:51:20 +0000 (12:51 -0000)]
drawimage sample

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

20 years ago2004-03-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 24 Mar 2004 12:16:53 +0000 (12:16 -0000)]
2004-03-24  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeBuilder.cs: Reenable argument checking with MS.NET
compatibility tweaks.

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

20 years ago2004-03-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 24 Mar 2004 12:14:09 +0000 (12:14 -0000)]
2004-03-24  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.

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

20 years agoadded missing DrawImage gdi+ calls and example
Jordi Mas i Hernandez [Wed, 24 Mar 2004 12:11:25 +0000 (12:11 -0000)]
added missing DrawImage gdi+ calls and example

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

20 years agooops. forgot to add this
Ravi Pratap M [Wed, 24 Mar 2004 11:49:58 +0000 (11:49 -0000)]
oops. forgot to add this

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

20 years ago2004-03-24 Umadevi S (sumadevi@novell.com)
Umadevi S [Wed, 24 Mar 2004 05:04:40 +0000 (05:04 -0000)]
2004-03-24  Umadevi S (sumadevi@novell.com)
* DataColumn.cs - removed the TODOs since I had checkedin earlier
* DataViewRowState.cs - Implemented EditorAttribute

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

20 years ago2004-03-24 Ravi Pratap M <ravi@ximian.com>
Ravi Pratap M [Wed, 24 Mar 2004 04:51:11 +0000 (04:51 -0000)]
2004-03-24  Ravi Pratap M  <ravi@ximian.com>

* expression.cs: Fix bug #47234. We basically need to apply the
rule that we prefer the conversion of null to a reference type
when faced with a conversion to 'object' (csc behaviour).

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

20 years ago2004-03-24 Ravi Pratap M <ravi@ximian.com>
Ravi Pratap M [Wed, 24 Mar 2004 04:49:26 +0000 (04:49 -0000)]
2004-03-24  Ravi Pratap M  <ravi@ximian.com>

* test-235.cs: test for 47234.

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

20 years ago2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Mar 2004 03:45:22 +0000 (03:45 -0000)]
2004-03-24  Atsushi Enomoto <atsushi@ximian.com>

* XmlCharacterData.cs : ReplaceData() should reject negative integer
  value for count argument.
* XmlAttribute.cs, XmlAttributeCollection.cs, XmlNamedNodeMap.cs :
  On RemoveNamedItem(), default attribute value should be restored.

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

20 years ago2004-03-23 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 24 Mar 2004 03:35:19 +0000 (03:35 -0000)]
2004-03-23 Ben Maurer  <bmaurer@users.sourceforge.net>

* statement.cs: Shorter form for foreach, eliminates
a local variable. r=Martin.

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

20 years ago2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Mar 2004 02:21:48 +0000 (02:21 -0000)]
2004-03-24  Atsushi Enomoto <atsushi@ximian.com>

* XmlAttributeCollection.cs : Remove() should throw an exception when
  target attribute is not included in the collection.
* XmlDocument.cs : ImportNode() should reject null node.
* XmlNode.cs : Fixed type of exception for invalid insertion.
  It should throw an exception not only when the owner document of the
  reference element is different but its parent element is different.
  Some error message improvement.

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

20 years agoMake this actually work.
Martin Baulig [Tue, 23 Mar 2004 23:10:24 +0000 (23:10 -0000)]
Make this actually work.

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

20 years ago2004-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 23 Mar 2004 23:08:19 +0000 (23:08 -0000)]
2004-03-23  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs: Added support for events.

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

20 years ago2004-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 23 Mar 2004 23:08:03 +0000 (23:08 -0000)]
2004-03-23  Martin Baulig  <martin@ximian.com>

* TypeBuilder.cs (TypeBuilder.GetEvents_internal): New internal
method; this is basically GetEvents(), but see the FIXME in that method.

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

20 years ago2004-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 23 Mar 2004 23:07:39 +0000 (23:07 -0000)]
2004-03-23  Martin Baulig  <martin@ximian.com>

* class.h (MonoDynamicGenericInst): Added `int count_events' and
`MonoEvent *events'.

* icall.c (ves_icall_MonoGenericInst_GetEvents): New interncall.
(typebuilder_icalls): Added "get_event_info"; calls
mono_reflection_event_builder_get_event_info().

* reflection.c (mono_reflection_generic_inst_initialize): Added
`MonoArray *events'.
(mono_reflection_event_builder_get_event_info): New function.

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

20 years ago2004-03-23 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 23 Mar 2004 22:01:55 +0000 (22:01 -0000)]
2004-03-23  Bernie Solomon  <bernard@ugsolutions.com>

* hppa/hppa-codegen.h: created

* hppa/tramp.c: changed style to be more like
other platforms.

* hppa/Makefile.am: add hppa-codegen.h

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 21:46:15 +0000 (21:46 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* cs1548.cs: New test for signing an assembly.

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

20 years ago2004-03-23 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Mar 2004 20:57:13 +0000 (20:57 -0000)]
2004-03-23 Ben Maurer  <bmaurer@users.sourceforge.net>

* Switch.cs: Don't throw when there is no switches section.

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

20 years ago2004-03-23 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Mar 2004 20:47:18 +0000 (20:47 -0000)]
2004-03-23 Ben Maurer  <bmaurer@users.sourceforge.net>

* constant.cs, ecore.cs, literal.cs: New prop IsZeroInteger that
checks if we can use brtrue/brfalse to test for 0.
* expression.cs: use the above in the test for using brtrue/brfalse.
cleanup code a bit.

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

20 years ago2004-03-23 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 23 Mar 2004 20:19:53 +0000 (20:19 -0000)]
2004-03-23  Bernie Solomon  <bernard@ugsolutions.com>

* object.h: add mono_type_initialization_init

* object.c (mono_runtime_class_init):
implement class constructor synchronization rules
to cope with threading issues.
add mono_type_initialization_init

* appdomain.c (mono_runtime_init): call
mono_type_initialization_init

* class.h: removing initializing field from MonoVTable

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

20 years ago2004-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 23 Mar 2004 20:09:21 +0000 (20:09 -0000)]
2004-03-23  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.OverloadResolve): Added `bool
may_fail' argument and use it instead of the Location.IsNull() hack.

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

20 years agoMake the delegate stuff actually working.
Martin Baulig [Tue, 23 Mar 2004 19:44:48 +0000 (19:44 -0000)]
Make the delegate stuff actually working.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 19:35:01 +0000 (19:35 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvert.cs: Added support for public keys preceded by an
header like the one generated by "sn -e".

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 19:28:36 +0000 (19:28 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvertTest.cs: Added test case where the public key structure
is inside preceded by an header (like the one produced by "sn -e").

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

20 years ago2004-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 23 Mar 2004 19:05:56 +0000 (19:05 -0000)]
2004-03-23  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-sparc.c (mono_sparc_handle_exception): Remove debugging
output.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 19:04:13 +0000 (19:04 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security_test.dll.sources: Added unit tests for CryptoConvert.

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

20 years ago2004-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 23 Mar 2004 19:03:38 +0000 (19:03 -0000)]
2004-03-23  Zoltan Varga  <vargaz@freemail.hu>

* liveness.c: Consider SSA stores as well as loads when making vars
volatile.

* exceptions.cs: New regression tests for register allocation.

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

20 years agoMake this actually work.
Martin Baulig [Tue, 23 Mar 2004 19:03:16 +0000 (19:03 -0000)]
Make this actually work.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 19:02:23 +0000 (19:02 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* RSAManaged.cs: CryptographicException thrown when trying to export
the private key when only the public key is present (CRT aware).

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

20 years ago2004-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 23 Mar 2004 19:01:54 +0000 (19:01 -0000)]
2004-03-23  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.InferType): Use correct type inference
rules here.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 19:01:31 +0000 (19:01 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* StrongName.cs: Added exceptions for null or invalid keys.

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

20 years agoNew test ...
Martin Baulig [Tue, 23 Mar 2004 19:00:52 +0000 (19:00 -0000)]
New test ...

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

20 years agoNew tests .....
Martin Baulig [Tue, 23 Mar 2004 19:00:21 +0000 (19:00 -0000)]
New tests .....

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 18:58:52 +0000 (18:58 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvert.cs: Added exception for null and bad parameters.
* RSAManaged.cs: CryptographicException thrown when trying to export
the private key when only the public key is present (CRT aware).

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 18:54:54 +0000 (18:54 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* StrongName.cs: Added exceptions for null or invalid keys.

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

20 years ago2004-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 23 Mar 2004 18:41:03 +0000 (18:41 -0000)]
2004-03-23  Martin Baulig  <martin@ximian.com>

* ecore.cs (MethodGroupExpr.Name): Use
TypeManager.CSharpSignature() instead of just the name.

* expression.cs (Invocation.OverloadResolve): Provide better error
reporting.
(Invocation.DoResolve): OverloadResolve() never returns null
without reporting an error, so removed the error -6 reporting here.

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

20 years ago2004-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 23 Mar 2004 18:38:22 +0000 (18:38 -0000)]
2004-03-23  Martin Baulig  <martin@ximian.com>

* MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
if it's the empty string.

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

20 years ago2004-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 23 Mar 2004 18:37:07 +0000 (18:37 -0000)]
2004-03-23  Martin Baulig  <martin@ximian.com>

* class.c (my_mono_class_from_generic_parameter): Use
`param->name' if it's not NULL.

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

20 years ago* ByteTest.cs, Int32Test.cs, Int64Test, SingleFormatterTest.cs, UInt16Test.cs, UInt32...
Lluis Sanchez [Tue, 23 Mar 2004 18:30:34 +0000 (18:30 -0000)]
* ByteTest.cs, Int32Test.cs, Int64Test, SingleFormatterTest.cs, UInt16Test.cs, UInt32Test.cs, UInt64Test.cs: Made some tests depend on the current culture.

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

20 years agoadded socket-wrappers.h
Gonzalo Paniagua Javier [Tue, 23 Mar 2004 18:18:45 +0000 (18:18 -0000)]
added socket-wrappers.h

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

20 years ago2004-03-23 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Mar 2004 17:55:34 +0000 (17:55 -0000)]
2004-03-23 Ben Maurer  <bmaurer@users.sourceforge.net>

* expression.cs: Rewrite string concat stuff. Benefits:

- "a" + foo + "b" + "c" becomes "a" + foo + "bc"
- "a" + foo + "b" + bar + "c" + baz ... uses concat (string []).
rather than a concat chain.

* typemanager.cs: Add lookups for more concat overloads.

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

20 years ago2004-03-23 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 23 Mar 2004 17:41:46 +0000 (17:41 -0000)]
2004-03-23  Dick Porter  <dick@ximian.com>

* DateTime.cs: Allow any character for DateSeparator when parsing,
except TimeSeparator, a digit or a letter.  Fixes bug 54047.  Also
deleted the previous fix for 54721, because this covers it too.

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

20 years agoReset dynamic_info and is_initialized.
Martin Baulig [Tue, 23 Mar 2004 17:37:51 +0000 (17:37 -0000)]
Reset dynamic_info and is_initialized.

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

20 years ago2004-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 23 Mar 2004 17:36:32 +0000 (17:36 -0000)]
2004-03-23  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.GetMethodFlags): Fixed the FIXME for
generic methods.

* cs-parser.jay (delegate_declaration): Support generic delegates.

* delegate.cs: Support generic delegates.

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

20 years ago * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
Lluis Sanchez [Tue, 23 Mar 2004 17:33:49 +0000 (17:33 -0000)]
* FloatingPointFormatter.cs: Made the class thread safe. Had to move some
  internal variables to structures that are moved around methods.
  Factorized some common formatting code into FormatNumberInternal.

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

20 years ago2004-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 23 Mar 2004 17:27:09 +0000 (17:27 -0000)]
2004-03-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListDictionary.cs: mark ListEntry as serializable. Thanks to Jan
Jaros.

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

20 years ago2004-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 23 Mar 2004 17:21:21 +0000 (17:21 -0000)]
2004-03-23  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Fix GNU ld check.

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 17:19:20 +0000 (17:19 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* PrivateKey.cs: Adjusted to catch exceptions from CryptoConvert.
FromCapiPrivateKeyBlob when dealing with weakly encrypted keys.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 17:11:32 +0000 (17:11 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvert.cs: Added exception for null and bad parameters.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 16:38:40 +0000 (16:38 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvertTest.cs: New. Unit tests for CryptoConvert.

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

20 years ago2004-03-23 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Mar 2004 16:19:47 +0000 (16:19 -0000)]
2004-03-23 Ben Maurer  <bmaurer@users.sourceforge.net>

* expression.cs: Emit shorter il code for array init.

newarr
dup
// set 1

// set 2

newarr
stloc.x

ldloc.x
// set 1

ldloc.x
// set 2

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

20 years ago2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Mar 2004 15:55:37 +0000 (15:55 -0000)]
2004-03-23  Atsushi Enomoto <atsushi@ximian.com>

* SignedInfo.cs : It holds input element and directly returns it
  unless the properties are not set.
  Throw CryptographicException when Reference is empty *and* GetXml()
  is *created*. (when just returning input element, no exception is
  thrown).

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

20 years ago2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Mar 2004 15:55:14 +0000 (15:55 -0000)]
2004-03-23  Atsushi Enomoto  <atsushi@ximian.com>

* SignedInfoTest.cs : assure the owner document object equality /
  inequality with related to LoadXml() and setting properties.

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

20 years ago2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Tue, 23 Mar 2004 15:39:36 +0000 (15:39 -0000)]
2004/03/22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* typemanager.cs :  being more carefull with null arguments in some places,
null checking in GetPertinentStandardModules() loop
* namespace.cs : a helper ToString override
* ecore.cs : Dealing with finding more than a pertinent standard module having a global member
* testmbas/WriteOk.vb : Exercising correct standard module resolution
    NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working

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

20 years ago2004-03-23 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 23 Mar 2004 15:29:47 +0000 (15:29 -0000)]
2004-03-23  Dick Porter  <dick@ximian.com>

* DateTime.cs: Check the date string for too many digits when
parsing.  Fixes bugs 53023 and 53025.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 13:23:05 +0000 (13:23 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* mswse.pub: New. Microsoft WSE public key to be used for
strongnaming the Microsoft.Web.Service assembly.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 13:21:28 +0000 (13:21 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* ecma.pub: New. ECMA key to be used for strongnaming assemblies.
* msfinal.pub: New. Microsoft public key to be used for strongnaming
assemblies.

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

20 years ago2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Mar 2004 13:05:03 +0000 (13:05 -0000)]
2004-03-23  Atsushi Enomoto <atsushi@ximian.com>

* DataObject.cs : It now hold element instead of each parameters.
  Avoid loading element content to different document unless its
  properties were modified (to keep namespace node context).

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

20 years ago2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Mar 2004 13:04:06 +0000 (13:04 -0000)]
2004-03-23  Atsushi Enomoto  <atsushi@ximian.com>

* DataObjectTest.cs : assure that owner document object are different
  after setting properties.

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

20 years ago2004-03-19 Carlos Guzman Alvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Tue, 23 Mar 2004 12:03:35 +0000 (12:03 -0000)]
2004-03-19 Carlos Guzman Alvarez  <carlosga@telefonica.net>

* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

- Fixed cipher suite selection.

* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:

- Added new CertificateRSA property.

- Added new UpdateCErtfificateRSA method.

* Mono.Security.Protocol.Tls/CipherSuite.cs:

- Removed CertificateRSA() method.

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

20 years ago2004-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 23 Mar 2004 11:30:08 +0000 (11:30 -0000)]
2004-03-23  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeBuilder.cs: Disable argument checking since it causes
regressions.

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

20 years ago * mb-parser.jay: handled implicit static modifier for module members in const
Anirban Bhattacharjee [Tue, 23 Mar 2004 11:14:22 +0000 (11:14 -0000)]
 * mb-parser.jay: handled implicit static modifier for module members in const
 * const.cs: changed supported modifiers

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

20 years agomodifiers.cs: Return name of modifiers changed to vb specific
Anirban Bhattacharjee [Tue, 23 Mar 2004 11:03:17 +0000 (11:03 -0000)]
modifiers.cs: Return name of modifiers changed to vb specific

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

20 years ago2004-03-23 Umadevi S (sumadevi@novell.com)
Umadevi S [Tue, 23 Mar 2004 10:41:16 +0000 (10:41 -0000)]
2004-03-23 Umadevi S (sumadevi@novell.com)
* implemented Attributes, methods in OleDbError.cs & OleDbErrorCollection.cs

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

20 years agoImplementing LinearGradientBrush.cs public methods.
Ravindra [Tue, 23 Mar 2004 08:23:43 +0000 (08:23 -0000)]
Implementing LinearGradientBrush.cs public methods.

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

20 years agoAdded few P/Invoke calls for LinearGradientBrush.
Ravindra [Tue, 23 Mar 2004 08:21:07 +0000 (08:21 -0000)]
Added few P/Invoke calls for LinearGradientBrush.

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

20 years ago2004-03-23 Umadevi S (sumadevi@novell.com)
Umadevi S [Tue, 23 Mar 2004 08:06:50 +0000 (08:06 -0000)]
2004-03-23  Umadevi S (sumadevi@novell.com)
* OleDbException.cs - implemented Attributes, GetObjectData Method

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

20 years ago2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Tue, 23 Mar 2004 01:36:45 +0000 (01:36 -0000)]
2004-03-22  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
        * Npgsql/NpgsqlAsciiRow.cs
        * Npgsql/NpgsqlBinaryRow.cs
        * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.

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

20 years ago2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Tue, 23 Mar 2004 01:35:54 +0000 (01:35 -0000)]
2004-03-22  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
* Npgsql/NpgsqlAsciiRow.cs
* Npgsql/NpgsqlBinaryRow.cs
* Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.

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

20 years ago2004-03-22 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Mar 2004 01:34:02 +0000 (01:34 -0000)]
2004-03-22 Ben Maurer  <bmaurer@users.sourceforge.net>

* mono-todo: I finished the vtable task :-).

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

20 years ago2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Tue, 23 Mar 2004 01:31:25 +0000 (01:31 -0000)]
2004-03-22  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
* NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.

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

20 years ago2004-03-22 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Mar 2004 01:31:08 +0000 (01:31 -0000)]
2004-03-22 Ben Maurer  <bmaurer@users.sourceforge.net>

* class.c: do not insert non-virtual methods in the vtable.
* icall.c, mono-debug-debugger.c, object.c: if method->slot == -1,
that means the method is non-virtual. This never would have
happened before.

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

20 years agodelegate test ....
Martin Baulig [Mon, 22 Mar 2004 23:10:46 +0000 (23:10 -0000)]
delegate test ....

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

20 years agoDon't dispose the handler
Gonzalo Paniagua Javier [Mon, 22 Mar 2004 21:55:44 +0000 (21:55 -0000)]
Don't dispose the handler

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

20 years ago2004-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Mar 2004 21:45:17 +0000 (21:45 -0000)]
2004-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* monoresgen.cs:  don't create the output file on error reading the
input. Fixes bug #55916.

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

20 years ago2004-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Mar 2004 21:36:03 +0000 (21:36 -0000)]
2004-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Process.cs: support EnableRaisingEvents + Exited event.

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

20 years ago2004-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Mar 2004 21:35:17 +0000 (21:35 -0000)]
2004-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* daemon.c: turned a warning into a DEBUG statement. Now we may hit it.

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

20 years agoRavi fixed this in July 2003, but somehow it didn't make it into gmcs ....
Martin Baulig [Mon, 22 Mar 2004 20:57:05 +0000 (20:57 -0000)]
Ravi fixed this in July 2003, but somehow it didn't make it into gmcs ....

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

20 years ago2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 22 Mar 2004 20:52:45 +0000 (20:52 -0000)]
2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile: Added /nowarn to cleanup display when building.

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

20 years ago2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 22 Mar 2004 20:46:38 +0000 (20:46 -0000)]
2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>

* PublisherMembershipCondition.cs: Now use CryptoConvert for
Hexadecimal convertions.

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

20 years ago2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 22 Mar 2004 20:44:30 +0000 (20:44 -0000)]
2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>

* PublisherIdentityPermission.cs: Now use CryptoConvert for Hexadecimal
convertions.
* PublisherIdentityPermissionAttribute.cs: Now use CryptoConvert for
Hexadecimal convertions.

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

20 years ago2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 22 Mar 2004 20:39:39 +0000 (20:39 -0000)]
2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvert.cs: Added new methods to convert [From|To]Hex. Added
new version of FromCapiPublicKeyBlob with an integer offset.

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

20 years ago2004-03-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 22 Mar 2004 20:15:01 +0000 (20:15 -0000)]
2004-03-22  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Use amd64 instead of x86-64 as directory name. Fixes
#55840.

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