mono.git
20 years agofont enhancements
Jordi Mas i Hernandez [Thu, 29 Jan 2004 08:42:06 +0000 (08:42 -0000)]
font enhancements

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

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

* System.Web/HttpApplicationFactory.cs: fixlet for session events hook.

* System.Web.Compilation/AspGenerator.cs: handle more possible errors
in global.asax file.

* System.Web.Compilation/BaseCompiler.cs: added utility methods for
creating <object> related properties and fields.

* System.Web.Compilation/GlobalAsaxCompiler.cs: keep around applications
and session scope objects builders. Also a list of imports and
assemblies added in global.asax.

* System.Web.Compilation/TemplateControlCompiler.cs: use base class
methods for <object> stuff.

* System.Web.UI/ApplicationFileParser.cs: check for error in directives.
Use GlobalAsaxCompiler.CompileApplicationType for compiling.

* System.Web.UI/ObjectTagBuilder.cs: load the Type and check for errors.

* System.Web.UI/TemplateParser.cs: add assemblies and imports from
global.asax.

Now we properly create accessors for session and application objects in
the application itself, pages and controls. First step for fixing
bug #53387.

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

20 years agochangelog: Modified the changelog
Sanja Gupta [Wed, 28 Jan 2004 17:18:23 +0000 (17:18 -0000)]
changelog: Modified the changelog
FontCollection.cs: Implemented few methods.
InstalledFontCollection.cs: Implemented few methods.
PrivateFontCollection.cs: Implemented few methods.

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

20 years agoChangeLog: Modified the ChangeLog
Sanja Gupta [Wed, 28 Jan 2004 17:14:35 +0000 (17:14 -0000)]
ChangeLog: Modified the ChangeLog
gdipFunctions.cs: Added FontFamily and FontCollection methods
FontFamily.cs: Implemented missing functionalities.

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

20 years ago2004-01-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 28 Jan 2004 16:27:49 +0000 (16:27 -0000)]
2004-01-28  Atsushi Enomoto <atsushi@ximian.com>

* DTDReader.cs : Added Normalization.  Parameter Entity declaration
  should block invalid characters. (GEDecl should be fixed as well.)
* XmlConstruct.cs : Should allow surrogate chars.
* XmlNotation.cs : When prefix is empty (i.e. almost all cases)
  Name should not add ':'. Patch by Boris Kirzner.
* XmlTextReader.cs : Modified private ReadCharacterReference() to
  return the character (or -1 when should not return anything).
  Now Text character reference are checked their character range.
  Set DTDReader.Normalization as well as the reader itself.

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

20 years agoPatch submitted by Joerg Rosenkranz:
Tim Coleman [Wed, 28 Jan 2004 15:34:04 +0000 (15:34 -0000)]
Patch submitted by Joerg Rosenkranz:

2004-01-26  Joerg Rosenkranz  <joergr@voelcker.com>

        * System.Data.OracleClient.Oci/OciCalls.cs:
                Changed binding of OciStmtPrepare from string
                to byte [].
        * System.Data.OracleClient.Oci/OciDefineHandle.cs:
                Character types are converted using UTF8 encoding.
        * System.Data.OracleClient.Oci/OciStatementHandle.cs:
                SQL statement to be prepared is converted to byte
                array using UTF8 encoding.

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

20 years ago2004-01-28 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 28 Jan 2004 14:41:11 +0000 (14:41 -0000)]
2004-01-28  Sebastien Pouliot  <spouliot@videotron.ca>

* DateTimeTest.cs: Added a new unit test (X509Certificate) to better
detect regressions in DateTime. See bugzilla entry #53461.

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

20 years agoWed Jan 28 14:04:58 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 28 Jan 2004 12:47:17 +0000 (12:47 -0000)]
Wed Jan 28 14:04:58 CET 2004 Paolo Molaro <lupus@ximian.com>

* mini.c: fixed buglet in initobj generic implementation for references.

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

20 years ago2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Jan 2004 12:23:29 +0000 (12:23 -0000)]
2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplicationFactory.cs: attach all events from Type and BaseType
at the same time. Fixes bug #53454.

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

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

