mono.git
20 years ago2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Jan 2004 00:00:10 +0000 (00:00 -0000)]
2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
to Eric Lindvall for pointing this out.

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

20 years ago2004-01-27 David Sheldon <dave-mono@earth.li>
David Sheldon [Tue, 27 Jan 2004 23:38:47 +0000 (23:38 -0000)]
2004-01-27  David Sheldon <dave-mono@earth.li>

  * NumberFormatInfo.cs: InitPatterns: it seems that the patterns in
   ICU use digitPattern, not zeroPattern for the spaces after the
   decimal point.

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

20 years ago2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 27 Jan 2004 17:59:26 +0000 (17:59 -0000)]
2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>

* FileIOPermission.cs: Added missing ArgumentNullException to
constructors.

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

20 years ago2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 27 Jan 2004 17:52:55 +0000 (17:52 -0000)]
2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>

* FileIOPermissionTest.cs: Converted to NUnit2. Added a test to show a
strange behaviour (short/long path) - ignored for now.

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

20 years ago* XmlSchemaImporter.cs: Redefinition of types are not supported. Added a check.
Lluis Sanchez [Tue, 27 Jan 2004 17:36:24 +0000 (17:36 -0000)]
* XmlSchemaImporter.cs: Redefinition of types are not supported. Added a check.

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

20 years ago2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 27 Jan 2004 17:34:32 +0000 (17:34 -0000)]
2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>

* FileIOPermissionAttributeTest.cs: Removed GetTempPath from the tests
as the introduced failures weren't related to the class (test moved to
FileIOPermissionTest.cs).

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

20 years ago2004-01-27 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 27 Jan 2004 16:06:02 +0000 (16:06 -0000)]
2004-01-27  Bernie Solomon  <bernard@ugsolutions.com>

* shared.c (_wapi_shm_file): add hostname
to shared data file names to handle NFS mounted
.wapi directories.

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

20 years ago2004-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Jan 2004 15:57:08 +0000 (15:57 -0000)]
2004-01-27  Atsushi Enomoto  <atsushi@ximian.com>

* DefaultContext.cs : Avoid exception if possible.
* Iterator.cs : Fixed PrecedingSiblingIterator.MoveNext(). When the
  nav was positioned at the first, it incorrectly points itself.
  Don't add names to name table while it is useless and expensive.

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

20 years ago2004-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Jan 2004 15:56:09 +0000 (15:56 -0000)]
2004-01-27 Atsushi Enomoto <atsushi@ximian.com>

* XslIf.cs : When content is empty, skip content evaluation.

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

20 years agonew methods for graphics.cs
Jordi Mas i Hernandez [Tue, 27 Jan 2004 15:43:09 +0000 (15:43 -0000)]
new methods for graphics.cs

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

