mono.git
19 years ago2005-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Mar 2005 10:46:20 +0000 (10:46 -0000)]
2005-03-23  Martin Baulig  <martin@ximian.com>

* marshal.c (mono_marshal_get_stfld_wrapper): Add support for
MONO_TYPE_GENERICINST.

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

19 years ago2005-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Mar 2005 10:21:35 +0000 (10:21 -0000)]
2005-03-23  Martin Baulig  <martin@ximian.com>

* TypeBuilderTest.cs: Disable last test again since the bug report
is reopened.

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

19 years agoremove debug console
Jordi Mas i Hernandez [Wed, 23 Mar 2005 10:01:36 +0000 (10:01 -0000)]
remove debug console

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

19 years ago2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 23 Mar 2005 09:55:26 +0000 (09:55 -0000)]
2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
* PaperKind.cs: fixes wrong enum values

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

19 years agoIn System.Drawing.Imaging:
Jordi Mas i Hernandez [Wed, 23 Mar 2005 09:40:43 +0000 (09:40 -0000)]
In System.Drawing.Imaging:
2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>

* ColorPalette.cs: fixes ColorPalette marshaling

In System.Drawing:
2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>

* gdipFunctions.cs: fixes GdipGetImagePalette signature
* Image.cs: Implements Palette property using gdiplus

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

19 years ago2005-03-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Mar 2005 08:19:41 +0000 (08:19 -0000)]
2005-03-23  Martin Baulig  <martin@ximian.com>

* metadata.c (mono_type_to_unmanaged): Add MONO_TYPE_GENERICINST.

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