* typemanager.cs (TypeManager.IsEqual): New static method.
(TypeManager.FilterWithClosure): Call TypeManager.IsEqual() to
check for equality instead of using `=='.

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

20 years agographics.cs class sample
Jordi Mas i Hernandez [Wed, 28 Jan 2004 10:51:15 +0000 (10:51 -0000)]
graphics.cs class sample

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

20 years agoprevent NullReferenceException in RenderAllDays().
Alon Gazit [Wed, 28 Jan 2004 10:16:40 +0000 (10:16 -0000)]
prevent NullReferenceException in RenderAllDays().

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

20 years agonew methods for graphics.cs
Jordi Mas i Hernandez [Wed, 28 Jan 2004 08:44:51 +0000 (08:44 -0000)]
new methods for graphics.cs

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

20 years ago2004-01-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 28 Jan 2004 07:32:55 +0000 (07:32 -0000)]
2004-01-28  Atsushi Enomoto  <atsushi@ximian.com>

* xslttest.cs : Now it tests against XPathDocument. Reduced error msgs.

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

20 years ago2004-01-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 28 Jan 2004 07:30:59 +0000 (07:30 -0000)]
2004-01-28  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorCommonTests.cs : Added MoveToNamespace and IsDescendant.
* XPathNavigatorTests.cs : Close XmlTextReader.

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

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

* xmltest.cs : several bugfixes.

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

20 years ago2004-01-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 28 Jan 2004 07:26:43 +0000 (07:26 -0000)]
2004-01-28  Atsushi Enomoto <atsushi@ximian.com>

* XmlDocumentTypeTests.cs : Added IncorrectInternalSubset().
* XmlNodeTests.cs : Since .NET 1.1 also prohibits multiple document
  element, removed extraneous test switch for InsertBefore().
* XsdParticleValidationTests.cs,
  XsdValidatingReaderTests.cs : These test class names are too
  ambiguous so just renamed them. (No bug reports are found on them,
  but should be warned in the meantime.)

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

20 years ago2004-01-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 28 Jan 2004 07:21:05 +0000 (07:21 -0000)]
2004-01-28  Atsushi Enomoto <atsushi@ximian.com>

* DTDReader.cs : Make sure that parameter entities are not allowed
  inside internal subset unless it appears as a markupdecl.
* DTDValidatingReader.cs : ENTITY or ENTITIES type attributes must have
  a value that indicates *unparsed* entity (i.e. NDATA required).

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

20 years ago2004-01-28 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 28 Jan 2004 04:59:40 +0000 (04:59 -0000)]
2004-01-28  Sebastien Pouliot  <spouliot@videotron.ca>

* PermissionRequestEvidenceTest.cs: Added ToString () assertions
to existing tests.
* PublisherMembershipConditionTest.cs: Replaced "\r\n" with
Environment.NewLine.
* StrongNameTest.cs: Replaced "\r\n" with Environment.NewLine.

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

20 years ago2004-01-28 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 28 Jan 2004 04:56:01 +0000 (04:56 -0000)]
2004-01-28  Sebastien Pouliot  <spouliot@videotron.ca>

* StrongName.cs: XML now use Type.Name (instead of Type.FullName) to
match the XML generated by MS.

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

20 years ago2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 28 Jan 2004 04:41:54 +0000 (04:41 -0000)]
2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>

* SecurityElementTest.cs: Added new tests for duplicate attributes
and multiple attribute order and ToString representation.

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

20 years ago2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 28 Jan 2004 04:40:23 +0000 (04:40 -0000)]
2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>

* SecurityElement.cs: Attributes are now kept in an ArrayList (but
still returned in an Hashtable) so the attributes order can be
kept like MS implementation (but Hashtable cannot guarantee this).

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

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

* Exception.cs: Changed ToString to remove the \n when no stack trace
is present (which fixed a unit test for SecurityException). Changed
all \n to Environment.NewLine.

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

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

* AspGenerator.cs: use the Cache to store compiled Types. Don't parse
pages more than once. Thanks to Eric Lindvall for pointing this out.

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

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