20 years ago2004-01-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 27 Jan 2004 15:08:57 +0000 (15:08 -0000)]
2004-01-27  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_from_generic_parameter): Don't create
`klass->methods' here.

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

20 years ago2004-01-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 27 Jan 2004 14:49:55 +0000 (14:49 -0000)]
2004-01-27  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs (SetCustomAttribute): Move the reading of the
keyfile to the Save () method.

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

20 years ago2004-01-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 27 Jan 2004 14:47:18 +0000 (14:47 -0000)]
2004-01-27  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilderTest.cs (TestCustomAttributes): Remove
KeyFileAttribute from the test, since it must point to a valid keyfile.

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

20 years ago2004-01-27 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Tue, 27 Jan 2004 14:28:18 +0000 (14:28 -0000)]
2004-01-27  Nick Drochak <ndrochak@ieee.org>

* DigestClient.cs:
* HttpWebRequest.cs:
* IPv6Address.cs:
* WebClient.cs:
* WebConnection.cs:
* WebConnectionStream.cs: Remove unused variables thus eliminating some
build warnings.

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

20 years ago2004-01-27 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 27 Jan 2004 14:23:21 +0000 (14:23 -0000)]
2004-01-27  Nick Drochak <ndrochak@gol.com>

* AppDomainSetupTest.cs: When I run this on .NET the AppBase uses the
temp dir.  Perhaps a different runner gives different results? I'm
using 'make run-test' from the mcs directory.

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

20 years ago2004-01-27 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Tue, 27 Jan 2004 14:00:08 +0000 (14:00 -0000)]
2004-01-27  Nick Drochak <ndrochak@ieee.org>

* FAMWatcher.cs:
* FileSystemWatcher.cs: Remove unused variables. Eliminates a couple of
build warnings.

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

20 years agomscorlib assembly is in our corlib directory
Gonzalo Paniagua Javier [Tue, 27 Jan 2004 13:46:24 +0000 (13:46 -0000)]
mscorlib assembly is in our corlib directory

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

20 years agoContextBoundObject.cs: Removed TODO.
Lluis Sanchez [Tue, 27 Jan 2004 13:35:26 +0000 (13:35 -0000)]
ContextBoundObject.cs: Removed TODO.

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

20 years ago * MapCodeGenerator.cs: Added helper method for generating an attribute
Lluis Sanchez [Tue, 27 Jan 2004 12:43:22 +0000 (12:43 -0000)]
* MapCodeGenerator.cs: Added helper method for generating an attribute
  parameter of type enum.
* XmlAttributeAttribute.cs: little fix.
* XmlCodeExporter.cs: Support XmlAnyAttribute when generating attributes
  for method parameters.
* XmlMemberMapping.cs: Improved support for members of type "any".
* XmlReflectionImporter.cs: Improved assignment of the attribute form.
  If the namespace is explicitly specified, then the form should be
  qualified. Also fixed issues with the namespace assigned to attributes.
  This should fix bug #53384.
* XmlSchemaExporter.cs: ExportMembersMapping(): improved support for
  methods that return values of type "any". Changed the methods
  AddSchemaArrayElement and AddSchemaElement, so instead of adding the
  element, return it, and the caller must add it to the collection.
  Other fixes in attribute generation.
* XmlSchemaImporter.cs: ImportAnyType(): if a type name is provided,
  generate the AnyType mapping from the type described in the schema.
  Small fixes regarding IsMixed property of complex types (it means that
  the type can contain text, so the XmlTextAttribute must be generated).
* XmlSerializationReaderInterpreter.cs: Reading of members by-order must
  be only used in the bare+encoded format.

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

20 years agoSoapDocumentMethodAttribute.cs: Fixed bug in ResponseNamespace.
Lluis Sanchez [Tue, 27 Jan 2004 12:26:00 +0000 (12:26 -0000)]
SoapDocumentMethodAttribute.cs: Fixed bug in ResponseNamespace.

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

20 years ago * SoapProtocolImporter.cs, SoapProtocolReflector.cs: Support methods with
Lluis Sanchez [Tue, 27 Jan 2004 12:25:20 +0000 (12:25 -0000)]
* SoapProtocolImporter.cs, SoapProtocolReflector.cs: Support methods with
  "any" as return type. In this case, the part of the return message contains
  a reference to the type that describes the "any" element.

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

20 years ago * wstest.cs: Improved the way wsdl documents are downloaded.
Lluis Sanchez [Tue, 27 Jan 2004 12:23:45 +0000 (12:23 -0000)]
* wstest.cs: Improved the way wsdl documents are downloaded.
* services.xml: updated service list.
* wsdl.ignore: updated ignore list.
* client/external/GlobalWeatherTest.cs: new test.
* client/external/syndicateTest.cs: new test.
* client/external/TemperatureServiceTest.cs: new test.
* client/external/BankCodeEJBHomeTest.cs: added comment.
* server/TestBinding1.asmx, server/TestBinding2.asmx,
* server/TestBinding3.asmx, server/TestBinding4.asmx: new test services

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

20 years ago2004-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Jan 2004 09:40:23 +0000 (09:40 -0000)]
2004-01-27  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathDocumentBuilder.cs : Namespace nodes are incorrectly created.
  This fix should make XPathDocument compatible with XmlDocument.

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

20 years ago2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 27 Jan 2004 08:47:39 +0000 (08:47 -0000)]
2004-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CodeGroup.cs: make it build with mcs. This is a BUG.

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

20 years ago * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
Jackson Harper [Tue, 27 Jan 2004 08:42:16 +0000 (08:42 -0000)]
    * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
null now, dont hadd the header if it does.
* HttpCacheVaryByParams.cs: Return null if there are no items.

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

20 years ago2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 27 Jan 2004 08:33:21 +0000 (08:33 -0000)]
2004-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Calendar.cs: when rendering days, add a LiteralControl containing the
day before OnDayRender is called. Only generate the default links for
days when IsSelectable is true after OnDayRender. Fixes bug #53372.

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

20 years ago2004-01-26 Todd Berman <tberman@sevenl.net>
Todd Berman [Tue, 27 Jan 2004 03:36:51 +0000 (03:36 -0000)]
2004-01-26  Todd Berman <tberman@sevenl.net>

* SoapTcpChannel.cs: fix from Sami Vaaraniemi <sami@capehill.net>

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

20 years agosimple sample working soap.tcp message example.
Todd Berman [Tue, 27 Jan 2004 03:13:49 +0000 (03:13 -0000)]
simple sample working soap.tcp message example.

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

20 years ago2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 27 Jan 2004 02:59:02 +0000 (02:59 -0000)]
2004-01-26  Sebastien Pouliot  <spouliot@videotron.ca>

* CodeGroupTest.cs: Replaced "\r\n" with Environment.NewLine.

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

20 years ago2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 27 Jan 2004 02:41:18 +0000 (02:41 -0000)]
2004-01-26  Sebastien Pouliot  <spouliot@videotron.ca>

* CodeGroup.cs: Now use Activator for [Named]PermissionSet. Change
Equals so it can compile with mcs.
* PolicyLevel.cs: Minor changes to use the new empty constructors in
[Named]PermissionSet.

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

20 years ago2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 27 Jan 2004 02:35:40 +0000 (02:35 -0000)]
2004-01-26  Sebastien Pouliot  <spouliot@videotron.ca>

* NamedPermissionSet.cs: Changed internal constructor
NamedPermissionSet (SecurityElement e) to NamedPermissionSet ().
* PermissionSet.cs: Changed internal constructor
PermissionSet (SecurityElement e) to PermissionSet ().

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

20 years agoOops, typo.
Duncan Mak [Tue, 27 Jan 2004 00:35:47 +0000 (00:35 -0000)]
Oops, typo.

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

20 years ago* bitmap.c (GdipCreateBitmapFromScan0): Use GdipAlloc here instead
Duncan Mak [Tue, 27 Jan 2004 00:34:59 +0000 (00:34 -0000)]
* bitmap.c (GdipCreateBitmapFromScan0): Use GdipAlloc here instead
of malloc.
(gdip_bitmap_dispose): Call GdipFree on bitmap->data.scan0 here.

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

20 years ago2004-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jan 2004 22:17:52 +0000 (22:17 -0000)]
2004-01-26  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathDocument.cs : CreateNavigator() should return the first root
  as a clone.
* DTMXPathNavigator.cs : ComparePosition() incorrectly compared
  attributes and namespaces orders.  Implemented IsSamePosition() more
  efficient.  MoveToFirstNamespace() should return false when the
  current node is either attribute or namespace.  Fixed IsDescendant()
  which looks resulted in incorrect behavior.

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

20 years ago2004-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jan 2004 20:03:50 +0000 (20:03 -0000)]
2004-01-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextWriter.cs : quick performance fix.
  Reduced memoty allocation (e.g. 12% when writing XMLSchema.xsd.)

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

20 years ago2004-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 26 Jan 2004 19:38:55 +0000 (19:38 -0000)]
2004-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DefaultWatcher.cs: fixed condition for removal from the watches list.

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

20 years ago(GdipDrawPath): Doh! Added stupid breaks inside the
Duncan Mak [Mon, 26 Jan 2004 19:08:58 +0000 (19:08 -0000)]
(GdipDrawPath): Doh! Added stupid breaks inside the
switch, so we can draw simple paths (lines) now. For more complex
curves, the array is holding some NaNs, so I'll need to look into
that.

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

20 years ago(GdipCreateBitmapFromScan0): Set allocate memory for scan0 if it
Duncan Mak [Mon, 26 Jan 2004 19:00:58 +0000 (19:00 -0000)]
(GdipCreateBitmapFromScan0): Set allocate memory for scan0 if it
is NULL. Thanks to Jordi for fixing this, we can now write out to
a file again.

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

20 years ago2004-01-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 26 Jan 2004 18:43:36 +0000 (18:43 -0000)]
2004-01-26  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): Disable trimming of .dll
extension since it does not work with libraries named lib<FOO>.dll.so.

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

20 years ago2004-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jan 2004 18:25:39 +0000 (18:25 -0000)]
2004-01-26  Atsushi Enomoto <atsushi@ximian.com>

* DTDObjectModel.cs :
  - DTDNode's BaseURI should not always refer to that of DTD's.
  - Use absolute URI's .ToString() instead of AbsolutePath.
* DTDReader.cs : Throw XmlException for illegal character references.
* DTDValidatingReader.cs :
  - Share XmlResolver when the actual reader is XmlTextReader.
    (MS's XmlValidatingReader and XmlTextReader do this.)
  - Added its own EntityHandling property.
* XmlValidatingReader.cs : Share XmlResolver with XmlTextReader.
* XmlReader.cs,
  XmlTextReader.cs : Added new NET_1_2 members.
* XmlElement.cs : Removed extra lines (caused by XmlTextWriter bugs).
* XmlEntityReference.cs : Forgot to add, the real fix by Boris.

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

20 years ago2004-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jan 2004 18:24:55 +0000 (18:24 -0000)]
2004-01-26  Atsushi Enomoto <atsushi@ximian.com>

* XsdParticleValidationState.cs :
  - Now it uses ContentTypeParticle as inputs, so no GroupRef
    should occur anymore.
  - xs:any should use ResolvedProcessContents. It fixes some errors.
* XsdValidatingReader.cs :
  - Attribute wildcard validation should use ResolvedProcessContents.
  - Use newly added XmlResolver field to resolve external schemas
    specified by xsi:schemaLocation attributes.
  - Added warning handler and raise warning events when instance-
    specified schemas could not be resolved.
  - xs:anyType should not be treated as a primitive datatype at
    xsi:type resolution.
  - Schema type was incorrectly remained when the element is laxly
    validated.

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

20 years ago2004-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Jan 2004 18:24:22 +0000 (18:24 -0000)]
2004-01-26  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : Raise warning event when external schema could not
  be resolved.
* XmlSchemaAll.cs : Fixed incorrect IsEmptiable computation.
* XmlSchemaAny.cs : Fixed incorrect occurence computation.
* XmlSchemaChoice.cs : compiledItems were incorrectly appended.
* XmlSchemaComplexType.cs : Now validatableParticle became extraneous.
* XmlSchemaGroupBase.cs : Here we should not get optimized particle
  because it might cause infinite loop.
* XmlSchemaGroupRef.cs : Fixed Validate() to avoid null reference
  exception (only occur with ValidationEventHandler).  Fixed Occurence
  embedding logic that was useless because of particle optimization.

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

20 years agomore functions implemented in graphics.cs
Jordi Mas i Hernandez [Mon, 26 Jan 2004 17:57:37 +0000 (17:57 -0000)]
more functions implemented in graphics.cs

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

20 years ago2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 26 Jan 2004 16:02:42 +0000 (16:02 -0000)]
2004-01-26  Sebastien Pouliot  <spouliot@videotron.ca>

* crypto: Added NTLM. Changed email address.

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

20 years ago2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 26 Jan 2004 16:00:25 +0000 (16:00 -0000)]
2004-01-26  Sebastien Pouliot  <spouliot@videotron.ca>

* PermissionSetAttribute.cs: Implemented CreatePermissionSet.

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

20 years ago2004-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 26 Jan 2004 15:56:47 +0000 (15:56 -0000)]
2004-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: patch by Yaacov Akiba Slama that fixes 100-continue
handling for the case when the same packet also contains the actual
[2-5]xx response.

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

20 years ago2004-01-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Jan 2004 15:44:01 +0000 (15:44 -0000)]
2004-01-26  Martin Baulig  <martin@ximian.com>

* dis/main.cs (--show-tokens): New command line argument to show
type tokens in the disassembly.

* dis/get.c (get_typedef, get_typespec, get_typeref): If
`show_tokens', include the token in the type name.
(get_type): Do some type parsing here and include the token in the
returned type name if requested.
(get_method): Include tokens if requested.

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

