mono.git
22 years ago2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 29 May 2002 18:48:37 +0000 (18:48 -0000)]
2002-05-29  Rodrigo Moya <rodrigo@ximian.com>

* libgda.cs: added static constructor.
(GdaClient): new static property to get the underlying GdaClient
object.

* OleDbConnection.cs: removed GDA initialization, which belongs to
the static 'libgda' class.

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

22 years ago2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 29 May 2002 17:46:32 +0000 (17:46 -0000)]
2002-05-29  Rodrigo Moya <rodrigo@ximian.com>

* libgda.cs: static class for libgda API calls.

* OleDbConnection.cs: implemented constructors.
(ConnectionString, Connectiontimeout, Database, State):
implemented class properties.
(BeginTransaction): implemented.

* OleDbTransaction.cs: implemented protected constructors.

* TestGDA.cs: simple test for libgda API.

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

22 years agoupdated docs
Miguel de Icaza [Wed, 29 May 2002 12:38:16 +0000 (12:38 -0000)]
updated docs

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

22 years agoTODO
Miguel de Icaza [Wed, 29 May 2002 12:37:43 +0000 (12:37 -0000)]
TODO

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

22 years ago2002-05-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 29 May 2002 12:23:45 +0000 (12:23 -0000)]
2002-05-28  Miguel de Icaza  <miguel@ximian.com>

* assign.cs (DoResolve): Forgot to do the implicit conversion to
the target type for indexers and properties.  Thanks to Joe for
catching this.

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

22 years ago*** empty log message ***
Dietmar Maurer [Wed, 29 May 2002 11:50:49 +0000 (11:50 -0000)]
*** empty log message ***

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

22 years ago2002-05-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 29 May 2002 11:49:57 +0000 (11:49 -0000)]
2002-05-29  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: bug fix in REMOTE_STIND_OBJ

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

22 years ago2002-05-29 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 29 May 2002 10:21:11 +0000 (10:21 -0000)]
2002-05-29  Nick Drochak  <ndrochak@gol.com>

* DecimalTest.cs: Use AssertEquals to get nice error report, and mark
each one with a unique message string so we know which one failed.

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

22 years ago2002-05-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 29 May 2002 09:53:30 +0000 (09:53 -0000)]
2002-05-29  Dietmar Maurer  <dietmar@ximian.com>

* invoke.c (arch_create_native_wrapper): handle pointers to value types

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

22 years ago2002-05-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 29 May 2002 07:12:57 +0000 (07:12 -0000)]
2002-05-29  Dietmar Maurer  <dietmar@ximian.com>

* helpers.h: use mono_ prefix for all functions

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

22 years ago2002-05-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 29 May 2002 07:08:01 +0000 (07:08 -0000)]
2002-05-29  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): fixed SIZEOF

* x86.brg: impl. LOCALLOC, INITBLK

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

22 years ago2002-5-27 DennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 28 May 2002 20:31:16 +0000 (20:31 -0000)]
2002-5-27 DennisHayes <dennish@raytek.com>
Check in for Paul Osman <paul.osman@sympatico.ca>
* Menu.cs
* Menu.MenuItemCollection.cs
* MenuItem.cs
* MessageBox.cs
* MonthCalendar.cs
* Stubbed and commented out
* MonthCalendar.cs has bad extra byte from old skeleton, need new corrected version.
* MonthCalendar.HitTestInfo.cs needs to be incorporated into MonthCalendar.
* Menu.MenuItemCollection.cs needs to be incorporated into Menu.cs.

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

22 years ago2002-5-27 DennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 28 May 2002 19:55:35 +0000 (19:55 -0000)]
2002-5-27 DennisHayes <dennish@raytek.com>
Check in for Paul Osman <paul.osman@sympatico.ca>
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* MonthCalendar.HitTestInfo.cs
* MouseEventArgs.cs
* NativeWindow.cs
* Stubbed and commented out
* NativeWindow.cs, MonthCalendar.HitTestInfo.cs, MouseEventArgs.cs,
* have bad extra byte from old skeleton, need new corrected version.
* MonthCalendar.HitTestInfo.cs needs to be incorporated into MonthCalendar.

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

