Andrew Skiba [Tue, 9 Aug 2005 15:07:46 +0000 (15:07 -0000)]
refactor testcase, to make possible to check other properties
svn path=/trunk/mcs/; revision=48170
Sureshkumar T [Tue, 9 Aug 2005 13:57:41 +0000 (13:57 -0000)]
* OdbcDataReader.cs: GetSchemaTable (): set values for the column
attributes using SQLColAttribute. If SQLPrimaryKeys does not
yeild, try SQLStatistics. Optimized primary key logic.
* libodbc.cs: Added api SQLStatistics and constants.
svn path=/trunk/mcs/; revision=48167
Jordi Mas i Hernandez [Tue, 9 Aug 2005 13:57:16 +0000 (13:57 -0000)]
2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
* Menu.cs: fixes bug 75700
* MenuAPI.cs: fixes navigation issues
svn path=/trunk/mcs/; revision=48166
Gonzalo Paniagua Javier [Tue, 9 Aug 2005 12:50:59 +0000 (12:50 -0000)]
2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
Fixes bug #75697.
svn path=/trunk/mcs/; revision=48164
Atsushi Eno [Tue, 9 Aug 2005 12:32:48 +0000 (12:32 -0000)]
2005-08-09 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs,
MSCompatUnicodeTable.cs :
- Now IsIgnorable() is aggregated to be one invokation to check
completely ignorable, nonspacing and symbols.
- Introduced "already checked" flags for IndexOf() and LastIndexOf()
to skip sortkey binary check on the same characters. Significant
perf. improvement for such case as IndexOf("
AABCBABC...Z",'Z').
svn path=/trunk/mcs/; revision=48163
Gonzalo Paniagua Javier [Tue, 9 Aug 2005 12:09:06 +0000 (12:09 -0000)]
2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* mini.h: fix signature for mono_register_opcode_emulation.
svn path=/trunk/mono/; revision=48162
Gonzalo Paniagua Javier [Tue, 9 Aug 2005 11:42:01 +0000 (11:42 -0000)]
2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.c: if a work item in the thread pool has a callback that
catches a exception, don't propagate it after invoking the callback.
Fixes bug #75336.
svn path=/trunk/mono/; revision=48161
Andrew Skiba [Tue, 9 Aug 2005 11:33:20 +0000 (11:33 -0000)]
fix for different results message
svn path=/trunk/mcs/; revision=48160
Andrew Skiba [Tue, 9 Aug 2005 11:14:27 +0000 (11:14 -0000)]
Exclude not implemented destructor from TARGET_JVM
svn path=/trunk/mcs/; revision=48159
Umadevi S [Tue, 9 Aug 2005 10:48:31 +0000 (10:48 -0000)]
CheckedListBox.cs - simple fix for GetItemChecked.
svn path=/trunk/mcs/; revision=48158
Zoltan Varga [Tue, 9 Aug 2005 10:17:23 +0000 (10:17 -0000)]
2005-08-09 Zoltan Varga <vargaz@freemail.hu>
* mini.c: Get rid of most of the helper_sig_... constants using
mono_create_icall_signature ().
svn path=/trunk/mono/; revision=48157
Manjula GHM [Tue, 9 Aug 2005 09:59:06 +0000 (09:59 -0000)]
Add ParamArray keyword in relevant location
svn path=/trunk/mcs/; revision=48156
Andrew Skiba [Tue, 9 Aug 2005 09:44:28 +0000 (09:44 -0000)]
add ColorConverter.cs and ColorTranslator.cs to test sources list
svn path=/trunk/mcs/; revision=48155
Andrew Skiba [Tue, 9 Aug 2005 09:31:30 +0000 (09:31 -0000)]
fixes to pass tests committed in r48150
svn path=/trunk/mcs/; revision=48154
Joerg Rosenkranz [Tue, 9 Aug 2005 09:30:47 +0000 (09:30 -0000)]
2005-08-02 Joerg Rosenkranz <joergr@voelcker.com>
* TdsMetaParameter.cs: Send binary parameters with size > 8000
as image instead of varbinary. This fixes #75684.
svn path=/trunk/mcs/; revision=48153
Gert Driesen [Tue, 9 Aug 2005 09:15:37 +0000 (09:15 -0000)]
* IComponent.cs: Fixed Designer attribute to match MS.NET.
* DesignerAttribute.cs: DesignerBaseTypeName defaults to fullname of
IDesigner to match MS.NET.
svn path=/trunk/mcs/; revision=48152
Gert Driesen [Tue, 9 Aug 2005 08:44:10 +0000 (08:44 -0000)]
* EventLog.cs: Fixed Designer attribute to match MS.NET.
* ICollectData.cs: Added marshalling attribute to match MS.NET.
* PerformanceCounter.cs: Fixed Designer attribute to match MS.NET.
* Process.cs: Fixed Designer attribute to match MS.NET, modified
* ProcessModule.cs: Fixed Designer attribute to match MS.NET.
* ProcessThread.cs: Fixed Designer attribute to match MS.NET.
DesignerSerializationVisibility on StartInfo to match MS.NET, changed
Category attribute on Exited event to match MS.NET.
svn path=/trunk/mcs/; revision=48151
Andrew Skiba [Tue, 9 Aug 2005 07:49:04 +0000 (07:49 -0000)]
* ColorConverter.cs, ColorTranslator.cs: added
* TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new tests for convert to/from string
svn path=/trunk/mcs/; revision=48150
Sureshkumar T [Tue, 9 Aug 2005 06:46:05 +0000 (06:46 -0000)]
2005-08-09 Sureshkumar T <tsureshkumar@novell.com>
* OdbcParameter.cs: setBuffer (): allocate a short int buffer for
OdbcType.SmallInt. fixes bug #75600.
svn path=/trunk/mcs/; revision=48149
Zoltan Varga [Mon, 8 Aug 2005 20:02:20 +0000 (20:02 -0000)]
2005-08-08 Zoltan Varga <vargaz@freemail.hu>
* jit-icalls.c (helper_ldstr): New helper function.
* mini.c (get_basic_blocks): Set out_of_line for bblocks containing a throw.
* mini.c (mono_method_to_ir): If an LDSTR instruction is in a bblock with a
throw, load the string using a helper call instead of creating a string object.
* aot.c: Update after LDSTR changes.
* mini.h: Bump AOT file version.
svn path=/trunk/mono/; revision=48145
Kamil Skalski [Mon, 8 Aug 2005 19:37:46 +0000 (19:37 -0000)]
Remove implementation of ICollection<T> from System.Collections.Generic.Stack<T> and Queue<T>, since it is not longer present in MS.NET 2.0 Beta 2.
svn path=/trunk/mcs/; revision=48144
Gert Driesen [Mon, 8 Aug 2005 17:33:12 +0000 (17:33 -0000)]
* OleDbDataAdapter.cs: Fixed custom attributes to match MS.NET.
* OleDbCommand.cs: Fixed custom attributes to match MS.NET.
* OleDbParameter.cs: Fixed custom attribute to match MS.NET.
* OleDbException.cs: Added ErrorTypeConverter, assigned to ErrorCode
property to match MS.NET.
* OleDbConnection.cs: Fixed custom attributes to match MS.NET.
svn path=/trunk/mcs/; revision=48142
Gert Driesen [Mon, 8 Aug 2005 17:29:27 +0000 (17:29 -0000)]
* OdbcConnection.cs: Marked Init helper method private.
* OdbcCommand.cs: Marked BindParameters helper method private.
svn path=/trunk/mcs/; revision=48141
Gert Driesen [Mon, 8 Aug 2005 17:26:40 +0000 (17:26 -0000)]
* DbTypes.cs: Marked internal to fix public API.
svn path=/trunk/mcs/; revision=48140
Gert Driesen [Mon, 8 Aug 2005 17:25:01 +0000 (17:25 -0000)]
* DataView.cs: Changed accessibility of dataTable, rowState and
rowCache field to internal to fix public API. Assigned TypeConverter
to Table property.
* ForeignKeyConstraint.cs: IsConstraintViolated is now internal.
* Constraint.cs: IsConstraintViolated is now internal.
* UniqueConstraint.cs: IsConstraintViolated is now internal.
svn path=/trunk/mcs/; revision=48139
Gert Driesen [Mon, 8 Aug 2005 17:04:33 +0000 (17:04 -0000)]
* CompareInfo.cs: Marked UseManagedCollation internal to have API
match that of MS.NET.
svn path=/trunk/mcs/; revision=48138
Konstantin Triger [Mon, 8 Aug 2005 16:21:44 +0000 (16:21 -0000)]
access modifier
svn path=/trunk/mcs/; revision=48137
Konstantin Triger [Mon, 8 Aug 2005 16:13:38 +0000 (16:13 -0000)]
Refactoring
svn path=/trunk/mcs/; revision=48136
Konstantin Triger [Mon, 8 Aug 2005 16:12:40 +0000 (16:12 -0000)]
Implemented AddBeziers
svn path=/trunk/mcs/; revision=48135
Gert Driesen [Mon, 8 Aug 2005 15:52:12 +0000 (15:52 -0000)]
* Installer.cs: Browsable must be true on Parent.
svn path=/trunk/mcs/; revision=48134
Vladimir Krasnov [Mon, 8 Aug 2005 15:50:26 +0000 (15:50 -0000)]
Pen.cs: Added LineCaps and LineJoin tests
Image.cs: Added png interop test
Added test images bitmap_gh.png, bitmap_net.png
svn path=/trunk/mcs/; revision=48133
Vladimir Krasnov [Mon, 8 Aug 2005 15:42:08 +0000 (15:42 -0000)]
svn path=/trunk/mcs/; revision=48132
Andrew Skiba [Mon, 8 Aug 2005 15:34:50 +0000 (15:34 -0000)]
added ChangeLog
svn path=/trunk/mcs/; revision=48131
Vladimir Krasnov [Mon, 8 Aug 2005 15:24:47 +0000 (15:24 -0000)]
Graphics.jvm.cs: Fixed DrawPolygon
svn path=/trunk/mcs/; revision=48130
Vladimir Krasnov [Mon, 8 Aug 2005 15:17:58 +0000 (15:17 -0000)]
GraphicsPath.jvm.cs: Fixed AddPolygon methods
svn path=/trunk/mcs/; revision=48129
Gert Driesen [Mon, 8 Aug 2005 14:16:24 +0000 (14:16 -0000)]
* SortKey.cs: Marked Serializable to match MS.NET.
svn path=/trunk/mcs/; revision=48127
Konstantin Triger [Mon, 8 Aug 2005 14:15:48 +0000 (14:15 -0000)]
Refactoring
svn path=/trunk/mcs/; revision=48126
Jordi Mas i Hernandez [Mon, 8 Aug 2005 14:07:47 +0000 (14:07 -0000)]
2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBoxTest.cs: new tests for properties, exceptions, and colletions
* ListBoxTest.cs: new tests for properties, exceptions, and colletionss
svn path=/trunk/mcs/; revision=48125
Jordi Mas i Hernandez [Mon, 8 Aug 2005 13:59:06 +0000 (13:59 -0000)]
2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: Serveral fixes
* ListBox.cs: Serveral fixes
svn path=/trunk/mcs/; revision=48124
Zoltan Varga [Mon, 8 Aug 2005 13:35:25 +0000 (13:35 -0000)]
2005-08-08 Zoltan Varga <vargaz@freemail.hu>
* aot.c: Save class size info into the AOT file. Print more statistics during
compilation.
* mini.h: Bump AOT file version.
svn path=/trunk/mono/; revision=48123
Zoltan Varga [Mon, 8 Aug 2005 13:27:25 +0000 (13:27 -0000)]
2005-08-08 Zoltan Varga <vargaz@freemail.hu>
* class.c (class_compute_field_layout): Rename this to mono_class_setup_fields.
* class-internals.h (MonoCachedClassInfo): Add some new fields.
* class.c (mono_class_init): Load field info lazily in the AOT case.
svn path=/trunk/mono/; revision=48122
Zoltan Varga [Mon, 8 Aug 2005 13:21:14 +0000 (13:21 -0000)]
2005-08-08 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (mono_image_load_module): Fix error checking. Fixes #75660.
svn path=/trunk/mono/; revision=48121
Sureshkumar T [Mon, 8 Aug 2005 13:02:16 +0000 (13:02 -0000)]
2005-08-08 Sureshkumar T <tsureshkumar@novell.com>
* OdbcDataReader.cs: Implemented Dispose pattern. Cache
schematable for same result set. don't free command's statements
if the command is prepared.
* OdbcCommand.cs:
- Implemented Dispose pattern
- Streamlined the allocation and de-allocation of statement
handles.
svn path=/trunk/mcs/; revision=48120
Sureshkumar T [Mon, 8 Aug 2005 11:48:14 +0000 (11:48 -0000)]
* OdbcConnection.cs: Open (): set disposed to false so that close
will be called in Dispose.
svn path=/trunk/mcs/; revision=48119
Sureshkumar T [Mon, 8 Aug 2005 11:46:00 +0000 (11:46 -0000)]
2005-08-08 Sureshkumar T <tsureshkumar@novell.com>
* OdbcCommand.cs: Prepare (): Split SQLPrepare and SQLBind so that
already prepared statements can be reused with new parameter
values. ExecSQL (): create new statement handle, if not prepared
and there are no parameters. if there are parameters, prepare and
use.
svn path=/trunk/mcs/; revision=48118
Atsushi Eno [Mon, 8 Aug 2005 11:43:38 +0000 (11:43 -0000)]
2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaComplexType.cs : Fixed ValidateTypeDerivationOK (complex)
that missed primitive simple types as base types (BaseXmlSchemaType
is not working fine; it is the actual culprit to be fixed).
* XmlSchemaUtil.cs,
XmlSchemaAttributeGroup.cs,
XmlSchemaComplexType.cs :
fixed XmlSchemaUtil.ValidateAttributesResolved(). If there is a
corresponding attribute definition in the derived extension type,
then it should be allowed.
svn path=/trunk/mcs/; revision=48117
Gert Driesen [Mon, 8 Aug 2005 11:41:22 +0000 (11:41 -0000)]
* CollectionTest.cs: Added tests for IList implementation. No longer
inherit from Assertion. Fixed tests to pass on MS.NET 1.x and 2.0.
* Collection.cs: Various fixes to match the MS.NET IList implementation;
IEnumerator.Current returns null if MoveNext has not been called on .NET 2.0.
IList index-based members use first entry if -1 is specified as index value
(and there's at lease one entry).
svn path=/trunk/mcs/; revision=48116
Florian Gross [Mon, 8 Aug 2005 10:06:25 +0000 (10:06 -0000)]
Imported tests
svn path=/trunk/mcs/; revision=48115
Florian Gross [Mon, 8 Aug 2005 10:00:06 +0000 (10:00 -0000)]
Imported tests
svn path=/trunk/mcs/; revision=48114
Florian Gross [Mon, 8 Aug 2005 09:54:39 +0000 (09:54 -0000)]
Imported tests
svn path=/trunk/mcs/; revision=48113
Konstantin Triger [Mon, 8 Aug 2005 09:41:13 +0000 (09:41 -0000)]
Refactoring
svn path=/trunk/mcs/; revision=48112
Konstantin Triger [Mon, 8 Aug 2005 09:29:26 +0000 (09:29 -0000)]
Fix AddLines
svn path=/trunk/mcs/; revision=48111
Konstantin Triger [Mon, 8 Aug 2005 08:49:11 +0000 (08:49 -0000)]
Fix AddArc/AddPie
svn path=/trunk/mcs/; revision=48110
Andrew Skiba [Mon, 8 Aug 2005 08:34:16 +0000 (08:34 -0000)]
Move tests projects to the parent dir and include in them Mono tests.
svn path=/trunk/mcs/; revision=48109
Vladimir Krasnov [Mon, 8 Aug 2005 08:11:26 +0000 (08:11 -0000)]
svn path=/trunk/mcs/; revision=48108
Vladimir Krasnov [Mon, 8 Aug 2005 08:06:25 +0000 (08:06 -0000)]
Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
svn path=/trunk/mcs/; revision=48107
Andrew Skiba [Mon, 8 Aug 2005 08:01:04 +0000 (08:01 -0000)]
Add test sources
svn path=/trunk/mcs/; revision=48106
Atsushi Eno [Mon, 8 Aug 2005 07:32:55 +0000 (07:32 -0000)]
2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
* README, xmltest.cs : it's outdated now.
svn path=/trunk/mcs/; revision=48105
Gonzalo Paniagua Javier [Mon, 8 Aug 2005 07:18:55 +0000 (07:18 -0000)]
2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Assembly.cs: made GetManifestResourceInternal internal. Fixes the
build.
svn path=/trunk/mcs/; revision=48104
Atsushi Eno [Mon, 8 Aug 2005 06:19:42 +0000 (06:19 -0000)]
2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
* corlib.dll.sources : added managed collation classes
* Makefile : added resources to build.
* resources : new directory for collation table resources.
* String.cs : (StartsWith) compared string lengths are not always the
same in culture-sensitive comparison.
* CompareInfo.cs :
Added managed collation support. It won't be activated unless you
explicitly set environment MONO_USE_MANAGED_COLLATION=yes.
* create-mscompat-collation-table.cs,
Makefile : changed resources output directory.
svn path=/trunk/mcs/; revision=48103
Gonzalo Paniagua Javier [Mon, 8 Aug 2005 06:06:25 +0000 (06:06 -0000)]
2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: added missing colon after the line,column
parenthesis in the regex that parses the errors to make this work with
HEAD mcs.
svn path=/trunk/mcs/; revision=48102
Ankit Jain [Mon, 8 Aug 2005 04:05:17 +0000 (04:05 -0000)]
* PEAPI.cs (CodeBlock): Set maxCodeSize to 255 instead of 256 for checking
Fat format.
(CILInstructions.CheckCode): Use 255 instead of 256 for checking Fat format.
svn path=/trunk/mcs/; revision=48099
Ankit Jain [Mon, 8 Aug 2005 03:45:09 +0000 (03:45 -0000)]
* ExternTypeRef.cs (ExternTypeRef.Clone): Use full_name instead of FullName
to avoid cloning modifiers (like []).
svn path=/trunk/mcs/; revision=48098
Ankit Jain [Mon, 8 Aug 2005 03:40:16 +0000 (03:40 -0000)]
In ilasm/codegen:
2005-08-08 Ankit Jain <jankit@novell.com>
* CodeGen.cs (CodeGen.entry_point): New bool field.
(CodeGen.HasEntryPoint): New. Property to mark that the assembly
has an entrypoint.
(CodeGen.Write): Throw Exception if an EXE has been requested but the
source file has no entrypoint defined.
In ilasm/parser:
2005-08-08 Ankit Jain <jankit@novell.com>
* ILParser.jay (method_decl | D_ENTRYPOINT): Set codegen.HasEntryPoint
to true.
In class/PEAPI:
2005-08-08 Ankit Jain <jankit@novell.com>
* PEAPI.cs (FileImage.WriteCLIHeader): Move the check for no entrypoint
in case of an EXE to ilasm/codegen/CodeGen.cs to avoid creating unnecessary
.exe.
svn path=/trunk/mcs/; revision=48097
Zoltan Varga [Sun, 7 Aug 2005 22:40:50 +0000 (22:40 -0000)]
2005-08-08 Zoltan Varga <vargaz@freemail.hu>
* tramp-amd64.c (mono_arch_nullify_class_init_trampoline): Fix
ordering of disasm cases. Fixes #74957.
svn path=/trunk/mono/; revision=48095
Miguel de Icaza [Sun, 7 Aug 2005 22:25:18 +0000 (22:25 -0000)]
Further fixes from Michael
svn path=/trunk/mcs/; revision=48093
Gert Driesen [Sun, 7 Aug 2005 18:49:51 +0000 (18:49 -0000)]
* AssemblyInfo.cs: Fixed attributes to match MS.NET.
svn path=/trunk/mcs/; revision=48091
Miguel de Icaza [Sun, 7 Aug 2005 18:32:53 +0000 (18:32 -0000)]
2005-08-07 Michael Hutchinson <m.j.hutchinson@dur.ac.uk>
Patch from Michael Hutchinson to make the aspnet editor work.
* ReflectionPropertyDescriptor.cs: Create transactions and raise
component change events for all IComponents, not just base
implementation 'Component' derivatives.
* MemberDescriptor.cs: Make members 'Browsable' by default, as per
MS spec.
* PropertyDescriptor.cs: Changed default
DesignerSerializationVisibility value to Visible rather than
Hidden, as per MS spec.
svn path=/trunk/mcs/; revision=48090
Andrew Skiba [Sun, 7 Aug 2005 17:16:21 +0000 (17:16 -0000)]
many new testcases in Color
svn path=/trunk/mcs/; revision=48089
Andrew Skiba [Sun, 7 Aug 2005 17:15:10 +0000 (17:15 -0000)]
GetHashCode and ToString tests added
svn path=/trunk/mcs/; revision=48088
Andrew Skiba [Sun, 7 Aug 2005 17:10:46 +0000 (17:10 -0000)]
add new testcases for Rectangle and RectangleF
svn path=/trunk/mcs/; revision=48087
Andrew Skiba [Sun, 7 Aug 2005 17:07:48 +0000 (17:07 -0000)]
* Rectangle.cs: Intersect fixed
* RectandleF.cs: Intersect and Inflate fixed
svn path=/trunk/mcs/; revision=48086
Konstantin Triger [Sun, 7 Aug 2005 17:07:28 +0000 (17:07 -0000)]
Fix AddCurve implementation and cosmetic changes.
svn path=/trunk/mcs/; revision=48085
Andrew Skiba [Sun, 7 Aug 2005 16:56:28 +0000 (16:56 -0000)]
* TestPoint.cs: GetHashCode and ToString tests added
* TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
tests improved
svn path=/trunk/mcs/; revision=48084
Andrew Skiba [Sun, 7 Aug 2005 16:51:59 +0000 (16:51 -0000)]
Produce same ToString result as dotnet.
svn path=/trunk/mcs/; revision=48083
Andrew Skiba [Sun, 7 Aug 2005 16:20:53 +0000 (16:20 -0000)]
* GraphicsPath.cs: BasicShape as a base class and cosmetic changes
svn path=/trunk/mcs/; revision=48082
Konstantin Triger [Sun, 7 Aug 2005 15:36:34 +0000 (15:36 -0000)]
removed source control dependency
svn path=/trunk/mcs/; revision=48081
Andrew Skiba [Sun, 7 Aug 2005 14:55:38 +0000 (14:55 -0000)]
* Color.cs: GetHashCode is affected by Name, too
svn path=/trunk/mcs/; revision=48080
Andrew Skiba [Sun, 7 Aug 2005 14:39:35 +0000 (14:39 -0000)]
Don't rethrow exceptions, keep the original call stack.
svn path=/trunk/mcs/; revision=48079
Vladimir Krasnov [Sun, 7 Aug 2005 11:21:29 +0000 (11:21 -0000)]
Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
svn path=/trunk/mcs/; revision=48077
Vladimir Krasnov [Sun, 7 Aug 2005 09:53:21 +0000 (09:53 -0000)]
Fixed DrawLines, DrawPolygon
svn path=/trunk/mcs/; revision=48076
Andrew Skiba [Sun, 7 Aug 2005 09:31:03 +0000 (09:31 -0000)]
* DrawingTest.cs: add nunit assert to Compare functions
* DrawingTestHelper_java.vmwcsproj, DrawingTestHelper.csproj: add nunit.framework
reference
svn path=/trunk/mcs/; revision=48075
Gert Driesen [Sun, 7 Aug 2005 08:57:05 +0000 (08:57 -0000)]
* XmlSchema.cs: XmlElementAttribute, XmlAttributeAttribute and
DefaultValueAttribute corrections to match MS.NET.
* XmlSchemaAll.cs:
* XmlSchemaAnnotated.cs:
* XmlSchemaAnnotation.cs:
* XmlSchemaAppInfo.cs:
* XmlSchemaAttribute.cs:
* XmlSchemaAttributeGroup.cs:
* XmlSchemaChoice.cs:
* XmlSchemaComplexContent.cs:
* XmlSchemaComplexContentExtension.cs:
* XmlSchemaComplexContentRestriction.cs:
* XmlSchemaComplexType.cs:
* XmlSchemaDocumentation.cs:
* XmlSchemaElement.cs:
* XmlSchemaExternal.cs:
* XmlSchemaGroup.cs:
* XmlSchemaIdentityConstraint.cs:
* XmlSchemaImport.cs:
* XmlSchemaInclude.cs:
* XmlSchemaRedefine.cs:
* XmlSchemaSequence.cs:
* XmlSchemaSimpleContent.cs:
* XmlSchemaSimpleContentExtension.cs:
* XmlSchemaSimpleContentRestriction.cs:
* XmlSchemaSimpleType.cs:
* XmlSchemaSimpleTypeList.cs:
* XmlSchemaSimpleTypeRestriction.cs:
* XmlSchemaSimpleTypeUnion.cs:
* XmlSchemaXPath.cs:
svn path=/trunk/mcs/; revision=48074
Gert Driesen [Sun, 7 Aug 2005 08:48:11 +0000 (08:48 -0000)]
* AssemblyInfo.cs: Fixed AssemblyDescription to match MS.NET.
* Array.cs: Changed protected ctor to private. Fixes API compatibility
with MS.NET.
* RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* Type.cs: Added GetType method and implemented _Type interface.
Fixes API compatibility with MS.NET.
* corlib.dll.sources: Added System.Runtime.InteropServices/
TypeLibImportClassAttribute.cs.
* AssemblyBuilder.cs: Implement _AssemblyBuilder, CA fixes to correspond
with MS.NET
* ConstructorBuilder.cs: Implement _ConstructorBuilder, CA fixes to
correspond with MS.NET
* CustomAttributeBuilder.cs: Implement _CustomAttributeBuilder, CA
fixes to correspond with MS.NET
* EnumBuilder.cs: Implement _EnumBuilder, CA fixes to correspond with MS.NET
* EventBuilder.cs: Implement _EventBuilder, CA fixes to correspond with MS.NET
* FieldBuilder.cs: Implement _FieldBuilder, CA fixes to correspond with MS.NET
* LocalBuilder.cs: Implement _LocalBuilder, CA fixes to correspond with MS.NET
* MethodBuilder.cs: Implement _MethodBuilder, CA fixes to correspond
with MS.NET
* MethodRental.cs: CA fixes to correspond with MS.NET, implemented
_MethodRental.
* ModuleBuilder.cs: Implement _ModuleBuilder, CA fixes to correspond
with MS.NET
* ILGenerator.cs: Implement _ILGenerator, CA fixes to correspond with MS.NET
* ParameterBuilder.cs Implement _ParameterBuilder, CA fixes to correspond
with MS.NET
* PropertyBuilder.cs: Implement _PropertyBuilder, CA fixes to correspond
with MS.NET
* SignatureHelper.cs: Implement _SignatureHelper, CA fixes to correspond
with MS.NET
* TypeBuilder.cs: Implement _TypeBuilder, CA fixes to correspond with MS.NET
* DecimalConstantAttribute.cs: Only mark ctor not CLSCompliant on 2.0
profile to match MS.NET.
* Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
* ConstructorInfo.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _ConstructorInfo.
* EventInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented
_EventInfo.
* FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented
_FieldInfo.
* MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented
_MemberInfo.
* MethodBase.cs: Added GetType() method in 1.1 to match MS.NET, implemented
_MethodBase.
* MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented
_MethodInfo.
* PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented
_PropertyInfo.
* TypeAttributes.cs: CustomFormatMask and CustomFormatClass should only be
exposed in 2.0 profile.
svn path=/trunk/mcs/; revision=48073
Francisco Figueiredo Jr. [Sun, 7 Aug 2005 00:30:28 +0000 (00:30 -0000)]
2005-08-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* NpgsqlCommand.cs: Fixed problem when using commandtype.storedprocedure with command texts which have parameters with ' or any other value which needed to be escaped. Now they are properly handled. Thanks Dalibor (dalxxx at email dot com) for heads up and tests.
svn path=/trunk/mcs/; revision=48071
Francisco Figueiredo Jr. [Sun, 7 Aug 2005 00:29:43 +0000 (00:29 -0000)]
2005-08-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* NpgsqlCommand.cs: Fixed problem when using commandtype.storedprocedure with command texts which have parameters with ' or any other value which needed to be escaped. Now they are properly handled. Thanks Dalibor (dalxxx at email dot com) for heads up and tests.
svn path=/trunk/mcs/; revision=48070
Gert Driesen [Sat, 6 Aug 2005 14:25:42 +0000 (14:25 -0000)]
* mono-api-diff.cs: When multiple attributes of the same type
exist, then we must use a key that is composed of the attribute
type and key/value pairs for each property. Fixed line endings.
* mono-api-info.cs: target is not used for AttributeData. Removed
unused ctor and OutputAttributes overload.
svn path=/trunk/mcs/; revision=48062
Ritvik Mayank [Sat, 6 Aug 2005 12:43:02 +0000 (12:43 -0000)]
ListBoxTest.cs,ComboBoxTest.cs : Cleanup and enhancement
System.Windows.Forms_test.dll.sources : removed tests for controls which are feature incomplete
svn path=/trunk/mcs/; revision=48060
Gert Driesen [Sat, 6 Aug 2005 12:13:01 +0000 (12:13 -0000)]
* AssemblyInfo.cs: Fixed AssemblyDescription to match MS.NET.
* Array.cs: Changed protected ctor to private. Fixes API compatibility
with MS.NET.
* RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* Type.cs: Added GetType method and implemented _Type interface.
Fixes API compatibility with MS.NET.
* corlib.dll.sources: Added System.Runtime.InteropServices/
TypeLibImportClassAttribute.cs.
* _Activator.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
* _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _Attribute.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _MethodRental.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _Module.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
Added TypeLibImportClass attribute.
* _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
to match MS.NET. Added missing method to match MS.NET.
* _Thread.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* Marshal.cs: Removed MarshalAs attribute from parameter to fix
API compatibility with MS.NET.
* TypeLibImportClassAttribute.cs: Added.
* AssemblyBuilder.cs: Implement _AssemblyBuilder, CA fixes to
correspond with MS.NET
* ConstructorBuilder.cs: Implement _ConstructorBuilder, CA fixes to
correspond with MS.NET
* CustomAttributeBuilder.cs: Implement _CustomAttributeBuilder, CA
fixes to correspond with MS.NET
* EnumBuilder.cs: Implement _EnumBuilder, CA fixes to correspond with
MS.NET
* EventBuilder.cs: Implement _EventBuilder, CA fixes to correspond
with MS.NET
* FieldBuilder.cs: Implement _FieldBuilder, CA fixes to correspond
with MS.NET
* LocalBuilder.cs: Implement _LocalBuilder, CA fixes to correspond
with MS.NET
* MethodBuilder.cs: Implement _MethodBuilder, CA fixes to correspond
with MS.NET
* MethodRental.cs: CA fixes to correspond with MS.NET, implemented
_MethodRental.
* ModuleBuilder.cs: Implement _ModuleBuilder, CA fixes to correspond
with MS.NET
* ILGenerator.cs: Implement _ILGenerator, CA fixes to correspond
with MS.NET
* ParameterBuilder.cs Implement _ParameterBuilder, CA fixes to
correspond with MS.NET
* PropertyBuilder.cs: Implement _PropertyBuilder, CA fixes to
correspond with MS.NET
* SignatureHelper.cs: Implement _SignatureHelper, CA fixes to
correspond with MS.NET
* TypeBuilder.cs: Implement _TypeBuilder, CA fixes to correspond
with MS.NET
* DecimalConstantAttribute.cs: Only mark ctor not CLSCompliant on 2.0
profile to match MS.NET.
* Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
* ConstructorInfo.cs: Added GetType() method in 1.1 to match
MS.NET, implemented _ConstructorInfo.
* EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _EventInfo.
* FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _FieldInfo.
* MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _MemberInfo.
* MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _MethodBase.
* MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _MethodInfo.
* PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _PropertyInfo.
* TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
only be exposed in 2.0 profile.
svn path=/trunk/mcs/; revision=48059
Lluis Sanchez [Sat, 6 Aug 2005 12:01:13 +0000 (12:01 -0000)]
2005-08-06 Lluis Sanchez Gual <lluis@novell.com>
* XmlTypeMapping.cs: Added null check.
svn path=/trunk/mcs/; revision=48058
Ankit Jain [Sat, 6 Aug 2005 09:33:00 +0000 (09:33 -0000)]
* Makefile ($(the_il)): Add /dll switch.
svn path=/trunk/mcs/; revision=48057
Francisco Figueiredo Jr. [Fri, 5 Aug 2005 23:11:09 +0000 (23:11 -0000)]
2005-08-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* NpgsqlConnection.cs: Fixed documentation about User Id connection string key. Thanks peyn
at tlen dot pl for heads up. Fixes gborg 1388
svn path=/trunk/mcs/; revision=48050
Ritvik Mayank [Fri, 5 Aug 2005 17:55:39 +0000 (17:55 -0000)]
ButtonTest.cs, ImageListTest.cs, ControlEventTest.cs, LabelPropertyTest.cs, CheckBoxTest.cs, ListBoxEventTest.cs,
CheckBoxEventTest.cs, CheckedListBoxTest.cs, TextBoxTest.cs, CheckedListBoxEventTest.cs, FormTest.cs, MenuTest.cs,
FormEventTest.cs, GroupBoxTest.cs, ListViewTest.cs, ListViewEventTest.cs :
Cleanup, Ignored tests which need manual intervention, work still under progress.
svn path=/trunk/mcs/; revision=48045
Sureshkumar T [Fri, 5 Aug 2005 16:28:47 +0000 (16:28 -0000)]
Reset (): remove exec keyword
svn path=/trunk/mcs/; revision=48044
Sureshkumar T [Fri, 5 Aug 2005 14:59:55 +0000 (14:59 -0000)]
In System.Data.Common:
2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
* DbDataAdapter.cs:
- Update (): set parameter values only after getting the
appropriate command from command builder. Close reader only if it
is not closed before. Use parameter's SourceVersion. Whitespace
corrections to comply with standard.
In System.Data.SqlClient:
2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
* SqlCommandBuilder.cs: Set SourceVersion property to the created
parameters as it is used by the Adapter's Update method.
In System.Data.Odbc:
2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
* OdbcDataReader.cs: RecordsAffected: get value from command.
GetSchemaTable (): set IsExpression based on BaseTableName. set
AllowDBNull to false if the column is PK.
* OdbcCommand.cs: correct UpdatedRowSource is returned. whitespace
changes to conform to standard.
* OdbcCommandBuilder.cs: Implemented.
* OdbcParameter.cs: Direction is set to Input by default.
svn path=/trunk/mcs/; revision=48043
Jordi Mas i Hernandez [Fri, 5 Aug 2005 14:50:54 +0000 (14:50 -0000)]
* ComboBox.cs: Fixes FindString methods and GetItemHeight
* ListBox.cs: Fixes FindString methods
2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
svn path=/trunk/mcs/; revision=48042
Jordi Mas i Hernandez [Fri, 5 Aug 2005 13:24:31 +0000 (13:24 -0000)]
2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumnTest.cs: test fixes and enhancements
* GridTableStylesCollectionTest.cs: test fixes and enhancements
* DataGridTest.cs: test fixes and enhancements
* DataGridCellTest.cs: New unit test
* GridColumnStylesCollectionTest.cs: test fixes and enhancements
* DataGridTableStyleTest.cs: test fixes and enhancements
svn path=/trunk/mcs/; revision=48041
Satya Sudha K [Fri, 5 Aug 2005 13:09:16 +0000 (13:09 -0000)]
2005-08-05 Satya Sudha K <ksathyasudha@novell.com>
* Strings.cs : Minor fixes to a few functions
svn path=/trunk/mcs/; revision=48040
Rafael Teixeira [Fri, 5 Aug 2005 12:52:45 +0000 (12:52 -0000)]
2005-08-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions.Useful/CommonCompilerOptions.cs: fix some descriptions
svn path=/trunk/mcs/; revision=48039
Atsushi Eno [Fri, 5 Aug 2005 11:59:54 +0000 (11:59 -0000)]
2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaDataImporter.cs : When "dataset element" has identity
constraints, then first reserve constraints room for them and then
process elements, skipping pkey creation if there is already
reserved one. Fixed bug #75711.
svn path=/trunk/mcs/; revision=48038