20 years agoMon Jan 26 16:15:03 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 26 Jan 2004 15:43:43 +0000 (15:43 -0000)]
Mon Jan 26 16:15:03 CET 2004 Paolo Molaro <lupus@ximian.com>

* sockets.h: remove obsolete soklen_t typedef.

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

20 years ago2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 26 Jan 2004 15:42:02 +0000 (15:42 -0000)]
2004-01-26  Sebastien Pouliot  <spouliot@videotron.ca>

* ApplicationDirectoryMembershipCondition.cs: Basic (incomplete) Check.
* PermissionRequestEvidence.cs: Added IBuiltInEvidence (to please
corcompare). Now use SecurityElement in ToString.

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

20 years ago2004-01-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Jan 2004 15:22:19 +0000 (15:22 -0000)]
2004-01-26  Martin Baulig  <martin@ximian.com>

* gen-37.cs: New generics test.

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

20 years ago2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 26 Jan 2004 15:21:25 +0000 (15:21 -0000)]
2004-01-26  Sebastien Pouliot  <spouliot@videotron.ca>

* AllMembershipCondition.cs: Clean up. Removed FIXME.
* ApplicationDirectory.cs: Added IBuiltInEvidence (to please corcompare).
* Hash.cs: Added IBuiltInEvidence (to please corcompare).
* Publisher.cs: Added IBuiltInEvidence (to please corcompare).
* Site.cs: Added IBuiltInEvidence (to please corcompare).
* StrongName.cs: Added IBuiltInEvidence (to please corcompare). Now use
SecurityElement in ToString. Removed TODO on CreateIdentityPermission
(evidence isn't required in this case).

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

20 years ago2004-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 26 Jan 2004 15:19:12 +0000 (15:19 -0000)]
2004-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DefaultWatcher.cs: check if the FileSystemWatcher is in WaitForChange
and call Monitor.PulseAll in that case.

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