22 years agoDennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 28 May 2002 19:31:49 +0000 (19:31 -0000)]
DennisHayes <dennish@raytek.com>
2002-5-27
Added delegates. All delegates in System.Windows.Forms done
* ColumnClickEventHandler.cs
* ContentsResizedEventHandler.cs
* ControlEventHandler.cs
* ConvertEventHandler.cs
* DateRangeEventHandler.cs
* DragEventHandler.cs
* DrawItemEventHandler.cs
* GiveFeedbackEventHandler.cs
* HelpEventHandler.cs
* InputLanguageChangedEventHandler.cs
* InputLanguageChangingEventHandler.cs
* InvalidateEventHandler.cs
* ItemChangedEventHandler.cs
* ItemCheckEventHandler.cs
* ItemDragEventHandler.cs
* KeyEventHandler.cs
* LabelEditEventHandler.cs
* LayoutEventHandler.cs
* LinkClickedEventHandler.cs
* LinkLabelLinkClickedEventHandler.cs

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

22 years agoDennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 28 May 2002 19:20:26 +0000 (19:20 -0000)]
DennisHayes <dennish@raytek.com>
2002-5-27
Added structs. All structs in System.Windows.Forms done
* BindingMemberInfo.cs
* DataGridCell.cs
* LinkArea.cs
* Message.cs
* Complete execpt for Message.cs GetLParam
* and
* BindingMemberInfo needs constructor.
* All need verification of hashcodes.

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

22 years ago2002-05-27 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 28 May 2002 19:13:30 +0000 (19:13 -0000)]
2002-05-27  Rodrigo Moya <rodrigo@ximian.com>

Started System.Data.OleDb provider, based on libgda.

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

22 years ago2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 28 May 2002 19:12:41 +0000 (19:12 -0000)]
2002-05-28  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.build: exclude System.Data.OleDb files.

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

22 years ago * DateTimeTest.cs: Added tests M01 to M03 to TestParseExact,
Lawrence Pit [Tue, 28 May 2002 19:04:23 +0000 (19:04 -0000)]
* DateTimeTest.cs: Added tests M01 to M03 to TestParseExact,
passing typeof this class as arg in property Suite.

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

22 years ago * MonoHttpDate.cs: added
Lawrence Pit [Tue, 28 May 2002 18:36:53 +0000 (18:36 -0000)]
* MonoHttpDate.cs: added
* HttpWebRequest.cs: using MonoHttpDate
* HttpWebResponse.cs: using MonoHttpDate
* DnsPermission.cs: correct XML output
* SocketPermission.cs: correct XML output

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

22 years ago2002-05-28 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 28 May 2002 12:23:00 +0000 (12:23 -0000)]
2002-05-28  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: impl. CKFINITE

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

22 years agoTue May 28 16:10:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 May 2002 10:24:55 +0000 (10:24 -0000)]
Tue May 28 16:10:49 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: fixed SIZEOF to work with typedef/typeref.

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

22 years agoUpdates and a test for structs with the .pack directive.
Paolo Molaro [Tue, 28 May 2002 10:23:29 +0000 (10:23 -0000)]
Updates and a test for structs with the .pack directive.

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

22 years agoTue May 28 16:02:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 May 2002 10:16:33 +0000 (10:16 -0000)]
Tue May 28 16:02:29 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.c: handle .pack directive.

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

22 years agoadded new test from Sergey
Dietmar Maurer [Tue, 28 May 2002 10:15:28 +0000 (10:15 -0000)]
added new test from Sergey

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

22 years ago2002-05-28 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Tue, 28 May 2002 10:07:13 +0000 (10:07 -0000)]
2002-05-28  Daniel Morgan <danmorg@sc.rr.com>

* Mono.Data.MySql
* Mono.Data.MySql/Mono.Data.MySql: add directories
for the Mono.Data.MySql assembly and namespace.  This
will contain the MySql .NET Data Provider which will use
C# bindings to libMySQL

* Mono.Data.MySql/Test.cs: added file to
test the C# bindings to MySQL

* Mono.Data.MySql/MySql.cs
* Mono.Data.MySql/Field.cs: added files
for the beginnings of C# bindings to MySQL

* Mono.Data.MySql/makefile: added file
to build the MySQL C# bindings on csc/Microsoft.NET

