mono.git
21 years ago2003-01-19 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Sun, 19 Jan 2003 18:21:11 +0000 (18:21 -0000)]
2003-01-19 Gaurav Vaish <gvaish_mono AT lycos.com>

* Command.cs             : Initial implementation.
* IObjectListFieldCollection.cs
                         : F*** the docs. Use only reflection
                           to get the correct methods / properties.
* TextControl.cs         : Implemented.
* ObjectListCommandEventArgs/Handler.cs
                         : Implemented.
* MobileListItem.cs      : Initial Implementation.
* ObjectListItem.cs      : Initial Implementation.
* ObjectList.cs          : Initial Implementation.
* TemplateContainer.cs   : Initial Implementation.

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

21 years ago2003-01-19 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 19 Jan 2003 17:39:25 +0000 (17:39 -0000)]
2003-01-19  Daniel Morgan <danmorg@sc.rr.com>

* doc/ibmdb2: added file which is new web page
about IBM DB2 data provider at Mono.Data.DB2Client

* makefile
* commands: added ibmdb2 web page to go-mono web site

* doc/ado-net: added a couple more developers email, plus made the
email spam resistant, added Mono's DB2 data provider to list,
added more info about the ProviderFactory and retrieving data using
ADO.NET from ASP.NET, add notes about testing, misc cleanup

* doc/mysql
* doc/postgresql
* doc/sqlclient
* doc/oracle
* doc/tdsclient
* doc/firebird
* doc/oledb
* doc/odbc
* doc/sybase
* doc/sqlite: added testing notes and C# examples

* doc/gtk-sharp: added links for GTK# for Windows

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

21 years ago2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 19 Jan 2003 14:15:04 +0000 (14:15 -0000)]
2003-01-19  Sebastien Pouliot  <spouliot@videotron.ca>

* crypto: Updated status page.

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

21 years ago2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 19 Jan 2003 14:14:34 +0000 (14:14 -0000)]
2003-01-19  Sebastien Pouliot  <spouliot@videotron.ca>

* commands: Moved Crypto after all ADO.NET sub elements.

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

21 years ago2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Sun, 19 Jan 2003 13:54:38 +0000 (13:54 -0000)]
2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>

* System.Web.Mobile.build                : Also remove the pdb file.

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

21 years ago2003-01-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 19 Jan 2003 13:48:08 +0000 (13:48 -0000)]
2003-01-19  Martin Baulig  <martin@ximian.com>

* debug.c: Ok, this should now finally be working this time ....

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

21 years ago2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 19 Jan 2003 13:46:26 +0000 (13:46 -0000)]
2003-01-19  Sebastien Pouliot  <spouliot@videotron.ca>

* HMACSHA1Test.cs: Added tests for constructors.
* MACTripleDESTest.cs: Added tests for constructors.

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

21 years ago2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 19 Jan 2003 13:44:13 +0000 (13:44 -0000)]
2003-01-19  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoTools.cs: Added internal class BlockProcessor to help
implementation of block-based algorithms (like MAC and HMAC).
* HMACSHA1.cs: Refactored to remove dependencies on CryptoStream,
better constructors and Dispose support.
* MACTripleDES.cs: Refactored to reuse new HMACSHA1 stuff, better
constructors.

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

21 years ago2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 19 Jan 2003 12:44:57 +0000 (12:44 -0000)]
2003-01-19  Sebastien Pouliot  <spouliot@videotron.ca>

* IsolatedStorageFile.cs: Added missing [CLSCompliant(false)]
to CurrentSize and MaximumSize to fix compilation (at least
under Windows/csc).

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

21 years ago2003-01-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 19 Jan 2003 11:35:10 +0000 (11:35 -0000)]
2003-01-19  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlElementTests.cs : added TestWriteToDefaultNamespace test.
* XmlNodeTests.cs : added TestGetPrefixOfNamespace test.

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

21 years ago2003-01-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 19 Jan 2003 11:34:25 +0000 (11:34 -0000)]
2003-01-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
null when no matching uri.
* XmlElement.cs : removed unnecessary xmlns output.
* XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
* XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix
along with the change above, and moved timing of 'xmlns' output
to CloseStartElement.
* XmlWriter.cs: modified WriteStartAttribute, same as yesterday.

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