20 years agoAdd more details to the ChangeLog.
Duncan Mak [Mon, 26 Jan 2004 15:14:01 +0000 (15:14 -0000)]
Add more details to the ChangeLog.

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

20 years agoKilled some dead code.
Martin Baulig [Mon, 26 Jan 2004 15:13:34 +0000 (15:13 -0000)]
Killed some dead code.

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

20 years ago2004-01-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 26 Jan 2004 15:11:14 +0000 (15:11 -0000)]
2004-01-26  Martin Baulig  <martin@ximian.com>

* decl.cs (DeclSpace.CurrentType): New public field.

* expression.cs (This.ResolveBase): If we have an
`ec.TypeContainer.CurrentType', use it instead of
`ec.ContainerType'.

* class.cs (TypeContainer.DefineType): If we're a generic type,
create the `CurrentType' (unresolved).
(TypeContainer.GenericType): New private field.
(TypeContainer.DefineMembers): If we have a `CurrentType', resolve
it and store it in `GenericType' before creating the MemberCache.
(TypeContainer.GetMembers): If we have a `GenericType', call
TypeManager.FindMembers() on it.

* interface.cs (Interface.GenericType): New private field.
(Interface.DefineType): If we're a generic type, create the
`CurrentType' (unresolved).
(Interface.DefineMembers): If we have a `CurrentType', resolve it
and store it in `GenericType' before creating the MemberCache.
(Interface.GetMembers): If we have a `GenericType', call
TypeManager.FindMembers() on it.

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