These C# bindings to the MySQL libMySQL.dll were created by
Brad Merrill <zbrad@cybercom.net>
and can be downloaded from
http://www.cybercom.net/~zbrad/DotNet/MySql/
and put into the Mono Class Library under the X11/MIT License
with Brad Merril's permission.

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

22 years ago2002-05-28 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 28 May 2002 08:54:55 +0000 (08:54 -0000)]
2002-05-28  Dietmar Maurer  <dietmar@ximian.com>

* metadata.c (mono_metadata_parse_signature): impl.

* jit.c (mono_analyze_stack): impl. CEE_CALLI

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

22 years agomade Version return an empty version for now.
Daniel Stodden [Tue, 28 May 2002 07:05:14 +0000 (07:05 -0000)]
made Version return an empty version for now.
users should not have to expect a nullref.

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

22 years agobig patch:
Daniel Stodden [Tue, 28 May 2002 06:59:57 +0000 (06:59 -0000)]
big patch:
- System.CodeDom: lotsa corrections
- System.CodeDom.Compiler: CodeGenerator about 80% complete
- Microsoft.CSharp: CSharpCodegenerator intro

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

22 years ago2002-05-28 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 28 May 2002 06:17:18 +0000 (06:17 -0000)]
2002-05-28  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg (JMP): impl. JMP opcode

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

22 years agoTue May 28 11:04:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 May 2002 05:18:41 +0000 (05:18 -0000)]
Tue May 28 11:04:46 CEST 2002 Paolo Molaro <lupus@ximian.com>

* object.c: initialize static fields with RVA data.

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

22 years agonew items; Updated the FAQ to reflect reality; Fixes to the Mono-RSS program
Miguel de Icaza [Mon, 27 May 2002 23:00:15 +0000 (23:00 -0000)]
new items;   Updated the FAQ to reflect reality;  Fixes to the Mono-RSS program

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

22 years agoadded top_srcdir to includes.
Daniel Stodden [Mon, 27 May 2002 22:56:20 +0000 (22:56 -0000)]
added top_srcdir to includes.
fixes vpath-builds wrt inclusion of mono/os/util.h

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

22 years agoUpdated copyright headers to the standard template
Miguel de Icaza [Mon, 27 May 2002 22:56:15 +0000 (22:56 -0000)]
Updated copyright headers to the standard template

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

22 years agoMoved public API documentation from the source files into the
Jonathan Pryor [Mon, 27 May 2002 22:00:30 +0000 (22:00 -0000)]
Moved public API documentation from the source files into the
/mcs/docs/apidocs/xml/en/System.Diagnostics/<class>.xml files.

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

22 years agoMoved public API documentation from source code into the appropriate XML
Jonathan Pryor [Mon, 27 May 2002 21:57:03 +0000 (21:57 -0000)]
Moved public API documentation from source code into the appropriate XML
files.

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

22 years agoWhen will I ever remember to add my new files before committing?
Jason Diamond [Mon, 27 May 2002 19:18:16 +0000 (19:18 -0000)]
When will I ever remember to add my new files before committing?

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

22 years agoIn System.Xml:
Jason Diamond [Mon, 27 May 2002 19:17:13 +0000 (19:17 -0000)]
In System.Xml:

* XmlDocumentNavigator.cs: Added file to directory.

* XmlNode.cs (CreateNavigator): Implemented.
(InnerText): Implemented.

* XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
throwing exception.
(Load(XmlReader)): Allow for namespace qualified attributes.

* XmlElement.cs: Implemented GetAttribute(string, string) and both
GetAttributeNode overloads.
(SetAttributeNode(XmlAttribute)): Implemented.

* XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
and RemoveNamedItem(string, string).

* XmlLinkedNode.cs (PreviousSibling): Implemented.

* XmlTextReader.cs: Added code to maintain the order of attributes as
they're parsed. XML doesn't require this but Microsoft's parser does it and
matching them makes testing easier so now we have it, too.

In Test:

* XPathNavigatorTests.cs: Added file to directory.

* AllTests.cs: Added XPathNavigatorTests to suite.

* XmlTextReaderTests.cs: Added test to make sure attributes are ordered
like Microsoft's parser does it.

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