21 years agoMy Afternoon Project. Implement System.IO.IsolatedStorage.
Jonathan Pryor [Sun, 19 Jan 2003 05:46:10 +0000 (05:46 -0000)]
My Afternoon Project.  Implement System.IO.IsolatedStorage.

Well, a partial implementation, anyway.  Enough of an implementation to run
example 21-17 from "Programming C#, 2nd Edition" (O'Reilly Press).

There are several issues remaining, such as proper behavior under Win32 (I'm
sure looking up the HOME environment variable won't be correct) and security
issues (docs suggest that isolated storage should have a limited size to
prevent DOS attacks, and that Isolated Storage is intended to be used by
untrusted apps).

This will suffice as a first pass of the code.

System.IO.FileStream changes are because IsolatedStorageFileStream needed to
override a virtual property, which FileStream didn't expose.  (Rather odd,
that.)

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

21 years ago2003-01-18 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Jan 2003 23:52:10 +0000 (23:52 -0000)]
2003-01-18  Sebastien Pouliot  <spouliot@videotron.ca>

* HMACSHA1.cs: Now use KeyBuilder to build the default key.

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

21 years agoforgot to add ChangeLog file
Daniel Morgan [Sat, 18 Jan 2003 22:14:18 +0000 (22:14 -0000)]
forgot to add ChangeLog file

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

21 years ago2003-01-18 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sat, 18 Jan 2003 22:13:31 +0000 (22:13 -0000)]
2003-01-18  Daniel Morgan <danmorg@sc.rr.com>

* TestDB2Conn.cs: use a different connection string
which uses the format
"DSN=database;UID=userid;PWD=password"

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

21 years ago2003-01-18 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Jan 2003 21:48:29 +0000 (21:48 -0000)]
2003-01-18  Sebastien Pouliot  <spouliot@videotron.ca>

* makefile, makefile.gnu: Renamed Cert2Spc.exe to cert2spc.exe.

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

21 years ago2003-01-18 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Sat, 18 Jan 2003 18:12:10 +0000 (18:12 -0000)]
2003-01-18 Gaurav Vaish <gvaish_mono AT lycos.com>

* Constants.cs           : Undocumented class. Reflection revealed.
                           Implemented.

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

21 years ago2003-01-18 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Sat, 18 Jan 2003 18:05:22 +0000 (18:05 -0000)]
2003-01-18 Gaurav Vaish <gvaish_mono AT lycos.com>

* Constants.cs           : Undocumented class. Reflection revealed.
                           Implemented.

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

21 years agoFixed a bug which caaï¿œused an Exceptionwhen declaring properties with 0 parameters
Marco Ridoni [Sat, 18 Jan 2003 16:34:13 +0000 (16:34 -0000)]
Fixed a bug which caaï¿œused an Exceptionwhen declaring properties with 0 parameters
Added preliminary support for Interfaces (still not working)

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

21 years agoDB2ClientCommand.cs: Finished transition to SQLDriverConnect.
Christopher Bockner [Sat, 18 Jan 2003 15:50:47 +0000 (15:50 -0000)]
DB2ClientCommand.cs: Finished transition to SQLDriverConnect.

:

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

21 years ago2003-01-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 18 Jan 2003 15:34:00 +0000 (15:34 -0000)]
2003-01-18  Martin Baulig  <martin@ximian.com>

* debug.c (mono_debugger_jit_exec): Send the background thread a
SIGKILL before returning.

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

21 years ago2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Sat, 18 Jan 2003 14:52:58 +0000 (14:52 -0000)]
2003-01-18  Ville Palo <vi64pa@koti.soon.fi>

* DataTableCollection.cs: Now names new DataTable if it doesn't
already have a name.

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

21 years agoCorrections to *Trim sent by Daniel Campos
Rafael Teixeira [Sat, 18 Jan 2003 14:01:47 +0000 (14:01 -0000)]
Corrections to *Trim sent by Daniel Campos

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