20 years ago* bitmap.c:
Duncan Mak [Mon, 26 Jan 2004 15:08:33 +0000 (15:08 -0000)]
* bitmap.c:
* graphics.c: Use C style comments instead of C++ style.

* pen.c (clone_dash_array): new helper function.
(GdipClonePen): Copy matrix and dash_array, removed the FIXME.

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

20 years ago2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 26 Jan 2004 14:35:45 +0000 (14:35 -0000)]
2004-01-26  Sebastien Pouliot  <spouliot@videotron.ca>

* AssemblyBuilder.cs: Save will now strongname the assembly is (a) a
StrongName is present and (b) the signature isn't delayed.

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

20 years agoXmlConstants.cs : Added some constants.
Eran Domb [Mon, 26 Jan 2004 10:04:28 +0000 (10:04 -0000)]
XmlConstants.cs : Added some constants.
DataColumn.cs : Added a method to retrive AutoIncrement value.
XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
parent table column.
XmlDiffLoader.cs : Convert the value comming from the xml.
XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
(ReadXmlSchemaElement) : Set the locale of the dataset.
(ReadColumn) : Set the column type. Find if the column is AutoIncrement.
(GetColumnType) : New method to get the column type from the attribute value.
(ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
 and add the constraint to the table.
(ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
 the table.
DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
Writing more information to the schema for interoperability with ms.net.
Improve diffgarm writing mode.

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

20 years agoAdded System.Drawing_test.dll.sources to create System.Drawing_test.dll.
Ravindra [Mon, 26 Jan 2004 08:53:58 +0000 (08:53 -0000)]
Added System.Drawing_test.dll.sources to create System.Drawing_test.dll.

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

20 years agoAdded Tests for PointF, Size and SizeF structures.
Ravindra [Mon, 26 Jan 2004 08:48:17 +0000 (08:48 -0000)]
Added Tests for PointF, Size and SizeF structures.

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

20 years agoupdated browser capabilities file
Gonzalo Paniagua Javier [Mon, 26 Jan 2004 07:45:52 +0000 (07:45 -0000)]
updated browser capabilities file

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

20 years agoentry
César Natarén [Mon, 26 Jan 2004 02:02:10 +0000 (02:02 -0000)]
entry

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

20 years agonew tests added to the list
César Natarén [Mon, 26 Jan 2004 01:44:29 +0000 (01:44 -0000)]
new tests added to the list

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

20 years agotests for relational operators
César Natarén [Mon, 26 Jan 2004 01:43:35 +0000 (01:43 -0000)]
tests for relational operators

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

20 years agoadded ChangeLog file
César Natarén [Mon, 26 Jan 2004 01:41:10 +0000 (01:41 -0000)]
added ChangeLog file

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

20 years agochangelog entry
César Natarén [Mon, 26 Jan 2004 01:29:27 +0000 (01:29 -0000)]
changelog entry

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

20 years ago2004-01-25 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 26 Jan 2004 01:28:43 +0000 (01:28 -0000)]
2004-01-25  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Relational.cs: Initial generation of CIL for relational operators.

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

20 years agoFixed some compiler warnings
Philip Van Hoof [Sun, 25 Jan 2004 23:40:12 +0000 (23:40 -0000)]
Fixed some compiler warnings

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

20 years ago2004-01-25 David Sheldon <dave-mono@earth.li>
David Sheldon [Sun, 25 Jan 2004 18:56:46 +0000 (18:56 -0000)]
2004-01-25  David Sheldon <dave-mono@earth.li>

       * UrlTest.cs:  Changed "\r\n" in strings to use
       Environment.NewLine.

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

20 years agoenhanments to graphics.cs
Jordi Mas i Hernandez [Sun, 25 Jan 2004 12:30:08 +0000 (12:30 -0000)]
enhanments to graphics.cs

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

20 years ago2004-01-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 25 Jan 2004 11:29:21 +0000 (11:29 -0000)]
2004-01-25  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_inflate_generic_type): Added support for
MONO_TYPE_GENERICINST.