22 years ago * Uri.cs: Implemented ctor UriTest (baseUri, relativeUri)
Lawrence Pit [Mon, 27 May 2002 18:40:54 +0000 (18:40 -0000)]
* Uri.cs: Implemented ctor UriTest (baseUri, relativeUri)
* Uri.cs: Fixed bug in internal method GetSchemeDelimiter

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

22 years agoadd something after windows link
Johannes Roith [Mon, 27 May 2002 17:08:36 +0000 (17:08 -0000)]
add something after windows link

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

22 years agoadd some windows bits to faq.
Johannes Roith [Mon, 27 May 2002 17:06:57 +0000 (17:06 -0000)]
add some windows bits to faq.

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

22 years ago2002-05-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 27 May 2002 15:24:27 +0000 (15:24 -0000)]
2002-05-27  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Invocation.Emit): Only emit calls to
System.Diagnostics.Debug and System.Diagnostics.Trace if the
TRACE and DEBUG defines are passed on the command line.

* rootcontext.cs: Global settings for tracing and debugging.

* cs-tokenizer.cs (define): New utility function to track
defines.   Set the global settings for TRACE and DEBUG if found.

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

22 years agoUpdate web page
Miguel de Icaza [Mon, 27 May 2002 15:21:24 +0000 (15:21 -0000)]
Update web page

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

22 years ago2002-05-27 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 27 May 2002 13:05:10 +0000 (13:05 -0000)]
2002-05-27  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_cfg_new): reserve additional space to store ESP when
calling finally handlers.

* exception.c (arch_get_call_finally): save ESP before calling
finally handler.

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

22 years ago2002-05-27 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 27 May 2002 10:59:00 +0000 (10:59 -0000)]
2002-05-27  Nick Drochak  <ndrochak@gol.com>

* ArrayListTest.cs (TestLastIndexOf): Add try-catch block to report
where we are throwing.

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

22 years ago2002-05-27 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 27 May 2002 10:56:56 +0000 (10:56 -0000)]
2002-05-27  Nick Drochak  <ndrochak@gol.com>

* ArrayList.cs (LastIndexOf): Return -1 if searching for null, also
fix check of parameters sent to make sure we don't search beyond the
beginning of the list.
(ListWrapper): Throw exception if called with null.
We now pass all unit tests.

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

22 years ago2002-05-27 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Mon, 27 May 2002 10:00:28 +0000 (10:00 -0000)]
2002-05-27  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.SqlClient/SqlCommand.cs: typo
should be CommandBehavior.KeyInfo

* Test/SqlSharpCli.cs: refactored and added a few more
features.

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

22 years ago2002-05-27 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 27 May 2002 06:33:10 +0000 (06:33 -0000)]
2002-05-27  Dietmar Maurer  <dietmar@ximian.com>

* helpers.c (map_arg_type): move some generic helper function into
this file.

* mono.c (usage): new option --breakonex

* exception.c (arch_exc_is_caught): only return FALSE if really
unhandled.

* jit.c (mono_thread_abort): free jit_tls

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

22 years agojust an small icon
Rafael Teixeira [Mon, 27 May 2002 01:45:07 +0000 (01:45 -0000)]
just an small icon

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

22 years agoMerged latest mcs files
Rafael Teixeira [Mon, 27 May 2002 01:40:40 +0000 (01:40 -0000)]
Merged latest mcs files

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

22 years agoFew updates
Miguel de Icaza [Sun, 26 May 2002 23:25:58 +0000 (23:25 -0000)]
Few updates

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

22 years ago2002-05-27 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 26 May 2002 23:14:10 +0000 (23:14 -0000)]
2002-05-27  Tim Coleman <tim@timcoleman.com>
        * list: update to compile properly (add missing
        files and switch path delimiter from '\' to '/').

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

22 years ago2002-05-27 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 26 May 2002 23:08:20 +0000 (23:08 -0000)]
2002-05-27  Tim Coleman <tim@timcoleman.com>
        * TestSqlDataAdapter.cs: remove explicit opening of connection.
        This should occur implicitly now.

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

22 years agoAdd new files to maintain the RSS feed
Miguel de Icaza [Sun, 26 May 2002 23:00:19 +0000 (23:00 -0000)]
Add new files to maintain the RSS feed

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