21 years ago2003-01-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sat, 18 Jan 2003 11:31:24 +0000 (11:31 -0000)]
2003-01-18  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* added XmlWriterTests.cs file and added it to AllTests.cs

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

21 years ago2003-01-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sat, 18 Jan 2003 11:30:12 +0000 (11:30 -0000)]
2003-01-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlWriter.cs: modified WriteStartElement (see test for detail).
Added WriteNode.

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

21 years agoFlush
Miguel de Icaza [Sat, 18 Jan 2003 05:48:10 +0000 (05:48 -0000)]
Flush

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

21 years agotype-reflector has been moved to its own CVS module. Remove from the mcs
Jonathan Pryor [Sat, 18 Jan 2003 03:43:26 +0000 (03:43 -0000)]
type-reflector has been moved to its own CVS module.  Remove from the mcs
module.

This should eliminate complaints about inappropriate tools being built with
mcs... ;-)

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

21 years agotype-reflector is being moved to its own CVS module. Remove it from the build
Jonathan Pryor [Sat, 18 Jan 2003 03:41:45 +0000 (03:41 -0000)]
type-reflector is being moved to its own CVS module.  Remove it from the build
process here.

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

21 years ago2003-01-17 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Jan 2003 01:19:17 +0000 (01:19 -0000)]
2003-01-17  Sebastien Pouliot <spouliot@videotron.ca>

* library.build: added System.Security to build, test and clean.
There's no makefile.gnu yet for this assembly.

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

21 years ago2003-01-17 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Jan 2003 01:04:11 +0000 (01:04 -0000)]
2003-01-17  Sebastien Pouliot  <spouliot@videotron.ca>

* System.Security.build: Simplified and fixed some issues.

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

21 years ago2003-01-17 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Jan 2003 01:01:34 +0000 (01:01 -0000)]
2003-01-17  Sebastien Pouliot  <spouliot@videotron.ca>

* AllTests.cs: Removed System.Security.Cryptography from using.
* System.Security_test.build: Simplified and fixed some issues.

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

21 years ago2003-01-17 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Jan 2003 00:56:18 +0000 (00:56 -0000)]
2003-01-17  Sebastien Pouliot  <spouliot@videotron.ca>

* KeyInfo.cs: Changed some protected declaration to private.
* KeyInfoName.cs: Changed some protected declaration to private.
* KeyInfoNode.cs: Changed some protected declaration to private.
* KeyInfoRetrievalMethod.cs: Changed some protected declaration to private.
* KeyInfoX509Data.cs: Changed some protected declaration to private.
* Transform.cs: Changed some protected declaration to private.
* XmlDsigBase64Transform.cs: Changed some protected declaration to private.
* XmlDsigC14NTransform.cs: Changed some protected declaration to private.
* XmlDsigC14NWithCommentsTransform.cs: Changed some protected declaration to private.
* XmlDsigEnvelopedSignatureTransform.cs: Changed some protected declaration to private.
* XmlDsigXPathTransform.cs: Changed some protected declaration to private.
* XmlDsigXsltTransform.cs: Changed some protected declaration to private.

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

21 years ago2003-01-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 17 Jan 2003 23:48:11 +0000 (23:48 -0000)]
2003-01-17  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Small fix: we were not comparing the constructor
name correctly.   Thanks to Zoltan for the initial pointer.

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

21 years ago2003-01-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 17 Jan 2003 23:06:38 +0000 (23:06 -0000)]
2003-01-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* decimal.c: fixed bug #26056.

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

21 years agoMono.Data.DB2Client: DB2ClientException.cs We need to check for SQL_NO_DATA and a...
Christopher Bockner [Fri, 17 Jan 2003 22:07:53 +0000 (22:07 -0000)]
Mono.Data.DB2Client: DB2ClientException.cs We need to check for SQL_NO_DATA and a non-negative return from SQLGetDiagRec, not SQL_SUCCESS_WITH_INFO.

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

21 years ago2003-01-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Jan 2003 21:24:06 +0000 (21:24 -0000)]
2003-01-17  Zoltan Varga  <vargaz@freemail.hu>

* MonoSymbolWriter.cs (OpenMethod): Make it work on constructors.

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