19 years ago2005-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Mar 2005 03:22:49 +0000 (03:22 -0000)]
2005-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ResourceManager.cs: use culture.Equals in InternalGetResourceSet().

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 22:03:57 +0000 (22:03 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* expression.cs (ComposedCast.DoResolveAsTypeStep): Put the old
code back; this method has been completely rewritten in MCS, so
the new changes will get in anyways when I merge the rest.

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

19 years agoEnable gmcs again.
Martin Baulig [Tue, 22 Mar 2005 21:15:18 +0000 (21:15 -0000)]
Enable gmcs again.

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 21:04:37 +0000 (21:04 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.GetField): Add support for generic
instances.

* attribute.cs, typemanager.cs: Removed the `#if NET_2_0'
conditionals.

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 20:55:22 +0000 (20:55 -0000)]
2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* DTMXPathDocumentWriter2.cs : use index for string pool.

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 20:08:30 +0000 (20:08 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.DeepCopy): Manually copy the entries and
clear the `BindingFlags.DeclaredOnly'.
(MemberCache.AddMethods): Add `BindingFlags.DeclaredOnly'.

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

19 years agoMerged with GMCS trunk 42056
Jambunathan K [Tue, 22 Mar 2005 18:39:43 +0000 (18:39 -0000)]
Merged with GMCS trunk 42056

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

19 years agoTue Mar 22 19:03:17 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 17:38:51 +0000 (17:38 -0000)]
Tue Mar 22 19:03:17 CET 2005 Paolo Molaro <lupus@ximian.com>

* tramp-ppc.c, exceptions-ppc.c: added missing icache flush
calls (fixes bug#72824).

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

19 years agoactive clone tests now that is fixed
Jordi Mas i Hernandez [Tue, 22 Mar 2005 16:25:59 +0000 (16:25 -0000)]
active clone tests now that is fixed

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 15:46:22 +0000 (15:46 -0000)]
2005-03-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlValidatingReader.cs : create schema set on demand.

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

19 years ago2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 15:44:41 +0000 (15:44 -0000)]
2004-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : EvaluateBoolean() for RTF should check return true
  for empty elements. Fixed static analysis for RTF.

* XslTransformTests.cs : added test 1)that examines pattern sanity and
  2)that examines if empty element RTF is evaluated as true for bool.

--his line, and those below, will be ignored--

M    System.Xml.XPath/ChangeLog
M    System.Xml.XPath/Expression.cs
M    Test/System.Xml.Xsl/ChangeLog
M    Test/System.Xml.Xsl/XslTransformTests.cs
M    Test/System.Xml.Xsl/standalone_tests/Makefile

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

19 years agoTue Mar 22 16:57:01 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 15:41:00 +0000 (15:41 -0000)]
Tue Mar 22 16:57:01 CET 2005 Paolo Molaro <lupus@ximian.com>

* class.c: added locking comments to some functions.
Cache the interface offsets arrays (saves about 20 KB
of runtime memory in a typical app).
Reduce the time overhead in mono_class_setup_supertypes ().

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 15:32:20 +0000 (15:32 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.AddMethods): Reverted Hari's change from
r40402 in this method: in the generics-land, we cannot compare the
MethodInfo.MethodHandle's since we may be dealing with
instantiated method.

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

19 years agoOoops, this was wrong.
Martin Baulig [Tue, 22 Mar 2005 15:28:38 +0000 (15:28 -0000)]
Ooops, this was wrong.

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 15:28:05 +0000 (15:28 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* delegate.cs (Delegate.VerifyMethod): Call
TypeManager.GetParameterData() after method inference, not before.

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

19 years agoDisable gmcs for now, revert this when it builds again
Dick Porter [Tue, 22 Mar 2005 15:26:51 +0000 (15:26 -0000)]
Disable gmcs for now, revert this when it builds again

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

19 years agoSmall fix.
Martin Baulig [Tue, 22 Mar 2005 15:26:40 +0000 (15:26 -0000)]
Small fix.

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

19 years agoTue Mar 22 16:35:57 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 15:11:23 +0000 (15:11 -0000)]
Tue Mar 22 16:35:57 CET 2005 Paolo Molaro <lupus@ximian.com>

* icall.c: speedup and fix leaks in GetMethodsByName and
GetPropertiesByName.

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

19 years agoTue Mar 22 16:34:29 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 15:09:40 +0000 (15:09 -0000)]
Tue Mar 22 16:34:29 CET 2005 Paolo Molaro <lupus@ximian.com>

* reflection.c: some locking fixes.

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

19 years agoTue Mar 22 16:28:48 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 15:05:01 +0000 (15:05 -0000)]
Tue Mar 22 16:28:48 CET 2005 Paolo Molaro <lupus@ximian.com>

* mini.c: fix tail recursion elimination (see test in bug#73936).

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

19 years agoTue Mar 22 15:13:54 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Mar 2005 13:50:05 +0000 (13:50 -0000)]
Tue Mar 22 15:13:54 CET 2005 Paolo Molaro <lupus@ximian.com>

* metadata.c: added missing break in case statement.

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

19 years agoAdded files I forgot to commit.
Jonathan Chambers [Tue, 22 Mar 2005 13:40:25 +0000 (13:40 -0000)]
Added files I forgot to commit.

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

19 years agoAdded items needed for PropertyGrid; CategoryGridEntry.cs, PropertyGridEntry.cs,...
Jonathan Chambers [Tue, 22 Mar 2005 13:29:53 +0000 (13:29 -0000)]
Added items needed for PropertyGrid; CategoryGridEntry.cs, PropertyGridEntry.cs, and PropertyGridTextBox.cs

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

19 years agoUpdated PropertyGrid and related items.
Jonathan Chambers [Tue, 22 Mar 2005 13:28:24 +0000 (13:28 -0000)]
Updated PropertyGrid and related items.

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

19 years ago2005-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 22 Mar 2005 12:52:07 +0000 (12:52 -0000)]
2005-03-22  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.LookupMemberCache): Add support for
generic instances.

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

19 years ago2004-03-22 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 22 Mar 2005 12:38:52 +0000 (12:38 -0000)]
2004-03-22  Jordi Mas i Hernandez <jordi@ximian.com>

* TestColorMatrix.cs: added test case
* TestImageAttributes.cs: added test case

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

19 years agofixes System.Drawing tests
Jordi Mas i Hernandez [Tue, 22 Mar 2005 12:34:47 +0000 (12:34 -0000)]
fixes System.Drawing tests

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 12:32:31 +0000 (12:32 -0000)]
2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* IdPattern.cs, LocationPathPattern.cs :
  Use XsltCompiledContext.GetNavCache() that returns reusable
  navigator cache for each pattern, to avoid Clone() and not to leave
  reference to already-done instance navigator.

* XslTransformProcessor.cs : now it looks safe to remove SetContext()
  from each EvaluateXXX() methods.
* MsxslScriptManager.cs : not to leave reference to stylesheet
  navigator, pass current node to Compile().
* XslCompiledContext.cs : Added GetNavCache() that returns reusable
  navigator cache for each pattern, to avoid Clone() and not to leave
  reference to already-done instance navigator.

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

19 years agoFix for 'MyClass' instance expression
Satya Sudha K [Tue, 22 Mar 2005 11:11:12 +0000 (11:11 -0000)]
Fix for 'MyClass' instance expression

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

19 years ago * RowUpdatedEventArgs.cs: if custom error is not set, throw a
Sureshkumar T [Tue, 22 Mar 2005 11:09:19 +0000 (11:09 -0000)]
* RowUpdatedEventArgs.cs: if custom error is not set, throw a
default error.

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

19 years agonew error tests
Marek Safar [Tue, 22 Mar 2005 11:01:33 +0000 (11:01 -0000)]
new error tests

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

19 years ago2005-03-22 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 22 Mar 2005 10:59:21 +0000 (10:59 -0000)]
2005-03-22  Marek Safar  <marek.safar@seznam.cz>

* assign.cs (Assign.DoResolve): Check for CS1717 when
source and target are same (uses Equals).

* expression.cs (LocalVariableReference, ParameterReference,
This): Implemented Equals, GetHashCode.

* statement.cs (Block.GetParameterReference): Removed useless
local variable.

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

19 years ago2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 22 Mar 2005 10:58:48 +0000 (10:58 -0000)]
2005-03-22  Sureshkumar T  <tsureshkumar@novell.com>

* DbDataAdapter.cs: Update (): update the rows based on the
UpdateRowSource property. Process further based on the
RowUpdatedEvent handler argument's Status property.

Fixes bug #73587. Thanks to mono@rankweg.ch (Ingo Bauersachs) for
bug report and patch.

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

19 years agoOooops, typo.
Martin Baulig [Tue, 22 Mar 2005 10:58:31 +0000 (10:58 -0000)]
Oooops, typo.

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

19 years agoAdded System.Runtime.CompilerServices.FixedBufferAttribute.
Martin Baulig [Tue, 22 Mar 2005 10:57:35 +0000 (10:57 -0000)]
Added System.Runtime.CompilerServices.FixedBufferAttribute.

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

19 years agoAdd System.Runtime.CompilerServices.CompilerGeneratedAttribute.
Martin Baulig [Tue, 22 Mar 2005 10:55:41 +0000 (10:55 -0000)]
Add System.Runtime.CompilerServices.CompilerGeneratedAttribute.

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

19 years agoFix cs0128.cs
Raja R Harinath [Tue, 22 Mar 2005 10:36:42 +0000 (10:36 -0000)]
Fix cs0128.cs
* statement.cs (Block.AddVariable): Ensure that we skip implicit
blocks before deciding whether the error is cs0136 or cs0128.

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

19 years ago* cs-parser.jay: Pass MemberName to RootContext.Tree.RecordDecl.
Raja R Harinath [Tue, 22 Mar 2005 10:30:18 +0000 (10:30 -0000)]
* cs-parser.jay: Pass MemberName to RootContext.Tree.RecordDecl.
(using_alias_directive, using_namespace_directive): Pass
MemberName, not an expression to Namespace.UsingAlias and
Namespace.Using.
(MakeName): Use the MemberName of the namespace.
* namespace.cs (Namespace.MemberName): New.
(UsingEntry.UsingEntry): Take a MemberName, not an expression.
(AliasEntry.AliasEntry, Namespace.Using, Namespace.UsingAlias):
Likewise.
* decl.cs (MemberName.Name): Make readonly.
(MemberName.FromDotted): New "constructor".
(MemberName.Equals, MemberName.GetHashCode): Implement overrides.
(MemberCore.Name): Compute from MemberName on demand.
(MemberCore.SetMemberName): Provide a way to change the
MemberName.
(MemberCore.AddToContainer): Don't take a fullname parameter.
* class.cs (TypeContainer.AddToMemberContainer): Don't add the
fully qualified name of the container to the member name.
(TypeContainer.AddToTypeContainer): Use a fully qualified name
only if the type is a member of the root container.
(TypeContainer.AddMethod, TypeContainer.AddProperty): Use
MemberName.Left rather than searching for an embedded ".".
(PartialContainer.CreatePart): Update to changes in RootContext.
(MemberBase.ShortName): Turn into a property.  Use
MemberCore.SetMemberName.
(MemberBase.ExplicitInterfaceName): Remove.
(MemberBase.UpdateMemberName): Remove.
(AbstractPropertyEventMethod.UpdateName): Use SetMemberName.
(PropertyBase.SetMemberName): New override.
* tree.cs (Tree.RecordDecl): Take a MemberName and use it as hash key.
(Tree.GetDecl): New.
(Tree.AllDecls): Rename from Decls.
* attribute.cs, enum.cs, report.cs: Update to changes.
* driver.cs (MainDriver): Use MemberName.FromDotted on
RootContext.MainClass.

This patch uses MemberName more pervasively, and avoids allocating a
lot of memory to string concats.

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

19 years ago**** Merged r41134-r41268 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:27:54 +0000 (10:27 -0000)]
**** Merged r41134-r41268 from MCS ****

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

19 years ago2005-03-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 22 Mar 2005 10:27:14 +0000 (10:27 -0000)]
2005-03-22  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_runtime_invoke): Add support for
typedbyref return values. Fixes #73941.

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

19 years ago**** Merged r41091-41093 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:26:40 +0000 (10:26 -0000)]
**** Merged r41091-41093 from MCS ****

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

19 years ago**** Merged r40984-r41087 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:22:36 +0000 (10:22 -0000)]
**** Merged r40984-r41087 from MCS ****

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

19 years ago**** Merged r40973-r40980 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:20:50 +0000 (10:20 -0000)]
**** Merged r40973-r40980 from MCS ****

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

19 years ago**** Merged r40971 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:18:00 +0000 (10:18 -0000)]
**** Merged r40971 from MCS ****

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

19 years ago**** Merged r40732-r40872 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:12:21 +0000 (10:12 -0000)]
**** Merged r40732-r40872 from MCS ****

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

19 years ago**** Merged r40699 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:10:27 +0000 (10:10 -0000)]
**** Merged r40699 from MCS ****

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

19 years ago**** Merged r40625 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:07:30 +0000 (10:07 -0000)]
**** Merged r40625 from MCS ****

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

19 years ago**** Merged r40511-r40612 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:05:55 +0000 (10:05 -0000)]
**** Merged r40511-r40612 from MCS ****

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

19 years agoColorMatrix usage sample
Jordi Mas i Hernandez [Tue, 22 Mar 2005 10:03:03 +0000 (10:03 -0000)]
ColorMatrix usage sample

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

19 years ago**** Merged r40464 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 10:01:15 +0000 (10:01 -0000)]
**** Merged r40464 from MCS ****

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

19 years ago**** Merged r40457-r40460 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 09:59:34 +0000 (09:59 -0000)]
**** Merged r40457-r40460 from MCS ****

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

19 years ago**** Merged r40402-r40410 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 09:58:37 +0000 (09:58 -0000)]
**** Merged r40402-r40410 from MCS ****

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

19 years ago**** Merged r40327 from MCS ****
Martin Baulig [Tue, 22 Mar 2005 09:54:25 +0000 (09:54 -0000)]
**** Merged r40327 from MCS ****

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

19 years agoPatch for reducing conflicts in grammar - by Sudharsan V
Satya Sudha K [Tue, 22 Mar 2005 09:51:00 +0000 (09:51 -0000)]
Patch for reducing conflicts in grammar - by Sudharsan V

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

19 years ago2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 22 Mar 2005 09:19:13 +0000 (09:19 -0000)]
2005-03-22  Sureshkumar T  <tsureshkumar@novell.com>
            Appsamy <appasamy@rediffmail.com>

* libodbc.cs (System.Data.Odbc): Added enum FieldIdentifier. Added
library functions SQLPrimaryKeys, SQLBindCol and SQLColAttribute.

* OdbcDataReader.cs: Implemented GetPrimaryKeys to get the primary
keys associated with resultset using SQLPrimaryKeys.

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

19 years agomark internal for SQL_C_TYPE
Sureshkumar T [Tue, 22 Mar 2005 09:12:02 +0000 (09:12 -0000)]
mark internal for SQL_C_TYPE

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

19 years agoDirectorySearcher.cs :
Boris Kirzner [Tue, 22 Mar 2005 07:44:20 +0000 (07:44 -0000)]
DirectorySearcher.cs :
- ClientTimeout and ServerPageTimeLimit initialized to 1 second.
- SizeLimit initialized to 0.
- Setting SizeLimit to negative value throws an exception.
- Added private variable for ServerTime Limit.
- Avoid infinite loop in CacheResults.
- Removed emptycol, search result lazy evaluated intead of this.
- If the search did not return results, FindOne() should returns null.
- ADsPath property always loaded, or created from DN.

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:42:14 +0000 (07:42 -0000)]
2005-03-22  Atsushi Enomoto <atsushi@ximian.com>

* xslttest.cs, alltest.cs : Now that xsl:key got improved, there is
  no need to skip those tests.

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

19 years ago2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:39:29 +0000 (07:39 -0000)]
2004-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* Compiler.cs : Now it holds XPath parser and XSLT pattern parser.
* XslKey.cs : Use XSLT pattern parser for match.
  UsePattern is now "Use" (it is not a pattern).
  Reimplemented Evaluate() to make full use of index table.
  Added Matches() to handle shorter match evaluation. For const value
  for key (e.g. key patterns), it could avoid Evaluate().
* XsltCompiledContext.cs : Added MatchesKey() that just delegates to
  new KeyIndexTable.Matches().
* XslFunctions.cs : Added PatternMatches() that just delegates to new
  XsltCompiledContext.MatchesKey().

* Pattern.cs : Pattern.Compile() now uses XSLT pattern parser instead
  of XPath parser.
* KeyPattern.cs : Matches() now just delegates to XsltKey.MatchesKey().

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

19 years agoWhen adding new entry, do not set "objectclass" property to include schemaClassName...
Boris Kirzner [Tue, 22 Mar 2005 07:31:48 +0000 (07:31 -0000)]
When adding new entry, do not set "objectclass" property to include schemaClassName value

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

19 years agoMade correction in few test-cases
Ritvik Mayank [Tue, 22 Mar 2005 07:29:11 +0000 (07:29 -0000)]
Made correction in few test-cases

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:27:59 +0000 (07:27 -0000)]
2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* GenericOutputter.cs : commented out warned fields.

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

19 years ago2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:26:41 +0000 (07:26 -0000)]
2004-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : now it creates XSLT pattern parser files from
  Parser.jay and Tokenizer.cs in System.Xml.XPath.

* Parser.jay, Tokenizer.cs : Now they are used as common code base for
  XPath parser and XSLT pattern parser. Makefile now creates two
  set of sources of them. (This change takes effect on the next change).

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:15:52 +0000 (07:15 -0000)]
2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* XslTransform.cs : commented out warned code.

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:10:40 +0000 (07:10 -0000)]
2005-03-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaChoice.cs : commented out warned code.
* XmlSchemaCollection.cs : removed warned code (now it all depends on
  XmlSchemaSet).

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:09:06 +0000 (07:09 -0000)]
2005-03-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlParserInput.cs,
  XmlNode.cs,
  XmlUrlResolver.cs,
  DTDValidatingReader.cs : removed/commented out those warned code.

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

19 years ago2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:07:05 +0000 (07:07 -0000)]
2005-03-22  Atsushi Enomoto <atsushi@ximian.com>

* XsdValidatingReader.cs : removed unused method which was warned.

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

19 years ago2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Mar 2005 07:04:18 +0000 (07:04 -0000)]
2004-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* DTMXPathDocumentBuilder.cs,
  DTMXPathDocumentWriter.cs,
  DTMXPathNavigator.cs,
  DTMXPathNode.cs : updated to be equivalent to DTMXPathNavigator2.
* DTMXPathDocumentBuilder2.cs :
  String pool is now under index based management. For nonAtomicIndex
  string, don't try all the entries the pool holds. It causes
  significant performance loss for large documents.
* DTMXPathDocument.cs,
  DTMXPathDocument2.cs : removed unused fields (warning elimination).

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

19 years ago2005-03-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 21 Mar 2005 19:00:42 +0000 (19:00 -0000)]
2005-03-21  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_output_basic_block): Add inline versions of
some fp functions in sse2 mode.

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

19 years agoDisable test-350 for GMCS.
Martin Baulig [Mon, 21 Mar 2005 18:19:29 +0000 (18:19 -0000)]
Disable test-350 for GMCS.

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

19 years ago**** Merged r39979-r40298 from MCS ****
Martin Baulig [Mon, 21 Mar 2005 18:14:39 +0000 (18:14 -0000)]
**** Merged r39979-r40298 from MCS ****

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

19 years ago**** Merged r39917-r39971 from MCS ****
Martin Baulig [Mon, 21 Mar 2005 18:11:45 +0000 (18:11 -0000)]
**** Merged r39917-r39971 from MCS ****

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

19 years ago**** Merged r39643-r39898 from MCS ****
Martin Baulig [Mon, 21 Mar 2005 12:38:38 +0000 (12:38 -0000)]
**** Merged r39643-r39898 from MCS ****

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

19 years ago**** Merged r39544-r39626 from MCS ****
Martin Baulig [Mon, 21 Mar 2005 12:35:00 +0000 (12:35 -0000)]
**** Merged r39544-r39626 from MCS ****

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

19 years ago2004-03-21 Jordi Mas i Hernadez <jordi@ximian.com>
Jordi Mas i Hernandez [Mon, 21 Mar 2005 11:21:50 +0000 (11:21 -0000)]
2004-03-21 Jordi Mas i Hernadez <jordi@ximian.com>

* ColorMatrix.cs: fixes Matrix00 init
* ImageAttributes.cs: fixes dispose method and signature

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

19 years agoImplementation of 'End' Statement which terminates execution immediately
Manjula GHM [Mon, 21 Mar 2005 11:19:41 +0000 (11:19 -0000)]
Implementation of 'End' Statement which terminates execution immediately

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

19 years agonew tests
Marek Safar [Mon, 21 Mar 2005 09:18:14 +0000 (09:18 -0000)]
new tests

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

19 years ago2005-03-21 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 21 Mar 2005 09:17:15 +0000 (09:17 -0000)]
2005-03-21  Marek Safar  <marek.safar@seznam.cz>

* class.cs (FixedField.Define): Check for CS1664 and more sanity
checks.

* expression.cs (ElementAccess.DoResolveLValue): Check for CS1708.

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

19 years agoMade small correction in the test
Ritvik Mayank [Mon, 21 Mar 2005 08:35:45 +0000 (08:35 -0000)]
Made small correction in the test

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

19 years ago2005-03-20 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 21 Mar 2005 02:21:36 +0000 (02:21 -0000)]
2005-03-20  Ben Maurer  <bmaurer@ximian.com>

* StringBuilder.cs (set_Length): If we set the length, we must
clobber the cached string.

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

19 years ago2005-03-21 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Sun, 20 Mar 2005 22:41:42 +0000 (22:41 -0000)]
2005-03-21  Nick Drochak <ndrochak@ieee.org>

* TypeBuilderTest.cs: Move asserts which fail on .NET to a new
test method and disable it on .NET.

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

19 years ago2005-03-20 Joshua Tauberer <tauberer@for.net>
Joshua Tauberer [Sun, 20 Mar 2005 22:33:36 +0000 (22:33 -0000)]
2005-03-20 Joshua Tauberer <tauberer@for.net>

    * Uri.cs: Some pedantic changes to the text of a few exceptions.

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

19 years agoDirectoryServicesDirectoryEntryTest.cs: Added DirectoryEntry_SchemaClassName test
Boris Kirzner [Sun, 20 Mar 2005 13:46:14 +0000 (13:46 -0000)]
DirectoryServicesDirectoryEntryTest.cs: Added DirectoryEntry_SchemaClassName test

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

19 years ago2005-03-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Mar 2005 09:44:18 +0000 (09:44 -0000)]
2005-03-20  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (emit_tls_get): Move tls handling into a separate helper function.

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

19 years ago2005-03-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 19 Mar 2005 21:29:44 +0000 (21:29 -0000)]
2005-03-19  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c: Add mono_get_jit_tls_key ().

* mini-x86.c: Enable fast TLS support on windows.

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

19 years ago * FileDialog.cs:
Alexander Olk [Sat, 19 Mar 2005 15:08:51 +0000 (15:08 -0000)]
* FileDialog.cs:
  - Removed unnecessary commented code
  - Fixed handling for entering the filename manually in the combobox

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

19 years ago2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Sat, 19 Mar 2005 13:44:31 +0000 (13:44 -0000)]
2005-03-19  Alexander Olk  <xenomorph2@onlinehome.de>

* FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works

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

19 years ago2005-03-18 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sat, 19 Mar 2005 04:34:45 +0000 (04:34 -0000)]
2005-03-18  Peter Bartok  <pbartok@novell.com>

* ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  them being touching the border

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

19 years ago * TextControl.cs: Quick hack to center text better
Peter Dennis Bartok [Sat, 19 Mar 2005 04:19:27 +0000 (04:19 -0000)]
* TextControl.cs: Quick hack to center text better

2005-03-18  Peter Bartok  <pbartok@novell.com>

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

19 years ago2005-03-18 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sat, 19 Mar 2005 02:56:09 +0000 (02:56 -0000)]
2005-03-18  Peter Bartok  <pbartok@novell.com>

* ControlPaint.cs:
  - Don't throw NotImplemented exceptions, just print a notice once
    instead (requested by Miguel). This makes running existing SWF
    apps a bit easier
* Control.cs:
  - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  - Added context menu trigger on right click
* Panel.cs: Trigger invalidate on resize
* StatusBar.cs:
  - Removed old double-buffer drawing
  - Added ResizeRedraw style to force proper update of statusbar
* ListView.cs:
  - Removed debug output
* ThemeWin32Classic.cs:
  - Fixed drawing of status bar, now draws Text property if there
    are no defined panels

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

19 years ago * ImageList.cs: When the image stream is set pull all the images
Jackson Harper [Sat, 19 Mar 2005 02:40:32 +0000 (02:40 -0000)]
* ImageList.cs: When the image stream is set pull all the images
from it.
* ImageListStreamer.cs: Implement reading image list streams.

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

19 years ago2005-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 19 Mar 2005 00:17:24 +0000 (00:17 -0000)]
2005-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Tds70.cs: turns out that sp_reset_connection procedure might not be
found ("Invalid object name 'sp_reset_connection'"). In this case, and
if we get a proper state ('Class' property in the SqlException), just
ignore the error.

* TdsConnectionPool.cs: if the connection cannot be reset, attemp to
disconnect it before losing the last reference to it.

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

19 years ago * ThemeWin32Classic.cs (DrawPictureBox):
Peter Dennis Bartok [Fri, 18 Mar 2005 21:24:23 +0000 (21:24 -0000)]
* ThemeWin32Classic.cs (DrawPictureBox):
  - Fixed calculations for centered drawing
  - Fixed drawing for normal mode, not scaling the image on normal

2005-03-18  Peter Bartok  <pbartok@novell.com>

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

19 years ago2005-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 18 Mar 2005 19:30:53 +0000 (19:30 -0000)]
2005-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateControlCompiler.cs: make typedesc.aspx work again.

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