22 years agoupdate fixes
Miguel de Icaza [Sun, 26 May 2002 22:43:31 +0000 (22:43 -0000)]
update fixes

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

22 years agoFix up makefile to exclude test-124 as it requires a -r System.Drawing to work correctly
Ravi Pratap M [Sun, 26 May 2002 18:28:33 +0000 (18:28 -0000)]
Fix up makefile to exclude test-124 as it requires a -r System.Drawing to work correctly

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

22 years agoRemove conflict marker
Ravi Pratap M [Sun, 26 May 2002 18:21:36 +0000 (18:21 -0000)]
Remove conflict marker

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

22 years ago2002-05-25 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sun, 26 May 2002 18:20:25 +0000 (18:20 -0000)]
2002-05-25  Ravi Pratap  <ravi@ximian.com>

* interface.cs (Populate*): Pass in the TypeContainer as well as
the DeclSpace as parameters so that we can create EmitContexts and
then use that to apply attributes etc.

(PopulateMethod, PopulateEvent, PopulateProperty)
(PopulateIndexer): Apply attributes everywhere.

* attribute.cs (CheckAttribute): Include InterfaceMethod, InterfaceEvent
etc.

(ApplyAttributes): Update accordingly.

We now apply interface attributes for all members too.

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

22 years agoFlush changes
Ravi Pratap M [Sun, 26 May 2002 18:19:34 +0000 (18:19 -0000)]
Flush changes

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

22 years ago2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 26 May 2002 12:21:18 +0000 (12:21 -0000)]
2002-05-26  Daniel Morgan <danmorg@sc.rr.com>

* System.Data/DataRow.cs
* System.Data.Common/DbDataAdapter.cs: fix to
get Test/TestSqlDataAdapter.cs to work again

* Test/TestSqlDataAdapter.cs: removed comment
about SqlDataReader:NextResult() not being implemented; it
bas been implemented

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

22 years ago2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 26 May 2002 11:57:30 +0000 (11:57 -0000)]
2002-05-26  Daniel Morgan <danmorg@sc.rr.com>

* System.Data/DataRow.cs: modified
support setting of DBNull.Value
using the Item indexer this[DataColumn]

* System.Data.SqlClient/SqlCommand.cs: modified
tweaks to show TODO's for other CommandBehavior.
Set AllowDBNull column to true for IsKey row
in schema DataTable.

* System.Data.SqlClient/SqlConnection.cs: modified
if transaction is in progress when a Close() is called,
do a transaction Rollback.

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

22 years agoHousekeeping!!!
Rafael Teixeira [Sun, 26 May 2002 10:29:03 +0000 (10:29 -0000)]
Housekeeping!!!

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

22 years ago2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 26 May 2002 07:26:52 +0000 (07:26 -0000)]
2002-05-26  Daniel Morgan <danmorg@sc.rr.com>

* Test/SqlSharpCli.cs: added file
My new toy.  SQL# is a command-line tool to enter
SQL commands and queries using Mono System.Data.
It also serves as a test for Mono System.Data.

* System.Data.SqlClient/SqlCommand.cs: modified
- ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
should handle the results from SQL Commands and Queries.
- Internal class SqlResult should not create schema Table
for the result from a SQL Command.  Also, set the RecordsRetrieved
property for SqlDataReader.
- Closing the SqlDataReader should Close() the SqlConnection for
a CommandBehavior.CloseConnection.
- Set defaults for SqlResult

* System.Data.SqlClient/SqlConnection.cs: modified -
when SqlDataReader is Close()
should Close() the SqlConnection for
a CommandBehavior.CloseConnection.  Changed internal Property
from OpenReader get/set to IsReaderOpen get and created
internal methods OpenReader()/CloseReader() for SqlCommand to call.
SqlConnection needs to be prevented from doing while SqlDataReader
is being used.

* System.Data.SqlClient/SqlDataReader.cs: modified -
call SqlCommand's OpenReader() internal method.  get
RecordsRetrieved from SqlResult.  set/reset default
values for SqlDataReader.