21 years ago2003-01-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Jan 2003 21:20:34 +0000 (21:20 -0000)]
2003-01-17  Zoltan Varga  <vargaz@freemail.hu>

* ParameterInfo.cs: modified constructor so it allows the
ParameterBuilder to be null and add a 'position' argument which will
be used when pb is null.

* MethodBuilder.cs ConstructorBuilder.cs: modify GetParameters() so it
returns information even when the app did not use DefineParameter() to
define the parameters.

* ConstructorBuilder.cs (ctor): allways define SpecialName attribute
for constructors as done by MS.

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

21 years agoFri Jan 17 21:14:18 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 17 Jan 2003 20:17:58 +0000 (20:17 -0000)]
Fri Jan 17 21:14:18 CET 2003 Paolo Molaro <lupus@ximian.com>

* ppc/tramp.c: adapted to work for MacOSX (from a patch by
John Duncan).

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

21 years agoMono.Data.DB2Client/DB2ClientConnect.cs: Replaced SQLConnect with SQLDriverConnect...
Christopher Bockner [Fri, 17 Jan 2003 19:10:42 +0000 (19:10 -0000)]
Mono.Data.DB2Client/DB2ClientConnect.cs: Replaced SQLConnect with SQLDriverConnect, cleaned handles passed to DB2, cleaned up error handling. SQLDriverConnect requires no parsing for the connection string.

Mono.Data.DB2Client/DB2ClientCommand.cs: ExecuteReader non executes a command against the DB, as it should

Mono.Data.DB2Client/DB2ClientConstants.cs: Added more constants, mostly for SQLDriverConnect.

Mono.Data.DB2Client/DB2ClientException.cs: Now can get all errors from the DB2 error stack.

Mono.Data.DB2Client/DB2ClientPrototypes.cs: Added SQLDriverConnect prototype.

Mono.Data.DB2Client/DB2ClientTransaction.cs: Changed to work with new handle returned from DB2CLientConnect.

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

21 years ago2003-01-18 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Fri, 17 Jan 2003 19:05:46 +0000 (19:05 -0000)]
2003-01-18 Gaurav Vaish <gvaish_mono AT lycos.com>

* ArrayListCollectionBase.cs
                         : Implemented.

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

21 years ago2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 17 Jan 2003 17:17:41 +0000 (17:17 -0000)]
2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpRequest.cs: implemented CurrentExecutionFilePath.

* System.Web.UI/Control.cs: some more tweaks to naming containers stuff.
* System.Web.UI/DataBinder.cs: don't throw exception if the container
is null.

* System.Web.UI/Page.cs: now we can render client scripts, startup
scripts and hidden fields. Only render __VIEWSTATE if there is someone
that will take care of it.
(RaisePostBackEvents): first try the last one that required raise event,
then try __EVENTTARGET.

* System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.

* System.Web.UI.WebControls/BaseDataList.cs: what can I say for this
one? I spent so many time until I finally found this that I'm gonna
miss this f....g bug... ;-). Farewell. Now we can get events from
image buttons inside Data*.

* System.Web.UI.WebControls/DataList.cs: now the value stored in
ViewState for item count is correct.

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

21 years ago2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 17 Jan 2003 16:45:22 +0000 (16:45 -0000)]
2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ObjectWriter.cs: make the exception message more useful.

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

21 years ago2003-01-17 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Fri, 17 Jan 2003 16:41:56 +0000 (16:41 -0000)]
2003-01-17  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.SqlClient.SqlConnection.cs: add connection
parameter UID which is the same thing as User ID

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

21 years ago2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Fri, 17 Jan 2003 15:48:51 +0000 (15:48 -0000)]
2003-01-17  Ville Palo <vi64pa@koti.soon.fi>

* XmlSchemaMapper.cs: Improvments.
* XmlConstaints.cs: Added more constants.
* DataSet.cs: Improvments of reading and writing xml
* DataColumn.cs: Added default values of properties.

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

21 years ago2003-01-17 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 17 Jan 2003 15:48:08 +0000 (15:48 -0000)]
2003-01-17  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: removed duplicated CONV_OVF_I4

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

