mono.git
20 years agoImprove error handling
Miguel de Icaza [Sat, 31 Jan 2004 03:34:21 +0000 (03:34 -0000)]
Improve error handling

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

20 years ago * Control.cs: Ensure that dynamically loaded controls are
Jackson Harper [Fri, 30 Jan 2004 21:53:57 +0000 (21:53 -0000)]
    * Control.cs: Ensure that dynamically loaded controls are
initialized.

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

20 years agoadded some really important todos
César Natarén [Fri, 30 Jan 2004 20:55:15 +0000 (20:55 -0000)]
added some really important todos

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

20 years ago(AddPie): Corrected arguments sent to P/Invoke. This fixes the strange
Duncan Mak [Fri, 30 Jan 2004 19:40:18 +0000 (19:40 -0000)]
(AddPie): Corrected arguments sent to P/Invoke. This fixes the strange
NaNs we were getting when we tried to draw Paths with a Pie figure.

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

20 years agoAdd prototype for"ves_icall_System_Runtime_InteropServices_Marshal_AllocCoTaskMem"
Duncan Mak [Fri, 30 Jan 2004 18:56:46 +0000 (18:56 -0000)]
Add prototype for"ves_icall_System_Runtime_InteropServices_Marshal_AllocCoTaskMem"
and "ves_icall_System_Runtime_InteropServices_Marshal_FreeCoTaskMem"
to fix the build.

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

20 years ago * TemplateControlCompiler.cs: Call ToString on the types hashcode,
Jackson Harper [Fri, 30 Jan 2004 18:06:26 +0000 (18:06 -0000)]
    * TemplateControlCompiler.cs: Call ToString on the types hashcode,
the build method takes strings not ints.

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

20 years ago2004-01-30 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 30 Jan 2004 17:37:36 +0000 (17:37 -0000)]
2004-01-30  Tim Coleman <tim@timcoleman.com>
* team.xml:
Update my location.  Now just Waterloo.

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

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

* Makefile.am: Set SHELL to bash, since some commands require it.

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

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

* marshal.c (ves_icall_System_Runtime_InteropServices_Marshal_AllocCoTaskMem): New icall.
(ves_icall_System_Runtime_InteropServices_Marshal_FreeCoTaskMem): New icall.

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

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

* Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.

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

20 years agoserveral new methods for graphics.cs
Jordi Mas i Hernandez [Fri, 30 Jan 2004 16:21:15 +0000 (16:21 -0000)]
serveral new methods for graphics.cs

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

20 years agofixes unicode string in DrawString and memory leak in certain cases
Jordi Mas i Hernandez [Fri, 30 Jan 2004 16:01:54 +0000 (16:01 -0000)]
fixes unicode string in DrawString and memory leak in certain cases

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

20 years agoAdded more methods to TextureBrush.cs and gdipFunctions.cs.
Ravindra [Fri, 30 Jan 2004 13:52:19 +0000 (13:52 -0000)]
Added more methods to TextureBrush.cs and gdipFunctions.cs.

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

20 years agoAdded TextureBrush.cs to System.Drawing.dll.sources.
Ravindra [Fri, 30 Jan 2004 13:44:53 +0000 (13:44 -0000)]
Added TextureBrush.cs to System.Drawing.dll.sources.

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

20 years agoAdded methods for TextureBrush in gdipFunctions.cs.
Ravindra [Fri, 30 Jan 2004 13:28:35 +0000 (13:28 -0000)]
Added methods for TextureBrush in gdipFunctions.cs.

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

20 years agoImplemented texture brush.
Ravindra [Fri, 30 Jan 2004 13:20:33 +0000 (13:20 -0000)]
Implemented texture brush.

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

20 years ago2004-01-30 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 30 Jan 2004 13:16:40 +0000 (13:16 -0000)]
2004-01-30  Sebastien Pouliot  <spouliot@videotron.ca>

* DateTimeTest.cs: Modified X509Certificate test to use
ToUniversalTime ().

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

20 years agoadded testing stuff for System.Drawing
Jordi Mas i Hernandez [Fri, 30 Jan 2004 12:10:36 +0000 (12:10 -0000)]
added testing stuff for System.Drawing

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

20 years agotesting toString is irrelevant. Also diferent locales do format numbering different...
Jordi Mas i Hernandez [Fri, 30 Jan 2004 11:42:41 +0000 (11:42 -0000)]
testing toString is irrelevant. Also diferent locales do format numbering different and then you do not pass the test

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

20 years ago2004-01-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 30 Jan 2004 10:05:06 +0000 (10:05 -0000)]
2004-01-29  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_native_wrapper): Add support for
custom marshalling of valuetypes.

* marshal.c: Fix some warnings.

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

20 years ago* gdipFunctions.cs
Duncan Mak [Thu, 29 Jan 2004 22:23:50 +0000 (22:23 -0000)]
* gdipFunctions.cs
* Graphics.cs: Indentation fixes, removed long dangling lines and
extra spaces.

* Graphics.cs (IsVisible): Renamed variable to not use hungarian
notation.

* bitmap.c (gdip_bitmap_dispose): Add a check for own_scan0.
(GdipCreateBitmapFromScan0): Set own_scan0 flag if we own the
incoming buffer, scan0.

* gdip.h (GdipBitmapData): Add new field, own_scan0.

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

20 years ago2004-01-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Jan 2004 18:55:52 +0000 (18:55 -0000)]
2004-01-29  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.DoResolve): If we're a
`ConstructedType', then we're actually a generic method, so
rewrite the expr as a GenericMemberAccess.

* cs-parser.jay (member_name): Don't use `namespace_or_type_name'
here; manually parse it into a string.

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

20 years ago2004-01-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Jan 2004 18:50:36 +0000 (18:50 -0000)]
2004-01-29  Martin Baulig  <martin@ximian.com>

* class.h (MonoGenericInst): Added `mtype_argc' and `mtype_argv'
for generic method parameters.

* reflection.c (method_encode_methodspec): Write the uninflated
signature into the methodspec table.
(mono_reflection_inflate_method_or_ctor): Ensure `res->declaring'
is always the uninflated method.
(reflection_methodbuilder_to_mono_method): Copy the generic
parameters from the MethodBuilder into `header->gen_params'.

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

20 years agoChangeLog: Modifeid ChangeLog
Sanja Gupta [Thu, 29 Jan 2004 15:14:05 +0000 (15:14 -0000)]
ChangeLog: Modifeid ChangeLog
FontFamily.cs: Implemented one constructor and few methods

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

20 years ago2004-01-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 29 Jan 2004 14:03:12 +0000 (14:03 -0000)]
2004-01-29  Zoltan Varga  <vargaz@freemail.hu>

* class.c (mono_class_from_generic_parameter): Fix warning.

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

20 years agostylized
Gonzalo Paniagua Javier [Thu, 29 Jan 2004 10:35:51 +0000 (10:35 -0000)]
stylized

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

20 years agochangelog: Updated changelog
Sanja Gupta [Thu, 29 Jan 2004 10:08:58 +0000 (10:08 -0000)]
changelog: Updated changelog
FontCollection.cs: Implemented Dispose() method
InstalledFontCollection.cs: Removed Console.WriteLine statements.
PrivateFontCollection.cs: Implemented AddMemoryFont() method.

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

20 years agofixes font collection
Jordi Mas i Hernandez [Thu, 29 Jan 2004 09:02:22 +0000 (09:02 -0000)]
fixes font collection

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

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