* Test/PostgresTest.cs
* Test/TestExecuteScalar.cs
* Test/TestSqlDataReader.cs: modified
for the Execute...() methods in SqlCommand
to test SQL Queries and Commands

* Test/System.Data_test.build: modified
exclude new file Test/SqlSharpCli.cs from
test build

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

22 years agoUpdated list
Miguel de Icaza [Sun, 26 May 2002 03:01:24 +0000 (03:01 -0000)]
Updated list

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

22 years agoAdd small stub to allow for the assembly to compile
Miguel de Icaza [Sun, 26 May 2002 03:01:15 +0000 (03:01 -0000)]
Add small stub to allow for the assembly to compile

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

22 years agoMajor fixes. We can now compile the System.Web assembly with MCS!
Miguel de Icaza [Sun, 26 May 2002 02:57:16 +0000 (02:57 -0000)]
Major fixes.  We can now compile the System.Web assembly with MCS!
Wooooohooo!

2002-05-26  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Indexer.Define); Correctly check if we are explicit
implementation (instead of checking the Name for a ".", we
directly look up if the InterfaceType was specified).

Delay the creation of the PropertyBuilder.

Only create the PropertyBuilder if we are not an explicit
interface implementation.   This means that explicit interface
implementation members do not participate in regular function
lookups, and hence fixes another major ambiguity problem in
overload resolution (that was the visible effect).

(DefineMethod): Return whether we are doing an interface
implementation.

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

22 years ago2002-05-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 26 May 2002 02:15:52 +0000 (02:15 -0000)]
2002-05-26  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs: Temporary hack until we get attributes in
interfaces (Ravi is working on that) and we get IndexerName
support in interfaces.

* interface.cs: Register the indexers as properties.

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

22 years agoDocument error
Miguel de Icaza [Sun, 26 May 2002 01:48:01 +0000 (01:48 -0000)]
Document error

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

22 years ago2002-05-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 26 May 2002 01:47:55 +0000 (01:47 -0000)]
2002-05-26  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs (Attribute.Resolve): Catch the error, and emit a
warning, I have verified that this is a bug in the .NET runtime
(JavaScript suffers of the same problem).

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

22 years ago2002-05-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 26 May 2002 00:55:25 +0000 (00:55 -0000)]
2002-05-26  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (MemberLookup): When looking up members for
interfaces, the parent of an interface is the implicit
System.Object (so we succeed in searches of Object methods in an
interface method invocation.  Example:  IEnumerable x;  x.ToString
())

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

22 years agoAdd new test
Miguel de Icaza [Sun, 26 May 2002 00:47:45 +0000 (00:47 -0000)]
Add new test

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

22 years ago2002-05-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 26 May 2002 00:40:13 +0000 (00:40 -0000)]
2002-05-26  Miguel de Icaza  <miguel@ximian.com>

* XmlDocument.cs: Implement the Save methods.

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

22 years agoAdded list for MCS debugging purposes
Miguel de Icaza [Sat, 25 May 2002 18:30:51 +0000 (18:30 -0000)]
Added list for MCS debugging purposes

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

22 years ago2002-05-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 25 May 2002 18:29:58 +0000 (18:29 -0000)]
2002-05-25  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Event): Events should also register if they do
implement the methods that an interface requires.

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

22 years ago2002-05-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 25 May 2002 18:23:06 +0000 (18:23 -0000)]
2002-05-25  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (MemberLookup); use the new GetInterfaces
method.

(GetInterfaces): The code used to lookup interfaces for a type is
used in more than one place, factor it here.

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

22 years ago2002-05-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 25 May 2002 17:07:20 +0000 (17:07 -0000)]
2002-05-25  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Track the errors at the bottom of the file, we kept
on going.

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

22 years ago2002-05-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 25 May 2002 16:59:17 +0000 (16:59 -0000)]
2002-05-25  Miguel de Icaza  <miguel@ximian.com>

* delegate.cs (NewDelegate.Emit): We have to emit a null as the
instance if the method we are calling is static!

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

22 years ago2002-05-24 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 25 May 2002 00:49:17 +0000 (00:49 -0000)]
2002-05-24  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs (ApplyAttributes): Make this function filter out
the IndexerName attribute (as that attribute in reality is never
applied) and return the string constant for the IndexerName

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