21 years ago2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 17 Jan 2003 15:29:31 +0000 (15:29 -0000)]
2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MonoType.cs: re-added lines that were removed in the previous commit.

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

21 years ago* unix.args: Added System/DelegateSerializationHolder.cs,
Lluis Sanchez [Fri, 17 Jan 2003 14:21:00 +0000 (14:21 -0000)]
* unix.args: Added System/DelegateSerializationHolder.cs,
  System/UnitySerializationHolder.cs,
  System.Runtime.Serialization/ObjectManager.cs,
  System.Runtime.Serialization.Formatters.Binary/BinaryCommon.cs,
  System.Runtime.Serialization.Formatters.Binary/ObjectReader.cs and
  System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs

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

21 years ago* BinaryFormatter.cs: implemented Serialize and Deserialize methods.
Lluis Sanchez [Fri, 17 Jan 2003 14:19:51 +0000 (14:19 -0000)]
* BinaryFormatter.cs: implemented Serialize and Deserialize methods.
* ObjectReader.cs: added.
* ObjectWriter.cs: added.
* BinaryCommon.cs. added.

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

21 years ago2003-01-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 17 Jan 2003 14:18:48 +0000 (14:18 -0000)]
2003-01-17  Martin Baulig  <martin@ximian.com>

* gc.c: Raise an ExecutionEngineException instead of using g_error().

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

21 years ago* ObjectManager.cs: Implemented and added file
Lluis Sanchez [Fri, 17 Jan 2003 14:18:43 +0000 (14:18 -0000)]
* ObjectManager.cs: Implemented and added file
* SurrogateSelector.cs: completed implementation.
* SerializationInfo.cs: corrected a bug in GetValue method.
* ObjectIDGenerator.cs: corrected a bug. Now it does not give the same
id for two different instances that return true when calling Equal.

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

21 years agoAssembly.cs: added serialization support.
Lluis Sanchez [Fri, 17 Jan 2003 14:17:29 +0000 (14:17 -0000)]
Assembly.cs: added serialization support.

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

21 years ago* Type.cs: corrected property IsSerializable. It should always return true for enums...
Lluis Sanchez [Fri, 17 Jan 2003 14:16:41 +0000 (14:16 -0000)]
* Type.cs: corrected property IsSerializable. It should always return true for enums and delegates
* MonoType.cs: added serialization support.
* Delegate.cs: added serialization support.
* DBNull.cs: added serialization support.
* UnitySerializationHolder.cs: supports serialization of Assembly, MonoType and DBNull.
* DelegateSerializationHolder.cs: added.

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

21 years ago2003-01-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 17 Jan 2003 12:37:33 +0000 (12:37 -0000)]
2003-01-17  Martin Baulig  <martin@ximian.com>

* debug.c: Don't use mono_once here.  Reworked the API a bit to
use `mono_debug_' and `debug_' for the general debugging API and
`mono_debugger_' and `debugger_' for the Mono Debugger stuff.

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

21 years ago2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 17 Jan 2003 08:19:36 +0000 (08:19 -0000)]
2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* collections.cs: fixed bug #30091.

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

21 years ago2003-01-17 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 17 Jan 2003 07:24:09 +0000 (07:24 -0000)]
2003-01-17  Duncan Mak  <duncan@ximian.com>

* runtime/Makefile.am: Add the new Mono.Data.DB2Client.dll.

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

21 years agofixed #line default
Gonzalo Paniagua Javier [Fri, 17 Jan 2003 06:55:16 +0000 (06:55 -0000)]
fixed #line default

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

21 years agoSet file name when specified with #line
Jackson Harper [Fri, 17 Jan 2003 06:24:52 +0000 (06:24 -0000)]
Set file name when specified with #line

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

21 years agoaccording to the ECMA:
Miguel de Icaza [Fri, 17 Jan 2003 05:45:22 +0000 (05:45 -0000)]
according to the ECMA:
"The buffer of a closed System.IO.MemoryStream is still available, and the
System.IO.MemoryStream.ToArray and System.IO.MemoryStream.GetBuffer methods
can be called successfully."

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