* reflection.c (mono_reflection_inflate_method_or_ctor): Also
inflate methods on open constructed types.

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

20 years ago2004-01-25 David Sheldon <dave-mono@earth.li>
David Sheldon [Sun, 25 Jan 2004 11:13:07 +0000 (11:13 -0000)]
2004-01-25  David Sheldon <dave-mono@earth.li>

* Test/System.Security.Policy/PublisherTest.cs, SiteTest.cs:
  Changed "\r\n" in strings to use Environment.NewLine.

  * System.Security/SecurityElement.cs: Changed indentation in ToString, it seems
  MS indent by 3 spaces, not 4. Also added NewLine to childless
elements.

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

20 years ago2004-01-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 25 Jan 2004 11:09:40 +0000 (11:09 -0000)]
2004-01-25  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.

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

20 years agodon't create the ManualResetEvent in the constructor
Gonzalo Paniagua Javier [Sat, 24 Jan 2004 22:40:56 +0000 (22:40 -0000)]
don't create the ManualResetEvent in the constructor

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

20 years ago2004-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 24 Jan 2004 22:13:28 +0000 (22:13 -0000)]
2004-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: handle WSAEWOULDBLOCK for non-blocking sockets. Fixes
bug #53168. Avoid the creation of the ManualResetEvent in class Worker
whenever possible.

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

20 years agoSmall fix for test
Gonzalo Paniagua Javier [Sat, 24 Jan 2004 21:08:20 +0000 (21:08 -0000)]
Small fix for test

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

20 years ago2004-01-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sat, 24 Jan 2004 20:56:44 +0000 (20:56 -0000)]
2004-01-21  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* FileSystem.cs:
Implemented Dir() now throws the right exception

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

20 years ago2004-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 24 Jan 2004 18:46:41 +0000 (18:46 -0000)]
2004-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* object.c: fire ProcessExit event in the root AppDomain after running
Main. Fixes bug #53299.

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

20 years ago2004-01-23 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sat, 24 Jan 2004 18:43:58 +0000 (18:43 -0000)]
2004-01-23  Duncan Mak  <duncan@ximian.com>

