mono.git
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

20 years agoFri Jan 23 21:27:40 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 20:16:54 +0000 (20:16 -0000)]
Fri Jan 23 21:27:40 CET 2004 Paolo Molaro <lupus@ximian.com>

* socket-io.c: include the new socket-wrappers.h header.
Use the wrappers instead of the unix socket functions to make the code
more clear.

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

20 years agoFri Jan 23 21:07:02 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 20:16:43 +0000 (20:16 -0000)]
Fri Jan 23 21:07:02 CET 2004 Paolo Molaro <lupus@ximian.com>

* socket-wrappers.h, sockets.h, sockets.c, Makefile.am: move socket
wrappers to its own non-installed header file.

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

20 years ago2004-01-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jan 2004 20:16:10 +0000 (20:16 -0000)]
2004-01-23  Atsushi Enomoto <atsushi@ximian.com>

* XmlWriter.cs, XmlTextWriter.cs :
  Several namespace related fixes.
  - Current element's NamespaceURI should be immediately available
    after the call of WriteStartElement() for LookupPrefix(), so
    AddMissingElementXmlns() only affects on output. This is
    now identified by shouldCheckElementXmlns field.
  - Attribute's overraped xmlns should be ignored for LookupPrefix(),
    Especially, when the owner element is written with the default
    namespace. HOWEVER, the attribute should be *written*. This is
    identified by shouldAddSavedNsToManager field.
  - In AddMissingElementXmlns(), non-empty prefix namespace was not
    checked user-written attributes.
  - XmlWriter.WriteAttributeString() never supplies namespace URI for
    xmlns attributes for other versions than NET_1_0. Instead, added
    ns check logic in WriteStartAttribute() only with NET_1_0.
  - WriteEndAttribute() should reject zero-length namespace for
    non-default xmlns declarations.
  - LookupPrefix() should reject argument null and empty.

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

20 years agoFri Jan 23 21:26:01 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 20:08:50 +0000 (20:08 -0000)]
Fri Jan 23 21:26:01 CET 2004 Paolo Molaro <lupus@ximian.com>

* configure.in, acconfig.h: added check for socklen_t.

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

20 years ago2004-01-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jan 2004 19:45:56 +0000 (19:45 -0000)]
2004-01-23  Atsushi Enomoto <atsushi@ximian.com>

* XmlElementTests.cs : Added SetAttributeXmlns.
* XmlTextWriterTests.cs : Added several xmlns-related tests.

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

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 18:02:43 +0000 (18:02 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Dns.cs: don't block forever in EndResolve and EndGetHostByName. Fixes
bug #53222.

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

20 years ago2004-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jan 2004 17:21:32 +0000 (17:21 -0000)]
2004-01-23  Zoltan Varga  <vargaz@freemail.hu>

* exceptions.cs: Add more tests for double->int conversion.

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

20 years ago2004-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jan 2004 17:19:35 +0000 (17:19 -0000)]
2004-01-23  Zoltan Varga  <vargaz@freemail.hu>

* jit-icalls.c (mono_fconv_ovf_i8): Call truncl before comparison, so
we don't throw exceptions when converting 1.1 to a long. Fixes #53250.

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

20 years agoFri Jan 23 17:12:08 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 15:55:12 +0000 (15:55 -0000)]
Fri Jan 23 17:12:08 CET 2004 Paolo Molaro <lupus@ximian.com>

* driver.c: make --verbose --version emit an error
if the loaded corlib doesn't match the runtime version.

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

20 years agoCorrected a build problem.
Ravindra [Fri, 23 Jan 2004 15:47:41 +0000 (15:47 -0000)]
Corrected a build problem.

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

20 years agoAdded missing methods in SizeF.
Ravindra [Fri, 23 Jan 2004 15:41:01 +0000 (15:41 -0000)]
Added missing methods in SizeF.

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

20 years agoUpdated Test.Sources
Anirban Bhattacharjee [Fri, 23 Jan 2004 15:30:05 +0000 (15:30 -0000)]
Updated Test.Sources

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

20 years agoFew more test cases
Anirban Bhattacharjee [Fri, 23 Jan 2004 15:02:37 +0000 (15:02 -0000)]
Few more test cases

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

20 years ago2004-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jan 2004 13:17:07 +0000 (13:17 -0000)]
2004-01-23  Zoltan Varga  <vargaz@freemail.hu>

* profiler.c (merge_methods): Fix merging of profile info. Fixes #53010.

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

20 years agonew members for the graphic class
Jordi Mas i Hernandez [Fri, 23 Jan 2004 13:07:28 +0000 (13:07 -0000)]
new members for the graphic class

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

20 years agoupdate tasks and email
Jordi Mas i Hernandez [Fri, 23 Jan 2004 11:47:07 +0000 (11:47 -0000)]
update tasks and email

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

20 years ago2004-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jan 2004 11:37:19 +0000 (11:37 -0000)]
2004-01-23  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): Strip .dll from library names.
Fixes #22532.

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

20 years ago2004-01-23 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 23 Jan 2004 10:31:54 +0000 (10:31 -0000)]
2004-01-23  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay, class.cs (DefineDefaultConstructor): Fixed ModFlags
                setting for default constructors.

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