21 years ago2003-01-16 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 17 Jan 2003 03:08:46 +0000 (03:08 -0000)]
2003-01-16  Nick Drochak <ndrochak@gol.com>

        * makefile.gnu: Add corlib target to just build that.

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

21 years ago2003-01-16 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Fri, 17 Jan 2003 01:40:55 +0000 (01:40 -0000)]
2003-01-16  Daniel Morgan <danmorg@sc.rr.com>

* Mono.Data.Db2Client/DB2ClientConnection.cs: added parsing and setting
of connection string values.  Prior to this change, the server, username, and
authentication were hard-coded.

* Mono.Data.Db2Client/DB2ClientUtils.cs: prevent warning about
unreachable code

* Test/TestDB2Conn/TestDB2Conn.cs: modify test to accept
database, username, and password from command line.  Also, test
a CREATE TABLE statement with ExecuteNonQuery()

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

21 years ago2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 17 Jan 2003 00:51:17 +0000 (00:51 -0000)]
2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* exception.[ch]:
(mono_get_exception_type_initialization): new function.

* object.c: throw a TypeInitializationException when an exception is
thrown invoking the class constructor.

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

21 years ago2003-01-16 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Thu, 16 Jan 2003 19:51:38 +0000 (19:51 -0000)]
2003-01-16  Daniel Morgan <danmorg@sc.rr.com>

* Mono.Data.Db2Client.build: added file for Windows build

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

21 years agoremoved comment
Rodrigo Moya [Thu, 16 Jan 2003 19:32:14 +0000 (19:32 -0000)]
removed comment

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

21 years ago2003-01-16 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Thu, 16 Jan 2003 19:30:56 +0000 (19:30 -0000)]
2003-01-16  Rodrigo Moya <rodrigo@ximian.com>

* makefile.gnu: added Mono.Data.DB2Client directory.

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

21 years ago2003-01-16 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Thu, 16 Jan 2003 19:28:25 +0000 (19:28 -0000)]
2003-01-16  Rodrigo Moya <rodrigo@ximian.com>

* makefile.gnu: added --unsafe command line option, needed for unsafe
code. The IBM DB2 provider now compiles on Mono.

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

21 years ago2003-01-16 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Thu, 16 Jan 2003 19:26:32 +0000 (19:26 -0000)]
2003-01-16  Rodrigo Moya <rodrigo@ximian.com>

* list: added missing file.

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

21 years agoFlush
Miguel de Icaza [Thu, 16 Jan 2003 17:06:42 +0000 (17:06 -0000)]
Flush

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

21 years ago2003-01-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 16 Jan 2003 17:06:06 +0000 (17:06 -0000)]
2003-01-16  Martin Baulig  <martin@ximian.com>

* debug.c (debugger_thread_func): We don't need to `raise
(SIGSTOP)' anymore; the thread manager already takes care of this.

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

21 years ago2003-01-16 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 16 Jan 2003 15:56:52 +0000 (15:56 -0000)]
2003-01-16  Dietmar Maurer  <dietmar@ximian.com>

* exception.c (arch_handle_exception): exclude runtime invoke
wrapper from the stack trace

* jit.c (mono_cfg_new): allocate extra space to store esp (used by exceptions)
(mono_thread_start_cb): save an additional LMF at thread start

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

21 years ago2003-01-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 16 Jan 2003 15:38:55 +0000 (15:38 -0000)]
2003-01-16  Martin Baulig  <martin@ximian.com>

* jit.c (mono_runtime_install_handlers): Use SYS_sigaction() for
the mono_thread_get_abort_signal () - this is SIGUSR1 on FreeBSD
and the LinuxThreads port doesn't allow you to override the handler.
[FIXME: This avoids an assertion failure on startup, but there's
still an issue with thread termination.]

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

21 years ago2003-01-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 16 Jan 2003 15:28:44 +0000 (15:28 -0000)]
2003-01-16  Martin Baulig  <martin@ximian.com>

* configure.in (GTHREAD_LIBS, GTHREAD_CFLAGS): Removed the gthread
check again, we're now using the mono/io-layer for this.

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

21 years ago2003-01-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 16 Jan 2003 15:25:25 +0000 (15:25 -0000)]
2003-01-16  Martin Baulig  <martin@ximian.com>