* graphics.c (GdipDrawPath): Implemented.

        * Graphics.cs (DrawPath): Implemented.

        * GraphicsPath.cs (AddEllipse): Added.

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

20 years ago2004-01-24 David Sheldon <dave-mono@earth.li>
David Sheldon [Sat, 24 Jan 2004 14:22:21 +0000 (14:22 -0000)]
2004-01-24  David Sheldon <dave-mono@earth.li>

       * SecurityElement.cs: Changed newline distribution in ToString.
         Matches MS better.

       * CodeAccessPermissionTest.cs (To_String): Compared
       Environment.NewLine rather than "\r\n"

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

20 years ago2004-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 24 Jan 2004 13:07:14 +0000 (13:07 -0000)]
2004-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: if we have a pending async event, delay socket closing
until EndX is called. Fixes bug #53229. Check parameters and if the
socket has been disposed. Implemented IDisposable explicitly. The
threads created have IsBackground = true now.

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

20 years agoCorrected literal suffixes in test source file
Rafael Teixeira [Sat, 24 Jan 2004 12:31:09 +0000 (12:31 -0000)]
Corrected literal suffixes in test source file

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

20 years ago2004-01-24 David Sheldon <dave-mono@earth.li>
David Sheldon [Sat, 24 Jan 2004 11:58:57 +0000 (11:58 -0000)]
2004-01-24 David Sheldon <dave-mono@earth.li>

* AssemblyBuilder.cs: Added override for GetFiles() that throws
  NotSupportedException.

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

20 years ago2004-01-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sat, 24 Jan 2004 03:55:32 +0000 (03:55 -0000)]
2004-01-24  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* FileSystemTest.cs:
Correcting expected exception type in TestDir to match MS' behaviour
* CollectionTest.cs
Correcting expected exception type in Exception #E19 to match MS' behaviour
* DateAndTimeTest.cs:
Correcting expected WeekDay values for many asserts to match MS' behaviour
Correcting expected exception type in DateValue "#DV03" to match MS' behaviour
WeekdayName Test assumed FirstDayOfWeek.System to always be the same, but it is user configurable,
test with FirstDayOfWeek.Monday instead
TimeValue Test wrongly wanted to receive the parsed time as happening today,
instead it comes in day 1/1/1 (timescale-zero)

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

20 years agoHttpWebRequest.cs: Added missing property.
Lluis Sanchez [Sat, 24 Jan 2004 02:13:23 +0000 (02:13 -0000)]
HttpWebRequest.cs: Added missing property.

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

20 years agoXmlFormatExtensionPrefixAttribute.cs: Allow multiple usage.
Lluis Sanchez [Sat, 24 Jan 2004 02:11:05 +0000 (02:11 -0000)]
XmlFormatExtensionPrefixAttribute.cs: Allow multiple usage.

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

20 years agoTypeInfo.cs: The list of interfaces may be null. Added check.
Lluis Sanchez [Sat, 24 Jan 2004 02:08:15 +0000 (02:08 -0000)]
TypeInfo.cs: The list of interfaces may be null. Added check.

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

20 years ago * SoapReflectionImporter.cs: Types included with SoapInclude don't need
Lluis Sanchez [Sat, 24 Jan 2004 02:01:59 +0000 (02:01 -0000)]
* SoapReflectionImporter.cs: Types included with SoapInclude don't need
  to be derived types of the one that has the attribute.
* XmlReflectionImporter.cs: Recursively register the derived maps of a given
  map to the parent map. This fixes #53246.
* XmlSerializationWriter.cs: Some fixes regarding empty namespaces.

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

20 years ago * ContractReference.cs, DiscoveryClientProtocol.cs,
Lluis Sanchez [Sat, 24 Jan 2004 01:56:33 +0000 (01:56 -0000)]
* ContractReference.cs, DiscoveryClientProtocol.cs,
  DiscoveryDocumentReference.cs: When resolving a wsdl document, recursively
  resolve the documents it imports.

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

20 years ago * HttpWebClientProtocol.cs: Added missing property.
Lluis Sanchez [Sat, 24 Jan 2004 01:52:48 +0000 (01:52 -0000)]
* HttpWebClientProtocol.cs: Added missing property.
* Methods.cs: Default binding for a method must be null.
* SoapHeaderDirection.cs: Added missing enum value.
* SoapMessage.cs: Added missing property.
* TypeStubManager.cs: Removed unneded check from AddBinding.
  In GetBinding(), return default binding if name is null.
