mono.git
19 years ago2004-08-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Aug 2004 00:36:03 +0000 (00:36 -0000)]
2004-08-27  Atsushi Enomoto  <atsushi@ximian.com>

* XmlAttribute.cs : some property getters threw NullReferenceException
  when the attribute is not added to an element.
* XmlNode.cs : When a node is not appended to another node, BaseURI
  is empty. Bug #64120 is fixed.

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

19 years ago2004-08-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 26 Aug 2004 22:39:18 +0000 (22:39 -0000)]
2004-08-27  Martin Baulig  <martin@ximian.com>

* MonoSymbolFile.cs (MonoSymbolFile..ctor): Read the GUID from the
symbol file before reading the OffsetTable.

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

19 years ago2004-08-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 26 Aug 2004 22:35:59 +0000 (22:35 -0000)]
2004-08-27  Martin Baulig  <martin@ximian.com>

* MonoSymbolFile.cs (MonoSymbolFile..ctor): Set
`reader.BaseStream.Position' to 12 before reading the GUID so we
actually read it from the correct file offset.

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

19 years ago2004-08-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 26 Aug 2004 22:23:39 +0000 (22:23 -0000)]
2004-08-27  Chris Toshok  <toshok@ximian.com>

* MonoSymbolFile.cs (MonoSymbolFile.ReadSymbolFile): pass name to
MonoSymbolFile.ctor, not filename, so we load the .mdb file
instead of the .dll.
(MonoSymbolFile.ctor): pass FileAccess.Read to the FileStream
ctor.

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

19 years agoRemoved, this is now allowed by the spec.
Martin Baulig [Thu, 26 Aug 2004 22:08:18 +0000 (22:08 -0000)]
Removed, this is now allowed by the spec.

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

19 years ago2004-08-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 26 Aug 2004 22:05:36 +0000 (22:05 -0000)]
2004-08-27  Martin Baulig  <martin@ximian.com>

* MonoSymbolFile.cs (MonoDebuggerSupport.GetGuid): The function is
called Module.Mono_GetGuid(), not Module.MonoDebugger_GetGuid().

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

19 years ago2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Aug 2004 21:44:34 +0000 (21:44 -0000)]
2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* corlib.dll.sources: Added System.Security.Policy/
ApplicationSecurityManager.cs, ApplicationSecurityManagerCodeGroup.cs,
ApplicationTrustCollection.cs and ApplicationTrustEnumerator.cs for
NET_2_0 profile.

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

19 years ago2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Aug 2004 21:40:37 +0000 (21:40 -0000)]
2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* ApplicationSecurityManager.cs: New stub for Fx 2.0 application trust
security manager.
* ApplicationSecurityManagerCodeGroup.cs: New stubbed code group for
NET_2_0 profile.
* ApplicationTrustCollection.cs: New. ApplicationTrust collection for
NET_2_0 profile.
* ApplicationTrustEnumerator.cs: New. ApplicationTrust enumerator for
NET_2_0 profile.

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

19 years ago2004-08-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 26 Aug 2004 21:31:39 +0000 (21:31 -0000)]
2004-08-27  Martin Baulig  <martin@ximian.com>

* do-tests.pl: Deal with compiler crashes.

* mcs-expect-no-error, mcs-expect-wrong-error: Updated.

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

19 years ago2004-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 26 Aug 2004 20:53:24 +0000 (20:53 -0000)]
2004-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* inssel.brg: more cleanup

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

19 years agoRenamed cs-12.cs -> cs0012.cs.
Martin Baulig [Thu, 26 Aug 2004 20:33:11 +0000 (20:33 -0000)]
Renamed cs-12.cs -> cs0012.cs.

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

19 years ago2004-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 26 Aug 2004 20:08:06 +0000 (20:08 -0000)]
2004-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* inssel.brg: more cleanup

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

19 years ago2004-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 26 Aug 2004 19:48:48 +0000 (19:48 -0000)]
2004-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* inssel-x86.brg, inssel-long32.brg: burg cleanup.

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

19 years ago2004-08-14 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 26 Aug 2004 18:52:48 +0000 (18:52 -0000)]
2004-08-14 Geoff Norton <gnorton@customerdna.com>

        * TdsComm.cs:
          Tds70.cs:
                Make Tds70 work on Big Endian machines.
                BitConverter uses unsafe and returns things in host order; we need to
                swap some values to put them back into the approrpiate order for the wire.

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

19 years ago2004-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 26 Aug 2004 18:31:14 +0000 (18:31 -0000)]
2004-08-26  Zoltan Varga  <vargaz@freemail.hu>

* class.c (mono_ptr_class_get): Fix name of pointer classes. Fixes
#63768.

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

19 years ago2004-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 26 Aug 2004 18:29:02 +0000 (18:29 -0000)]
2004-08-26  Zoltan Varga  <vargaz@freemail.hu>

* TypeTest.cs: Add regression test for bug #63768.

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

19 years ago2004-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 26 Aug 2004 17:41:57 +0000 (17:41 -0000)]
2004-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* basic-long.cs, basic-calls.cs: new tests for optimization.

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

19 years ago2004-08-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 26 Aug 2004 17:29:09 +0000 (17:29 -0000)]
2004-08-26  Marek Safar  <marek.safar@seznam.cz>

* ecore.cs (Constantify): Get underlying type via
System.Enum.GetUnderlyingType to avoid StackOverflow on the
Windows in special cases.

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

19 years ago2004-08-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 26 Aug 2004 16:28:43 +0000 (16:28 -0000)]
2004-08-26  Marek Safar  <marek.safar@seznam.cz>

* typemanager.cs (GetAddMethod): Used GetAddMethod (true)
for obtaining also private methods.
(GetRemoveMethod): Used GetRemoveMethod (true)
for obtaining also private methods.

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

19 years ago2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Aug 2004 15:08:50 +0000 (15:08 -0000)]
2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* corlib_test.dll.sources: Added System.Security.Policy/
ApplicationDirectoryTest.cs, HashMembershipConditionTest.cs,
HashTest.cs and IBuiltInEvidenceTest.cs to unit tests.

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

19 years ago2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Aug 2004 15:05:29 +0000 (15:05 -0000)]
2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* ApplicationId.cs: Completed GetHashCode using information from MS
(FDBK13339).

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

19 years ago2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Aug 2004 15:03:04 +0000 (15:03 -0000)]
2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* ApplicationDirectory.cs: Fixed directory validation and ToString.
* CodeGroup.cs: Fixed PermissionSetName when policy is null.
* Evidence.cs: Fixed Merge for null case. Fixed IsSynchronized for
NET_2_0. Uncommented some code for NET_2_0 DomainManager usage.
* FileCodeGroup.cs: Fixed Resolve and ResolveMatchingGroup wrt new
unit tests.
* Gac.cs: Implemented IBuiltInEvidence methods.
* Hash.cs: Removed TODO from NET_2_0 as it's hashing seems compatible
with Mono ;-). Fixed properties for use with NET_2_0.
* HashMembershipCondition.cs: Fixed To|FromXml serialization. Make
copies of hash value (not references).
* PermissionRequestEvidence.cs: Now make copies of permission sets.
* Publisher.cs: Namespace cleanup, implemented GetRequiredSize.
* Site.cs: Namespace cleanup, implemented GetRequiredSize.
* StrongName.cs: Namespace cleanup.
* UnionCodeGroup.cs: Namespace cleanup, converted spaces to tabs.
* Url.cs: Namespace cleanup, implemented GetRequiredSize.
* Zone.cs: Namespace cleanup, globalization and added more details in
exception.

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

19 years ago2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 26 Aug 2004 15:01:29 +0000 (15:01 -0000)]
2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* testmbas/WriteOk.vb : Use Mono.GetOptions from VB.NET
* Makefile : exercise new option processing in test program [make-run-local target]

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

19 years ago2004-08-26 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Thu, 26 Aug 2004 14:50:32 +0000 (14:50 -0000)]
2004-08-26 Bernie Solomon <bernard@ugsolutions.com>
* mb-parser.jay: rework parsing of ParamArray parameters

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

19 years ago2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Aug 2004 14:40:19 +0000 (14:40 -0000)]
2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityElement.cs: Fixed the new Copy() in Fx 2.0 as it isn't a
deep copy. Throw proper exceptions in FromString (Fx 2.0).
* SecurityManager.cs: Throw a NullReference exception in
SavePolicyLevel as MS won't fix it (FDBK13121).

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

19 years ago2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Aug 2004 14:34:25 +0000 (14:34 -0000)]
2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* ApplicationDirectoryTest.cs: New. For NET_2_0 profile.
* EvidenceTest.cs: Added more tests for 1.1 and new tests for 2.0.
* FileCodeGroupTest.cs: Added more tests for Resolve,
ResolveMatchingCodeGroups and new Fx 2.0 Scope property.
* HashMembershipConditionTest.cs: New. Unit tests for hash membership.
* HashTest.cs: New. Unit tests for hash.
* IBuiltInEvidenceTest.cs: New. Unit tests for the internal
IBuiltInEvidence interface. All tests are [Ignore]d for the
* NetCodeGroupTest.cs: Ajusted PermissionSetName for Fx 2.0.
* PermissionRequestEvidenceTest.cs: Ajusted existing tests for 2.0.
Converted tests to NUnit 2.2 format. Converted to UNIX line endings.
Added test to see that the original permission sets are copied but
the instance copy can be changed (not copied on output).
* PolicyLevelTest.cs: Added more tests for Resolve and
ResolveMatchingCodeGroups.
* UnionCodeGroupTest.cs: Added more properties validation in tests.

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

19 years ago2004-08-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Aug 2004 14:31:08 +0000 (14:31 -0000)]
2004-08-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextWriter.cs : In CheckState(), don't create indentation string
  at every time. WriteIndent() now handles the indentation without
  recomputation.

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

19 years ago2004-08-26 Sureshkumar T (tsureshkumar@novell.com)
Sureshkumar T [Thu, 26 Aug 2004 13:15:16 +0000 (13:15 -0000)]
2004-08-26 Sureshkumar T (tsureshkumar@novell.com)
* OdbcDataReader.cs - Date & DateTime GetValue fixed.
      GetBytes ordinal parameter passing fixed for BINARY in GetValue.

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

19 years ago2004-08-26 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Thu, 26 Aug 2004 13:03:13 +0000 (13:03 -0000)]
2004-08-26  Sureshkumar T <tsureshkumar@novell.com>
        * OdbcDataReaderTest.cs - Added a test for DateTime - GetDateTimeTest
* OdbcCommandTest.cs - Syntax Error Fix

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

19 years ago2004-08-26 Sureshkumar T <TSureshkumar@novell.com>
Sureshkumar T [Thu, 26 Aug 2004 13:00:50 +0000 (13:00 -0000)]
2004-08-26  Sureshkumar T <TSureshkumar@novell.com>
* MySqlTestBed.cs - Added few more fields for DateTime testing

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Thu, 26 Aug 2004 11:50:01 +0000 (11:50 -0000)]
ChangeLog: Updated ChangeLog.
SmtpClient.cs: Added functionality to add RelatedBodyPart to MIME message.

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

19 years ago(mcs-do-run-test): Depend on '$(tmpinst)/bin/mbas'.
Raja R Harinath [Thu, 26 Aug 2004 11:47:25 +0000 (11:47 -0000)]
(mcs-do-run-test): Depend on '$(tmpinst)/bin/mbas'.
($(tmpinst)/bin/mbas): Create temporary wrapper file, so that the
testcases pick the built 'mbas.exe'.

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

19 years agoAdded new tests for Exception Handling Statements
Sachin Kumar [Thu, 26 Aug 2004 09:24:50 +0000 (09:24 -0000)]
Added new tests for Exception Handling Statements

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

19 years ago2004-08-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Aug 2004 08:28:07 +0000 (08:28 -0000)]
2004-08-26  Atsushi Enomoto <atsushi@ximian.com>

* XPath2Expression.cs :
  Fixed PathRootExpr.Evaluate() that always failed.
  Renamed PathChildExpr to PathSlashExpr, PathDescendantExpr to
  PathSlash2Expr, and added abstract PathStepExpr.
  PathSlash2Expr.Evaluate() now uses PathStepIterator
* XPathSequence.cs :
  - Modified MoveNextCore() as protected.
  - Fixed SingleItemIterator.MoveNext() to be simple.
  - Renamed ChildPathIterator to PathStepIterator. Mostly copied
    SlashIterator logic from Iterator.cs into PathStepIterator.
  - Removed DescendantPathIterator ("//" should be the same as
    "/descendant-or-self::node()/").
  - NodeIterator.Node should come from current node, not context node.
  - Added dummy flag for NodeIterator's copy constructor (that resulted
    in incorrect copying for some usecases).
* XQueryParser.jay : Fixes in sync with Expr class name changes.

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

19 years agomarked methods as built in
César Natarén [Thu, 26 Aug 2004 06:44:27 +0000 (06:44 -0000)]
marked methods as built in

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

19 years agomarked methods as built in
César Natarén [Thu, 26 Aug 2004 06:32:27 +0000 (06:32 -0000)]
marked methods as built in

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

19 years ago * LenientNumberPrototype.cs: added new keyboard to toLocaleString field.
César Natarén [Thu, 26 Aug 2004 06:31:25 +0000 (06:31 -0000)]
 * LenientNumberPrototype.cs: added new keyboard to toLocaleString field.

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

19 years agomarked methods as built in
César Natarén [Thu, 26 Aug 2004 06:12:15 +0000 (06:12 -0000)]
marked methods as built in

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

19 years ago2004-08-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Aug 2004 05:58:09 +0000 (05:58 -0000)]
2004-08-26  Atsushi Enomoto <atsushi@ximian.com>

* XPath2Expression.cs :
  Don't compute node's EBV based on atomized value.

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

19 years ago marked as built in
César Natarén [Thu, 26 Aug 2004 05:53:32 +0000 (05:53 -0000)]
 marked as built in

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

19 years agomarked methods as built in, added JSBuiltin.Global_GetObject.
César Natarén [Thu, 26 Aug 2004 05:29:32 +0000 (05:29 -0000)]
marked methods as built in, added JSBuiltin.Global_GetObject.

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

19 years agomark methods as built in
César Natarén [Thu, 26 Aug 2004 05:19:10 +0000 (05:19 -0000)]
mark methods as built in

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

19 years agomark methods as built in
César Natarén [Thu, 26 Aug 2004 05:13:24 +0000 (05:13 -0000)]
mark methods as built in

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

19 years agomarked as built in
César Natarén [Thu, 26 Aug 2004 04:45:35 +0000 (04:45 -0000)]
marked as built in

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

19 years ago2004-08-26 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 26 Aug 2004 04:33:37 +0000 (04:33 -0000)]
2004-08-26  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* ArrayPrototype.cs: mark method as built in.

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

19 years ago2004-08-26 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Thu, 26 Aug 2004 03:27:30 +0000 (03:27 -0000)]
2004-08-26 Anirban Bhattacharjee <banirban@novell.com>
        Following tests are submtted by Manish Sinha <manishkumarsinha@sify.com>
        * Arguments_ByValueA:
        * Arguments_ByValueB:
        * Arguments_ByValueC:
        * Arguments_ByValueD:
        * Arguments_ByReferenceA:
        * Arguments_ByReferenceB:
        * Arguments_ByReferenceC:
        * Arguments_ByReferenceD:
        * Function_ArguByValueA:
        * Function_ArguByValueB:
        * Function_ArguByValueC:
        * Function_ArguByValueD:
        * Function_ArguByReferenceA:
        * Function_ArguByReferenceB:
        * Function_ArguByReferenceC:
        * Function_ArguByReferenceD:
        * ParamArrayA:
        * ParamArrayB:
        * Function_ParamArrayA:
        * Function_ParamArrayB:
        * Function_ParamArrayc:
        * ParamArrayC2:
        * Function_ParamArrayC1:
        * Function_ParamArrayC2:
        * Function_ParamArrayC3:
        * Function_ParamArrayC4i:
        * Test.Sources: Included new test

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

19 years ago2004-08-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Aug 2004 02:27:48 +0000 (02:27 -0000)]
2004-08-26  Atsushi Enomoto <atsushi@ximian.com>

* XPath2Expression.cs : in Compiler(), function call's arguments must
  also be compiled.
* XQueryASTCompiler.cs : When function is external, it should not try
  to compile body, and tries to handle it as a native CLI method (I
  don't like this name resolution design very much, so it is likely
  to be redesigned).
* XQueryCliFunction.cs : trivial code comment fix.
* XQueryFunction : added user-specified function call support.
  When CLI function returned null, don't wrap null and just return
  XQueryEmptySequence.
* XQueryFunctionCliImpl.cs : fn:nilled() requires certain node.
  Implemented numeric functions (in the future they might be
  rewritten to avoid boxing).
* XQueryTokenizer.cs : Skip XQuery comment inside default state.
  PI and XML comment are not read correctly.

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

19 years agochangelog entry
César Natarén [Thu, 26 Aug 2004 02:15:12 +0000 (02:15 -0000)]
changelog entry

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

19 years ago2004-08-25 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 26 Aug 2004 02:08:02 +0000 (02:08 -0000)]
2004-08-25  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Parser.cs:
* expression.cs: made Binary is IAssignable, added fields assign
and right_side, added method ResolveAssign (which now receives an
extra parameter, being the right side of the assigment). Take care of being
inside a function for array indexing. Take care of lvalue case
too. Assign.Emit just calls left.Emit since left knows everything
about the right side of the assigment after Resolve process.
* BitwiseBinary.cs, CodeGenerator.cs, Equality.cs, NumericBinary.cs, : updates for BinaryOp change.

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

19 years ago2004-08-25 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 26 Aug 2004 01:30:24 +0000 (01:30 -0000)]
2004-08-25  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* BinaryOp.cs: renamed current_op to simply op as with the new
parser we no longer need to keep track of the old_op.

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

19 years ago2004-08-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Wed, 25 Aug 2004 23:26:10 +0000 (23:26 -0000)]
2004-08-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* Added by mistake.

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

19 years ago2004-08-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Wed, 25 Aug 2004 23:24:28 +0000 (23:24 -0000)]
2004-08-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* Updated files from gborg cvs. Added support for geometric types.
Improved Unicode encoding support. It was possible to characters in unicode cross the stream buffer and be discarded. Now we use Decoders which handle that situation. Thanks Oskars Ozols (oskars dot ozols at di dot lv)
        Improved connection startup code. Now new connections in ms.net goes a lot faster. Thanks Mikko Korkalo (mikko.korkalo at f-solutions dot net) for the patch.
Fixed a problem with plan execution in 7.3 backend versions. The text parameters weren't being quoted and backend complained about that.

- gborg 898: Added HasRows method to NpgsqlDataReader. Thanks keitsi@minttupuffet.net for feature request.
- gborg 899: Fixed return of IsClosed after closing NpgsqlDataReader. Thanks Mikko Korkalo (mikko.korkalo at f-solutions dot net) for the patch.

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

19 years agomore fixes to scrollbar
Jordi Mas i Hernandez [Wed, 25 Aug 2004 21:35:18 +0000 (21:35 -0000)]
more fixes to scrollbar

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

19 years ago2004-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 Aug 2004 21:03:24 +0000 (21:03 -0000)]
2004-08-26  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (read_tls_offset_from_method): Fix typo in previous
patch.

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

19 years ago2004-08-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 Aug 2004 20:57:27 +0000 (20:57 -0000)]
2004-08-25  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (read_tls_offset_from_method): Add another case.

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

19 years ago2004-08-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 25 Aug 2004 20:56:33 +0000 (20:56 -0000)]
2004-08-25  Martin Baulig  <martin@ximian.com>

* support.cs (ReflectionParameters..ctor): If this is a generic
method, retrieve and store its type parameters.
(InternalParameters..ctor): Added `TypeParameter[]' argument.
(ReflectionParameters.GenericConstraints): The argument specifies
the type parameter, not the method parameter.
(InternalParameters.GenericConstraints): Likewise.