22 years ago2002-05-25 Dwivedi, Ajay kumar <adwiv@yahoo.com>
Ajay kumar Dwivedi [Sat, 25 May 2002 00:02:55 +0000 (00:02 -0000)]
2002-05-25  Dwivedi, Ajay kumar <adwiv@yahoo.com>
* BUGS.txt: New file to keep track of bugs

* ALL: All classes are initialized exactly as in .NET except
       1. inclusion of language attribute in schema
       2. ComplexContent's Particle is initialized to null whereas .NET
          to some internal implementation. IMO Null is more appropriate

* ALL: Changed the Compile methods to return the count of errors.

* ALL: Complile methods are almost complete. Pass 1453 of 3061 tests.
       This number should shoot up if we write a parser to read the
       Schema instead of using reflection (which is slower too)

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

22 years ago2002-05-25 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 24 May 2002 21:59:22 +0000 (21:59 -0000)]
2002-05-25  Martin Baulig  <martin@gnome.org>

* debug-symfile.c
(ves_icall_Debugger_DwarfFileWriter_get_type_token): Removed.

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

22 years ago2002-05-25 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 24 May 2002 21:58:11 +0000 (21:58 -0000)]
2002-05-25  Martin Baulig  <martin@gnome.org>

* TypeBuilder.cs (TypeToken): Implemented.

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

22 years ago2002-05-25 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 24 May 2002 21:55:00 +0000 (21:55 -0000)]
2002-05-25  Martin Baulig  <martin@gnome.org>

* DwarfFileWriter.cs: Finished the type rewrite, put back strings and arrays.

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

22 years agoNew error test
Miguel de Icaza [Fri, 24 May 2002 21:43:18 +0000 (21:43 -0000)]
New error test

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

22 years agoLots of work to compiler System.Xml; A lot of bugs uncovered in IndexerName
Miguel de Icaza [Fri, 24 May 2002 21:43:01 +0000 (21:43 -0000)]
Lots of work to compiler System.Xml;  A lot of bugs uncovered in IndexerName
handling.  Now we should support it (modulo interfaces, which are being
worked on now by Ravi).

2002-05-24  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs (ApplyAttributes): Make this function filter out
the IndexerName attribute (as that attribute in reality is never
applied) and return the string constant for the IndexerName
attribute.

* class.cs (TypeContainer.Emit): Validate that all the indexers
have the same IndexerName attribute, and if so, set the
DefaultName attribute on the class.

* typemanager.cs: The return value might contain other stuff (not
only methods).  For instance, consider a method with an "Item"
property and an Item method.

* class.cs: If there is a problem with the parameter types,
return.

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

22 years agoImprove test
Miguel de Icaza [Fri, 24 May 2002 20:55:29 +0000 (20:55 -0000)]
Improve test

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

22 years ago2002-05-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 24 May 2002 20:34:04 +0000 (20:34 -0000)]
2002-05-24  Duncan Mak  <duncan@ximian.com>

* DataGridItem.cs (SetItemType): Changed function signature to
match 1.0 spec.

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

22 years ago2002-05-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 24 May 2002 20:27:24 +0000 (20:27 -0000)]
2002-05-24  Duncan Mak  <duncan@ximian.com>

* ListItemCollection.cs (this): Changes the visibility level of
the indexer.

* TemplateControl.cs (SetStringResourcePointer): Fixed typo.

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

22 years ago2002-05-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 24 May 2002 19:46:06 +0000 (19:46 -0000)]
2002-05-24  Duncan Mak  <duncan@ximian.com>

* Repeater.cs (OnItemCommand):
(OnItemCreated):
(OnItemDataBound): Added necessary casts.

* StateBag.cs (Item): Changed the visibility level of the this
[object] indexer.

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

22 years ago2002-05-24 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 24 May 2002 19:29:33 +0000 (19:29 -0000)]
2002-05-24  Ravi Pratap  <ravi@ximian.com>

* test-124.cs, test-125.cs : Add.

* makefile : update.

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

22 years ago2002-05-24 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 24 May 2002 19:17:52 +0000 (19:17 -0000)]
2002-05-24  Ravi Pratap  <ravi@ximian.com>