* ValueCollectionParameterReader.cs: IsPrimitive must be internal.

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

20 years ago * ExtensionManager.cs: Support more than one XmlFormatExtensionPrefixAttribute
Lluis Sanchez [Sat, 24 Jan 2004 01:44:39 +0000 (01:44 -0000)]
* ExtensionManager.cs: Support more than one XmlFormatExtensionPrefixAttribute
  un one soap extension.
* HttpSimpleProtocolImporter.cs: Made class internal.
* HttpSimpleProtocolReflector.cs.cs: ReflectMethodBinding(): GET and POST
  do not use method bindings. Return null.
* ProtocolReflector.cs: Several fixes: do not generate binding if it doesn't
  have any operation, avoid port and binding name colisions, and other minor
  fixes.
* ServiceDescription.cs: Collect the namespaces to be added to the root
  element of a serializaed wsdl document from the soap extensions.
* ServiceDescriptionSerializerBase.cs: Made classes internal.
* SoapAddressBinding.cs, SoapFaultBinding.cs, SoapOperationBinding.cs,
  SoapProtocolImporter.cs: Class should not be sealed.
* SoapBodyBinding.cs: Set the correct class attributes.
* SoapHeaderBinding.cs: Class should not be sealed. Added missing method.
* SoapHeaderFaultBinding.cs: Fixed class attributes.

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

20 years agoadded some more tests
César Natarén [Fri, 23 Jan 2004 22:25:57 +0000 (22:25 -0000)]
added some more tests

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

20 years agotests for function decls
César Natarén [Fri, 23 Jan 2004 22:24:52 +0000 (22:24 -0000)]
tests for function decls

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

20 years agoupdates from grammar changes
César Natarén [Fri, 23 Jan 2004 22:22:51 +0000 (22:22 -0000)]
updates from grammar changes

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

20 years agoChangelog entries
César Natarén [Fri, 23 Jan 2004 22:22:02 +0000 (22:22 -0000)]
Changelog entries

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

20 years ago2004-01-23 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 23 Jan 2004 22:18:22 +0000 (22:18 -0000)]
2004-01-23  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: formal_param_list receives a parent too.

* SymbolTable.cs: added size and current_symbols properties.

* JSLocalField.cs: don't throw not ImplementedException from
constructor (same reason, testing purposes, must get implemented
for real).

* IdentificationTable.cs: added num_of_locals and current_locals properties.

* FunctionDeclaration.cs: added a LocalBuilder and DictionaryEntry
as fields. Not throw NotImplementedException for
JScriptFunctionDeclaration (testing purposes, must get implemeted
for real). Let's build our function closures! Added functions:
build_closure and build_closure_nested, build_local_fields. Keep
track of current parameters and locals defs.

* FormalParameterList.cs: made FormalParam inherit from
AST. Implement the Emit for parameters, yeah!

* CodeGenerator.cs: added a ModuleBuilder reference. New constructor.

* Closure.cs: do not throw the exception (this allow me to run the
tests  at mcs/jtests and check that at least i'm not generating
invalid CIL). Be aware that this must be really implemented.

* Block.cs: renamed field, and implement the double pass for
nested function declarations code emittion, yeah!.

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

20 years agoThis may work for the little fella, too.
Paolo Molaro [Fri, 23 Jan 2004 22:09:10 +0000 (22:09 -0000)]
This may work for the little fella, too.

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

20 years agoWorkaround old automake issue.
Paolo Molaro [Fri, 23 Jan 2004 21:31:39 +0000 (21:31 -0000)]
Workaround old automake issue.

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

20 years agoFri Jan 23 16:10:44 EST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 20:53:40 +0000 (20:53 -0000)]
Fri Jan 23 16:10:44 EST 2004 Paolo Molaro <lupus@ximian.com>

* Makefile.am: make the version script conditional.
* jit-icalls.c: handle missing truncl().

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

20 years agoFri Jan 23 16:07:05 EST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 20:51:46 +0000 (20:51 -0000)]
Fri Jan 23 16:07:05 EST 2004 Paolo Molaro <lupus@ximian.com>

* configure.in, acconfig.h: check for truncl. Disable
version script on MacOSX (see bug #51590 if a check becomes
necessary).

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