* generic.cs (TypeParameter.DefineType): Correctly handle
constraints wrt. generic methods in interfaces and their
implementations.

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

19 years ago2004-08-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 25 Aug 2004 20:42:53 +0000 (20:42 -0000)]
2004-08-25  Martin Baulig  <martin@ximian.com>

* loader.c (mono_get_method_from_token): Abstract methods can also
be generic and thus have type parameters.

* metadata-internals.h
(MonoDynamicImage): Added `GPtrArray *gen_params'.

* reflection.c (mono_image_get_generic_param_info): Don't create a
metadata row, just add an entry to the `gen_params' array.
(build_compressed_metadata): Sort the `gen_params' array and then
actually create the metadata.

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

19 years ago2004-08-25 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 25 Aug 2004 20:17:04 +0000 (20:17 -0000)]
2004-08-25  Bernie Solomon  <bernard@ugsolutions.com>

* inssel.brg (mini_emit_memcpy): use
NO_UNALIGNED_ACCESS to disable memcpy optimization

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

19 years agoAdded the missing divider code and grip for ToolBar Control.
Ravindra [Wed, 25 Aug 2004 20:04:40 +0000 (20:04 -0000)]
Added the missing divider code and grip for ToolBar Control.

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

19 years ago2004-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 25 Aug 2004 19:29:02 +0000 (19:29 -0000)]
2004-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: remove unneeded 'if' around mono_monitor_enter.

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

19 years ago- Control now properly passes the ambient background color to child
Peter Dennis Bartok [Wed, 25 Aug 2004 19:20:47 +0000 (19:20 -0000)]
- Control now properly passes the ambient background color to child
  controls

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

19 years agosmall bug fix regarding bar position
Jordi Mas i Hernandez [Wed, 25 Aug 2004 19:20:13 +0000 (19:20 -0000)]
small bug fix regarding bar position

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

19 years agoNew test.
Martin Baulig [Wed, 25 Aug 2004 19:11:12 +0000 (19:11 -0000)]
New test.

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

19 years ago- Now only calls SetTimer or KillTimer if the enabled state has changed
Peter Dennis Bartok [Wed, 25 Aug 2004 18:33:52 +0000 (18:33 -0000)]
- Now only calls SetTimer or KillTimer if the enabled state has changed

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

19 years ago- Fixed timer handling, now seems to work
Peter Dennis Bartok [Wed, 25 Aug 2004 18:33:08 +0000 (18:33 -0000)]
- Fixed timer handling, now seems to work
- Improved error message for window creation

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

19 years ago- Fixed generation of MouseUp message
Peter Dennis Bartok [Wed, 25 Aug 2004 18:32:15 +0000 (18:32 -0000)]
- Fixed generation of MouseUp message

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

19 years agonew methods, properties, and fixes for progressbar
Jordi Mas i Hernandez [Wed, 25 Aug 2004 18:29:14 +0000 (18:29 -0000)]
new methods, properties, and fixes for progressbar

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

19 years ago2004-08-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Aug 2004 14:53:59 +0000 (14:53 -0000)]
2004-08-25  Atsushi Enomoto  <atsushi@ximian.com>

* XQueryCommand.cs : Reverted. "context item is nothing" should be
  differentiate from "context item is document".

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

19 years ago2004-08-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Aug 2004 14:31:27 +0000 (14:31 -0000)]
2004-08-25  Atsushi Enomoto <atsushi@ximian.com>

* XPath2Expression.cs :
  Check write state before writing document node.
  Check if navigator's SchemaInfo is null or not before atomizing.
  Use individual axis-based iterator in AxisStepExpr.Evaluate().
* XPathSequence.cs : added individual axis-based iterator.
  Removed commented NodeKindTestIterator.
* XQueryCliFunction.cs, XQueryContext.cs, XQueryFunction.cs :
  Now XQueryContext.CurrentItem explicitly throws exception if
  no context node was provided (also XQueryCommand.Execute() is
  fixed not to provide empty document as input).
  Now XQueryFunction should not access to CurrentItem unless it is
  required.
* XQueryFunctionCliImpl.cs : fixed more method signatures.

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

19 years ago2004-08-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Aug 2004 14:30:39 +0000 (14:30 -0000)]
2004-08-25  Atsushi Enomoto  <atsushi@ximian.com>

* XPathAtomicValue.cs : Value was not returning expected value when
  it is created as new XPathAtomicValue (object, XmlSchemaType).
  Compute stringValue and reuse.
* XPathNavigator.cs : Temporarily stubbed as to ignore SchemaInfo
  (for checking XQuery implementation).

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

19 years ago2004-08-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 Aug 2004 13:36:25 +0000 (13:36 -0000)]
2004-08-25  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c: Handle generic types in various places.

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

19 years ago2004-08-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 Aug 2004 13:32:51 +0000 (13:32 -0000)]
2004-08-25  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Handle generic types in init locals.

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

19 years ago2004-08-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 Aug 2004 13:20:15 +0000 (13:20 -0000)]
2004-08-25  Zoltan Varga  <vargaz@freemail.hu>

* debug-helpers.c: Handle MONO_TYPE_GENERICINST.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Wed, 25 Aug 2004 12:59:38 +0000 (12:59 -0000)]
ChangeLog: Updated ChangeLog.
MailMessageWrapper.cs: Added NET_2_0 property and another missing
        property from NET_1_1.
RelatedBodyPart.cs: Error detection and handling.
SmtpClient.cs: Upgraded for NET_1_1 and WIP for NET_2_0.

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

19 years ago2004-08-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Aug 2004 11:40:50 +0000 (11:40 -0000)]
2004-08-25  Atsushi Enomoto <atsushi@ximian.com>

* removed IXmlCompilerInclude.cs (does not exist anymore).

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

19 years agoAdded few more tests for Conditional Statements
Sachin Kumar [Wed, 25 Aug 2004 09:44:58 +0000 (09:44 -0000)]
Added few more tests for Conditional Statements

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

19 years ago* server/SessionCounter.asmx: Check that Context != null in the constructor.
Lluis Sanchez [Wed, 25 Aug 2004 08:54:35 +0000 (08:54 -0000)]
* server/SessionCounter.asmx: Check that Context != null in the constructor.

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

19 years ago * HttpSoapWebServiceHandler.cs, WebServiceHandler.cs: Do not assign the
Lluis Sanchez [Wed, 25 Aug 2004 08:53:43 +0000 (08:53 -0000)]
* HttpSoapWebServiceHandler.cs, WebServiceHandler.cs: Do not assign the
  context to the service. It already gets it from HttpContext.Current.

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

19 years ago * WebService.cs: Get the HttpContext from the HttpContext.Current, do not
Lluis Sanchez [Wed, 25 Aug 2004 08:53:17 +0000 (08:53 -0000)]
* WebService.cs: Get the HttpContext from the HttpContext.Current, do not
  wait to be set with SetContext. In this way the context is available
  in the web service constructor.

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

19 years ago * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
Lluis Sanchez [Wed, 25 Aug 2004 08:41:06 +0000 (08:41 -0000)]
* SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  When deserializing an encoded method response, assign to the return value
  the first element of the message, whatever it is. The return type doesn't
  need to be Object, it seems to be true for all return types.

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

19 years ago2004-08-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Aug 2004 08:21:52 +0000 (08:21 -0000)]
2004-08-25  Atsushi Enomoto <atsushi@ximian.com>

* SequenceType.cs : moved type inference method to XPathAtomicValue.
  Use IsArray in runtime type inference. Initialize fields completely.
  Handle collection to runtime type for functions that takes array.
* XPath2Expression.cs : Add whitespaces on serializing XPath items.
  EBV != atomized boolean value. Add Atomize() for XPathItem (Atomize()
  for XPathSequence should be removed in the future).
  Replaced some ExprSequence to ExprSingle for optimization.
* XQueryFunctionCliImpl.cs : Fixed some return types.
* XQueryTokenizer.cs : Fixed weird ReadDecimal().

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

19 years ago2004-08-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Aug 2004 08:20:55 +0000 (08:20 -0000)]
2004-08-25  Atsushi Enomoto  <atsushi@ximian.com>

* XPathAtomicValue.cs : Handle .ctor() with object parameter more
  precisely (still not enough, for list argument).
  Removed commended blocks.

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

19 years ago2004-08-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Aug 2004 08:20:25 +0000 (08:20 -0000)]
2004-08-25  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaSimpleType.cs : Fill list types such as xs:IDREFS.
* XmlSchemaType.cs :
  Fixed TypeCode more (broken on predefined list types and xs:anyType).

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

19 years ago2004-08-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Aug 2004 06:09:20 +0000 (06:09 -0000)]
2004-08-25  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaType.cs :
  anyType was anonymous, thus GetBuiltInComplexType() didn't work.

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

19 years agoFixed wrapping related issues in ToolBar control.
Ravindra [Wed, 25 Aug 2004 00:43:13 +0000 (00:43 -0000)]
Fixed wrapping related issues in ToolBar control.

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

19 years ago- Added #region
Peter Dennis Bartok [Tue, 24 Aug 2004 23:15:33 +0000 (23:15 -0000)]
- Added #region
- Added missing events
- Alphabetized

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

19 years ago- Now uses Control's CreateParams
Peter Dennis Bartok [Tue, 24 Aug 2004 23:15:12 +0000 (23:15 -0000)]
- Now uses Control's CreateParams

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

19 years ago- Fixed background color handling
Peter Dennis Bartok [Tue, 24 Aug 2004 22:36:22 +0000 (22:36 -0000)]
- Fixed background color handling
- Fixed sending of enter/leave events on a grab

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

19 years ago- Refined definitions for CrossingEvent
Peter Dennis Bartok [Tue, 24 Aug 2004 22:35:44 +0000 (22:35 -0000)]
- Refined definitions for CrossingEvent

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

19 years ago2004-08-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 24 Aug 2004 20:07:54 +0000 (20:07 -0000)]
2004-08-24  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (handle_box): Fix warning.

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

19 years ago2004-08-25 Nick Drochak <ndrochak@ieee.com>
Nick Drochak [Tue, 24 Aug 2004 19:52:07 +0000 (19:52 -0000)]
2004-08-25  Nick Drochak <ndrochak@ieee.com>

* ThreadTest.cs: Some tests hang on MS.NET so ignore them.

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

19 years ago2004-08-25 Nick Drochak <ndrochak@ieee.com>
Nick Drochak [Tue, 24 Aug 2004 19:47:45 +0000 (19:47 -0000)]
2004-08-25  Nick Drochak <ndrochak@ieee.com>

* Makefile : Ignore tests that hang MS.NET.

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

19 years ago2004-08-25 Nick Drochak <ndrochak@ieee.com>
Nick Drochak [Tue, 24 Aug 2004 19:45:23 +0000 (19:45 -0000)]
2004-08-25  Nick Drochak  <ndrochak@ieee.com>

* Makefile: Cut down the the build noise.

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

19 years agoNew test.
Martin Baulig [Tue, 24 Aug 2004 19:08:06 +0000 (19:08 -0000)]
New test.

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

19 years ago2004-08-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 24 Aug 2004 19:07:36 +0000 (19:07 -0000)]
2004-08-24  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeParameter.IsSubclassOf): New public method.
(Constraints.IsSubclassOf): New internal method.

* typemanager.cs (TypeManager.FindMembers): Added special support
for GenericTypeParameterBuilder's.
(TypeManager.IsSubclassOf, IsFamilyAccessible): Added support for
type parameters.

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

19 years ago2004-08-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 24 Aug 2004 19:03:15 +0000 (19:03 -0000)]
2004-08-24  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_local_regalloc): Fix regalloc problem.

* mini-amd64.h: Enable the emit_state optimization.

* mini-ops.h cpu-amd64.md: Add new amd64_test_null opcode.

* mini-amd64.c: Add some new 64 bit peephole opts.

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

19 years ago2004-08-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 24 Aug 2004 19:01:08 +0000 (19:01 -0000)]
2004-08-24  Zoltan Varga  <vargaz@freemail.hu>

* inssel.brg (mini_emit_memcpy): Optimize for 64 bit architectures.

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

19 years ago2004-08-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 24 Aug 2004 19:00:14 +0000 (19:00 -0000)]
2004-08-24  Martin Baulig  <martin@ximian.com>

* typemanager.cs
(TypeManager.IsSubclassOf): Renamed to IsFamilyAccessible; use
this for accessibility checks.
(TypeManager.IsSubclassOrNestedChildOf): Renamed to
IsNestedFamilyAccessible.
(TypeManager.IsSubclassOf): New method, do what the name actually
says.

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

19 years agoNew test.
Martin Baulig [Tue, 24 Aug 2004 18:56:49 +0000 (18:56 -0000)]
New test.

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

19 years agofixes formmating, methods signature, and adds missing events
Jordi Mas i Hernandez [Tue, 24 Aug 2004 18:37:02 +0000 (18:37 -0000)]
fixes formmating, methods signature, and adds missing events

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