* debug.c: Use the mono/io-layer functions here instead of gthread.

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

21 years ago2003-01-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 16 Jan 2003 15:23:39 +0000 (15:23 -0000)]
2003-01-16  Martin Baulig  <martin@ximian.com>

Added special support for the Mono Debugger to send it a
notification each time a thread is created or exited.

* timed-thread.h (TimedThread): Added `pid' and `start_sem'.

* timed-thread.c (timed_thread_start_routine): If
`mono_debugger_threads_debug' is non-zero, set `thread->pid' and
post the `thread->start_sem'.
(_wapi_timed_thread_create): If `mono_debugger_threads_debug' is
non-zero, wait for the `thread->start_sem' before returning.

* threads.c (mono_debugger_threads_debug): New global variable
which is set by the Mono Debugger.
(mono_debugger_thread_info): New global variable.
(update_debugger_thread_info): When running inside the Mono
Debugger (`mono_debugger_threads_debug' is non-zero), update the
`mono_debugger_thread_info' array.  This function is called (while
owning the `thread_hash_mutex') each time the `thread_hash' is
modified.

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

21 years agoFix the multiple-build problem. Again.
Jonathan Pryor [Thu, 16 Jan 2003 14:55:12 +0000 (14:55 -0000)]
Fix the multiple-build problem.  Again.

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

21 years agoremoved Console.WriteLines
Gonzalo Paniagua Javier [Thu, 16 Jan 2003 07:22:39 +0000 (07:22 -0000)]
removed Console.WriteLines

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

21 years ago2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 16 Jan 2003 07:18:07 +0000 (07:18 -0000)]
2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Control.cs: fixes in UniqueID, FindControl, AddedControl,
UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
FindControl work with NamingContainers.

* ControlCollection.cs: notify the parent when clearing the collection.

* LosFormatter.cs: Added debugging output and generate a valid
viewstate even for unknown types.

* Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
viewstate.

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

21 years ago2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 16 Jan 2003 07:11:58 +0000 (07:11 -0000)]
2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspGenerator.cs: modified loading of the parent type now that
Type.GetType is fixed.

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

21 years ago2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 16 Jan 2003 07:10:20 +0000 (07:10 -0000)]
2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpContext.cs: store the errors in an arraylist instead of an array.
* HttpRequest.cs: bah.
* HttpRuntime.cs: display last error in the context.

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

21 years ago2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 16 Jan 2003 04:09:51 +0000 (04:09 -0000)]
2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* reflection.c: fixed attribute reading.

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

21 years agoAdded assembly to some type names
Gonzalo Paniagua Javier [Thu, 16 Jan 2003 03:48:46 +0000 (03:48 -0000)]
Added assembly to some type names

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