20 years ago2004-01-22 David Sheldon <dave-mono@earth.li>
David Sheldon [Fri, 23 Jan 2004 09:50:08 +0000 (09:50 -0000)]
2004-01-22  David Sheldon <dave-mono@earth.li>

      * FileStreamTest.cs: CtorArgumentOutOfRangeException4, we were
       testing for this ecveption, but the other parameters were also
       invalid. Made them correct. We don't care that MS throw
       exceptions in a different order do we?

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

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 08:55:35 +0000 (08:55 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpSessionState.cs:
* SessionInProcHandler.cs: IsNewSession doesn't have a public setter.

* SessionStateModule.cs: doesn't implement IRequiresSessionState.
* StateServerItem.cs: not public.

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

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 08:54:35 +0000 (08:54 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: added RequireSSL and SlidingExpiration.

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

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 08:53:58 +0000 (08:53 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AuthConfig.cs:
* AuthenticationConfigHandler.cs: added RequireSSL and
SlidingExpiration.

* HandlerFactoryProxy.cs: not public.
* HandlerItem.cs: not public.

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

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 08:53:07 +0000 (08:53 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpCachePolicy.cs: it's not public.
* HttpRuntime.cs: wait for requests before disposing the queue.

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

20 years ago2004-01-23 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 23 Jan 2004 08:26:32 +0000 (08:26 -0000)]
2004-01-23  Marek Safar <marek.safar@seznam.cz>
* System.EnterpriseServices.dll.sources: Added AssemblyInfo.cs

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

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

* TemplateControlCompiler.cs: allow handling subproperties for other
types than Style and Font. Fixes bug #53217.

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

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 06:40:31 +0000 (06:40 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* StringBuilderTest.cs: added test for bug #53240.

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

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 06:39:17 +0000 (06:39 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* StringBuilder.cs:
(Remove): fixed offsets when copying and set the new size. Fixes bug
#53240.

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

20 years agoUpdate, just so everyone has it
Miguel de Icaza [Fri, 23 Jan 2004 04:43:03 +0000 (04:43 -0000)]
Update, just so everyone has it

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

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

* DirectoryTest.cs: Added Ignore to the CreationTime tests,
  as Unix filesystems don't support them. Should we only ignore
them on Unix?

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

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

 * AppDomainSetupTest: Changed test 3 to test that the
   appdomain is relative to the current dir, rather than
 the temp dir. This is what the MS runtime appears to
 give, and handily is what we do too.

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

20 years ago2004-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2004 20:21:27 +0000 (20:21 -0000)]
2004-01-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextWriterTests.cs : Added *Do*OutputRemovalDefaultNSDeclaration.

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

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

* XmlElement.cs : Reverted previous fix since it broke monodoc web
  service.

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

20 years ago2004-01-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 22 Jan 2004 19:50:39 +0000 (19:50 -0000)]
2004-01-22  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_create_pefile): Handle the case when the
entry point is not a MethodBuilder. Hopefully I get it right this time.

* reflection.h (MonoReflectionAssemblyBuilder): Change 'entry_point'
field to ReflectionMethod since it is not allways a builder.

* reflection.c (type_get_fully_qualified_name): New helper function to
return the fully qualified name of a type.

* reflection.c (encode_marshal_blob): Always emit the fully qualified
type name for custom marshallers.

* reflection.c (mono_marshal_spec_from_builder): Ditto.

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

20 years ago2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 22 Jan 2004 17:43:29 +0000 (17:43 -0000)]
2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Resources/ResXResourceReader.cs: read empty tags properly.
Fixes bug #53174. Patch by Tomasz Kaszuba.

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

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

* xml-classes : status update, additional infos.

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

20 years ago2004-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2004 16:31:31 +0000 (16:31 -0000)]
2004-01-22  Atsushi Enomoto <atsushi@ximian.com>

* BuiltInDatatype.cs : On parsing QName, we don't have to spend costs
  on Add()ing parsed name to name table.
* XmlSchemaUtil.cs : Added IsBuiltInDatatypeName().
* XmlSchemaAttribute.cs, XmlSchemaComplexType.cs,
  XmlSchemaElement.cs, XmlSchemaSimpleContentExtension.cs,
  XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleTypeList.cs :
  Use the method above instead of Namespace string comparison.
  (it will be required to validate schema for schemas.)
* XmlSchemaComplexType.cs : Type Derivation OK (3.4.6) should also
  treat null base type as anyType.  Derivation Valid Restriction
  (3.4.6) should allow base type wildcard absense in case of anyType.

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

20 years ago2004-01-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 22 Jan 2004 15:07:24 +0000 (15:07 -0000)]
2004-01-22  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am: Do not install mono.pc on platforms without a JIT.

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

20 years ago2004-01-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 22 Jan 2004 14:37:46 +0000 (14:37 -0000)]
2004-01-21  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Added UtilsTest.cs:
More tests (with bidimensional arrays) for Utils.CopyArray undocumented runtime function,
they are still failing tests

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