* ecore.cs (ImplicitConversionExists): Wrapper function which also
looks at user defined conversion after making a call to
StandardConversionExists - we need this for overload resolution.

* expression.cs : Update accordingly the various method calls.

This fixes 2 bugs filed against implicit user defined conversions

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

22 years agoUpdate makefile
Ravi Pratap M [Fri, 24 May 2002 19:16:43 +0000 (19:16 -0000)]
Update makefile

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

22 years ago Add.
Ravi Pratap M [Fri, 24 May 2002 19:15:44 +0000 (19:15 -0000)]
 Add.

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

22 years ago2002-05-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 24 May 2002 18:28:50 +0000 (18:28 -0000)]
2002-05-24  Duncan Mak  <duncan@ximian.com>

* DataBinder.cs (Eval)
(GetIndexedPropertyValue)
(GetPropertyValue): Fixed return types.

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

22 years ago2002-05-24 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 24 May 2002 17:42:12 +0000 (17:42 -0000)]
2002-05-24  Tim Coleman <tim@timcoleman.com>
        * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
        for get accessors.  These should be implemented in derived classes.  See
        SqlDataAdapter for clues.
        * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
        * System.Data.Common/DataAdapter.cs:
        * System.Data.Common/DataTableMappingCollection.cs:
        * System.Data.Common/DataTableMapping.cs:
        * System.Data.Common/DataColumnMappingCollection.cs:
        * System.Data.Common/DataColumnMapping.cs:
        Properly (I hope!) implement all of the appropriate interfaces
        for these classes.

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

22 years agoAdd new files
Miguel de Icaza [Fri, 24 May 2002 16:29:58 +0000 (16:29 -0000)]
Add new files

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

22 years agoGet this bad boy to compile standalone
Miguel de Icaza [Fri, 24 May 2002 16:29:31 +0000 (16:29 -0000)]
Get this bad boy to compile standalone

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

22 years ago2002-05-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 24 May 2002 13:23:55 +0000 (13:23 -0000)]
2002-05-24  Martin Baulig  <martin@gnome.org>

* debug-symfile.c
(ves_icall_Debugger_MonoSymbolWriter_get_local_type_from_sig): Removed.
(ves_icall_Debugger_MonoSymbolWriter_method_from_token): Renamed to
`ves_icall_Debugger_MonoSymbolWriter_method_builder_from_token'.

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

22 years ago2002-05-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 24 May 2002 13:20:52 +0000 (13:20 -0000)]
2002-05-24  Martin Baulig  <martin@gnome.org>

* ModuleBuilder.cs (symwriter_define_local): New private variable.
(GetSymbolWriter): Look for a custom version of "DefineLocalVariable"
and store it in `symwriter_define_local'.
(SymWriter_DefineLocalVariable): New internal method to call the
symbol writer's custom DefineLocalVariable() method.  It is safe to
call this method if there's no symbol writer.

* LocalBuilder.cs (SetLocalSymInfo): Use the MethodBuilder'snew
SymWriter_DefineLocalVariable().

* MethodBuilder.cs (GetParameters): Implemented.

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

22 years ago2002-05-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 24 May 2002 13:15:48 +0000 (13:15 -0000)]
2002-05-24  Martin Baulig  <martin@gnome.org>

* ParameterInfo.cs: Added internal constructor.

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

22 years ago2002-05-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 24 May 2002 13:14:31 +0000 (13:14 -0000)]
2002-05-24  Martin Baulig  <martin@gnome.org>

* IMonoSymbolWriter.cs (ISourceMethod): Added `FullName' and `Parameters'.
(ITypeHandle): New interface.

* DwarfFileWriter.cs: Largely reorganized the type writing code.  Types are
now represented by ITypeHandle objects which are stored in a per-dwarf-writer
hash table.  At the moment, all types still need to be in one compile unit due
to lacking support in gdb - but this new type code here already supports this.

* MonoSymbolWriter.cs: Moved all the subclasses to the top-level and made them
public, cleaned up the code, put everything into one compile unit.
(DefineLocalVariable): Added a version of this function which takes useful args.

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

22 years ago2002-05-24 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 24 May 2002 10:18:16 +0000 (10:18 -0000)]
2002-05-24  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): moved const. folding from x86.brg

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