21 years ago2003-01-16 Ajay kumar Dwivedi <adwiv@yahoo.com>
Ajay kumar Dwivedi [Thu, 16 Jan 2003 03:19:14 +0000 (03:19 -0000)]
2003-01-16  Ajay kumar Dwivedi <adwiv@yahoo.com>
* XmlSerializer.cs: Array serialization for 1D arrays works
* TypeTranslator: Added for translations`

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

21 years ago2003-01-15 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Thu, 16 Jan 2003 02:51:11 +0000 (02:51 -0000)]
2003-01-15  Rodrigo Moya <rodrigo@ximian.com>

Added IBM DB2 provider from cleared <cleared@rogers.com>.

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

21 years agoUpdate by Francesco Delfino
Marco Ridoni [Wed, 15 Jan 2003 22:56:14 +0000 (22:56 -0000)]
Update by Francesco Delfino

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

21 years ago2003-01-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Jan 2003 22:51:57 +0000 (22:51 -0000)]
2003-01-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c:
(ves_icall_type_from_name): make it work as MS. Ie, if no assembly name
provided, look for the type in the calling assembly and then in
mscorlib; if the assembly name is provided, only try that one.

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

21 years ago2003-01-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 15 Jan 2003 21:54:17 +0000 (21:54 -0000)]
2003-01-15  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Only perform the constructor checks here if we
are named like the class;  This will help provider a better
error.  The constructor path is taken when a type definition is
not found, but most likely the user forgot to add the type, so
report that rather than the constructor error.

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

21 years agoWed Jan 15 16:20:54 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Jan 2003 15:44:13 +0000 (15:44 -0000)]
Wed Jan 15 16:20:54 CET 2003 Paolo Molaro <lupus@ximian.com>

* configure.in: allow MacOSX (from various people).

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

21 years agoUpdate to the API change of a while ago.
Paolo Molaro [Wed, 15 Jan 2003 15:21:26 +0000 (15:21 -0000)]
Update to the API change of a while ago.

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

21 years agoInclude config.h.
Paolo Molaro [Wed, 15 Jan 2003 15:20:35 +0000 (15:20 -0000)]
Include config.h.

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

21 years agoCompilation fix.
Paolo Molaro [Wed, 15 Jan 2003 15:19:40 +0000 (15:19 -0000)]
Compilation fix.

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

21 years ago2003-01-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Wed, 15 Jan 2003 15:07:46 +0000 (15:07 -0000)]
2003-01-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* updated Mono.System.Xml.csproj. (patch by David B. Bitton)

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

21 years agoWed Jan 15 16:02:34 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Jan 2003 15:05:13 +0000 (15:05 -0000)]
Wed Jan 15 16:02:34 CET 2003 Paolo Molaro <lupus@ximian.com>

Define the correct runtime depending on the availability of the jit
(from Benjamin Reed).

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

21 years agoWed Jan 15 15:55:40 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Jan 2003 14:58:43 +0000 (14:58 -0000)]
Wed Jan 15 15:55:40 CET 2003 Paolo Molaro <lupus@ximian.com>

* sockets.h, daemon.c, io.c: compilation fixes on MacOSX.

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

21 years ago2003-01-12 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 15 Jan 2003 08:21:43 +0000 (08:21 -0000)]
2003-01-12  Nick Drochak  <ndrochak@gol.com>

* makefile(s): Only build if source changes. Naive implementation.

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

21 years ago2003-01-15 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 15 Jan 2003 05:53:03 +0000 (05:53 -0000)]
2003-01-15  Duncan Mak  <duncan@ximian.com>

       * Make it not spam all those warnings. Blocking errors 0108 and also
       0114.

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

21 years ago2003-01-14 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 15 Jan 2003 04:09:13 +0000 (04:09 -0000)]
2003-01-14  Duncan Mak  <duncan@ximian.com>

       * ilasm/parser/ScannerAdapter.cs: Remove the cleanup method now that
       it's no longer in the interface.

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

21 years agoRe-organized the file structure.
Jonathan Pryor [Wed, 15 Jan 2003 01:40:46 +0000 (01:40 -0000)]
Re-organized the file structure.

Displayers (Console, Gtk#, System.Windows.FOrms) are under the `displayers'
directory.

Finders (How nodes are found) are under the `finders' directory.

Formatters (how nodes are displayed) are under the `formatters' directory.

Miguel did the actual movement of CVS files so that file history wouldn't be
lost.  Hence no corresponding "cvs add" for this "cvs remove".

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

21 years ago2003-01-14 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Tue, 14 Jan 2003 18:43:13 +0000 (18:43 -0000)]
2003-01-14 Gaurav Vaish <gvaish_mono AT lycos.com>

* *.cs                   : Update the year in copyright notice.

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

21 years ago2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Tue, 14 Jan 2003 16:23:38 +0000 (16:23 -0000)]
2003-01-14  Ville Palo <vi64pa@koti.soon.fi>

* XmlSchemaMapper.cs: Some improvments

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

21 years ago2003-14-01 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Tue, 14 Jan 2003 15:05:56 +0000 (15:05 -0000)]
2003-14-01  Ville Palo <vi64pa@koti.soon.fi>

* DataRelationTest.cs: Added more tests

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

21 years agoTue Jan 14 14:52:52 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 14 Jan 2003 13:56:06 +0000 (13:56 -0000)]
Tue Jan 14 14:52:52 CET 2003 Paolo Molaro <lupus@ximian.com>

* object.c: register the vtable before there is a chance it's
queried again recursively.

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